CN104811900A - Method and system for displaying the historical track of mobile terminal under LBS positioning system - Google Patents
Method and system for displaying the historical track of mobile terminal under LBS positioning system Download PDFInfo
- Publication number
- CN104811900A CN104811900A CN201410036070.2A CN201410036070A CN104811900A CN 104811900 A CN104811900 A CN 104811900A CN 201410036070 A CN201410036070 A CN 201410036070A CN 104811900 A CN104811900 A CN 104811900A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- positioning
- historical
- feasible
- server
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
Landscapes
- Navigation (AREA)
Abstract
本发明公开了一种LBS定位系统下显示移动终端历史轨迹的方法,包括:对移动终端定位,生成所述移动终端按时间顺序排列的、不连续的历史定位点;确定所述移动终端的历史定位点中时间相邻的两个定位点之间的可行且最近的轨迹数据,根据所述可行且最近的轨迹数据将各个时间相邻的两个定位点之间可行且最近的轨迹一一连接,并显示。本发明还公开了一种LBS定位系统下显示移动终端历史轨迹的系统。
The invention discloses a method for displaying the historical trajectory of a mobile terminal under an LBS positioning system, comprising: positioning the mobile terminal, generating discontinuous historical positioning points of the mobile terminal arranged in chronological order; determining the historical track of the mobile terminal Feasible and recent trajectory data between two temporally adjacent positioning points in the positioning point, according to the feasible and recent trajectory data, the feasible and recent trajectory between the two temporally adjacent positioning points are connected one by one , and display. The invention also discloses a system for displaying the historical track of the mobile terminal under the LBS positioning system.
Description
技术领域technical field
本发明涉及无线通信领域终端轨迹显示技术,尤其涉及一种位置服务(LBS,Location Based Services)定位系统下显示移动终端历史轨迹的方法及系统。The present invention relates to terminal trajectory display technology in the field of wireless communication, in particular to a method and system for displaying historical trajectory of a mobile terminal under a location service (LBS, Location Based Services) positioning system.
背景技术Background technique
近年来,随着移动互联网的发展,LBS应用由专业应用、车辆应用扩展至个人消费应用,位置服务逐渐成为地理信息产业市场的主体。中国移动作为世界用户数最大的电信运营商,依托覆盖面积广阔的基站,在推行位置服务应用中,采用的均为LBS定位系统,因此,如何优化基于LBS定位系统下用户定位信息显得尤为重要。In recent years, with the development of the mobile Internet, LBS applications have expanded from professional applications and vehicle applications to personal consumption applications, and location services have gradually become the main body of the geographic information industry market. As the telecom operator with the largest number of users in the world, China Mobile relies on base stations with a wide coverage area, and uses LBS positioning system in the implementation of location service applications. Therefore, how to optimize user positioning information based on LBS positioning system is particularly important.
目前,中国运用最广的定位技术为:全球定位系统(GPS,Global PositioningSystem)和LBS定位系统;现有中国移动位置服务基地具备全网基站定位能力,且所述中国移动位置服务基地覆盖全国337个地级市、拥有3500余万兴趣点(POI)、以及拥有近350万公里导航道路电子地图的业务应用能力。而相关位置服务应用业务也依托所述中国移动位置服务基地定位能力、采用LBS定位系统进行业务运作。At present, the most widely used positioning technologies in China are: Global Positioning System (GPS, Global Positioning System) and LBS positioning system; the existing China Mobile location service base has the positioning capability of the whole network base station, and the China Mobile location service base covers 337 countries nationwide There are more than 35 million points of interest (POI) in prefecture-level cities, and business application capabilities with electronic maps of nearly 3.5 million kilometers of navigation roads. The related location service application business also relies on the positioning capability of the China Mobile location service base and adopts the LBS positioning system for business operation.
现有基于LBS定位系统显示移动终端历史轨迹的方法存在如下缺陷:在实际操作中,无法进行高频率的定位;从LBS定位系统角度而言,过高的定位频率会为系统带来极大的压力;从移动终端而言,移动终端定位频率已对自身耗电能力提出更高要求,定位频率越高移动终端的耗电量越高,因此,一味的增加定位频率理论上能有效提升历史轨迹显示的真实度,但在实际操作中很难实现。甚至在基于LBS的位置服务应用中,仅机械地将不连续的定位点按照时间顺序进行直线连接,虽然该方法简便,但并不能将用户实际历史轨迹显示出来,比如:两点之间实际没有直通的道路,如此,用户体验比较低。The existing method of displaying the historical trajectory of a mobile terminal based on the LBS positioning system has the following defects: in actual operation, high-frequency positioning cannot be performed; from the perspective of the LBS positioning system, too high positioning frequency will bring great damage to the system. Pressure; from the perspective of mobile terminals, the positioning frequency of mobile terminals has put forward higher requirements on their own power consumption capabilities. The higher the positioning frequency, the higher the power consumption of mobile terminals. Therefore, blindly increasing the positioning frequency can effectively improve the historical trajectory theoretically. Displayed realism, but difficult to achieve in practice. Even in LBS-based location service applications, only discontinuous positioning points are mechanically connected in a straight line in chronological order. Although this method is simple, it cannot display the actual historical trajectory of the user. For example: there is actually no location between two points. The through road, so, the user experience is relatively low.
发明内容Contents of the invention
有鉴于此,本发明实施例提供一种LBS定位系统下显示移动终端历史轨迹的方法及系统,在不改变LBS定位系统定位频率的条件下,能更为真实地显示移动终端的历史轨迹。In view of this, the embodiments of the present invention provide a method and system for displaying the historical trajectory of the mobile terminal under the LBS positioning system, which can display the historical trajectory of the mobile terminal more realistically without changing the positioning frequency of the LBS positioning system.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:
本发明实施例提供了一种LBS定位系统下显示移动终端历史轨迹的方法,包括:The embodiment of the present invention provides a method for displaying the historical trajectory of a mobile terminal under an LBS positioning system, including:
对移动终端定位,生成所述移动终端按时间顺序排列的、不连续的历史定位点;Positioning the mobile terminal, generating discontinuous historical positioning points arranged in chronological order for the mobile terminal;
确定所述移动终端的历史定位点中时间相邻的两个定位点之间可行且最近的轨迹数据,根据所述可行且最近的轨迹数据将各个时间相邻的两个定位点之间可行且最近的轨迹一一连接,并显示。Determining feasible and recent trajectory data between two time-adjacent positioning points in the historical positioning points of the mobile terminal, and calculating feasible and recent trajectory data between each time-adjacent positioning point according to the feasible and recent trajectory data. The recent tracks are connected one by one and displayed.
进一步地,所述对移动终端定位,生成所述移动终端按时间顺序排列的、不连续的历史定位点之前,所述方法还包括:Further, before the positioning of the mobile terminal is performed, the method further includes:
通过LBS定位接口向位置服务器发送查询所述移动终端的位置信息。Sending an inquiry about the location information of the mobile terminal to the location server through the LBS location interface.
进一步地,所述对移动终端定位,生成所述移动终端按时间顺序排列的、不连续的历史定位点包括:Further, the positioning of the mobile terminal and generating the discontinuous historical positioning points of the mobile terminal in chronological order include:
根据查询获得的移动终端的位置信息,生成所述移动终端按时间顺序排列的、不连续的历史定位点,并显示。According to the location information of the mobile terminal obtained from the query, generate and display discontinuous historical positioning points of the mobile terminal arranged in chronological order.
进一步地,所述确定所述移动终端的历史定位点中时间相邻的两个定位点之间的可行且最近的轨迹数据包括:Further, the determining the feasible and latest trajectory data between two temporally adjacent positioning points among the historical positioning points of the mobile terminal includes:
根据所述移动终端历史轨迹的查询信息,获取所述移动终端的历史定位点中时间相邻的两个定位点之间的可行且最近的轨迹数据。According to the query information of the historical trajectory of the mobile terminal, the feasible and latest trajectory data between two temporally adjacent positioning points among the historical positioning points of the mobile terminal is obtained.
本发明还提供了一种LBS定位系统下显示移动终端历史轨迹的系统,包括:定位服务器,其中,所述定位服务器,用于对所述移动终端定位,并生成所述移动终端按时间顺序排列的、不连续的历史定位点;所述定位服务器,还用于确定所述移动终端的历史定位点中时间相邻的两个定位点之间可行且最近的轨迹数据,根据所述可行且最近的轨迹数据将各个时间相邻的两个定位点之间可行且最近的轨迹一一连接,并显示。The present invention also provides a system for displaying historical trajectories of mobile terminals under an LBS positioning system, including: a positioning server, wherein the positioning server is used to locate the mobile terminal and generate a chronological sequence of the mobile terminals discontinuous historical positioning points; the positioning server is also used to determine feasible and recent trajectory data between two temporally adjacent positioning points in the historical positioning points of the mobile terminal, and according to the feasible and recent The trajectory data of the time-adjacent two positioning points are connected one by one with the feasible and nearest trajectory, and displayed.
进一步地,所述系统还包括位置服务器,其中,所述定位服务器,还用于通过LBS定位接口向位置服务器发送查询所述移动终端的位置信息的请求;Further, the system further includes a location server, wherein the location server is further configured to send a request for querying the location information of the mobile terminal to the location server through the LBS location interface;
所述位置服务器,用于根据所述定位服务器的查询的请求,在自身查询所述移动终端的位置信息,并将自身查询到的所述移动终端的位置信息发送至所述定位服务器。The location server is configured to query the location information of the mobile terminal itself according to the query request of the location server, and send the location information of the mobile terminal queried by itself to the location server.
进一步地,所述定位服务器,还用于接收所述移动终端的位置信息,并根据所述移动终端的位置信息生成所述移动终端按时间顺序排列的、不连续的历史定位点,并显示。Further, the positioning server is further configured to receive the location information of the mobile terminal, and generate and display discontinuous historical positioning points of the mobile terminal arranged in chronological order according to the location information of the mobile terminal.
进一步地,所述系统还包括地图提供服务器,设置有用于连接所述定位服务器的API;其中,Further, the system also includes a map providing server, which is provided with an API for connecting to the positioning server; wherein,
所述地图提供服务器,用于通过API查询所述移动终端的历史定位点中时间相邻的两个定位点之间的可行且最近的轨迹数据,并将所述可行且最近的轨迹数据发送至定位服务器;The map providing server is used to query the feasible and recent trajectory data between two temporally adjacent positioning points among the historical positioning points of the mobile terminal through API, and send the feasible and recent trajectory data to location server;
所述定位服务器,还用于通过API向所述地图提供服务器发送所述移动终端历史轨迹的查询申请;还用于接收所述可行且最近的轨迹数据,根据所述可行且最近的轨迹数据将时间相邻的两个定位点之间可行且最近的轨迹一一连接,并显示。The positioning server is also used to send an inquiry application for the historical trajectory of the mobile terminal to the map providing server through the API; it is also used to receive the feasible and recent trajectory data, and according to the feasible and recent trajectory data will Feasible and closest trajectories between two temporally adjacent anchor points are connected one by one and displayed.
本发明实施例所提供的LBS定位系统下显示移动终端历史轨迹的方法及系统,在不改变LBS定位频率的条件下,定位服务器先通过LBS定位接口向位置服务器查询移动终端的位置信息,生成所述移动终端在一定时间间隔内、按时间顺序排列、不连续的定位点,并显示;然后,所述定位服务器再通过应用程序编程接口(API,Application Programming Interface)向地图提供服务器查询所述移动终端的历史定位点中时间相邻的两个定位点之间可行且最近的轨迹,并将各个所述时间相邻的两个定位点之间可行且最近的轨迹一一连接,形成一条完整且连续的所述移动终端的历史轨迹,由于所述历史轨迹基于历史定位点而生成,所以,所述历史轨迹具备一定的真实性。The method and system for displaying the historical trajectory of a mobile terminal under the LBS positioning system provided by the embodiments of the present invention, without changing the LBS positioning frequency, the positioning server first queries the location server for the location information of the mobile terminal through the LBS positioning interface, and generates the The positioning points of the mobile terminal are arranged in chronological order and discontinuous within a certain time interval, and displayed; then, the positioning server queries the map providing server for the mobile terminal through an application programming interface (API, Application Programming Interface). Feasible and recent trajectories between two temporally adjacent positioning points in the terminal's historical positioning points, and connecting the feasible and recent trajectories between each of the time adjacent two positioning points to form a complete and As for the continuous historical track of the mobile terminal, since the historical track is generated based on historical anchor points, the historical track has certain authenticity.
并且,本发明实施例的方法在不改变定位频率的条件下实现,能保证LBS定位系统的稳定性,能更为真实地显示移动终端的历史轨迹。Moreover, the method of the embodiment of the present invention is realized without changing the positioning frequency, which can ensure the stability of the LBS positioning system and can more truly display the historical track of the mobile terminal.
附图说明Description of drawings
图1为本发明实施例LBS定位系统下显示移动终端历史轨迹的方法的实现流程示意图;Fig. 1 is the implementation flow schematic diagram of the method for displaying the historical trajectory of a mobile terminal under the LBS positioning system of an embodiment of the present invention;
图2为本发明实施例LBS定位系统下显示移动终端历史轨迹的系统的结构示意图;FIG. 2 is a schematic structural diagram of a system for displaying the historical trajectory of a mobile terminal under the LBS positioning system according to an embodiment of the present invention;
图3为本发明实施例LBS定位系统下显示移动终端历史轨迹的方法具体实现的详细流程示意图。FIG. 3 is a detailed flow diagram of a specific implementation of a method for displaying a historical track of a mobile terminal under an LBS positioning system according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合具体实施例及附图对本发明的实施方式进行详细描述。The implementation manner of the present invention will be described in detail below in conjunction with specific embodiments and accompanying drawings.
图1为本发明实施例LBS定位系统下显示移动终端历史轨迹的方法的实现流程示意图,如图1所示,所述方法包括:Fig. 1 is the realization flowchart of the method for displaying the historical trajectory of the mobile terminal under the LBS positioning system of the embodiment of the present invention. As shown in Fig. 1, the method includes:
步骤101:对移动终端定位,生成所述移动终端按时间顺序排列的、不连续的历史定位点;Step 101: Locate the mobile terminal, and generate discontinuous historical positioning points of the mobile terminal arranged in chronological order;
步骤102:确定所述移动终端的历史定位点中时间相邻的两个定位点之间可行且最近的轨迹数据,根据所述可行且最近的轨迹数据将各个时间相邻的两个定位点之间可行且最近的轨迹一一连接,并显示。Step 102: Determine feasible and recent trajectory data between two time-adjacent positioning points among the historical positioning points of the mobile terminal, and divide each time-adjacent positioning point between the two time-adjacent positioning points according to the feasible and recent trajectory data The feasible and recent trajectories among them are connected one by one and displayed.
具体的,定位服务器对移动终端定位,生成所述移动终端按时间顺序排列的、不连续的历史定位点;Specifically, the positioning server locates the mobile terminal, and generates discontinuous historical positioning points of the mobile terminal arranged in chronological order;
定位服务器确定所述移动终端的历史定位点中时间相邻的两个定位点之间可行且最近的轨迹数据,并根据所述可行且最近的轨迹数据将各个时间相邻的两个定位点之间可行且最近的轨迹一一连接,并显示;The positioning server determines feasible and recent trajectory data between two time-adjacent positioning points among the historical positioning points of the mobile terminal, and assigns the time-adjacent positioning points between each time-adjacent positioning point according to the feasible and recent trajectory data. The feasible and recent trajectories among them are connected one by one and displayed;
这里,所述可行且最近的轨迹数据为:两个历史定位点之间实际存在、最短、对应于实际路况的历史轨迹,且所述历史轨迹存在于地图提供服务器所提供的地图信息中。Here, the feasible and latest trajectory data is: the historical trajectory that actually exists between two historical positioning points, is the shortest, and corresponds to actual road conditions, and the historical trajectory exists in the map information provided by the map providing server.
这里,所述对移动终端定位,生成所述移动终端按时间顺序排列的、不连续的历史定位点之前,所述方法还包括:通过LBS定位接口向位置服务器发送查询所述移动终端的位置信息。Here, before locating the mobile terminal and generating discontinuous historical positioning points arranged in chronological order for the mobile terminal, the method further includes: sending an inquiry about the location information of the mobile terminal to the location server through the LBS positioning interface .
其中,所述LBS定位接口设置于定位服务器中,用于与所述位置服务器连接;所述位置服务器包括运营商位置服务基地中所有位置信息,且所述位置服务器的作用与运营商位置服务基地的作用相同;具体地,所述定位服务器通过LBS定位接口向位置服务器发送查询所述移动终端的位置信息。Wherein, the LBS positioning interface is set in the positioning server for connecting with the location server; the location server includes all location information in the operator's location service base, and the role of the location server is similar to that of the operator's location service base. function is the same; specifically, the positioning server sends a query to the location server for the location information of the mobile terminal through the LBS positioning interface.
相应的,所述对移动终端定位,生成所述移动终端按时间顺序排列的、不连续的历史定位点包括:根据查询获得的移动终端的位置信息,生成所述移动终端按时间顺序排列的、不连续的历史定位点,并显示;Correspondingly, the locating the mobile terminal and generating the discontinuous historical positioning points arranged in chronological order of the mobile terminal include: generating the location information of the mobile terminal arranged in chronological order according to the location information of the mobile terminal obtained from the query. Discontinuous historical anchor points, and display;
这里,所述移动终端的位置信息包括:移动终端某一时刻所处地理位置的坐标点信息,定位服务器能够根据所述坐标点信息确定所述移动终端在某一时刻的定位点;具体地,所述定位服务器根据查询获得的移动终端的位置信息,生成所述移动终端按时间顺序排列的、不连续的历史定位点,并显示。Here, the location information of the mobile terminal includes: coordinate point information of the geographic location of the mobile terminal at a certain moment, and the positioning server can determine the positioning point of the mobile terminal at a certain moment according to the coordinate point information; specifically, The positioning server generates and displays discontinuous historical positioning points of the mobile terminal arranged in chronological order according to the position information of the mobile terminal obtained from the query.
其中,所述生成是指所述定位服务器通过定位接口直接定位所述移动终端按时间顺序排列的、不连续的历史定位点;因为,所述定位服务器的定位过程是按照时间顺序进行的,例如从8点开始至18点,每隔半个小时对移动终端进行一次定位,得到20个按时间顺序排列的历史定位点,因此,当获取移动终端的历史轨迹时,所述定位服务器能直接生成所述移动终端按时间顺序排列的、不连续的历史定位点。Wherein, the generating means that the positioning server directly locates the discontinuous historical positioning points arranged in chronological order of the mobile terminal through the positioning interface; because the positioning process of the positioning server is carried out in chronological order, for example From 8 o'clock to 18 o'clock, the mobile terminal is positioned every half an hour to obtain 20 historical positioning points arranged in chronological order. Therefore, when obtaining the historical track of the mobile terminal, the positioning server can directly generate The discontinuous historical positioning points arranged in chronological order by the mobile terminal.
所述确定所述移动终端的历史定位点中时间相邻的两个定位点之间的可行且最近的轨迹数据包括:根据所述移动终端历史轨迹的查询信息,获取所述移动终端的历史定位点中时间相邻的两个定位点之间的可行且最近的轨迹数据。具体地,定位服务器根据所述移动终端历史轨迹的查询信息,通过自身的API向地图提供服务器获取所述移动终端的历史定位点中时间相邻的两个定位点之间的可行且最近的轨迹数据。The determining the feasible and latest trajectory data between two temporally adjacent positioning points among the historical positioning points of the mobile terminal includes: obtaining the historical positioning of the mobile terminal according to the query information of the historical trajectory of the mobile terminal Feasible and recent trajectory data between two temporally adjacent anchor points in a point. Specifically, according to the query information of the historical trajectory of the mobile terminal, the positioning server obtains the feasible and recent trajectory between two temporally adjacent positioning points among the historical positioning points of the mobile terminal to the map providing server through its own API. data.
与现有基于LBS定位系统显示移动终端历史轨迹的方法相比,本发明实施例的方法在不改变LBS定位频率的条件下,定位服务器先通过LBS定位接口向位置服务器查询所述移动终端的位置信息,生成所述移动终端在一定时间间隔内的、按时间顺序排列的、不连续的历史定位点,并显示;这里,所述一定时间间隔内可以是15-30分钟;Compared with the existing method of displaying the historical trajectory of the mobile terminal based on the LBS positioning system, the method of the embodiment of the present invention does not change the LBS positioning frequency, and the positioning server first queries the location server for the position of the mobile terminal through the LBS positioning interface. information, generating and displaying discontinuous historical positioning points arranged in chronological order within a certain time interval of the mobile terminal; here, the certain time interval may be 15-30 minutes;
然后,所述定位服务器再通过API向地图提供服务器查询所述移动终端的历史定位点中时间相邻的两个定位点之间可行且最近的轨迹数据,并根据所述可行且最近的轨迹数据将各个时间相邻的两个定位点之间可行且最近的轨迹一一连接,形成一条完整且连续的所述移动终端的历史轨迹。由于所述历史轨迹基于历史定位点而生成,所以,所述历史轨迹具备一定的真实性。本发明实施例的方法未增加LBS定位系统频率,能避免增加LBS定位系统的压力,只需通过API调用地图提供服务器中的地理位置信息对定位服务器定位时的信息进行改进,就能显示时间间隔相邻的两个定位点之间可行且最近的历史轨迹,进而能更为真实地显示移动终端的历史轨迹。Then, the positioning server queries the map providing server through the API for feasible and recent trajectory data between two temporally adjacent positioning points in the historical positioning points of the mobile terminal, and according to the feasible and recent trajectory data Feasible and recent trajectories between two positioning points adjacent in time are connected one by one to form a complete and continuous historical trajectory of the mobile terminal. Since the historical track is generated based on historical anchor points, the historical track has a certain degree of authenticity. The method of the embodiment of the present invention does not increase the frequency of the LBS positioning system, and can avoid increasing the pressure of the LBS positioning system. It only needs to use the geographic location information in the map providing server to improve the information when the positioning server is positioned through the API, and the time interval can be displayed. Feasible and recent historical trajectories between two adjacent anchor points, so that the historical trajectories of the mobile terminal can be displayed more realistically.
这里,所述API设置于地图提供服务器中,用于与定位服务器连接。Here, the API is set in the map providing server for connecting with the positioning server.
为实现上述方法,本发明实施例还提出一种LBS定位系统下显示移动终端历史轨迹的系统,如图2所示,所述LBS定位系统下显示移动终端历史轨迹的系统包括:所述定位服务器21,用于对所述移动终端定位,并生成所述移动终端按时间顺序排列的、不连续的历史定位点;In order to realize the above method, the embodiment of the present invention also proposes a system for displaying the historical trajectory of the mobile terminal under the LBS positioning system, as shown in Figure 2, the system for displaying the historical trajectory of the mobile terminal under the LBS positioning system includes: the positioning server 21. For locating the mobile terminal, and generating chronologically arranged, discontinuous historical positioning points of the mobile terminal;
所述定位服务器21,还用于确定所述移动终端的历史定位点中时间相邻的两个定位点之间可行且最近的轨迹数据,根据所述可行且最近的轨迹数据将各个时间相邻的两个定位点之间可行且最近的轨迹一一连接,并显示。The positioning server 21 is also used to determine feasible and recent trajectory data between two time-adjacent positioning points among the historical positioning points of the mobile terminal, and each time adjacent to each other according to the feasible and recent trajectory data. The feasible and closest trajectories between the two anchor points are connected one by one and displayed.
这里,所述系统还包括位置服务器22,其中,Here, the system also includes a location server 22, wherein,
所述定位服务器21,还用于通过LBS定位接口向位置服务器22发送查询所述移动终端的位置信息的请求;The location server 21 is further configured to send a request for querying the location information of the mobile terminal to the location server 22 through the LBS location interface;
所述位置服务器22,用于根据所述定位服务器21的查询的请求,在自身查询所述移动终端的位置信息,并将自身查询到的所述移动终端的位置信息发送至所述定位服务器21;The location server 22 is configured to query the location information of the mobile terminal itself according to the query request of the location server 21, and send the location information of the mobile terminal queried by itself to the location server 21 ;
所述定位服务器21,还用于接收所述移动终端的位置信息,并根据所述移动终端的位置信息生成所述移动终端按时间顺序排列的、不连续的历史定位点,并显示。The positioning server 21 is further configured to receive the location information of the mobile terminal, generate and display discontinuous historical positioning points of the mobile terminal arranged in chronological order according to the location information of the mobile terminal.
所述系统还包括:地图提供服务器23,设置有用于连接所述定位服务器的API;The system also includes: a map providing server 23, which is provided with an API for connecting to the positioning server;
所述地图提供服务器23,用于通过API查询所述移动终端的历史定位点中时间相邻的两个定位点之间可行且最近的轨迹数据,并将所述可行且最近的轨迹数据发送至定位服务器21;The map providing server 23 is used to query the feasible and recent trajectory data between two temporally adjacent positioning points in the historical positioning points of the mobile terminal through API, and send the feasible and recent trajectory data to positioning server 21;
所述定位服务器21,还用于通过API向所述地图提供服务器23发送所述移动终端历史轨迹的查询申请;还用于接收所述可行且最近的轨迹数据,根据所述可行且最近的轨迹数据将时间相邻的两个定位点之间可行且最近的轨迹一一连接,并显示。The positioning server 21 is also used to send an inquiry application for the historical trajectory of the mobile terminal to the map providing server 23 through the API; it is also used to receive the feasible and recent trajectory data, and according to the feasible and recent trajectory The data connects the feasible and closest trajectories between two temporally adjacent anchor points one by one and displays them.
图3为本发明实施例LBS定位系统下显示移动终端历史轨迹的方法具体实现的详细流程示意图,如图3所示,本发明实施例LBS定位系统下显示移动终端历史轨迹的方法包括:Fig. 3 is the detailed flow diagram of the specific implementation of the method for displaying the historical trajectory of the mobile terminal under the LBS positioning system of the embodiment of the present invention. As shown in Fig. 3, the method for displaying the historical trajectory of the mobile terminal under the LBS positioning system of the embodiment of the present invention includes:
步骤301:定位服务器周期性向移动终端发送定位请求;Step 301: The positioning server periodically sends a positioning request to the mobile terminal;
这里,所述移动终端安装有位置服务应用软件;所述周期可由用户设置,一般周期为15-30分钟。Here, the mobile terminal is installed with location service application software; the cycle can be set by the user, and the general cycle is 15-30 minutes.
步骤302:移动终端接收到所述定位请求后,通过所述移动终端中的位置服务应用软件向无线网关发送定位请求;Step 302: After receiving the positioning request, the mobile terminal sends a positioning request to the wireless gateway through the location service application software in the mobile terminal;
步骤303:无线网关接收到所述移动终端发送的定位请求后,判断所述移动终端是否开通定位服务协议,并将判断结果发送至定位服务器,若已开通,则执行步骤304;否则,返回步骤301;Step 303: After receiving the positioning request sent by the mobile terminal, the wireless gateway judges whether the mobile terminal has opened the positioning service agreement, and sends the judgment result to the positioning server. If it has been opened, then perform step 304; otherwise, return to step 301;
步骤304:所述定位服务器接收所述移动网关发送的判断结果后,通过自身的LBS定位接口向位置服务器发送查询所述移动终端的位置信息的请求;Step 304: After receiving the judgment result sent by the mobile gateway, the positioning server sends a request for querying the location information of the mobile terminal to the location server through its own LBS positioning interface;
步骤305:所述位置服务器接收到查询所述移动终端的位置信息的请求后,在自身查询所述移动终端的位置信息,并在满足自身并发数限制的条件下,将自身查询到的所述移动终端的位置信息发送至所述定位服务器;Step 305: After receiving the request to inquire about the location information of the mobile terminal, the location server inquires the location information of the mobile terminal itself, and under the condition of satisfying the limit of its own concurrent The location information of the mobile terminal is sent to the positioning server;
这里,所述移动终端的位置信息包括移动终端某一时刻所处位置的坐标点信息等。Here, the location information of the mobile terminal includes coordinate point information of the location of the mobile terminal at a certain moment, and the like.
步骤306:所述定位服务器接收到所述移动终端的位置信息后,生成所述移动终端按时间顺序排列的、不连续的历史定位点,并显示;Step 306: After receiving the location information of the mobile terminal, the positioning server generates and displays discontinuous historical positioning points arranged in chronological order for the mobile terminal;
步骤307:用户向所述定位服务器发送所述移动终端历史轨迹的查询申请;Step 307: The user sends an inquiry application for the historical track of the mobile terminal to the positioning server;
步骤308:所述定位服务器接收到所述移动终端历史轨迹的查询申请后,通过地图提供服务器中的API查询所述移动终端的历史定位点中时间相邻的两个定位点之间可行且最近的轨迹数据,并根据所述可行且最近的轨迹数据将各个时间相邻的两个定位点之间可行且最近的轨迹一一连接,并显示;Step 308: After the positioning server receives the query application for the historical trajectory of the mobile terminal, it queries the feasible and closest location between the two historical positioning points of the mobile terminal through the API in the map providing server. , and according to the feasible and recent trajectory data, connect feasible and recent trajectories between two adjacent positioning points at each time one by one, and display them;
具体的,所述定位服务器接收到所述移动终端历史轨迹的查询申请后,向所述地图提供服务器发送所述移动终端历史轨迹的查询申请,所述地图提供服务器接收到所述查询信息后,查询所述移动终端的历史定位点中时间相邻的两个定位点之间可行且最近的轨迹数据,并将所述可行且最近的轨迹数据发送至定位服务器;所述定位服务器接收所述可行且最近的轨迹数据后,根据所述可行且最近的轨迹数据将各个时间相邻的两个定位点之间可行且最近的轨迹一一连接,并显示。Specifically, after the positioning server receives the query application for the historical trajectory of the mobile terminal, it sends the query application for the historical trajectory of the mobile terminal to the map providing server, and after the map providing server receives the query information, Query the feasible and recent trajectory data between two temporally adjacent positioning points in the historical positioning points of the mobile terminal, and send the feasible and recent trajectory data to the positioning server; the positioning server receives the feasible And after the latest track data, according to the feasible and latest track data, the feasible and closest tracks between the two time-adjacent positioning points are connected one by one, and displayed.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410036070.2A CN104811900A (en) | 2014-01-24 | 2014-01-24 | Method and system for displaying the historical track of mobile terminal under LBS positioning system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410036070.2A CN104811900A (en) | 2014-01-24 | 2014-01-24 | Method and system for displaying the historical track of mobile terminal under LBS positioning system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN104811900A true CN104811900A (en) | 2015-07-29 |
Family
ID=53696303
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410036070.2A Pending CN104811900A (en) | 2014-01-24 | 2014-01-24 | Method and system for displaying the historical track of mobile terminal under LBS positioning system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104811900A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105635970A (en) * | 2016-03-03 | 2016-06-01 | 臧利 | Method and system for positioning base station |
| CN106412818A (en) * | 2015-07-31 | 2017-02-15 | 腾讯科技(深圳)有限公司 | Method and apparatus for locating device |
| CN107807974A (en) * | 2017-10-23 | 2018-03-16 | 珠海市魅族科技有限公司 | A kind of application program access method, device, terminal and readable storage medium storing program for executing |
| CN111324680A (en) * | 2019-01-25 | 2020-06-23 | 北京嘀嘀无限科技发展有限公司 | Information display method and device |
| US11166187B2 (en) | 2015-09-30 | 2021-11-02 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Service bearer congestion control method and device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040068364A1 (en) * | 2001-12-06 | 2004-04-08 | Wei Zhao | Automated location-intelligent traffic notification service systems and methods |
| CN101807348A (en) * | 2010-03-05 | 2010-08-18 | 安徽师范大学 | Dynamic network navigation system and method |
| CN101964148A (en) * | 2009-07-24 | 2011-02-02 | 日立(中国)研究开发有限公司 | Road traffic information recording server and GPS (Global Positioning System) user terminal |
| CN102707300A (en) * | 2012-06-05 | 2012-10-03 | 大唐移动通信设备有限公司 | Method, device and system for optimizing GPS track |
| CN103390099A (en) * | 2013-06-28 | 2013-11-13 | 孙茜茜 | Service system and service method based on mobile operation system platform and Mobile GIS (Geographic Information System) |
-
2014
- 2014-01-24 CN CN201410036070.2A patent/CN104811900A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040068364A1 (en) * | 2001-12-06 | 2004-04-08 | Wei Zhao | Automated location-intelligent traffic notification service systems and methods |
| CN101964148A (en) * | 2009-07-24 | 2011-02-02 | 日立(中国)研究开发有限公司 | Road traffic information recording server and GPS (Global Positioning System) user terminal |
| CN101807348A (en) * | 2010-03-05 | 2010-08-18 | 安徽师范大学 | Dynamic network navigation system and method |
| CN102707300A (en) * | 2012-06-05 | 2012-10-03 | 大唐移动通信设备有限公司 | Method, device and system for optimizing GPS track |
| CN103390099A (en) * | 2013-06-28 | 2013-11-13 | 孙茜茜 | Service system and service method based on mobile operation system platform and Mobile GIS (Geographic Information System) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106412818A (en) * | 2015-07-31 | 2017-02-15 | 腾讯科技(深圳)有限公司 | Method and apparatus for locating device |
| US11166187B2 (en) | 2015-09-30 | 2021-11-02 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Service bearer congestion control method and device |
| CN105635970A (en) * | 2016-03-03 | 2016-06-01 | 臧利 | Method and system for positioning base station |
| CN107807974A (en) * | 2017-10-23 | 2018-03-16 | 珠海市魅族科技有限公司 | A kind of application program access method, device, terminal and readable storage medium storing program for executing |
| CN111324680A (en) * | 2019-01-25 | 2020-06-23 | 北京嘀嘀无限科技发展有限公司 | Information display method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104819723B (en) | A kind of localization method and location-server | |
| CN102565827B (en) | Real-time map navigation system and method | |
| CN103260059B (en) | Controller set top box device, positional information determine the method and apparatus with Information issued | |
| JP6085353B2 (en) | Location-based service providing method and system for changing setting of mobile terminal using cell identifier information | |
| CN104811900A (en) | Method and system for displaying the historical track of mobile terminal under LBS positioning system | |
| CN104330081B (en) | A kind of generation method and device of descriptive position indicating information | |
| CN103873269A (en) | Group joining method and system | |
| PH12014501895B1 (en) | Content sharing method, terminal, server, and system, and computer storage medium | |
| WO2012155445A1 (en) | Method and apparatus for sharing terminal information | |
| CN104331423A (en) | Positioning method and device based on electronic map | |
| CN107464074A (en) | A kind of Exact Logistics allocator | |
| CN106154230A (en) | A kind of indoor orientation method of intelligent mobile terminal based on sound ranging | |
| CN104749582B (en) | The sending method of differential data, the determination method and device of GPS location data | |
| CN106817674A (en) | A kind of localization method and device | |
| CN105682097A (en) | Pseudo base station recognizing and positioning method and device | |
| CN103822638A (en) | User position information processing method and device | |
| CN102636789A (en) | Rapid assisted positioning method for GPS (global positioning system) on portable mobile platform | |
| CN102821353B (en) | Based on information-pushing method and this gateway device of geographic position of gateway equipment | |
| CN102331578B (en) | Navigation information transmission method as well as navigation server and position service terminal | |
| CN106851551A (en) | A kind of location information acquisition method and device | |
| CN102291419B (en) | The supplying method of navigation information system and navigation information | |
| US20110212735A1 (en) | Method and system for seamless consummation of an electronic transaction based on location related data | |
| CN102665169A (en) | Mobile terminal location reminding method and mobile terminal location reminding device | |
| CN102802258A (en) | Method, server and system for extending locating database | |
| TW201231934A (en) | Handheld device with a capability of transmitting position data and position data transmitting method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| EXSB | Decision made by sipo to initiate substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150729 |