CN106254264A - A kind of asymmetric network transmission protocol method for designing - Google Patents
A kind of asymmetric network transmission protocol method for designing Download PDFInfo
- Publication number
- CN106254264A CN106254264A CN201610635247.XA CN201610635247A CN106254264A CN 106254264 A CN106254264 A CN 106254264A CN 201610635247 A CN201610635247 A CN 201610635247A CN 106254264 A CN106254264 A CN 106254264A
- Authority
- CN
- China
- Prior art keywords
- cong
- packet
- ack
- congestion window
- parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000012790 confirmation Methods 0.000 claims abstract description 23
- 238000004891 communication Methods 0.000 abstract description 12
- 238000013461 design Methods 0.000 description 13
- 238000005265 energy consumption Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000011084 recovery Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 230000008034 disappearance Effects 0.000 description 2
- 235000012364 Peperomia pellucida Nutrition 0.000 description 1
- 240000007711 Peperomia pellucida Species 0.000 description 1
- 230000000454 anti-cipatory effect Effects 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000005059 dormancy Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000013332 literature search Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000002459 sustained effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/27—Evaluation or update of window size, e.g. using information derived from acknowledged [ACK] packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to Internet of Things field of network transmission, particularly relate to a kind of asymmetric network transmission protocol method for designing.The method includes: sets up and comprises parameter Sack, parameter WcongConfirmation packet, in the data packet retransmission stage, if restricted node is transmitting terminal, make WcongBe equal to nothing the corresponding data bag sequence number received, and in the packet press-in caching that will receive;Receiving terminal is by parameter SackAnd WcongSend to transmitting terminal;Transmitting terminal receives parameter SackAnd WcongRear execution data recovering algorithms;Restricted node is receiving terminal, and the sequence number of packet in S1 is copied to Wcong, receiving terminal receives WcongAfter judge whether 3 WcongEqual, if existing, then perform data recovering algorithms;Otherwise stop.Effectively solve the problem that communication efficiency is low and the consumption energy is too much that present stage symmetric protocol causes.
Description
Technical field
The present invention relates to Internet of Things field of network transmission, particularly relate to a kind of asymmetric network transmission protocol design side
Method.
Background technology
Internet of things sensors node typically is provided with one or more sensor, and they are responsible for gathering particular data, and pass through
These data are reported the end host of the Internet by communication modes end to end.Node in Internet of Things is mainly saved by sensor
Point, can routing node and multi-protocol gateway 3 class composition.Due to protocol conversion, multi-protocol gateway is the bottleneck of performance.
Nowadays, Internet of Things transport network layer is commonly used procotol and is still the ICP/IP protocol continuing to use the Internet.But, pass
Sensor node is cheap, processes and storage capacity is the most very limited, and general employing battery is powered, and needs with limited energy
The time that configuration work is grown as far as possible, the directly interconnection that IPv6 is realized brings to the node that ability is low undoubtedly and disappears greatly
Consumption.In traditional the Internet, server node and client node are also unusual differences.What most network used is all
Connecting multiple client nodes with a server node, even if two node sides have the biggest difference, legacy network uses
Agreement is also symmetrical, hinders communication efficiency the most undoubtedly and consumes the too much energy.Further, due to the energy of sensor node
The feature of source finiteness, sensor low-power consumption is always the difficult problem that present internet of things field exists, so symmetric protocol causes
Communication efficiency low and consume the too much problem of the energy and also need urgently to be resolved hurrily.
Summary of the invention
It is an object of the invention to provide a kind of asymmetric network transmission protocol and method for designing thereof, to solve present stage
The communication efficiency that symmetric protocol causes is low and consumes the problem that the energy is too much.
The invention provides a kind of asymmetric network transmission protocol method for designing, comprising:
S1: arrange and record in data transmission procedure send packet sequence number and;
S2: set up and comprise parameter Sack, parameter WcongConfirmation packet, described parameter SackRepresent in data transmission procedure
The sequence number of the packet received and, described WcongParameter is in order to recall to the packet sequence number group not received;
S3: described parameter S is setackInitial value;
S4: asymmetric agreement is set up after connecting, and initializes the value of congestion window cwnd;
S5: judge that transmitting terminal receives the S that receiving terminal sendsackWith the packet sequence number of described transmission and the most equal, if phase
Deng, carry out S6;Otherwise carry out S7;
S6: the value of described congestion window cwnd is doubled, and record the time of return T of described confirmation packetack;
S7: slow turn-on threshold values ssthresh is set according to congestion window cwnd;
S8: judge the size of congestion window cwnd and slow turn-on threshold values ssthresh, if congestion window cwnd is less than opening slowly
Dynamic threshold values ssthresh and generation Tack time-out, asymmetric agreement performs slowstart algorithm, again detects described time of return Tack
Value;Otherwise perform congestion avoidance algorithm;
S9: judge that the sequence number received is the most identical with the sequence number of the packet of transmission, if identical, then terminate;Otherwise carry out
S10;
S10: judge restricted node be transmitting terminal still as receiving terminal:
If restricted node is transmitting terminal, then carry out S11, if restricted node is receiving terminal, then carry out S12;
S11: make WcongBe equal to nothing the corresponding data bag sequence number received, and in the packet press-in caching that will receive;
Receiving terminal is by described parameter SackAnd WcongSend to transmitting terminal;Transmitting terminal receives described parameter SackAnd WcongRear execution data are extensive
Double calculation method;
S12: the sequence number of packet in described S1 is copied to Wcong, receiving terminal receives WcongAfter judge whether 3
WcongEqual, if existing, then perform data recovering algorithms;Otherwise stop.
In certain embodiments, being preferably, described congestion avoidance algorithm includes: record time of return TackAfter, congestion window
Cwnd increase to the reciprocal of the value of cwnd and the value of cwnd and;After transmitting terminal receives described confirmation packet, congestion window
Cwnd linearly increases.
In certain embodiments, being preferably, described data recovering algorithms includes:
S13: congestion window cwnd is set to slow turn-on threshold values ssthresh's and 3 and;
S14: judge restricted node be transmitting terminal still as receiving terminal:
If restricted node is transmitting terminal, then carry out S15, if restricted node is receiving terminal, then carry out S16;
After S15: transmitting terminal receives confirmation packet, congestion window cwnd is increased by 3;
After S16: receiving terminal receives confirmation packet, it may be judged whether Retransmission timeout occurs, if sending when time-out weight occurs
During biography, congestion window cwnd being set to 1, slow turn-on threshold values ssthresh is set to the half of congestion window cwnd, and performs
Slow turn-on;Otherwise perform congestion avoidance algorithm.
In certain embodiments, being preferably, connect for an asymmetric agreement, slow turn-on threshold values ssthresh typically sets
It is set to 65535 bytes.
In certain embodiments, being preferably, in described S3, the initial value of parameter Sack is 0.
In certain embodiments, it is preferably, slow turn-on threshold values ssthresh is set to congestion window cwnd by described S7
Half.
In certain embodiments, being preferably, described congestion window cwnd linearly increases and is: congestion window cwnd increases by 1.
The asymmetric network transmission protocol method for designing that the embodiment of the present invention provides, compared with prior art, it is proposed that
Comprise parameter Sack, parameter WcongConfirmation packet, when restricted node is transmitting terminal, take to open up for server end slow
The mode deposited, reduces factor data and loses, and the mass data brought retransmits.Restricted node factor data loses a large amount of numbers caused
According to retransmitting phenomenon, bring the biggest energy loss, so taking this mode restricted to reduce can to undoubtedly restricted node
Connect the transmission of node.In a samsara, after waiting the end that pending data transmits, for confirming that packet adds WcongParameter, recalls to
The data segment not received.When restricted node is receiving terminal, due to and unclear be packet loss or data packet disorder causes
Do not have to intended packet, so working as WcongWhen having 3 equal value, i.e. think data-bag lost, the most immediately by this
Confirm that packet sends sender to.If because being not received by intended packet by out of order generation, then typically exist
WcongWhen having 1 or 2, out of order problem will solve, and has three WcongTime, the probability of data-bag lost is just greatly increased
?.So, it is necessary to lost data packets is retransmitted, rather than time out timer occurs time-out by the time.By to confirming data
Bag adds SackAnd WcongThe setting of two parameters, slows down the transmission of data.And the asymmetric data redesigned retransmit and set
Meter, and then more demonstrate the superiority of asymmetric design.Therefore, the application not only reduce unnecessary ACK transmission and
Receive, thus slow down ACK and send and receive the huge power consumption that brought, but also reduce data traffic volume and for ability
High node opens up the method for caching, improves the communication efficiency of network service and extends the service life of restricted node.Effectively
To solve communication efficiency that present stage symmetric protocol causes low and consume the problem that the energy is too much.
Accompanying drawing explanation
Fig. 1 is asymmetric network transmission protocol method for designing step schematic diagram in one embodiment of the invention;
Fig. 2 is asymmetric protocol network transmission schematic diagram in one embodiment of the invention;
Fig. 3 is confirmation packet schematic diagram in one embodiment of the invention;
Fig. 4 is that one embodiment of the invention retransmits schematic diagram in packet.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained on the premise of not making creative work, broadly falls into the scope of protection of the invention.
The problem that communication efficiency is low and the consumption energy is too much caused for present stage symmetric protocol, the present invention proposes
A kind of asymmetric network transmission protocol method for designing.As Figure 1-4, it specifically includes:
Based on the application is based primarily upon the communication thought of asymmetric, to host-host protocol from initialization, Congestion Avoidance, number
Retransmit according to bag and packet fast quick-recovery four-stage has carried out the design of low energy consumption to Internet of Things host-host protocol, such as Fig. 1,2 institutes
Show, specifically include:
A. initialization scheme design
When data start to transmit, if transmitting terminal injects substantial amounts of data immediately in network, then be likely to cause
Network congested, due to and unclear present network in load condition.So, in the incipient stage, we use slow turn-on side
Formula, its ascending method being gradually increased congestion window quantity, serve good network detection effect.We set up one
Confirm packet, comprise parameter Sack, represent one and take turns transmission and receive the sum of packet sequence number.
As it is shown on figure 3, when new asymmetric agreement ATP (Asymmetric Transport Protocol, non-right
Claim host-host protocol) set up connect after, congestion window cwnd is initialized to 1, size (this of i.e. one packet (segement)
The big I of individual packet is determined by the other side, it is also possible to be default value, and conventional default value is 535k or 512k).When transmitting terminal is received
After the value correct for Sack=1 that receiving terminal sends, congestion window cwnd=cwnd*2, registration confirmed packet time of return
Tack;
The each of process takes turns transmission afterwards, and transmitting terminal is according to confirming bag time of return Tack, it is achieved cwnd=cwnd+1, sends out
Send corresponding data bag;Receiving terminal according to the data packet sequence count received, arrange Sack=be packet sequence number and, take turns data one
After the end of transmission, reset Sack=0;
Transmitting terminal judges Sack and has sent out packet sequence number and the most equal, if equal, congestion window cwnd just doubles.
At this stage, congestion window cwnd increases with RTT (Round Trip Time, round-trip delay) exponentially.If it is unequal,
It is judged as occurring congested.
As cwnd >=ssthresh time, enter congestion avoidance phase.
B. congestion avoidance schemes design
Network congestion (network congestion) refer to transmit in a packet switched network the number of packet too many time,
The situation that network transmission performance declines is caused due to the resource-constrained of store-and-forward node.Network congestion is a kind of sustained overload
Network state, now user's demand to Internet resources (including link bandwidth, memory space and processor disposal ability etc.)
Intrinsic disposal ability and capacity are exceeded.In order to prevent, congestion window growth is too fast causes network congestion, and we set one
Slow turn-on threshold values ssthresh realizes slow turn-on and avoids.Connecting for an ATP, slow turn-on threshold values ssthresh is traditionally arranged to be
65535 bytes.
Ssthresh ssthresh is set to the half of current cwnd, i.e. ssthresh=cwnd/2;
Occur time-out time, put cwnd=1, cwnd <under the conditions of ssthresh, ATP (Asymmetric Transport
Protocol, asymmetric host-host protocol) perform slow turn-on, and again detect the value of Tack;
During cwnd >=ssthresh, perform congestion avoidance algorithm, every new Tack, cwnd=cwnd+1/
cwnd;When often crossing a RTT, transmitting terminal receives correct confirmation bag, by cwnd=cwnd+1, makes cwnd with RTT linearly
Increase.
So congestion window cwnd is slowly increased by linear rule, slower than the congestion window rate of rise starting algorithm slowly
Much.No matter in the slow incipient stage or in congestion avoidance phase, as long as sender judges that network occurs that congested (it is according to being exactly
Do not receive confirmation) it is necessary to start thresholding ssthresh slowly and be set to sender's window value when occurring congested half (but
Can not be less than 2).Then congestion window cwnd is re-set as 1, performs to start algorithm slowly.The purpose of do so seeks to fast
Speed reduces the packet count that main frame is sent in network so that occur congested router to have enough time dividing of overstocking in queue
Group is disposed.
C. data packet retransmission conceptual design
During data are transmitted, owing to restricted node one side's hardware resource is limited, bandwidth is less, and communication link
Easily by such environmental effects, so packet may produce packet packet loss phenomenon, thus affect recipient and receive data
Integrity.So we are confirming to add in packet WcongParameter, returns lost data packets sequence number, if receiving confirmation data
Containing W in bagcongParameter, performs data packet retransmission algorithm.As shown in Figure 4, confirm packet is provided with more than one WcongGinseng
Number:
A () restricted node is transmitting terminal
During restricted node and server data transport, we are not difficult to find out, server end is either firmly
In part resource, or in computing capability, all powerful than restricted node a lot.Owing to receiving the restricted gender of communication link,
We take to open up the mode of caching for server end, reduce factor data and lose, and the mass data brought retransmits, and reduces limited
System connects the transmission of node.In a samsara, after waiting the end that pending data transmits, we are for confirming that packet adds WcongParameter,
Recall to the packet sequence number group not received.
When the packet sequence number that recipient receives and recipient expect that the sequence number received differs, we make WcongIt is equal to
In the corresponding data bag sequence number being not received by the packet press-in caching that will receive.If after RTT assert that epicycle terminates, disappearance
Data have n (n transmits quantity Sn less than or equal to epicycle packet), then receiving terminal returns Sack and n WcongAnalog value.I.e.
Server returns n W of corresponding disappearancecong, and utilize caching to be stored in Sn-n data.
After transmitting terminal receives this confirmation packet, transmitting terminal judges Sack value and WcongValue be added equal to epicycle transmit
Mutually Sack value and confirm in packet contain Wcong, then immediately enter the fast quick-recovery of fourth stage, first recover all Wcong
After the packet of disappearance, then carry out the transmission of next round.
In this retransmission phase, after opening up caching for server end, restricted node side, significantly subtract under corresponding probability
Lack the re-transmission of data so that restricted node sends the energy consumption of data and is substantially reduced.
B () restricted node is receiving terminal
Due to and unclear be packet loss or data packet disorder causes does not obtain intended packet, so expection
Packet sequence number value is copied to Wcong, when receiving three identical WcongTime, i.e. think data-bag lost, immediately that this is the most true
Recognize packet and send sender to.If because being not received by intended packet by out of order generation, then typically exist
WcongHaving 1 or during 2 non-equivalence, out of order problem will solve, and has three WcongTime, the probability of data-bag lost is the biggest
Add greatly.So, it is necessary to lost data packets is retransmitted, rather than time out timer occurs time-out by the time.
When the packet sequence number that recipient receives and recipient expect that the sequence number received differs, by anticipatory data Bao Xu
Number value is copied to WcongAnd by WcongAfter being added on confirmation bag, when there being 3 WcongTime equal, then this confirmation packet is passed again
Send.And Sack is not further added by when not receiving the data sequence number of expectation, perform addition again until receiving;
Sender receives W in confirmation packetcongWhen having three equal value, i.e. think that data-bag lost stands, then will open slowly
Dynamic threshold values ssthresh is set to the half of current cwnd, retransmits corresponding data bag, enters quick Restoration stage.
In this process, make the data transmission of server end increase, ensured restricted node side erroneous data reception
Minimizing.So, utilize the mode of Fast retransmission, and the performance of server own is powerful, be finally reached and decrease restricted joint
The energy consumption of point.
Design asymmetric for data packet retransmission scheme, a large amount of consumption being stored by server end and transmitting, significantly
Decrease restricted internodal energy resource consumption.
D. data recovery scheme design
The design of the fast quick-recovery of data especially to congestion window the biggest time, in the case of Congestion Level SPCC appropriateness, permissible
The handling capacity of the whole network service of bigger raising also reduces the energy resource consumption of restricted node.
After Fast retransmission packet, congestion window cwnd is set to slow turn-on threshold values ssthresh+3;
Sender often receives a group acknowledge packet containing WcongTime, just by congestion window cwnd+3;Now increase window
Reason is, often receives one and confirms that packet is containing Wcong, it is meant that have individual packet the most correct leave network.If window
Mouth size allows to send, sender's just one packet of transmission;
After recipient receives correct bag, start to calculate Sack and be added the operation receiving packet sequence number;WcongFor
The empty confirmation packet sent sends sender to, puts cwnd=ssthresh, proceeds to Congestion Avoidance;When Retransmission timeout occurs
Time, put ssthresh=cwnd/2, cwnd=1, enter slow start stage.Further, what the time-out in the present embodiment referred to is to send out
A timer it is switched on, within a certain period of time without the ACK report of the datagram obtaining transmission after giving some data
Literary composition, then just resend data, until sending successfully.
Present most of internet of things use IPv6 technology, really achieve internodal direct interconnection, it is no longer necessary to many
Protocol gateway.IPv6 had both propped up the Address Autoconfiguration of held state, supported again stateless address configuration, can be dry at nobody
It is that each interface configures corresponding IPv6 address in the case of Yu.This point and WSN self-organizing, self-configuring design object very
It coincide.But, it is considered as unpractical (completely can not be) by IP agreement introducing cordless communication network always.It is so far
Only, wireless network is only with specialized protocol, because IP agreement is higher to internal memory and bandwidth requirement, will reduce its running environment requirement
Highly difficult to adapt to microcontroller and low-power wireless connection.The potentiality of the low power run that 6LoWPAN is had make it the suitableeest
Close and apply in the equipment from hand-held set to instrument.6LowPAN technology bottom use the PHY layer that specify of IEEE802.15.4 with
MAC layer, Internet continues to use IPv6 agreement.Owing to, in IPv6, the loaded length that MAC supports is much larger than 6LowPAN bottom institute
The loaded length being provided that, in order to realize the seamless link of MAC layer and Internet, the suggestion of 6LowPAN working group in Internet and
Increase a network adaptation layer between MAC layer, be used for Header compression, burst and the work such as restructuring and netted routing forwarding
Make.6LoWPAN protocol stack reference model is substantially similar with the reference model of TCP/IP, and difference is what 6LoWPAN bottom used
IEEE 802.15.4 standard, it is desirable to PHY layer is made up of the control module of RF transceiver and bottom.Media access control sublayer is high-rise visit
Ask the service interface that physical channel provides point to point link.And because of the characteristic of Low rate wireless personal area network, introduce at 6LoWPAN
Adaptation layer, but the most undoubtedly on transfer function and safety, the node making ability high brings and delays or stagnate.Relatively conventional
The unlimitedness of the network node energy, is not difficult to find out that traditional network node and sensor node have extreme unsymmetry.But
It is, agreement used in this application to be substantially and continue to use traditional procotol, and for the asymmetrical relationship between them also
Do not revised.So the Protocol Design that the application will be located in transport network layer becomes asymmetric agreement, reduce the most wireless biography
The power consumption of this class energy constrained node of sensor and calculating.Traditional network node, due to the unrestricted characteristic of its energy, is sent out
The small energy resource consumption send, received, is substantially unaffected it.But, low consumed characteristic is needed for sensor node,
Beyond doubt a kind of consume greatly, in order to reduce the power consumption of sensor, we from sensor consume energy most transmissions and receive into
Hands, by adding a small amount of computing, reduces transmission and the reception of restricted node, reduces the energy resource consumption of restricted node.
Too fast for solving the problem-sensor node power consumption comparing concern in Internet of Things always, that this programme proposes asymmetric agreement
In terms of network service, by increasing calculating and the internal memory of ability high node, it is achieved the reduction of ability low node energy resource consumption, from
And the problem that service life of extending node is short.
By the understanding to this field, it is not difficult to find out that sensor node consumption can be divided into 6 parts to consume energy: sensing power consumption,
Process data power consumption, send energy consumption, reception energy consumption, idle energy consumption and dormancy power consumption.It is not difficult to find out by literature search, node
Energy consumption is mainly derived from transmission, receives, and for making sensor node energy consumption minimum, is necessary for reducing the energy of these 2 parts of node
Consumption.
So the problem that subject application mainly solves is, how to slow down transmission and the reception of data.So the present invention is adopted
Technical scheme: " self-clocking " mechanism.If receive discrete packet, then return the ACK that number is identical,
It is referred to as the ACK (duplicate ACK) of redundancy.ACK confirmation man-to-man to packet, increase restricted node transmission and
Receive.The confirmation packet S that the present embodiment proposesack, reduce transmission and the reception of unnecessary ACK, thus slow down ACK and send out
Send and receive the huge power consumption brought.Secondly, in the data packet retransmission stage, for confirming to add in packet WcongParameter,
Return lost data packets sequence number.When restricted node is transmitting terminal, take to open up the mode of caching for server end, reduce because of
Loss of data, and the mass data brought retransmits.Restricted node factor data is lost the mass data caused and is retransmitted phenomenon, undoubtedly
The biggest energy loss can be brought to restricted node, thus take this mode to reduce the restricted transmission connecing node.?
In samsara, after waiting the end that pending data transmits, will confirm that packet adds WcongParameter, recalls to the data not received
Section.When restricted node is receiving terminal, due to and unclear be packet loss or data packet disorder causes do not have to expection
Packet, so working as WcongWhen having 3 equal value, i.e. think data-bag lost, the most immediately this is confirmed packet transmission
To sender.If because being not received by intended packet by out of order generation, then general at WcongWhen having 1 or 2,
Out of order problem will solve, and has three WcongTime, the probability of data-bag lost just considerably increases.So, it is necessary to
Lost data packets is retransmitted, rather than time out timer occurs time-out by the time.By to confirming that packet adds SackAnd Wcong
The setting of two parameters, slows down the transmission of data.And the asymmetric data redesigned retransmit design, more demonstrate non-
The superiority of symmetrical expression design.
These are only the preferred embodiments of the present invention, be not limited to the present invention, for those skilled in the art
For Yuan, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any amendment of being made,
Equivalent, improvement etc., should be included within the scope of the present invention.
Claims (7)
1. an asymmetric network transmission protocol method for designing, it is characterised in that including:
S1: arrange and record in data transmission procedure send packet sequence number and;
S2: set up and comprise parameter Sack, parameter WcongConfirmation packet, described parameter SackRepresent in data transmission procedure and receive
Packet sequence number and, described WcongParameter is in order to recall to the packet sequence number group not received;
S3: described parameter S is setackInitial value;
S4: asymmetric agreement is set up after connecting, and initializes the value of congestion window cwnd;
S5: judge that transmitting terminal receives the S that receiving terminal sendsackWith the packet sequence number of described transmission and the most equal, if equal,
Carry out S6;Otherwise carry out S7;
S6: the value of described congestion window cwnd is doubled, and record the time of return T of described confirmation packetack;
S7: slow turn-on threshold values ssthresh is set according to congestion window cwnd;
S8: judge the size of congestion window cwnd and slow turn-on threshold values ssthresh, if congestion window cwnd is less than slow turn-on valve
Value ssthresh and generation Tack time-out, asymmetric agreement performs slowstart algorithm, again detects described time of return Tack's
Value;Otherwise perform congestion avoidance algorithm;
S9: judge that the sequence number received is the most identical with the sequence number of the packet of transmission, if identical, then terminate;Otherwise carry out S10;
S10: judge restricted node be transmitting terminal still as receiving terminal:
If restricted node is transmitting terminal, then carry out S11, if restricted node is receiving terminal, then carry out S12;
S11: make WcongBe equal to nothing the corresponding data bag sequence number received, and in the packet press-in caching that will receive;Receiving terminal
By described parameter SackAnd WcongSend to transmitting terminal;Transmitting terminal receives described parameter SackAnd WcongRear execution data recovering algorithms;
S12: the sequence number of packet in described S1 is copied to Wcong, receiving terminal receives WcongAfter judge whether 3 Wcong
Equal, if existing, then perform data recovering algorithms;Otherwise stop.
2. asymmetric network transmission protocol method for designing as claimed in claim 1, it is characterised in that described Congestion Avoidance is calculated
Method includes:
Record time of return TackAfter, congestion window cwnd increase to the reciprocal of the value of cwnd and the value of cwnd and;Send termination
After receiving described confirmation packet, congestion window cwnd linearly increases.
3. asymmetric network transmission protocol method for designing as claimed in claim 1, it is characterised in that described data are recovered to calculate
Method includes:
S13: congestion window cwnd is set to slow turn-on threshold values ssthresh's and 3 and;
S14: judge restricted node be transmitting terminal still as receiving terminal:
If restricted node is transmitting terminal, then carry out S15, if restricted node is receiving terminal, then carry out S16;
After S15: transmitting terminal receives confirmation packet, congestion window cwnd is increased by 3;
After S16: receiving terminal receives confirmation packet, it may be judged whether Retransmission timeout occurs, if sending when there is Retransmission timeout,
Congestion window cwnd is set to 1, and slow turn-on threshold values ssthresh is set to the half of congestion window cwnd, and performs to open slowly
Dynamic;Otherwise perform congestion avoidance algorithm.
4. asymmetric network transmission protocol method for designing as claimed in claim 1, it is characterised in that asymmetric for
Agreement connects, and slow turn-on threshold values ssthresh is traditionally arranged to be 65535 bytes.
5. asymmetric network transmission protocol method for designing as claimed in claim 1, it is characterised in that parameter in described S3
SackInitial value be 0.
6. asymmetric network transmission protocol method for designing as claimed in claim 1, it is characterised in that will open slowly in described S7
Dynamic threshold values ssthresh is set to the half of congestion window cwnd.
7. asymmetric network transmission protocol method for designing as claimed in claim 2, it is characterised in that described congestion window
Cwnd linearly increases: congestion window cwnd increases by 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610635247.XA CN106254264B (en) | 2016-08-05 | 2016-08-05 | A kind of asymmetric network transmission protocol design method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610635247.XA CN106254264B (en) | 2016-08-05 | 2016-08-05 | A kind of asymmetric network transmission protocol design method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106254264A true CN106254264A (en) | 2016-12-21 |
CN106254264B CN106254264B (en) | 2019-04-26 |
Family
ID=58078597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610635247.XA Active CN106254264B (en) | 2016-08-05 | 2016-08-05 | A kind of asymmetric network transmission protocol design method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106254264B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108551378A (en) * | 2018-02-08 | 2018-09-18 | 中国航天时代电子有限公司 | A kind of radiofrequency signal remote transmission method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101951386A (en) * | 2010-10-12 | 2011-01-19 | 成都卫士通信息产业股份有限公司 | Safe method for data convergence and information feedback of internet of things |
CN103593687A (en) * | 2013-11-20 | 2014-02-19 | 北京三生创新科技发展公司 | Internet of things intelligent management control cabinet system |
CN102752212B (en) * | 2012-07-12 | 2015-08-19 | 苏州阔地网络科技有限公司 | A kind of transmission rate control |
-
2016
- 2016-08-05 CN CN201610635247.XA patent/CN106254264B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101951386A (en) * | 2010-10-12 | 2011-01-19 | 成都卫士通信息产业股份有限公司 | Safe method for data convergence and information feedback of internet of things |
CN102752212B (en) * | 2012-07-12 | 2015-08-19 | 苏州阔地网络科技有限公司 | A kind of transmission rate control |
CN103593687A (en) * | 2013-11-20 | 2014-02-19 | 北京三生创新科技发展公司 | Internet of things intelligent management control cabinet system |
Non-Patent Citations (2)
Title |
---|
何泾沙: "《基于非对称方式的物联网通信协议》", 《计算机工程》 * |
潘力斌: "《面向物联网的非对称通信协议涉及研究》", 《中国优秀硕士论文全文库》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108551378A (en) * | 2018-02-08 | 2018-09-18 | 中国航天时代电子有限公司 | A kind of radiofrequency signal remote transmission method |
Also Published As
Publication number | Publication date |
---|---|
CN106254264B (en) | 2019-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11799790B2 (en) | Data transmission method, computing device, network device, and data transmission system | |
CN106878191B (en) | A kind of data transferring method, sending node, receiving node and data communication system | |
US7609697B2 (en) | Optimizing IEEE 802.11 for TCP/IP data transfer | |
US7443845B2 (en) | Apparatus and method for a lightweight, reliable, packet-based transport protocol | |
JP5020076B2 (en) | High performance TCP suitable for low frequency ACK system | |
JP2003078560A (en) | Flow control system in transport layer protocol | |
Alheid et al. | An analysis of the impact of out-of-order recovery algorithms on MPTCP throughput | |
JP2012209905A (en) | Wireless communication device, method, and program | |
Wang et al. | Concurrent multipath transfer protocol used in ad hoc networks | |
Saadawi et al. | A transport layer load sharing mechanism for mobile wireless hosts | |
CN106254264A (en) | A kind of asymmetric network transmission protocol method for designing | |
CN104580171B (en) | The transmission method of Transmission Control Protocol, device and system | |
Anastasi et al. | TPA: a transport protocol for ad hoc networks | |
CN106302426A (en) | A kind of udp protocol stack implementation method of band retransmission mechanism based on FPGA | |
CN113424578B (en) | Acceleration method and device for transmission control protocol | |
Rohrer | Performance and disruption tolerance of transport protocols for airborne telemetry networks | |
Gasser | TCP/IP communication in a WSN | |
Ayadi et al. | Energy-efficient fragment recovery techniques for low-power and lossy networks | |
Anastasi et al. | Towards a novel transport protocol for ad hoc networks | |
Zhang et al. | An asymmetric transport protocol for internet of things | |
Pereira et al. | FINLAN Packet Delivery Proposal in a Next Generation Internet | |
Hussain et al. | Analysis of TCP issues and their possible solutions in the internet of things. | |
Cheng et al. | An adaptive bandwidth estimation mechanism for SCTP over wireless networks | |
Bagde et al. | Survey of Performance based transmission control protocol in MANET | |
He et al. | Optimization of Transmission Control of Heterogeneous Integrated Satellite Networks and Terrestrial Multi-hop Networks. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240201 Address after: 101200 room 205-211526, No. 40, Fuqian West Street, Pinggu town, Pinggu District, Beijing (cluster registration) Patentee after: BEIJING YONGBO TECHNOLOGY CO.,LTD. Country or region after: China Address before: 100124 No. 100 Chaoyang District Ping Tian Park, Beijing Patentee before: Beijing University of Technology Country or region before: China |