CN100384171C - A Method for Guaranteeing Quality of Service in Mobile Ad Hoc Networks - Google Patents
A Method for Guaranteeing Quality of Service in Mobile Ad Hoc Networks Download PDFInfo
- Publication number
- CN100384171C CN100384171C CNB2006100809882A CN200610080988A CN100384171C CN 100384171 C CN100384171 C CN 100384171C CN B2006100809882 A CNB2006100809882 A CN B2006100809882A CN 200610080988 A CN200610080988 A CN 200610080988A CN 100384171 C CN100384171 C CN 100384171C
- Authority
- CN
- China
- Prior art keywords
- location information
- resource location
- client node
- service
- node
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000004044 response Effects 0.000 claims description 67
- 230000009191 jumping Effects 0.000 claims 4
- 230000007246 mechanism Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000011084 recovery Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000000275 quality assurance Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种保障MANET网络服务质量的方法,包括:A、MANET网络中的客户节点从获取的资源定位信息中选择一个资源定位信息,建立自身与对应于选择的资源定位信息的服务提供节点之间的连接,将未选中的资源定位信息保存到与自身连接的BSP List中;B、客户节点将建立连接的服务提供节点提供的服务内容缓存到Cache中,读取Cache,将从Cache中读取的服务内容播放给用户,并在服务中断后执行步骤C;C、客户节点从保存了资源定位信息的BSP List中选择一个资源定位信息,建立自身与对应于选择的资源定位信息的服务提供节点之间的连接,然后执行步骤B。利用本发明,有效地保障了MANET网络的服务质量。
The invention discloses a method for guaranteeing the service quality of a MANET network, comprising: A. A client node in the MANET network selects a resource location information from obtained resource location information, and establishes itself and a service provider corresponding to the selected resource location information The connection between nodes saves the unselected resource location information in the BSP List connected to itself; B. The client node caches the service content provided by the service provider node that establishes the connection into the Cache, reads the Cache, and reads the information from the Cache The service content read in is played to the user, and step C is performed after the service is interrupted; C, the client node selects a resource location information from the BSP List that has saved the resource location information, and establishes itself and the resource location information corresponding to the selected resource location information The service provides the connection between the nodes, and then performs step B. The invention effectively guarantees the service quality of the MANET network.
Description
技术领域 technical field
本发明涉及移动自组织网络(Mobile Ad-hoc Networks,MANET)技术领域,尤其涉及一种保障MANET网络服务质量的方法。The present invention relates to the technical field of mobile ad-hoc networks (Mobile Ad-hoc Networks, MANET), in particular to a method for guaranteeing the quality of service of the MANET network.
背景技术 Background technique
MANET网络是没有任何中心实体的移动自组织网络,其在事先设计好的各种协议的支持下,依靠节点间的相互协作,在移动、复杂多变的无线环境中自行成网,借助于多跳转发技术来弥补无线设备的有限传输距离,具有组网灵活性强、支持移动性、易于迅速展开、系统整体抗毁能力强、系统成本低等特点。MANET network is a mobile ad hoc network without any central entity. With the support of various protocols designed in advance, it relies on the mutual cooperation between nodes to form a network by itself in a mobile, complex and changeable wireless environment. Jump forwarding technology is used to make up for the limited transmission distance of wireless devices. It has the characteristics of strong networking flexibility, support for mobility, easy and rapid deployment, strong overall system invulnerability, and low system cost.
随着计算机网络技术的发展,MANET网络的应用范围也在不断拓展,越来越多的对服务质量(QoS)敏感的应用被部署到MANET网络中来。例如流媒体、高带宽内容传输和网络语音电话(Vioce over InternetProtocol,VoIP)技术等。所以,保障MANET网络的服务质量变得非常有必要。With the development of computer network technology, the application scope of MANET network is also expanding constantly, and more and more applications sensitive to quality of service (QoS) are deployed in MANET network. Such as streaming media, high-bandwidth content transmission and VoIP (Vioce over Internet Protocol, VoIP) technology. Therefore, it becomes very necessary to guarantee the quality of service of the MANET network.
与传统的有线网络比较,MANET网络具有链路不可预知性、节点移动性、路由维护和节点能力存在差异等特点,这些特点导致了其网络环境具有很大的动态性。因此,传统的服务质量保障策略在MANET网络环境中已经不再适用。Compared with the traditional wired network, the MANET network has the characteristics of link unpredictability, node mobility, route maintenance and node capability differences, etc. These characteristics lead to the great dynamics of its network environment. Therefore, the traditional service quality assurance strategy is no longer applicable in the MANET network environment.
人们在提高MANET网络性能方面已经作了很多的工作,包括网络体系结构、媒介访问控制(Media Access Control,MAC)接入机制、适合MANET网络的服务质量路由协议的设计、802.11上的服务质量实现技术、保障服务质量的中间件等。People have done a lot of work in improving the performance of MANET networks, including network architecture, Media Access Control (MAC) access mechanism, design of quality of service routing protocols suitable for MANET networks, and implementation of quality of service on 802.11 technology, middleware that guarantees service quality, etc.
另外,区分服务(DiffServ)和集成服务(InteServ)的服务质量保障机制也被修改并应用到MANET网络中。但是上述两种机制中还是存在着各种各样的问题。例如区分服务的服务质量保障机制在资源重定位时将花费大量时间,集成服务的服务质量保障机制需要修改各个节点的协议栈。这些问题导致上述两种机制难于广泛部署和应用到实际的MANET网络中,无法有效地为MANET网络的服务质量提供保障。In addition, the quality of service guarantee mechanism of differentiated service (DiffServ) and integrated service (InteServ) is also modified and applied to MANET network. However, there are still various problems in the above two mechanisms. For example, the quality of service guarantee mechanism for differentiated services will take a lot of time when relocating resources, and the quality of service guarantee mechanism for integrated services needs to modify the protocol stack of each node. These problems make it difficult for the above two mechanisms to be widely deployed and applied to actual MANET networks, and cannot effectively guarantee the service quality of MANET networks.
因此,目前急需为MANET网络提供一种有效保障其服务质量的技术。Therefore, there is an urgent need to provide a technology for effectively guaranteeing the quality of service of the MANET network.
发明内容 Contents of the invention
(一)要解决的技术问题(1) Technical problems to be solved
针对上述现有技术存在的不足,本发明的主要目的在于提供一种保障MANET网络服务质量的方法,以有效地为MANET网络的服务质量提供保障。Aiming at the deficiencies in the prior art above, the main purpose of the present invention is to provide a method for guaranteeing the quality of service of the MANET network, so as to effectively guarantee the quality of service of the MANET network.
(二)技术方案(2) Technical solution
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:
一种保障移动自组织网络服务质量的方法,该方法包括:A method for guaranteeing the quality of service of a mobile ad hoc network, the method comprising:
A、MANET中的客户节点从获取的资源定位信息中选择一个资源定位信息,建立自身与对应于选择的资源定位信息的服务提供节点之间的连接,将未选中的资源定位信息保存到与自身连接的备份服务提供节点列表(Backup Service Provider List,BSP List)中;A. The client node in MANET selects a resource location information from the obtained resource location information, establishes a connection between itself and the service provider node corresponding to the selected resource location information, and saves the unselected resource location information to itself The connected backup service provider node list (Backup Service Provider List, BSP List);
B、客户节点将建立连接的服务提供节点提供的服务内容缓存到高速缓冲内存(Cache)中,读取Cache,将从Cache中读取的服务内容播放给用户,并在服务中断后执行步骤C;B. The client node caches the service content provided by the connected service provider node into the cache memory (Cache), reads the Cache, plays the service content read from the Cache to the user, and executes step C after the service is interrupted ;
C、客户节点从保存了资源定位信息的BSP List中选择一个资源定位信息,建立自身与对应于选择的资源定位信息的服务提供节点之间的连接,然后执行步骤B。C. The client node selects a resource location information from the BSP List that stores the resource location information, establishes a connection between itself and the service provider node corresponding to the selected resource location information, and then executes step B.
步骤A之前进一步包括:MANET网络中的客户节点向整个MANET网络发送请求获取资源定位信息的广播消息,MANET网络中的服务提供节点接收到所述广播消息,将自身的资源定位信息携带在响应消息中返回给客户节点,客户节点接收服务提供节点返回的响应消息。Before step A, it further includes: the client node in the MANET network sends a broadcast message requesting resource location information to the entire MANET network, and the service provider node in the MANET network receives the broadcast message, and carries its own resource location information in the response message Return to the client node, and the client node receives the response message returned by the service provider node.
所述客户节点接收到服务提供节点返回的响应消息后进一步包括:客户节点判断接收的响应消息的个数,如果响应消息的个数为一个,则再次向整个MANET网络发送获取资源定位信息的广播消息,在接收到携带资源定位信息的响应消息后执行步骤A;否则,直接执行步骤A。After the client node receives the response message returned by the service provider node, it further includes: the client node judges the number of response messages received, and if the number of response messages is one, it sends a broadcast to the entire MANET network to obtain resource location information again message, execute step A after receiving the response message carrying resource location information; otherwise, directly execute step A.
步骤A中所述客户节点在获取的资源定位信息中选择一个资源定位信息包括:The client node in step A selects a resource location information from the obtained resource location information including:
客户节点判断携带资源定位信息响应消息的响应时间,选择响应时间短的响应消息中携带的资源定位信息;The client node judges the response time of the response message carrying resource location information, and selects the resource location information carried in the response message with short response time;
或者客户节点判断资源定位信息中包含的带宽信息,选择带宽大的资源定位信息;Or the client node judges the bandwidth information contained in the resource location information, and selects the resource location information with large bandwidth;
或者客户节点判断资源定位信息中包含的跳数信息,选择跳数少的资源定位信息。Alternatively, the client node judges the hop count information included in the resource location information, and selects resource location information with a small hop count.
步骤B中所述在服务中断后进一步包括:客户节点继续读取Cache,并将从Cache中读取的服务内容播放给用户。In step B, after the service is interrupted, it further includes: the client node continues to read the Cache, and plays the service content read from the Cache to the user.
步骤C中所述客户节点从BSP List中选择一个资源定位信息包括:The client node described in step C selects a resource location information from the BSP List including:
客户节点判断携带资源定位信息响应消息的响应时间,选择响应时间短的响应消息中携带的资源定位信息;The client node judges the response time of the response message carrying resource location information, and selects the resource location information carried in the response message with short response time;
或者客户节点判断资源定位信息中包含的带宽信息,选择带宽大的资源定位信息;Or the client node judges the bandwidth information contained in the resource location information, and selects the resource location information with large bandwidth;
或者客户节点判断资源定位信息中包含的跳数信息,选择跳数少的资源定位信息。Alternatively, the client node judges the hop count information included in the resource location information, and selects resource location information with a small hop count.
所述资源定位信息至少包括服务提供节点的地址和资源在服务提供节点的具体位置。The resource location information includes at least the address of the service providing node and the specific location of the resource on the service providing node.
所述资源定位信息进一步包括服务提供节点的路径信息。The resource location information further includes path information of the service providing node.
(三)有益效果(3) Beneficial effects
从上述技术方案可以看出,本发明具有以下有益效果:As can be seen from the foregoing technical solutions, the present invention has the following beneficial effects:
1、利用本发明,通过在MANET网络中引入缓存和资源定位信息备份机制,客户节点将服务提供节点提供的服务内容缓存到Cache中,再读取Cache,将从Cache中读取的服务内容播放给用户,并将在资源定位过程中得到的多余的资源定位信息缓存到与自身连接的BSP List中进行备份,当服务发生中断时,客户节点继续播放缓存在Cache中的服务内容,并同时利用备份的资源定位信息进行恢复,缩短了服务恢复所需时间,大大减小了服务中断对播放连续性的影响,进而有效地保障了MANET网络的服务质量。1. Using the present invention, by introducing a cache and resource location information backup mechanism in the MANET network, the client node caches the service content provided by the service provider node into the Cache, then reads the Cache, and plays the service content read from the Cache to the user, and cache the redundant resource location information obtained during the resource location process into the BSP List connected to itself for backup. When the service is interrupted, the client node continues to play the service content cached in the Cache, and at the same time utilizes The backup resource location information is restored, which shortens the time required for service restoration, greatly reduces the impact of service interruption on playback continuity, and thus effectively guarantees the service quality of the MANET network.
2、利用本发明,在服务中断后的整个查询和重连接过程中,客户节点一直播放缓存在Cache中的服务内容,使得整个服务中断和恢复的过程对用户不可见,进而大大提高了流量播放的连续性,有效地保障了MANET网络的服务质量。2. With the present invention, during the entire query and reconnection process after the service interruption, the client node keeps playing the service content cached in the Cache, so that the entire service interruption and recovery process is invisible to the user, thereby greatly improving the traffic playback The continuity of the network effectively guarantees the quality of service of the MANET network.
3、利用本发明,由于将资源定位信息备份到BSP List中,在服务发生中断后,缩短了进行资源重定位所需要的时间,有效地保障了MANET网络的服务质量。3. Utilizing the present invention, since the resource location information is backed up in the BSP List, after the service is interrupted, the time required for resource relocation is shortened, and the service quality of the MANET network is effectively guaranteed.
4、利用本发明,由于本发明提供的保障MANET网络服务质量的方法,无需对现有MANET网络中的硬件设备进行改动,也无需在现有MANET网络中增加硬件设备,是基于现有设备和协议的服务质量保障策略,可以在不修改现有的网络结构情况下提供保障服务质量的应用程序接口(Application Programming Interface,API),从而更加有利于本发明的广泛推广和应用。4. Utilize the present invention, because the method for guaranteeing MANET network service quality provided by the present invention does not need to change the hardware equipment in the existing MANET network, and does not need to increase hardware equipment in the existing MANET network, it is based on existing equipment and The quality of service guarantee strategy of the protocol can provide an application programming interface (Application Programming Interface, API) that guarantees the quality of service without modifying the existing network structure, which is more conducive to the widespread promotion and application of the present invention.
附图说明 Description of drawings
图1为qd与Cache大小之间关系的示意图;Figure 1 is a schematic diagram of the relationship between qd and Cache size;
图2为qt与Cache大小之间关系的示意图;Fig. 2 is a schematic diagram of the relationship between qt and Cache size;
图3为本发明提供的保障MANET网络服务质量总体技术方案的实现流程图;Fig. 3 is the realization flowchart of the overall technical scheme of guaranteeing MANET network quality of service provided by the present invention;
图4为依照本发明实施例保障MANET网络服务质量的方法流程图。Fig. 4 is a flowchart of a method for guaranteeing service quality of a MANET network according to an embodiment of the present invention.
具体实施方式 Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
本发明的核心内容是:通过在MANET网络中引入缓存和资源定位信息备份机制,客户节点将服务提供节点提供的服务内容缓存到Cache中,再读取Cache,将从Cache中读取的服务内容播放给用户,并将在资源定位过程中得到的多余的资源定位信息缓存到与自身连接的BSP List中进行备份,当服务发生中断时,客户节点继续播放缓存在Cache中的服务内容,并同时利用备份的资源定位信息进行恢复,有效地为MANET网络的服务质量提供了保障。The core content of the present invention is: by introducing cache and resource location information backup mechanism in MANET network, client node caches the service content that service provider node provides in Cache, then reads Cache, will read the service content from Cache Play it to the user, and cache the redundant resource location information obtained during the resource location process to the BSP List connected to itself for backup. When the service is interrupted, the client node continues to play the service content cached in the Cache, and at the same time Utilizing the backup resource location information to restore effectively guarantees the service quality of the MANET network.
以下对本发明提供技术方案的实现原理进行详细介绍。The implementation principle of the technical solution provided by the present invention will be introduced in detail below.
……公式1 ……
……公式2 ...
上述公式1反映了在数据传输方面的服务质量,当网络的丢包率越高,服务质量无法保证时,qd越小。上述公式2反映了在服务时间方面的服务质量,当客户端节点发生播放中断的时间越多,qt的值越大。各种服务保障策略,应该设法尽量提高qd,降低qt。The
图1和图2分别反映了qd和qt与Cache大小的关系。图1为qd与Cache大小之间关系的示意图,图2为qt与Cache大小之间关系的示意图。显然,从图1和图2可以看出,随着Cache的增大,qd越大,qt越小,服务质量越好,但是由于移动设备有限的储存容量和经济条件等原因,设置特别大的Cache是不现实,因此,本发明中Cache的范围为max(t′)*s≤c≤max(t+t′)*s,其中c为Cache的大小,s为客户端的播放速率,t′是客户端与资源提供者的建立连接所需的时间,t是客户端重新定位资源的时间。Figure 1 and Figure 2 respectively reflect the relationship between qd and qt and Cache size. FIG. 1 is a schematic diagram of the relationship between qd and the size of the Cache, and FIG. 2 is a schematic diagram of the relationship between qt and the size of the Cache. Obviously, it can be seen from Figure 1 and Figure 2 that with the increase of Cache, the larger the qd, the smaller the qt, and the better the service quality. However, due to the limited storage capacity of mobile devices and economic conditions, setting a particularly large Cache is unrealistic, therefore, the scope of Cache among the present invention is max(t')*s≤c≤max(t+t')*s, wherein c is the size of Cache, s is the playback rate of client, t' is the time required for the client to establish a connection with the resource provider, and t is the time for the client to relocate the resource.
基于上述原理,图3和图4示出了本发明提供的保障MANET网络服务质量的方法。如图3所示,图3为本发明提供的保障MANET网络服务质量总体技术方案的实现流程图,该方法包括以下步骤:Based on the above principles, Fig. 3 and Fig. 4 show the method for guaranteeing the quality of service of the MANET network provided by the present invention. As shown in Fig. 3, Fig. 3 is the realization flowchart of the overall technical scheme of guaranteeing MANET network quality of service provided by the present invention, and this method comprises the following steps:
步骤301:MANET网络中的客户节点从获取的资源定位信息中选择一个资源定位信息,建立自身与对应于选择的资源定位信息的服务提供节点之间的连接,将未选中的资源定位信息保存到与自身连接的BSP List中;Step 301: the client node in the MANET network selects a resource location information from the obtained resource location information, establishes a connection between itself and the service provider node corresponding to the selected resource location information, and saves the unselected resource location information to In the BSP List connected to itself;
步骤302:客户节点将建立连接的服务提供节点提供的服务内容缓存到Cache中,读取Cache,将从Cache中读取的服务内容播放给用户,并在服务中断后执行步骤303;Step 302: the client node caches the service content provided by the connected service provider node into the Cache, reads the Cache, plays the service content read from the Cache to the user, and executes
步骤303:客户节点从保存了资源定位信息的BSP List中选择一个资源定位信息,建立自身与对应于选择的资源定位信息的服务提供节点之间的连接,然后执行步骤302。Step 303: The client node selects a piece of resource location information from the BSP List that stores the resource location information, establishes a connection between itself and the service provider node corresponding to the selected resource location information, and then executes
上述步骤301之前可以进一步包括:MANET网络中的客户节点向整个MANET网络发送请求获取资源定位信息的广播消息,MANET网络中的服务提供节点接收到所述广播消息,将自身的资源定位信息携带在响应消息中返回给客户节点,客户节点接收服务提供节点返回的响应消息。Before the
上述客户节点接收到服务提供节点返回的响应消息后进一步包括:客户节点判断接收的响应消息的个数,如果响应消息的个数为一个,则再次向整个MANET网络发送获取资源定位信息的广播消息,在接收到携带资源定位信息的响应消息后执行步骤301;否则,直接执行步骤301。After the above-mentioned client node receives the response message returned by the service provider node, it further includes: the client node judges the number of response messages received, and if the number of response messages is one, then send a broadcast message to the entire MANET network to obtain resource location information again , execute
步骤301中所述客户节点在获取的资源定位信息中选择一个资源定位信息时,客户节点可以在获取的资源定位信息中根据实际需要或某种策略进行选择。例如:客户节点判断携带资源定位信息响应消息的响应时间,选择响应时间短的响应消息中携带的资源定位信息;或者客户节点判断资源定位信息中包含的带宽信息,选择带宽大的资源定位信息;或者客户节点判断资源定位信息中包含的跳数信息,选择跳数少的资源定位信息等。In
步骤302中所述在服务中断后进一步包括:客户节点继续读取Cache,并将从Cache中读取的服务内容播放给用户。In
步骤303中所述客户节点从BSP List中选择一个资源定位信息时,客户节点也可以从BSP List中保存的资源定位信息中根据实际需要或某种策略进行选择。例如:客户节点判断携带资源定位信息响应消息的响应时间,选择响应时间短的响应消息中携带的资源定位信息;或者客户节点判断资源定位信息中包含的带宽信息,选择带宽大的资源定位信息;或者客户节点判断资源定位信息中包含的跳数信息,选择跳数少的资源定位信息等。When the client node in
基于图3所述的本发明保障MANET网络服务质量总体技术方案,图4示出了依照本发明实施例保障MANET网络服务质量的方法流程图,该方法包括以下步骤:Based on the overall technical solution for guaranteeing MANET network service quality of the present invention described in FIG. 3 , FIG. 4 shows a flow chart of a method for guaranteeing MANET network service quality according to an embodiment of the present invention. The method includes the following steps:
步骤401:MANET网络中的客户节点向整个MANET网络发送广播消息,请求获取资源定位信息;Step 401: the client node in the MANET network sends a broadcast message to the entire MANET network, requesting to obtain resource location information;
所述资源定位信息至少包括服务提供节点的地址和资源在服务提供节点的具体位置,所述服务提供节点的地址可以为服务提供节点的IP地址;另外所述资源定位信息还可以进一步包括服务提供节点的路径信息;客户节点可以根据资源定位信息中携带的信息建立自身与服务提供节点之间的连接,接受服务提供节点提供的服务。The resource location information includes at least the address of the service provider node and the specific location of the resource in the service provider node. The address of the service provider node may be the IP address of the service provider node; in addition, the resource location information may further include the service provider The path information of the node; the client node can establish a connection between itself and the service provider node according to the information carried in the resource location information, and accept the service provided by the service provider node.
步骤402:MANET网络中的服务提供节点接收到客户节点发送的广播消息,将自身的资源定位信息携带在响应消息中返回给客户节点。Step 402: The service provider node in the MANET network receives the broadcast message sent by the client node, and carries its own resource location information in the response message and returns it to the client node.
步骤403:客户节点接收服务提供节点返回的响应消息,判断接收的响应消息的个数,如果响应消息的个数为一个,则执行步骤404;如果响应消息的个数为大于一个,则执行步骤405;Step 403: the client node receives the response message returned by the service provider node, and judges the number of the received response message, if the number of the response message is one, then execute
在本步骤中,每个响应消息携带一个资源定位信息,如果客户节点仅接收一个响应消息,则客户节点仅获取一个资源定位信息;如果客户节点接收多个响应消息,则客户节点获取多个资源定位信息。In this step, each response message carries a resource location information, if the client node only receives one response message, then the client node only obtains one resource location information; if the client node receives multiple response messages, then the client node obtains multiple resources positioning information.
步骤404:客户节点再次向整个MANET网络发送广播消息,请求获取资源定位信息,在再次获取到资源定位信息后执行步骤405。Step 404: the client node sends a broadcast message to the entire MANET network again, requesting to obtain resource location information, and executes
步骤405:客户节点在获取的资源定位信息中选择一个资源定位信息,并建立自身与对应于选择的资源定位信息的服务提供节点之间的连接,同时将获取的资源定位信息中未选中的资源定位信息保存到与自身连接的BSP List中;Step 405: The client node selects a resource location information in the obtained resource location information, and establishes a connection between itself and the service provider node corresponding to the selected resource location information, and at the same time unselected resources in the obtained resource location information The positioning information is saved to the BSP List connected to itself;
在本步骤中,所述客户节点在获取的资源定位信息中选择一个资源定位信息包括:In this step, the client node selects a resource location information from the obtained resource location information including:
客户节点判断携带资源定位信息响应消息的响应时间,选择响应时间短的响应消息中携带的资源定位信息;The client node judges the response time of the response message carrying resource location information, and selects the resource location information carried in the response message with short response time;
或者客户节点判断资源定位信息中包含的带宽信息,选择带宽大的资源定位信息;Or the client node judges the bandwidth information contained in the resource location information, and selects the resource location information with large bandwidth;
或者客户节点判断资源定位信息中包含的跳数信息,选择跳数少的资源定位信息。Alternatively, the client node judges the hop count information included in the resource location information, and selects resource location information with a small hop count.
步骤406:客户节点将建立连接的服务提供节点提供的服务内容缓存到Cache中,并读取Cache,将从Cache中读取的内容播放给用户。Step 406: the client node caches the service content provided by the service provider node that established the connection into the Cache, reads the Cache, and plays the content read from the Cache to the user.
步骤407:在播放的过程中,当服务提供节点离开或者由于服务路径断开而导致服务中断时,客户节点继续将从Cache中读取的内容播放给用户,同时检查BSP List,从BSP List中按照某种策略选择一个资源定位信息、;Step 407: During the playback process, when the service provider node leaves or the service is interrupted due to the disconnection of the service path, the client node continues to play the content read from the Cache to the user, and checks the BSP List at the same time, from the BSP List Select a resource location information according to a certain strategy;
在本步骤中,所述客户节点从BSP List中选择一个资源定位信息的策略包括:In this step, the strategy of selecting a resource location information from the BSP List by the client node includes:
客户节点判断携带资源定位信息响应消息的响应时间,选择响应时间短的响应消息中携带的资源定位信息;The client node judges the response time of the response message carrying resource location information, and selects the resource location information carried in the response message with short response time;
或者客户节点判断资源定位信息中包含的带宽信息,选择带宽大的资源定位信息;Or the client node judges the bandwidth information contained in the resource location information, and selects the resource location information with large bandwidth;
或者客户节点判断资源定位信息中包含的跳数信息,选择跳数少的资源定位信息。Alternatively, the client node judges the hop count information included in the resource location information, and selects resource location information with a small hop count.
步骤408:客户节点利用步骤407选到资源定位信息,建立自身与对应于选择的资源定位信息的服务提供节点之间的连接,接受新建立连接的服务提供节点提供的服务,将新建立连接的服务提供节点提供的服务内容缓存到Cache中,恢复中断的服务。Step 408: The client node uses
在服务中断后的整个查询和重连接过程中,客户节点一直播放缓存在Cache中的内容,使得整个服务中断和恢复的过程对用户不可见,提高了流量播放的连续性。During the entire query and reconnection process after the service interruption, the client node keeps playing the content cached in the Cache, making the entire service interruption and recovery process invisible to the user and improving the continuity of traffic playback.
另外,BSP List的使用,缩短了在服务发生中断后,进行资源重定位所需要的时间;而Cache的使用,使得当服务中断时,在资源重定位时间和重连接时间内,节点仍能坚持连续播放。In addition, the use of BSP List shortens the time required for resource relocation after the service is interrupted; and the use of Cache makes it possible for nodes to persist in resource relocation time and reconnection time when the service is interrupted. Play continuously.
在本发明所举的这个实施例的步骤405中,客户节点在获取的资源定位信息中选择一个资源定位信息时,是根据携带资源定位信息响应消息的响应时间,选择响应时间短的响应消息中携带的资源定位信息,或者根据资源定位信息中包含的带宽信息,选择带宽大的资源定位信息,或者客户节点判断资源定位信息中包含的跳数信息,选择跳数少的资源定位信息。在实际应用中,客户节点在获取的资源定位信息中选择一个资源定位信息时,可以根据实际需要或其他策略进行选择。这样的技术方案与本发明实施例中所举的技术方案在思路上是一致的,应包含在本发明的保护范围之内。In
在本发明所举的这个实施例的步骤407中,客户节点从BSP List中选择一个资源定位信息时,是根据携带资源定位信息响应消息的响应时间,选择响应时间短的响应消息中携带的资源定位信息,或者根据资源定位信息中包含的带宽信息,选择带宽大的资源定位信息,或者客户节点判断资源定位信息中包含的跳数信息,选择跳数少的资源定位信息。在实际应用中,客户节点在获取的资源定位信息中选择一个资源定位信息时,可以根据实际需要或其他策略进行选择。这样的技术方案与本发明实施例中所举的技术方案在思路上是一致的,应包含在本发明的保护范围之内。In
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100809882A CN100384171C (en) | 2006-05-26 | 2006-05-26 | A Method for Guaranteeing Quality of Service in Mobile Ad Hoc Networks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100809882A CN100384171C (en) | 2006-05-26 | 2006-05-26 | A Method for Guaranteeing Quality of Service in Mobile Ad Hoc Networks |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1852208A CN1852208A (en) | 2006-10-25 |
CN100384171C true CN100384171C (en) | 2008-04-23 |
Family
ID=37133678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100809882A Expired - Fee Related CN100384171C (en) | 2006-05-26 | 2006-05-26 | A Method for Guaranteeing Quality of Service in Mobile Ad Hoc Networks |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100384171C (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040022223A1 (en) * | 2002-08-05 | 2004-02-05 | Harris Corporation | Monitoring link quality in a mobile ad hoc network |
CN1564540A (en) * | 2004-04-19 | 2005-01-12 | 中国科学院计算技术研究所 | Internet access method based on demanded route in mobile self-organizing net |
CN1585329A (en) * | 2004-06-08 | 2005-02-23 | 中国科学院计算技术研究所 | Phonetic telecommunication method for mobile self-organizing network |
US20050054346A1 (en) * | 2003-09-09 | 2005-03-10 | Harris Corporation, Corporation Of The State Of Delaware | Load leveling in mobile ad-hoc networks to support end-to-end delay reduction, QoS and energy leveling |
US20060056353A1 (en) * | 2004-09-15 | 2006-03-16 | Alcatel | QoS capable mobile ad-hoc network device |
-
2006
- 2006-05-26 CN CNB2006100809882A patent/CN100384171C/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040022223A1 (en) * | 2002-08-05 | 2004-02-05 | Harris Corporation | Monitoring link quality in a mobile ad hoc network |
CN1679284A (en) * | 2002-08-05 | 2005-10-05 | 哈里公司 | Monitoring link quality in a mobile ad hoc network |
US20050054346A1 (en) * | 2003-09-09 | 2005-03-10 | Harris Corporation, Corporation Of The State Of Delaware | Load leveling in mobile ad-hoc networks to support end-to-end delay reduction, QoS and energy leveling |
CN1564540A (en) * | 2004-04-19 | 2005-01-12 | 中国科学院计算技术研究所 | Internet access method based on demanded route in mobile self-organizing net |
CN1585329A (en) * | 2004-06-08 | 2005-02-23 | 中国科学院计算技术研究所 | Phonetic telecommunication method for mobile self-organizing network |
US20060056353A1 (en) * | 2004-09-15 | 2006-03-16 | Alcatel | QoS capable mobile ad-hoc network device |
Non-Patent Citations (3)
Title |
---|
A fast handover M-MANET with QoS support. Sasan Adibi,Mohammad Naserian, Shervin Erfani.IEEE. 2005 * |
Achieve load balancing andavoidbandwidthfragmentationinMANET QoS routing. Bo Rong,Michel Kadoch, Ahmed K.Elhakeem.IEEE. 2005 * |
Supporting QoS in MANET by aFuzzyPrioritySchedulerandPerformance Analysis with MixedTraffic. C.Gomathy, S.Shanmugavel.The 2005 IEEE International Conference on Fuzzy Systems. 2005 * |
Also Published As
Publication number | Publication date |
---|---|
CN1852208A (en) | 2006-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10972545B2 (en) | Method and apparatus for multipath communication | |
KR100691505B1 (en) | Communication mode control method of multi-mode terminal and multi-mode terminal | |
US9407507B2 (en) | Topology discovery in a hybrid network | |
US9699817B2 (en) | Methods to preemptively search and select LTE-direct expressions for uninterrupted device-to-device communication | |
US8774130B2 (en) | Access point, L2 switch and method of supporting multicast handover using the access point and L2 switch | |
CN101395851A (en) | Seamless handover method and system | |
KR20120066040A (en) | Method, system and divice for network handover | |
TW200843430A (en) | Methods and apparatus for use in a communication system | |
JP2008546272A (en) | Terminal apparatus having handover function based on SCTP and handover method | |
WO2010067672A1 (en) | Data communication system, radio base station and data communication method | |
WO2021160062A1 (en) | Bluetooth network-based communication method, and node and communication system thereof | |
US20200137153A1 (en) | Method for establishing peer to peer service session over infrastructure link | |
WO2022237602A1 (en) | Method for reporting qoe measurement report, device, apparatus, and storage medium | |
US8325678B2 (en) | Method of performing handover and network system of enabling the method | |
CN105516000A (en) | Stable and efficient adaptive routing strategy used in wireless mobile Mesh network | |
CN101047637B (en) | Method for requiring local mobile anchor point information by access route | |
WO2006123916A1 (en) | Multi-mode user equipment and routing controlling method thereby | |
CN100384171C (en) | A Method for Guaranteeing Quality of Service in Mobile Ad Hoc Networks | |
CN103533056B (en) | A kind of P2P mobile stream media system towards smart mobile phone and method of work thereof | |
US11785522B1 (en) | Path selection between wireless mesh network devices | |
US20070041376A1 (en) | Method and apparatus for performing tunnel signaling over IP tunneling path | |
CN100394739C (en) | A Method for Guaranteeing Quality of Service in Mobile Ad Hoc Networks | |
CN107852677A (en) | Enhanced power in grid network reduces | |
Lai et al. | A novel content popularity and distance based interval caching strategy for named data mobile ad-hoc network (NDMANET) | |
KR100598346B1 (en) | Mobility Support Method for Mobile IP Service |
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 | ||
ASS | Succession or assignment of patent right |
Owner name: G-CLOUD TECHNOLOGY CO., LTD. Free format text: FORMER OWNER: INSTITUTE OF COMPUTING TECHNOLOGY, CHINESE ACADEMY OF SCIENCES Effective date: 20130123 |
|
C41 | Transfer of patent application or patent right or utility model | ||
COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 100080 HAIDIAN, BEIJING TO: 523808 DONGGUAN, GUANGDONG PROVINCE |
|
TR01 | Transfer of patent right |
Effective date of registration: 20130123 Address after: 523808 Guangdong province Dongguan City Songshan Lake Science and Technology Industrial Park Building No. 14 Keyuan pine Patentee after: G-CLOUD TECHNOLOGY Co.,Ltd. Address before: 100080 Haidian District, Zhongguancun Academy of Sciences, South Road, No. 6, No. Patentee before: Institute of Computing Technology, Chinese Academy of Sciences |
|
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20151130 Address after: 028021, the Inner Mongolia Autonomous Region, Tongliao Tongliao economic and Technological Development Zone, the former building of the former armed police Patentee after: Inner Mongolia state cloud Technology Co.,Ltd. Address before: 523808 Guangdong province Dongguan City Songshan Lake Science and Technology Industrial Park Building No. 14 Keyuan pine Patentee before: G-CLOUD TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200103 Address after: 523808 19th Floor, Cloud Computing Center, Chinese Academy of Sciences, No. 1 Kehui Road, Songshan Lake Hi-tech Industrial Development Zone, Dongguan City, Guangdong Province Patentee after: G-CLOUD TECHNOLOGY Co.,Ltd. Address before: 028021, the Inner Mongolia Autonomous Region, Tongliao Tongliao economic and Technological Development Zone, the former building of the former armed police Patentee before: Inner Mongolia state cloud Technology Co.,Ltd. |
|
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: 20080423 |