CN103037422B - Dynamic adaptive service recovery method and dynamic adaptive service recovery device for mobile ad hoc network - Google Patents

Dynamic adaptive service recovery method and dynamic adaptive service recovery device for mobile ad hoc network Download PDF

Info

Publication number
CN103037422B
CN103037422B CN201210592963.6A CN201210592963A CN103037422B CN 103037422 B CN103037422 B CN 103037422B CN 201210592963 A CN201210592963 A CN 201210592963A CN 103037422 B CN103037422 B CN 103037422B
Authority
CN
China
Prior art keywords
terminal
ubiquitous
business
single business
timer
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.)
Expired - Fee Related
Application number
CN201210592963.6A
Other languages
Chinese (zh)
Other versions
CN103037422A (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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201210592963.6A priority Critical patent/CN103037422B/en
Publication of CN103037422A publication Critical patent/CN103037422A/en
Application granted granted Critical
Publication of CN103037422B publication Critical patent/CN103037422B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a dynamic adaptive service recovery method and a dynamic adaptive service recovery device for a mobile ad hoc network. The method comprises the following steps: S1, setting the timing duration of a timer, monitoring the timer in real time, monitoring whether the ubiquitous service is successfully executed if the timer is not overtime and continuously executing the step S2 if the timer is overtime; S2, searching the terminal information in the network; and S3, selecting a candidate terminal set and updating a spare terminal set according to search results, judging whether the failure of an instance terminal exists or not, enabling the spare terminal set to execute the ubiquitous service if YES, resetting the timer if NOT, and returning the step S1. Through the method, the phenomenon that the overhigh rate of the interruption caused by unilaterally relying on terminal resources to select the terminal sets is prevented, and a preparation is made for reducing the interruption rate, so that the recovery time of constructing, selecting and replacing the terminal sets again is reduced, and the response time caused by information delay is reduced.

Description

The dynamic self-adapting service restoration method of mobile ad hoc network and device
Technical field
The present invention relates to mobile self-grouping network field, particularly a kind of dynamic self-adapting service restoration method of mobile ad hoc network and device.
Background technology
Along with the fast development of ubiquitous computation and the communication technology, progressively bring the mankind into the Ubiquitous Network epoch.Larger change is brought on behalf of network edge during Ubiquitous Network, increasing equipment, comprise the various network terminal, intelligent appliance, sensor device, mobile unit, wearable device etc., can be interconnected by multiple wired or wireless mode, among the daily life incorporating user.One of mobile ad hoc network important composition structure having become ubiquitous edge network, its development more presents opening, isomery, distributed, dynamic trend, cause providing of business not rely on single terminal end, need be worked in coordination with and serve the ubiquitous business shared and support high efficient and reliable by multiple terminals.And the network topology frequent variations that the terminal capability finite sum mobility in mobile ad hoc network causes, result in ubiquitous business can not continue to perform, and interruption times increases, and the response time extends, thus can not provide optimum experience to user.Therefore design a kind of effective service restoration method and continuing to provide and being necessary of ubiquitous business is provided.
In prior art for business recovery propose multiple method, comprising relate to priority service restoration methods, relate to the restoration methods of multiple service supporting link occurs fault and the service restoration method of WLAN (wireless local area network).But all inapplicable scene providing distributed ubiquitous service disconnection to recover by multiple business cooperation of method that prior art proposes.
Summary of the invention
(1) technical problem solved
The technical problem that the present invention solves is to provide a kind of dynamic self-adapting service restoration method and device of mobile ad hoc network, and the ubiquitous business in mobile ad hoc network that solves frequently is interrupted, the problem that the response time is long.
(2) technical scheme
The present invention proposes a kind of dynamic self-adapting service restoration method of mobile ad hoc network, described method comprises:
S1, duration when arranging timer, and carry out Real-Time Monitoring to described timer, if described timer is not overtime, then monitors ubiquitous business whether successful execution, if described timer expired, then continue step S2;
S2, the end message in network to be searched for;
S3, according to Search Results, select candidate terminal set to upgrade standby terminal set, and judge whether the inefficacy that there is example terminal, if exist, then enable standby terminal set and perform ubiquitous business, if do not exist, then described timer is reset, and return step S1; Wherein, example terminal set is the terminal set of the ubiquitous business of current execution; Described standby terminal set is the terminal set of the current alternative service path as the set of ubiquitous srvice instance terminal; Described candidate terminal set is the terminal set that can perform ubiquitous business searched in step S2.
Preferably, step S1 also comprises:
If monitor ubiquitous business successful execution, then terminate;
If monitor the unsuccessful execution of ubiquitous business, then jump procedure S2.
Preferably, step S2 specifically comprises:
S21, when described timer expired, then send service requesting information to the terminal in network, described service requesting information is carried the ubiquitous single collection of services information of request, is asked ubiquitous single business resource requirement aggregate information and ask the end time aggregate information of ubiquitous single business;
After S22, terminal receive described service requesting information, judge described terminal whether for effective traffic provides terminal;
If described terminal is for effective traffic provides terminal, then by described terminal alternatively terminal;
If described terminal is for invalid business provides terminal, then give up described terminal.
Preferably, step S22 specifically comprises:
S221, the maximum of the end time of ubiquitous single business and mobility predicted time window compared, if the end time of ubiquitous single business is greater than the maximum of described mobility predicted time window, then described terminal does not provide ubiquitous single business; If the end time of ubiquitous single business is less than the minimum value of described mobility predicted time window, then described terminal can provide ubiquitous single business; If between the minimum value that the end time of ubiquitous single business is in described mobility predicted time window and maximum, the then described terminal efficient difference for the maximum of described mobility predicted time window and the end time of ubiquitous single business that can provide ubiquitous single business, with the ratio of the difference of the maximum of described mobility predicted time window and the minimum value of described mobility predicted time window;
S222, judgement can provide resource entrained by the described terminal of ubiquitous single business whether to meet the demand of ubiquitous single business in the set of request ubiquitous single business resource requirement;
If meet, then described terminal provides terminal for effective traffic, and sends business feedback information to described timer, described business feedback information carried terminal information;
If do not meet, then described terminal provides terminal for invalid business.
Preferably, step S3 specifically comprises:
S31, according to recovery target function, the recovery target function value of different candidate terminal combination in the set of calculated candidate terminal;
S32, utilize prioritization techniques, the combination recovering the maximum candidate terminal of target function value will be made as standby terminal set;
S33, judge the inefficacy that whether there is example terminal in example terminal set, if exist, then jump procedure S34; If do not exist, then timer is reset, and return step S1;
S34, judge whether to there is the demand that standby terminal set meets ubiquitous business, if do not meet, then service fail terminates;
If exist, then by standby terminal set terminal set as an example, and example terminal set is utilized to perform ubiquitous business;
Described recovery target function is:
F = Σ u = 0 n ∀ i Σ j = 1 m { x u , i · X u , i × [ Σ w = 1 W ( α w · TPI i , w ) × RIC + x ( u + 1 ) , j · X ( u + 1 ) , j × c i , j × RCC ] } ,
The condition that recovery target function is met is:
Σ u = 1 n r u , w · X u , i ≤ I i , w , ∀ u , w , i Σ u = 1 n Σ v = 1 n e u , v · X u , i · X v , j ≤ c i , j , ∀ u , v , i , j Σ w = 1 W α w = 1 RIC + RCC = 1 ,
Wherein, u and v is the index of ubiquitous single business in ubiquitous business; N is total number of ubiquitous single business; I and j is the index of the terminal in network; M is the total number of terminal in network; x u,ifor 0-1 variable, judge terminal d iwhether be ubiquitous single business s ucandidate terminal; X u,ifor 0-1 variable, judge terminal d iwhether be ubiquitous single business s uexample terminal; W is terminal self-ability index; W is resource category sum; α wfor w kind self-ability percentage in recovery target function of terminal; TPI i,wfor terminal d ibased on the w kind self-ability value of time prediction; c i, jfor terminal d iand d jbetween cooperative ability degree; RIC is terminal individual capability percentage in recovery target function; RCC is terminal room cooperative ability percentage in recovery target function; r u, wfor ubiquitous single business s uto the demand of w kind resource; I i,wfor terminal d iw kind self-ability size; e u, vrepresent ubiquitous business s uand s vbetween correlation degree.
The invention allows for a kind of dynamic self-adapting business recovery device of mobile ad hoc network, described device comprises:
First monitoring modular, for timer, whether time-out carries out Real-Time Monitoring;
Second monitoring modular, for when the timer ubiquitous business of time-out monitoring whether successful execution;
Search module, for searching for the end message in network;
Selecting module, upgrading standby terminal set for selecting candidate terminal set;
First judge module, for judging whether the inefficacy that there is example terminal;
Wherein, example terminal set is the terminal set of the ubiquitous business of current execution; Described standby terminal set is the terminal set of the current alternative service path as the set of ubiquitous srvice instance terminal; Described candidate terminal set is the terminal set that can perform ubiquitous business searched in step S2.
Preferably, described device also comprises:
First sending module, for when described timer expired, send service requesting information to the terminal in network, described service requesting information is carried the ubiquitous single collection of services information of request, is asked ubiquitous single business resource requirement aggregate information and ask the end time aggregate information of ubiquitous single business;
Second judge module, after receiving described service requesting information when terminal, judges described terminal whether for effective traffic provides terminal.
Preferably, described device also comprises:
Comparison module, for the maximum of the end time of ubiquitous single business and mobility predicted time window being compared, if the end time of ubiquitous single business is greater than the maximum of described mobility predicted time window, then described terminal does not provide ubiquitous single business; If the end time of ubiquitous single business is less than the minimum value of described mobility predicted time window, then described terminal can provide ubiquitous single business; If between the minimum value that the end time of ubiquitous single business is in described mobility predicted time window and maximum, the then described terminal efficient difference for the maximum of described mobility predicted time window and the end time of ubiquitous single business that can provide ubiquitous single business, with the ratio of the difference of the maximum of described mobility predicted time window and the minimum value of described mobility predicted time window;
3rd judge module, for the demand judging to provide resource entrained by the described terminal of ubiquitous single business whether to meet ubiquitous single business in the set of request ubiquitous single business resource requirement;
Second sending module, for when the 3rd judge module judged result is for meeting, then described terminal provides terminal for effective traffic, and sends business feedback information to described timer, described business feedback information carried terminal information.
Preferably, described device also comprises:
Computing module, for the recovery target function value of candidate terminal combination different in the set of calculated candidate terminal;
First update module, for making the combination recovering the maximum candidate terminal of target function value as standby terminal set;
, there is for judging whether the demand that standby terminal set meets ubiquitous business in the 4th judge module;
Second update module, for when the judged result of the 4th judge module is for existing, by standby terminal set terminal set as an example;
Described recovery target function is:
F = Σ u = 0 n ∀ i Σ j = 1 m { x u , i · X u , i × [ Σ w = 1 W ( α w · TPI i , w ) × RIC + x ( u + 1 ) , j · X ( u + 1 ) , j × c i , j × RCC ] } ,
The condition that recovery target function is met is:
Σ u = 1 n r u , w · X u , i ≤ I i , w , ∀ u , w , i Σ u = 1 n Σ v = 1 n e u , v · X u , i · X v , j ≤ c i , j , ∀ u , v , i , j Σ w = 1 W α w = 1 RIC + RCC = 1 ,
Wherein, u and v is the index of ubiquitous single business in ubiquitous business; N is total number of ubiquitous single business; I and j is the index of the terminal in network; M is the total number of terminal in network; x u,ifor 0-1 variable, judge terminal d iwhether be ubiquitous single business s ucandidate terminal; X u,ifor 0-1 variable, judge terminal d iwhether be ubiquitous single business s uexample terminal; W is terminal self-ability index; W is resource category sum; α wfor w kind self-ability percentage in recovery target function of terminal; TPI i,wfor terminal d ibased on the w kind self-ability value of time prediction; c i, jfor terminal d iand d jbetween cooperative ability degree; RIC is terminal individual capability percentage in recovery target function; RCC is terminal room cooperative ability percentage in recovery target function; r u,wfor ubiquitous single business s uto the demand of w kind resource; I i,wfor terminal d iw kind self-ability size; e u, vrepresent ubiquitous business s uand s vbetween correlation degree.
(3) beneficial effect
The present invention recovers target function by building and proposes the Restoration Mechanism that standby traffic recovery policy comprehensively provides ubiquitous business, prevent the too high phenomenon of interruption rate that unilateral dependence terminal own resource selection termination set brings, and ready in advance for reducing interruption rate; In recovery policy, use the business replacement terminal collection selecting global optimum in advance, enable alternative scheme immediately when service disconnection, reduce the recovery time rebuilding and select replacement terminal collection; Timer regular update global information, the generation of monitoring service disconnection, repairs in time, and the information that the reduces sluggish response time caused is long.
Accompanying drawing explanation
Fig. 1 is the inventive method flow chart;
Fig. 2 is the normal execution route of the ubiquitous business of the present invention;
Fig. 3 is that disruption schematic diagram appears in the ubiquitous business of the present invention;
Fig. 4 is execution route after the ubiquitous business reparation of the present invention;
Fig. 5 is apparatus of the present invention structure chart.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
Embodiment 1:
The present invention proposes a kind of dynamic self-adapting service restoration method of mobile ad hoc network, the system architecture of business recovery application is abstract is two-layer model-operation layer model and network layer model, business recovery is exactly under the condition recovering target function, maintains the isomorphism subgraph of operation layer model to network layer model.Model used by the present invention and data as follows:
Abstract service layer Mathematical Modeling G sM(S, R, E):
Wherein, single collection of services S: by a series of single service constitution completing simple function, S={s u| u=0,1 ..., n}, wherein s urepresent the mono-business of u in ubiquitous business, s 0represent initialization business, n represents the number of single business of the ubiquitous business of composition.
Business demand resource collection R: represented each resource category required for single business and how many.R={r u| u=0,1 ..., n}, wherein r u={ r u, w| w=1,2 ..., W}, r u,wrepresent single business s uhow many to the demand of w kind resource, by the numeral of respective weights, W represents resource category sum.
Business interoperability set E: represent the correlation degree between single business and single business, E={e u,v| u, v=0,1 ..., n}, wherein e u,vrepresent ubiquitous business s uand s vbetween correlation degree, if onrelevant represents with 0, otherwise by the numeral of respective weights.
Abstract network layer Mathematical Modeling G nM(D, I, C):
Wherein, terminal set D: be made up of the terminal of a series of activities in network, wherein d irepresent the i-th terminal in network, d 0represent requesting terminal, initialization business is always by d 0complete.
Terminal individual capability collection I: the self-ability sizes such as the storage size that terminal has, amount, access capability size, computing capability size, ability to play size, disposal ability size, I={I i| i=0,1. ..., m}, wherein I i={ I i, w| w=1,2 ..., W}, wherein, I i,wrepresent terminal d iw kind self-ability size, by the numeral of respective weights, m is total number of terminals.
Terminal room cooperative ability set C: represent the coordinated bandwidth between terminal and terminal, connective stability, collaborative power consumption, transmission range, channel noise etc., C={c i, j| i, j=0,1 ..., m}, wherein c i,jrepresent terminal d iand d jbetween cooperative ability degree, if represent with 0 without collaborative, otherwise by the numeral of respective weights.
Recover the structure of target function model:
Individual capability ratio RIC: terminal individual capability percentage in target function.
Cooperative ability ratio RCC: terminal room cooperative ability percentage in target function.
Terminal mobility predicted time window [a i, b i]: terminal d iat moment a iterminal is necessarily available before, at moment b inecessarily can not use afterwards, at time period [a i, b i] in availability uncertain.
Business end time ET u: single business s uend time, terminal weighs the success rate of finishing service with this.
The efficient RTA of terminal i: terminal d iefficient, assuming that the business that when terminal is effective, it can provide also is effective, its calculating formula is as follows:
RTA i = 1 , ET u < a i b i - ET u b i - a i , a i &le; ET u &le; b i 0 , ET u > b i
Self-ability based on time prediction: TPI ifor terminal d ibased on the self-ability value of time prediction, its calculating formula is TPI i=I i× RTA i.
0-1 variable:
Problem of service interruption is simply described as: in order to externally provide lasting ubiquitous business, dynamically maintains figure G nM(D, I, C) and G sMthe isomorphic relations of (S, R, E), chooses the set of preferred example terminal and performs ubiquitous business, thus recovers that target function is abstract is:
F = &Sigma; u = 0 n &ForAll; i &Sigma; j = 1 m { x u , i &CenterDot; X u , i &times; [ &Sigma; w = 1 W ( &alpha; w &CenterDot; TPI i , w ) &times; RIC + x ( u + 1 ) , j &CenterDot; X ( u + 1 ) , j &times; c i , j &times; RCC ] }
The condition recovering target function satisfied is:
&Sigma; u = 1 n r u , w &CenterDot; X u , i &le; I i , w , &ForAll; u , w , i &Sigma; u = 1 n &Sigma; v = 1 n e u , v &CenterDot; X u , i &CenterDot; X v , j &le; c i , j , &ForAll; u , v , i , j &Sigma; w = 1 W &alpha; w = 1 RIC + RCC = 1
Wherein, u and v is the index of ubiquitous single business in ubiquitous business; N is total number of ubiquitous single business; I and j is the index of the terminal in network; M is the total number of terminal in network; x u,ifor 0-1 variable, judge terminal d iwhether be ubiquitous single business s ucandidate terminal; X u,ifor 0-1 variable, judge terminal d iwhether be ubiquitous single business s uexample terminal; W is terminal self-ability index; W is resource category sum; α wfor w kind self-ability percentage in recovery target function of terminal; TPI i,wfor terminal d ibased on the w kind self-ability value of time prediction; c i, jfor terminal d iand d jbetween cooperative ability degree; RIC is terminal individual capability percentage in recovery target function; RCC is terminal room cooperative ability percentage in recovery target function; r u,wfor ubiquitous single business s uto the demand of w kind resource; I i,wfor terminal d iw kind self-ability size; e u, vrepresent ubiquitous business s uand s vbetween correlation degree.
Counter, interaction message and relative set:
Global information Updating time SendTimer (parameter): for controlling the renewal of global information, SendTimer (NULL) represent clear for timer 0, start timing; SendTimer (Threshold) represents timing time-out, carries out the collection of global information.
Service requesting information SYS_REQ: the ubiquitous single collection of services S comprising request req, the single business resource requirement set R of each request reqand the end time set ETS of the single business of each request req.SYS_REQ (S req, R req, ETS req) for broadcasting service request in a network, to search for global information.
Business feedback information SYS_ACK: comprise terminal d i, it can provide some single collection of services in the single collection of services of request the resource collection I of this terminal iand mobility predicted time window [a i, b i] for single service lists that in the request of terminal loopback traffic, it can perform and self related context information, so that the selection in standby traffic path.
Example terminal set IDS: the terminal set performing ubiquitous business for storing current reality.
Candidate terminal set CDS: for store global search to can perform each single business in ubiquitous business the feedback information of likely supplier.
Standby terminal set B DS: for the terminal set of the current alternative service path as the set of ubiquitous srvice instance terminal of dynamic memory.
As shown in Figure 1, described method comprises method flow diagram of the present invention:
S1, duration when arranging timer, and carry out Real-Time Monitoring to described timer, if described timer is not overtime, then monitors ubiquitous business whether successful execution, if described timer expired, then continue step S2; Be illustrated in figure 2 the normal execution route of ubiquitous business, wherein, corresponding letters sequence S in the mark circle of business irepresent, in the mark square of terminal, { a, b, c...} represent different letter, and the practical business that example terminal performs represents (such as a:S with the service identification after terminal iidentification 1represent that terminal a actual motion provides S 1), in square, independent terminal iidentification represents that this terminal is only as route terminal.
If monitor ubiquitous business successful execution, then terminate, being user provides business complete, the resource of release busy; If monitor the unsuccessful execution of ubiquitous business, then jump procedure S2;
Start to perform the moment in ubiquitous business, initial setting up timer, timer is reset; In the ubiquitous business execution phase, the continuous timing of timer, upon the timer expiry, the action of timer Trigger update global information.
S2, the end message in network to be searched for;
S21, when described timer expired, the broadcast of timer trigger business solicited message, namely send service requesting information to the terminal in network, described service requesting information is carried the ubiquitous single collection of services information of request, is asked ubiquitous single business resource requirement aggregate information and ask the end time aggregate information of ubiquitous single business; Service requesting information is sent to each terminal that can arrive in a network, so that all terminal selectivelies feedback self information, ensures the comprehensive of global information;
After S22, terminal receive described service requesting information, judge described terminal whether for effective traffic provides terminal;
If described terminal is for effective traffic provides terminal, then by described terminal alternatively terminal;
If described terminal is for invalid business provides terminal, then give up described terminal.
Step S22 specifically comprises:
S221, terminal d iafter receiving service requesting information, the maximum of the end time of ubiquitous single business and mobility predicted time window is compared, if the end time of ubiquitous single business is greater than the maximum of described mobility predicted time window, then described terminal does not provide ubiquitous single business; If the end time of ubiquitous single business is less than the minimum value of described mobility predicted time window, then described terminal can provide ubiquitous single business; If between the minimum value that the end time of ubiquitous single business is in described mobility predicted time window and maximum, the then described terminal efficient difference for the maximum of described mobility predicted time window and the end time of ubiquitous single business that can provide ubiquitous single business, with the ratio of the difference of the maximum of described mobility predicted time window and the minimum value of described mobility predicted time window;
S222, judgement can provide resource entrained by the described terminal of ubiquitous single business whether to meet the demand of ubiquitous single business in the set of request ubiquitous single business resource requirement;
If meet, then described terminal provides terminal for effective traffic, after each ubiquitous single business has judged, and send business feedback information to described timer, and the classification integration of overall business information is carried out according to business single in ubiquitous business, upgrade candidate terminal set, described business feedback information carried terminal information;
If do not meet, then described terminal provides terminal for invalid business.
S3, according to Search Results, select candidate terminal set to upgrade standby terminal collection, and judge whether the inefficacy that there is example terminal, if exist, then enable standby terminal set and perform ubiquitous business, if do not exist, then described timer is reset, and return step S1; Wherein, example terminal set is the terminal set of the ubiquitous business of current execution; Described standby terminal set is the terminal set of the current alternative service path as the set of ubiquitous srvice instance terminal; Described candidate terminal set is the terminal set that can perform ubiquitous business searched in step S2.
Step S3 specifically comprises:
S31, according to recovery target function, the recovery target function value of different candidate terminal combination in the set of calculated candidate terminal;
S32, utilize prioritization techniques, the combination recovering the maximum candidate terminal of target function value will be made as standby terminal set;
S33, judge the inefficacy that whether there is example terminal in example terminal set, if exist, then show that business performs and occur interrupting, then jump procedure S34; If do not exist, then timer is reset, and return step S1.To be illustrated in figure 3 when disruption appears in ubiquitous business topological structure in network, because terminal f leaves network, the consumption of terminal c self-energy and the reduction of the mobile collaboration capabilities caused, make original business S 3and S 4perform interruption.
S34, judge whether to there is the demand that standby terminal set meets ubiquitous business, if do not meet, then service fail terminates;
If exist, then by standby terminal set terminal set as an example, and example terminal set is utilized to perform ubiquitous business.As shown in Figure 4, the new ubiquitous business execution route built, repairs ubiquitous business in time, ensure that the continuation of ubiquitous business, and timer resets, and continues the execution of the ubiquitous business of monitoring.
Embodiment 2:
The invention allows for a kind of dynamic self-adapting business recovery device of mobile ad hoc network, as shown in Figure 5, described device comprises:
First monitoring modular 201, for timer, whether time-out carries out Real-Time Monitoring;
Second monitoring modular 202, for when the timer ubiquitous business of time-out monitoring whether successful execution;
Search module 203, for searching for the end message in network;
Selecting module 204, upgrading standby terminal set for selecting candidate terminal set;
First judge module 205, for judging whether the inefficacy that there is example terminal.
Described device also comprises:
First sending module, for when described timer expired, send service requesting information to the terminal in network, described service requesting information is carried the ubiquitous single collection of services information of request, is asked ubiquitous single business resource requirement aggregate information and ask the end time aggregate information of ubiquitous single business;
Second judge module, after receiving described service requesting information when terminal, judges described terminal whether for effective traffic provides terminal.
Described device also comprises:
Comparison module, for the maximum of the end time of ubiquitous single business and mobility predicted time window being compared, if the end time of ubiquitous single business is greater than the maximum of described mobility predicted time window, then described terminal does not provide ubiquitous single business; If the end time of ubiquitous single business is less than the minimum value of described mobility predicted time window, then described terminal can provide ubiquitous single business; If between the minimum value that the end time of ubiquitous single business is in described mobility predicted time window and maximum, the then described terminal efficient difference for the maximum of described mobility predicted time window and the end time of ubiquitous single business that can provide ubiquitous single business, with the ratio of the difference of the maximum of described mobility predicted time window and the minimum value of described mobility predicted time window;
3rd judge module, for the demand judging to provide resource entrained by the described terminal of ubiquitous single business whether to meet ubiquitous single business in the set of request ubiquitous single business resource requirement;
Second sending module, for when the 3rd judge module judged result is for meeting, then described terminal provides terminal for effective traffic, and sends business feedback information to described timer, and described business feedback information carries described terminal for effective traffic provides the message of terminal.
Described device also comprises:
Computing module, for the recovery target function value of candidate terminal combination different in the set of calculated candidate terminal;
First update module, for making the combination recovering the maximum candidate terminal of target function value as standby terminal set;
, there is for judging whether the demand that standby terminal set meets ubiquitous business in the 4th judge module;
Second update module, for when the judged result of the 4th judge module is for existing, by standby terminal set terminal set as an example.
Above execution mode is only for illustration of the present invention; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (7)

1. a dynamic self-adapting service restoration method for mobile ad hoc network, is characterized in that, described method comprises:
S1, duration when arranging timer, and carry out Real-Time Monitoring to described timer, if described timer is not overtime, then monitors ubiquitous business whether successful execution, if described timer expired, then continue step S2;
S2, the end message in network to be searched for;
S3, according to Search Results, select candidate terminal set to upgrade standby terminal set, and judge whether the inefficacy that there is example terminal, if exist, then enable standby terminal set and perform ubiquitous business, if do not exist, then described timer is reset, and return step S1; Wherein, example terminal set is the terminal set of the ubiquitous business of current execution; Described standby terminal set is the terminal set of the current alternative service path as the set of ubiquitous srvice instance terminal; Described candidate terminal set is the terminal set that can perform ubiquitous business searched in step S2;
Step S2 specifically comprises:
S21, when described timer expired, then send service requesting information to the terminal in network, described service requesting information is carried the ubiquitous single collection of services information of request, is asked ubiquitous single business resource requirement aggregate information and ask the end time aggregate information of ubiquitous single business;
After S22, terminal receive described service requesting information, judge described terminal whether for effective traffic provides terminal;
If described terminal is for effective traffic provides terminal, then by described terminal alternatively terminal;
If described terminal is for invalid business provides terminal, then give up described terminal.
2. method according to claim 1, is characterized in that, step S1 also comprises:
If monitor ubiquitous business successful execution, then terminate;
If monitor the unsuccessful execution of ubiquitous business, then jump procedure S2.
3. method according to claim 1, is characterized in that, step S22 specifically comprises:
S221, the maximum of the end time of ubiquitous single business and mobility predicted time window compared, if the end time of ubiquitous single business is greater than the maximum of described mobility predicted time window, then described terminal does not provide ubiquitous single business; If the end time of ubiquitous single business is less than the minimum value of described mobility predicted time window, then described terminal can provide ubiquitous single business; If between the minimum value that the end time of ubiquitous single business is in described mobility predicted time window and maximum, the then described terminal efficient difference for the maximum of described mobility predicted time window and the end time of ubiquitous single business that can provide ubiquitous single business, with the ratio of the difference of the maximum of described mobility predicted time window and the minimum value of described mobility predicted time window;
S222, judgement can provide resource entrained by the described terminal of ubiquitous single business whether to meet the demand of ubiquitous single business in the set of request ubiquitous single business resource requirement;
If meet, then described terminal provides terminal for effective traffic, and sends business feedback information to described timer, described business feedback information carried terminal information;
If do not meet, then described terminal provides terminal for invalid business.
4. the method according to any one of claim 1 or 3, it is characterized in that, step S3 specifically comprises:
S31, according to recovery target function, the recovery target function value of different candidate terminal combination in the set of calculated candidate terminal;
S32, utilize prioritization techniques, the combination recovering the maximum candidate terminal of target function value will be made as standby terminal set;
S33, judge the inefficacy that whether there is example terminal in example terminal set, if exist, then jump procedure S34; If do not exist, then timer is reset, and return step S1;
S34, judge whether to there is the demand that standby terminal set meets ubiquitous business, if do not meet, then service fail terminates;
If exist, then by standby terminal set terminal set as an example, and example terminal set is utilized to perform ubiquitous business;
Described recovery target function is:
F = &Sigma; u = 0 n &ForAll; i &Sigma; j = 1 m { x u , i &CenterDot; X u , i &times; [ &Sigma; w = 1 W ( &alpha; w &CenterDot; TPI i , w ) &times; RIC + x ( u + 1 ) , j &CenterDot; X ( u + 1 ) , j &times; c i , j &times; RCC ] } ,
The condition that recovery target function is met is:
&Sigma; u = 1 n r u , w &CenterDot; X u , i &le; I i , w , &ForAll; u , w , i &Sigma; u = 1 n &Sigma; v = 1 n e u , v &CenterDot; X u , i &CenterDot; X v , j &le; c i , j , &ForAll; u , v , i , j &Sigma; w = 1 W &alpha; w = 1 RIC + RCC = 1 ,
Wherein, u and v is the index of ubiquitous single business in ubiquitous business; N is total number of ubiquitous single business; I and j is the index of the terminal in network; M is the total number of terminal in network; x u,ifor 0-1 variable, judge terminal d iwhether be ubiquitous single business s ucandidate terminal; X u,ifor 0-1 variable, judge terminal d iwhether be ubiquitous single business s uexample terminal; W is terminal self-ability index; W is resource category sum; α wfor w kind self-ability percentage in recovery target function of terminal; TPI i,wfor terminal d ibased on the w kind self-ability value of time prediction; c i,jfor terminal d iand d jbetween cooperative ability degree; RIC is terminal individual capability percentage in recovery target function; RCC is terminal room cooperative ability percentage in recovery target function; r u,wfor ubiquitous single business s uto the demand of w kind resource; I i,wfor terminal d iw kind self-ability size; e u,vrepresent ubiquitous business s uand s vbetween correlation degree.
5. a dynamic self-adapting business recovery device for mobile ad hoc network, it is characterized in that, described device comprises:
First monitoring modular, for timer, whether time-out carries out Real-Time Monitoring;
Second monitoring modular, for when the timer ubiquitous business of time-out monitoring whether successful execution;
Search module, for searching for the end message in network;
Selecting module, upgrading standby terminal set for selecting candidate terminal set;
First judge module, for judging whether the inefficacy that there is example terminal;
Wherein, example terminal set is the terminal set of the ubiquitous business of current execution; Described standby terminal set is the terminal set of the current alternative service path as the set of ubiquitous srvice instance terminal; Described candidate terminal set is the terminal set that can perform ubiquitous business searched in step S2;
Described device also comprises:
First sending module, for when described timer expired, send service requesting information to the terminal in network, described service requesting information is carried the ubiquitous single collection of services information of request, is asked ubiquitous single business resource requirement aggregate information and ask the end time aggregate information of ubiquitous single business;
Second judge module, after receiving described service requesting information when terminal, judges described terminal whether for effective traffic provides terminal.
6. device according to claim 5, is characterized in that, described device also comprises:
Comparison module, for the maximum of the end time of ubiquitous single business and mobility predicted time window being compared, if the end time of ubiquitous single business is greater than the maximum of described mobility predicted time window, then described terminal does not provide ubiquitous single business; If the end time of ubiquitous single business is less than the minimum value of described mobility predicted time window, then described terminal can provide ubiquitous single business; If between the minimum value that the end time of ubiquitous single business is in described mobility predicted time window and maximum, the then described terminal efficient difference for the maximum of described mobility predicted time window and the end time of ubiquitous single business that can provide ubiquitous single business, with the ratio of the difference of the maximum of described mobility predicted time window and the minimum value of described mobility predicted time window;
3rd judge module, for the demand judging to provide resource entrained by the described terminal of ubiquitous single business whether to meet ubiquitous single business in the set of request ubiquitous single business resource requirement;
Second sending module, for when the 3rd judge module judged result is for meeting, then described terminal provides terminal for effective traffic, and sends business feedback information to described timer, described business feedback information carried terminal information.
7. the device according to any one of claim 5 or 6, it is characterized in that, described device also comprises:
Computing module, for the recovery target function value of candidate terminal combination different in the set of calculated candidate terminal;
First update module, for making the combination recovering the maximum candidate terminal of target function value as standby terminal set;
, there is for judging whether the demand that standby terminal set meets ubiquitous business in the 4th judge module;
Second update module, for when the judged result of the 4th judge module is for existing, by standby terminal set terminal set as an example;
Described recovery target function is:
F = &Sigma; u = 0 n &ForAll; i &Sigma; j = 1 m { x u , i &CenterDot; X u , i &times; [ &Sigma; w = 1 W ( &alpha; w &CenterDot; TPI i , w ) &times; RIC + x ( u + 1 ) , j &CenterDot; X ( u + 1 ) , j &times; c i , j &times; RCC ] } ,
The condition that recovery target function is met is:
&Sigma; u = 1 n r u , w &CenterDot; X u , i &le; I i , w , &ForAll; u , w , i &Sigma; u = 1 n &Sigma; v = 1 n e u , v &CenterDot; X u , i &CenterDot; X v , j &le; c i , j , &ForAll; u , v , i , j &Sigma; w = 1 W &alpha; w = 1 RIC + RCC = 1 ,
Wherein, u and v is the index of ubiquitous single business in ubiquitous business; N is total number of ubiquitous single business; I and j is the index of the terminal in network; M is the total number of terminal in network; x u,ifor 0-1 variable, judge terminal d iwhether be ubiquitous single business s ucandidate terminal; X u,ifor 0-1 variable, judge terminal d iwhether be ubiquitous single business s uexample terminal; W is terminal self-ability index; W is resource category sum; α wfor w kind self-ability percentage in recovery target function of terminal; TPI i,wfor terminal d ibased on the w kind self-ability value of time prediction; c i,jfor terminal d iand d jbetween cooperative ability degree; RIC is terminal individual capability percentage in recovery target function; RCC is terminal room cooperative ability percentage in recovery target function; r u,wfor ubiquitous single business s uto the demand of w kind resource; I i,wfor terminal d iw kind self-ability size; e u,vrepresent ubiquitous business s uand s vbetween correlation degree.
CN201210592963.6A 2012-12-31 2012-12-31 Dynamic adaptive service recovery method and dynamic adaptive service recovery device for mobile ad hoc network Expired - Fee Related CN103037422B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210592963.6A CN103037422B (en) 2012-12-31 2012-12-31 Dynamic adaptive service recovery method and dynamic adaptive service recovery device for mobile ad hoc network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210592963.6A CN103037422B (en) 2012-12-31 2012-12-31 Dynamic adaptive service recovery method and dynamic adaptive service recovery device for mobile ad hoc network

Publications (2)

Publication Number Publication Date
CN103037422A CN103037422A (en) 2013-04-10
CN103037422B true CN103037422B (en) 2015-01-21

Family

ID=48023798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210592963.6A Expired - Fee Related CN103037422B (en) 2012-12-31 2012-12-31 Dynamic adaptive service recovery method and dynamic adaptive service recovery device for mobile ad hoc network

Country Status (1)

Country Link
CN (1) CN103037422B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103427884B (en) * 2013-07-17 2016-04-06 北京邮电大学 Acquisition methods is worked in coordination with in multiple terminals based on service generation ubiquitous in mobile ad hoc network
CN104581794B (en) * 2013-10-22 2018-05-22 中国移动通信集团四川有限公司 A kind of middleware business fault treatment method and system
CN103813364B (en) * 2013-11-21 2017-01-25 重庆邮电大学 Mobile self-organizing network interrupt data recovery method based on area perception
CN104185135B (en) * 2014-08-11 2018-08-17 北京邮电大学 Ubiquitous service selecting method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299679A (en) * 2008-06-13 2008-11-05 南京邮电大学 Method for dynamic reconfiguration of extensive network service
CN102752204A (en) * 2012-07-03 2012-10-24 中兴通讯股份有限公司 Service platform and service realization method of ubiquitous network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299679A (en) * 2008-06-13 2008-11-05 南京邮电大学 Method for dynamic reconfiguration of extensive network service
CN102752204A (en) * 2012-07-03 2012-10-24 中兴通讯股份有限公司 Service platform and service realization method of ubiquitous network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"泛在融合网络下的个性化业务动态合成技术研究";丛维维;《现代电信科技》;20090831(第8期);全文 *
"移动泛在业务环境及其体系架构设计的挑战";张平;《北京邮电大学学报》;20051031;第28卷(第5期);全文 *

Also Published As

Publication number Publication date
CN103037422A (en) 2013-04-10

Similar Documents

Publication Publication Date Title
CN103037422B (en) Dynamic adaptive service recovery method and dynamic adaptive service recovery device for mobile ad hoc network
US8005654B2 (en) Method, apparatus and computer program product for intelligent workload control of distributed storage
CN102595412B (en) Wireless sensor network clustering topology control method based on mobile nodes
CN103748945B (en) Technology for recovering wireless service after power failure
CN103313031A (en) Dynamic dispatching video recording system and method
CN104184786A (en) Wireless sensor cloud gateway system for forest environment
CN101702681A (en) Switching method and device of main/standby router in virtual route redundancy protocol
CN102769670A (en) Method, device and system for migration of virtual machines
CN103634868A (en) Mixed distributing method and device in opportunity network
CN110972163A (en) ZigBee terminal node network management method and system
CN109286957A (en) Switching method, device, electronic equipment and the storage medium of a kind of time source link
Qin et al. Traffic optimization in satellites communications: A multi-agent reinforcement learning approach
Li et al. Layered fault management scheme for end-to-end transmission in internet of things
CN103427884B (en) Acquisition methods is worked in coordination with in multiple terminals based on service generation ubiquitous in mobile ad hoc network
CN110113262A (en) A kind of routing policy determines method, apparatus, SDN controller and heterogeneous network
CN103023680A (en) Terminal state collection system and method
CN107277888B (en) Cross-layer routing implementation method and device
CN103595552B (en) Analysis method and analysis system for cluster storage network parallel load
CN101778423A (en) Mobile agent-based method for guaranteeing quality of service of wireless multimedia sensor network
CN100413248C (en) Improved method and system for carrying out charging based on flow
Hee-Jin et al. A mobile agent based leach in wireless sensor networks
CN103096412B (en) Data fusion method with time delay restriction in delay tolerant network
CN103188771B (en) The disconnection that long-chain connects, the method and apparatus of recovery
Chandrakala et al. Improved data availability and fault tolerance in MANET by replication
CN112073472B (en) Soft zero clearing processing method for counter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150121

Termination date: 20201231