一种在通信系统中实现定位业务的方法 Method for realizing positioning service in communication system
技术领城 Technology leader
本发明涉及移动通信系统, 特别是涉及了一种在 CDMA移动通信系统中 实现移动终端定位业务的方法。 The present invention relates to a mobile communication system, and in particular, to a method for implementing a mobile terminal positioning service in a CDMA mobile communication system.
背景技术 Background technique
定位业务指的是在移动通讯系统中通过无线定位技术来获取移动终端 的位置, 并且基于移动终端的位置提供相应的服务。 定位业务主要的应用 领域包括: 公共安全紧急呼叫、 网络优化计费、 增值业务等等。 The positioning service refers to obtaining the position of the mobile terminal through wireless positioning technology in the mobile communication system, and providing corresponding services based on the position of the mobile terminal. The main application areas of the positioning service include: public safety emergency calls, network optimization billing, value-added services, and so on.
在 CDMA移动通讯网中, 现有的定位业务实现方式是: 在网络中增加两 个新的网络实体: 移动定位中心(MPC )和定位实体(PDE )。 同时, 对网络 中原有的实体, 归属位置寄存器(HLR )进行升级, 使其具有用户定位的数 据存储以及用户位置信息传递的能力。 在定位的过程中, 网络首先向归属 MPC请求用户的位置,然后归属 MPC通过归属位置寄存器获取用户漫游地的 服务 MPC的地址, 再向服务 MPC请求用户的位置。 而服务 MPC获取用户位 置信息时, 需要向用户所在的移动交换中心请求用户的无线信息, 再和定 位实体进行交互, 由定位实体计算出用户的位置。 In a CDMA mobile communication network, an existing positioning service is implemented by adding two new network entities to the network: a mobile positioning center (MPC) and a positioning entity (PDE). At the same time, the original entity in the network, the home location register (HLR) is upgraded to make it capable of storing user-located data and transmitting user location information. During the positioning process, the network first requests the location of the user from the home MPC, and then the home MPC obtains the address of the service MPC where the user roams through the home location register, and then requests the location of the user from the service MPC. When the service MPC obtains the user's location information, it needs to request the user's wireless information from the mobile switching center where the user is located, and then interact with the positioning entity, and the positioning entity calculates the user's location.
这种实现方式有以下几个缺点: This implementation has the following disadvantages:
一、 实现时需要区分归属 MPC和服务 MPC。 同时, 需要在用户到归属位 置寄存器上登记时记录用户服务 MPC 的地址。 每次定位需要通过两个 MPC 互转信令。 定位流程相对比较复杂, 对信令网的要求高, 信令流量大。 First, it is necessary to distinguish between a home MPC and a service MPC during implementation. At the same time, the user service MPC address needs to be recorded when the user registers in the home location register. Each positioning requires two MPCs to exchange signaling. The positioning process is relatively complicated, with high requirements on the signaling network and large signaling traffic.
二、需要归属位置寄存器专门对定位业务进行特殊处理, 需要提供和存 储用户服务 MPC 的地址。 当从普通网絡升级到支持定位的网络时, 需要对 已有的设备-归属位置寄存器进行升级, 升级的成本较高, 风险也比较大。 2. The home location register is required to perform special processing on the positioning service, and the address of the user service MPC needs to be provided and stored. When upgrading from a normal network to a network that supports positioning, the existing equipment-home location register needs to be upgraded. The cost of the upgrade is higher and the risks are greater.
三、 申请了定位业务的用户的服务信息需要同时存储在归属 MPC和 HLR 当中, 不便于用户信息的同步修改, 容易引起错误。
发明内容 3. The service information of the user who has applied for the positioning service needs to be stored in the home MPC and HLR at the same time, which is not convenient for the simultaneous modification of user information and is easy to cause errors. Summary of the invention
本发明要解决的技术任务是克服现有 CDMA定位系统中定位流程复杂, 需要归属位置寄存器特殊处理, 以及用户信息同步困难的缺点, 提出一种 新的在通讯系统中实现定位业务的方法。 The technical task to be solved by the present invention is to overcome the disadvantages of the complicated positioning process in the existing CDMA positioning system, the special processing of the home location register, and the difficulty in synchronizing user information, and propose a new method for implementing positioning services in a communication system.
本发明所述定位业务实现的方法,主要在移动定位中心上实现,定位实 体和移动交换中心起辅助作用。 The method for realizing the positioning service according to the present invention is mainly implemented on a mobile positioning center, and a positioning entity and a mobile switching center play an auxiliary role.
在移动定位过程中, 移动定位中心起到总体控制的作用。 In the mobile positioning process, the mobile positioning center plays the role of overall control.
移动定位中心负责用户有关定位的业务信息的存储和管理,其中包括用 户的签约信息、 鉴权和限制信息、 用户的位置信息等。 归属位置寄存器不 再保存用户有关定位的签约信息。 The mobile positioning center is responsible for the storage and management of the user's positioning-related business information, including the user's subscription information, authentication and restriction information, and user location information. The home location register no longer holds the user's subscription information about positioning.
本发明所述技术方案如下: The technical solution of the present invention is as follows:
移动定位中心通过七号信令网或者 TCP/IP 网接受其它实体的位置请 求, 控制对用户的定位, 并将获取的位置信息返回给请求的实体; The mobile positioning center accepts location requests from other entities through the No. 7 signaling network or TCP / IP network, controls the positioning of the user, and returns the acquired location information to the requesting entity;
在获取用户位置信息的过程中,移动定位中心直接使用短消息请求的方 式向归属位置寄存器请求用户目前漫游地的交换机地址; In the process of obtaining the user's location information, the mobile positioning center directly requests the home location register for the switch address of the user's current roaming location by using a short message request method;
获取漫游地的信息后,移动定位中心从自己的数据库中获取漫游地的定 位实体的信息, 直接和漫游地的交换中心以及定位实体的交互, 移动定位 中心获取用户当前的位置。 After obtaining the information of the roaming place, the mobile positioning center obtains the information of the positioning entity of the roaming place from its own database, and directly interacts with the exchange center of the roaming place and the positioning entity, and the mobile positioning center obtains the current location of the user.
采用本发明所述方法实现定位业务后 ,与原有系统相比,流程大大简化, 取消了归属 MPC和服务 MPC的区别, 用户信息完全由归属 MPC来管理, 对 原有的归属位置寄存器也没有特殊的要求。 After using the method of the present invention to implement positioning services, compared with the original system, the process is greatly simplified, the difference between the home MPC and the service MPC is eliminated, the user information is completely managed by the home MPC, and there is no original home location register. special request.
附图说明 BRIEF DESCRIPTION OF THE DRAWINGS
图 1是定位业务的网络结构; Figure 1 is the network structure of the positioning service;
图 2是定位业务实体间的接口示意; Figure 2 is a schematic diagram of an interface between positioning business entities;
图 3是本发明所迷的定位方法的流程示意图。
具体实施方式 FIG. 3 is a schematic flowchart of a positioning method according to the present invention. detailed description
下面结合附图对技术方案的实施作进一步的详细描述: The following further describes the implementation of the technical solution in detail with reference to the drawings:
图 1描述了定位系统的网络结构图。定位系统包括传统的网络实体和新 增加的实体。 前者主要包括移动交换中心和归属位置寄存器, 后者主要包 括移动定位中心、 定位实体以及定位业务客户机等。 Figure 1 describes the network structure of the positioning system. The positioning system includes traditional network entities and newly added entities. The former mainly includes a mobile switching center and a home location register, and the latter mainly includes a mobile positioning center, a positioning entity, and a positioning service client.
移动定位中心是定位业务实现的核心实体。 主要功能是控制定位过程, 同各个实体交互, 以及存储和提供用户的位置信息等。 The mobile positioning center is the core entity for positioning services. The main function is to control the positioning process, interact with various entities, and store and provide user location information.
定位实体的功能主要是对移动终端送到网络侧的信息进行处理,从而计 算出移动终端的位置。 The function of the positioning entity is mainly to process the information sent by the mobile terminal to the network side to calculate the position of the mobile terminal.
定位业务客户机是业务应用实体。 它通过移动定位中心获取用户的位 置, 再根据用户位置提供不同的位置业务。 Positioning a business client is a business application entity. It obtains the user's location through the mobile positioning center, and then provides different location services based on the user's location.
在定位网络中, 移动定位中心、定位实体以及移动交换中心、 归属位置 寄存器是通过七号信令网进行连接的。 定位业务客户机可以通过两种方式 和移动定位中心相连, 分别为七号信令网和 TCP/IP网。 在实现时, 可以将 网络结构中的两个或者数个实体合并为一个实体。 同样, 网络实体间的连 接也可以采用全 IP的方式。 In a positioning network, a mobile positioning center, a positioning entity, a mobile switching center, and a home location register are connected through a signaling network number seven. The positioning service client can be connected to the mobile positioning center in two ways, namely the No. 7 signaling network and the TCP / IP network. During implementation, two or more entities in the network structure can be combined into one entity. Similarly, the connection between network entities can also be all-IP.
在定位网络中各实体的消息连接方式如图 2所示, 图 2中: 301 -移动 定位中心, 302 -定位业务客户机, 303 -归属位置寄存器, 304 -移动交换 中心, 305 -定位实体。 The message connection mode of each entity in the positioning network is shown in Figure 2. In Figure 2: 301-mobile positioning center, 302-positioning service client, 303-home location register, 304-mobile switching center, 305-positioning entity.
移动定位中心 301和定位业务客户机 302之间的接口用于请求和传递用 户的位置信息, 这个接口可以用七号信令网或者 TCP P网。 The interface between the mobile positioning center 301 and the positioning service client 302 is used to request and transfer the user's location information. This interface can use the No. 7 signaling network or the TCP P network.
移动定位中心 301和归属位置寄存器 303之间的接口用于请求用户目前 所在的移动交换中心 304的地址, 使用七号信令网接口。 The interface between the mobile positioning center 301 and the home location register 303 is used to request the address of the mobile switching center 304 where the user is currently located, using the SS7 interface.
移动定位中心 301和移动交换中心 304之间的接口用于请求用户当前的 状态以及无线信道参数, 使用七号信令网接口。 The interface between the mobile positioning center 301 and the mobile switching center 304 is used to request the user's current status and wireless channel parameters, and uses the SS7 interface.
移动定位中心 301和定位实体 305之间的接口用于请求定位实体计算移 动终端的具体位置, 使用七号信令网接口。
本发明所述定位方法的实现流程如图 3所示: The interface between the mobile positioning center 301 and the positioning entity 305 is used to request the positioning entity to calculate the specific location of the mobile terminal, and uses a No. 7 signaling network interface. The implementation process of the positioning method according to the present invention is shown in Figure 3:
当定位业务客户机需要确定移动终端的位置时,定位业务客户机向移动 定位中心发送请求; When the positioning service client needs to determine the location of the mobile terminal, the positioning service client sends a request to the mobile positioning center;
移动定位中心在收到请求以后,为了保护用户的隐私和安全,首先对定 位业务客户机进行身份验证和权限审核; After receiving the request, in order to protect the privacy and security of the user, the mobile positioning center first performs identity verification and permission audit on the positioning service client;
如定位业务客户机无法通过审核, 该次请求将被拒绝; 否则, 移动定位 中心将根据移动终端的号码, 确定用户的归属位置寄存器的地址, 并通过 网络本身的基本功能-短消息请求的方式向归属位置寄存器请求移动终端 目前服务移动交换中心的地址(移动交换中心的请求方式还包括使用智能 网的查找指令, 或者定位专用的定位参数请求指令); If the positioning service client fails to pass the audit, the request will be rejected; otherwise, the mobile positioning center will determine the address of the user's home location register based on the mobile terminal number, and use the basic function of the network itself-the method of short message request Request the home location register for the address of the mobile terminal currently serving the mobile switching center (the request method of the mobile switching center also includes a search instruction using an intelligent network, or a positioning instruction request for positioning dedicated)
归属位置寄存器取出移动终端当前所在地的移动交换中心地址,并将其 返回给移动定位中心。 如果移动终端关机, 归属位置寄存器就返回移动终 端关机的信息。 这里使用的是网络本身的功能, 因此对归属位置寄存器没 有特殊要求, 不需要特别为定位业务进行专门升级。 The home location register takes the address of the mobile switching center where the mobile terminal is currently located and returns it to the mobile positioning center. If the mobile terminal is powered off, the home location register returns the mobile terminal shutdown information. The function of the network itself is used here, so there is no special requirement for the home location register, and no special upgrade for the positioning service is needed.
在获取移动终端的服务移动交换中心地址以后,移动定位中心向服务移 动交换中心请求移动终端当前的状态和无线资源信息。 在请求时, 移动定 位中心同时将用户移动终端型号等必须的信息传递给移动交换中心。 移动 交换中心则根据需要为移动终端分配业务信道, 对移动终端进行测量, 获 取用户所在的小区号以及用户无线信号的强度和相位等信息, 并返回给移 动定位中心。 After acquiring the address of the serving mobile switching center of the mobile terminal, the mobile positioning center requests the serving mobile switching center for the current status and radio resource information of the mobile terminal. When requested, the mobile positioning center also transmits necessary information such as the user's mobile terminal model to the mobile switching center. The mobile switching center allocates service channels to the mobile terminals according to the needs, measures the mobile terminals, obtains the user's cell number, and the strength and phase of the user's wireless signals, and returns it to the mobile positioning center.
移动定位中心存储着用户可能的漫游区域里所有的定位实体的信息,因 此, 移动定位中心能够根据用户的小区号, 选择适当的定位实体对移动终 端进行定位计算。 定位实体根据移动定位中心送来的小区及无线信号强度 信息计算移动终端的位置。 如有必要, 定位实体还可以通过与移动终端进 行沟通获取更精确的位置信息。 The mobile positioning center stores information of all positioning entities in the user's possible roaming area. Therefore, the mobile positioning center can select an appropriate positioning entity to perform positioning calculation on the mobile terminal according to the user's cell number. The positioning entity calculates the position of the mobile terminal based on the cell and wireless signal strength information sent by the mobile positioning center. If necessary, the positioning entity can also obtain more accurate location information by communicating with the mobile terminal.
最后,定位实体将移动终端的位置返回给移动定位中心,移动定位中心 将用户位置记录在数据库里以备查询的同时, 也将获取的位置信息传送给
定位业务客户机, 由定位业务客户机完成各种面向用户的位置业务应用。 这种实施方式的关键特点在于:移动定位中心利用已有的网络实体功能 来获取用户的服务移动交换中心的相关信息, 以及移动定位中心直接选择 服务地的定位实体同其进行沟通来获取用户的位置。 此实施方式流程简单 明了, 对传统网络实体的影响降低到最小, 对信令网的负荷也降低到最小。
Finally, the positioning entity returns the position of the mobile terminal to the mobile positioning center. The mobile positioning center records the user's position in the database for query, and also transmits the acquired position information to The positioning service client completes various user-oriented location service applications by the positioning service client. The key feature of this implementation mode is that the mobile positioning center uses the existing network entity functions to obtain the relevant information of the user's service mobile switching center, and the mobile positioning center directly selects the location entity of the service location to communicate with it to obtain the user's position. The flow of this implementation mode is simple and clear, the impact on traditional network entities is minimized, and the load on the signaling network is also reduced to a minimum.