[go: up one dir, main page]

CN100466813C - A method for triggering and positioning a mobile terminal - Google Patents

A method for triggering and positioning a mobile terminal Download PDF

Info

Publication number
CN100466813C
CN100466813C CNB2005101049410A CN200610003040A CN100466813C CN 100466813 C CN100466813 C CN 100466813C CN B2005101049410 A CNB2005101049410 A CN B2005101049410A CN 200610003040 A CN200610003040 A CN 200610003040A CN 100466813 C CN100466813 C CN 100466813C
Authority
CN
China
Prior art keywords
target terminal
positioning
locating platform
slp
platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005101049410A
Other languages
Chinese (zh)
Other versions
CN1933659A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101049410A priority Critical patent/CN100466813C/en
Publication of CN1933659A publication Critical patent/CN1933659A/en
Application granted granted Critical
Publication of CN100466813C publication Critical patent/CN100466813C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种对移动终端进行触发定位的方法,在定位平台与目标终端之间的定位交互开始时,该方法进一步包括:判断定位平台与目标终端间是否存在互联网协议连接,如果没有则先建立定位平台与目标终端间的连接,然后进行定位交互,否则直接进行定位交互;在定位平台与目标终端之间的定位交互结束前,该方法进一步包括:B、判断是否需要保持定位平台与目标终端间的当前连接,如果需要,则保持定位平台与目标终端间的当前连接,否则,断开定位平台与目标终端间的当前连接。采用本发明所提供的技术方案,既提高了定位交互时的连接效率和定位效率,又避免了浪费定位平台与目标终端的系统资源。

Figure 200610003040

The invention discloses a method for triggering positioning of a mobile terminal. When the positioning interaction between the positioning platform and the target terminal starts, the method further includes: judging whether there is an Internet protocol connection between the positioning platform and the target terminal, and if not, then First establish the connection between the positioning platform and the target terminal, and then perform positioning interaction, otherwise directly perform positioning interaction; before the positioning interaction between the positioning platform and the target terminal ends, the method further includes: B. Judging whether it is necessary to maintain the positioning platform and the target terminal The current connection between the target terminal, if necessary, maintain the current connection between the positioning platform and the target terminal, otherwise, disconnect the current connection between the positioning platform and the target terminal. By adopting the technical scheme provided by the present invention, the connection efficiency and positioning efficiency during positioning interaction are improved, and system resources of the positioning platform and the target terminal are avoided from being wasted.

Figure 200610003040

Description

一种对移动终端进行触发定位的方法 A method for triggering and positioning a mobile terminal

技术领域 technical field

本发明涉及移动定位技术,特别是涉及一种对移动终端进行触发定位的方法。The invention relates to mobile positioning technology, in particular to a method for triggering positioning of a mobile terminal.

背景技术 Background technique

移动通信位置业务通过一定的技术,得到目标终端的位置信息,并将位置信息用于紧急救援、车辆导航和智能交通系统、工作调度和团队管理、移动黄页查询、增强网络性能等许多方面。The mobile communication location service obtains the location information of the target terminal through certain technologies, and uses the location information in many aspects such as emergency rescue, vehicle navigation and intelligent transportation system, work scheduling and team management, mobile yellow page query, and network performance enhancement.

在一些应用中,基于安全用户平面的移动定位(SUPL,Safe User PlaneLocation)系统中的定位发起客户端需要对目标终端进行触发定位。触发定位包括周期触发定位和区域触发定位。在周期触发定位中,定位发起客户端在提交给归属SUPL定位平台(H-SLP,Home SUPL Location Platform)的触发定位请求中指定定位的开始时刻、结束时刻和周期,其中结束时刻可以用持续时间来代替。H-SLP与目标终端之间的定位交互被周期性的发起,并在每次获取目标终端的位置后向定位发起客户端报告目标终端的位置。在区域触发定位中,定位发起客户端在提交给H-SLP的触发定位请求中指定监视目标终端位置的开始时刻和区域触发条件,由H-SLP或目标终端决定它们之间的定位交互在哪些时刻被发起;每一次定位交互都获取一次目标终端的位置,如果获取到的目标终端位置符合定位发起客户端在触发定位请求中提出的区域触发条件,则向定位发起客户端报告目标终端的位置。In some applications, a location initiation client in a Safe User Plane-based mobile location (SUPL, Safe User PlaneLocation) system needs to trigger location of a target terminal. Triggered positioning includes periodic triggered positioning and area triggered positioning. In periodic triggered positioning, the positioning initiating client specifies the start time, end time and period of positioning in the trigger positioning request submitted to the Home SUPL Location Platform (H-SLP, Home SUPL Location Platform), where the end time can be determined by the duration to replace. The positioning interaction between the H-SLP and the target terminal is initiated periodically, and the position of the target terminal is reported to the positioning initiating client after acquiring the position of the target terminal each time. In area-triggered positioning, the positioning initiating client specifies the start time of monitoring the location of the target terminal and the area triggering conditions in the triggered positioning request submitted to the H-SLP, and the H-SLP or the target terminal determines where the positioning interaction between them should be. It is initiated at any time; each positioning interaction obtains the position of the target terminal once, and if the acquired position of the target terminal meets the area trigger condition proposed by the positioning initiating client in triggering the positioning request, report the position of the target terminal to the positioning initiating client .

在触发定位中,可以由H-SLP来判断触发定位条件是否满足进而决定是否发起定位交互,也就是触发器位于H-SLP;也可以由目标终端来判断触发定位条件是否满足进而决定是否发起定位交互,也就是触发器位于目标终端。据此,可以从另一个角度将定位触发分为网络触发和终端触发。In trigger positioning, the H-SLP can judge whether the trigger positioning conditions are satisfied and then decide whether to initiate positioning interaction, that is, the trigger is located in the H-SLP; the target terminal can also judge whether the trigger positioning conditions are satisfied and then decide whether to initiate positioning Interactive, that is, the trigger is on the target terminal. Accordingly, location triggers can be divided into network triggers and terminal triggers from another perspective.

在现有技术中,无论是在周期触发定位中还是在区域触发定位中,也无论由网络触发定位交互还是终端触发定位交互,在每次H-SLP与目标终端进行的定位交互开始时,目标终端都需要与H-SLP之间建立互联网协议(IP,Internet Protocol)连接;在每次定位交互结束后,目标终端和H-SLP都会释放彼此之间的IP连接,并释放所有与本次定位会话相关的资源。特别的,对于网络触发,在每次H-SLP与目标终端进行的定位交互开始时,H-SLP还需要首先通过短消息服务(SMS,Short Message Service)或者无线接入协议(WAP,Wireless Access Protocol)这种实时性较差的方式向目标终端下发定位初始化消息,然后目标终端才会开始与H-SLP建立IP连接。In the prior art, no matter in the periodic triggered positioning or in the area triggered positioning, and whether the positioning interaction is triggered by the network or the terminal, at the beginning of each positioning interaction between the H-SLP and the target terminal, the target All terminals need to establish an Internet Protocol (IP, Internet Protocol) connection with the H-SLP; after each positioning interaction, the target terminal and the H-SLP will release the IP connection between each other, and release all information related to this positioning. Session-related resources. In particular, for network triggering, when the positioning interaction between the H-SLP and the target terminal starts, the H-SLP also needs to pass the Short Message Service (SMS, Short Message Service) or the Wireless Access Protocol (WAP, Wireless Access Protocol) first. Protocol) in a manner with poor real-time performance, sends a positioning initialization message to the target terminal, and then the target terminal will start to establish an IP connection with the H-SLP.

现有技术的缺点在于,一方面,如果定位交互之间的时间间隔很短,这种每次定位交互开始时都需要重新建立IP连接的方式,其连接效率很低;特别的,对于网络触发而言,在下一次定位交互开始时,H-SLP还不得不通过非实时的SMS或者WAP方式下发定位初始化消息,降低了定位效率。另一方面,如果目标终端始终和H-SLP保持IP连接,虽然可以提高效率,但是对于触发定位任务持续时间较长,且触发定位任务中的每两次定位交互之间的间隔也都较长的情况,目标终端长时间和H-SLP保持IP连接会大大增加双方的负荷,浪费系统资源。The disadvantage of the prior art is that, on the one hand, if the time interval between positioning interactions is very short, the IP connection needs to be re-established at the beginning of each positioning interaction, and its connection efficiency is very low; especially for network triggering Specifically, when the next positioning interaction starts, the H-SLP has to send a positioning initialization message through a non-real-time SMS or WAP mode, which reduces positioning efficiency. On the other hand, if the target terminal always maintains an IP connection with the H-SLP, although the efficiency can be improved, the duration of the triggering positioning task is longer, and the interval between each two positioning interactions in the triggering positioning task is also longer If the target terminal maintains IP connection with H-SLP for a long time, the load on both parties will be greatly increased and system resources will be wasted.

发明内容 Contents of the invention

有鉴于此,本发明的主要目的在于提供一种对移动终端进行触发定位的方法,既提高连接效率和定位效率,又避免浪费H-SLP与目标终端的系统资源。In view of this, the main purpose of the present invention is to provide a method for triggering and positioning a mobile terminal, which not only improves connection efficiency and positioning efficiency, but also avoids wasting system resources of H-SLP and target terminal.

为了达到上述目的,本发明提供一种对移动终端进行触发定位的方法,在定位平台与目标终端之间的定位交互开始时,该方法进一步包括以下步骤:In order to achieve the above object, the present invention provides a method for triggering positioning of a mobile terminal. When the positioning interaction between the positioning platform and the target terminal starts, the method further includes the following steps:

A、判断定位平台与目标终端间是否存在互联网协议连接,如果没有则先建立定位平台与目标终端间的连接,然后进行定位交互,否则直接进行定位交互;A. Determine whether there is an Internet protocol connection between the positioning platform and the target terminal, if not, first establish a connection between the positioning platform and the target terminal, and then perform positioning interaction, otherwise directly perform positioning interaction;

在定位平台与目标终端之间的定位交互结束前,该方法进一步包括以下步骤:Before the positioning interaction between the positioning platform and the target terminal ends, the method further includes the following steps:

B、如果确定在预先设定的时间阀值内进行定位平台与目标终端之间的下次定位交互、或,确定预先设定的等待时长未到达、或,确定预先设定的断开时刻未到达,则保持定位平台与目标终端间的当前连接,否则,断开定位平台与目标终端间的当前连接。B. If it is determined that the next positioning interaction between the positioning platform and the target terminal is performed within the preset time threshold, or it is determined that the preset waiting time has not been reached, or it is determined that the preset disconnection time has not arrives, then maintain the current connection between the positioning platform and the target terminal, otherwise, disconnect the current connection between the positioning platform and the target terminal.

该方法进一步包括:The method further includes:

在触发定位的初始化阶段结束之前,如果确定在预先设定的时间阀值内进行定位平台与目标终端之间的第一次定位交互、或,确定预先设定的等待时长未到达、或,确定预先设定的断开时刻未到达,则保持定位平台与目标终端间的当前连接,否则,断开定位平台与目标终端间的当前连接。Before the initialization phase of triggering positioning ends, if it is determined that the first positioning interaction between the positioning platform and the target terminal is performed within the preset time threshold, or, it is determined that the preset waiting time has not been reached, or, it is determined If the preset disconnection time is not reached, the current connection between the positioning platform and the target terminal is maintained; otherwise, the current connection between the positioning platform and the target terminal is disconnected.

其中,步骤A所述判断由定位平台执行;Wherein, the judgment in step A is performed by the positioning platform;

步骤A所述先建立定位平台与目标终端间的连接,然后进行定位交互为:The connection between the positioning platform and the target terminal is established first as described in step A, and then the positioning interaction is performed as follows:

定位平台通过短消息服务或者无线接入协议通知目标终端准备进行定位交互,目标终端接到通知以后建立与定位平台的连接,然后定位平台与目标终端通过所建立的连接进行定位交互;The positioning platform notifies the target terminal to prepare for positioning interaction through short message service or wireless access protocol. After receiving the notification, the target terminal establishes a connection with the positioning platform, and then the positioning platform and the target terminal perform positioning interaction through the established connection;

步骤A所述直接进行定位交互为:Direct positioning interaction described in step A is:

定位平台通过所述互联网协议连接通知目标终端准备进行定位交互,然后定位平台与目标终端通过所述互联网协议连接进行定位交互。The positioning platform notifies the target terminal to prepare for positioning interaction through the Internet protocol connection, and then the positioning platform and the target terminal perform positioning interaction through the Internet protocol connection.

其中,步骤A所述判断由目标终端执行;Wherein, the judgment in step A is performed by the target terminal;

步骤A所述建立定位平台与目标终端间的连接为:The connection between the establishment of the positioning platform and the target terminal described in step A is:

目标终端建立与定位平台的连接。The target terminal establishes a connection with the positioning platform.

其中,预先设定时间阈值,所述确定在预先设定的时间阀值内进行定位平台与目标终端之间的下次定位交互为:Wherein, the time threshold is preset, and the determination that the next positioning interaction between the positioning platform and the target terminal is performed within the preset time threshold is:

判断是否会在从当前时刻开始的时间阈值内进行下次定位交互,如果是,则判断为需要保持定位平台与目标终端间的当前连接,否则判断为不需要。It is judged whether the next positioning interaction will be performed within the time threshold from the current moment, if yes, it is judged that the current connection between the positioning platform and the target terminal needs to be maintained, otherwise it is judged that it is unnecessary.

其中,设定等待时长,所述确定预先设定的等待时长未到达为:Wherein, the waiting time length is set, and it is determined that the waiting time length set in advance does not arrive as:

从当前时刻开始计时,判断等待时长是否到达,如果未到达则认为需要保持定位平台与目标终端间的当前连接。Start timing from the current moment, and judge whether the waiting time is reached. If not, it is considered that the current connection between the positioning platform and the target terminal needs to be maintained.

其中,所述确定预先设定的断开时刻未到达为:Wherein, the determination that the preset disconnection moment has not been reached is:

设置断开时刻,判断断开时刻是否到达,如果未到达则认为需要保持定位平台与目标终端间的当前连接。Set the disconnection time and judge whether the disconnection time is reached. If not, it is considered that the current connection between the positioning platform and the target terminal needs to be maintained.

其中,所述设定等待时长为:Wherein, the set waiting period is:

定位平台和目标终端预先约定等待时长;The positioning platform and the target terminal agree on the waiting time in advance;

or

定位平台在触发定位的初始化阶段结束时确定等待时长,并将等待时长通知目标终端;The positioning platform determines the waiting time at the end of the initialization phase of triggering positioning, and notifies the target terminal of the waiting time;

or

定位平台在定位交互结束时确定等待时长,并将等待时长通知给目标终端;The positioning platform determines the waiting time when the positioning interaction ends, and notifies the target terminal of the waiting time;

or

目标终端在定位交互结束时确定等待时长,并将等待时长通知给定位平台。The target terminal determines the waiting time when the positioning interaction ends, and notifies the waiting time to the positioning platform.

其中,所述保持或断开定位平台和目标终端间的当前连接为:Wherein, the current connection between the maintaining or disconnecting the positioning platform and the target terminal is:

定位平台通知目标终端保持或断开当前连接,同时定位平台自身也保持或断开当前连接。The positioning platform notifies the target terminal to maintain or disconnect the current connection, and the positioning platform itself also maintains or disconnects the current connection.

其中,所述保持或断开定位平台和目标终端间的当前连接为:Wherein, the current connection between the maintaining or disconnecting the positioning platform and the target terminal is:

目标终端通知定位平台保持或断开当前连接,同时目标终端自身也保持或断开当前连接。The target terminal notifies the positioning platform to maintain or disconnect the current connection, and the target terminal itself also maintains or disconnects the current connection.

其中,在步骤B中,断开定位平台与目标终端间的当前连接时,该方法进一步包括:Wherein, in step B, when disconnecting the current connection between the positioning platform and the target terminal, the method further includes:

定位平台和目标终端各自释放与本次触发定位相关的资源。The positioning platform and the target terminal respectively release resources related to this triggered positioning.

采用本发明提供的技术方案,如果在一次触发定位中需要H-SLP与目标终端进行多次定位交互,则在初始化阶段结束之后以及每次定位交互结束之后,根据具体情况保持或断开H-SLP和目标终端的当前IP连接。这样,如果两次定位交互之间的时间间隔很短,那么H-SLP和目标终端都保持当前IP连接可以提高定位效率;如果触发定位任务持续时间较长,并且两次定位交互之间的时间间隔也比较长,那么在两次定位交互之间,H-SLP和目标终端都断开IP连接并且释放相关资源,可以节约双方的系统资源,减轻双方的负担。With the technical solution provided by the present invention, if the H-SLP needs to perform multiple positioning interactions with the target terminal in one trigger positioning, after the initialization phase ends and each positioning interaction ends, the H-SLP will be kept or disconnected according to the specific situation. The current IP connection between the SLP and the target terminal. In this way, if the time interval between two positioning interactions is very short, both the H-SLP and the target terminal maintain the current IP connection to improve positioning efficiency; if the trigger positioning task lasts for a long time, and the time between two positioning interactions The interval is also relatively long, so between two positioning interactions, both the H-SLP and the target terminal disconnect the IP connection and release related resources, which can save system resources and reduce the burden on both parties.

附图说明 Description of drawings

图1是本发明提供的对移动终端进行触发定位方法实施例一的流程图。FIG. 1 is a flow chart of Embodiment 1 of a method for triggering and locating a mobile terminal provided by the present invention.

图2是本发明提供的对移动终端进行触发定位方法实施例二的流程图。FIG. 2 is a flow chart of Embodiment 2 of the method for triggering and locating a mobile terminal provided by the present invention.

具体实施方式 Detailed ways

本发明的核心思想在于:在一次触发定位中,如果需要H-SLP与目标终端进行多次定位交互,则在初始化阶段结束之后以及每次定位交互结束之后,先确定是否需要保持H-SLP和目标终端间的当前IP连接,如果需要则H-SLP和目标终端都保持当前IP连接。The core idea of the present invention is: in one trigger positioning, if the H-SLP needs to perform multiple positioning interactions with the target terminal, after the initialization phase ends and after each positioning interaction ends, first determine whether it is necessary to maintain the H-SLP and the target terminal. The current IP connection between the target terminals, if necessary, both the H-SLP and the target terminal maintain the current IP connection.

为使本发明的目的、技术方案和优点更加清楚,下面结合附图及具体实施例对本发明作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

周期触发定位和区域触发定位的区别在于:周期触发定位的定位交互开始时间是由定位发起客户端指定的,而区域触发定位的定位交互开始时间是由H-SLP或者目标终端根据需要确定的;周期触发定位在每次定位交互结束时都会将定位交互所获取的目标终端位置报告给定位发起客户端,而区域触发定位只有在定位交互所获取的目标终端位置符合定位发起客户端所提出的区域触发条件的时候,才将目标终端位置报告给定位发起客户端。周期触发定位和区域触发定位的这些区别,并不会使得本发明提供的对移动终端进行触发定位方法的实施方式有太大的不同。因此,以下主要以触发器位于网络还是位于终端为标准,分别描述本发明所提供的技术方案的具体实施方式,每个实施例都同时说明了周期触发定位和区域触发定位的情况。The difference between periodic triggered positioning and area triggered positioning is that the positioning interaction start time of periodic triggered positioning is specified by the positioning initiating client, while the positioning interaction start time of area triggered positioning is determined by the H-SLP or the target terminal as needed; Periodically triggered positioning will report the location of the target terminal acquired by the positioning interaction to the positioning initiating client at the end of each positioning interaction, while area-triggered positioning can only be obtained when the target terminal position obtained by the positioning interaction matches the area proposed by the positioning initiating client When the condition is triggered, the location of the target terminal is reported to the positioning initiating client. These differences between periodic triggered positioning and area triggered positioning do not make much difference in the implementation of the method for triggering positioning of a mobile terminal provided by the present invention. Therefore, in the following, the specific implementation of the technical solution provided by the present invention will be described respectively based on whether the trigger is located in the network or in the terminal, and each embodiment simultaneously illustrates the situation of periodic triggered positioning and area triggered positioning.

请参考图1,图1是本发明提供的对移动终端进行触发定位方法实施例一的流程图。在本实施例中,触发器位于H-SLP。Please refer to FIG. 1 , which is a flow chart of Embodiment 1 of a method for triggering and locating a mobile terminal provided by the present invention. In this embodiment, the trigger is located in the H-SLP.

步骤101,定位发起客户端向H-SLP提出移动定位协议触发定位请求(MLP TLRR,Mobile Location Protocol Triggered Location ReportingRequest)。Step 101, the location initiating client sends a Mobile Location Protocol Triggered Location Reporting Request (MLP TLRR, Mobile Location Protocol Triggered Location Reporting Request) to the H-SLP.

MLP TLRR消息至少包含定位发起客户端标识和目标终端的标识。The MLP TLRR message at least includes the identification of the positioning originating client and the identification of the target terminal.

如果定位发起客户端要求对目标终端进行周期触发定位,该消息中还可以包括周期定位的开始时刻和/或终止时刻和/或间隔时间,其中终止时刻可以用持续时间代替。If the positioning initiating client requires periodic triggered positioning of the target terminal, the message may also include the start time and/or end time and/or interval time of the periodic positioning, where the end time may be replaced by a duration.

如果定位发起客户端要求对目标终端进行区域触发定位,该消息中还可以包括监视目标终端位置的开始时刻和/或区域触发条件。If the positioning initiating client requires area-triggered positioning of the target terminal, the message may also include the start time of monitoring the location of the target terminal and/or the area trigger condition.

步骤102,H-SLP进行鉴权、隐私检查和路由检查。Step 102, the H-SLP performs authentication, privacy check and routing check.

鉴权的目的在于,判断定位发起客户端是否有权使用所请求的定位服务。The purpose of authentication is to determine whether the positioning initiating client has the right to use the requested positioning service.

隐私检查的目的在于,判断定位发起客户端是否有权向H-SLP请求定位服务获取目标终端的位置。The purpose of the privacy check is to determine whether the location initiating client has the right to request the location service from the H-SLP to obtain the location of the target terminal.

如果定位发起客户端无权请求定位服务,则向定位发起客户端返回MLP触发定位答复(TLRA,Triggered Location Reporting Answer)消息,利用该消息中的result参数通知定位发起终端,本次周期触发定位请求被拒绝了。如果定位发起客户端有权请求定位服务,则执行步骤103。If the positioning initiating client does not have the right to request the positioning service, it will return an MLP Triggered Location Reporting Answer (TLRA, Triggered Location Reporting Answer) message to the positioning initiating client, and use the result parameter in the message to notify the positioning initiating terminal to trigger the positioning request this cycle got rejected. If the positioning initiating client has the right to request the positioning service, step 103 is performed.

路由检查的目的在于,判断目标终端处于非漫游状态,并确定终端支持SUPL触发定位。The purpose of the routing check is to determine that the target terminal is in a non-roaming state, and to determine that the terminal supports SUPL trigger positioning.

步骤103,H-SLP使用短消息服务(SMS,Short Message Service)或无线接入协议(WAP,Wireless Access Protocol)方式向目标终端发送SUPL定位初始化(SUPL INIT)消息,告知目标终端有一个触发定位请求需要目标终端确认。Step 103, H-SLP uses Short Message Service (SMS, Short Message Service) or Wireless Access Protocol (WAP, Wireless Access Protocol) to send a SUPL positioning initialization (SUPL INIT) message to the target terminal, informing the target terminal that there is a trigger positioning The request requires confirmation from the target terminal.

该消息至少包括定位方法、定位类型以及触发器模式,其中触发器模式表示触发器位于H-SLP还是位于目标终端。The message at least includes a positioning method, a positioning type, and a trigger mode, where the trigger mode indicates whether the trigger is located on the H-SLP or the target terminal.

步骤104,目标终端将自己绑定到数据网上,建立与H-SLP的IP连接。Step 104, the target terminal binds itself to the data network, and establishes an IP connection with the H-SLP.

步骤105,目标终端如果同意该周期触发定位请求,并且支持SUPL INIT消息中指明的定位方法、定位类型、触发器模式,则向H-SLP发送SUPL触发定位开始(SUPL TRIGGERED START)消息,消息中至少包含终端能力参数和终端对定位通知确认的结果。终端能力包括:目标终端支持的定位方法,如:终端辅助的辅助全球定位系统(A-GPS,Assisted Global PositioningSystem)定位方法、基于终端的A-GPS定位方法等;以及相关定位协议,如:无线资源位置业务协议(RRLP,Radio Resource Location serviceProtocol)、无线资源控制(RRC,Radio Resource Control)协议、电信工业协会(TIA,Telecommunication Industries Association)-801协议等。Step 105, if the target terminal agrees to the periodic trigger location request, and supports the location method, location type, and trigger mode specified in the SUPL INIT message, it sends a SUPL TRIGGERED START (SUPL TRIGGERED START) message to the H-SLP. At least include the terminal capability parameters and the result of the terminal confirming the positioning notification. Terminal capabilities include: positioning methods supported by target terminals, such as: terminal-assisted Assisted Global Positioning System (A-GPS, Assisted Global Positioning System) positioning methods, terminal-based A-GPS positioning methods, etc.; and related positioning protocols, such as: wireless Resource Location Service Protocol (RRLP, Radio Resource Location service Protocol), Radio Resource Control (RRC, Radio Resource Control) protocol, Telecommunications Industry Association (TIA, Telecommunications Industries Association)-801 protocol, etc.

如果目标终端不同意该周期触发定位请求,则目标终端向H-SLP发送SUPL结束(SUPL END)消息,并且释放与H-SLP的IP连接以及相关资源,然后执行步骤107。If the target terminal does not agree with the periodic trigger location request, the target terminal sends a SUPL end (SUPL END) message to the H-SLP, and releases the IP connection and related resources with the H-SLP, and then performs step 107.

步骤106,在目标终端同意触发定位请求的情况下,H-SLP向目标终端返回SUPL触发定位响应(SUPL TRIGGERED RESPONSE)消息。Step 106, when the target terminal agrees to the triggered positioning request, the H-SLP returns a SUPL TRIGGERED RESPONSE message to the target terminal.

该消息中至少包含最终确定的用于定位会话的定位方法以及唯一指示本次触发定位的标识。The message at least includes the finally determined positioning method for the positioning session and an identifier uniquely indicating this trigger positioning.

如果H-SLP和目标终端之间的第一次定位交互不是很快开始进行,则H-SLP在发送SUPL TRIGGERED RESPONSE后断开当前IP连接并释放相关资源;目标终端在收到SUPL TRIGGERED RESPONSE后也断开当前IP连接并释放相关资源。反之,如果H-SLP和目标终端之间的定位交互需要很快开始进行,H-SLP在该消息中包含预先设定的标记字段,用于指示目标终端保持当前IP连接;同时,H-SLP自身也保持当前IP连接。If the first positioning interaction between the H-SLP and the target terminal does not begin soon, the H-SLP disconnects the current IP connection and releases relevant resources after sending SUPL TRIGGERED RESPONSE; the target terminal receives the SUPL TRIGGERED RESPONSE Also disconnect the current IP connection and release related resources. Conversely, if the positioning interaction between the H-SLP and the target terminal needs to start soon, the H-SLP includes a preset flag field in the message, which is used to instruct the target terminal to maintain the current IP connection; at the same time, the H-SLP It also maintains the current IP connection itself.

为了判断H-SLP和目标终端之间的定位交互是否很快开始进行,可以预先设定一个时间阈值,如果从当前时间开始计时,在时间阈值内会进行H-SLP和目标终端之间的定位交互,那么就判断为H-SLP和目标终端之间的定位交互会很快开始进行。In order to judge whether the positioning interaction between the H-SLP and the target terminal will start soon, a time threshold can be set in advance. If the timing starts from the current time, the positioning between the H-SLP and the target terminal will be performed within the time threshold interaction, then it is judged that the positioning interaction between the H-SLP and the target terminal will start soon.

步骤107,H-SLP向定位发起客户端返回MLP触发定位答复(TLRA,Triggered Location Reporting Answer)消息,表示由定位发起客户端提出的触发定位请求被目标终端接受了。In step 107, the H-SLP returns an MLP Triggered Location Reporting Answer (TLRA, Triggered Location Reporting Answer) message to the location initiating client, indicating that the triggered location request proposed by the location initiating client is accepted by the target terminal.

如果在步骤105中目标终端拒绝了触发定位请求,则MLP TLRA消息中包含result参数,标识出定位失败的原因。If in step 105, the target terminal refuses to trigger the location request, the MLP TLRA message includes a result parameter to identify the reason for the location failure.

步骤108,H-SLP根据定位发起客户端在MLP TLRR消息中提出的触发条件,在需要与目标终端进行定位交互时,向目标终端发送SUPL触发初始化(SUPL TRIGGERED INIT)消息。Step 108, the H-SLP sends a SUPL trigger initialization (SUPL TRIGGERED INIT) message to the target terminal when it needs to perform positioning interaction with the target terminal according to the trigger condition proposed by the positioning initiating client in the MLP TLRR message.

SUPL TRIGGERED INIT消息中至少包含步骤106中所述的唯一标识本次触发定位的标识。如果H-SLP与SET之间保持了有效的IP连接,则H-SLP可以直接使用该连接向目标终端下发SUPL TRIGGERED INIT消息,否则H-SLP通过SMS或者WAP向目标终端发送该消息。The SUPL TRIGGERED INIT message at least includes the identifier uniquely identifying this trigger location described in step 106. If a valid IP connection is maintained between the H-SLP and the SET, the H-SLP can directly use the connection to send the SUPL TRIGGERED INIT message to the target terminal, otherwise the H-SLP sends the message to the target terminal through SMS or WAP.

步骤109,目标终端向H-SLP发送SUPL定位初始化(SUPL POS IN IT)消息以开始和H-SLP之间的定位交互。Step 109, the target terminal sends a SUPL positioning initialization (SUPL POS IN IT) message to the H-SLP to start positioning interaction with the H-SLP.

步骤110,H-SLP与目标终端之间进行定位交互,获取目标终端的位置。Step 110, the H-SLP performs positioning interaction with the target terminal to obtain the location of the target terminal.

步骤111,H-SLP向目标终端发送SUPL定位结束(SUPL POS END)消息,以结束当前定位交互。Step 111, the H-SLP sends a SUPL positioning end (SUPL POS END) message to the target terminal to end the current positioning interaction.

如果H-SLP和目标终端之间的下次定位交互不是很快开始进行,则H-SLP在发送SUPL POS END消息后断开当前IP连接并释放相关资源;目标终端在收到SUPL POS END消息后也断开当前IP连接并释放相关资源。反之,如果H-SLP和目标终端之间的下次定位交互需要很快开始进行,H-SLP在SUPL POS END消息中包含预先设定的标记字段,用于指示目标终端保持当前IP;同时,H-SLP自身也保持当前IP连接。If the next positioning interaction between the H-SLP and the target terminal does not begin soon, the H-SLP disconnects the current IP connection and releases relevant resources after sending the SUPL POS END message; the target terminal receives the SUPL POS END message After that, the current IP connection is also disconnected and related resources are released. Conversely, if the next positioning interaction between the H-SLP and the target terminal needs to start soon, the H-SLP includes a preset flag field in the SUPL POS END message, which is used to indicate that the target terminal maintains the current IP; at the same time, The H-SLP itself also maintains the current IP connection.

对于周期触发定位的情况,H-SLP还向定位发起客户端发送MLP触发定位报告(TLREP,Triggered Location Report)消息将目标终端的位置通知定位发起客户端。对于区域触发定位的情况,H-SLP首先判断步骤110中得到的目标终端位置是否满足定位发起终端在MLP TLRR消息中设定的区域触发条件,如果满足则向定位发起客户端发送MLP TLREP消息将目标终端的位置通知定位发起客户端。For the situation of periodically triggered positioning, the H-SLP also sends an MLP Triggered Location Report (TLREP, Triggered Location Report) message to the positioning initiating client to notify the positioning initiating client of the location of the target terminal. For the situation of area-triggered positioning, H-SLP first judges whether the target terminal position obtained in step 110 meets the area trigger condition set by the positioning initiating terminal in the MLP TLRR message, and if so, sends the MLP TLREP message to the positioning initiating client to send The position of the target terminal is notified to the positioning initiating client.

步骤112,根据定位发起客户端在MLP TLRR消息中提出的触发定位条件,将步骤108到步骤111重复若干次。Step 112: Repeat steps 108 to 111 several times according to the trigger location condition proposed by the location initiating client in the MLP TLRR message.

步骤113,在最后一次执行步骤110获取目标终端的位置后,H-SLP向目标终端发送SUPL END消息后断开与目标终端之间的IP连接;H-SLP还可以向定位发起客户端发送MLP TLREP消息将目标终端的位置通知定位发起客户端;H-SLP释放与本次触发定位相关的资源。Step 113, after the last execution of step 110 to obtain the location of the target terminal, the H-SLP sends a SUPL END message to the target terminal and disconnects the IP connection with the target terminal; the H-SLP can also send an MLP to the positioning initiating client The TLREP message notifies the positioning initiating client of the location of the target terminal; the H-SLP releases resources related to this triggered positioning.

目标终端接收到SUPL END消息后断开与H-SLP之间的IP连接,并且释放与本次触发定位相关的资源。After receiving the SUPL END message, the target terminal disconnects the IP connection with the H-SLP, and releases the resources related to this triggered positioning.

在步骤106和步骤111中,H-SLP分别通过在SUPL TRIGGEREDRESPONSE消息和SUPL POS END消息中包含预先设定的标记字段来指示目标终端保持当前IP连接。作为第一种替代方案,H-SLP可以在SUPLTRIGGERED RESPONSE消息和SUPL POS END消息中不是包括用于指示目标终端保持当前IP连接的标记字段,而是包括一个时间参数,以指示目标终端根据该时间参数来决定是否断开当前IP连接并且释放相关资源。该时间参数可以是一个绝对的时间值,也可以是一个时间长度的值。如果时间参数是绝对的时间值,则该参数可以称为断开时刻,目标终端在该绝对时间到达时,如果没有收到H-SLP发来的用于发起新的定位交互的SUPLTRIGGERED INIT消息,则断开当前IP连接并且释放相关资源;如果时间参数是时间长度的值,则该参数可以称为等待时长,目标终端在接收到SUPLTRIGGERED RESPONSE消息和SUPL POS END消息后开始计时,如果在计时到达该时间长度之前没有收到H-SLP发来的用于发起新的定位交互的SUPL TRIGGERED INIT消息,则断开当前IP连接并且释放相关资源。上述的时间参数同时也可以用于指示H-SLP自身是否断开当前IP连接并且释放相关资源。作为第二种替代方案,可以由H-SLP和目标终端事先约定等待时长,如果H-SLP在SUPL TRIGGERED RESPONSE消息或者SUPL POSEND消息中,包含了用于指示目标终端保持当前IP连接的标记字段,则H-SLP和目标终端在该等待时长到达之前都保持当前IP连接。作为第三种替代方案,可以由H-SLP和目标终端事先约定等待时长,在SUPLTRIGGERED RESPONSE消息或者SUPL POS END消息之后,H-SLP和目标终端都默认在该等待时长到达之前保持当前IP连接。在第三种替代方案中H-SLP不用判断下次定位交互是否很快开始。作为第四种替代方案,H-SLP可以在SUPL TRIGGERED RESPONSE中包括预先设定的标记字段,以指示目标终端从当前时刻开始,直到整个触发定位过程结束之前,都保持当前IP连接,或者指示目标终端从第一次定位交互开始,直到整个触发定位过程结束之前,都保持在第一次定位交互开始时建立的IP连接;或者H-SLP可以在SUPL TRIGGERED RESPONSE中包括第一种替代方案中所述的等待时长,以指示目标终端在收到SUPL TRIGGERED RESPONSE消息之后,以及后续的每次定位交互结束之后都根据等待时长决定是否断开连接。In step 106 and step 111, the H-SLP instructs the target terminal to maintain the current IP connection by including a preset flag field in the SUPL TRIGGEREDRESPONSE message and the SUPL POS END message respectively. As a first alternative, H-SLP may include a time parameter in the SUPLTRIGGERED RESPONSE message and SUPL POS END message instead of indicating the target terminal to maintain the current IP connection parameter to decide whether to disconnect the current IP connection and release related resources. The time parameter can be an absolute time value or a time length value. If the time parameter is an absolute time value, the parameter can be called the disconnection time. When the target terminal arrives at the absolute time, if it does not receive the SUPLTRIGGERED INIT message sent by the H-SLP for initiating a new positioning interaction, Then disconnect the current IP connection and release related resources; if the time parameter is the value of the time length, then this parameter can be called the waiting time length, and the target terminal starts counting after receiving the SUPLTRIGGERED RESPONSE message and the SUPL POS END message. If the SUPL TRIGGERED INIT message for initiating a new positioning interaction is not received from the H-SLP before this period of time, the current IP connection is disconnected and related resources are released. The above time parameter can also be used to indicate whether the H-SLP itself disconnects the current IP connection and releases related resources. As a second alternative, the H-SLP and the target terminal can agree on the waiting time in advance. If the H-SLP includes a flag field for instructing the target terminal to maintain the current IP connection in the SUPL TRIGGERED RESPONSE message or SUPL POSEND message, Then the H-SLP and the target terminal both maintain the current IP connection before the waiting time is reached. As a third alternative, the H-SLP and the target terminal can agree on the waiting time in advance. After the SUPLTRIGGERED RESPONSE message or the SUPL POS END message, both the H-SLP and the target terminal will maintain the current IP connection by default until the waiting time is reached. In the third alternative solution, the H-SLP does not need to judge whether the next positioning interaction will start soon. As a fourth alternative, H-SLP can include a preset flag field in SUPL TRIGGERED RESPONSE to indicate that the target terminal will maintain the current IP connection from the current moment until the end of the entire triggered positioning process, or indicate that the target terminal From the first positioning interaction, the terminal maintains the IP connection established at the beginning of the first positioning interaction until the end of the entire triggered positioning process; or the H-SLP can include the SUPL TRIGGERED RESPONSE in the first alternative. The waiting time mentioned above is used to instruct the target terminal to decide whether to disconnect according to the waiting time after receiving the SUPL TRIGGERED RESPONSE message and after each subsequent positioning interaction ends.

请参考图2,图2是本发明提供的对移动终端进行触发定位方法实施例二的流程图,在本实施例中,触发器位于目标终端。Please refer to FIG. 2 . FIG. 2 is a flowchart of Embodiment 2 of a method for triggering and locating a mobile terminal provided by the present invention. In this embodiment, the trigger is located at the target terminal.

在图1中,步骤101到步骤107可以称为触发定位的初始化阶段。对于触发器位于目标终端的情况,初始化阶段的步骤,也就是步骤201到步骤207与触发器位于H-SLP的情况下初始化阶段的步骤基本相同,不同之处有两处:首先,在本实施例的步骤206中,H-SLP向目标终端发送SUPLTRIGGERED RESPONSE消息时,对于周期触发定位,该消息中还携带周期触发定位的开始时刻、终止时刻和间隔时间。其中终止时刻可以用持续时间代替;对于区域触发定位,则该消息中还携带监视目标终端位置的开始时刻以及区域触发条件。其次,在本实施例的步骤206中,由于决定何时进行定位交互的是目标终端而不是H-SLP,因此,H-SLP不能通过在SUPLTRIGGERED RESPONSE消息中包含预先设定的标记字段,以指示目标终端保持当前IP连接。其他相同的步骤在此不再赘述。In FIG. 1 , steps 101 to 107 may be referred to as an initialization phase of trigger positioning. For the case where the trigger is located at the target terminal, the steps in the initialization phase, that is, steps 201 to 207, are basically the same as the steps in the initialization phase when the trigger is located in the H-SLP. There are two differences: first, in this implementation In step 206 of the example, when the H-SLP sends a SUPLTRIGGERED RESPONSE message to the target terminal, for periodic triggered positioning, the message also carries the start time, end time and interval time of periodic triggered positioning. The end time can be replaced by the duration; for area trigger positioning, the message also carries the start time of monitoring the location of the target terminal and the area trigger condition. Secondly, in step 206 of this embodiment, since it is the target terminal that decides when to perform positioning interaction rather than the H-SLP, the H-SLP cannot indicate The target terminal maintains the current IP connection. Other same steps are not repeated here.

步骤208,目标终端判断是否与H-SLP保持了有效的IP连接,如果有则直接向H-SLP发送SUPL POS INIT消息以开始和H-SLP之间的定位交互;如果没有则首先建立与H-SLP之间的IP连接,然后向H-SLP发送SUPL POSINIT消息以开始和H-SLP之间的定位交互。Step 208, the target terminal judges whether an effective IP connection has been maintained with the H-SLP, and if so, directly sends a SUPL POS INIT message to the H-SLP to start positioning interaction with the H-SLP; - IP connection between SLPs, and then send SUPL POSINIT message to H-SLP to start positioning interaction with H-SLP.

步骤209,H-SLP与目标终端之间进行定位交互,获取目标终端的位置,并且由H-SLP向定位发起客户端报告目标终端位置。In step 209, the H-SLP performs positioning interaction with the target terminal to acquire the position of the target terminal, and the H-SLP reports the position of the target terminal to the positioning initiating client.

对于周期触发定位,如果在H-SLP和目标终端之间的定位交互中,是由目标终端计算得到目标终端位置,那么目标终端直接将自身终端位置通过SUPL报告(SUPL REPORT)消息发送给H-SLP,定位交互结束。对于区域触发定位,如果在H-SLP和目标终端之间的定位交互中,是由目标终端计算得到目标终端位置,那么目标终端首先判断自身位置是否满足区域触发条件,如果满足则将自身位置通过SUPL报告(SUPL REPORT)消息发送给H-SLP,定位交互结束。H-SLP得到目标终端位置后,再通过MLP TLREP消息将目标终端位置发送给定位发起客户端。For periodic trigger positioning, if the target terminal position is calculated by the target terminal in the positioning interaction between the H-SLP and the target terminal, then the target terminal directly sends its own terminal position to the H-SLP through the SUPL REPORT message. SLP, the positioning interaction ends. For area-triggered positioning, if the position of the target terminal is calculated by the target terminal in the positioning interaction between the H-SLP and the target terminal, then the target terminal first judges whether its own position satisfies the area triggering condition, and if so, passes its own position through The SUPL report (SUPL REPORT) message is sent to the H-SLP, and the positioning interaction ends. After the H-SLP obtains the location of the target terminal, it sends the location of the target terminal to the positioning initiating client through the MLP TLREP message.

对于周期触发定位,如果在H-SLP和目标终端之间的定位交互中,是由H-SLP计算得到目标终端位置,那么H-SLP在得到目标终端位置以后即结束定位交互,而H-SLP直接通过MLP TLREP消息将目标终端位置发送给定位发起客户端。对于区域触发定位,如果在H-SLP和目标终端之间的定位交互中,是由H-SLP计算得到目标终端位置,那么H-SLP首先将目标终端位置通过SUPL位置报告(SUPL POS REPORT)消息发送给目标终端,目标终端判断自身位置是否满足区域触发条件,如果满足则将自身位置通过SUPL报告(SUPL REPORT)消息发送给H-SLP,定位交互结束;H-SLP得到目标终端位置后,再通过MLP TLREP消息将目标终端位置发送给定位发起客户端。对于区域触发定位并且由H-SLP计算得到目标终端位置的情况,作为一种替代方案,也可以由H-SLP直接根据区域触发条件判断目标终端位置是否满足区域触发条件,如果满足则通过MLP TLREP消息将目标终端位置发送给定位发起客户端。For periodic triggered positioning, if the target terminal position is calculated by the H-SLP in the positioning interaction between the H-SLP and the target terminal, then the H-SLP will end the positioning interaction after obtaining the target terminal position, and the H-SLP Send the location of the target terminal to the positioning initiating client directly through the MLP TLREP message. For area-triggered positioning, if the position of the target terminal is calculated by the H-SLP in the positioning interaction between the H-SLP and the target terminal, then the H-SLP first reports the position of the target terminal through the SUPL position report (SUPL POS REPORT) message Send to the target terminal, the target terminal judges whether its own position meets the area trigger condition, if so, sends its own position to H-SLP through SUPL report (SUPL REPORT) message, and the positioning interaction ends; after H-SLP obtains the target terminal position, then Send the location of the target terminal to the positioning initiating client through the MLP TLREP message. For the situation where the location is triggered by the area and the location of the target terminal is calculated by the H-SLP, as an alternative, the H-SLP can also directly judge whether the location of the target terminal satisfies the area trigger condition according to the area trigger condition, and if so, pass the MLP TLREP The message sends the location of the target terminal to the positioning initiating client.

如果H-SLP和目标终端之间的下次定位交互不是很快开始进行,则H-SLP和目标终端在本次定位交互结束后都断开当前IP连接并释放相关资源。反之,如果H-SLP和目标终端之间的下次定位交互需要很快开始进行,目标终端可以在SUPL POS INIT消息中,或者在SUPL POS INIT消息以后定位交互结束之前的任意一条消息中,包含预先设定的标记字段以指示H-SLP保持当前IP连接;同时,目标终端自身也保持当前IP连接。If the next positioning interaction between the H-SLP and the target terminal does not start soon, both the H-SLP and the target terminal disconnect the current IP connection and release related resources after the current positioning interaction ends. Conversely, if the next positioning interaction between the H-SLP and the target terminal needs to start soon, the target terminal can include in the SUPL POS INIT message, or in any message after the SUPL POS INIT message and before the positioning interaction ends. The preset flag field is used to instruct the H-SLP to maintain the current IP connection; meanwhile, the target terminal itself also maintains the current IP connection.

步骤210,根据H-SLP在SUPL TRIGGERED RESPONSE消息中提出的触发定位条件,将步骤208到步骤209重复若干次。Step 210, according to the trigger location condition proposed by the H-SLP in the SUPL TRIGGERED RESPONSE message, repeat steps 208 to 209 several times.

步骤211,在最后一次执行步骤209后,H-SLP向目标终端发送SUPLEND消息后断开与目标终端之间的IP连接,并且释放与本次触发定位相关的资源;目标终端接收到SUPL END消息后断开与H-SLP之间的IP连接,并且释放与本次触发定位相关的资源。Step 211, after executing step 209 for the last time, the H-SLP disconnects the IP connection with the target terminal after sending a SUPLEND message to the target terminal, and releases resources related to this triggered positioning; the target terminal receives the SUPL END message Then disconnect the IP connection with the H-SLP, and release the resources related to this trigger location.

H-SLP还可以向定位发起客户端发送MLP TLREP消息将目标终端的位置通知定位发起客户端。The H-SLP can also send an MLP TLREP message to the positioning initiating client to notify the positioning initiating client of the location of the target terminal.

在步骤208和/或步骤209中,目标终端通过在与H-SLP的交互消息中包含预先设定的标记字段来指示H-SLP保持当前IP连接。作为第一种替代方案,目标终端可以在与H-SLP的交互消息中包括一个时间参数,以指示H-SLP根据该时间参数来决定是否断开当前IP连接并且释放相关资源。该时间参数可以是一个绝对的时间值,也可以是一个时间长度的值。如果时间参数是绝对的时间值,则可以将该参数称为断开时刻,H-SLP在该绝对时间到达时,如果没有收到目标终端发来的用于发起新的定位交互的SUPL POSINIT消息,则断开当前IP连接并且释放相关资源;如果时间参数是时间长度的值,则可以将该参数称为等待时长,H-SLP在与目标终端的定位交互结束后开始计时,如果在计时到达该时间长度之前没有收到H-SLP发来的用于发起新的定位交互的SUPL POS INIT消息,则断开当前IP连接并且释放相关资源。上述的时间参数同时也可以用于指示目标终端自身是否断开当前IP连接并且释放相关资源。作为第二种替代方案,可以由H-SLP和目标终端事先约定等待时长,如果目标终端在SUPL POS INIT消息中,或者在SUPLPOS INIT消息以后定位交互结束之前的任意一条消息中,包含了用于指示H-SLP保持当前IP连接预先设定的标记字段,则H-SLP和目标终端在该等待时长到达之前都保持当前IP连接。作为第三种替代方案,可以由H-SLP和目标终端事先约定等待时长,在初始化阶段结束后或者在定位交互结束后,H-SLP和目标终端都默认在该等待时长到达之前保持当前IP连接。在第三种替代方案中目标终端不用判断下次定位交互是否很快开始。In step 208 and/or step 209, the target terminal instructs the H-SLP to maintain the current IP connection by including a preset flag field in the interaction message with the H-SLP. As a first alternative, the target terminal may include a time parameter in the interaction message with the H-SLP, to instruct the H-SLP to decide whether to disconnect the current IP connection and release related resources according to the time parameter. The time parameter can be an absolute time value or a time length value. If the time parameter is an absolute time value, the parameter can be called the disconnection time. When the absolute time arrives, if the H-SLP does not receive the SUPL POSINIT message sent by the target terminal for initiating a new positioning interaction , then disconnect the current IP connection and release related resources; if the time parameter is the value of the time length, the parameter can be called the waiting time. H-SLP starts timing after the positioning interaction with the target terminal ends. If the SUPL POS INIT message used to initiate a new positioning interaction is not received from the H-SLP before this time period, the current IP connection is disconnected and related resources are released. The above time parameter can also be used to indicate whether the target terminal itself disconnects the current IP connection and releases related resources. As a second alternative, the H-SLP and the target terminal can agree on the waiting time in advance. If the target terminal contains the information for Instruct the H-SLP to keep the preset flag field of the current IP connection, then both the H-SLP and the target terminal will keep the current IP connection before the waiting time is reached. As a third alternative, the H-SLP and the target terminal can agree on the waiting time in advance. After the initialization phase ends or the positioning interaction ends, the H-SLP and the target terminal will maintain the current IP connection by default until the waiting time is reached. . In the third alternative solution, the target terminal does not need to judge whether the next positioning interaction will start soon.

以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (11)

1, a kind of portable terminal is carried out the method for triggered location, it is characterized in that when the positioning interaction between locating platform and target terminal began, this method further may further comprise the steps:
A, judge between locating platform and target terminal whether exist Internet protocol to be connected,, position alternately then, otherwise directly position mutual if do not have then set up earlier being connected between locating platform and target terminal;
Before positioning interaction between locating platform and target terminal finished, this method further may further comprise the steps:
If B determine in predefined time threshold values, to position between platform and the target terminal next positioning interaction or, determine the no show of predefined wait duration or, determine predefined disconnection no show constantly, then keep current connection the between locating platform and target terminal, otherwise, disconnect current connection the between locating platform and target terminal.
2, according to claim 1 portable terminal is carried out the method for triggered location, it is characterized in that this method further comprises:
Before the initial phase of triggered location finishes, if determine in predefined time threshold values, to position between platform and the target terminal the first time positioning interaction or, determine the no show of predefined wait duration or, determine predefined disconnection no show constantly, then keep current connection the between locating platform and target terminal, otherwise, disconnect current connection the between locating platform and target terminal.
3, according to claim 1 portable terminal is carried out the method for triggered location, it is characterized in that the described judgement of steps A is carried out by locating platform;
Steps A is described to be set up earlier being connected between locating platform and target terminal, positions then alternately to be:
Locating platform is prepared to position mutual by Short Message Service or WAP (wireless access protocol) notification target terminal, set up after target terminal has notice and being connected of locating platform, being connected that locating platform and target terminal pass through to be set up then positions alternately;
Described directly the positioning alternately of steps A is:
Locating platform connects the notification target terminal by described Internet protocol and prepares to position mutual, and locating platform is connected by described Internet protocol with target terminal and positions alternately then.
4, according to claim 1 portable terminal is carried out the method for triggered location, it is characterized in that the described judgement of steps A is carried out by target terminal;
Steps A is described sets up being connected between locating platform and target terminal:
Target terminal foundation is connected with locating platform.
5, according to claim 1 and 2 portable terminal is carried out the method for triggered location, it is characterized in that, preestablish time threshold, describedly determine that the next positioning interaction that positions between platform and the target terminal is in predefined time threshold values:
Judge whether can in the time threshold that begins from current time, carry out next positioning interaction, if, then be judged as current connection that needs to keep between locating platform and target terminal, do not need otherwise be judged as.
6, according to claim 1 and 2 portable terminal is carried out the method for triggered location, it is characterized in that, set and wait for duration, describedly determine that the no show of predefined wait duration is:
Pick up counting from current time, judge to wait for whether duration arrives, if no show then think needs to keep current connection the between locating platform and target terminal.
7, according to claim 1 and 2 portable terminal is carried out the method for triggered location, it is characterized in that, describedly determine that predefined disconnections moment no show is:
Be provided with and disconnect constantly, judge to disconnect constantly whether arrive, if no show then think needs to keep current connection the between locating platform and target terminal.
8, according to claim 6 portable terminal is carried out the method for triggered location, it is characterized in that described setting waits for that duration is:
Locating platform and the target terminal wait duration of making an appointment;
Or
Locating platform is determined to wait for duration when the initial phase of triggered location finishes, and will be waited for duration notification target terminal;
Or
Locating platform is determined to wait for duration when positioning interaction finishes, and will be waited for that duration is notified to target terminal;
Or
Target terminal is determined to wait for duration when positioning interaction finishes, and will be waited for that duration is notified to locating platform.
9, each describedly carries out the method for triggered location to portable terminal according to claim 1 to 3, it is characterized in that described maintenance or disconnect current being connected between locating platform and target terminal:
Locating platform notification target terminal keeps or disconnects current connection, and locating platform self also keeps or disconnects current connection simultaneously.
10, described portable terminal is carried out the method for triggered location according to claim 1,2 or 4, it is characterized in that, described maintenance or disconnect current being connected between locating platform and target terminal:
Target terminal notice locating platform keeps or disconnects current connection, and target terminal self also keeps or disconnects current connection simultaneously.
11, according to claim 1 portable terminal is carried out the method for triggered location, it is characterized in that, in step B, when disconnecting current connection the between locating platform and target terminal, this method further comprises:
Locating platform discharges the resource relevant with this triggered location separately with target terminal.
CNB2005101049410A 2006-01-26 2006-01-26 A method for triggering and positioning a mobile terminal Expired - Fee Related CN100466813C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101049410A CN100466813C (en) 2006-01-26 2006-01-26 A method for triggering and positioning a mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101049410A CN100466813C (en) 2006-01-26 2006-01-26 A method for triggering and positioning a mobile terminal

Publications (2)

Publication Number Publication Date
CN1933659A CN1933659A (en) 2007-03-21
CN100466813C true CN100466813C (en) 2009-03-04

Family

ID=37879226

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101049410A Expired - Fee Related CN100466813C (en) 2006-01-26 2006-01-26 A method for triggering and positioning a mobile terminal

Country Status (1)

Country Link
CN (1) CN100466813C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459881B (en) * 2007-12-12 2010-09-08 中国移动通信集团公司 Message carrying method and client, message server
CN101800928A (en) * 2009-02-09 2010-08-11 中兴通讯股份有限公司 Group positioning method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003081939A1 (en) * 2002-03-26 2003-10-02 Nokia Corporation Positioning-triggered handover
CN1491060A (en) * 2002-10-17 2004-04-21 华为技术有限公司 Positioning method for AGPS mobile in mobile communication network
CN1582046A (en) * 2004-05-18 2005-02-16 中兴通讯股份有限公司 Method for providing third-party positioning for GSM user (1)
CN1719939A (en) * 2005-07-28 2006-01-11 中国联合通信有限公司 Method for implementing mobile positioning service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003081939A1 (en) * 2002-03-26 2003-10-02 Nokia Corporation Positioning-triggered handover
CN1491060A (en) * 2002-10-17 2004-04-21 华为技术有限公司 Positioning method for AGPS mobile in mobile communication network
CN1582046A (en) * 2004-05-18 2005-02-16 中兴通讯股份有限公司 Method for providing third-party positioning for GSM user (1)
CN1719939A (en) * 2005-07-28 2006-01-11 中国联合通信有限公司 Method for implementing mobile positioning service

Also Published As

Publication number Publication date
CN1933659A (en) 2007-03-21

Similar Documents

Publication Publication Date Title
CN115460686B (en) Base station, access and mobility management functional entity and method thereof
US7796993B2 (en) Method for providing location value of target terminal in location information providing system
CN100446625C (en) Extended trigger location method and device
EP1920543B1 (en) Periodic positioning method in mobile communications system
US8107972B2 (en) Method for providing triggered location information of a target terminal
EP1977621B1 (en) Terminal status discovery in secure user plane location positioning procedure
WO2011150707A1 (en) Method and system for managing terminal states or terminal events in machine-to-machine or machine-to-man or man-to-machine (m2m) service
WO2013066628A1 (en) Method and apparatus for ensuring critical resource allocation for group calls made in a push-to-talk communication environment
RU2678464C1 (en) Method and device for setup of multiple call
CN110337072B (en) A method and system for automatically establishing a group under a 5G network
JP6471690B2 (en) Control device and communication terminal
JP2004040552A (en) Radio terminal and communication control method
CN100466813C (en) A method for triggering and positioning a mobile terminal
CN101002490B (en) A method of operating a portable communication device, and a portable communication device
US20160269496A1 (en) Method and application server for executing a service-related operation for a device user
RU2008143061A (en) NETWORK-INITIATED METHOD OF POSITIONING IN THE MOBILE COMMUNICATION SYSTEM, INITIATED BY THE EVENT IN THE ZONE, FOR THE TERMINAL IN ROAMING
CN101404674A (en) Call routing method, proxy server and relay device
CN110381451B (en) Method, device and system for establishing group communication by mobile network
CN100372441C (en) Mobile terminal positioning method
CN102036206B (en) Method and system for realizing location
JP2009503915A5 (en)
WO2013067746A1 (en) Method and system for controlling terminal response trigger in network congestion state
CN108616860A (en) It is a kind of to handle the method and apparatus sought help
WO2017193519A1 (en) Method of notifying calling state, device, and system
CN104244369A (en) Service processing method, terminal equipment and business roaming network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090304