WO2014100992A1 - 用户位置信息上报方法和网络设备 - Google Patents

用户位置信息上报方法和网络设备 Download PDF

Info

Publication number
WO2014100992A1
WO2014100992A1 PCT/CN2012/087497 CN2012087497W WO2014100992A1 WO 2014100992 A1 WO2014100992 A1 WO 2014100992A1 CN 2012087497 W CN2012087497 W CN 2012087497W WO 2014100992 A1 WO2014100992 A1 WO 2014100992A1
Authority
WO
WIPO (PCT)
Prior art keywords
time interval
user location
minimum time
pcrf
network device
Prior art date
Application number
PCT/CN2012/087497
Other languages
English (en)
French (fr)
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 PCT/CN2012/087497 priority Critical patent/WO2014100992A1/zh
Priority to CN201280002812.9A priority patent/CN103229569B/zh
Publication of WO2014100992A1 publication Critical patent/WO2014100992A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0894Policy-based network configuration management

Definitions

  • Embodiments of the present invention relate to mobile communication technologies, and in particular, to a user location information reporting method and a network device. Background technique
  • the user's location change is an important parameter for performing various policy control functions such as Quality of Service (QoS) and charging.
  • QoS Quality of Service
  • charging When the user has a cell and/or service area handover, the network device needs to know the location information of the UE.
  • the Policy and Charging Rules Function (PCRF) entity subscribes to the UE Location Change Information to the Policy and Charging Enforcement Function (PCEF) entity.
  • PCEF Policy and Charging Enforcement Function
  • the PCEF entity is deployed on the Gateway General Packet Radio Service Support Node (GGSN).
  • the GGSN indicates that the Serving General Packet Radio Service Support Node (SGSN) initiates a real-time reporting of the location change.
  • the PCEF entity is deployed on a Packet Data Network Gateway (P-GW), and the P-GW is indicated by a Serving Gateway (S-GW).
  • Mobility Management Entity (abbreviation ⁇ ) initiates real-time reporting of location changes. After the real-time reporting function is changed at the startup location, the user's latest location information will be reported to the PCRF whenever the user switches the cell and/or service area.
  • the existing user location information reporting method is used.
  • the user may ping between the cell and/or the service area.
  • the handover scenario causes the number of signaling in the communication system to increase greatly, which is very likely to cause a signaling storm and cause system overload.
  • a first aspect of the present invention provides a user location information reporting method for solving the deficiencies in the prior art and reducing the number of signaling of the communication system.
  • Another aspect of the present invention is to provide a network device for solving the deficiencies in the prior art and reducing the number of signaling of the communication system.
  • a first aspect of the present invention provides a method for reporting user location information, including: acquiring, by a network device, a minimum time interval;
  • the network device acquires the current user location
  • the time interval between the time when the current user location is obtained and the time when the user location is reported to the policy and charging rule function PCRF entity is greater than or equal to the minimum time interval, and the current user location is reported to the PCRF entity last time.
  • the network device is different in location, and the network device reports the current user location to the PCRF entity.
  • the network device stores the current user location
  • the time interval between the first time and the time when the user location was reported to the PCRF entity last time is equal to the minimum time interval, if the current user location is stored and the PCRF entity is last The user location of the user is different, and the network device reports the stored current user location to the PCRF entity.
  • the network device is a packet radio service technology service supporting node SGSN;
  • the method further includes: the SGSN acquiring the PCRF setting and the minimum time interval forwarded by the packet WLAN technology support node GGSN, or the SGSN acquiring the minimum time interval set by the GGSN, or The SGSN acquires the minimum time interval configured locally at the GGSN.
  • the above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the network device is a mobility management entity MME;
  • the method further includes: the MME acquiring the PCRF setting and the minimum time interval forwarded by the packet data gateway P-GW and the serving gateway S-GW, or the MME acquiring the P-GW setting and passing the The minimum time interval forwarded by the S-GW, or the MME acquires the minimum time interval configured locally at the MME.
  • the network device is a GGSN
  • the method further includes: the GGSN acquiring the minimum time interval set by the PCRF, or the GGSN acquiring the minimum time interval configured locally at the GGSN.
  • the above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the network device is a P-GW;
  • the method further includes: the P-GW acquiring the minimum time interval set by the PCRF, or the P-GW acquiring the minimum time interval locally configured by the P-GW.
  • Another aspect of the present invention provides a network device, including:
  • a first acquiring unit configured to acquire a current user location when the user location changes
  • a second acquiring unit configured to acquire a minimum time interval
  • a sending unit configured to: at a time when the current user location is obtained, a time interval from a time when the user location is reported to the policy and charging rule function PCRF entity is greater than or equal to the minimum time interval, and the current user location and the previous time When the location of the user reported by the PCRF entity is different, the current user location is sent to the PCRF entity.
  • the storage unit is configured to store the current user location when a time interval between a time when the current user location is acquired and a time when the user location is reported to the PCRF entity is less than the minimum time interval;
  • the sending unit is further configured to: at the time of acquiring the current user location
  • the time interval of the time of the user location of the PCRF entity is less than the minimum time interval, waiting for the first time, the time interval between the first time and the time when the user location is reported to the PCRF entity last time is equal to the a minimum time interval, when the stored current user location is different from the last user location on the PCRF entity, the current user location stored on the PCRF entity.
  • the network device is a packet radio service technology service supporting node SGSN;
  • the SGSN further includes: a configuration unit, configured to store the minimum time interval of the local configuration of the GGSN;
  • the second obtaining unit is configured to obtain the minimum time interval that is sent by the packet WLAN service support node GGSN, or is used to obtain the minimum time interval set by the GGSN, or And the minimum time interval for acquiring the configuration unit is stored.
  • the network device is a mobility management entity MME
  • the MME further includes: a configuration unit, configured to store the minimum time interval configured locally by the MME;
  • the second obtaining unit is configured to acquire the minimum time interval that is sent by the PCRF and is forwarded by the packet data gateway P-GW and the serving gateway S-GW, or is used to obtain the P-GW setting and pass through the The minimum time interval forwarded by the S-GW, or used to acquire the minimum time interval stored by the configuration unit.
  • the network device is a GGSN
  • the GGSN further includes: a configuration unit, configured to store the minimum time interval of the local configuration of the GGSN;
  • the second obtaining unit is configured to acquire the minimum time interval set by the PCRF, or to obtain the minimum time interval stored by the configuration unit.
  • the above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the network device is a P-GW;
  • the P-GW further includes: a configuration unit, configured to store the minimum time interval of the local configuration of the P-GW;
  • the second obtaining unit is configured to acquire the minimum time interval set by the PCRF, or to obtain the minimum time interval stored by the configuration unit.
  • Another aspect of the present invention provides a network device, including:
  • a first receiver configured to acquire a current user location when the location of the user changes
  • a second receiver configured to acquire a minimum time interval
  • a time interval between a time when the current user location is obtained and a time when the user location is reported to the policy and charging rule function PCRF entity is greater than or equal to the minimum time interval, and the current user location and the previous time When the location of the user reported by the PCRF entity is different, the transmitter is turned on;
  • the transmitter is configured to report a current user location to the PCRF entity.
  • the processor is further configured to: when the time interval between the time when the current user location is acquired and the time when the user location is reported to the PCRF entity is less than the minimum time interval, enable the first memory, and obtain the current When the time interval between the time of the user location and the time when the user location is reported to the PCRF entity is less than the minimum time interval, waiting until the first time, the first time and the last time the user location on the PCRF entity The time interval of the time is equal to the minimum time interval, and the sender is turned on when the stored current user location is different from the user location reported to the PCRF entity last time;
  • the first memory is configured to store the current user location
  • the transmitter is further configured to report the stored current user location to the PCRF entity.
  • the network device is a packet radio service technology service supporting node SGSN;
  • the SGSN further includes: a second memory, configured to store the minimum time interval of the local configuration of the GGSN;
  • the second receiver is configured to obtain the minimum time interval that is set by the packet WLAN and the GGSN, or is used to obtain the minimum time interval set by the GGSN, or And the minimum time interval for acquiring the second memory storage.
  • the network device is a mobility management entity MME
  • the MME further includes: a second memory, configured to store the minimum time interval configured locally by the MME;
  • the second receiver is configured to acquire the PCRF setting and pass the packet data gateway P-GW The minimum time interval forwarded by the serving gateway S-GW, or the minimum time interval for obtaining the P-GW setting and forwarding by the S-GW, or for acquiring the second memory The minimum time interval stored.
  • the network device is a GGSN
  • the GGSN further includes: a second memory, configured to store the minimum time interval of the local configuration of the GGSN;
  • the second receiver is configured to acquire the minimum time interval set by the PCRF, or to acquire the minimum time interval stored by the second memory.
  • the above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the network device is a P-GW;
  • the P-GW further includes: a second memory, configured to store the minimum time interval of the local configuration of the P-GW;
  • the second receiver is configured to acquire the minimum time interval set by the PCRF, or to acquire the minimum time interval stored by the second memory.
  • the minimum time interval is set for the user location report.
  • the time interval between the current time and the time when the user location was last reported is compared with the minimum time interval, only when the comparison result is obtained. If the user is in the ping-pong switch between the cells, the network device does not perform the user location report every time the user switches, but according to the minimum.
  • the time interval performs reporting of the user's location, reducing the number of times the user's location is reported, thereby reducing the number of signaling of the communication system.
  • FIG. 1 is a flowchart of a method for reporting user location information according to Embodiment 1 of the present invention
  • FIG. 2b is a flowchart of another implementation manner of a method for reporting user location information according to Embodiment 2 of the present invention.
  • FIG. 3 is a signaling flowchart of a method for reporting user location information according to Embodiment 3 of the present invention
  • FIG. 4 is a signaling flowchart of a method for reporting user location information according to Embodiment 4 of the present invention
  • FIG. 5 is a user of Embodiment 5 of the present invention
  • FIG. 6 is a schematic structural diagram of a network device according to Embodiment 6 of the present invention
  • FIG. 7 is a schematic structural diagram of a network device according to Embodiment 7 of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 is a flowchart of a method for reporting user location information according to Embodiment 1 of the present invention. As shown in FIG. 1, the method includes the following process.
  • Step 101 The network device obtains a minimum time interval.
  • Step 102 When the location of the user changes, the network device acquires the current user location.
  • Step 103 If the time interval between the time when the current user location is obtained and the time when the user location is reported to the PCRF entity is greater than or equal to the minimum time interval obtained, and the current user location is the last time to the PCRF entity.
  • the network device reports the current user location to the PCRF entity.
  • a minimum time interval is set for the user location report, and when the network device learns that the user location changes, the time interval between the current time and the time when the user position was last reported is compared with the minimum time interval, only when If the comparison result is greater than or equal to, the user location is reported. Therefore, even if the user performs ping-pong switching between cells, the network device does not perform the user location report every time the user switches, but follows The minimum time interval performs reporting of the user's location, reducing the number of times the user's location is reported, thereby reducing the number of signaling of the communication system.
  • FIG. 2 is a flowchart of an implementation manner of a method for reporting user location information according to Embodiment 2 of the present invention. As shown in Figure 2a, the method includes the following process.
  • Step 201 The network device acquires a minimum time interval.
  • Step 202 When the location of the user changes, the network device acquires the current user location.
  • Step 203 Compare the time interval between the time when the current user location is obtained and the time when the user location is reported to the PCRF entity last time and the minimum time interval obtained.
  • step 204 is performed.
  • step 207 is performed.
  • Step 204 Compare the current user location with the user location reported to the PCRF entity last time.
  • step 205 is performed; if the current user location is the same as the user location reported to the PCRF entity last time, the process ends.
  • Step 205 The network device sends a current user location to the PCRF entity.
  • step 206 is performed.
  • Step 206 The network device stores the current user location.
  • the network device caches the current user location reported to the PCRF entity in step 205, so that the next acquired user location is compared with the current reported user location when the user location is acquired next time. .
  • Step 207 The network device stores the current user location and waits.
  • the network device stores the current user location and waits, waiting until the first time, the time interval between the first time and the time when the user location is reported to the PCRF entity last time is equal to the minimum time obtained. At interval, step 208 is performed.
  • Step 208 Compare the stored current user location with the user location reported to the PCRF entity last time.
  • step 209 is performed; if the stored current user location is the same as the previous user location to the PCRF entity, End the process.
  • Step 209 The network device reports the stored current user location to the PCRF entity.
  • the time interval between the time when the current user location is obtained and the time when the user location is reported to the PCRF entity is compared with the minimum time interval obtained. Then, when the comparison result is greater than or equal to, the current user location is compared with the user location reported to the PCRF entity last time.
  • the current user location may be compared with the user location reported to the PCRF entity last time, and then, in the comparison result. In other cases, the time interval between the time at which the current user location is acquired and the time at which the user location was last 4 times on the PCRF entity is compared with the minimum time interval obtained. The following is explained by the flow shown in Fig. 2b.
  • FIG. 2b is a flowchart of another implementation manner of a method for reporting user location information according to Embodiment 2 of the present invention. As shown in Figure 2b, the method includes the following process.
  • Step 211 The network device acquires a minimum time interval.
  • Step 212 When the location of the user changes, the network device acquires the current user location.
  • Step 213 Compare the current user location with the user location reported to the PCRF entity last time.
  • step 214 is performed; if the current user location is the same as the user location reported to the PCRF entity last time, the process ends.
  • Step 214 Compare the time interval between the time when the current user location is obtained and the time when the user location is reported to the PCRF entity last time and the minimum time interval obtained.
  • step 215 is performed.
  • step 217 is performed.
  • Step 215 The network device sends a current user location to the PCRF entity.
  • step 216 is performed.
  • Step 216 The network device stores the current user location.
  • the network device caches the report to the PCRF entity in step 215.
  • the current user location so that the next time the user location is obtained, the next acquired user location is compared with the current reported user location.
  • Step 217 The network device stores the current user location and waits.
  • the network device stores the current user location and waits, waiting until the first time, and the time interval between the first time and the last time to the user location of the PCRF entity is equal to the acquired time. At the minimum time interval, go to step 218.
  • Step 218 Compare the stored current user location with the user location reported to the PCRF entity last time.
  • step 219 is performed; if the stored current user location is the same as the user location reported to the PCRF entity last time, the process ends. .
  • Step 219 The network device reports the stored current user location to the PCRF entity.
  • a minimum time interval is set for the user location report.
  • the network device learns that the user location changes the time interval between the current time and the time when the user location was last reported is compared with the minimum time interval. When the comparison result is greater than or equal to, the current user position is reported. When the comparison result is less than, the reporting of the current user location is not performed, and the user location acquired this time is stored.
  • the network device does not perform the user location report once after the user switches, but performs the reporting of the user location according to the minimum time interval, thereby reducing the number of times the user position is reported. , thereby reducing the number of signaling of the communication system.
  • the method of the second embodiment of the present invention avoids reporting the location of the user in this situation, in the case that the user has performed multiple handovers after the last report, and is located in the cell that was last reported when the minimum time interval is reached. Thereby, the number of times of user location reporting is further reduced, and the number of signaling of the communication system is reduced.
  • the network device may be an SGSN.
  • the above method may further include Any one of the following steps: the SGSN acquires the minimum time interval that is set by the GGSN and is forwarded by the GGSN, or the SGSN acquires the minimum time interval set by the GGSN, or the SGSN acquires The minimum time interval configured locally at the GGSN.
  • the network device may also be a GGSN for a 2G or 3G system.
  • the foregoing method may further include any one of the following steps: the GGSN acquires the minimum time interval set by the PCRF, or the GGSN acquires the minimum time interval configured locally at the GGSN .
  • the network device may be an MME.
  • the foregoing method may further include any one of the following steps: the MME acquires the minimum time interval of the PCRF setting and is forwarded by the P-GW and the S-GW, or the MME acquires the The P-GW sets and passes the minimum time interval forwarded by the S-GW, or the MME acquires the minimum time interval configured locally at the MME.
  • the network device may be a P-GW.
  • the foregoing method may further include any one of the following steps: the P-GW acquires the minimum time interval set by the PCRF, or the P-GW acquires the local configuration in the P-GW The minimum time interval.
  • FIG. 3 is a signaling flowchart of a method for reporting user location information according to Embodiment 3 of the present invention.
  • the activation process of the 3G system is taken as an example, wherein the minimum time interval is set by the PCRF, and the network device is an SGSN.
  • the method includes the following process.
  • Step 301 The SGSN sends a Packet Data Protocol (PDP) context request message to the GGSN.
  • PDP Packet Data Protocol
  • the user performs the initial attach, and the SGSN carries the indication information in the PDP context request message sent to the GGSN, and is used to notify the receiver that: the SGSN supports the real-time reporting function of the user location change.
  • Step 302 The GGSN sends a credit control request (Credit Control Request) to the PCRF. Referred to as CCR) message.
  • Step 303 The PCRF replies to the GGSN with a Credit Control Answer (CCA) message.
  • CCA Credit Control Answer
  • the PCRF replies to the GGSN with a CCA message, which includes a minimum time interval.
  • the minimum time interval is set by the PCRF.
  • the PCRF may carry the indication information indicating that the GGSN reports the change of the user's location in real time in the CCA message, and carries the minimum time interval.
  • Step 304 The GGSN replies to the SGSN to create a PDP context response message.
  • the GGSN carries the indication information for initiating the real-time reporting of the location change of the user in the PDP context response message, and carries the minimum time interval sent by the PCRF, so as to send the minimum time interval to the SGSN.
  • Step 305 The SGSN detects that the location of the user changes, and determines whether to report according to the minimum time interval.
  • the SGSN acquires the current user location when the user location changes.
  • the SGSN compares the time interval between the time when the current user location is obtained and the time when the user location was reported to the PCRF entity last time and the minimum time interval obtained. If the comparison result is less than, the SGSN stores the current user location acquired and waits, and waits until the next time the user location is changed, and then performs step 305 again, or if the comparison result is less than, the SGSN stores the current user acquired.
  • step 306 is performed. If the comparison result is greater than or equal to, step 306 is performed.
  • Step 306 The SGSN sends a user information change request message to the GGSN.
  • the SGSN sends a User Information Change Request message to the GGSN, where the message carries the latest user location.
  • the latest user location carried in the user information change request message in step 306 is the current user location acquired by the SGSN.
  • the process proceeds to step 306.
  • the latest user location carried in the user information change request message in step 306 is the current user location stored by the SGSN.
  • Step 307 The GGSN sends a CCR message to the PCRF.
  • the GGSN sends a CCR message to the PCRF, which carries the latest user location.
  • Step 308 The PCRF replies to the GGSN with a CCA message.
  • the PCRF replies to the GGSN with a CCA message, and the CCA message indicates that the processing is successful.
  • the PCRF can adjust the minimum time interval by using the PCRF to reset the minimum time interval and carrying the reset minimum time interval in the CCA message.
  • Step 309 The GGSN replies to the SGSN with a user information change response message.
  • the GGSN replies to the SGSN with a user information change response message, and the response message indicates that the processing is successful.
  • the PCRF sends the reset minimum time interval
  • the GGSN carries the reset minimum time interval in the user information change response message, so that the SGSN detects that the user location changes again, according to the reset. The minimum time interval is judged whether it is reported.
  • the minimum time interval is set by the PCRF.
  • the minimum time interval may be set by using the PCRF, but the minimum time interval is locally configured in the SGSN.
  • the CCA message, the PDP context response message, and the user information change response message in the implementation of the third embodiment of the present invention do not carry a minimum time interval. Accordingly, when the SGSN detects that the user location changes, the minimum time interval configured according to the SGSN locally is configured. Determine whether to report.
  • FIG. 4 is a signaling flowchart of a method for reporting user location information according to Embodiment 4 of the present invention.
  • the attaching process of the 4G system is taken as an example, wherein the minimum time interval is set by the P-GW, and the network device is the MME.
  • the method includes the following process.
  • Step 401 The MME sends a create session request message to the S-GW.
  • the user performs initial attach, and the MME carries the indication information in the create session request message sent to the S-GW, and is used to notify the receiver that: the MME supports the real-time reporting function of the user location change.
  • Step 402 The S-GW sends a create session request message to the P-GW.
  • the creation session request message sent by the S-GW to the P-GW carries the foregoing indication information, and is used to notify the receiver that: the MME supports the real-time reporting function of the user location change.
  • Step 403 The P-GW sends a CCR message to the PCRF.
  • Step 404 The PCRF replies to the P-GW with a CCA message.
  • the PCRF replies to the C-C message to the P-GW.
  • the PCRF may carry indication information indicating that the P-GW reports the change of the user's location in real time in the CCA message.
  • Step 405 The P-GW replies to the S-GW to create a session response message.
  • the P-GW carries the indication information indicating that the location change of the real-time reporting user is started in the creation session response message, and carries the minimum time interval, so as to send the minimum time interval to the S-GW.
  • the minimum time interval is set by the P-GW, and the P-GW can determine the minimum time interval by means of predefined local configuration or dynamic calculation of system load.
  • Step 406 The S-GW replies to the MME with a create session response message.
  • the S-GW carries the indication information indicating that the location change of the real-time reporting user is started in the creation session response message, and carries the minimum time interval, so as to send the minimum time interval to the MME.
  • Step 407 The MME detects that the location of the user changes, and determines whether the report is reported according to the minimum time interval.
  • the MME acquires the current user location when the user location changes. MME compares the time interval between the time when the current user location is obtained and the time when the user location was reported to the PCRF entity last time and the minimum time interval obtained. If the comparison result is less than, the MME stores the current user location acquired and waits, and waits until the next time the user location is detected to change, step 407 is performed again, or waits until the first moment, the first moment and the upper moment.
  • the time interval of the time when the user location is reported to the PCRF entity is equal to the minimum time interval, that is, when the time interval from the time when the last time the user location of the PCRF entity is reached reaches the minimum time interval, the step is performed. 408. If the comparison result is greater than or equal to, step 408 is performed.
  • Step 408 The user information change request message is sent to the S-GW.
  • the user information change request message is sent to the S-GW, and the message carries the latest user location.
  • the latest user location carried in the user information change request message in step 408 is the current user location acquired this time.
  • the process proceeds to step 408.
  • the latest user location carried in the user information change request message in step 408 is the current user location stored.
  • the S-GW sends a User Information Change Request message to the P-GW, where the message carries the latest user location sent by the MME to the S-GW in step 408.
  • Step 410 The P-GW sends a CCR message to the PCRF.
  • the P-GW sends a CCR message to the PCRF, which carries the latest user location.
  • Step 411 The PCRF replies to the P-GW with a CCA message.
  • the PCRF replies to the P-GW with a CCA message, and the CCA message indicates that the processing is successful.
  • Step 412 The P-GW replies to the S-GW with a user information change response message.
  • the P-GW replies to the S-GW with a User Information Change Response message, and the response message indicates that the processing is successful.
  • the P-GW can adjust the minimum time interval, and the adjustment method is: The P-GW resets the minimum time interval, and carries the re-set minimum time interval in the user information change response message.
  • Step 413 The S-GW replies to the MME with a user information change response message.
  • the S-GW returns a user information change response message to the MME, and the response message indicates that the processing is successful.
  • the P-GW sends the re-set minimum time interval
  • the B-J S-GW carries the reset minimum time interval in the user information change response message, so that the MME detects that the user location changes again. When it is reported, it is determined according to the reset minimum interval.
  • the minimum time interval is set by the P-GW.
  • the P-GW may not be used to set the minimum time interval, but the minimum time interval is locally configured in the MME.
  • the minimum session interval is not carried in the creation session response message and the user information change response message in the implementation of the fourth embodiment of the present invention, and correspondingly, when the MME detects that the user location changes, according to the minimum time interval configured locally by the MME Determine whether to report.
  • FIG. 5 is a signaling flowchart of a method for reporting user location information according to Embodiment 5 of the present invention.
  • the attaching process of the 4G system is taken as an example, wherein the minimum time interval is set by the PCRF, and the network device is a P-GW.
  • the method includes the following process.
  • Step 501 The MME sends a create session request message to the S-GW.
  • the user performs initial attach, and the MME carries the indication information in the create session request message sent to the S-GW, and is used to notify the receiver that: the MME supports the real-time reporting function of the user location change.
  • Step 502 The S-GW sends a create session request message to the P-GW.
  • the creation session request message sent by the S-GW to the P-GW carries the foregoing indication information, and is used to notify the receiver that: the MME supports the real-time reporting function of the user location change.
  • Step 503 The P-GW sends a CCR message to the PCRF.
  • Step 504 The PCRF replies to the P-GW with a CCA message.
  • the PCRF replies to the P-GW with a CCA message.
  • the message includes the minimum time interval.
  • the minimum time interval is set by the PCRF.
  • the PCRF may carry the indication information indicating that the P-GW reports the change of the user's location in real time in the CCA message, and carries the minimum time interval.
  • Step 505 The P-GW replies to the S-GW to create a session response message.
  • the P-GW carries the indication information indicating that the location change of the real-time reporting user is started in the creation session response message.
  • Step 506 The S-GW replies to the MME with a create session response message.
  • the S-GW carries the indication information indicating that the location change of the real-time reporting user is started in the creation session response message.
  • Step 507 The MME detects that the location of the user changes.
  • Step 508 The MME sends a user information change request message to the S-GW.
  • the MME sends a user information change request message to the S-GW, where the message carries the detected current user location.
  • Step 509 The S-GW sends a user information change request message to the P-GW.
  • the S-GW sends a User Information Change Request message to the P-GW, where the message carries the current user location sent by the MME to the S-GW in step 508, so that the P-GW obtains the current user location.
  • Step 510 The P-GW replies to the S-GW with a user information change response message.
  • Step 511 The S-GW replies to the MME with a user information change response message.
  • Step 512 The P-GW determines whether to report according to the minimum time interval.
  • the P-GW compares the time interval between the time when the current user location is obtained and the time when the user location is reported to the PCRF entity, and the minimum time interval obtained. If you compare If the value is less than, the P-GW stores the current user location acquired and waits, and waits until the next time the current user location is obtained, and then performs step 512 again, or waits until the first time, the first time and the previous time.
  • the time interval of the time of the user location of the PCRF entity is equal to the minimum time interval, that is, when the time interval from the time when the user location was reported to the PCRF entity last time reaches the minimum time interval, step 513 is performed. If the comparison result is greater than or equal to, step 513 is performed.
  • Step 513 The P-GW sends a CCR message to the PCRF.
  • the P-GW sends a CCR message to the PCRF, which carries the latest user location.
  • the latest user location carried in the User Information Change Request message in step 513 is the current user location acquired by the P-GW this time.
  • the process proceeds to step 513.
  • the latest user location carried in the user information change request message in step 513 is the current user location stored by the P-GW.
  • Step 514 The PCRF replies to the P-GW with a CCA message.
  • the PCRF replies to the P-GW with a CCA message, and the CCA message indicates that the processing is successful.
  • the PCRF can adjust the minimum time interval, and the adjustment method is: the PCRF resets the minimum time interval, and carries the reset minimum time interval in the CCA message, so that the P-GW acquires the current user again at the user location. In the case of position, it is judged whether or not to report according to the reset minimum interval. .
  • the minimum time interval is set by the PCRF.
  • the minimum time interval may be set by using the PCRF, but the minimum time interval is locally configured in the P-GW.
  • the CCA message of the fifth implementation of the present invention does not carry the minimum time interval. Accordingly, when the user location changes and the current user location is obtained, the P-GW determines according to the minimum time interval of the P-GW local configuration. Whether to report.
  • FIG. 6 is a schematic structural diagram of a network device according to Embodiment 6 of the present invention.
  • the device includes at least: a first obtaining unit 61, a second obtaining unit 64, and a sending unit 62. Further, the device may further include: a storage unit 63; and further, a configuration unit 65.
  • the first obtaining unit 61 is configured to acquire a current user location when the user location changes.
  • the second obtaining unit 64 is configured to acquire a minimum time interval.
  • the sending unit 62 is configured to acquire the current user location and the last time to the PCRF entity.
  • the time interval of the time when the user location is reported is greater than or equal to the acquired minimum time interval and the current user location is different from the user location reported to the PCRF entity last time, the current user location is ⁇ to the PCRF entity.
  • the network device may further include: a storage unit 63.
  • the storage unit 63 is configured to store the current user location when the time interval between the time when the current user location is acquired and the time when the user location is reported to the PCRF entity is less than the acquired minimum time interval.
  • the sending unit 62 is further configured to wait until the first time when the time interval between the time when the current user location is acquired and the time when the user location is last 4 times to the PCRF entity is less than the acquired minimum time interval.
  • the time interval between the first time and the time when the user location is reported to the PCRF entity is equal to the minimum time interval obtained.
  • the stored current user location is different from the last reported user location to the PCRF entity. And reporting the stored current user location to the PCRF entity.
  • the network device may further include: a configuration unit 65.
  • the second obtaining unit 64 is specifically configured to acquire the minimum time interval set and sent by other network devices, or to obtain the minimum time interval stored by the configuration unit 65.
  • the configuration unit 65 is configured to store the minimum time interval of the local configuration of the network device.
  • the network device can be an SGSN.
  • the second obtaining unit 64 is configured to acquire the minimum time interval that is set by the PCRF and is forwarded by the GGSN, or to obtain the minimum time interval set by the GGSN, or used to obtain a configuration.
  • the minimum time interval stored by the unit 65; the configuration unit 65 is configured to store the minimum time interval of the GGSN local configuration.
  • the network device may also be an MME.
  • the second obtaining unit 64 is configured to acquire the minimum time interval that is sent by the PCRF and is forwarded by the P-GW and the S-GW, or is used to obtain the P-GW setting and pass the S The minimum time interval forwarded by the GW, or used to obtain the minimum time interval stored by the configuration unit 65.
  • the configuration unit 65 is configured to store the minimum time interval of the MME local configuration.
  • the network device may also be a GGSN.
  • the second obtaining unit 64 is configured to acquire the minimum time interval set by the PCRF, or to obtain the minimum time interval stored by the configuration unit 65.
  • the configuration unit 65 is configured to store the GGSN local The minimum time interval configured.
  • the network device may also be a P-GW.
  • the second obtaining unit 64 is configured to acquire the minimum time interval set by the PCRF, or to obtain the minimum time interval stored by the configuration unit 65.
  • the configuration unit 65 is configured to store the The minimum time interval configured locally by the P-GW.
  • the device of the sixth embodiment of the present invention may be used to perform the method for reporting user location information according to the first embodiment of the present invention to the fifth embodiment of the present invention.
  • the specific implementation process and technical effects may refer to Embodiment 1 of the present invention to Embodiment 5 of the present invention. I will not repeat them here.
  • FIG. 7 is a schematic structural diagram of a network device according to Embodiment 7 of the present invention.
  • the device includes at least: a first receiver 71, a second receiver 75, a processor 72, a transmitter 73, and a bus 70, wherein the first receiver 71, the second receiver 75, and the processing
  • the device 72 and the transmitter 73 are both connected by the bus 70, and the data and control signals are transmitted between the first receiver 71, the second receiver 75, the processor 72 and the transmitter 73 through the bus 70; further, the method may further include:
  • the first memory 74, the first memory 74 is connected to the first receiver 71, the second receiver 75, the processor 72 and the transmitter 73 via the bus 70, via the bus 70 in the first memory 74, the first receiver 71,
  • the data is received between the second receiver 75, the processor 72 and the transmitter 73.
  • the method further includes: a second memory 76, the second memory 76 is connected to the first memory 74 and the first receiver via the bus 70. 71.
  • the second receiver 75, the processor 72 and the transmitter 73 are connected by the bus 70 in the second memory 76, the first memory 74, the first receiver 71, the second receiver 75, Data and control signals are transmitted between the processor 72 and the transmitter 73.
  • the first receiver 71 is configured to acquire the current user location when the location of the user changes.
  • the second receiver 75 is used to acquire a minimum time interval.
  • the time interval between the time when the processor 72 is used to acquire the current user location and the time when the user location is reported to the PCRF entity is greater than or equal to the acquired minimum time interval and the current user location is the last time to the PCRF entity.
  • the transmitter 73 is turned on.
  • the sender 73 is configured to report the current user location to the PCRF entity.
  • the network device may further include: a first memory 74.
  • the processor 72 is further configured to: when the current user location is acquired, the time interval from the time when the user location is reported to the PCRF entity is less than the minimum acquired.
  • the first memory 74 is turned on, and when the time interval between the time when the current user location is acquired and the time when the user location is reported to the PCRF entity is less than the minimum time interval acquired, waiting until the first time The time interval between the first time and the time when the user location is reported to the PCRF entity is equal to the minimum time interval obtained, and the current user location stored and the user location reported to the PCRF entity last time are not
  • the transmitter 73 is turned on.
  • the first memory 74 is for storing the current user location.
  • the sender 73 is further configured to report the stored current user location to the PCRF entity.
  • the network device may further include: a second memory 76.
  • the second receiver 75 is configured to acquire the minimum time interval set and sent by other network devices, or to acquire the minimum time interval stored by the second memory 76.
  • the second memory 76 is for storing the minimum time interval of the local configuration of the network device.
  • the network device can be an SGSN.
  • the second receiver 75 is configured to acquire the minimum time interval of the PCRF setting and forwarded by the GGSN, or to obtain the minimum time interval set by the GGSN, or The minimum time interval stored by the second memory 76; the second memory 76 is configured to store the minimum time interval of the SGSN local configuration.
  • the network device may also be an MME.
  • the second receiver 75 is configured to acquire the minimum time interval that is set by the PCRF and is forwarded by the P-GW and the S-GW, or is used to obtain the P-GW setting and pass the S - the minimum time interval forwarded by the GW, or used to acquire the minimum time interval stored by the second memory 76; the second memory 76 is configured to store the minimum time interval of the MME local configuration.
  • the network device may also be a GGSN.
  • the second receiver 75 is configured to acquire the minimum time interval set by the PCRF, or to acquire the minimum time interval stored by the second memory 76; And storing the minimum time interval configured locally by the GGSN.
  • the network device may also be a P-GW.
  • the second receiver 75 is configured to acquire the minimum time interval set by the PCRF, or to acquire the minimum time interval stored by the second memory 76; And storing the minimum time interval of the local configuration of the P-GW.
  • the device of the seventh embodiment of the present invention may be used to perform the method for reporting user location information according to the first embodiment of the present invention to the fifth embodiment of the present invention.
  • the specific implementation process and technical effects may refer to Embodiment 1 of the present invention to Embodiment 5 of the present invention. I will not repeat them here.
  • the method includes 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.

Landscapes

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

Abstract

本发明提供一种用户位置信息上报方法和网络设备。在用户位置变化时,网络设备获取当前用户位置,如果获取当前用户位置的时刻与上一次上报用户位置的时刻的时间间隔大于或等于最小时间间隔并且当前用户位置与上一次上报的用户位置不同,网络设备上报当前用户位置。采用本发明提供的方法和设备,能够减少通信系统的信令数量。

Description

用户位置信息上报方法和网络设备
技术领域 本发明实施例涉及移动通信技术, 尤其涉及一种用户位置信息上报方 法和网络设备。 背景技术
在第三代合作伙伴计划 ( 3rd Generation Partnership Project, 简称 3GPP ) 通信系统中,用户的位置变化是进行服务质量(Quality of Service, 简称 QoS ) 和计费等多种策略控制功能的重要参数, 因此, 当用户发生小区和 /或服务区 切换时, 网络设备需要获知该 UE的位置信息。
目前, 3GPP协议定义了用户位置变化实时上报的功能。策略和计费规 则功能( Policy and Charging Rules Function, 简称 PCRF )实体向策略和计费 执行功能 ( Policy and Charging Enforcement Function, 简称 PCEF ) 实体订 阅 UE位置变化信息。 在第 2代( 2nd generation, 简称 2G )或第 3代( 3rd generation, 简称 3G )网络中, PCEF实体部署在通用分组无线服务技术网 关支持节点 ( Gateway General Packet Radio Service Support Node, 简称 GGSN ) 上, GGSN 指示通用分组无线服务技术业务支撑节点 ( Serving General Packet Radio Service Support Node, 简称 SGSN ) 启动位置变化实 时上报。 在第 4代 ( 4th generation, 简称 4G ) 网络中, PCEF实体部署在 分组数据网关( Packet data network Gateway, 简称 P-GW )上, P-GW通过服 务网关 ( Serving Gateway , 简称 S-GW ) 指示移动性管理实体 ( Mobility Management Entity , 简称 ΜΜΕ ) 启动位置变化实时上报。 在启动位置变 化实时上报功能后,每当用户发生切换小区和 /或服务区的操作时, 用户最 新的位置信息将会被上报给 PCRF。
由于 4G网络在建设初期的覆盖范围有限, 釆用上述现有的用户位置 信息上报方法, 当用户在小区和 /或服务区的边缘移动时, 会出现用户在小 区和 /或服务区之间乒乓切换的场景, 导致通信系统中信令数量大大增加, 极易造成信令风暴, 引起系统过载。 发明内容
本发明的第一个方面是提供一种用户位置信息上报方法, 用以解决现 有技术中的缺陷, 减少通信系统的信令数量。
本发明的另一个方面是提供一种网络设备, 用以解决现有技术中的缺 陷, 减少通信系统的信令数量。
本发明的第一个方面是提供一种用户位置信息上报方法, 包括: 网络设备获取最小时间间隔;
在用户位置变化时, 所述网络设备获取当前用户位置;
如果获取当前用户位置的时刻与上一次向策略和计费规则功能 PCRF 实体上报用户位置的时刻的时间间隔大于或等于所述最小时间间隔并且 所述当前用户位置与上一次向所述 PCRF实体上报的用户位置不同, 所述 网络设备向所述 PCRF实体上报当前用户位置。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 还包括:
如果获取当前用户位置的时刻与上一次向所述 PCRF实体上报用户位 置的时刻的时间间隔小于所述最小时间间隔, 所述网络设备存储所述当前 用户位置;
等待至第一时刻, 所述第一时刻与上一次向所述 PCRF实体上报用户 位置的时刻的时间间隔等于所述最小时间间隔, 如果存储的所述当前用户 位置与上一次向所述 PCRF实体上 ·艮的用户位置不同, 所述网络设备向所 述 PCRF实体上报存储的所述当前用户位置。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所述网络设备为分组无线服务技术业务支撑节点 SGSN;
所述方法还包括: 所述 SGSN获取所述 PCRF设置并经过分组无线服 务技术网关支持节点 GGSN转发的所述最小时间间隔, 或者, 所述 SGSN 获取所述 GGSN设置的所述最小时间间隔, 或者, 所述 SGSN获取在所述 GGSN本地配置的所述最小时间间隔。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所述网络设备为移动性管理实体 MME; 所述方法还包括: 所述 MME获取所述 PCRF设置并经过分组数据网 关 P-GW和服务网关 S-GW转发的所述最小时间间隔, 或者, 所述 MME 获取所述 P-GW设置并经过所述 S-GW转发的所述最小时间间隔, 或者, 所述 MME获取在所述 MME本地配置的所述最小时间间隔。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所述网络设备为 GGSN;
所述方法还包括: 所述 GGSN获取所述 PCRF设置的所述最小时间间 隔, 或者, 所述 GGSN获取在所述 GGSN本地配置的所述最小时间间隔。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所述网络设备为 P-GW;
所述方法还包括: 所述 P-GW获取所述 PCRF设置的所述最小时间间 隔, 或者, 所述 P-GW获取在所述 P-GW本地配置的所述最小时间间隔。
本发明的另一个方面是提供一种网络设备, 包括:
第一获取单元, 用于在用户位置变化时, 获取当前用户位置; 第二获取单元, 用于获取最小时间间隔;
发送单元, 用于在获取当前用户位置的时刻与上一次向策略和计费规 则功能 PCRF实体上报用户位置的时刻的时间间隔大于或等于所述最小时 间间隔并且所述当前用户位置与上一次向所述 PCRF实体上报的用户位置 不同时, 向所述 PCRF实体上 ·艮当前用户位置。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 还包括: 存储单元;
所述存储单元用于在获取当前用户位置的时刻与上一次向所述 PCRF 实体上报用户位置的时刻的时间间隔小于所述最小时间间隔时, 存储所述 当前用户位置;
所述发送单元还用于在获取当前用户位置的时刻与上一次向所述
PCRF实体上 ·艮用户位置的时刻的时间间隔小于所述最小时间间隔时, 等 待至第一时刻, 所述第一时刻与上一次向所述 PCRF实体上报用户位置的 时刻的时间间隔等于所述最小时间间隔, 在存储的所述当前用户位置与上 一次向所述 PCRF实体上 4艮的用户位置不同时, 向所述 PCRF实体上 ^艮存 储的所述当前用户位置。 如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所述网络设备为分组无线服务技术业务支撑节点 SGSN;
所述 SGSN还包括: 配置单元, 用于存储所述 GGSN本地配置的所述 最小时间间隔;
所述第二获取单元具体用于获取所述 PCRF设置并经过分组无线服务 技术网关支持节点 GGSN转发的所述最小时间间隔, 或者, 用于获取所述 GGSN设置的所述最小时间间隔, 或者, 用于获取所述配置单元存储的所 述最小时间间隔。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所述网络设备为移动性管理实体 MME;
所述 MME还包括: 配置单元, 用于存储所述 MME本地配置的所述 最小时间间隔;
所述第二获取单元具体用于获取所述 PCRF设置并经过分组数据网关 P-GW和服务网关 S-GW转发的所述最小时间间隔, 或者, 用于获取所述 P-GW设置并经过所述 S-GW转发的所述最小时间间隔, 或者, 用于获取 所述配置单元存储的所述最小时间间隔。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所述网络设备为 GGSN;
所述 GGSN还包括: 配置单元, 用于存储所述 GGSN本地配置的所 述最小时间间隔;
所述第二获取单元具体用于获取所述 PCRF设置的所述最小时间间 隔, 或者, 用于获取所述配置单元存储的所述最小时间间隔。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所述网络设备为 P-GW;
所述 P-GW还包括: 配置单元, 用于存储所述 P-GW本地配置的所述 最小时间间隔;
所述第二获取单元具体用于获取所述 PCRF设置的所述最小时间间 隔, 或者, 用于获取所述配置单元存储的所述最小时间间隔。
本发明的另一个方面是提供一种网络设备, 包括:
第一接收器, 用于在用户位置变化时, 获取当前用户位置; 第二接收器, 用于获取最小时间间隔;
处理器, 用于在获取当前用户位置的时刻与上一次向策略和计费规则 功能 PCRF实体上报用户位置的时刻的时间间隔大于或等于所述最小时间 间隔并且所述当前用户位置与上一次向所述 PCRF实体上报的用户位置不 同时, 开启发送器;
所述发送器, 用于向所述 PCRF实体上报当前用户位置。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 还包括: 第一存储器;
所述处理器还用于在获取当前用户位置的时刻与上一次向所述 PCRF 实体上报用户位置的时刻的时间间隔小于所述最小时间间隔时, 开启所述 第一存储器, 并且, 在获取当前用户位置的时刻与上一次向所述 PCRF实 体上报用户位置的时刻的时间间隔小于所述最小时间间隔时, 等待至第一 时刻, 所述第一时刻与上一次向所述 PCRF实体上 用户位置的时刻的时 间间隔等于所述最小时间间隔, 在存储的所述当前用户位置与上一次向所 述 PCRF实体上报的用户位置不同时, 开启所述发送器;
所述第一存储器用于存储所述当前用户位置;
所述发送器还用于向所述 PCRF实体上报存储的所述当前用户位置。 如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所述网络设备为分组无线服务技术业务支撑节点 SGSN;
所述 SGSN还包括: 第二存储器, 用于存储所述 GGSN本地配置的所 述最小时间间隔;
所述第二接收器具体用于获取所述 PCRF设置并经过分组无线服务技 术网关支持节点 GGSN转发的所述最小时间间隔, 或者, 用于获取所述 GGSN设置的所述最小时间间隔, 或者, 用于获取所述第二存储器存储的 所述最小时间间隔。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所述网络设备为移动性管理实体 MME;
所述 MME还包括: 第二存储器, 用于存储所述 MME本地配置的所 述最小时间间隔;
所述第二接收器用于获取所述 PCRF设置并经过分组数据网关 P-GW 和服务网关 S-GW转发的所述最小时间间隔, 或者, 用于获取所述 P-GW 设置并经过所述 S-GW转发的所述最小时间间隔, 或者, 用于获取所述第 二存储器存储的所述最小时间间隔。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所述网络设备为 GGSN;
所述 GGSN还包括: 第二存储器, 用于存储所述 GGSN本地配置的 所述最小时间间隔;
所述第二接收器用于获取所述 PCRF设置的所述最小时间间隔,或者, 用于获取所述第二存储器存储的所述最小时间间隔。
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所述网络设备为 P-GW;
所述 P-GW还包括: 第二存储器, 用于存储所述 P-GW本地配置的所 述最小时间间隔;
所述第二接收器用于获取所述 PCRF设置的所述最小时间间隔,或者, 用于获取所述第二存储器存储的所述最小时间间隔。
由上述发明内容可见, 为用户位置上报设置最小时间间隔, 当网络设 备获知用户位置变化时, 对当前时刻与上一次上报用户位置的时刻的时间 间隔与该最小时间间隔进行比较, 只有当比较结果为大于或等于时, 才进 行本次用户位置的上报, 因此, 即使用户在小区之间发生乒乓切换, 网络 设备也不会在用户每次切换后均进行一次用户位置上报, 而是按照该最小 时间间隔进行用户位置的上报, 减少了用户位置上报的次数, 从而减少了 通信系统的信令数量。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例一的用户位置信息上报方法的流程图;
图 2a为本发明实施例二的用户位置信息上报方法的一种实现方式的流 程图;
图 2b为本发明实施例二的用户位置信息上报方法的另一种实现方式的 流程图;
图 3为本发明实施例三的用户位置信息上报方法的信令流程图; 图 4为本发明实施例四的用户位置信息上报方法的信令流程图; 图 5为本发明实施例五的用户位置信息上报方法的信令流程图; 图 6为本发明实施例六的网络设备的结构示意图;
图 7为本发明实施例七的网络设备的结构示意图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有做出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。
图 1为本发明实施例一的用户位置信息上报方法的流程图。如图 1所示, 该方法包括以下过程。
步骤 101 : 网络设备获取最小时间间隔。
步骤 102: 在用户位置变化时, 网络设备获取当前用户位置。
步骤 103 : 如果获取当前用户位置的时刻与上一次向 PCRF实体上报 用户位置的时刻的时间间隔大于或等于获取的最小时间间隔并且所述当 前用户位置与上一次向所述 PCRF实体上 ·艮的用户位置不同, 所述网络设 备向所述 PCRF实体上报当前用户位置。
在本发明实施例一中, 为用户位置上报设置最小时间间隔, 当网络设 备获知用户位置变化时, 对当前时刻与上一次上报用户位置的时刻的时间 间隔与该最小时间间隔进行比较, 只有当比较结果为大于或等于时, 才进 行本次用户位置的上报, 因此, 即使用户在小区之间发生乒乓切换, 网络 设备也不会在用户每次切换后均进行一次用户位置上报, 而是按照该最小 时间间隔进行用户位置的上报, 减少了用户位置上报的次数, 从而减少了 通信系统的信令数量。 图 2a为本发明实施例二的用户位置信息上报方法的一种实现方式的流 程图。 如图 2a所示, 该方法包括以下过程。
步骤 201 : 网络设备获取最小时间间隔。
步骤 202: 在用户位置变化时, 网络设备获取当前用户位置。
步骤 203 : 比较获取当前用户位置的时刻与上一次向 PCRF实体上报 用户位置的时刻的时间间隔与获取的最小时间间隔。
如果获取当前用户位置的时刻与上一次向 PCRF实体上报用户位置的 时刻的时间间隔大于或等于获取的最小时间间隔, 执行步骤 204。
如果获取当前用户位置的时刻与上一次向 PCRF实体上报用户位置的 时刻的时间间隔小于获取的最小时间间隔, 执行步骤 207。
步骤 204: 比较所述当前用户位置与上一次向所述 PCRF实体上报的 用户位置。
如果所述当前用户位置与上一次向所述 PCRF实体上报的用户位置不 同, 执行步骤 205; 如果所述当前用户位置与上一次向所述 PCRF实体上 报的用户位置相同, 结束流程。
步骤 205: 所述网络设备向所述 PCRF实体上 ·艮当前用户位置。
在步骤 205之后, 执行步骤 206。
步骤 206: 所述网络设备存储所述当前用户位置。
在本步骤中, 所述网络设备緩存步骤 205中向所述 PCRF实体上报的 当前用户位置, 以便下一次获取到用户位置时, 将下一次获取到的用户位 置与本次上报的用户位置进行比较。
步骤 207: 所述网络设备存储所述当前用户位置并等待。
在本步骤中, 所述网络设备存储所述当前用户位置并等待, 等待至第 一时刻, 所述第一时刻与上一次向所述 PCRF实体上报用户位置的时刻的 时间间隔等于获取的最小时间间隔, 执行步骤 208。
步骤 208: 比较存储的所述当前用户位置与上一次向所述 PCRF实体 上报的用户位置。
如果存储的所述当前用户位置与上一次向所述 PCRF实体上报的用户 位置不同, 执行步骤 209; 如果存储的所述当前用户位置与上一次向所述 PCRF实体上 ·艮的用户位置相同, 结束流程。 步骤 209: 所述网络设备向所述 PCRF实体上报存储的所述当前用户 位置。
在上述本发明实施例二的用户位置信息上报方法的一种实现方式中,先 对获取当前用户位置的时刻与上一次向 PCRF实体上报用户位置的时刻的 时间间隔与获取的最小时间间隔进行比较, 然后, 在该比较结果为大于或 等于时, 比较所述当前用户位置与上一次向所述 PCRF实体上报的用户位 置。 在本发明实施例二的用户位置信息上报方法的另一种实现方式中, 也可 以先对所述当前用户位置与上一次向所述 PCRF实体上报的用户位置进行 比较, 然后, 在该比较结果为不同时, 对获取当前用户位置的时刻与上一 次向 PCRF实体上 4艮用户位置的时刻的时间间隔与获取的最小时间间隔进 行比较。 以下通过图 2b所示的流程进行说明。
图 2b为本发明实施例二的用户位置信息上报方法的另一种实现方式的 流程图。 如图 2b所示, 该方法包括以下过程。
步骤 211 : 网络设备获取最小时间间隔。
步骤 212: 在用户位置变化时, 网络设备获取当前用户位置。
步骤 213 : 比较所述当前用户位置与上一次向所述 PCRF实体上报的 用户位置。
如果所述当前用户位置与上一次向所述 PCRF实体上报的用户位置不 同, 执行步骤 214; 如果所述当前用户位置与上一次向所述 PCRF实体上 报的用户位置相同, 结束流程。
步骤 214: 比较获取当前用户位置的时刻与上一次向 PCRF实体上报 用户位置的时刻的时间间隔与获取的最小时间间隔。
如果获取当前用户位置的时刻与上一次向 PCRF实体上报用户位置的 时刻的时间间隔大于或等于获取的最小时间间隔, 执行步骤 215。
如果获取当前用户位置的时刻与上一次向 PCRF实体上报用户位置的 时刻的时间间隔小于获取的最小时间间隔, 执行步骤 217。
步骤 215: 所述网络设备向所述 PCRF实体上 ·艮当前用户位置。
在步骤 215之后, 执行步骤 216。
步骤 216: 所述网络设备存储所述当前用户位置。
在本步骤中, 所述网络设备緩存步骤 215中向所述 PCRF实体上报的 当前用户位置, 以便下一次获取到用户位置时, 将下一次获取到的用户位 置与本次上报的用户位置进行比较。
步骤 217: 所述网络设备存储所述当前用户位置并等待。
在本步骤中, 所述网络设备存储所述当前用户位置并等待, 等待至第 一时刻, 所述第一时刻与上一次向所述 PCRF实体上 ·艮用户位置的时刻的 时间间隔等于获取的最小时间间隔, 执行步骤 218。
步骤 218: 比较存储的所述当前用户位置与上一次向所述 PCRF实体 上报的用户位置。
如果存储的所述当前用户位置与上一次向所述 PCRF实体上报的用户 位置不同, 执行步骤 219; 如果存储的所述当前用户位置与上一次向所述 PCRF实体上报的用户位置相同, 结束流程。
步骤 219: 所述网络设备向所述 PCRF实体上报存储的所述当前用户 位置。
在本发明实施例二中, 为用户位置上报设置最小时间间隔, 当网络 设备获知用户位置变化时, 对当前时刻与上一次上报用户位置的时刻的时 间间隔与该最小时间间隔进行比较。 当比较结果为大于或等于时, 进行本 次用户位置的上报。 当比较结果为小于时, 不进行本次用户位置的上报, 存储本次获取的用户位置。 在上一次上报到该最小时间间隔到时之间, 如 果用户位置发生多次变化, 则多次更新该存储的用户位置, 以使存储的用 户位置始终保持为最新获取的用户位置, 直到该最小时间间隔到时, 比较 此时存储的用户位置与上一次上报的用户位置, 只有在比较结果为不同 时, 才上报该存储的用户位置。 因此, 即使用户在小区之间发生乒乓切换, 网络设备也不会在用户每次切换后均进行一次用户位置上报, 而是按照该 最小时间间隔进行用户位置的上报, 减少了用户位置上报的次数, 从而减 少了通信系统的信令数量。并且,对于用户在上一次上报后发生多次切换, 在到达最小时间间隔时又位于上一次上报的小区的情形, 釆用本发明实施 例二的方法, 避免了在此情形下上报用户位置, 从而进一步减少了用户位 置上报的次数, 减少了通信系统的信令数量。
在上述本发明实施例一和本发明实施例二的技术方案的基础上,对于 2G 或 3G系统, 该网络设备可以为 SGSN。 相应地, 上述方法中还可以包括 以下步骤中的任意一项:所述 SGSN获取所述 PCRF设置并经过 GGSN转 发的所述最小时间间隔, 或者, 所述 SGSN获取所述 GGSN设置的所述最 小时间间隔, 或者, 所述 SGSN获取在所述 GGSN本地配置的所述最小时 间间隔。
在上述本发明实施例一和本发明实施例二的技术方案的基础上,对于 2G 或 3G系统, 该网络设备还可以为 GGSN。 相应地, 上述方法中还可以包 括以下步骤中的任意一项: 所述 GGSN获取所述 PCRF设置的所述最小时 间间隔, 或者, 所述 GGSN获取在所述 GGSN本地配置的所述最小时间 间隔。
在上述本发明实施例一和本发明实施例二的技术方案的基础上,对于 4G 系统, 该网络设备可以为 MME。 相应地, 上述方法中还可以包括以下步 骤中的任意一项: 所述 MME获取所述 PCRF设置并经过 P-GW和 S-GW 转发的所述最小时间间隔, 或者, 所述 MME获取所述 P-GW设置并经过 所述 S-GW转发的所述最小时间间隔,或者,所述 MME获取在所述 MME 本地配置的所述最小时间间隔。
在上述本发明实施例一和本发明实施例二的技术方案的基础上,对于 4G 系统, 该网络设备可以为 P-GW。 相应地, 上述方法中还可以包括以下步 骤中的任意一项: 所述 P-GW获取所述 PCRF设置的所述最小时间间隔, 或者, 所述 P-GW获取在所述 P-GW本地配置的所述最小时间间隔。
以下通过本发明实施例三至本发明实施例五对本发明实施例的用户位置 信息上报方法在上述若干应用场景下的实现方式进行简要介绍。
图 3为本发明实施例三的用户位置信息上报方法的信令流程图。 在本发 明实施例三中,以 3G系统的激活流程为例,其中,所述最小时间间隔由 PCRF 设置, 所述网络设备为 SGSN。 如图 3所示, 该方法包括以下过程。
步骤 301: SGSN向 GGSN发送创建分组 4艮文协议( Packet Data Protocol , 简称 PDP )上下文请求消息。
在本步骤中, 用户进行初始附着, SGSN在向 GGSN发送的 PDP上下 文请求消息中携带指示信息, 用于告知接收者: SGSN支持用户位置变化 实时上报功能。
步骤 302: GGSN向 PCRF发送信用控制请求( Credit Control Request, 简称 CCR ) 消息。
步骤 303: PCRF向 GGSN回复信用控制应答( Credit Control Answer, 简称 CCA ) 消息。
在本步骤中, PCRF向 GGSN回复 CCA消息, 该消息中包括最小时 间间隔。 所述最小时间间隔由 PCRF设置。 PCRF可以在 CCA消息中携带 指示 GGSN实时上报用户位置变化的指示信息, 并携带所述最小时间间 隔。
步骤 304: GGSN向 SGSN回复创建 PDP上下文响应消息。
在本步骤中, GGSN在创建 PDP上下文响应消息中携带指示启动实时 上报用户位置变化的指示信息, 并携带 PCRF下发的最小时间间隔, 从而 将最小时间间隔发送给 SGSN。
步骤 305: SGSN检测到用户位置发生变化, 根据最小时间间隔判断 是否上报。
在本步骤中, SGSN在用户位置变化时获取当前用户位置。 SGSN比 较获取当前用户位置的时刻与上一次向 PCRF实体上报用户位置的时刻的 时间间隔与获取的最小时间间隔。 如果比较结果为小于, SGSN存储此次 获取的当前用户位置并等待, 等待到下次检测到用户位置发生变化时, 再 次执行步骤 305 , 或者如果比较结果为小于, SGSN存储此次获取的当前 用户位置并等待, 等待到第一时刻, 所述第一时刻与上一次向所述 PCRF 实体上报用户位置的时刻的时间间隔等于所述最小时间间隔, 即等待到与 上一次向所述 PCRF实体上 ·艮用户位置的时刻的时间间隔到达最小时间间 隔时, 执行步骤 306。 如果比较结果为大于或等于, 执行步骤 306。
步骤 306: SGSN向 GGSN发送用户信息变更请求消息。
在本步骤中, SGSN向 GGSN发送用户信息变更请求消息, 该消息中 携带最新的用户位置。 对于步骤 305中获得比较结果为大于或等于后进入 步骤 306的情况, 步骤 306中的用户信息变更请求消息中携带的最新的用 户位置为 SGSN本次获取的当前用户位置。对于步骤 305中获得比较结果 为小于并等待到最小时间间隔到达后进入步骤 306的情况, 步骤 306中的 用户信息变更请求消息中携带的最新的用户位置为 SGSN存储的当前用户 位置。 步骤 307: GGSN向 PCRF发送 CCR消息。
在本步骤中, GGSN向 PCRF发送 CCR消息, 该消息中携带最新的 用户位置。
步骤 308: PCRF向 GGSN回复 CCA消息。
在本步骤中, PCRF向 GGSN回复 CCA消息, 通过该 CCA消息指示 处理成功。 可选地, PCRF可以调整最小时间间隔, 调整方法为: PCRF 重新设置最小时间间隔, 在该 CCA消息中携带重新设置的最小时间间隔。
步骤 309: GGSN向 SGSN回复用户信息变更响应消息。
在本步骤中, GGSN向 SGSN回复用户信息变更响应消息, 通过该响 应消息指示处理成功。 可选地, 如果 PCRF下发了重新设置的最小时间间 隔,则 GGSN在该用户信息变更响应消息中携带该重新设置的最小时间间 隔, 以便 SGSN再次检测到用户位置发生变化时, 根据该重新设置的最小 时间间隔判断是否上报。
在上述本发明实施三中,最小时间间隔由 PCRF设置,在其它实现方式 中, 也可以不釆用 PCRF设置最小时间间隔, 而是在 SGSN本地配置该最 小时间间隔, 则在该实现方式下, 在上述本发明实施三的 CCA消息、 创建 PDP上下文响应消息和用户信息变更响应消息中均不携带最小时间间隔, 相应地, SGSN检测到用户位置发生变化时, 根据该 SGSN本地配置的最 小时间间隔判断是否上报。
图 4为本发明实施例四的用户位置信息上报方法的信令流程图。 在本发 明实施例四中,以 4G系统的附着流程为例,其中,所述最小时间间隔由 P-GW 设置, 所述网络设备为 MME。 如图 4所示, 该方法包括以下过程。
步骤 401: MME向 S-GW发送创建会话请求消息。
在本步骤中,用户进行初始附着, MME在向 S-GW发送的创建会话请求 消息中携带指示信息,用于告知接收者: MME支持用户位置变化实时上报功 能。
步骤 402: S-GW向 P-GW发送创建会话请求消息。
在本步骤中, S-GW向 P-GW发送的创建会话请求消息中携带上述指示 信息, 用于告知接收者: MME支持用户位置变化实时上报功能。
步骤 403: P-GW向 PCRF发送 CCR消息。 步骤 404: PCRF向 P-GW回复 CCA消息。
在本步骤中 , PCRF向 P-GW回复 CCA消息。 PCRF可以在 CCA消息 中携带指示 P-GW实时上报用户位置变化的指示信息。
步骤 405: P-GW向 S-GW回复创建会话响应消息。
在本步骤中, P-GW在创建会话响应消息中携带指示启动实时上报用户 位置变化的指示信息, 并携带最小时间间隔, 从而将最小时间间隔发送给 S-GW。 所述最小时间间隔由 P-GW设置, P-GW可以通过预定义本地配置 或者动态计算系统负荷等方式确定该最小时间间隔。
步骤 406: S-GW向 MME回复创建会话响应消息。
在本步骤中, S-GW在创建会话响应消息中携带指示启动实时上报用户 位置变化的指示信息, 并携带最小时间间隔, 从而将最小时间间隔发送给 转发给 MME。
步骤 407: MME检测到用户位置发生变化, 根据最小时间间隔判断是 否上报。
在本步骤中, MME在用户位置变化时获取当前用户位置。 MME比较 获取当前用户位置的时刻与上一次向 PCRF实体上报用户位置的时刻的时 间间隔与获取的最小时间间隔。 如果比较结果为小于, MME存储此次获 取的当前用户位置并等待, 等待到下次检测到用户位置发生变化时, 再次 执行步骤 407 ,或者,等待到第一时刻,所述第一时刻与上一次向所述 PCRF 实体上报用户位置的时刻的时间间隔等于所述最小时间间隔, 即等待到与 上一次向所述 PCRF实体上 ·艮用户位置的时刻的时间间隔到达最小时间间 隔时, 执行步骤 408。 如果比较结果为大于或等于, 执行步骤 408。
步骤 408: ΜΜΕ向 S-GW发送用户信息变更请求消息。
在本步骤中, ΜΜΕ向 S-GW发送用户信息变更请求消息, 该消息中 携带最新的用户位置。 对于步骤 407中获得比较结果为大于或等于后进入 步骤 408的情况, 步骤 408中的用户信息变更请求消息中携带的最新的用 户位置为 ΜΜΕ本次获取的当前用户位置。 对于步骤 407中获得比较结果 为小于并等待到最小时间间隔到达后进入步骤 408的情况, 步骤 408中的 用户信息变更请求消息中携带的最新的用户位置为 ΜΜΕ存储的当前用户 位置。 步骤 409: S-GW向 P-GW发送用户信息变更请求消息。
在本步骤中, S-GW向 P-GW发送用户信息变更请求消息, 在该消息 中携带在步骤 408中 MME向 S-GW发送的最新的用户位置。
步骤 410: P-GW向 PCRF发送 CCR消息。
在本步骤中, P-GW向 PCRF发送 CCR消息, 该消息中携带最新的用户 位置。
步骤 411 : PCRF向 P-GW回复 CCA消息。
在本步骤中, PCRF向 P-GW回复 CCA消息, 通过该 CCA消息指示处 理成功。
步骤 412: P-GW向 S-GW回复用户信息变更响应消息。
在本步骤中, P-GW向 S-GW回复用户信息变更响应消息, 通过该响 应消息指示处理成功。 可选地, P-GW 可以调整最小时间间隔, 调整方法 为: P-GW重新设置最小时间间隔, 在该用户信息变更响应消息中携带重 新设置的最小时间间隔。
步骤 413: S-GW向 MME回复用户信息变更响应消息。
在本步骤中, S-GW向 MME回用户信息变更响应消息, 通过该响应 消息指示处理成功。 可选地, 如果 P-GW下发了重新设置的最小时间间隔, 贝' J S-GW在该用户信息变更响应消息中携带该重新设置的最小时间间隔, 以便 MME再次检测到用户位置发生变化时, 根据该重新设置的最小时间 间隔判断是否上报。
在上述本发明实施四中, 最小时间间隔由 P-GW设置, 在其它实现方 式中, 也可以不釆用 P-GW设置最小时间间隔, 而是在 MME本地配置该 最小时间间隔, 则在该实现方式下, 在上述本发明实施四的创建会话响应 消息和用户信息变更响应消息中均不携带最小时间间隔, 相应地, MME 检测到用户位置发生变化时, 根据该 MME本地配置的最小时间间隔判断 是否上报。
图 5为本发明实施例五的用户位置信息上报方法的信令流程图。 在本发 明实施例五中,以 4G系统的附着流程为例,其中,所述最小时间间隔由 PCRF 设置, 所述网络设备为 P-GW。 如图 5所示, 该方法包括以下过程。
步骤 501 : MME向 S-GW发送创建会话请求消息。 在本步骤中,用户进行初始附着, MME在向 S-GW发送的创建会话请求 消息中携带指示信息,用于告知接收者: MME支持用户位置变化实时上报功 能。
步骤 502: S-GW向 P-GW发送创建会话请求消息。
在本步骤中, S-GW向 P-GW发送的创建会话请求消息中携带上述指示 信息, 用于告知接收者: MME支持用户位置变化实时上报功能。
步骤 503: P-GW向 PCRF发送 CCR消息。
步骤 504: PCRF向 P-GW回复 CCA消息。
在本步骤中, PCRF向 P-GW回复 CCA消息。 该消息中包括最小时间 间隔。 所述最小时间间隔由 PCRF设置。 PCRF可以在 CCA消息中携带指 示 P-GW实时上报用户位置变化的指示信息, 并携带所述最小时间间隔。
步骤 505: P-GW向 S-GW回复创建会话响应消息。
在本步骤中, P-GW在创建会话响应消息中携带指示启动实时上报用户 位置变化的指示信息。
步骤 506: S-GW向 MME回复创建会话响应消息。
在本步骤中, S-GW在创建会话响应消息中携带指示启动实时上报用户 位置变化的指示信息。
步骤 507: MME检测到用户位置发生变化。
步骤 508: MME向 S-GW发送用户信息变更请求消息。
在本步骤中, MME向 S-GW发送用户信息变更请求消息, 该消息中 携带检测到的当前用户位置。
步骤 509: S-GW向 P-GW发送用户信息变更请求消息。
在本步骤中, S-GW向 P-GW发送用户信息变更请求消息, 在该消息 中携带在步骤 508中 MME向 S-GW发送的当前用户位置,从而使得 P-GW 获得当前用户位置。
步骤 510: P-GW向 S-GW回复用户信息变更响应消息。
步骤 511 : S-GW向 MME回复用户信息变更响应消息。
步骤 512: P-GW根据最小时间间隔判断是否上报。
在本步骤中, P-GW比较获取当前用户位置的时刻与上一次向 PCRF 实体上报用户位置的时刻的时间间隔与获取的最小时间间隔。 如果比较结 果为小于, P-GW存储此次获取的当前用户位置并等待, 等待到下次获得 当前用户位置时, 再次执行步骤 512, 或者, 等待到第一时刻, 所述第一 时刻与上一次向所述 PCRF实体上 ·艮用户位置的时刻的时间间隔等于所述 最小时间间隔, 即等待到与上一次向所述 PCRF实体上报用户位置的时刻 的时间间隔到达最小时间间隔时, 执行步骤 513。 如果比较结果为大于或 等于, 执行步骤 513。
步骤 513: P-GW向 PCRF发送 CCR消息。
在本步骤中, P-GW向 PCRF发送 CCR消息, 该消息中携带最新的用户 位置。对于步骤 512中获得比较结果为大于或等于后进入步骤 513的情况, 步骤 513中的用户信息变更请求消息中携带的最新的用户位置为 P-GW本 次获取的当前用户位置。 对于步骤 512中获得比较结果为小于并等待到最 小时间间隔到达后进入步骤 513的情况, 步骤 513中的用户信息变更请求 消息中携带的最新的用户位置为 P-GW存储的当前用户位置。
步骤 514: PCRF向 P-GW回复 CCA消息。
在本步骤中, PCRF向 P-GW回复 CCA消息, 通过该 CCA消息指示处 理成功。 可选地, PCRF可以调整最小时间间隔, 调整方法为: PCRF重新 设置最小时间间隔, 在该 CCA消息中携带重新设置的最小时间间隔, 以 便 P-GW在用户位置再次发生变化而获取到当前用户位置时, 根据该重新 设置的最小时间间隔判断是否上报。 。
在上述本发明实施五中, 最小时间间隔由 PCRF设置,在其它实现方式 中, 也可以不釆用 PCRF设置最小时间间隔, 而是在 P-GW本地配置该最 小时间间隔, 则在该实现方式下, 在上述本发明实施五的 CCA消息中均不 携带最小时间间隔, 相应地, P-GW在用户位置发生变化而获取到当前用 户位置时, 根据该 P-GW本地配置的最小时间间隔判断是否上报。
图 6为本发明实施例六的网络设备的结构示意图。 如图 6所示, 该设备 至少包括: 第一获取单元 61、第二获取单元 64和发送单元 62; 进一步地, 还可以包括: 存储单元 63 ; 更进一步地, 还可以包括: 配置单元 65。
其中, 第一获取单元 61用于在用户位置变化时获取当前用户位置。 第二获取单元 64用于获取最小时间间隔。
发送单元 62用于在获取当前用户位置的时刻与上一次向 PCRF实体 上报用户位置的时刻的时间间隔大于或等于获取的最小时间间隔并且所 述当前用户位置与上一次向所述 PCRF实体上报的用户位置不同时, 向所 述 PCRF实体上 ·艮当前用户位置。
在上述技术方案的基础上, 进一步地, 该网络设备还可以包括: 存储 单元 63。 所述存储单元 63用于在获取当前用户位置的时刻与上一次向所 述 PCRF实体上报用户位置的时刻的时间间隔小于获取的最小时间间隔 时, 存储所述当前用户位置。 相应地, 所述发送单元 62还用于在获取当 前用户位置的时刻与上一次向所述 PCRF实体上 4艮用户位置的时刻的时间 间隔小于获取的最小时间间隔时, 等待至第一时刻, 所述第一时刻与上一 次向所述 PCRF实体上报用户位置的时刻的时间间隔等于获取的最小时间 间隔, 在存储的所述当前用户位置与上一次向所述 PCRF实体上报的用户 位置不同时, 向所述 PCRF实体上报存储的所述当前用户位置。
在上述技术方案的基础上, 进一步地, 该网络设备中还可以包括: 配 置单元 65。 其中, 第二获取单元 64具体用于获取由其它网络设备设置并 发送的所述最小时间间隔, 或者, 用于获取配置单元 65存储的所述最小 时间间隔。 配置单元 65用于存储本网络设备本地配置的所述最小时间间 隔。
例如, 所述网络设备可以为 SGSN。 相应地, 所述第二获取单元 64 用于获取所述 PCRF设置并经过 GGSN转发的所述最小时间间隔, 或者, 用于获取所述 GGSN设置的所述最小时间间隔, 或者, 用于获取配置单元 65存储的所述最小时间间隔; 所述配置单元 65用于存储所述 GGSN本地 配置的所述最小时间间隔。
例如, 所述网络设备还可以为 MME。 相应地, 所述第二获取单元 64 用于获取所述 PCRF设置并经过 P-GW和 S-GW转发的所述最小时间间隔, 或者, 用于获取所述 P-GW设置并经过所述 S-GW转发的所述最小时间间 隔, 或者, 用于获取配置单元 65存储的所述最小时间间隔; 所述配置单 元 65用于存储所述 MME本地配置的所述最小时间间隔。
例如, 所述网络设备还可以为 GGSN。 相应地, 所述第二获取单元 64 用于获取所述 PCRF设置的所述最小时间间隔, 或者, 用于获取配置单元 65存储的所述最小时间间隔; 所述配置单元 65用于存储所述 GGSN本地 配置的所述最小时间间隔。
例如, 所述网络设备还可以为 P-GW。 相应地, 所述第二获取单元 64 用于获取所述 PCRF设置的所述最小时间间隔, 或者, 用于获取配置单元 65存储的所述最小时间间隔; 所述配置单元 65用于存储所述 P-GW本地 配置的所述最小时间间隔。
本发明实施例六的设备可以用于执行本发明实施例一至本发明实施 例五所述的用户位置信息上报方法, 其具体实现过程和技术效果可以参照 本发明实施例一至本发明实施例五, 此处不再赘述。
图 7为本发明实施例七的网络设备的结构示意图。 如图 7所示, 该装置 设备至少包括: 第一接收器 71、 第二接收器 75、 处理器 72、 发送器 73 和总线 70 , 其中, 第一接收器 71、 第二接收器 75、 处理器 72和发送器 73均通过总线 70相连, 通过总线 70在第一接收器 71、 第二接收器 75、 处理器 72和发送器 73之间传输数据与控制信号;进一步地,还可以包括: 第一存储器 74, 第一存储器 74通过总线 70与第一接收器 71、 第二接收 器 75、 处理器 72和发送器 73相连, 通过总线 70在第一存储器 74、 第一 接收器 71、 第二接收器 75、 处理器 72和发送器 73之间传输数据与控制 信号; 更进一步地, 还可以包括: 第二存储器 76, 第二存储器 76通过总 线 70与第一存储器 74、 第一接收器 71、 第二接收器 75、 处理器 72和发 送器 73相连, 通过总线 70在第二存储器 76、 第一存储器 74、 第一接收 器 71、 第二接收器 75、 处理器 72和发送器 73之间传输数据与控制信号。
其中, 第一接收器 71用于在用户位置变化时获取当前用户位置。 第二接收器 75用于获取最小时间间隔。
处理器 72用于在获取当前用户位置的时刻与上一次向 PCRF实体上 报用户位置的时刻的时间间隔大于或等于获取的最小时间间隔并且所述 当前用户位置与上一次向所述 PCRF实体上 ·艮的用户位置不同时, 开启发 送器 73。
发送器 73用于向所述 PCRF实体上报当前用户位置。
在上述技术方案的基础上, 进一步地, 该网络设备还可以包括: 第一 存储器 74。 相应地, 所述处理器 72还用于在获取当前用户位置的时刻与 上一次向所述 PCRF实体上报用户位置的时刻的时间间隔小于获取的最小 时间间隔时, 开启所述第一存储器 74, 并且, 在获取当前用户位置的时刻 与上一次向所述 PCRF实体上报用户位置的时刻的时间间隔小于获取的最 小时间间隔时, 等待至第一时刻, 所述第一时刻与上一次向所述 PCRF实 体上报用户位置的时刻的时间间隔等于获取的最小时间间隔, 在存储的所 述当前用户位置与上一次向所述 PCRF实体上报的用户位置不同时, 开启 所述发送器 73。 第一存储器 74用于存储所述当前用户位置。 发送器 73 还用于向所述 PCRF实体上报存储的所述当前用户位置。
在上述技术方案的基础上, 进一步地, 该网络设备中还可以包括: 第 二存储器 76。 其中, 第二接收器 75用于获取由其它网络设备设置并发送 的所述最小时间间隔, 或者, 用于获取所述第二存储器 76存储的所述最 小时间间隔。 第二存储器 76用于存储本网络设备本地配置的所述最小时 间间隔。
例如, 所述网络设备可以为 SGSN。 相应地, 所述第二接收器 75用于 获取所述 PCRF设置并经过 GGSN转发的所述最小时间间隔, 或者, 用于 获取所述 GGSN设置的所述最小时间间隔, 或者, 用于获取所述第二存储 器 76存储的所述最小时间间隔; 所述第二存储器 76用于存储所述 SGSN 本地配置的所述最小时间间隔。
例如, 所述网络设备还可以为 MME。 相应地, 所述第二接收器 75用 于获取所述 PCRF设置并经过 P-GW和 S-GW转发的所述最小时间间隔, 或者, 用于获取所述 P-GW设置并经过所述 S-GW转发的所述最小时间间 隔, 或者, 用于获取所述第二存储器 76存储的所述最小时间间隔; 所述 第二存储器 76用于存储所述 MME本地配置的所述最小时间间隔。
例如, 所述网络设备还可以为 GGSN。 相应地, 所述第二接收器 75 用于获取所述 PCRF设置的所述最小时间间隔, 或者, 用于获取所述第二 存储器 76存储的所述最小时间间隔; 所述第二存储器 76用于存储所述 GGSN本地配置的所述最小时间间隔。
例如, 所述网络设备还可以为 P-GW。 相应地, 所述第二接收器 75 用于获取所述 PCRF设置的所述最小时间间隔, 或者, 用于获取所述第二 存储器 76存储的所述最小时间间隔; 所述第二存储器 76用于存储所述 P-GW本地配置的所述最小时间间隔。 本发明实施例七的设备可以用于执行本发明实施例一至本发明实施 例五所述的用户位置信息上报方法, 其具体实现过程和技术效果可以参照 本发明实施例一至本发明实施例五, 此处不再赘述。
需要说明的是: 对于前述的各方法实施例, 为了简单描述, 故将其都表 述为一系列的动作组合, 但是本领域技术人员应该知悉, 本发明并不受所描 述的动作顺序的限制, 因为依据本发明, 某些步骤可以釆用其他顺序或者同 时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均属 于优选实施例, 所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有 详述的部分, 可以参见其他实施例的相关描述。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM, RAM, 磁碟或者光盘等各种可以存储程序代码的介 质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims

权 利 要 求 书
1、 一种用户位置信息上报方法, 其特征在于, 包括:
网络设备获取最小时间间隔;
在用户位置变化时, 所述网络设备获取当前用户位置;
如果获取当前用户位置的时刻与上一次向策略和计费规则功能 PCRF 实体上报用户位置的时刻的时间间隔大于或等于所述最小时间间隔并且 所述当前用户位置与上一次向所述 PCRF实体上报的用户位置不同, 所述 网络设备向所述 PCRF实体上报当前用户位置。
2、 根据权利要求 1所述的方法, 其特征在于, 还包括:
如果获取当前用户位置的时刻与上一次向所述 PCRF实体上报用户位 置的时刻的时间间隔小于所述最小时间间隔, 所述网络设备存储所述当前 用户位置;
等待至第一时刻, 所述第一时刻与上一次向所述 PCRF实体上报用户 位置的时刻的时间间隔等于所述最小时间间隔, 如果存储的所述当前用户 位置与上一次向所述 PCRF实体上 ·艮的用户位置不同, 所述网络设备向所 述 PCRF实体上报存储的所述当前用户位置。
3、 根据权利要求 1或 2所述的方法, 其特征在于,
所述网络设备为分组无线服务技术业务支撑节点 SGSN;
所述方法还包括: 所述 SGSN获取所述 PCRF设置并经过分组无线服 务技术网关支持节点 GGSN转发的所述最小时间间隔, 或者, 所述 SGSN 获取所述 GGSN设置的所述最小时间间隔, 或者, 所述 SGSN获取在所述 GGSN本地配置的所述最小时间间隔。
4、 根据权利要求 1或 2所述的方法, 其特征在于,
所述网络设备为移动性管理实体 MME;
所述方法还包括: 所述 MME获取所述 PCRF设置并经过分组数据网 关 P-GW和服务网关 S-GW转发的所述最小时间间隔, 或者, 所述 MME 获取所述 P-GW设置并经过所述 S-GW转发的所述最小时间间隔, 或者, 所述 MME获取在所述 MME本地配置的所述最小时间间隔。
5、 根据权利要求 1或 2所述的方法, 其特征在于,
所述网络设备为 GGSN; 所述方法还包括: 所述 GGSN获取所述 PCRF设置的所述最小时间间 隔, 或者, 所述 GGSN获取在所述 GGSN本地配置的所述最小时间间隔。
6、 根据权利要求 1或 2所述的方法, 其特征在于,
所述网络设备为 P-GW;
所述方法还包括: 所述 P-GW获取所述 PCRF设置的所述最小时间间 隔, 或者, 所述 P-GW获取在所述 P-GW本地配置的所述最小时间间隔。
7、 一种网络设备, 其特征在于, 包括:
第一获取单元, 用于在用户位置变化时, 获取当前用户位置; 第二获取单元, 用于获取最小时间间隔;
发送单元, 用于在获取当前用户位置的时刻与上一次向策略和计费规 则功能 PCRF实体上报用户位置的时刻的时间间隔大于或等于所述最小时 间间隔并且所述当前用户位置与上一次向所述 PCRF实体上报的用户位置 不同时, 向所述 PCRF实体上 ·艮当前用户位置。
8、 根据权利要求 7所述的网络设备, 其特征在于, 还包括: 存储单 元;
所述存储单元用于在获取当前用户位置的时刻与上一次向所述 PCRF 实体上报用户位置的时刻的时间间隔小于所述最小时间间隔时, 存储所述 当前用户位置;
所述发送单元还用于在获取当前用户位置的时刻与上一次向所述 PCRF实体上 ·艮用户位置的时刻的时间间隔小于所述最小时间间隔时, 等 待至第一时刻, 所述第一时刻与上一次向所述 PCRF实体上报用户位置的 时刻的时间间隔等于所述最小时间间隔, 在存储的所述当前用户位置与上 一次向所述 PCRF实体上 4艮的用户位置不同时, 向所述 PCRF实体上 ^艮存 储的所述当前用户位置。
9、 根据权利要求 7或 8所述的网络设备, 其特征在于,
所述网络设备为分组无线服务技术业务支撑节点 SGSN;
所述 SGSN还包括: 配置单元, 用于存储所述 GGSN本地配置的所述 最小时间间隔; 所述第二获取单元具体用于获取所述 PCRF设置并经过分 组无线服务技术网关支持节点 GGSN转发的所述最小时间间隔, 或者, 用 于获取所述 GGSN设置的所述最小时间间隔, 或者, 用于获取所述配置单 元存储的所述最小时间间隔。
10、 根据权利要求 7或 8所述的网络设备, 其特征在于,
所述网络设备为移动性管理实体 MME;
所述 MME还包括: 配置单元, 用于存储所述 MME本地配置的所述 最小时间间隔; 所述第二获取单元具体用于获取所述 PCRF设置并经过分 组数据网关 P-GW和服务网关 S-GW转发的所述最小时间间隔, 或者, 用 于获取所述 P-GW设置并经过所述 S-GW转发的所述最小时间间隔,或者, 用于获取所述配置单元存储的所述最小时间间隔。
11、 根据权利要求 7或 8所述的网络设备, 其特征在于,
所述网络设备为 GGSN;
所述 GGSN还包括: 配置单元, 用于存储所述 GGSN本地配置的所 述最小时间间隔;
所述第二获取单元具体用于获取所述 PCRF设置的所述最小时间间 隔, 或者, 用于获取所述配置单元存储的所述最小时间间隔。
12、 根据权利要求 7或 8所述的网络设备, 其特征在于,
所述网络设备为 P-GW;
所述 P-GW还包括: 配置单元, 用于存储所述 P-GW本地配置的所述 最小时间间隔; 所述第二获取单元具体用于获取所述 PCRF设置的所述最 小时间间隔, 或者, 用于获取所述配置单元存储的所述最小时间间隔。
13、 一种网络设备, 其特征在于, 包括:
第一接收器, 用于在用户位置变化时, 获取当前用户位置;
第二接收器, 用于获取最小时间间隔;
处理器, 用于在获取当前用户位置的时刻与上一次向策略和计费规则 功能 PCRF实体上报用户位置的时刻的时间间隔大于或等于所述最小时间 间隔并且所述当前用户位置与上一次向所述 PCRF实体上报的用户位置不 同时, 开启发送器;
所述发送器, 用于向所述 PCRF实体上报当前用户位置。
14、 根据权利要求 13所述的网络设备, 其特征在于, 还包括: 第一 存储器;
所述处理器还用于在获取当前用户位置的时刻与上一次向所述 PCRF 实体上报用户位置的时刻的时间间隔小于所述最小时间间隔时, 开启所述 第一存储器, 并且, 在获取当前用户位置的时刻与上一次向所述 PCRF实 体上报用户位置的时刻的时间间隔小于所述最小时间间隔时, 等待至第一 时刻, 所述第一时刻与上一次向所述 PCRF实体上 用户位置的时刻的时 间间隔等于所述最小时间间隔, 在存储的所述当前用户位置与上一次向所 述 PCRF实体上报的用户位置不同时, 开启所述发送器;
所述第一存储器用于存储所述当前用户位置;
所述发送器还用于向所述 PCRF实体上报存储的所述当前用户位置。
15、 根据权利要求 13或 14所述的网络设备, 其特征在于,
所述网络设备为分组无线服务技术业务支撑节点 SGSN;
所述 SGSN还包括: 第二存储器, 用于存储所述 GGSN本地配置的所 述最小时间间隔;
所述第二接收器具体用于获取所述 PCRF设置并经过分组无线服务技 术网关支持节点 GGSN转发的所述最小时间间隔, 或者, 用于获取所述 GGSN设置的所述最小时间间隔, 或者, 用于获取所述第二存储器存储的 所述最小时间间隔。
16、 根据权利要求 13或 14所述的网络设备, 其特征在于,
所述网络设备为移动性管理实体 MME;
所述 MME还包括: 第二存储器, 用于存储所述 MME本地配置的所 述最小时间间隔;
所述第二接收器用于获取所述 PCRF设置并经过分组数据网关 P-GW 和服务网关 S-GW转发的所述最小时间间隔, 或者, 用于获取所述 P-GW 设置并经过所述 S-GW转发的所述最小时间间隔, 或者, 用于获取所述第 二存储器存储的所述最小时间间隔。
17、 根据权利要求 13或 14所述的网络设备, 其特征在于,
所述网络设备为 GGSN;
所述 GGSN还包括: 第二存储器, 用于存储所述 GGSN本地配置的 所述最小时间间隔;
所述第二接收器用于获取所述 PCRF设置的所述最小时间间隔,或者, 用于获取所述第二存储器存储的所述最小时间间隔。
18、 根据权利要求 13或 14所述的网络设备, 其特征在于, 所述网络设备为 P-GW;
所述 P-GW还包括: 第二存储器, 用于存储所述 P-GW本地配置的所 述最小时间间隔;
所述第二接收器用于获取所述 PCRF设置的所述最小时间间隔,或者, 用于获取所述第二存储器存储的所述最小时间间隔。
PCT/CN2012/087497 2012-12-26 2012-12-26 用户位置信息上报方法和网络设备 WO2014100992A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2012/087497 WO2014100992A1 (zh) 2012-12-26 2012-12-26 用户位置信息上报方法和网络设备
CN201280002812.9A CN103229569B (zh) 2012-12-26 2012-12-26 用户位置信息上报方法和网络设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/087497 WO2014100992A1 (zh) 2012-12-26 2012-12-26 用户位置信息上报方法和网络设备

Publications (1)

Publication Number Publication Date
WO2014100992A1 true WO2014100992A1 (zh) 2014-07-03

Family

ID=48838378

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087497 WO2014100992A1 (zh) 2012-12-26 2012-12-26 用户位置信息上报方法和网络设备

Country Status (2)

Country Link
CN (1) CN103229569B (zh)
WO (1) WO2014100992A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754632B (zh) * 2013-12-31 2020-04-10 上海诺基亚贝尔股份有限公司 在无线通信网络中用于报告ue小区位置的方法和装置
CN112135322B (zh) * 2016-04-26 2021-11-19 华为技术有限公司 信息的传输方法及装置
CN109089255B (zh) * 2017-06-14 2022-01-25 中国移动通信有限公司研究院 用户位置通知控制方法、装置、系统、设备及存储介质
CN109150552A (zh) * 2018-10-26 2019-01-04 中国联合网络通信集团有限公司 一种位置信息开放方法和系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011191146A (ja) * 2010-03-12 2011-09-29 Nec Corp 携帯通信端末装置、携帯通信端末装置の測位周期制御方法、及び携帯通信端末装置の測位周期制御プログラム
CN102547840A (zh) * 2012-01-20 2012-07-04 电信科学技术研究院 一种mdt测量结果的上报方法及装置
CN102763437A (zh) * 2010-02-17 2012-10-31 株式会社Ntt都科摩 测位时间间隔控制装置以及测位时间间隔控制方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100433893C (zh) * 2004-06-30 2008-11-12 华为技术有限公司 一种实现位置更新过程的方法
CN101568061A (zh) * 2008-04-25 2009-10-28 华为技术有限公司 Eps网络中管理用户位置信息的方法及装置
CN101841766A (zh) * 2010-05-06 2010-09-22 华为技术有限公司 服务质量控制方法、设备及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102763437A (zh) * 2010-02-17 2012-10-31 株式会社Ntt都科摩 测位时间间隔控制装置以及测位时间间隔控制方法
JP2011191146A (ja) * 2010-03-12 2011-09-29 Nec Corp 携帯通信端末装置、携帯通信端末装置の測位周期制御方法、及び携帯通信端末装置の測位周期制御プログラム
CN102547840A (zh) * 2012-01-20 2012-07-04 电信科学技术研究院 一种mdt测量结果的上报方法及装置

Also Published As

Publication number Publication date
CN103229569A (zh) 2013-07-31
CN103229569B (zh) 2016-09-28

Similar Documents

Publication Publication Date Title
US10536881B2 (en) Method and apparatus for improving quality of service that a user experiences when media is transmitted through WLAN
EP2583508B1 (en) P-gw/ggsn issued paging requests
WO2017063427A1 (zh) 一种通信方法、装置及终端
US10091761B2 (en) Apparatus and method for paging in wireless communication system
WO2011003313A1 (zh) 一种andsf提供接入网协议选择功能的方法和系统
WO2012097708A1 (zh) 一种lipa连接切换准备过程的执行方法及装置
EP3146762B1 (en) Method and apparatus for improving quality of service that a user experiences when media is transmitted through wlan
WO2009117879A1 (zh) 一种指示服务网关承载管理的方法
JPWO2013140743A1 (ja) 加入者サーバ、監視サーバ、移動端末、これらに関する方法、及びプログラム
WO2012171403A1 (zh) 一种支持多接口多连接通信的方法和系统
WO2014005444A1 (zh) 分流到无线局域网络的接入方法及系统、mme和ue
WO2011143997A1 (zh) 一种实现路由选择的方法和装置
US20170230819A1 (en) Data processing method, apparatus, terminal, mobility management entity, and system
WO2014100992A1 (zh) 用户位置信息上报方法和网络设备
JP5838182B2 (ja) 位置情報登録方法および移動通信端末
JP2017507605A (ja) ビデオ通話サービス品質の増進方法及び装置
WO2014059647A1 (zh) 一种数据域业务处理方法、装置及系统
WO2011144000A1 (zh) 一种实现路由选择的方法和装置
EP3306988A1 (en) Epc enhancement for long drx and power saving state
WO2013178178A2 (zh) 资源释放方法及装置
WO2013037271A1 (zh) 一种多接入方法及系统
WO2018006842A1 (zh) 分组交换数据业务的处理方法、终端、mme及pgw
JP6180626B2 (ja) ユーザ装置、通信制御装置、及び発信拒否制御方法
WO2011134315A1 (zh) 业务授权方法、装置及系统
WO2014019522A1 (zh) 挂起方法、装置及系统

Legal Events

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

Ref document number: 12890778

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12890778

Country of ref document: EP

Kind code of ref document: A1