[go: up one dir, main page]

CN100421519C - A Security-Based User Plane Mobile Location Method - Google Patents

A Security-Based User Plane Mobile Location Method Download PDF

Info

Publication number
CN100421519C
CN100421519C CNB2005100958098A CN200510095809A CN100421519C CN 100421519 C CN100421519 C CN 100421519C CN B2005100958098 A CNB2005100958098 A CN B2005100958098A CN 200510095809 A CN200510095809 A CN 200510095809A CN 100421519 C CN100421519 C CN 100421519C
Authority
CN
China
Prior art keywords
slp
client
supl
party
message
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
CNB2005100958098A
Other languages
Chinese (zh)
Other versions
CN1852569A (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 CNB2005100958098A priority Critical patent/CN100421519C/en
Publication of CN1852569A publication Critical patent/CN1852569A/en
Application granted granted Critical
Publication of CN100421519C publication Critical patent/CN100421519C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种基于安全的用户平面移动定位方法,该方法在H-SLP收到SUPL代理发送的对目标SET的定位请求后,获取确认本次定位过程是否进行的第三方客户端信息,并向该第三方客户端发送定位确认消息,并在收到第三方客户端返回的携带允许定位信息的确认结果消息后,开始对目标SET的定位过程。本发明满足了对目标SET的定位过程需要第三方客户端的允许才能进行的需求,进一步扩大了SUPL协议的应用范围。

The invention discloses a security-based user plane mobile positioning method. After the H-SLP receives the positioning request for the target SET sent by the SUPL agent, the H-SLP obtains the third-party client information for confirming whether the positioning process is carried out. And send a positioning confirmation message to the third-party client, and start the positioning process of the target SET after receiving the confirmation result message carrying the positioning permission information returned by the third-party client. The invention satisfies the requirement that the locating process of the target SET needs the permission of the third-party client, and further expands the application range of the SUPL protocol.

Description

一种基于安全的用户平面移动定位方法 A Security-Based User Plane Mobile Location Method

技术领域 technical field

本发明涉及位置业务技术领域,具体涉及一种基于安全的用户平面移动定位方法。The invention relates to the technical field of location services, in particular to a security-based user plane mobile positioning method.

背景技术 Background technique

对于基于安全的用户平面移动位置业务,目前国际开放移动联盟(OMA,Open Mobile Alliance)已制订出一套基于安全的用户平面移动定位(SUPL,Secure User Plane Location)协议,对该业务进行了全面规范。利用SUPL协议,无需对现网设备进行任何改造,即可为具有辅助全球定位系统(AGPS,Assisted Global Positioning System)等定位能力的SUPL终端(SET,SUPL Enabled Terminal)提供精确的定位。SUPL协议规定了网络始发定位流程和SET始发定位流程,对定位流程中的消息接口等也作了规定。在网络始发的定位流程中,网络侧的移动定位服务(MLS,MobilcLocation Service)应用通过SUPL代理向SUPL定位平台(SLP,SUPL LocationPlatform)发送发起方客户端对目标SET的定位请求,并通过采用AGPS技术等的后续SUPL定位过程,获取到目标SET的精确位置信息。在SET始发定位流程中,SET主动向SLP发起对自身的定位请求,并通过采用AGPS技术等的后续定位过程,获取到自身的精确位置信息。For the security-based user plane mobile location service, the International Open Mobile Alliance (OMA, Open Mobile Alliance) has formulated a set of security-based user plane mobile location (SUPL, Secure User Plane Location) protocols, which have comprehensively implemented the service specification. Utilizing the SUPL protocol, it can provide accurate positioning for SUPL Terminals (SET, SUPL Enabled Terminal) with positioning capabilities such as Assisted Global Positioning System (AGPS, Assisted Global Positioning System) without any modification to the existing network equipment. The SUPL protocol specifies the network-initiated positioning process and the SET-initiated positioning process, and also specifies the message interface in the positioning process. In the positioning process initiated by the network, the mobile location service (MLS, MobilcLocation Service) application on the network side sends the location request of the initiator client to the target SET to the SUPL location platform (SLP, SUPL Location Platform) through the SUPL proxy, and uses The subsequent SUPL positioning process such as AGPS technology obtains the precise position information of the target SET. In the SET-initiated positioning process, the SET actively initiates a positioning request to the SLP, and obtains its own precise location information through the subsequent positioning process using AGPS technology.

一个典型的网络始发的定位流程如图1所示,其主要包括以下步骤:A typical network-originated positioning process is shown in Figure 1, which mainly includes the following steps:

步骤101:网络侧与目标SET归属的SLP(H-SLP)相关联的SUPL代理向H-SLP发送移动定位协议(MLP,Mobile Location Protocol)立即定位请求(SLIR,Standard Location Immediate Request)消息,该MLP SLIR消息携带发起方客户端标识(Client-ID)和目标SET标识(MS-ID)。Step 101: the SUPL agent associated with the SLP (H-SLP) to which the target SET belongs on the network side sends a Mobile Location Protocol (MLP, Mobile Location Protocol) immediate location request (SLIR, Standard Location Immediate Request) message to the H-SLP, the The MLP SLIR message carries the initiator client identification (Client-ID) and target SET identification (MS-ID).

步骤102:H-SLP收到MLP SLIR消息后,判断自身保存的、在以前的定位过程中得到的目标SET的位置是否满足定位质量(QoP,Quality ofPosition)要求,若是,执行步骤103;否则,执行步骤108。Step 102: After the H-SLP receives the MLP SLIR message, it judges whether the position of the target SET saved by itself and obtained in the previous positioning process satisfies the positioning quality (QoP, Quality of Position) requirement, if so, executes step 103; otherwise, Go to step 108.

QoP可以包括定位精度、响应时间和最大允许时限等,如:QoP要求H-SLP保存的目标SET的位置信息的最大允许时限是120秒,那么,120秒以前得到的目标SET位置就不能作为当前目标SET的位置了。QoP can include positioning accuracy, response time, and maximum allowable time limit, etc. For example, QoP requires that the maximum allowable time limit for the location information of the target SET stored by H-SLP is 120 seconds, then the target SET position obtained before 120 seconds cannot be used as the current The position of the target SET is now.

这里,H-SLP收到MLP SLIR消息后,要对SUPL代理进行鉴权,并根据发起方客户端标识检查SUPL代理是否有权使用其请求的服务,且基于目标SET标识,H-SLP还要对发起方客户端进行隐私鉴权。Here, after the H-SLP receives the MLP SLIR message, it needs to authenticate the SUPL agent, and check whether the SUPL agent has the right to use the requested service according to the identity of the initiator client, and based on the identity of the target SET, the H-SLP also needs to Perform privacy authentication on the initiator client.

步骤103:H-SLP判断目标SET的隐私信息中是否包含要求目标SET对自身的定位过程进行通知和/或确认的信息,若是,执行步骤104;否则,执行步骤117。Step 103: The H-SLP judges whether the private information of the target SET includes information requiring the target SET to notify and/or confirm its positioning process, and if so, executes step 104; otherwise, executes step 117.

目标SET的隐私信息保存在隐私检查实体(PCE,Privacy CheckingEntity)中,H-SLP需要首先向PCE获取到目标SET的隐私信息,然后在该隐私信息中查找要求目标SET对自身的定位过程进行通知和/或确认的信息。The privacy information of the target SET is stored in the Privacy Checking Entity (PCE, Privacy Checking Entity). H-SLP needs to first obtain the privacy information of the target SET from the PCE, and then search the privacy information to request the target SET to notify itself of the positioning process. and/or confirmed information.

步骤104:H-SLP确定目标SET当前未进行漫游。Step 104: The H-SLP determines that the target SET is not currently roaming.

这里,H-SLP可能还要判断目标SET是否支持SUPL协议,若是,执行步骤105;否则,直接给SUPL代理返回携带定位失败信息的MLP立即定位响应(SLIA,Standard Location Immediate Answer)消息,本流程结束。Here, the H-SLP may also need to determine whether the target SET supports the SUPL protocol, and if so, perform step 105; otherwise, directly return the MLP immediate location response (SLIA, Standard Location Immediate Answer) message carrying the location failure information to the SUPL agent, this process Finish.

步骤105:H-SLP向目标SET发送SUPL初始化(INIT)消息,该消息携带通知(Notification)参数和值为“无需定位(no position)”的定位方法参数,通知参数用于指定目标SET返回确认结果的方式。Step 105: H-SLP sends a SUPL initialization (INIT) message to the target SET, the message carries a notification (Notification) parameter and a positioning method parameter whose value is "no position (no position)", and the notification parameter is used to specify the target SET to return an acknowledgment way of results.

SUPL初始化消息包括对话标识(Session-ID),还可能包括QoP、H-SLP的地址信息、密钥标识(Key ID)和消息鉴别码(MAC,Message AuthenticationCode)。The SUPL initialization message includes a session ID (Session-ID), and may also include QoP, address information of the H-SLP, a key ID (Key ID) and a message authentication code (MAC, Message Authentication Code).

基于安全,在H-SLP发送SUPL初始化消息前,要根据SUPL协议规定的算法,计算该SUPL初始化消息的哈希值(Hash),然后将该Hash放入SUPL初始化消息的验证字段参数中发送给目标SET;目标SET在收到SUPL初始化消息后,同样根据SUPL协议规定的算法,计算该SUPL初始化消息的Hash,然后将该Hash与H-SLP发送来的Hash进行匹配,若匹配成功,就接受H-SLP发送的SUPL初始化消息;若匹配失败,则忽略H-SLP发送的SUPL初始化消息,H-SLP在等待SUPL初始化消息响应超时后,向SUPL代理发送携带定位失败参数的MLP SLIA消息。Based on security, before the H-SLP sends the SUPL initialization message, it should calculate the hash value (Hash) of the SUPL initialization message according to the algorithm stipulated in the SUPL protocol, and then put the Hash into the verification field parameter of the SUPL initialization message and send it to Target SET: After receiving the SUPL initialization message, the target SET also calculates the Hash of the SUPL initialization message according to the algorithm specified in the SUPL protocol, and then matches the Hash with the Hash sent by the H-SLP. If the match is successful, it accepts The SUPL initialization message sent by the H-SLP; if the match fails, the SUPL initialization message sent by the H-SLP is ignored, and the H-SLP sends the MLP SLIA message carrying the positioning failure parameter to the SUPL agent after waiting for the response of the SUPL initialization message to time out.

SUPL初始化消息可由无线应用协议推送(WAP PUSH)方式承载,也可由短消息业务(SMS,Short Message Service)方式承载。The SUPL initialization message can be carried by the wireless application protocol push (WAP PUSH) method, and can also be carried by the short message service (SMS, Short Message Service) method.

步骤106:目标SET收到SUPL初始化消息后,根据该消息携带的通知参数,向H-SLP发送SUPL结束(END)消息。Step 106: After receiving the SUPL initialization message, the target SET sends a SUPL end (END) message to the H-SLP according to the notification parameter carried in the message.

若通知参数要求目标SET对定位过程进行确认,那么,SUPL结束消息需要携带确认结果:访问允许或访问拒绝。If the notification parameter requires the target SET to confirm the positioning process, then the SUPL end message needs to carry the confirmation result: access allowed or denied.

若SUPL初始化消息携带密钥标识和MAC,则目标SET可根据该密钥标识和MAC判断SUPL初始化消息是否可信,若可信,则对该SUPL初始化消息进行处理;若不可信,则不理会该SUPL初始化消息,H-SLP在等待响应消息超时后,给SUPL代理返回携带定位失败参数的MLP SLIA消息,本流程结束。If the SUPL initialization message carries the key ID and MAC, the target SET can judge whether the SUPL initialization message is credible according to the key ID and MAC. If it is credible, it will process the SUPL initialization message; if it is not credible, it will ignore it. For the SUPL initialization message, after the H-SLP waits for the response message to time out, it returns the MLP SLIA message carrying the positioning failure parameter to the SUPL agent, and this process ends.

若目标SET在收到SUPL初始化消息时,还没有绑定在分组数据网上,则目标SET将把自身绑定到分组数据网上;或者建立一个电路交换数据连接,以通过该连接将自身绑定到分组数据网上。If the target SET is not yet bound to the packet data network when receiving the SUPL initialization message, the target SET will bind itself to the packet data network; or establish a circuit switched data connection to bind itself to the packet data network through the connection. packet data online.

一般,目标SET可使用由自身归属网络提供的H-SLP的地址,与H-SLP建立安全IP连接,也可以使用SUPL初始化消息中携带的H-SLP地址,与H-SLP建立安全IP连接;若SUPL初始化消息中没有携带H-SLP地址,则目标SET使用自身配置的H-SLP的默认地址,与H-SLP建立安全IP连接。Generally, the target SET can use the address of the H-SLP provided by its own home network to establish a secure IP connection with the H-SLP, or use the H-SLP address carried in the SUPL initialization message to establish a secure IP connection with the H-SLP; If the SUPL initialization message does not carry the H-SLP address, the target SET uses the default address of the H-SLP configured by itself to establish a secure IP connection with the H-SLP.

步骤107:H-SLP收到SUPL结束消息,判断该SUPL结束消息是否携带访问拒绝参数,若是,向SUPL代理发送携带定位失败参数的MLP SLIA消息,本流程结束;否则,向SUPL代理发送携带目标SET位置的MLP SLIA消息,本流程结束。Step 107: H-SLP receives the SUPL end message, and judges whether the SUPL end message carries an access rejection parameter, if so, sends the MLP SLIA message carrying the location failure parameter to the SUPL agent, and the process ends; otherwise, sends the SUPL agent to carry the target MLP SLIA message at the SET position, this process ends.

步骤108:H-SLP确定目标SET当前未进行漫游。Step 108: The H-SLP determines that the target SET is not currently roaming.

这里,H-SLP可能还要判断目标SET是否支持SUPL协议,若是,执行步骤109;否则,直接给SUPL代理返回携带定位失败参数的MLP SLIA消息,本流程结束。Here, the H-SLP may also need to judge whether the target SET supports the SUPL protocol, and if so, execute step 109; otherwise, directly return the MLP SLIA message carrying the location failure parameter to the SUPL agent, and the process ends.

步骤109:H-SLP向目标SET发送SUPL初始化消息,该SUPL初始化消息携带发起方客户端标识。Step 109: The H-SLP sends a SUPL initialization message to the target SET, and the SUPL initialization message carries the ID of the initiator client.

SUPL初始化消息包括对话标识和定位方法参数,还可能包括QoP,H-SLP的地址,密钥标识和MAC。The SUPL initialization message includes dialogue identification and positioning method parameters, and may also include QoP, H-SLP address, key identification and MAC.

若目标SET的隐私信息中包含要求目标SET对自身的定位过程进行通知和/或确认的信息,则SUPL初始化消息还需携带通知参数,该通知参数用于指定目标SET返回确认结果的方式。If the private information of the target SET includes information that requires the target SET to notify and/or confirm its positioning process, the SUPL initialization message also needs to carry a notification parameter, which is used to specify the way the target SET returns the confirmation result.

步骤110:目标SET收到SUPL初始化消息后,判断该SUPL初始化消息是否携带通知参数,若是,执行步骤111;否则,执行步骤113。Step 110: After receiving the SUPL initialization message, the target SET judges whether the SUPL initialization message carries notification parameters, and if so, executes step 111; otherwise, executes step 113.

步骤111:目标SET根据SUPL初始化消息携带的发起方客户端标识,判断是否允许对自身进行定位,若是,执行步骤113;否则,执行步骤112。Step 111: The target SET judges whether it is allowed to locate itself according to the ID of the initiator client carried in the SUPL initialization message, and if so, executes step 113; otherwise, executes step 112.

步骤112:目标SET给H-SLP返回携带拒绝定位信息的SUPL结束消息,H-SLP收到该SUPL结束消息后,给SUPL代理返回携带定位失败参数的MLP SLIA消息,本流程结束。Step 112: The target SET returns a SUPL end message carrying location rejection information to the H-SLP. After receiving the SUPL end message, the H-SLP returns an MLP SLIA message carrying location failure parameters to the SUPL agent, and the process ends.

步骤113:目标SET向H-SLP发送SUPL定位初始化(SUPL POS INIT)消息。Step 113: The target SET sends a SUPL positioning initialization (SUPL POS INIT) message to the H-SLP.

SUPL定位初始化消息至少包含对话标识、位置标识和SET能力。位置标识指目标SET的小区位置标识,用来描述目标SET的大致位置。SET能力包括:目标SET支持的定位方法,如:SET辅助的AGPS定位方法、基于SET的AGPS定位方法等;以及相关定位协议,如:无线资源位置业务协议(RRLP,Radio Resource Location service Protocol)、无线资源控制(RRC,Radio Resource Control)协议、电信工业协会(TIA,TelecommunicationIndustries Association)-801协议等。The SUPL positioning initialization message contains at least a session identifier, a location identifier and SET capabilities. The location identifier refers to the cell location identifier of the target SET, which is used to describe the approximate location of the target SET. SET capabilities include: positioning methods supported by target SETs, such as: SET-assisted AGPS positioning methods, SET-based AGPS positioning methods, etc.; and related positioning protocols, such as: Radio 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.

目标SET可能还会在SUPL定位初始化消息中携带与当前所用无线技术相关的网络测量报告(NMR,Network Measurement Report)参数,如:对于GSM网络,NMR参数是时间提前量(TA,Time Advance)和接收信号强度(RXLEV,Received signal LEVel)。The target SET may also carry network measurement report (NMR, Network Measurement Report) parameters related to the currently used wireless technology in the SUPL positioning initialization message, such as: for a GSM network, the NMR parameters are time advance (TA, Time Advance) and Received signal strength (RXLEV, Received signal LEVel).

目标SET可能还会在SUPL定位初始化消息中携带自身的位置信息,该位置信息是目标SET保存的曾经计算出或获取到的自身位置信息,H-SLP收到该位置信息后可把该位置信息作为目标SET的参考位置信息,也可以不理会该位置信息。The target SET may also carry its own location information in the SUPL positioning initialization message. The location information is the location information of the target SET that has been calculated or obtained. After receiving the location information, the H-SLP can store the location information As the reference location information of the target SET, the location information may also be ignored.

目标SET可能在SUPL定位初始化消息中设置自身所需的辅助数据(Requested Assistance Data)参数,该参数指明了SET在SUPL定位过程中需要的辅助数据。The target SET may set the requested assistance data (Requested Assistance Data) parameter in the SUPL positioning initialization message, which indicates the assistance data required by the SET during the SUPL positioning process.

步骤114:H-SLP收到SUPL定位初始化消息,判断SUPL定位初始化消息包含的位置标识对应的目标SET的位置是否满足QoP要求,若是,执行步骤116;否则,执行步骤115。Step 114: The H-SLP receives the SUPL positioning initialization message, and judges whether the position of the target SET corresponding to the location identifier contained in the SUPL positioning initialization message meets the QoP requirement, and if so, executes step 116; otherwise, executes step 115.

步骤115:H-SLP根据SUPL定位初始化消息包含的目标SET支持的定位方法,确定最终采用的定位方法,并开始SUPL定位过程,定位过程完毕,得到目标SET的位置信息。Step 115: The H-SLP determines the final positioning method to be adopted according to the positioning method supported by the target SET included in the SUPL positioning initialization message, and starts the SUPL positioning process, and obtains the position information of the target SET after the positioning process is completed.

H-SLP最终确定的定位方法是H-SLP和目标SET都支持的。The positioning method finally determined by the H-SLP is supported by both the H-SLP and the target SET.

在SUPL定位过程中,目标SET和H-SLP之间可能会连续交换一些中间定位过程信息。可由H-SLP根据目标SET发送的位置测量信息计算出目标SET的位置,如:SET辅助的AGPS定位,也可由目标SET根据H-SLP提供的辅助数据计算出自身位置,如:基于SET的AGPS定位。During the SUPL positioning process, some intermediate positioning process information may be continuously exchanged between the target SET and the H-SLP. The position of the target SET can be calculated by the H-SLP based on the position measurement information sent by the target SET, such as: SET-assisted AGPS positioning, or the target SET can calculate its own position based on the auxiliary data provided by the H-SLP, such as: SET-based AGPS position.

步骤116:H-SLP向目标SET发送SUPL结束消息。Step 116: The H-SLP sends a SUPL end message to the target SET.

若SUPL定位初始化消息中携带的位置标识对应的目标SET位置满足QoP要求,则H-SLP在SUPL结束消息中携带该目标SET的位置信息。若H-SLP进行了SUPL定位过程,则H-SLP根据SUPL定位过程中采用的定位方法和定位协议,确定是否将目标SET的位置信息加入SUPL结束消息。目标SET收到SUPL结束消息后,释放所有与本次会话相关的资源。If the location of the target SET corresponding to the location identifier carried in the SUPL location initialization message meets the QoP requirements, the H-SLP carries the location information of the target SET in the SUPL end message. If the H-SLP performs the SUPL positioning process, the H-SLP determines whether to add the location information of the target SET to the SUPL end message according to the positioning method and positioning protocol used in the SUPL positioning process. After receiving the SUPL end message, the target SET releases all resources related to this session.

步骤117:H-SLP向SUPL代理发送MLP SLIA消息,该消息携带目标SET的位置信息。Step 117: The H-SLP sends the MLP SLIA message to the SUPL agent, and the message carries the location information of the target SET.

MLP SLIA消息携带的目标SET位置信息可能是H-SLP先前计算得到的目标SET的位置信息,也可能是在SUPL定位过程中得到的目标SET的位置信息。The target SET location information carried in the MLP SLIA message may be the location information of the target SET previously calculated by the H-SLP, or it may be the location information of the target SET obtained during the SUPL positioning process.

H-SLP发送MLP SLIA消息的同时,释放所有与本次会话相关的资源。When the H-SLP sends the MLP SLIA message, it releases all resources related to this session.

由以上定位过程可以看出,该网络始发的定位流程只有目标SET和发起方客户端参与;同样,在现有技术中,SET始发的定位流程也只有目标SET自身参与。本文所述客户端包括:SET、服务提供商(SP,Service Provider)等实体。但是,随着通信技术的发展,位置业务的应用要求越来越丰富了。在某些网络或SET发起的定位流程中,目标SET的定位过程可能需要得到其它客户端的允许后才能进行,例如:用户2是用户1的位置业务付费用户,如:用户2和用户1为父子关系、雇佣关系等。当用户1对应的SET1发起位置业务请求时,如:发起自定位请求,或通过网络侧的MLS应用发起对SET3的定位请求时,该对SET1自身或对SET3的定位过程需要经过用户2对应的SET2的允许后才能进行。但是,目前的SUPL协议还没有与此相关的规定。It can be seen from the above positioning process that only the target SET and the initiator client participate in the network-initiated positioning process; similarly, in the prior art, only the target SET itself participates in the SET-initiated positioning process. The client described in this paper includes entities such as SET and service provider (SP, Service Provider). However, with the development of communication technology, the application requirements of location services are becoming more and more abundant. In the positioning process initiated by some networks or SETs, the positioning process of the target SET may require the permission of other clients, for example: user 2 is a paid user of user 1's location service, such as: user 2 and user 1 are father and son relationship, employment relationship, etc. When SET1 corresponding to user 1 initiates a location service request, such as: initiates a self-location request, or initiates a location request to SET3 through the MLS application on the network side, the positioning process for SET1 itself or SET3 needs to go through the location process of user 2. It can only be performed after the permission of SET2. However, the current SUPL agreement has no provisions related to this.

发明内容 Contents of the invention

有鉴于此,本发明的主要目的在于提供一种基于安全的用户平面移动定位方法,以满足对目标SET的定位需要得到第三方客户端允许的需求,进一步扩大SUPL协议的应用范围。In view of this, the main purpose of the present invention is to provide a security-based user plane mobile positioning method to meet the requirement that the positioning of the target SET needs to be permitted by a third-party client, and further expand the application range of the SUPL protocol.

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:

一种基于安全的用户平面移动定位方法,该方法包括:A security-based user plane mobile positioning method, the method comprising:

A、目标SET归属的H-SLP接收到SUPL代理发送来的对目标SET的定位请求后,获取第三方客户端信息;A. The H-SLP to which the target SET belongs receives the third-party client information after receiving the positioning request for the target SET sent by the SUPL agent;

B、H-SLP根据获取到的第三方客户端信息,向第三方客户端发送定位确认消息,之后H-SLP判断是否收到第三方客户端返回的携带允许定位信息的确认结果消息,若是,则开始对目标SET进行定位;否则,本流程结束。B. H-SLP sends a positioning confirmation message to the third-party client according to the obtained third-party client information, and then H-SLP judges whether it has received the confirmation result message carrying the location-allowing information returned by the third-party client. If so, Then start to locate the target SET; otherwise, this process ends.

步骤A所述定位请求携带第三方客户端信息,The positioning request described in step A carries third-party client information,

步骤A所述H-SLP获取第三方客户端信息为:从所述定位请求中获取。In step A, the H-SLP obtains the third-party client information by: obtaining from the positioning request.

所述方法进一步包括:目标SET和/或步骤A所述定位请求的发起方客户端在H-SLP进行注册时,登记第三方客户端信息,且H-SLP将第三方客户端信息对应保存在目标SET和/或所述发起方客户端的注册信息中,The method further includes: when the target SET and/or the initiator client of the positioning request in step A registers the third-party client information when the H-SLP registers, and the H-SLP stores the third-party client information in the corresponding In the registration information of the target SET and/or the initiator client,

步骤A所述H-SLP获取第三方客户端信息为:H-SLP从自身保存的目标SET和/或所述发起方客户端的注册信息中获取。In step A, the acquisition of third-party client information by the H-SLP is as follows: the H-SLP acquires it from the registration information of the target SET and/or the initiator client saved by the H-SLP.

所述方法进一步包括:目标SET和/或步骤A所述定位请求的发起方客户端在登记位置业务时,向PCE上报第三方客户端信息,且PCE将第三方客户端信息对应保存在目标SET和/或所述发起方客户端的隐私信息中,The method further includes: when the target SET and/or the initiator client of the positioning request in step A register the location service, report the third-party client information to the PCE, and the PCE correspondingly saves the third-party client information in the target SET and/or in the private information of the initiator client,

步骤A所述H-SLP获取第三方客户端信息具体为:H-SLP向PCE获取目标SET和/或所述发起方客户端的隐私信息,并在获取到的目标SET和/或所述发起方客户端的隐私信息中查找到目标SET和/或所述发起方客户端对应的第三方客户端信息。The H-SLP obtaining third-party client information in step A specifically includes: the H-SLP obtains the privacy information of the target SET and/or the initiator client from the PCE, and obtains the target SET and/or the initiator client The third-party client information corresponding to the target SET and/or the initiator client is found in the private information of the client.

步骤B所述H-SLP向第三方客户端发送定位确认消息之后,本流程结束之前进一步包括:第三方客户端向H-SLP返回携带拒绝定位信息的确认结果消息。In step B, after the H-SLP sends the location confirmation message to the third-party client, before the end of the process, it further includes: the third-party client returns a confirmation result message carrying location rejection information to the H-SLP.

步骤B所述H-SLP向第三方客户端发送定位确认消息之前,进一步包括:H-SLP根据SUPL协议中规定的算法,计算并保存该定位确认消息的Hash,Before the H-SLP in step B sends the location confirmation message to the third-party client, it further includes: the H-SLP calculates and saves the Hash of the location confirmation message according to the algorithm specified in the SUPL protocol,

步骤B所述H-SLP向第三方客户端发送定位确认消息之后、收到第三方客户端返回的确认结果消息之前,进一步包括:第三方客户端收到该定位确认消息后,根据SUPL协议中规定的算法,计算该定位确认消息的Hash,然后将该Hash与确认结果消息一同返回给H-SLP,After the H-SLP in step B sends the location confirmation message to the third-party client and before receiving the confirmation result message returned by the third-party client, it further includes: after the third-party client receives the location confirmation message, according to the SUPL protocol Calculate the Hash of the positioning confirmation message according to the specified algorithm, and then return the Hash and the confirmation result message to the H-SLP,

且,步骤B所述H-SLP收到第三方客户端返回的确认结果消息之后,进一步包括:H-SLP收到与确认结果消息一同返回的Hash,然后将该Hash和自身保存的Hash进行匹配,若匹配成功,则接受所述确认结果消息;否则,忽略所述确认结果消息。And, after the H-SLP described in step B receives the confirmation result message returned by the third-party client, it further includes: the H-SLP receives the Hash returned together with the confirmation result message, and then matches the Hash with the Hash saved by itself , if the matching is successful, accept the confirmation result message; otherwise, ignore the confirmation result message.

所述方法进一步包括:第三方客户端预先保存所有允许定位SET的标识,且,The method further includes: the third-party client pre-stores all SET identifications allowed to be located, and,

步骤B所述H-SLP向第三方客户端发送定位确认消息之后,收到第三方客户端返回的确认结果消息之前,进一步包括:After the H-SLP in step B sends the positioning confirmation message to the third-party client, before receiving the confirmation result message returned by the third-party client, it further includes:

第三方客户端收到该定位确认消息后,在自身查找该定位确认消息携带的目标SET标识和/或步骤A所述定位请求的发起方客户端标识,若查找到,则给H-SLP返回携带允许定位信息的确认结果消息;否则,本流程结束。After the third-party client receives the location confirmation message, it searches for the target SET identifier carried in the location confirmation message and/or the originator client identifier of the location request described in step A, and if found, returns it to the H-SLP. A confirmation result message carrying the location-allowed information; otherwise, the process ends.

所述方法进一步包括:第三方客户端预先保存所有允许定位SET的标识,且,The method further includes: the third-party client pre-stores all SET identifications allowed to be located, and,

步骤B所述H-SLP向第三方客户端发送定位确认消息之后,收到第三方客户端返回的确认结果消息之前,进一步包括:After the H-SLP in step B sends the positioning confirmation message to the third-party client, before receiving the confirmation result message returned by the third-party client, it further includes:

第三方客户端收到该定位确认消息后,向用户显示该定位确认消息携带的目标SET标识和/或步骤A所述定位请求的发起方客户端标识,并给用户显示“允许”和“拒绝”选项,并将检测到的用户选定的选项对应的确认结果消息返回给H-SLP。After the third-party client receives the positioning confirmation message, it displays the target SET identification carried in the positioning confirmation message and/or the initiator client identification of the positioning request described in step A to the user, and displays "allow" and "deny" to the user. " option, and return the confirmation result message corresponding to the detected option selected by the user to the H-SLP.

步骤B所述H-SLP向第三方客户端发送定位确认消息之后,收到第三方客户端返回的确认结果消息之前,进一步包括:After the H-SLP in step B sends the positioning confirmation message to the third-party client, before receiving the confirmation result message returned by the third-party client, it further includes:

第三方客户端收到该定位确认消息后,给H-SLP返回确认结果消息,同时将该定位确认消息携带的目标SET标识和/或步骤A所述定位请求的发起方客户端标识和确认结果信息显示给用户。After the third-party client receives the positioning confirmation message, it returns a confirmation result message to the H-SLP, and at the same time, the target SET identification carried in the positioning confirmation message and/or the initiator client identification and confirmation result of the positioning request described in step A Information is displayed to the user.

步骤B所述H-SLP向第三方客户端发送定位确认消息之后、收到第三方客户端返回的确认结果消息之前,进一步包括:After the H-SLP in step B sends the positioning confirmation message to the third-party client and before receiving the confirmation result message returned by the third-party client, it further includes:

第三方客户端使用自身归属网络提供的H-SLP地址与H-SLP建立安全IP连接。The third-party client uses the H-SLP address provided by its home network to establish a secure IP connection with the H-SLP.

步骤B所述H-SLP向第三方客户端发送定位确认消息之后、收到第三方客户端返回的确认结果消息之前,进一步包括:After the H-SLP in step B sends the positioning confirmation message to the third-party client and before receiving the confirmation result message returned by the third-party client, it further includes:

第三方客户端检测该定位确认消息是否带有H-SLP地址,若是,使用该定位确认消息带有的H-SLP地址与H-SLP建立安全IP连接;否则,使用自身配置的H-SLP的默认地址与H-SLP建立安全IP连接。The third-party client detects whether the location confirmation message contains an H-SLP address, and if so, uses the H-SLP address contained in the location confirmation message to establish a secure IP connection with the H-SLP; otherwise, uses the H-SLP address configured by itself. The default address establishes a secure IP connection with the H-SLP.

步骤B所述H-SLP向第三方客户端发送的定位确认消息携带有密钥信息,The location confirmation message sent by the H-SLP to the third-party client in step B carries key information,

且,步骤B所述H-SLP向第三方客户端发送定位确认消息之后,收到第三方客户端返回的确认结果消息之前,进一步包括:And, after the H-SLP described in step B sends the positioning confirmation message to the third-party client, before receiving the confirmation result message returned by the third-party client, it further includes:

第三方客户端收到该定位确认消息后,对该定位确认消息携带的密钥信息进行验证,若验证通过,则接受该定位确认消息,并在判定允许或拒绝目标SET进行定位之后,给H-SLP返回对应的确认结果消息。After receiving the location confirmation message, the third-party client verifies the key information carried in the location confirmation message. If the verification is passed, it accepts the location confirmation message, and after determining whether to allow or deny the target SET to perform location, it sends the H - The SLP returns a corresponding confirmation result message.

所述密钥信息为密钥标识和MAC。The key information is key identifier and MAC.

步骤B所述H-SLP向第三方客户端发送定位确认消息之后,进一步包括:After the H-SLP in step B sends the location confirmation message to the third-party client, it further includes:

第三方客户端收到该定位确认消息后,检测到当前自身未绑定到分组数据网上,则直接将自身绑定到分组数据网上;或者,先建立电路交换数据连接,然后通过该连接将自身绑定到分组数据网上。After receiving the positioning confirmation message, the third-party client detects that it is not currently bound to the packet data network, and then directly binds itself to the packet data network; or, first establishes a circuit-switched data connection, and then connects itself Bind to the packet data network.

步骤B所述H-SLP发送的定位确认消息通过WAP推送方式发送给第三方客户端,或通过SMS方式发送给第三方客户端。The location confirmation message sent by the H-SLP in step B is sent to the third-party client through WAP push, or sent to the third-party client through SMS.

步骤B所述H-SLP对目标SET进行定位具体包括:The positioning of the target SET by the H-SLP described in step B specifically includes:

C1、H-SLP判断自身保存的、以前定位过程中得到的目标SET的位置是否满足QoP要求,若是,将该位置作为目标SET位置,本流程结束;否则,执行步骤C2;C1. The H-SLP judges whether the location of the target SET saved by itself and obtained in the previous positioning process meets the QoP requirements. If so, take the location as the location of the target SET, and this process ends; otherwise, execute step C2;

C2、H-SLP确定当前目标SET未进行漫游后,向目标SET发送SUPL初始化消息,目标SET收到SUPL初始化消息后给H-SLP返回携带有定位方法和位置标识的SUPL定位初始化消息;C2. After the H-SLP determines that the current target SET is not roaming, it sends a SUPL initialization message to the target SET. After receiving the SUPL initialization message, the target SET returns a SUPL positioning initialization message carrying a positioning method and a location identifier to the H-SLP;

C3、H-SLP收到SUPL定位初始化消息后,判断该SUPL定位初始化消息携带的位置标识对应的目标SET的位置是否满足QoP要求,若是,将该位置标识对应的位置作为目标SET的位置,本流程结束;否则,执行步骤C4;C3. After receiving the SUPL positioning initialization message, the H-SLP judges whether the location of the target SET corresponding to the location identifier carried in the SUPL location initialization message meets the QoP requirements. If so, the location corresponding to the location identifier is used as the location of the target SET. The process ends; otherwise, execute step C4;

C4、H-SLP根据SUPL定位初始化消息携带的定位方法,确定最终采用的定位方法,然后开始对目标SET进行SUPL定位。C4. The H-SLP determines the final positioning method according to the positioning method carried in the SUPL positioning initialization message, and then starts SUPL positioning for the target SET.

步骤B所述第三方客户端的个数为两个,The number of third-party clients described in step B is two,

步骤B所述H-SLP向第三方客户端发送定位确认消息为:H-SLP向所述两个第三方客户端都发送定位确认消息,In step B, the H-SLP sends the location confirmation message to the third-party client as follows: the H-SLP sends the location confirmation message to the two third-party clients,

步骤B所述H-SLP收到第三方客户端返回的携带允许定位信息的确认结果消息为:H-SLP收到所述两个第三方客户端返回的携带允许定位信息的确认结果消息。In step B, the H-SLP receives the confirmation result message carrying the positioning permission information returned by the third-party client: the H-SLP receives the confirmation result messages carrying the positioning permission information returned by the two third-party clients.

与现有技术相比,本发明通过H-SLP在收到SUPL代理发送的对目标SET的定位请求后,先获取需要对本次定位过程进行确认的第三方客户端信息,并在得到第三方客户端的允许后,再进行对目标SET的定位过程,满足了对目标SET的定位过程需要得到第三方客户端的允许后,才能进行的需求,进一步扩大了SUPL协议的应用范围。Compared with the prior art, the present invention first obtains the third-party client information that needs to be confirmed for this positioning process after receiving the positioning request for the target SET sent by the SUPL agent through H-SLP, and obtains the third-party After the permission of the client, the positioning process of the target SET is carried out, which meets the requirement that the positioning process of the target SET needs to be permitted by the third-party client, and further expands the application range of the SUPL protocol.

附图说明 Description of drawings

图1为现有技术实现网络始发的定位的流程图;FIG. 1 is a flow chart of implementing network-originated positioning in the prior art;

图2为本发明实现基于安全的用户平面移动定位的流程图;FIG. 2 is a flow chart of implementing security-based user plane mobile positioning in the present invention;

图3为本发明实现网络始发的定位的具体实施例的流程图。Fig. 3 is a flowchart of a specific embodiment of implementing network-initiated positioning in the present invention.

具体实施方式 Detailed ways

本发明的核心思想是:当H-SLP收到SUPL代理发送的对目标SET的定位请求后,首先获取第三方客户端信息,然后向该第三方客户端确认本次定位过程是否进行,在得到第三方客户端的允许后,再进行对目标SET的定位过程。The core idea of the present invention is: after H-SLP receives the positioning request to the target SET sent by SUPL agent, it first obtains the third-party client information, then confirms to the third-party client whether this positioning process is carried out, and obtains After the permission of the third-party client, the process of locating the target SET is performed.

下面结合附图及具体实施例对本发明再作进一步详细的说明。以下所述接受通知客户端即为第三方客户端。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. The client receiving the notification described below is a third-party client.

图2是本发明提供的实现SUPL的流程图,如图2所示,其具体步骤如下:Fig. 2 is the flowchart that realizes SUPL provided by the present invention, as shown in Fig. 2, its specific steps are as follows:

步骤201:H-SLP接收到SUPL代理发送来的对目标SET的定位请求,该定位请求消息携带目标SET标识,或携带目标SET标识和发起方客户端标识。Step 201: The H-SLP receives a location request for the target SET sent by the SUPL agent, and the location request message carries the target SET ID, or carries the target SET ID and the initiator client ID.

若对目标SET的定位请求是目标SET通过位于自身的SUPL代理发起的自定位请求,则定位请求消息只携带目标SET标识;若对目标SET的定位请求是网络侧与H-SLP相关联的SUPL代理发起的发起方客户端对目标SET的定位请求,则定位请求消息携带目标SET标识和发起方客户端标识。If the location request for the target SET is a self-location request initiated by the target SET through its own SUPL agent, the location request message only carries the target SET identifier; if the location request for the target SET is the SUPL associated with the H-SLP on the network side When the proxy initiates a location request from the initiator client to the target SET, the location request message carries the target SET identifier and the initiator client identifier.

步骤202:H-SLP收到定位请求后,获取接受通知(Accepted)客户端信息。Step 202: After receiving the positioning request, the H-SLP obtains the accepted notification (Accepted) client information.

接受通知客户端信息包括:接受通知客户端的标识、接受通知客户端注册的业务信息等。The notification receiving client information includes: the identification of the notification receiving client, the service information registered by the notification receiving client, and the like.

H-SLP可通过以下三种途径之一获取到接受通知客户端信息:H-SLP can obtain the notification client information through one of the following three ways:

途径一、在MLP SLIR消息中获取到接受通知客户端信息;Approach 1: Obtain the acceptance notification client information in the MLP SLIR message;

MLP SLIR消息中可携带接受通知客户端信息。The MLP SLIR message can carry the acceptance notification client information.

途径二、在自身保存的目标SET和/或发起方客户端的注册信息中查找到接受通知客户端信息;Approach 2: find out the information of the receiving notification client in the registration information of the target SET and/or the initiator client saved by itself;

目标SET和/或发起方客户端可在向H-SLP进行注册时,登记接受通知客户端信息,然后H-SLP将接受通知客户端信息对应保存在目标SET和/或发起方客户端的注册信息中。The target SET and/or the initiator client can register the acceptance notification client information when registering with the H-SLP, and then the H-SLP will accept the notification client information corresponding to the registration information stored in the target SET and/or the initiator client middle.

途径三、在从PCE获取到的目标SET和/或发起方客户端上报的隐私信息中查找到接受通知客户端信息。Approach 3: Find the client information of acceptance notification from the target SET obtained from the PCE and/or the privacy information reported by the initiator client.

目标SET和/或发起方客户端在登记位置业务时,可向PCE上报接受通知客户端信息,然后PCE将接受通知客户端信息对应保存在目标SET和/或发起方客户端的隐私信息中。When the target SET and/or the initiator client register the location service, they can report the client information of the acceptance notification to the PCE, and then the PCE correspondingly saves the client information of the acceptance notification in the private information of the target SET and/or the initiator client.

这里,H-SLP可能既获取到目标SET对应的接受通知客户端信息,又获取到发起方客户端对应的接受通知客户端信息,即:接受通知客户端可能是一个,也可能是两个。Here, the H-SLP may acquire not only the notification acceptance client information corresponding to the target SET, but also the notification acceptance client information corresponding to the initiator client, that is, there may be one or two notification acceptance clients.

步骤203:H-SLP根据接受通知客户端信息,向接受通知客户端发送定位确认消息即:SUPL通知(Notify)消息,该SUPL通知消息携带目标SET标识和/或发起方客户端标识,以通知接受通知客户端对本次定位过程进行确认。Step 203: The H-SLP sends a location confirmation message to the client receiving the notification according to the information of the client receiving the notification, that is: a SUPL notification (Notify) message, and the SUPL notification message carries the target SET identifier and/or the initiator client identifier to notify Accept and notify the client to confirm this positioning process.

若H-SLP获取到两个接受通知客户端的信息,则H-SLP需要向这两个客户端都发送SUPL通知消息,且SUPL通知消息中是携带目标SET标识,还是发起方客户端标识,还是两者都携带的原则是:必须携带与接受通知客户端对应的目标SET标识或发起方客户端标识,而不与接受通知客户端对应的发起方客户端标识或目标SET标识可携带,也可不携带。例如:若接受通知客户端为H-SLP从发起方客户端的隐私信息中获取到的发起方客户端的位置业务付费用户,则H-SLP向该接受通知客户端发送的SUPL通知消息中,必须携带发起方客户端标识,也可携带目标SET标识,这样,接受通知客户端收到该SUPL通知消息后,得知自身对应用户是该消息携带的发起方客户端标识对应用户的位置业务付费用户,然后根据预定规则,判断是否应该为发起方客户端发起的本次业务付费,若是,则允许定位;否则,拒绝定位。若SUPL通知消息携带目标SET标识,则该接受通知客户端也可进一步根据目标SET标识确定是否允许定位。If the H-SLP obtains the information of two clients receiving the notification, the H-SLP needs to send a SUPL notification message to both clients, and whether the SUPL notification message carries the target SET identifier, or the initiator client identifier, or The principle of carrying both is: must carry the target SET ID or initiator client ID corresponding to the client receiving the notification, and the initiator client ID or target SET ID corresponding to the client receiving the notification may or may not be carried. carry. For example: if the receiving notification client is the location service payment user of the initiator client obtained by the H-SLP from the privacy information of the initiator client, then the SUPL notification message sent by the H-SLP to the acceptance notification client must carry The originator client identifier can also carry the target SET identifier. In this way, after receiving the SUPL notification message, the receiving notification client knows that its corresponding user is the location service paying user corresponding to the originator client identifier carried in the message. Then, according to predetermined rules, it is judged whether payment should be made for the service initiated by the initiator client, and if so, positioning is allowed; otherwise, positioning is refused. If the SUPL notification message carries the target SET identifier, the receiving notification client may further determine whether positioning is allowed according to the target SET identifier.

步骤204:接受通知客户端收到SUPL通知消息,根据该SUPL通知消息携带的目标SET标识和/或发起方客户端标识,确定是否允许进行本次定位过程,若是,执行步骤207;否则,执行步骤205。Step 204: Accept the notification that the client receives the SUPL notification message, and determine whether to allow this positioning process according to the target SET identifier and/or the initiator client identifier carried in the SUPL notification message, if so, execute step 207; otherwise, execute Step 205.

若接受通知客户端需要通过IP链接与H-SLP通信,那么在收到SUPL通知消息时,若接受通知客户端还没有绑定在分组数据网上,则接受通知客户端将把自身绑定分组数据网上,以与分组网建立数据连接;或者建立一个电路交换数据连接,以通过该连接将自身绑定到分组数据网上。If the notification client needs to communicate with the H-SLP through the IP link, then when receiving the SUPL notification message, if the notification client has not been bound to the packet data network, the notification client will bind itself to the packet data network to establish a data connection with a packet network; or establish a circuit-switched data connection through which it binds itself to a packet data network.

接受通知客户端确定是否允许进行本次定位过程,可通过:Accept the notification client to determine whether to allow this positioning process, through:

一、接受通知客户端自身保存所有允许定位SET的标识,当收到SUPL通知消息后,就在自身查找该SUPL通知消息携带的目标SET标识和/或发起方客户端标识,若查找到,则允许进行本次定位过程;否则,拒绝进行本次定位过程。1. Accept the notification The client itself saves all the SET identifications allowed to be located. After receiving the SUPL notification message, it searches for the target SET identification and/or the initiator client identification carried in the SUPL notification message. If found, then This positioning process is allowed; otherwise, this positioning process is refused.

二、接受通知客户端收到SUPL通知消息后,将该SUPL通知消息携带的目标SET标识和/或发起方客户端标识显示给用户,并给用户提供“允许”和“拒绝”选项,若检测到用户选定“允许”,则允许进行本次定位过程;若检测到用户选定“拒绝”,则拒绝进行本次定位过程。2. Accept the notification After receiving the SUPL notification message, the client will display the target SET ID and/or initiator client ID carried in the SUPL notification message to the user, and provide the user with options of "allow" and "deny". If the user selects "Allow", the positioning process is allowed; if it is detected that the user selects "Deny", the positioning process is refused.

步骤205:接受通知客户端向H-SLP发送SUPL确认(Verify)消息,该SUPL确认消息携带确认结果(Verify Status)信息:拒绝定位。Step 205: Accept the notification. The client sends a SUPL Confirmation (Verify) message to the H-SLP, and the SUPL Confirmation message carries the confirmation result (Verify Status) information: positioning is refused.

步骤206:H-SLP收到携带拒绝定位信息的SUPL确认消息,通知SUPL代理定位失败,并指明失败原因:接受通知客户端拒绝定位,本流程结束。Step 206: The H-SLP receives the SUPL acknowledgment message carrying location rejection information, notifies the SUPL agent that the location fails, and specifies the reason for the failure: accept and notify the client to reject the location, and this process ends.

若接受通知客户端为两个,则只要H-SLP收到任一个接受通知客户端返回的携带拒绝定位信息的SUPL确认消息,就通知SUPL代理定位失败。If there are two notification clients, as long as the H-SLP receives a SUPL acknowledgment message carrying location rejection information returned by any notification client, it will notify the SUPL agent of location failure.

步骤207:接受通知客户端向H-SLP发送SUPL确认消息,该SUPL确认消息携带确认结果信息:允许定位。Step 207: Accept the notification. The client sends a SUPL confirmation message to the H-SLP. The SUPL confirmation message carries confirmation result information: positioning is allowed.

步骤208:H-SLP收到该携带允许定位信息的SUPL确认消息后,开始对目标SET进行定位。Step 208: The H-SLP starts to locate the target SET after receiving the SUPL acknowledgment message carrying the location permission information.

若接受通知客户端为两个,则H-SLP必须收到两个接受通知客户端返回的携带允许定位信息的SUPL确认消息后,再开始对目标SET进行定位。If there are two notification clients, the H-SLP must receive SUPL acknowledgment messages carrying positioning permission information returned by the two notification clients before starting to locate the target SET.

图3是本发明提供的实现网络始发的SUPL的具体实施例的流程图,如图3所示,在本实施例中,接受通知客户端具体为接受通知SET,其具体步骤如下:Fig. 3 is the flow chart of the specific embodiment that realizes the SUPL that the network originates provided by the present invention, as shown in Fig. 3, in this embodiment, accepting the notice client is specifically accepting the notice SET, and its specific steps are as follows:

步骤301:网络侧与目标SET归属的H-SLP相关联的SUPL代理向H-SLP发送MLP SLIR消息,该MLP SLIR消息携带发起方客户端标识和目标SET标识。Step 301: The SUPL agent associated with the H-SLP to which the target SET belongs at the network side sends an MLP SLIR message to the H-SLP, and the MLP SLIR message carries the ID of the initiator client and the ID of the target SET.

步骤302:H-SLP收到MLP SLIR消息后,判断是否查找到接受通知SET信息,若是,执行步骤303;否则,执行步骤310。Step 302: After receiving the MLP SLIR message, the H-SLP judges whether it has found the acceptance notification SET information, if so, executes step 303; otherwise, executes step 310.

接受通知SET信息包括:接受通知SET的标识、接受通知SET注册的业务信息等。The notification acceptance SET information includes: the identification of the notification acceptance SET, the service information registered by the notification acceptance SET, and so on.

H-SLP可通过以下三种途径之一查找到接受通知SET信息:H-SLP can find the acceptance notification SET information through one of the following three ways:

途径一、H-SLP在MLP SLIR消息中查找到接受通知SET信息;Approach 1: H-SLP finds the acceptance notification SET information in the MLP SLIR message;

途径二、H-SLP在自身保存的目标SET和/或发起方客户端的注册信息中查找到接受通知SET信息;Approach 2: The H-SLP finds the notification acceptance SET information in the registration information of the target SET and/or the initiator client saved by the H-SLP;

途径三、H-SLP在从PCE获取到的目标SET和/或发起方客户端上报的隐私信息中查找到接受通知SET信息。Approach 3: The H-SLP finds the acceptance notification SET information in the target SET obtained from the PCE and/or the privacy information reported by the initiator client.

H-SLP可能查找到一个接受通知SET的信息,也可能查找到两个接受通知SET的信息。The H-SLP may find the information of one SET that accepts the notification, or find the information of two SETs that accept the notification.

这里,H-SLP收到MLP SLIR消息后,要对SUPL代理进行鉴权,并根据发起方客户端标识检查SUPL代理是否有权使用其请求的服务,且基于目标SET标识,H-SLP还要对发起方客户端进行隐私鉴权。Here, after the H-SLP receives the MLP SLIR message, it needs to authenticate the SUPL agent, and check whether the SUPL agent has the right to use the requested service according to the identity of the initiator client, and based on the identity of the target SET, the H-SLP also needs to Perform privacy authentication on the initiator client.

步骤303:H-SLP向接受通知SET发送SUPL通知消息,该SUPL通知消息携带发起方客户端标识和/或目标SET标识,以通知接受通知SET需要对本次定位过程进行确认。Step 303: The H-SLP sends a SUPL notification message to the SET that accepts the notification, and the SUPL notification message carries the ID of the initiator client and/or the ID of the target SET to notify the SET that accepts the notification that it needs to confirm the positioning process.

若H-SLP获取到两个接受通知SET的信息,则H-SLP需要向这两个接受通知SET都发送SUPL通知消息。SUPL通知消息中必须携带与接受通知SET对应的目标SET标识或发起方客户端标识。If the H-SLP obtains the information of two acceptance notification SETs, the H-SLP needs to send SUPL notification messages to both the acceptance notification SETs. The SUPL notification message must carry the target SET ID or the initiator client ID corresponding to the SET that accepts the notification.

SUPL通知消息还携带通知参数,该参数用于指定接受通知SET返回是否允许进行本次定位过程的方式。例如:若接受通知SET允许进行本次定位过程,该参数则指定接受通知SET在返回的SUPL确认消息中携带值为“允许”的确认结果参数;若接受通知SET拒绝进行本次定位过程,该参数则指定接受通知SET在返回的SUPL确认消息中携带值为“拒绝”或空的确认结果参数。The SUPL notification message also carries a notification parameter, which is used to specify the manner in which the SET receives the notification and returns whether to allow this positioning process. For example: if the SET accepts the notification to allow this positioning process, this parameter specifies that the SUPL confirmation message that the SET accepts the notification carries a confirmation result parameter with a value of "Allow"; if the SET accepts the notification and refuses to perform this positioning process, the The parameter specifies that the acceptance notification SET carries a confirmation result parameter whose value is "reject" or empty in the returned SUPL confirmation message.

SUPL通知消息可由WAP推送或SMS触发方式承载。The SUPL notification message can be carried by WAP push or SMS trigger.

基于安全,在H-SLP发送SUPL通知消息前,要根据SUPL协议规定的算法,计算和存储该SUPL通知消息的Hash;接受通知SET在收到SUPL通知消息后,同样根据SUPL协议规定的算法,计算该SUPL通知消息的Hash,然后将该Hash放入SUPL确认消息的验证字段参数中,H-SLP收到SUPL确认消息携带的Hash后,将自身保存的Hash与该接受通知SET返回的Hash进行匹配,若匹配成功,就接受接受通知SET返回的SUPL确认消息,若匹配失败,则忽略接受通知SET返回的SUPL确认消息。Based on security, before the H-SLP sends the SUPL notification message, it shall calculate and store the Hash of the SUPL notification message according to the algorithm stipulated in the SUPL protocol; after receiving the SUPL notification message, the H-SLP shall also calculate and store the Hash of the SUPL notification message according to the algorithm specified in the SUPL protocol. Calculate the Hash of the SUPL notification message, and then put the Hash into the verification field parameter of the SUPL confirmation message. After the H-SLP receives the Hash carried in the SUPL confirmation message, it compares the Hash it saves with the Hash returned by the acceptance notification SET. Match, if the match is successful, accept the SUPL confirmation message returned by the notification SET, if the match fails, ignore the SUPL confirmation message returned by the notification SET.

H-SLP和接受通知SET之间的安全机制完全采用SUPL协议中规定的安全机制。在SUPL协议中,按照规定算法对消息码流进行计算,会得到一个关于该消息的Hash。采用该安全机制的SUPL实体,发送某个消息之前或收到某个消息之后,根据SUPL协议的安全机制中规定的算法对该消息进行计算,就可得到一个关于该消息的Hash。The security mechanism between the H-SLP and the SET that accepts the notification fully adopts the security mechanism stipulated in the SUPL agreement. In the SUPL protocol, the message code stream is calculated according to the specified algorithm, and a Hash about the message will be obtained. A SUPL entity adopting this security mechanism, before sending a certain message or after receiving a certain message, calculates the message according to the algorithm specified in the security mechanism of the SUPL protocol, and can obtain a Hash about the message.

另外,H-SLP可在SUPL通知消息中携带密钥标识和MAC,若接受通知SET支持该密钥标识和MAC,就在收到SUPL通知消息后,对该密钥标识和MAC进行验证,若验证通过,则接受SUPL通知消息,若验证未通过,则忽略SUPL通知消息。In addition, the H-SLP can carry the key ID and MAC in the SUPL notification message. If the SET supports the key ID and MAC, it will verify the key ID and MAC after receiving the SUPL notification message. If the verification is passed, the SUPL notification message is accepted; if the verification fails, the SUPL notification message is ignored.

步骤304:接受通知SET收到SUPL通知消息,根据该SUPL通知消息携带的发起方客户端标识和/或目标SET标识确定是否允许进行本次定位过程,若是,执行步骤307;否则,执行步骤305。Step 304: Accept the notification that the SET receives the SUPL notification message, and determine whether to allow this positioning process according to the initiator client ID and/or the target SET ID carried in the SUPL notification message, if so, go to step 307; otherwise, go to step 305 .

若接受通知SET需要通过IP链接与H-SLP通信,那么在收到SUPL通知消息后,若接受通知SET发现自身没绑定到分组数据网上,就直接将自身绑定到分组数据网上;或通过建立电路交换数据连接,将自身绑定到分组数据网上。If the SET that accepts the notification needs to communicate with the H-SLP through the IP link, then after receiving the SUPL notification message, if the SET that accepts the notification finds that it is not bound to the packet data network, it will directly bind itself to the packet data network; or through Establishes a circuit-switched data connection, binding itself to a packet data network.

接受通知SET确定是否允许进行本次定位过程,可通过:Accept the notification SET to determine whether to allow this positioning process, through:

一、接受通知SET自身保存所有允许定位的发起方客户端标识和/或目标SET标识,当收到SUPL通知消息后,就在自身查找该SUPL通知消息携带的发起方客户端标识和/或目标SET标识,若查找到,就允许进行本次定位过程;否则,就拒绝进行本次定位过程。1. Accept the notification SET itself saves all initiator client IDs and/or target SET IDs that are allowed to be located. After receiving the SUPL notification message, it searches for the initiator client ID and/or target carried in the SUPL notification message. If the SET logo is found, the positioning process is allowed; otherwise, the positioning process is refused.

接受通知SET在确定是否允许进行本次定位过程之后,可将确认结果“允许”或“拒绝”和发起方客户端标识和/或目标SET标识一同显示给用户。After the acceptance notification SET determines whether to allow the positioning process, it can display the confirmation result "allow" or "deny" together with the initiator client ID and/or the target SET ID to the user.

二、接受通知SET收到SUPL通知消息后,将该SUPL通知消息携带的发起方客户端标识和/或目标SET标识显示给用户,并给用户提供“允许”和“拒绝”的选项,在检测到用户选定某个选项后,接受通知SET将与该选项对应的确认结果通过SUPL确认消息发送给H-SLP。例如:若用户看到发起方客户端标识和目标SET标识后,得知自己是发起方客户端对应的用户的位置业务付费用户,并根据预定规则判定应该为对目标SET标识对应的目标SET的定位付费,于是用户选定“允许”选项,接受通知SET检测到用户选定“允许”后,将允许定位信息通过SUPL确认消息发送给H-SLP。2. Accept the notification After receiving the SUPL notification message, the SET will display the initiator client ID and/or target SET ID carried by the SUPL notification message to the user, and provide the user with options of "allow" and "deny". After the user selects an option, the acceptance notification SET sends the confirmation result corresponding to the option to the H-SLP through the SUPL confirmation message. For example: if the user sees the identity of the originator client and the identity of the target SET, he knows that he is a paid user of the location service of the user corresponding to the originator client, and judges according to the predetermined rules that he should be the user of the target SET corresponding to the identity of the target SET. Pay for positioning, so the user selects the "Allow" option, and after receiving the notification, the SET detects that the user selects "Allow", and then sends the permitted positioning information to the H-SLP through the SUPL confirmation message.

步骤305:接受通知SET向H-SLP发送SUPL确认消息,该消息携带拒绝定位信息,同时接受通知SET释放相关资源。Step 305: The SET accepts the notification and sends a SUPL confirmation message to the H-SLP, the message carries location rejection information, and at the same time, the SET accepts the notification and releases related resources.

一般,接受通知SET使用自身归属网络提供的H-SLP地址与H-SLP建立安全IP连接,也可使用SUPL通知消息携带的H-SLP地址,与H-SLP建立安全IP连接;若SUPL通知消息不带有H-SLP地址,则使用自身配置的H-SLP的默认地址与H-SLP建立安全IP连接。Generally, the SET accepts the notification and uses the H-SLP address provided by its own home network to establish a secure IP connection with the H-SLP. It can also use the H-SLP address carried in the SUPL notification message to establish a secure IP connection with the H-SLP; if the SUPL notification message Without the H-SLP address, use the default address of the H-SLP configured by itself to establish a secure IP connection with the H-SLP.

步骤306:H-SLP收到该携带拒绝定位信息的SUPL确认消息后,向SUPL代理发送携带定位失败信息的MLP SLIA消息,本流程结束。Step 306: After receiving the SUPL acknowledgment message carrying location rejection information, the H-SLP sends an MLP SLIA message carrying location failure information to the SUPL agent, and this process ends.

若接受通知SET为两个,则只要H-SLP收到任一个接受通知SET返回的携带拒绝定位信息的SUPL确认消息,就通知SUPL代理定位失败。If there are two notification acceptance SETs, as long as the H-SLP receives a SUPL acknowledgment message carrying location rejection information returned by any notification acceptance SET, it will notify the SUPL proxy of location failure.

H-SLP发送MLP SLIA消息的同时,释放所有与本次会话相关的资源。When the H-SLP sends the MLP SLIA message, it releases all resources related to this session.

步骤307:接受通知SET向H-SLP发送SUPL确认消息,该消息携带允许定位信息,同时接受通知SET释放相关资源。Step 307: The SET accepts the notification and sends a SUPL confirmation message to the H-SLP, the message carries the location permission information, and at the same time, the SET receives the notification and releases related resources.

步骤308:H-SLP接收该携带允许定位信息的SUPL确认消息。Step 308: The H-SLP receives the SUPL acknowledgment message carrying the location permission information.

若接受通知SET为两个,则H-SLP必须收到两个接受通知SET返回的携带允许定位信息的SUPL确认消息后,再开始执行步骤309。If there are two notification acceptance SETs, the H-SLP must receive SUPL acknowledgment messages carrying the location permission information returned by the two notification acceptance SETs before starting to execute step 309 .

步骤309:H-SLP判断自身保存的、在以前的定位过程中得到的目标SET的位置是否满足QoP要求,若是,执行步骤310;否则,执行步骤315。Step 309: The H-SLP judges whether the position of the target SET saved by itself and obtained in the previous positioning process meets the QoP requirement, and if so, executes step 310; otherwise, executes step 315.

步骤310:H-SLP判断目标SET的隐私信息中是否包含要求目标SET对自身的定位过程进行通知和/或确认的信息,若是,执行步骤311;否则,执行步骤323。Step 310: The H-SLP judges whether the private information of the target SET includes information requiring the target SET to notify and/or confirm its positioning process, and if so, executes step 311; otherwise, executes step 323.

同样,H-SLP需要首先向PCE获取到目标SET的隐私信息,然后在该隐私信息中查找要求目标SET对自身的定位过程进行通知和/或确认的信息。Similarly, the H-SLP needs to first obtain the private information of the target SET from the PCE, and then search the private information for information requiring the target SET to notify and/or confirm its own positioning process.

步骤311:H-SLP确定目标SET当前未进行漫游。Step 311: The H-SLP determines that the target SET is not currently roaming.

这里,H-SLP可能还要判断目标SET是否支持SUPL协议,若是,执行步骤312;否则,直接给SUPL代理返回携带定位失败信息的MLP SLIA消息,本流程结束。Here, the H-SLP may also need to judge whether the target SET supports the SUPL protocol, and if so, execute step 312; otherwise, directly return the MLP SLIA message carrying the location failure information to the SUPL agent, and the process ends.

步骤312:H-SLP向目标SET发送SUPL初始化消息,该SUPL初始化消息携带通知参数和值为“无需定位”的定位方法参数。Step 312: The H-SLP sends a SUPL initialization message to the target SET, and the SUPL initialization message carries a notification parameter and a positioning method parameter whose value is "no positioning required".

SUPL初始化消息包括对话标识,还可能包括QoP、H-SLP的地址、密钥标识和MAC。The SUPL initialization message includes the session identifier, and may also include QoP, H-SLP address, key identifier and MAC.

基于安全,在H-SLP发送SUPL初始化消息前,要根据SUPL协议规定的算法,计算该SUPL初始化消息的Hash,然后将该Hash放入SUPL初始化消息的验证字段参数中发送给目标SET;目标SET在收到SUPL初始化消息后,同样根据SUPL协议规定的算法,计算该SUPL初始化消息的Hash,然后将该Hash与H-SLP发送来的Hash进行匹配,若匹配成功,就接受H-SLP发送的SUPL初始化消息;若匹配失败,则忽略H-SLP发送的SUPL初始化消息,H-SLP在等待SUPL初始化消息响应超时后,向SUPL代理发送携带定位失败参数的MLP SLIA消息。Based on security, before the H-SLP sends the SUPL initialization message, it should calculate the Hash of the SUPL initialization message according to the algorithm specified in the SUPL protocol, and then put the Hash into the verification field parameter of the SUPL initialization message and send it to the target SET; the target SET After receiving the SUPL initialization message, calculate the Hash of the SUPL initialization message according to the algorithm specified in the SUPL protocol, and then match the Hash with the Hash sent by the H-SLP. If the match is successful, accept the Hash sent by the H-SLP. SUPL initialization message; if the matching fails, the SUPL initialization message sent by the H-SLP is ignored, and the H-SLP sends the MLP SLIA message carrying the positioning failure parameter to the SUPL agent after waiting for the SUPL initialization message response to time out.

SUPL初始化消息可由WAP推送方式承载,也可由SMS方式承载。The SUPL initialization message can be carried by WAP push or SMS.

步骤313:目标SET收到SUPL初始化消息后,根据该SUPL初始化消息携带的通知参数,向H-SLP发送SUPL结束消息。Step 313: After receiving the SUPL initialization message, the target SET sends a SUPL end message to the H-SLP according to the notification parameter carried in the SUPL initialization message.

若通知参数要求目标SET对定位过程进行确认,那么,SUPL结束消息需要携带确认结果:访问允许或访问拒绝。If the notification parameter requires the target SET to confirm the positioning process, then the SUPL end message needs to carry the confirmation result: access allowed or denied.

若SUPL初始化消息携带密钥标识和MAC,则目标SET可根据该密钥标识和MAC判断SUPL初始化消息是否可信,若可信,则对该SUPL初始化消息进行处理;若不可信,则不理会该SUPL初始化消息,且H-SLP在等待SUPL初始化消息响应超时后,给SUPL代理返回携带定位失败信息的MLP SLIA消息,本流程结束。If the SUPL initialization message carries the key ID and MAC, the target SET can judge whether the SUPL initialization message is credible according to the key ID and MAC. If it is credible, it will process the SUPL initialization message; if it is not credible, it will ignore it. The SUPL initialization message, and after the H-SLP waits for the SUPL initialization message response timeout, returns the MLP SLIA message carrying the positioning failure information to the SUPL agent, and this process ends.

若目标SET在收到SUPL初始化消息时,还没有绑定在分组数据网上,则目标SET将把自身绑定到分组数据网上;或者建立一个电路交换数据连接,以通过该连接将自身绑定到分组数据网上。If the target SET is not yet bound to the packet data network when receiving the SUPL initialization message, the target SET will bind itself to the packet data network; or establish a circuit switched data connection to bind itself to the packet data network through the connection. packet data online.

若SUPL初始化消息中没有携带H-SLP地址,则目标SET可使用由自身归属网络配置的H-SLP的默认地址,与H-SLP建立安全IP连接,或者使用自身配置的H-SLP的默认地址,与H-SLP建立安全IP连接。If the SUPL initialization message does not carry the H-SLP address, the target SET can use the default address of the H-SLP configured by its own home network to establish a secure IP connection with the H-SLP, or use the default address of the H-SLP configured by itself , to establish a secure IP connection with the H-SLP.

步骤314:H-SLP收到SUPL结束消息,判断该SUPL结束消息是否携带访问拒绝信息,若是,向SUPL代理发送携带定位失败信息的MLP SLIA消息,本流程结束;否则,向SUPL代理发送MLP SLIA消息,该MLP SLIA消息携带目标SET的位置信息,即:H-SLP在以前的定位过程中得到的目标SET的位置信息,本流程结束。Step 314: H-SLP receives the SUPL end message, judges whether the SUPL end message carries access rejection information, if so, sends the MLP SLIA message carrying the location failure information to the SUPL agent, and the process ends; otherwise, sends the MLP SLIA message to the SUPL agent message, the MLP SLIA message carries the location information of the target SET, that is, the location information of the target SET obtained by the H-SLP in the previous positioning process, and this process ends.

步骤315:H-SLP确定目标SET当前未进行漫游。Step 315: The H-SLP determines that the target SET is not currently roaming.

这里,H-SLP可能还要判断目标SET是否支持SUPL协议,若是,执行步骤316;否则,直接给SUPL代理返回携带定位失败信息的MLP SLIA消息,本流程结束。Here, the H-SLP may also need to judge whether the target SET supports the SUPL protocol, and if so, execute step 316; otherwise, directly return the MLP SLIA message carrying the location failure information to the SUPL agent, and the process ends.

步骤316:H-SLP向目标SET发送SUPL初始化消息。Step 316: The H-SLP sends a SUPL initialization message to the target SET.

SUPL初始化消息包括对话标识和定位方法参数,还可能包括QoP,H-SLP的地址,密钥标识和MAC。The SUPL initialization message includes dialogue identification and positioning method parameters, and may also include QoP, H-SLP address, key identification and MAC.

若目标SET的隐私信息中包含要求目标SET对自身的定位过程进行通知和/或确认的信息,则SUPL初始化消息还需携带通知参数。If the private information of the target SET includes information that requires the target SET to notify and/or confirm its positioning process, the SUPL initialization message also needs to carry a notification parameter.

步骤317:目标SET收到SUPL初始化消息后,判断该SUPL初始化消息是否携带通知参数和发起方客户端标识,若是,执行步骤318;否则,执行步骤320。Step 317: After receiving the SUPL initialization message, the target SET judges whether the SUPL initialization message carries the notification parameter and the identifier of the initiator client, and if so, executes step 318; otherwise, executes step 320.

步骤318:目标SET根据SUPL初始化消息携带的发起方客户端标识,判断是否允许对自身进行定位,若是,执行步骤320;否则,执行步骤319。Step 318: The target SET judges whether it is allowed to locate itself according to the ID of the initiator client carried in the SUPL initialization message, and if so, executes step 320; otherwise, executes step 319.

步骤319:目标SET给H-SLP返回携带拒绝定位信息的SUPL结束消息,H-SLP收到SUPL结束消息后,给SUPL代理返回携带定位失败信息的MLP SLIA消息,本流程结束。Step 319: The target SET returns a SUPL end message carrying location rejection information to the H-SLP. After receiving the SUPL end message, the H-SLP returns an MLP SLIA message carrying location failure information to the SUPL agent, and the process ends.

步骤320:目标SET向H-SLP发送SUPL定位初始化消息。Step 320: The target SET sends a SUPL location initialization message to the H-SLP.

SUPL定位初始化消息至少包含对话标识、位置标识和SET能力。SET能力包括:目标SET支持的定位方法,如:SET辅助的AGPS定位方法、基于SET的AGPS定位方法等;以及相关定位协议,如:RRLP、RRC协议、TIA-801协议等。The SUPL positioning initialization message contains at least a session identifier, a location identifier and SET capabilities. SET capabilities include: positioning methods supported by the target SET, such as: SET-assisted AGPS positioning method, SET-based AGPS positioning method, etc.; and related positioning protocols, such as: RRLP, RRC protocol, TIA-801 protocol, etc.

目标SET还可能会在SUPL定位初始化消息中携带与当前所用无线技术相关的NMR参数,如:对于GSM网络,NMR参数是TA和RXLEV。The target SET may also carry NMR parameters related to the currently used wireless technology in the SUPL positioning initialization message. For example, for a GSM network, the NMR parameters are TA and RXLEV.

目标SET可能还会在SUPL定位初始化消息中携带自身的位置信息。该位置信息是目标SET保存的曾经计算出或获取到的自身位置信息,H-SLP收到该位置信息后可把该位置信息作为目标SET的参考位置信息,也可以不理会该位置信息。The target SET may also carry its own location information in the SUPL location initialization message. The location information is the own location information once calculated or obtained by the target SET. After receiving the location information, the H-SLP can use the location information as the reference location information of the target SET, or ignore the location information.

目标SET可能在SUPL定位初始化消息中设置自身所需的辅助数据参数,该参数指明了SET在SUPL定位过程中需要的辅助数据。The target SET may set the auxiliary data parameter required by itself in the SUPL positioning initialization message, and the parameter indicates the auxiliary data required by the SET during the SUPL positioning process.

步骤321:H-SLP收到SUPL定位初始化消息,判断SUPL定位初始化消息包含的位置标识对应的目标SET的位置是否满足QoP要求,若是,执行步骤323;否则,执行步骤322。Step 321: The H-SLP receives the SUPL positioning initialization message, and judges whether the position of the target SET corresponding to the location identifier contained in the SUPL positioning initialization message meets the QoP requirement, and if so, executes step 323; otherwise, executes step 322.

步骤322:H-SLP根据该SUPL定位初始化消息包含的目标SET支持的定位方法,确定最终采用的定位方法,并开始SUPL定位过程。Step 322: The H-SLP determines the final positioning method to be adopted according to the positioning method supported by the target SET contained in the SUPL positioning initialization message, and starts the SUPL positioning process.

H-SLP最终确定的定位方法是H-SLP和目标SET都支持的。The positioning method finally determined by the H-SLP is supported by both the H-SLP and the target SET.

在SUPL定位过程中,目标SET和H-SLP之间可能会连续交换一些中间定位过程信息。可由H-SLP根据目标SET发送的位置测量信息计算出目标SET的位置,如:SET辅助的AGPS定位,也可由目标SET根据H-SLP提供的辅助数据计算出自身位置,如:基于SET的AGPS定位。During the SUPL positioning process, some intermediate positioning process information may be continuously exchanged between the target SET and the H-SLP. The position of the target SET can be calculated by the H-SLP based on the position measurement information sent by the target SET, such as: SET-assisted AGPS positioning, or the target SET can calculate its own position based on the auxiliary data provided by the H-SLP, such as: SET-based AGPS position.

步骤323:H-SLP向目标SET发送SUPL结束消息。Step 323: The H-SLP sends a SUPL end message to the target SET.

若SUPL定位初始化消息中携带的位置标识对应的目标SET位置满足QoP要求,则H-SLP在SUPL结束消息中携带该目标SET的位置信息。若H-SLP进行了SUPL定位过程,则H-SLP根据SUPL定位过程中采用的定位方法和定位协议,确定是否将目标SET的位置信息加入SUPL结束消息。目标SET收到SUPL结束消息后,释放所有与本次会话相关的资源。If the location of the target SET corresponding to the location identifier carried in the SUPL location initialization message meets the QoP requirements, the H-SLP carries the location information of the target SET in the SUPL end message. If the H-SLP performs the SUPL positioning process, the H-SLP determines whether to add the location information of the target SET to the SUPL end message according to the positioning method and positioning protocol used in the SUPL positioning process. After receiving the SUPL end message, the target SET releases all resources related to this session.

步骤324:H-SLP向SUPL代理发送MLP SLIA消息,该MLP SLIA消息携带目标SET的位置信息。Step 324: The H-SLP sends an MLP SLIA message to the SUPL agent, and the MLP SLIA message carries the location information of the target SET.

MLP SLIA消息携带的目标SET位置信息可能是H-SLP在以前的定位过程中得到的目标SET的位置信息,也可能是在SUPL定位过程中得到的目标SET的位置信息。The target SET location information carried in the MLP SLIA message may be the location information of the target SET obtained by the H-SLP in the previous positioning process, or it may be the target SET position information obtained in the SUPL positioning process.

H-SLP发送MLP SLIA消息的同时,释放所有与本次会话相关的资源。When the H-SLP sends the MLP SLIA message, it releases all resources related to this session.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。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 (17)

1. one kind based on safe user plane running fix SUPL method, it is characterized in that this method comprises:
The SUPL platform H-SLP of A, target SUPL terminal attaching obtains third party's client-side information after receiving the Location Request to target SUPL terminal that SUPL agency sends;
B, H-SLP are according to the third party's client-side information that gets access to, send positioning confirmation message to third party's client, H-SLP judges whether to receive the affirmation results messages that allows locating information of carrying that third party's client returns afterwards, if then begin target SUPL terminal is positioned; Otherwise this flow process finishes.
2. SUPL method as claimed in claim 1, the described Location Request of steps A is carried third party's client-side information,
The described H-SLP of steps A obtains third party's client-side information: obtain from described Location Request.
3. SUPL method as claimed in claim 1, it is characterized in that, described method further comprises: initiator's client of target SUPL terminal and/or the described Location Request of steps A is when H-SLP registers, registration third party client-side information, and H-SLP is kept at third party's client-side information correspondence in the log-on message of target SUPL terminal and/or described initiator's client
The described H-SLP of steps A obtains third party's client-side information: H-SLP obtains from the log-on message of the target SUPL terminal of self preserving and/or described initiator's client.
4. SUPL method as claimed in claim 1, it is characterized in that, described method further comprises: initiator's client of target SUPL terminal and/or the described Location Request of steps A is when registration location is professional, check that to privacy entity PCE reports third party's client-side information, and PCE is kept at third party's client-side information correspondence in the privacy information of target SUPL terminal and/or described initiator's client
The described H-SLP of steps A obtains third party's client-side information and is specially: H-SLP obtains the privacy information of target SUPL terminal and/or described initiator's client to PCE, and finds third party's client-side information of target SUPL terminal and/or described initiator's client correspondence in the privacy information of the target SUPL terminal that gets access to and/or described initiator's client.
5. SUPL method as claimed in claim 1, it is characterized in that, the described H-SLP of step B is after third party's client sends positioning confirmation message, and this flow process further comprises before finishing: third party's client is returned the affirmation results messages of carrying the refusal locating information to H-SLP.
6. SUPL method as claimed in claim 1, it is characterized in that the described H-SLP of step B is before third party's client sends positioning confirmation message, further comprise: H-SLP is according to the algorithm of stipulating in the SUPL agreement, calculate and preserve the cryptographic Hash Hash of this positioning confirmation message
The described H-SLP of step B after third party's client sends positioning confirmation message, receive before the affirmation results messages that third party's client returns, further comprise: after third party's client is received this positioning confirmation message, according to the algorithm of stipulating in the SUPL agreement, calculate the Hash of this positioning confirmation message, then this Hash is together returned to H-SLP with the affirmation results messages
And, the described H-SLP of step B receives after the affirmation results messages that third party's client returns, further comprises, and: H-SLP receives and confirms the Hash that results messages is together returned, and then this Hash and the Hash that self preserves is mated, if the match is successful, then accept described affirmation results messages; Otherwise, ignore described affirmation results messages.
7. SUPL method as claimed in claim 1 is characterized in that, described method further comprises: third party's client is preserved all signs that allow location SUPL terminal in advance, and,
The described H-SLP of step B receives before the affirmation results messages that third party's client returns after third party's client sends positioning confirmation message, further comprises:
After third party's client is received this positioning confirmation message, self searching target SUPL terminal iidentification that this positioning confirmation message carries and/or initiator's client identification of the described Location Request of steps A, if find, then return and carry the affirmation results messages that allows locating information to H-SLP; Otherwise this flow process finishes.
8. SUPL method as claimed in claim 1 is characterized in that, described method further comprises: third party's client is preserved all signs that allow location SUPL terminal in advance, and,
The described H-SLP of step B receives before the affirmation results messages that third party's client returns after third party's client sends positioning confirmation message, further comprises:
After third party's client is received this positioning confirmation message, show target SUPL terminal iidentification that this positioning confirmation message is carried and/or initiator's client identification of the described Location Request of steps A to the user, and show " permission " and " refusal " option to the user, and the affirmation results messages of the option correspondence that detected user is selected returns to H-SLP.
9. SUPL method as claimed in claim 1 is characterized in that, the described H-SLP of step B receives before the affirmation results messages that third party's client returns after third party's client sends positioning confirmation message, further comprises:
After third party's client is received this positioning confirmation message, return the affirmation results messages to H-SLP, initiator's client identification of target SUPL terminal iidentification that this positioning confirmation message is carried and/or the described Location Request of steps A and affirmation object information are shown to the user simultaneously.
10. SUPL method as claimed in claim 1 is characterized in that, the described H-SLP of step B after third party's client sends positioning confirmation message, receive before the affirmation results messages that third party's client returns, further comprise:
The H-SLP address that third party's client uses network of self home to provide is set up safe IP with H-SLP and is connected.
11. SUPL method as claimed in claim 1 is characterized in that, the described H-SLP of step B after third party's client sends positioning confirmation message, receive before the affirmation results messages that third party's client returns, further comprise:
Third party's client detects this positioning confirmation message and whether has the H-SLP address, if the H-SLP address of using this positioning confirmation message to have is set up safe IP with H-SLP and is connected; Otherwise, use the default address of H-SLP of self configuration to set up safe IP and be connected with H-SLP.
12. SUPL method as claimed in claim 1 is characterized in that, the described H-SLP of step B carries key information to the positioning confirmation message that third party's client sends,
And the described H-SLP of step B receives before the affirmation results messages that third party's client returns after third party's client sends positioning confirmation message, further comprises:
After third party's client is received this positioning confirmation message, the key information that this positioning confirmation message is carried is verified,, then accepted this positioning confirmation message if checking is passed through, and after judging that permission or refusal target SUPL terminal position, return corresponding affirmation results messages to H-SLP.
13. SUPL method as claimed in claim 12 is characterized in that, described key information is key identification and Message Authentication Code MAC.
14. SUPL method as claimed in claim 1 is characterized in that, the described H-SLP of step B further comprises after third party's client sends positioning confirmation message:
After third party's client is received this positioning confirmation message, detect that current self not to be tied to grouped data online, it is online then directly self to be tied to grouped data; Perhaps, set up circuit switched data earlier and connect, it is online by this connection self to be tied to grouped data then.
15. SUPL method as claimed in claim 1 is characterized in that, the positioning confirmation message that the described H-SLP of step B sends sends to third party's client by the wap push mode, or sends to third party's client by the short message service mode.
16. SUPL method as claimed in claim 1 is characterized in that, the described H-SLP of step B positions specifically target SUPL terminal and comprises:
C1, H-SLP judge whether the position of the target SUPL terminal of self preserving, obtain in the former position fixing process satisfies alignment quality QoP requirement, if as target SUPL terminal location, this flow process finishes with this position; Otherwise, execution in step C2;
After C2, H-SLP determine that current goal SUPL terminal is roamed, send the SUPL initial message to target SUPL terminal, target SUPL terminal is returned the SUPL location initial message that carries localization method and station location marker to H-SLP after receiving the SUPL initial message;
After C3, H-SLP receive SUPL location initial message, judge whether the position of the target SUPL terminal of the station location marker correspondence that this SUPL location initial message carries satisfies the QoP requirement, if with the position as target SUPL terminal, the position of this station location marker correspondence, this flow process finishes; Otherwise, execution in step C4;
C4, H-SLP determine the final localization method that adopts according to the localization method that SUPL location initial message carries, and begin then target SUPL terminal is carried out the SUPL location.
17. SUPL method as claimed in claim 1 is characterized in that, the number of the described third party's client of step B is two,
The described H-SLP of step B sends positioning confirmation message to third party's client: H-SLP sends positioning confirmation message to described two third party's clients,
The described H-SLP of step B receives that the affirmation results messages of carrying the permission locating information that third party's client is returned is: H-SLP receives the affirmation results messages of carrying the permission locating information that described two third party's clients are returned.
CNB2005100958098A 2005-08-17 2005-08-17 A Security-Based User Plane Mobile Location Method Expired - Fee Related CN100421519C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100958098A CN100421519C (en) 2005-08-17 2005-08-17 A Security-Based User Plane Mobile Location Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100958098A CN100421519C (en) 2005-08-17 2005-08-17 A Security-Based User Plane Mobile Location Method

Publications (2)

Publication Number Publication Date
CN1852569A CN1852569A (en) 2006-10-25
CN100421519C true CN100421519C (en) 2008-09-24

Family

ID=37134032

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100958098A Expired - Fee Related CN100421519C (en) 2005-08-17 2005-08-17 A Security-Based User Plane Mobile Location Method

Country Status (1)

Country Link
CN (1) CN100421519C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442924C (en) * 2005-07-25 2008-12-10 华为技术有限公司 A security-based user plane mobile positioning method and system
CN100450297C (en) 2005-07-25 2009-01-07 华为技术有限公司 A security-based user plane mobile positioning method and system
CN101115307B (en) * 2007-06-19 2010-06-16 中兴通讯股份有限公司 Method and system for implementing user intimacy safety in auxiliary global positioning process

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6360102B1 (en) * 1998-09-10 2002-03-19 Ericsson Inc. System and method for defining a subscriber location privacy profile
CN1582047A (en) * 2004-05-18 2005-02-16 中兴通讯股份有限公司 Method for providing third-party positioning for GSM user (2)
CN1582046A (en) * 2004-05-18 2005-02-16 中兴通讯股份有限公司 Method for providing third-party positioning for GSM user (1)
US20050118999A1 (en) * 2003-12-02 2005-06-02 Yinjun Zhu User plane location based service using message tunneling to support roaming

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6360102B1 (en) * 1998-09-10 2002-03-19 Ericsson Inc. System and method for defining a subscriber location privacy profile
US20050118999A1 (en) * 2003-12-02 2005-06-02 Yinjun Zhu User plane location based service using message tunneling to support roaming
CN1582047A (en) * 2004-05-18 2005-02-16 中兴通讯股份有限公司 Method for providing third-party positioning for GSM user (2)
CN1582046A (en) * 2004-05-18 2005-02-16 中兴通讯股份有限公司 Method for providing third-party positioning for GSM user (1)

Also Published As

Publication number Publication date
CN1852569A (en) 2006-10-25

Similar Documents

Publication Publication Date Title
US7917138B2 (en) SUPL initialization message in a location information system and method and system for processing SUPL by using the same
US7970397B2 (en) Network-initiated area event triggered positioning method for roaming terminal in mobile communication system
US8081986B2 (en) Method for transmitting location information
US20090176488A1 (en) Roaming method and system in location information system
US7873370B2 (en) Location information system and method for performing notification based upon location
US7962153B2 (en) Method and system for secure user plane location
CN101322331B (en) Location information system and method for executing notification based on location
US8116786B2 (en) Set initiated area event triggered positioning method in mobile communication system
CN100421519C (en) A Security-Based User Plane Mobile Location Method
WO2007114629A1 (en) Network-initiated area event triggered positioning method for roaming terminal in mobile communication system
CN100442924C (en) A security-based user plane mobile positioning method and system
JP2008507938A (en) User privacy management apparatus and method in mobile communication system
KR100880405B1 (en) Location-related Location Checking Method of Roaming Terminal in Mobile Communication System
KR20070100104A (en) Location information service method for emergency call in LAN
KR20070105835A (en) Location-related Location Checking Method of Roaming Terminal in Mobile Communication System
CN101204109A (en) Security-based user plane mobile positioning method and system
KR20080014603A (en) Positioning Alternative Procedure in User Plane Based Location Service

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

Granted publication date: 20080924

CF01 Termination of patent right due to non-payment of annual fee