CN103237291A - Integrated positioning method for mobile terminal and active information service recommendation method - Google Patents

Integrated positioning method for mobile terminal and active information service recommendation method Download PDF

Info

Publication number
CN103237291A
CN103237291A CN2013101726529A CN201310172652A CN103237291A CN 103237291 A CN103237291 A CN 103237291A CN 2013101726529 A CN2013101726529 A CN 2013101726529A CN 201310172652 A CN201310172652 A CN 201310172652A CN 103237291 A CN103237291 A CN 103237291A
Authority
CN
China
Prior art keywords
signal
positioning
location
information
portable terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101726529A
Other languages
Chinese (zh)
Other versions
CN103237291B (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.)
ABA TEACHERS COLLEGE
Original Assignee
ABA TEACHERS COLLEGE
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 ABA TEACHERS COLLEGE filed Critical ABA TEACHERS COLLEGE
Priority to CN201310172652.9A priority Critical patent/CN103237291B/en
Publication of CN103237291A publication Critical patent/CN103237291A/en
Application granted granted Critical
Publication of CN103237291B publication Critical patent/CN103237291B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

本发明提供一种移动终端的整合定位方法和信息服务主动推荐方法。整合定位方法包括:步骤1,获取卫星定位信号及WIFI定位信号;步骤2,比较卫星定位信号及WIFI定位信号的信号强度,选择信息强度大的一个作为移动终端定位信号;步骤3,将所述移动终端定位信号发送给云计算服务器;步骤4,移动终端通过定位信号接收来自所述云计算服务器主动推荐的位置服务信息。移动终端根据卫星定位信号及WIFI的AP点的信息强度进行判别和处理,并选择RSS大的作为定位信号,提高了定位的精度,并根据用户的定制需求获得云计算服务器从服务提供方获得的主动推荐信息,保障用户随时随地获得高可靠、高精度的推荐服务。

The invention provides an integrated positioning method of a mobile terminal and an information service active recommendation method. The integrated positioning method includes: step 1, obtaining satellite positioning signals and WIFI positioning signals; step 2, comparing the signal strengths of satellite positioning signals and WIFI positioning signals, and selecting the one with high information strength as the mobile terminal positioning signal; The mobile terminal sends the positioning signal to the cloud computing server; step 4, the mobile terminal receives the location service information actively recommended by the cloud computing server through the positioning signal. The mobile terminal discriminates and processes according to the satellite positioning signal and the information strength of the AP point of WIFI, and selects the one with the largest RSS as the positioning signal, which improves the positioning accuracy, and obtains the cloud computing server from the service provider according to the user's customized needs. Actively recommend information to ensure that users can obtain highly reliable and high-precision recommendation services anytime, anywhere.

Description

移动终端的整合定位方法和信息服务主动推荐方法Integrated positioning method of mobile terminal and active recommendation method of information service

技术领域technical field

本发明涉及定位领域,特别涉及一种移动终端的整合定位方法和信息服务主动推荐方法。The invention relates to the field of positioning, in particular to an integrated positioning method of a mobile terminal and an information service active recommendation method.

背景技术Background technique

位置服务已逐渐融入到了人们生活中,为人们便捷获取位置服务提供了方法,而通常终端的位置信息是通过定位技术来获取,并通过移动网络/无线网络向移动终端提供与位置相关的且满足终端用户需求的信息服务,从而为定制终端用户在随时、随地提供服务。如不同的旅客到达不同的景区后,就可以通过GPS(Global Positioning System)、北斗,移动网或无线.网络、蓝牙、RFID(RadioFrequency Identification Devices)等定位技术为旅客提供该景区相关的信息服务。但就GPS/北斗定位需要在相对空旷、高层建筑不密集等相似的空间内才能比较准确的定位,室内定位难以满足需求;但这时可以通过移动网络来实现定位,但就目前的2G/3G(3rd Generation Telecommunication)来说,网络速度难以满足定制用户大块数据传输变化的需求;这时,就考虑无线局域网,特别是WIFI(Wireless Fidelity)来实现定位,虽然WIFI在遇到障碍物有反射、折射、衍射等不足,它对室内定位有相当不错的效果,而且目前大多数终端智能机都具有WIFI功能;而蓝牙、RFID等技术定位要求距离较近,定位信息易受干扰且传输的数据量有限等问题。而针对无线的定准算法主要指纹算法、圆周定位算法、CELLID定位算法和TOA(Time of Advent)/TDOA(Time Difference Of Arrival)定位算法等。Location-based services have gradually integrated into people's lives, providing a method for people to conveniently obtain location-based services. Usually, location information of terminals is obtained through positioning technology, and location-related and satisfying information is provided to mobile terminals through mobile networks/wireless networks. Information services required by end users, so as to provide customized end users with services anytime and anywhere. For example, after different passengers arrive at different scenic spots, they can provide passengers with information services related to the scenic spots through positioning technologies such as GPS (Global Positioning System), Beidou, mobile network or wireless network, Bluetooth, and RFID (Radio Frequency Identification Devices). However, GPS/Beidou positioning needs to be relatively accurate in a relatively open space, where high-rise buildings are not densely populated, and indoor positioning is difficult to meet the needs; but at this time, positioning can be achieved through mobile networks, but the current 2G/3G (3rd Generation Telecommunication), the network speed is difficult to meet the needs of customized users for bulk data transmission changes; at this time, consider wireless local area networks, especially WIFI (Wireless Fidelity) to achieve positioning, although WIFI has reflections when encountering obstacles , refraction, diffraction and other deficiencies, it has a very good effect on indoor positioning, and most of the current terminal smart phones have WIFI functions; while Bluetooth, RFID and other technologies require relatively short distances for positioning, positioning information is susceptible to interference and transmitted data issues such as limited quantities. The wireless calibration algorithms mainly include fingerprint algorithm, circular positioning algorithm, CELLID positioning algorithm and TOA (Time of Advent)/TDOA (Time Difference Of Arrival) positioning algorithm.

就位置服务本身而言,它是在移动环境下,利用GIS(Geographic InformationSystem)技术、移动定位技术和网络通信等技术来提供空间信息服务的一种服务模式;就使得数据采集和处理是位置服务应用的重要环节和过程,也是为位置服务的服务质量提供重要的保障。其定位技术是基于位置服务的前提,是直接获终端用户的地理位置来为不同的用户提供信息服务的基础;目前其定位技术通常有GPS/北斗定位、地面三角测量定位/移动网络定位和混合定位方法等。而不同的信息服务是由不同的提供商提供,而且所提供的信息服务往往是实时变化的;而用户的需求则是在随时、随地都要获取有效、准确服务为自己应用提供便捷,帮助、简化自己的业务安排。As far as location service itself is concerned, it is a service model that uses GIS (Geographic Information System) technology, mobile positioning technology and network communication technologies to provide spatial information services in a mobile environment; making data collection and processing a location service The important link and process of the application also provides an important guarantee for the service quality of the location service. Its positioning technology is based on the premise of location-based services, and is the basis for directly obtaining the geographical location of end users to provide information services for different users; at present, its positioning technologies usually include GPS/Beidou positioning, ground triangulation positioning/mobile network positioning and hybrid positioning. positioning method, etc. Different information services are provided by different providers, and the information services provided are often changed in real time; while users' needs are to obtain effective and accurate services anytime and anywhere to provide convenience, help, Simplify your own business arrangements.

为了满足这种用户要求和定制需求,当前的计算模式、服务模式和定位模式等都存在一定的局限性和偏差性,难以为用户获得较为准确的位置信息,也难以为用户的定制要求提供有效、准确的信息服务,如旅客到达了不同景区,则这时就可以根据获得的旅客地理位置来为其提供不同景区的信息服务;并且在这种情况下,旅客可能处在空旷、非密集型、移动、“室内”等空间中,同时相关信息服务也分布在不同空间中的不同服务提供商处,而且这些提供商的数据也是在实时变化的。因此,目前的定位与位置服务方法难以满足用户的定制需求。In order to meet such user requirements and customization needs, the current calculation mode, service mode, and positioning mode all have certain limitations and deviations. , Accurate information service, if the passenger arrives at different scenic spots, then the information service of different scenic spots can be provided according to the geographical location of the passengers; and in this case, the passengers may be in the open, non-intensive , mobile, "indoor" and other spaces, and related information services are also distributed in different service providers in different spaces, and the data of these providers is also changing in real time. Therefore, the current positioning and location service methods are difficult to meet the customization needs of users.

发明内容Contents of the invention

以下对本发明的实施例进行详细说明,但是本发明可以由权利要求限定和覆盖的多种不同方式实施。Embodiments of the invention are described in detail below, but the invention can be practiced in many different ways as defined and covered by the claims.

本发明提供一种定位精度高、可按用户定制提供信息服务的移动终端的整合定位方法和信息服务主动推荐方法。The invention provides an integrated positioning method and an information service active recommendation method of a mobile terminal with high positioning accuracy and which can provide information services according to user customization.

为此,本发明的第一方面,提供了一种移动终端的整合定位方法,其特征在于,包括:步骤1,获取卫星定位信号及WIFI定位信号;步骤2,比较卫星定位信号及WIFI定位信号的信号强度,选择信号强度大的一个作为移动终端定位信号;步骤3,将所述移动终端定位信号发送给云计算服务器;步骤4,移动终端通过定位信号接收来自所述云计算服务器主动推荐的位置服务信息。For this reason, the first aspect of the present invention provides an integrated positioning method for a mobile terminal, which is characterized in that it includes: step 1, obtaining satellite positioning signals and WIFI positioning signals; step 2, comparing satellite positioning signals and WIFI positioning signals signal strength, select the one with higher signal strength as the mobile terminal positioning signal; step 3, send the mobile terminal positioning signal to the cloud computing server; step 4, the mobile terminal receives the active recommendation from the cloud computing server through the positioning signal location services information.

进一步地,所述WIFI定位信号通过下述方法获得:步骤A1,根据不同区域的AP状况建立指纹数据库;步骤A2,扫描AP信号,当AP信号的强度符合预定要求时,直接定位,否则执行步骤A3;步骤A3,识别扫描得到的AP信号,并采用划分算法对所述AP信号进行划分;步骤A4,对划分后的所述AP信号中不足以用于定位的信号进行放大;步骤A5,对放大后的AP信号进行处理,以识别该AP信号的来源;如果该AP信号能满足定位需要,则将该AP信号通过预先设定的定位路由表与所述指纹数据库进行对比与匹配以完成定位,并使用映射函数来实现与指纹数据库快速映射,否则切换至其它划分中并执行步骤A4。Further, the WIFI positioning signal is obtained by the following method: step A1, establish a fingerprint database according to the AP status in different areas; step A2, scan the AP signal, and when the strength of the AP signal meets the predetermined requirements, directly locate, otherwise perform the step A3; step A3, identify the AP signal obtained by scanning, and use a division algorithm to divide the AP signal; step A4, amplify the signal that is not enough for positioning in the divided AP signal; step A5, The amplified AP signal is processed to identify the source of the AP signal; if the AP signal can meet the positioning requirements, the AP signal is compared and matched with the fingerprint database through the preset positioning routing table to complete the positioning , and use the mapping function to realize fast mapping with the fingerprint database, otherwise switch to other partitions and execute step A4.

进一步地,获得所述WIFI定位信号的方法还包括:步骤A6,当所述移动终端处于不同区域的划分段时,根据不同划分进行自动切换,以便持续地跟踪到区域内所有的WIFI信号。Further, the method for obtaining the WIFI positioning signal further includes: step A6, when the mobile terminal is in different divisions of the area, automatically switch according to different divisions, so as to continuously track all the WIFI signals in the area.

进一步地,获得所述WIFI定位信号的方法还包括:步骤A7,建立满足WIFI定位效度与用户满意度的效用函数,以有效防止在区域内的信息强度的不确定性和稳定性。Further, the method for obtaining the WIFI positioning signal further includes: step A7, establishing a utility function satisfying WIFI positioning validity and user satisfaction, so as to effectively prevent uncertainty and stability of information strength in the area.

进一步地,在步骤A5中,所述匹配通过下述方法进行:Further, in step A5, the matching is performed by the following method:

1)用

Figure BDA00003175542200041
表示在时间t时蚂蚁在AP划分上实现状态转移的概率,并用禁忌表tabuk表示蚂蚁k当前所寻优的AP信号,allowedk={C-tabuk}表示蚂蚁k下一次允许寻优的AP信号,C表示区域内所有AP信号;Y(t)为匹配映射率函数、F(t)为效用函数,则满足最优的匹配结果蚂蚁状态转换概率可按下式计算:1) with
Figure BDA00003175542200041
Indicates the probability of an ant achieving state transition on AP division at time t, and uses the tabu table tabu k to indicate the AP signal that ant k is currently seeking to optimize, and allowed k = {C-tabu k } indicates that ant k is allowed to optimize next time AP signal, C represents all AP signals in the area; Y(t) is the matching mapping rate function, F(t) is the utility function, then the ant state transition probability that satisfies the optimal matching result can be calculated as follows:

若j属于allowedk,则 P i , j k ( t ) = [ Y i , j ( t ) ] α · [ F ik ( t ) ] β , 否则 P i , j k ( t ) = 0 ; If j belongs to allowed k , then P i , j k ( t ) = [ Y i , j ( t ) ] α &Center Dot; [ f ik ( t ) ] β , otherwise P i , j k ( t ) = 0 ;

其中,α是信息量启发因子,β是期望启发因子,取值为(0,1);Among them, α is the information amount heuristic factor, β is the expectation heuristic factor, and the value is (0,1);

2)利用下式对映射率函数Y(t)进行调整:2) Use the following formula to adjust the mapping rate function Y(t):

Yi,j(t)=(1-ρ)·Yi,j(t)+△Yi,j(t)Y i,j (t)=(1-ρ)·Y i,j (t)+△Y i,j (t)

ΔYΔY ii ,, jj (( tt )) == ΣΣ kk == 11 mm ΔYΔY ii ,, jj kk (( tt ))

式中,(1-ρ)∈(0,1]是映射率上的从一个从划分到另一个划分的信号强度R的变化系数;△Yi,j(t)表示本次循环中(i,j)在划分切换上的变化增量;初始时,△Yi,j(t)=0;表示第k只蚂蚁在一次循环中在切换状态(i,j)上信号强度R的值,则:In the formula, (1-ρ)∈(0,1] is the variation coefficient of the signal strength R from one division to another division on the mapping rate; △Y i,j (t) means that in this cycle (i ,j) the change increment in the partition switching; initially, △Y i,j (t)=0; Indicates the value of the signal strength R of the kth ant in the switching state (i, j) in a cycle, then:

ΔYΔY ii ,, jj kk (( tt )) == RR 00

式中,0表示除R外的情况。In the formula, 0 represents the case except R.

3)当达到预定的定位精度后,停止优化匹配。3) When the predetermined positioning accuracy is reached, stop optimizing the matching.

进一步地,所述位置服务推荐信息是所述移动终端所在的区域及该区域周边的位置服务。Further, the location service recommendation information is the area where the mobile terminal is located and location services around the area.

作为本发明的第二方面,提供了一种面向位置的信息服务主动推荐方法,其特征在于,包括:步骤1,云计算服务器获取来自移动终端的移动终端定位信号;步骤2,云计算服务器根据来自所述移动终端的定制需求和所述移动终端定位信号,从服务提供方获取推荐的位置服务推荐信息,并将所述位置服务推荐信息发送给所述移动终端;步骤3,云计算服务器接收来自所述移动终端对所述位置服务推荐信息的评价结论及评价原因;步骤4,若所述推荐的服务不满足定制需求,以及评价结果不满意,则云计算服务器进一步接收来自所述移动终端的新的定制需求,并根据所述新的定制需求及所述移动终端定位信号再次从服务提供方获取推荐的位置服务推荐信息,并将该位置服务推荐信息发送给所述移动终端。As a second aspect of the present invention, there is provided a method for actively recommending location-oriented information services, which is characterized in that it includes: step 1, the cloud computing server acquires a mobile terminal positioning signal from a mobile terminal; step 2, the cloud computing server according to From the customization requirements of the mobile terminal and the positioning signal of the mobile terminal, obtain the recommended location service recommendation information from the service provider, and send the location service recommendation information to the mobile terminal; step 3, the cloud computing server receives The evaluation conclusion and evaluation reason of the location service recommendation information from the mobile terminal; step 4, if the recommended service does not meet the customization requirements, and the evaluation result is not satisfactory, the cloud computing server further receives the information from the mobile terminal According to the new customization requirements and the positioning signal of the mobile terminal, the recommended location service recommendation information is obtained from the service provider again, and the location service recommendation information is sent to the mobile terminal.

进一步地,在所述步骤3、4中,云计算服务器还将所述不满意的评价结果及其评价原因发送给客服中心。Further, in the steps 3 and 4, the cloud computing server also sends the unsatisfactory evaluation results and evaluation reasons to the customer service center.

进一步地,所述位置服务推荐信息是所述移动终端所在的区域及该区域周边的位置服务。Further, the location service recommendation information is the area where the mobile terminal is located and location services around the area.

当用户打开移动终端后,移动终端根据卫星定位信号(例如GPS和/或北斗)及WIFI的AP(Access Point)点的信号强度(RSS:Received Signal Strength)进行判别,并选择RSS大的作为定位信号,以获得终端用户的位置信息来实现终端定位,提高了定位的精度,以便为终端用户提供有效的位置服务,并根据用户的定制需求获得去计算服务器从服务提供方获得的主动推荐信息。这样,用户能随时、随地的获得满足自己需求的信息服务。When the user turns on the mobile terminal, the mobile terminal judges according to the satellite positioning signal (such as GPS and/or Beidou) and the signal strength (RSS: Received Signal Strength) of the AP (Access Point) point of WIFI, and selects the one with the largest RSS as the positioning Signal to obtain the location information of the terminal user to achieve terminal positioning, improve the positioning accuracy, in order to provide effective location services for the terminal user, and obtain the active recommendation information obtained by the decomputing server from the service provider according to the user's customized needs. In this way, users can obtain information services that meet their needs anytime and anywhere.

附图说明Description of drawings

图1是一个优选实施例中的云计算环境下的统一位置信息获取及处理过程示意图;Fig. 1 is a schematic diagram of unified location information acquisition and processing in a cloud computing environment in a preferred embodiment;

图2是一个优选实施例中的WIFI定位引擎结构示意图;以及Fig. 2 is a schematic structural diagram of a WIFI positioning engine in a preferred embodiment; and

图3是一个优选实施例中的面向位置的信息服务主动推荐模块结构。Fig. 3 is the active recommendation module structure of location-oriented information service in a preferred embodiment.

具体实施方式Detailed ways

基于背景技术的分析,本发明提出一种在云计算环境下的定位方法来有效解决所存在的不足。而云计算是近来解决分布式可伸缩性、共享软硬件资源和信息服务等问题,它是一种基于Internet的分布计算模式,从而使得云计算能高效解决位置服务实时性、海量信息和数据处理的要求。Based on the analysis of the background technology, the present invention proposes a positioning method in a cloud computing environment to effectively solve the existing deficiencies. Cloud computing is a recent solution to the problems of distributed scalability, shared hardware and software resources, and information services. It is a distributed computing model based on the Internet, so that cloud computing can efficiently solve real-time location services, massive information and data processing. requirements.

以下各部分的描述请参考图1至图3。Please refer to Figure 1 to Figure 3 for the description of the following parts.

作为本发明的一个方面,提供了一种移动终端的整合定位方法。该方法包括:As one aspect of the present invention, an integrated positioning method for a mobile terminal is provided. The method includes:

步骤1,获取卫星定位信号及WIFI定位信号;整合这两种定位信号是为了保障终端用户可以随时、随地的实现位置服务,即让终端能在室内外都可以获得位置服务,特别只为终端提供在随时随地及周边的位置服务,如旅客到达不同景区后,一般情况只为旅客提供该景区及周边的旅游信息服务。Step 1. Obtain satellite positioning signals and WIFI positioning signals; the integration of these two positioning signals is to ensure that end users can realize location services anytime and anywhere, that is, to enable terminals to obtain location services indoors and outdoors, especially for terminals only. Location-based services in and around anytime, anywhere. For example, after tourists arrive at different scenic spots, they generally only provide tourist information services for the scenic spot and its surrounding areas.

步骤2,比较卫星定位信号及WIFI定位信号的信号强度,选择信号强度大的一个作为移动终端定位信号,以保证用户可以随时随地地实现较为精确的定位;Step 2, compare the signal strength of the satellite positioning signal and the WIFI positioning signal, and select the one with the higher signal strength as the mobile terminal positioning signal, so as to ensure that the user can achieve more accurate positioning anytime and anywhere;

步骤3,将所述移动终端定位信号发送给云计算服务器;这样,当终端用户实现精确、快速的定位后,就可以实现各自终端的定制服务,并根据该地方及周边的云计算服务器向终端用户实现服务信息主动推荐,从而为不同定制需求的终端提供高效的位置服务。Step 3: Send the positioning signal of the mobile terminal to the cloud computing server; in this way, after the terminal user achieves accurate and fast positioning, they can realize the customized service of their respective terminals, and send the terminal information to the terminal according to the cloud computing server in the place and surrounding areas. Users can actively recommend service information to provide efficient location services for terminals with different customization needs.

步骤4,接收来自所述云计算服务器根据所述移动终端定位信号主动推荐的位置服务推荐信息。Step 4, receiving location service recommendation information actively recommended by the cloud computing server according to the positioning signal of the mobile terminal.

当用户打开移动终端后,移动终端根据卫星定位信号(例如GPS和/或北斗)及WIFI的AP(Access Point)点的信号强度(RSS:Received Signal Strength)进行判别,并选择RSS大的作为定位信号,以获得终端用户的位置信息来实现终端定位,提高了定位的精度,以便为终端用户提供有效的位置服务,并根据用户的定制需求获得去计算服务器从服务提供方获得的主动推荐信息。这样,用户能随时、随地的获得满足自己需求的信息服务。When the user turns on the mobile terminal, the mobile terminal judges according to the satellite positioning signal (such as GPS and/or Beidou) and the signal strength (RSS: Received Signal Strength) of the AP (Access Point) point of WIFI, and selects the one with the largest RSS as the positioning Signal to obtain the location information of the terminal user to achieve terminal positioning, improve the positioning accuracy, in order to provide effective location services for the terminal user, and obtain the active recommendation information obtained by the decomputing server from the service provider according to the user's customized needs. In this way, users can obtain information services that meet their needs anytime and anywhere.

如旅客到达不同景区、地段、位置和环境,特别是景区后,都能通过本发明来实现自己的需求,来为不同的旅客提供满足位置需求的信息服务,使旅客在景区及周边获取满意的旅游消费。从而提高信息服务定位的精度和降低传送信息服务的延迟。这是因为当旅客到达不同景区后,通过定位技术的位置服务,为他们只提供景区及周边的旅游信息服务(如住宿信息、餐饮信息等),这样就有效降低了旅客获取旅游信息服务的复杂性,简化了信息服务获取的流程。After passengers arrive at different scenic spots, locations, locations and environments, especially scenic spots, they can realize their needs through the present invention, and provide different passengers with information services that meet the location requirements, so that passengers can obtain satisfactory information in the scenic spots and surrounding areas. tourism consumption. Thereby, the accuracy of information service location is improved and the delay of transmitting information service is reduced. This is because when tourists arrive at different scenic spots, only the tourist information services (such as accommodation information, catering information, etc.) It simplifies the process of obtaining information services.

现有技术中的指纹定位方法通过识别AP个数及信号强度,然后根据信号特征来与已建指纹建数据库中保存的信号特征进行映射、匹配后来实现定位。其指纹数据库是有效利用多径效应,并将其与位置信息结合在一起,并在WIFI环境变化小的区域由信道的多径结构在同一位置点的惟一性来作为指纹。但由于受到非视距传播、多径传播、环境变化,以及需要建立多个AP数据参考点和指纹数据库更新难度存在等问题影响,使得其定位精度和延迟难以到达一个理想的效果;但相比圆周定位算法和CELLID定位算法等其它算法来讲,指纹定位算法也具有精度高、延迟短、较小误差等优点。在具体应用指纹定位算法时通常分别采用训练与定位两个阶段,在训练阶段主要实现AP个数及信息强度的识别与判断,在定位主要采用诸如最NN(Nearest Neighbor)、KNN(K-NearestNeighbor)、KWNN(K-Weighted Nearest Neighbor)和NNA(Neural NetworkAlgorithm)等算法实现匹配,最终完成定位。而当WIFI信号传播时的衰减与信号强度的衰减与收发设备之间的距离并不存在有效的映射关系,从而使用传统的定位模式难以获得满意的定位精度。The fingerprint positioning method in the prior art realizes positioning by identifying the number of APs and signal strength, and then mapping and matching with the signal features stored in the established fingerprint database according to the signal features. Its fingerprint database effectively utilizes the multipath effect and combines it with location information, and uses the uniqueness of the multipath structure of the channel at the same location as the fingerprint in areas where the WIFI environment changes little. However, due to problems such as non-line-of-sight propagation, multipath propagation, environmental changes, and the need to establish multiple AP data reference points and the difficulty of updating the fingerprint database, it is difficult to achieve an ideal effect in terms of positioning accuracy and delay; but compared For other algorithms such as the circumference positioning algorithm and the CELLID positioning algorithm, the fingerprint positioning algorithm also has the advantages of high precision, short delay, and small error. In the specific application of the fingerprint positioning algorithm, two stages of training and positioning are usually used. In the training stage, the identification and judgment of the number of APs and information strength are mainly realized. In the positioning, such as the most NN (Nearest Neighbor), KNN (K-Nearest Neighbor ), KWNN (K-Weighted Nearest Neighbor) and NNA (Neural Network Algorithm) and other algorithms to achieve matching, and finally complete the positioning. However, there is no effective mapping relationship between the attenuation of the WIFI signal when it propagates, the attenuation of the signal strength and the distance between the transceiver devices, so it is difficult to obtain satisfactory positioning accuracy using the traditional positioning mode.

为此,本发明提出一种在云环境下的蚁群优化的WIFI定位机制来解决这些不足,为提高定位精度、方便终端用户快速使用创造条件。优选地,所述WIFI定位信号通过下述方法获得:Therefore, the present invention proposes an ant colony-optimized WIFI positioning mechanism in a cloud environment to solve these deficiencies, and create conditions for improving positioning accuracy and facilitating rapid use by end users. Preferably, the WIFI positioning signal is obtained by the following method:

步骤A1,根据不同区域的AP状况建立指纹数据库;该数据可以Hadoop+Habse+Hive进行构建,以满足云计算的要求,且容易快速更新指纹数据库中的信号集(通常包括坐标、名称、地址和RSS等)。Step A1, set up fingerprint database according to the AP situation of different areas; This data can be constructed by Hadoop+Habse+Hive, to meet the requirement of cloud computing, and the signal set in the fingerprint database (usually including coordinates, name, address and RSS, etc.).

为了解决AP信号不稳定性、衰减与收发设备间的映射关系不对称等问题,本发明通过下述的步骤A2-A7的方式来解决这个问题,也即提供一种满足WIFI指纹定位要求的定位引擎。In order to solve the problems of AP signal instability, attenuation and asymmetrical mapping relationship between transceiver devices, etc., the present invention solves this problem through the following steps A2-A7, that is, provides a positioning that meets the requirements of WIFI fingerprint positioning engine.

步骤A2,扫描AP信号,当AP信号的强度符合预定要求时,直接定位(也就是说,根据信号强弱实现定准,即当信号稳定、强度强、衰减缓慢、接收设备间的距离适中时,就直接实现定位),否则执行步骤A3;Step A2, scan the AP signal, and when the strength of the AP signal meets the predetermined requirements, locate directly (that is, realize the calibration according to the strength of the signal, that is, when the signal is stable, the strength is strong, the attenuation is slow, and the distance between the receiving devices is moderate, directly realize positioning), otherwise execute step A3;

步骤A3,识别扫描得到的AP信号,并采用划分算法对所述AP信号进行划分;例如,可通过如下文献的划分方法进行划分:周相兵,杨兴江,马洪江.基于划分算法的SaaS寻址中断软件生成策略.计算机应用,2012,32(2):561-565。显然,也可以采用本领域的其它划分算法。Step A3, identify the AP signal obtained by scanning, and use a division algorithm to divide the AP signal; for example, it can be divided by the division method of the following literature: Zhou Xiangbing, Yang Xingjiang, Ma Hongjiang. SaaS addressing interruption software based on division algorithm Generating Strategies. Computer Applications, 2012,32(2):561-565. Obviously, other partitioning algorithms in the art can also be used.

优选地,划分算法描述为:设P={P1,P2,…,PN}是有向图G=<V,E>的一个划分(其中,V是顶点集,E是边集),Pi为G中部分节点的集合,称为模块,并记X(Pi)为属于Pi的所有结点的集合,并且最小划分用X<-1,-1,…,-1>表示,最大划分用X<-n,0,…,0>表示(其中,n表示正整数);P(vi)为节点vi所在的模块,且该划分满足以下条件:Preferably, the partition algorithm is described as: Let P={P 1 ,P 2 ,...,P N } be a partition of the directed graph G=<V,E> (wherein, V is the set of vertices, and E is the set of edges) , P i is a collection of some nodes in G, which is called a module, and X(P i ) is the collection of all nodes belonging to P i , and the minimum division is X<-1,-1,...,-1> Indicates that the maximum division is represented by X<-n,0,…,0> (where n represents a positive integer); P(v i ) is the module where node v i is located, and the division meets the following conditions:

1) &cap; i = 1 N X ( P i ) = &Phi; ; 1) &cap; i = 1 N x ( P i ) = &Phi; ;

2) &cup; i = 1 N X ( P i ) = V ; 2) &cup; i = 1 N x ( P i ) = V ;

3)

Figure BDA00003175542200093
(其中,
Figure BDA00003175542200094
表示为空集)3)
Figure BDA00003175542200093
(in,
Figure BDA00003175542200094
represented as an empty set)

4) &ForAll; e k = ( V i , V j ) &Element; E , X ( V i ) &RightArrow; X ( V j ) (对于 &ForAll; e k &Element; E , ,则ek=(vi,vj)∈E表明节点vi与vj间属于边集E),其中ek表示边集E的边项。4) &ForAll; e k = ( V i , V j ) &Element; E. , x ( V i ) &Right Arrow; x ( V j ) (for &ForAll; e k &Element; E. , , then e k =(v i , v j )∈E indicates that the node v i and v j belong to the edge set E), where e k represents the edge item of the edge set E.

则对区域内的AP信号可以划分为三部分组成:<root(i,x),Jion_block(i,j,x),meet_hash(x1,x2)>,其中,root(i,v)表示将G划分成树的根,Jion_block(i,j,v)表示两个Pi模块连接,meet_hash(v1,v2)表示采用Hash表来平衡不同块连接的时间。Then the AP signal in the area can be divided into three parts: <root(i,x), Jion_block(i,j,x), meet_hash(x 1 ,x 2 )>, where root(i,v) means Divide G into the root of the tree, Jion_block(i,j,v) represents the connection of two Pi modules, and meet_hash(v 1 ,v 2 ) represents the time to balance the connection of different blocks using the Hash table.

步骤A4,对划分后的所述AP信号中不足以用于定位的信号进行放大,以便分清这些AP信号来自何处,这些信号是受什么原因才造成不能足以定位。通常设置一个常见的弱信号表,这便于对弱信号造成的原因进行调节。Step A4, amplifying the signals that are insufficient for positioning among the divided AP signals, so as to distinguish where these AP signals come from, and what causes these signals to be insufficient for positioning. A common weak signal table is usually set, which facilitates the adjustment of the cause of the weak signal.

步骤A5,对放大后的AP信号进行处理,以识别该AP信号的来源;如果该AP信号能满足定位需要,则将该AP信号通过预先设定的定位路由表与所述指纹数据库进行对比与匹配以完成定位,,并使用映射函数来实现与指纹数据库快速映射,否则切换至其它划分中并执行步骤A4。例如,该映射函数效率(%)定义为:Y:A→D,其中Y表示映射函数,A表示定位引擎的信号路由表中的信号,D表示指纹数据库。Step A5, processing the amplified AP signal to identify the source of the AP signal; if the AP signal can meet the positioning requirements, then comparing the AP signal with the fingerprint database through a preset positioning routing table and Match to complete the positioning, and use the mapping function to realize fast mapping with the fingerprint database, otherwise switch to other divisions and execute step A4. For example, the mapping function efficiency (%) is defined as: Y: A→D, where Y represents the mapping function, A represents the signal in the signal routing table of the positioning engine, and D represents the fingerprint database.

优选地,获得所述WIFI定位信号的方法还包括:步骤A6,当所述移动终端处于不同区域的划分段时,根据不同划分进行自动切换,以便持续地跟踪到区域内所有的WIFI信号。其可保障终端用户在区域内、室内外能持续定位,并能持续获得所推荐的服务。Preferably, the method for obtaining the WIFI positioning signal further includes: step A6, when the mobile terminal is in different divisions of the area, automatically switch according to different divisions, so as to continuously track all the WIFI signals in the area. It can ensure that end users can continue to locate in the area, indoors and outdoors, and can continue to obtain recommended services.

优选地,获得所述WIFI定位信号的方法还包括:步骤A7,建立满足WIFI定位效度与用户满意度的效用函数,以有效防止在区域内的信息强度的不确定性和稳定性。特别地,用该效用函数来实现定位效率(%)E与用户满意度S的关系,该效用函数可描述为:F:E→S。且不同的划分,所对应的效用是不一样的,而且在指纹数据库所完成的匹配效果也是存在偏差的。通过本步骤与步骤A2-A6就可以有效防止在区域内的RSS不确定性和稳定性。Preferably, the method for obtaining the WIFI positioning signal further includes: step A7, establishing a utility function that satisfies WIFI positioning validity and user satisfaction, so as to effectively prevent uncertainty and stability of information strength in the area. In particular, the utility function is used to realize the relationship between positioning efficiency (%) E and user satisfaction S, and the utility function can be described as: F: E→S. Moreover, different divisions have different corresponding utility, and there are also deviations in the matching effect completed in the fingerprint database. Through this step and steps A2-A6, the uncertainty and stability of the RSS in the region can be effectively prevented.

优选地,在步骤A5中,所述匹配通过下述方法进行,特别地,该满足信号匹配的优化方法,并采用蚁群算法进行优化,则蚁群算法的优化策略描述如下(优化停止条件是顺利完成用户终端定位):Preferably, in step A5, the matching is performed by the following method, in particular, the optimization method that satisfies the signal matching, and uses the ant colony algorithm for optimization, then the optimization strategy of the ant colony algorithm is described as follows (the optimization stop condition is Successfully complete the user terminal positioning):

1)用

Figure BDA00003175542200104
表示在时间t时蚂蚁k在AP划分上实现状态转移的概率,并用禁忌表tabuk表示蚂蚁k当前所寻优的AP信号,allowedk={C-tabuk}表示蚂蚁k下一次允许寻优的AP信号,C表示区域内所有AP信号;Y(t):A→D,其中Y(t)表示映射函数,A表示所述定位路由表中的信号,D表示指纹数据库;F(t):E→S,其中F(t)是满足WIFI定位效度与用户满意度的效用函数;E是定位效率(%)、S是用户满意度,则满足最优的匹配结果蚂蚁状态转换概率可按下式计算:1) with
Figure BDA00003175542200104
Indicates the probability that ant k achieves state transition in AP division at time t, and uses the tabu table tabu k to indicate the AP signal that ant k is currently seeking to optimize, and allowed k = {C-tabu k } indicates that ant k is allowed to optimize next time AP signal, C represents all AP signals in the area; Y(t): A→D, wherein Y(t) represents the mapping function, A represents the signal in the positioning routing table, and D represents the fingerprint database; F(t) : E→S, where F(t) is a utility function that satisfies WIFI location validity and user satisfaction; E is location efficiency (%), S is user satisfaction, then the ant state transition probability that satisfies the optimal matching result can be Calculate according to the formula:

若j属于allowedk,则 P i , j k ( t ) = [ Y ij ( t ) ] &alpha; &CenterDot; [ F ik ( t ) ] &beta; , 否则 P i , j k ( t ) = 0 ; If j belongs to allowed k , then P i , j k ( t ) = [ Y ij ( t ) ] &alpha; &Center Dot; [ f ik ( t ) ] &beta; , otherwise P i , j k ( t ) = 0 ;

其中,α是信息量启发因子,β是期望启发因子,取值为(0,1);其中,i,j表示不同划分区域的状态转移的值,,且均为大于零的正整数,如

Figure BDA00003175542200103
表示蚂蚁k在状态i与状态j之间的转换概率,Fik(t)表示效用函数在时间t内的划分区域状态i与蚂蚁k所处的划分区域状态的效用值,Yij(t)表示映射函数在时间t内的划分区域状态i与j的映射值。Among them, α is the information amount heuristic factor, β is the expected heuristic factor, and the value is (0,1); where, i, j represent the value of the state transition of different divided areas, and both are positive integers greater than zero, such as
Figure BDA00003175542200103
Indicates the transition probability of ant k between state i and state j, F ik (t) represents the utility value of the divided area state i and the divided area state of ant k within the time t of the utility function, Y ij (t) Indicates the mapping value of the partition state i and j of the mapping function at time t.

2)利用下式对映射率函数Y(t)进行调整:2) Use the following formula to adjust the mapping rate function Y(t):

Yi,j(t)=(1-ρ)·Yi,j(t)+△Yi,j(t)Y i,j (t)=(1-ρ)·Y i,j (t)+△Y i,j (t)

&Delta;Y&Delta;Y ii ,, jj (( tt )) == &Sigma;&Sigma; kk == 11 mm &Delta;Y&Delta;Y ii ,, jj kk (( tt ))

式中,(1-ρ)∈(0,1]是映射率上的从一个从划分到另一个划分的信号强度R的变化系数,ρ∈[0,1),表示R的衰减系数;△Yi,j(t)表示本次循环中(i,j)在划分切换上的变化增量;m表示蚂蚁数;初始时,△Yi,j(t)=0;

Figure BDA00003175542200112
表示第k只蚂蚁在一次循环中在切换状态(i,j)上信号强度R的值,则:In the formula, (1-ρ)∈(0,1] is the variation coefficient of the signal strength R from one division to another division on the mapping rate, ρ∈[0,1), which represents the attenuation coefficient of R; △ Y i, j (t) represents the change increment of (i, j) in the partition switching in this cycle; m represents the number of ants; initially, △Y i, j (t)=0;
Figure BDA00003175542200112
Indicates the value of the signal strength R of the kth ant in the switching state (i, j) in a cycle, then:

&Delta;Y&Delta;Y ii ,, jj kk (( tt )) == RR 00

式中,0表示除R外的情况。In the formula, 0 represents the case except R.

3)当达到预定的定位精度后,停止优化匹配。3) When the predetermined positioning accuracy is reached, stop optimizing the matching.

优选地,所述位置服务推荐信息是所述移动终端所在的景区及该景区周边的位置服务。Preferably, the location service recommendation information is the scenic spot where the mobile terminal is located and location services around the scenic spot.

请参考图3,为了解决AP信号不稳定性、衰减与收发设备间的映射关系不对称等问题,提出一种满足WIFI指纹定位要求的定位引擎来解决这个问题,其该引擎是由信号扫描器、信号识别器、信号放大器、信号处理器、信号控制器和信号跟踪器组成,并且通过定位引擎过后的信号强度用R表示。Please refer to Figure 3. In order to solve the problems of AP signal instability, attenuation and asymmetric mapping between transceiver devices, etc., a positioning engine that meets the requirements of WIFI fingerprint positioning is proposed to solve this problem. The engine is composed of a signal scanner , Signal Recognizer, Signal Amplifier, Signal Processor, Signal Controller and Signal Tracker, and the signal strength after passing through the positioning engine is represented by R.

信号扫描器:用于扫描AP信号,并判断信号强度;同时,根据信号强弱实现定准,即当信号稳定、强度强、衰减缓慢、接收设备间的距离适中时,就直接实现定位。反之则通过WIFI定位引擎进行修正。Signal scanner: used to scan the AP signal and judge the signal strength; at the same time, realize the positioning according to the signal strength, that is, when the signal is stable, the strength is strong, the attenuation is slow, and the distance between the receiving devices is moderate, the positioning is directly realized. Otherwise, it is corrected through the WIFI positioning engine.

信号识别器:是对扫描器扫描结果进行信号识别,即对区域内的AP信号进行识别、判断,并采用划分算法对区域内的AP信号进行划分。Signal recognizer: it performs signal recognition on the scanning results of the scanner, that is, recognizes and judges the AP signals in the area, and uses the division algorithm to divide the AP signals in the area.

信号放大器:就是对划分中的信号且不足以做为定位的信号进行放大,以便分清这些AP信号来自何处,这些信号是受什么原因才造成不能足以定位。通常设置一个常见的弱信号表,这便于对弱信号造成的原因进行调节。Signal amplifier: It is to amplify the signals in the division and not enough for positioning, so as to distinguish where these AP signals come from, and what causes these signals to be insufficient for positioning. A common weak signal table is usually set, which facilitates the adjustment of the cause of the weak signal.

信号处理器:就是对信号放大后的结果进行处理,以发现此时的AP信号来自何处,若此时的信号能满足定位需要,则直接与指纹数据库进行对比与匹配,若此时的信号不足以满足定位要求,则切换至其它划分中。Signal processor: It is to process the result of signal amplification to find out where the AP signal comes from at this time. If the signal at this time can meet the positioning needs, it will directly compare and match with the fingerprint database. If the signal at this time If it is not enough to meet the positioning requirements, switch to other divisions.

信号控制器:就是对整个定位引擎实现控制、协调与均衡,以使该引擎能稳定的帮助WIFI精确定位和缩短定位的时延。Signal controller: It is to control, coordinate and balance the entire positioning engine, so that the engine can stably help WIFI to accurately locate and shorten the positioning delay.

信号跟踪器:保障终端用户在区域内、室内外能持续定位,并能持续获得所推荐的服务。即当用户处于不同区域的划分段时,可以根据不同划分进行自动切换,以便持续的跟踪到区域内所有的WIFI信号。Signal Tracker: Ensure that end users can continue to locate in the area, indoors and outdoors, and can continue to obtain recommended services. That is, when the user is in different divisions of the area, it can automatically switch according to different divisions, so as to continuously track all WIFI signals in the area.

作为本发明的第二方面,提供了一种面向位置服务的信息服务主动推荐方法,包括:As a second aspect of the present invention, a location-based service-oriented information service active recommendation method is provided, including:

步骤1,云计算服务器获取来自移动终端的移动终端定位信号,特别地,该移动终端定位信号可通过上述的移动终端的整合定位方法获得;Step 1, the cloud computing server obtains the mobile terminal positioning signal from the mobile terminal, especially, the mobile terminal positioning signal can be obtained through the above-mentioned integrated positioning method of the mobile terminal;

步骤2,云计算服务器根据来自所述移动终端的定制需求和所述移动终端定位信号,从服务提供方获取推荐的位置服务推荐信息,并将所述位置服务推荐信息发送给所述移动终端。特别地,根据服务提供方的所提供的服务,以及用户的定制需求实现服务主动推荐,以最大限度提高服务提供商和运营商的收益。Step 2: The cloud computing server obtains recommended location service recommendation information from a service provider according to the customization requirements from the mobile terminal and the positioning signal of the mobile terminal, and sends the location service recommendation information to the mobile terminal. In particular, active service recommendation is realized according to the services provided by the service provider and the customization requirements of users, so as to maximize the revenue of service providers and operators.

步骤3,云计算服务器接收来自所述移动终端对所述位置服务推荐信息的评价结论及评价原因;Step 3, the cloud computing server receives the evaluation conclusion and evaluation reason of the location service recommendation information from the mobile terminal;

步骤4,若所述评价结果为不满意且推荐的服务不能满足定制需求,则云计算服务器进一步接收来自所述移动终端的新的定制需求,并根据所述新的定制需求及所述移动终端定位信号再次从服务提供方获取推荐的位置服务推荐信息,并将该位置服务推荐信息发送给所述移动终端。Step 4, if the evaluation result is unsatisfactory and the recommended service cannot meet the customization requirement, the cloud computing server further receives the new customization requirement from the mobile terminal, and according to the new customization requirement and the mobile terminal The positioning signal obtains recommended location service recommendation information from the service provider again, and sends the location service recommendation information to the mobile terminal.

特别地,在通过GPS/北斗和基于蚁群策略的WIFI的定位机制,使得终端用户可以在随时、随地提供无障碍的定位,这有效满足了位置服务的基本要求。因此,本发明中的面向位置的信息服务主动推荐方法采用主动推荐的方式,可以有效的为终端用户提供按需的定位服务,从而为不同的用户从传统的被动推荐转化到主动推荐。In particular, through the positioning mechanism of GPS/Beidou and WIFI based on ant colony strategy, end users can provide barrier-free positioning anytime and anywhere, which effectively meets the basic requirements of location services. Therefore, the active recommendation method for location-oriented information services in the present invention adopts the active recommendation method, which can effectively provide on-demand positioning services for end users, thereby converting traditional passive recommendations to active recommendations for different users.

另外,本发明可对定位信息及基于位置服务的推荐服务进行信息处理,使其整个定位装置能实现信息交换与数据处理。这时,就需要在云计算环境下实现高效与伸缩的并行实时处理,以实时为用户带来满足需求的体验。一方面,终端用户根据自己的需求定制服务,将通过定位信息与定位信息发送至云计算环境中;还具有接收服务信息的功能。另一方面,本发明还可使服务提供商根据用户定制要求来实现随时注册和发布服务,以及时的满足用户的定制要求。In addition, the present invention can perform information processing on location information and recommendation services based on location services, so that the entire location device can realize information exchange and data processing. At this time, it is necessary to realize efficient and scalable parallel real-time processing in the cloud computing environment to bring users an experience that meets the needs in real time. On the one hand, end users customize services according to their own needs, and send location information and location information to the cloud computing environment; it also has the function of receiving service information. On the other hand, the present invention can also enable the service provider to register and publish services at any time according to user customization requirements, so as to meet user customization requirements in time.

优选地,在所述步骤4中,云计算服务器还将所述不满意的评价结果及其评价原因发送给客服中心。Preferably, in the step 4, the cloud computing server also sends the unsatisfactory evaluation results and evaluation reasons to the customer service center.

优选地,所述位置服务推荐信息是所述移动终端所在的区域及该区域周边的位置服务。Preferably, the location service recommendation information is the area where the mobile terminal is located and location services around the area.

下面以旅客获取服务为例对本发明进行说明:The present invention will be described below by taking passenger acquisition service as an example:

1、本发明的定位机制,是在云计算环境下进行的,因此,当云计算环境具备且通信机制及地图技术等都满足后,本发明的效率就能很好的体现了。1. The positioning mechanism of the present invention is carried out in a cloud computing environment. Therefore, when the cloud computing environment is available and the communication mechanism and map technology are all satisfied, the efficiency of the present invention can be well reflected.

2、将本发明的方法用程序开发后,分别按服务、客户端和云计算环境要求嵌入到各自的端/各端的应用程序中和环境中。2. After the method of the present invention is developed with a program, it is respectively embedded in the application program and environment of each end/end according to the requirements of the service, client and cloud computing environment.

3、本发明是以区域进行定位和实行主动服务推荐,即当旅客到达不同的景区时,其定位和服务推荐只限该景区及该景区周边的位置服务。这样就可以使得旅客在该景区内容易获取到实用的推荐服务,也减少了搜索范围等优点。3. The present invention locates and implements active service recommendation by area, that is, when a passenger arrives at a different scenic spot, the positioning and service recommendation are only limited to the location service of the scenic spot and the surrounding areas of the scenic spot. In this way, passengers can easily obtain practical recommendation services in the scenic spot, and also reduce the search range and other advantages.

4、当旅客(终端用户)即将到达某景区后。根据本发明可得以下流程:4. When passengers (end users) are about to arrive at a scenic spot. Can obtain following flow process according to the present invention:

1)当旅客打开定位终端后,就根据GPS/北斗和区域内WIFI信号进行定位,同时根据GPS/北斗地域性特点和WIFI的AP信号源实现景区及周边精确定位。1) When the passenger turns on the positioning terminal, the positioning is carried out according to the GPS/Beidou and WIFI signals in the area, and at the same time, the precise positioning of the scenic spot and its surroundings is realized according to the regional characteristics of GPS/Beidou and the AP signal source of WIFI.

2)通常临界值是默认值,即当基于蚁群策略的WIFI定位寻优至该临界值后就可以顺利实现定位,但终端用户可以根据自己的需求更改这个临界值,使其能更加地满足自己的定位要求,以便获得更为满意的位置服务及基于位置服务的业务服务。2) Usually the critical value is the default value, that is, when the WIFI positioning based on the ant colony strategy is optimized to this critical value, the positioning can be successfully realized, but end users can change this critical value according to their own needs to make it more satisfying own positioning requirements in order to obtain more satisfactory location services and business services based on location services.

3)完成定位后,旅客就可以通过终端设备进行按需求的定制服务设置,并将结果发送至云计算服务中心,以通过云计算实现快速、有效的为用户提供服务。3) After the positioning is completed, passengers can set customized services according to their needs through the terminal equipment, and send the results to the cloud computing service center to provide users with fast and effective services through cloud computing.

4)云计算环境根据用户的定制需求进行快速的分析处理后,为用户主动提供该景区及周边的信息服务。4) After the cloud computing environment conducts rapid analysis and processing according to the customized needs of users, it actively provides users with information services of the scenic spot and its surrounding areas.

5)用户获取服务,并确定所提供的服务是否能满足自己的需求,若不满足,则发送不满意的原因,并重新再发一次需求定制。当云计算服务中心再收到定制需求和原因后,再一次自动进行主动推荐,并向云计算中心的客户中心发送推荐服务和旅客不满意的原因。5) The user obtains the service and determines whether the provided service can meet his needs. If not, send the reason for dissatisfaction, and re-send the demand customization again. When the cloud computing service center receives the customized requirements and reasons, it will automatically make active recommendations again, and send the recommended service and the reasons for passenger dissatisfaction to the customer center of the cloud computing center.

6)旅客获得满足自己的需求服务,并进行评论。6) Passengers obtain services that meet their needs and make comments.

为了满足用户终端可以在随时、在随地都能实现定位,并能有效获得面向定位的位置服务,本发明从以下几个方面进行了创新。In order to meet the requirement that the user terminal can be positioned at any time and anywhere, and can effectively obtain location-oriented services, the present invention makes innovations in the following aspects.

1、提出了满足室内外、多种模式融合的统一位置信息获取及处理方法,该方法可以在GPS/北斗和WIFI信号下实现定位信号的获取和处理。1. A unified location information acquisition and processing method that satisfies the integration of indoor and outdoor and multiple modes is proposed. This method can realize the acquisition and processing of positioning signals under GPS/Beidou and WIFI signals.

2、本发明的定位机制是在云计算环境中实施的。2. The positioning mechanism of the present invention is implemented in a cloud computing environment.

3、建立了满足室内外定位的定位引擎,该引擎满足GPS/北斗也能满足WIFI定位要求。由于GPS/北斗的定位是由提供商直接提供,只需要将这些定位装置加入到本发明即可;在这种情况下,定位则根据用户终端的位置信号强度自动选择不同的定位信号。3. Established a positioning engine that meets indoor and outdoor positioning. The engine meets GPS/Beidou and also meets WIFI positioning requirements. Since GPS/Beidou positioning is directly provided by the provider, it is only necessary to add these positioning devices to the present invention; in this case, positioning automatically selects different positioning signals according to the position signal strength of the user terminal.

4、为了使区域内的WIFI信号有组织和结构,采用了划分算法进行了划分,这为后续基于蚁群策略的指纹匹配寻优提供切换方法。4. In order to make the WIFI signal in the area organized and structured, a division algorithm is used to divide it, which provides a switching method for the subsequent fingerprint matching optimization based on the ant colony strategy.

5、根据WIFI信号强度(通常GPS/北斗在空旷等环境下定位信号都是覆盖的),以及所建立的映射率函数和效用函数;同时,设置的WIFI定位临界值(如0.9)来设计一种满足WIFI定位优化的蚁群算法实现高精度的定位。5. According to the WIFI signal strength (usually GPS/Beidou positioning signals are covered in the open environment), as well as the established mapping rate function and utility function; at the same time, set the WIFI positioning critical value (such as 0.9) to design a An ant colony algorithm that meets WIFI positioning optimization to achieve high-precision positioning.

6、建立定位传输组件、需求定制收发组件、服务注册发布组件、服务推荐组件、定位实现组件来实现面向位置的信息服务主动推荐模块。6. Establish a positioning transmission component, a demand customization sending and receiving component, a service registration publishing component, a service recommendation component, and a positioning realization component to realize a location-oriented information service active recommendation module.

7、为了处理定位信息、位置服务及信息服务,设置了一个信息服务实时采集与处理模块在云计算环境下实现数据与信息的处理。7. In order to process positioning information, location services and information services, an information service real-time collection and processing module is set up to realize data and information processing in the cloud computing environment.

通过本发明,能在室内外、随时、随地实现全方位的定位,而且可以有效提高定位精度和降低时延,为终端用户带来完美的体验效果。特别地,通过本发明的全方位的定位机制,以及在云计算环境下,可以为不同的终端用户提供按需定制要求的服务。Through the present invention, all-round positioning can be realized indoors and outdoors, anytime and anywhere, and the positioning accuracy can be effectively improved and time delay can be reduced, so as to bring perfect experience effects to terminal users. In particular, through the omnidirectional positioning mechanism of the present invention, and in the cloud computing environment, different terminal users can be provided with services customized on demand.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. 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 (9)

1. the integration localization method of a portable terminal is characterized in that, comprising:
Step 1 is obtained satellite positioning signal and WIFI framing signal etc.;
Step 2, the signal strength signal intensity of satellite positioning signal and WIFI framing signal relatively selects big one of signal strength signal intensity as the portable terminal framing signal;
Step 3 sends to cloud computing server with described portable terminal framing signal;
Step 4 receives the location-based service recommendation information of initiatively recommending according to described portable terminal framing signal from described cloud computing server.
2. integration localization method according to claim 1 is characterized in that, described WIFI framing signal obtains by following method:
Steps A 1 is set up fingerprint database according to the AP situation of zones of different;
Steps A 2, scan A P signal when the intensity of AP signal meets pre-provisioning request, is directly located, otherwise execution in step A3;
Steps A 3, the AP signal that identification scanning obtains, and adopt partitioning algorithm that described AP signal is divided;
Steps A 4 is amplified for the signal of location being not enough in the described AP signal after dividing;
Steps A 5 is handled the AP signal after amplifying, to identify the source of this AP signal; If this AP signal can satisfy the location needs, then this AP signal is compared by predefined location routing table and described fingerprint database and mates to finish the location, otherwise switch to other divide in execution in step A4 also.
3. integration localization method according to claim 2 is characterized in that, the method that obtains described WIFI framing signal also comprises:
Steps A 6, when described portable terminal was in the division section of zones of different, division was automaticallyed switch according to difference, in order to trace into all WIFI signals in the zone constantly.
4. integration localization method according to claim 2 is characterized in that, the method that obtains described WIFI framing signal also comprises:
Steps A 7 is set up the utility function satisfy WIFI location validity and user satisfaction, with the uncertainty that effectively prevents the information strength in the zone and stable.
5. integration localization method according to claim 2 is characterized in that, in steps A 5, described coupling is undertaken by following ant group policy optimization method:
1) uses
Figure FDA00003175542100021
Ant k divides the probability of realizing state transitions at AP when being illustrated in time t, and shows tabu with taboo kThe AP signal of the current institute of expression ant k optimizing, allowed k={ C-tabu kRepresenting that ant k allows the AP signal of optimizing next time, C represents all AP signals in the zone; Y (t): A → D, wherein Y (t) represents mapping function, and A represents the signal in the routing table of described location, and D represents fingerprint database; F (t): E → S, wherein F (t) is the utility function that satisfies WIFI location validity and user satisfaction; E is that location efficiency (%), S are user satisfaction, and then satisfying optimum matching result ant state transition probability can be calculated as follows:
If j belongs to allowed k, then P i , j k ( t ) = [ Y ij ( t ) ] &alpha; &CenterDot; [ F ik ( t ) ] &beta; , Otherwise P i , j k ( t ) = 0 ;
Wherein, α is that amount of information inspires the factor, and β is that expectation inspires the factor, and value is (0,1); I, j represent the value of the state transitions of different zonings, and are the positive integer greater than zero.
2) utilize following formula that mapping rate Function Y (t) is adjusted:
Y i,j(t)=(1-ρ)·Y i,j(t)+ΔY i,j(t)
&Delta; Y i , j ( t ) = &Sigma; k = 1 m &Delta; Y i , j k ( t )
In the formula, and (1-ρ) ∈ (0,1] be the variation coefficient from the signal strength signal intensity R that is divided into another division from the mapping rate, ρ ∈ [0,1), represent the attenuation coefficient of following R; Δ Y I, j(t) represent that (i is j) in the increments of change of dividing on switching in this circulation; M represents the ant number; When initial, Δ Y I, j(t)=0;
Figure FDA00003175542100031
Represent k ant in circulation once switching state (i j) goes up the value of signal strength signal intensity R, then:
&Delta; Y i , j k ( t ) = R 0
In the formula, the situation of 0 expression except R.
3) after reaching predetermined positioning accuracy, stop to optimize coupling.
6. integration localization method according to claim 1 is characterized in that, described location-based service recommendation information is the zone at described portable terminal place and the location-based service of this area peripheral edge.
7. the information service active recommend method of a facing position service is characterized in that, comprising:
Step 1, cloud computing server are obtained the portable terminal framing signal from portable terminal;
Step 2, cloud computing server obtains the location-based service recommendation information of recommendation from serving the provider, and described location-based service recommendation information is sent to described portable terminal according to customized demand and described portable terminal framing signal from described portable terminal;
Step 3, cloud computing server receive from described portable terminal the evaluation conclusion of described location-based service recommendation information and evaluation reason;
Step 4, if described evaluation result can not satisfy customized demand for service dissatisfied and that recommend, then cloud computing server further receives the new customized demand from described portable terminal, and obtain the location-based service recommendation information of recommendation from serving the provider again according to described new customized demand and described portable terminal framing signal, and this location-based service recommendation information is sent to described portable terminal.
8. according to the described information service active of claim 7 recommend method, it is characterized in that in described step 3 or 4, cloud computing server also sends to client service center with described unsatisfied evaluation result and evaluation reason thereof.
9. according to the described information service active of claim 7 recommend method, it is characterized in that described location-based service recommendation information is the zone at described portable terminal place and the location-based service of this area peripheral edge.
CN201310172652.9A 2013-05-10 2013-05-10 The integration localization method of mobile terminal and active information service recommendation method Active CN103237291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310172652.9A CN103237291B (en) 2013-05-10 2013-05-10 The integration localization method of mobile terminal and active information service recommendation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310172652.9A CN103237291B (en) 2013-05-10 2013-05-10 The integration localization method of mobile terminal and active information service recommendation method

Publications (2)

Publication Number Publication Date
CN103237291A true CN103237291A (en) 2013-08-07
CN103237291B CN103237291B (en) 2015-08-05

Family

ID=48885302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310172652.9A Active CN103237291B (en) 2013-05-10 2013-05-10 The integration localization method of mobile terminal and active information service recommendation method

Country Status (1)

Country Link
CN (1) CN103237291B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945007A (en) * 2014-05-08 2014-07-23 百度在线网络技术(北京)有限公司 Information pushing method and device
CN104502908A (en) * 2014-11-26 2015-04-08 成都智信优创科技有限公司 Special human body positioning system
CN105117945A (en) * 2015-09-07 2015-12-02 广东欧珀移动通信有限公司 Information pushing method and apparatus
CN105372687A (en) * 2015-09-29 2016-03-02 上海斐讯数据通信技术有限公司 A mobile device-based movement track drawing method and system
CN105488954A (en) * 2016-01-14 2016-04-13 广东小天才科技有限公司 Information reminding method and device based on danger level
CN105516251A (en) * 2015-11-26 2016-04-20 阿坝师范学院 Positioning calibration method and position service pushing system thereof
CN105930469A (en) * 2016-04-23 2016-09-07 北京工业大学 Hadoop-based individualized tourism recommendation system and method
CN106658402A (en) * 2016-09-30 2017-05-10 北京云格智道科技有限公司 Mobile front-end part and mobile location information processing system comprising same
CN106646574A (en) * 2017-02-16 2017-05-10 南京大学 Indoor and outdoor ubiquitous positioning method and indoor and outdoor ubiquitous positioning system
CN106937308A (en) * 2016-12-28 2017-07-07 上海掌门科技有限公司 A kind of method and apparatus for determining user's access service region and action message
CN107203000A (en) * 2017-06-16 2017-09-26 惠州市德赛西威汽车电子股份有限公司 A kind of vehicle location method for tracing and system
CN107688951A (en) * 2016-08-03 2018-02-13 美的智慧家居科技有限公司 Information-pushing method and device
CN108490455A (en) * 2018-03-27 2018-09-04 江西理工大学 It is a kind of intelligence marine settings positioning and communication system
CN109997127A (en) * 2017-06-05 2019-07-09 谷歌有限责任公司 Logic section data processing system
CN110366244A (en) * 2019-08-02 2019-10-22 无锡职业技术学院 A WiFi fingerprint indoor positioning method
CN110611704A (en) * 2019-08-30 2019-12-24 阿里巴巴集团控股有限公司 Position-based sub-application recommendation method and system
CN114666722A (en) * 2020-12-22 2022-06-24 中国石油化工股份有限公司 Chemical device internal and external positioning system and method based on positioning beacon

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1602021A (en) * 2004-10-27 2005-03-30 上海宽鑫信息科技有限公司 Indoor precision positioner and positioning algorithm of radio local network terminal appliance
US20070287473A1 (en) * 1998-11-24 2007-12-13 Tracbeam Llc Platform and applications for wireless location and other complex services
CN101988962A (en) * 2009-11-09 2011-03-23 上海海洋大学 Implementation of interactive information auxiliary system based on ontology and location service
CN103068035A (en) * 2011-10-21 2013-04-24 中国移动通信集团公司 Wireless network location method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070287473A1 (en) * 1998-11-24 2007-12-13 Tracbeam Llc Platform and applications for wireless location and other complex services
CN1602021A (en) * 2004-10-27 2005-03-30 上海宽鑫信息科技有限公司 Indoor precision positioner and positioning algorithm of radio local network terminal appliance
CN101988962A (en) * 2009-11-09 2011-03-23 上海海洋大学 Implementation of interactive information auxiliary system based on ontology and location service
CN103068035A (en) * 2011-10-21 2013-04-24 中国移动通信集团公司 Wireless network location method, device and system

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945007B (en) * 2014-05-08 2017-09-15 百度在线网络技术(北京)有限公司 Information-pushing method and device
CN103945007A (en) * 2014-05-08 2014-07-23 百度在线网络技术(北京)有限公司 Information pushing method and device
CN104502908A (en) * 2014-11-26 2015-04-08 成都智信优创科技有限公司 Special human body positioning system
CN105117945A (en) * 2015-09-07 2015-12-02 广东欧珀移动通信有限公司 Information pushing method and apparatus
CN105372687A (en) * 2015-09-29 2016-03-02 上海斐讯数据通信技术有限公司 A mobile device-based movement track drawing method and system
CN105516251B (en) * 2015-11-26 2020-04-10 阿坝师范学院 Positioning calibration method and position service pushing system thereof
CN105516251A (en) * 2015-11-26 2016-04-20 阿坝师范学院 Positioning calibration method and position service pushing system thereof
CN105488954B (en) * 2016-01-14 2017-11-03 广东小天才科技有限公司 Information reminding method and device based on danger level
CN105488954A (en) * 2016-01-14 2016-04-13 广东小天才科技有限公司 Information reminding method and device based on danger level
CN105930469A (en) * 2016-04-23 2016-09-07 北京工业大学 Hadoop-based individualized tourism recommendation system and method
CN107688951A (en) * 2016-08-03 2018-02-13 美的智慧家居科技有限公司 Information-pushing method and device
CN106658402A (en) * 2016-09-30 2017-05-10 北京云格智道科技有限公司 Mobile front-end part and mobile location information processing system comprising same
CN106937308A (en) * 2016-12-28 2017-07-07 上海掌门科技有限公司 A kind of method and apparatus for determining user's access service region and action message
CN106646574A (en) * 2017-02-16 2017-05-10 南京大学 Indoor and outdoor ubiquitous positioning method and indoor and outdoor ubiquitous positioning system
CN109997127B (en) * 2017-06-05 2023-07-18 谷歌有限责任公司 Logical segment data processing system
CN109997127A (en) * 2017-06-05 2019-07-09 谷歌有限责任公司 Logic section data processing system
CN117149925A (en) * 2017-06-05 2023-12-01 谷歌有限责任公司 Logical segment data processing system
CN107203000A (en) * 2017-06-16 2017-09-26 惠州市德赛西威汽车电子股份有限公司 A kind of vehicle location method for tracing and system
CN108490455A (en) * 2018-03-27 2018-09-04 江西理工大学 It is a kind of intelligence marine settings positioning and communication system
CN110366244A (en) * 2019-08-02 2019-10-22 无锡职业技术学院 A WiFi fingerprint indoor positioning method
CN110366244B (en) * 2019-08-02 2020-12-22 无锡职业技术学院 WiFi fingerprint indoor positioning method
CN110611704A (en) * 2019-08-30 2019-12-24 阿里巴巴集团控股有限公司 Position-based sub-application recommendation method and system
CN114666722A (en) * 2020-12-22 2022-06-24 中国石油化工股份有限公司 Chemical device internal and external positioning system and method based on positioning beacon
CN114666722B (en) * 2020-12-22 2025-01-07 中国石油化工股份有限公司 Chemical device internal and external positioning system and method based on positioning beacon

Also Published As

Publication number Publication date
CN103237291B (en) 2015-08-05

Similar Documents

Publication Publication Date Title
CN103237291B (en) The integration localization method of mobile terminal and active information service recommendation method
Jang et al. Indoor positioning technologies without offline fingerprinting map: A survey
CN103120000B (en) The generation of overlay area model and use
Zhou et al. Bluetooth indoor positioning based on RSSI and Kalman filter
US10698073B2 (en) Wireless access point location estimation using collocated harvest data
Chukhno et al. D2D-based cooperative positioning paradigm for future wireless systems: A survey
US9609473B2 (en) Service processing method and apparatus based on location information
US10075934B2 (en) Positioning method and apparatus
EP3990939B1 (en) Method and apparatus for localization
CN112449302B (en) Method and device for generating positioning and offline fingerprint database
CN107251586A (en) The distribution and utilization of the aerial information of operation are determined for position
CN104580350B (en) The system and method determined for position
US20150304180A1 (en) Radio access network geographic information system with multiple format
Antevski et al. A hybrid BLE and Wi-Fi localization system for the creation of study groups in smart libraries
CN107278381A (en) The distribution and utilization of the aerial information of operation are determined for position
CN103068035A (en) Wireless network location method, device and system
Guo et al. Knowledge aided adaptive localization via global fusion profile
CN107409275A (en) For providing the method and system of the enhanced trilateration based on positioning
WO2022173715A1 (en) Methods and apparatus to switch between wireless networks
Terwilliger et al. A localization system using wireless network sensors: A comparison of two techniques
Qiu et al. A localization strategy based on n‐times trilateral centroid with weight
CN108966341A (en) A kind of localization method and positioning device
Bi et al. Physical-Environment-Map-Aided 3-D Deployment Optimization for UAV-Assisted Integrated Localization and Communication in Urban Areas
Uzun et al. Semantic positioning-an innovative approach for providing location-based services based on the web of data
US9161162B2 (en) Estimating the geographical position of an apparatus based on its proximity to other apparatuses

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