CN102546626B - Data processing method, device and system - Google Patents

Data processing method, device and system Download PDF

Info

Publication number
CN102546626B
CN102546626B CN201110459775.1A CN201110459775A CN102546626B CN 102546626 B CN102546626 B CN 102546626B CN 201110459775 A CN201110459775 A CN 201110459775A CN 102546626 B CN102546626 B CN 102546626B
Authority
CN
China
Prior art keywords
sctp
state
data block
sent
buffering area
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.)
Active
Application number
CN201110459775.1A
Other languages
Chinese (zh)
Other versions
CN102546626A (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.)
XFusion Digital 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 CN201110459775.1A priority Critical patent/CN102546626B/en
Publication of CN102546626A publication Critical patent/CN102546626A/en
Priority to PCT/CN2012/086537 priority patent/WO2013097611A1/en
Application granted granted Critical
Publication of CN102546626B publication Critical patent/CN102546626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/43Assembling or disassembling of packets, e.g. segmentation and reassembly [SAR]

Abstract

The embodiment of the invention discloses a data processing method, a data processing device and a data processing system, which are used for dynamically regulating and controlling a data method according to a network state so as to improve the utilization ratio of the network bandwidth on the premise of reducing the network delay. The data processing method comprises the following steps: converting received data into a stream control transmission protocol data block; storing the stream control transmission protocol data block in a cache region; setting the state of the stream control transmission protocol data block into a to-be-sent state; judging whether other stream control transmission protocol data blocks in the to-be-sent state exist in the cache region; if yes, sending all the stream control transmission protocol data blocks in the to-be-sent state in the cache region together; and otherwise, sending the stream control transmission protocol data block.

Description

A kind of data processing method, Apparatus and system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of data processing method, Apparatus and system.
Background technology
In current communication system, after telecommunications network IPization, in telecommunications network, SCTP (SCTP is generally used in the transmission of signaling, STREAM CONTROL TRANSMISSION PROTOCOL), under Stream Control Transmission Protocol, what define is the mode of bag transmission, and the quantity of message bag has directly affected the ability of forwarded message.Because number of users constantly increases, the service that operator provides is on the increase, cause the message number on network constantly to increase, under the limited network bandwidth, if fast transfer of data needs to reduce the message number on network, and to increase the message number on network, unavoidably cause message transmission time delay, the increase of data traffic directly causes current Internet resources more and more nervous, and network meets low delay simultaneously, high capacity is the current difficult problem facing.
In prior art, have two kinds of transmission control modes under Stream Control Transmission Protocol, a kind of is binding formula, and a plurality of user data are assembled into a Packet Generation, reduces the number of message bag on network; Another kind is unbundling formula, after each user's data arrive, does not do any wait, and direct-assembling becomes packet to send, and reduces the time delay that message sends.
In above prior art, binding formula transmission control mode is owing to waiting for that a plurality of user data bind in the lump, and time delay is large, and unbundling formula transmission control mode is because each user's data are assembled into separately packet, and on network, the number of message bag is more.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method, Apparatus and system, improves offered load amount when reducing network delay.
The embodiment of the present invention provides a kind of data processing method, comprising: the data that receive are converted to SCTP data block; Deposit described SCTP data block in buffering area, and the state of described SCTP data block is set to state to be sent; Judge and in described buffering area, whether have other SCTP data blocks in state to be sent, if, all SCTP data blocks in state to be sent in described buffering area are sent in the lump, if not, send described SCTP data block.
The embodiment of the present invention provides a kind of data processing equipment, comprising: converting unit, for the data that receive are converted to SCTP data block; Deposit unit in, for depositing described SCTP data block in buffering area; Setting unit, is set to state to be sent for the state of described SCTP data block; Judging unit, for judging whether there are other SCTP data blocks in state to be sent in described buffering area; Transmitting element, if for there are other SCTP data blocks in state to be sent in described buffering area, all SCTP data blocks in state to be sent in described buffering area are sent in the lump, if there are not other SCTP data blocks in state to be sent in described buffering area, send described SCTP data block.
The embodiment of the present invention provides a kind of data handling system, comprising: sending ending equipment, gateway device and receiving device; Described sending ending equipment is for sending data to described gateway device; Described gateway device is for being converted to SCTP data block by the data that receive; Deposit described SCTP data block in buffering area, and the state of described SCTP data block is set to state to be sent; Judge and in described buffering area, whether have other SCTP data blocks in state to be sent, if, all SCTP data blocks in state to be sent in described buffering area are sent to described receiving device in the lump, if not, to described receiving device, send described SCTP data block; The described SCTP data block that described receiving device sends for receiving described gateway device.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: after the data that receive are converted to SCTP data block, deposit buffering area in, and the state of this SCTP data block is set to state to be sent, judge and in buffering area, whether have other SCTP data blocks in state to be sent, if existed, all SCTP data blocks in state to be sent in buffering area are sent in the lump, to reduce the quantity of SCTP message in network, if not, this SCTP data block is directly sent, avoid waiting for other data, to reduce propagation delay time, thus, according to network condition, dynamically adjust the mode that sends SCTP data of controlling, when reducing network delay, improve offered load amount.
Accompanying drawing explanation
Fig. 1 is an embodiment schematic diagram of data processing method in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of data processing method in the embodiment of the present invention;
Fig. 3 is SCTP data block format schematic diagram;
Fig. 4 is SCTP packet format schematic diagram;
Fig. 5 is an embodiment schematic diagram of data processing equipment in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of data processing equipment in the embodiment of the present invention;
Fig. 7 is an embodiment schematic diagram of data handling system in the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of data processing method and device, for the process sending data, according to network state, dynamically adjusts and controls data method, improves the utilance of the network bandwidth when reducing network delay.Below be elaborated respectively.
Refer to Fig. 1, an embodiment of the data processing method in the embodiment of the present invention comprises:
101, the data that receive are converted to SCTP data block;
In network, the mode that exists multiple triggering message to send, for example user's issuing message triggers, and timer expiry triggers, and the selective acknowledgment of receiving (SACK, selective acknowledgement) requires to retransmit and triggers.For convenience of description, the mode that the user's issuing message of all take in embodiments of the invention triggers is example, and the control procedure that describing message sends, sends control procedure under other triggering mode identical, repeats no more herein.
Receive after the data of user's transmission, the data that receive are carried out to preliminary treatment, for example, according to size of data, judge whether it to carry out burst, judge that whether it is empty bag, and be converted into SCTP data block, meets SCTP rule request.
102, deposit this SCTP data block in buffering area, and the state of this SCTP data block is set to state to be sent;
Deposit pretreated SCTP data block in buffering area (SendBuffer), and the state of this SCTP data block is set to (pending) to be sent state.
103, judge in buffering area, whether there are other SCTP data blocks in state to be sent;
Judge in SendBuffer, whether to exist in pending state, other SCTP data blocks except this SCTP data block.
If so, perform step 104, if not, perform step 105.
104, all SCTP data blocks in state to be sent in buffering area are sent in the lump;
If there are other SCTP data blocks in pending state in SendBuffer, by all in SendBuffer, in the SCTP of pending state data block, send in the lump, send to agreement (IP, the Internet Protocol) layer interconnecting between the network in network.
If there are other SCTP data blocks in pending state in SendBuffer, show that current network state is undesirable, message number may produce bottleneck, need to reduce the message number of transmitting in network, therefore, by all in SendBuffer, in the SCTP of pending state data block, send in the lump, to reduce the message number in network.
105, send this SCTP data block.
If there are not other SCTP data blocks in pending state in SendBuffer, this SCTP data block is sent, send to the IP layer in network.
If there are not other SCTP data blocks in pending state in SendBuffer, show that current network state is fine, message number can not form bottleneck, therefore, this SCTP data block is directly sent, and does not wait for other users' data, to reduce time delay.
It should be noted that, because SCTP data are in transmitting procedure, retained the Information frame border of application program, even if thereby the data block of different application bind together transmission, can not affect follow-up opposite end receiving equipment deal with data yet.
In the embodiment of the present invention, after being converted to SCTP data block, the data that receive deposit buffering area in, and the state of this SCTP data block is set to state to be sent, judge and in buffering area, whether have other SCTP data blocks in state to be sent, if existed, all SCTP data blocks in state to be sent in buffering area are sent in the lump, to reduce the quantity of SCTP message in network, if not, this SCTP data block is directly sent, avoid waiting for other data, to reduce propagation delay time, thus, according to network condition, dynamically adjust the mode that sends data of controlling, when realizing reduction network delay, improve offered load amount.
For ease of understanding, with another embodiment, describe the method for the deal with data in the embodiment of the present invention below in detail, refer to Fig. 2, another embodiment of the method for the deal with data in the embodiment of the present invention comprises:
201, the data that receive are converted to SCTP data block;
Receive after the data of user's transmission, the data that receive are carried out to preliminary treatment, for example, according to size of data, judge whether it to carry out burst, judge that whether it is empty bag, and be converted into SCTP data block, meets SCTP rule request.
202, deposit this SCTP data block in buffering area, and the state of this SCTP data block is set to state to be sent;
Deposit pretreated SCTP data block in SendBuffer, and the state of this SCTP data block is set to pending state.
203, judge in this buffering area and whether exist, other SCTP data blocks in state to be sent;
Whether judge exists in pending state, no matter whether other SCTP data blocks except this SCTP data block, exist other in the SCTP of pending state data block, all performs step 204 in SendBuffer.
204, judge whether current transmission condition allows to send SCTP message;
Judge whether current transmission condition allows to send SCTP bag, transmission condition comprises the congestion window (CWND of opposite equip., Congestion Window), and receive window (RWND, Receiver Window) size, the size of the CWND of judgement opposite equip., whether the size of RWND allows to send SCTP bag.
If current transmission condition does not allow to send SCTP bag, SCTP bag is temporarily deposited in this SendBuffer, when conditions permit sends, then send.
If current transmission conditions permit sends SCTP bag, so, in this SendBuffer, there are not other SCTP data blocks in arm-to-arm, perform step 205, in this SendBuffer, there are other SCTP data blocks in arm-to-arm, perform step 207.
205, by this SCTP data block assembling, be a SCTP bag, and the state of this SCTP data block is set to state to be confirmed;
If there are not other SCTP data blocks in arm-to-arm in buffering area, and, current transmission conditions permit sends SCTP bag, by this SCTP data block assembling, be a SCTP bag, and the state of this SCTP data block is set to (WaitAck) to be confirmed state.
For ease of understanding, refer to Fig. 3, SCTP block data structure comprises the interior sign of type, subpackage, length, transmission sequence number, traffic identifier, stream, carrying data protocol sign and the user data of data block.
SCTP data block is assembled as after SCTP bag, for example, SCTP data block A, SCTP data block B, SCTP data block C are assembled into SCTP bag, the form schematic diagram of this SCTP bag refers to Fig. 4, wherein, comprises the control information of SCTP data block in SCTP data packet head.
206, send this SCTP bag to send this stream protocol data block;
Send this SCTP packet to send this stream protocol data block, this stream protocol data block is sent to the IP layer in network.
207, by all SCTP data blocks in state to be sent in buffering area, be assembled into a SCTP bag, and its state is set to state to be confirmed;
If there are other SCTP data blocks in arm-to-arm in buffering area, and, current transmission conditions permit sends Stream Control Transmission Protocol bag, by all in the SCTP of state to be sent data block in buffering area, comprise current SCTP data block and other SCTP data blocks, be assembled into a SCTP bag, and its state is set to WaitAck state.
208, obtain another in buffering area SCTP data block in state to be sent;
In buffering area, obtain another SCTP data block in state to be sent.
209, judge current transmission condition, whether allow to carry more multithread in SCTP message and control transmission protocol data piece;
Whether judge current transmission condition, allow to carry more SCTP data blocks in SCTP message, this transmission condition comprises the size of CWND and the RWND of opposite equip..
If so, perform step 210, if not, perform step 213.
210, this another SCTP data chunk in state to be sent is filled in this SCTP bag, and its state is set to state to be confirmed;
If current transmission condition, allow SCTP bag to send more multithread and control transmission protocol data piece, this another SCTP data chunk in state to be sent is filled in this SCTP bag, and the state of this another SCTP data block in state to be sent is set to WaitAck state.
211, judge whether buffering area is empty;
Judge that whether buffering area is empty, whether in buffering area without any data.
If so, perform step 206, if not, perform step 212.
212, judge whether the size of SCTP bag reaches the size of MTU;
If be not empty in buffering area, also there are data, judge whether the size of SCTP bag reaches the size of MTU (MTU, Max Transfer Unit).
In actual application, user issues the data block that length is 100 bytes, the size of predeterminable MTU, for example the size of MTU is preset as to 1500 bytes, like this, when data normally send, in each SCTP packet, only has a SCTP data block, the speed that issues data as user is during higher than the transmission rate of network, automatically adjust, the SCTP data block quantity in each SCTP packet constantly changes, and its quantity maintains between 1-15, and issue the rate recovery of data when normal as user, in each SCTP packet, again only have a SCTP data block.
If the size of SCTP bag reaches the size of MTU, perform step 206, if the size of SCTP bag does not reach the size of MTU, perform step 208.
In the invention process, under Stream Control Transmission Protocol, weaken the otherness of binding formula and unbundling formula transmission data, and in data transmission procedure, comprehensive current transmission rate, the situations such as receive window send maximum data-messages with minimal time delay as far as possible, when guaranteeing low time delay high capacity, the transmittability of better adaptive network.
213, judge whether SCTP bag is empty.
Current transmission condition does not allow SCTP bag to send more SCTP data blocks, judges that whether SCTP bag is empty, if not, performs step 206.
In the embodiment of the present invention, if there are not other SCTP data blocks in state to be sent in buffering area, by current assembling in the SCTP of state to be sent data block, be directly a SCTP packet, send to the IP layer in network, if there are other SCTP data blocks in state to be sent in buffering area, by all in the SCTP of state to be sent data block in buffering area, be assembled into a SCTP bag, and its state is set to WaitAck state, then, obtain another in buffering area in the SCTP of state to be sent data block, judge that current network sends condition and whether allows to carry in SCTP message more SCTP data blocks, if allowed, another is also assembled in this SCTP bag in the SCTP of state to be sent data block, once to send the SCTP data block under more pending state, if the restriction that now SCTP bag does not exceed MTU size, the SCTP data block step under another pending state of repeated obtain, to assemble more SCTP data block in same SCTP bag, until SCTP bag does not reach the size of MTU, thus, in the situation that network condition allows, in same SCTP bag, assembling is more in pending state SCTP data block, once send more in pending state SCTP data block, can reduce internet message quantity, and in buffering area, there are not other SCTP data blocks in state to be sent, by current assembling in the SCTP of state to be sent data block, be directly a SCTP Packet Generation, pending buffer district does not send after receiving other SCTP data blocks more in the lump, can reduce network delay, thereby can be according to the situation of network state and SCTP data block, dynamically adjust send mode, when reducing network delay, improve offered load amount.
The data processing equipment of introducing the embodiment of the present invention below, refers to Fig. 5, and an embodiment of the data processing equipment in the embodiment of the present invention comprises:
Converting unit 501, for being converted to the data that receive SCTP data block (referring to step 101);
Deposit unit 502 in, for depositing this SCTP data block in buffering area (referring to step 102);
Setting unit 503, is set to state to be sent (referring to step 103) for the state of this SCTP data block;
Judging unit 504, for judging whether there are other SCTP data blocks (referring to step 104) in state to be sent in this buffering area;
Transmitting element 505, if for there are other SCTP data blocks in state to be sent in this buffering area, by all in this buffering area, in the SCTP of state to be sent data block, send in the lump, if there are not other SCTP data blocks in state to be sent in this buffering area, send this SCTP data block (referring to step 105).
The detailed process of function is separately realized in each unit in the embodiment of the present invention, refers to aforementioned associated description content in embodiment illustrated in fig. 1, repeats no more herein.
In the embodiment of the present invention, converting unit 501 is converted to SCTP data block by the data that receive, deposit unit 502 in and deposit this SCTP data block in buffering area, the state of this SCTP data block of setting unit is set to state to be sent, judging unit 504 judges in this buffering area, whether there are other SCTP data blocks in state to be sent, if there are other SCTP data blocks in state to be sent in this buffering area, 505 of transmitting elements send in the SCTP of state to be sent data block in the lump by all in this buffering area, to reduce the quantity of SCTP message in network, if there are not other SCTP data blocks in state to be sent in this buffering area, 505 of transmitting elements send this SCTP data block, avoid waiting for other data, to reduce propagation delay time, thus, according to network condition, dynamically adjust the mode that sends SCTP data of controlling, when reducing network delay, improve offered load amount.
For ease of understanding, with another embodiment, describe the data processing equipment of the embodiment of the present invention below in detail, refer to Fig. 6, another embodiment of the data processing equipment in the embodiment of the present invention comprises:
Converting unit 601, for being converted to the data that receive SCTP data block (referring to step 101,201);
Deposit unit 602 in, for this SCTP data block being deposited in to buffering area (referring to step 102,202);
Setting unit 603, is set to state to be sent (referring to step 102,202) for the state of this SCTP data block; The state of the SCTP data block of also wrapping for SCTP is set to state to be confirmed (referring to step 205);
Judging unit 604, for judging whether there are other SCTP data blocks (referring to step 103,203) in state to be sent in this buffering area; Also, for judging whether current transmission condition allows to send SCTP message, this transmission condition comprises the size (referring to step 204) of congestion window and the receive window of opposite equip.;
It should be noted that, the data processing equipment in example of the present invention can further include: module units 605, acquiring unit 606;
Wherein, module units 605, if send SCTP message for current transmission conditions permit, by all in the SCTP of state to be sent data block in buffering area, is assembled into a SCTP bag (referring to step 207); If also send SCTP message for current transmission conditions permit, by this SCTP data block assembling, be a SCTP bag (referring to step 205);
Acquiring unit 606, for obtaining another in this buffering area in the SCTP of state to be sent data block (referring to step 208).
Further, judging unit 604, also for judging whether current transmission condition allows SCTP message to carry more SCTP data blocks, this transmission condition comprises the size (referring to step 209) of congestion window and the receive window of opposite equip., and if current transmission condition do not allow to carry more SCTP data blocks in SCTP message, judge whether this SCTP bag is empty (referring to step 213);
Module units 605, if also carry more SCTP data blocks for current transmission conditions permit SCTP message, is filled in this SCTP bag (referring to step 210) in the SCTP of state to be sent data chunk this another;
Setting unit 603, is also set to state to be confirmed (referring to step 210) for this another state in the SCTP of state to be sent data block;
Judging unit 604, also for judging whether this buffering area is empty, if this buffering area is not empty, also for judging whether the size of this SCTP bag reaches the size (referring to step 211,212) of MTU;
Acquiring unit 606, if also reach the size of MTU for the size of SCTP bag, obtains another in this buffering area in the SCTP of state to be sent data block (referring to step 212).
It should be noted that, the data processing equipment in example of the present invention can further include transmitting element 607;
Transmitting element 607, if be not empty for this SCTP bag, send this SCTP and wraps to send this SCTP data block; If this buffering area is empty, sends this SCTP and wrap to send this SCTP data block; If the size of SCTP bag does not reach the size of MTU, send this SCTP and wrap to send described SCTP data block (referring to step 212).
The detailed process of function is separately realized in each unit in the embodiment of the present invention, refers to earlier figures 1, the associated description content in embodiment illustrated in fig. 4, repeats no more herein.
In the embodiment of the present invention, converting unit 601 is converted to SCTP data block by the data that receive, deposit unit 602 in and deposit this SCTP data block in buffering area, the state of setting unit 603 these SCTP data blocks is set to state to be sent, judging unit 604 judges in this buffering area, whether there are other SCTP data blocks in state to be sent, if do not exist, module units 605 is a SCTP bag by this SCTP data block assembling, and be set to (WaitAck) to be confirmed state by the state of setting unit 603 these SCTP data blocks, transmitting element 607 sends this SCTP and wraps to send this SCTP data block.
Further, judging unit 604 is also for judging whether current transmission condition allows to send SCTP message, if this current transmission conditions permit sends SCTP message, and, in buffering area, there are not other SCTP data blocks in state to be sent, module units 605 is a SCTP bag by this SCTP data block assembling, and is set to state to be confirmed by the state of setting unit 603 these SCTP data blocks.
If this current transmission conditions permit sends SCTP message, and, in this buffering area, there are other SCTP data blocks in state to be sent, module units 405 is by all in the SCTP of state to be sent data block in buffering area, be assembled into a SCTP bag, acquiring unit 606 obtains another in this buffering area in the SCTP of state to be sent data block, judging unit 604 judges whether current transmission condition allows to carry more multithread in SCTP message and control transmission protocol data piece, if, module units 605 is filled in this SCTP in the SCTP of state to be sent data chunk this another, and be set to state to be confirmed by setting unit 603 its states, then, judging unit 404 judges whether buffering area is empty, if it is empty, transmitting element 607 sends this SCTP and wraps to send this SCTP data block, if not empty, judging unit 604 judges whether the size of SCTP bag reaches the size of MTU, if reach, transmitting element 607 sends this SCTP and wraps to send this SCTP data block, if do not reach, repeat by acquiring unit 606 and obtain another in buffering area SCTP data block in state to be sent.
In the embodiment of the present invention, if there are not other SCTP data blocks in state to be sent in buffering area, by current assembling in the SCTP of state to be sent data block, be directly a SCTP Packet Generation, if there are other SCTP data blocks in state to be sent in buffering area, by all in the SCTP of state to be sent data block in buffering area, be assembled into a SCTP bag, and its state is set to WaitAck state, then, obtain another in buffering area in the SCTP of state to be sent data block, judge that current network sends condition and whether allows to carry in SCTP message more SCTP data blocks, if allowed, another is also assembled in this SCTP bag in the SCTP of state to be sent data block, once to send the SCTP data block under more pending state, if the restriction that now SCTP bag does not exceed MTU size, the SCTP data block step under another pending state of repeated obtain, to assemble more SCTP data block in same SCTP bag, until SCTP bag does not reach the size of MTU, thus, in the situation that network condition allows, in same SCTP bag, assembling is more in pending state SCTP data block, once send more in pending state SCTP data block, can reduce internet message quantity, and in buffering area, there are not other SCTP data blocks in state to be sent, by current assembling in the SCTP of state to be sent data block, be directly a SCTP Packet Generation, pending buffer district does not send after receiving other SCTP data blocks more in the lump, can reduce network delay, thereby can be according to the situation of network state and SCTP data block, dynamically adjust send mode, when reducing network delay, improve offered load amount.
The embodiment of the present invention also provides a kind of data handling system, refers to Fig. 7, and the data handling system in the embodiment of the present invention comprises:
Sending ending equipment 701, gateway device 702, receiving device 703;
Wherein, sending ending equipment 701 is for sending data to gateway device 702;
Gateway device 702, for the data that receive are converted to SCTP data block, deposit this SCTP data block in buffering area, and the state of this SCTP data block is set to state to be sent, and judge in this buffering area, whether there are other SCTP data blocks in state to be sent, if, all SCTP data blocks in state to be sent in this buffering area are sent to receiving device 703 in the lump, if not, to receiving device 703, send this SCTP data block;
Receiving device 703, the SCTP data block sending for receiving gateway device 702.
Further, gateway device 702 is also for judging whether current transmission condition allows to send SCTP message, if current transmission conditions permit sends SCTP message,, by all SCTP data blocks in state to be sent in buffering area, be assembled into a SCTP bag; The state of the SCTP data block in this SCTP bag is set to state to be confirmed.
The function implementation procedure of the data handling system in the embodiment of the present invention, refers to earlier figures 1, the detailed description in embodiment illustrated in fig. 2, repeats no more herein.
It will be appreciated by those skilled in the art that all or part of step realizing in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
Above a kind of data processing method provided by the present invention, Apparatus and system are described in detail, for those skilled in the art, thought according to the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. a data processing method, is characterized in that, comprising:
The data that receive are converted to SCTP data block;
Deposit described SCTP data block in buffering area, and the state of described SCTP data block is set to state to be sent;
Judge and in described buffering area, whether have other SCTP data blocks in state to be sent, if, all SCTP data blocks in state to be sent in described buffering area are sent in the lump, if not, send described SCTP data block.
2. method according to claim 1, is characterized in that, if comprise after there are other SCTP data blocks in state to be sent in described buffering area:
Judge whether current transmission condition allows to send SCTP message, and described transmission condition comprises the size of congestion window and the receive window of opposite equip.;
If current transmission conditions permit sends SCTP message,, by all SCTP data blocks in state to be sent in buffering area, be assembled into a SCTP bag;
The state of the SCTP data block in described SCTP bag is set to state to be confirmed.
3. method according to claim 2, is characterized in that, the state of described SCTP data block is set to comprise after state to be confirmed:
Obtain another in described buffering area SCTP data block in state to be sent;
Judge whether current transmission condition allows to carry more multithread in SCTP message and control transmission protocol data piece, and described transmission condition comprises the size of congestion window and the receive window of opposite equip.;
If so, described another SCTP data chunk in state to be sent is filled in described SCTP bag, and the state of described another SCTP data block in state to be sent is set to state to be confirmed;
If not, judge that whether described SCTP bag is empty, if not empty, sends described SCTP bag to send described SCTP data block.
4. method according to claim 3, is characterized in that, the state of described another SCTP data block in state to be sent is set to comprise after state to be confirmed:
Judge whether described buffering area is empty;
If so, send described SCTP bag to send described SCTP data block;
If not, judge whether the size of described SCTP bag reaches the size of MTU, if do not reach, obtain another in described buffering area SCTP data block in state to be sent, if reach, send described SCTP bag to send described SCTP data block.
5. according to the method described in claim 1 to 4 any one, it is characterized in that, if do not comprise after there are not other SCTP data blocks in state to be sent in described buffering area:
Judge whether current transmission condition allows to send SCTP message, and described transmission condition comprises the size of congestion window and the receive window of opposite equip.;
If so, by described SCTP data block assembling, be a SCTP bag, and the state of the SCTP data block in described SCTP bag is set to state to be confirmed;
Send described SCTP bag to send described SCTP data.
6. a data processing equipment, is characterized in that, comprising:
Converting unit, for being converted to SCTP data block by the data that receive;
Deposit unit in, for depositing described SCTP data block in buffering area;
Setting unit, is set to state to be sent for the state of described SCTP data block;
Judging unit, for judging whether there are other SCTP data blocks in state to be sent in described buffering area;
Transmitting element, if for there are other SCTP data blocks in state to be sent in described buffering area, all SCTP data blocks in state to be sent in described buffering area are sent in the lump, if there are not other SCTP data blocks in state to be sent in described buffering area, send described SCTP data block.
7. device according to claim 6, is characterized in that,
Described judging unit, also for judging whether current transmission condition allows to send SCTP message, and described transmission condition comprises the size of congestion window and the receive window of opposite equip.;
Described device also comprises:
Module units, if send SCTP message for current transmission conditions permit,, by all SCTP data blocks in state to be sent in buffering area, is assembled into a SCTP bag;
Described setting unit, also the state for the SCTP data block of described SCTP bag is set to state to be confirmed.
8. according to the device described in claim 6 or 7, it is characterized in that,
Described device also comprises:
Acquiring unit, for obtaining another in described buffering area SCTP data block in state to be sent;
Described judging unit, also for judging whether current transmission condition allows SCTP message to carry more multithread and control transmission protocol data piece, and described transmission condition comprises the size of congestion window and the receive window of opposite equip.; And if current transmission condition do not allow to carry in SCTP message more multithread and control transmission protocol data piece, judge whether described SCTP bag is empty;
Described module units, if also carry more multithread for current transmission conditions permit SCTP message, control transmission protocol data piece, described another SCTP data chunk in state to be sent is filled in described SCTP bag;
Described setting unit, also the state for described another SCTP data block in state to be sent is set to state to be confirmed;
Described transmitting element, if empty for described SCTP Bao Buwei, sends described SCTP bag to send described SCTP data block.
9. device according to claim 8, is characterized in that,
Described judging unit, also for judging whether described buffering area is empty; If described buffering area is not empty, also for judging whether the size of described SCTP bag reaches the size of MTU;
Described transmitting element, if be also empty for described buffering area, sends described SCTP bag to send described SCTP data block; If also reach the size of MTU for the size of described SCTP bag, send described SCTP bag to send described SCTP data block;
Described acquiring unit, if do not reach the size of MTU for the size of described SCTP bag, obtains another in described buffering area SCTP data block in state to be sent.
10. device according to claim 9, is characterized in that,
Described module units, also judges that for judging unit current transmission conditions permit sends SCTP message, by described SCTP data block assembling, is a SCTP bag.
11. 1 kinds of data handling systems, is characterized in that, comprising: sending ending equipment, and gateway device and receiving device, wherein:
Described sending ending equipment is for sending data to described gateway device;
Described gateway device is for being converted to SCTP data block by the data that receive; Deposit described SCTP data block in buffering area, and the state of described SCTP data block is set to state to be sent; Judge and in described buffering area, whether have other SCTP data blocks in state to be sent, if, all SCTP data blocks in state to be sent in described buffering area are sent to described receiving device in the lump, if not, to described receiving device, send described SCTP data block;
The described SCTP data block that described receiving device sends for receiving described gateway device.
12. systems according to claim 11, is characterized in that,
Described gateway device is also for judging whether current transmission condition allows to send SCTP message, and described transmission condition comprises the size of congestion window and the receive window of opposite equip.; If current transmission conditions permit sends SCTP message,, by all SCTP data blocks in state to be sent in buffering area, be assembled into a SCTP bag; The state of the SCTP data block in described SCTP bag is set to state to be confirmed.
CN201110459775.1A 2011-12-31 2011-12-31 Data processing method, device and system Active CN102546626B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110459775.1A CN102546626B (en) 2011-12-31 2011-12-31 Data processing method, device and system
PCT/CN2012/086537 WO2013097611A1 (en) 2011-12-31 2012-12-13 Data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110459775.1A CN102546626B (en) 2011-12-31 2011-12-31 Data processing method, device and system

Publications (2)

Publication Number Publication Date
CN102546626A CN102546626A (en) 2012-07-04
CN102546626B true CN102546626B (en) 2014-11-05

Family

ID=46352584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110459775.1A Active CN102546626B (en) 2011-12-31 2011-12-31 Data processing method, device and system

Country Status (2)

Country Link
CN (1) CN102546626B (en)
WO (1) WO2013097611A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546626B (en) * 2011-12-31 2014-11-05 华为技术有限公司 Data processing method, device and system
CN104967570B (en) * 2015-07-13 2018-09-18 宁波尚为信息技术有限公司 A kind of intelligence Big Dipper router

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007065296A1 (en) * 2005-12-07 2007-06-14 Zte Corporation Method for managing the sctp output stream queue and implementing date transmission
CN101217466A (en) * 2007-12-28 2008-07-09 中国科学院计算技术研究所 A data processing method and processing device of wireless network media access control system
CN101262437A (en) * 2008-04-17 2008-09-10 中兴通讯股份有限公司 A method for state migration of stream control transmission protocol
CN101651687A (en) * 2009-09-14 2010-02-17 华为技术有限公司 Packet forming method, transmission method and device of data packet of flow control transmission protocol

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546626B (en) * 2011-12-31 2014-11-05 华为技术有限公司 Data processing method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007065296A1 (en) * 2005-12-07 2007-06-14 Zte Corporation Method for managing the sctp output stream queue and implementing date transmission
CN101217466A (en) * 2007-12-28 2008-07-09 中国科学院计算技术研究所 A data processing method and processing device of wireless network media access control system
CN101262437A (en) * 2008-04-17 2008-09-10 中兴通讯股份有限公司 A method for state migration of stream control transmission protocol
CN101651687A (en) * 2009-09-14 2010-02-17 华为技术有限公司 Packet forming method, transmission method and device of data packet of flow control transmission protocol

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SCTP的设计与实现;童孟军等;《计算机应用与软件》;20060731;第23卷(第7期);第2.5节 *
童孟军等.SCTP的设计与实现.《计算机应用与软件》.2006,第23卷(第7期),第74-77页. *

Also Published As

Publication number Publication date
WO2013097611A1 (en) 2013-07-04
CN102546626A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN102006283B (en) Data transmission method and device
JP5976277B2 (en) Transmission control method
EP1535419B1 (en) Method and devices for controlling retransmissions in data streaming
Xu et al. CMT-NC: improving the concurrent multipath transfer performance using network coding in wireless networks
CN100407698C (en) Data transmission method for wireless link control layer
JP5117509B2 (en) Method and apparatus for indicating maximum scheduling delay for jitter buffer implementation
WO2013053304A1 (en) Method and device for implementing tcp transmission
CN102148662B (en) Adjusting method and device for data transmitting speed
CN105264843A (en) Managing pending acknowledgement packets in a communication device
CN107204834A (en) A kind of control method of the express network transmitting based on UDT agreements
CN110460533B (en) RDMA (remote direct memory Access) -based data transmission method and device
WO2012129922A1 (en) Packet handling method, forwarding device and system
CA2674655A1 (en) Improved data transfer method, system and protocol
CN101854286B (en) UDP (User Datagram Protocol)-based data stream sending-receiving method and device
CN104093170A (en) TCP-based data transmission method and TCP agent apparatus
CN103444242A (en) Method and device for use in frame acknowledgement
WO2017133234A1 (en) Data packet sending method, data packet receiving method, data packet sending device and data packet receiving device
CN103200622A (en) Communication handling method, device and gateway equipment
GB2513345A (en) Data communication system and method
EP3078174A1 (en) Sctp bundling
WO2005020523A1 (en) Session relay device and relay method
CN102801692B (en) A kind of transmission control protocol optimization method and system connecting based on division
CN102263618B (en) Method, device and system for controlling wireless network congestion
CN102546626B (en) Data processing method, device and system
CN104580171B (en) The transmission method of Transmission Control Protocol, device and system

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
TR01 Transfer of patent right

Effective date of registration: 20211220

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right