WO2011157189A2 - Method, device and system for reporting location - Google Patents

Method, device and system for reporting location Download PDF

Info

Publication number
WO2011157189A2
WO2011157189A2 PCT/CN2011/075395 CN2011075395W WO2011157189A2 WO 2011157189 A2 WO2011157189 A2 WO 2011157189A2 CN 2011075395 W CN2011075395 W CN 2011075395W WO 2011157189 A2 WO2011157189 A2 WO 2011157189A2
Authority
WO
WIPO (PCT)
Prior art keywords
user equipment
target location
information
location area
event
Prior art date
Application number
PCT/CN2011/075395
Other languages
French (fr)
Chinese (zh)
Other versions
WO2011157189A3 (en
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 华为技术有限公司
Priority to CN201180000996.0A priority Critical patent/CN102934489B/en
Priority to PCT/CN2011/075395 priority patent/WO2011157189A2/en
Publication of WO2011157189A2 publication Critical patent/WO2011157189A2/en
Publication of WO2011157189A3 publication Critical patent/WO2011157189A3/en

Links

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/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a location reporting method, device, and system. Background technique
  • 3GPP 3rd Generation Partnership Project
  • LTE Long Term Evolution
  • GPRS General Packet Radio Service
  • UMTS Universal Mobile Telecommunications System
  • EPS Evolved Packet System
  • the structure of the core network of the existing wireless evolved network mainly includes: Mobility Management Entity (MME), Serving Gateway (S-GW), Packet Data Network (Packet Data Network) Gateway; Abbreviation: PDN-GW) Three logical functions.
  • MME Mobility Management Entity
  • S-GW Serving Gateway
  • Packet Data Network Packet Data Network
  • PDN-GW Packet Data Network
  • the MME is responsible for the non-access layer (NAS) signaling and NAS signaling encryption, roaming, and tracking functions.
  • the function corresponds to the control plane part of the Servicing GPRS Support Node (SGSN) in the current UMTS system.
  • the S-GW is responsible for local mobility anchors, mobility anchors within the 3GPP system, and lawful interception related information; the PDN-GW is responsible for policy enforcement, accounting, and lawful interception related functions.
  • the communication model of the above wireless evolution network is currently mainly applied to human to human (Human to Human; abbreviation: H2H) Communication system, in the H2H communication system, the method of location reporting is: when the user equipment establishes a bearer, the Policy and Charging Rules Function (PCRF) formulates policy control. With Billing (Policy Control and Charging; PCC), the PCC includes subscription events for location change reporting.
  • the gateway for example, the GGSN/P-GW
  • the gateway forwards the subscription event reported by the location change to the mobility management network element in the session management response message (for example, SGSN).
  • the mobility management network element sends a location report control message to the access network element (for example, RNC/eNodeB), and carries the subscription event reported by the location change report in the report control message.
  • the access network element for example, RNC/eNodeB
  • the mobility management network element reports the event of the location change of the user equipment to the PCRF through the gateway.
  • This location reporting method relies on the deployment of the PCC architecture, and the reporting event of the PCC subscription user equipment location change depends on the presence of the user equipment bearer.
  • Machine to Machine (M2M) communication is a network communication between one or more network elements without human intervention, such as traffic control and management, factory monitoring, remote meter reading and other applications.
  • the M2M terminal device can connect to the application server for data communication through the wireless evolution network.
  • the network when the location of the user equipment changes, the network reports the event of the user equipment location change to the PCRF; according to the requirements of the M2M application, the network only needs to use this when the M2M terminal enters or leaves a specific area. The event is reported to the application server. Therefore, if the location reporting scheme of the H2H communication system is used, the network of the M2M communication system will report a large amount of invalid signaling, resulting in an increase in network load.
  • the H2H communication system network can only detect the location change of the user equipment in the connected state, and cannot detect the location change of the user equipment in the idle state.
  • M2M applications in order to save network resources, many M2M terminals are only attached to the network and do not establish bearers. Therefore, when there is no bearer in the M2M terminal, the M2M terminal is in an idle state, and the H2H pass is used.
  • the location reporting scheme of the letter system cannot be used for location reporting. Summary of the invention
  • the embodiments of the present invention provide a method, a device, and a system for reporting a location, which are used to solve the problem that the system signaling load caused by location reporting in the prior art and the occupation of network resources are large, and the system signaling in the location reporting process is mitigated. Load and network resource usage.
  • An embodiment of the present invention provides a location reporting method, including:
  • the management network element reports an event that the user equipment enters or leaves the target location area, so that the management network element performs event reporting.
  • the embodiment of the invention further provides a location reporting method, including:
  • performs event reporting.
  • the embodiment of the invention further provides a user equipment, including:
  • An event information obtaining module configured to acquire event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area;
  • An event determining module configured to determine, according to location information of the user equipment and location information of the target location area, whether the user equipment enters or leaves the target location area;
  • a location reporting module configured to report, to the network management network element, an event that the user equipment enters or leaves the target location area, to enable the management network element to perform, if the user equipment enters or leaves the target location area The incident was reported.
  • An embodiment of the present invention further provides an access network element, including:
  • An event information obtaining module configured to acquire event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area;
  • An event determining module configured to determine, according to location information of the user equipment and location information of the target location area, whether the user equipment enters or leaves the target location area;
  • a location reporting module configured to report, to the network management network element, an event that the user equipment enters or leaves the target location area, to enable the management network element to perform, if the user equipment enters or leaves the target location area The incident was reported.
  • the embodiment of the invention further provides a management network element, including:
  • An event information sending module configured to send event information for reporting that the user equipment enters or leaves the target location area
  • a location obtaining module configured to acquire location information of the user equipment if an event of the user equipment entering or leaving the target location area is received
  • the reporting execution module is configured to perform event reporting according to the location information of the user equipment and the location information of the target location area.
  • the embodiment of the present invention further provides a location reporting system, including: a user equipment, an access network element, and a management network element;
  • the management network element uses any of the management network elements provided by the embodiment of the present invention; the user equipment uses any of the user equipments provided by the embodiment of the present invention; Any of the access network elements provided by the embodiments of the present invention.
  • the location reporting method, device, and system provided by the embodiment of the present invention after the user equipment or the access network element acquires event information for reporting that the user equipment enters or leaves the target location area, Determining whether the user equipment enters or leaves the target location area according to the event information and the location information of the user equipment; if yes, the user equipment or the access network element may report the user equipment to the management network element in the network.
  • the management network element performs event reporting, which satisfies the requirement that the application server performs event reporting when the user equipment enters or leaves the target location area, avoids unnecessary signaling, and reduces the system. Signaling load; and does not require the user equipment to establish a bearer and maintain the connection state, which reduces the occupation of network resources by the location report.
  • FIG. 1 is a flowchart of a method for reporting a location according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for reporting a location according to Embodiment 2 of the present invention
  • FIG. 3 is a flowchart of a method for reporting a location according to Embodiment 3 of the present invention.
  • FIG. 4 is a flowchart of a method for reporting a location according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a user equipment according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic structural diagram of a user equipment according to Embodiment 6 of the present invention.
  • FIG. 7 is a schematic structural diagram of an access network element according to Embodiment 7 of the present invention.
  • FIG. 8 is a schematic structural diagram of a management network element according to Embodiment 9 of the present invention.
  • FIG. 9 is a schematic structural diagram of a management network element according to Embodiment 10 of the present invention.
  • FIG. 10 is a schematic structural diagram of a location reporting system according to Embodiment 11 of the present invention. detailed description
  • FIG. 1 is a flowchart of a method for reporting a location according to Embodiment 1 of the present invention.
  • the method for reporting a location according to FIG. 1 may include the following steps:
  • Step 101 Acquire event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area.
  • the event information may include location information of the target location area, for example: cell information
  • the event information may further include a report type, for example, the user equipment enters the target location area report, the user equipment leaves the target location area report, or the user equipment enters and leaves the target location area report.
  • a report type for example, the user equipment enters the target location area report, the user equipment leaves the target location area report, or the user equipment enters and leaves the target location area report.
  • step 101 if the user equipment is in an idle state or a waiting state, the user equipment acquires the event information, and the network may notify the user equipment of the information of entering or leaving the event.
  • the specific implementation can include the following two methods:
  • the user equipment receives the event information that is sent by the management network element by using a non-access stratum, where the management network element includes a mobility management network.
  • Element SGSN/MME
  • MSC Mobile Switching Center
  • VLR Visit Location Register
  • the user equipment may initiate an update process such as an attach/routing area update/location area update/tracking area update to the network, and manage the network element during the process of the user equipment initiating the foregoing process (for example:
  • the mobility management network element (SGSN/MME), the mobile switching center (MSC) or the visitor location register (VLR) can obtain the subscription data of the user equipment from the subscription database (HLR/HSS).
  • the event information of the user equipment entering or leaving a certain target location area has been signed and signed in the subscription data of the user equipment.
  • the SGSN/MME/MSC/VLR may send the event information to the user equipment.
  • the SGSN/MME/MSC/VLR may send the event information to the user equipment in the attach/routing area update/location area update/tracking area update accept message.
  • Manner 2 The user equipment receives the event information sent by the application information server. Specifically, after the user equipment is attached to the network, the application information server of the application layer (for example, an Open Mobile Alliance Device Management (OMA DM) server) notifies the user equipment of the event information.
  • OMA DM Open Mobile Alliance Device Management
  • the management network element may be received through the access network element (such as RNC or eNodeB) (for example: mobility management network) The above event information sent by the element).
  • the access network element such as RNC or eNodeB
  • eNodeB mobility management network
  • Step 102 Determine, according to the location information of the user equipment and the location information of the target location area, whether the user equipment enters or leaves the target location area.
  • step 102 if the user equipment is in an idle state or a standby state, the user equipment acquires location information of the user equipment from the broadcast information of the network element of the access network. The user equipment compares the location information of the user equipment with the location information of the target location area in the event information, and determines whether the user equipment enters or leaves the target location area.
  • the user equipment may obtain location information of the target location area in the event information. Moreover, the user equipment can obtain the location information of the user equipment, for example, the location information broadcast by the user equipment through the access network element (which may include cell information, routing area information or tracking area information, location area information, or tracking area list information, etc.) At least one) knows the location information of the user equipment. Then, the user device will be where it is located The information is compared with the obtained location information of the target location area.
  • the access network element which may include cell information, routing area information or tracking area information, location area information, or tracking area list information, etc.
  • the event information may further include a report type, where the report type may include: reporting an event that the user equipment enters the target location area, reporting an event that the user equipment leaves the target location area, or reporting the user equipment entering and leaving the location The event in the target location area. If the user equipment obtains the report type in the event information, the event report is performed only when the report type is met. For example, the report type is an event that reports that the UE enters the "A city", but if the UE is detected to leave the "A city", the event report is not performed.
  • step 102 if the user equipment is in a connected state or a ready state, the access network element stores the location information of the user equipment and the location of the target location area in the event information. The information is compared to determine whether the user equipment enters or leaves the target location area.
  • the specific method for determining whether the user equipment enters or leaves the target location area is similar to that of the user equipment, and is not described herein.
  • Step 103 If the user equipment enters or leaves the target location area, report the event that the user equipment enters or leaves the target location area to the management network element in the network, so that the management network element performs event reporting. .
  • the user equipment may initiate an access procedure.
  • the user equipment is transferred to the connection state or the preparation state.
  • the user equipment can send the location information of the user equipment to the SGSN/MME/MSC/VLR through the access network element, and the user equipment obtained by the SGSN/MME/MSC/VLR is located.
  • the location information is compared with the location information of the target location area of the user equipment obtained from the subscription data in step 101. If the reporting condition is met, the SGSN/MME/MSC/VLR performs event reporting to enter or leave the user equipment.
  • the event in the target location area is reported to the application service Server. For example, if the location information of the user equipment and the obtained location information of the target location area of the user equipment are the same, the SGSN/MME/MSC/VLR may determine that the user equipment enters the target location area, then the SGSN/MME/MSC/ The VLR performs an entry event report; if the location information of the user equipment is different from the obtained location information of the target location area of the user equipment, the SGSN/MME/MSC/VLR may determine that the user equipment leaves the target location area, then the SGSN/ The MME/MSC/VLR performs a leaving event report.
  • the access network element determines that the user equipment enters or leaves the target location area
  • the management network element for example, a mobility management network element (SGSN/MME)
  • SGSN/MME mobility management network element
  • the user equipment may indicate whether the management network element in the network reports an event that the user equipment enters or leaves the target location area.
  • the user equipment may send a non-access stratum message carrying the indication information to the mobility management network element, the mobile switching center, or the visitor location register, where the indication information indicates whether the user equipment is allowed to report to enter or leave the target location area. event.
  • the method for setting the indication information by the user equipment may be: if the user equipment enters or leaves the target location area for the first time, the user equipment sets the indication information to report that the user equipment enters or leaves the user equipment.
  • the target location area if the user equipment does not enter or leave the target location area for the first time, the user equipment sets the indication information to not report that the user equipment enters or leaves the target location area.
  • the user equipment enters the target location area for the first time, specifically: the location where the user equipment is located is changed from the non-target location area to the target location area; the user equipment leaves the target for the first time.
  • the location area is specifically: the location where the user equipment is located is changed from the target location area to the non-target location area.
  • the user equipment carries the indication information in the access request message to instruct the SGSN/MME/MSC/VLR to perform event reporting.
  • the user equipment can know whether it is the first time to enter or leave the target location area, and if so, The user equipment carries the indication information indicating that the SGSN/MME/MSC/VLR performs the event reporting in the access request message; if not, the user equipment does not carry the indication information in the access request message, even if the SGSN/MME/MSC/VLR learns to report The condition is met and the event is not reported.
  • the above access procedure refers to the transition of the user equipment from the idle state to the connected state or from the waiting state to the ready state, including: in the UMTS Terrestrial Radio Access Network (UTRAN) / evolved UTRAN (Evolved UTRAN) Abbreviation: E-UTRAN )
  • the user equipment initiates the service/tracking area update/routing request update service (Service/TAU/RAU Request) procedure, the user equipment changes from the idle state to the connected state; or, the GSM edge wirelessly connects
  • the user equipment sends an uplink packet, and the user equipment changes from the waiting state to the ready state.
  • GERAN GSM EDGE Radio Access Network
  • the user information may be determined according to the event information and the location information of the user equipment. Whether the device enters or leaves the target location area; if yes, the user equipment or the access network element may report the event that the user equipment enters or leaves the target location area to the management network element in the network, so that the management network
  • the meta-execution event report satisfies the requirement that the application server performs event reporting when the user equipment enters or leaves the target location area, avoids unnecessary signaling, reduces system signaling load, and does not require the user equipment to establish a bearer and maintain the connection state. , alleviating the occupancy of network resources by location reporting.
  • FIG. 2 is a flowchart of a method for reporting a location according to Embodiment 2 of the present invention. As shown in FIG. 2, the method for reporting a location may include the following steps:
  • Step 201 Send event information for reporting that the user equipment enters or leaves the target location area
  • the event information includes location information of a target location area.
  • the user equipment may be contracted and reported to enter or leave the target in the subscription data of the user equipment.
  • Event information of the location area; the mobility management network element, the mobile switching center, or the visitor location register obtains the event information from the subscription data of the user equipment.
  • the location information of the target location area may include: at least one of cell information, routing area information, tracking area information, location area information, or tracking area list information.
  • the event information further includes a report type, and the report type includes: reporting an event that the user equipment enters the target location area, reporting an event that the user equipment leaves the target location area, or reporting the user equipment entering and leaving the The event in the target location area.
  • the report type includes: reporting an event that the user equipment enters the target location area, reporting an event that the user equipment leaves the target location area, or reporting the user equipment entering and leaving the The event in the target location area.
  • the application server can perform location tracking on the M2M terminal: After the M2M terminal enters or leaves the specific tracking area, the network detects the event and reports the event to the application server. After the application server obtains this event, it is learned that the M2M terminal enters or leaves a specific tracking area, and the application server can perform service management or control based on the location of the user equipment according to the events, for example, a location-based push service. If the target location area is a tracking area, the following steps may be included before step 201:
  • MME mobility management entity
  • the mobility management entity After the user equipment enters or leaves the tracking area, the mobility management entity receives the tracking area update message initiated by the user equipment, and determines, according to the tracking area update message, whether the user equipment enters or leaves the tracking area. .
  • step 201 can be specifically divided into the following cases:
  • the management network element in the network sends the event information for reporting that the user equipment enters or leaves the target location area to the user equipment through the access network element.
  • the management network element in the network sends a message to the access network element for reporting that the user equipment enters or leaves the target location area. Event information.
  • the event information may further carry an identifier of an access network element corresponding to the target location area, where the management network element in the network sends an identifier to the access network element corresponding to the identifier of the access network element Event information.
  • Step 202 Acquire, if the user equipment enters or leaves an event of the target location area, acquiring location information of the user equipment;
  • the step 202 may specifically include the following situations:
  • the management network element in the network receives, by the access network element, the user equipment reported by the user equipment to enter or leave the target location area. Event; or
  • the management network element in the network receives an event that the user equipment reported by the access network element enters or leaves the target location area.
  • the specific method for the management network element to obtain the location information of the user equipment may be: a management network element, for example: a mobility management network element, a mobile switching center, or a visitor location register may receive the access network element, for example: a base station , the location information of the user equipment that is sent.
  • a management network element for example: a mobility management network element, a mobile switching center, or a visitor location register may receive the access network element, for example: a base station , the location information of the user equipment that is sent.
  • Step 203 Perform event reporting according to the location information of the user equipment and the location information of the target location area.
  • the management network element in the network may first determine whether the user equipment enters or leaves the target location area for the first time, and if it is the first time, perform the location report of step 203. .
  • the first time the user equipment enters the target location area is: the location where the user equipment is located is changed from the non-target location area to the target location area; the user equipment leaves the target location for the first time.
  • the area is specifically: the location where the user equipment is located is changed from the target location area to the non-target location area.
  • the management network element in the network may be set according to its own flag or user equipment.
  • the information is used to determine whether the user equipment enters or leaves the target location area for the first time, and then determines whether to perform event reporting according to whether the user equipment is entering or leaving the target location area for the first time.
  • the mobility management network element, the mobile switching center, or the visitor location register receives the non-access stratum message carrying the indication information sent by the user equipment, and determines, according to the indication information, whether to report the user equipment entering or leaving the target location area. Event
  • the user equipment carries the indication information in the access request message to instruct the SGSN/MME/MSC/VLR to perform event reporting. This way the control point is on the user device.
  • the user equipment can know whether it is the first time to enter or leave the target location area. If yes, the user equipment carries the indication information indicating that the SGSN/MME/MSC/VLR performs event reporting in the access request message; if not, then The user equipment does not carry the indication information in the access request message, and the event reporting is not performed even if the SGSN/MME/MSC/VLR learns that the reporting condition is satisfied.
  • Example 2 The mobility management network element, the mobile switching center or the visitor location register determines whether to report an event of the user equipment entering or leaving the target location area according to a flag bit in the context of the user equipment.
  • the mobility management network element, the mobile switching center, or the visitor location register sets the flag bit to the reporting station. Said user equipment entering or leaving the target location area;
  • the mobility management network element, the mobile switching center or the visitor location register sets the flag bit to not report that the user equipment enters or leaves the target location area.
  • the SGSN/MME/MSC/VLR uses the flag bit to record whether the user equipment is entering or leaving the target location area for the first time. Specifically, setting a flag bit in the user equipment context of the SGSN/MME/MSC/VLR records whether the user equipment enters or leaves the target location area for the first time. For example, when the SGSN/MME/MSC/VLR learns that the user equipment enters or leaves the target location area for the first time, the flag bit in the user equipment context may be set to be invalid (for example, set to "0"). Subsequent even if the SGSN/MME/MSC/VLR learns that the user equipment is entering Enter or leave the target location area, that is, the location reporting condition is met, but if the flag is invalid,
  • the SGSN/MME/MSC/VLR also does not perform event reporting.
  • the step 203 may specifically include the following steps:
  • the mobile switching center, or the visitor location register receives the location information of the user equipment sent by the access network element, the mobility management network element, the mobile switching center, or the visited location register is configured according to the The location information of the user equipment and the location information of the target location area in the event information, and the event reporting of the user equipment entering or leaving the target location area is performed.
  • the event management report that the mobility management network element, the mobile switching center, or the visitor location register performs the user equipment to enter or leave the target location area may include: if the location information of the user equipment and the target location in the event information If the location information of the area is the same, the event that the user equipment enters the target location area is reported to the application server; if the location information of the user equipment is different from the location information of the target location area in the event information, the application is applied to the application.
  • the server reports an event that the user equipment leaves the target location area.
  • the event that the mobility management network element, the mobile switching center, or the visitor location register reports to the application server that the user equipment enters or leaves the target location area may specifically include the following scenarios:
  • the mobility management network element, the mobile switching center, or the visitor location register sends a location report message to the application server, where the location report message carries information indicating that the user equipment enters or leaves the target location area, or And sending the location report message to the third-party network element, where the third-party network element sends the location report message or the event message carrying the geographic location corresponding to the target location area to the application server.
  • the SGSN/MME/MSC/VLR sends a location report message, and the location report message is directly sent to the application server or sent to the application server through a third-party network element (for example, a message processing platform).
  • the third-party network element can directly forward the report message to the location, and the third-party network element can also convert the target location area in the location report message into a geographic location, and then the third-party network element reports the user equipment to the application server. An event that enters or leaves the geographic location.
  • the mobility management network element sends a location report message to the application server through the gateway, where the location report message carries information indicating that the user equipment enters or leaves the target location area, or reports the location through the gateway.
  • the message is sent to the third-party network element, and the third-party network element sends the location report message or the event message carrying the geographical location corresponding to the target location area to the application server.
  • the SGSN/MME sends a location report message to the gateway (eg, GGSN/PGW), and the gateway sends the location report message to the application server.
  • the gateway may also send the location report message to the third-party network element. And sending, by the third-party network element, the location reporting message to the application server or reporting an event that the user equipment enters or leaves a geographic location corresponding to the target location area.
  • Scenario 3 The mobility management network element, the mobile switching center, or the visitor location register sends a location report message to the application server through the subscription database, where the location report message carries information indicating that the user equipment enters or leaves the target location area, Or sending the location report message to the third-party network element by using the subscription database, and the third-party network element sends the location report message or the event message carrying the geographical location corresponding to the target location area to the application server.
  • the SGSN/MME/MSC/VLR sends the location report message to the application server through the subscription database (eg, HLR/HSS).
  • the subscription database may also send the location report message to the third-party network element.
  • the third-party network element sends the location report message to the application server or reports an event that the user equipment enters or leaves the geographic location corresponding to the target location area.
  • the user equipment or the access network element may be sent to the user equipment or the access network network element.
  • the event information of the user equipment entering or leaving the target location area is reported, and the location information of the user equipment is obtained.
  • the event reporting is performed according to the location information of the user equipment and the location information of the target location area, which satisfies the application server entering or leaving the target device.
  • the requirement of event reporting is performed in the location area, which avoids useless signaling and reduces the system signaling load; and does not require the user equipment to establish a bearer and maintain the connection state, thereby reducing the position. Report the occupation of network resources.
  • FIG. 3 is a flowchart of a method for reporting a location according to Embodiment 3 of the present invention. As shown in FIG. 3, assuming that the user equipment is in an idle state or a standby state, the method for reporting the location may specifically include the following steps.
  • Step 301 The UE obtains event information for reporting that the UE enters or leaves the target location area, and specifically includes the following manner.
  • the UE initiates an attach process or a routing area/location area/tracking area update process to the network, which may include steps 3011 to 3014.
  • Step 301 The UE sends an attach/track area update/route area update request (Attach/TAU/RAU/LAU Request) message to the SGSN/MME/MSC/VLR.
  • Attach/track area update/route area update request (Attach/TAU/RAU/LAU Request) message to the SGSN/MME/MSC/VLR.
  • Step 3012 The SGSN/MME/MSC/VLR sends an update location request (Update Location Request) message to the HLR/HSS to obtain the subscription data of the UE, where the subscription data of the UE may be pre-stored in the HLR/HSS.
  • Update Location Request Update Location Request
  • the event information of the UE in the HLR/HSS stores event information that reports that the UE enters or leaves the target location area.
  • the event information may include location information of the target location area, for example: cell information (CGI or ECGI) or routing area information (RAI) or tracking area information (TAI) or tracking area list information (TA list) or target location area corresponding Access network element identification, etc.
  • the event information may further include a report type, for example, the report is sent to the target location area, reported to the target location area, or reported to and from the target location area.
  • the HLR/HSS may carry the above event information in an Update Location Ack message to the SGSN/MME/MSC/VLR.
  • Step 3014 The SGSN/MME/MSC/VLR sends an Attach/Routing Area Update/Location Area Update Accept (Attach/RAU/TAU/LAU Accept) message to the UE.
  • the Attach/RAU/TAU/LAU Accept message carries the event information obtained by the SGSN/MME/MSC/VLR in step 3013.
  • Manner 2 The network notifies the UE of the event information by using an application layer. Specifically, after the UE is attached to the network, the network notifies the UE of the event information by using an application information server (for example, an OMA DM server).
  • an application information server for example, an OMA DM server
  • Step 302 The UE may determine, according to the obtained event information, whether it enters or leaves the target location area.
  • the UE may obtain location information of the target location area from the event information, for example, location information broadcast by the UE through the access network element (eg, cell information, routing area information, At least one of tracking area information, location area information, or tracking area list information, etc., to know the location information of the UE.
  • the UE compares the location information of the UE with the obtained location information of the target location area. If the location information of the UE and the obtained location information of the target location area are the same, the UE enters the target location area. If the location information of the UE and the obtained location information of the target location area are different, the UE leaves the target location area.
  • the UE may also obtain an access network element identifier corresponding to the reporting type and/or the target location area in the event information.
  • Step 303 The UE initiates the access, so that the mobility management network element obtains the location information of the UE, and the mobility management network element performs the event reporting according to the location information and the event information of the UE, which may include the following steps 3031 to 3032. :
  • Step 3031 If the UE detects, according to step 302, that the UE enters or leaves the target location area, the UE initiates an access procedure. Specifically, the UE may send a Service/TAU/RAU/LAU Request message to the SGSN/MME/MSC/VLR through the radio access network RAN.
  • the SGSN/MME/MSC/VLR may determine whether to report the event that the UE enters or leaves the target location area according to whether the UE enters or leaves the target location area for the first time. .
  • the UE may carry the indication information in the Service/TAU/RAU/LAU Request message to indicate whether the SGSN/MME/MSC/VLR reports the event that the UE enters or leaves the target location area, and may be reported by default or according to the indication information. The value is determined to be reported.
  • the SGSN/MME/MSC/VLR may also record in the UE context whether the UE is entering or leaving the target location area for the first time by a flag bit.
  • Step 3032 The access network element (for example, RNC or eNodeB or BSC) sends the location information of the UE to the management network element.
  • the RNC sends an Initial UE message/Uplink packet to the SGSN or MSC/VLR.
  • the eNodeB sends an initial UE message to the MME.
  • the initial UE message may carry cell information (CGI or ECGI) or tracking area (TAI) information of the UE.
  • CGI cell information
  • ECGI cell information
  • TAI tracking area
  • the BSC sends an uplink data packet to the SGSN and carries the cell information of the UE to the SGSN.
  • the SGSN/MME/MSC/VLR may compare the location information of the UE and the location information of the target location area obtained in step 301. If they are the same, the UE may enter. The target location area, if different, may indicate that the UE has left the target location area. The SGSN/MME/MSC/VLR determines whether to report an event of the UE entering or leaving the target location area according to the comparison result.
  • the step is performed in step 3031.
  • the SGSN/MME/MSC/VLR may determine, according to the foregoing comparison result and the indication information, whether to report an event that the UE enters or leaves the target location area; if the UE is in the Service/TAU/RAU/LAU Request message in step 3031 If the SGSN/MME/MSC/VLR does not report the event that the UE enters or leaves the target location area, the SGSN/MME/MSC/VLR does not report or even compares in step 3032.
  • the SGSN/MME/MSC/VLR may determine whether to report the UE entering or leaving the target location area according to the foregoing comparison result and a flag in the UE context that records whether the UE is entering or leaving the target location area for the first time. event. Specifically, after the SGSN/MME/MSC/VLR learns that the UE enters or leaves the target location area for the first time, The SGSN/MME/MSC/VLR sets the flag bit in the UE context to be invalid (for example, set to "0"). If the SGSN/MME/MSC/VLR learns that the reporting condition is satisfied, but the flag is invalid, the SGSN/MME/MSC/VLR does not perform event reporting.
  • the UE entering the target location area for the first time means that the location of the UE is changed from the non-target location area to the target location area; the first time the UE leaves the target location area means that the location of the UE changes from the target location area to the non-target area.
  • Location area
  • the MME may allocate a tracking area list (TA list) for the UE.
  • the information only contains the location information of the TA as the target location area. If the UE enters or leaves the TA, the UE actively initiates a Tracking Area Update (TAU) procedure.
  • the MME may determine whether the UE enters or leaves the target location area (ie, the TA) according to the location information of the UE and the TA information learned in the TAU procedure.
  • the method for performing event reporting may include the following scenarios:
  • the SGSN/MME/MSC/VLR reports the event that the UE enters or leaves the target location area to the application server, and specifically includes the following steps 3033a to 3035a.
  • Step 3033a The SGSN/MME/MSC/VLR sends a Location Report message, where the Location Report message may indicate that the UE enters or leaves the target location area.
  • the SGSN/MME/MSC/VLR may directly send the message to the application server, or the SGSN/MME/MSC/VLR sends the Location Report message to the third-party network element (for example, the M2M platform), and the third-party network
  • the event further reports the event that the UE enters or leaves the target location area to the application server.
  • Step 3034a If the SGSN/MME/MSC/VLR first sends the Location Report message to the third-party network element, the third-party network element reports the event that the UE enters or leaves the target location area to the application server after obtaining the Location Report message. Specifically, the third-party network element can Forwarding the Location Report message to the application server, or the third-party network element learns that the UE enters or leaves the target location area according to the Location Report message, and then the third-party network element converts the target location area into a geographical location, and the third-party network The entity reports to the application server an event that the UE enters or leaves the geographic location.
  • Step 3035a If the event message sent by the third-party network element to the application server to enter or leave the target location area (the forwarded Location Report message or the reported event of the UE entering or leaving the geographic location), the application server The third party network element sends a Location Report Ack message, and the third party network element sends the Location Report Ack message to the SGSN/MME/MSC/VLR.
  • the location report message of the UE entering or leaving the target location area, the application server directly therein, the Location Report Ack message may also carry the processing information indicating the SGSN/MME/MSC/VLR to the UE. For example, the UE is separated or the UE is restricted from starting a service or the like.
  • Scenario 2 The SGSN/MME/MSC/VLR learns that the condition of the report is satisfied, and the SGSN/MME/MSC/VLR reports the event that the UE enters or leaves the target location area to the application server by using the GGSN/PGW, which may include the following step 3033b. Go to step 3036b.
  • Step 3033b The SGSN/MME sends a Location Report message, where the message indicates that the UE enters or leaves the target location area.
  • the SGSN/MME sends the message to the GGSN/PGW.
  • Step 3034b The GGSN/PGW sends the location report message to the application server, or the GGSN/PGW sends the Location Report message to the third-party network element (for example, the M2M platform), and then the third-party network element enters or leaves the UE.
  • the event in the target location area is reported to the application server. If the GGSN/PGW first sends the Location Report message to the third-party network element, the third-party network element can obtain the Location Report message, and then the UE can enter or The event leaving the target location area is reported to the application server.
  • the third-party network element can
  • the location report message is forwarded to the application server, or the third-party network element learns that the UE enters or leaves the target location area according to the Location Report message, and then converts the target location area into a geographical location, and then reports the UE to enter or leave the application server.
  • the event of the geographic location is forwarded to the application server, or the third-party network element learns that the UE enters or leaves the target location area according to the Location Report message, and then converts the target location area into a geographical location, and then reports the UE to enter or leave the application server.
  • Step 3035b If the third-party network element sends an event message to the application server to enter or leave the target location area, the application server sends a Location Report Ack message to the third-party network element, and the third-party network element sends the Location Report Ack to the GGSN/PGW. Message.
  • the application server may directly send a Location Report Ack message to the GGSN/PGW.
  • the Location Report Ack message may also carry the indication information of the SGSN/MME/MSC/VLR to the UE. For example, the UE is separated or the UE is restricted from starting a service or the like.
  • Step 3036b The GGSN/PGW sends a Location Report Ack message to the SGSN/MME.
  • Scenario 3 The SGSN/MME/MSC/VLR learns that the SGSN/MME/MSC/VLR is satisfied, and the SGSN/MME/MSC/VLR reports the event that the UE enters or leaves the target location area to the application server by using the HLR/HSS, which may include the following step 3033c. Go to step 3036c.
  • Step 3033c The SGSN/MME/MSC/VLR sends a Location Report message, where the message indicates that the UE enters or leaves the target location area.
  • the SGSN/MME/MSC/VLR sends the message to the HLR/HSS.
  • Step 3034c The HLR/HSS sends the Location Report message to the application server, or the HLR/HSS sends the Location Report message to the third-party network element (for example, the M2M platform), and then the third-party network element enters or leaves the UE.
  • the event in the target location area is reported to the application server. If the HLR/HSS first sends a Location Report message to a third-party network element, then After the third-party network element obtains the Location Report message, the third-party network element reports the event that the UE enters or leaves the target location area to the application server.
  • the third-party network element may forward the Location Report message to the application server, or the third-party network element learns that the UE enters or leaves the target location area according to the Location Report message, and then the third-party network element converts the target location area. For the geographic location, the third-party network element reports to the application server an event that the UE enters or leaves the geographic location.
  • Step 3035c If the third-party network element sends an event message (the event of forwarding the Location Report message or reporting the UE entering or leaving the geographic location) to the application server, the application server sends the third-party network element to the third-party network element.
  • the Location Report Ack message is sent, and the Location Report Ack message is sent by the third party network element to the HLR/HSS.
  • the application server sends a Location Report Ack message directly to the HLR/HSS.
  • the Location Report Ack message may also carry the indication information of the SGSN/MME/MSC/VLR to the UE. For example, the UE is separated or the UE is restricted from starting a service or the like.
  • Step 3036c The HLR/HSS sends a Location Report to the SGSN/MME/MSC/VLR.
  • Step 304 The SGSN/MME/MSC/VLR sends a Service Request/Tracking Area Update/Routing Area Update Accept (Service/TAU/RAU/LAU Accept) message to the UE.
  • Service/TAU/RAU/LAU Accept Service/TAU/RAU/LAU Accept
  • the UE may obtain the event information for reporting the entry or exit of the target location area from the SGSN/MME/MSC/VLR, and may be based on the event information.
  • the location information of the target location area and the location information of the acquired UE determine whether the UE enters or leaves the target location area; If yes, the UE may initiate an access to the SGSN/MME/MSC/VLR. After the UE transitions to the connected state or the Ready state, the SGSN/MME/MSC/VLR may perform an event by using the location information of the root target location area and the location information of the UE.
  • the report satisfies the requirement that the application server performs event reporting when the UE enters or leaves the target location area, avoids useless signaling, and reduces system signaling load; and does not require the UE to establish a bearer and maintain the connection state, thereby reducing the location report.
  • Embodiment 4 is a flowchart of a method for location reporting according to Embodiment 4 of the present invention. It is assumed that in a scenario where the UE is in a connected state, where the UE is in a connected state, the UE transitions from an idle state to a connected state after the UE initiates the access. Or the UE changes from the Standby state to the Ready state. As shown
  • the specific method for the network to report the event that the UE enters or leaves the target location area to the application server may include the following steps:
  • Step 401 The UE initiates an access, where the SGSN/MME obtains the subscription data of the UE.
  • the subscription data of the UE includes event information for reporting that the UE enters or leaves the target location area.
  • the step of acquiring the event information by the SGSN/MME in the access process may specifically include the following steps: 401 1 to the step
  • Step 401 The UE sends an Attach/TAU/RAU Request message to the SGSN/MME.
  • Step 4012 The SGSN/MME sends an update location request to the HLR/HSS (Update
  • Step 4013 The HLR/HSS sends an Update Location Ack message to the SGSN/MME, where the Update Location Ack message includes the subscription data of the UE, where the subscription data includes the event information.
  • Step 4014 The SGSN/MME sends an attach/tracking area update/routing area update acceptance to the UE.
  • Step 402 After the UE initiates the access, the UE initiates the connection establishment, and changes from the idle state to the connected state or from the Standby state to the Ready state, and the specific UE may send the service/tracking zone update/routing area update request to the SGSN/MME. (Service/TAU/RAU Request) message. The UE may send the Service/TAU/RAU Request message to the RAN first, and the RAN forwards the Service/TAU/RAU Request message (included in the Initial UE message) to the SGSN/MME.
  • Service/TAU/RAU Request Service/TAU/RAU Request
  • Step 403 The SGSN/MME sends a Location Report Control message carrying the event information to the RAN.
  • Step 404 The RAN sends a Location Report message to the SGSN/MME to report an event that the UE enters or leaves the target location area.
  • the SGSN/MME may obtain, according to step 401, event information that reports that the UE enters or leaves the target location area. After the UE enters the connection state through step 402, the SGSN/MME sends the event information to the RAN. In the scenario where the UE is in the connected state, the RAN learns that the UE enters or leaves the target location area, and enters or leaves the UE. The event in the target location area is reported to the SGSN/MME. Specifically, the SGSN/MME sends a Location Report Control message to the RNC or the eNodeB, where the Location Report Control message includes the event information.
  • the RAN detects whether the UE enters or leaves the target location area according to the obtained event information. If the RAN detects that the UE enters or leaves the target location area, the RAN reports the UE entry to the SGSN/MME. Or an event that leaves the target location area. For example, in the UTRAN system, the RNC detects that the UE enters or leaves the target location area (for example, a certain cell), and the RNC reports to the SGSN that the UE enters or leaves the target location area.
  • the target location area for example, a certain cell
  • the eNodeB detects that the UE enters or leaves the target location area (for example, a certain cell or a tracking area), and the eNodeB reports to the MME that the UE enters or leaves the target location area.
  • the target location area for example, a certain cell or a tracking area
  • the SGSN/MME needs to be new
  • the RAN sends the event information, specifically, the SGSN/MME can switch in the handover process.
  • the event information is sent to the RAN in a message such as a Handover Request/Relocation Request/Path Switch Request.
  • the SGSN/MME may also send the event information to the RAN in an initial UE context setup or an air interface access allocation request (RAB assignment Request) message in the Service/TAU/RAU Request procedure.
  • RAB assignment Request air interface access allocation request
  • the SGSN/MME may select a part of the RAN to send the event information. Specifically, since the target location area in the event information is a fixed target location area, only a part of the RAN side device can cover the target location area. When the UE accesses the network on the other RAN side device, the SGSN/MME can learn that the UE is not in the range of the target location area, and may not instruct the RAN side device to detect whether the UE enters or leaves the target location area. The SGSN/MME sends the event information to the RAN side devices only when the UE accesses the RAN side device that can cover the target location area, and the RAN side device detects whether the UE enters or leaves the device.
  • the event information that is contracted in the subscription data may include not only the location information of the target location area, but also the reporting type, and may also include the RAN side device (ie, the access network element) corresponding to the target location area.
  • Information such as: Access network element identifier (RNC ID or eNodeB ID, etc.).
  • RNC ID Access network element identifier
  • the RAN side device may carry the access network element identifier in a message and send it to the SGSN/MME.
  • the SGSN/MME compares the access network element identifier sent by the RAN side device with the access network element identifier in the event information.
  • the SGSN/MME notifies the event information to the RAN through the foregoing process.
  • Side equipment After the RAN side device learns the event information, it detects that the UE enters or leaves the target location area according to the foregoing method. If yes, the event that the UE enters or leaves the target location area is reported to the SGSN/MME.
  • Step 405 After receiving the Location report message sent by the RAN, the SGSN/MME may enter or leave the target location area on the SGSN/MME.
  • the SGSN/MME may enter or leave the target location area on the SGSN/MME.
  • the RAN may obtain the event information for reporting the entry or exit of the UE into the target location area from the SGSN/MME, and may be based on the target location area in the event information.
  • the location information and the location information of the UE detected by the RAN determine whether the UE enters or leaves the target location area; if yes, reports the event that the UE enters or leaves the target location area to the SGSN/MME, and the SGSN/MME obtains from the RAN.
  • the location information of the UE is used to perform event reporting according to the location information of the target location area and the location information of the UE, which satisfies the requirement that the application server performs event reporting when the UE enters or leaves the target location area, thereby avoiding useless signaling and reducing System signaling load.
  • the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • FIG. 5 is a schematic structural diagram of a user equipment according to Embodiment 5 of the present invention. As shown in FIG. 5, the user equipment includes:
  • the event information obtaining module 51 is configured to acquire event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area;
  • the event determining module 53 is configured to determine, according to the location information of the user equipment and the location information of the target location area, whether the user equipment enters or leaves the target location area;
  • the location reporting module 55 is configured to report, when the user equipment enters or leaves the target location area, an event that the user equipment enters or leaves the target location area to the management network element in the network, so that the management network element Execution event escalation.
  • the user equipment of this embodiment acquires, for reporting, that the user equipment enters or leaves the target location area. After the event information of the domain, the user equipment can determine whether the user equipment enters or leaves the target location area according to the event information and the location information of the user equipment. If yes, the user equipment can report the user equipment to the management network element in the network. Or the event of leaving the target location area, so that the management network element performs event reporting, which satisfies the requirement that the application server performs event reporting when the user equipment enters or leaves the target location area, avoids unnecessary signaling, and reduces the system. Signaling load; and does not require the user equipment to establish a bearer and maintain the connection state, which reduces the occupation of network resources by the location report.
  • FIG. 6 is a schematic structural diagram of a user equipment according to Embodiment 6 of the present invention.
  • the event information acquiring module 51 included in the user equipment may include: a receiving unit 51 1 Receiving, by the non-access stratum, the event information, where the user equipment is in an idle state or a waiting state, where the management network element includes a mobility management network element, a mobile switching center, or a visitor location register; Or receiving the event information sent by the application information server.
  • the event determination module 53 can include:
  • a location obtaining unit 531 configured to acquire location information of the user equipment from the broadcast information of the network element of the access network, if the user equipment is in an idle state or a waiting state;
  • the comparing unit 533 is configured to compare the location information of the user equipment with the location information of the target location area in the event information, to determine whether the user equipment enters or leaves the target location area;
  • the location reporting module 55 can include:
  • the initiating access unit 551 is configured to: if the user equipment is in an idle state or a waiting state, and determine that the user equipment enters or leaves the target location area, initiate an access, and change the user equipment from an idle state to an idle state. Connection status or transition from a wait state to a ready state;
  • the reporting unit 553 is configured to report, by the access network element, an event that the user equipment enters or leaves the target location area to the management network element.
  • the user equipment may further include:
  • the indication module 57 is configured to send, to the mobility management network element, the mobile switching center, or the visitor location register, a non-access stratum message carrying the indication information, where the indication information indicates whether the user equipment is allowed to report to enter or leave the target location area. event.
  • the indication module 57 is further configured to: if the user equipment enters or leaves the target location area for the first time, setting the indication information to report that the user equipment enters or leaves the target location area; The user equipment does not enter or leave the target location area for the first time, and sets the indication information to not report that the user equipment enters or leaves the target location area.
  • the user equipment of the embodiment After the user equipment of the embodiment obtains event information for reporting that the user equipment enters or leaves the target location area, it may determine, according to the event information and the location information of the user equipment, whether the user equipment enters or leaves the target location area; The user equipment may report the event that the user equipment enters or leaves the target location area to the management network element in the network, so that the management network element performs event reporting, and the application server enters or leaves the target location of the user equipment.
  • the requirement of performing event reporting in the area avoids useless signaling and reduces the system signaling load; and does not require the user equipment to establish a bearer and maintain the connection state, thereby reducing the occupation of the network resources by the location reporting.
  • FIG. 7 is a schematic structural diagram of an access network element according to Embodiment 7 of the present invention. As shown in FIG. 7, the access network element may include:
  • the event information obtaining module 71 is configured to acquire event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area;
  • the event determining module 73 is configured to determine, according to the location information of the user equipment and the location information of the target location area, whether the user equipment enters or leaves the target location area;
  • a location reporting module 75 configured to: if the user equipment enters or leaves the target location area And the event that the user equipment enters or leaves the target location area is reported to the management network element in the network, so that the management network element performs event reporting.
  • the access network element of the embodiment may determine, according to the event information and the location information of the user equipment, whether the user equipment enters or leaves the target location area. If yes, the access network element may report the event that the user equipment enters or leaves the target location area to the management network element in the network, so that the management network element performs event reporting, and the application server is satisfied to the user.
  • the device enters or leaves the target location area the requirements for event reporting are performed, the useless signaling is avoided, and the system signaling load is alleviated; and the user equipment is not required to establish a bearer and maintain the connection state, thereby reducing the occupation of the network resources by the location report.
  • the eighth embodiment of the present invention provides an access network element.
  • the event information acquiring module 71 of the access network element may be used to: if the user equipment is connected. The status or the ready state, and receiving the event information sent by the management network element.
  • the event determining module 73 is specifically configured to: compare the location information of the user equipment with the location information of the target location area in the event information, if the user equipment is in a connected state or a ready state, determine Whether the user equipment enters or leaves the target location area.
  • the location reporting module 75 may be specifically configured to: if the user equipment is in a connected state or a ready state, and determines that the user equipment enters or leaves the target location area, reporting the information to the management network element An event in which the user device enters or leaves the target location area.
  • the access network element of the embodiment may determine, according to the event information and the location information of the user equipment, whether the user equipment enters or leaves the target location area. If yes, the access network element may report to the network management network element that the user equipment enters or leaves the target location area. To enable the management network element to perform event reporting, which satisfies the requirement that the application server performs event reporting when the user equipment enters or leaves the target location area, avoids useless signaling, reduces system signaling load, and does not require the user.
  • the device establishes a bearer and maintains the connection state, which reduces the occupation of network resources by the location report.
  • FIG. 8 is a schematic structural diagram of a management network element according to Embodiment 9 of the present invention. As shown in FIG. 8, the management network element may include:
  • the event information sending module 81 is configured to send event information for reporting that the user equipment enters or leaves the target location area;
  • a location obtaining module 83 configured to acquire location information of the user equipment if an event of the user equipment entering or leaving the target location area is received;
  • the report execution module 85 is configured to perform event reporting according to the location information of the user equipment and the location information of the target location area.
  • the user equipment or the access network element may report the user equipment to enter or leave.
  • the event in the target location area acquires the location information of the user equipment; and then performs event reporting according to the location information of the user equipment and the location information of the target location area, which satisfies the application server to perform event reporting when the user equipment enters or leaves the target location area.
  • FIG. 9 is a schematic structural diagram of a management network element according to Embodiment 10 of the present invention.
  • the event information sending module 81 of the management network element may include: a first sending unit 81 1 And sending, by the access network element, the event information for reporting that the user equipment enters or leaves the target location area, and the user equipment is in an idle state or a waiting state; and
  • the second sending unit 813 is configured to send, to the access network element, event information for reporting that the user equipment enters or leaves the target location area, if the user equipment is in a connected state or a ready state.
  • the second sending unit 813 is specifically configured to send the event information to the access network element corresponding to the target location area.
  • the location obtaining module 83 can include:
  • the first obtaining unit 831 is configured to: when the user equipment is in an idle state or a waiting state, receive, by the access network element, an event that the user equipment reported by the user equipment enters or leaves the target location area; and
  • the second obtaining unit 833 is configured to receive, when the user equipment is in a connected state or a ready state, an event that the user equipment reported by the access network element enters or leaves the target location area.
  • reporting execution module 85 can include:
  • a location receiving unit 851 configured to receive location information of the user equipment that is sent by an access network element
  • the reporting unit 853 is configured to determine, according to the location information of the user equipment and the location information of the target location area in the event information, whether to report the event that the user equipment enters or leaves the target location area.
  • the reporting unit 853 may specifically include at least one of the following sub-units: a first reporting sub-unit, configured to: if the location information of the user equipment is the same as the location information of the target location area in the event information, to the application server Reporting an event that the user equipment enters the target location area;
  • a second reporting sub-unit configured to report, to the application server, an event that the user equipment leaves the target location area, if the location information of the user equipment is different from the location information of the target location area in the event information;
  • a third reporting subunit configured to send, to the application server, the user equipment to enter or leave Opening a location report message of the target location area information, or sending the location report message to a third-party network element, so that the third-party network element sends the location report message to the application server or sends the target location area corresponding to the target server.
  • a fourth reporting sub-unit configured to send, by using a gateway, a location report message that carries the user equipment to enter or leave the target location area information, or send the location report message to a third-party network element by using a gateway,
  • the third-party network element sends the location report message to the application server or sends an event message that carries the geographic location corresponding to the target location area.
  • the fifth report sub-unit is configured to send the user equipment to the application server by using the subscription database.
  • the location report message is sent to or from the location of the target location area information, or the location report message is sent to the third-party network element by the subscription database, so that the third-party network element sends the location report message or the bearer to the application server.
  • An event message of a geographic location corresponding to the target location area is sent to or from the location of the target location area information, or the location report message is sent to the third-party network element by the subscription database, so that the third-party network element sends the location report message or the bearer to the application
  • management network element may further include at least one of the following modules:
  • the event information obtaining module 86 is configured to obtain the event information from the subscription data of the user equipment.
  • the indication information receiving module 87 is configured to receive a non-access layer message carrying the indication information sent by the user equipment, and determine, according to the indication information, whether to report an event that the user equipment enters or leaves the target location area;
  • the flag bit module 88 is configured to determine, according to a flag bit in the context of the user equipment, whether to report an event that the user equipment enters or leaves the target location area;
  • the tracking area module 89 is configured to send, to the user equipment, a tracking area list that only includes the tracking area, if the target location area is a tracking area, and if the user equipment enters or leaves the tracking area, according to the received
  • the tracking area update message initiated by the user equipment determines whether the user equipment enters or leaves the tracking area.
  • the flag bit module 88 is further configured to: if the user equipment enters or leaves the target location area for the first time, setting a flag bit in the user equipment context to report the And the user equipment enters or leaves the target location area; if the user equipment does not enter or leave the target location area for the first time, setting a flag bit in the user equipment context to not report that the user equipment enters or leaves The target location area.
  • the user equipment or the access network element may report the user equipment to enter or leave.
  • the event in the target location area acquires the location information of the user equipment; and then performs event reporting according to the location information of the user equipment and the location information of the target location area, which satisfies the application server to perform event reporting when the user equipment enters or leaves the target location area.
  • FIG. 10 is a schematic structural diagram of a location reporting system according to Embodiment 11 of the present invention.
  • the location reporting system may include: a user equipment 91, an access network element 93, and a management network element 95;
  • the management network element 95 can use the management network element of any structure provided by the foregoing embodiment of the present invention;
  • the user equipment 91 uses the user equipment of any structure provided by the foregoing embodiment of the present invention;
  • the access network element of any structure provided by the foregoing embodiment of the present invention is used.
  • the user equipment or the access network element may report the user equipment to enter or leave.
  • the event in the target location area acquires the location information of the user equipment; and then performs event reporting according to the location information of the user equipment and the location information of the target location area, which satisfies the application server to perform event reporting when the user equipment enters or leaves the target location area.
  • each of the modules in the above embodiments 5 to 10 is hardware.
  • the embodiments of the present invention can be applied to the M2M communication system (installed in the M2M terminal) or the H2H communication system (installed in the common user equipment terminal). The embodiment of the present invention does not limit the application scenario.

Landscapes

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

Abstract

The present invention provides a method, device and system for report a location, wherein the method includes: acquiring event information for reporting that a target user equipment is entering or leaving a target location area, and the event information including the location information of the target location area; based on the information of the location at which the user equipment is located and the location information of the target location area, determining whether the user equipment is entering or leaving the target location area; and if the user equipment is entering or leaving the target location area, then reporting to a management network element in the network an event that the user equipment is entering or leaving the target location area, so that the management network element can perform event reporting. With the embodiments of the present invention, the requirement of an application server for a user equipment performing event reporting when entering or leaving a target location area can be met, the useless signaling can be eliminated, the load of system signaling can be reduced; there is no need for a user equipment establishing a bearer and maintaining an online state, and the network resource occupied by the location reporting can be relieved.

Description

位置上报方法、 设备和系统  Location reporting method, device and system
技术领域 Technical field
本发明实施例涉及通信技术领域, 尤其涉及一种位置上报方法、设备 和系统。 背景技术  The embodiments of the present invention relate to the field of communications technologies, and in particular, to a location reporting method, device, and system. Background technique
为了应对无线宽带技术的挑战, 保持第三代合作伙伴计划 (The 3rd Generation Partnership Project; 简称: 3GPP ) 网络的领先优势, 3GPP在 2004年底制定了长期演进( Long Term Evolution; 简称: LTE ) 计划。 在 LTE计划的指导下定义了新的移动通信网络的架构, 该架构与通用分组无 线服务( General Packet Radio Service; 简称: GPRS ) /通用移动通信系统 ( Universal Mobile Telecommunications System; 简称: UMTS ) 4目 t匕更力口 扁平, 并且只保留分组域, 因此 LTE 网络也可以称为演进的分组网络 ( Evolved Packet System; 简称: EPS ) 。  In order to meet the challenges of wireless broadband technology and maintain the leading edge of the 3rd Generation Partnership Project (3GPP) network, 3GPP developed the Long Term Evolution (LTE) program at the end of 2004. Under the guidance of the LTE program, a new mobile communication network architecture is defined, which is combined with General Packet Radio Service (GPRS)/Universal Mobile Telecommunications System (UMTS). The 匕 network is also called the Evolved Packet System (abbreviated as EPS).
现有无线演进网络的核心网的结构主要包括: 移动性管理实体 (Mobility Management Entity; 简称: MME)、 月良务网关 (Serving Gateway; 简称: S-GW)、 分组数据网络网关 (Packet Data Network Gateway; 简称: PDN-GW )三个逻辑功能体。其中, MME负责非接入层( Non- Access-Stratum; 简称: NAS )信令和 NAS信令加密及漫游、 跟踪等功能, 可以分配用户 设备(User Equipment;简称: UE ) 临时身份标识、 安全功能, 对应于当前 UMTS系统内部的 GPRS业务支持节点 ( Servicing GPRS Support Node; 简称: SGSN ) 的控制平面部分。 S-GW负责本地的移动性锚点、 3GPP系 统内部的移动性锚点以及合法监听相关信息; PDN-GW负责策略执行、 计 费以及合法监听相关功能。  The structure of the core network of the existing wireless evolved network mainly includes: Mobility Management Entity (MME), Serving Gateway (S-GW), Packet Data Network (Packet Data Network) Gateway; Abbreviation: PDN-GW) Three logical functions. The MME is responsible for the non-access layer (NAS) signaling and NAS signaling encryption, roaming, and tracking functions. The user equipment (User Equipment; UE) temporary identity and security can be assigned. The function corresponds to the control plane part of the Servicing GPRS Support Node (SGSN) in the current UMTS system. The S-GW is responsible for local mobility anchors, mobility anchors within the 3GPP system, and lawful interception related information; the PDN-GW is responsible for policy enforcement, accounting, and lawful interception related functions.
上述无线演进网络的通信模型当前主要应用于人到人 (Human to Human; 简称: H2H )通信的系统, 在 H2H通信系统下, 进行位置上报 的方法是: 在用户设备建立承载时, 策略与计费规则功能 (Policy and Charging Rules Function;简称: PCRF )制定策略控制与计费( Policy Control and Charging ; 简称: PCC ) , PCC中包括位置改变上报的订阅事件。 网 关 (如: GGSN/P-GW)获得 PCC后, 可以得到上述位置改变上报的订阅事 件, 网关将上述位置改变上报的订阅事件在会话管理响应消息中携带给移 动性管理网元 (如: SGSN/MME ) , 移动性管理网元向接入网网元 (如: RNC/eNodeB )发送位置上报控制消息, 在上报控制消息中携带上述位置 改变上报的订阅事件。 当接入网网元检测到用户设备的位置改变后, 再上 报用户设备位置改变的事件给移动性管理网元, 移动性管理网元通过网关 将上述用户设备位置改变的事件上报给 PCRF。 这种位置上报方法依赖于 PCC架构的部署, 并且 PCC订阅用户设备位置改变的上报事件需要依赖 用户设备承载的存在。 The communication model of the above wireless evolution network is currently mainly applied to human to human (Human to Human; abbreviation: H2H) Communication system, in the H2H communication system, the method of location reporting is: when the user equipment establishes a bearer, the Policy and Charging Rules Function (PCRF) formulates policy control. With Billing (Policy Control and Charging; PCC), the PCC includes subscription events for location change reporting. After obtaining the PCC, the gateway (for example, the GGSN/P-GW) can obtain the subscription event reported by the location change, and the gateway forwards the subscription event reported by the location change to the mobility management network element in the session management response message (for example, SGSN). /MME), the mobility management network element sends a location report control message to the access network element (for example, RNC/eNodeB), and carries the subscription event reported by the location change report in the report control message. After the access network element detects that the location of the user equipment is changed, the event that the location change of the user equipment is reported to the mobility management network element, and the mobility management network element reports the event of the location change of the user equipment to the PCRF through the gateway. This location reporting method relies on the deployment of the PCC architecture, and the reporting event of the PCC subscription user equipment location change depends on the presence of the user equipment bearer.
机器到机器 (Machine to Machine; 简称: M2M ) 通信是一个或者多 个网元之间在不需要人为参与的情况下进行的网络通讯, 如交通控制与管 理、 工厂监控、 远程抄表等应用。 M2M 的终端设备可以通过无线演进网 络连接到应用服务器进行数据通信。  Machine to Machine (M2M) communication is a network communication between one or more network elements without human intervention, such as traffic control and management, factory monitoring, remote meter reading and other applications. The M2M terminal device can connect to the application server for data communication through the wireless evolution network.
由于现有 H2H通信系统中, 用户设备的位置一旦改变, 网络就将用 户设备位置改变的事件上报给 PCRF;而按照 M2M应用的需求,只有 M2M 终端进入或离开特定区域时, 网络才需要将这个事件上报给应用服务器。 因此, 如果釆用 H2H通信系统的位置上报方案, M2M通信系统的网络 将上报大量无效的信令, 导致网络负荷增加。  In the existing H2H communication system, when the location of the user equipment changes, the network reports the event of the user equipment location change to the PCRF; according to the requirements of the M2M application, the network only needs to use this when the M2M terminal enters or leaves a specific area. The event is reported to the application server. Therefore, if the location reporting scheme of the H2H communication system is used, the network of the M2M communication system will report a large amount of invalid signaling, resulting in an increase in network load.
此外, H2H通信系统网络只能检测处于连接状态的用户设备的位置改 变, 而不能检测处于空闲状态的用户设备的位置改变。但在 M2M应用中, 为了节约网络资源, 很多 M2M终端只是附着在网络, 并不建立承载。 因 此, 当 M2M终端不存在承载时, M2M终端处于空闲状态, 釆用 H2H通 信系统的位置上报方案, 无法实现位置上报。 发明内容 In addition, the H2H communication system network can only detect the location change of the user equipment in the connected state, and cannot detect the location change of the user equipment in the idle state. However, in M2M applications, in order to save network resources, many M2M terminals are only attached to the network and do not establish bearers. Therefore, when there is no bearer in the M2M terminal, the M2M terminal is in an idle state, and the H2H pass is used. The location reporting scheme of the letter system cannot be used for location reporting. Summary of the invention
本发明实施例提供一种位置上报方法、 设备和系统, 用以解决现有技 术中位置上报造成系统信令负荷中、 网络资源的占用多的问题, 实现减轻 了位置上报过程中的系统信令负荷和网络资源占用。  The embodiments of the present invention provide a method, a device, and a system for reporting a location, which are used to solve the problem that the system signaling load caused by location reporting in the prior art and the occupation of network resources are large, and the system signaling in the location reporting process is mitigated. Load and network resource usage.
本发明实施例提供一种位置上报方法, 包括:  An embodiment of the present invention provides a location reporting method, including:
获取用于上报用户设备进入或离开目标位置区域的事件信息, 所述事 件信息包括目标位置区域的位置信息;  Acquiring event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area;
根据所述用户设备所在的位置信息和所述目标位置区域的位置信息, 确定所述用户设备是否进入或离开所述目标位置区域;  Determining, according to the location information of the user equipment and the location information of the target location area, whether the user equipment enters or leaves the target location area;
若所述用户设备进入或离开所述目标位置区域, 则向网络中管理网元 上报所述用户设备进入或离开所述目标位置区域的事件, 以使所述管理网 元执行事件上报。  If the user equipment enters or leaves the target location area, the management network element reports an event that the user equipment enters or leaves the target location area, so that the management network element performs event reporting.
本发明实施例还提供一种位置上报方法, 包括:  The embodiment of the invention further provides a location reporting method, including:
发送用于上报用户设备进入或离开目标位置区域的事件信息; 若接收到所述用户设备进入或离开所述目标位置区域的事件, 则获取 所述用户设备所在的位置信息;  Sending event information for reporting that the user equipment enters or leaves the target location area; if receiving an event that the user equipment enters or leaves the target location area, acquiring location information of the user equipment;
根据所述用户设备所在的位置信, ί和所述目标位置区域的位置信, ί 执行事件上报。  According to the location information of the user equipment, ί and the location information of the target location area, ί performs event reporting.
本发明实施例还提供一种用户设备, 包括:  The embodiment of the invention further provides a user equipment, including:
事件信息获取模块, 用于获取用于上报用户设备进入或离开目标位置 区域的事件信息, 所述事件信息包括目标位置区域的位置信息;  An event information obtaining module, configured to acquire event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area;
事件确定模块, 用于根据所述用户设备所在的位置信息和所述目标位 置区域的位置信息, 确定所述用户设备是否进入或离开所述目标位置区 域; 位置上报模块, 用于若所述用户设备进入或离开所述目标位置区域, 向网络中管理网元上报所述用户设备进入或离开所述目标位置区域的事 件, 以使所述管理网元执行事件上报。 An event determining module, configured to determine, according to location information of the user equipment and location information of the target location area, whether the user equipment enters or leaves the target location area; a location reporting module, configured to report, to the network management network element, an event that the user equipment enters or leaves the target location area, to enable the management network element to perform, if the user equipment enters or leaves the target location area The incident was reported.
本发明实施例还提供一种接入网网元, 包括:  An embodiment of the present invention further provides an access network element, including:
事件信息获取模块, 用于获取用于上报用户设备进入或离开目标位置 区域的事件信息, 所述事件信息包括目标位置区域的位置信息;  An event information obtaining module, configured to acquire event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area;
事件确定模块, 用于根据所述用户设备所在的位置信息和所述目标位 置区域的位置信息, 确定所述用户设备是否进入或离开所述目标位置区 域;  An event determining module, configured to determine, according to location information of the user equipment and location information of the target location area, whether the user equipment enters or leaves the target location area;
位置上报模块, 用于若所述用户设备进入或离开所述目标位置区域, 向网络中管理网元上报所述用户设备进入或离开所述目标位置区域的事 件, 以使所述管理网元执行事件上报。  a location reporting module, configured to report, to the network management network element, an event that the user equipment enters or leaves the target location area, to enable the management network element to perform, if the user equipment enters or leaves the target location area The incident was reported.
本发明实施例还提供一种管理网元, 包括:  The embodiment of the invention further provides a management network element, including:
事件信息发送模块, 用于发送用于上报用户设备进入或离开目标位置 区域的事件信息;  An event information sending module, configured to send event information for reporting that the user equipment enters or leaves the target location area;
位置获取模块, 用于若接收到所述用户设备进入或离开所述目标位置 区域的事件, 则获取所述用户设备所在的位置信息;  a location obtaining module, configured to acquire location information of the user equipment if an event of the user equipment entering or leaving the target location area is received;
上报执行模块, 用于根据所述用户设备所在的位置信息和所述目标位 置区域的位置信息执行事件上报。  The reporting execution module is configured to perform event reporting according to the location information of the user equipment and the location information of the target location area.
本发明实施例还提供一种位置上报系统, 包括: 用户设备、 接入网网 元和管理网元; 其中,  The embodiment of the present invention further provides a location reporting system, including: a user equipment, an access network element, and a management network element;
所述管理网元釆用本发明实施例提供的任一所述的管理网元; 所述用户设备釆用本发明实施例提供的任一所述的用户设备; 所述接入网网元釆用本发明实施例提供的任一所述的接入网网元。 本发明实施例提供的位置上报方法、 设备和系统中, 用户设备或接入 网网元获取用于上报用户设备进入或离开目标位置区域的事件信息后, 可 以根据所述事件信息和用户设备所在的位置信息, 确定用户设备是否进入 或离开目标位置区域; 如果是, 则用户设备或接入网网元可以向网络中管 理网元上报所述用户设备进入或离开所述目标位置区域的事件, 以使所述 管理网元执行事件上报, 满足了应用服务器对用户设备进入或离开目标位 置区域时执行事件上报的需求, 避免了无用信令, 减轻了系统信令负荷; 并且不需要用户设备建立承载并保持在连接状态, 减轻了位置上报对网络 资源的占用。 附图说明 The management network element uses any of the management network elements provided by the embodiment of the present invention; the user equipment uses any of the user equipments provided by the embodiment of the present invention; Any of the access network elements provided by the embodiments of the present invention. In the location reporting method, device, and system provided by the embodiment of the present invention, after the user equipment or the access network element acquires event information for reporting that the user equipment enters or leaves the target location area, Determining whether the user equipment enters or leaves the target location area according to the event information and the location information of the user equipment; if yes, the user equipment or the access network element may report the user equipment to the management network element in the network. Or the event of leaving the target location area, so that the management network element performs event reporting, which satisfies the requirement that the application server performs event reporting when the user equipment enters or leaves the target location area, avoids unnecessary signaling, and reduces the system. Signaling load; and does not require the user equipment to establish a bearer and maintain the connection state, which reduces the occupation of network resources by the location report. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1为本发明实施例一提供的位置上报方法的流程图;  1 is a flowchart of a method for reporting a location according to Embodiment 1 of the present invention;
图 2为本发明实施例二提供的位置上报方法的流程图;  2 is a flowchart of a method for reporting a location according to Embodiment 2 of the present invention;
图 3为本发明实施例三提供的位置上报方法的流程图;  3 is a flowchart of a method for reporting a location according to Embodiment 3 of the present invention;
图 4为本发明实施例四提供的位置上报方法的流程图;  4 is a flowchart of a method for reporting a location according to Embodiment 4 of the present invention;
图 5为本发明实施例五提供的用户设备的结构示意图;  FIG. 5 is a schematic structural diagram of a user equipment according to Embodiment 5 of the present invention;
图 6为本发明实施例六提供的用户设备的结构示意图;  FIG. 6 is a schematic structural diagram of a user equipment according to Embodiment 6 of the present invention;
图 7为本发明实施例七提供的接入网网元的结构示意图;  FIG. 7 is a schematic structural diagram of an access network element according to Embodiment 7 of the present invention;
图 8为本发明实施例九提供的管理网元的结构示意图;  8 is a schematic structural diagram of a management network element according to Embodiment 9 of the present invention;
图 9为本发明实施例十提供的管理网元的结构示意图;  9 is a schematic structural diagram of a management network element according to Embodiment 10 of the present invention;
图 10为本发明实施例十一提供的位置上报系统的结构示意图。 具体实施方式  FIG. 10 is a schematic structural diagram of a location reporting system according to Embodiment 11 of the present invention. detailed description
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。 In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following will be combined BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention are clearly and completely described in the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例一  Embodiment 1
图 1为本发明实施例一提供的位置上报方法的流程图, 如图 1所示该 位置上报方法可以包括以下步骤:  FIG. 1 is a flowchart of a method for reporting a location according to Embodiment 1 of the present invention. The method for reporting a location according to FIG. 1 may include the following steps:
步骤 101、 获取用于上报用户设备进入或离开目标位置区域的事件信 息, 所述事件信息包括目标位置区域的位置信息;  Step 101: Acquire event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area.
其中, 事件信息可以包括目标位置区域的位置信息, 例如: 小区信息 The event information may include location information of the target location area, for example: cell information
( Cell Global Identifier或 E-UTRAN Cell Global Identifier ) 、 路由区信息 ( Routing Area Identifier; 简称: RAI )、 艮踪区信息 ( Tracking Area Identity; 简称: TAI ) 、 位置区信息 (Location Area Identity; 简称: LAI ) 、 跟踪 区列表信息 ( Tracking Area Identity list ) 、 接入网网元标识等。 可选的, 事 件信息中还可以包含上报类型, 例如, 用户设备进入上述目标位置区域上 报、 用户设备离开上述目标位置区域上报或用户设备进入和离开上述目标 位置区域上报。 (Cell Global Identifier or E-UTRAN Cell Global Identifier), Routing Area Identifier (RAI), Tracking Area Identity (TAI), Location Area Identity (referred to as Location Area Identity; LAI), Tracking Area Identity list, access network element identifier, and so on. Optionally, the event information may further include a report type, for example, the user equipment enters the target location area report, the user equipment leaves the target location area report, or the user equipment enters and leaves the target location area report.
一种情况下,在步骤 101中,如果用户设备处于空闲状态或等待状态, 用户设备获取所述事件信息, 可以由网络通知用户设备进入或离开事件的 信息。 具体实现可以包括以下两种方式:  In one case, in step 101, if the user equipment is in an idle state or a waiting state, the user equipment acquires the event information, and the network may notify the user equipment of the information of entering or leaving the event. The specific implementation can include the following two methods:
方式一、 若所述用户设备处于空闲状态或等待状态, 则所述用户设备 接收所述管理网元通过非接入层发送的所述事件信息, 其中, 所述管理网 元包括移动性管理网元(SGSN/MME ) 、 移动交换中心(MSC ) 、 拜访位 置寄存器 (VLR ) 。  Manner: If the user equipment is in an idle state or a waiting state, the user equipment receives the event information that is sent by the management network element by using a non-access stratum, where the management network element includes a mobility management network. Element (SGSN/MME), Mobile Switching Center (MSC), Visit Location Register (VLR).
具体地, 用户设备可以向网络发起附着 /路由区更新 /位置区更新 /跟踪 区更新等更新流程, 在用户设备发起上述流程的过程中, 管理网元(例如: 移动性管理网元(SGSN/MME ) 、 移动交换中心(MSC )或拜访位置寄存 器(VLR ) )可以从签约数据库(HLR/HSS )中获得用户设备的签约数据。 其中, 在用户设备的签约数据中已经签约上报该用户设备进入或离开某一 目标位置区域的事件信息。 SGSN/MME/MSC/VLR 获得了上述事件信息 后, 可以将上述事件信息发送给用户设备。 例如: SGSN/MME/MSC/VLR 可以在附着 /路由区更新 /位置区更新 /跟踪区更新接受消息中将上述事件 信息发送给用户设备。 Specifically, the user equipment may initiate an update process such as an attach/routing area update/location area update/tracking area update to the network, and manage the network element during the process of the user equipment initiating the foregoing process (for example: The mobility management network element (SGSN/MME), the mobile switching center (MSC) or the visitor location register (VLR) can obtain the subscription data of the user equipment from the subscription database (HLR/HSS). The event information of the user equipment entering or leaving a certain target location area has been signed and signed in the subscription data of the user equipment. After obtaining the event information, the SGSN/MME/MSC/VLR may send the event information to the user equipment. For example: The SGSN/MME/MSC/VLR may send the event information to the user equipment in the attach/routing area update/location area update/tracking area update accept message.
方式二、 用户设备接收应用信息服务器发送的所述事件信息。 具体可 以是用户设备附着到网络后, 应用层的应用信息服务器(例如: 开放移动 联盟终端管理( Open Mobile Alliance Device Management;简称: OMA DM) 服务器) 将所述事件信息通知给用户设备。  Manner 2: The user equipment receives the event information sent by the application information server. Specifically, after the user equipment is attached to the network, the application information server of the application layer (for example, an Open Mobile Alliance Device Management (OMA DM) server) notifies the user equipment of the event information.
另一种情况下, 在步骤 101 中, 如果用户设备处于连接状态或准备 ( Ready ) 状态, 则可以通过接入网网元 (如: RNC 或 eNodeB )接收管 理网元 (例如: 移动性管理网元)发送的上述事件信息。  In another case, in step 101, if the user equipment is in the connected state or Ready state, the management network element may be received through the access network element (such as RNC or eNodeB) (for example: mobility management network) The above event information sent by the element).
步骤 102、 根据所述用户设备所在的位置信息和所述目标位置区域的 位置信息, 确定所述用户设备是否进入或离开所述目标位置区域;  Step 102: Determine, according to the location information of the user equipment and the location information of the target location area, whether the user equipment enters or leaves the target location area.
一种情况下, 在步骤 102 中, 若所述用户设备处于空闲状态或等待 ( Standby )状态, 则所述用户设备从接入网网元的广播信息中, 获取所述 用户设备所在的位置信息; 所述用户设备将所述用户设备所在的位置信息 与所述事件信息中目标位置区域的位置信息进行比较, 确定所述用户设备 是否进入或离开所述目标位置区域。  In one case, in step 102, if the user equipment is in an idle state or a standby state, the user equipment acquires location information of the user equipment from the broadcast information of the network element of the access network. The user equipment compares the location information of the user equipment with the location information of the target location area in the event information, and determines whether the user equipment enters or leaves the target location area.
具体的, 用户设备接收到上述事件信息后, 用户设备可以获得上述事 件信息中目标位置区域的位置信息。 并且, 用户设备可以获取其自身所在 的位置信息, 例如: 用户设备通过接入网网元广播的位置信息 (可以包括 小区信息、 路由区信息或跟踪区信息、 位置区信息或跟踪区列表信息等至 少一种)获知用户设备所在的位置信息。 然后, 用户设备将其所在的位置 信息和获得的目标位置区域的位置信息进行比较, 如果用户设备所在的位 置信息和获得的目标位置区域的位置信息相同, 则用户设备进入了所述目 标位置区域; 如果用户设备所在的位置信息和获得的目标位置区域的位置 信息不同, 则用户设备离开了所述目标位置区域。 可选的, 事件信息中还 可包括上报类型, 上报类型具体可以包括: 上报用户设备进入所述目标位 置区域的事件、 上报用户设备离开所述目标位置区域的事件或上报用户设 备进入和离开所述目标位置区域的事件。 如果用户设备获取事件信息中的 上报类型, 则只有当满足该上报类型时, 才执行事件上报。 例如: 上报类 型是上报 UE进入 "A市" 的事件, 但检测得到 UE离开 "A市" , 则不 执行事件上报。 Specifically, after the user equipment receives the event information, the user equipment may obtain location information of the target location area in the event information. Moreover, the user equipment can obtain the location information of the user equipment, for example, the location information broadcast by the user equipment through the access network element (which may include cell information, routing area information or tracking area information, location area information, or tracking area list information, etc.) At least one) knows the location information of the user equipment. Then, the user device will be where it is located The information is compared with the obtained location information of the target location area. If the location information of the user equipment and the obtained location information of the target location area are the same, the user equipment enters the target location area; if the location information of the user equipment is The obtained location information of the target location area is different, and the user equipment leaves the target location area. Optionally, the event information may further include a report type, where the report type may include: reporting an event that the user equipment enters the target location area, reporting an event that the user equipment leaves the target location area, or reporting the user equipment entering and leaving the location The event in the target location area. If the user equipment obtains the report type in the event information, the event report is performed only when the report type is met. For example, the report type is an event that reports that the UE enters the "A city", but if the UE is detected to leave the "A city", the event report is not performed.
另一种情况下, 在步骤 102中, 若所述用户设备为连接状态或准备状 态, 所述接入网网元将所述用户设备所在的位置信息与所述事件信息中目 标位置区域的位置信息进行比较, 确定所述用户设备是否进入或离开所述 目标位置区域。 其中, 接入网网元确定所述用户设备是否进入或离开所述 目标位置区域的具体方法和用户设备相似, 在此不做赘述。  In another case, in step 102, if the user equipment is in a connected state or a ready state, the access network element stores the location information of the user equipment and the location of the target location area in the event information. The information is compared to determine whether the user equipment enters or leaves the target location area. The specific method for determining whether the user equipment enters or leaves the target location area is similar to that of the user equipment, and is not described herein.
步骤 103、 若所述用户设备进入或离开所述目标位置区域, 则向网络 中管理网元上报所述用户设备进入或离开所述目标位置区域的事件, 以使 所述管理网元执行事件上报。  Step 103: If the user equipment enters or leaves the target location area, report the event that the user equipment enters or leaves the target location area to the management network element in the network, so that the management network element performs event reporting. .
一种情况下, 如果用户设备处于空闲状态或等待状态, 且在步骤 102 中用户设备确定该用户设备进入或离开所述目标位置区域, 则用户设备可 以发起接入流程, 在接入流程中, 用户设备转为连接状态或准备状态, 用 户设备可以通过接入网网元将用户设备所在的位置信息发送给 SGSN/MME/MSC/VLR, 由 SGSN/MME/MSC/VLR将获得的用户设备所在 的位置信息和在步骤 101中从签约数据中获得的用户设备的目标位置区域 的位置信息进行比较,如果满足上报条件, 则 SGSN/MME/MSC/VLR执行 事件上报, 将用户设备进入或离开所述目标位置区域的事件上报给应用服 务器。 例如, 如果用户设备所在的位置信息和获得的用户设备的目标位置 区域的位置信息相同,则 SGSN/MME/MSC/VLR可以确定用户设备进入了 所述目标位置区域, 则 SGSN/MME/MSC/VLR执行进入事件上报; 如果用 户设备所在的位置信息和获得的用户设备的目标位置区域的位置信息不 同, 则 SGSN/MME/MSC/VLR 可以确定用户设备离开了所述目标位置区 域, 则 SGSN/MME/MSC/VLR执行离开事件上报。 In one case, if the user equipment is in an idle state or a waiting state, and the user equipment determines in step 102 that the user equipment enters or leaves the target location area, the user equipment may initiate an access procedure. In the access procedure, The user equipment is transferred to the connection state or the preparation state. The user equipment can send the location information of the user equipment to the SGSN/MME/MSC/VLR through the access network element, and the user equipment obtained by the SGSN/MME/MSC/VLR is located. The location information is compared with the location information of the target location area of the user equipment obtained from the subscription data in step 101. If the reporting condition is met, the SGSN/MME/MSC/VLR performs event reporting to enter or leave the user equipment. The event in the target location area is reported to the application service Server. For example, if the location information of the user equipment and the obtained location information of the target location area of the user equipment are the same, the SGSN/MME/MSC/VLR may determine that the user equipment enters the target location area, then the SGSN/MME/MSC/ The VLR performs an entry event report; if the location information of the user equipment is different from the obtained location information of the target location area of the user equipment, the SGSN/MME/MSC/VLR may determine that the user equipment leaves the target location area, then the SGSN/ The MME/MSC/VLR performs a leaving event report.
另一种情况下,如果用户设备处于连接状态或准备状态,且在步骤 102 中, 接入网网元确定所述用户设备进入或离开所述目标位置区域, 则所述 接入网网元向所述管理网元(例如: 移动性管理网元( SGSN/MME ) )上 报所述用户设备进入或离开所述目标位置区域的事件。  In another case, if the user equipment is in a connected state or a ready state, and in step 102, the access network element determines that the user equipment enters or leaves the target location area, the access network element The management network element (for example, a mobility management network element (SGSN/MME)) reports an event that the user equipment enters or leaves the target location area.
此外, 为了防止重复的位置上报, 用户设备可以指示网络中管理网元 是否上报用户设备进入或离开所述目标位置区域的事件。 具体地, 用户设 备可以向移动性管理网元、 移动交换中心或拜访位置寄存器发送携带指示 信息的非接入层消息, 所述指示信息中指示是否允许上报用户设备进入或 离开所述目标位置区域的事件。 其中, 用户设备设置指示信息的方法可以 为: 若所述用户设备第一次进入或离开所述目标位置区域, 则所述用户设 备将所述指示信息设置为上报所述用户设备进入或离开所述目标位置区 域; 若所述用户设备不是第一次进入或离开所述目标位置区域, 所述用户 设备将所述指示信息设置为不上报所述用户设备进入或离开所述目标位 置区域。 其中, 所述用户设备第一次进入所述目标位置区域, 具体为: 所 述用户设备所在的位置从非目标位置区域变更为所述目标位置区域; 所述 用户设备第一次离开所述目标位置区域, 具体为: 所述用户设备所在的位 置从所述目标位置区域变更为非目标位置区域。  In addition, in order to prevent duplicate location reporting, the user equipment may indicate whether the management network element in the network reports an event that the user equipment enters or leaves the target location area. Specifically, the user equipment may send a non-access stratum message carrying the indication information to the mobility management network element, the mobile switching center, or the visitor location register, where the indication information indicates whether the user equipment is allowed to report to enter or leave the target location area. event. The method for setting the indication information by the user equipment may be: if the user equipment enters or leaves the target location area for the first time, the user equipment sets the indication information to report that the user equipment enters or leaves the user equipment. The target location area; if the user equipment does not enter or leave the target location area for the first time, the user equipment sets the indication information to not report that the user equipment enters or leaves the target location area. The user equipment enters the target location area for the first time, specifically: the location where the user equipment is located is changed from the non-target location area to the target location area; the user equipment leaves the target for the first time. The location area is specifically: the location where the user equipment is located is changed from the target location area to the non-target location area.
例如: 用户设备在接入请求消息中携带指示信息, 以指示 SGSN/MME/MSC/VLR执行事件上报。 这种方式的控制点在用户设备。 用 户设备可以获知是否是第一次进入或离开所述目标位置区域, 如果是, 则 用户设备在接入请求消息中携带指示 SGSN/MME/MSC/VLR 执行事件上 报的指示信息;如果不是,则用户设备不在接入请求消息中携带指示信息, 即使 SGSN/MME/MSC/VLR获知上报条件满足, 也不执行事件上报。 For example, the user equipment carries the indication information in the access request message to instruct the SGSN/MME/MSC/VLR to perform event reporting. This way the control point is on the user device. The user equipment can know whether it is the first time to enter or leave the target location area, and if so, The user equipment carries the indication information indicating that the SGSN/MME/MSC/VLR performs the event reporting in the access request message; if not, the user equipment does not carry the indication information in the access request message, even if the SGSN/MME/MSC/VLR learns to report The condition is met and the event is not reported.
上述的接入流程是指用户设备从空闲状态转为连接状态或从等待状 态转为准备状态,包括:在 UMTS 陆地无线接入网( UMTS Terrestrial Radio Access Network; UTRAN ) /演进的 UTRAN ( Evolved UTRAN; 简称: E-UTRAN ) 系统中, 用户设备发起服务 /跟踪区更新 /路由区更新请求 ( Service/TAU/RAU Request ) 流程, 用户设备从空闲状态转为连接状态; 或者, 在 GSM 边缘无线接入网络 ( GSM EDGE Radio Access Network; 简称: GERAN ) 系统中, 用户设备发送上行数据包, 用户设备从等待状 态转为准备状态。  The above access procedure refers to the transition of the user equipment from the idle state to the connected state or from the waiting state to the ready state, including: in the UMTS Terrestrial Radio Access Network (UTRAN) / evolved UTRAN (Evolved UTRAN) Abbreviation: E-UTRAN ) In the system, the user equipment initiates the service/tracking area update/routing request update service (Service/TAU/RAU Request) procedure, the user equipment changes from the idle state to the connected state; or, the GSM edge wirelessly connects In the GSM EDGE Radio Access Network (GERAN) system, the user equipment sends an uplink packet, and the user equipment changes from the waiting state to the ready state.
本实施例的位置上报方法中, 用户设备或接入网网元获取用于上报用 户设备进入或离开目标位置区域的事件信息后, 可以根据所述事件信息和 用户设备所在的位置信息, 确定用户设备是否进入或离开目标位置区域; 如果是, 则用户设备或接入网网元可以向网络中管理网元上报所述用户设 备进入或离开所述目标位置区域的事件, 以使所述管理网元执行事件上 报, 满足了应用服务器对用户设备进入或离开目标位置区域时执行事件上 报的需求, 避免了无用信令, 减轻了系统信令负荷; 并且不需要用户设备 建立承载并保持在连接状态, 减轻了位置上报对网络资源的占用。  In the location reporting method of the embodiment, after the user equipment or the access network element acquires event information for reporting that the user equipment enters or leaves the target location area, the user information may be determined according to the event information and the location information of the user equipment. Whether the device enters or leaves the target location area; if yes, the user equipment or the access network element may report the event that the user equipment enters or leaves the target location area to the management network element in the network, so that the management network The meta-execution event report satisfies the requirement that the application server performs event reporting when the user equipment enters or leaves the target location area, avoids unnecessary signaling, reduces system signaling load, and does not require the user equipment to establish a bearer and maintain the connection state. , alleviating the occupancy of network resources by location reporting.
实施例二  Embodiment 2
图 2为本发明实施例二提供的位置上报方法的流程图, 如图 2所示, 该位置上报方法可以包括以下步骤:  FIG. 2 is a flowchart of a method for reporting a location according to Embodiment 2 of the present invention. As shown in FIG. 2, the method for reporting a location may include the following steps:
步骤 201、 发送用于上报用户设备进入或离开目标位置区域的事件信 息;  Step 201: Send event information for reporting that the user equipment enters or leaves the target location area;
所述事件信息包括目标位置区域的位置信息。 在步骤 201之前, 可以 预先在用户设备的签约数据中签约上报该用户设备进入或离开所述目标 位置区域的事件信息; 移动性管理网元、 移动交换中心或拜访位置寄存器 从所述用户设备的签约数据中获得所述事件信息。 所述目标位置区域的位 置信息可以包括: 小区信息、 路由区信息、 跟踪区信息、 位置区信息或跟 踪区列表信息的至少一种。 进一步地, 所述事件信息还包括上报类型, 所 述上报类型包括: 上报用户设备进入所述目标位置区域的事件、 上报用户 设备离开所述目标位置区域的事件或上报用户设备进入和离开所述目标 位置区域的事件。 其中, 所述事件信息的具体内容可以参见实施例一的相 关描述, 在此不再赘述。 The event information includes location information of a target location area. Before the step 201, the user equipment may be contracted and reported to enter or leave the target in the subscription data of the user equipment. Event information of the location area; the mobility management network element, the mobile switching center, or the visitor location register obtains the event information from the subscription data of the user equipment. The location information of the target location area may include: at least one of cell information, routing area information, tracking area information, location area information, or tracking area list information. Further, the event information further includes a report type, and the report type includes: reporting an event that the user equipment enters the target location area, reporting an event that the user equipment leaves the target location area, or reporting the user equipment entering and leaving the The event in the target location area. For the specific content of the event information, refer to the related description in the first embodiment, and details are not described herein again.
此外, 在 M2M应用中, 应用服务器可以对 M2M终端执行位置跟踪: 当 M2M终端进入或者离开特定的跟踪区域之后, 网络检测到这个事件, 并且将这个事件上报给应用服务器。 应用服务器得到这个事件之后获知 M2M 终端进入或者离开特定的跟踪区域, 应用服务器可以根据这些事件 执行基于用户设备位置的业务管理或控制, 例如,基于位置的推送(Push ) 业务。 若所述目标位置区域为跟踪区, 则在步骤 201之前还可以包括以下 步骤:  In addition, in the M2M application, the application server can perform location tracking on the M2M terminal: After the M2M terminal enters or leaves the specific tracking area, the network detects the event and reports the event to the application server. After the application server obtains this event, it is learned that the M2M terminal enters or leaves a specific tracking area, and the application server can perform service management or control based on the location of the user equipment according to the events, for example, a location-based push service. If the target location area is a tracking area, the following steps may be included before step 201:
移动性管理实体 (MME ) 向所述用户设备发送只包含所述跟踪区的 跟踪区列表;  a mobility management entity (MME) transmitting, to the user equipment, a tracking area list including only the tracking area;
若所述用户设备进入或离开所述跟踪区后, 移动性管理实体收到用户 设备发起的跟踪区更新消息, 则根据所述跟踪区更新消息确定所述用户设 备是否进入或离开所述跟踪区。  After the user equipment enters or leaves the tracking area, the mobility management entity receives the tracking area update message initiated by the user equipment, and determines, according to the tracking area update message, whether the user equipment enters or leaves the tracking area. .
进一步地, 步骤 201具体可以分为以下情况:  Further, step 201 can be specifically divided into the following cases:
一种情况下, 若所述用户设备为空闲状态或等待状态, 则网络中管理 网元通过接入网网元向用户设备发送所述用于上报用户设备进入或离开 目标位置区域的事件信息;  In one case, if the user equipment is in an idle state or a waiting state, the management network element in the network sends the event information for reporting that the user equipment enters or leaves the target location area to the user equipment through the access network element.
另一种情况下, 若所述用户设备为连接状态或准备状态, 则网络中管 理网元向接入网网元发送用于上报用户设备进入或离开目标位置区域的 事件信息。 In another case, if the user equipment is in a connected state or a ready state, the management network element in the network sends a message to the access network element for reporting that the user equipment enters or leaves the target location area. Event information.
具体地, 所述事件信息中还可以携带所述目标位置区域对应的接入网 网元的标识, 网络中管理网元向所述接入网网元的标识对应的接入网网元 发送所述事件信息。  Specifically, the event information may further carry an identifier of an access network element corresponding to the target location area, where the management network element in the network sends an identifier to the access network element corresponding to the identifier of the access network element Event information.
步骤 202、 若接收到所述用户设备进入或离开所述目标位置区域的事 件, 则获取所述用户设备所在的位置信息;  Step 202: Acquire, if the user equipment enters or leaves an event of the target location area, acquiring location information of the user equipment;
其中, 步骤 202具体可以包括以下情况:  The step 202 may specifically include the following situations:
一种情况下, 若所述用户设备为空闲状态或等待状态, 则网络中管理 网元通过所述接入网网元接收所述用户设备上报的所述用户设备进入或 离开所述目标位置区域的事件; 或  In one case, if the user equipment is in an idle state or a waiting state, the management network element in the network receives, by the access network element, the user equipment reported by the user equipment to enter or leave the target location area. Event; or
另一种情况下, 若所述用户设备为连接状态或准备状态, 则网络中管 理网元接收所述接入网网元上报的所述用户设备进入或离开所述目标位 置区域的事件。  In another case, if the user equipment is in a connected state or a ready state, the management network element in the network receives an event that the user equipment reported by the access network element enters or leaves the target location area.
其中,管理网元获取所述用户设备所在的位置信息的具体方法可以为: 管理网元例如: 移动性管理网元、 移动交换中心或拜访位置寄存器可以接 收所述接入网网元例如: 基站, 发送的所述用户设备所在的位置信息。  The specific method for the management network element to obtain the location information of the user equipment may be: a management network element, for example: a mobility management network element, a mobile switching center, or a visitor location register may receive the access network element, for example: a base station , the location information of the user equipment that is sent.
步骤 203、 根据所述用户设备所在的位置信息和所述目标位置区域的 位置信息执行事件上报。  Step 203: Perform event reporting according to the location information of the user equipment and the location information of the target location area.
在执行步骤 203之前, 为了防止重复执行事件上报, 网络中管理网元 可以先判断用户设备是否是第一次进入或离开所述目标位置区域, 如果是 第一次, 则执行步骤 203的位置上报。 其中, 所述用户设备第一次进入所 述目标位置区域具体为: 所述用户设备所在的位置从非目标位置区域变更 为所述目标位置区域; 所述用户设备第一次离开所述目标位置区域具体 为: 所述用户设备所在的位置从所述目标位置区域变更为非目标位置区 域。  Before the step 203 is performed, the management network element in the network may first determine whether the user equipment enters or leaves the target location area for the first time, and if it is the first time, perform the location report of step 203. . The first time the user equipment enters the target location area is: the location where the user equipment is located is changed from the non-target location area to the target location area; the user equipment leaves the target location for the first time. The area is specifically: the location where the user equipment is located is changed from the target location area to the non-target location area.
所述网络中管理网元可以根据自身的标志位或用户设备设置的指示 信息获知用户设备是否是第一次进入或离开所述目标位置区域, 然后根据 用户设备是否是第一次进入或离开目标位置区域, 决定是否执行事件上 报, 具体可以包括以下示例: The management network element in the network may be set according to its own flag or user equipment. The information is used to determine whether the user equipment enters or leaves the target location area for the first time, and then determines whether to perform event reporting according to whether the user equipment is entering or leaving the target location area for the first time.
示例一、 移动性管理网元、 移动交换中心或拜访位置寄存器接收用户 设备发送的携带指示信息的非接入层消息, 根据指示信息确定是否上报所 述用户设备进入或离开所述目标位置区域的事件;  For example, the mobility management network element, the mobile switching center, or the visitor location register receives the non-access stratum message carrying the indication information sent by the user equipment, and determines, according to the indication information, whether to report the user equipment entering or leaving the target location area. Event
例如: 用户设备在接入请求消息中携带指示信息, 以指示 SGSN/MME/MSC/VLR执行事件上报。 这种方式的控制点在用户设备。 用 户设备可以获知是否是第一次进入或离开所述目标位置区域, 如果是, 则 用户设备在接入请求消息中携带指示 SGSN/MME/MSC/VLR 执行事件上 报的指示信息;如果不是,则用户设备不在接入请求消息中携带指示信息, 即使 SGSN/MME/MSC/VLR获知上报条件满足, 也不执行事件上报。  For example, the user equipment carries the indication information in the access request message to instruct the SGSN/MME/MSC/VLR to perform event reporting. This way the control point is on the user device. The user equipment can know whether it is the first time to enter or leave the target location area. If yes, the user equipment carries the indication information indicating that the SGSN/MME/MSC/VLR performs event reporting in the access request message; if not, then The user equipment does not carry the indication information in the access request message, and the event reporting is not performed even if the SGSN/MME/MSC/VLR learns that the reporting condition is satisfied.
示例二、 移动性管理网元、 移动交换中心或拜访位置寄存器根据用户 设备上下文中的标志位确定是否上报所述用户设备进入或离开所述目标 位置区域的事件。  Example 2: The mobility management network element, the mobile switching center or the visitor location register determines whether to report an event of the user equipment entering or leaving the target location area according to a flag bit in the context of the user equipment.
进一步地, 在示例二中, 若所述用户设备第一次进入或离开所述目标 位置区域, 则所述移动性管理网元、 移动交换中心或拜访位置寄存器将所 述标志位设置为上报所述用户设备进入或离开所述目标位置区域;  Further, in the second example, if the user equipment enters or leaves the target location area for the first time, the mobility management network element, the mobile switching center, or the visitor location register sets the flag bit to the reporting station. Said user equipment entering or leaving the target location area;
否则, 所述移动性管理网元、 移动交换中心或拜访位置寄存器将所述 标志位设置为不上报所述用户设备进入或离开所述目标位置区域。  Otherwise, the mobility management network element, the mobile switching center or the visitor location register sets the flag bit to not report that the user equipment enters or leaves the target location area.
例如: SGSN/MME/MSC/VLR釆用标志位记录用户设备是否是第一次 进入或离开所述目标位置区域。具体的,在 SGSN/MME/MSC/VLR的用户 设备上下文中设置标志位记录用户设备是否是第一次进入或离开所述目 标位置区域。例如, 当 SGSN/MME/MSC/VLR获知用户设备第一次进入或 离开所述目标位置区域后, 可以将用户设备上下文中的标志位设置为无效 (例如: 置 "0" ) 。 后续即使 SGSN/MME/MSC/VLR获知该用户设备进 入或离开目标位置区域, 即位置上报条件满足, 但是如果标志位无效,For example: The SGSN/MME/MSC/VLR uses the flag bit to record whether the user equipment is entering or leaving the target location area for the first time. Specifically, setting a flag bit in the user equipment context of the SGSN/MME/MSC/VLR records whether the user equipment enters or leaves the target location area for the first time. For example, when the SGSN/MME/MSC/VLR learns that the user equipment enters or leaves the target location area for the first time, the flag bit in the user equipment context may be set to be invalid (for example, set to "0"). Subsequent even if the SGSN/MME/MSC/VLR learns that the user equipment is entering Enter or leave the target location area, that is, the location reporting condition is met, but if the flag is invalid,
SGSN/MME/MSC/VLR也不执行事件上报。 The SGSN/MME/MSC/VLR also does not perform event reporting.
其中, 步骤 203具体可以包括以下步骤:  The step 203 may specifically include the following steps:
在移动性管理网元、 移动交换中心或拜访位置寄存器接收接入网网元 发送的所述用户设备所在的位置信息后, 所述移动性管理网元、 移动交换 中心或拜访位置寄存器根据所述用户设备所在的位置信息和所述事件信 息中目标位置区域的位置信息, 执行用户设备进入或离开所述目标位置区 域的事件上报。  After the mobility management network element, the mobile switching center, or the visitor location register receives the location information of the user equipment sent by the access network element, the mobility management network element, the mobile switching center, or the visited location register is configured according to the The location information of the user equipment and the location information of the target location area in the event information, and the event reporting of the user equipment entering or leaving the target location area is performed.
具体地, 移动性管理网元、 移动交换中心或拜访位置寄存器执行用户 设备进入或离开所述目标位置区域的事件上报可以包括: 若所述用户设备 所在的位置信息与所述事件信息中目标位置区域的位置信息相同, 则向应 用服务器上报所述用户设备进入所述目标位置区域的事件; 若所述用户设 备所在的位置信息与所述事件信息中目标位置区域的位置信息不同, 则向 应用服务器上报所述用户设备离开所述目标位置区域的事件。  Specifically, the event management report that the mobility management network element, the mobile switching center, or the visitor location register performs the user equipment to enter or leave the target location area may include: if the location information of the user equipment and the target location in the event information If the location information of the area is the same, the event that the user equipment enters the target location area is reported to the application server; if the location information of the user equipment is different from the location information of the target location area in the event information, the application is applied to the application. The server reports an event that the user equipment leaves the target location area.
其中, 移动性管理网元、 移动交换中心或拜访位置寄存器向应用服务 器上报所述用户设备进入或离开所述目标位置区域的事件具体可以包括 以下场景:  The event that the mobility management network element, the mobile switching center, or the visitor location register reports to the application server that the user equipment enters or leaves the target location area may specifically include the following scenarios:
场景一、 所述移动性管理网元、 移动交换中心或拜访位置寄存器向应 用服务器发送位置上报消息, 所述位置上报消息中携带指示所述用户设备 进入或离开所述目标位置区域的信息, 或, 将所述位置上报消息发送到第 三方网元, 由第三方网元向应用服务器发送所述位置上报消息或携带所述 目标位置区域对应的地理位置的事件消息。 例如: SGSN/MME/MSC/VLR 发送位置上报消息, 所述位置上报消息直接发送到应用服务器或通过一个 第三方网元(例如: 一个消息处理平台)发送到应用服务器。 第三方网元 可以直接转发该位置上报消息, 第三方网元也可以将位置上报消息中的目 标位置区域转化为地理位置, 然后第三方网元向应用服务器上报用户设备 进入或离开该地理位置的事件。 Scenario 1. The mobility management network element, the mobile switching center, or the visitor location register sends a location report message to the application server, where the location report message carries information indicating that the user equipment enters or leaves the target location area, or And sending the location report message to the third-party network element, where the third-party network element sends the location report message or the event message carrying the geographic location corresponding to the target location area to the application server. For example, the SGSN/MME/MSC/VLR sends a location report message, and the location report message is directly sent to the application server or sent to the application server through a third-party network element (for example, a message processing platform). The third-party network element can directly forward the report message to the location, and the third-party network element can also convert the target location area in the location report message into a geographic location, and then the third-party network element reports the user equipment to the application server. An event that enters or leaves the geographic location.
场景二、 移动性管理网元通过网关向应用服务器发送位置上报消息, 所述位置上报消息中携带指示所述用户设备进入或离开所述目标位置区 域的信息, 或, 通过网关将所述位置上报消息发送到第三方网元, 由第三 方网元向应用服务器发送所述位置上报消息或携带所述目标位置区域对 应的地理位置的事件消息。 例如: SGSN/MME 将位置上报消息发送到网 关 (如: GGSN/PGW ) , 由网关将所述位置上报消息发送到应用服务器; 其中, 网关还可以将所述位置上报消息发送到第三方网元, 由第三方网元 向应用服务器发送所述位置上报消息或上报用户设备进入或离开所述目 标位置区域对应的地理位置的事件。  Scenario 2: The mobility management network element sends a location report message to the application server through the gateway, where the location report message carries information indicating that the user equipment enters or leaves the target location area, or reports the location through the gateway. The message is sent to the third-party network element, and the third-party network element sends the location report message or the event message carrying the geographical location corresponding to the target location area to the application server. For example, the SGSN/MME sends a location report message to the gateway (eg, GGSN/PGW), and the gateway sends the location report message to the application server. The gateway may also send the location report message to the third-party network element. And sending, by the third-party network element, the location reporting message to the application server or reporting an event that the user equipment enters or leaves a geographic location corresponding to the target location area.
场景三、 移动性管理网元、 移动交换中心或拜访位置寄存器通过签约 数据库向应用服务器发送位置上报消息, 所述位置上报消息中携带指示所 述用户设备进入或离开所述目标位置区域的信息, 或, 通过签约数据库将 所述位置上报消息发送到第三方网元, 由第三方网元向应用服务器发送所 述位置上报消息或携带所述目标位置区域对应的地理位置的事件消息。 例 如: SGSN/MME/MSC/VLR通过签约数据库(如: HLR/HSS )将所述位置 上报消息发送到应用服务器; 其中, 签约数据库还可以将所述位置上报消 息发送到第三方网元, 由第三方网元向应用服务器发送所述位置上报消息 或上报用户设备进入或离开所述目标位置区域对应的地理位置的事件。  Scenario 3: The mobility management network element, the mobile switching center, or the visitor location register sends a location report message to the application server through the subscription database, where the location report message carries information indicating that the user equipment enters or leaves the target location area, Or sending the location report message to the third-party network element by using the subscription database, and the third-party network element sends the location report message or the event message carrying the geographical location corresponding to the target location area to the application server. For example, the SGSN/MME/MSC/VLR sends the location report message to the application server through the subscription database (eg, HLR/HSS). The subscription database may also send the location report message to the third-party network element. The third-party network element sends the location report message to the application server or reports an event that the user equipment enters or leaves the geographic location corresponding to the target location area.
本实施例的位置上报方法中, 网络中管理网元向用户设备或接入网网 元发送用于上报用户设备进入或离开目标位置区域的事件信息后, 可以由 用户设备或接入网网元上报用户设备进入或离开目标位置区域的事件, 获 取用户设备所在的位置信息; 然后根据用户设备所在的位置信息和目标位 置区域的位置信息执行事件上报, 满足了应用服务器对用户设备进入或离 开目标位置区域时执行事件上报的需求, 避免了无用信令, 减轻了系统信 令负荷; 并且不需要用户设备建立承载并保持在连接状态, 减轻了位置上 报对网络资源的占用。 In the location reporting method of the embodiment, after the management network element in the network sends event information for reporting the user equipment to enter or leave the target location area, the user equipment or the access network element may be sent to the user equipment or the access network network element. The event information of the user equipment entering or leaving the target location area is reported, and the location information of the user equipment is obtained. Then, the event reporting is performed according to the location information of the user equipment and the location information of the target location area, which satisfies the application server entering or leaving the target device. The requirement of event reporting is performed in the location area, which avoids useless signaling and reduces the system signaling load; and does not require the user equipment to establish a bearer and maintain the connection state, thereby reducing the position. Report the occupation of network resources.
实施例三  Embodiment 3
图 3为本发明实施例三提供的位置上报方法的流程图, 如图 3所示, 假设用户设备处于空闲状态或者 Standby状态, 该位置上报方法具体可以 包括以下步骤。  FIG. 3 is a flowchart of a method for reporting a location according to Embodiment 3 of the present invention. As shown in FIG. 3, assuming that the user equipment is in an idle state or a standby state, the method for reporting the location may specifically include the following steps.
步骤 301、 UE获取用于上报该 UE进入或离开目标位置区域的事件信 息, 具体可以包括以下方式。  Step 301: The UE obtains event information for reporting that the UE enters or leaves the target location area, and specifically includes the following manner.
方式一、 UE向网络发起附着流程或路由区 /位置区 /跟踪区更新流程, 具体可以包括步骤 3011到步骤 3014。  In the first method, the UE initiates an attach process or a routing area/location area/tracking area update process to the network, which may include steps 3011 to 3014.
步骤 301 1、 UE向 SGSN/MME/MSC/VLR发送附着 /跟踪区更新 /路由 区更新 /位置区更新请求 ( Attach/TAU/RAU/LAU Request ) 消息。  Step 301 1. The UE sends an attach/track area update/route area update request (Attach/TAU/RAU/LAU Request) message to the SGSN/MME/MSC/VLR.
步骤 3012、 SGSN/MME/MSC/VLR 向 HLR/HSS 发送更新位置请求 ( Update Location Request )消息,获取该 UE的签约数据,其中, HLR/HSS 中可以预先保存该 UE的签约数据。  Step 3012: The SGSN/MME/MSC/VLR sends an update location request (Update Location Request) message to the HLR/HSS to obtain the subscription data of the UE, where the subscription data of the UE may be pre-stored in the HLR/HSS.
步骤 3013、 HLR/HSS中 UE的签约数据中存储了上报该 UE进入或离 开目标位置区域的事件信息。 其中, 事件信息可以包括目标位置区域的位 置信息, 例如: 小区信息(CGI或 ECGI )或路由区信息(RAI )或跟踪区 信息 (TAI ) 或跟踪区列表信息 (TA list ) 或目标位置区域对应的接入网 网元标识等。 可选的, 事件信息中还可以包括上报类型, 例如: 进入上述 目标位置区域上报、 离开上述目标位置区域上报或进入和离开上述目标位 置区域上报。 HLR/HSS可以将上述事件信息携带在更新位置确认(Update Location Ack ) 消息中发送给 SGSN/MME/MSC/VLR。  Step 3013: The event information of the UE in the HLR/HSS stores event information that reports that the UE enters or leaves the target location area. The event information may include location information of the target location area, for example: cell information (CGI or ECGI) or routing area information (RAI) or tracking area information (TAI) or tracking area list information (TA list) or target location area corresponding Access network element identification, etc. Optionally, the event information may further include a report type, for example, the report is sent to the target location area, reported to the target location area, or reported to and from the target location area. The HLR/HSS may carry the above event information in an Update Location Ack message to the SGSN/MME/MSC/VLR.
步骤 3014、 SGSN/MME/MSC/VLR向 UE发送附着 /路由区更新 /跟踪 区更新 /位置区更新接受 ( Attach/RAU/TAU/LAU Accept ) 消息。 Attach/RAU/TAU/LAU Accept消息中携带 SGSN/MME/MSC/VLR在步骤 3013中获得的事件信息。 方式二、 网络通过应用层将所述事件信息通知给 UE。 具体可以是 UE 附着到网络后, 网络通过应用信息服务器 (例如: OMA DM服务器) 将 所述事件信息通知给 UE。 Step 3014: The SGSN/MME/MSC/VLR sends an Attach/Routing Area Update/Location Area Update Accept (Attach/RAU/TAU/LAU Accept) message to the UE. The Attach/RAU/TAU/LAU Accept message carries the event information obtained by the SGSN/MME/MSC/VLR in step 3013. Manner 2: The network notifies the UE of the event information by using an application layer. Specifically, after the UE is attached to the network, the network notifies the UE of the event information by using an application information server (for example, an OMA DM server).
步骤 302、 UE根据获得的事件信息可以确定其是否进入或离开目标位 置区域。  Step 302: The UE may determine, according to the obtained event information, whether it enters or leaves the target location area.
具体的, UE经过步骤 301获得了上述事件信息后, 可以从事件信息 中获得目标位置区域的位置信息, 例如, UE 通过接入网网元广播的位置 信息 (如: 小区信息、 路由区信息、 跟踪区信息、 位置区信息或跟踪区列 表信息等至少一种) 获知 UE所在的位置信息。 UE将其所在的位置信息 和获得的目标位置区域的位置信息进行比较, 如果 UE所在的位置信息和 获得的目标位置区域的位置信息相同, 则 UE进入了所述目标位置区域。 如果 UE所在的位置信息和获得的目标位置区域的位置信息不同, 则 UE 离开了所述目标位置区域。 可选的, UE 还可以获得上述事件信息中上报 类型和 /或目标位置区域对应的接入网网元标识。  Specifically, after obtaining the event information in step 301, the UE may obtain location information of the target location area from the event information, for example, location information broadcast by the UE through the access network element (eg, cell information, routing area information, At least one of tracking area information, location area information, or tracking area list information, etc., to know the location information of the UE. The UE compares the location information of the UE with the obtained location information of the target location area. If the location information of the UE and the obtained location information of the target location area are the same, the UE enters the target location area. If the location information of the UE and the obtained location information of the target location area are different, the UE leaves the target location area. Optionally, the UE may also obtain an access network element identifier corresponding to the reporting type and/or the target location area in the event information.
步骤 303、 UE发起接入, 以使移动性管理网元获得 UE所在的位置信 息,由移动性管理网元根据 UE所在的位置信息和事件信息执行事件上报, 具体可以包括以下步骤 3031到步骤 3032:  Step 303: The UE initiates the access, so that the mobility management network element obtains the location information of the UE, and the mobility management network element performs the event reporting according to the location information and the event information of the UE, which may include the following steps 3031 to 3032. :
步骤 3031、 如果 UE根据步骤 302检测到 UE进入或离开所述目标位 置区域, 则 UE发起接入流程。 具体的, UE可以通过无线接入网 RAN向 SGSN/MME/MSC/VLR发送服务 /跟踪区更新 /路由区更新 /位置区更新请求 ( Service/TAU/RAU/LAU Request ) 消息。 可选的, 参见实施例二中步骤 203 中的描述, SGSN/MME/MSC/VLR可以根据该 UE是否是第一次进入 或离开目标位置区域,决定是否上报 UE进入或离开目标位置区域的事件。 例如: UE可以在 Service/TAU/RAU/LAU Request消息中携带指示信息用 来指示 SGSN/MME/MSC/VLR是否上报 UE进入或离开目标位置区域的事 件, 可以默认为上报, 也可以根据指示信息的值确定是否上报。 此外, SGSN/MME/MSC/VLR也可以在 UE上下文中通过标志位记录该 UE是否 是第一次进入或离开所述目标位置区域。 Step 3031: If the UE detects, according to step 302, that the UE enters or leaves the target location area, the UE initiates an access procedure. Specifically, the UE may send a Service/TAU/RAU/LAU Request message to the SGSN/MME/MSC/VLR through the radio access network RAN. Optionally, refer to the description in step 203 in the second embodiment, the SGSN/MME/MSC/VLR may determine whether to report the event that the UE enters or leaves the target location area according to whether the UE enters or leaves the target location area for the first time. . For example, the UE may carry the indication information in the Service/TAU/RAU/LAU Request message to indicate whether the SGSN/MME/MSC/VLR reports the event that the UE enters or leaves the target location area, and may be reported by default or according to the indication information. The value is determined to be reported. In addition, The SGSN/MME/MSC/VLR may also record in the UE context whether the UE is entering or leaving the target location area for the first time by a flag bit.
步骤 3032、 接入网网元 (例如: RNC或 eNodeB或 BSC ) 向管理网 元发送 UE 的位置信息。 例如: 在 UTRAN 系统中, RNC 向 SGSN 或 MSC/VLR 发送初始 UE 消息 (Initial UE message ) /上行数据包。 在 E-UTRAN系统中, eNodeB向 MME发送 initial UE message消息。 initial UE message 消息中可以携带 UE所在的小区信息 ( CGI或 ECGI ) 或跟踪区 ( TAI )信息。 再如: 在 GERAN系统中, BSC向 SGSN发送上行数据包 同时将该 UE所在的小区信息携带给 SGSN。 SGSN/MME/MSC/VLR收到 RAN侧上报的 UE所在的位置信息后, 可以比较 UE所在的位置信息和所 述在步骤 301 中得到的目标位置区域的位置信息, 如果相同, 可以表明 UE进入了所述目标位置区域, 如果不同, 可以表明 UE 离开了所述目标 位置区域。 SGSN/MME/MSC/VLR根据上述比较结果决定是否上报 UE进 入或离开所述目标位置区域的事件。  Step 3032: The access network element (for example, RNC or eNodeB or BSC) sends the location information of the UE to the management network element. For example: In a UTRAN system, the RNC sends an Initial UE message/Uplink packet to the SGSN or MSC/VLR. In the E-UTRAN system, the eNodeB sends an initial UE message to the MME. The initial UE message may carry cell information (CGI or ECGI) or tracking area (TAI) information of the UE. For example, in the GERAN system, the BSC sends an uplink data packet to the SGSN and carries the cell information of the UE to the SGSN. After receiving the location information of the UE reported by the RAN side, the SGSN/MME/MSC/VLR may compare the location information of the UE and the location information of the target location area obtained in step 301. If they are the same, the UE may enter. The target location area, if different, may indicate that the UE has left the target location area. The SGSN/MME/MSC/VLR determines whether to report an event of the UE entering or leaving the target location area according to the comparison result.
可选的, 如果在步骤 3031 中 UE在 Service/TAU/RAU/LAU Request 消息中携带的指示信息中指示 SGSN/MME/MSC/VLR上报 UE进入或离开 所述目标位置区域的事件, 则在步骤 3032 中, SGSN/MME/MSC/VLR可 以根据上述比较结果和指示信息决定是否上报 UE进入或离开所述目标位 置区域的事件; 如果在步骤 3031中 UE在 Service/TAU/RAU/LAU Request 消息中携带的指示信息中指示 SGSN/MME/MSC/VLR不上报 UE进入或离 开所述目标位置区域的事件, 则在步骤 3032 中, SGSN/MME/MSC/VLR 不上报, 甚至不进行比较。  Optionally, if the SGSN/MME/MSC/VLR reports the event that the UE enters or leaves the target location area in the indication information carried in the Service/TAU/RAU/LAU Request message, the step is performed in step 3031. In 3032, the SGSN/MME/MSC/VLR may determine, according to the foregoing comparison result and the indication information, whether to report an event that the UE enters or leaves the target location area; if the UE is in the Service/TAU/RAU/LAU Request message in step 3031 If the SGSN/MME/MSC/VLR does not report the event that the UE enters or leaves the target location area, the SGSN/MME/MSC/VLR does not report or even compares in step 3032.
或者, SGSN/MME/MSC/VLR可以根据上述比较结果和 UE上下文中 记录 UE是否是第一次进入或离开所述目标位置区域的标志位, 决定是否 上报 UE 进入或离开所述目 标位置区域的事件。 具体的, 当 SGSN/MME/MSC/VLR获知 UE第一次进入或离开所述目标位置区域后, SGSN/MME/MSC/VLR设置 UE上下文中的标志位为无效(例如:置 "0" )。 后续即使 SGSN/MME/MSC/VLR 获知上报条件满足, 但是所述标志位无 效, 则 SGSN/MME/MSC/VLR也不执行事件上报。 其中 UE第一次进入所 述目标位置区域是指 UE的位置从非目标位置区域变更为目标位置区域; UE第一次离开所述目标位置区域是指 UE的位置从目标位置区域变为非 目标位置区域。 Alternatively, the SGSN/MME/MSC/VLR may determine whether to report the UE entering or leaving the target location area according to the foregoing comparison result and a flag in the UE context that records whether the UE is entering or leaving the target location area for the first time. event. Specifically, after the SGSN/MME/MSC/VLR learns that the UE enters or leaves the target location area for the first time, The SGSN/MME/MSC/VLR sets the flag bit in the UE context to be invalid (for example, set to "0"). If the SGSN/MME/MSC/VLR learns that the reporting condition is satisfied, but the flag is invalid, the SGSN/MME/MSC/VLR does not perform event reporting. The UE entering the target location area for the first time means that the location of the UE is changed from the non-target location area to the target location area; the first time the UE leaves the target location area means that the location of the UE changes from the target location area to the non-target area. Location area.
进一步,如果所述事件信息中目标位置区域的位置信息是跟踪区(TA ) 信息, 则 MME 从签约数据中获得了目标位置区域的事件信息后, MME 可以为 UE分配跟踪区列表(TA list )信息中只包含 TA作为目标位置区 域的位置信息。 如果 UE进入或离开该 TA, 则 UE主动发起跟踪区更新 ( TAU )流程。 MME会根据 TAU流程中获知的 UE所在的位置信息和所 述 TA信息可以确定 UE是否进入或离开目标位置区域(即该 TA ) 。  Further, if the location information of the target location area in the event information is the tracking area (TA) information, after the MME obtains the event information of the target location area from the subscription data, the MME may allocate a tracking area list (TA list) for the UE. The information only contains the location information of the TA as the target location area. If the UE enters or leaves the TA, the UE actively initiates a Tracking Area Update (TAU) procedure. The MME may determine whether the UE enters or leaves the target location area (ie, the TA) according to the location information of the UE and the TA information learned in the TAU procedure.
具体地, SGSN/MME/MSC/VLR确定 UE进入或离开目标位置区域后, 执行事件上报的方法可以包括以下场景:  Specifically, after the SGSN/MME/MSC/VLR determines that the UE enters or leaves the target location area, the method for performing event reporting may include the following scenarios:
场景一、 SGSN/MME/MSC/VLR 获知满足上报的条件, 则 Scenario 1. When the SGSN/MME/MSC/VLR learns that the conditions for reporting are satisfied,
SGSN/MME/MSC/VLR上报 UE进入或离开所述目标位置区域的事件给应 用服务器, 具体可以包括以下步骤 3033a到步骤 3035a。 The SGSN/MME/MSC/VLR reports the event that the UE enters or leaves the target location area to the application server, and specifically includes the following steps 3033a to 3035a.
步骤 3033a、 SGSN/MME/MSC/VLR发送位置上报 ( Location Report ) 消息,该 Location Report消息可以指示 UE进入或离开所述目标位置区域。 其中, SGSN/MME/MSC/VLR可直接将所述消息发送给应用服务器, 或, SGSN/MME/MSC/VLR将 Location Report消息发送到第三方网元 (例如: M2M平台 ) , 由第三方网元再将 UE进入或离开所述目标位置区域的事件 上报给应用服务器。  Step 3033a: The SGSN/MME/MSC/VLR sends a Location Report message, where the Location Report message may indicate that the UE enters or leaves the target location area. The SGSN/MME/MSC/VLR may directly send the message to the application server, or the SGSN/MME/MSC/VLR sends the Location Report message to the third-party network element (for example, the M2M platform), and the third-party network The event further reports the event that the UE enters or leaves the target location area to the application server.
步骤 3034a、如果 SGSN/MME/MSC/VLR先将 Location Report消息发 送到第三方网元, 则第三方网元获得 Location Report消息后, 将 UE进入 或离开目标位置区域的事件上报给应用服务器。 具体的, 第三方网元可以 将 Location Report消息转发给应用服务器,或者,第三方网元根据 Location Report消息获知 UE进入或离开所述目标位置区域, 然后第三方网元将所 述目标位置区域转化为地理位置, 由第三方网元向应用服务器上报 UE进 入或离开所述地理位置的事件。 Step 3034a: If the SGSN/MME/MSC/VLR first sends the Location Report message to the third-party network element, the third-party network element reports the event that the UE enters or leaves the target location area to the application server after obtaining the Location Report message. Specifically, the third-party network element can Forwarding the Location Report message to the application server, or the third-party network element learns that the UE enters or leaves the target location area according to the Location Report message, and then the third-party network element converts the target location area into a geographical location, and the third-party network The entity reports to the application server an event that the UE enters or leaves the geographic location.
步骤 3035a、 如果是第三方网元向应用服务器发送的 UE进入或离开 目标位置区域的事件消息 (转发的 Location Report消息或上报的 UE进入 或离开所述地理位置的事件) , 则应用服务器向第三方网元发送位置上报 确认( Location Report Ack )消息, 由第三方网元向 SGSN/MME/MSC/VLR 发送该 Location Report Ack消息。  Step 3035a: If the event message sent by the third-party network element to the application server to enter or leave the target location area (the forwarded Location Report message or the reported event of the UE entering or leaving the geographic location), the application server The third party network element sends a Location Report Ack message, and the third party network element sends the Location Report Ack message to the SGSN/MME/MSC/VLR.
如果是 SGSN/MME/MSC/VLR在步骤 3033a 中向应用服务器发送的 If it is sent by the SGSN/MME/MSC/VLR to the application server in step 3033a
UE进入或离开目标位置区域的 Location Report消息, 则应用服务器直接 其 中 , Location Report Ack 消 息 中 还 可 以 携 带 指 示 SGSN/MME/MSC/VLR对 UE的处理信息。 例如, 分离 UE或限制 UE发 起业务等。 The location report message of the UE entering or leaving the target location area, the application server directly therein, the Location Report Ack message may also carry the processing information indicating the SGSN/MME/MSC/VLR to the UE. For example, the UE is separated or the UE is restricted from starting a service or the like.
场景二、 SGSN/MME/MSC/VLR 获知满足上报的条件, 则 SGSN/MME/MSC/VLR通过 GGSN/PGW上报 UE进入或离开所述目标位 置区域的事件给应用服务器,具体可以包括以下步骤 3033b到步骤 3036b。  Scenario 2: The SGSN/MME/MSC/VLR learns that the condition of the report is satisfied, and the SGSN/MME/MSC/VLR reports the event that the UE enters or leaves the target location area to the application server by using the GGSN/PGW, which may include the following step 3033b. Go to step 3036b.
步骤 3033b、 SGSN/MME发送 Location Report消息, 所述消息指示 UE 进入或离开所述目标位置区域。 SGSN/MME 将所述消息发送给 GGSN/PGW。  Step 3033b: The SGSN/MME sends a Location Report message, where the message indicates that the UE enters or leaves the target location area. The SGSN/MME sends the message to the GGSN/PGW.
步骤 3034b、 GGSN/PGW将上述 Location Report消息发送给应用服务 器, 或, GGSN/PGW将 Location Report消息发送到第三方网元 (例如: M2M平台 ) ,再由第三方网元将 UE进入或离开所述目标位置区域的事件 上报给应用服务器。 如果 GGSN/PGW先将 Location Report消息发送到第 三方网元, 则第三方网元获得 Location Report消息后, 可以将 UE进入或 离开目标位置区域的事件上报给应用服务器。 具体的, 第三方网元可以将Step 3034b: The GGSN/PGW sends the location report message to the application server, or the GGSN/PGW sends the Location Report message to the third-party network element (for example, the M2M platform), and then the third-party network element enters or leaves the UE. The event in the target location area is reported to the application server. If the GGSN/PGW first sends the Location Report message to the third-party network element, the third-party network element can obtain the Location Report message, and then the UE can enter or The event leaving the target location area is reported to the application server. Specifically, the third-party network element can
Location Report消息转发给应用服务器, 或者, 第三方网元根据 Location Report消息获知 UE进入或离开所述目标位置区域, 然后将所述目标位置 区域转化为地理位置, 再向应用服务器上报 UE进入或离开所述地理位置 的事件。 The location report message is forwarded to the application server, or the third-party network element learns that the UE enters or leaves the target location area according to the Location Report message, and then converts the target location area into a geographical location, and then reports the UE to enter or leave the application server. The event of the geographic location.
步骤 3035b、 如果第三方网元向应用服务器发送 UE进入或离开目标 位置区域的事件消息, 则应用服务器向第三方网元发送 Location Report Ack消息, 由第三方网元向 GGSN/PGW发送 Location Report Ack消息。  Step 3035b: If the third-party network element sends an event message to the application server to enter or leave the target location area, the application server sends a Location Report Ack message to the third-party network element, and the third-party network element sends the Location Report Ack to the GGSN/PGW. Message.
如果 GGSN/PGW向应用服务器发送 UE进入或离开目标位置区域的 Location Report消息,则应用服务器可以直接向 GGSN/PGW发送 Location Report Ack消息。  If the GGSN/PGW sends a Location Report message to the application server to enter or leave the target location area, the application server may directly send a Location Report Ack message to the GGSN/PGW.
其 中 , Location Report Ack 消 息 中 还 可 以 携 带 指 示 SGSN/MME/MSC/VLR对 UE的处理信息。 例如, 分离 UE或限制 UE发 起业务等。  The Location Report Ack message may also carry the indication information of the SGSN/MME/MSC/VLR to the UE. For example, the UE is separated or the UE is restricted from starting a service or the like.
步骤 3036b、 GGSN/PGW向 SGSN/MME发送 Location Report Ack消 息。  Step 3036b: The GGSN/PGW sends a Location Report Ack message to the SGSN/MME.
场景三、 SGSN/MME/MSC/VLR 获知满足上报的条件, 则 SGSN/MME/MSC/VLR通过 HLR/HSS上报 UE进入或离开所述目标位置 区域的事件给应用服务器, 具体可以包括以下步骤 3033c到步骤 3036c。  Scenario 3: The SGSN/MME/MSC/VLR learns that the SGSN/MME/MSC/VLR is satisfied, and the SGSN/MME/MSC/VLR reports the event that the UE enters or leaves the target location area to the application server by using the HLR/HSS, which may include the following step 3033c. Go to step 3036c.
步骤 3033c、 SGSN/MME/MSC/VLR发送 Location Report消息, 所述 消息指示 UE进入或离开所述目标位置区域。 SGSN/MME/MSC/VLR将所 述消息发送给 HLR/HSS。  Step 3033c: The SGSN/MME/MSC/VLR sends a Location Report message, where the message indicates that the UE enters or leaves the target location area. The SGSN/MME/MSC/VLR sends the message to the HLR/HSS.
步骤 3034c、 HLR/HSS将 Location Report消息发送给应用服务器,或, HLR/HSS将 Location Report消息发送到第三方网元 (例如: M2M平台), 再由第三方网元将 UE进入或离开所述目标位置区域的事件上报给应用服 务器。 如果 HLR/HSS先将 Location Report消息发送到第三方网元, 则第 三方网元获得 Location Report消息后, 第三方网元将 UE进入或离开目标 位置区域的事件上报给应用服务器。 具体的, 第三方网元可以将 Location Report消息转发给应用服务器, 或者, 第三方网元根据 Location Report消 息获知 UE进入或离开所述目标位置区域, 然后第三方网元将所述目标位 置区域转化为地理位置, 第三方网元向应用服务器上报 UE进入或离开所 述地理位置的事件。 Step 3034c: The HLR/HSS sends the Location Report message to the application server, or the HLR/HSS sends the Location Report message to the third-party network element (for example, the M2M platform), and then the third-party network element enters or leaves the UE. The event in the target location area is reported to the application server. If the HLR/HSS first sends a Location Report message to a third-party network element, then After the third-party network element obtains the Location Report message, the third-party network element reports the event that the UE enters or leaves the target location area to the application server. Specifically, the third-party network element may forward the Location Report message to the application server, or the third-party network element learns that the UE enters or leaves the target location area according to the Location Report message, and then the third-party network element converts the target location area. For the geographic location, the third-party network element reports to the application server an event that the UE enters or leaves the geographic location.
步骤 3035c、 如果是第三方网元向应用服务器发送 UE进入或离开目 标位置区域的事件消息 (转发 Location Report消息或上报 UE进入或离开 所述地理位置的事件) , 则应用服务器向第三方网元发送 Location Report Ack消息, 由第三方网元向 HLR/HSS发送该 Location Report Ack消息。  Step 3035c: If the third-party network element sends an event message (the event of forwarding the Location Report message or reporting the UE entering or leaving the geographic location) to the application server, the application server sends the third-party network element to the third-party network element. The Location Report Ack message is sent, and the Location Report Ack message is sent by the third party network element to the HLR/HSS.
如果 HLR/HSS在步骤 3034c中向应用服务器发送 UE进入或离开目 标位置区域的事件消息, 则应用服务器直接向 HLR/HSS 发送 Location Report Ack消息。  If the HLR/HSS sends an event message to the application server to enter or leave the target location area in step 3034c, the application server sends a Location Report Ack message directly to the HLR/HSS.
其 中 , Location Report Ack 消 息 中 还 可 以 携 带 指 示 SGSN/MME/MSC/VLR对 UE的处理信息。 例如, 分离 UE或限制 UE发 起业务等。  The Location Report Ack message may also carry the indication information of the SGSN/MME/MSC/VLR to the UE. For example, the UE is separated or the UE is restricted from starting a service or the like.
步骤 3036c、 HLR/HSS向 SGSN/MME/MSC/VLR发送 Location Report Step 3036c: The HLR/HSS sends a Location Report to the SGSN/MME/MSC/VLR.
Ack消息。 Ack message.
步骤 304、 SGSN/MME/MSC/VLR向 UE发送服务请求 /跟踪区更新 / 路由区更新 /位置区更新接受 ( Service/TAU/RAU/LAU Accept ) 消息。 称仅为示例, 也可以使用其他消息名称, 本发明实施例不作限制。  Step 304: The SGSN/MME/MSC/VLR sends a Service Request/Tracking Area Update/Routing Area Update Accept (Service/TAU/RAU/LAU Accept) message to the UE. It is only an example, and other message names may also be used, which are not limited in the embodiment of the present invention.
本实施例的位置上报方法中,如果 UE处于空闲状态或 Standby状态, 该 UE从 SGSN/MME/MSC/VLR获取用于上报其进入或离开目标位置区域 的事件信息后, 可以根据所述事件信息中的目标位置区域的位置信息和获 取的 UE所在的位置信息, 确定 UE是否进入或离开目标位置区域; 如果 是, 则 UE可以向 SGSN/MME/MSC/VLR发起接入, UE转为连接状态或 Ready状态后, SGSN/MME/MSC/VLR可以根目标位置区域的位置信息和 UE所在的位置信息执行事件上报, 满足了应用服务器对 UE进入或离开 目标位置区域时执行事件上报的需求, 避免了无用信令, 减轻了系统信令 负荷; 并且不需要 UE建立承载并保持在连接状态, 减轻了位置上报对网 络资源的占用。 In the location reporting method of this embodiment, if the UE is in an idle state or a Standby state, the UE may obtain the event information for reporting the entry or exit of the target location area from the SGSN/MME/MSC/VLR, and may be based on the event information. The location information of the target location area and the location information of the acquired UE determine whether the UE enters or leaves the target location area; If yes, the UE may initiate an access to the SGSN/MME/MSC/VLR. After the UE transitions to the connected state or the Ready state, the SGSN/MME/MSC/VLR may perform an event by using the location information of the root target location area and the location information of the UE. The report satisfies the requirement that the application server performs event reporting when the UE enters or leaves the target location area, avoids useless signaling, and reduces system signaling load; and does not require the UE to establish a bearer and maintain the connection state, thereby reducing the location report. The occupation of network resources.
实施例四  Embodiment 4
图 4为本发明实施例四提供的位置上报方法的流程图, 假设在 UE处 于连接状态的场景下, 其中, UE处于连接状态是指 UE发起接入后, UE 从空闲状态转为连接状态, 或 UE从 Standby状态转为 Ready状态。 如图 4 is a flowchart of a method for location reporting according to Embodiment 4 of the present invention. It is assumed that in a scenario where the UE is in a connected state, where the UE is in a connected state, the UE transitions from an idle state to a connected state after the UE initiates the access. Or the UE changes from the Standby state to the Ready state. As shown
4所示, 网络向应用服务器上报 UE进入或离开所述目标位置区域的事件 的具体方法可以包括以下步骤: As shown in FIG. 4, the specific method for the network to report the event that the UE enters or leaves the target location area to the application server may include the following steps:
步骤 401、 UE发起接入, 在接入流程中 SGSN/MME获取 UE的签约 数据。 UE的签约数据中包含上报该 UE进入或离开目标位置区域的事件 信息。 所述事件信息的具体内容可以参见实施例一的相关描述, 接入过程 中 SGSN/MME获取事件信息的步骤具体可以包括以下步骤 401 1 到步骤 Step 401: The UE initiates an access, where the SGSN/MME obtains the subscription data of the UE. The subscription data of the UE includes event information for reporting that the UE enters or leaves the target location area. For the specific content of the event information, refer to the related description in the first embodiment. The step of acquiring the event information by the SGSN/MME in the access process may specifically include the following steps: 401 1 to the step
4014: 4014:
步骤 401 1、 UE向 SGSN/MME发送附着 /跟踪区更新 /路由区更新请求 ( Attach/TAU/RAU Request ) 消息。  Step 401: The UE sends an Attach/TAU/RAU Request message to the SGSN/MME.
步骤 4012、 SGSN/MME 向 HLR/HSS 发送更新位置请求 (Update Step 4012: The SGSN/MME sends an update location request to the HLR/HSS (Update
Location Request ) 消息, 获取 UE的签约数据。 Location Request) message, obtain the subscription data of the UE.
步骤 4013、 HLR/HSS 向 SGSN/MME 发送更新位置确认 ( Update Location Ack ) 消息, 该 Update Location Ack消息中包括 UE的签约数据, 该签约数据中包括上述事件信息。  Step 4013: The HLR/HSS sends an Update Location Ack message to the SGSN/MME, where the Update Location Ack message includes the subscription data of the UE, where the subscription data includes the event information.
步骤 4014、 SGSN/MME向 UE发送附着 /跟踪区更新 /路由区更新接受 Step 4014: The SGSN/MME sends an attach/tracking area update/routing area update acceptance to the UE.
( Attach/TAU/RAU Accept ) 消息。 步骤 402、 在 UE发起接入后, UE发起连接建立, 从空闲状态转为连 接状态或从 Standby状态转为 Ready状态, 具体的 UE可以向 SGSN/MME 发送服务 /跟踪区更新 /路由区更新请求( Service/TAU/RAU Request )消息。 其中,UE可以将该 Service/TAU/RAU Request消息先发送到 RAN,由 RAN 将该 Service/TAU/RAU Request消息 (包含在 Initial UE message ) 转发到 SGSN/MME。 ( Attach/TAU/RAU Accept ) message. Step 402: After the UE initiates the access, the UE initiates the connection establishment, and changes from the idle state to the connected state or from the Standby state to the Ready state, and the specific UE may send the service/tracking zone update/routing area update request to the SGSN/MME. (Service/TAU/RAU Request) message. The UE may send the Service/TAU/RAU Request message to the RAN first, and the RAN forwards the Service/TAU/RAU Request message (included in the Initial UE message) to the SGSN/MME.
步骤 403、 SGSN/MME 向 RAN 发送携带事件信息的位置上报控制 ( Location Report Control ) 消息。  Step 403: The SGSN/MME sends a Location Report Control message carrying the event information to the RAN.
步骤 404、 RAN向 SGSN/MME发送位置上报( Location Report )消息 以上报 UE进入或离开所述目标位置区域的事件。  Step 404: The RAN sends a Location Report message to the SGSN/MME to report an event that the UE enters or leaves the target location area.
具体地, SGSN/MME根据步骤 401可以获得上报 UE进入或离开所述 目标位置区域的事件信息。 当 UE 通过步骤 402 进入连接状态后, SGSN/MME向 RAN发送上述事件信息, 在 UE处于连接状态的场景下, 由 RAN获知 UE进入或离开所述目标位置区域,并将 UE进入或离开所述 目标位置区域的事件上报给 SGSN/MME。 具体的, SGSN/MME 向 RNC 或 eNodeB发送 Location Report Control消息 ,所述 Location Report Control 消息中包含上述的事件信息。 当 UE处于连接状态时, RAN根据获得的所 述事件信息检测 UE是否进入或离开所述目标位置区域, 如果 RAN检测 到 UE进入或离开所述目标位置区域, 则 RAN向 SGSN/MME上报 UE进 入或离开所述目标位置区域的事件。 例如: 在 UTRAN系统中 , RNC检测 UE进入或离开所述目标位置区域(如: 某个小区) , 则 RNC向 SGSN上 报 UE进入或离开所述目标位置区域。再如:在 E-UTRAN系统中, eNodeB 检测 UE 进入或离开所述目标位置区域 ( 如: 某个小区或跟踪区) , 则 eNodeB向 MME上报 UE进入或离开所述目标位置区域。  Specifically, the SGSN/MME may obtain, according to step 401, event information that reports that the UE enters or leaves the target location area. After the UE enters the connection state through step 402, the SGSN/MME sends the event information to the RAN. In the scenario where the UE is in the connected state, the RAN learns that the UE enters or leaves the target location area, and enters or leaves the UE. The event in the target location area is reported to the SGSN/MME. Specifically, the SGSN/MME sends a Location Report Control message to the RNC or the eNodeB, where the Location Report Control message includes the event information. When the UE is in the connected state, the RAN detects whether the UE enters or leaves the target location area according to the obtained event information. If the RAN detects that the UE enters or leaves the target location area, the RAN reports the UE entry to the SGSN/MME. Or an event that leaves the target location area. For example, in the UTRAN system, the RNC detects that the UE enters or leaves the target location area (for example, a certain cell), and the RNC reports to the SGSN that the UE enters or leaves the target location area. For example, in the E-UTRAN system, the eNodeB detects that the UE enters or leaves the target location area (for example, a certain cell or a tracking area), and the eNodeB reports to the MME that the UE enters or leaves the target location area.
当由于 UE移动导致 UE接入的 RAN改变时, SGSN/MME需要向新 When the RAN of the UE access changes due to UE mobility, the SGSN/MME needs to be new
RAN发送上述事件信息, 具体的, SGSN/MME可以在切换流程中的切换 i 求 /位置改变清求 I路径改变清求 ( Handover Request/Relocation Request/Path switch Request ) 等消息中将所述事件信息发送给 RAN。 The RAN sends the event information, specifically, the SGSN/MME can switch in the handover process. The event information is sent to the RAN in a message such as a Handover Request/Relocation Request/Path Switch Request.
SGSN/MME还可以在 Service/TAU/RAU Request流程中的初始 UE上下文 建立 ( initial UE context setup )或空口接入 载分配清求 ( RAB assignment Request ) 消息中将所述事件信息发送给 RAN。 The SGSN/MME may also send the event information to the RAN in an initial UE context setup or an air interface access allocation request (RAB assignment Request) message in the Service/TAU/RAU Request procedure.
此外, 在本实施例中, 优选地, SGSN/MME可以选择部分 RAN发送 所述事件信息。 具体的, 由于所述事件信息中目标位置区域是固定的某些 目标位置区域, 只有部分 RAN侧设备能够覆盖所述目标位置区域。 当 UE 在其他 RAN侧设备接入网络时, SGSN/MME能够获知 UE不在所述目标 位置区域的范围, 可以不指示 RAN侧设备检测 UE是否进入或离开所述 目标位置区域。 只有当 UE从能够覆盖到所述目标位置区域的 RAN侧设 备接入时, SGSN/MME才会向这些 RAN侧设备发送所述事件信息, 由所 述 RAN侧设备检测 UE是否进入或离开所述目标位置区域。 具体的, 在 签约数据中签约的事件信息不仅可以包括所述目标位置区域的位置信, ¾ 和上报类型, 还可以包括所述目标位置区域对应的 RAN侧设备 (即接入 网网元) 的信息, 如: 接入网网元标识 ( RNC ID或 eNodeB ID等) 。 当 UE从 RAN接入时, RAN侧设备可以将接入网网元标识携带在消息中发 给 SGSN/MME。 SGSN/MME将 RAN侧设备发送的接入网网元标识和所 述事件信息中接入网网元标识进行比较, 如果相同, 则 SGSN/MME通过 上述流程将所述事件信息通知给所述 RAN侧设备。所述 RAN侧设备获知 了所述事件信息后,按照上述方法检测 UE进入或离开所述目标位置区域, 如果发生, 将 UE 进入或离开所述目 标位置区域的事件上报给 SGSN/MME。  In addition, in this embodiment, preferably, the SGSN/MME may select a part of the RAN to send the event information. Specifically, since the target location area in the event information is a fixed target location area, only a part of the RAN side device can cover the target location area. When the UE accesses the network on the other RAN side device, the SGSN/MME can learn that the UE is not in the range of the target location area, and may not instruct the RAN side device to detect whether the UE enters or leaves the target location area. The SGSN/MME sends the event information to the RAN side devices only when the UE accesses the RAN side device that can cover the target location area, and the RAN side device detects whether the UE enters or leaves the device. Target location area. Specifically, the event information that is contracted in the subscription data may include not only the location information of the target location area, but also the reporting type, and may also include the RAN side device (ie, the access network element) corresponding to the target location area. Information, such as: Access network element identifier (RNC ID or eNodeB ID, etc.). When the UE accesses from the RAN, the RAN side device may carry the access network element identifier in a message and send it to the SGSN/MME. The SGSN/MME compares the access network element identifier sent by the RAN side device with the access network element identifier in the event information. If they are the same, the SGSN/MME notifies the event information to the RAN through the foregoing process. Side equipment. After the RAN side device learns the event information, it detects that the UE enters or leaves the target location area according to the foregoing method. If yes, the event that the UE enters or leaves the target location area is reported to the SGSN/MME.
步骤 405、 SGSN/MME收到 RAN发送的 Location report 消息后, SGSN/MME可以上 ·¾ ΙΙΕ进入或离开所述目标位置区域。具体方法可以参 考实施例三步骤 303以及与图 3中三种场景的描述。 本实施例的位置上报方法中, 如果 UE处于连接状态或 Ready状态, 则 RAN从 SGSN/MME获取用于上报 UE进入或离开目标位置区域的事件 信息后, 可以根据所述事件信息中目标位置区域的位置信息和 RAN检测 到的 UE所在的位置信息, 确定 UE是否进入或离开目标位置区域; 如果 是, 则向 SGSN/MME 上报 UE 进入或离开目标位置区域的事件, SGSN/MME在从 RAN获取 UE所在的位置信息, 然后根据目标位置区域 的位置信息和 UE所在的位置信息执行事件上报,满足了应用服务器对 UE 进入或离开目标位置区域时执行事件上报的需求, 避免了无用信令, 减轻 了系统信令负荷。 Step 405: After receiving the Location report message sent by the RAN, the SGSN/MME may enter or leave the target location area on the SGSN/MME. For a specific method, reference may be made to the third step 303 of the embodiment and the description of the three scenarios in FIG. In the location reporting method of this embodiment, if the UE is in the connected state or the Ready state, the RAN may obtain the event information for reporting the entry or exit of the UE into the target location area from the SGSN/MME, and may be based on the target location area in the event information. The location information and the location information of the UE detected by the RAN determine whether the UE enters or leaves the target location area; if yes, reports the event that the UE enters or leaves the target location area to the SGSN/MME, and the SGSN/MME obtains from the RAN. The location information of the UE is used to perform event reporting according to the location information of the target location area and the location information of the UE, which satisfies the requirement that the application server performs event reporting when the UE enters or leaves the target location area, thereby avoiding useless signaling and reducing System signaling load.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机 可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 前述的存储介质包括: ROM、 RAM , 磁碟或者光盘等各种可以存储程序 代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The method includes the steps of the foregoing method embodiments. The foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
实施例五  Embodiment 5
图 5为本发明实施例五提供的用户设备的结构示意图, 如图 5所示, 该用户设备包括:  FIG. 5 is a schematic structural diagram of a user equipment according to Embodiment 5 of the present invention. As shown in FIG. 5, the user equipment includes:
事件信息获取模块 51 ,用于获取用于上报用户设备进入或离开目标位 置区域的事件信息, 所述事件信息包括目标位置区域的位置信息;  The event information obtaining module 51 is configured to acquire event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area;
事件确定模块 53 ,用于根据所述用户设备所在的位置信息和所述目标 位置区域的位置信息, 确定所述用户设备是否进入或离开所述目标位置区 域;  The event determining module 53 is configured to determine, according to the location information of the user equipment and the location information of the target location area, whether the user equipment enters or leaves the target location area;
位置上报模块 55 , 用于若所述用户设备进入或离开所述目标位置区 域, 向网络中管理网元上报所述用户设备进入或离开所述目标位置区域的 事件, 以使所述管理网元执行事件上报。  The location reporting module 55 is configured to report, when the user equipment enters or leaves the target location area, an event that the user equipment enters or leaves the target location area to the management network element in the network, so that the management network element Execution event escalation.
本实施例的用户设备获取用于上报用户设备进入或离开目标位置区 域的事件信息后, 可以根据所述事件信息和用户设备所在的位置信息, 确 定用户设备是否进入或离开目标位置区域; 如果是, 则用户设备可以向网 络中管理网元上报所述用户设备进入或离开所述目标位置区域的事件, 以 使所述管理网元执行事件上报, 满足了应用服务器对用户设备进入或离开 目标位置区域时执行事件上报的需求, 避免了无用信令, 减轻了系统信令 负荷; 并且不需要用户设备建立承载并保持在连接状态, 减轻了位置上报 对网络资源的占用。 The user equipment of this embodiment acquires, for reporting, that the user equipment enters or leaves the target location area. After the event information of the domain, the user equipment can determine whether the user equipment enters or leaves the target location area according to the event information and the location information of the user equipment. If yes, the user equipment can report the user equipment to the management network element in the network. Or the event of leaving the target location area, so that the management network element performs event reporting, which satisfies the requirement that the application server performs event reporting when the user equipment enters or leaves the target location area, avoids unnecessary signaling, and reduces the system. Signaling load; and does not require the user equipment to establish a bearer and maintain the connection state, which reduces the occupation of network resources by the location report.
实施例六  Embodiment 6
图 6为本发明实施例六提供的用户设备的结构示意图, 如图 6所示, 在实施例五的基础上, 该用户设备包括的事件信息获取模块 51可以包括: 接收单元 51 1 , 用于若所述用户设备处于空闲状态或等待状态, 接收 所述管理网元通过非接入层发送的所述事件信息, 所述管理网元包括移动 性管理网元、 移动交换中心或拜访位置寄存器; 或接收应用信息服务器发 送的所述事件信息。  FIG. 6 is a schematic structural diagram of a user equipment according to Embodiment 6 of the present invention. As shown in FIG. 6, on the basis of Embodiment 5, the event information acquiring module 51 included in the user equipment may include: a receiving unit 51 1 Receiving, by the non-access stratum, the event information, where the user equipment is in an idle state or a waiting state, where the management network element includes a mobility management network element, a mobile switching center, or a visitor location register; Or receiving the event information sent by the application information server.
进一步地, 事件确定模块 53可以包括:  Further, the event determination module 53 can include:
位置获取单元 531 , 用于若所述用户设备处于空闲状态或等待状态, 从接入网网元的广播信息中, 获取所述用户设备所在的位置信息;  a location obtaining unit 531, configured to acquire location information of the user equipment from the broadcast information of the network element of the access network, if the user equipment is in an idle state or a waiting state;
比较单元 533 , 用于将所述用户设备所在的位置信息与所述事件信息 中目标位置区域的位置信息进行比较, 确定所述用户设备是否进入或离开 所述目标位置区域;  The comparing unit 533 is configured to compare the location information of the user equipment with the location information of the target location area in the event information, to determine whether the user equipment enters or leaves the target location area;
再进一步地, 位置上报模块 55可以包括:  Further, the location reporting module 55 can include:
发起接入单元 551 , 用于若所述用户设备处于空闲状态或等待状态, 且确定所述用户设备进入或离开所述目标位置区域时, 发起接入, 使所述 用户设备从空闲状态转为连接状态或从等待状态转为准备状态;  The initiating access unit 551 is configured to: if the user equipment is in an idle state or a waiting state, and determine that the user equipment enters or leaves the target location area, initiate an access, and change the user equipment from an idle state to an idle state. Connection status or transition from a wait state to a ready state;
上报单元 553 , 用于通过接入网网元向所述管理网元上报所述用户设 备进入或离开所述目标位置区域的事件。 此外, 该用户设备还可以包括: The reporting unit 553 is configured to report, by the access network element, an event that the user equipment enters or leaves the target location area to the management network element. In addition, the user equipment may further include:
指示模块 57 , 用于向移动性管理网元、移动交换中心或拜访位置寄存 器发送携带指示信息的非接入层消息, 所述指示信息中指示是否允许上报 用户设备进入或离开所述目标位置区域的事件。  The indication module 57 is configured to send, to the mobility management network element, the mobile switching center, or the visitor location register, a non-access stratum message carrying the indication information, where the indication information indicates whether the user equipment is allowed to report to enter or leave the target location area. event.
其中, 指示模块 57 还可以用于: 若所述用户设备第一次进入或离开 所述目标位置区域, 则将所述指示信息设置为上报所述用户设备进入或离 开所述目标位置区域; 若所述用户设备不是第一次进入或离开所述目标位 置区域, 将所述指示信息设置为不上报所述用户设备进入或离开所述目标 位置区域。  The indication module 57 is further configured to: if the user equipment enters or leaves the target location area for the first time, setting the indication information to report that the user equipment enters or leaves the target location area; The user equipment does not enter or leave the target location area for the first time, and sets the indication information to not report that the user equipment enters or leaves the target location area.
本实施例的用户设备获取用于上报用户设备进入或离开目标位置区 域的事件信息后, 可以根据所述事件信息和用户设备所在的位置信息, 确 定用户设备是否进入或离开目标位置区域; 如果是, 则用户设备可以向网 络中管理网元上报所述用户设备进入或离开所述目标位置区域的事件, 以 使所述管理网元执行事件上报, 满足了应用服务器对用户设备进入或离开 目标位置区域时执行事件上报的需求, 避免了无用信令, 减轻了系统信令 负荷; 并且不需要用户设备建立承载并保持在连接状态, 减轻了位置上报 对网络资源的占用。  After the user equipment of the embodiment obtains event information for reporting that the user equipment enters or leaves the target location area, it may determine, according to the event information and the location information of the user equipment, whether the user equipment enters or leaves the target location area; The user equipment may report the event that the user equipment enters or leaves the target location area to the management network element in the network, so that the management network element performs event reporting, and the application server enters or leaves the target location of the user equipment. The requirement of performing event reporting in the area avoids useless signaling and reduces the system signaling load; and does not require the user equipment to establish a bearer and maintain the connection state, thereby reducing the occupation of the network resources by the location reporting.
实施例七  Example 7
图 7为本发明实施例七提供的接入网网元的结构示意图,如图 7所示, 该接入网网元可以包括:  FIG. 7 is a schematic structural diagram of an access network element according to Embodiment 7 of the present invention. As shown in FIG. 7, the access network element may include:
事件信息获取模块 71 ,用于获取用于上报用户设备进入或离开目标位 置区域的事件信息, 所述事件信息包括目标位置区域的位置信息;  The event information obtaining module 71 is configured to acquire event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area;
事件确定模块 73 ,用于根据所述用户设备所在的位置信息和所述目标 位置区域的位置信息, 确定所述用户设备是否进入或离开所述目标位置区 域;  The event determining module 73 is configured to determine, according to the location information of the user equipment and the location information of the target location area, whether the user equipment enters or leaves the target location area;
位置上报模块 75 , 用于若所述用户设备进入或离开所述目标位置区 域, 向网络中管理网元上报所述用户设备进入或离开所述目标位置区域的 事件, 以使所述管理网元执行事件上报。 a location reporting module 75, configured to: if the user equipment enters or leaves the target location area And the event that the user equipment enters or leaves the target location area is reported to the management network element in the network, so that the management network element performs event reporting.
本实施例的接入网网元获取用于上报用户设备进入或离开目标位置 区域的事件信息后, 可以根据所述事件信息和用户设备所在的位置信息, 确定用户设备是否进入或离开目标位置区域; 如果是, 则接入网网元可以 向网络中管理网元上报所述用户设备进入或离开所述目标位置区域的事 件, 以使所述管理网元执行事件上报, 满足了应用服务器对用户设备进入 或离开目标位置区域时执行事件上报的需求, 避免了无用信令, 减轻了系 统信令负荷; 并且不需要用户设备建立承载并保持在连接状态, 减轻了位 置上报对网络资源的占用。  After the event information about the user equipment entering or leaving the target location area is obtained, the access network element of the embodiment may determine, according to the event information and the location information of the user equipment, whether the user equipment enters or leaves the target location area. If yes, the access network element may report the event that the user equipment enters or leaves the target location area to the management network element in the network, so that the management network element performs event reporting, and the application server is satisfied to the user. When the device enters or leaves the target location area, the requirements for event reporting are performed, the useless signaling is avoided, and the system signaling load is alleviated; and the user equipment is not required to establish a bearer and maintain the connection state, thereby reducing the occupation of the network resources by the location report.
实施例八  Example eight
本发明实施例八提供一种接入网网元, 参见图 7 , 在实施例七的基础 上, 该接入网网元的事件信息获取模块 71 具体可以用于: 若所述用户设 备处于连接状态或准备状态, 接收所述管理网元发送的所述事件信息。  The eighth embodiment of the present invention provides an access network element. Referring to FIG. 7, the event information acquiring module 71 of the access network element may be used to: if the user equipment is connected. The status or the ready state, and receiving the event information sent by the management network element.
进一步地, 事件确定模块 73 具体可以用于: 若所述用户设备处于连 接状态或准备状态, 将所述用户设备所在的位置信息与所述事件信息中目 标位置区域的位置信息进行比较, 确定所述用户设备是否进入或离开所述 目标位置区域。  Further, the event determining module 73 is specifically configured to: compare the location information of the user equipment with the location information of the target location area in the event information, if the user equipment is in a connected state or a ready state, determine Whether the user equipment enters or leaves the target location area.
再进一步地, 位置上报模块 75 具体可以用于: 若所述用户设备处于 连接状态或准备状态, 且确定所述用户设备进入或离开所述目标位置区域 时, 向所述管理网元上报所述用户设备进入或离开所述目标位置区域的事 件。  Further, the location reporting module 75 may be specifically configured to: if the user equipment is in a connected state or a ready state, and determines that the user equipment enters or leaves the target location area, reporting the information to the management network element An event in which the user device enters or leaves the target location area.
本实施例的接入网网元获取用于上报用户设备进入或离开目标位置 区域的事件信息后, 可以根据所述事件信息和用户设备所在的位置信息, 确定用户设备是否进入或离开目标位置区域; 如果是, 则接入网网元可以 向网络中管理网元上报所述用户设备进入或离开所述目标位置区域的事 件, 以使所述管理网元执行事件上报, 满足了应用服务器对用户设备进入 或离开目标位置区域时执行事件上报的需求, 避免了无用信令, 减轻了系 统信令负荷; 并且不需要用户设备建立承载并保持在连接状态, 减轻了位 置上报对网络资源的占用。 After the event information about the user equipment entering or leaving the target location area is obtained, the access network element of the embodiment may determine, according to the event information and the location information of the user equipment, whether the user equipment enters or leaves the target location area. If yes, the access network element may report to the network management network element that the user equipment enters or leaves the target location area. To enable the management network element to perform event reporting, which satisfies the requirement that the application server performs event reporting when the user equipment enters or leaves the target location area, avoids useless signaling, reduces system signaling load, and does not require the user. The device establishes a bearer and maintains the connection state, which reduces the occupation of network resources by the location report.
实施例九  Example nine
图 8为本发明实施例九提供的管理网元的结构示意图, 如图 8所示, 该管理网元可以包括:  FIG. 8 is a schematic structural diagram of a management network element according to Embodiment 9 of the present invention. As shown in FIG. 8, the management network element may include:
事件信息发送模块 81 ,用于发送用于上报用户设备进入或离开目标位 置区域的事件信息;  The event information sending module 81 is configured to send event information for reporting that the user equipment enters or leaves the target location area;
位置获取模块 83 ,用于若接收到所述用户设备进入或离开所述目标位 置区域的事件, 则获取所述用户设备所在的位置信息;  a location obtaining module 83, configured to acquire location information of the user equipment if an event of the user equipment entering or leaving the target location area is received;
上报执行模块 85 ,用于根据所述用户设备所在的位置信息和所述目标 位置区域的位置信息执行事件上报。  The report execution module 85 is configured to perform event reporting according to the location information of the user equipment and the location information of the target location area.
本实施例网络中管理网元向用户设备或接入网网元发送用于上报用 户设备进入或离开目标位置区域的事件信息后, 可以由用户设备或接入网 网元上报用户设备进入或离开目标位置区域的事件, 获取用户设备所在的 位置信息; 然后根据用户设备所在的位置信息和目标位置区域的位置信息 执行事件上报, 满足了应用服务器对用户设备进入或离开目标位置区域时 执行事件上报的需求, 避免无用信令, 减轻系统信令负荷; 并且不需要用 户设备建立承载并保持在连接状态, 减轻了位置上报对网络资源的占用。  After the management network element in the network sends the event information to the user equipment or the access network element for reporting the user equipment to enter or leave the target location area, the user equipment or the access network element may report the user equipment to enter or leave. The event in the target location area acquires the location information of the user equipment; and then performs event reporting according to the location information of the user equipment and the location information of the target location area, which satisfies the application server to perform event reporting when the user equipment enters or leaves the target location area. The need to avoid useless signaling, to reduce the system signaling load; and does not require the user equipment to establish a bearer and maintain the connection state, reducing the use of network resources for location reporting.
实施例十  Example ten
图 9为本发明实施例十提供的管理网元的结构示意图, 如图 9所示, 在实施例九的基础上, 该管理网元的事件信息发送模块 81可以包括: 第一发送单元 81 1 , 用于若所述用户设备处于空闲状态或等待状态, 通过接入网网元向用户设备发送所述用于上报用户设备进入或离开目标 位置区域的事件信息; 和 第二发送单元 813 , 用于若所述用户设备处于连接状态或准备状态, 向接入网网元发送用于上报用户设备进入或离开目标位置区域的事件信 息。 FIG. 9 is a schematic structural diagram of a management network element according to Embodiment 10 of the present invention. As shown in FIG. 9, the event information sending module 81 of the management network element may include: a first sending unit 81 1 And sending, by the access network element, the event information for reporting that the user equipment enters or leaves the target location area, and the user equipment is in an idle state or a waiting state; and The second sending unit 813 is configured to send, to the access network element, event information for reporting that the user equipment enters or leaves the target location area, if the user equipment is in a connected state or a ready state.
其中, 第二发送单元 813具体可以用于向所述目标位置区域对应的接 入网网元发送所述事件信息。  The second sending unit 813 is specifically configured to send the event information to the access network element corresponding to the target location area.
进一步地, 位置获取模块 83可以包括:  Further, the location obtaining module 83 can include:
第一获取单元 831 , 用于若所述用户设备处于空闲状态或等待状态, 通过接入网网元接收所述用户设备上报的所述用户设备进入或离开所述 目标位置区域的事件; 和  The first obtaining unit 831 is configured to: when the user equipment is in an idle state or a waiting state, receive, by the access network element, an event that the user equipment reported by the user equipment enters or leaves the target location area; and
第二获取单元 833 , 用于若所述用户设备处于连接状态或准备状态, 接收接入网网元上报的所述用户设备进入或离开所述目标位置区域的事 件。  The second obtaining unit 833 is configured to receive, when the user equipment is in a connected state or a ready state, an event that the user equipment reported by the access network element enters or leaves the target location area.
再进一步地, 上报执行模块 85可以包括:  Further, the reporting execution module 85 can include:
位置接收单元 851 , 用于接收接入网网元发送的所述用户设备所在的 位置信息;  a location receiving unit 851, configured to receive location information of the user equipment that is sent by an access network element;
上报单元 853 , 用于根据所述用户设备所在的位置信息和所述事件信 息中目标位置区域的位置信息, 确定是否上报所述用户设备进入或离开所 述目标位置区域的事件。  The reporting unit 853 is configured to determine, according to the location information of the user equipment and the location information of the target location area in the event information, whether to report the event that the user equipment enters or leaves the target location area.
其中, 上报单元 853具体可以包括以下子单元中的至少一个: 第一上报子单元, 用于若所述用户设备所在的位置信息与所述事件信 息中目标位置区域的位置信息相同, 向应用服务器上报所述用户设备进入 所述目标位置区域的事件;  The reporting unit 853 may specifically include at least one of the following sub-units: a first reporting sub-unit, configured to: if the location information of the user equipment is the same as the location information of the target location area in the event information, to the application server Reporting an event that the user equipment enters the target location area;
第二上报子单元, 用于若所述用户设备所在的位置信息与所述事件信 息中目标位置区域的位置信息不同, 向应用服务器上报所述用户设备离开 所述目标位置区域的事件;  a second reporting sub-unit, configured to report, to the application server, an event that the user equipment leaves the target location area, if the location information of the user equipment is different from the location information of the target location area in the event information;
第三上报子单元, 用于向应用服务器发送携带所述用户设备进入或离 开所述目标位置区域信息的位置上报消息, 或, 将所述位置上报消息发送 到第三方网元, 以便第三方网元向应用服务器发送所述位置上报消息或发 送携带所述目标位置区域对应的地理位置的事件消息; a third reporting subunit, configured to send, to the application server, the user equipment to enter or leave Opening a location report message of the target location area information, or sending the location report message to a third-party network element, so that the third-party network element sends the location report message to the application server or sends the target location area corresponding to the target server. Location message of the location;
第四上报子单元, 用于通过网关向应用服务器发送携带所述用户设备 进入或离开所述目标位置区域信息的位置上报消息, 或, 通过网关将所述 位置上报消息发送到第三方网元, 以便第三方网元向应用服务器发送所述 位置上报消息或发送携带所述目标位置区域对应的地理位置的事件消息; 第五上报子单元, 用于通过签约数据库向应用服务器发送携带所述用 户设备进入或离开所述目标位置区域信息的位置上报消息, 或, 通过签约 数据库将所述位置上报消息发送到第三方网元, 以便第三方网元向应用服 务器发送所述位置上报消息或发送携带所述目标位置区域对应的地理位 置的事件消息。  a fourth reporting sub-unit, configured to send, by using a gateway, a location report message that carries the user equipment to enter or leave the target location area information, or send the location report message to a third-party network element by using a gateway, The third-party network element sends the location report message to the application server or sends an event message that carries the geographic location corresponding to the target location area. The fifth report sub-unit is configured to send the user equipment to the application server by using the subscription database. The location report message is sent to or from the location of the target location area information, or the location report message is sent to the third-party network element by the subscription database, so that the third-party network element sends the location report message or the bearer to the application server. An event message of a geographic location corresponding to the target location area.
此外, 管理网元还可以包括以下模块中的至少一个:  In addition, the management network element may further include at least one of the following modules:
事件信息获取模块 86 ,用于从所述用户设备的签约数据中获得所述事 件信息;  The event information obtaining module 86 is configured to obtain the event information from the subscription data of the user equipment.
指示信息接收模块 87 ,用于接收用户设备发送的携带指示信息的非接 入层消息, 根据所述指示信息确定是否上报所述用户设备进入或离开所述 目标位置区域的事件;  The indication information receiving module 87 is configured to receive a non-access layer message carrying the indication information sent by the user equipment, and determine, according to the indication information, whether to report an event that the user equipment enters or leaves the target location area;
标志位模块 88 ,用于根据用户设备上下文中的标志位确定是否上报所 述用户设备进入或离开所述目标位置区域的事件;  The flag bit module 88 is configured to determine, according to a flag bit in the context of the user equipment, whether to report an event that the user equipment enters or leaves the target location area;
跟踪区模块 89 , 用于若所述目标位置区域为跟踪区, 向所述用户设备 发送只包含所述跟踪区的跟踪区列表; 若所述用户设备进入或离开所述跟 踪区后根据接收到的所述用户设备发起的所述跟踪区更新消息确定所述 用户设备是否进入或离开所述跟踪区。  The tracking area module 89 is configured to send, to the user equipment, a tracking area list that only includes the tracking area, if the target location area is a tracking area, and if the user equipment enters or leaves the tracking area, according to the received The tracking area update message initiated by the user equipment determines whether the user equipment enters or leaves the tracking area.
其中, 标志位模块 88 还可以用于: 若所述用户设备第一次进入或离 开所述目标位置区域, 将所述用户设备上下文中的标志位设置为上报所述 用户设备进入或离开所述目标位置区域; 若所述用户设备不是第一次进入 或离开所述目标位置区域, 将所述用户设备上下文中的标志位设置为不上 报所述用户设备进入或离开所述目标位置区域。 The flag bit module 88 is further configured to: if the user equipment enters or leaves the target location area for the first time, setting a flag bit in the user equipment context to report the And the user equipment enters or leaves the target location area; if the user equipment does not enter or leave the target location area for the first time, setting a flag bit in the user equipment context to not report that the user equipment enters or leaves The target location area.
本实施例网络中管理网元向用户设备或接入网网元发送用于上报用 户设备进入或离开目标位置区域的事件信息后, 可以由用户设备或接入网 网元上报用户设备进入或离开目标位置区域的事件, 获取用户设备所在的 位置信息; 然后根据用户设备所在的位置信息和目标位置区域的位置信息 执行事件上报, 满足了应用服务器对用户设备进入或离开目标位置区域时 执行事件上报的需求, 避免无用信令, 减轻系统信令负荷; 并且不需要用 户设备建立承载并保持在连接状态, 减轻了位置上报对网络资源的占用。  After the management network element in the network sends the event information to the user equipment or the access network element for reporting the user equipment to enter or leave the target location area, the user equipment or the access network element may report the user equipment to enter or leave. The event in the target location area acquires the location information of the user equipment; and then performs event reporting according to the location information of the user equipment and the location information of the target location area, which satisfies the application server to perform event reporting when the user equipment enters or leaves the target location area. The need to avoid useless signaling, to reduce the system signaling load; and does not require the user equipment to establish a bearer and maintain the connection state, reducing the use of network resources for location reporting.
实施例十一  Embodiment 11
图 10 为本发明实施例十一提供的位置上报系统的结构示意图, 如图 10所示, 该位置上报系统可以包括: 用户设备 91、 接入网网元 93和管理 网元 95 ; 其中, 所述管理网元 95可以釆用本发明上述实施例提供的任一 结构的管理网元; 所述用户设备 91 釆用本发明上述实施例提供的任一结 构的用户设备; 所述接入网网元 93 釆用本发明上述实施例提供的任一结 构的接入网网元。  FIG. 10 is a schematic structural diagram of a location reporting system according to Embodiment 11 of the present invention. As shown in FIG. 10, the location reporting system may include: a user equipment 91, an access network element 93, and a management network element 95; The management network element 95 can use the management network element of any structure provided by the foregoing embodiment of the present invention; the user equipment 91 uses the user equipment of any structure provided by the foregoing embodiment of the present invention; The access network element of any structure provided by the foregoing embodiment of the present invention is used.
本实施例网络中管理网元向用户设备或接入网网元发送用于上报用 户设备进入或离开目标位置区域的事件信息后, 可以由用户设备或接入网 网元上报用户设备进入或离开目标位置区域的事件, 获取用户设备所在的 位置信息; 然后根据用户设备所在的位置信息和目标位置区域的位置信息 执行事件上报, 满足了应用服务器对用户设备进入或离开目标位置区域时 执行事件上报的需求, 避免无用信令, 减轻系统信令负荷; 并且不需要用 户设备建立承载并保持在连接状态, 减轻了位置上报对网络资源的占用。  After the management network element in the network sends the event information to the user equipment or the access network element for reporting the user equipment to enter or leave the target location area, the user equipment or the access network element may report the user equipment to enter or leave. The event in the target location area acquires the location information of the user equipment; and then performs event reporting according to the location information of the user equipment and the location information of the target location area, which satisfies the application server to perform event reporting when the user equipment enters or leaves the target location area. The need to avoid useless signaling, to reduce the system signaling load; and does not require the user equipment to establish a bearer and maintain the connection state, reducing the use of network resources for location reporting.
本发明装置和系统实施例中各个模块和单元的工作流程和工作原理 可以参见上述各方法实施例中的描述, 在此不再赘述。 需要说明的是: 上述实施例五至十中的各模块, 均为硬件。 本发明各个实施例既可以应用于 M2M通信系统(设置于 M2M终端 ) , 也可以应用于 H2H通信系统 (设置于普通的用户设备终端) , 本发明实 施例对应用场景不作限制。 For the working process and working principle of each module and unit in the embodiment of the present invention, reference may be made to the description in the foregoing method embodiments, and details are not described herein. It should be noted that each of the modules in the above embodiments 5 to 10 is hardware. The embodiments of the present invention can be applied to the M2M communication system (installed in the M2M terminal) or the H2H communication system (installed in the common user equipment terminal). The embodiment of the present invention does not limit the application scenario.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机 可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: ROM、 RAM , 磁碟或者光盘等各种可以存储程 序代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要 求 Rights request
1、 一种位置上报方法, 其特征在于, 包括:  A method for reporting a location, comprising:
获取用于上报用户设备进入或离开目标位置区域的事件信息, 所述事 件信息包括目标位置区域的位置信息;  Acquiring event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area;
根据所述用户设备所在的位置信息和所述目标位置区域的位置信息, 确定所述用户设备是否进入或离开所述目标位置区域;  Determining, according to the location information of the user equipment and the location information of the target location area, whether the user equipment enters or leaves the target location area;
若所述用户设备进入或离开所述目标位置区域, 则向网络中管理网元 上报所述用户设备进入或离开所述目标位置区域的事件, 以使所述管理网 元执行事件上报。  If the user equipment enters or leaves the target location area, the management network element reports an event that the user equipment enters or leaves the target location area, so that the management network element performs event reporting.
2、 根据权利要求 1 所述的位置上报方法, 其特征在于, 所述获取用 于上报用户设备进入或离开目标位置区域的事件信息, 包括:  The location reporting method according to claim 1, wherein the acquiring event information for reporting that the user equipment enters or leaves the target location area includes:
若所述用户设备处于空闲状态或等待状态, 则所述用户设备接收所述 管理网元通过非接入层发送的所述事件信息, 所述管理网元包括移动性管 理网元、 移动交换中心或拜访位置寄存器; 或所述用户设备接收应用信息 服务器发送的所述事件信息;  If the user equipment is in an idle state or a waiting state, the user equipment receives the event information that is sent by the management network element by using a non-access stratum, where the management network element includes a mobility management network element and a mobile switching center. Or visiting the location register; or the user equipment receives the event information sent by the application information server;
若所述用户设备处于连接状态或准备状态, 则接入网网元接收所述管 理网元发送的所述事件信息。  If the user equipment is in a connected state or a ready state, the access network element receives the event information sent by the management network element.
3、 根据权利要求 1 所述的位置上报方法, 其特征在于, 所述根据所 述用户设备所在的位置信息和所述目标位置区域的位置信息, 确定所述用 户设备是否进入或离开所述目标位置区域, 包括:  The location reporting method according to claim 1, wherein the determining, according to the location information of the user equipment and the location information of the target location area, whether the user equipment enters or leaves the target Location area, including:
若所述用户设备处于空闲状态或等待状态, 则所述用户设备从接入网 网元的广播信息中, 获取所述用户设备所在的位置信息; 所述用户设备将 所述用户设备所在的位置信息与所述事件信息中目标位置区域的位置信 息进行比较, 确定所述用户设备是否进入或离开所述目标位置区域; 或 若所述用户设备处于连接状态或准备状态, 则接入网网元将所述用户 设备所在的位置信息与所述事件信息中目标位置区域的位置信息进行比 较, 确定所述用户设备是否进入或离开所述目标位置区域。 If the user equipment is in an idle state or a waiting state, the user equipment acquires location information of the user equipment from the broadcast information of the network element of the access network; where the user equipment locates the user equipment Comparing the information with the location information of the target location area in the event information, determining whether the user equipment enters or leaves the target location area; or if the user equipment is in a connected state or a ready state, accessing the network element Comparing the location information of the user equipment with the location information of the target location area in the event information In comparison, it is determined whether the user equipment enters or leaves the target location area.
4、 根据权利要求 1-3任一所述的位置上报方法, 其特征在于, 若所述 用户设备进入或离开所述目标位置区域, 则向网络中管理网元上报所述用 户设备进入或离开所述目标位置区域的事件, 包括:  The location reporting method according to any one of claims 1-3, wherein if the user equipment enters or leaves the target location area, the management network element is reported to the network to enter or leave the user equipment. The events in the target location area include:
若所述用户设备处于空闲状态或等待状态, 且所述用户设备确定所述 用户设备进入或离开所述目标位置区域, 则所述用户设备发起接入, 所述 用户设备从空闲状态转为连接状态或从等待状态转为准备状态, 所述用户 设备通过接入网网元向所述管理网元上报所述用户设备进入或离开所述 目标位置区域的事件; 或  If the user equipment is in an idle state or a waiting state, and the user equipment determines that the user equipment enters or leaves the target location area, the user equipment initiates an access, and the user equipment changes from an idle state to a connection. The status of the user equipment is changed from the waiting state to the standby state, and the user equipment reports the event that the user equipment enters or leaves the target location area to the management network element by using the network element of the access network; or
若所述用户设备处于连接状态或准备状态, 且接入网网元确定所述用 户设备进入或离开所述目标位置区域, 则所述接入网网元向所述管理网元 上报所述用户设备进入或离开所述目标位置区域的事件。  If the user equipment is in a connected state or a ready state, and the access network element determines that the user equipment enters or leaves the target location area, the access network element reports the user to the management network element. An event in which the device enters or leaves the target location area.
5、 根据权利要求 4所述的位置上报方法, 其特征在于, 所述用户设 备发起接入包括,  The location reporting method according to claim 4, wherein the user equipment initiates access, including
所述用户设备向移动性管理网元、 移动交换中心或拜访位置寄存器发 送携带指示信息的非接入层消息, 所述指示信息中指示是否允许上报用户 设备进入或离开所述目标位置区域的事件。  The user equipment sends a non-access stratum message carrying the indication information to the mobility management network element, the mobile switching center, or the visitor location register, where the indication information indicates whether to allow the reporting of the user equipment to enter or leave the target location area. .
6、 根据权利要求 5所述的位置上报方法, 其特征在于, 还包括: 若所述用户设备第一次进入或离开所述目标位置区域, 则所述用户设 备将所述指示信息设置为上报所述用户设备进入或离开所述目标位置区 域;  The location reporting method according to claim 5, further comprising: if the user equipment enters or leaves the target location area for the first time, the user equipment sets the indication information to report The user equipment enters or leaves the target location area;
若所述用户设备不是第一次进入或离开所述目标位置区域, 所述用户 设备将所述指示信息设置为不上报所述用户设备进入或离开所述目标位 置区域。  If the user equipment does not enter or leave the target location area for the first time, the user equipment sets the indication information to not report that the user equipment enters or leaves the target location area.
7、 根据权利要求 6所述的位置上报方法, 其特征在于:  7. The location reporting method according to claim 6, wherein:
所述用户设备第一次进入所述目标位置区域, 具体为: 所述用户设备 所在的位置从非目标位置区域变更为所述目标位置区域; 和 /或 所述用户设备第一次离开所述目标位置区域, 具体为: 所述用户设备 所在的位置从所述目标位置区域变更为非目标位置区域。 The user equipment enters the target location area for the first time, specifically: the user equipment The location of the user equipment is changed from the non-target location area to the target location area; and/or the user equipment leaves the target location area for the first time, specifically: the location where the user equipment is located is changed from the target location area Is a non-target location area.
8、 根据权利要求 1-3任一所述的位置上报方法, 其特征在于, 所述事 件信息还包括上报类型, 所述上报类型包括: 上报用户设备进入所述目标 位置区域的事件、 上报用户设备离开所述目标位置区域的事件或上报用户 设备进入和离开所述目标位置区域的事件。  The location reporting method according to any one of claims 1-3, wherein the event information further includes a report type, and the report type includes: reporting an event that the user equipment enters the target location area, and reporting the user An event in which the device leaves the target location area or an event reporting that the user device enters and leaves the target location area.
9、 根据权利要求 1-3任一所述的位置上报方法, 其特征在于, 所述目 标位置区域的位置信息包括: 小区信息、 路由区信息、 跟踪区信息、 位置 区信息或跟踪区列表信息的至少一种。  The location reporting method according to any one of claims 1-3, wherein the location information of the target location area comprises: cell information, routing area information, tracking area information, location area information, or tracking area list information. At least one of them.
10、 一种位置上报方法, 其特征在于, 包括:  10. A method for reporting a location, comprising:
发送用于上报用户设备进入或离开目标位置区域的事件信息; 若接收到所述用户设备进入或离开所述目标位置区域的事件, 则获取 所述用户设备所在的位置信息;  Sending event information for reporting that the user equipment enters or leaves the target location area; if receiving an event that the user equipment enters or leaves the target location area, acquiring location information of the user equipment;
根据所述用户设备所在的位置信息和所述目标位置区域的位置信息 执行事件上报。  And performing event reporting according to the location information of the user equipment and the location information of the target location area.
1 1、 根据权利要求 10所述的位置上报方法, 其特征在于, 所述发送 用于上报用户设备进入或离开目标位置区域的事件信息, 包括:  The location reporting method according to claim 10, wherein the sending event information for reporting that the user equipment enters or leaves the target location area includes:
若所述用户设备处于空闲状态或等待状态, 则通过接入网网元向用户 设备发送所述用于上报用户设备进入或离开目标位置区域的事件信息; 或 若所述用户设备处于连接状态或准备状态, 则向接入网网元发送用于 上报用户设备进入或离开目标位置区域的事件信息。  Sending, by the access network element, the event information for reporting that the user equipment enters or leaves the target location area, or if the user equipment is in a connected state, or if the user equipment is in an idle state or a waiting state, In the preparation state, event information for reporting that the user equipment enters or leaves the target location area is sent to the access network element.
12、 根据权利要求 1 1 所述的位置上报方法, 其特征在于, 所述向接 入网网元发送用于上报用户设备进入或离开目标位置区域的事件信息, 包 括:  The method for reporting a location according to claim 1, wherein the sending, by the access network element, event information for reporting that the user equipment enters or leaves the target location area, includes:
移动性管理网元向所述目标位置区域对应的接入网网元发送所述事 件信息。 The mobility management network element sends the event to the access network element corresponding to the target location area Information.
13、 根据权利要求 10所述的位置上报方法, 其特征在于, 所述接收 到所述用户设备进入或离开所述目标位置区域的事件, 包括:  The location reporting method according to claim 10, wherein the receiving the event that the user equipment enters or leaves the target location area includes:
若所述用户设备处于空闲状态或等待状态, 则通过接入网网元接收所 述用户设备上报的所述用户设备进入或离开所述目标位置区域的事件; 或 若所述用户设备处于连接状态或准备状态, 则接收接入网网元上报的 所述用户设备进入或离开所述目标位置区域的事件。  Receiving, by the access network element, an event that the user equipment reported by the user equipment enters or leaves the target location area, or if the user equipment is in a connected state, if the user equipment is in an idle state or a waiting state; Or, in the preparation state, the event that the user equipment reported by the access network element enters or leaves the target location area is received.
14、 根据权利要求 10所述的位置上报方法, 其特征在于, 所述根据 所述用户设备所在的位置信息和所述目标位置区域的位置信息执行事件 上报, 包括:  The location reporting method according to claim 10, wherein the performing the event reporting according to the location information of the user equipment and the location information of the target location area includes:
在移动性管理网元、 移动交换中心或拜访位置寄存器接收接入网网元 发送的所述用户设备所在的位置信息后, 所述移动性管理网元、 移动交换 中心或拜访位置寄存器根据所述用户设备所在的位置信息和所述事件信 息中目标位置区域的位置信息, 确定是否上报所述用户设备进入或离开所 述目标位置区域的事件。  After the mobility management network element, the mobile switching center, or the visitor location register receives the location information of the user equipment sent by the access network element, the mobility management network element, the mobile switching center, or the visited location register is configured according to the The location information of the user equipment and the location information of the target location area in the event information determine whether to report an event that the user equipment enters or leaves the target location area.
15、 根据权利要求 14所述的位置上报方法, 其特征在于, 所述确定 是否上报所述用户设备进入或离开所述目标位置区域的事件, 包括:  The location reporting method according to claim 14, wherein the determining whether to report the event that the user equipment enters or leaves the target location area includes:
若所述用户设备所在的位置信息与所述事件信息中目标位置区域的 位置信息相同, 则向应用服务器上报所述用户设备进入所述目标位置区域 的事件; 或  And if the location information of the user equipment is the same as the location information of the target location area in the event information, reporting, by the application server, an event that the user equipment enters the target location area; or
若所述用户设备所在的位置信息与所述事件信息中目标位置区域的 位置信息不同, 则向应用服务器上报所述用户设备离开所述目标位置区域 的事件。  If the location information of the user equipment is different from the location information of the target location area in the event information, report an event that the user equipment leaves the target location area to the application server.
16、 根据权利要求 15 所述的位置上报方法, 其特征在于, 所述向应 用服务器上报所述用户设备进入或离开所述目标位置区域的事件, 包括: 所述移动性管理网元、 移动交换中心或拜访位置寄存器向应用服务器 发送携带所述用户设备进入或离开所述目标位置区域信息的位置上报消 息, 或, 将所述位置上报消息发送到第三方网元, 由第三方网元向应用服 务器发送所述位置上报消息或发送携带所述目标位置区域对应的地理位 置的事件消息; 或 The location reporting method according to claim 15, wherein the reporting, by the application server, that the user equipment enters or leaves the target location area includes: the mobility management network element, and the mobile switching Center or visit location register to the application server Sending a location report message carrying the user equipment to enter or leave the target location area information, or sending the location report message to a third-party network element, where the third-party network element sends the location report message to the application server or Sending an event message carrying a geographical location corresponding to the target location area; or
移动性管理网元通过网关向应用服务器发送携带所述用户设备进入 或离开所述目标位置区域信息的位置上报消息, 或, 通过网关将所述位置 上报消息发送到第三方网元, 由第三方网元向应用服务器发送所述位置上 报消息或发送携带所述目标位置区域对应的地理位置的事件消息; 或  The mobility management network element sends a location report message to the application server that carries the user equipment to enter or leave the target location area information, or sends the location report message to the third-party network element through the gateway, by the third party. The network element sends the location report message to the application server or sends an event message carrying a geographical location corresponding to the target location area; or
移动性管理网元、 移动交换中心或拜访位置寄存器通过签约数据库向 应用服务器发送携带所述用户设备进入或离开所述目标位置区域信息的 位置上报消息, 或, 通过签约数据库将所述位置上报消息发送到第三方网 元, 由第三方网元向应用服务器发送所述位置上报消息或发送携带所述目 标位置区域对应的地理位置的事件消息。  The mobility management network element, the mobile switching center, or the visitor location register sends a location report message carrying the user equipment to or from the target location area information to the application server through the subscription database, or reports the location by using the subscription database. Sending to the third-party network element, the third-party network element sends the location report message to the application server or sends an event message carrying the geographical location corresponding to the target location area.
17、 根据权利要求 10- 16任一所述的位置上报方法, 其特征在于, 所 述发送用于上报用户设备进入或离开目标位置区域的事件信息之前, 包 括:  The location reporting method according to any one of claims 10 to 16, wherein before the sending the event information for reporting that the user equipment enters or leaves the target location area, the method includes:
在用户设备的签约数据中签约上报该用户设备进入或离开所述目标 位置区域的事件信息;  Event information of the user equipment entering or leaving the target location area is signed and signed in the subscription data of the user equipment;
移动性管理网元、 移动交换中心或拜访位置寄存器从所述用户设备的 签约数据中获得所述事件信息。  The mobility management network element, the mobile switching center, or the visitor location register obtains the event information from the subscription data of the user equipment.
18、 根据权利要求 10- 16任一所述的位置上报方法, 其特征在于, 所 述根据所述用户设备所在的位置信息和所述目标位置区域的位置信息执 行事件上报之前, 包括:  The location reporting method according to any one of claims 10 to 16, wherein before the event reporting is performed according to the location information of the user equipment and the location information of the target location area, the method includes:
移动性管理网元、 移动交换中心或拜访位置寄存器接收用户设备发送 的携带指示信息的非接入层消息, 根据所述指示信息确定是否上报所述用 户设备进入或离开所述目标位置区域的事件; 或 移动性管理网元、 移动交换中心或拜访位置寄存器根据用户设备上下 文中的标志位确定是否上报所述用户设备进入或离开所述目标位置区域 的事件。 The mobility management network element, the mobile switching center, or the visitor location register receives the non-access stratum message carrying the indication information sent by the user equipment, and determines, according to the indication information, whether to report the event that the user equipment enters or leaves the target location area. ; or The mobility management network element, the mobile switching center, or the visitor location register determines whether to report an event of the user equipment entering or leaving the target location area according to a flag bit in the context of the user equipment.
19、 根据权利要求 18所述的位置上报方法, 其特征在于, 还包括: 若所述用户设备第一次进入或离开所述目标位置区域, 则所述移动性 管理网元、 移动交换中心或拜访位置寄存器将所述用户设备上下文中的标 志位设置为上报所述用户设备进入或离开所述目标位置区域;  The location reporting method according to claim 18, further comprising: if the user equipment enters or leaves the target location area for the first time, the mobility management network element, the mobile switching center or The visitor location register sets a flag bit in the user equipment context to report that the user equipment enters or leaves the target location area;
若所述用户设备不是第一次进入或离开所述目标位置区域, 所述移动 性管理网元、 移动交换中心或拜访位置寄存器将所述用户设备上下文中的 标志位设置为不上报所述用户设备进入或离开所述目标位置区域。  If the user equipment does not enter or leave the target location area for the first time, the mobility management network element, the mobile switching center, or the visitor location register sets the flag bit in the user equipment context to not report the user. The device enters or leaves the target location area.
20、 根据权利要求 19所述的位置上报方法, 其特征在于:  20. The method of position reporting according to claim 19, wherein:
所述用户设备第一次进入所述目标位置区域, 具体为: 所述用户设备 所在的位置从非目标位置区域变更为所述目标位置区域;  The user equipment enters the target location area for the first time, specifically: the location where the user equipment is located is changed from the non-target location area to the target location area;
所述用户设备第一次离开所述目标位置区域, 具体为: 所述用户设备 所在的位置从所述目标位置区域变更为非目标位置区域。  The user equipment leaves the target location area for the first time, specifically: the location where the user equipment is located is changed from the target location area to the non-target location area.
21、 根据权利要求 10-16任一所述的位置上报方法, 其特征在于, 若 所述目标位置区域为跟踪区, 则所述发送用于上报用户设备进入或离开目 标位置区域的事件信息之前, 包括:  The location reporting method according to any one of claims 10-16, wherein, if the target location area is a tracking area, the sending is used to report event information of the user equipment entering or leaving the target location area. , including:
移动性管理实体向所述用户设备发送只包含所述跟踪区的跟踪区列 表;  The mobility management entity sends a list of tracking areas including only the tracking area to the user equipment;
若所述用户设备进入或离开所述跟踪区后, 所述移动性管理实体收到 所述用户设备发起的跟踪区更新消息, 则根据所述跟踪区更新消息确定所 述用户设备是否进入或离开所述跟踪区。  After the user equipment enters or leaves the tracking area, the mobility management entity receives the tracking area update message initiated by the user equipment, and determines, according to the tracking area update message, whether the user equipment enters or leaves The tracking area.
22、 根据权利要求 10-16任一所述的位置上报方法, 其特征在于, 所 述事件信息还包括上报类型, 所述上报类型包括: 上报用户设备进入所述 目标位置区域的事件、 上报用户设备离开所述目标位置区域的事件或上报 用户设备进入和离开所述目标位置区域的事件。 The location reporting method according to any one of claims 10-16, wherein the event information further includes a report type, and the report type includes: reporting an event that the user equipment enters the target location area, and reporting the user Event or escalation of the device leaving the target location area An event in which the user device enters and leaves the target location area.
23、 根据权利要求 10- 16任一所述的位置上报方法, 其特征在于, 所 述目标位置区域的位置信息包括: 小区信息、 路由区信息、 跟踪区信息、 位置区信息或跟踪区列表信息的至少一种。  The location reporting method according to any one of claims 10-16, wherein the location information of the target location area comprises: cell information, routing area information, tracking area information, location area information, or tracking area list information. At least one of them.
24、 一种用户设备, 其特征在于, 包括:  24. A user equipment, comprising:
事件信息获取模块, 用于获取用于上报用户设备进入或离开目标位置 区域的事件信息, 所述事件信息包括目标位置区域的位置信息;  An event information obtaining module, configured to acquire event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area;
事件确定模块, 用于根据所述用户设备所在的位置信息和所述目标位 置区域的位置信息, 确定所述用户设备是否进入或离开所述目标位置区 域;  An event determining module, configured to determine, according to location information of the user equipment and location information of the target location area, whether the user equipment enters or leaves the target location area;
位置上报模块, 用于若所述用户设备进入或离开所述目标位置区域, 向网络中管理网元上报所述用户设备进入或离开所述目标位置区域的事 件, 以使所述管理网元执行事件上报。  a location reporting module, configured to report, to the network management network element, an event that the user equipment enters or leaves the target location area, to enable the management network element to perform, if the user equipment enters or leaves the target location area The incident was reported.
25、 根据权利要求 24所述的用户设备, 其特征在于, 所述事件信息 获取模块包括:  The user equipment according to claim 24, wherein the event information obtaining module comprises:
接收单元, 用于若所述用户设备处于空闲状态或等待状态, 接收所述 管理网元通过非接入层发送的所述事件信息, 所述管理网元包括移动性管 理网元、 移动交换中心或拜访位置寄存器; 或接收应用信息服务器发送的 所述事件信息。  a receiving unit, configured to: if the user equipment is in an idle state or a waiting state, receive the event information that is sent by the management network element by using a non-access stratum, where the management network element includes a mobility management network element and a mobile switching center. Or visit the location register; or receive the event information sent by the application information server.
26、 根据权利要求 24所述的用户设备, 其特征在于, 所述事件确定 模块包括:  The user equipment according to claim 24, wherein the event determining module comprises:
位置获取单元, 用于若所述用户设备处于空闲状态或等待状态, 从接 入网网元的广播信息中, 获取所述用户设备所在的位置信息;  a location obtaining unit, configured to: obtain, according to the broadcast information of the access network element, the location information of the user equipment, if the user equipment is in an idle state or a waiting state;
比较单元, 用于将所述用户设备所在的位置信息与所述事件信息中目 标位置区域的位置信息进行比较, 确定所述用户设备是否进入或离开所述 目标位置区域; a comparing unit, configured to compare location information of the user equipment with location information of the target location area in the event information, to determine whether the user equipment enters or leaves the target location area;
27、 根据权利要求 24所述的用户设备, 其特征在于, 所述位置上报 模块包括: The user equipment according to claim 24, wherein the location reporting module comprises:
发起接入单元, 用于若所述用户设备处于空闲状态或等待状态, 且确 定所述用户设备进入或离开所述目标位置区域时, 发起接入, 使所述用户 设备从空闲状态转为连接状态或从等待状态转为准备状态;  Initiating an access unit, if the user equipment is in an idle state or a waiting state, and determines that the user equipment enters or leaves the target location area, initiates an access, and causes the user equipment to change from an idle state to a connection. State or transition from a wait state to a ready state;
上报单元, 用于通过接入网网元向所述管理网元上报所述用户设备进 入或离开所述目标位置区域的事件。  The reporting unit is configured to report, by the access network element, an event that the user equipment enters or leaves the target location area to the management network element.
28、 根据权利要求 24所述的用户设备, 其特征在于, 还包括: 指示模块, 用于向移动性管理网元、 移动交换中心或拜访位置寄存器 发送携带指示信息的非接入层消息, 所述指示信息中指示是否允许上报用 户设备进入或离开所述目标位置区域的事件。  The user equipment according to claim 24, further comprising: an indication module, configured to send a non-access stratum message carrying the indication information to the mobility management network element, the mobile switching center, or the visitor location register, where An indication in the indication information as to whether the user equipment is allowed to enter or leave the target location area.
29、 根据权利要求 28 所述的用户设备, 其特征在于, 所述指示模块 还用于: 若所述用户设备第一次进入或离开所述目标位置区域, 则将所述 指示信息设置为上报所述用户设备进入或离开所述目标位置区域; 若所述 用户设备不是第一次进入或离开所述目标位置区域, 将所述指示信息设置 为不上报所述用户设备进入或离开所述目标位置区域。  The user equipment according to claim 28, wherein the indication module is further configured to: if the user equipment enters or leaves the target location area for the first time, set the indication information to report The user equipment enters or leaves the target location area; if the user equipment does not enter or leave the target location area for the first time, the indication information is set to not report that the user equipment enters or leaves the target Location area.
30、 一种接入网网元, 其特征在于, 包括:  30. An access network element, which is characterized by:
事件信息获取模块, 用于获取用于上报用户设备进入或离开目标位置 区域的事件信息, 所述事件信息包括目标位置区域的位置信息;  An event information obtaining module, configured to acquire event information for reporting that the user equipment enters or leaves the target location area, where the event information includes location information of the target location area;
事件确定模块, 用于根据所述用户设备所在的位置信息和所述目标位 置区域的位置信息, 确定所述用户设备是否进入或离开所述目标位置区 域;  An event determining module, configured to determine, according to location information of the user equipment and location information of the target location area, whether the user equipment enters or leaves the target location area;
位置上报模块, 用于若所述用户设备进入或离开所述目标位置区域, 向网络中管理网元上报所述用户设备进入或离开所述目标位置区域的事 件, 以使所述管理网元执行事件上报。  a location reporting module, configured to report, to the network management network element, an event that the user equipment enters or leaves the target location area, to enable the management network element to perform, if the user equipment enters or leaves the target location area The incident was reported.
31、 根据权利要求 30所述的接入网网元, 其特征在于, 所述事件信 息获取模块具体用于: 若所述用户设备处于连接状态或准备状态, 接收所 述管理网元发送的所述事件信息。 31. The access network element according to claim 30, wherein the event letter The information acquisition module is specifically configured to: if the user equipment is in a connected state or a ready state, receive the event information sent by the management network element.
32、 根据权利要求 30所述的接入网网元, 其特征在于, 所述事件确 定模块具体用于: 若所述用户设备处于连接状态或准备状态, 将所述用户 设备所在的位置信息与所述事件信息中目标位置区域的位置信息进行比 较, 确定所述用户设备是否进入或离开所述目标位置区域。  The access network element according to claim 30, wherein the event determining module is specifically configured to: if the user equipment is in a connected state or a ready state, the location information of the user equipment is The location information of the target location area in the event information is compared to determine whether the user equipment enters or leaves the target location area.
33、 根据权利要求 30所述的接入网网元, 其特征在于, 所述位置上 报模块具体用于: 若所述用户设备处于连接状态或准备状态, 且确定所述 用户设备进入或离开所述目标位置区域时, 向所述管理网元上报所述用户 设备进入或离开所述目标位置区域的事件。  The access network element according to claim 30, wherein the location reporting module is specifically configured to: if the user equipment is in a connected state or a ready state, and determine that the user equipment enters or leaves the user equipment When the target location area is described, the event that the user equipment enters or leaves the target location area is reported to the management network element.
34、 一种管理网元, 其特征在于, 包括:  34. A management network element, comprising:
事件信息发送模块, 用于发送用于上报用户设备进入或离开目标位置 区域的事件信息;  An event information sending module, configured to send event information for reporting that the user equipment enters or leaves the target location area;
位置获取模块, 用于若接收到所述用户设备进入或离开所述目标位置 区域的事件, 则获取所述用户设备所在的位置信息;  a location obtaining module, configured to acquire location information of the user equipment if an event of the user equipment entering or leaving the target location area is received;
上报执行模块, 用于根据所述用户设备所在的位置信息和所述目标位 置区域的位置信息执行事件上报。  The reporting execution module is configured to perform event reporting according to the location information of the user equipment and the location information of the target location area.
35、 根据权利要求 34所述的管理网元, 其特征在于, 所述事件信息 发送模块包括:  The management network element according to claim 34, wherein the event information sending module comprises:
第一发送单元, 用于若所述用户设备处于空闲状态或等待状态, 通过 接入网网元向用户设备发送所述用于上报用户设备进入或离开目标位置 区域的事件信息; 和  a first sending unit, configured to send, by the access network element, the event information for reporting that the user equipment enters or leaves the target location area, if the user equipment is in an idle state or a waiting state; and
第二发送单元, 用于若所述用户设备处于连接状态或准备状态, 向接 入网网元发送用于上报用户设备进入或离开目标位置区域的事件信息。  And a second sending unit, configured to send, to the access network element, event information for reporting that the user equipment enters or leaves the target location area, if the user equipment is in a connected state or a ready state.
36、 根据权利要求 35 所述的管理网元, 其特征在于, 所述第二发送 单元具体用于向所述目标位置区域对应的接入网网元发送所述事件信息。 The management network element according to claim 35, wherein the second sending unit is configured to send the event information to an access network element corresponding to the target location area.
37、 根据权利要求 34所述的管理网元, 其特征在于, 所述位置获取 模块包括: The management network element according to claim 34, wherein the location obtaining module comprises:
第一获取单元, 用于若所述用户设备处于空闲状态或等待状态, 通过 接入网网元接收所述用户设备上报的所述用户设备进入或离开所述目标 位置区域的事件; 和  a first acquiring unit, configured to receive, by the access network element, an event that the user equipment reported by the user equipment enters or leaves the target location area, if the user equipment is in an idle state or a waiting state; and
第二获取单元, 用于若所述用户设备处于连接状态或准备状态, 接收 接入网网元上报的所述用户设备进入或离开所述目标位置区域的事件。  And a second acquiring unit, configured to: if the user equipment is in a connected state or a ready state, receiving an event that the user equipment reported by the access network element enters or leaves the target location area.
38、 根据权利要求 34所述的管理网元, 其特征在于, 所述上报执行 模块包括:  The management network element according to claim 34, wherein the reporting execution module comprises:
位置接收单元, 用于接收接入网网元发送的所述用户设备所在的位置 信息;  a location receiving unit, configured to receive location information of the user equipment that is sent by an access network element;
上报单元, 用于根据所述用户设备所在的位置信息和所述事件信息中 目标位置区域的位置信息, 确定是否上报所述用户设备进入或离开所述目 标位置区域的事件。  The reporting unit is configured to determine, according to the location information of the user equipment and the location information of the target location area in the event information, whether to report the event that the user equipment enters or leaves the target location area.
39、 根据权利要求 38 所述的管理网元, 其特征在于, 所述上报单元 包括以下子单元中的至少一个:  39. The management network element according to claim 38, wherein the reporting unit comprises at least one of the following subunits:
第一上报子单元, 用于若所述用户设备所在的位置信息与所述事件信 息中目标位置区域的位置信息相同, 向应用服务器上报所述用户设备进入 所述目标位置区域的事件;  a first reporting sub-unit, configured to report, to the application server, an event that the user equipment enters the target location area, if the location information of the user equipment is the same as the location information of the target location area in the event information;
第二上报子单元, 用于若所述用户设备所在的位置信息与所述事件信 息中目标位置区域的位置信息不同, 向应用服务器上报所述用户设备离开 所述目标位置区域的事件;  a second reporting sub-unit, configured to report, to the application server, an event that the user equipment leaves the target location area, if the location information of the user equipment is different from the location information of the target location area in the event information;
第三上报子单元, 用于向应用服务器发送携带所述用户设备进入或离 开所述目标位置区域信息的位置上报消息, 或, 将所述位置上报消息发送 到第三方网元, 以便第三方网元向应用服务器发送所述位置上报消息或发 送携带所述目标位置区域对应的地理位置的事件消息; 第四上报子单元, 用于通过网关向应用服务器发送携带所述用户设备 进入或离开所述目标位置区域信息的位置上报消息, 或, 通过网关将所述 位置上报消息发送到第三方网元, 以便第三方网元向应用服务器发送所述 位置上报消息或发送携带所述目标位置区域对应的地理位置的事件消息; 第五上报子单元, 用于通过签约数据库向应用服务器发送携带所述用 户设备进入或离开所述目标位置区域信息的位置上报消息, 或, 通过签约 数据库将所述位置上报消息发送到第三方网元, 以便第三方网元向应用服 务器发送所述位置上报消息或发送携带所述目标位置区域对应的地理位 置的事件消息。 a third reporting sub-unit, configured to send, to the application server, a location report message that carries the user equipment to enter or leave the target location area information, or send the location report message to a third-party network element, so that the third-party network Transmitting, by the element, the location report message or sending an event message carrying a geographical location corresponding to the target location area to the application server; a fourth reporting sub-unit, configured to send, by using a gateway, a location report message that carries the user equipment to enter or leave the target location area information, or send the location report message to a third-party network element by using a gateway, The third-party network element sends the location report message to the application server or sends an event message that carries the geographic location corresponding to the target location area. The fifth report sub-unit is configured to send the user equipment to the application server by using the subscription database. The location report message is sent to or from the location of the target location area information, or the location report message is sent to the third-party network element by the subscription database, so that the third-party network element sends the location report message or the bearer to the application server. An event message of a geographic location corresponding to the target location area.
40、 根据权利要求 34-39任一所述的管理网元, 其特征在于, 所述管 理网元还包括以下模块中的至少一个:  The management network element according to any one of claims 34 to 39, wherein the management network element further comprises at least one of the following modules:
事件信息获取模块, 用于从所述用户设备的签约数据中获得所述事件 信息;  An event information obtaining module, configured to obtain the event information from the subscription data of the user equipment;
指示信息接收模块, 用于接收用户设备发送的携带指示信息的非接入 层消息, 根据所述指示信息确定是否上报所述用户设备进入或离开所述目 标位置区域的事件;  The indication information receiving module is configured to receive a non-access stratum message carrying the indication information sent by the user equipment, and determine, according to the indication information, whether to report an event that the user equipment enters or leaves the target location area;
标志位模块, 用于根据用户设备上下文中的标志位确定是否上报所述 用户设备进入或离开所述目标位置区域的事件;  a flag bit module, configured to determine, according to a flag bit in a user equipment context, whether to report an event that the user equipment enters or leaves the target location area;
跟踪区模块, 用于若所述目标位置区域为跟踪区, 向所述用户设备发 送只包含所述跟踪区的跟踪区列表; 若所述用户设备进入或离开所述跟踪 区后根据接收到的所述用户设备发起的所述跟踪区更新消息确定所述用 户设备是否进入或离开所述跟踪区。  a tracking area module, configured to: if the target location area is a tracking area, send, to the user equipment, a tracking area list that only includes the tracking area; if the user equipment enters or leaves the tracking area, according to the received The tracking area update message initiated by the user equipment determines whether the user equipment enters or leaves the tracking area.
41、 根据权利要求 40所述的管理网元, 其特征在于, 所述标志位模 块还用于: 若所述用户设备第一次进入或离开所述目标位置区域, 将所述 用户设备上下文中的标志位设置为上报所述用户设备进入或离开所述目 标位置区域; 若所述用户设备不是第一次进入或离开所述目标位置区域, 将所述用户设备上下文中的标志位设置为不上报所述用户设备进入或离 开所述目标位置区域。 The management network element according to claim 40, wherein the flag bit module is further configured to: if the user equipment enters or leaves the target location area for the first time, in the user equipment context The flag bit is set to report that the user equipment enters or leaves the target location area; if the user equipment does not enter or leave the target location area for the first time, Setting a flag bit in the user equipment context to not report that the user equipment enters or leaves the target location area.
42、 一种位置上报系统, 其特征在于, 包括: 用户设备、 接入网网元 和管理网元; 其中,  42. A location reporting system, comprising: a user equipment, an access network element, and a management network element;
所述管理网元釆用如权利要求 34-41任一所述的管理网元;  The management network element uses the management network element according to any one of claims 34-41;
所述用户设备釆用如权利要求 24-29任一所述的用户设备;  The user equipment uses the user equipment according to any one of claims 24-29;
所述接入网网元釆用如权利要求 30-33任一所述的接入网网元。  The access network element uses the access network element according to any one of claims 30-33.
PCT/CN2011/075395 2011-06-07 2011-06-07 Method, device and system for reporting location WO2011157189A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180000996.0A CN102934489B (en) 2011-06-07 2011-06-07 Method, device and system for reporting location
PCT/CN2011/075395 WO2011157189A2 (en) 2011-06-07 2011-06-07 Method, device and system for reporting location

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/075395 WO2011157189A2 (en) 2011-06-07 2011-06-07 Method, device and system for reporting location

Publications (2)

Publication Number Publication Date
WO2011157189A2 true WO2011157189A2 (en) 2011-12-22
WO2011157189A3 WO2011157189A3 (en) 2012-05-10

Family

ID=45348644

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075395 WO2011157189A2 (en) 2011-06-07 2011-06-07 Method, device and system for reporting location

Country Status (2)

Country Link
CN (1) CN102934489B (en)
WO (1) WO2011157189A2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014040556A1 (en) * 2012-09-13 2014-03-20 华为终端有限公司 Event reporting method and system
CN104244184A (en) * 2014-09-22 2014-12-24 中国联合网络通信集团有限公司 Method and device for obtaining position information of terminal
CN104244285A (en) * 2013-06-19 2014-12-24 阿尔卡特朗讯 Method and device for optimizing notification of changes of user location information
WO2017185236A1 (en) * 2016-04-26 2017-11-02 华为技术有限公司 Information transmission method and device
CN109495942A (en) * 2017-09-12 2019-03-19 华为技术有限公司 A kind of data transmission method based on location of user equipment, device and system
CN111866970A (en) * 2019-04-30 2020-10-30 华为技术有限公司 Method and device for reporting position information

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407851B (en) * 2015-08-03 2019-11-15 昆达电脑科技(昆山)有限公司 USB tracing system and its method
CN105163345B (en) * 2015-08-05 2018-09-28 中国联合网络通信集团有限公司 A kind of method and system of area reporting
CN109089255B (en) * 2017-06-14 2022-01-25 中国移动通信有限公司研究院 User position notification control method, device, system, equipment and storage medium
CN115150807B (en) * 2022-09-06 2022-12-20 北京全路通信信号研究设计院集团有限公司 Position management method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101091404A (en) * 2005-10-01 2007-12-19 Ktf乐泰欧株式会社 Alert service method for specific location information of mobile terminal and managing apparatus and mobile terminal for the same
WO2010091424A2 (en) * 2009-02-09 2010-08-12 Qualcomm Incorporated Triggered location services

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102056261B (en) * 2009-11-06 2013-12-04 华为技术有限公司 Switchover judgment method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101091404A (en) * 2005-10-01 2007-12-19 Ktf乐泰欧株式会社 Alert service method for specific location information of mobile terminal and managing apparatus and mobile terminal for the same
WO2010091424A2 (en) * 2009-02-09 2010-08-12 Qualcomm Incorporated Triggered location services

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014040556A1 (en) * 2012-09-13 2014-03-20 华为终端有限公司 Event reporting method and system
CN104244285A (en) * 2013-06-19 2014-12-24 阿尔卡特朗讯 Method and device for optimizing notification of changes of user location information
CN104244184A (en) * 2014-09-22 2014-12-24 中国联合网络通信集团有限公司 Method and device for obtaining position information of terminal
WO2017185236A1 (en) * 2016-04-26 2017-11-02 华为技术有限公司 Information transmission method and device
CN109076424A (en) * 2016-04-26 2018-12-21 华为技术有限公司 The transmission method and device of information
CN112135322A (en) * 2016-04-26 2020-12-25 华为技术有限公司 Information transmission method and device
CN112135322B (en) * 2016-04-26 2021-11-19 华为技术有限公司 Information transmission method and device
CN109495942A (en) * 2017-09-12 2019-03-19 华为技术有限公司 A kind of data transmission method based on location of user equipment, device and system
CN114245434A (en) * 2017-09-12 2022-03-25 华为技术有限公司 Data transmission method, device and system based on user equipment position
CN111866970A (en) * 2019-04-30 2020-10-30 华为技术有限公司 Method and device for reporting position information

Also Published As

Publication number Publication date
CN102934489B (en) 2015-04-29
CN102934489A (en) 2013-02-13
WO2011157189A3 (en) 2012-05-10

Similar Documents

Publication Publication Date Title
US11606734B2 (en) Handover method in wireless communication system and apparatus therefor
CN113785634B (en) Wireless device paging over wireless networks
US9813865B2 (en) Network-initiated control method and apparatus for providing proximity service
US20210168583A1 (en) Terminal device, mme, communication control method for terminal device, and communication control method for mme
US9648653B2 (en) User equipment-initiated control method and apparatus for providing proximity service
WO2011157189A2 (en) Method, device and system for reporting location
US8855045B2 (en) Method and system for controlling establishment of local IP access
EP3334239A1 (en) Terminal device, base station device, method for controlling communication of terminal device, and method for controlling communication of base station device
US11172436B2 (en) Support of nomadic or fixed users in a mobile network
US20110182244A1 (en) Method for supporting context management by home node-b
US20110275342A1 (en) Emergency call handling while roaming
WO2012051890A1 (en) Terminal access limit method and system
US8553615B2 (en) Method and system for processing bearer under ISR mechanism
WO2012094957A1 (en) Method and system for performing mobility management on mtc terminal
WO2014166089A1 (en) Method and device for congestion control
WO2012083789A1 (en) Resource allocation method and device and network service system
WO2016117505A1 (en) Base station device, terminal device, and communication control method
WO2016180018A1 (en) Access method and corresponding access node, terminal and communication network
JP2022524165A (en) RAN paging process
WO2012024989A1 (en) Method and system for bearer release
WO2016117491A1 (en) Base station device, terminal device, and communication control method
EP3509265B1 (en) Network access authorization method, and related device and system
US20150237495A1 (en) Method and system for differentiating between subscribers
US9629179B2 (en) Method and device for processing local access connection
WO2009076814A1 (en) An updating method and device for pcc rule

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180000996.0

Country of ref document: CN

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

Ref document number: 11795155

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11795155

Country of ref document: EP

Kind code of ref document: A2