CN115499773A - A positioning method, device and electronic equipment - Google Patents

A positioning method, device and electronic equipment Download PDF

Info

Publication number
CN115499773A
CN115499773A CN202110676385.3A CN202110676385A CN115499773A CN 115499773 A CN115499773 A CN 115499773A CN 202110676385 A CN202110676385 A CN 202110676385A CN 115499773 A CN115499773 A CN 115499773A
Authority
CN
China
Prior art keywords
terminal
client
positioning
server
communication number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110676385.3A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
China Mobile Shanghai ICT Co Ltd
CM Intelligent Mobility Network Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Shanghai ICT Co Ltd
CM Intelligent Mobility Network 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 China Mobile Communications Group Co Ltd, China Mobile Shanghai ICT Co Ltd, CM Intelligent Mobility Network Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110676385.3A priority Critical patent/CN115499773A/en
Publication of CN115499773A publication Critical patent/CN115499773A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供一种定位方法、装置和电子设备,所述定位方法,应用于定位平台,所述方法包括:在接收到第一客户端发送的第一位置请求的情况下,获取第一位置请求中的通信号码,其中,第一位置请求用于请求获取第一终端的位置信息,通信号码为第一终端的通信号码;基于通信号码判断是否获取到定位插件发送的第一终端的位置信息,其中,定位插件部署于终端,且定位插件用于在监听到终端的目标事件时,向定位平台发送终端的位置信息;在获取到定位插件发送的第一终端的位置信息的情况下,将第一终端的位置信息发送至第一客户端。本申请公开的一种定位方法、装置和电子设备,可以解决现有的定位方法存在的定位精度较低的问题。

Figure 202110676385

The present application provides a positioning method, device, and electronic equipment. The positioning method is applied to a positioning platform. The method includes: obtaining the first location request when receiving the first location request sent by the first client The communication number in, wherein, the first location request is used to request to obtain the location information of the first terminal, and the communication number is the communication number of the first terminal; based on the communication number, it is judged whether to obtain the location information of the first terminal sent by the positioning plug-in, Wherein, the positioning plug-in is deployed on the terminal, and the positioning plug-in is used to send the location information of the terminal to the positioning platform when the target event of the terminal is monitored; when the location information of the first terminal sent by the positioning plug-in is obtained, the The location information of a terminal is sent to the first client. A positioning method, device and electronic equipment disclosed in the present application can solve the problem of low positioning accuracy existing in existing positioning methods.

Figure 202110676385

Description

一种定位方法、装置和电子设备A positioning method, device and electronic equipment

技术领域technical field

本申请涉及定位技术领域,具体涉及一种定位方法、装置和电子设备。The present application relates to the technical field of positioning, in particular to a positioning method, device and electronic equipment.

背景技术Background technique

随着通信技术的发展,通过通信号码实现人员定位的方法在许多场景下得到了应用。现有的定位方法主要是通过确定待定位人员的通信号码所处基站,并通过基站所处位置确定待定位人员的所处位置。然而,由于基站所覆盖的范围通常相对较大,因此,采用基站的方式进行人员定位的方式通常只能确定待定位人员所处范围,而无法实现精确定位。可见,现有的定位方法存在定位精度较低的问题。With the development of communication technology, the method of realizing personnel positioning through communication numbers has been applied in many scenarios. The existing positioning method mainly determines the base station where the communication number of the person to be located is located, and determines the location of the person to be located through the location of the base station. However, since the range covered by the base station is usually relatively large, the method of using the base station for personnel positioning can only determine the range of the person to be located, but cannot achieve accurate positioning. It can be seen that the existing positioning methods have the problem of low positioning accuracy.

发明内容Contents of the invention

本申请提供的一种定位方法、装置和电子设备,所述定位方法,可以解决现有的定位方法存在的定位精度较低的问题。The present application provides a positioning method, device and electronic equipment. The positioning method can solve the problem of low positioning accuracy existing in existing positioning methods.

为解决上述技术问题,本申请是这样实现的:In order to solve the problems of the technologies described above, the application is implemented in the following way:

第一方面,本申请实施例提供了一种定位方法,应用于定位平台,所述方法包括:In the first aspect, the embodiment of the present application provides a positioning method, which is applied to a positioning platform, and the method includes:

在接收到第一客户端发送的第一位置请求的情况下,获取所述第一位置请求中的通信号码,其中,所述第一位置请求用于请求获取第一终端的位置信息,所述通信号码为所述第一终端的通信号码;In the case of receiving the first location request sent by the first client, obtaining the communication number in the first location request, wherein the first location request is used to request to obtain the location information of the first terminal, the The communication number is the communication number of the first terminal;

基于所述通信号码判断是否获取到定位插件发送的所述第一终端的位置信息,其中,所述定位插件部署于终端,且所述定位插件用于在监听到所述终端的目标事件时,向所述定位平台发送所述终端的位置信息;Based on the communication number, it is judged whether the location information of the first terminal sent by the positioning plug-in is obtained, wherein the positioning plug-in is deployed in the terminal, and the positioning plug-in is used to listen to the target event of the terminal, sending the location information of the terminal to the positioning platform;

在获取到所述定位插件发送的所述第一终端的位置信息的情况下,将所述第一终端的位置信息发送至所述第一客户端。If the location information of the first terminal sent by the positioning plug-in is obtained, the location information of the first terminal is sent to the first client.

第二方面,本申请实施例还提供了一种定位装置,应用于定位平台,所述装置包括:In the second aspect, the embodiment of the present application also provides a positioning device, which is applied to a positioning platform, and the device includes:

获取模块,用于在接收到第一客户端发送的第一位置请求的情况下,获取所述第一位置请求中的通信号码,其中,所述第一位置请求用于请求获取第一终端的位置信息,所述通信号码为所述第一终端的通信号码;An obtaining module, configured to obtain the communication number in the first location request when receiving the first location request sent by the first client, wherein the first location request is used to request to obtain the first terminal's location information, the communication number is the communication number of the first terminal;

判断模块,用于基于所述通信号码判断是否获取到定位插件发送的所述第一终端的位置信息,其中,所述定位插件部署于终端,且所述定位插件用于在监听到所述终端的目标事件时,向所述定位平台发送所述终端的位置信息;A judging module, configured to judge whether the location information of the first terminal sent by the positioning plug-in is obtained based on the communication number, wherein the positioning plug-in is deployed on the terminal, and the positioning plug-in is used to listen to the terminal When the target event occurs, send the location information of the terminal to the positioning platform;

第一发送模块,用于在获取到所述定位插件发送的所述第一终端的位置信息的情况下,将所述第一终端的位置信息发送至所述第一客户端。The first sending module is configured to send the location information of the first terminal to the first client when the location information of the first terminal sent by the positioning plug-in is obtained.

第三方面,本申请实施例提供一种电子设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现上述第一方面所述的方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, including: a processor, a memory, and a program stored in the memory and operable on the processor, and the program is implemented when executed by the processor. The steps of the method described in the first aspect above.

第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in the above-mentioned first aspect are implemented. .

本申请提供的一种定位方法、装置和电子设备,通过部署于终端的定位插件获取终端的位置信息,由于定位插件可以获取到终端的相对准确的位置信息,因此,相对于现有技术中通过基站的方式获取终端的位置而言,可以提高所获取的位置信息的精度。A positioning method, device, and electronic equipment provided by the present application obtain the location information of the terminal through a positioning plug-in deployed on the terminal. Since the positioning plug-in can obtain relatively accurate location information of the terminal, compared with the prior art through In terms of acquiring the location of the terminal by means of a base station, the accuracy of the acquired location information can be improved.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that need to be used in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本申请实施例提供的一种定位方法的流程图之一;FIG. 1 is one of the flow charts of a positioning method provided in an embodiment of the present application;

图2是本申请实施例提供的一种定位方法的流程图之二;Fig. 2 is the second flowchart of a positioning method provided by the embodiment of the present application;

图3是本申请实施例提供的一种定位系统的模块图;FIG. 3 is a block diagram of a positioning system provided by an embodiment of the present application;

图4是本申请实施例提供的一种定位装置的结构示意图;Fig. 4 is a schematic structural diagram of a positioning device provided by an embodiment of the present application;

图5是本申请实施例提供的一种电子设备设备的结构示意图。Fig. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

具体实施方式detailed description

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

请参见图1,图1是本申请实施例提供的一种定位方法的流程图,所述方法应用于定位平台,且所述方法包括以下步骤:Please refer to FIG. 1. FIG. 1 is a flow chart of a positioning method provided in an embodiment of the present application. The method is applied to a positioning platform, and the method includes the following steps:

步骤101、在接收到第一客户端发送的第一位置请求的情况下,获取所述第一位置请求中的通信号码,其中,所述第一位置请求用于请求获取第一终端的位置信息,所述通信号码为所述第一终端的通信号码。Step 101. Obtain the communication number in the first location request when receiving the first location request sent by the first client, wherein the first location request is used to request to obtain the location information of the first terminal , the communication number is the communication number of the first terminal.

步骤102、基于所述通信号码判断是否获取到定位插件发送的所述第一终端的位置信息,其中,所述定位插件部署于终端,且所述定位插件用于在监听到所述终端的目标事件时,向所述定位平台发送所述终端的位置信息。Step 102. Based on the communication number, it is judged whether the location information of the first terminal sent by the positioning plug-in is obtained, wherein the positioning plug-in is deployed on the terminal, and the positioning plug-in is used to listen to the target of the terminal. When an event occurs, the location information of the terminal is sent to the positioning platform.

步骤103、在获取到所述定位插件发送的所述第一终端的位置信息的情况下,将所述第一终端的位置信息发送至所述第一客户端。Step 103: Send the location information of the first terminal to the first client if the location information of the first terminal sent by the positioning plug-in is acquired.

上述定位平台可以应用于各种根据用户的来电,确定用户的精确位置的场景,例如,在接听到用户的救援电话时,根据用户的通信号码,对用户进行精确定位。相应地,上述第一客户端可以是用于接听用户来电的客户端,例如,所述第一客户端可以是各种救援平台中,接听用户救援电话的客户端。The above positioning platform can be applied to various scenarios of determining the user's precise location according to the user's incoming call, for example, when receiving the user's rescue call, the user can be precisely positioned according to the user's communication number. Correspondingly, the above-mentioned first client may be a client for answering a user's call, for example, the first client may be a client for answering a user's rescue call in various rescue platforms.

上述第一位置请求可以是第一客户端在接收到第一终端的来电的情况下,向定位平台发送的位置请求。或者,所述第一位置请求也可以是所述第一客户端在结束与第一终端的通话连接的情况下,向定位平台发送的位置请求。相应地,上述目标事件可以是:所述第一终端向所述第一客户端发送呼叫请求,所述第一终端终止与所述第一客户端的通话连接。The above-mentioned first location request may be a location request sent by the first client to the positioning platform when receiving an incoming call from the first terminal. Alternatively, the first location request may also be a location request sent by the first client to the positioning platform when the call connection with the first terminal is terminated. Correspondingly, the foregoing target event may be: the first terminal sends a call request to the first client, and the first terminal terminates the call connection with the first client.

上述目标插件可以是用户安装于终端中的应用程序,其中,所述目标插件可以与终端中的位置服务相关联,例如,在所述终端中部署有地图软件的情况下,所述目标插件可以通过所述地图软件获取终端的精确位置。The above-mentioned target plug-in may be an application program installed in the terminal by the user, wherein the target plug-in may be associated with a location service in the terminal, for example, in the case where map software is deployed in the terminal, the target plug-in may Acquire the precise location of the terminal through the map software.

需要说明的是,上述第一终端可以部署有所述目标插件,当然,所述第一终端也可能未部署所述目标插件。且在所述第一终端部署有所述目标插件的情况下,当所述第一终端中的目标插件监听到所述目标事件时,所述目标插件可能成功获取到所述第一终端的位置信息,当然,所述目标插件也可能获取所述第一终端的位置信息失败,例如,当所述目标插件不具备所述第一终端的位置访问权限时,所述目标插件可能获取所述第一终端的位置失败。It should be noted that the target plug-in may be deployed on the first terminal, and of course, the target plug-in may not be deployed on the first terminal. And in the case where the target plug-in is deployed on the first terminal, when the target plug-in in the first terminal monitors the target event, the target plug-in may successfully acquire the location of the first terminal Of course, the target plug-in may also fail to obtain the location information of the first terminal. For example, when the target plug-in does not have the location access authority of the first terminal, the target plug-in may obtain the location information of the first terminal. A terminal location failed.

上述定位平台可以包括第一数据库,在定位平台接收到目标插件发送的位置信息时,可以将所接收到的位置信息和位置信息所对应的通信号码关联存储于所述第一数据库。这样,定位平台在接收到所述第一位置请求时,可以以所述第一位置请求中的通信号码作为查询条件。这样,在基于通信号码在第一数据库中进行查询,并查询到第一终端的位置信息时,确认获取到所述定位插件发送的所述第一终端的位置信息,在未查询到所述第一终端的位置信息时,确认未获取到所述定位插件发送的所述第一终端的位置信息。The above positioning platform may include a first database, and when the positioning platform receives the location information sent by the target plug-in, it may associate and store the received location information and the communication number corresponding to the location information in the first database. In this way, when the positioning platform receives the first location request, it may use the communication number in the first location request as a query condition. In this way, when the first database is queried based on the communication number and the location information of the first terminal is queried, it is confirmed that the location information of the first terminal sent by the positioning plug-in is obtained, and if the location information of the first terminal is not queried When determining the location information of a terminal, it is confirmed that the location information of the first terminal sent by the positioning plug-in has not been obtained.

在本申请一个实施例中,所述定位方法的具体流程可以是:用户通过第一终端向第一客户端拨打救援电话时,第一终端中的目标插件确定监听到目标事件,并获取第一终端当前的位置信息,然后,目标插件将所获取到的第一终端的位置信息发送至定位平台。第一客户端在接收到第一终端的救援电话时,获取第一终端的通信号码,然后,第一客户端向定位平台发送第一位置请求,定位平台在接收到第一位置请求时,将接收到的目标插件发送的第一终端的位置信息发送至所述第一客户端。这样,第一客户端即可获取第一终端的位置信息,从而方便及时对第一终端的持有者实时救援。In an embodiment of the present application, the specific process of the positioning method may be: when the user makes a rescue call to the first client through the first terminal, the target plug-in in the first terminal determines that the target event is detected, and obtains the first The current location information of the terminal, and then, the target plug-in sends the acquired location information of the first terminal to the positioning platform. When the first client receives the rescue call from the first terminal, it obtains the communication number of the first terminal, and then, the first client sends the first location request to the positioning platform, and the positioning platform sends the first location request to the The received location information of the first terminal sent by the target plug-in is sent to the first client. In this way, the first client can obtain the location information of the first terminal, so as to facilitate timely rescue of the holder of the first terminal in real time.

该实施方式中,通过部署于终端的定位插件获取终端的位置信息,由于定位插件可以获取到终端的相对准确的位置信息,因此,相对于现有技术中通过基站的方式获取终端的位置而言,可以提高所获取的位置信息的精度。In this embodiment, the location information of the terminal is obtained through the positioning plug-in deployed on the terminal. Since the positioning plug-in can obtain relatively accurate location information of the terminal, compared with obtaining the location of the terminal through the base station in the prior art , which can improve the accuracy of the acquired location information.

可选地,所述定位平台包括第一服务器和第二服务器,所述获取到所述定位插件发送的所述第一终端的位置信息的情况下,将所述第一终端的位置信息发送至所述第一客户端,包括:Optionally, the positioning platform includes a first server and a second server, and if the location information of the first terminal sent by the positioning plug-in is obtained, the location information of the first terminal is sent to The first client includes:

在所述第一服务器获取到所述定位插件发送的所述第一终端的位置信息的情况下,基于所述第一服务器将所述第一终端的位置信息发送至所述第一客户端。In a case where the first server acquires the location information of the first terminal sent by the positioning plug-in, the location information of the first terminal is sent to the first client based on the first server.

上述第一服务器可以是救援平台自身的服务器,上述第二服务器可以是电信运营商的服务器,其中,第一服务器可以接收目标插件发送的终端的位置信息。所述第二服务器可以用户到的通信号码,实现对用户终端进行定位。The above-mentioned first server may be a server of the rescue platform itself, and the above-mentioned second server may be a server of a telecommunications operator, wherein the first server may receive the location information of the terminal sent by the target plug-in. The second server can locate the user terminal by using the communication number of the user.

该实施方式中,第一客户端可以将第一位置请求发送至第一服务器,若第一服务器接收到定位插件发送的所述第一终端的位置信息,则第一服务器可以响应于所述第一位置请求将所述第一终端的位置信息发送至第一客户端。相应地,当所述第一服务器未获取到所述定位插件发送的所述第一终端的位置信息时,则定位平台可以基于第二服务器对第一终端进行定位。In this embodiment, the first client may send the first location request to the first server, and if the first server receives the location information of the first terminal sent by the positioning plug-in, the first server may respond to the first location request. A location request sends the location information of the first terminal to the first client. Correspondingly, when the first server does not obtain the location information of the first terminal sent by the positioning plug-in, the positioning platform may locate the first terminal based on the second server.

可选地,所述基于所述通信号码判断是否获取到定位插件发送的所述第一终端的位置信息之后,所述方法还包括:Optionally, after determining whether the location information of the first terminal sent by the positioning plug-in is obtained based on the communication number, the method further includes:

在所述第一服务器未获取到所述定位插件发送的所述第一终端的位置信息的情况下,基于所述第一服务器向第二服务器发送第二位置请求,其中,所述第二位置请求包括所述通信号码;In the case that the first server does not obtain the location information of the first terminal sent by the positioning plug-in, based on the first server sending a second location request to the second server, wherein the second location the request includes said communication number;

基于所述第二服务器通过所述通信号码,确定所述第一终端所属目标基站,并基于所述目标基站确定所述第一终端的位置信息;Based on the second server using the communication number, determine the target base station to which the first terminal belongs, and determine the location information of the first terminal based on the target base station;

将所述第一终端的位置信息发送至所述第一客户端。sending the location information of the first terminal to the first client.

具体地,电信运营商通常会在其所服务的地域范围内部署大量的基站,且不同的基站覆盖不同的区域。这样,当持有终端的用户位于电信运营商服务区域时,终端中的通信卡片通常与所属区域的基站保持连接,以确保终端始终具有信号,其中,所述通信卡片具有唯一的所述通信号码。因此,上述目标基站可以是指:当前时刻第一终端中的通通信卡片所连接的基站。由于基站的位置为固定不变的,因此,可以预先将电信运营商所布置的所有基站的位置信息存储于特定位置,这样,第二服务器在接收到第二位置请求时,可以基于所述第二位置请求中的通信号码,确定所述目标基站,然后,从所述特定位置获取所述目标基站的位置。Specifically, a telecom operator usually deploys a large number of base stations within its service area, and different base stations cover different areas. In this way, when the user holding the terminal is located in the service area of the telecom operator, the communication card in the terminal is usually kept connected with the base station in the area to ensure that the terminal always has a signal, wherein the communication card has a unique communication number . Therefore, the aforementioned target base station may refer to: the base station to which the communication card in the first terminal is connected at the current moment. Since the positions of the base stations are fixed, the position information of all the base stations arranged by the telecom operator can be stored in a specific position in advance, so that when the second server receives the second position request, it can The communication number in the location request is used to determine the target base station, and then obtain the location of the target base station from the specific location.

当第二服务器获取到所述目标基站的位置信息时,可以将所述目标基站的位置信息作为所述第一终端的位置信息。第二服务器可以直接将第一终端的位置信息发送至所述第一客户端,当然,所述第二服务器也可以将所述第一终端的位置信息发送至所述第一服务器,然后,由第一服务器将所述第一终端的位置信息发送至所述第一客户端。When the second server acquires the location information of the target base station, it may use the location information of the target base station as the location information of the first terminal. The second server may directly send the location information of the first terminal to the first client, and of course, the second server may also send the location information of the first terminal to the first server, and then, the The first server sends the location information of the first terminal to the first client.

该实施方式中,当第一服务器未获取到所述定位插件发送的所述第一终端的位置信息时,定位平台可以通过第二服务器获取第一终端的位置信息,从而确保在第一终端未部署所述目标插件,或者,所述第一终端中的目标插件未成功获取到第一终端的位置信息时,可以通过第二服务器获取第一终端的位置信息。In this embodiment, when the first server does not obtain the location information of the first terminal sent by the positioning plug-in, the positioning platform can obtain the location information of the first terminal through the second server, so as to ensure that the first terminal does not The target plug-in is deployed, or, when the target plug-in in the first terminal fails to obtain the location information of the first terminal, the location information of the first terminal may be obtained through the second server.

可选地,所述基于所述第二服务器通过所述通信号码,确定所述第一终端所属目标基站,并基于所述目标基站确定所述第一终端的位置信息,包括:Optionally, the determining the target base station to which the first terminal belongs based on the second server through the communication number, and determining the location information of the first terminal based on the target base station includes:

基于所述通信号码,判断所述第一客户端是否具有所述第一终端的位置访问权限;Based on the communication number, determine whether the first client has the location access authority of the first terminal;

在所述第一客户端具有所述第一终端的位置访问权限的情况下,确定所述目标基站;If the first client has the location access authority of the first terminal, determine the target base station;

基于所述目标基站确定所述第一终端的位置信息。Determine location information of the first terminal based on the target base station.

具体地,所述第二服务器可以判断在预设时间段内,所述第一终端是否实际发生了所述目标事件,例如,所述第二服务器可以判断在预设时间段内所述第一客户端是否接听到所述第一终端的救援电话。此外,所述第二服务器还可以对第一客户端的身份进行校验,以确定所述第一客户端是否为具有获取用户位置的权限的客户端。Specifically, the second server may determine whether the target event actually occurs on the first terminal within a preset period of time, for example, the second server may determine whether the target event has actually occurred on the first terminal within a preset period of time. Whether the client receives a rescue call from the first terminal. In addition, the second server may also verify the identity of the first client to determine whether the first client is a client with the authority to obtain the location of the user.

该实施方式中,第二服务器在接收到第二位置请求时,通过先判断第一客户端是否具有所述第一终端的位置访问权限,并且只有在第一客户端具有所述第一终端的位置访问权限的情况下,才会获取第一终端的位置信息。这样,可以避免第一客户端滥用权限,随意获取用户终端的位置信息,有利于保证用户终端的隐私。In this embodiment, when the second server receives the second location request, it first judges whether the first client has the location access authority of the first terminal, and only if the first client has the location access authority of the first terminal The location information of the first terminal will only be obtained when the location access permission is granted. In this way, it is possible to prevent the first client from arbitrarily obtaining the location information of the user terminal by abusing the authority, which helps to ensure the privacy of the user terminal.

可选地,所述方法还包括:Optionally, the method also includes:

在接收到第二客户端的目标消息的情况下,创建所述第一客户端与第二终端之间的关联关系,其中,所述第二客户端在监听到所述第二终端的目标事件的情况下,向所述第二服务器发送所述目标消息;In the case of receiving the target message of the second client, create an association relationship between the first client and the second terminal, wherein the second client listens to the target event of the second terminal case, sending the target message to the second server;

所述基于所述通信号码,判断所述第一客户端是否具有所述第一终端的位置访问权限包括:The determining whether the first client has the location access authority of the first terminal based on the communication number includes:

基于所述通信号码和所述第一客户端的身份信息,判断所述第一客户端与所述第一终端之间是否存在所述关联关系;Based on the communication number and the identity information of the first client, determine whether the association relationship exists between the first client and the first terminal;

在所述第一客户端与所述第一终端之间存在所述关联关系的情况下,确定所述第一客户端具有第一终端的位置访问权限;If the association relationship exists between the first client and the first terminal, determine that the first client has the location access authority of the first terminal;

在所述第一客户端与所述第一终端之间不存在所述关联关系的情况下,确定所述第一客户端不具有目标终端的位置访问权限。If the association relationship does not exist between the first client and the first terminal, it is determined that the first client does not have the location access authority of the target terminal.

上述第二终端可以是所述第二服务器所服务器的任意用户终端,例如,所述第二终端可以包括上述第一终端。上述第二客户端可以是电信运营商的信令监控系统,所述目标消息可以包括所述第一客户端的通信号码和所述第二终端的通信号码。上述目标事件可以是第二终端请求与第一客户端建立通话连接。The above second terminal may be any user terminal served by the second server, for example, the second terminal may include the above first terminal. The above-mentioned second client may be a signaling monitoring system of a telecom operator, and the target message may include the communication number of the first client and the communication number of the second terminal. The above-mentioned target event may be that the second terminal requests to establish a call connection with the first client.

这样,当所述信令监控系统监听到所述第二终端请求与第一客户端建立通话连接时,所述信令监控系统可以将所述目标消息发送至所述第二服务器。第二服务器在接收到目标消息时,可以基于第一客户端的通信号码和所述第二终端的通信号码创建第一客户端与第二终端之间的关联关系,其中,所述关联关系可以为临时订购关系。In this way, when the signaling monitoring system detects that the second terminal requests to establish a call connection with the first client, the signaling monitoring system may send the target message to the second server. When the second server receives the target message, it may create an association relationship between the first client and the second terminal based on the communication number of the first client and the communication number of the second terminal, wherein the association relationship may be Temporary order relationship.

具体地,信令监控系统可以通过Mi接口将第一终端的呼叫信息以及SP ID等传送至第二服务器,第二服务器生成第一终端与第一客户端之间的关联关系。所述呼叫信息可以包括第一终端的通信号码、第一客户端的通信号码、拨打时间、拨打的地域信息等。其中,第一终端的呼叫信息可以通过网关移动交换中心(Gateway Mobile Switching Center,GMSC)传递到所述信令监控系统。Specifically, the signaling monitoring system may transmit the call information and SP ID of the first terminal to the second server through the Mi interface, and the second server generates an association relationship between the first terminal and the first client. The call information may include the communication number of the first terminal, the communication number of the first client, dialing time, dialed region information, and the like. Wherein, the call information of the first terminal may be transmitted to the signaling monitoring system through a gateway mobile switching center (Gateway Mobile Switching Center, GMSC).

在本申请一个实施例中,信令监控系统向第二服务器发送的目标消息中可以包括下表中的字段:In an embodiment of the present application, the target message sent by the signaling monitoring system to the second server may include fields in the following table:

Figure BDA0003121297480000081
Figure BDA0003121297480000081

Figure BDA0003121297480000091
Figure BDA0003121297480000091

第二服务器在接收到所述目标消息之后,可以向所述信令监控系统发送返回信息,所述返回信息可以包括下表中的字段,从而完成信令监控系统与第二服务器之间的交互过程:After receiving the target message, the second server may send return information to the signaling monitoring system, and the return information may include the fields in the following table, thereby completing the interaction between the signaling monitoring system and the second server process:

Figure BDA0003121297480000092
Figure BDA0003121297480000092

Figure BDA0003121297480000101
Figure BDA0003121297480000101

在本申请一个实施例中,所述第二服务器可以包括第二数据库,上述关联关系可以存储于所述第二服务器。所述第二位置请求可以包括所述第一客户端的通信号码和所述第一终端的通信号码。这样,第二服务器在接收到所述第二位置请求时,可以基于所述第一客户端的通信号码和所述第一终端的通信号码在第二数据库中进行查询,并且在查询到第一客户端与所述第一终端之间存在所述关联关系的情况下,确定所述第一客户端具有第一终端的位置访问权限;在所述第一客户端与所述第一终端之间不存在所述关联关系的情况下,确定所述第一客户端不具有目标终端的位置访问权限。In an embodiment of the present application, the second server may include a second database, and the above association relationship may be stored in the second server. The second location request may include the communication number of the first client and the communication number of the first terminal. In this way, when the second server receives the second location request, it can query in the second database based on the communication number of the first client and the communication number of the first terminal, and when the first client is found If the association relationship exists between the client and the first terminal, it is determined that the first client has the location access authority of the first terminal; there is no connection between the first client and the first terminal If the association relationship exists, it is determined that the first client does not have the location access authority of the target terminal.

该实施方式中,第二服务器在接收到第二位置请求时,通过基于所述关联关系判断所述第一客户端是否具有所述第一终端的位置访问权限。这样,只有所述第一终端实际发生了所述目标事件的情况下,所述第一客户端才具有所述第一终端的位置访问权限,从而避免了第一客户端滥用权限,随意获取用户终端的位置信息,有利于保证用户终端的隐私。In this embodiment, when receiving the second location request, the second server judges whether the first client has the location access authority of the first terminal based on the association relationship. In this way, only when the target event actually occurs on the first terminal, the first client has the location access authority of the first terminal, thereby preventing the first client from abusing the authority and obtaining user information at will. The location information of the terminal is beneficial to ensure the privacy of the user terminal.

可选地,所述创建所述第一客户端与第二终端之间的关联关系之后,所述方法还包括:Optionally, after creating the association relationship between the first client and the second terminal, the method further includes:

在所述关联关系的创建时长超过预设时长的情况下,解除所述第一客户端与所述第二终端之间的关联关系。In a case where the creation time of the association relationship exceeds a preset time length, the association relationship between the first client and the second terminal is released.

具体地,由于在救援过程中,救援方通常需要持续动态的获取待救援对象的位置信息,因此,可以在创建所述第一客户端与第二终端之间的关联关系之后的预设时长内保持所述第一客户端与第二终端之间的关联关系,以确保所述第一客户端在预设时长内始终具有获取第二终端的位置的权限,即在预设时长内第一客户端始终能够通过第二服务器获取所述第二终端的位置信息。其中,所述预设时长可以根据实际需要进行设置,例如,所述预设时长可以是20分钟、1小时等。Specifically, since during the rescue process, the rescuer usually needs to continuously and dynamically obtain the location information of the object to be rescued, therefore, within a preset period of time after the association between the first client and the second terminal is created maintaining the association relationship between the first client and the second terminal to ensure that the first client always has the authority to obtain the location of the second terminal within a preset time period, that is, within a preset time period, the first client The terminal can always obtain the location information of the second terminal through the second server. Wherein, the preset duration can be set according to actual needs, for example, the preset duration can be 20 minutes, 1 hour and so on.

此外,为避免在救援结束之后,第一客户端滥用权限随意获取终端的位置信息,在本申请一个实施例中,当所述关联关系的创建时长超过所述预设时长时,可以解除所述第一客户端与所述第二终端之间的关联关系,例如,可以直接从所述第二数据库中删除第一客户端与所述第二终端之间的关联关系。这样,在关联关系的创建时长超过所述预设时长之后,第一客户端则不再具有获取第二终端的位置信息的权限,即第一客户端无法再次通过第二服务器获取所述第二终端的位置信息,直至所述第一客户端与第二终端之间再次创建关联关系。In addition, in order to prevent the first client from abusing its authority to obtain the location information of the terminal at will after the rescue is over, in one embodiment of the present application, when the creation time of the association relationship exceeds the preset time length, the For the association relationship between the first client and the second terminal, for example, the association relationship between the first client and the second terminal may be directly deleted from the second database. In this way, after the creation time of the association relationship exceeds the preset time, the first client no longer has the right to obtain the location information of the second terminal, that is, the first client cannot obtain the second terminal through the second server again. The location information of the terminal, until the association between the first client and the second terminal is established again.

可选地,所述基于所述通信号码,判断所述第一客户端是否具有所述第一终端的位置访问权限之后,所述方法还包括:Optionally, after determining whether the first client has the location access authority of the first terminal based on the communication number, the method further includes:

在所述第一客户端不具有所述第一终端的位置访问权限的情况下,基于所述第二服务器向所述第一服务器发送反馈信息,所述反馈信息用于指示所述第一客户端不具有所述第一终端的位置访问权限。In the case that the first client does not have the location access authority of the first terminal, based on the second server sending feedback information to the first server, the feedback information is used to instruct the first client The terminal does not have the location access permission of the first terminal.

具体地,若通过判断,所述第一客户端与第一终端之间不存在所述关联关系,则确定所述第一客户端不具有第一终端的访问权限,在此情况下,所述第二服务器可以向所述第一服务器发送反馈信息,所述反馈信息用于指示所述第一客户端不具有所述第一终端的位置访问权限。Specifically, if it is judged that there is no association relationship between the first client and the first terminal, it is determined that the first client does not have the access authority of the first terminal. In this case, the The second server may send feedback information to the first server, where the feedback information is used to indicate that the first client does not have the location access authority of the first terminal.

请参见图2,为本申请另一实施例提供的一种定位方法的流程图,所述方法与上述实施例的区别在于,在所述第一服务器未获取到所述定位插件发送的所述第一终端的位置信息的情况下,所述第一客户端向所述第二服务器发送第三位置请求,其中,所述第三位置请求包括所述第一终端的通信号码和所述第一客户端的通信号码,所述第二服务器判断所述第一客户端是否具有第一终端额访问权限,并且在所述第一客户端具有所述第一终端的位置访问权限的情况下,确定所述目标基站;基于所述目标基站确定所述第一终端的位置信息。将所述第一终端的位置信息发送至所述第一客户端。在所述第一客户端不具有所述第一终端的位置访问权限的情况下,向所述第一客户端端发送所述反馈信息,所述反馈信息用于指示所述第一客户端不具有所述第一终端的位置访问权限。Please refer to FIG. 2 , which is a flowchart of a positioning method provided by another embodiment of the present application. The difference between the method and the above embodiment is that the first server does not obtain the positioning plug-in. In the case of the location information of the first terminal, the first client sends a third location request to the second server, wherein the third location request includes the communication number of the first terminal and the first The communication number of the client, the second server judges whether the first client has the access authority of the first terminal, and if the first client has the location access authority of the first terminal, determines the the target base station; and determine the location information of the first terminal based on the target base station. sending the location information of the first terminal to the first client. If the first client does not have the location access authority of the first terminal, send the feedback information to the first client, where the feedback information is used to indicate that the first client does not having the location access authority of the first terminal.

其中,所述信令监控平台在监听到第一终端向所述第一客户端发送呼叫请求时,向所述第二服务器发送所述目标消息,以便于第二服务器创建第一终端与第一客户端之间的关联关系,并基于所述关联关系确定所述第一客户端是否具备所述第一终端的位置访问权限。Wherein, when the signaling monitoring platform detects that the first terminal sends a call request to the first client, it sends the target message to the second server, so that the second server can establish a connection between the first terminal and the first client. an association relationship between clients, and determine whether the first client has the location access authority of the first terminal based on the association relationship.

本申请实施例提供的定位方法的具体过程与上述实施例相同,为避免重复,在此不再予以赘述。The specific process of the positioning method provided in the embodiment of the present application is the same as that in the foregoing embodiment, and will not be repeated here to avoid repetition.

请参见图3,图3是本申请实施例提供的一种定位系统的模块图,所述定位系统可以用于实现本申请实施例所提供的定位方法,其中,所述定位系统包括:第一客户端和定位平台,所述定位平台包括:第一服务器、第二服务器、第二客户端和LSP平台(位置服务平台),其中,所述第一客户端可以是用于接听用户终端来电,并向定位平台请求获取用户终端位置的客户端,例如,所述第一客户端可以是救援指挥中心的客户端,这样,当第一客户端接收到救援电话时,可以根据用户终端的通信号码,对用户终端进行定位,以提高救援的效率。所述第二客户端可以是信令监控系统,当信令监控系统监测到用户终端向第一客户端发送呼叫请求时,可以向第二服务器发送目标消息。第二服务器可以通过所述LSP平台获取用户终端的位置信息,具体地,第二服务器可以将终端用户的通信号码发送至LSP平台,LSP平台可以先通过HLR(归属位置寄存器)和MSC(移动交换中心)获取CELL ID(基站ID),然后,LSP平台可以根据CELL ID查询CELL ID的位置数据库,得到CELL ID对应的目标基站的位置信息,并将所述目标基站的位置信息作为用户终端的位置信息,返回至第二服务器,从而实现对用户终端的定位过程。Please refer to Fig. 3, Fig. 3 is a block diagram of a positioning system provided by the embodiment of the present application, the positioning system can be used to implement the positioning method provided by the embodiment of the present application, wherein the positioning system includes: a first A client and a positioning platform, the positioning platform includes: a first server, a second server, a second client and an LSP platform (location service platform), wherein the first client can be used to answer incoming calls from user terminals, And request the client to obtain the location of the user terminal from the positioning platform. For example, the first client may be a client of the rescue command center. , to locate the user terminal, so as to improve the efficiency of rescue. The second client may be a signaling monitoring system, and when the signaling monitoring system detects that the user terminal sends a call request to the first client, it may send a target message to the second server. The second server can obtain the location information of the user terminal through the LSP platform. Specifically, the second server can send the communication number of the terminal user to the LSP platform, and the LSP platform can first pass the HLR (Home Location Register) and MSC (Mobile Switching Center) obtains the CELL ID (base station ID), then, the LSP platform can query the location database of the CELL ID according to the CELL ID, obtain the location information of the target base station corresponding to the CELL ID, and use the location information of the target base station as the location of the user terminal The information is returned to the second server, so as to realize the positioning process of the user terminal.

请参见图3,本申请另一实施例提供了一种定位方法。所述方法具体包括以下步骤:当定位插件监听到第一终端向所述第一客户端发送呼叫请求时,将所述第一终端的位置信息发送至第一服务器,同时,信令监控系统在监听到所述第一终端向所述第一客户端发送呼叫请求时,向所述第二服务器发送目标消息,所述第二服务器基于所述目标消息创建所述第一客户端与第一终端之间的关联关系。所述第一客户端在接收到所述第一终端的来电,并需要获取第一终端的位置信息时,可以向所述第一服务器发送第一位置请求,所述第一服务器可以判断是否获取到定位插件发送的所述第一终端的位置信息,并且在获取到所述定位插件发送的所述第一终端的位置信息的情况下,将所述第一终端的位置信息发送至所述第一客户端。在所述第一服务器未获取到所述定位插件发送的所述第一终端的位置信息的情况下,基于所述第一服务器向第二服务器发送第二位置请求,所述第二服务器基于所述关联关系判断所述第一客户端是否具备所述第一客户端是否具备所述第一终端的位置访问权限,在确定所述第一客户端具有所述第一客户端是否具备所述第一终端的位置访问权限的情况下,基于LSP平台获取所述第一终端的位置信息,并将所述第一终端的位置信息发送至第一服务器,第一服务器在接收到第二服务器发送的第一终端的位置信息的情况下,将第一终端的位置信息发送至所述第一客户端,从而完成定位过程。Referring to FIG. 3 , another embodiment of the present application provides a positioning method. The method specifically includes the following steps: when the positioning plug-in detects that the first terminal sends a call request to the first client, the location information of the first terminal is sent to the first server, and at the same time, the signaling monitoring system When detecting that the first terminal sends a call request to the first client, send a target message to the second server, and the second server creates a call request between the first client and the first terminal based on the target message. relationship between. When the first client receives an incoming call from the first terminal and needs to obtain the location information of the first terminal, it may send a first location request to the first server, and the first server may determine whether to obtain the location information of the first terminal. receive the location information of the first terminal sent by the positioning plug-in, and if the location information of the first terminal sent by the positioning plug-in is acquired, send the location information of the first terminal to the second terminal a client. When the first server does not obtain the location information of the first terminal sent by the positioning plug-in, based on the first server sending a second location request to the second server, the second server sends a second location request based on the location information. According to the association relationship, it is judged whether the first client has the location access authority of the first terminal, and when determining whether the first client has the location access authority of the first In the case of the location access authority of a terminal, the location information of the first terminal is obtained based on the LSP platform, and the location information of the first terminal is sent to the first server, and the first server receives the location information sent by the second server. In the case of the location information of the first terminal, the location information of the first terminal is sent to the first client, thereby completing the positioning process.

请参见图4,为本申请实施例提供的一种定位装置400的模块图,所述装置应用于定位平台,且所述装置包括:Please refer to FIG. 4 , which is a block diagram of a positioning device 400 provided in the embodiment of the present application. The device is applied to a positioning platform, and the device includes:

获取模块401,用于在接收到第一客户端发送的第一位置请求的情况下,获取所述第一位置请求中的通信号码,其中,所述第一位置请求用于请求获取第一终端的位置信息,所述通信号码为所述第一终端的通信号码;The obtaining module 401 is configured to obtain the communication number in the first location request when receiving the first location request sent by the first client, wherein the first location request is used to request to obtain the first terminal location information, the communication number is the communication number of the first terminal;

判断模块402,用于基于所述通信号码判断是否获取到定位插件发送的所述第一终端的位置信息,其中,所述定位插件部署于终端,且所述定位插件用于在监听到所述终端的目标事件时,向所述定位平台发送所述终端的位置信息;A judging module 402, configured to judge whether the location information of the first terminal sent by the positioning plug-in is obtained based on the communication number, wherein the positioning plug-in is deployed in the terminal, and the positioning plug-in is used to listen to the When a terminal target event occurs, send the location information of the terminal to the positioning platform;

第一发送模块403,用于在获取到所述定位插件发送的所述第一终端的位置信息的情况下,将所述第一终端的位置信息发送至所述第一客户端。The first sending module 403 is configured to send the location information of the first terminal to the first client when the location information of the first terminal sent by the positioning plug-in is obtained.

可选地,所述定位平台包括第一服务器和第二服务器,所述发送模块:具体用于在所述第一服务器获取到所述定位插件发送的所述第一终端的位置信息的情况下,基于所述第一服务器将所述第一终端的位置信息发送至所述第一客户端。Optionally, the positioning platform includes a first server and a second server, and the sending module is specifically configured to: when the first server obtains the location information of the first terminal sent by the positioning plug-in , sending the location information of the first terminal to the first client based on the first server.

可选地,所述装置还包括:Optionally, the device also includes:

第二发送模块,用于在所述第一服务器未获取到所述定位插件发送的所述第一终端的位置信息的情况下,基于所述第一服务器向第二服务器发送第二位置请求,其中,所述第二位置请求包括所述通信号码;The second sending module is configured to send a second location request to a second server based on the first server when the first server has not obtained the location information of the first terminal sent by the positioning plug-in, Wherein, the second location request includes the communication number;

确定模块,用于基于所述第二服务器通过所述通信号码,确定所述第一终端所属目标基站,并基于所述目标基站确定所述第一终端的位置信息;A determining module, configured to determine the target base station to which the first terminal belongs based on the second server through the communication number, and determine the location information of the first terminal based on the target base station;

所述第一发送模块403,还用于将所述第一终端的位置信息发送至所述第一客户端。The first sending module 403 is further configured to send the location information of the first terminal to the first client.

可选地,所述确定模块,包括:Optionally, the determination module includes:

判断子模块,用于基于所述通信号码,判断所述第一客户端是否具有所述第一终端的位置访问权限;A judging submodule, configured to judge whether the first client has the location access authority of the first terminal based on the communication number;

第一确定子模块,用于在所述第一客户端具有所述第一终端的位置访问权限的情况下,确定所述目标基站;A first determining submodule, configured to determine the target base station when the first client has the location access authority of the first terminal;

第二确定子模块,用于基于所述目标基站确定所述第一终端的位置信息。The second determination submodule is configured to determine the location information of the first terminal based on the target base station.

可选地,所述装置还包括:Optionally, the device also includes:

创建模块,用于在接收到第二客户端的目标消息的情况下,创建所述第一客户端与第二终端之间的关联关系,其中,所述第二客户端在监听到所述第二终端的目标事件的情况下,向所述第二服务器发送所述目标消息。The creating module is configured to create an association relationship between the first client and the second terminal when the target message of the second client is received, wherein the second client listens to the second In case of a target event of the terminal, the target message is sent to the second server.

可选地,所述判断子模块,包括:Optionally, the judging submodule includes:

判断单元,用于基于所述通信号码和所述第一客户端的身份信息,判断所述第一客户端与所述第一终端之间是否存在所述关联关系;A judging unit, configured to judge whether the association relationship exists between the first client and the first terminal based on the communication number and the identity information of the first client;

确定单元,用于在所述第一客户端与所述第一终端之间存在所述关联关系的情况下,确定所述第一客户端具有第一终端的位置访问权限;A determining unit, configured to determine that the first client has the location access authority of the first terminal if the association relationship exists between the first client and the first terminal;

所述确定单元,还用于在所述第一客户端与所述第一终端之间不存在所述关联关系的情况下,确定所述第一客户端不具有目标终端的位置访问权限。The determining unit is further configured to determine that the first client does not have the location access authority of the target terminal if the association relationship does not exist between the first client and the first terminal.

可选地,所述装置还包括:Optionally, the device also includes:

解除模块,用于在所述关联关系的创建时长超过预设时长的情况下,解除所述第一客户端与所述第二终端之间的关联关系。A release module, configured to release the association relationship between the first client and the second terminal when the creation duration of the association relationship exceeds a preset duration.

可选地,所述第一发送模块403,还用于在所述第一客户端不具有所述第一终端的位置访问权限的情况下,基于所述第二服务器向所述第一服务器发送反馈信息,所述反馈信息用于指示所述第一客户端不具有所述第一终端的位置访问权限。Optionally, the first sending module 403 is further configured to, in the case that the first client does not have the location access authority of the first terminal, based on the second server, send to the first server Feedback information, where the feedback information is used to indicate that the first client does not have the location access authority of the first terminal.

可选地,所述目标事件至少包括以下事件中的任意一种:所述第一终端向所述第一客户端发送呼叫请求,所述第一终端终止与所述第一客户端的通话连接。Optionally, the target event includes at least any one of the following events: the first terminal sends a call request to the first client, and the first terminal terminates a call connection with the first client.

上述定位装置400能够实现图1-3所示的方法实施例中的各个过程,并能达到相同的技术效果,为避免重复,这里不再赘述。The above-mentioned positioning device 400 can realize each process in the method embodiments shown in FIGS. 1-3 and can achieve the same technical effect. To avoid repetition, details are not repeated here.

本申请实施例还提供了一种电子设备,包括:处理器、存储器及存储在存储器上并可在处理器上运行的程序,程序被处理器执行时实现上述定位方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides an electronic device, including: a processor, a memory, and a program stored in the memory and operable on the processor. When the program is executed by the processor, each process of the above positioning method embodiment is implemented, and The same technical effect can be achieved, so in order to avoid repetition, details will not be repeated here.

参见图5所示,本申请实施例还提供了一种电子设备,包括总线501、收发机502、天线503、总线接口504、处理器505和存储器506。处理器505能够实现上述定位方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Referring to FIG. 5 , the embodiment of the present application also provides an electronic device, including a bus 501 , a transceiver 502 , an antenna 503 , a bus interface 504 , a processor 505 and a memory 506 . The processor 505 can realize each process of the above positioning method embodiment, and can achieve the same technical effect, and to avoid repetition, details are not repeated here.

在图5中,总线架构(用总线501来代表),总线501可以包括任意数量的互联的总线和桥,总线501将包括由处理器505代表的一个或多个处理器和存储器506代表的存储器的各种电路链接在一起。总线501还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口504在总线501和收发机502之间提供接口。收发机502可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器505处理的数据通过天线503在无线介质上进行传输,进一步,天线503还接收数据并将数据传送给处理器505。In FIG. 5, the bus architecture (represented by bus 501), bus 501 may include any number of interconnected buses and bridges, bus 501 will include one or more processors represented by processor 505 and memory represented by memory 506 The various circuits are linked together. The bus 501 may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and thus will not be further described herein. The bus interface 504 provides an interface between the bus 501 and the transceiver 502 . Transceiver 502 may be a single element or multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other devices over a transmission medium. The data processed by the processor 505 is transmitted on the wireless medium through the antenna 503 , further, the antenna 503 also receives the data and transmits the data to the processor 505 .

处理器505负责管理总线501和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器506可以被用于存储处理器505在执行操作时所使用的数据。The processor 505 is responsible for managing the bus 501 and general processing, and may also provide various functions including timing, peripheral interface, voltage regulation, power management, and other control functions. Instead, the memory 506 may be used to store data used by the processor 505 when performing operations.

可选的,处理器505可以是CPU、ASIC、FPGA或CPLD。Optionally, the processor 505 may be a CPU, ASIC, FPGA or CPLD.

本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者第二终端设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a second terminal device, etc.) to execute the methods described in the various embodiments of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (12)

1. A positioning method is applied to a positioning platform, and is characterized in that the method comprises the following steps:
under the condition of receiving a first position request sent by a first client, acquiring a communication number in the first position request, wherein the first position request is used for requesting to acquire position information of a first terminal, and the communication number is the communication number of the first terminal;
judging whether position information of the first terminal, which is sent by a positioning plug-in, is acquired or not based on the communication number, wherein the positioning plug-in is deployed at the terminal and is used for sending the position information of the terminal to the positioning platform when a target event of the terminal is monitored;
and under the condition of acquiring the position information of the first terminal sent by the positioning plug-in, sending the position information of the first terminal to the first client.
2. The method according to claim 1, wherein the positioning platform includes a first server and a second server, and the sending the location information of the first terminal to the first client when the location information of the first terminal sent by the positioning plugin is obtained includes:
and under the condition that the first server acquires the position information of the first terminal sent by the positioning plug-in, sending the position information of the first terminal to the first client based on the first server.
3. The method according to claim 2, wherein after determining whether the location information of the first terminal sent by a location plug-in is obtained based on the communication number, the method further comprises:
under the condition that the first server does not acquire the position information of the first terminal, which is sent by the positioning plug-in, sending a second position request to a second server based on the first server, wherein the second position request comprises the communication number;
determining a target base station to which the first terminal belongs based on the second server through the communication number, and determining position information of the first terminal based on the target base station;
and sending the position information of the first terminal to the first client.
4. The method according to claim 3, wherein the determining the target base station to which the first terminal belongs based on the second server through the communication number, and determining the location information of the first terminal based on the target base station comprises:
judging whether the first client has the position access authority of the first terminal or not based on the communication number;
determining the target base station under the condition that the first client has the position access authority of the first terminal;
determining location information of the first terminal based on the target base station.
5. The method of claim 4, further comprising:
and under the condition of receiving a target message of a second client, creating an association relation between the first client and a second terminal, wherein the second client sends the target message to the second server under the condition of monitoring a target event of the second terminal.
6. The method of claim 5, wherein the determining whether the first client has location access rights for the first terminal based on the communication number comprises:
judging whether the association relationship exists between the first client and the first terminal or not based on the communication number and the identity information of the first client;
under the condition that the incidence relation exists between the first client and the first terminal, determining that the first client has the position access authority of the first terminal;
and under the condition that the incidence relation does not exist between the first client and the first terminal, determining that the first client does not have the position access authority of the target terminal.
7. The method of claim 5, wherein after the creating the association between the first client and the second terminal, the method further comprises:
and under the condition that the creation duration of the association relationship exceeds a preset duration, removing the association relationship between the first client and the second terminal.
8. The method of claim 4, wherein after determining whether the first client has location access rights for the first terminal based on the communication number, the method further comprises:
and sending feedback information to the first server based on the second server under the condition that the first client does not have the position access authority of the first terminal, wherein the feedback information is used for indicating that the first client does not have the position access authority of the first terminal.
9. The method according to claim 1, wherein the target event comprises at least any one of the following events: and the first terminal sends a call request to the first client, and the first terminal terminates the call connection with the first client.
10. A positioning device applied to a positioning platform is characterized by comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a communication number in a first position request under the condition of receiving the first position request sent by a first client, the first position request is used for requesting to acquire the position information of a first terminal, and the communication number is the communication number of the first terminal;
the judging module is used for judging whether the position information of the first terminal, which is sent by a positioning plug-in, is acquired or not based on the communication number, wherein the positioning plug-in is deployed at the terminal and is used for sending the position information of the terminal to the positioning platform when a target event of the terminal is monitored;
and the first sending module is used for sending the position information of the first terminal to the first client under the condition of acquiring the position information of the first terminal sent by the positioning plug-in.
11. An electronic device, comprising: a processor, a memory and a program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the method of any one of claims 1 to 9.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 9.
CN202110676385.3A 2021-06-18 2021-06-18 A positioning method, device and electronic equipment Pending CN115499773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110676385.3A CN115499773A (en) 2021-06-18 2021-06-18 A positioning method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110676385.3A CN115499773A (en) 2021-06-18 2021-06-18 A positioning method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115499773A true CN115499773A (en) 2022-12-20

Family

ID=84464020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110676385.3A Pending CN115499773A (en) 2021-06-18 2021-06-18 A positioning method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115499773A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413419A (en) * 2010-09-26 2012-04-11 中国电信股份有限公司 Third party positioning method, platform and system
CN102984646A (en) * 2011-09-05 2013-03-20 中国移动通信集团辽宁有限公司 Providing method and system of mobile phone client-side location services
CN103067852A (en) * 2011-10-21 2013-04-24 北京百度网讯科技有限公司 Mobile terminal location method and mobile terminal location device
KR20130090475A (en) * 2012-02-06 2013-08-14 박정용 A method for providng emergency message service using smart phone
CN106131788A (en) * 2016-07-15 2016-11-16 海能达通信股份有限公司 A kind of obtain the method for positional information, relevant device and trunked communication system
CN111434149A (en) * 2017-11-22 2020-07-17 华为技术有限公司 Signal device and method for positioning equipment
CN112312324A (en) * 2020-10-29 2021-02-02 维沃移动通信有限公司 Position information transmitting device and method
CN112449304A (en) * 2019-09-05 2021-03-05 中国电信股份有限公司 Terminal positioning method, network side system and system
CN113079455A (en) * 2020-05-22 2021-07-06 中移(上海)信息通信科技有限公司 Wireless positioning method, terminal, server, system and computer storage medium
CN115941839A (en) * 2022-02-21 2023-04-07 维沃移动通信有限公司 Emergency call processing method and processing device
CN117479101A (en) * 2023-11-23 2024-01-30 中国联合网络通信集团有限公司 Positioning method, positioning device, electronic equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413419A (en) * 2010-09-26 2012-04-11 中国电信股份有限公司 Third party positioning method, platform and system
CN102984646A (en) * 2011-09-05 2013-03-20 中国移动通信集团辽宁有限公司 Providing method and system of mobile phone client-side location services
CN103067852A (en) * 2011-10-21 2013-04-24 北京百度网讯科技有限公司 Mobile terminal location method and mobile terminal location device
KR20130090475A (en) * 2012-02-06 2013-08-14 박정용 A method for providng emergency message service using smart phone
CN106131788A (en) * 2016-07-15 2016-11-16 海能达通信股份有限公司 A kind of obtain the method for positional information, relevant device and trunked communication system
CN111434149A (en) * 2017-11-22 2020-07-17 华为技术有限公司 Signal device and method for positioning equipment
CN112449304A (en) * 2019-09-05 2021-03-05 中国电信股份有限公司 Terminal positioning method, network side system and system
CN113079455A (en) * 2020-05-22 2021-07-06 中移(上海)信息通信科技有限公司 Wireless positioning method, terminal, server, system and computer storage medium
CN112312324A (en) * 2020-10-29 2021-02-02 维沃移动通信有限公司 Position information transmitting device and method
CN115941839A (en) * 2022-02-21 2023-04-07 维沃移动通信有限公司 Emergency call processing method and processing device
CN117479101A (en) * 2023-11-23 2024-01-30 中国联合网络通信集团有限公司 Positioning method, positioning device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3755011B1 (en) Positioning operation method, device, and system
CN111083718B (en) A session management method, network function and network system
JP4777314B2 (en) How to provide location information
US7920679B1 (en) Communication system and method for notifying persons of an emergency telephone call
CN103874065B (en) A kind of method and device for judging customer location exception
US20110098059A1 (en) Method and arrangement to monitor distances among a group of electronic communication devices
CA2356823A1 (en) System and method for real time self-provisioning for a mobile communication device
CN112788518B (en) Location service processing method and related equipment
CN101422066A (en) Method and apparatus for reporting location of a mobile terminal
EP1617686B1 (en) An interactive method of reporting the location report by a target user equipment in the location service
CN102958104A (en) Mobile terminal positioning method, system and device
JP2007534180A (en) How to process area change event location requests
CN111065049B (en) Positioning method and device of Bluetooth equipment
CN105813023A (en) Emergency call alarm prompting method, dispatching desk and cluster core network
JP2004015336A (en) Server apparatus provided with emergency information reporting function
CN101800928A (en) Group positioning method, device and system
CN112788738A (en) Code number processing method and device for public and private network convergence system
KR100801099B1 (en) Location based mobile communication terminal control system and control method
CN115499773A (en) A positioning method, device and electronic equipment
CN112584344B (en) Identity authentication method of unmanned aerial vehicle, and related device and system
CN108449517B (en) Call method and device based on one-number multi-card service
JP2004242259A (en) System and method for analyzing cause of abnormal disconnection in mobile communication, and apparatus and program for investigating abnormally disconnected call
CN113055538B (en) Emergency rescue method for vehicle and related product
CN104754573A (en) Call processing method and device
KR20060024816A (en) Processing method for providing location information of subscriber use equipment to requestor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination