WO2016078404A1 - Terminal management method, apparatus and system - Google Patents

Terminal management method, apparatus and system Download PDF

Info

Publication number
WO2016078404A1
WO2016078404A1 PCT/CN2015/081846 CN2015081846W WO2016078404A1 WO 2016078404 A1 WO2016078404 A1 WO 2016078404A1 CN 2015081846 W CN2015081846 W CN 2015081846W WO 2016078404 A1 WO2016078404 A1 WO 2016078404A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
electronic fence
area
fence area
processing unit
Prior art date
Application number
PCT/CN2015/081846
Other languages
French (fr)
Chinese (zh)
Inventor
郭开宴
王健雄
谭志国
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016078404A1 publication Critical patent/WO2016078404A1/en

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/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Landscapes

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

Abstract

A terminal management method, apparatus and system. The system comprises: a receiving apparatus, a collecting apparatus, and a terminal management apparatus. The receiving apparatus is configured to receive an operation of a user. The collecting apparatus is configured to collect position information of a terminal in real time. The terminal management apparatus is configured to acquire the position information of the terminal, and determine an electric fence area to which the terminal belongs.

Description

一种终端管理方法、装置及系统Terminal management method, device and system 技术领域Technical field
本文涉及终端定位领域,特别地涉及一种终端管理方法、装置及系统。This document relates to the field of terminal positioning, and in particular, to a terminal management method, device and system.
背景技术Background technique
相关技术的终端定位技术及其实现产品都是基于LBS(Location Based Service,基于位置的服务)标准协议实现的,不论是GMLC(Gateway Mobile Location Center,网关移动位置中心,主要用于2G网络)还是SMLC(Serving Mobile Location Center,移动位置中心,主要用于3G网络)或者是E-SMLC(Evolved Serving Mobile Location Center,增强型服务移动位置中心,主要用于4G网络),这些产品均是按照标准通信协议如3GPP实现的。The related technology terminal positioning technology and its implementation products are all implemented based on the LBS (Location Based Service) standard protocol, whether it is GMLC (Gateway Mobile Location Center, gateway mobile location center, mainly used for 2G network) SMLC (Serving Mobile Location Center, mainly for 3G networks) or E-SMLC (Evolved Serving Mobile Location Center, mainly for 4G networks), these products are communicated according to standards. The protocol is implemented by 3GPP.
相关技术的基于LBS实现的定位技术,适应场景非常受限,只能单用户跟踪,即一次只能获取一个用户的位置信息,因为作为辅助业务在获取位置的前提下不能影响通信业务的正常运行,网元不可能实时上报所有用户的信息给LBS,只能在需要时,LBS下发命令给核心网网元HLR(Home Location Register,归属位置寄存器)/HSS(Home Subscriber Server,是IMS,IP Multimedia Subsystem,IP多媒体子系统中控制层的重要组成部分)获取签约用户信息,然后再下发给SGSN(Serving GPRS SUPPORT NODE,GPRS服务支持节点)/MSC(Mobile Switching Center,移动交换中心)/MME(Mobility Management Entity,3GPP协议LTE接入网络的关键控制节点),核心网网元查找到对应用户的终端位置信息,然后返回给LBS,而且用户必须和运营商签约过LBS服务,操作繁杂,适用范围非常有限。The LBS-based positioning technology of the related art is very limited in adaptation scenarios, and can only be tracked by a single user, that is, only one user's location information can be obtained at a time, because the auxiliary service cannot affect the normal operation of the communication service on the premise of acquiring the location. The network element cannot report the information of all users to the LBS in real time. The LBS can only send commands to the core network element HLR (Home Location Register)/HSS (Home Subscriber Server, IMS, IP) when needed. The Multimedia Subsystem, an important component of the control layer in the IP Multimedia Subsystem, obtains the subscriber information and then sends it to the SGSN (Serving GPRS SUPPORT NODE, GPRS Service Support Node) / MSC (Mobile Switching Center) / MME. (Mobility Management Entity, the key control node of the 3GPP protocol LTE access network), the core network element finds the terminal location information of the corresponding user, and then returns it to the LBS, and the user must sign the LBS service with the operator, which is complicated and applicable. The range is very limited.
因此,如何提供一种可以具备较大应用范围的终端定位技术,是本领域技术人员亟待解决的技术问题。Therefore, how to provide a terminal positioning technology that can have a large application range is a technical problem to be solved by those skilled in the art.
发明内容Summary of the invention
本文提供了一种终端管理方法、装置及系统,可以扩大终端定位技术的 应用范围。This paper provides a terminal management method, device and system, which can expand the terminal positioning technology. Application range.
一种终端管理方法,在一个实施例中,该方法包括:获取终端的位置信息;确定终端所属的电子围栏区域。A terminal management method, in an embodiment, the method includes: acquiring location information of a terminal; and determining an electronic fence area to which the terminal belongs.
可选的,上述实施例在获取终端的位置信息之前,还包括:设置电子围栏区域的步骤。Optionally, before acquiring the location information of the terminal, the foregoing embodiment further includes the step of: setting an electronic fence area.
可选的,上述实施例在设置电子围栏区域之后,还包括:新增电子围栏区域、删除电子围栏区域、修改电子围栏区域中的一种或多种。Optionally, after the setting of the electronic fence area, the foregoing embodiment further includes: adding one or more of an electronic fence area, deleting an electronic fence area, and modifying an electronic fence area.
可选的,上述实施例中的位置信息包括终端到达一位置的时间及该位置的经纬度;获取终端的位置信息的步骤包括:获取通信系统设备实时上传的终端运动信息;根据运动信息确定位置信息。Optionally, the location information in the foregoing embodiment includes a time when the terminal arrives at a location and a latitude and longitude of the location. The step of acquiring location information of the terminal includes: acquiring terminal motion information uploaded by the communication system device in real time; and determining location information according to the motion information. .
可选的,上述实施例中的确定终端所属的电子围栏区域的步骤包括:当电子围栏区域为直线时,则判断终端是否在直线上,若是,则终端归属电子围栏区域;当电子围栏区域为圆形时,则判断终端到电子围栏区域的圆心的距离是否小于电子围栏区域的半径,若是,则终端归属电子围栏区域;当电子围栏区域为凸多边形时,判断终端依次与凸多边形所有相邻边界点所形成的三角形的有向面积的正负是否相同,若相同,则终端归属电子围栏区域;当电子围栏区域为凹多边形时,判断终端依次与凹多边形所有相邻边界点所形成的相邻三角形的有向面积的正负是否均相同,若相同,则终端归属电子围栏区域。Optionally, the step of determining the electronic fence area to which the terminal belongs in the foregoing embodiment includes: determining whether the terminal is on a straight line when the electronic fence area is a straight line, and if yes, the terminal belongs to the electronic fence area; when the electronic fence area is When the circle is round, it is judged whether the distance from the center of the terminal to the center of the electronic fence area is smaller than the radius of the electronic fence area. If yes, the terminal belongs to the electronic fence area; when the electronic fence area is a convex polygon, the terminal is judged to be adjacent to the convex polygon in turn. Whether the positive and negative of the directional area of the triangle formed by the boundary point are the same. If they are the same, the terminal belongs to the electronic fence area; when the electronic fence area is a concave polygon, the phase formed by the terminal and all adjacent boundary points of the concave polygon is determined. Whether the positive and negative of the directed area of the adjacent triangle are the same, and if they are the same, the terminal belongs to the electronic fence area.
可选的,上述实施例还包括:为电子围栏区域配置触发事件及触发条件;在确定终端所属的电子围栏区域之后,还包括:判断电子围栏区域是否满足触发条件,若满足,则执行触发事件。Optionally, the foregoing embodiment further includes: configuring a trigger event and a trigger condition for the electronic fence area; after determining the electronic fence area to which the terminal belongs, the method further includes: determining whether the electronic fence area meets the trigger condition, and if yes, executing the trigger event .
一种终端管理装置,在一个实施例中,该装置包括:获取模块,设置为:获取终端的位置信息;处理模块,设置为:确定终端所属的电子围栏区域。A terminal management apparatus, in an embodiment, the apparatus includes: an acquisition module, configured to: acquire location information of the terminal; and the processing module is configured to: determine an electronic fence area to which the terminal belongs.
可选地,所述的终端管理装置,还包括设置模块,所述设置模块设置为:设置所述电子围栏区域。Optionally, the terminal management device further includes a setting module, and the setting module is configured to: set the electronic fence area.
可选地,所述处理模块包括第一处理单元、第二处理单元、第三处理单 元及第四处理单元,其中,Optionally, the processing module includes a first processing unit, a second processing unit, and a third processing list. Yuan and fourth processing unit, wherein
当所述电子围栏区域为直线时,所述第一处理单元设置为:判断所述终端是否在所述直线上,若是,则所述终端归属所述电子围栏区域;When the electronic fence area is a straight line, the first processing unit is configured to: determine whether the terminal is on the straight line, and if yes, the terminal belongs to the electronic fence area;
当所述电子围栏区域为圆形时,所述第二处理单元设置为:判断所述终端到所述电子围栏区域的圆心的距离是否小于所述电子围栏区域的半径,若是,则所述终端归属所述电子围栏区域;When the electronic fence area is circular, the second processing unit is configured to: determine whether a distance from the terminal to a center of the electronic fence area is smaller than a radius of the electronic fence area, and if yes, the terminal Ownership of the electronic fence area;
当电子围栏区域为凸多边形时,所述第三处理单元设置为:判断所述终端依次与所述凸多边形所有相邻边界点所形成的三角形的有向面积的正负是否相同,若相同,则所述终端归属所述电子围栏区域;When the electronic fence area is a convex polygon, the third processing unit is configured to: determine whether the positive and negative of the directional area of the triangle formed by the terminal and all the adjacent boundary points of the convex polygon are the same, if the same, And the terminal belongs to the electronic fence area;
当电子围栏区域为凹多边形时,所述第四处理单元设置为:判断所述终端依次与所述凹多边形所有相邻边界点所形成的相邻三角形的有向面积的正负是否均相同,若相同,则所述终端归属所述电子围栏区域。When the electronic fence area is a concave polygon, the fourth processing unit is configured to: determine whether the positive and negative of the directional area of the adjacent triangle formed by the terminal and all the adjacent boundary points of the concave polygon are the same, If they are the same, the terminal belongs to the electronic fence area.
可选地,所述的终端管理装置,还包括触发模块,所述触发模块设置为:为所述电子围栏区域配置触发事件及触发条件;所述处理模块还设置为:在确定终端所属的电子围栏区域之后,判断所述电子围栏区域是否满足所述触发条件,若满足,则执行所述触发事件。Optionally, the terminal management device further includes a triggering module, where the triggering module is configured to: configure a triggering event and a triggering condition for the electronic fence area; and the processing module is further configured to: determine the electronic device to which the terminal belongs After the fence area, it is determined whether the electronic fence area satisfies the trigger condition, and if so, the trigger event is executed.
一种终端管理系统,在一个实施例中,该系统包括接收装置、采集装置及终端管理装置;接收装置设置为:接收用户操作;采集装置设置为:实时采集终端的位置信息;终端管理装置设置为:获取终端的位置信息,并确定终端归属的电子围栏区域。A terminal management system, in one embodiment, the system includes a receiving device, a collecting device, and a terminal management device; the receiving device is configured to: receive a user operation; the collecting device is configured to: collect real-time location information of the terminal; and set the terminal management device To: obtain the location information of the terminal, and determine the electronic fence area to which the terminal belongs.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
本文提供的方案,通过建立电子围栏区域,根据每个终端的位置信息确定其归属的电子围栏区域,这样就可以查询每个电子围栏区域内的终端信息,实现了基于电子围栏区域对终端位置进行管理,可以对多个终端同时进行管理,在此基础上,可以基于电子围栏区域将其应用到已有单个终端定位 技术无法应用到的场景,如实现运营商对特定区域内终端资费控制等,扩大了终端定位技术的应用范围。The solution provided in this paper establishes an electronic fence area and determines the electronic fence area to which it belongs according to the location information of each terminal, so that the terminal information in each electronic fence area can be inquired, and the terminal position based on the electronic fence area is realized. Management, which can manage multiple terminals at the same time. On this basis, it can be applied to existing single terminal positioning based on the electronic fence area. The scenarios in which the technology cannot be applied, such as implementing operator control of terminal tariffs in a specific area, expand the application range of the terminal location technology.
附图概述BRIEF abstract
图1为本发明第一实施例提供的终端管理系统的结构示意图;1 is a schematic structural diagram of a terminal management system according to a first embodiment of the present invention;
图2为本发明第二实施例提供的终端管理方法的示意图;2 is a schematic diagram of a terminal management method according to a second embodiment of the present invention;
图3为本发明第三实施例提供的终端管理方法的示意图;FIG. 3 is a schematic diagram of a terminal management method according to a third embodiment of the present invention; FIG.
图4为本发明第四实施例提供的终端管理方法的示意图。FIG. 4 is a schematic diagram of a terminal management method according to a fourth embodiment of the present invention.
本发明的实施方式Embodiments of the invention
现通过附图对本发明的实施方式做出的诠释说明。The interpretation of the embodiments of the present invention will now be described with reference to the accompanying drawings.
第一实施例:First embodiment:
图1为本发明第一实施例提供的终端管理系统的结构示意图,由图1可知,在本实施例中,本发明实施例提供的终端管理系统包括:接收装置11、采集装置12及终端管理装置13,其中,1 is a schematic structural diagram of a terminal management system according to a first embodiment of the present invention. As shown in FIG. 1, in the embodiment, the terminal management system provided by the embodiment of the present invention includes: a receiving device 11, a collecting device 12, and terminal management. Device 13, wherein
接收装置11设置为:接收用户操作,以确定设置电子围栏区域所必须的参数,如电子围栏区域的范围,要实现的目的/效果等;在实际应用中,接收装置11可以是独立的装置,其为用户(一般为商业团体用户,如广告运营商等)提供交互界面/接口等,使得用户根据需要选择电子围栏区域的范围、区域可见性等,还设置为:接收用户对电子围栏区域的新建、修改及删除等操作,对应的,接收装置11也可以仅是通信运营商为用户提供的设置网页等;The receiving device 11 is configured to: receive user operations to determine parameters necessary for setting the electronic fence area, such as the range of the electronic fence area, the purpose/effect to be achieved, etc.; in practical applications, the receiving device 11 may be an independent device. It provides an interactive interface/interface for the user (generally a business group user, such as an advertising operator, etc.), so that the user selects the range of the electronic fence area, the visibility of the area, etc. according to the need, and is also set to: receive the user to the electronic fence area. The operations of creating, modifying, and deleting, and correspondingly, the receiving device 11 may also be only a setting webpage provided by the communication carrier for the user;
采集装置12设置为:实时采集终端的位置信息,并将位置信息上传至终端管理装置13;在实际应用中,采集装置12可以包括2G/3G/4G网络中的BTS(Base Transceiver Station,基站收发台)/RNC(Radio Network Controller,无线电网络控制器)/E-Node B(evolved Node B,即演进型基站)等实时采集终端的位置等参数的设备,以及2G/3G/4G网络侧的探针或者网元等实时采集终端的网络信息数据(控制面信令数据)和业务信息数据(用户面业务 数据)的设备,采集装置12将其采集到的位置信息传输到终端管理装置13;The collection device 12 is configured to: collect the location information of the terminal in real time, and upload the location information to the terminal management device 13; in an actual application, the collection device 12 may include a BTS (Base Transceiver Station) in the 2G/3G/4G network. Equipment such as the location of real-time acquisition terminals such as the RNC (Radio Network Controller)/E-Node B (evolved Node B), and the 2G/3G/4G network side Network information data (control plane signaling data) and service information data (user plane service) of real-time collection terminals such as pins or network elements Data device, the collection device 12 transmits the location information collected by it to the terminal management device 13;
终端管理装置13设置为:根据接收装置11接收到的用户操作设置电子围栏区域,从采集装置12获取终端的位置信息,并确定终端归属的电子围栏区域。在实际应用中,同一终端可以归属于多个电子围栏区域,如某终端在某一时刻同时处于通信运营商划定的费用减缓区及某广告运营商划定的广告区域。The terminal management device 13 is configured to set an electronic fence area according to a user operation received by the receiving device 11, acquire position information of the terminal from the collecting device 12, and determine an electronic fence area to which the terminal belongs. In practical applications, the same terminal can be attributed to multiple electronic fence areas. For example, a terminal is at the same time in a fee mitigation area delineated by the communication operator and an advertisement area delineated by an advertisement operator.
在一些实施例中,如图1所示,本发明实施例提供的终端管理装置13包括获取模块131及处理模块132,其中,In some embodiments, as shown in FIG. 1, the terminal management apparatus 13 provided by the embodiment of the present invention includes an obtaining module 131 and a processing module 132, where
获取模块131设置为:获取终端的位置信息;The obtaining module 131 is configured to: acquire location information of the terminal;
处理模块132设置为:确定终端所属的电子围栏区域。The processing module 132 is configured to: determine an electronic fence area to which the terminal belongs.
在一些实施例中,如图1所示,终端管理装置13还包括设置模块133,设置为:根据用户选择设置一个或多个电子围栏区域;设置模块133可设置为:确定电子围栏区域的边界点,获取边界点对应的经纬度,按照边界点的顺序,根据每个边界点对应的经纬度设置电子围栏区域。In some embodiments, as shown in FIG. 1, the terminal management apparatus 13 further includes a setting module 133 configured to: set one or more electronic fence areas according to user selection; the setting module 133 may be configured to: determine a boundary of the electronic fence area Point, obtain the latitude and longitude corresponding to the boundary points, and set the electronic fence area according to the latitude and longitude corresponding to each boundary point in the order of the boundary points.
在实际应用中,区域可以抽象为一个规则或者不规则的平面多边形,具有区域可创建性、区域多样性、区域可见性和区域可编辑性,区域可创建性是指区域由第三方系统自由创建;区域多样性是指区域能够由第三方系统灵活自由定义各种几何形状区域如圆形、矩形、三角形、规则的多边形以及各种不规则的多边形等图形。满足各种应用场景下的区域定义;区域可见性是指区域分为公共区域(public)和私有区域(private);区域可编辑性是指第三方系统可随时修改、删除已定义好的区域,且修改后的区域实时生效,保证新区域的实时生效性。区域由一系列连续的而且是有顺序的点组成,应用系统可按如下规则进行建模创建区域(点坐标使用经纬度表示)。圆形区域指定圆心坐标(经纬度)和半径,通过圆心坐标和半径构造出圆形区域,同时指定区域的可见性(public/protected);线形区域指定线的两个端点坐标(经纬度),连接两个端点坐标构造出直线区域,同时指定区域的可见性(public/protected);多边形区域,指定多边形的每个顶点坐标(经纬度),按照顺序,依次连接这些顶点,从而构造出多边形区域,同时指定区域的可见性(public、protected、private)。如三角形右三个顶点组成,四边形由四个顶点组成,以 此类推。In practical applications, a region can be abstracted into a regular or irregular planar polygon with regional createability, region diversity, region visibility, and region editability. Area createability means that the region is freely created by third-party systems. Regional diversity refers to the ability of a region to be flexible and free to define various geometric regions such as circles, rectangles, triangles, regular polygons, and various irregular polygons. It satisfies the definition of the area in various application scenarios; the area visibility means that the area is divided into a public area (public) and a private area (private); the area editability means that the third-party system can modify and delete the defined area at any time. The modified area takes effect in real time to ensure the real-time effectiveness of the new area. The area consists of a series of consecutive and sequential points, and the application system can model the creation area according to the following rules (point coordinates are expressed in latitude and longitude). The circular area specifies the center coordinates (latitude and longitude) and the radius. The circular area is constructed by the center coordinates and the radius, and the visibility of the area is specified (public/protected); the linear area specifies the two endpoint coordinates (latitude and longitude) of the line, connecting two The endpoint coordinates construct a straight line region, and specify the visibility of the region (public/protected); the polygon region specifies the coordinates of each vertex of the polygon (latitude and longitude), and sequentially connects the vertices in order, thereby constructing a polygon region and designating the polygon region. The visibility of the area (public, protected, private). As composed of the right three vertices of the triangle, the quadrilateral consists of four vertices, This type of push.
在一些实施例中,图1中的处理模块132包括第一处理单元、第二处理单元、第三处理单元、第四处理单元,In some embodiments, the processing module 132 in FIG. 1 includes a first processing unit, a second processing unit, a third processing unit, and a fourth processing unit.
当电子围栏区域为直线时,第一处理单元设置为:判断终端是否在直线上,若是,则终端归属电子围栏区域;When the electronic fence area is a straight line, the first processing unit is configured to: determine whether the terminal is on a straight line, and if yes, the terminal belongs to the electronic fence area;
当电子围栏区域为圆形时,第二处理单元设置为:判断终端到电子围栏区域的圆心的距离是否小于电子围栏区域的半径,若是,则终端归属电子围栏区域;When the electronic fence area is circular, the second processing unit is configured to: determine whether the distance from the terminal to the center of the electronic fence area is smaller than the radius of the electronic fence area, and if so, the terminal belongs to the electronic fence area;
当电子围栏区域为凸多边形(三角形、矩形等)时,第三处理单元设置为:判断终端依次与凸多边形所有相邻边界点所形成的三角形的有向面积的正负是否相同,若相同,则终端归属电子围栏区域;When the area of the electronic fence is a convex polygon (triangle, rectangle, etc.), the third processing unit is configured to: determine whether the positive and negative of the directional area of the triangle formed by the terminal and all the adjacent boundary points of the convex polygon are the same, if the same, Then the terminal belongs to the electronic fence area;
当电子围栏区域为凹多边形(如五星☆等)时,第四处理单元设置为:判断终端依次与凹多边形所有相邻边界点所形成的相邻三角形的有向面积的正负是否均相同,若相同,则终端归属电子围栏区域。When the area of the electronic fence is a concave polygon (such as five-star ☆, etc.), the fourth processing unit is configured to: determine whether the positive and negative of the directional area of the adjacent triangle formed by the terminal and all adjacent boundary points of the concave polygon are the same, If they are the same, the terminal belongs to the electronic fence area.
在实际应用中,为了进行实时有效管理无线移动终端位置信息,区域定义完毕后,必须实时有效的判断无线移动终端的当前位置是否在指定的区域内,其可抽象成一个数学问题解决,终端抽象为一个点P(X,Y),区域抽象为一个已知的圆形或者直线或者多边形,然后计算区域的有向面积,通过有向面积来判断多边形每个顶点在坐标系中的顺逆,如果多边形全是顺或者逆,则该点在该区域内,反之该点不在该区域内;结合上述实施例,第一处理单元与第二处理单元实现比较简单,本处不再赘述,针对第三处理单元及第四处理单元的实现如下:In practical applications, in order to effectively manage the wireless mobile terminal location information in real time, after the region definition is completed, it is necessary to effectively determine in real time whether the current location of the wireless mobile terminal is within a specified region, which can be abstracted into a mathematical problem, terminal abstraction For a point P(X,Y), the region is abstracted into a known circle or line or polygon, and then the directional area of the region is calculated, and the directionality of each vertice of the polygon in the coordinate system is determined by the directed area. If the polygon is all cis or inverse, the point is in the area, and the point is not in the area; in combination with the foregoing embodiment, the first processing unit and the second processing unit are relatively simple to implement, and are not described herein again. The implementation of the three processing units and the fourth processing unit is as follows:
第三处理单元及第四处理单元主要用于判断一个点是否在多边行内(包括线上)。要利用到每个点的坐标关系,比如判断一个点是否在一个三角形内部。一个三角形在一个坐标系(假设由A、B、C三点组成)中,可以通过计算它的有向面积来判断A、B、C三点在坐标系中的顺逆。向量表示的多边形有向面积计算法则是依靠行列式来计算,如△ABC有向面积如下所示: The third processing unit and the fourth processing unit are mainly used to determine whether a point is in a multilateral row (including an online line). To take advantage of the coordinate relationship of each point, such as determining whether a point is inside a triangle. A triangle in a coordinate system (assuming three points consisting of A, B, and C) can be used to determine the directionality of the three points A, B, and C in the coordinate system by calculating its directional area. The polygon-directed area calculation rule represented by the vector is calculated by the determinant, for example, the △ABC directed area is as follows:
Figure PCTCN2015081846-appb-000001
Figure PCTCN2015081846-appb-000001
三角形有向面积可表示上述图的三阶行列式,n边形的面积可表示为像这样的N阶行列式。利用行列式运算法则即可得到有向面积,使用笛卡尔坐标系中的下述公式进行计算面积:The triangular directed area can represent the third-order determinant of the above figure, and the area of the n-sided shape can be expressed as an N-order determinant like this. Using the determinant algorithm, you can get the directional area and calculate the area using the following formula in the Cartesian coordinate system:
S=((A.x-B.x)*(A.y+B.y)+(B.x-C.x)*(B.y+C.y)+(C.x-A.x)*(C.y+B.y))/2;S=((A.x-B.x)*(A.y+B.y)+(B.x-C.x)*(B.y+C.y)+(C.x-A.x)*(C.y+B.y))/2;
有向面积可以是正的,也可以是负的,这取决于围成封闭图形的向量,如果三角形ABC三个顶点呈逆时针排列则面积为正,顺时针排列则为负,三点共线时面积则为0,其计算规则就是:从第一点开始,用前一点横坐标减后一点横坐标与两坐标之和的乘积求梯形面积,直到完成多边性的封闭,得到三角形的有向面积。此时,如果求出的值是正的(S>0),则得出A->B->C为顺时针,否则为逆时针,至此能判断出一个三角形的顺逆关系。The directional area can be positive or negative, depending on the vector enclosed in the closed graph. If the three vertices of the triangle ABC are arranged counterclockwise, the area is positive, the clockwise arrangement is negative, and the three points are collinear. The area is 0. The calculation rule is: starting from the first point, use the product of the first horizontal coordinate minus the horizontal coordinate and the sum of the two coordinates to find the trapezoidal area, until the polygon closure is completed, and the directional area of the triangle is obtained. . At this time, if the value obtained is positive (S>0), it is concluded that A->B->C is clockwise, otherwise it is counterclockwise, and thus the forward-reverse relationship of a triangle can be judged.
对于凸多边形而言(以三角形ABC为例),主要针对第三处理单元,假设存在一个点D,若这个点在三角形的内部,则以该点D为起点,和原多边形的任意两个连续的且尊照多边形组成方向的点(如DAB、DBC、DCA)组成的三角形讲都是一个方向,如DAB和DBC都是顺时针方向。若这个点在三角形的外部,则会出现DAB、DBC、DCA三个三角形方向不一致的情形。即其中有一个不同于另外两个(如一个顺,两个逆)。这就是如何判断一个点是否在一个三角形内部的算法,该算法总结一句就是:通过判断该点同三角形连续两点组成三角形的顺逆性(有向面积的正负)来得到结果的。同样原理,对其他的凸多边性比如6边形,20边形等,同样使用该方法进行判断,不同的就是,此时判断的三角形数目增加了,总之判断原则就是,只要点在多边形内部,他们的顺逆都是一样的。For convex polygons (take triangle ABC as an example), mainly for the third processing unit, suppose there is a point D. If the point is inside the triangle, then the point D is used as the starting point, and any two of the original polygons are consecutive. The triangles that are distinguished by the direction of the polygons (such as DAB, DBC, DCA) are all directions, such as DAB and DBC are clockwise. If this point is outside the triangle, the three triangle directions of DAB, DBC, and DCA will be inconsistent. That is, one of them is different from the other two (such as one cis, two inverses). This is how to judge whether a point is inside a triangle. The algorithm summarizes the sentence by: judging that the point and the triangle are two consecutive points to form the forwardness of the triangle (positive and negative of the directional area) to obtain the result. The same principle, for other convex polygons such as 6-sided, 20-sided, etc., also use this method to judge, the difference is that the number of triangles judged at this time increases, in short, the principle of judgment is that as long as the point inside the polygon, Their rectification is the same.
对于凹多边形而言,主要针对第四处理单元,其与凸多边形相比,计算过程相对复杂一些,此时判断一个点是否在其内部的计算量会增加比较多。算法如下:此时三角形一个个的判断可能会失效,此时应当两个同时判断。即判断该点是否同时在多边形的连续两个三角形之中,相当于是求两个三角形的交集,直到完成多边形封闭。如断P点是否在多边形ABCD之中,依次 判断P是否在ABC-BCD、BCD-CDA、CDA-DAB、DAB-ABC每个成对三角形中,P在ABC-BCD中表示P在ABC-BCD的交集之中。这样就可以判断一个点是否在一个凹多边形内部。For the concave polygon, it is mainly for the fourth processing unit, which is relatively more complicated than the convex polygon. At this time, it is more complicated to judge whether a point is internally calculated. The algorithm is as follows: At this time, the judgment of the triangles may be invalid, and at this time, two judgments should be made at the same time. That is, it is judged whether the point is in the two consecutive triangles of the polygon at the same time, which is equivalent to finding the intersection of the two triangles until the polygon closure is completed. If the P point is in the polygon ABCD, in turn It is judged whether P is in each pair of triangles of ABC-BCD, BCD-CDA, CDA-DAB, and DAB-ABC, and P indicates that P is in the intersection of ABC-BCD in ABC-BCD. This allows you to determine if a point is inside a concave polygon.
针对复杂的多变形如内洞、飞地等这种多边形,首先要通过多边形的拓扑运算来得到对应的多边形,进而判断是凸/凹多边形,选择对应的处理单元进行处理。For complex polygons such as inner holes and enclaves, the corresponding polygons are first obtained by the topological operation of the polygons, and then the convex/concave polygons are determined, and the corresponding processing unit is selected for processing.
在一些实施例中,图1中的终端管理装置13还包括触发模块,触发模块设置为:根据用户选择为电子围栏区域配置触发事件及触发条件,如触发事件是一区域的备用基站的启动,触发条件是该区域内的终端数量大于阈值等;此时,处理模块132还设置为:在确定终端所属的电子围栏区域之后,判断电子围栏区域是否满足触发条件,若满足,则执行触发事件。In some embodiments, the terminal management device 13 in FIG. 1 further includes a triggering module, and the triggering module is configured to: configure a trigger event and a trigger condition for the electronic fence area according to the user selection, for example, the trigger event is the start of the standby base station of the area, The triggering condition is that the number of terminals in the area is greater than a threshold or the like; at this time, the processing module 132 is further configured to: after determining the electronic fence area to which the terminal belongs, determine whether the electronic fence area satisfies the trigger condition, and if so, execute the trigger event.
在实际应用中,终端管理装置13可以是独立的新设备,还可以是在已有通信网络的核心网网元上运行新的程序使得具备本文中终端管理装置13的作用。In practical applications, the terminal management device 13 may be a stand-alone new device, or may run a new program on the core network element of the existing communication network to function as the terminal management device 13 herein.
第二实施例:Second embodiment:
图2为本发明第二实施例提供的终端管理方法的示意图;由图2可知,在本实施例中,本发明实施例提供的终端管理方法包括以下步骤:FIG. 2 is a schematic diagram of a terminal management method according to a second embodiment of the present invention; as shown in FIG. 2, in the embodiment, the terminal management method provided by the embodiment of the present invention includes the following steps:
S201:获取终端的位置信息;S201: Acquire location information of the terminal.
S202:确定终端所属的电子围栏区域。S202: Determine an electronic fence area to which the terminal belongs.
在一些实施例中,图2所示实施例在步骤S201之前,还包括:设置电子围栏区域的步骤,该步骤可包括:确定电子围栏区域的边界点,获取边界点对应的经纬度,按照边界点的顺序,根据每个边界点对应的经纬度设置电子围栏区域。In some embodiments, before the step S201, the embodiment shown in FIG. 2 further includes: a step of setting an electronic fence area, the step may include: determining a boundary point of the electronic fence area, obtaining a latitude and longitude corresponding to the boundary point, according to the boundary point. In the order, the electronic fence area is set according to the latitude and longitude corresponding to each boundary point.
在一些实施例中,上述实施例中的位置信息包括终端到达一位置的时间及该位置的经纬度;图2所示实施例中的步骤S201包括:获取通信系统设备实时上传的终端运动信息;根据运动信息确定位置信息。In some embodiments, the location information in the foregoing embodiment includes the time when the terminal arrives at a location and the latitude and longitude of the location. Step S201 in the embodiment shown in FIG. 2 includes: acquiring terminal motion information uploaded by the communication system device in real time; The motion information determines the location information.
该步骤S201包括采集步骤及处理步骤,其中:The step S201 includes an acquisition step and a processing step, wherein:
采集步骤实现从采集装置实时采取各种原始数据,如无线2G/3G/4G的 BTS/RNC/E-Node B实时采集终端位置信息数据;和2G/3G/4G网络侧探针或者网元实时采集网络信息数据(控制面信令数据)和业务信息数据(用户面业务数据);采集步骤可以是一分布式系统架构实现,纯只接受数据源上报数据,接受到数据后,根据分发策略立即分发给业务板,业务板经过简单清洗过滤后,如果需要回填的则回填(比如回填用户信息),然后对处理后的数据执行处理步骤;The acquisition step enables real-time adoption of various raw data from the acquisition device, such as wireless 2G/3G/4G BTS/RNC/E-Node B collects terminal location information data in real time; and collects network information data (control plane signaling data) and service information data (user plane service data) in real time with 2G/3G/4G network side probes or network elements. The collection step can be implemented in a distributed system architecture. The data is only received by the data source. After receiving the data, it is immediately distributed to the service board according to the distribution policy. After the service board is simply cleaned and filtered, if it needs to be backfilled, it is backfilled (for example) Backfilling user information), and then performing processing steps on the processed data;
处理步骤可以使用大数据的分布式流式处理技术实现,接受到采集步骤简单处理的数据后,交给第一个处理节点处理,通过无线侧的数据解析到无线终端的位置信息,并记录此时位置对应的时间点,然后再交给下一个处理节点处理,根据网络侧数据解析到网络相关的控制信令数据,然后再继续交给下一个处理节点处理,即根据网络侧数据解到析用户业务数据,经过多个处理节点多次处理,最终获取到无线终端此时间点的位置数据和网络数据,最后将这处理过的数据,交给处理模块继续处理,同时也交给存储装置进行存储供事后分析使用。The processing step can be implemented by using a distributed data processing technology of big data. After receiving the data that is simply processed by the acquisition step, the data is sent to the first processing node for processing, and the data of the wireless side is parsed to the location information of the wireless terminal, and the record is recorded. The time point corresponding to the time position, and then handed over to the next processing node for processing, parsing the network-related control signaling data according to the network side data, and then proceeding to the next processing node for processing, that is, according to the network side data solution analysis The user service data is processed by multiple processing nodes multiple times, and finally the location data and network data of the wireless terminal at the time point are obtained, and finally the processed data is forwarded to the processing module for further processing, and is also handed over to the storage device. Storage is used for post-analysis.
在一些实施例中,针对图2所示实施例中的步骤S202,考虑到处理逻辑和业务规则可自由灵活定义,随时增加或者减少业务处理逻辑,所以该步骤仍然使用大数据的分布式流式处理技术实现,处理模块实时轮询收集创建的所有区域,接收到终端位置和网络数据后,交给下一个处理节点处理判断归属哪个区域,然后继续交给下一个处理节点,对比上一次的归属区域,如果两次区域不一样,说明终端已经漫出上次区域,并记录该时间点为该区域的漫出事件点,同时将该时间点作为漫入新区域的时间点并记录下来,进一步计算出漫入和漫出时间差即为该终端在该区域的滞留时长,并记录下来,根据漫入和漫出点坐标,计算出两点之间的距离,并根据时长,从而可计算出该终端在该区域的速度,并记录下来,漫入时间点、漫出时间点,滞留时间和运行速度这些计算出来后,发送给存储系统存储,供事后统计分析使用,处理结果继续传送给下一个节点处理,该节点实时开始对终端上述指标进行计数,比如一个终端漫入该区域的次数,漫出该区域的次数,当到达指定阈值时,触发满入次数到达阈值事件,如果第三方系统订阅了该事件,则会接受到该事件,第三方系统根据自己需要做自己的相关业务处理,完成终端归 属区域的判断功能,记录终端的漫入漫出时间点,记录区域滞留时长,区域运行速度,实时触发各种阈值事件。In some embodiments, for step S202 in the embodiment shown in FIG. 2, the processing logic and the business rules are freely and flexibly defined, and the business processing logic is added or decreased at any time, so the step still uses distributed streaming of big data. The processing technology is implemented. The processing module polls all the created areas in real time. After receiving the terminal location and network data, it passes to the next processing node to determine which area to belong to, and then continues to hand over to the next processing node to compare the previous attribution. Area, if the two areas are different, the terminal has already diffused the last area, and records the time point as the diffuse event point of the area, and records the time point as the time point of the new area and records it. Calculate the time difference between the diffuse and the diffuse, that is, the length of stay of the terminal in the region, and record it. Calculate the distance between the two points according to the coordinates of the diffuse and the diffuse points, and calculate the distance according to the duration. The speed of the terminal in the area, and recorded, the time point, the time point, the retention time and the running speed After being calculated, it is sent to the storage system for use for post-mortem statistical analysis. The processing result is further transmitted to the next node for processing. The node starts counting the above indicators of the terminal in real time, such as the number of times a terminal has diffused into the area, and the result is diffused. The number of times, when the specified threshold is reached, triggers the number of full arrivals to reach the threshold event. If the third-party system subscribes to the event, the event will be accepted. The third-party system will do its own related business processing according to its own needs, and complete the terminal return. It is a judging function of the area, recording the time of the terminal's flooding, the length of the recording area, the speed of the area, and triggering various threshold events in real time.
在一些实施例中,上述实施例中的步骤S201包括:In some embodiments, step S201 in the above embodiment includes:
当电子围栏区域为直线时,则判断终端是否在直线上,若是,则终端归属电子围栏区域;When the area of the electronic fence is a straight line, it is judged whether the terminal is on a straight line, and if so, the terminal belongs to the electronic fence area;
当电子围栏区域为圆形时,则判断终端到电子围栏区域的圆心的距离是否小于电子围栏区域的半径,若是,则终端归属电子围栏区域;When the area of the electronic fence is circular, it is determined whether the distance from the center of the terminal to the center of the electronic fence area is smaller than the radius of the electronic fence area, and if so, the terminal belongs to the electronic fence area;
当电子围栏区域为凸多边形时,判断终端依次与凸多边形所有相邻边界点所形成的三角形的有向面积的正负是否相同,若相同,则终端归属电子围栏区域;When the area of the electronic fence is a convex polygon, it is determined whether the terminal has the same positive or negative direction of the directional area of the triangle formed by all the adjacent boundary points of the convex polygon, and if the same, the terminal belongs to the electronic fence area;
当电子围栏区域为凹多边形时,判断终端依次与凹多边形所有相邻边界点所形成的相邻三角形的有向面积的正负是否均相同,若相同,则终端归属电子围栏区域。When the electronic fence area is a concave polygon, it is judged whether the positive and negative of the directional area of the adjacent triangle formed by the terminal and all the adjacent boundary points of the concave polygon are the same, and if they are the same, the terminal belongs to the electronic fence area.
在一些实施例中,上述实施例在设置电子围栏区域之后,还包括:新增电子围栏区域、删除电子围栏区域、修改电子围栏区域中的一种或多种。In some embodiments, after the setting of the electronic fence area, the foregoing embodiment further includes: adding one or more of an electronic fence area, deleting an electronic fence area, and modifying an electronic fence area.
现结合应用实例对本发明实施例做诠释说明。The embodiments of the present invention will be explained in conjunction with application examples.
第三实施例:Third embodiment:
图3为本发明第三实施例提供的终端管理方法的示意图;在本实施例中,以电子围栏区域为上网资费优惠区为例,由图3可知,在本实施例中,本发明实施例提供的终端管理方法包括:FIG. 3 is a schematic diagram of a method for managing a terminal according to a third embodiment of the present invention. In this embodiment, an electronic fence area is used as an example of a preferential area for online charging. As shown in FIG. 3, in this embodiment, an embodiment of the present invention is used. The terminal management methods provided include:
S301:接收用户操作;S301: Receive a user operation;
在本实施例中,用户为通信运营商,其用户操作包括将一区域,如学校、医院等划分为资费优惠区,该区域仅对特定终端(开通资费优惠区业务的终端)可见;In this embodiment, the user is a communication carrier, and the user operation includes dividing an area, such as a school, a hospital, and the like into a tariff concession area, and the area is only visible to a specific terminal (a terminal that opens a tariff concession area service);
S302:根据用户操作建立电子围栏区域、设置触发事件及触发条件;S302: Establish an electronic fence area according to a user operation, set a trigger event, and trigger a condition;
在本实施例中,将一学校/医院划定为资费优惠区,并确定该资费优惠区的边界,以经纬度的方式存储; In this embodiment, a school/hospital is designated as a tariff concession area, and the boundary of the tariff concession area is determined and stored in a latitude and longitude manner;
触发事件为资费优惠,触发条件为终端开通资费优惠区业务、并且处于资费优惠区;The triggering event is a tariff concession, and the triggering condition is that the terminal opens the tariff concession zone business and is in the tariff concession zone;
S303:实时获取终端的位置信息;S303: Acquire location information of the terminal in real time;
从该资费优惠区内/附近的所有基站等设备获取在其基站通信范围内的所有终端的运动信息(到达一位置的时间及该位置的经纬度)及业务信息(是否开通资费优惠区业务);Obtaining motion information (time of arrival at a location and latitude and longitude of the location) and service information (whether or not the preferential tariff zone service is opened) of all terminals within the communication range of the base station from devices such as all base stations in the vicinity of the tariff concession area;
S304:确定终端的归属电子围栏区域;S304: Determine a home electronic fence area of the terminal.
根据终端的经纬度判断每个终端是否处于资费优惠区内;Judging whether each terminal is in the tariff concession area according to the latitude and longitude of the terminal;
S305:当满足触发条件时,执行触发事件;S305: Perform a trigger event when the trigger condition is met;
在本实施例中,一旦收集到开通资费优惠区业务的终端进入资费优惠区,提示终端进入资费优惠区,同时下发消息给PCRF(Policy and Charging Rules Function,服务数据流和IP承载资源的策略与计费控制策略决策点)网元,开始优惠计费,对应的,一旦收集到开通资费优惠区业务的终端用户漫出优惠区,提示终端离开了资费优惠区,同时下发消息给PCRF,开始回归到正常计费。In this embodiment, once the terminal that has opened the tariff preferential area service enters the tariff concession area, the terminal is prompted to enter the tariff concession area, and the message is sent to the PCRF (Policy and Charging Rules Function, the service data flow and the IP bearer resource strategy). And the billing control policy decision point) network element, start preferential charging, correspondingly, once the terminal user who has collected the service of the preferential tariff area is distributed, the terminal is prompted to leave the tariff concession area, and the message is sent to the PCRF. Start to return to normal billing.
第四实施例:Fourth embodiment:
图4为本发明第四实施例提供的终端管理方法的示意图;本实施例以CPE(Customer Premise Equipment,客户终端设备,CPE是一高速网络终端接入设备,只支持4G,一端和基站相连,另外一端通过WIFI和终端用户相连,提供高速的数据业务,因为CPE上网资费便宜,CPE设备就像手机一样,也有自己的号码,必须到运营商开通CPE业务,开通CPE业务时,运营商将CPE能使用的小区固化,即,CPE业务一旦开通,只能在指定的小区有用,一旦超过这些小区,就必须停止CPE数据业务)为例;由图4可知,在本实施例中,本发明实施例提供的终端管理方法包括以下步骤:4 is a schematic diagram of a terminal management method according to a fourth embodiment of the present invention; in this embodiment, a customer premise equipment (CPE) is used as a high-speed network terminal access device, which only supports 4G, and one end is connected to the base station. The other end is connected to the end user through WIFI to provide high-speed data services. Because the CPE Internet access fee is cheap, the CPE device is like a mobile phone and has its own number. The CPE service must be opened to the operator. When the CPE service is activated, the operator will use the CPE. The cell that can be used is solidified, that is, once the CPE service is enabled, it can only be used in a designated cell. If the CPE service is exceeded, the CPE data service must be stopped. For example, in the embodiment, the present invention is implemented. The terminal management method provided by the example includes the following steps:
S401:通信运营商建立每个CPE的区域、每个CPE的非法区域事件;S401: The communication carrier establishes an area of each CPE, and an illegal area event of each CPE;
在本实施例中,通信运营商指定每个CPE只能使用那几个小区,创建CPE非法区域事件(即触发事件为非法区域事件,对应的触发条件为CPE在通信运营商为其指定的小区外的其他小区使用); In this embodiment, the communication operator specifies that each CPE can use only those cells to create a CPE illegal area event (that is, the triggering event is an illegal area event, and the corresponding triggering condition is the cell that the CPE specifies for the communication carrier. Used by other cells outside);
S402:获取每个CPE的归属区域;S402: Acquire a home area of each CPE.
在本实施例中,CPE归属区域是指通信运营商为每个CPE指定的区域;In this embodiment, the CPE home zone refers to an area designated by the communication carrier for each CPE;
S403:实时收集所有CPE各自的工作区域;S403: Collecting respective working areas of all CPEs in real time;
在本实施例中,CPE归属区域是指每个CPE实际工作的区域In this embodiment, the CPE attribution area refers to the area where each CPE actually works.
S404:根据每个CPE的归属区域及工作区域,触发非法区域事件;S404: trigger an illegal area event according to a home area and a work area of each CPE.
在本实施例中,一但发现有CPE的工作区域与归属区域不相同(即没在指定区域内工作,而是在其他区域内工作,CPE设备可以插手机卡,插上手机卡后,数据业务资费就当CPE业务收费,而不是按常规的手机上网收费)时,比如人为将CPE设备放置到其他地方.一旦发现该情况,立即触发CPE非法区域事件,通过该事件立即告知运营商的CPE设备管理系统,In this embodiment, once the working area of the CPE is found to be different from the home area (ie, it does not work in the designated area, but works in other areas, the CPE device can insert the mobile phone card, and after inserting the mobile phone card, the data When the service charge is charged for the CPE service, instead of the regular mobile phone charge, for example, the CPE device is placed in other places. Once the situation is discovered, the CPE illegal area event is triggered immediately, and the CPE of the operator is immediately notified through the event. Equipment management system,
S405:对非法区域事件进行处理;S405: Processing an illegal regional event;
在本实施例中,CPE设备管理系统收到该事件后,立即通知PCRF网元,立即停止该CPE设备的上网数据业务,并提示CPE办理主人,CPE只能在指定区域内上网,不能在其他区域上网。In this embodiment, after receiving the event, the CPE device management system immediately notifies the PCRF network element, immediately stops the Internet data service of the CPE device, and prompts the CPE to handle the master. The CPE can only access the Internet in the designated area, and cannot be in other Regional access.
综上可知,通过本发明实施例的实施,至少存在以下有益效果:In summary, through the implementation of the embodiments of the present invention, at least the following beneficial effects exist:
通过建立电子围栏区域,根据每个终端的位置信息确定其归属的电子围栏区域,实现了基于电子围栏区域对终端位置进行管理,即可以对多个终端同时进行管理,在此基础上,可以基于电子围栏区域将其应用到已有单个终端定位技术无法应用到的场景,如实现运营商对特定区域内终端资费控制等,扩大了终端定位技术的应用范围。By establishing an electronic fence area, the electronic fence area to which the terminal belongs is determined according to the location information of each terminal, and the terminal position is managed based on the electronic fence area, that is, multiple terminals can be simultaneously managed, and based on this, based on The electronic fence area is applied to a scenario where a single terminal location technology cannot be applied, such as implementing operator control of terminal tariffs in a specific area, thereby expanding the application range of the terminal location technology.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实 现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The device/function module/functional unit in the above embodiment can be implemented by using a general-purpose computing device. Now, they can be concentrated on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
通过本发明实施例,建立电子围栏区域,根据每个终端的位置信息确定其归属的电子围栏区域,这样就可以查询一电子围栏区域内的终端信息,实现了基于电子围栏区域对终端位置进行管理,可以对多个终端同时进行管理,在此基础上,可以基于电子围栏区域将其应用到已有单个终端定位技术无法应用到的场景,扩大了终端定位技术的应用范围。 Through the embodiment of the invention, the electronic fence area is established, and the electronic fence area to which the terminal belongs is determined according to the position information of each terminal, so that the terminal information in an electronic fence area can be queried, and the terminal position is managed based on the electronic fence area. At the same time, multiple terminals can be managed at the same time. On the basis of this, the application can be applied to a scene that cannot be applied by a single terminal positioning technology based on the electronic fence area, thereby expanding the application range of the terminal positioning technology.

Claims (12)

  1. 一种终端管理方法,包括:A terminal management method includes:
    获取终端的位置信息;Obtaining location information of the terminal;
    确定终端所属的电子围栏区域。Determine the area of the electronic fence to which the terminal belongs.
  2. 如权利要求1所述的终端管理方法,其中,在获取终端的位置信息之前,还包括:设置电子围栏区域的步骤。The terminal management method according to claim 1, further comprising the step of: setting an electronic fence area before acquiring the location information of the terminal.
  3. 如权利要求2所述的终端管理方法,其中,在设置电子围栏区域之后,还包括:新增电子围栏区域、删除电子围栏区域、修改电子围栏区域中的一种或多种。The terminal management method according to claim 2, further comprising: adding one or more of an electronic fence area, deleting an electronic fence area, and modifying an electronic fence area after the electronic fence area is set.
  4. 如权利要求1所述的终端管理方法,其中,所述位置信息包括终端到达一位置的时间及该位置的经纬度;所述获取终端的位置信息的步骤包括:获取通信系统设备实时上传的终端运动信息;根据所述运动信息确定所述位置信息。The terminal management method according to claim 1, wherein the location information includes a time when the terminal arrives at a location and a latitude and longitude of the location; and the step of acquiring location information of the terminal includes: acquiring terminal motion uploaded by the communication system device in real time. Information; determining the location information based on the motion information.
  5. 如权利要求1所述的终端管理方法,其中,所述确定终端所属的电子围栏区域的步骤包括:The terminal management method according to claim 1, wherein the step of determining an electronic fence area to which the terminal belongs includes:
    当所述电子围栏区域为直线时,判断所述终端是否在所述直线上,若是,则所述终端归属所述电子围栏区域;Determining whether the terminal is on the straight line when the electronic fence area is a straight line, and if yes, the terminal belongs to the electronic fence area;
    当所述电子围栏区域为圆形时,判断所述终端到所述圆形的圆心的距离是否小于所述电子围栏区域的半径,若是,则所述终端归属所述电子围栏区域;When the area of the electronic fence is circular, determining whether the distance from the terminal to the center of the circle is smaller than the radius of the electronic fence area, and if so, the terminal belongs to the electronic fence area;
    当电子围栏区域为凸多边形时,判断所述终端依次与所述凸多边形所有相邻边界点所形成的三角形的有向面积的正负是否相同,若相同,则所述终端归属所述电子围栏区域;When the electronic fence area is a convex polygon, it is determined whether the terminal has the same positive or negative direction of the directional area of the triangle formed by all the adjacent boundary points of the convex polygon, and if the same, the terminal belongs to the electronic fence region;
    当电子围栏区域为凹多边形时,判断所述终端依次与所述凹多边形所有相邻边界点所形成的相邻三角形的有向面积的正负是否均相同,若相同,则所述终端归属所述电子围栏区域。When the electronic fence area is a concave polygon, it is determined whether the positive and negative of the directional area of the adjacent triangle formed by the terminal and all the adjacent boundary points of the concave polygon are the same, and if the same, the terminal attribution The area of the electronic fence.
  6. 如权利要求1至5任一项所述的终端管理方法,还包括:为所述电子 围栏区域配置触发事件及触发条件;在确定终端所属的电子围栏区域之后,还包括:判断所述电子围栏区域是否满足所述触发条件,若满足,则执行所述触发事件。The terminal management method according to any one of claims 1 to 5, further comprising: for said electronic The triggering event and the triggering condition are configured in the fenced area. After determining the electronic fence area to which the terminal belongs, the method further includes: determining whether the electronic fence area satisfies the trigger condition, and if yes, executing the triggering event.
  7. 一种终端管理装置,包括:A terminal management device includes:
    获取模块,设置为:获取终端的位置信息;The obtaining module is set to: obtain location information of the terminal;
    处理模块,设置为:确定终端所属的电子围栏区域。The processing module is configured to: determine an electronic fence area to which the terminal belongs.
  8. 如权利要求7所述的终端管理装置,还包括设置模块,所述设置模块设置为:设置所述电子围栏区域。The terminal management device according to claim 7, further comprising a setting module, the setting module being configured to: set the electronic fence area.
  9. 如权利要求7所述的终端管理装置,其中,所述处理模块包括第一处理单元、第二处理单元、第三处理单元及第四处理单元,其中,The terminal management device according to claim 7, wherein the processing module comprises a first processing unit, a second processing unit, a third processing unit, and a fourth processing unit, wherein
    当所述电子围栏区域为直线时,所述第一处理单元设置为:判断所述终端是否在所述直线上,若是,则所述终端归属所述电子围栏区域;When the electronic fence area is a straight line, the first processing unit is configured to: determine whether the terminal is on the straight line, and if yes, the terminal belongs to the electronic fence area;
    当所述电子围栏区域为圆形时,所述第二处理单元设置为:判断所述终端到所述电子围栏区域的圆心的距离是否小于所述电子围栏区域的半径,若是,则所述终端归属所述电子围栏区域;When the electronic fence area is circular, the second processing unit is configured to: determine whether a distance from the terminal to a center of the electronic fence area is smaller than a radius of the electronic fence area, and if yes, the terminal Ownership of the electronic fence area;
    当电子围栏区域为凸多边形时,所述第三处理单元设置为:判断所述终端依次与所述凸多边形所有相邻边界点所形成的三角形的有向面积的正负是否相同,若相同,则所述终端归属所述电子围栏区域;When the electronic fence area is a convex polygon, the third processing unit is configured to: determine whether the positive and negative of the directional area of the triangle formed by the terminal and all the adjacent boundary points of the convex polygon are the same, if the same, And the terminal belongs to the electronic fence area;
    当电子围栏区域为凹多边形时,所述第四处理单元设置为:判断所述终端依次与所述凹多边形所有相邻边界点所形成的相邻三角形的有向面积的正负是否均相同,若相同,则所述终端归属所述电子围栏区域。When the electronic fence area is a concave polygon, the fourth processing unit is configured to: determine whether the positive and negative of the directional area of the adjacent triangle formed by the terminal and all the adjacent boundary points of the concave polygon are the same, If they are the same, the terminal belongs to the electronic fence area.
  10. 如权利要求7至9任一项所述的终端管理装置,还包括触发模块,所述触发模块设置为:为所述电子围栏区域配置触发事件及触发条件;所述处理模块还设置为:在确定终端所属的电子围栏区域之后,判断所述电子围栏区域是否满足所述触发条件,若满足,则执行所述触发事件。The terminal management apparatus according to any one of claims 7 to 9, further comprising a triggering module, wherein the triggering module is configured to: configure a trigger event and a trigger condition for the electronic fence area; and the processing module is further configured to: After determining the electronic fence area to which the terminal belongs, it is determined whether the electronic fence area satisfies the trigger condition, and if yes, the trigger event is executed.
  11. 一种终端管理系统,包括:接收装置、采集装置及如权利要求7至10任一项所述的终端管理装置;所述接收装置设置为:接收用户操作;所述采集装置设置为:实时采集终端的位置信息;所述终端管理装置设置为:获 取终端的所述位置信息,并确定终端归属的电子围栏区域。A terminal management system, comprising: a receiving device, a collecting device, and the terminal management device according to any one of claims 7 to 10; the receiving device is configured to: receive a user operation; and the collecting device is configured to: collect in real time Location information of the terminal; the terminal management device is set to: obtain The location information of the terminal is taken, and the electronic fence area to which the terminal belongs is determined.
  12. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-6任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-6.
PCT/CN2015/081846 2014-11-19 2015-06-18 Terminal management method, apparatus and system WO2016078404A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410664977.3A CN105635960A (en) 2014-11-19 2014-11-19 Terminal management method, terminal management apparatus and terminal management system
CN201410664977.3 2014-11-19

Publications (1)

Publication Number Publication Date
WO2016078404A1 true WO2016078404A1 (en) 2016-05-26

Family

ID=56013230

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/081846 WO2016078404A1 (en) 2014-11-19 2015-06-18 Terminal management method, apparatus and system

Country Status (2)

Country Link
CN (1) CN105635960A (en)
WO (1) WO2016078404A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111063215A (en) * 2019-12-26 2020-04-24 珠海格力电器股份有限公司 Parking space safety supervision method and device, storage medium and electronic equipment
CN112896181A (en) * 2021-01-14 2021-06-04 重庆长安汽车股份有限公司 Electronic fence control method, system, vehicle and storage medium
CN113313620A (en) * 2021-06-10 2021-08-27 平安国际智慧城市科技股份有限公司 Method, device and equipment for detecting vehicle and storage medium
CN113852914A (en) * 2021-09-23 2021-12-28 广东几米星联通讯有限公司 Position positioning method and positioning device for point to be inspected

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683876A (en) * 2018-04-02 2018-10-19 杭州觅睿科技有限公司 A kind of monitoring system based on geography fence technology
CN108834064B (en) * 2018-06-19 2021-06-18 品信科技有限公司 Site matching method and device based on electronic fence map
CN109238282B (en) * 2018-07-26 2022-05-03 平安科技(深圳)有限公司 Robot positioning detection method and device and computer readable medium
CN111209358A (en) * 2019-12-24 2020-05-29 武汉蜜蜂云科技有限公司 Method and device for counting equipment number in scenic spot area
CN113747416A (en) * 2020-05-30 2021-12-03 华为技术有限公司 Network searching method and related device
CN112435311A (en) * 2020-12-11 2021-03-02 上海中通吉网络技术有限公司 Method and device for generating electronic geo-fence
CN112770261B (en) * 2021-01-11 2022-12-27 浙江航芯科技有限公司 Irregular electronic fence positioning system and method
CN113538824A (en) * 2021-05-31 2021-10-22 杭州华橙软件技术有限公司 Control method, device and system of electronic fence, electronic device and storage medium
CN115002889A (en) * 2022-01-04 2022-09-02 长沙理工大学 5G base station power consumption curve fitting method based on user behaviors

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186140A (en) * 2011-05-07 2011-09-14 东莞市车友互联信息科技有限公司 Method for monitoring global positioning system (GPS) terminal and server for implementing method
CN103413095A (en) * 2013-08-21 2013-11-27 北京网秦天下科技有限公司 Method and device for managing mobile terminal
WO2013181441A2 (en) * 2012-05-31 2013-12-05 Qualcomm Incorporated Methods and systems for retrieving and caching geofence data
WO2014127730A1 (en) * 2013-02-21 2014-08-28 Zhou Liangwen Information platform of basic unit-based short-range fence and application method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8670933B2 (en) * 2010-03-23 2014-03-11 United Parcel Service Of America, Inc. Geofence-based triggers for automated data collection
US8941489B2 (en) * 2011-10-20 2015-01-27 Qualcomm Incorporated Method and/or apparatus for geofence management
CN102542790B (en) * 2011-11-15 2013-10-16 浪潮齐鲁软件产业有限公司 Intelligent scheduling method for selecting taxi-parking passenger-carrying point

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186140A (en) * 2011-05-07 2011-09-14 东莞市车友互联信息科技有限公司 Method for monitoring global positioning system (GPS) terminal and server for implementing method
WO2013181441A2 (en) * 2012-05-31 2013-12-05 Qualcomm Incorporated Methods and systems for retrieving and caching geofence data
WO2014127730A1 (en) * 2013-02-21 2014-08-28 Zhou Liangwen Information platform of basic unit-based short-range fence and application method
CN103413095A (en) * 2013-08-21 2013-11-27 北京网秦天下科技有限公司 Method and device for managing mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111063215A (en) * 2019-12-26 2020-04-24 珠海格力电器股份有限公司 Parking space safety supervision method and device, storage medium and electronic equipment
CN111063215B (en) * 2019-12-26 2020-11-27 珠海格力电器股份有限公司 Parking space safety supervision method and device, storage medium and electronic equipment
CN112896181A (en) * 2021-01-14 2021-06-04 重庆长安汽车股份有限公司 Electronic fence control method, system, vehicle and storage medium
CN112896181B (en) * 2021-01-14 2022-07-08 重庆长安汽车股份有限公司 Electronic fence control method, system, vehicle and storage medium
CN113313620A (en) * 2021-06-10 2021-08-27 平安国际智慧城市科技股份有限公司 Method, device and equipment for detecting vehicle and storage medium
CN113313620B (en) * 2021-06-10 2023-04-18 平安国际智慧城市科技股份有限公司 Method, device and equipment for detecting vehicle and storage medium
CN113852914A (en) * 2021-09-23 2021-12-28 广东几米星联通讯有限公司 Position positioning method and positioning device for point to be inspected
CN113852914B (en) * 2021-09-23 2023-12-15 广东几米星联通讯有限公司 Position positioning method and positioning device for point to be inspected

Also Published As

Publication number Publication date
CN105635960A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
WO2016078404A1 (en) Terminal management method, apparatus and system
US11083039B2 (en) Mobile network optimization processing method, device, and system
CN103997757A (en) Pseudo base station locating method and device and information reporting method and device
CN103680129B (en) A kind of method and system of public transit vehicle operation monitoring
US9119034B2 (en) Method and apparatus for determining a probability for a geo-fence
CN105722139B (en) A kind of signaling storm management method and device based on PCC framework
CN107949063A (en) Mobility status data are provided from user equipment to network control node
CN103428854A (en) System and method for scoped paging in multi-radio heterogeneous networks
KR101112530B1 (en) Method and equipment for generating user mobility model of gsm network
US11496947B2 (en) Method for accessing local network and device
CN104349366A (en) GIS (geographic information system)-based wireless network problem association analysis method
CN100409719C (en) Method of implementing tracing positioning service in mobile communication system
Uras et al. PmA: a solution for people mobility monitoring and analysis based on WiFi probes
CN109495942A (en) A kind of data transmission method based on location of user equipment, device and system
CN103533342B (en) A kind of mobile video quality determining method and device
CN107734185A (en) Indicating mode switching method, device, computer installation and computer-readable recording medium
US10165400B2 (en) Methods and systems for sending location based alert messages
CN108235253A (en) User movement dissects
WO2016169242A1 (en) Position information acquisition method and device, advertisement delivery method and device
Ficek et al. Performance study of active tracking in a cellular network using a modular signaling platform
ES2299437T3 (en) A METHOD AND AN APPLIANCE FOR PROGRAMMING POSITION MEASURES.
Shao et al. Evaluating the feasibility of random waypoint model for indoor wireless networks
CN109413385A (en) A kind of video location monitoring method, system and Cloud Server
CN111225413A (en) Method and system for managing and controlling flow
CN115802303B (en) Edge computing charging method, core network and medium in 5G roaming scene

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15861551

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15861551

Country of ref document: EP

Kind code of ref document: A1