The present invention is a continuous k nearest neighbor query method in a time dependent road network. This method precalculates the potential 1NN result area for each point of interest in the off-line phase. When the query is initiated, the method first searches for the potential 1NN result area that intersects the smallest outsourced rectangle made up of each pair of adjacent endpoints on the specified path, and corresponds to it. The interest points are added to the result candidate concentration; then the arrival time of the specified path and the weight function of the corresponding edge can be used to calculate the arrival time of each endpoint on the specified path; and then, according to the direction of the query point, the function model of each point path to each point of interest is established for each sub path, and the final basis is based on the direction of the query point. The function model can effectively find the temporal and spatial segmentation points and the corresponding k nearest neighbor results of k nearest neighbor results. The invention can quickly retrieve the candidate result candidate set which may be the result, and then divide the time segmentation point according to the function model, and effectively solve the continuous k nearest neighbor query in the time dependent road network.
【技术实现步骤摘要】
一种时间依赖路网中的连续k近邻查询方法
本专利技术属于近邻查询
,具体为一种时间依赖路网中的连续k近邻查询方法,利用查询点到兴趣点最快行驶时间函数模型算法实现时间依赖路网中的连续k近邻查询技术。
技术介绍
随着网络的发展,移动终端的普及,在线地图服务的快速进展及其在手持设备和汽车导航系统中的广泛部署导致了基于位置服务的广泛使用。这对于政府决策,企业利益,个人生活便利都带来很大帮助。例如,为政府单位在交通,医疗等资源配置,提供决策的辅助作用;对于企业的物流管理提供相关信息及对于个人餐饮、娱乐、购物等也带来极大便利。因此,如何更好的满足用户对位置服务的需求,已经成为当前近邻查询技术的热点问题。现有的近邻查询技术主要解决了静态路网中的k近邻查询、时间依赖路网中的k近邻查询以及静态路网中的连续k近邻查询。静态路网中的k近邻查询常用方法有INE(增量网络扩展)、IER(增量欧几里得约束)、DisBrw、ROAD、和G-tree。由于在时间依赖路网中边权值不断变化,所以这些方法不适用。解决时间依赖路网中k近邻查询的方法主要有时间扩展图、TD-INE、TNL和LNI索引、TD-FTT等方法。虽然这些方法可以解决了边权值不断变化的难点,但是不能解决查询点不断移动的问题。IE(Intersectionexamination)、UBA(UpperBoundAlgorithm)、UNICONS(auniquecontinuoussearchalgorithm)、DAR和DAR、VCkNN等方法解决了静态路网中指定路径的连续k近邻查询,但是这些方法都假设边的权值是恒定的,无 ...
【技术保护点】
1.一种时间依赖路网中的连续k近邻查询方法,其特征在于:包括以下步骤:步骤1、预计算路网中每个兴趣点潜在的1NN区域;步骤2、查找指定路径上与每两个相邻端点的最小外包矩形相交的兴趣点的潜在1NN区域,并将相交的潜在1NN区域的生成器加入到相应的候选集中;步骤3、根据查询点到候选集中兴趣点的行驶时间函数建立函数模型。
【技术特征摘要】
1.一种时间依赖路网中的连续k近邻查询方法,其特征在于:包括以下步骤:步骤1、预计算路网中每个兴趣点潜在的1NN区域;步骤2、查找指定路径上与每两个相邻端点的最小外包矩形相交的兴趣点的潜在1NN区域,并将相交的潜在1NN区域的生成器加入到相应的候选集中;步骤3、根据查询点到候选集中兴趣点的行驶时间函数建立函数模型。2.如权利要求1所述的一种时间依赖路网中的连续k近邻查询方法,其特征在于:所述的步骤2中将相交的潜在1NN区域的生成器加入到相应的候选集中包括以下步骤:步骤2.1:如果候选集个数大于等于需要查找的近邻个数,执行步骤3;步骤2.2:如果候选集个数小于需要查找的近邻个数,将相邻端点沿着两个端点扩展n倍,直到满足候选集个数大于等于需要查找的近邻个数,再执行步骤3。3.如权利要求1所述的一种时间依赖路网中的连续k近邻查询方法,其特征在于:步骤3中的建模方法包括以下步骤:步骤3.1:由已知的出发时间和相邻端点的行驶时间函数可以计算出指定路径上每个端点的到达时间;步骤3.2:根据端点到兴趣点的行驶时间函数以及相邻端点的行驶时间函数可以建立查询点到兴趣点的行驶时间函数模型;步骤3.3:由步骤3.2的函数模型可以找到时间分割点,将时间分割点对应到路网上。4.根据权利要求3所述的一种时间依赖路网中的连...
【专利技术属性】
技术研发人员:李佳佳,李雨现,夏秀峰,
申请(专利权)人:沈阳航空航天大学,
类型:发明
国别省市:辽宁,21
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。