CN104410999A - Routing method, equipment and system for delay tolerant network - Google Patents

Routing method, equipment and system for delay tolerant network Download PDF

Info

Publication number
CN104410999A
CN104410999A CN201410675883.6A CN201410675883A CN104410999A CN 104410999 A CN104410999 A CN 104410999A CN 201410675883 A CN201410675883 A CN 201410675883A CN 104410999 A CN104410999 A CN 104410999A
Authority
CN
China
Prior art keywords
node
message
neighbors
social characteristics
self
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
Application number
CN201410675883.6A
Other languages
Chinese (zh)
Other versions
CN104410999B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410675883.6A priority Critical patent/CN104410999B/en
Publication of CN104410999A publication Critical patent/CN104410999A/en
Application granted granted Critical
Publication of CN104410999B publication Critical patent/CN104410999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a routing method, equipment and system for a delay tolerant network. The method includes: the node type of a node carrying a message is determined according to the source of the message; if the node carrying the message is a source node, the message is forwarded to every met adjacent node; if the node carrying the message is an intermediate node, the message is forwarded to other met adjacent nodes except the adjacent node forwarding the message to the itself, wherein the social feature similarity of the other adjacent nodes and a target node is larger than the social feature similarity of the intermediate node and the target node. By the routing method, equipment and system for the delay tolerant network, the message is forwarded to the nodes similar to the target node step by step, the message is transmitted to the target node fast, and routing efficiency is increased.

Description

The method for routing of time delay tolerant network, equipment and system
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method for routing of time delay tolerant network, equipment and system.
Background technology
In recent years, the development and apply of wireless technology is more and swifter and more violent, and the quantity of mobile device exceedes fixed host computer becomes a kind of trend, and a large amount of mobile devices constitutes the new application scenarios of a kind of wireless network, i.e. time delay tolerant network (Delay Tolerant Network is called for short DTN).And along with the mobile communication equipment such as smart mobile phone, PAD become people life in necessity, the control of " people " is more received with the DTN that individual mobile device is node, and people has a social nature, everyone is constantly mobile and carry out contacting according to oneself hobby and demand, if two people have relative to other people more identical point in society, so, contact between them can be more frequent, the network that this node has a social nature and social time delay tolerant network.DTN route, namely the source node of message is carried in DTN wirelessly, such as bluetooth, infrared ray, WIFI etc., message is transmitted to other nodes run into, i.e. intermediate node, this message wirelessly continues to be transmitted to other nodes run into by this node, so goes on until this message is transmitted to destination node.
Existing DTN method for routing improves the efficiency of route by the historical movement path of catching each node, and for social time delay tolerant network, because its network size is large, number of nodes is many, the historical movement path of catching each node is quite difficult, and therefore router efficiency is lower.
Summary of the invention
The invention provides a kind of method for routing of time delay tolerant network, equipment and system, in order to solve the lower problem of the router efficiency that exists in prior art.
The invention provides a kind of method for routing of time delay tolerant network, comprising:
The node carrying message determines the node type of self according to the source of described message;
If described in carry message node determine that the node type of self is source node, then described message is transmitted to the neighbors run into;
If described in carry message node determine that the node type of self is intermediate node, then described message to be transmitted to run into except forwarding described message to except the neighbors of self, and other neighborss larger than the Social Characteristics similarity of self and destination node with the Social Characteristics similarity of destination node.
The invention provides a kind of node device, comprising:
Determination module, the node type of described node device is determined in the source for the message of carrying according to described node device;
First forwarding module, if determine that the described node type of described node device is source node for described determination module, is then transmitted to the neighbors run into by described message;
Second forwarding module, if determine that the described node type of described node device is intermediate node for described determination module, then described message to be transmitted to run into except forwarding described message to except the neighbors of described node device, and other neighborss larger than the Social Characteristics similarity of described node device and destination node with the Social Characteristics similarity of destination node.
The invention provides a kind of route system of time delay tolerant network, comprise source node, destination node and multiple intermediate node; Described source node and described intermediate node are node device as above.
The method for routing of time delay tolerant network provided by the invention, equipment and system, message is transmitted to the neighbors run into by source node, this neighbors using with the next node of the Social Characteristics similarity of the destination node node larger than the Social Characteristics similarity of self and destination node as forwarding messages, namely progressively message is transmitted to the node similar to destination node, thus to realize Message Transmission with speed faster, to destination node, improve router efficiency.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a method for routing embodiment of time delay tolerant network provided by the invention;
Fig. 2 is the schematic flow sheet of another embodiment of method for routing of time delay tolerant network provided by the invention;
Node Social Characteristics schematic diagram when Fig. 3 is middle m=3 embodiment illustrated in fig. 2;
Fig. 4 is the structural representation of a node device provided by the invention embodiment;
Fig. 5 is the structural representation of a route system embodiment of time delay tolerant network provided by the invention.
Embodiment
Below by specific embodiment and accompanying drawing, technical scheme of the present invention is described in further detail.
Fig. 1 is the schematic flow sheet of a method for routing embodiment of time delay tolerant network provided by the invention.As shown in Figure 1, the method specifically can comprise:
S101, the node carrying message determines the node type of self according to the source of message.
Concrete, if the node carrying message judges that this message is that self produces, then determine that the node type of self is source node.If the node carrying message judges that this message is that other nodes are transmitted to self, then determine that the node type of self is intermediate node.
S102, if the node carrying message determines that the node type of self is source node, is then transmitted to the neighbors run into by message.
Concrete, if the node carrying message in step S101 determines that the node type of self is source node, then this message is transmitted to the neighbors run into by this node carrying message.Namely neighbors only has the node that Social Characteristics other Social Characteristics different are all identical from present node.
S103, if the node carrying message determines that the node type of self is intermediate node, then message is transmitted to run into except forwarding messages is to except self neighbors, and other neighborss larger than the Social Characteristics similarity of self and destination node with the Social Characteristics similarity of destination node.
Concrete, if the node carrying message in step S101 determines that the node type of self is intermediate node, then this node carrying message selects the neighbors similar to destination node as the next node of forwarding messages by characteristic matching.Concrete, if this neighbors run into be forwarding messages to the neighbors of self, then not forwarding messages, waits for and runs into other neighborss; If the Social Characteristics similarity of this neighbors run into and destination node is equal to or less than the Social Characteristics similarity of self and destination node, then not forwarding messages, waits for and runs into other neighborss; If the Social Characteristics similarity of this neighbors run into and destination node is greater than the Social Characteristics similarity of self and destination node, then the neighbors that runs into this of forwarding messages.
The method for routing of the time delay tolerant network that the present embodiment provides, message is transmitted to the neighbors run into by source node, this neighbors using with the next node of the Social Characteristics similarity of the destination node node larger than the Social Characteristics similarity of self and destination node as forwarding messages, namely progressively message is transmitted to the node similar to destination node, thus to realize Message Transmission with speed faster, to destination node, improve router efficiency.
Fig. 2 is the schematic flow sheet of another embodiment of method for routing of time delay tolerant network provided by the invention.As shown in Figure 2, the present embodiment is on basis embodiment illustrated in fig. 1, and further describe the process how source node and intermediate node select next node, the method specifically can comprise:
S201, the node carrying message determines the node type of self according to the source of message.
Concrete, if the node carrying message judges that this message is that self produces, then determine that the node type of self is source node, and perform step S202.If the node carrying message judges that this message is that neighbors is transmitted to self, then determine that the node type of self is intermediate node, and perform step S207.
S202, if the node carrying message determines that the node type of self is source node, then judges that whether the Social Characteristics of the neighbors run into is consistent with the Social Characteristics of destination node.
Concrete, if the node carrying message in step S201 determines that the node type of self is source node, then this node (i.e. source node) carrying message judges that whether m Social Characteristics of m Social Characteristics of the neighbors run into and destination node be completely the same.If consistent, then perform step S203; If inconsistent, then perform step S204.Wherein, choosing of m Social Characteristics specifically by calculating the entropy of the whole Social Characteristics of each node, can get the Social Characteristics of the maximum m of a wherein entropy Social Characteristics as each node.Such as, have n node (a corresponding n people), each node has M kind characteristic (such as nationality, mother tongue etc.), uses F respectively 1, F 2..., F mrepresent, E (F j) (j=1,2 ..., M) and be characteristic F jentropy, P j() is characteristic F jprobability density function.Entropy according to following each characteristic of formulae discovery:
E ( F j ) = - Σ i = 1 n P ( F ij ) log 2 P ( F ij )
According to result of calculation, select the maximum m of entropy (m<M) individual Social Characteristics.
S203, message is transmitted to the neighbors run into by the node carrying message.
Concrete, if m Social Characteristics of the m of the neighbors a run into Social Characteristics and destination node is completely the same, then this node (i.e. source node) carrying message thinks this neighbors run into and destination node, thus directly the message of carrying is transmitted to this neighbors run into.
S204, the node carrying message judges the Social Characteristics F that self is different from the neighbors run into rwhether be self and in the individual different Social Characteristics of destination node k.
Concrete, r (r is the natural number between 1 to m) the individual Social Characteristics F of neighbors supposing this node carrying message (i.e. source node) and run into rdifference, this node (i.e. source node) carrying message has k (k is the natural number between 1 to m) individual different Social Characteristics, such as 1-k Social Characteristics from destination node, then the individual different Social Characteristics of this k forms set d={F 1, F 2..., F k.If m Social Characteristics of the m of the neighbors a run into Social Characteristics and destination node is not quite identical, namely have at least 1 Social Characteristics inconsistent, then this node (i.e. source node) carrying message judges the Social Characteristics F that self is different from the neighbors run into rbe whether in self Social Characteristics different from destination node k, namely judge F rwhether belong to set d={F 1, F 2..., F k.If so, then step S205 is performed; If not, then step S206 is performed.
S205, carries the node of message by sequence C r, message pass-through mode mod=0 and message is transmitted to the neighbors run into.
Concrete, if F r∈ d={F 1, F 2..., F k, then this node (i.e. source node) carrying message is by sequence C r, message pass-through mode mod=0 and the message of carrying is transmitted to the neighbors run into.Wherein, sequence C rbe defined as follows: as r=k, C r=C k=<F 1, F 2..., F k>; As r ≠ k, C r=<F r+1, F r+2..., F k, F 1, F 2..., F r>.Message pass-through mode mod=0, represents current with short path mode forwarding messages.
S206, carries the node of message by sequence C k, message pass-through mode mod=1 and message is transmitted to the neighbors run into.
Concrete, if F rdo not belong to d={F 1, F 2..., F k, then this node (i.e. source node) carrying message is by sequence C k, message pass-through mode mod=1 and the message of carrying is transmitted to the neighbors run into.Wherein, C k=<F 1, F 2..., F k>.Message pass-through mode mod=1, represents current with long path fashion forwarding messages.
S207, if the node carrying message determines that the node type of self is intermediate node, then judges whether the neighbors run into is that forwarding messages is to the neighbors of self.
Concrete, if the node carrying message in step S201 determines that the node type of self is intermediate node, then this node (i.e. intermediate node) carrying message judges whether the neighbors that runs into and forwarding messages are same node to the neighbors (namely going up a node) of self.If so, then not forwarding messages, waits for and runs into other neighborss; If not, then step S208 is performed.
S208, the node carrying message judges that whether the Social Characteristics of the neighbors run into is consistent with the Social Characteristics of destination node.
Concrete, if the neighbors run into and forwarding messages are different nodes to the node of self, then this node (i.e. intermediate node) carrying message judges that whether m Social Characteristics of m Social Characteristics of the neighbors run into and destination node be completely the same.If consistent, then perform step S209; If inconsistent, then perform step S210.
S209, message is transmitted to the neighbors run into by the node carrying message.
Concrete, if m Social Characteristics of the m of the neighbors a run into Social Characteristics and destination node is completely the same, then this node (i.e. intermediate node) carrying message thinks this neighbors run into and destination node, thus directly the message of carrying is transmitted to this neighbors run into.
S210, the node carrying message judges whether the message pass-through mode mod received equals 0.
Concrete, if m Social Characteristics of the m of the neighbors a run into Social Characteristics and destination node is not quite identical, namely have at least 1 Social Characteristics inconsistent, then this node (i.e. intermediate node) carrying message judges whether the message pass-through mode mod self received equals 0.If so, then step S211 is performed; If not, then step S213 is performed.
S211, the node carrying message judges the Social Characteristics F that self is different from the neighbors run into swhether be the sequence C received tin first element.
Concrete, s (s is the natural number between 1 to m) the individual Social Characteristics F of neighbors supposing this node carrying message (i.e. intermediate node) and run into sdifference, the sequence that this node (i.e. intermediate node) carrying message receives from a upper node is C t(t is the natural number between 1 to k).If the message pass-through mode mod=0 self received, then this node (i.e. intermediate node) carrying message judges the Social Characteristics F that self is different from the neighbors run into swhether be the sequence C received tin first element.If so, then step S212 is performed; If not, then not forwarding messages, waits for and runs into other neighborss.
S212, carries the node of message by sequence C t-s, message pass-through mode mod=0 and the message of carrying is transmitted to the neighbors run into.
Concrete, if self Social Characteristics F different from the neighbors run into sfor the sequence C received tin first element, then this node (i.e. intermediate node) carrying message is by sequence C t-s, message pass-through mode mod=0 and the message of carrying is transmitted to the neighbors run into.Wherein, C t-sfor from sequence C tmiddle deletion Social Characteristics F safter sequence, i.e. C t-s=C t-F s.
S213, the node carrying message judges the Social Characteristics F that self is different from the neighbors run into swhether be the sequence C received tin an element.
Concrete, if message pass-through mode mod ≠ 0 self received, i.e. mod=1, then this node (i.e. intermediate node) carrying message judges the Social Characteristics F that self is different from the neighbors run into swhether be the sequence C received tin an element.If so, then step S214 is performed; If not, then not forwarding messages, waits for and runs into other neighborss.
S214, carries the node of message by sequence C t-s, message pass-through mode mod=1 and the message of carrying is transmitted to the neighbors run into.
Concrete, if self Social Characteristics F different from the neighbors run into sfor the sequence C received tin an element, then this node (i.e. intermediate node) carrying message is by sequence C t-s, message pass-through mode mod=1 and the message of carrying is transmitted to the neighbors run into.
For m=3, the method for routing of the time delay tolerant network of the present embodiment is described in detail below:
Node Social Characteristics schematic diagram when Fig. 3 is middle m=3 embodiment illustrated in fig. 2.As shown in Figure 3, suppose to there are 8 node (G in time delay tolerant network 0, G 1..., G 7), corresponding 3 the Social Characteristics (F of each node 1, F 2and F 3), G 0corresponding (0,0,0), G 1corresponding (0,0,1), G 2corresponding (0,1,0), G 3corresponding (0,1,1), G 4corresponding (1,0,0), G 5corresponding (1,0,1), G 6corresponding (1,1,0), G 7corresponding (1,1,1), 3 Social Characteristics of each node constitute one 3 dimension cube.
Suppose G 0(0,0,0) is source node, G 6node for the purpose of (1,1,0), due to G 0with G 6the 1st characteristic F 1with the 2nd characteristic F 2difference, the 3rd characteristic F 3identical, therefore there is set d={F 1, F 2, k=2, C 1=<F 2, F 1>, C 2=<F 2, F 1>.
Source node G 0message is transmitted to destination node G by intermediate node by (0,0,0) 6the process of (1,1,0) is as follows:
From G 0(0,0,0) sets out, due to G 0(0,0,0) is source node, therefore performs above-mentioned steps S202-S206.
Suppose G 0(0,0,0) at a time encounters neighbors G 4(1,0,0), due to G 4(1,0,0) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 0(0,0,0) judges self and G 4the Social Characteristics F that (1,0,0) is different r=F 1whether be G 0(0,0,0) and G 6(1,1,0) k (k=2) individual different Social Characteristics (F 1and F 2) in one, namely judge F 1whether belong to set d={F 1, F 2, due to F 1∈ d={F 1, F 2, therefore G 0by sequence C r=C 1=<F 2, F 1>, message pass-through mode mod=0 and the message of carrying are transmitted to G 4.
Suppose G 0(0,0,0) encounters neighbors G in another moment 2(0,1,0), due to G 2(0,1,0) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 0(0,0,0) judges self and G 2the Social Characteristics F that (0,1,0) is different r=F 2whether be G 0(0,0,0) and G 6(1,1,0) k (k=2) individual different Social Characteristics (F 1and F 2) in one, namely judge F 2whether belong to set d={F 1, F 2, due to F 2∈ d={F 1, F 2, therefore G 0by sequence C r=C 2=<F 1, F 2>, message pass-through mode mod=0 and the message of carrying are transmitted to G 2.
Suppose G 0(0,0,0) encounters neighbors G in another moment 1(0,0,1), due to G 1(0,0,1) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 0(0,0,0) judges self and G 1the Social Characteristics F that (0,0,1) is different r=F 3whether be G 0(0,0,0) and G 6(1,1,0) k (k=2) individual different Social Characteristics (F 1and F 2) in one, namely judge F 2whether belong to set d={F 1, F 2, due to F 3do not belong to d={F 1, F 2, therefore G 0by sequence C k=C 2=<F 1, F 2>, message pass-through mode mod=1 and the message of carrying are transmitted to G 1.
From G 4(1,0,0) sets out, due to G 4(1,0,0) is intermediate node, therefore performs above-mentioned steps S207-S214.
Suppose G 4(1,0,0) at a time encounters G 0, due to G 0for forwarding messages is to G 4node, therefore G 4not forwarding messages, waits for and other node meets.
Suppose G 4(1,0,0) encounters G in another moment 5, due to G 5not that forwarding messages is to G 4node, and G 5(1,0,1) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 4judge whether the message pass-through mode mod received equals 0, due to mod=0, therefore G 4(1,0,0) judges self and G 5the Social Characteristics F that (1,0,1) is different s=F 3whether be the sequence C received t=C 1=<F 2, F 1first element in >, due to F 3be not C 1=<F 2, F 1first element, therefore G in > 4not forwarding messages, waits for and other node meets.
Suppose G 4(1,0,0) encounters G in another moment 6, due to G 6not that forwarding messages is to G 4node, and G 6(1,0,1) and destination node G 63 Social Characteristics of (1,1,0) are completely the same, therefore G 4directly the message of carrying is transmitted to G 6, complete source node G 0to destination node G 6message forwarding process.
From G 2(0,1,0) sets out, due to G 2(0,1,0) is intermediate node, therefore performs above-mentioned steps S207-S214.
Suppose G 2(0,1,0) at a time encounters G 0, due to G 0for forwarding messages is to G 2node, therefore G 2not forwarding messages, waits for and other node meets.
Suppose G 2(0,1,0) encounters G in another moment 3, due to G 3not that forwarding messages is to G 4node, and G 3(0,1,1) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 2judge whether the message pass-through mode mod received equals 0, due to mod=0, therefore G 2(0,1,0) judges self and G 3the Social Characteristics F that (0,1,1) is different s=F 3whether be the sequence C received t=C 2=<F 1, F 2first element in >, due to F 3be not C 2=<F 1, F 2first element, therefore G in > 2not forwarding messages, waits for and other node meets.
Suppose G 2(0,1,0) encounters G in another moment 6, due to G 6not that forwarding messages is to G 2node, and G 6(1,0,1) and destination node G 63 Social Characteristics of (1,1,0) are completely the same, therefore G 2directly the message of carrying is transmitted to G 6, complete source node G 0to destination node G 6message forwarding process.
From G 1(0,0,1) sets out, due to G 1(0,0,1) is intermediate node, therefore performs above-mentioned steps S207-S214.
Suppose G 1(0,0,1) at a time encounters G 0, due to G 0for forwarding messages is to G 1node, therefore G 1not forwarding messages, waits for and other node meets.
Suppose G 1(0,0,1) encounters G in another moment 3, due to G 3not that forwarding messages is to G 1node, and G 3(0,1,1) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 1judge whether the message pass-through mode mod received equals 0, due to mod ≠ 0, therefore G 1(0,0,1) judges self and G 3the Social Characteristics F that (0,1,1) is different s=F 2whether be the sequence C received t=C 2=<F 1, F 2an element in >, due to F 2for C 2=<F 1, F 2element, therefore a G in > 2by sequence C t-s=C t-F s=<F 1, F 2>-F 2=<F 1>, message pass-through mode mod=1 and the message of carrying are transmitted to G 3.
Suppose G 1(0,0,1) encounters G in another moment 5, due to G 5not that forwarding messages is to G 1node, and G 5(1,0,1) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 1judge whether the message pass-through mode mod received equals 0, due to mod ≠ 0, therefore G 1(0,0,1) judges self and G 5the Social Characteristics F that (1,0,1) is different s=F 1whether be the sequence C received t=C 2=<F 1, F 2an element in >, due to F 1for C 2=<F 1, F 2element, therefore a G in > 1by sequence C t-s=C t-F s=<F 1, F 2>-F 1=<F 2>, message pass-through mode mod=1 and the message of carrying are transmitted to G 5.
From G 3(0,1,1) sets out, due to G 3(0,1,1) is intermediate node, therefore performs above-mentioned steps S207-S214.
Suppose G 3(0,1,1) at a time encounters G 1, due to G 1for forwarding messages is to G 3node, therefore G 3not forwarding messages, waits for and other node meets.
Suppose G 3(0,1,1) encounters G in another moment 2, due to G 2not that forwarding messages is to G 3node, and G 2(0,1,0) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 3judge whether the message pass-through mode mod received equals 0, due to mod ≠ 0, therefore G 3(0,1,1) judges self and G 2the Social Characteristics F that (0,1,0) is different s=F 3whether be the sequence C received t=<F 1an element in >, due to F 3be not C t=<F 1element, therefore a G in > 3not forwarding messages, waits for and other node meets.
Suppose G 3(0,1,1) encounters G in another moment 7, due to G 7not that forwarding messages is to G 3node, and G 7(1,1,1) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 3judge whether the message pass-through mode mod received equals 0, due to mod ≠ 0, therefore G 3(0,1,1) judges self and G 7the Social Characteristics F that (1,1,1) is different s=F 1whether be the sequence C received t=<F 1an element in >, due to F 1for C t=<F 1element, therefore a G in > 3by sequence message pass-through mode mod=1 and the message of carrying are transmitted to G 7.
From G 5(1,0,1) sets out, due to G 5(1,0,1) is intermediate node, therefore performs above-mentioned steps S207-S214.
Suppose G 5(1,0,1) at a time encounters G 1, due to G 1for forwarding messages is to G 5node, therefore G 5not forwarding messages, waits for and other node meets.
Suppose G 5(1,0,1) encounters G in another moment 4, due to G 4not that forwarding messages is to G 5node, and G 4(1,0,0) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 5judge whether the message pass-through mode mod received equals 0, due to mod ≠ 0, therefore G 5(1,0,1) judges self and G 4the Social Characteristics F that (1,0,0) is different s=F 3whether be the sequence C received t=<F 2an element in >, due to F 3be not C t=<F 2element, therefore a G in > 5not forwarding messages, waits for and other node meets.
Suppose G 5(1,0,1) encounters G in another moment 7, due to G 7not that forwarding messages is to G 5node, and G 7(1,1,1) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 5judge whether the message pass-through mode mod received equals 0, due to mod ≠ 0, therefore G 5(1,0,1) judges self and G 7the Social Characteristics F that (1,1,1) is different s=F 2whether be the sequence C received t=<F 2an element in >, due to F 2for C t=<F 2element, therefore a G in > 5by sequence message pass-through mode mod=1 and the message of carrying are transmitted to G 7.
G 3by sequence message pass-through mode mod=1 and the message of carrying are transmitted to G 7after, from G 7(1,1,1) sets out, due to G 7(1,1,1) is intermediate node, therefore performs above-mentioned steps S207-S214.
Suppose G 7(1,1,1) at a time encounters G 3, due to G 3for forwarding messages is to G 7node, therefore G 7not forwarding messages, waits for and other node meets.
Suppose G 7(1,1,1) encounters G in another moment 5, due to G 5not that forwarding messages is to G 7node, and G 5(1,0,1) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 7judge whether the message pass-through mode mod received equals 0, due to mod ≠ 0, therefore G 7(1,1,1) judges self and G 5the Social Characteristics F that (1,0,1) is different s=F 2whether be the sequence received in an element, due to F 2be not in element, therefore a G 7not forwarding messages, waits for and other node meets.
Suppose G 7(1,1,1) encounters G in another moment 6, due to G 6not that forwarding messages is to G 7node, and G 6(1,1,0) and destination node G 63 Social Characteristics of (1,1,0) are completely the same, therefore G 7directly the message of carrying is transmitted to G 6, complete source node G 0to destination node G 6message forwarding process.
G 5by sequence message pass-through mode mod=1 and the message of carrying are transmitted to G 7after, from G 7(1,1,1) sets out, due to G 7(1,1,1) is intermediate node, therefore performs above-mentioned steps S207-S214.
Suppose G 7(1,1,1) at a time encounters G 5, due to G 5for forwarding messages is to G 7node, therefore G 7not forwarding messages, waits for and other node meets.
Suppose G 7(1,1,1) encounters G in another moment 3, due to G 3not that forwarding messages is to G 7node, and G 3(0,1,1) and destination node G 63 Social Characteristics of (1,1,0) are not quite identical, therefore G 7judge whether the message pass-through mode mod received equals 0, due to mod ≠ 0, therefore G 7(1,1,1) judges self and G 3the Social Characteristics F that (0,1,1) is different s=F 1whether be the sequence received in an element, due to F 1be not in element, therefore a G 7not forwarding messages, waits for and other node meets.
Suppose G 7(1,1,1) encounters G in another moment 6, due to G 6not that forwarding messages is to G 7node, and G 6(1,1,0) and destination node G 63 Social Characteristics of (1,1,0) are completely the same, therefore G 7directly the message of carrying is transmitted to G 6, complete source node G 0to destination node G 6message forwarding process.
The method for routing of the time delay tolerant network that the present embodiment provides, message is transmitted to the neighbors run into by source node, this neighbors using with the next node of the Social Characteristics similarity of the destination node node larger than the Social Characteristics similarity of self and destination node as forwarding messages, namely progressively message is transmitted to the node similar to destination node, thus to realize Message Transmission with speed faster, to destination node, improve router efficiency.
Fig. 4 is the structural representation of a node device provided by the invention embodiment.As shown in Figure 4, the node device that the present embodiment provides is the specific executive agent of the method for routing performing above-mentioned time delay tolerant network.This node device specifically can comprise: determination module 41, first forwarding module 42 and the second forwarding module 43, wherein:
Determination module 41, the node type of node device is determined in the source for the message of carrying according to node device.
First forwarding module 42, if determine that the node type of node device is source node for determination module 41, is then transmitted to the neighbors run into by message.
Second forwarding module 43, if determine that the node type of node device is intermediate node for determination module 41, then message to be transmitted to run into except forwarding messages is to except the neighbors of node device, and other neighborss larger than the Social Characteristics similarity of node device and destination node with the Social Characteristics similarity of destination node.
Further, determination module 41 specifically may be used for:
If judge, message is that node device produces, then determine that the node type of node device is source node;
If judge, message is that neighbors is transmitted to node device, then determine that the node type of node device is intermediate node.
Further, the first forwarding module 42 specifically may be used for:
If determination module 41 determines that the node type of node device is source node, then judge that whether the Social Characteristics of the neighbors run into is consistent with the Social Characteristics of destination node;
If consistent, then message is transmitted to the neighbors run into;
If inconsistent, then the Social Characteristics F that decision node equipment is different from the neighbors run into rwhether be self and in the individual different Social Characteristics of destination node k;
If so, then by sequence C r, message pass-through mode mod=0 and message is transmitted to the neighbors run into;
If not, then by sequence C k, message pass-through mode mod=1 and message is transmitted to the neighbors run into;
Wherein, Social Characteristics F rbe r Social Characteristics, r is the natural number between 1 to m, and m is total number of Social Characteristics, and m is equal to, or greater than k; If r ≠ k, then C r=<F r+1, F r+2..., F k, F 1, F 2..., F r>; If r=k, then C r=<F 1, F 2..., F k>; C k=<F 1, F 2..., F k>.
Further, the second forwarding module 43 specifically may be used for:
If determination module 41 determines that the node type of node device is intermediate node, then judge whether the neighbors run into is that forwarding messages is to the neighbors of node device;
If not, then judge that whether the Social Characteristics of the neighbors run into is consistent with the Social Characteristics of destination node;
If consistent, then message is transmitted to the neighbors run into;
If inconsistent, then judge whether the message pass-through mode mod received equals 0;
If message pass-through mode mod equals 0, then the Social Characteristics F that decision node equipment is different from the neighbors run into swhether be the sequence C received tin first element;
If so, then by sequence C t-s, message pass-through mode mod=0 and message is transmitted to the neighbors run into;
If message pass-through mode mod is not equal to 0, then the Social Characteristics F that decision node equipment is different from the neighbors run into swhether be the sequence C received tin an element;
If so, then by sequence C t-s, message pass-through mode mod=1 and message is transmitted to the neighbors run into;
Wherein, Social Characteristics F sbe s Social Characteristics, s is the natural number between 1 to m; T is the natural number between 1 to k; C t-sfor from sequence C tmiddle deletion Social Characteristics F safter sequence.
Concrete, the detailed process that modules realizes its function see Fig. 1 or embodiment illustrated in fig. 2 in associated description, repeat no more herein.
The node device that the present embodiment provides, message is transmitted to the neighbors run into by source node, this source node using with the next node of the Social Characteristics similarity of the destination node node larger than the Social Characteristics similarity of self and destination node as forwarding messages, namely progressively message is transmitted to the node similar to destination node, thus to realize Message Transmission with speed faster, to destination node, improve router efficiency.
Fig. 5 is the structural representation of a route system embodiment of time delay tolerant network provided by the invention.As shown in Figure 5, this system comprises source node 51, destination node 52 and multiple intermediate node 53.Wherein, source node 51 and intermediate node 53 are node device as above.
The route system of the time delay tolerant network that the present embodiment provides, message is transmitted to the neighbors run into by source node, this neighbors using with the next node of the Social Characteristics similarity of the destination node node larger than the Social Characteristics similarity of self and destination node as forwarding messages, namely progressively message is transmitted to the node similar to destination node, thus to realize Message Transmission with speed faster, to destination node, improve router efficiency.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a method for routing for time delay tolerant network, is characterized in that, comprising:
The node carrying message determines the node type of self according to the source of described message;
If described in carry message node determine that the node type of self is source node, then described message is transmitted to the neighbors run into;
If described in carry message node determine that the node type of self is intermediate node, then described message to be transmitted to run into except forwarding described message to except the neighbors of self, and other neighborss larger than the Social Characteristics similarity of self and destination node with the Social Characteristics similarity of destination node.
2. method according to claim 1, is characterized in that, described in carry message node determine according to the source of described message to be specially self node type:
If described in carry message node judge that described message is that self produces, then determine that the node type of self is source node;
If described in carry message node judge that described message is that neighbors is transmitted to self, then determine that the node type of self is intermediate node.
3. method according to claim 1 and 2, is characterized in that, if the described node carrying message determines that the node type of self is source node, then described message is transmitted to the neighbors run into, is specially:
If described in carry message node determine that the node type of self is source node, then whether the Social Characteristics of the neighbors run into described in judging consistent with the Social Characteristics of destination node;
The neighbors run into described in if described message is transmitted to by the node unanimously, then carrying message described in;
If inconsistent, then the node carrying message described in judges the Social Characteristics F that self is different from the described neighbors run into rwhether be self and in the individual different Social Characteristics of destination node k;
If so, then described in carry the node of message by sequence C r, message pass-through mode mod=0 and described message be transmitted to described in the neighbors that runs into;
If not, then described in carry the node of message by sequence C k, message pass-through mode mod=1 and described message be transmitted to described in the neighbors that runs into;
Wherein, described Social Characteristics F rbe r Social Characteristics, described r is the natural number between 1 to m, and described m is total number of Social Characteristics, and described m is equal to, or greater than described k; If r ≠ k, then described C r=<F r+1, F r+2..., F k, F 1, F 2..., F r>; If r=k, then described C r=<F 1, F 2..., F k>; Described C k=<F 1, F 2..., F k>.
4. method according to claim 3, it is characterized in that, if the described node carrying message determines that the node type of self is intermediate node, then described message to be transmitted to run into except forwarding described message to except the neighbors of self, and other neighborss larger than the Social Characteristics similarity of self and destination node with the Social Characteristics similarity of destination node, be specially:
If described in carry message node determine that the node type of self is intermediate node, then whether the neighbors run into described in judging is forward described message to the neighbors of self;
If not, then described in carry message node judge described in the Social Characteristics of neighbors that runs into whether consistent with the Social Characteristics of destination node;
The neighbors run into described in if described message is transmitted to by the node unanimously, then carrying message described in;
If inconsistent, then the node carrying message described in judges whether the described message pass-through mode mod received equals 0;
If described message pass-through mode mod equals 0, then the node carrying message described in judges the Social Characteristics F that self is different from the described neighbors run into swhether be the sequence C received tin first element;
If so, then described in carry the node of message by sequence C t-s, described message pass-through mode mod=0 and described message be transmitted to described in the neighbors that runs into;
If described message pass-through mode mod is not equal to 0, then the node carrying message described in judges the Social Characteristics F that self is different from the described neighbors run into swhether be the sequence C received tin an element;
If so, then described in carry the node of message by sequence C t-s, described message pass-through mode mod=1 and described message be transmitted to described in the neighbors that runs into;
Wherein, described Social Characteristics F sbe s Social Characteristics, described s is the natural number between 1 to described m; Described t is the natural number between 1 to described k; Described C t-sfor from described sequence C tthe described Social Characteristics F of middle deletion safter sequence.
5. method according to claim 4, is characterized in that, a described m Social Characteristics is m the Social Characteristics that in all Social Characteristics of node, entropy is maximum.
6. a node device, is characterized in that, comprising:
Determination module, the node type of described node device is determined in the source for the message of carrying according to described node device;
First forwarding module, if determine that the described node type of described node device is source node for described determination module, is then transmitted to the neighbors run into by described message;
Second forwarding module, if determine that the described node type of described node device is intermediate node for described determination module, then described message to be transmitted to run into except forwarding described message to except the neighbors of described node device, and other neighborss larger than the Social Characteristics similarity of described node device and destination node with the Social Characteristics similarity of destination node.
7. node device according to claim 6, is characterized in that, described determination module specifically for:
If judge, described message is that described node device produces, then determine that the node type of described node device is source node;
If judge, described message is that neighbors is transmitted to described node device, then determine that the node type of described node device is intermediate node.
8. the node device according to claim 6 or 7, is characterized in that, described first forwarding module specifically for:
If described determination module determines that the node type of described node device is source node, then whether the Social Characteristics of the neighbors run into described in judging is consistent with the Social Characteristics of destination node;
If consistent, then the neighbors run into described in described message being transmitted to;
If inconsistent, then judge the Social Characteristics F that described node device is different from the described neighbors run into rwhether be self and in the individual different Social Characteristics of destination node k;
If so, then by sequence C r, message pass-through mode mod=0 and described message be transmitted to described in the neighbors that runs into;
If not, then by sequence C k, message pass-through mode mod=1 and described message be transmitted to described in the neighbors that runs into;
Wherein, described Social Characteristics F rbe r Social Characteristics, described r is the natural number between 1 to m, and described m is total number of Social Characteristics, and described m is equal to, or greater than described k; If r ≠ k, then described C r=<F r+1, F r+2..., F k, F 1, F 2..., F r>; If r=k, then described C r=<F 1, F 2..., F k>; Described C k=<F 1, F 2..., F k>.
9. node device according to claim 8, is characterized in that, described second forwarding module specifically for:
If described determination module determines that the node type of described node device is intermediate node, then whether the neighbors run into described in judging is forward described message to the neighbors of described node device;
If not, then whether the Social Characteristics of the neighbors run into described in judgement is consistent with the Social Characteristics of destination node;
If consistent, then the neighbors run into described in described message being transmitted to;
If inconsistent, then judge whether the described message pass-through mode mod received equals 0;
If described message pass-through mode mod equals 0, then judge the Social Characteristics F that described node device is different from the described neighbors run into swhether be the sequence C received tin first element;
If so, then by sequence C t-s, described message pass-through mode mod=0 and described message be transmitted to described in the neighbors that runs into;
If described message pass-through mode mod is not equal to 0, then judge the Social Characteristics F that described node device is different from the described neighbors run into swhether be the sequence C received tin an element;
If so, then by sequence C t-s, described message pass-through mode mod=1 and described message be transmitted to described in the neighbors that runs into;
Wherein, described Social Characteristics F sbe s Social Characteristics, described s is the natural number between 1 to described m; Described t is the natural number between 1 to described k; Described C t-sfor from described sequence C tthe described Social Characteristics F of middle deletion safter sequence.
10. a route system for time delay tolerant network, is characterized in that, comprises source node, destination node and multiple intermediate node; Described source node and described intermediate node are the node device as described in any one of claim 6-9.
CN201410675883.6A 2014-11-21 2014-11-21 Method for routing, equipment and the system of time delay tolerant network Active CN104410999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410675883.6A CN104410999B (en) 2014-11-21 2014-11-21 Method for routing, equipment and the system of time delay tolerant network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410675883.6A CN104410999B (en) 2014-11-21 2014-11-21 Method for routing, equipment and the system of time delay tolerant network

Publications (2)

Publication Number Publication Date
CN104410999A true CN104410999A (en) 2015-03-11
CN104410999B CN104410999B (en) 2017-12-15

Family

ID=52648581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410675883.6A Active CN104410999B (en) 2014-11-21 2014-11-21 Method for routing, equipment and the system of time delay tolerant network

Country Status (1)

Country Link
CN (1) CN104410999B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106102118A (en) * 2016-08-08 2016-11-09 北京理工大学 Effectively support the movable random D2D network route method of service quality
CN106255170A (en) * 2016-08-08 2016-12-21 北京理工大学 A kind of movable random D2D network data query method based on minimal-overhead path
CN107333320A (en) * 2017-06-30 2017-11-07 湖北工程学院 Data forwarding method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100312849A1 (en) * 2009-06-09 2010-12-09 Sony Corporation Communication method, information processing apparatus, and recording medium recording computer readable program
CN103973556A (en) * 2013-02-04 2014-08-06 无锡南理工科技发展有限公司 Credible routing method of vehicular delay-tolerant network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100312849A1 (en) * 2009-06-09 2010-12-09 Sony Corporation Communication method, information processing apparatus, and recording medium recording computer readable program
CN103973556A (en) * 2013-02-04 2014-08-06 无锡南理工科技发展有限公司 Credible routing method of vehicular delay-tolerant network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘耀: "延迟容忍网络中路由与缓存管理算法", 《中南大学》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106102118A (en) * 2016-08-08 2016-11-09 北京理工大学 Effectively support the movable random D2D network route method of service quality
CN106255170A (en) * 2016-08-08 2016-12-21 北京理工大学 A kind of movable random D2D network data query method based on minimal-overhead path
CN106255170B (en) * 2016-08-08 2019-03-26 北京理工大学 A kind of movable random D2D network data query method based on minimal-overhead path
CN107333320A (en) * 2017-06-30 2017-11-07 湖北工程学院 Data forwarding method and device

Also Published As

Publication number Publication date
CN104410999B (en) 2017-12-15

Similar Documents

Publication Publication Date Title
Deniz et al. An adaptive, energy-aware and distributed fault-tolerant topology-control algorithm for heterogeneous wireless sensor networks
Martín-Campillo et al. Evaluating opportunistic networks in disaster scenarios
Li et al. Reliable topology design in time-evolving delay-tolerant networks with unreliable links
Liu et al. Efficient data query in intermittently-connected mobile ad hoc social networks
Socievole et al. Opportunistic message routing using multi-layer social networks
Tashtoush et al. Fibonacci sequence based multipath load balancing approach for mobile ad hoc networks
CN105264514A (en) Method, apparatus and computer program product providing performance and energy optimization for mobile computing
Shen et al. Organized topology based routing protocol in incompletely predictable ad-hoc networks
Roy et al. Social-based energy-aware multicasting in delay tolerant networks
US20180167314A1 (en) Backpressure routing method and apparatus using dodag structure
CN104410999A (en) Routing method, equipment and system for delay tolerant network
Behdani et al. The lifetime maximization problem in wireless sensor networks with a mobile sink: mixed-integer programming formulations and algorithms
CN104994464B (en) Mobile social network data forwarding method based on hierarchical community structure
Lu et al. Skeleton construction in mobile social networks: Algorithms and applications
Luo et al. Buffer capacity-constrained epidemic routing model in mobile ad-hoc networks
Luo et al. Location-aware social routing in delay tolerant networks
CN108566635B (en) D2D routing method
Lu et al. Routing-efficient CDS construction in disk-containment graphs
Patil et al. Energy-efficient cluster-based aggregation protocol for heterogeneous wireless sensor networks
Zhang et al. A novel segmented routing algorithm based on the markov decision process in mobile opportunistic networks
CN102833864A (en) Radio resource allocation method for multi-cell mobile communication system
Rolim et al. Towards predictive routing agents in opportunistic networks
Shamoun et al. Elastic ring search for ad hoc networks
Zhang et al. Message Opportunistic Forwarding Based on Overlapping Communities
Roohinaz et al. Performance evaluation of joint routing and scheduling in opportunistic sensor 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