A kind of Delay Tolerant Network data transmission method based on improving transmission probability estimation
Technical field
The present invention relates to how to improve the data transmission method that transmission probability is estimated, especially a kind of based on improving biographyThe Delay Tolerant Network data transmission method of defeated probability Estimation, belongs to delay-tolerant network technique field.
Background technology
Delay Tolerant Network (DelayTolerantNetwork, be called for short DTN) is to continue a kind of shortage between end-to-endThe reliable networking connecting. DTN network often has high latency, low transfer rate, and batch-type connects, node frequencyNumerous movement, the feature such as delay-tolerant, fault tolerant, limited storage and communication environment are severe, makes traditionThe Internet technology of the end-to-end communication based on TCP/IP cannot be well for it provides service. In view of DTNThe uniqueness of network. DTN route, as among in the weight in delay-tolerant network, becomes numerous researchersPrimary research object.
Data transmission method based on probability Estimation is a kind of method adopting in Prophet Routing Protocol, shouldIn method node not forwarding messages blindly give all or part of neighbor node, arrive object joint but pre-estimateThe communicating predicted probability of point, and utilize this probable value to determine whether storing this message to turn to wait for betterSend out chance and determine which node to realize forwarding by.
The people such as Ting-KaiHuang propose Prophet+ algorithm, the same electric weight that equals using transmission probability as oneThe network factors of bandwidth, several network factors that consider respectively draw value of utility, finally do according to value of utilityCorresponding judgement, although the network factors that the method is considered is many, more than network factors time in the choosing of weightSelect aspect and can face very large difficulty, the method is not considered this factor time of contact simultaneously.
The people such as Li Yun propose a kind of transmission side data of improved probability Estimation in EProphet routing algorithmMethod, in the method by considering two of node contact frequency and duration of contacts because usually calculating estimationTransmission probability, thus make transmission probability can reflect more all-sidedly and accurately inter-node communication ability, in dataIn bag repeating process, select the better down hop of communication capacity, further improve the delivery rate of message, when reductionProlong, reduce resource overhead. But the method has been ignored other factor node electric weight that affect transmission performance, nodeElectric weight be a considerable problem to the node of resource-constrained. Do not consider limited connecing simultaneouslyTouch in the time whether successfully to send packet, if can not successfully send data, not only can not improve transmissionEfficiency, has also wasted resource greatly.
In addition, pertinent literature is mentioned and from saving the angle of energy, is adopted the probability based on node energyRouting algorithm, has reduced the communication overhead of network better, extends network life cycle. and the method is also only unilateralConsideration electric weight this respect factor, simultaneously do not consider whether limited electric weight can successfully send data yetBag.
Summary of the invention
The present invention is directed to the deficiency of above-mentioned background technology, the data that provide a kind of improved transmission probability to estimate passTransmission method, the method has considered the contact duration of node, the electric weight of node in calculating transmission probabilityEtc. network factors. Judge simultaneously in the case of limited bandwidth, limited contact duration, limited electric weight and savePoint success message transfer packet. This has not only improved the efficiency of transmission, the resource of simultaneously having saved network.
The present invention adopts following technical scheme for achieving the above object: a kind of based on improving transmission probability estimationDelay Tolerant Network data transmission method, according to Prophet+ method, using transmission probability as one with equaling electric weightThe network factors of bandwidth, has considered respectively several network factors and has drawn value of utility, finally does according to value of utilityCorresponding judgement; According to EProphet method for routing, consider node contact frequency and duration of contactTwo because usually calculating estimation transmission probability;
It is characterized in that: calculating in transmission probability, considered the contact duration that comprises between node,The electric weight of node is in interior network factors, judges at limited bandwidth, limited contact duration, limited simultaneouslyIn the situation of electric weight, node success message transfer packet, to improve the efficiency of transmission and to save networkResource;
First do corresponding judgement according to the value of transmission probability, if present node is to destination node transmission probability valueBe greater than node that present node the contacts transmission probability value to destination node, cancel and sending, otherwise, judgementNode success in the case of limited contact duration and limited electric weight sends message packets, if can becomeMerit sends, and message is sent to the node of contact from present node, if can not cancel transmission, carries out routeWhen algorithm, the contact duration of node and node electric weight are incorporated in routing algorithm, accurately to select down hop,Improve transmission success rate, simultaneously the size by message packets relatively and limited duration and the limited electricity of contactingThe size of the data volume that amount can be transmitted, determines whether transmission, to reach the object of saving Internet resources; BagDraw together following steps:
Step 1, in network, arbitrary node i is safeguarded a basic route information table, comprises following content: passLong list, total electric weight and dump energy when defeated list of probabilities, contact duration history list, last time noncontact, itsIn this node to the transmission probability of other nodes, represent with P (i, j), i represents this node, j represents other nodes,Contact duration represents that two nodes start to finish interval during this period of time to contact from this contact, contact duration historyList Tm(i, j) represents, m represents which time contact m=1,2,3 ... M, M represents total frequency of exposure, last timeNoncontact duration represents that last time contact finishes the time interval starting to this contact, long list when last time noncontactWith H (i, j) expression, use Et(i) total electric weight of expression node i, Er(i) dump energy of expression node i, establishes Q and represents to disappearBreath data package size, W represents bandwidth;
Step 2, the computational process of transmission probability: suppose that, in a transmitting procedure, D is destination node, AFor storing the present node of message packets copy, in the time that A node contacts with B node, A, B jointPoint exchange route information table separately, according to the information updating transmission probability of route information table. The meter of transmission probabilityCalculation comprises 3 aspects:
A) when A, B rigidly connect tactile time, first A node updates A, B two nodes are at noncontact last time durationThe decay of transmission probability P (A, B) in this time period, formula for attenuation equation (1) calculates:
λ ∈ (0,1] be attenuation coefficient, λ gets 0.6;
B) A node updates A, B two nodes transmission probability P (A, B) within contact this time period of duration nextGrowth, formula for Growth Equation (2) calculate:
Wherein,The average contact of representative duration; The weight of long correlation when w representative contact,Here w gets 0.5; Pinit∈ (0,1) is one and initializes constant, PinitGet 0.8;
C) last A node upgrades P (A, D) according to transitivity, and formula for equation of transfer (3) calculates:
P(A,D)=P(A,D)+(1-P(A,D))·P(A,B)·P(B,D)·β(3)
β is carry-over factor, and β gets 0.8;
Step 3, if P (B, D) > P (A, D) forwards step 4 to; Send otherwise cancel;
Step 4, judges the success transmission in the case of limited contact duration and limited electric weight of A nodeMessage packets, Rule of judgment is provided by formula (4) and (5):
Wherein, e represents the electric weight that unit of transfer's data consume, if meet pass-along message of (4) (5) two formulas simultaneouslyPacket, otherwise wait for that the next node satisfying condition forwards;
Step 5, the process of all intermediate node repeating step 2~steps 4 of receiving duplicate message, until message arrivesReach destination node or message is dropped.
The present invention has the following advantages and beneficial effect:
(1) in the transmission probability between computing node, the duration of the internodal contact considering andThe electric weight of node, to reach the object of accurate selection down hop, has improved transmission success rate.
(2) by the size of message packets relatively and the duration that contacts limited, limited electric weight can passThe size of defeated data volume, determines whether message transfer packet, to reach the object of saving Internet resources.
Brief description of the drawings
Fig. 1 is the general flow chart of the inventive method.
Detailed description of the invention
Below in conjunction with accompanying drawing, the technical scheme of invention is elaborated.
Fig. 1 is the general flow chart of the data transmission method estimated of improved transmission probability that the present invention proposes, comprisesFollowing steps:
Step 1, in network, arbitrary node i is safeguarded a basic route information table, comprises following content: passLong list, total electric weight and dump energy when defeated list of probabilities, contact duration history list, last time noncontact, itsIn this node to the transmission probability of other nodes, represent with P (i, j), i represents this node, j represents other nodes,Contact duration represents that two nodes start to finish interval during this period of time to contact from this contact, contact duration historyList Tm(i, j) represents, m represents which time contact m=1,2,3 ... M, M represents total frequency of exposure, last timeNoncontact duration represents that last time contact finishes the time interval starting to this contact, long list when last time noncontactWith H (i, j) expression, use Et(i) total electric weight of expression node i, Er(i) dump energy of expression node i, establishes Q and represents to disappearBreath data package size, W represents bandwidth;
Step 2, the computational process of transmission probability: suppose that, in a transmitting procedure, D is destination node, AFor storing the present node of message packets copy, in the time that A node contacts with B node, A, B jointPoint exchange route information table separately, according to the information updating transmission probability of route information table. The meter of transmission probabilityCalculation comprises 3 aspects:
A) when A, B rigidly connect tactile time, first A node updates A, B two nodes are at noncontact last time durationThe decay of transmission probability P (A, B) in this time period, formula for attenuation equation (1) calculates:
λ ∈ (0,1] be attenuation coefficient, λ gets 0.6;
B) A node updates A, B two nodes transmission probability P (A, B) within contact this time period of duration nextGrowth, formula for Growth Equation (2) calculate:
Wherein,The average contact of representative duration; The weight of long correlation when w representative contact,Here w gets 0.5; Pinit∈ (0,1) is one and initializes constant, PinitGet 0.8;
C) last A node upgrades P (A, D) according to transitivity, and formula for equation of transfer (3) calculates:
P(A,D)=P(A,D)+(1-P(A,D))·P(A,B)·P(B,D)·β(3)
β is carry-over factor, and β gets 0.8;
Step 3, if P (B, D) > P (A, D) forwards step 4 to; Send otherwise cancel;
Step 4, judges the success transmission in the case of limited contact duration and limited electric weight of A nodeMessage packets, Rule of judgment is provided by formula (4) and (5):
Wherein, e represents the electric weight that unit of transfer's data consume, if meet pass-along message of (4) (5) two formulas simultaneouslyPacket, otherwise wait for that the next node satisfying condition forwards;
Step 5, the process of all intermediate node repeating step 2~steps 4 of receiving duplicate message, until messageArriving destination node or message is dropped.