CN105704651A - Wireless self-organizing agent piggyback network SOAP message transmission method - Google Patents

Wireless self-organizing agent piggyback network SOAP message transmission method Download PDF

Info

Publication number
CN105704651A
CN105704651A CN201610046086.0A CN201610046086A CN105704651A CN 105704651 A CN105704651 A CN 105704651A CN 201610046086 A CN201610046086 A CN 201610046086A CN 105704651 A CN105704651 A CN 105704651A
Authority
CN
China
Prior art keywords
soap
message
incidentally
agency
fal
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
CN201610046086.0A
Other languages
Chinese (zh)
Other versions
CN105704651B (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.)
Nanjing Post and Telecommunication University
Nanjing University of Posts and Telecommunications
Original Assignee
Nanjing Post and Telecommunication University
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 Nanjing Post and Telecommunication University filed Critical Nanjing Post and Telecommunication University
Priority to CN201610046086.0A priority Critical patent/CN105704651B/en
Publication of CN105704651A publication Critical patent/CN105704651A/en
Application granted granted Critical
Publication of CN105704651B publication Critical patent/CN105704651B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a wireless self-organizing agent piggyback network SOAP message transmission method. A wireless terminal completes the end-to-end message transmission under the condition that an original communication environment is damaged through building a self-organizing SOAP network and the intermittent forwarding of SOAP messages; When a node serves as an SOAP transmission source point, the method can carry out normal and safe mode transmission according to the type of data. In order to achieve the maximum probability of a target node and the timeliness of messages, the method can select limitable multi-copy transmission. An SOAP agent transmits effective information PM, and also manages a message MM and a route message RM through the interactive updating of the SOAP agent, introduces a credit granting index of a node route to carry out the dynamic ordering of an FAL (forwarding agent link), and updates the most dependable arrival target path. Finally, an SOAP receiving end enables the gathered multi-flow SOAP messages to be combined into an effective message with the minimum defect probability.

Description

A kind of wireless Ad Hoc acts on behalf of incidentally network soap message transmission method
Technical field
The present invention relates to one and work as under base station and satellite communication inefficacy scene, user's method that incidentally (SOAP) network carries out reliably or maximum of probability transmits message by wireless Ad Hoc, belong to wireless self-organization network and social networks technical field。
Background technology
Mobile Ad hoc network (Self-organizedNetwork) design is by AdHoC concept development, by one group of multi-hop formed with the mobile terminal of wireless transmitter, interim, self-organizing, Self management system, can from becoming a casual network, it is also possible to be connected with Internet and Cellular Networks wireless network。Current wireless self-organization network is limited to the route discovery aspect of mobile radio terminal, always bases oneself upon reliable arrival of searching one and route, and the sociability based on transferring content aspect is not involved with, namely there is no the function of communication across layers。
And how the radio node that wireless sense network WSN (WirelessSensorNetwork) is built upon different sensing function transmits a small amount of information, namely how under the premise of low energy consumption as far as possible, transmission route is optimized, add as beaconing nodes/anchor point (Beaconnode/Anchor) trusty for this, these beaconing nodes also tend to the Geographic mapping function with GPS。
Rong Chi nets DTN (DelayTolerantNetwork) and is suitable between less radio node to set up incomplete time delay tolerable route, between underwater sound communication, empty sky satellite communication, the criterion of meeting between these sparse nodes can be carried out fuzzy prediction by metastable probability;Radio node in car networking has the higher speed of service and given line, and is studded with the beaconing nodes fixed with GPS function or position equally, only considered the route between node equally, ignores the node users subjective initiative as " agency "。
Current wireless room is from including bluetooth, Wifi and some wireless short-ranges chip Zigbee etc., wherein, bluetooth is mainly used in the connection of the Bluetooth terminal of point-to-point, Wifi has been mainly and has carried out wireless access with the AP in WLAN and be connected, ZigBee technology is used as the node technology of wireless sense network WSN, WSN network node has short energy consumption, therefore especially payes attention on energy conservation characteristic。
Within 2014, having a APP application Firechat, it relies on transmission message between bluetooth or the nigh user of WiFi signal。Firechat is as node using the neighbouring mobile phone that can capture information, only transferring text, i.e. " chat " pattern each other, however it is necessary that the covering of certain dense degree just can complete to be similar to the function of self-organizing network, and not there is safe mode, namely node is transparent。
Situation in the changeable situation considered between the current world, if suffering suddenly natural disaster today that information is flourishing, or there is local and major war, when under base station and satellite communication inefficacy scene, how various types of message are transmitted effectively, are that individual needing badly solves the technical problem that。
Summary of the invention
The technical problem to be solved is in that once when be moved base station and satellite lost efficacy, propose a kind of wireless Ad Hoc and act on behalf of incidentally network soap message transmission method, the particular content to send, by starting SOAP service, is incidentally forwarded by the SOAP network user by the agency of SOAP one by one;When not having SOAP business to transmit, the SOAP agency met can by managing the transmission of message MM (ManagementMessage) message and exchange information each other, including key, credit, blacklist etc., thus ensureing the transmission SOAP business for maximum security。
The present invention solves that above-mentioned technical problem is concrete by the following technical solutions:
A kind of wireless Ad Hoc acts on behalf of incidentally network soap message transmission method, specifically comprises the following steps that
Step 1, the SOAP business that started by SOAP user, and the content that self to send is divided into n content blocks CB, n is the natural number more than or equal to 1;
Step 2, when this SOAP user's probability migration runs into another SOAP user, after route messages RM is mutual, as determined, this another SOAP user can incidentally forward, then by CB and incidentally message PM be sent to this another SOAP user, now this another SOAP user as SOAP agency enter step 3 incidentally forward;
Step 3, SOAP agency, according to the flow process of step 2, the sensing according to the route chain of oneself, eventually passes through other SOAP multiple agency and CB passes to SOAP receiving terminal user。
Further, a kind of wireless Ad Hoc of the invention described above acts on behalf of incidentally network soap message transmission method, if the SOAP user of originally transmitted CB is SOAP transmitting terminal user in step 1, when SOAP transmitting terminal user runs into other SOAP user after step 2, when determining that other SOAP user any can incidentally forward according to step 2, using CB and incidentally message PM by its this other SOAP user run into as SOAP agency incidentally forward;The CB that can collect, in deadline DT, is merged into the source file of a maximum of probability integrity by SOAP receiving terminal user。
Further, a kind of wireless Ad Hoc of the invention described above acts on behalf of incidentally network soap message transmission method, when other SOAP agency incidentally forwards, receives the SOAP agency repeating incidentally message PM and then ignores this message。
Further, a kind of wireless Ad Hoc of the invention described above acts on behalf of incidentally network soap message transmission method, and in step 3, SOAP agency with the information interactive process of other SOAP agency is:
Step 301, two SOAP agencies, after setting up physical link and connecting, shake hands successfully, confirm that SOAP each other acts on behalf of character and carries out capability negotiation by managing message MM;
Mutual route messages RM message between step 302, SOAP agency, and update route chain;
Step 303, there is the SOAP agency of the incidentally task calculating according to the route chain of oneself, it is determined whether incidentally forwarded by the SOAP that currently docks agency, as being determined to forward, then send CB and incidentally message PM。
Further, a kind of wireless Ad Hoc of the invention described above acts on behalf of incidentally network soap message transmission method, incidentally message PM includes following field: version number, type, destination address, source address, message unique identity, copy numbering, deadline, segmental identification, side-play amount, encryption mode, type of service, load total length, payload, verification and。
Further, a kind of wireless Ad Hoc of the invention described above acts on behalf of incidentally network soap message transmission method, and in step 1, the content that self to send is divided into n content blocks CB by SOAP transmitting terminal user, and concrete grammar includes:
A (), for binary file, adopts maximum M sheet method, particularly as follows: set maximum burst number M, set minimum burst capacity W, W=1K byte, is divided into M sheet to it, and the capacity of each should be not less than W, otherwise reduce M value, generate M content blocks CB, 1≤M≤10 respectively;
B (), for image file, adopts image compression method, particularly as follows: judge image file format, generate the image file that multiple resolution is different, and according to resolution height, generate several different content blocks CB;
C (), for content of text, adopts textual scan method, particularly as follows: set every K byte as a frame, take i-th time slot one new text bag of composition of each frame during transmission respectively, then symbiosis becomes K content blocks CB, i ∈ [0, K-1], 5≤K≤10;
D (), for speech message, adopts voice film dancing method, particularly as follows: Selection parameter K, with T=600ms for a voice sheet, each frame length is K*T, and a point i time slot generates K content blocks CB, i ∈ [0, K-1] one by one;
E (), for multimedia video, multimedia file is carried out burst forwarding by (a) the described maximum M sheet method of employing。
Further, a kind of wireless Ad Hoc of the present invention acts on behalf of incidentally network soap message transmission method, manages message MM and includes following field: version number, type, MM type of message, MM message payload described in step 301。
Further, a kind of wireless Ad Hoc of the invention described above acts on behalf of incidentally network soap message transmission method, mutual route messages RM message between SOAP agency in step 302, route messages RM message includes main chain FAL, from chain FALS, blacklist, concretely comprises the following steps:
After step (1), two SOAP proxy interfaces, take without other tasks, then intercourse the main chain FAL of oneself, and with the main chain FAL of the other side update oneself from chain FALS;
Step (2) is if a side sends blacklist request, then both sides update the blacklist of oneself, and stamp blacklist labelling in the capability set of the node of corresponding main chain FAL。
Further, a kind of wireless Ad Hoc of the present invention acts on behalf of incidentally network soap message transmission method, updates route chain and refers to the auto-sequencing of main chain FAL, particularly as follows:
Step a, the update cycle defining the specific FAL of automatically updating are T, and within a update cycle, certain SOAP agency adds up all SOAP agency of institute's intersection in this time period and adds up to N, defines frequent factor FiFor acting on behalf of the number of times of complete interactive communication with i-th SOAP;Definition Persistence Factor M (i), defines intimate factor H (i), i ∈ [1, N];
Step b, calculate current i-th SOAP agency utmost good faith Index A TI:
ATI (i)=Fi*M(i)*H(i)
Step c, do reference with the credit index E TI in P the cycle of past, then obtain continuous sequence:
ETI (i, j) }, j ∈ [n-PT, n-T],
Wherein n was the n-th update cycle, and T is the acquiescence update cycle;
Thus, being calculated as of current credit index:
E T I ( i ) = 1 / P { ( Σ j = 1 P - 1 E T I ( i , j ) ) + A T I ( i ) } ,
ETI (i) will be generated and leave node capacity concentration, i.e. ETI (i, 0)=ETI (i) in;And as the part that the ETI in next P cycle calculates。
Step d, to the main chain FAL updating node capacity collection, resequence according to the value of current ETI is descending, namely generate main chain FAL credit FAL and up to FAL。
Further, a kind of wireless Ad Hoc of the invention described above is acted on behalf of incidentally in network soap message transmission method, and main chain FAL includes node statement and chained list FAL is acted on behalf of in forwarding;Wherein:
Node is stated by ID, node capacity collection, next node pointer representation;
Forwarding is acted on behalf of chained list FAL and is from the close-by examples to those far off formed chained list by intimate degree, and acquiescence effectively forwards chained list length to be N, 6≤N≤10。
The present invention adopts above technical scheme compared with prior art, has following technical effect that
1, define the up-to-date protocol architecture of SOAP network, define the structure of three kinds of message PM message of SOAP layer, MM message, RM message;
2, it is possible not only to transmit traditional text message, it is also possible to content-based heterogeneity selects the soap message that multi-mode transmission is common or safe;
3, carry out proposing credit index E TI when node FAL updates to SOAP agency, change and traditional simple do the mechanism weighed with hop count。
Accompanying drawing explanation
Fig. 1 is the general function realization figure of SOAP network。
Fig. 2 is SOAP network hierarchy。
Fig. 3 is that SOAP agency opens SOAP service。
Fig. 4 is the interacting message between two SOAP agencies。
Fig. 5 is the definition of PM message structure。
Fig. 6 is the definition of MM message infrastructure。
Fig. 7 is SOAP agent node and node chained list。
Fig. 8 is based on the SOAP source of content and sends processing procedure。
Fig. 9 is that SOAP acts on behalf of FAL inquiry signal。
Figure 10 is the main chain FAL renewal process of SOAP agency。
Detailed description of the invention
Below in conjunction with accompanying drawing, technical scheme is described in further detail:
The present invention, based on the feature of information age, gives the mode of operation that a kind of wireless Ad Hoc acts on behalf of incidentally SOAP (Self-organizedAgentPiggyback) network, the definition of various transmission message and specific works method。
Rate is held per capita with regard to current wireless mobile phone terminal, complete to reach the autonomous operation mode of SOAP network, SOAP agency is owing to being have relatively large storage capacity space, and continuous electricity can be charged at any time, therefore changing the life span of WSN node and the problem that memory capacity is limited, range of application is greatly promoted。The transmission of " point-to-point " that be not built upon on Reliability Channel due to soap message, it is belonging to " incidentally " function, therefore for ensureing the maximum of probability of transmission, take the form of many copies, be defined at incidentally message PM (PiggybackMessage);Considering the SOAP network information security, also define safe encryption mode and accredited credit CA (CreditAuthorized) pattern to node, each SOAP agency establishes blacklist pattern, for rejecting the SOAP agency being likely to be harmful to。
Therefore the present invention completes SOAP network delivery multi-service application from macroscopic perspective, including clear data binary file, and content-based text, voice, image and multimedia file。Certainly, the communication under disaster pattern mainly it is applied in due to SOAP network, the transmission of content of multimedia is intended only as the integrity of SOAP procotol to be existed, in concrete practical application, it is main for mainly still transmitting the safe and reliable and maximum of probability transmission compressed file of efficient message, text, voice and picture material。This itself is also the practical significance that SOAP network is born and exists。
The invention belongs to mobile Ad hoc network and social networks, by when making full use of mobile base station and satellite inefficacy, when legacy network enters collapse, utilize the short-distance wireless function that wireless terminal carries, it is automatically composed SOAP network, SOAP act on behalf of quantity intensive in efficient communication, the time delay tolerable communication when SOAP agency is sparse, maximum of probability incidentally transmits reliable news to the greatest extent, split by the information source based on content of different nature, the next SOAP agency of each SOAP agent selection credit forwards, thus completing the transmission of the soap message of many copies, the final recovery that by SOAP receiving terminal, all soap messages received are carried out maximum of probability in deadline DT。
As it is shown in figure 1, be that the general function of the SOAP network delivery soap message of the present invention realizes process, specific as follows:
Step A1, SOAP transmitting terminal processing procedure:
A1.1 needs the wireless terminal obtaining SOAP service to need to carry out installing and registering;
A1.2SOAP business is started by SOAP user, and the content to send is divided into multiple content blocks (CB, ContentBlock), when carrying out piecemeal, it is possible to adopt content-based SOAP source transmitting terminal processing procedure (shown in Fig. 8) hereinafter;
Step A2, current SOAP user do not stop search wireless signal around, and send docking request,
Step A2.1 wireless signal docking after two SOAP users exchange management message MM, exchange route messages RM (RoutingMessage) mutual after,
Step A2.2 meets forwarding condition as the SOAP determining docking acts on behalf of, then CB copy consigns to this SOAP agency, is incremented by 1 with stylish copy mark;
Step A3, all of down hop SOAP agency is then according to as above rule, the sensing according to the FAL/FALS of oneself, and this copy CB arrives purpose SOAP receiving terminal through multiple SOAP agency the most at last;
Step A4, SOAP transmitting terminal multiple copy CB also can pass through its run into other SOAP agency incidentally forward, until copy mark arrive threshold value (being defaulted as 6), if it find that already more than DT on behalf of soap message incidentally, then abandon;If it find that be transmitted across on behalf of soap message incidentally, also abandon;
Step A5, SOAP receiving terminal are within DT deadline (DueTime), and the CB of like-identified copy verification passed through is normalized by big probability, and the CB that can collect is merged into the source file of a maximum of probability integrity;If SOAP bag is to transmit by content model, then pay to final upper-layer user by pattern corresponding in soap message。
As in figure 2 it is shown, be the SOAP network hierarchy of the present invention, specifically include:
B1, physical layer (PhysicalLayer), the bluetooth possessed by wireless terminal self at present, Wifi support, are likely to future comprise specific wireless room from technology, such as Zigbee;
B2, radio link layer (WirelessLinkLayer), the current comparative maturity of Bluetooth protocol, the direct-connected current standard of WLAN of Wifi technology is but without international uniform, and ZigBee technology needs individually definition;
B3, soap message layer, be similar to the Internet of TCP/IP, encapsulates concrete message, including management message MM, route messages RM, and the soap message etc. of the particular content incidentally forwarded;
B4, application layer, reliable binary file, text, voice, image or multimedia video etc. are provided to targeted customer, video it is not recommended that transmit under so emergent SOAP network environment, and the reliable message of the safety of main transmission secret, data volume is it is not recommended that big。
As it is shown on figure 3, the SOAP agency of the present invention opens SOAP service process, particularly as follows:
Step C1, SOAP agency arranges radio configuration pattern, opens the contiguous SOAP subscriber signal of search and initiates docking function;
Step C2, as select 1, bluetooth mode, then put the machine blue-teeth equipment management class LocalDevice in open mode:
Bluetooth signal near step C2.1 search, utilizes DiscoveryAgent class and DiscoveryListener interface to provide the discovery service of needs;
Step C2.2 query search to bluetooth ID whether matched, a list existed is obtained by DiscoveryAgent.retrieveDevices () method, if in list, it was shown that having at least possibility the other side is also SOAP proxy user;
Step C2.3 sends connection request, and the main the other side of prompting allows to set up bluetooth and connects, if the Bluetooth signal of the other side is also opened by SOAP agency, then can agree to connection request;
Step C2.4 sets up bluetooth opposite joining relation:
Step C3, as selected 2, Wifi pattern, then put unlatching the machine Wifi, when SystemServer starts, the example of a ConnectivityService can be generated, create WifiStateTracker and WifiService object, being used for starting Wifi management service WifiStateTracker and can create WifiMonitor for receiving the event from bottom, WifiService and WifiMonitor is the core of whole module。
Step C3.1 brings into operation thread WifiMonitor, Wifi signal near search;
Step C3.2 sends the direct-connected request of Wifi, and the MonitorThread in WifiMonitor can be executed to process and connect scanning result event;
Step C3.3 sets up Wifi opposite joining relation。
Substantially ibid, call function has difference to Zigbee mode process。
As shown in Figure 4, it is the message interaction process between two SOAP agencies of the present invention, particularly as follows:
Step D1, two SOAP agencies are after setting up radio physical signal link and connecting, it is necessary to again send SOAP and shake hands successfully, confirm that SOAP each other acts on behalf of character;
Step D2, need transmission task SOAP agency first find the other side in FAL or FALS, as, then initiate MM message session, inquiry the need of incidentally forwarding, as find: (1) time-out;(2) copy is forwarded over;(3) opposite end capacity is low;(4) safe mode not couplings etc., then abandon soap message and forward;No matter result how, after conversation end and all will update the node capacity collection that route chain FAL or FALS and correspondence within the specific period time;
Mutual route messages RM (RouteMessage) message between step D3, SOAP agency, if the other side SOAP agency is in local FAL, then updates the FALS chain that this node is corresponding, and both sides exchange renewal each other;
Step D4, there is the SOAP agency of incidentally task according to the character of oneself SOAP bag and requirement, if it is determined that the SOAP agency passing through current docking is incidentally forwarded, then send content incidentally message PM (PiggybackMessage), after conversation end and all will update the node capacity collection that route chain FAL or FALS and correspondence within the specific period time。
As it is shown in figure 5, be the PM message of the present invention structure definition, including following field:
Version number: be locked as 01H;
Type (indicating is PM message) is locked as 03H;
Destination address and source address: be made up of the mark of wireless MAC;
Message unique identity: by send particular content SOAP transmitting terminal generate, generally adopt year+moon+day+time+point+second+1000 within random number to ensure uniqueness;
Copy is numbered: is defined between 0~10, is typically not greater than 6, and when for 0, mark does not have copy, as the configurable parameter of SOAP transmitting terminal;
Deadline: each SOAP bag sent has a general deadline, remind when forwarding user whether actively to change geographic paths for SOAP agency and go the agency close to SOAP order;
Segmental identification, side-play amount: the common file for being fragmented makes marks, and facilitates final file synthesis;
Encryption mode: be whether PM payload is plaintext or ciphertext transmission;
Type of service: be the SOAP transmitting terminal selection pattern when carrying out content-based transmission;
Load total length, payload, verify and be the message field of routine, do not repeat one by one herein。
As shown in Figure 6, it is the structure definition of management message MM (ManagementMessage) message of the present invention, including following field:
Version number: be locked as 01H;
Type: (indicating is MM message);
MM type of message: include the contents such as " shaking hands ", " more new key ", " renewal code book ", " storage capacity inquiry ", " address renewal ", " node credit ";
MM message payload: determine according to concrete message content。
As it is shown in fig. 7, be the present invention SOAP agency node statement and forwarding act on behalf of chained list FAL (ForwardAgentList), specific as follows:
G.1, node is stated by ID, node capacity collection, next node pointer representation;
G.2, forward node chained list FAL from the close-by examples to those far off formed chained list by intimate degree, acquiescence effectively forwards chained list length to be N (6≤N≤10)。
As shown in Figure 8, it is the content-based SOAP source transmitting terminal processing procedure of the present invention, particularly as follows:
Step F1, Basic Law, shown in (a) in Fig. 8: the forwarding of complete packet, by User Defined, whole file is as an incidentally bag PM forwarding;
Step F2, maximum M sheet method, shown in (b) in Fig. 8: for bigger binary file, set maximum burst number M (1≤M≤10), be defaulted as 5), set minimum burst capacity W (W=1K byte), it is divided into M sheet, the capacity of each should be not less than W, otherwise reduces M value, generates M PM bag respectively and forwards, as M=1, it is step F1;
Step F3, image compression method, shown in (c) in Fig. 8: for image file, it is judged that image file format, generate the image file that multiple resolution is different, and according to resolution height, generate several different PM and forward;
Step F4, textual scan method, shown in (d) in Fig. 8: for content of text, set is normally K Selection parameter K (5≤K≤10, it is defaulted as 8) between, namely every K byte is a frame, take i-th time slot one new text PM bag (i ∈ [0, K-1]) of composition of each frame during transmission respectively, then symbiosis becomes K PM to forward bag;
Step F5, voice film dancing method, shown in (e) in Fig. 8: for speech message, similar same Selection parameter K, with T=600ms for a voice sheet, each frame length is K*T length, by i (i ∈ [0, K-1]), then symbiosis becomes K PM voice to forward bag;
Step F6, multimedia video burst method: SOAP network is it is not recommended that distance transmits multimedia file, but supports transmission multimedia file during design, can be selected for step F1 or step F2。
As it is shown in figure 9, present invention additionally comprises incidentally repeating process between SOAP agency, including broadcast mode, can expression patterns, credit pattern, urgent pattern, specific as follows:
G1, broadcast mode, have during the SOAP proxy interfaces of transmission task and can exchange SOAP request information, during as being judged as new SOAP task, then send the PM message of SOAP network;
G2, can expression patterns, have SOAP agency's oneself FAL chained list of retrieval of transmission task, it has been found that the SOAP agency that can pass through current docking can arrive target;Can also decide whether after passing through RM information updating FAL chained list between SOAP agency to forward;
G3, credit pattern, based on six topology degree of social networks, set maximum credit node L (L≤10), and the SOAP as currently docked acts on behalf of in credit node L, then forward;Otherwise, then abandon;
G4, urgent pattern, when step G2, set urgent pattern, makes the SOAP application acted on behalf of can adjust path in time, accelerates to join with target SOAP agency。
Route switching process between the SOAP agency of the present invention, mainly includes main chain FAL, from chain FALS, blacklist etc., specifically comprises the following steps that
Send MM message after step H1, two SOAP proxy interfaces, carry out capability negotiation, update the main chain FAL of oneself respectively;
Step H2, take without other tasks, then intercourse the main chain of oneself, and the main chain of the other side is updated oneself from chain FALS;
If step H3 one side sends blacklist request, then both sides update the blacklist of oneself, and stamp blacklist labelling in the capability set of the node of corresponding FAL。
Present invention additionally comprises SOAP agent node chained list FAL and automatically update process, mainly the auto-sequencing of main chain FAL, as shown in Figure 10 it (a) and (b), specific as follows:
Step G1, the update cycle defining the specific FAL of automatically updating are T (T=24 hour), and within a update cycle, certain SOAP agency adds up all SOAP agency of institute's intersection in this time period and adds up to N,
G1.1 defines frequent factor FiFor acting on behalf of the number of times of complete interactive communication with i-th SOAP;
G1.2 defines Persistence Factor M (i),
Represent the total duration with i-th full communication, then
M ( i ) = ( 1 + α S T ( i ) Σ j = 1 N S T ( j ) ) , i ∈ [ 1 , N ]
G1.3 defines intimate factor H (i), i ∈ [1, N]
H ( i ) = ( 1 + β M a x { ( i , k ) } Σ j = 1 N M a x { T ( i , j ) } ) , k ∈ [ 1 , F i ] , α + β = 1.
Step G2, calculate current i-th SOAP agency utmost good faith Index A TI (AbsoluteTrustIndex), ATI (i)=Fi* M (i) * H (i), i.e. equation below:
A T I ( i ) = F i * ( 1 + α Σ j = 1 F i T ( i , j ) Σ i = 1 N Σ j = 1 F i T ( i , j ) ) * ( 1 + β M a x { T ( i , k ) } Σ i = 1 N M a x { T ( i , j ) ) ) ; k ∈ [ 1 , F i ] , α + β = 1
Initial stage gives tacit consent to: α=0.8。
Step G3, considering can not in the factor single cycle, ATI=0 be considered as credit index is 0, therefore the credit index E TI (EntrustedIndex) in P the cycle of past is done reference, (acquiescence P=7), then obtain continuous sequence: ETI (i, j) }, j ∈ [n-PT, n-T], wherein n was the n-th update cycle, and T is the acquiescence update cycle, thus, being calculated as of current credit index:ETI (i) will be generated and leave node capacity concentration, i.e. ETI (i, 0)=ETI (i) in;And as the part that the ETI in next P cycle calculates。
Step G4, to the main chain FAL updating node capacity collection, resequence according to the value of current ETI is descending, namely generate main chain FAL credit FAL and up to FAL。
Thus, the present invention proposes a kind of wireless Ad Hoc and acts on behalf of the incidentally definition of network soap message and transmission method, establish the protocol stack layered system of SOAP network, the starting method of SOAP service, message interaction process between two SOAP agencies, the structure definition of PM message, the basic structure definition of MM message, the definition of SOAP agent node and forward node list structure, content-based SOAP source sends processing procedure, SOAP agents query forwards the process of FAL, two SOAP agencies update the process of respective main chain FAL by calculating credit index E TI, thus for original mobile communication terminal when base station etc. is destroyed, the good solution of transmission of the information of the maximum positive of the safety of different content pattern still can be provided。
The above is only the some embodiments of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention; can also making some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention。

Claims (10)

1. a wireless Ad Hoc acts on behalf of incidentally network soap message transmission method, it is characterised in that specifically comprise the following steps that
Step 1, the SOAP business that started by SOAP user, and the content that self to send is divided into n content blocks CB, n is the natural number more than or equal to 1;
Step 2, when this SOAP user's probability migration runs into another SOAP user, after route messages RM is mutual, as determined, this another SOAP user can incidentally forward, then by CB and incidentally message PM be sent to this another SOAP user, now this another SOAP user as SOAP agency enter step 3 incidentally forward;
Step 3, SOAP agency, according to the flow process of step 2, the sensing according to the route chain of oneself, eventually passes through other SOAP multiple agency and CB passes to SOAP receiving terminal user。
2. a kind of wireless Ad Hoc according to claim 1 acts on behalf of incidentally network soap message transmission method, it is characterized in that, if the SOAP user of originally transmitted CB is SOAP transmitting terminal user in step 1, when SOAP transmitting terminal user runs into other SOAP user after step 2, when determining that other SOAP user any can incidentally forward according to step 2, using CB and incidentally message PM by its this other SOAP user run into as SOAP agency incidentally forward;The CB that can collect, in deadline DT, is merged into the source file of a maximum of probability integrity by SOAP receiving terminal user。
3. a kind of wireless Ad Hoc according to claim 2 acts on behalf of incidentally network soap message transmission method, it is characterised in that when other SOAP agency incidentally forwards, and receives the SOAP agency repeating incidentally message PM and then ignores this message。
4. a kind of wireless Ad Hoc according to claim 1 acts on behalf of incidentally network soap message transmission method, it is characterised in that in step 3, SOAP agency with the information interactive process of other SOAP agency is:
Step 301, two SOAP agencies, after setting up physical link and connecting, shake hands successfully, confirm that SOAP each other acts on behalf of character and carries out capability negotiation by managing message MM;
Mutual route messages RM message between step 302, SOAP agency, and update route chain;
Step 303, there is the SOAP agency of the incidentally task calculating according to the route chain of oneself, it is determined whether incidentally forwarded by the SOAP that currently docks agency, as being determined to forward, then send CB and incidentally message PM。
5. a kind of wireless Ad Hoc according to claim 1 acts on behalf of incidentally network soap message transmission method, it is characterized in that, incidentally message PM includes following field: version number, type, destination address, source address, message unique identity, copy numbering, deadline, segmental identification, side-play amount, encryption mode, type of service, load total length, payload, verification and。
6. a kind of wireless Ad Hoc according to claim 1 acts on behalf of incidentally network soap message transmission method, it is characterised in that in step 1, the content that self to send is divided into n content blocks CB by SOAP transmitting terminal user, and concrete grammar includes:
A (), for binary file, adopts maximum M sheet method, particularly as follows: set maximum burst number M, set minimum burst capacity W, W=1K byte, is divided into M sheet to it, and the capacity of each should be not less than W, otherwise reduce M value, generate M content blocks CB, 1≤M≤10 respectively;
B (), for image file, adopts image compression method, particularly as follows: judge image file format, generate the image file that multiple resolution is different, and according to resolution height, generate several different content blocks CB;
C (), for content of text, adopts textual scan method, particularly as follows: set every K byte as a frame, take i-th time slot one new text bag of composition of each frame during transmission respectively, then symbiosis becomes K content blocks CB, i ∈ [0, K-1], 5≤K≤10;
D (), for speech message, adopts voice film dancing method, particularly as follows: Selection parameter K, with T=600ms for a voice sheet, each frame length is K*T, and a point i time slot generates K content blocks CB, i ∈ [0, K-1] one by one;
E (), for multimedia video, multimedia file is carried out burst forwarding by (a) the described maximum M sheet method of employing。
7. a kind of wireless Ad Hoc according to claim 4 acts on behalf of incidentally network soap message transmission method, it is characterised in that manages message MM described in step 301 and includes following field: version number, type, MM type of message, MM message payload。
8. a kind of wireless Ad Hoc according to claim 4 acts on behalf of incidentally network soap message transmission method, it is characterized in that, mutual route messages RM message between SOAP agency in step 302, route messages RM message includes main chain FAL, from chain FALS, blacklist, concretely comprises the following steps:
After step (1), two SOAP proxy interfaces, take without other tasks, then intercourse the main chain FAL of oneself, and with the main chain FAL of the other side update oneself from chain FALS;
Step (2) is if a side sends blacklist request, then both sides update the blacklist of oneself, and stamp blacklist labelling in the capability set of the node of corresponding main chain FAL。
9. a kind of wireless Ad Hoc according to claim 8 acts on behalf of incidentally network soap message transmission method, it is characterised in that updates route chain and refers to the auto-sequencing of main chain FAL, particularly as follows:
Step a, the update cycle defining the specific FAL of automatically updating are T, and within a update cycle, certain SOAP agency adds up all SOAP agency of institute's intersection in this time period and adds up to N, defines frequent factor FiFor acting on behalf of the number of times of complete interactive communication with i-th SOAP;Definition Persistence Factor M (i), defines intimate factor H (i), i ∈ [1, N];
Step b, calculate current i-th SOAP agency utmost good faith Index A TI:
ATI (i)=Fi*M(i)*H(i)
Step c, do reference with the credit index E TI in P the cycle of past, then obtain continuous sequence:
ETI (i, j) }, j ∈ [n-PT, n-T],
Wherein n was the n-th update cycle, and T is the acquiescence update cycle;
Thus, being calculated as of current credit index:
E T I ( i ) = 1 / P { ( Σ j = 1 P - 1 E T I ( i , j ) ) + A T I ( i ) } ,
ETI (i) will be generated and leave node capacity concentration, i.e. ETI (i, 0)=ETI (i) in;And as the part that the ETI in next P cycle calculates。
Step d, to the main chain FAL updating node capacity collection, resequence according to the value of current ETI is descending, namely generate main chain FAL credit FAL and up to FAL。
10. a kind of wireless Ad Hoc according to claim 8 acts on behalf of incidentally network soap message transmission method, it is characterised in that main chain FAL includes node statement and chained list FAL is acted on behalf of in forwarding;Wherein:
Node is stated by ID, node capacity collection, next node pointer representation;
Forwarding is acted on behalf of chained list FAL and is from the close-by examples to those far off formed chained list by intimate degree, and acquiescence effectively forwards chained list length to be N, 6≤N≤10。
CN201610046086.0A 2016-01-22 2016-01-22 A kind of wireless Ad Hoc agency incidentally network soap message transmission method Active CN105704651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610046086.0A CN105704651B (en) 2016-01-22 2016-01-22 A kind of wireless Ad Hoc agency incidentally network soap message transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610046086.0A CN105704651B (en) 2016-01-22 2016-01-22 A kind of wireless Ad Hoc agency incidentally network soap message transmission method

Publications (2)

Publication Number Publication Date
CN105704651A true CN105704651A (en) 2016-06-22
CN105704651B CN105704651B (en) 2019-02-26

Family

ID=56229226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610046086.0A Active CN105704651B (en) 2016-01-22 2016-01-22 A kind of wireless Ad Hoc agency incidentally network soap message transmission method

Country Status (1)

Country Link
CN (1) CN105704651B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061595A (en) * 2019-12-17 2020-04-24 清华大学 Method and device for judging timeliness of multi-copy data
CN114143216A (en) * 2016-10-07 2022-03-04 谷歌有限责任公司 System and method for network-based advertisement data traffic latency reduction

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140040501A1 (en) * 2011-03-11 2014-02-06 Google Inc. Opportunistic network updates
CN104378229A (en) * 2014-10-30 2015-02-25 东南大学 Link prediction method for opportunity network
CN104883323A (en) * 2015-05-04 2015-09-02 南京邮电大学 Mobile opportunity network data handover method based on performance and social attribute

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140040501A1 (en) * 2011-03-11 2014-02-06 Google Inc. Opportunistic network updates
CN104378229A (en) * 2014-10-30 2015-02-25 东南大学 Link prediction method for opportunity network
CN104883323A (en) * 2015-05-04 2015-09-02 南京邮电大学 Mobile opportunity network data handover method based on performance and social attribute

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙国霞: "机会网络中基于社会关系的数据转发机制研究", 《中国优秀硕士学位论文全文数据库(电子期刊)》 *
贾平平,等: "机会网络的研究进展", 《洛阳师范学院学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143216A (en) * 2016-10-07 2022-03-04 谷歌有限责任公司 System and method for network-based advertisement data traffic latency reduction
CN111061595A (en) * 2019-12-17 2020-04-24 清华大学 Method and device for judging timeliness of multi-copy data
CN111061595B (en) * 2019-12-17 2020-10-20 清华大学 Method and device for judging timeliness of multi-copy data

Also Published As

Publication number Publication date
CN105704651B (en) 2019-02-26

Similar Documents

Publication Publication Date Title
CN107846674B (en) Outdoor communication method based on Bluetooth grid protocol, mobile terminal and storage medium
Hubaux et al. Toward self-organized mobile ad hoc networks: The Terminodes Project
CN104540090B (en) A kind of networking interconnecting method and system based on low-power consumption bluetooth
Mikhaylov et al. Multihop data transfer service for Bluetooth Low Energy
CN102761351B (en) Information transfer method and system based on Bluetooth technology
CN101027914B (en) Multi-to-multi point ad-hoc wireless data transfer protocol
CN101356771A (en) Radio communication device and self-organization routing route information acquiring method
WO2013143137A1 (en) Content centric m2m system
CN110167099A (en) A kind of Ad Hoc suitable for narrowband condition is by method and system
CN102065575A (en) Method for constructing mesh and star hybrid topological wireless sensor network based on IEEE 802.15.4
CN101083595A (en) Method for routing foundation
CN101854697A (en) Multi-constraint quality-of-service control routing method and system for wireless mesh network
CN101150518A (en) A method for route establishment under unidirectional link environment
Alahari et al. A survey on network routing protocols in internet of things (IOT)
CN104219632B (en) Mobile phone MANET positional information collection method for emergency rescue
CN103108374A (en) Energy saving routing algorithm of composite structure mine emergency rescue wireless mesh network
Rayes et al. IoT protocol stack: a layered view
CN109511151A (en) The network-building method and communication means of star networking
CN101674220B (en) Forwarding history-based asynchronous rooting algorithm
CN103391595A (en) Mine emergency rescue wireless mesh network routing method based on cross-layer link state feedback
CN105704651A (en) Wireless self-organizing agent piggyback network SOAP message transmission method
CN110268739A (en) Connection control method, device and readable storage medium storing program for executing
CN106550321A (en) A kind of construction method of the mobile ad hoc network based on Hybrid communication model
CN110291839A (en) Unicast connects method for building up, device and storage medium
Vinoth Kumar et al. Selection of routing protocol-based QoS improvement for mobile ad Hoc network

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