CN102273247B - Method and apparatus for detecting change of subscriber location - Google Patents
Method and apparatus for detecting change of subscriber location Download PDFInfo
- Publication number
- CN102273247B CN102273247B CN201180000449.2A CN201180000449A CN102273247B CN 102273247 B CN102273247 B CN 102273247B CN 201180000449 A CN201180000449 A CN 201180000449A CN 102273247 B CN102273247 B CN 102273247B
- Authority
- CN
- China
- Prior art keywords
- plmn
- area corresponding
- location area
- reporting
- location
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 111
- 230000008859 change Effects 0.000 title claims abstract description 29
- 238000010295 mobile communication Methods 0.000 claims abstract description 12
- 230000008569 process Effects 0.000 claims description 20
- 230000000977 initiatory effect Effects 0.000 claims description 5
- 238000004806 packaging method and process Methods 0.000 claims 1
- 238000004891 communication Methods 0.000 abstract description 4
- 238000001514 detection method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信领域,特别涉及一种用户位置改变的检测方法和装置。The invention relates to the communication field, in particular to a method and device for detecting changes in user positions.
背景技术Background technique
通信系统中存在对用户进行位置跟踪的需求,以便于通信系统基于用户位置执行相应的业务管理和控制。In the communication system, there is a need to track the location of the user, so that the communication system can perform corresponding service management and control based on the location of the user.
现有技术中AS(Application Server,应用服务器)向HLR(Home Location Register,归属位置寄存器)/HSS(Home Subscriber Server,归属用户服务器)获取用户的位置。具体的,AS向HLR/HSS发送获取用户位置的消息,HLR/HSS向AS返回用户所附着的SGSN(ServingGeneral packet radio service Support Node,通用分组无线业务服务支持节点)/MME(Mobility Management Entity,移动性管理实体)或MSC(Mobile Switching Center,移动交换中心)/VLR(Visitor Location Register,拜访位置寄存器)的地址,或者HLR/HSS向AS返回用户所在的位置,例如,路由区,跟踪区,小区等。In the prior art, AS (Application Server, application server) obtains the user's location from HLR (Home Location Register, Home Location Register)/HSS (Home Subscriber Server, Home Subscriber Server). Specifically, the AS sends a message to the HLR/HSS to obtain the location of the user, and the HLR/HSS returns to the AS the SGSN (Serving General packet radio service Support Node, general packet radio service support node)/MME (Mobility Management Entity, mobile management entity) or MSC (Mobile Switching Center, mobile switching center)/VLR (Visitor Location Register, visitor location register) address, or HLR/HSS returns the user's location to AS, for example, routing area, tracking area, cell wait.
目前现有技术只能获知用户当前所在的位置,但是不能检测用户进入或离开位置区域的事件。At present, the existing technology can only know the current location of the user, but cannot detect the event that the user enters or leaves the location area.
发明内容Contents of the invention
为了检测到用户进入或离开位置区域的事件,本发明实施例提供了一种用户位置改变的检测方法和装置。所述技术方案如下:In order to detect an event that a user enters or leaves a location area, embodiments of the present invention provide a method and device for detecting a user location change. Described technical scheme is as follows:
一种用户位置改变的检测方法,所述方法包括:A method for detecting a user location change, the method comprising:
获知用户设备UE接入的公众陆地移动通信网PLMN;Knowing the public land mobile communication network PLMN accessed by the user equipment UE;
根据所述UE接入的PLMN,向网络提供所述PLMN对应的位置区域,以使所述网络根据所述PLMN对应的位置区域和所述UE当前所在的位置获知所述UE进入或离开所述PLMN对应的位置区域;According to the PLMN accessed by the UE, provide the network with the location area corresponding to the PLMN, so that the network can learn that the UE enters or leaves the The location area corresponding to the PLMN;
其中,所述网络根据所述PLMN对应的位置区域和所述UE当前所在的位置获知所述UE进入或离开所述PLMN对应的位置区域,包括:Wherein, the network learns that the UE enters or leaves the location area corresponding to the PLMN according to the location area corresponding to the PLMN and the current location of the UE, including:
比较所述UE当前所在的位置与所述PLMN对应的位置区域是否相同或包含于所述PLMN对应的位置区域,如果是,确定所述UE进入所述PLMN对应的位置区域,如果否,确定所述UE离开所述PLMN对应的位置区域。Comparing whether the current location of the UE is the same as the location area corresponding to the PLMN or included in the location area corresponding to the PLMN, if yes, determining that the UE enters the location area corresponding to the PLMN, if not, determining the The UE leaves the location area corresponding to the PLMN.
一种用户位置改变的检测方法,所述方法包括:A method for detecting a user location change, the method comprising:
获取用户设备UE接入的公众陆地移动通信网PLMN对应的位置区域;Obtaining the location area corresponding to the public land mobile communication network PLMN accessed by the user equipment UE;
根据所述PLMN对应的位置区域和所述UE当前所在的位置获知所述UE进入或离开所述PLMN对应的位置区域;Knowing that the UE enters or leaves the location area corresponding to the PLMN according to the location area corresponding to the PLMN and the current location of the UE;
其中,所述根据所述PLMN对应的位置区域和所述UE当前所在的位置获知所述UE进入或离开所述PLMN对应的位置区域,包括:Wherein, the learning that the UE enters or leaves the location area corresponding to the PLMN according to the location area corresponding to the PLMN and the current location of the UE includes:
从接入网网元获取所述UE当前所在的位置;Obtaining the current location of the UE from an access network element;
比较所述UE当前所在的位置与所述PLMN对应的位置区域是否相同或包含于所述PLMN对应的位置区域,如果是,确定所述UE进入所述PLMN对应的位置区域,如果否,确定所述UE离开所述PLMN对应的位置区域。Comparing whether the current location of the UE is the same as the location area corresponding to the PLMN or included in the location area corresponding to the PLMN, if yes, determining that the UE enters the location area corresponding to the PLMN, if not, determining the The UE leaves the location area corresponding to the PLMN.
一种用户位置改变的检测装置,所述装置包括:A detection device for a user position change, the device comprising:
位置获取模块,用于获知用户设备UE接入的公众陆地移动通信网PLMN;A location acquisition module, configured to obtain the public land mobile communication network PLMN accessed by the user equipment UE;
位置提供模块,用于根据所述UE接入的PLMN,向网络提供所述PLMN对应的位置区域,以使所述网络根据所述PLMN对应的位置区域和所述UE当前所在的位置获知所述UE进入或离开所述PLMN对应的位置区域。A location providing module, configured to provide the network with a location area corresponding to the PLMN according to the PLMN accessed by the UE, so that the network can learn the location area corresponding to the PLMN and the current location of the UE. The UE enters or leaves the location area corresponding to the PLMN.
一种用户位置改变的检测装置,所述装置包括:A detection device for a user position change, the device comprising:
位置获取模块,用于获取用户设备UE接入的公众陆地移动通信网PLMN对应的位置区域;A location acquisition module, configured to acquire a location area corresponding to the public land mobile communication network PLMN accessed by the user equipment UE;
位置确定模块,用于根据所述PLMN对应的位置区域和所述UE当前所在的位置获知所述UE进入或离开所述PLMN对应的位置区域。A location determining module, configured to learn that the UE enters or leaves the location area corresponding to the PLMN according to the location area corresponding to the PLMN and the current location of the UE.
一种用户位置改变的检测方法,所述方法包括:A method for detecting a user location change, the method comprising:
用户设备UE接收网络发送的所述UE接入的PLMN对应的位置区域;The user equipment UE receives the location area corresponding to the PLMN accessed by the UE sent by the network;
所述UE比较所述UE当前所在的位置与所述PLMN对应的位置区域是否相同或包含于所述PLMN对应的位置区域,如果是,确定所述UE进入所述PLMN对应的位置区域,如果否,确定所述UE离开所述PLMN对应的位置区域;The UE compares whether the current location of the UE is the same as the location area corresponding to the PLMN or is included in the location area corresponding to the PLMN, if yes, determines that the UE enters the location area corresponding to the PLMN, if not , determining that the UE leaves the location area corresponding to the PLMN;
所述UE根据确定结果向所述网络发起接入流程,使所述网络在所述接入流程中从接入网网元获取所述UE当前所在的位置,所述网络比较所述UE当前所在的位置与所述PLMN对应的位置区域是否相同或包含于所述PLMN对应的位置区域,如果是,确定所述UE进入所述PLMN对应的位置区域,如果否,确定所述UE离开所述PLMN对应的位置区域。The UE initiates an access procedure to the network according to the determination result, so that the network obtains the current location of the UE from an access network element during the access procedure, and the network compares the current location of the UE with Whether the location of the location is the same as the location area corresponding to the PLMN or included in the location area corresponding to the PLMN, if yes, determine that the UE enters the location area corresponding to the PLMN, if not, determine that the UE leaves the PLMN corresponding location area.
一种用户位置改变的检测装置,所述装置包括:A detection device for a user position change, the device comprising:
接收模块,用于接收网络发送的所述UE接入的PLMN对应的位置区域;The receiving module is configured to receive the location area corresponding to the PLMN accessed by the UE sent by the network;
确定模块,用于比较所述UE当前所在的位置与所述PLMN对应的位置区域是否相同或包含于所述PLMN对应的位置区域,如果是,确定所述UE进入所述PLMN对应的位置区域,如果否,确定所述UE离开所述PLMN对应的位置区域;A determining module, configured to compare whether the current location of the UE is the same as the location area corresponding to the PLMN or included in the location area corresponding to the PLMN, and if so, determine that the UE enters the location area corresponding to the PLMN, If not, determine that the UE leaves the location area corresponding to the PLMN;
接入模块,用于根据确定结果向所述网络发起接入流程,使所述网络在所述接入流程中从接入网网元获取所述UE当前所在的位置,所述网络比较所述UE当前所在的位置与所述PLMN对应的位置区域是否相同或包含于所述PLMN对应的位置区域,如果是,确定所述UE进入所述PLMN对应的位置区域,如果否,确定所述UE离开所述PLMN对应的位置区域。An access module, configured to initiate an access procedure to the network according to the determination result, so that the network obtains the current location of the UE from an access network element during the access procedure, and the network compares the Whether the current location of the UE is the same as the location area corresponding to the PLMN or included in the location area corresponding to the PLMN, if yes, determine that the UE enters the location area corresponding to the PLMN, if not, determine that the UE leaves The location area corresponding to the PLMN.
本发明实施例提供的技术方案的有益效果是:The beneficial effects of the technical solution provided by the embodiments of the present invention are:
通过获知UE接入的PLMN,向网络提供该PLMN对应的位置区域,以使该网络根据该PLMN对应的位置区域和该UE当前所在的位置确定该用户进入或离开该PLMN对应的位置区域。By knowing the PLMN that the UE accesses, the location area corresponding to the PLMN is provided to the network, so that the network determines that the user enters or leaves the location area corresponding to the PLMN according to the location area corresponding to the PLMN and the current location of the UE.
附图说明Description of drawings
图1是本发明实施例1提供的用户位置改变的检测方法流程图;FIG. 1 is a flowchart of a detection method for a user location change provided in Embodiment 1 of the present invention;
图2是本发明实施例2提供的用户位置改变的检测方法流程图;FIG. 2 is a flowchart of a detection method for a user location change provided in Embodiment 2 of the present invention;
图3是本发明实施例3提供的用户位置改变的检测方法信息交互图;FIG. 3 is an information interaction diagram of a detection method for a user location change provided in Embodiment 3 of the present invention;
图4是本发明实施例4提供的用户位置改变的检测方法信息交互图;FIG. 4 is an information interaction diagram of a detection method for a user location change provided in Embodiment 4 of the present invention;
图5是本发明实施例5提供的用户位置改变的检测装置结构示意图;FIG. 5 is a schematic structural diagram of a detection device for a user location change provided in Embodiment 5 of the present invention;
图6是本发明实施例6提供的用户位置改变的检测装置结构示意图;FIG. 6 is a schematic structural diagram of a detection device for a user location change provided in Embodiment 6 of the present invention;
图7是本发明实施例7提供的用户位置改变的检测装置结构示意图。FIG. 7 is a schematic structural diagram of an apparatus for detecting a user location change provided by Embodiment 7 of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.
实施例1Example 1
参见图1,本实施例提供了一种用户位置改变的检测方法,该方法可以由签约数据库或第三方网元执行,该方法包括:Referring to FIG. 1, this embodiment provides a method for detecting a user location change, which can be performed by a subscription database or a third-party network element, and the method includes:
S11:获知UE(User Equipment,用户设备)接入的PLMN(Public LandMobile-communication Network,公众陆地移动通信网)。S11: Know the PLMN (Public Land Mobile-communication Network, public land mobile communication network) accessed by the UE (User Equipment, user equipment).
S12:根据UE接入的PLMN,向网络提供PLMN对应的位置区域,以使网络根据PLMN对应的位置区域和UE当前所在的位置获知UE进入或离开PLMN对应的位置区域。S12: According to the PLMN accessed by the UE, provide the location area corresponding to the PLMN to the network, so that the network can know that the UE enters or leaves the location area corresponding to the PLMN according to the location area corresponding to the PLMN and the current location of the UE.
其中,该网络对应的实体具体可以是移动性管理网元、MSC、或者VLR,移动性管理网元是SGSN或MME。Wherein, the entity corresponding to the network may specifically be a mobility management network element, an MSC, or a VLR, and the mobility management network element is an SGSN or an MME.
其中,用户当前所在的位置可以是路由区,跟踪区,跟踪区列表,或小区等。Wherein, the current location of the user may be a routing area, a tracking area, a tracking area list, or a cell.
本实施例通过获知UE接入的PLMN,向网络提供该PLMN对应的位置区域,以使该网络根据该PLMN对应的位置区域和该UE当前所在的位置确定该用户进入或离开该PLMN对应的位置区域。In this embodiment, by knowing the PLMN that the UE accesses, the location area corresponding to the PLMN is provided to the network, so that the network determines the location where the user enters or leaves the PLMN according to the location area corresponding to the PLMN and the current location of the UE. area.
实施例2Example 2
参见图2,本实施例提供了一种用户位置改变的检测方法,该方法可以由移动性管理网元、MSC、或者VLR执行,移动性管理网元是SGSN或MME,该方法包括:Referring to FIG. 2, this embodiment provides a method for detecting a user location change, which can be performed by a mobility management network element, MSC, or VLR, where the mobility management network element is an SGSN or MME, and the method includes:
S21:获取用户设备UE接入的公众陆地移动通信网PLMN对应的位置区域;S21: Obtain a location area corresponding to the public land mobile communication network PLMN accessed by the user equipment UE;
S22:根据PLMN对应的位置区域和UE当前所在的位置获知UE进入或离开PLMN对应的位置区域。S22: Knowing that the UE enters or leaves the location area corresponding to the PLMN according to the location area corresponding to the PLMN and the current location of the UE.
其中,用户当前所在的位置可以是路由区,跟踪区,跟踪区列表,或小区等。Wherein, the current location of the user may be a routing area, a tracking area, a tracking area list, or a cell.
本实施例通过获取UE接入的PLMN对应的位置区域,根据该PLMN对应的位置区域和该UE当前所在的位置确定该用户进入或离开该PLMN对应的位置区域。In this embodiment, by obtaining the location area corresponding to the PLMN accessed by the UE, it is determined according to the location area corresponding to the PLMN and the current location of the UE that the user enters or leaves the location area corresponding to the PLMN.
实施例3Example 3
参见图3,本实施例提供了一种用户位置改变的检测方法,该方法中签约数据库没有签约所有UE可接入的PLMN对应的位置区域,需要向存储有所有UE可接入的PLMN对应的位置区域的第三方网元获取PLMN标识对应的位置区域,该方法具体包括:Referring to FIG. 3 , this embodiment provides a method for detecting user location changes. In this method, the subscription database does not subscribe to the location area corresponding to the PLMN accessible to all UEs, and needs to store the location area corresponding to the PLMN accessible to all UEs. The third-party network element in the location area obtains the location area corresponding to the PLMN identifier, and the method specifically includes:
101:UE向SGSN/MME/MSC/VLR发送接入请求消息。101: The UE sends an access request message to the SGSN/MME/MSC/VLR.
其中,接入请求消息可以是Attach(附着)/TAU(Trace Area Update,跟踪区更新)/RAU(Route Area Update,路由区更新)/LAU(location Area Update,位置区更新)Request(请求)消息。“/”表示“或者”的意思。Among them, the access request message can be Attach (attach)/TAU (Trace Area Update, tracking area update)/RAU (Route Area Update, routing area update)/LAU (location Area Update, location area update) Request (request) message . "/" means "or".
102:SGSN/MME/MSC/VLR向签约数据库发送更新位置请求Update Location Request消息,该消息中携带UE接入PLMN的PLMN标识。102: The SGSN/MME/MSC/VLR sends an Update Location Request message to the subscription database, and the message carries the PLMN identifier for the UE to access the PLMN.
其中,签约数据库是HLR/HSS。Wherein, the subscription database is HLR/HSS.
103:签约数据库接收到更新位置请求消息后,向第三方网元发送通知请求NotificationRequest消息,该消息中携带UE接入PLMN的PLMN标识。103: After receiving the location update request message, the subscription database sends a Notification Request message to the third-party network element, and the message carries the PLMN identifier for the UE to access the PLMN.
104:第三方网元根据存储的所有UE可接入的PLMN对应的位置区域,查询得到UE接入PLMN的PLMN标识对应的位置区域。104: The third-party network element queries and obtains the location area corresponding to the PLMN identifier for the UE to access the PLMN according to the stored location areas corresponding to all PLMNs accessible to the UE.
105:第三方网元向签约数据库发送通知确认Notification ACK消息,该消息中携带该UE接入的PLMN对应的位置区域。105: The third-party network element sends a Notification ACK message to the subscription database, and the message carries the location area corresponding to the PLMN accessed by the UE.
具体的,第三方网元通过签约数据库将UE接入的PLMN对应的位置区域通知给SGSN/MME/MSC/VLR。例如,第三方网元可以将该UE接入的PLMN对应的位置区域封装在对签约数据库透明的信元中,所谓“对签约数据库透明的信元”是指签约数据库不需要解析该信元,只需要将该信元发送给后续网元SGSN/MME/MSC/VLR。其中,该信元可以是透明容器Transparent container。Specifically, the third-party network element notifies the SGSN/MME/MSC/VLR of the location area corresponding to the PLMN accessed by the UE through the subscription database. For example, the third-party network element can encapsulate the location area corresponding to the PLMN accessed by the UE in an information element transparent to the subscription database. The so-called "information element transparent to the subscription database" means that the subscription database does not need to parse the information element. It is only necessary to send the information element to the subsequent network element SGSN/MME/MSC/VLR. Wherein, the cell may be a transparent container Transparent container.
进一步的,第三方网元还可以在该消息中向签约数据库指示上报类型,该上报类型包括但不限于上报用户进入位置区域、上报用户离开位置区域、上报用户进入和离开位置区域。Furthermore, the third-party network element may also indicate the reporting type to the subscription database in the message, and the reporting type includes but not limited to reporting that the user enters the location area, reporting that the user leaves the location area, and reporting that the user enters and leaves the location area.
106:签约数据库向SGSN/MME/MSC/VLR发送更新位置确认Update Location ACK消息,该消息中携带该UE接入的PLMN对应的位置区域。106: The subscription database sends an Update Location ACK message to the SGSN/MME/MSC/VLR, and the message carries the location area corresponding to the PLMN accessed by the UE.
进一步的,签约数据库还可以在该消息中向SGSN/MME/MSC/VLR指示该上报类型。Further, the subscription database may also indicate the reporting type to the SGSN/MME/MSC/VLR in the message.
107:SGSN/MME/MSC/VLR向UE发送接入确认消息,该消息中携带该UE接入的PLMN对应的位置区域。107: The SGSN/MME/MSC/VLR sends an access confirmation message to the UE, and the message carries the location area corresponding to the PLMN accessed by the UE.
其中,接入确认消息可以是Attach/TAU/RAU/LAU Accept(接受)消息。进一步的,SGSN/MME/MSC/VLR还可以在该消息中向UE指示该上报类型。Wherein, the access confirmation message may be an Attach/TAU/RAU/LAU Accept (accept) message. Further, the SGSN/MME/MSC/VLR may also indicate the reporting type to the UE in the message.
需要说明的是,本实施例对消息的名称不进行限定,可以是本实施例命名的消息,也可以是其他名称的消息。It should be noted that, this embodiment does not limit the name of the message, which may be the message named in this embodiment, or may be a message with another name.
经过步骤101-107,第三方网元获知UE接入的PLMN,并向网络(SGSN/MME/MSC/VLR)提供该PLMN对应的位置区域。后续,网络根据该PLMN对应的位置区域和该UE当前所在的位置确定UE进入或离开该PLMN对应的位置区域(图2中未示出),具体包括:After steps 101-107, the third-party network element learns the PLMN accessed by the UE, and provides the network (SGSN/MME/MSC/VLR) with the location area corresponding to the PLMN. Subsequently, the network determines according to the location area corresponding to the PLMN and the current location of the UE that the UE enters or leaves the location area corresponding to the PLMN (not shown in Figure 2), specifically including:
1)当UE处于连接态或Ready(准备就绪)态时,SGSN/MME/MSC/VLR从接入网网元获取UE当前所在的位置,比较UE当前所在的位置与UE接入的PLMN对应的位置区域是否相同或包含于该位置区域,如果是(即相同或包含于该位置区域),确定UE进入该PLMN对应的位置区域,如果否(即不同或不包含于该位置区域),确定该UE离开该PLMN对应的位置区域。1) When the UE is in the connected state or Ready (ready) state, the SGSN/MME/MSC/VLR obtains the current location of the UE from the network element of the access network, and compares the current location of the UE with the PLMN that the UE accesses. Whether the location area is the same or included in the location area, if yes (that is, the same or included in the location area), determine that the UE enters the location area corresponding to the PLMN, if not (that is, different or not included in the location area), determine the location area The UE leaves the location area corresponding to the PLMN.
其中,SGSN/MME/MSC/VLR从接入网网元获取UE当前所在的位置,包括:在GERAN(GSM EDGERadio Access Network,GSM EDGE无线接入网络)系统下,BSC(Base Station Controller,基站控制器)上报给SGSN UE当前所在的小区信息,在UTRAN(UMTS Terrestrial Radio AccessNetwork,UMTS陆地无线接入网)系统下,RNC(Radio Network Controller,无线网络控制器)上报给SGSN UE当前所在的路由区信息或小区信息,在E-UTRAN(Evolved UTRAN,演进UTRAN)系统下,eNodeB(Evolved Node B,演进基站)上报给MME UE当前所在的跟踪区信息或小区信息;或者,SGSN/MME/MSC/VLR根据自身为UE分配的RA(Route Area,路由区)列表或TA(Trace Area,跟踪去)列表获知UE当前所在的位置RA或TA。Among them, SGSN/MME/MSC/VLR obtains the current location of the UE from the network elements of the access network, including: under the GERAN (GSM EDGE Radio Access Network, GSM EDGE Wireless Access Network) system, BSC (Base Station Controller, base station control device) to report the cell information where the SGSN UE is currently located, under the UTRAN (UMTS Terrestrial Radio Access Network, UMTS Terrestrial Radio Access Network) system, the RNC (Radio Network Controller, radio network controller) reports to the routing area where the SGSN UE is currently located Information or cell information, under the E-UTRAN (Evolved UTRAN, evolved UTRAN) system, the eNodeB (Evolved Node B, evolved base station) reports to the MME UE the current tracking area information or cell information; or, SGSN/MME/MSC/ According to the RA (Route Area, routing area) list or TA (Trace Area, trace area) list assigned by the VLR to the UE, the VLR knows the current location RA or TA of the UE.
2)当UE处于空闲态或Standby(等待)态时,UE比较UE当前所在的位置与UE接入的PLMN对应的位置区域是否相同或包含于该位置区域,如果是(即相同或包含于该位置区域),确定UE进入该PLMN对应的位置区域,如果否(即不同或不包含于该位置区域),确定该UE离开该PLMN对应的位置区域。其中,UE通过接入网网元广播的位置信息(如小区信息,或路由区信息,或跟踪区信息等)获知UE当前所在的位置。2) When the UE is in the idle state or the Standby (waiting) state, the UE compares whether the current location of the UE is the same as or included in the location area corresponding to the PLMN accessed by the UE, and if so (that is, the same or included in the location area) location area), determine that the UE has entered the location area corresponding to the PLMN, and if not (that is, different or not included in the location area), determine that the UE has left the location area corresponding to the PLMN. Wherein, the UE obtains the current location of the UE through the location information (such as cell information, or routing area information, or tracking area information, etc.) broadcast by the network elements of the access network.
UE获知其进入或离开该位置区域之后,UE发起接入流程,以通知网络UE进入或离开所该位置区域。接入流程使UE由空闲态转为连接态,或者由Standby态转为Ready态,然后SGSN/MME/MSC/VLR可以执行与1)中相同的操作,这里不再赘述。该接入流程举例可以是RAU,TAU,LAU,Service Request(服务请求)等流程。After the UE knows that it enters or leaves the location area, the UE initiates an access procedure to notify the network that the UE enters or leaves the location area. The access process makes the UE change from the idle state to the connected state, or from the standby state to the ready state, and then the SGSN/MME/MSC/VLR can perform the same operations as in 1), which will not be repeated here. Examples of the access process can be RAU, TAU, LAU, Service Request (service request) and other processes.
UE获知其进入或离开该位置区域之后,UE发起接入流程,包括:After the UE knows that it has entered or left the location area, the UE initiates an access procedure, including:
第一种方法:如果网络未向UE指示上报类型,当UE进入或/和离开PLMN对应的位置区域时,UE向SGSN/MME/MSC/VLR发起接入流程。The first method: If the network does not indicate the reporting type to the UE, when the UE enters or/and leaves the location area corresponding to the PLMN, the UE initiates an access procedure to the SGSN/MME/MSC/VLR.
其中,当UE进入或/和离开PLMN对应的位置区域时,UE向SGSN/MME/MSC/VLR发起接入流程,具体是指:当UE进入PLMN对应的位置区域时,UE向SGSN/MME/MSC/VLR发起接入流程;或者,当UE离开PLMN对应的位置区域时,UE向SGSN/MME/MSC/VLR发起接入流程;或者,当UE进入PLMN对应的位置区域时、以及当UE离开PLMN对应的位置区域时,UE向SGSN/MME/MSC/VLR发起接入流程。Wherein, when the UE enters or/and leaves the location area corresponding to the PLMN, the UE initiates an access procedure to the SGSN/MME/MSC/VLR. The MSC/VLR initiates the access procedure; or, when the UE leaves the location area corresponding to the PLMN, the UE initiates the access procedure to the SGSN/MME/MSC/VLR; or, when the UE enters the location area corresponding to the PLMN, and when the UE leaves When the location area corresponding to the PLMN is selected, the UE initiates an access procedure to the SGSN/MME/MSC/VLR.
第二种方法:如果网络向UE指示了上报类型,当UE进入PLMN对应的位置区域且上报类型是上报UE进入位置区域时,或者当UE离开PLMN对应的位置区域且上报类型是上报UE离开位置区域时,或者当UE进入或离开PLMN对应的位置区域且上报类型是上报UE进入和离开位置区域时,UE向SGSN/MME/MSC/VLR发起接入流程。The second method: if the network indicates the reporting type to the UE, when the UE enters the location area corresponding to the PLMN and the reporting type is to report the UE entering the location area, or when the UE leaves the location area corresponding to the PLMN and the reporting type is to report the UE leaving the location area, or when the UE enters or leaves the location area corresponding to the PLMN and the reporting type is to report that the UE enters and leaves the location area, the UE initiates an access procedure to the SGSN/MME/MSC/VLR.
第三种方法:UE保存UE上次所在的位置(所述UE上次所在的位置是指在移动性管理流程中网络(SGSN/MME/MSC)指示给UE的UE所在的位置;或UE监听的网络广播的位置),如果网络未向UE指示上报类型,当UE确定满足进入接入条件或/和离开接入条件时,UE向SGSN/MME/MSC/VLR发起接入流程;如果网络向UE指示上报类型,当UE确定满足进入接入条件、且上报类型是上报UE进入位置区域时,或者当UE确定满足离开接入条件、且上报类型是上报UE离开位置区域时,或者当UE确定满足进入接入条件或离开接入条件、且上报类型是上报UE进入和离开位置区域时,UE向SGSN/MME/MSC/VLR发起接入流程。The third method: the UE saves the last location of the UE (the last location of the UE refers to the location of the UE indicated to the UE by the network (SGSN/MME/MSC) in the mobility management process; or the UE monitors The location broadcast by the network), if the network does not indicate the reporting type to the UE, when the UE determines that the entry access condition or/and exit access condition is met, the UE initiates an access procedure to the SGSN/MME/MSC/VLR; if the network sends The UE indicates the report type, when the UE determines that the access condition is satisfied and the report type is to report that the UE enters the location area, or when the UE determines that the exit access condition is met and the report type is to report that the UE leaves the location area, or when the UE determines that When the entry access condition or exit access condition is met, and the reporting type is to report that the UE enters or leaves the location area, the UE initiates an access procedure to the SGSN/MME/MSC/VLR.
其中,进入接入条件为:当UE确定其进入该位置区域之后(即UE当前所在的位置与UE接入的PLMN对应的位置区域相同或包含于该位置区域),如果UE上次所在的位置与该位置区域不同或不包含于该位置区域,则UE向SGSN/MME/MSC/VLR发起接入流程,以通知网络UE进入该位置区域;Among them, the access condition is: after the UE determines that it has entered the location area (that is, the current location of the UE is the same as or included in the location area corresponding to the PLMN that the UE accesses), if the location where the UE was last Different from the location area or not included in the location area, the UE initiates an access procedure to the SGSN/MME/MSC/VLR to notify the network that the UE enters the location area;
其中,离开接入条件为:当UE确定其离开该位置区域之后(即UE当前所在的位置与UE接入的PLMN对应的位置区域不同或不包含于该位置区域),如果UE上次所在的位置和该位置区域相同或包含于该位置区域,则UE向SGSN/MME/MSC/VLR发起接入流程,以通知网络UE离开该位置区域。Wherein, the leaving access condition is: after the UE determines that it has left the location area (that is, the current location of the UE is different from the location area corresponding to the PLMN that the UE accesses or is not included in the location area), if the location where the UE was last If the location is the same as the location area or included in the location area, the UE initiates an access procedure to the SGSN/MME/MSC/VLR to notify the network that the UE leaves the location area.
上述第三种方法可以避免UE重复发起接入流程,从而避免重复通知网络UE进入或离开所述位置区域。例如,当UE在该位置区域内移动时,UE中保存的UE上次所在的位置和该位置区域相同或包含于该位置区域,则UE即使获知UE当前所在的位置和该位置区域相同或包含于该位置区域,UE也不会发起接入流程。又例如,UE在该位置区域之外移动时,UE中保存UE上次所在的位置和该位置区域不同或不含于该位置区域,则UE即使获知UE当前所在的位置和该位置区域不同或不包含于该位置区域,UE也不会发起接入流程。The above third method can prevent the UE from repeatedly initiating an access procedure, thereby avoiding repeatedly notifying the network that the UE enters or leaves the location area. For example, when the UE moves within the location area, the last location of the UE saved in the UE is the same as or included in the location area, even if the UE knows that the current location of the UE is the same as or included in the location area In this location area, the UE will not initiate an access procedure. For another example, when the UE moves outside the location area, the last location of the UE stored in the UE is different from the location area or not included in the location area, even if the UE knows that the current location of the UE is different from the location area or If it is not included in the location area, the UE will not initiate the access procedure.
进一步的,网络(SGSN/MME/MSC/VLR)根据该PLMN对应的位置区域和UE当前所在的位置确定UE进入或离开该PLMN对应的位置区域之后,可以将UE进入或离开该PLMN对应的位置区域的事件上报给应用服务器(或除应用服务器之外的其他网元),应用服务器(或其他网元)可以根据该事件执行相应的业务管理和控制。Further, after the network (SGSN/MME/MSC/VLR) determines that the UE enters or leaves the location area corresponding to the PLMN according to the location area corresponding to the PLMN and the current location of the UE, the UE can enter or leave the location corresponding to the PLMN Regional events are reported to the application server (or other network elements except the application server), and the application server (or other network elements) can perform corresponding service management and control according to the event.
网络将UE进入或离开该PLMN对应的位置区域的事件上报给应用服务器(或除应用服务器之外的其他网元),包括:The network reports the event that the UE enters or leaves the location area corresponding to the PLMN to the application server (or other network elements except the application server), including:
第一种方法:如果网络未接收到上报类型,当确定UE进入或/和离开PLMN对应的位置区域时,网络上报UE进入或离开该PLMN对应的位置区域的事件;The first method: if the network does not receive the report type, when it is determined that the UE enters or/and leaves the location area corresponding to the PLMN, the network reports the event that the UE enters or leaves the location area corresponding to the PLMN;
第二种方法:如果网络接收到上报类型,当确定UE进入PLMN对应的位置区域且上报类型是上报UE进入位置区域时,网络上报UE进入该PLMN对应的位置区域的事件;或者当确定UE离开PLMN对应的位置区域且上报类型是上报UE离开位置区域时,网络上报UE离开该PLMN对应的位置区域的事件;或者当确定UE进入或离开PLMN对应的位置区域且上报类型是上报UE进入和离开位置区域时,网络上报UE进入或离开该PLMN对应的位置区域的事件;The second method: if the network receives the report type, when it is determined that the UE enters the location area corresponding to the PLMN and the report type is to report that the UE enters the location area, the network reports the event that the UE enters the location area corresponding to the PLMN; or when it is determined that the UE leaves The location area corresponding to the PLMN and the reporting type is to report that the UE leaves the location area, the network reports the event that the UE leaves the location area corresponding to the PLMN; or when it is determined that the UE enters or leaves the location area corresponding to the PLMN and the reporting type is to report the UE entering and leaving In the location area, the network reports the event that the UE enters or leaves the location area corresponding to the PLMN;
第三种方法:网络保存UE上次所在的位置(网络保存的UE上次所在的位置是指网络(SGSN/MME/MSC)中UE上下文保存的UE的位置),如果网络未向UE指示上报类型,当确定UE满足进入上报条件或/和离开上报条件时,则网络上报UE进入或离开该PLMN对应的位置区域的事件;The third method: the network saves the last location of the UE (the last location of the UE saved by the network refers to the location of the UE saved by the UE context in the network (SGSN/MME/MSC)), if the network does not indicate to the UE to report Type, when it is determined that the UE meets the entry reporting condition or/and leaving the reporting condition, the network reports the event that the UE enters or leaves the location area corresponding to the PLMN;
如果网络向UE指示上报类型,当确定UE满足进入上报条件、且上报类型是上报UE进入位置区域时,网络上报UE进入该PLMN对应的位置区域的事件;或者当UE确定满足离开上报条件、且上报类型是上报UE离开位置区域时,网络上报UE离开该PLMN对应的位置区域的事件;或者当UE确定满足进入上报条件或离开上报条件、且上报类型是上报UE进入和离开位置区域时,网络上报UE进入或离开该PLMN对应的位置区域的事件。If the network indicates the reporting type to the UE, when it is determined that the UE meets the entry reporting condition and the reporting type is to report that the UE enters the location area, the network reports the event that the UE enters the location area corresponding to the PLMN; or when the UE determines that the leaving report condition is met, and The report type is to report that when the UE leaves the location area, the network reports the event that the UE leaves the location area corresponding to the PLMN; or when the UE determines that the entry report condition or the exit report condition is met, and the report type is to report that the UE enters and leaves the location area, the network Report the event that the UE enters or leaves the location area corresponding to the PLMN.
其中,进入上报条件为:当确定UE进入该位置区域之后(即UE当前所在的位置与UE接入的PLMN对应的位置区域相同或包含于该位置区域),如果UE上次所在的位置与该位置区域不同或不包含于该位置区域,则网络上报UE进入该PLMN对应的位置区域的事件;Among them, the entry reporting condition is: after it is determined that the UE has entered the location area (that is, the current location of the UE is the same as or included in the location area corresponding to the PLMN that the UE accesses), if the location where the UE was last The location area is different or not included in the location area, then the network reports the event that the UE enters the location area corresponding to the PLMN;
其中,离开上报条件为:当确定UE离开该位置区域之后(即UE当前所在的位置与UE接入的PLMN对应的位置区域不同或不包含于该位置区域),如果UE上次所在的位置和该位置区域相同或包含于该位置区域,则网络上报UE离开该PLMN对应的位置区域的事件。Wherein, the leaving reporting condition is: after it is determined that the UE has left the location area (that is, the current location of the UE is different from the location area corresponding to the PLMN that the UE accesses or is not included in the location area), if the location where the UE was last time and If the location area is the same as or included in the location area, the network reports the event that the UE leaves the location area corresponding to the PLMN.
上述第三种方法可以避免网络重复上报UE进入或离开该位置区域的事件。例如,当UE在该位置区域内移动时,网络中保存的UE上次所在的位置和该位置区域相同或包含于该位置区域,则网络即使获知UE当前所在的位置和该位置区域相同或包含于该位置区域,网络也不会发起上报流程。又例如,当UE在该位置区域内之外移动时,网络中保存的UE上次所在的位置和该位置区域不同或不包含于该位置区域,则网络即使获知UE当前所在的位置和该位置区域不同或不包含于所述位置区域,网络也不会发起上报流程。The above third method can prevent the network from repeatedly reporting the event that the UE enters or leaves the location area. For example, when the UE moves within the location area, the last location of the UE saved in the network is the same as or included in the location area, even if the network knows that the current location of the UE is the same as or included in the location area In this location area, the network will not initiate the reporting procedure. For another example, when the UE moves outside the location area, the last location of the UE saved in the network is different from the location area or not included in the location area, even if the network knows the current location of the UE and the location area If the area is different or not included in the location area, the network will not initiate the reporting procedure.
本实施例通过获知UE接入的PLMN,向网络提供该PLMN对应的位置区域,以使该网络根据该PLMN对应的位置区域和该UE当前所在的位置确定该用户进入或离开该PLMN对应的位置区域。同时,只需第三方网元存储所有UE可接入的PLMN对应的位置区域,SGSN/MME/MSC/VLR无须存储,减少了网络中存在的冗余信息,并且当UE在多个PLMN间漫游时,无需UE的归属PLMN运营商的签约数据库中签约其他运营商的PLMN对应的位置区域,降低了网络的运维成本。In this embodiment, the location area corresponding to the PLMN is provided to the network by knowing the PLMN that the UE accesses, so that the network determines the location where the user enters or leaves the PLMN according to the location area corresponding to the PLMN and the current location of the UE. area. At the same time, only the third-party network element needs to store the location areas corresponding to all PLMNs that the UE can access, and the SGSN/MME/MSC/VLR does not need to store them, which reduces the redundant information in the network, and when the UE roams between multiple PLMNs In this case, the location area corresponding to the PLMN of other operators in the subscription database of the UE's home PLMN operator is not required, which reduces the network operation and maintenance cost.
实施例4Example 4
参见图4,本实施例提供了一种用户位置改变的检测方法,该方法中签约数据库中签约所有UE可接入的PLMN对应的位置区域,该方法具体包括:Referring to FIG. 4 , this embodiment provides a method for detecting a user location change, in which the method subscribes to the location area corresponding to the PLMN accessible to all UEs in the subscription database, and the method specifically includes:
201:UE向SGSN/MME/MSC/VLR发送接入请求消息。201: The UE sends an access request message to the SGSN/MME/MSC/VLR.
其中,接入请求消息可以是Attach/TAU/RAU/LAU Request消息。“/”表示“或者”的意思。Wherein, the access request message may be an Attach/TAU/RAU/LAU Request message. "/" means "or".
202:SGSN/MME/MSC/VLR向签约数据库发送更新位置请求Update Location Request消息,该消息中携带UE接入PLMN的PLMN标识。202: The SGSN/MME/MSC/VLR sends an Update Location Request message to the subscription database, and the message carries the PLMN identifier for the UE to access the PLMN.
其中,签约数据库是HLR/HSS。Wherein, the subscription database is HLR/HSS.
203:签约数据库接收到更新位置请求消息后,根据签约的所有UE可接入的PLMN对应的位置区域,查询得到UE接入PLMN的PLMN标识对应的位置区域。203: After receiving the location update request message, the subscription database queries and obtains the location area corresponding to the PLMN identifier of the UE accessing the PLMN according to the location areas corresponding to the PLMNs accessible to all subscribed UEs.
204:签约数据库向SGSN/MME/MSC/VLR发送更新位置确认Update Location ACK消息,该消息中携带该UE接入的PLMN对应的位置区域。204: The subscription database sends an Update Location ACK message to the SGSN/MME/MSC/VLR, and the message carries the location area corresponding to the PLMN accessed by the UE.
进一步的,签约数据库还可以在该消息中向SGSN/MME/MSC/VLR指示上报类型,该上报类型包括但不限于上报用户进入位置区域、上报用户离开位置区域、上报用户进入和离开位置区域。Further, the subscription database may also indicate the reporting type to the SGSN/MME/MSC/VLR in the message, and the reporting type includes but not limited to reporting that the user enters the location area, reporting that the user leaves the location area, and reporting that the user enters and leaves the location area.
205:SGSN/MME/MSC/VLR向用户的UE发送接入确认消息,该消息中携带该UE接入的PLMN对应的位置区域。205: The SGSN/MME/MSC/VLR sends an access confirmation message to the UE of the user, and the message carries the location area corresponding to the PLMN accessed by the UE.
其中,接入确认消息可以是Attach/TAU/RAU/LAU Accept(接受)消息。进一步的,SGSN/MME/MSC/VLR还可以在该消息中向UE指示该上报类型。Wherein, the access confirmation message may be an Attach/TAU/RAU/LAU Accept (accept) message. Further, the SGSN/MME/MSC/VLR may also indicate the reporting type to the UE in the message.
需要说明的是,本实施例对消息的名称不进行限定,可以是本实施例命名的消息,也可以是其他名称的消息。It should be noted that, this embodiment does not limit the name of the message, which may be the message named in this embodiment, or may be a message with another name.
经过步骤201-205,签约数据库获知UE接入的PLMN,并向网络(SGSN/MME/MSC/VLR)提供PLMN对应的位置区域。后续,网络根据PLMN对应的位置区域和UE当前所在的位置获知该UE进入或离开PLMN对应的位置区域(图3中未示出),具体可以参考实施2。After steps 201-205, the subscription database learns the PLMN accessed by the UE, and provides the network (SGSN/MME/MSC/VLR) with the location area corresponding to the PLMN. Subsequently, the network learns that the UE enters or leaves the location area corresponding to the PLMN (not shown in FIG. 3 ) according to the location area corresponding to the PLMN and the current location of the UE. For details, refer to Implementation 2.
进一步的,网络(SGSN/MME/MSC/VLR)根据该PLMN对应的位置区域和UE所在的位置获知该UE进入或离开PLMN对应的位置区域之后,可以将UE进入或离开该PLMN对应的位置区域的事件上报给应用服务器(或除应用服务器之外的其他网元),具体可以参考实施2,应用服务器(或其他网元)可以根据该事件执行相应的业务管理和控制。Further, after the network (SGSN/MME/MSC/VLR) learns that the UE enters or leaves the location area corresponding to the PLMN according to the location area corresponding to the PLMN and the location of the UE, the UE can enter or leave the location area corresponding to the PLMN The event is reported to the application server (or other network elements except the application server). For details, please refer to Implementation 2. The application server (or other network elements) can perform corresponding service management and control according to the event.
本实施例通过获知UE接入的PLMN,向网络提供该PLMN对应的位置区域,以使该网络根据该PLMN对应的位置区域和UE当前所在的位置确定该UE进入或离开该PLMN对应的位置区域。同时,只需签约数据库存储所有UE可接入的PLMN对应的位置区域,SGSN/MME/MSC/VLR无须存储,减少了网络中存在的冗余信息,降低了网络的运维成本。In this embodiment, the location area corresponding to the PLMN is provided to the network by knowing the PLMN accessed by the UE, so that the network determines that the UE enters or leaves the location area corresponding to the PLMN according to the location area corresponding to the PLMN and the current location of the UE. . At the same time, only the subscription database needs to store the location areas corresponding to all PLMNs that UEs can access, and SGSN/MME/MSC/VLR do not need to store them, which reduces redundant information in the network and reduces network operation and maintenance costs.
实施例5Example 5
参见图5,本实施例提供了一种用户位置改变的检测装置,该装置可以是签约数据库或第三方网元,该装置包括:Referring to Fig. 5, this embodiment provides a detection device for user location change, the device may be a subscription database or a third-party network element, the device includes:
位置获取模块501,用于获知用户设备UE接入的公众陆地移动通信网PLMN;A location obtaining module 501, configured to obtain the public land mobile communication network PLMN accessed by the user equipment UE;
位置提供模块502,用于根据UE接入的PLMN,向网络提供PLMN对应的位置区域,以使网络根据PLMN对应的位置区域和UE当前所在的位置获知UE进入或离开PLMN对应的位置区域。The location providing module 502 is configured to provide the network with the location area corresponding to the PLMN according to the PLMN accessed by the UE, so that the network can know that the UE enters or leaves the location area corresponding to the PLMN according to the location area corresponding to the PLMN and the current location of the UE.
当该装置是签约数据库时,签约数据库在执行位置提供模块502之前,签约所有UE可接入的PLMN对应的位置区域;When the device is a subscription database, before executing the location providing module 502, the subscription database subscribes to the location areas corresponding to the PLMNs accessible to all UEs;
或者,当该装置是第三方网元时,第三方网元在执行位置提供模块502之前,存储所有UE可接入的PLMN对应的位置区域。Or, when the device is a third-party network element, the third-party network element stores location areas corresponding to all PLMNs accessible to the UE before executing the location providing module 502 .
当装置是签约数据库时,位置提供模块502用于根据UE接入的PLMN,将PLMN对应的位置区域发送给移动性管理网元、移动交换中心MSC、或者拜访位置寄存器VLR;When the device is a subscription database, the location providing module 502 is configured to send the location area corresponding to the PLMN to the mobility management network element, the mobile switching center MSC, or the visitor location register VLR according to the PLMN accessed by the UE;
或者,当装置是第三方网元时,位置提供模块502用于根据UE接入的PLMN,将PLMN对应的位置区域发送给签约数据库,签约数据库将PLMN对应的位置区域发送给移动性管理网元、移动交换中心MSC、或者拜访位置寄存器VLR。Or, when the device is a third-party network element, the location providing module 502 is configured to send the location area corresponding to the PLMN to the subscription database according to the PLMN accessed by the UE, and the subscription database sends the location area corresponding to the PLMN to the mobility management network element , Mobile Switching Center MSC, or Visitor Location Register VLR.
当装置是第三方网元时,位置提供模块502具体用于When the device is a third-party network element, the location providing module 502 is specifically used to
根据UE接入的PLMN,将PLMN对应的位置区域封装在对签约数据库透明的信元中,将信元发送给签约数据库,签约数据库将信元发送给移动性管理网元、移动交换中心MSC、或者拜访位置寄存器VLR。According to the PLMN that the UE accesses, the location area corresponding to the PLMN is encapsulated in cells transparent to the subscription database, and the cells are sent to the subscription database, and the subscription database sends the cells to the mobility management network element, mobile switching center MSC, Or the visitor location register VLR.
本实施例通过获知UE接入的PLMN,向网络提供该PLMN对应的位置区域,以使该网络根据该PLMN对应的位置区域和该UE当前所在的位置确定该用户进入或离开该PLMN对应的位置区域。In this embodiment, the location area corresponding to the PLMN is provided to the network by knowing the PLMN that the UE accesses, so that the network determines the location where the user enters or leaves the PLMN according to the location area corresponding to the PLMN and the current location of the UE. area.
实施例6Example 6
参见图6,本实施例提供了一种用户位置改变的检测装置,该装置可以为移动性管理网元、移动交换中心MSC、或者拜访位置寄存器VLR,该装置包括:Referring to FIG. 6, this embodiment provides a device for detecting a user location change. The device may be a mobility management network element, a mobile switching center MSC, or a visitor location register VLR. The device includes:
位置获取模块601,用于获取用户设备UE接入的公众陆地移动通信网PLMN对应的位置区域;A location acquisition module 601, configured to acquire a location area corresponding to the public land mobile communication network PLMN accessed by the user equipment UE;
位置确定模块602,用于根据PLMN对应的位置区域和UE当前所在的位置获知UE进入或离开PLMN对应的位置区域。The location determining module 602 is configured to know that the UE enters or leaves the location area corresponding to the PLMN according to the location area corresponding to the PLMN and the current location of the UE.
位置确定模块602,包括:The position determination module 602 includes:
位置获取单元602a,用于从接入网网元获取UE当前所在的位置;A location obtaining unit 602a, configured to obtain the current location of the UE from an access network element;
以及位置确定单元602b,用于比较UE当前所在的位置与PLMN对应的位置区域是否相同或包含于PLMN对应的位置区域,如果是,确定UE进入PLMN对应的位置区域,如果否,确定UE离开PLMN对应的位置区域。And the location determination unit 602b is used to compare whether the current location of the UE is the same as the location area corresponding to the PLMN or whether it is included in the location area corresponding to the PLMN, if yes, determine that the UE enters the location area corresponding to the PLMN, and if not, determine that the UE leaves the PLMN corresponding location area.
位置获取单元602a,具体用于:The location acquisition unit 602a is specifically used for:
将PLMN对应的位置区域发送给UE,使UE比较UE当前所在的位置与PLMN对应的位置区域是否相同或包含于PLMN对应的位置区域,如果是,确定UE进入PLMN对应的位置区域,如果否,确定UE离开PLMN对应的位置区域,UE根据确定结果发起接入流程;在接入流程中从接入网网元获取UE所在的位置。Send the location area corresponding to the PLMN to the UE, so that the UE compares whether the current location of the UE is the same as the location area corresponding to the PLMN or is included in the location area corresponding to the PLMN, if yes, determines that the UE enters the location area corresponding to the PLMN, if not, It is determined that the UE has left the location area corresponding to the PLMN, and the UE initiates an access procedure according to the determination result; in the access procedure, the location of the UE is obtained from the network element of the access network.
其中,UE根据确定结果发起接入流程,包括:Wherein, the UE initiates an access procedure according to the determination result, including:
如果未向UE指示上报类型,当UE进入或/和离开PLMN对应的位置区域时,UE发起接入流程;If the reporting type is not indicated to the UE, when the UE enters or/and leaves the location area corresponding to the PLMN, the UE initiates an access procedure;
如果向UE指示了上报类型,当UE进入PLMN对应的位置区域且上报类型是上报UE进入位置区域时,或者当UE离开PLMN对应的位置区域且上报类型是上报UE离开位置区域时,或者当UE进入或离开PLMN对应的位置区域且上报类型是上报UE进入和离开位置区域时,UE发起接入流程;If the report type is indicated to the UE, when the UE enters the location area corresponding to the PLMN and the report type is to report that the UE enters the location area, or when the UE leaves the location area corresponding to the PLMN and the report type is to report that the UE leaves the location area, or when the UE When entering or leaving the location area corresponding to the PLMN and the reporting type is to report that the UE enters and leaves the location area, the UE initiates an access procedure;
UE保存UE上次所在的位置,如果未向UE指示上报类型,当UE确定满足进入接入条件或/和离开接入条件时,UE发起接入流程;如果向UE指示上报类型,当UE确定满足进入接入条件、且上报类型是上报UE进入位置区域时,或者当UE确定满足离开接入条件、且上报类型是上报UE离开位置区域时,或者当UE确定满足进入接入条件或离开接入条件、且上报类型是上报UE进入和离开位置区域时,UE发起接入流程;其中,进入接入条件为:当确定UE进入PLMN对应的位置区域之后,如果UE上次所在的位置与PLMN对应的位置区域不同或不包含于PLMN对应的位置区域;其中,离开接入条件为:当确定UE离开PLMN对应的位置区域之后,如果UE上次所在的位置与PLMN对应的位置区域相同或包含于PLMN对应的位置区域。The UE saves the last location of the UE. If the reporting type is not indicated to the UE, when the UE determines that the entry access condition or/and exit access condition is satisfied, the UE initiates an access procedure; if the reporting type is indicated to the UE, when the UE determines When the entry access condition is met and the report type is to report that the UE enters the location area, or when the UE determines that the exit access condition is met and the report type is to report that the UE leaves the location area, or when the UE determines that the entry access condition is met or the UE leaves the location area When the UE enters and leaves the location area, the UE initiates the access procedure; where the entry access condition is: after it is determined that the UE enters the location area corresponding to the PLMN, if the location where the UE was last time is not the same as the PLMN The corresponding location area is different from or not included in the location area corresponding to the PLMN; wherein, the leaving access condition is: after it is determined that the UE has left the location area corresponding to the PLMN, if the last location of the UE is the same as or includes the location area corresponding to the PLMN The location area corresponding to the PLMN.
该装置还包括:事件上报模块603,用于位置确定模块602之后,将UE进入或/和离开PLMN对应的位置区域的事件上报给应用服务器或除应用服务器之外的其他网元。The device also includes: an event reporting module 603, configured to report the event of the UE entering or/and leaving the location area corresponding to the PLMN to the application server or other network elements except the application server after the location determination module 602.
具体的,specific,
如果未接收到上报类型,当确定UE进入或/和离开PLMN对应的位置区域时,上报UE进入或离开PLMN对应的位置区域的事件;If the report type is not received, when it is determined that the UE enters or/and leaves the location area corresponding to the PLMN, report the event that the UE enters or leaves the location area corresponding to the PLMN;
或者,or,
如果接收到上报类型,当确定UE进入PLMN对应的位置区域且上报类型是上报UE进入位置区域时,上报UE进入PLMN对应的位置区域的事件;或者当确定UE离开PLMN对应的位置区域且上报类型是上报UE离开位置区域时,上报UE离开PLMN对应的位置区域的事件;或者当确定UE进入或离开PLMN对应的位置区域且上报类型是上报UE进入和离开位置区域时,上报UE进入或离开PLMN对应的位置区域的事件;If the report type is received, when it is determined that the UE enters the location area corresponding to the PLMN and the report type is to report that the UE enters the location area, report the event that the UE enters the location area corresponding to the PLMN; or when it is determined that the UE leaves the location area corresponding to the PLMN and the report type It is to report the event that the UE leaves the location area corresponding to the PLMN when the UE leaves the location area; or when it is determined that the UE enters or leaves the location area corresponding to the PLMN and the reporting type is to report that the UE enters or leaves the location area, report that the UE enters or leaves the PLMN events in the corresponding location area;
或者,or,
保存UE上次所在的位置,如果未向UE指示上报类型,当确定UE满足进入上报条件或/和离开上报条件时,上报UE进入或离开PLMN对应的位置区域的事件;如果向UE指示了上报类型,当确定UE满足进入上报条件、且上报类型是上报UE进入位置区域时,报UE进入PLMN对应的位置区域的事件;或者当UE确定满足离开上报条件、且上报类型是上报UE离开位置区域时,上报UE离开PLMN对应的位置区域的事件;或者当UE确定满足进入上报条件或离开上报条件、且上报类型是上报UE进入和离开位置区域时,上报UE进入或离开PLMN对应的位置区域的事件;其中,进入上报条件为:当确定UE进入PLMN对应的位置区域之后,如果UE上次所在的位置与PLMN对应的位置区域不同或不包含于PLMN对应的位置区域;其中,离开上报条件为:当确定UE离开PLMN对应的位置区域之后,如果UE上次所在的位置与PLMN对应的位置区域相同或包含于PLMN对应的位置区域。Save the last location of the UE. If the reporting type is not indicated to the UE, when it is determined that the UE meets the entry reporting condition or/and leaving the reporting condition, report the event that the UE enters or leaves the location area corresponding to the PLMN; if the UE is instructed to report Type, when it is determined that the UE meets the reporting conditions for entry and the reporting type is to report that the UE has entered the location area, report the event that the UE enters the location area corresponding to the PLMN; or when the UE determines that it meets the reporting conditions for leaving report the event that the UE leaves the location area corresponding to the PLMN; or when the UE determines that the entry report condition or the exit report condition is met, and the report type is to report that the UE enters or leaves the location area, report the event that the UE enters or leaves the location area corresponding to the PLMN Event; wherein, the entry reporting condition is: after it is determined that the UE enters the location area corresponding to the PLMN, if the location where the UE was last time is different from the location area corresponding to the PLMN or is not included in the location area corresponding to the PLMN; wherein, the exit reporting condition is : After it is determined that the UE has left the location area corresponding to the PLMN, if the last location of the UE is the same as the location area corresponding to the PLMN or included in the location area corresponding to the PLMN.
本实施例通过获取UE接入的PLMN对应的位置区域,根据该PLMN对应的位置区域和该UE当前所在的位置确定该用户进入或离开该PLMN对应的位置区域。In this embodiment, by obtaining the location area corresponding to the PLMN accessed by the UE, it is determined according to the location area corresponding to the PLMN and the current location of the UE that the user enters or leaves the location area corresponding to the PLMN.
实施例7Example 7
参见图7,本实施例提供了一种用户位置改变的检测装置,该装置具体可以是用户设备UE,该装置包括:Referring to FIG. 7, this embodiment provides an apparatus for detecting a user location change. The apparatus may specifically be a user equipment UE, and the apparatus includes:
接收模块701,用于接收网络发送的UE接入的PLMN对应的位置区域;The receiving module 701 is configured to receive the location area corresponding to the PLMN accessed by the UE sent by the network;
确定模块702,用于比较UE当前所在的位置与PLMN对应的位置区域是否相同或包含于PLMN对应的位置区域,如果是,确定UE进入PLMN对应的位置区域,如果否,确定UE离开PLMN对应的位置区域;The determination module 702 is used to compare whether the current location of the UE is the same as the location area corresponding to the PLMN or whether it is included in the location area corresponding to the PLMN, if yes, determine that the UE enters the location area corresponding to the PLMN, and if not, determine that the UE leaves the location area corresponding to the PLMN location area;
接入模块703,用于根据确定结果向网络发起接入流程,使网络在接入流程中从接入网网元获取UE当前所在的位置,网络比较UE当前所在的位置与PLMN对应的位置区域是否相同或包含于PLMN对应的位置区域,如果是,确定UE进入PLMN对应的位置区域,如果否,确定UE离开PLMN对应的位置区域。The access module 703 is configured to initiate an access process to the network according to the determination result, so that the network obtains the current location of the UE from the network element of the access network during the access process, and the network compares the current location of the UE with the location area corresponding to the PLMN Whether they are the same or included in the location area corresponding to the PLMN, if yes, determine that the UE enters the location area corresponding to the PLMN, and if not, determine that the UE leaves the location area corresponding to the PLMN.
其中,接入模块703,具体用于Among them, the access module 703 is specifically used for
如果网络未向UE指示上报类型,当UE进入或/和离开PLMN对应的位置区域时,UE向网络发起接入流程;If the network does not indicate the reporting type to the UE, when the UE enters or/and leaves the location area corresponding to the PLMN, the UE initiates an access procedure to the network;
或者,or,
如果网络向UE指示了上报类型,当UE进入PLMN对应的位置区域且上报类型是上报UE进入位置区域时,或者当UE离开PLMN对应的位置区域且上报类型是上报UE离开位置区域时,或者当UE进入或离开PLMN对应的位置区域且上报类型是上报UE进入和离开位置区域时,UE向网络发起接入流程;If the network indicates the reporting type to the UE, when the UE enters the location area corresponding to the PLMN and the reporting type is to report that the UE enters the location area, or when the UE leaves the location area corresponding to the PLMN and the reporting type is to report that the UE has left the location area, or when When the UE enters or leaves the location area corresponding to the PLMN and the reporting type is to report that the UE enters or leaves the location area, the UE initiates an access procedure to the network;
或者,or,
UE保存UE上次所在的位置,如果网络未向UE指示上报类型,当UE确定满足进入接入条件或/和离开接入条件时,UE向网络发起接入流程;如果网络向UE指示上报类型,当UE确定满足进入接入条件、且上报类型是上报UE进入位置区域时,或者当UE确定满足离开接入条件、且上报类型是上报UE离开位置区域时,或者当UE确定满足进入接入条件或离开接入条件、且上报类型是上报UE进入和离开位置区域时,UE向网络发起接入流程;The UE saves the last location of the UE. If the network does not indicate the reporting type to the UE, when the UE determines that the access conditions for entering or/and leaving the access are met, the UE initiates an access procedure to the network; if the network indicates the reporting type for the UE , when the UE determines that the entry access condition is met, and the report type is to report that the UE enters the location area, or when the UE determines that the exit access condition is met, and the report type is to report that the UE leaves the location area, or when the UE determines that the entry access condition is satisfied condition or exit access condition, and the reporting type is to report when the UE enters and leaves the location area, the UE initiates an access procedure to the network;
其中,进入接入条件为:当确定UE进入PLMN对应的位置区域之后,如果UE上次所在的位置与PLMN对应的位置区域不同或不包含于PLMN对应的位置区域,UE向网络发起接入流程;Among them, the entry access condition is: after it is determined that the UE has entered the location area corresponding to the PLMN, if the location where the UE was last time is different from the location area corresponding to the PLMN or is not included in the location area corresponding to the PLMN, the UE initiates an access procedure to the network ;
其中,离开接入条件为:当确定UE离开PLMN对应的位置区域之后,如果UE上次所在的位置与PLMN对应的位置区域相同或包含于PLMN对应的位置区域,UE向网络发起接入流程。Wherein, the leaving access condition is: after it is determined that the UE has left the location area corresponding to the PLMN, if the location where the UE was last time is the same as or included in the location area corresponding to the PLMN, the UE initiates an access procedure to the network.
本实施例通过比较UE当前所在的位置与PLMN对应的位置区域是否相同或包含于PLMN对应的位置区域,如果是,确定UE进入PLMN对应的位置区域,如果否,确定UE离开PLMN对应的位置区域,根据确定结果向网络发起接入流程,使网络在接入流程中从接入网网元获取UE当前所在的位置,根据该PLMN对应的位置区域和该UE当前所在的位置确定该用户进入或离开该PLMN对应的位置区域。In this embodiment, by comparing whether the current location of the UE is the same as the location area corresponding to the PLMN or included in the location area corresponding to the PLMN, if yes, it is determined that the UE enters the location area corresponding to the PLMN, and if not, it is determined that the UE leaves the location area corresponding to the PLMN , initiating an access process to the network according to the determination result, so that the network obtains the current location of the UE from the network element of the access network during the access process, and determines that the user enters or is located according to the location area corresponding to the PLMN and the current location of the UE Leave the location area corresponding to the PLMN.
本发明实施例可以利用软件实现,相应的软件程序可以存储在可读取的存储介质中,例如,计算机的硬盘、缓存或光盘中。The embodiment of the present invention can be realized by software, and the corresponding software program can be stored in a readable storage medium, for example, a hard disk, cache or optical disk of a computer.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.
Claims (27)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/073113 WO2011107060A2 (en) | 2011-04-21 | 2011-04-21 | Method and apparatus for detecting change of subscriber location |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102273247A CN102273247A (en) | 2011-12-07 |
CN102273247B true CN102273247B (en) | 2013-11-06 |
Family
ID=44542644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201180000449.2A Active CN102273247B (en) | 2011-04-21 | 2011-04-21 | Method and apparatus for detecting change of subscriber location |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102273247B (en) |
WO (1) | WO2011107060A2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104935495B (en) * | 2014-03-19 | 2019-04-23 | 华为技术有限公司 | Determine method, unified communication system and the relevant device of User Status |
US9774995B2 (en) * | 2014-05-09 | 2017-09-26 | Microsoft Technology Licensing, Llc | Location tracking based on overlapping geo-fences |
CN109495942B (en) * | 2017-09-12 | 2021-10-26 | 华为技术有限公司 | Data transmission method, device and system based on user equipment position |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1914833A (en) * | 2004-01-31 | 2007-02-14 | 三星电子株式会社 | Method for locating mobile terminals |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100790093B1 (en) * | 2005-01-27 | 2007-12-31 | 삼성전자주식회사 | Method and device for receiving terminal information by determining validity of system information in a network sharing system |
KR100914882B1 (en) * | 2007-04-02 | 2009-08-31 | 삼성전자주식회사 | Method for searching of network in wireless communication system |
CA2685841C (en) * | 2007-04-30 | 2013-06-11 | Interdigital Technology Corporation | A home (e)node-b with new functionality |
-
2011
- 2011-04-21 WO PCT/CN2011/073113 patent/WO2011107060A2/en active Application Filing
- 2011-04-21 CN CN201180000449.2A patent/CN102273247B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1914833A (en) * | 2004-01-31 | 2007-02-14 | 三星电子株式会社 | Method for locating mobile terminals |
Also Published As
Publication number | Publication date |
---|---|
WO2011107060A2 (en) | 2011-09-09 |
WO2011107060A3 (en) | 2012-03-22 |
CN102273247A (en) | 2011-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10945193B2 (en) | Congestion control in a network | |
US9241254B2 (en) | Method and system for determining reachability of terminal group | |
US9078119B2 (en) | Method and system for acquiring information of machine type communication user equipment | |
US9300480B2 (en) | Method for monitoring machine type communication device in mobile communication system | |
EP2154859B1 (en) | Method for idle mode signaling reduction and the system thereof | |
US8942175B2 (en) | Method for controlling MTC service network overload in mobile communication system and device thereof | |
CN102934489B (en) | Method, device and system for reporting location | |
US20160014630A1 (en) | Processing method for minimization of drive tests, network device, and communications system | |
US20210112462A1 (en) | Monitoring Event Management Method and Apparatus | |
US9622212B2 (en) | Paging method and device | |
EP3216238A1 (en) | Group communication function for delivering group communication messages in communication netwoks | |
CN102835162A (en) | Method, device and system for paging terminal | |
CN102264036A (en) | Method and system for activating offline terminal and machine type communication terminal | |
WO2017063484A1 (en) | Method and apparatus for handing over terminal device to target cell, and base station | |
CN105792155A (en) | Circuit domain fallback method, communication device and communication system | |
US9661607B2 (en) | Paging area control apparatus, paging area control method, transfer apparatus, mobile communication system, mobile station, and computer readable medium | |
CN102273247B (en) | Method and apparatus for detecting change of subscriber location | |
WO2011050688A1 (en) | Method and system for obtaining machine type communication terminal information | |
WO2012072013A1 (en) | Method for distributing paging, core network apparatus and access network apparatus | |
US20120184262A1 (en) | HLR Reset Signaling via S6A in EPS | |
EP2717546A1 (en) | Method and device for acquiring destination ip address | |
CN102307339A (en) | Access method and device, and method and device for acquiring user equipment context and user equipment identity | |
CN105284162B (en) | Motion management method, equipment and system | |
CN103782629B (en) | It is switched to the methods, devices and systems of circuit commutative field | |
US8903386B2 (en) | MME name in MAP Insert Subscriber Data operation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210427 Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Device Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
CP03 | Change of name, title or address |
Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Terminal Co.,Ltd. Country or region after: China Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before: Honor Device Co.,Ltd. Country or region before: China |