[go: up one dir, main page]

CN103200676B - The method for building up of fingerprint base and device - Google Patents

The method for building up of fingerprint base and device Download PDF

Info

Publication number
CN103200676B
CN103200676B CN201310108333.1A CN201310108333A CN103200676B CN 103200676 B CN103200676 B CN 103200676B CN 201310108333 A CN201310108333 A CN 201310108333A CN 103200676 B CN103200676 B CN 103200676B
Authority
CN
China
Prior art keywords
acquisition point
point
target
similarity
acquisition
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
CN201310108333.1A
Other languages
Chinese (zh)
Other versions
CN103200676A (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 CN201310108333.1A priority Critical patent/CN103200676B/en
Publication of CN103200676A publication Critical patent/CN103200676A/en
Application granted granted Critical
Publication of CN103200676B publication Critical patent/CN103200676B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Collating Specific Patterns (AREA)

Abstract

本发明公开了一种指纹库的建立方法及装置,能够减少指纹库中噪声点的数量。该方法包括:根据目标采集点的信号强度及该目标采集点邻近的至少一个采集点的信号强度,确定该目标采集点是否为噪声点;如果该目标采集点为噪声点,则根据该至少一个采集点的信号强度,确定该目标采集点的信号强度;将该目标采集点的信号强度、与预存的该目标采集点的位置信息对应存储,建立指纹库。这样,通过根据信号强度对采集点进行选择滤除噪声点,从而能够减少指纹库中噪声点的数量。本发明实施例主要应用于建立指纹库,能够减少指纹库中噪声点的数量。

The invention discloses a method and device for establishing a fingerprint library, which can reduce the number of noise points in the fingerprint library. The method includes: determining whether the target collection point is a noise point according to the signal strength of the target collection point and the signal strength of at least one collection point adjacent to the target collection point; if the target collection point is a noise point, then according to the at least one The signal strength of the collection point is determined to determine the signal strength of the target collection point; the signal strength of the target collection point is correspondingly stored with the pre-stored position information of the target collection point, and a fingerprint library is established. In this way, the number of noise points in the fingerprint database can be reduced by selecting the collection points according to the signal strength to filter out the noise points. The embodiment of the present invention is mainly applied to establishing a fingerprint database, which can reduce the number of noise points in the fingerprint database.

Description

指纹库的建立方法及装置Method and device for establishing fingerprint library

技术领域technical field

本发明涉及定位技术领域,特别涉及一种指纹库的建立方法及装置。The invention relates to the field of positioning technology, in particular to a method and device for establishing a fingerprint library.

背景技术Background technique

指纹匹配的定位技术为一种实现室内定位的技术。指纹匹配的定位技术可以分为两个阶段,即离线阶段(Offlinestage)和在线阶段(Onlinestage)。离线阶段是指选取指纹点(指纹点也可以称为指纹采集点或参考点)后,每个指纹点周围AP(接入点,英文全称为AccessPoint)的信号强度建立指纹库。在线阶段是指建立指纹库后,移动终端接收周围AP的信号强度,将移动终端接收的信号强度与数据库进行匹配运算,确定移动终端所在的位置。The positioning technology of fingerprint matching is a technology for realizing indoor positioning. The positioning technology of fingerprint matching can be divided into two stages, namely offline stage (Offlinestage) and online stage (Onlinestage). The offline stage refers to the establishment of a fingerprint library based on the signal strength of APs (access points, English full name AccessPoint) around each fingerprint point after selecting fingerprint points (fingerprint points can also be called fingerprint collection points or reference points). The online phase means that after the fingerprint library is established, the mobile terminal receives the signal strength of the surrounding APs, and performs matching calculations on the signal strength received by the mobile terminal and the database to determine the location of the mobile terminal.

由于不同AP的信号及其它信号之间的相互干扰,某一指纹点与其周围指纹点采集的同一AP的信号强度可能差异较大,这样的指纹点称为噪声点。噪声点采集的信号强度与周围指纹点采集的信号强度差异较大,导致引入噪声点的指纹库的信号强度分布不规律,应用存在噪声点的指纹库进行在线阶段的匹配运算,影响定位结果的精确度。Due to the mutual interference between the signals of different APs and other signals, the signal strength of the same AP collected by a certain fingerprint point and its surrounding fingerprint points may be quite different. Such fingerprint points are called noise points. The signal strength collected by the noise point is quite different from the signal strength collected by the surrounding fingerprint points, which leads to irregular signal strength distribution of the fingerprint library that introduces the noise point. Applying the fingerprint library with the noise point to carry out the matching operation in the online stage will affect the accuracy of the positioning results. Accuracy.

因此,如何减少指纹库中的噪声点的数量以提高定位精确度,是当前需要解决的问题。Therefore, how to reduce the number of noise points in the fingerprint library to improve the positioning accuracy is a problem that needs to be solved at present.

发明内容Contents of the invention

本发明实施例提供了一种指纹库的建立方法及装置,能够减少指纹库中的噪声点的数量。The embodiment of the present invention provides a method and device for establishing a fingerprint library, which can reduce the number of noise points in the fingerprint library.

本发明实施例采用如下技术方案:The embodiment of the present invention adopts following technical scheme:

第一方面,提供一种指纹库的建立方法,包括:In the first aspect, a method for establishing a fingerprint library is provided, including:

根据目标采集点的信号强度及所述目标采集点邻近的至少一个采集点的信号强度,确定所述目标采集点是否为噪声点;如果所述目标采集点为噪声点,则根据所述至少一个采集点的信号强度,确定所述目标采集点的信号强度;将所述目标采集点的信号强度、与预存的所述目标采集点的位置信息对应存储,建立指纹库。According to the signal strength of the target collection point and the signal strength of at least one collection point adjacent to the target collection point, determine whether the target collection point is a noise point; if the target collection point is a noise point, according to the at least one The signal strength of the collection point is determined to determine the signal strength of the target collection point; the signal strength of the target collection point is correspondingly stored with the pre-stored position information of the target collection point, and a fingerprint library is established.

可选地,所述根据目标采集点的信号强度及所述目标采集点邻近的至少一个采集点的信号强度,确定所述目标采集点是否为噪声点之前,还包括:Optionally, before determining whether the target collection point is a noise point according to the signal strength of the target collection point and the signal strength of at least one collection point adjacent to the target collection point, the method further includes:

按预设条件确定所述目标采集点的邻域,所述邻域由所述目标采集点及所述至少一个采集点组成。A neighborhood of the target collection point is determined according to a preset condition, and the neighborhood is composed of the target collection point and the at least one collection point.

可选地,所述根据目标采集点的信号强度及所述目标采集点邻近的采集点的信号强度,确定所述目标采集点是否为噪声点包括:Optionally, the determining whether the target collection point is a noise point according to the signal strength of the target collection point and the signal strengths of collection points adjacent to the target collection point includes:

根据所述目标采集点的信号强度及所述至少一个采集点的信号强度,确定所述目标采集点的第一相似度均值;根据所述目标采集点的信号强度及所述至少一个采集点的信号强度,确定所述至少一个采集点的第二相似度均值;将所述第一相似度均值与第二相似度均值进行比较,如果所述第一相似度均值大于所述第二相似度均值,则所述目标采集点为噪声点。According to the signal strength of the target collection point and the signal strength of the at least one collection point, determine the first similarity mean value of the target collection point; according to the signal strength of the target collection point and the signal strength of the at least one collection point Signal strength, determining a second similarity average of the at least one collection point; comparing the first similarity average with the second similarity average, if the first similarity average is greater than the second similarity average , then the target collection point is a noise point.

可选地,所述根据所述至少一个采集点的信号强度,确定所述目标采集点的信号强度包括:Optionally, the determining the signal strength of the target collection point according to the signal strength of the at least one collection point includes:

将所述至少一个采集点的信号强度均值,作为所述目标采集点的信号强度;或者,从所述至少一个采集点中滤除噪声点,将剩余采集点的信号强度均值,作为所述目标采集点的信号强度。Taking the mean value of the signal strength of the at least one collection point as the signal strength of the target collection point; or, filtering out noise points from the at least one collection point, and taking the mean value of the signal strength of the remaining collection points as the target The signal strength of the collection point.

可选地,所述根据所述目标采集点的信号强度及所述至少一个采集点的信号强度,确定所述目标采集点的第一相似度均值包括:Optionally, the determining the first similarity mean value of the target collection point according to the signal strength of the target collection point and the signal strength of the at least one collection point includes:

根据所述目标采集点的信号强度及所述至少一个采集点的信号强度,确定所述目标采集点与所述至少一个采集点的相似度,将所述目标采集点与所述至少一个采集点的相似度的平均值,作为所述目标采集点的第一相似度均值;所述根据所述目标采集点的信号强度及所述至少一个采集点的信号强度,确定所述至少一个采集点的第二相似度均值包括:根据所述目标采集点的信号强度及所述至少一个采集点的信号强度,确定所述至少一个采集点中每个采集点与各自相邻采集点的相似度,根据所述每个采集点与各自相邻采集点的相似度的平均值,确定所述至少一个采集点的第二相似度均值。According to the signal strength of the target collection point and the signal strength of the at least one collection point, determine the similarity between the target collection point and the at least one collection point, and compare the target collection point and the at least one collection point The average value of the similarity of the target collection point is used as the first similarity average value of the target collection point; the signal strength of the at least one collection point is determined according to the signal strength of the target collection point and the signal strength of the at least one collection point The second similarity mean value includes: according to the signal strength of the target collection point and the signal strength of the at least one collection point, determining the similarity between each collection point in the at least one collection point and its respective adjacent collection points, according to The average value of the similarity between each collection point and its respective adjacent collection points is used to determine the second average similarity of the at least one collection point.

第二方面,提供一种指纹库的建立装置,包括:In a second aspect, a device for establishing a fingerprint library is provided, including:

第一确定单元,用于根据目标采集点的信号强度及所述目标采集点邻近的至少一个采集点的信号强度,确定所述目标采集点是否为噪声点;第二确定单元,用于如果所述目标采集点为噪声点,则根据所述至少一个采集点的信号强度,确定所述目标采集点的信号强度;存储单元,用于将所述目标采集点的信号强度、与预存的所述目标采集点的位置信息对应存储,建立指纹库。The first determination unit is used to determine whether the target collection point is a noise point according to the signal strength of the target collection point and the signal strength of at least one collection point adjacent to the target collection point; the second determination unit is used to determine if the target collection point is a noise point. If the target collection point is a noise point, then determine the signal strength of the target collection point according to the signal strength of the at least one collection point; the storage unit is used to combine the signal strength of the target collection point with the prestored The location information of the target collection point is correspondingly stored, and a fingerprint database is established.

可选地,还还包括:Optionally, also include:

第三确定单元,用于按预设条件确定所述目标采集点的邻域,所述邻域由所述目标采集点及所述至少一个采集点组成。The third determining unit is configured to determine a neighborhood of the target collection point according to preset conditions, the neighborhood is composed of the target collection point and the at least one collection point.

可选地,所述第一确定单元包括:Optionally, the first determination unit includes:

第一确定子单元,用于根据所述目标采集点的信号强度及所述至少一个采集点的信号强度,确定所述目标采集点的第一相似度均值;第二确定子单元,用于根据所述目标采集点的信号强度及所述至少一个采集点的信号强度,确定所述至少一个采集点的第二相似度均值;第三确定子单元,用于将所述第一相似度均值与第二相似度均值进行比较,如果所述第一相似度均值大于所述第二相似度均值,则所述目标采集点为噪声点。The first determination subunit is configured to determine the first similarity mean value of the target collection point according to the signal strength of the target collection point and the signal strength of the at least one collection point; the second determination subunit is used to determine the first similarity value of the target collection point according to The signal strength of the target collection point and the signal strength of the at least one collection point are used to determine a second average similarity value of the at least one collection point; a third determination subunit is configured to combine the first similarity average value with the The second similarity average is compared, and if the first similarity average is greater than the second similarity average, the target collection point is a noise point.

可选地,所述第二确定单元具体用于,将所述至少一个采集点的信号强度均值,作为所述目标采集点的信号强度;或者,所述第二确定单元具体用于,从所述至少一个采集点中滤除噪声点,将剩余采集点的信号强度均值,作为所述目标采集点的信号强度。Optionally, the second determining unit is specifically configured to use the mean value of the signal strength of the at least one collection point as the signal strength of the target collection point; or, the second determining unit is specifically configured to obtain from the Noise points are filtered out of the at least one collection point, and the average signal strength of the remaining collection points is used as the signal strength of the target collection point.

可选地,所述第一确定子单元具体用于,根据所述目标采集点的信号强度及所述至少一个采集点的信号强度,确定所述目标采集点与所述至少一个采集点的相似度,将所述目标采集点与所述至少一个采集点的相似度的平均值,作为所述目标采集点的第一相似度均值;所述第二确定子单元具体用于,根据所述目标采集点的信号强度及所述至少一个采集点的信号强度,确定所述至少一个采集点中每个采集点与各自相邻采集点的相似度,根据所述每个采集点与各自相邻采集点的相似度的平均值,确定所述至少一个采集点的第二相似度均值。Optionally, the first determining subunit is specifically configured to, according to the signal strength of the target collection point and the signal strength of the at least one collection point, determine that the target collection point is similar to the at least one collection point degree, using the average value of the similarity between the target collection point and the at least one collection point as the first similarity average value of the target collection point; the second determination subunit is specifically configured to, according to the target The signal strength of the collection point and the signal strength of the at least one collection point, determine the similarity between each collection point in the at least one collection point and the respective adjacent collection points, and determine the similarity between each collection point and the respective adjacent collection points according to the The average value of the similarity of the points is determined to determine the second average similarity of the at least one collection point.

基于上述技术方案,本发明实施例提供的指纹库的建立方法及装置,根据目标采集点的信号强度及目标采集点邻近的采集点的信号强度,确定目标采集点是为噪声点后,根据目标采集点邻近的采集点的信号强度,确定目标采集点的信号强度,将目标采集点的信号强度、与预存的目标采集点的位置信息对应存储,建立指纹库。这样,通过根据信号强度对采集点进行选择滤除噪声点,从而能够减少指纹库中噪声点的数量。Based on the above technical solution, the method and device for establishing a fingerprint library provided by the embodiments of the present invention, after determining that the target collection point is a noise point according to the signal strength of the target collection point and the signal strength of the collection points adjacent to the target collection point, according to the target The signal strength of the collection point adjacent to the collection point is determined to determine the signal strength of the target collection point, and the signal strength of the target collection point is correspondingly stored with the pre-stored location information of the target collection point to establish a fingerprint library. In this way, the number of noise points in the fingerprint database can be reduced by selecting the collection points according to the signal strength to filter out the noise points.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1为本发明实施例提供的一种指纹库的建立方法的流程图;Fig. 1 is a flowchart of a method for establishing a fingerprint library provided by an embodiment of the present invention;

图2为本发明实施例提供的另一种指纹库的建立方法的流程图;Fig. 2 is a flow chart of another method for establishing a fingerprint library provided by an embodiment of the present invention;

图3a为本发明实施例提供的一种邻域示意图;Fig. 3a is a schematic diagram of a neighborhood provided by an embodiment of the present invention;

图3b为本发明实施例提供的另一种邻域示意图;FIG. 3b is another schematic diagram of a neighborhood provided by an embodiment of the present invention;

图3c为本发明实施例提供的再一种邻域示意图;Fig. 3c is another schematic diagram of a neighborhood provided by an embodiment of the present invention;

图4a为本发明实施例提供的一种信号强度分布示意图;Fig. 4a is a schematic diagram of a signal strength distribution provided by an embodiment of the present invention;

图4b为本发明实施例提供的一种邻域划分示意图;FIG. 4b is a schematic diagram of neighborhood division provided by an embodiment of the present invention;

图5为本发明实施例提供的再一种指纹库的建立方法的流程图;Fig. 5 is a flow chart of another method for establishing a fingerprint library provided by an embodiment of the present invention;

图6为本发明实施例提供的一种指纹库的建立装置的结构示意图;FIG. 6 is a schematic structural diagram of an apparatus for establishing a fingerprint library provided by an embodiment of the present invention;

图7为本发明实施例提供的另一种指纹库的建立装置的结构示意图;7 is a schematic structural diagram of another device for establishing a fingerprint library provided by an embodiment of the present invention;

图8为本发明实施例提供的再一种指纹库的建立装置的结构示意图。FIG. 8 is a schematic structural diagram of another device for creating a fingerprint library provided by an embodiment of the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明实施例可以应用于各种通信系统,例如WCDMA(WidebandCodeDivisionMultipleAccess,宽带码分多址)系统,LTE(LongTermEvolution,长期演进)系统等。本发明实施例中的信号强度可以为RSSI(接收的信号强度指示,英文全称为ReceivedSignalStrengthIndication)。The embodiments of the present invention can be applied to various communication systems, such as WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access) system, LTE (Long Term Evolution, long term evolution) system, and the like. The signal strength in this embodiment of the present invention may be RSSI (Received Signal Strength Indication, the full English name is ReceivedSignalStrengthIndication).

请参阅图1,本发明实施例提供的一种指纹库的建立方法,该方法可以包括:Referring to Fig. 1, a method for establishing a fingerprint library provided by an embodiment of the present invention, the method may include:

101、根据目标采集点的信号强度及该目标采集点邻近的至少一个采集点的信号强度,确定该目标采集点是否为噪声点。101. Determine whether the target collection point is a noise point according to the signal strength of the target collection point and the signal strength of at least one collection point adjacent to the target collection point.

其中,该目标采集点邻近的至少一个采集点为与该目标采集点位于同一邻域的采集点,邻域的确定方法请参见后续部分。Wherein, at least one collection point adjacent to the target collection point is a collection point located in the same neighborhood as the target collection point. For the determination method of the neighborhood, please refer to the subsequent section.

102、如果该目标采集点为噪声点,则根据该至少一个采集点的信号强度,确定该目标采集点的信号强度。102. If the target collection point is a noise point, determine the signal strength of the target collection point according to the signal strength of the at least one collection point.

103、将该目标采集点的信号强度、与预存的该目标采集点的位置信息对应存储,建立指纹库。103. Store the signal strength of the target collection point corresponding to the pre-stored location information of the target collection point, and establish a fingerprint database.

本发明实施例指纹库的建立方法可以通过指纹库的建立装置实现,该指纹库的建立装置可以为计算机系统或者其他设备,本发明实施例对此不作限定。The method for establishing the fingerprint library in the embodiment of the present invention can be realized by the device for establishing the fingerprint library. The device for establishing the fingerprint library can be a computer system or other equipment, which is not limited in the embodiment of the present invention.

本发明实施例的指纹库的建立方法,根据目标采集点的信号强度及目标采集点邻近的采集点的信号强度,确定目标采集点是为噪声点后,根据目标采集点邻近的采集点的信号强度,确定目标采集点的信号强度,将目标采集点的信号强度、与预存的目标采集点的位置信息对应存储,建立指纹库。这样,通过根据信号强度对采集点进行选择滤除噪声点,从而能够减少指纹库中噪声点的数量。The method for establishing the fingerprint library in the embodiment of the present invention, after determining that the target collection point is a noise point according to the signal strength of the target collection point and the signal strength of the collection points adjacent to the target collection point, according to the signal strength of the collection points adjacent to the target collection point Intensity, to determine the signal strength of the target collection point, store the signal strength of the target collection point and the pre-stored location information of the target collection point correspondingly, and establish a fingerprint library. In this way, the number of noise points in the fingerprint database can be reduced by selecting the collection points according to the signal strength to filter out the noise points.

如图2所示,本发明实施例中,可选地,上述101之前,还包括:As shown in Figure 2, in this embodiment of the present invention, optionally, before the above 101, it also includes:

100、按预设条件确定该目标采集点的邻域,该邻域由该目标采集点及该至少一个采集点组成。100. Determine a neighborhood of the target collection point according to preset conditions, where the neighborhood consists of the target collection point and the at least one collection point.

本发明实施例可以按预设的规则(如形状)确定该目标采集点的邻域。例如,In this embodiment of the present invention, the neighborhood of the target collection point can be determined according to a preset rule (such as shape). For example,

目标采集点p(i1,j1)根据某一规则或形状f确定一个采集点集合U,p(i1,j1)与U中某一采集点q(i2,j2)相关。则p(i1,j1)的邻域的定义如下:The target collection point p(i 1 , j 1 ) determines a collection point set U according to a certain rule or shape f, and p(i 1 , j 1 ) is related to a certain collection point q(i 2 , j 2 ) in U. Then the neighborhood of p(i 1 ,j 1 ) is defined as follows:

Uu == ff (( pp )) NN pp oo == {{ NN qq || ∀∀ qq ∈∈ Uu }} -- -- -- (( 11 -- 11 ))

从(1-1)可知p(i1,j1)的邻域并不包含p(i1,j1),可以称为空心邻域;若p(i1,j1)的邻域包含p(i1,j1),可表示为Np或N。在选取p(i1,j1)的邻域中的采集点时,可以通过形状为正方形、矩形或十字形的规则来选取。常见的邻域有4-域,8-域,12-域,如图3a、3b、3c所示的实心点为中心,小点的虚线方框包含的邻域分别为4-域、8-域、l2-域。From (1-1) we know the neighborhood of p(i 1 ,j 1 ) does not contain p(i 1 ,j 1 ), it can be called a hollow neighborhood; if the neighborhood of p(i 1 ,j 1 ) Contains p(i 1 ,j 1 ), which can be expressed as N p or N. In the neighborhood of choosing p(i 1 ,j 1 ) When collecting points in , you can select them according to the rules whose shape is square, rectangle or cross. Common neighborhoods include 4-domain, 8-domain, and 12-domain. As shown in Figure 3a, 3b, and 3c, the solid point is the center, and the neighborhoods contained in the dotted box with small dots are 4-domain, 8-domain, respectively. domain, l2-domain.

本发明实施例基于指纹匹配算法在建立指纹库时,在得到目标采集点的信号强度(如RSS信号向量)后,记录目标采集点的位置信息(如目标采集点的坐标),将采集点的位置信息与采集点的信号强度(如RSS信号向量)一起作为一条指纹录入指纹库,指纹库中的采集点存在着一定的空间关系。In the embodiment of the present invention, based on the fingerprint matching algorithm, when establishing the fingerprint library, after obtaining the signal strength (such as the RSS signal vector) of the target collection point, record the location information of the target collection point (such as the coordinates of the target collection point), and convert the The location information and the signal strength of the collection point (such as the RSS signal vector) are entered into the fingerprint database as a fingerprint, and the collection points in the fingerprint database have a certain spatial relationship.

本发明实施例中,可选地,上述101中根据目标采集点的信号强度及该目标采集点邻近的采集点的信号强度,确定该目标采集点是否为噪声点时,可以根据该目标采集点的信号强度及该至少一个采集点的信号强度,确定该目标采集点的第一相似度均值;根据该目标采集点的信号强度及该至少一个采集点的信号强度,确定该至少一个采集点的第二相似度均值;将该第一相似度均值与第二相似度均值进行比较,如果该第一相似度均值大于该第二相似度均值,则该目标采集点为噪声点。In the embodiment of the present invention, optionally, when determining whether the target collection point is a noise point according to the signal strength of the target collection point and the signal strength of the collection points adjacent to the target collection point in the above 101, the target collection point can be According to the signal strength of the target collection point and the signal strength of the at least one collection point, determine the first similarity mean value of the target collection point; according to the signal strength of the target collection point and the signal strength of the at least one collection point, determine the at least one collection point. second similarity average: comparing the first similarity average with the second similarity average, if the first similarity average is greater than the second similarity average, then the target collection point is a noise point.

其中,上述根据该目标采集点的信号强度及该至少一个采集点的信号强度,确定该目标采集点的第一相似度均值时,可以根据该目标采集点的信号强度及该至少一个采集点的信号强度,确定该目标采集点与该至少一个采集点的相似度,将该目标采集点与该至少一个采集点的相似度的平均值,作为该目标采集点的第一相似度均值;上述根据该目标采集点的信号强度及该至少一个采集点的信号强度,确定该至少一个采集点的第二相似度均值时,可以根据该目标采集点的信号强度及该至少一个采集点的信号强度,确定该至少一个采集点中每个采集点与各自相邻采集点的相似度,根据该每个采集点与各自相邻采集点的相似度的平均值,确定该至少一个采集点的第二相似度均值。Wherein, when determining the first similarity average value of the target collection point according to the signal strength of the target collection point and the signal strength of the at least one collection point, the signal strength of the target collection point and the signal strength of the at least one collection point can be determined. Signal strength, determining the similarity between the target collection point and the at least one collection point, and using the average value of the similarity between the target collection point and the at least one collection point as the first similarity average value of the target collection point; the above-mentioned basis The signal strength of the target collection point and the signal strength of the at least one collection point, when determining the second similarity mean value of the at least one collection point, can be based on the signal strength of the target collection point and the signal strength of the at least one collection point, Determine the similarity between each collection point of the at least one collection point and the respective adjacent collection points, and determine the second similarity of the at least one collection point according to the average value of the similarity between each collection point and the respective adjacent collection points degree mean.

本发明实施例中,根据AP信号强度的分布区别指纹库中的噪声点。图4a为本发明实施例提供的AP在自由空间中信号强度的分布图,如图4所示,AP的信号覆盖了区域的采集点,由于与AP的距离不同,不同AP接收到的信号强度可能不同。图4a中不同的标号区分信号强度值的范围。In the embodiment of the present invention, the noise points in the fingerprint database are distinguished according to the distribution of AP signal strength. Figure 4a is a distribution diagram of the signal strength of the AP in free space provided by the embodiment of the present invention. As shown in Figure 4, the signal of the AP covers the collection points of the area. Due to the different distances from the AP, the signal strength received by different APs is different. may be different. The different reference numbers in Figure 4a distinguish the range of signal strength values.

在判断图4b中采集点C(目标采集点)是否为噪声点时,可以建立采集点C的8-邻域,根据采集点C的信号强度及4b中采集点C的8-邻域其他采集点的信号强度即可判断采集点C是否噪声点。相邻两个采集点的信号强度具有一定的相似性,本发明实施例中确定相邻两个采集点的相似度值,当相似度值小于预设阀值时,相邻两个采集点中包含噪声点。When judging whether the collection point C (target collection point) in Figure 4b is a noise point, the 8-neighborhood of the collection point C can be established, according to the signal strength of the collection point C and other collections of the 8-neighborhood of the collection point C in 4b The signal strength of the point can be used to judge whether the collection point C is a noise point. The signal strengths of two adjacent collection points have a certain similarity. In the embodiment of the present invention, the similarity value of two adjacent collection points is determined. When the similarity value is less than the preset threshold, the two adjacent collection points Contains noise points.

本发明实施例可以用(1-2)确定相邻两个采集点的相似度,(1-2)中L(a,b)表示相邻两个采集点a和b的相似度,Ra表示AP在采集点a的RSSI值,Rb表示AP在采集点b的RSSI值。In the embodiment of the present invention, (1-2) can be used to determine the similarity between two adjacent collection points. In (1-2), L(a, b) represents the similarity between two adjacent collection points a and b, and R a Indicates the RSSI value of the AP at collection point a, and R b represents the RSSI value of the AP at collection point b.

L(a,b)=-(Ra-Rb)2(1-2)L(a,b)=-(R a -R b ) 2 (1-2)

下面详细说明判断目标采集点是否为噪声点的方法,如果不包含采集点C的8-邻域为包含采集点C的8-邻域为Nc,则:The method for judging whether the target collection point is a noise point is described in detail below. If the 8-neighborhood that does not include the collection point C is The 8-neighborhood containing the collection point C is N c , then:

Nc={P1,P2,...,P8,C}(1-3)N c ={P 1 ,P 2 ,...,P 8 ,C}(1-3)

如果包含采集点C的8-邻域中,采集点Pi(Pi≠C)与其相邻采集点的相似度总和为则:If the collection point C is included in the 8-neighborhood, the sum of the similarities between the collection point P i (P i ≠C) and its adjacent collection points is but:

SS PP ii NN CC == ΣΣ jj ≠≠ ii Uu PP ii NN CC LL (( PP ii ,, PP jj )) ,, PP jj ∈∈ Uu PP ii NN CC -- -- -- (( 11 -- 44 ))

其中,为包含采集点C的8-邻域中,与采集点Pi相邻的采集点的集合,如与采集点P1相邻的采集点为采集点P2、采集点P4及采集点C。与采集点P4相邻的采集点为采集点P1,采集点P2,采集点P6,采集点7,及采集点C。in, is a collection of collection points adjacent to collection point P i in the 8-neighborhood including collection point C, for example, collection points adjacent to collection point P1 are collection point P2, collection point P4, and collection point C. The collection points adjacent to the collection point P4 are the collection point P1, the collection point P2, the collection point P6, the collection point 7, and the collection point C.

采集点Pi(Pi≠C)与相邻点的相似度均值为:The average similarity between the collection point P i (P i ≠ C) and the adjacent points for:

SS ‾‾ PP ii NN CC == SS PP ii NN CC nno pp ii -- -- -- (( 11 -- 55 ))

其中为Pi(Pi≠C)的邻域中采集点的个数,如 in is the number of collected points in the neighborhood of P i (P i ≠ C), such as

NC中除采集点C外所有的采集点点的平均相似度为:The average similarity of all collection points in N C except collection point C for:

SS ‾‾ NN CC oo == 11 88 ΣΣ ii == 11 88 SS ‾‾ PP ii NN CC -- -- -- (( 11 -- 66 ))

采集点C与相邻采集点的相似度总和为:The sum of similarities between collection point C and adjacent collection points for:

SS CC NN CC == ΣΣ ii == 11 88 LL (( CC ,, PP ii )) -- -- -- (( 11 -- 77 ))

采集点C与相邻采集点的相似度均值为:The average similarity between collection point C and adjacent collection points for:

SS ‾‾ CC NN CC == 11 88 SS CC NN CC -- -- -- (( 11 -- 88 ))

时,采集点C为噪声点,反之采集点C为非噪声点。when When , the collection point C is a noise point, otherwise the collection point C is a non-noise point.

本发明实施例中,可选地,上述102中根据该至少一个采集点的信号强度,确定该目标采集点的信号强度时,可以将该至少一个采集点的信号强度均值,作为该目标采集点的信号强度;或者,从该至少一个采集点中滤除噪声点,将剩余采集点的信号强度均值,作为该目标采集点的信号强度。In the embodiment of the present invention, optionally, when determining the signal strength of the target collection point according to the signal strength of the at least one collection point in the above step 102, the mean value of the signal strength of the at least one collection point can be used as the target collection point or, filter out noise points from the at least one collection point, and use the mean value of the signal strengths of the remaining collection points as the signal strength of the target collection point.

例如,图4b中采集点C为噪声点时,将采集点C的邻域中、采集点C以外的采集点的信号强度的均值作为采集点C的信号强度。For example, when the collection point C in Fig. 4b is a noise point, the signal strength of the collection point C is taken as the mean value of the signal strengths of the collection points other than the collection point C in the neighborhood of the collection point C.

或者,将采集点C的邻域中、采集点C以外的采集点中、非噪声点的采集点的信号强度的均值作为采集点C的信号强度。例如,可以应该用(1-9)确定采集点C的信号强度。Alternatively, the signal strength of the collection point C is taken as the mean value of the signal strengths of the collection points in the neighborhood of the collection point C, among the collection points other than the collection point C, and non-noise points. For example, (1-9) may be used to determine the signal strength of the acquisition point C.

RR NN == 11 nno ΣΣ ii nno RR ii -- -- -- (( 11 -- 99 ))

其中,RN为更新后的噪声点的信号强度,Ri为邻域中非噪声点的信号强度,n为邻域中非噪声点的采集点个数。Among them, R N is the signal strength of the updated noise point, R i is the signal strength of the non-noise point in the neighborhood, and n is the number of collection points of the non-noise point in the neighborhood.

需要说明的是,本发明实施例中仅以单个AP为例进行说明,实践中采集点同时接收多个AP的信号建立指纹库时,重复上述单个AP判断噪声点及替换噪声点的信号强度的方法,遍历每个AP,建立指纹库的方法即可,不赘述。应用多个AP建立指纹库时,由于AP的信号覆盖范围有限,采集点未接收到某个AP信号的采集点时,将该AP信号强度设置为不影响计算的值(如-100dBm)并添加到指纹库,这样遍历所有AP后,整个指纹库的每一个采集点均包含所有的AP信号强度。It should be noted that, in the embodiment of the present invention, only a single AP is used as an example for illustration. In practice, when a collection point receives signals from multiple APs at the same time to establish a fingerprint library, the above steps of judging the noise point and replacing the signal strength of the noise point by a single AP are repeated. For the method, the method of traversing each AP and establishing the fingerprint library is sufficient, and will not be described in detail. When using multiple APs to build a fingerprint library, due to the limited signal coverage of APs, when the collection point does not receive a certain AP signal, set the AP signal strength to a value that does not affect the calculation (such as -100dBm) and add to the fingerprint library, so that after traversing all APs, each collection point of the entire fingerprint library contains all AP signal strengths.

本发明实施例的步骤编号仅为区分不同的步骤,不构成对本发明实施例的限定。The step numbers in the embodiment of the present invention are only for distinguishing different steps, and do not constitute a limitation to the embodiment of the present invention.

本发明实施例的指纹库的建立方法,根据目标采集点的信号强度及目标采集点邻近的采集点的信号强度,确定目标采集点是为噪声点后,根据目标采集点邻近的采集点的信号强度,确定目标采集点的信号强度,将目标采集点的信号强度、与预存的目标采集点的位置信息对应存储,建立指纹库。这样,通过根据信号强度对采集点进行选择滤除噪声点,从而能够减少指纹库中噪声点的数量。The method for establishing the fingerprint library in the embodiment of the present invention, after determining that the target collection point is a noise point according to the signal strength of the target collection point and the signal strength of the collection points adjacent to the target collection point, according to the signal strength of the collection points adjacent to the target collection point Intensity, to determine the signal strength of the target collection point, store the signal strength of the target collection point and the pre-stored location information of the target collection point correspondingly, and establish a fingerprint library. In this way, the number of noise points in the fingerprint database can be reduced by selecting the collection points according to the signal strength to filter out the noise points.

下面详细说明本发明实施例的指纹库的建立方法的具体实现过程。The specific implementation process of the method for establishing the fingerprint library in the embodiment of the present invention will be described in detail below.

请参阅图5,本发明实施例提供的另一种指纹库的建立方法,该方法可以包括:Referring to Fig. 5, another method for establishing a fingerprint library provided by an embodiment of the present invention may include:

301、遍历预存的指纹库,找到预存的指纹库中所有AP的集合Q。301. Traverse the pre-stored fingerprint database, and find a set Q of all APs in the pre-stored fingerprint database.

例如,Q={AP1,AP2,...,APn}。For example, Q={AP 1 ,AP 2 ,...,AP n }.

302、将预存的指纹库中每个采集点的信号强度以集合Q的形式进行填充。302. Fill the signal strength of each collection point in the prestored fingerprint database in the form of a set Q.

即,当采集点的信号强度(如RSS信号向量)不包含集合Q中的某个AP的信号强度时,在采集点的信号强度中添加接收的该AP的信号强度,如果未接收到该AP的信号将该AP信号强度设置为不影响计算的值(如-100dBm)。That is, when the signal strength of the collection point (such as the RSS signal vector) does not include the signal strength of an AP in the set Q, add the received signal strength of the AP to the signal strength of the collection point, if the AP is not received Set the AP signal strength to a value that does not affect the calculation (such as -100dBm).

303、在Q中选取每个AP作为信号源,遍历所有采集点确定每个AP的噪声点,并重新确定每个AP的噪声点的信号强度。303. Select each AP in Q as a signal source, traverse all collection points to determine the noise point of each AP, and re-determine the signal strength of the noise point of each AP.

304、更新预存的指纹库中每个采集点的信号强度,与每个采集点的位置信息(如坐标)对应存储,建立新的指纹库。304. Update the signal strength of each collection point in the pre-stored fingerprint database, store correspondingly with the location information (such as coordinates) of each collection point, and establish a new fingerprint database.

其中,每个采集点的位置信息可以存储在上述预存的指纹库中。Wherein, the location information of each collection point can be stored in the above-mentioned pre-stored fingerprint library.

上述301-304仅为简要说明,详细实现过程请参阅本发明其它实施例的指纹库的建立方法。The above 301-304 are only a brief description, and for the detailed implementation process, please refer to the method for establishing a fingerprint database in other embodiments of the present invention.

本发明实施例的指纹库的建立方法,通过根据信号强度对采集点进行选择滤除噪声点,从而能够减少指纹库中噪声点的数量。The method for establishing a fingerprint library in the embodiment of the present invention can reduce the number of noise points in the fingerprint library by selecting collection points according to signal strength and filtering out noise points.

请参阅图6,本发明实施例提供一种指纹库的建立装置,包括:第一确定单元41、第二确定单元42、存储单元43,其中:Please refer to FIG. 6, an embodiment of the present invention provides a device for establishing a fingerprint library, including: a first determination unit 41, a second determination unit 42, and a storage unit 43, wherein:

第一确定单元41,用于根据目标采集点的信号强度及所述目标采集点邻近的至少一个采集点的信号强度,确定目标采集点是否为噪声点;The first determination unit 41 is configured to determine whether the target collection point is a noise point according to the signal strength of the target collection point and the signal strength of at least one collection point adjacent to the target collection point;

第二确定单元42,用于如果目标采集点为噪声点,则根据至少一个采集点的信号强度,确定目标采集点的信号强度;The second determination unit 42 is configured to determine the signal strength of the target collection point according to the signal strength of at least one collection point if the target collection point is a noise point;

存储单元43,用于将目标采集点的信号强度、与预存的目标采集点的位置信息对应存储,建立指纹库。The storage unit 43 is used for correspondingly storing the signal strength of the target collection point and the pre-stored location information of the target collection point to establish a fingerprint library.

如图7所示,本发明实施例中,可选地,上述装置还可以提包括:As shown in Figure 7, in the embodiment of the present invention, optionally, the above device may further include:

第三确定单元40,用于按预设条件确定目标采集点的邻域,邻域由目标采集点及至少一个采集点组成。The third determining unit 40 is configured to determine the neighborhood of the target collection point according to preset conditions, and the neighborhood is composed of the target collection point and at least one collection point.

如图8所示,本发明实施例中,可选地,第一确定单元41可以包括:As shown in FIG. 8, in this embodiment of the present invention, optionally, the first determining unit 41 may include:

第一确定子单元411,用于根据目标采集点的信号强度及至少一个采集点的信号强度,确定目标采集点的第一相似度均值;The first determining subunit 411 is configured to determine the first similarity mean value of the target collection point according to the signal strength of the target collection point and the signal strength of at least one collection point;

第二确定子单元412,用于根据目标采集点的信号强度及至少一个采集点的信号强度,确定至少一个采集点的第二相似度均值;The second determination subunit 412 is configured to determine a second similarity mean value of at least one collection point according to the signal strength of the target collection point and the signal strength of at least one collection point;

第三确定子单元413,用于将第一相似度均值与第二相似度均值进行比较,如果第一相似度均值大于第二相似度均值,则目标采集点为噪声点。The third determining subunit 413 is configured to compare the first average similarity with the second average similarity, and if the first average similarity is greater than the second average similarity, then the target collection point is a noise point.

本发明实施例中,可选地,第二确定单元42可以具体用于,将至少一个采集点的信号强度均值,作为目标采集点的信号强度;In the embodiment of the present invention, optionally, the second determining unit 42 may be specifically configured to use the mean value of the signal strength of at least one collection point as the signal strength of the target collection point;

或者,第二确定单元42可以具体用于,从至少一个采集点中滤除噪声点,将剩余采集点的信号强度均值,作为目标采集点的信号强度。Alternatively, the second determining unit 42 may be specifically configured to filter out noise points from at least one collection point, and use the mean value of the signal strengths of the remaining collection points as the signal strength of the target collection point.

如图8所示,本发明实施例中,可选地,第一确定子单元411可以具体用于,根据目标采集点的信号强度及至少一个采集点的信号强度,确定目标采集点与至少一个采集点的相似度,将目标采集点与至少一个采集点的相似度的平均值,作为目标采集点的第一相似度均值;As shown in FIG. 8 , in this embodiment of the present invention, optionally, the first determining subunit 411 may be specifically configured to, according to the signal strength of the target collection point and the signal strength of at least one collection point, determine the relationship between the target collection point and at least one The similarity of the collection point, using the average value of the similarity between the target collection point and at least one collection point as the first similarity average of the target collection point;

第二确定子单元412可以具体用于,根据目标采集点的信号强度及至少一个采集点的信号强度,确定至少一个采集点中每个采集点与各自相邻采集点的相似度,根据每个采集点与各自相邻采集点的相似度的平均值,确定至少一个采集点的第二相似度均值。The second determination subunit 412 can be specifically configured to determine the similarity between each collection point of at least one collection point and its respective adjacent collection points according to the signal strength of the target collection point and the signal strength of at least one collection point, and according to each The average value of the similarity between the collection points and respective adjacent collection points is used to determine the second average similarity of at least one collection point.

本发明实施例的指纹库的建立装置可以为计算机系统或者其他设备,本发明实施例对此不作限定。本发明实施例的指纹库的建立装置可以实现上述方法实施例,指纹库的建立装置中个单元的具体功能仅为简要描述,详细实现过程请参阅上述方法实施例的相应步骤。The device for establishing the fingerprint database in the embodiment of the present invention may be a computer system or other equipment, which is not limited in the embodiment of the present invention. The device for establishing a fingerprint library in the embodiment of the present invention can realize the above-mentioned method embodiment, and the specific functions of each unit in the device for establishing a fingerprint library are only briefly described. For the detailed implementation process, please refer to the corresponding steps of the above-mentioned method embodiment.

本发明实施例中各单元编号仅为区分不同的单元,不构成对本发明实施例的限定。The numbering of each unit in the embodiment of the present invention is only for distinguishing different units, and does not constitute a limitation to the embodiment of the present invention.

本发明实施例的指纹库的建立装置,根据目标采集点的信号强度及目标采集点邻近的采集点的信号强度,确定目标采集点是为噪声点后,根据目标采集点邻近的采集点的信号强度,确定目标采集点的信号强度,将目标采集点的信号强度、与预存的目标采集点的位置信息对应存储,建立指纹库。这样,通过根据信号强度对采集点进行选择滤除噪声点,从而能够减少指纹库中噪声点的数量。The device for establishing the fingerprint database in the embodiment of the present invention, after determining that the target collection point is a noise point according to the signal strength of the target collection point and the signal strength of the collection points adjacent to the target collection point, according to the signal strength of the collection points adjacent to the target collection point Intensity, to determine the signal strength of the target collection point, store the signal strength of the target collection point and the pre-stored location information of the target collection point correspondingly, and establish a fingerprint library. In this way, the number of noise points in the fingerprint database can be reduced by selecting the collection points according to the signal strength to filter out the noise points.

本发明实施例主要应用于建立指纹库,能够减少指纹库中噪声点的数量。The embodiment of the present invention is mainly applied to establishing a fingerprint database, which can reduce the number of noise points in the fingerprint database.

需要说明的是:上述实施例提供的装置,仅以上述各功能单元的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元或模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: the device provided by the above-mentioned embodiment is only illustrated by the division of the above-mentioned functional units. In practical applications, the above-mentioned function allocation can be completed by different functional units or modules according to the needs, that is, the internal structure of the device Divided into different functional units or modules to complete all or part of the functions described above. In addition, the device and the method embodiment provided by the above embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred 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 in the protection of the present invention. within range.

Claims (10)

1. A method for establishing a fingerprint database is characterized by comprising the following steps:
determining whether a target acquisition point is a noise point according to the signal intensity of the target acquisition point and the signal intensity of at least one acquisition point adjacent to the target acquisition point;
if the target acquisition point is a noise point, determining the signal intensity of the target acquisition point according to the signal intensity of the at least one acquisition point;
correspondingly storing the signal intensity of the target acquisition point and prestored position information of the target acquisition point, and establishing a fingerprint database;
wherein the determining whether the target acquisition point is a noise point according to the signal strength of the target acquisition point and the signal strength of at least one acquisition point adjacent to the target acquisition point comprises: at least one acquisition point adjacent to the target acquisition point is an acquisition point located in the same neighborhood with the target acquisition point, and the neighborhood determination rule is as follows: target acquisition Point p (i)1,j1) Determining a collection of acquisition points U, p (i) according to a certain rule or shape f1,j1) And a certain collection point q (i) in U2,j2) Correlation; then p (i)1,j1) Neighborhood of (2)Is defined as follows:
U = f ( p ) N p o = { N q | ∀ q ∈ U } - - - ( 1 - 1 )
wherein,is not p (i)1,j1) The hollow neighborhood of (a);
when whether the target acquisition point is a noise point is determined according to the signal intensity of the target acquisition point and the signal intensity of the acquisition point adjacent to the target acquisition point, determining a first similarity mean value of the target acquisition point according to the signal intensity of the target acquisition point and the signal intensity of the at least one acquisition point; determining a second similarity mean value of the at least one acquisition point according to the signal intensity of the target acquisition point and the signal intensity of the at least one acquisition point; comparing the first similarity mean value with the second similarity mean value, and if the first similarity mean value is larger than the second similarity mean value, determining that the target acquisition point is a noise point;
determining the similarity of two adjacent acquisition points by using a formula (1-2), wherein L (a, b) in the formula (1-2) represents the similarity of two adjacent acquisition points a and b, and RaRepresents the RSSI value, R, of the AP at acquisition Point abRepresents the RSSI value of the AP at the acquisition point b;
L(a,b)=-(Ra-Rb)2(1-2)
judging whether the target acquisition point is a noise point, if the 8-neighborhood not containing the acquisition point C isThe 8-neighborhood containing collection point C is NcAnd then:
Nc={P1,P2,...,P8,C}(1-3)
acquisition Point P if it contains in the 8-neighborhood of acquisition Point Ci(PiNot equal to C) and the sum of the similarity of adjacent acquisition points isThen:
S P i N C = Σ j ≠ i U P i N C L ( P i , P j ) , P j ∈ U P i N C - - - ( 1 - 4 )
wherein,in 8-neighborhood of acquisition Point C, and acquisition Point PiThe set of adjacent acquisition points, such as acquisition point P1, which is acquisition point P2, acquisition point P4, and acquisition point C; acquisition points adjacent to acquisition point P4 are acquisition point P1, acquisition point P2, acquisition point P6, acquisition point 7, and acquisition point C;
acquisition Point Pi(PiNot equal to C) mean value of similarity with neighboring pointsComprises the following steps:
S ‾ P i N C = S P i N C n p i - - - ( 1 - 5 )
whereinIs Pi(PiNot equal to C), e.g. number of acquisition points in neighborhood
NCAverage similarity of all acquisition Point points except acquisition Point CComprises the following steps:
S ‾ N C o = 1 8 Σ i = 1 8 S ‾ P i N C - - - ( 1 - 6 )
sum of similarity of acquisition Point C and neighboring acquisition PointComprises the following steps:
S C N C = Σ i = 1 8 L ( C , P i ) - - - ( 1 - 7 )
similarity mean value of acquisition point C and adjacent acquisition pointsComprises the following steps:
S ‾ C N C = 1 8 S C N C - - - ( 1 - 8 )
when in useAnd in time, the acquisition point C is a noise point, otherwise, the acquisition point C is a non-noise point.
2. The method of claim 1, wherein said determining whether a target acquisition point is a noise point based on a signal strength of said target acquisition point and a signal strength of at least one acquisition point neighboring said target acquisition point, further comprises:
and determining the neighborhood of the target acquisition point according to a preset condition, wherein the neighborhood consists of the target acquisition point and the at least one acquisition point.
3. The method of claim 1 or 2, wherein said determining whether a target acquisition point is a noise point based on signal strength of said target acquisition point and signal strength of acquisition points neighboring said target acquisition point comprises:
determining a first similarity mean value of the target acquisition point according to the signal intensity of the target acquisition point and the signal intensity of the at least one acquisition point;
determining a second similarity mean value of the at least one acquisition point according to the signal intensity of the target acquisition point and the signal intensity of the at least one acquisition point;
and comparing the first similarity mean value with a second similarity mean value, and if the first similarity mean value is larger than the second similarity mean value, determining that the target acquisition point is a noise point.
4. The method of claim 1, wherein said determining a signal strength of said target acquisition point from a signal strength of said at least one acquisition point comprises:
taking the mean value of the signal intensity of the at least one acquisition point as the signal intensity of the target acquisition point;
or filtering noise points from the at least one acquisition point, and taking the signal intensity mean value of the rest acquisition points as the signal intensity of the target acquisition point.
5. The method of claim 3, wherein said determining a first mean similarity value for said target acquisition point from said signal strength of said target acquisition point and said signal strength of said at least one acquisition point comprises:
determining the similarity between the target acquisition point and the at least one acquisition point according to the signal intensity of the target acquisition point and the signal intensity of the at least one acquisition point, and taking the average value of the similarity between the target acquisition point and the at least one acquisition point as the first similarity average value of the target acquisition point;
determining a second similarity mean for the at least one acquisition point based on the signal strength of the target acquisition point and the signal strength of the at least one acquisition point comprises:
according to the signal intensity of the target acquisition point and the signal intensity of the at least one acquisition point, determining the similarity of each acquisition point in the at least one acquisition point and respective adjacent acquisition points, and according to the average value of the similarities of each acquisition point and respective adjacent acquisition points, determining the average value of the second similarities of the at least one acquisition point.
6. An apparatus for creating a fingerprint library, comprising:
the first determining unit is used for determining whether a target acquisition point is a noise point according to the signal intensity of the target acquisition point and the signal intensity of at least one acquisition point adjacent to the target acquisition point;
a second determining unit, configured to determine, if the target acquisition point is a noise point, a signal strength of the target acquisition point according to the signal strength of the at least one acquisition point;
the storage unit is used for correspondingly storing the signal intensity of the target acquisition point and prestored position information of the target acquisition point and establishing a fingerprint database;
wherein the first determining unit is configured to: at least one acquisition point adjacent to the target acquisition point is an acquisition point located in the same neighborhood with the target acquisition point, and the neighborhood determination rule is as follows: target acquisition Point p (i)1,j1) Determining a collection of acquisition points U, p (i) according to a certain rule or shape f1,j1) And a certain collection point q (i) in U2,j2) Correlation; then p (i)1,j1) Neighborhood of (2)Is defined as follows:
U = f ( p ) N p o = { N q | ∀ q ∈ U } - - - ( 1 - 1 )
wherein,is not p (i)1,j1) The hollow neighborhood of (a);
when whether the target acquisition point is a noise point is determined according to the signal intensity of the target acquisition point and the signal intensity of the acquisition point adjacent to the target acquisition point, determining a first similarity mean value of the target acquisition point according to the signal intensity of the target acquisition point and the signal intensity of the at least one acquisition point; determining a second similarity mean value of the at least one acquisition point according to the signal intensity of the target acquisition point and the signal intensity of the at least one acquisition point; comparing the first similarity mean value with the second similarity mean value, and if the first similarity mean value is larger than the second similarity mean value, determining that the target acquisition point is a noise point;
determining the similarity of two adjacent acquisition points by using (1-2), wherein L (a, b) in (1-2) represents the similarity of two adjacent acquisition points a and b, and RaRepresents the RSSI value, R, of the AP at acquisition Point abRepresents the RSSI value of the AP at the acquisition point b;
L(a,b)=-(Ra-Rb)2(1-2)
judging whether the target acquisition point is a noise point, if the 8-neighborhood not containing the acquisition point C isThe 8-neighborhood containing collection point C is NcAnd then:
Nc={P1,P2,...,P8,C}(1-3)
acquisition Point P if it contains in the 8-neighborhood of acquisition Point Ci(PiNot equal to C) and the sum of the similarity of adjacent acquisition points isThen:
S P i N C = Σ j ≠ i U P i N C L ( P i , P j ) , P j ∈ U P i N C - - - ( 1 - 4 )
wherein,in 8-neighborhood of acquisition Point C, and acquisition Point PiThe set of adjacent acquisition points, such as acquisition point P1, which is acquisition point P2, acquisition point P4, and acquisition point C; acquisition points adjacent to acquisition point P4 are acquisition point P1, acquisition point P2, acquisition point P6, acquisition point 7, and acquisition point C;
acquisition Point Pi(PiNot equal to C) mean value of similarity with neighboring pointsComprises the following steps:
S ‾ P i N C = S P i N C n p i - - - ( 1 - 5 )
whereinIs Pi(PiNot equal to C), e.g. number of acquisition points in neighborhood
NCAverage similarity of all acquisition Point points except acquisition Point CComprises the following steps:
S ‾ N C o = 1 8 Σ i = 1 8 S ‾ P i N C - - - ( 1 - 6 )
sum of similarity of acquisition Point C and neighboring acquisition PointComprises the following steps:
S C N C = Σ i = 1 8 L ( C , P i ) - - - ( 1 - 7 )
similarity mean value of acquisition point C and adjacent acquisition pointsComprises the following steps:
S ‾ C N C = 1 8 S C N C - - - ( 1 - 8 )
when in useAnd in time, the acquisition point C is a noise point, otherwise, the acquisition point C is a non-noise point.
7. The apparatus of claim 6, further comprising:
and the third determining unit is used for determining a neighborhood of the target acquisition point according to a preset condition, wherein the neighborhood consists of the target acquisition point and the at least one acquisition point.
8. The apparatus according to claim 6 or 7, wherein the first determining unit comprises:
the first determining subunit is configured to determine a first similarity mean value of the target acquisition point according to the signal strength of the target acquisition point and the signal strength of the at least one acquisition point;
a second determining subunit, configured to determine, according to the signal strength of the target acquisition point and the signal strength of the at least one acquisition point, a second similarity mean value of the at least one acquisition point;
and the third determining subunit is configured to compare the first similarity mean with the second similarity mean, and if the first similarity mean is greater than the second similarity mean, the target acquisition point is a noise point.
9. The apparatus according to claim 6, wherein said second determining unit is specifically configured to use a mean value of signal strengths of said at least one acquisition point as the signal strength of said target acquisition point;
or, the second determining unit is specifically configured to filter noise points from the at least one acquisition point, and use a mean value of signal intensities of remaining acquisition points as the signal intensity of the target acquisition point.
10. The apparatus according to claim 8, wherein the first determining subunit is specifically configured to determine, according to the signal strength of the target acquisition point and the signal strength of the at least one acquisition point, a similarity between the target acquisition point and the at least one acquisition point, and use an average value of the similarities between the target acquisition point and the at least one acquisition point as a first similarity average value of the target acquisition point;
the second determining subunit is specifically configured to determine, according to the signal intensity of the target acquisition point and the signal intensity of the at least one acquisition point, a similarity between each acquisition point of the at least one acquisition point and a respective adjacent acquisition point, and determine, according to an average value of the similarities between each acquisition point and the respective adjacent acquisition point, a second similarity average value of the at least one acquisition point.
CN201310108333.1A 2013-03-29 2013-03-29 The method for building up of fingerprint base and device Expired - Fee Related CN103200676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310108333.1A CN103200676B (en) 2013-03-29 2013-03-29 The method for building up of fingerprint base and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310108333.1A CN103200676B (en) 2013-03-29 2013-03-29 The method for building up of fingerprint base and device

Publications (2)

Publication Number Publication Date
CN103200676A CN103200676A (en) 2013-07-10
CN103200676B true CN103200676B (en) 2016-06-15

Family

ID=48722992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310108333.1A Expired - Fee Related CN103200676B (en) 2013-03-29 2013-03-29 The method for building up of fingerprint base and device

Country Status (1)

Country Link
CN (1) CN103200676B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491590B (en) * 2014-09-15 2020-02-21 联想(北京)有限公司 Information processing method and electronic equipment
CN108450060B (en) 2016-12-22 2020-12-15 华为技术有限公司 Location method and device based on WI-FI access point
CN110008671B (en) * 2017-12-28 2022-04-05 腾讯科技(深圳)有限公司 Data verification method and device
JP6852230B1 (en) * 2018-03-06 2021-03-31 シグニファイ ホールディング ビー ヴィSignify Holding B.V. Systems and methods for automatically recommissioning lighting nodes using radio signal characteristics
CN109598723B (en) * 2018-12-11 2021-09-07 讯飞智元信息科技有限公司 Image noise detection method and device
CN110099442B (en) * 2019-05-05 2020-10-23 北京三快在线科技有限公司 Method and device for determining position change of network equipment, computer equipment and medium
CN113395728B (en) * 2020-03-13 2025-07-22 阿里巴巴集团控股有限公司 WiFi feature extraction method and device
CN113543307B (en) * 2021-06-01 2022-06-03 北京邮电大学 Visual information feature fingerprint database construction method, positioning method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111872A (en) * 2009-12-23 2011-06-29 中国移动通信集团公司 Location method and device based on fingerprint location technology
CN102186239A (en) * 2011-04-13 2011-09-14 福建星网锐捷网络有限公司 Radio frequency (RF) fingerprint positing method, device and network equipment
CN102695272A (en) * 2012-05-25 2012-09-26 北京邮电大学 Matching location method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI368754B (en) * 2007-12-31 2012-07-21 Ind Tech Res Inst Method and system for localization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111872A (en) * 2009-12-23 2011-06-29 中国移动通信集团公司 Location method and device based on fingerprint location technology
CN102186239A (en) * 2011-04-13 2011-09-14 福建星网锐捷网络有限公司 Radio frequency (RF) fingerprint positing method, device and network equipment
CN102695272A (en) * 2012-05-25 2012-09-26 北京邮电大学 Matching location method and mobile terminal

Also Published As

Publication number Publication date
CN103200676A (en) 2013-07-10

Similar Documents

Publication Publication Date Title
CN103200676B (en) The method for building up of fingerprint base and device
JP6182196B2 (en) Wireless LAN radio map automatic construction method and wireless LAN radio map automatic construction system
CN103796305B (en) Indoor positioning method based on Wi-Fi position fingerprint
CN105050130B (en) A kind of construction method of multidimensional interference space model
CN112543411B (en) Interference positioning method, device and system of wireless communication system
CN110823241A (en) Robot path planning method and system based on passable area skeleton extraction
US20120163704A1 (en) Apparatus and method for stereo matching
WO2017071271A1 (en) Positioning method and device
CN105844625A (en) Movable profile image segmentation method fusing edge and area
CN118118855B (en) Wireless indoor positioning method and system based on multi-mode fusion and deep learning
CN106533778A (en) Method for identifying key node of command and control network based on hierarchical flow betweenness
KR102189811B1 (en) Method and Apparatus for Completing Knowledge Graph Based on Convolutional Learning Using Multi-Hop Neighborhoods
CN108132428A (en) The method, apparatus of shelf depreciation multi-source separation
CN109635641B (en) Method, device and equipment for determining road boundary line and storage medium
CN105933909A (en) Physical cell ID configuration, logic root sequence index configuration method and base station device
JP6410995B2 (en) Interference identification apparatus and interference identification method
CN112836991B (en) Site planning method and device, terminal equipment and readable storage medium
CN109889975B (en) Terminal fingerprint positioning method based on NB-IoT
CN102209385A (en) Method for calculating position of base station based on spatial outlier data mining algorithm
CN109631917A (en) Processing method, device, electronic equipment and the storage medium of map datum
CN106162529B (en) Indoor positioning method and device
CN111918211A (en) An indoor fingerprint localization method based on KD tree and improved weighted KNN
CN111309946A (en) Established file optimization method and device
CN115829933A (en) A change detection method for dual-temporal hyperspectral remote sensing images
CN112614134B (en) Image segmentation method, device, electronic device and storage medium

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: 20160615