WO2015096556A1 - Method and device for subscribing position information about terminal device - Google Patents

Method and device for subscribing position information about terminal device Download PDF

Info

Publication number
WO2015096556A1
WO2015096556A1 PCT/CN2014/090350 CN2014090350W WO2015096556A1 WO 2015096556 A1 WO2015096556 A1 WO 2015096556A1 CN 2014090350 W CN2014090350 W CN 2014090350W WO 2015096556 A1 WO2015096556 A1 WO 2015096556A1
Authority
WO
WIPO (PCT)
Prior art keywords
location
location information
trigger
terminal device
area
Prior art date
Application number
PCT/CN2014/090350
Other languages
French (fr)
Chinese (zh)
Inventor
于彬
李二林
蒋桂兰
赵江
杨鋆源
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015096556A1 publication Critical patent/WO2015096556A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/00837Determination of triggering parameters for hand-off
    • 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/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a method and device for subscribing terminal device location information.
  • the location information of the terminal device reported by the PCRF (Policy Control Charging Rules Function) device is reported by the gateway device (for example, a GGSN (Gateway GPRS Support Node) device)
  • the service data flow generated by the terminal device is detected, and the terminal device Internet access policy is delivered.
  • the current method for controlling the network access policy of the terminal device by the PCRF device includes, but is not limited to, the following methods: First, the PCRF device starts the RAI (Routing Area Identity) change subscription event of the entire network, and configures a preset policy for the control cell. The network-wide RAI change subscription event is used to indicate that the terminal device accessing the cell corresponding to the RAI identifier reports the location information in real time. Secondly, the gateway device activated by the terminal device sends the RAI information accessed by the terminal device and the location information of the terminal device to the PCRF device.
  • RAI Radio Exposure Identity
  • the PCRF device sends a full-network RAI change subscription event to the terminal device according to the RAI information that is accessed by the terminal device, and requires the terminal device to report the location information in real time. Finally, the PCRF device determines the Internet access policy of the terminal device to access the Internet according to the location information reported by the terminal device.
  • the terminal device Since the frequency at which the terminal device performs cell handover is high, once the above manner is adopted, the terminal device When the inter-cell handover is performed, the location information of the terminal device is frequently reported, so that the invalid signaling transmitted in the network system is multiplied, and the performance of the device is further reduced.
  • An embodiment of the present invention provides a method and a device for subscribing a location information of a terminal device, which are used to solve the problem that the terminal device frequently reports the location information of the terminal device when the terminal device switches in the serving cell in the current technology, so that the transmission in the network system is invalid.
  • the increase in signaling wastes network system resources and degrades device performance.
  • an apparatus for subscribing terminal device location information includes:
  • a receiving module configured to receive an authorization request message sent by the gateway device, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
  • a determining module configured to determine, according to a correspondence between the location information and the location trigger, a location trigger corresponding to the location information included in the received authorization request message;
  • a subscription module configured to send the determined location trigger to the gateway device, where the location trigger is used to instruct the gateway device to report the terminal device according to a location information reporting rule configured for the location trigger location information.
  • the corresponding relationship includes:
  • the small-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is by the first When one serving cell in the type area is changed to another serving cell, the location information of the terminal device is reported;
  • the first type area is a management area
  • the small granularity trigger is USER_LOCATION_CHANGE trigger
  • the second type area is a non-managed area, and the large granularity trigger is a USER_LOCATION_RAI_CHANGE trigger.
  • the subscription module is specifically configured to determine whether the determined location trigger and the location trigger used by the gateway device belong to the same location trigger;
  • the determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined location trigger is sent to the gateway device.
  • a method for subscribing terminal device location information includes:
  • the policy and charging rule function PCRF receives an authorization request message sent by the gateway device, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
  • the PCRF sends the determined location trigger to the gateway device, where the location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger .
  • the corresponding relationship includes:
  • the small-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is by the first When one serving cell in the type area is changed to another serving cell, the location information of the terminal device is reported;
  • the first type area is a management area
  • the small granularity trigger is a USER_LOCATION_CHANGE trigger
  • the second type area is a non-managed area, and the large granularity trigger is a USER_LOCATION_RAI_CHANGE trigger.
  • the PCRF sends the determined location trigger to the gateway device, including:
  • the determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined location trigger is sent to the gateway device.
  • an apparatus for subscribing terminal device location information includes:
  • a sending module configured to send an authorization request message to the policy and charging rule function PCRF, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
  • a receiving module configured to receive a location trigger sent by the PCRF, where the location trigger is determined by the PCRF according to a correspondence between the location information and the location trigger, and the received authorization request message a location trigger corresponding to the location information contained in the location;
  • the subscription reporting module is configured to report the location information of the terminal device according to the location information reporting rule configured by the location trigger.
  • the corresponding relationship is a correspondence between location information included in the first type area and a small-granularity location trigger, where the small The granularity location trigger is used to indicate that the gateway device reports the location information of the terminal device when it is determined that the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area;
  • the subscription reporting module is specifically configured to: when receiving the location information reported by the terminal device, When it is determined that the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area, the location information of the terminal device is reported.
  • the subscription reporting module is configured to determine, when receiving the location information reported by the terminal device, Whether the identification information of the area corresponding to the location information is the same as the identification information of the area corresponding to the location information received by the previous time;
  • the subscription reporting module is further configured to determine, in determining, the identifier information of the area corresponding to the received location information, When the identification information of the area corresponding to the location information received by the previous time is different, the location information of the terminal device and the location information corresponding to the location information reporting rule configured by the small-granularity location trigger are reported. The identification information of the area, and the authorization change message is sent, wherein the identification information of the area is used to notify the area change of the location information of the PCRF terminal device.
  • the corresponding relationship is a correspondence between location information included in the second type area and a large granularity location trigger, where the large The granularity location trigger is used to indicate that the gateway device reports the location information of the terminal device when determining that the location information of the terminal device is changed from one area to another area;
  • the subscription reporting module is configured to report the location information of the terminal device when the location information of the terminal device is changed from one area to another when the location information reported by the terminal device is received.
  • the subscription reporting module is specifically configured to: when receiving the location information reported by the terminal device, determine to receive The identification information of the area corresponding to the location information and the previous received location Whether the identification information of the area corresponding to the location information is the same;
  • the subscription reporting module is further configured to: determine, in the identifier information of the area corresponding to the received location information, When the identification information of the area corresponding to the location information received by the previous time is the same, the location information of the terminal device is not reported according to the location information reporting rule configured by the large-granularity location trigger.
  • the receiving module is further configured to receive an authorization change response message sent by the PCRF, where the authorization change response message is a location information trigger corresponding to the location information reported by the PCRF in determining the terminal device, The location change trigger corresponding to the location information reported by the terminal device is included in the authorization change response message.
  • a method for subscribing terminal device location information includes:
  • the gateway device sends an authorization request message to the policy and charging rule function PCRF, where the authorization request message includes location information of the terminal device currently accessing the gateway device;
  • a location trigger where the location trigger is determined by the PCRF according to the correspondence between the location information and the location trigger, and the location information included in the received authorization request message.
  • Corresponding position trigger ;
  • the location information of the terminal device is reported according to the location information reporting rule configured by the location trigger.
  • the corresponding relationship is a correspondence between location information included in the first type area and a small-granularity location trigger, where the small The granularity location trigger is used to indicate that the gateway device reports the location information of the terminal device when it is determined that the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area;
  • the location information reported by the terminal device When the location information reported by the terminal device is received, it is determined that the location information of the terminal device is changed from one serving cell in the first type area to another serving cell, and the location information of the terminal device is reported.
  • the gateway device determines whether the identifier information of the region corresponding to the received location information and the identifier information of the region corresponding to the location information received by the previous time is the same;
  • the method further includes:
  • the corresponding relationship is a correspondence between location information included in the second type area and a large granularity location trigger, where the large The granularity location trigger is used to indicate that the gateway device reports the location information of the terminal device when determining that the location information of the terminal device is changed from one area to another area;
  • the location information reported by the terminal device When the location information reported by the terminal device is received, when the location information of the terminal device is changed from one region to another region, the location information of the terminal device is reported.
  • determining that the location information of the terminal device is determined by an area When the area is changed to another area, the location information of the terminal device is reported including:
  • the gateway device determines whether the identifier information of the region corresponding to the received location information and the identifier information of the region corresponding to the location information received by the previous time is the same;
  • the method further includes:
  • the method further includes:
  • the authorization change response message includes a location information trigger corresponding to the location information reported by the terminal device.
  • the policy and charging rule function PCRF of the embodiment of the present invention receives an authorization request message that is sent by the gateway device and includes the location information of the terminal device currently accessing the gateway device, and determines the receiving according to the correspondence between the location information and the location trigger.
  • a location trigger corresponding to the location information that is included in the authorization request message, and the determined location trigger is sent to the gateway device, where the location trigger is used to indicate that the gateway device triggers according to the location
  • the location information reporting rule of the device is configured to report the location information of the terminal device. Because the reporting rules of the location information set in the location trigger are different, the number of times that the gateway device reports the location information of the terminal device can be effectively reduced, thereby further reducing the number of times. The transmission of invalid signaling in the network system increases the performance of the system equipment.
  • FIG. 1 is a schematic flowchart of a method for subscribing terminal device location information according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a method for subscribing terminal device location information according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic flowchart of a method for subscribing terminal device location information according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for subscribing terminal device location information according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a PCRF device for a policy and a charging rule function according to Embodiment 4 of the present invention
  • FIG. 6 is a schematic structural diagram of an apparatus for subscribing terminal device location information according to Embodiment 6 of the present invention.
  • FIG. 7 is a schematic structural diagram of a gateway device according to Embodiment 7 of the present invention.
  • an embodiment of the present invention provides a method and a device for subscribing terminal device location information.
  • the policy and charging rule function PCRF receives a location that is sent by a gateway device and includes a location where the terminal device currently accesses the gateway device.
  • the authorization request message of the information determines the location trigger corresponding to the location information included in the received authorization request message according to the correspondence between the location information and the location trigger, and sends the determined location trigger to the gateway.
  • the device wherein the location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger, so that, according to the location information of the terminal device reported by the gateway device, Configuring a location trigger for the location information of the subscribing terminal device for the gateway device, because the reporting rules of the location information set in the location trigger are different, the number of times the gateway device reports the location information of the terminal device can be effectively reduced, thereby further reducing Transmission of invalid signaling in the network system , increased the performance of the system equipment.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG. 1 is a schematic flowchart diagram of a method for subscribing terminal device location information according to Embodiment 1 of the present invention. The method can be as follows.
  • Step 101 The policy and charging rule function PCRF receives an authorization request message sent by the gateway device.
  • the authorization request message includes location information that the terminal device currently accesses the gateway device.
  • step 101 when the terminal device sends an IP-CAN (IP-Connectivity Access Network) setup request message to the gateway device, the gateway device determines location information of the terminal device accessing the gateway device.
  • IP-CAN IP-Connectivity Access Network
  • the manner in which the terminal device sends an IP-CAN setup request message to the gateway device may be The IP-CAN Establish Request message is sent or sent through other messages, which is not limited here.
  • the gateway device sends an authorization request message to the PCRF (Policy and Charging Rules Function) device through the Gx interface, and carries the location information of the current access gateway device of the terminal device in the authorization request message.
  • PCRF Policy and Charging Rules Function
  • the manner in which the gateway device sends the authorization request message to the PCRF may be sent through a CCR-Initial (Credit Control Request-Initial) message, or may be sent through other messages, which is not limited herein.
  • CCR-Initial Current Control Request-Initial
  • the gateway device includes, but is not limited to, a GGSN (Gateway GPRS Support Node) device, a PGW (Packet Gateway) device, and a UGW (Unified Gateway) device.
  • GGSN Gateway GPRS Support Node
  • PGW Packet Gateway
  • UGW Unified Gateway
  • the location information of the terminal device includes, but is not limited to, CGI (Cell Global Identification), RAI (Routing Area Identity), and SAI (Serving Area Identity). TAI (Tracking Area Identity), ECGI (Extended Cell Global Identification).
  • Step 102 The PCRF determines, according to the correspondence between the location information and the location trigger, a location trigger corresponding to the location information included in the received authorization request message.
  • the location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger.
  • step 102 since the PCRF divides the serving cell in the coverage area, the first type area that needs to track the location information of the terminal device in real time and the second type area that does not need to track the location information of the terminal device in real time are divided, so that The terminal device in the first type of area is capable of implementing a pre-configured internet access policy.
  • the first type of area can be regarded as a control area of the PCRF configuration, that is, a pre-configured Internet access policy, and a second
  • the type area can be regarded as a non-managed area of the PCRF configuration, where One" and "second" have no substantial meaning, but are used to distinguish the types of regions in which the PCRF is divided.
  • the difference between the control area and the unmanaged area of the PCRF is that the PCRF divides the cells in the coverage area into the control area and the non-control area according to the management policy, and stores the identification information of the control area and/or the unmanaged area locally. The information is identified, and the terminal device accessing the control area limits the execution of the terminal device part of the service when the service request is initiated.
  • the PCRF limits the services in the control area, or restricts the execution of the services of the terminal equipment. It can be determined according to actual needs. It can also be determined according to the location information of the control area. It can also be determined according to the authority of the terminal to register or apply for services. Make a limit.
  • the first type of area obtained by the division includes at least one serving cell, and the corresponding typed second type area includes at least one serving cell.
  • the serving cell included in the first type of area may be composed of multiple adjacent serving cells, or may be composed of multiple serving cells that are not adjacent, that is, the identification information of the first type of area and the included serving cell are established.
  • the serving cell included in the second type of area may be composed of multiple adjacent serving cells, or may be composed of multiple serving cells that are not adjacent, that is, the second type of area is established.
  • a schematic table of the correspondence between the identification information of the established first type area and the identification information of the included serving cell is as follows:
  • Identification information of the first type of area Identification information of the included serving cell RAI1 CGI1, CGI2, CGI3, ... RAI3 CGI7, CGI8, CGI9, ... — ...
  • the area belonging to the first type of area includes: an area in which the identification information is RAI1 and an area in which the identification information is RAI3, wherein the RAI1 area includes serving cells such as CGI1, CGI2, and CGI3, and RAI3
  • the service area including CGI7, CGI8 and CGI9 is included in the area.
  • Identification information of the second type of area Identification information of the included serving cell RAI4 CGI4, CGI5, CGI6, ... RAI5 CGI10, CGI11, CGI12, ... — .
  • the area belonging to the second type of area includes: an area in which the identification information is RAI4 and an area in which the identification information is RAI5, wherein the RAI4 area includes service areas such as CGI4, CGI5, and CGI6, and the RAI5
  • the service area including CGI10, CGI11 and CGI12 is included in the area.
  • the location trigger corresponding to the first type area and the location trigger corresponding to the second type area are determined, that is, the location trigger corresponding to the control area is determined.
  • the position trigger corresponding to the control area is determined.
  • a correspondence between location information included in the first type of region and a small-granularity location trigger is established.
  • the small-granularity location trigger is used to indicate that the gateway device reports the terminal device when it is determined that the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area. Location information.
  • a correspondence between location information included in the second type of area and a large-granularity location trigger is established.
  • the large-grained location trigger is configured to instruct the gateway device to report location information of the terminal device when determining that the location information of the terminal device is changed from one area to another area.
  • the small-granularity location trigger is used to indicate that the gateway device reports the location information when the location information of the terminal device is changed from one serving cell to another serving cell in the first type area.
  • the location information of the terminal device for example, the gateway device reports the location information of the terminal device when it is determined that the location information of the terminal device is changed from CGI1 to CGI2. Or the gateway device reports the location information of the terminal device when it is determined that the location information of the terminal device is changed from CGI1 to CGI7.
  • the large-granularity location trigger is used to indicate that the gateway device reports location information of the terminal device when determining that the location information of the terminal device is changed from one area to another area, for example, the gateway device determines the When the location information of the terminal device is changed from the RAI 4 to the RAI 5, the location information of the terminal device is reported, or the gateway device reports the location information of the terminal device to be changed from the RAI 5 to the RAI 3, and reports the terminal device location information.
  • the established correspondence may be to establish a corresponding relationship between the first aspect and a corresponding relationship of the second aspect, or to establish a correspondence relationship of the first aspect or establish a correspondence relationship of the second aspect, and only establish the corresponding relationship.
  • the correspondence between the location information contained in the first type of area and the small-granularity location trigger is established. If the location information A does not belong to the first type of area, it is considered to belong to the second type of area, and the reported location information is A. When the location information A does not belong to the first type area, that is, does not correspond to the small-granularity location trigger, it is considered that the location information A corresponds to the large-granularity location trigger.
  • the correspondence between the location information included in the established first type region and the small granularity location trigger and the correspondence between the location information contained in the established second type region and the large granularity location trigger may be stored.
  • the PCRF can also be stored on other devices. If it is stored in other devices (for example, SPR (Subscriber ProfiIe Repository)), the PCRF obtains the established correspondence from other devices during use.
  • the small granularity trigger may be, but is not limited to, a USER_LOCATION_CHANGE trigger, which may be, but is not limited to, a USER_LOCATION_RAI_CHANGE trigger.
  • the PCRF After receiving the authorization request message sent by the gateway device, the PCRF determines the location trigger corresponding to the location information included in the received authorization request message according to the correspondence between the location information and the location trigger.
  • the PCRF determines the current access terminal of the terminal device included in the authorization request message.
  • the location information of the gateway device is location information included in the first type area or location information included in the second type area.
  • the location trigger corresponding to the information is a small-granularity location trigger.
  • the location trigger corresponding to the information is a large granularity position trigger.
  • Step 103 The PCRF sends the determined location trigger to the gateway device.
  • the location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger.
  • step 103 when the PCRF sends the determined small-granularity location trigger to the gateway device, the gateway device configures the small-granularity location trigger after receiving the small-granularity location trigger sent by the PCRF.
  • the location information reporting rule is used as a rule for subscribing to the terminal device location information, and the location information reporting rule configured by the small-granularity location trigger is installed, and the change of the location information of the terminal device is started.
  • the PCRF sends a CCA-Initial response message to the gateway device, where the CCA-Initial response message carries the determined small-granularity location trigger.
  • the CCF-Initial response message sent by the PCRF further carries policy information for assisting the terminal device to access the Internet, wherein the policy information for assisting the terminal device to access the Internet includes QoS parameter information, charging information, and service execution rule list information. .
  • the business execution rule list information includes business information that restricts execution.
  • the gateway device monitors whether the location information change of the terminal device matches the location information reporting rule configured by the small-granularity location trigger, and determines the location information change and the small-granularity location trigger of the terminal device. When the configured location information reporting rules match, the location information of the terminal device is sent to the PCRF.
  • the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI3 of the RAI1, belonging to one service cell in the first type area being changed to another service.
  • the cell is matched with the location information reporting rule configured by the small-granularity location trigger.
  • the gateway device needs to report the location information RAI1-CGI3 of the terminal device to the PCRF.
  • the gateway device reports the location information of the large-granularity location trigger configuration after receiving the large-granularity location trigger sent by the PCRF.
  • the location information reporting rule configured by the large-granular location trigger is installed, and the change of the location information of the terminal device is started to be monitored.
  • the PCRF sends a CCA-Initial response message to the gateway device, where the CCA-Initial response message carries the determined small-granularity location trigger.
  • the CCF-Initial response message sent by the PCRF further carries policy information for assisting the terminal device to access the Internet, wherein the policy information for assisting the terminal device to access the Internet includes QoS parameter information, charging information, and service execution rule list information. .
  • the business execution rule list information includes business information that restricts execution.
  • the gateway device monitors whether the location information change of the terminal device matches the location information reporting rule configured by the large-granularity location trigger, and determines the location information change of the terminal device and the large-granularity location trigger. When the configured location information reporting rules match, the location information of the terminal device is sent to the PCRF.
  • the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI5 of the RAI4, belonging to changing from one area to another, and the large-granularity location trigger
  • the configured location information reporting rules are matched.
  • the gateway device needs to report the location information of the terminal device (for example, CGI5, or RAI4-CGI5, in any specific form) to the PCRF.
  • the PCRF sends the determined location trigger to the Gateway devices, including:
  • the determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined location trigger is sent to the gateway device.
  • the determined location trigger When determining, by the PCRF, the location trigger corresponding to the location information included in the received authorization request message, the determined location trigger has the same situation as the location trigger used by the gateway device configuration, and therefore, the determination needs to be determined. Whether the location trigger and the location trigger used by the gateway device configuration belong to the same location trigger.
  • the determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined location trigger is sent to the gateway device.
  • the determined location trigger belongs to the same location trigger as the location trigger used by the gateway device configuration, and the determined location trigger will not be sent to the gateway device, or the gateway device is notified by sending a response message.
  • the location trigger does not need to be updated.
  • GSM global system for mobile communication
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • UMTS universal mobile telecommunication system
  • GPRS general packet radio service
  • LTE long term evolution
  • LTE-A advanced long term evolution
  • WiMAX worldwide interoperability for microwave access
  • the policy and charging rule function PCRF receives an authorization request message sent by the gateway device that includes the location information of the terminal device currently accessing the gateway device, according to the location information and the location trigger. Corresponding relationship, determining a location trigger corresponding to the location information included in the received authorization request message, and sending the determined location trigger to the gateway device, where the location trigger is used to indicate that the gateway device is configured according to the The location information reporting rule configured by the location trigger reports the location information of the terminal device, so that the location trigger of the location information of the subscribing terminal device is configured for the gateway device according to the location information of the terminal device reported by the gateway device. Because the reporting rules of the location information set in the location trigger are different, the number of times that the gateway device reports the location information of the terminal device can be effectively reduced, the transmission of invalid signaling in the network system is further reduced, and the work of the system device is increased. performance.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • FIG. 2 is a schematic flowchart diagram of a method for subscribing terminal device location information according to Embodiment 2 of the present invention.
  • Embodiment 2 of the present invention is an invention under the same inventive concept as Embodiment 1 of the present invention. It can be as follows.
  • Step 201 The gateway device sends an authorization request message to the policy and charging rule function PCRF.
  • the authorization request message includes location information that the terminal device currently accesses the gateway device.
  • step 201 when the terminal device sends an IP-CAN (IP-Connectivity Access Network) setup request message to the gateway device, the gateway device determines the location information of the terminal device accessing the gateway device.
  • IP-CAN IP-Connectivity Access Network
  • the manner in which the terminal device sends the IP-CAN setup request message to the gateway device may be sent through an IP-CAN Establish Request message, or may be sent through other messages, which is not limited herein.
  • the gateway device sends an authorization request message to the PCRF (Policy and Charging Rules Function) device through the Gx interface, and carries the location information of the current access gateway device of the terminal device in the authorization request message.
  • PCRF Policy and Charging Rules Function
  • the manner in which the gateway device sends the authorization request message to the PCRF may be sent through a CCR-Initial (Credit Control Request-Initial) message, or may be sent through other messages, which is not limited herein.
  • CCR-Initial Current Control Request-Initial
  • the gateway device includes, but is not limited to, a GGSN (Gateway GPRS Support Node) device, a PGW (Packet Gateway) device, and a UGW (Unified Gateway) device.
  • GGSN Gateway GPRS Support Node
  • PGW Packet Gateway
  • UGW Unified Gateway
  • the location information of the terminal device includes, but is not limited to, CGI (Cell Global Identification), RAI (Routing Area Identity), and SAI (Serving Area Identity). TAI, ECGI.
  • Step 202 Receive a location trigger sent by the PCRF.
  • the location trigger is a location trigger determined by the PCRF corresponding to the location information included in the received authorization request message according to the correspondence between the location information and the location trigger.
  • step 202 the location trigger received by the gateway device to be sent by the PCRF is determined by using the method described in step 102 in the first embodiment of the present invention, and is not described in detail herein.
  • Step 203 Report the location information of the terminal device according to the location information reporting rule configured by the location trigger.
  • the position trigger includes a small granularity position trigger and a large granularity position trigger.
  • the small-granularity location trigger is used to indicate that the gateway device reports the terminal device when it is determined that the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area. Location information.
  • the large-grained location trigger is configured to instruct the gateway device to report location information of the terminal device when determining that the location information of the terminal device is changed from one region to another region.
  • Case 1 The received location trigger is a small-granularity location trigger.
  • the gateway device After receiving the small-granularity location trigger sent by the PCRF, the gateway device sends the small-granularity bit
  • the location information reporting rule configured by the trigger is used as a rule for subscribing to the location information of the terminal device, and the location information reporting rule configured by the small-granular location trigger is installed, and the change of the location information of the terminal device is started.
  • the PCRF sends a CCA-Initial response message to the gateway device, where the CCA-Initial response message carries the determined small-granularity location trigger.
  • the CCF-Initial response message sent by the PCRF further carries policy information for assisting the terminal device to access the Internet, wherein the policy information for assisting the terminal device to access the Internet includes QoS parameter information, charging information, and service execution rule list information. .
  • the business execution rule list information includes business information that restricts execution.
  • the gateway device monitors whether the location information change of the terminal device matches the location information reporting rule configured by the small-granularity location trigger, and determines the location information change and the small-granularity location trigger of the terminal device. When the configured location information reporting rules match, the location information of the terminal device is sent to the PCRF.
  • the gateway device when receiving the location information reported by the terminal device, determines that the location information of the terminal device is changed from one serving cell in the first type area to another serving cell, reporting the Location information of the terminal device.
  • the gateway device determines that the identifier information of the region corresponding to the received location information is adjacent to the region corresponding to the location information previously received by the neighboring device. Whether the identification information is the same.
  • the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI3 of the RAI1, belonging to one service cell in the first type area being changed to another service.
  • the cell matches the location information reporting rule configured by the small-granularity location trigger.
  • the gateway device needs to locate the location information of the terminal device.
  • RAI1-CGI3 is reported to the PCRF.
  • the identifier information of the area corresponding to the received location information is different from the identifier information of the area corresponding to the location information received by the previous time, according to the The location information reporting rule of the small-granularity location trigger configuration, reporting the location information of the terminal device and the identification information of the area corresponding to the location information, and sending an authorization change message.
  • the identifier information of the area is used to notify the area change of the location information of the PCRF terminal device.
  • the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI8 of the RAI3, and the identification information of the area in the location information of the terminal device is changed.
  • the location information RAI3-CGI8 of the terminal device needs to be reported to the PCRF, and an authorization change message is sent.
  • the authorization change response message includes a location information trigger corresponding to the location information reported by the terminal device.
  • the PCRF determines, according to the correspondence between the location information and the location trigger, a location trigger corresponding to the location information currently sent by the gateway device, and determines the determined location trigger. Whether the location trigger configured by the gateway device belongs to the same location trigger, and the determined location trigger is not in the same location trigger as the location trigger used by the gateway device configuration, and the determined location trigger is sent to the location trigger The gateway device.
  • the location information of the terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI5 of the RAI4, since the location trigger corresponding to the RAI1 is a small granularity location trigger and the location trigger corresponding to the RAI4 is a large granularity location.
  • a trigger where the determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, will be determined to be large
  • a granularity location trigger is sent to the gateway device.
  • the location information of the terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI8 of the RAI3, since the location trigger corresponding to the RAI1 is a small-granularity location trigger and the location trigger corresponding to the RAI3 is a small-granularity location trigger, at the determined location
  • the trigger and the location trigger used by the gateway device configuration belong to the same location trigger, and the determined small-granularity location trigger may be sent to the gateway device, or the determined small-granularity location trigger may not be sent to the location
  • the gateway device sends an authorization response message to inform the gateway device that the location trigger is not changed.
  • Case 2 The received location trigger is a large granularity position trigger.
  • the gateway device After receiving the large-granularity location trigger sent by the PCRF, the gateway device uses the location information reporting rule of the large-granularity location trigger configuration as a rule for subscribing the terminal device location information, and installs the location of the large-granularity location trigger configuration.
  • the information reports the rules and starts monitoring the change of the location information of the terminal device.
  • the PCRF sends a CCA-Initial response message to the gateway device, where the CCA-Initial response message carries the determined small-granularity location trigger.
  • the CCF-Initial response message sent by the PCRF further carries policy information for assisting the terminal device to access the Internet, wherein the policy information for assisting the terminal device to access the Internet includes QoS parameter information, charging information, and service execution rule list information. .
  • the business execution rule list information includes business information that restricts execution.
  • the gateway device monitors whether the location information change of the terminal device matches the location information reporting rule configured by the large-granularity location trigger, and determines the location information change of the terminal device and the large-granularity location trigger. When the configured location information reporting rules match, the location information of the terminal device is sent to the PCRF.
  • the gateway device when receiving the location information reported by the terminal device, determines that the location information of the terminal device changes from one area to another area, and reports the location information of the terminal device.
  • the gateway device determines, when receiving the location information reported by the terminal device, Whether the identification information of the area corresponding to the received location information is the same as the identification information of the area corresponding to the location information received by the previous time.
  • the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI5 of the RAI4, belonging to changing from one area to another, and the large-granularity location trigger
  • the configured location information reporting rules are matched.
  • the gateway device needs to report the location information of the terminal device, RAI4-CGI5, to the PCRF.
  • the authorization change response message includes a location information trigger corresponding to the location information reported by the terminal device.
  • the PCRF determines, according to the correspondence between the location information and the location trigger, a location trigger corresponding to the location information currently sent by the gateway device, and determines the determined location trigger. Whether the location trigger configured by the gateway device belongs to the same location trigger, and the determined location trigger is not in the same location trigger as the location trigger used by the gateway device configuration, and the determined location trigger is sent to the location trigger The gateway device.
  • the location information of the terminal device is switched from the serving cell CGI5 of the RAI 4 to the serving cell CGI2 of the RAI1, since the location trigger corresponding to the RAI 4 is a large granularity location trigger and the location trigger corresponding to the RAI 1 is a small granularity location.
  • the trigger, the determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined small-granularity location trigger is sent to the gateway device.
  • the location information of the terminal device is switched by the serving cell CGI5 of the RAI 4 to the serving cell CGI 10 of the RAI 5, since the location trigger corresponding to the RAI 4 is a large granularity location trigger and the location trigger corresponding to the RAI 5 is a large granularity location trigger, at the determined location
  • the trigger and the location trigger used by the gateway device configuration belong to the same location trigger, and the determined large-granularity location trigger may be sent to the gateway device, or the determined small-granularity location trigger may not be sent to the location
  • the gateway device sends an authorization response message to inform the gateway device that the location trigger is not changed.
  • the location information reporting rule configured by the granularity location trigger does not report the location information of the terminal device.
  • the location information of the gateway device monitoring terminal device is switched from the serving cell CGI6 of the RAI4 to the serving cell CGI5 of the RAI4, belonging to one service cell in the second type area being changed to another service.
  • the cell does not match the location information reporting rule configured by the large-granularity location trigger (or determines the identifier of the area corresponding to the received location information and the identifier of the area corresponding to the previously received location information.
  • the information is the same.
  • the gateway device does not need to report the location information RAI4-CGI5 of the terminal device to the PCRF.
  • the gateway device sends an authorization request message to the policy and charging rule function PCRF, where the authorization request message includes location information of the terminal device currently accessing the gateway device, and receives the PCRF.
  • a location trigger that is sent, wherein the location trigger is a location trigger corresponding to the location information included in the received authorization request message determined by the PCRF according to the correspondence between the location information and the location trigger
  • reporting the location information of the terminal device according to the location information reporting rule configured by the location trigger so that the reporting device of the location information set in the location trigger is different, thereby effectively reducing the reporting device of the gateway device
  • the number of location information further reduces the transmission of invalid signaling in the network system, increasing the performance of the system equipment.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • FIG. 3 is a schematic flowchart of a method for subscribing terminal device location information according to Embodiment 3 of the present invention.
  • Embodiment 3 of the present invention is in accordance with the same inventive concept from Embodiment 1 to Embodiment 2 of the present invention. According to the invention, the method can be as follows.
  • the identifier of the area 1 is RAI1 (which is the first type area or the control area)
  • the identifier of the area 2 is RAI2 (which is the second type area or the non-managed area)
  • the identifier of the area 3 is RAI3 (for the first type area or control) Area)
  • the identifier of area 4 is RAI4 (which is a second type area or an unmanaged area)
  • area 1 contains two serving cells A and B
  • area 2 contains two serving cells C and D
  • area 3 A serving cell E is included
  • a serving cell F is included in the area 4.
  • the identifier of the serving cell A is CGI1
  • the identifier of the serving cell B is CGI2
  • the identifier of the serving cell C is CGI3
  • the identifier of the serving cell D is CGI4;
  • the identifier of the serving cell A is SAI1
  • the identifier of the serving cell B is SAI2
  • the identifier of the serving cell C is SAI3
  • the identifier of the serving cell D is SAI4;
  • the identifier of the serving cell A is TAI1
  • the identifier of the serving cell B is TAI2
  • the identifier of the serving cell C is TAI3
  • the identifier of the serving cell D is TAI4.
  • Step 301 The terminal device sends an IP-CAN setup request message to the gateway device.
  • the gateway device may be a GGSN; in the LTE system, the gateway device may be a PGW.
  • the terminal device When the terminal device sends an IP-CAN setup request message to the gateway device, determining location information of the terminal device accessing the gateway device.
  • the manner in which the terminal device sends the IP-CAN setup request message to the gateway device may be sent through an IP-CAN Establish Request message, or may be sent through other messages, which is not limited herein.
  • Step 302 The gateway device sends an authorization request message to the PCRF.
  • the authorization request message carries the location information of the terminal device currently accessing the gateway device.
  • the location information of the terminal device currently accessing the gateway device is the serving cell A of the area 1.
  • the gateway device Gx interface sends an authorization request message to the PCRF device, and the authorization request message carries the location information of the terminal device currently accessing the gateway device, and the location information of the terminal device currently accessing the gateway device is the gateway device according to the gateway device. It is determined by receiving the IP-CAN setup request message.
  • the manner in which the gateway device sends an authorization request message to the PCRF is sent by using a CCR-Initial message.
  • Step 303 The PCRF determines, according to the correspondence between the location information and the location trigger, a location trigger corresponding to the location information included in the received authorization request message.
  • the location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger.
  • the position trigger includes a small granularity position trigger and a large granularity position trigger.
  • the small-granularity location trigger is used to indicate that the gateway device reports the terminal device when it is determined that the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area. Location information.
  • the large-grained location trigger is configured to instruct the gateway device to report location information of the terminal device when determining that the location information of the terminal device is changed from one region to another region.
  • step 303 is the same as the embodiment of the step 102 in the first embodiment of the present invention, and will not be described in detail herein.
  • Step 304 The PCRF sends the determined location trigger to the gateway device.
  • Step 305 When receiving the location trigger sent by the PCRF, the gateway device uses the location information reporting rule configured by the location trigger as a rule for subscribing the terminal device location information, and installs the location information reporting rule configured by the location trigger, and The monitoring of the change of the location information of the terminal device is started.
  • the PCRF sends a CCA-Initial response message to the gateway device, where the CCA-Initial response message carries the determined location trigger.
  • the CCF-initial response message sent by the PCRF further carries policy information for assisting the terminal device to access the Internet, wherein the policy information for assisting the terminal device to access the Internet includes QoS parameter information, Billing information and business execution rule list information.
  • the business execution rule list information includes business information that restricts execution.
  • the gateway device uses the location information reporting rule configured by the small-granularity location trigger as a rule for subscribing to the terminal device location information, and installing the small-granularity location.
  • the location information of the trigger configuration reports the rule, and starts monitoring the change of the location information of the terminal device.
  • the gateway device When receiving the large-granularity location trigger sent by the PCRF, the gateway device uses the location information reporting rule of the large-granularity location trigger configuration as a rule for subscribing the terminal device location information, and installs the location of the large-granularity location trigger configuration.
  • the information reports the rules and starts monitoring the change of the location information of the terminal device.
  • Step 306 When determining that the location information of the terminal device changes, the gateway device reports the location information of the terminal device according to the location information reporting rule configured by the location trigger.
  • the gateway device monitors whether the location information change of the terminal device matches the location information reporting rule configured by the location trigger, and determines the location information change and the location trigger of the terminal device. When the location information reporting rules of the device match, the location information of the terminal device is sent to the PCRF.
  • the gateway device determines the identifier of the region corresponding to the received location information when receiving the location information reported by the terminal device. Whether the information is the same as the identification information of the area corresponding to the position information received by the previous time.
  • the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI2 of the RAI1, belonging to one service cell in the first type area being changed to another service.
  • Cell configured with small granularity location triggers
  • the location information reporting rules are matched.
  • the gateway device needs to report the location information RAI1-CGI2 of the terminal device to the PCRF.
  • the rule reports the location information of the terminal device and the identifier information of the area corresponding to the location information.
  • the identifier information of the area is used to notify the area change of the location information of the PCRF terminal device.
  • the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI3 of the RAI2, and the identification information of the area in the location information of the terminal device is changed.
  • the location information RAI2-CGI3 of the terminal device needs to be reported to the PCRF.
  • the gateway device determines the identifier of the region corresponding to the received location information when receiving the location information reported by the terminal device. Whether the information is the same as the identification information of the area corresponding to the position information received by the previous time.
  • the rule is to report the location information of the terminal device and the identifier information of the area corresponding to the location information, where the identifier information of the area is used to notify the area change of the location information of the PCRF terminal device.
  • the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI3 of the RAI2, belonging to changing from one area to another, and the large-granularity location trigger
  • the configured location information reporting rules are matched.
  • the gateway device needs to report the location information of the terminal device, RAI2-CGI3, to the PCRF.
  • the location information of the terminal device is not reported according to the location information reporting rule configured by the large-granularity location trigger.
  • the location information of the gateway device monitoring terminal device is switched from the serving cell CGI3 of the RAI2 to the serving cell CGI4 of the RAI2, belonging to one service cell in the second type area being changed to another service.
  • the cell does not match the location information reporting rule configured by the large-granularity location trigger (or determines the identifier of the area corresponding to the received location information and the identifier of the area corresponding to the previously received location information.
  • the information is the same.
  • the gateway device does not need to report the location information RAI2-CGI4 of the terminal device to the PCRF.
  • Step 307 The gateway device determines, according to the location information reported by the terminal device, the identifier information of the area corresponding to the received location information and the area corresponding to the previous received location information. When the identification information is different, an authorization change message is sent to the PCRF.
  • the authorization change message includes location information of the terminal device and identifier information of an area corresponding to the location information.
  • Step 308 Receive an authorization change response message sent by the PCRF.
  • the authorization change response message is sent by the PCRF when determining that the location information trigger corresponding to the location information reported by the terminal device and the location trigger configured by the gateway device do not belong to the same location trigger.
  • the authorization change response message includes a location information trigger corresponding to the location information reported by the terminal device.
  • the PCRF determines, according to the correspondence between the location information and the location trigger, a location trigger corresponding to the location information currently sent by the gateway device, and determines Whether the determined location trigger and the location trigger configured by the gateway device belong to the same location trigger, and the determined location trigger does not belong to the same location trigger as the location trigger used by the gateway device configuration, and the determined location A trigger is sent to the gateway device.
  • the location information of the terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI3 of the RAI2, since the location trigger corresponding to the RAI1 is a small granularity location touch.
  • the location trigger corresponding to the initiator and the RAI2 is a large-granularity location trigger.
  • the determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined large-granularity location trigger is sent. To the gateway device.
  • the location information of the terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGIE of the RAI3, since the location trigger corresponding to the RAI1 is a small-granularity location trigger and the location trigger corresponding to the RAI3 is a small-granularity location trigger, at the determined location
  • the trigger and the location trigger used by the gateway device configuration belong to the same location trigger, and the determined small-granularity location trigger may be sent to the gateway device, or the determined small-granularity location trigger may not be sent to the location
  • the gateway device sends an authorization response message to inform the gateway device that the location trigger is not changed.
  • the location information of the terminal device is switched by the serving cell CGI3 of the RAI2 to the serving cell CGIF of the RAI4, since the location trigger corresponding to the RAI2 is a large granularity location trigger and the location trigger corresponding to the RAI4 is a large granularity location trigger, at the determined location
  • the trigger and the location trigger used by the gateway device configuration belong to the same location trigger, and the determined large-granularity location trigger may be sent to the gateway device, or the determined small-granularity location trigger may not be sent to the location
  • the gateway device sends an authorization response message to inform the gateway device that the location trigger is not changed.
  • the location information needs to be reported in real time, but when the terminal device switches in the serving area in the area RAI2 (ie, the unmanaged area), the location information does not need to be reported in real time. It also does not need to trigger the issuance of the management and control strategy, avoiding the interaction of invalid signaling, saving system resources and improving system performance.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • FIG. 4 is a schematic structural diagram of an apparatus for subscribing terminal device location information according to Embodiment 4 of the present invention.
  • Embodiment 4 of the present invention is a transmission under the same inventive concept as Embodiments 1 to 3 of the present invention.
  • the device includes: a receiving module 11, a determining module 12, and a subscription module 13, wherein:
  • the receiving module 11 is configured to receive an authorization request message sent by the gateway device, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
  • the determining module 12 is configured to determine the receiving according to the correspondence between the location information and the location trigger a location trigger corresponding to the location information included in the authorization request message;
  • the subscribing module 13 is configured to send the determined location trigger to the gateway device, where the location trigger is used to instruct the gateway device to report the terminal device according to the location information reporting rule configured for the location trigger Location information.
  • the corresponding relationship includes:
  • the small-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is by the first When one serving cell in the type area is changed to another serving cell, the location information of the terminal device is reported;
  • the first type of area is a control area, and the small granularity trigger is a USER_LOCATION_CHANGE trigger; and/or
  • the second type area is a non-managed area, and the large granularity trigger is a USER_LOCATION_RAI_CHANGE trigger.
  • the subscribing module 13 is specifically configured to determine whether the determined location trigger and the location trigger used by the gateway device belong to the same location trigger;
  • the determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined location trigger is sent to the gateway device.
  • the device that subscribes to the location information of the terminal device may be a PCRF device.
  • PCRF device in the fourth embodiment of the present invention may be implemented by using hardware or by software, which is not limited herein.
  • the reporting rules of the location information set in the location trigger are different, the number of times the gateway device reports the location information of the terminal device is effectively reduced, the transmission of invalid signaling in the network system is further reduced, and the working performance of the system device is increased.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • FIG. 5 is a schematic structural diagram of a PCRF device for a policy and a charging rule function according to Embodiment 5 of the present invention.
  • Embodiment 5 of the present invention is related to Embodiment 1, Embodiment 2, Embodiment 3, and implementation of the present invention.
  • Example 4 In the invention under the same inventive concept, the PCRF device may adopt a general computer system structure, and the computer system may be a processor-based computer.
  • the PCRF device comprises at least one processor 21, a communication bus 22, a memory 23 and at least one communication interface 24.
  • the processor 21 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present invention.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the communication bus 22 can include a path for transferring information between the components.
  • the communication interface 24 uses devices such as any transceiver for communicating with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
  • RAN Radio Access Network
  • WLAN Wireless Local Area Networks
  • the computer system includes one or more memories, which may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM) or Other types of dynamic storage devices that store information and instructions may also be Electrically Erasable Programmable Read-Only Memory (EEPROM) or Compact Disc Read-Only Memory (CD-ROM). Or other disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used to carry or store expectations in the form of instructions or data structures Program code and any other medium that can be accessed by a computer, but is not limited thereto. These memories are connected to the processor via a bus.
  • ROM read-only memory
  • RAM random access memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • optical disc storage including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray
  • the memory 23 is used to store application code for executing the solution of the present invention, and the application code for executing the solution of the present invention is stored in a memory and controlled by the processor 21.
  • the processor 21 is configured to execute an application stored in the memory 23.
  • the location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger, such as implementing As described in the first example, it will not be repeated here.
  • the corresponding relationship includes:
  • the small-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is by the first When one serving cell in the type area is changed to another serving cell, the location information of the terminal device is reported;
  • the first type area is a control area
  • the small granularity trigger is a USER_LOCATION_CHANGE trigger
  • the second type area is a non-managed area, and the large granularity trigger is a USER_LOCATION_RAI_CHANGE trigger.
  • sending the determined location trigger to the gateway device includes:
  • the determined location trigger is not the same as the location trigger used by the gateway device configuration A location trigger that sends the determined location trigger to the gateway device.
  • the interaction method between the PCRF device and other network elements may refer to the foregoing method embodiment. It will not be described in detail here.
  • the PCRF device provided in this embodiment is configured to report different location information in the location trigger, so that the gateway device reports the location information of the terminal device according to the location information reporting rule, thereby effectively reducing the number of times of reporting, and further reducing the number of reporting in the network system.
  • the transmission of invalid signaling increases the performance of the system equipment.
  • FIG. 6 is a schematic structural diagram of a device for subscribing terminal device location information according to Embodiment 6 of the present invention.
  • Embodiment 6 of the present invention is the first embodiment, the second embodiment, and the third embodiment. 4 and the fifth embodiment of the invention under the same inventive concept, the device comprises: a sending module 31, a receiving module 32 and a subscription reporting module 33, wherein:
  • the sending module 31 is configured to send an authorization request message to the policy and charging rule function PCRF, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
  • the receiving module 32 is configured to receive the location trigger sent by the PCRF, where the location trigger is determined by the PCRF according to the correspondence between the location information and the location trigger, and the received authorization request a location trigger corresponding to the location information contained in the message;
  • the subscription reporting module 33 is configured to report the location information of the terminal device according to the location information reporting rule configured by the location trigger.
  • the location trigger is a small-granularity location trigger, where the small-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is by the first When a serving cell in a type of area is changed to another serving cell, the location information of the terminal device is reported;
  • the subscription reporting module is specifically configured to: when receiving the location information reported by the terminal device, determining that the location information of the terminal device is changed from one serving cell in the first type area to another serving cell, reporting Location information of the terminal device.
  • the subscription reporting module 33 is configured to: when receiving the location information reported by the terminal device, determine the identifier information of the area corresponding to the received location information and the neighboring Whether the identification information of the area corresponding to the location information received the previous time is the same;
  • the subscription reporting module 33 is further configured to: determine, in an area corresponding to the received location information corresponding to the location information, an area corresponding to the previously received location information.
  • the location information of the terminal device and the identifier information of the area corresponding to the location information are reported according to the location information reporting rule configured by the small-granularity location trigger, and an authorization change message is sent, where The identification information of the area is used to notify the area change of the location information of the PCRF terminal device.
  • the location trigger is a large-granularity location trigger, where the large-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is changed by an area. When the area is another area, the location information of the terminal device is reported;
  • the subscription reporting module is configured to report the location information of the terminal device when the location information of the terminal device is changed from one area to another when the location information reported by the terminal device is received.
  • the subscription reporting module 33 is configured to: when receiving the location information reported by the terminal device, determine the identifier information of the area corresponding to the received location information and the neighboring Whether the identification information of the area corresponding to the location information received the previous time is the same;
  • the subscription reporting module 33 is further configured to: determine, in an area corresponding to the received location information corresponding to the location information, an area corresponding to the previously received location information.
  • the location information of the terminal device is not reported according to the location information reporting rule configured by the large-granularity location trigger.
  • the receiving module 32 is further configured to receive an authorization change response message sent by the PCRF, where the authorization change response message is a location information trigger and a location information corresponding to the location information reported by the PCRF on the terminal device.
  • the location change trigger corresponding to the location information reported by the terminal device is included in the authorization change response message.
  • the device in the sixth embodiment of the present invention may be implemented by using hardware or by software, which is not limited herein.
  • the reporting rules of the location information set in the location trigger are different, the number of times the gateway device reports the location information of the terminal device is effectively reduced, the transmission of invalid signaling in the network system is further reduced, and the working performance of the system device is increased.
  • FIG. 7 is a schematic structural diagram of a gateway device according to Embodiment 7 of the present invention.
  • Embodiment 7 of the present invention is an invention under the same inventive concept as Embodiments 1 through 6 of the present invention, and the gateway device may adopt a general Computer system architecture, which may be a processor-based computer.
  • the gateway device comprises at least one processor 41, a communication bus 42, a memory 43, and at least one communication interface 44.
  • the processor 41 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present invention.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the communication bus 42 can include a path for transferring information between the components.
  • the communication interface 44 uses devices such as any transceiver for communicating with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), and Wireless Local Area Networks (Wireless Local Area Networks, WLAN) and so on.
  • RAN Radio Access Network
  • WLAN Wireless Local Area Networks
  • the computer system includes one or more memories, which may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM) or Other types of dynamic storage devices that store information and instructions may also be Electrically Erasable Programmable Read-Only Memory (EEPROM) or Compact Disc Read-Only Memory (CD-ROM). Or other disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used to carry or store expectations in the form of instructions or data structures Program code and any other medium that can be accessed by a computer, but is not limited thereto. These memories are connected to the processor via a bus.
  • ROM read-only memory
  • RAM random access memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • optical disc storage including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray
  • the memory 43 is used to store application code for executing the solution of the present invention, and the application code for executing the solution of the present invention is stored in a memory and controlled by the processor 41 for execution.
  • the processor 41 is configured to execute an application stored in the memory 43.
  • a location trigger where the location trigger is determined by the PCRF according to the correspondence between the location information and the location trigger, and the location information included in the received authorization request message.
  • Corresponding position trigger ;
  • the location information reporting rule configured by the location trigger the location information of the terminal device is reported, as described in the second embodiment, and is not repeated here.
  • the correspondence relationship is a correspondence between location information included in the first type area and a small granularity location trigger, where the small granularity location trigger is used to indicate the gateway device. Determining that the location information of the terminal device is determined by one of the first type of areas When the serving cell is changed to another serving cell, the location information of the terminal device is reported;
  • the location information reported by the terminal device When the location information reported by the terminal device is received, it is determined that the location information of the terminal device is changed from one serving cell in the first type area to another serving cell, and the location information of the terminal device is reported.
  • the corresponding relationship is a correspondence between location information included in the second type area and a large-granularity location trigger, where the large-granularity location trigger is used to indicate the gateway device.
  • the location information reported by the terminal device When the location information reported by the terminal device is received, when the location information of the terminal device is changed from one region to another region, the location information of the terminal device is reported.
  • the location information of the terminal device and the identifier information of the area corresponding to the location information are reported according to the location information reporting rule configured by the large-granularity location trigger And sending an authorization change message, wherein the identifier information of the area is used to notify the area change of the location information of the PCRF terminal device.
  • the location information reporting rule configured by the granularity location trigger does not report the location information of the terminal device.
  • the authorization change response message sent by the PCRF is received, where the authorization change response message is a location information trigger corresponding to the location information reported by the PCRF on the terminal device.
  • the location change trigger corresponding to the location information reported by the terminal device is included in the authorization change response message, where the location trigger is configured to be used by the gateway device.
  • the interaction method between the gateway device and other network elements may refer to the foregoing method embodiment. It will not be described in detail here.
  • the gateway device provided in this embodiment has different reporting rules for the location information set by the location trigger, thereby effectively reducing the number of times the gateway device reports the location information of the terminal device, and further reducing the transmission of invalid signaling in the network system. Increased the performance of system equipment.
  • embodiments of the present invention can be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

Disclosed are a method and device for subscribing position information about a terminal device. The method comprises: a policy and charging rules function (PCRF) device receiving an authorization request message which is sent by a gateway device and contains position information about a current access gateway device of a terminal device; according to a correlation between the position information and a position trigger, determining a position trigger corresponding to the position information contained in the received authorization request message; and sending the determined position trigger to the gateway device, the position trigger being used for instructing the gateway device to report the position information about the terminal device according to position information report rules configured for the position trigger. Since the position information report rules set in the position trigger are different, the present invention can effectively reduce the number of times of reporting the position information about the terminal device by the gateway device, thereby further reducing the transmission of invalid signalling in a network system and improving the working performance of a system device.

Description

一种订阅终端设备位置信息的方法和设备Method and device for subscribing terminal device location information
本申请要求了2013年12月27日提交的、申请号为201310740630.8、发明名称为“一种订阅终端设备位置信息的方法和设备”的中国申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese application filed on Dec. 27, 2013, with the application number 201310740630.8, entitled "A Method and Apparatus for Subscribing Terminal Device Location Information", the entire contents of which are incorporated herein by reference. in.
技术领域Technical field
本发明涉及无线通信技术领域,尤其涉及一种订阅终端设备位置信息的方法和设备。The present invention relates to the field of wireless communication technologies, and in particular, to a method and device for subscribing terminal device location information.
背景技术Background technique
随着通信网络技术的发展,越来越多的用户利用智能终端设备通过3GPP(3rd Generation Partnership Project,第三代移动通信标准化组织)或者LTE(Long Term Evolution,长期演进)通信系统的网关设备访问互联网。With the development of communication network technology, more and more users use smart terminal devices to access through 3GPP (3rd Generation Partnership Project) or LTE (Long Term Evolution) communication system gateway devices. the Internet.
其中,PCRF(Policy Control Charging Rules Function,策略和计费规则功能)设备根据终端设备接入的网关设备(例如:GGSN(Gateway GPRS Support Node,网关GPRS支持节点)设备)上报的终端设备的位置信息,对终端设备产生的业务数据流进行检测,以及下发终端设备上网策略等。The location information of the terminal device reported by the PCRF (Policy Control Charging Rules Function) device is reported by the gateway device (for example, a GGSN (Gateway GPRS Support Node) device) The service data flow generated by the terminal device is detected, and the terminal device Internet access policy is delivered.
但是,目前PCRF设备对终端设备上网策略的控制方式包括但不限于以下方式:首先,PCRF设备开启全网RAI(Routing Area Identity,路由区标识)变更订阅事件,并配置管控小区的预设策略。该全网RAI变更订阅事件用于指示接入RAI标识对应的小区的终端设备实时上报位置信息。其次,终端设备激活接入的网关设备向PCRF设备发送终端设备接入的RAI信息和终端设备的位置信息。再次,PCRF设备根据所述终端设备接入的RAI信息,向终端设备下发全网RAI变更订阅事件,要求终端设备实时上报位置信息。最后,PCRF设备根据终端设备上报的位置信息,确定终端设备接入互联网的上网策略。However, the current method for controlling the network access policy of the terminal device by the PCRF device includes, but is not limited to, the following methods: First, the PCRF device starts the RAI (Routing Area Identity) change subscription event of the entire network, and configures a preset policy for the control cell. The network-wide RAI change subscription event is used to indicate that the terminal device accessing the cell corresponding to the RAI identifier reports the location information in real time. Secondly, the gateway device activated by the terminal device sends the RAI information accessed by the terminal device and the location information of the terminal device to the PCRF device. The PCRF device sends a full-network RAI change subscription event to the terminal device according to the RAI information that is accessed by the terminal device, and requires the terminal device to report the location information in real time. Finally, the PCRF device determines the Internet access policy of the terminal device to access the Internet according to the location information reported by the terminal device.
由于终端设备进行小区切换的频率较高,一旦采用上述方式,在终端设备 进行小区间切换时,将频繁上报终端设备的位置信息,使得网络系统中传输的无效信令成倍增长,进一步造成设备性能降低。Since the frequency at which the terminal device performs cell handover is high, once the above manner is adopted, the terminal device When the inter-cell handover is performed, the location information of the terminal device is frequently reported, so that the invalid signaling transmitted in the network system is multiplied, and the performance of the device is further reduced.
发明内容Summary of the invention
本发明实施例提供了一种订阅终端设备位置信息的方法和设备,用于解决目前技术中存在的终端设备在服务小区切换时网关设备频繁上报终端设备的位置信息,使得网络系统中传输的无效信令增加,浪费了网络系统资源并且使得设备性能降低的问题。An embodiment of the present invention provides a method and a device for subscribing a location information of a terminal device, which are used to solve the problem that the terminal device frequently reports the location information of the terminal device when the terminal device switches in the serving cell in the current technology, so that the transmission in the network system is invalid. The increase in signaling wastes network system resources and degrades device performance.
根据本发明的第一方面,提供了一种订阅终端设备位置信息的设备,包括:According to a first aspect of the present invention, an apparatus for subscribing terminal device location information includes:
接收模块,用于接收网关设备发送的授权请求消息,其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息;a receiving module, configured to receive an authorization request message sent by the gateway device, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
确定模块,用于根据位置信息与位置触发器之间的对应关系,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器;a determining module, configured to determine, according to a correspondence between the location information and the location trigger, a location trigger corresponding to the location information included in the received authorization request message;
订阅模块,用于将确定的位置触发器发送给所述网关设备,其中,所述位置触发器用于指示所述网关设备根据为所述位置触发器配置的位置信息上报规则上报所述终端设备的位置信息。a subscription module, configured to send the determined location trigger to the gateway device, where the location trigger is used to instruct the gateway device to report the terminal device according to a location information reporting rule configured for the location trigger location information.
在本发明第一方面的实施方式中,第一种可能的实施方式中,所述对应关系,包括:In an embodiment of the first aspect of the present invention, in the first possible implementation, the corresponding relationship includes:
第一类型区域包含的位置信息与小粒度位置触发器之间的对应关系,其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由所述第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息;和/或Corresponding relationship between the location information included in the first type of area and the small-granularity location trigger, wherein the small-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is by the first When one serving cell in the type area is changed to another serving cell, the location information of the terminal device is reported; and/or
第二类型区域包含的位置信息与大粒度位置触发器之间的对应关系,其中,所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。Corresponding relationship between the location information included in the second type of area and the large-granularity location trigger, wherein the large-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is changed from one area to another. When an area is used, the location information of the terminal device is reported.
在本发明第一方面的第一种可能的实施方式中,第二种可能的实施方式中,所述第一类型区域为管控区域,所述小粒度触发器为 USER_LOCATION_CHANGE触发器;和/或In a first possible implementation manner of the first aspect of the present invention, in the second possible implementation, the first type area is a management area, and the small granularity trigger is USER_LOCATION_CHANGE trigger; and/or
所述第二类型区域为非管控区域,所述大粒度触发器为USER_LOCATION_RAI_CHANGE触发器。The second type area is a non-managed area, and the large granularity trigger is a USER_LOCATION_RAI_CHANGE trigger.
在本发明第一方面的实施方式中,或者在本发明第一方面的第一种可能的实施方式中,或者在本发明第一方面的第二种可能的实施方式中,第三种可能的实施方式中,所述订阅模块,具体用于判断确定的位置触发器与所述网关设备配置使用的位置触发器是否属于同一个位置触发器;In an embodiment of the first aspect of the invention, or in a first possible embodiment of the first aspect of the invention, or in a second possible embodiment of the first aspect of the invention, a third possible In an embodiment, the subscription module is specifically configured to determine whether the determined location trigger and the location trigger used by the gateway device belong to the same location trigger;
在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一个位置触发器,将确定的位置触发器发送给所述网关设备。The determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined location trigger is sent to the gateway device.
根据本发明的第二方面,提供了一种订阅终端设备位置信息的方法,包括:According to a second aspect of the present invention, a method for subscribing terminal device location information includes:
策略和计费规则功能PCRF接收网关设备发送的授权请求消息,其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息;The policy and charging rule function PCRF receives an authorization request message sent by the gateway device, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
所述PCRF根据位置信息与位置触发器之间的对应关系,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器;Determining, by the PCRF, a location trigger corresponding to the location information included in the received authorization request message according to the correspondence between the location information and the location trigger;
所述PCRF将确定的位置触发器发送给所述网关设备,其中,所述位置触发器用于指示所述网关设备根据为所述位置触发器配置的位置信息上报规则上报所述终端设备的位置信息。The PCRF sends the determined location trigger to the gateway device, where the location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger .
在本发明第二方面的实施方式中,第一种可能的实施方式中,所述对应关系,包括:In an embodiment of the second aspect of the present invention, in the first possible implementation, the corresponding relationship includes:
第一类型区域包含的位置信息与小粒度位置触发器之间的对应关系,其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由所述第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息;和/或Corresponding relationship between the location information included in the first type of area and the small-granularity location trigger, wherein the small-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is by the first When one serving cell in the type area is changed to another serving cell, the location information of the terminal device is reported; and/or
第二类型区域包含的位置信息与大粒度位置触发器之间的对应关系,其中,所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。 Corresponding relationship between the location information included in the second type of area and the large-granularity location trigger, wherein the large-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is changed from one area to another. When an area is used, the location information of the terminal device is reported.
在本发明第二方面的第一种可能的实施方式中,第二种可能的实施方式中,所述第一类型区域为管控区域,所述小粒度触发器为USER_LOCATION_CHANGE触发器;和/或In a first possible implementation manner of the second aspect of the present invention, in the second possible implementation, the first type area is a management area, and the small granularity trigger is a USER_LOCATION_CHANGE trigger; and/or
所述第二类型区域为非管控区域,所述大粒度触发器为USER_LOCATION_RAI_CHANGE触发器。The second type area is a non-managed area, and the large granularity trigger is a USER_LOCATION_RAI_CHANGE trigger.
在本发明第二方面的实施方式中,或者在本发明第二方面的第一种可能的实施方式中,或者在本发明第二方面的第二种可能的实施方式中,第三种可能的实施方式中,所述PCRF将确定的位置触发器发送给所述网关设备,包括:In an embodiment of the second aspect of the invention, or in a first possible embodiment of the second aspect of the invention, or in a second possible embodiment of the second aspect of the invention, a third possible In an embodiment, the PCRF sends the determined location trigger to the gateway device, including:
所述PCRF判断确定的位置触发器与所述网关设备配置使用的位置触发器是否属于同一个位置触发器;Determining, by the PCRF, whether the determined location trigger and the location trigger used by the gateway device belong to the same location trigger;
在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一个位置触发器,将确定的位置触发器发送给所述网关设备。The determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined location trigger is sent to the gateway device.
根据本发明的第三方面,提供了一种订阅终端设备位置信息的设备,包括:According to a third aspect of the present invention, an apparatus for subscribing terminal device location information includes:
发送模块,用于向策略和计费规则功能PCRF发送授权请求消息,其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息;a sending module, configured to send an authorization request message to the policy and charging rule function PCRF, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
接收模块,用于接收所述PCRF发送的位置触发器,其中,所述位置触发器是所述PCRF根据位置信息与位置触发器之间的对应关系,确定的与接收到的所述授权请求消息中包含的位置信息对应的位置触发器;a receiving module, configured to receive a location trigger sent by the PCRF, where the location trigger is determined by the PCRF according to a correspondence between the location information and the location trigger, and the received authorization request message a location trigger corresponding to the location information contained in the location;
订阅上报模块,用于根据所述位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。The subscription reporting module is configured to report the location information of the terminal device according to the location information reporting rule configured by the location trigger.
在本发明第三方面的实施方式中,第一种可能的实施方式中,所述对应关系为第一类型区域包含的位置信息与小粒度位置触发器之间的对应关系,其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息;In an embodiment of the third aspect of the present invention, in a first possible implementation, the corresponding relationship is a correspondence between location information included in the first type area and a small-granularity location trigger, where the small The granularity location trigger is used to indicate that the gateway device reports the location information of the terminal device when it is determined that the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area;
所述订阅上报模块,具体用于在接收到所述终端设备上报的位置信息时, 确定所述终端设备的位置信息是由第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息。The subscription reporting module is specifically configured to: when receiving the location information reported by the terminal device, When it is determined that the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area, the location information of the terminal device is reported.
在本发明第三方面的第一种可能的实施方式中,第二种可能的实施方式中,所述订阅上报模块,具体用于在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同;In a first possible implementation manner of the third aspect of the present invention, in a second possible implementation manner, the subscription reporting module is configured to determine, when receiving the location information reported by the terminal device, Whether the identification information of the area corresponding to the location information is the same as the identification information of the area corresponding to the location information received by the previous time;
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。And determining, according to the location information reporting rule configured by the small-granularity location trigger, when determining that the identifier information of the area corresponding to the received location information is the same as the identifier information of the area corresponding to the location information received by the previous time. And reporting the location information of the terminal device.
在本发明第三方面的第二种可能的实施方式中,第三种可能的实施方式中,所述订阅上报模块,还用于在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,并发送授权变更消息,其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。In a second possible implementation manner of the third aspect of the present invention, in a third possible implementation, the subscription reporting module is further configured to determine, in determining, the identifier information of the area corresponding to the received location information, When the identification information of the area corresponding to the location information received by the previous time is different, the location information of the terminal device and the location information corresponding to the location information reporting rule configured by the small-granularity location trigger are reported. The identification information of the area, and the authorization change message is sent, wherein the identification information of the area is used to notify the area change of the location information of the PCRF terminal device.
在本发明第三方面的实施方式中,第四种可能的实施方式中,所述对应关系为第二类型区域包含的位置信息与大粒度位置触发器之间的对应关系,其中,所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息;In a fourth possible implementation manner of the third aspect, the corresponding relationship is a correspondence between location information included in the second type area and a large granularity location trigger, where the large The granularity location trigger is used to indicate that the gateway device reports the location information of the terminal device when determining that the location information of the terminal device is changed from one area to another area;
所述订阅上报模块,具体用于在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。The subscription reporting module is configured to report the location information of the terminal device when the location information of the terminal device is changed from one area to another when the location information reported by the terminal device is received.
在本发明第三方面的第四种可能的实施方式中,第五种可能的实实施方式中,所述订阅上报模块,具体用于在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所 述位置信息对应的区域的标识信息是否相同;In a fourth possible implementation manner of the third aspect of the present invention, in a fifth possible implementation manner, the subscription reporting module is specifically configured to: when receiving the location information reported by the terminal device, determine to receive The identification information of the area corresponding to the location information and the previous received location Whether the identification information of the area corresponding to the location information is the same;
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述大粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,并发送授权变更消息,其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。And determining, according to the location information configured by the large-granularity location trigger, when the identifier information of the area corresponding to the received location information is different from the identifier information of the area corresponding to the location information received by the previous time. a rule, the location information of the terminal device and the identifier information of the area corresponding to the location information are reported, and an authorization change message is sent, where the identifier information of the area is used to notify the location where the location information of the PCRF terminal device occurs change.
在本发明第三方面的第五种可能的实施方式中,第六种可能的实施方式中,所述订阅上报模块,还用于在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述大粒度位置触发器配置的位置信息上报规则,不上报所述终端设备的位置信息。In a fifth possible implementation manner of the third aspect of the present invention, in the sixth possible implementation, the subscription reporting module is further configured to: determine, in the identifier information of the area corresponding to the received location information, When the identification information of the area corresponding to the location information received by the previous time is the same, the location information of the terminal device is not reported according to the location information reporting rule configured by the large-granularity location trigger.
在本发明第三方面的第三种可能的实施方式中,或者在本发明第三方面的第五种可能的实施方式中,第七种可能的实施方式中,In a third possible implementation manner of the third aspect of the present invention, or in a fifth possible implementation manner of the third aspect of the present invention, in a seventh possible implementation manner,
所述接收模块,还用于接收所述PCRF发送的授权变更响应消息,其中,所述授权变更响应消息是所述PCRF在确定所述终端设备上报的位置信息对应的位置信息触发器与所述网关设备已配置使用的位置触发器不属于同一个位置触发器时发送的,所述授权变更响应消息中包含了确定所述终端设备上报的位置信息对应的位置信息触发器。The receiving module is further configured to receive an authorization change response message sent by the PCRF, where the authorization change response message is a location information trigger corresponding to the location information reported by the PCRF in determining the terminal device, The location change trigger corresponding to the location information reported by the terminal device is included in the authorization change response message.
根据本发明的第四方面,提供了一种订阅终端设备位置信息的方法,包括:According to a fourth aspect of the present invention, a method for subscribing terminal device location information includes:
网关设备向策略和计费规则功能PCRF发送授权请求消息,其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息;并The gateway device sends an authorization request message to the policy and charging rule function PCRF, where the authorization request message includes location information of the terminal device currently accessing the gateway device;
接收所述PCRF发送的位置触发器,其中,所述位置触发器是所述PCRF根据位置信息与位置触发器之间的对应关系,确定的与接收到的所述授权请求消息中包含的位置信息对应的位置触发器;Receiving, by the PCRF, a location trigger, where the location trigger is determined by the PCRF according to the correspondence between the location information and the location trigger, and the location information included in the received authorization request message. Corresponding position trigger;
根据所述位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。 The location information of the terminal device is reported according to the location information reporting rule configured by the location trigger.
在本发明第四方面的实施方式中,第一种可能的实施方式中,所述对应关系为第一类型区域包含的位置信息与小粒度位置触发器之间的对应关系,其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息;In an embodiment of the fourth aspect of the present invention, in a first possible implementation, the corresponding relationship is a correspondence between location information included in the first type area and a small-granularity location trigger, where the small The granularity location trigger is used to indicate that the gateway device reports the location information of the terminal device when it is determined that the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area;
根据所述位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息,包括:And reporting the location information of the terminal device according to the location information reporting rule configured by the location trigger, including:
在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息是由第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息。When the location information reported by the terminal device is received, it is determined that the location information of the terminal device is changed from one serving cell in the first type area to another serving cell, and the location information of the terminal device is reported.
在本发明第四方面的第一种可能的实施方式中,第二种可能的实施方式中,在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息是由第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息,包括:In a first possible implementation manner of the fourth aspect of the present invention, in a second possible implementation manner, when the location information reported by the terminal device is received, determining that location information of the terminal device is first When a serving cell in the type area is changed to another serving cell, the location information of the terminal device is reported, including:
所述网关设备在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同;When receiving the location information reported by the terminal device, the gateway device determines whether the identifier information of the region corresponding to the received location information and the identifier information of the region corresponding to the location information received by the previous time is the same;
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。And determining, according to the location information reporting rule configured by the small-granularity location trigger, when determining that the identifier information of the area corresponding to the received location information is the same as the identifier information of the area corresponding to the location information received by the previous time. And reporting the location information of the terminal device.
在本发明第四方面的第二种可能的实施方式中,第三种可能的实施方式中,所述方法还包括:In a second possible implementation manner of the fourth aspect of the present invention, in a third possible implementation, the method further includes:
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,并发送授权变更消息,其中,所述区域的标识信息用 于告知所述PCRF终端设备的位置信息发生的区域变更。And determining, according to the location information configured by the small-granularity location trigger, when the identifier information of the area corresponding to the received location information is different from the identifier information of the area corresponding to the location information received by the previous time. a rule, reporting the location information of the terminal device and the identifier information of the area corresponding to the location information, and sending an authorization change message, where the identifier information of the area is used by The area where the location information of the PCRF terminal device is notified is changed.
在本发明第四方面的实施方式中,第四种可能的实施方式中,所述对应关系为第二类型区域包含的位置信息与大粒度位置触发器之间的对应关系,其中,所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息;In a fourth possible implementation manner of the fourth aspect of the present invention, the corresponding relationship is a correspondence between location information included in the second type area and a large granularity location trigger, where the large The granularity location trigger is used to indicate that the gateway device reports the location information of the terminal device when determining that the location information of the terminal device is changed from one area to another area;
根据所述位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息,包括:And reporting the location information of the terminal device according to the location information reporting rule configured by the location trigger, including:
在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。When the location information reported by the terminal device is received, when the location information of the terminal device is changed from one region to another region, the location information of the terminal device is reported.
在本发明第四方面的第四种可能的实施方式中,第五种可能的实实施方式中,在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息,包括:In a fourth possible implementation manner of the fourth aspect of the present invention, in a fifth possible implementation, when the location information reported by the terminal device is received, determining that the location information of the terminal device is determined by an area When the area is changed to another area, the location information of the terminal device is reported, including:
所述网关设备在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同;When receiving the location information reported by the terminal device, the gateway device determines whether the identifier information of the region corresponding to the received location information and the identifier information of the region corresponding to the location information received by the previous time is the same;
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述大粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,并发送授权变更消息,其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。And determining, according to the location information configured by the large-granularity location trigger, when the identifier information of the area corresponding to the received location information is different from the identifier information of the area corresponding to the location information received by the previous time. a rule, the location information of the terminal device and the identifier information of the area corresponding to the location information are reported, and an authorization change message is sent, where the identifier information of the area is used to notify the location where the location information of the PCRF terminal device occurs change.
在本发明第四方面的第五种可能的实施方式中,第六种可能的实施方式中,所述方法还包括:In a fifth possible implementation manner of the fourth aspect of the present invention, in a sixth possible implementation, the method further includes:
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述大粒度位置触发器配置的位置信息上报规则,不上报所述终端设备的位置信息。And determining, according to the location information reporting rule configured by the large-granularity location trigger, when determining that the identifier information of the area corresponding to the received location information is the same as the identifier information of the area corresponding to the location information received by the previous time. The location information of the terminal device is not reported.
在本发明第四方面的第三种可能的实施方式中,或者在本发明第四方面的 第五种可能的实施方式中,第七种可能的实施方式中,所述方法还包括:In a third possible embodiment of the fourth aspect of the invention, or in the fourth aspect of the invention In a fifth possible implementation manner, in a seventh possible implementation, the method further includes:
接收所述PCRF发送的授权变更响应消息,其中,所述授权变更响应消息是所述PCRF在确定所述终端设备上报的位置信息对应的位置信息触发器与所述网关设备已配置使用的位置触发器不属于同一个位置触发器时发送的,所述授权变更响应消息中包含了确定所述终端设备上报的位置信息对应的位置信息触发器。Receiving an authorization change response message sent by the PCRF, where the authorization change response message is triggered by the location information trigger corresponding to the location information reported by the PCRF on the terminal device and the location used by the gateway device When the device does not belong to the same location trigger, the authorization change response message includes a location information trigger corresponding to the location information reported by the terminal device.
本发明有益效果如下:The beneficial effects of the present invention are as follows:
本发明实施例策略和计费规则功能PCRF接收网关设备发送的包含了终端设备当前接入所述网关设备的位置信息的授权请求消息,根据位置信息与位置触发器之间的对应关系,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器,将确定的位置触发器发送给所述网关设备,其中,所述位置触发器用于指示所述网关设备根据为所述位置触发器配置的位置信息上报规则上报所述终端设备的位置信息,由于位置触发器中设置的位置信息的上报规则不同,因此能够有效地减少了网关设备上报终端设备的位置信息的次数,进一步减少了网络系统中无效信令的发送,增加了系统设备的工作性能。The policy and charging rule function PCRF of the embodiment of the present invention receives an authorization request message that is sent by the gateway device and includes the location information of the terminal device currently accessing the gateway device, and determines the receiving according to the correspondence between the location information and the location trigger. a location trigger corresponding to the location information that is included in the authorization request message, and the determined location trigger is sent to the gateway device, where the location trigger is used to indicate that the gateway device triggers according to the location The location information reporting rule of the device is configured to report the location information of the terminal device. Because the reporting rules of the location information set in the location trigger are different, the number of times that the gateway device reports the location information of the terminal device can be effectively reduced, thereby further reducing the number of times. The transmission of invalid signaling in the network system increases the performance of the system equipment.
附图说明DRAWINGS
图1为本发明实施例一提供的一种订阅终端设备位置信息的方法的流程示意图;1 is a schematic flowchart of a method for subscribing terminal device location information according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种订阅终端设备位置信息的方法的流程示意图;2 is a schematic flowchart of a method for subscribing terminal device location information according to Embodiment 2 of the present invention;
图3为本发明实施例三提供的一种订阅终端设备位置信息的方法的流程示意图;3 is a schematic flowchart of a method for subscribing terminal device location information according to Embodiment 3 of the present invention;
图4为本发明实施例四提供的一种订阅终端设备位置信息的设备的结构示意图;4 is a schematic structural diagram of an apparatus for subscribing terminal device location information according to Embodiment 4 of the present invention;
图5为本发明实施例四提供的一种策略和计费规则功能PCRF设备的结构示意图; FIG. 5 is a schematic structural diagram of a PCRF device for a policy and a charging rule function according to Embodiment 4 of the present invention;
图6为本发明实施例六提供的一种订阅终端设备位置信息的设备的结构示意图;FIG. 6 is a schematic structural diagram of an apparatus for subscribing terminal device location information according to Embodiment 6 of the present invention;
图7为本发明实施例七提供的一种网关设备的结构示意图。FIG. 7 is a schematic structural diagram of a gateway device according to Embodiment 7 of the present invention.
具体实施方式detailed description
为了实现本发明的目的,本发明实施例提供了一种订阅终端设备位置信息的方法和设备,策略和计费规则功能PCRF接收网关设备发送的包含了终端设备当前接入所述网关设备的位置信息的授权请求消息,根据位置信息与位置触发器之间的对应关系,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器,将确定的位置触发器发送给所述网关设备,其中,所述位置触发器用于指示所述网关设备根据为所述位置触发器配置的位置信息上报规则上报所述终端设备的位置信息,这样,根据网关设备上报的终端设备的位置信息,为网关设备配置不同的订阅终端设备的位置信息的位置触发器,由于位置触发器中设置的位置信息的上报规则不同,因此能够有效地减少了网关设备上报终端设备的位置信息的次数,进一步减少了网络系统中无效信令的发送,增加了系统设备的工作性能。In order to achieve the object of the present invention, an embodiment of the present invention provides a method and a device for subscribing terminal device location information. The policy and charging rule function PCRF receives a location that is sent by a gateway device and includes a location where the terminal device currently accesses the gateway device. The authorization request message of the information determines the location trigger corresponding to the location information included in the received authorization request message according to the correspondence between the location information and the location trigger, and sends the determined location trigger to the gateway. The device, wherein the location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger, so that, according to the location information of the terminal device reported by the gateway device, Configuring a location trigger for the location information of the subscribing terminal device for the gateway device, because the reporting rules of the location information set in the location trigger are different, the number of times the gateway device reports the location information of the terminal device can be effectively reduced, thereby further reducing Transmission of invalid signaling in the network system , increased the performance of the system equipment.
下面结合说明书附图对本发明的各个实施例进行详细描述。The various embodiments of the present invention are described in detail below with reference to the accompanying drawings.
实施例一:Embodiment 1:
如图1所述,为本发明实施例一提供的一种订阅终端设备位置信息的方法的流程示意图。所述方法可以如下所述。FIG. 1 is a schematic flowchart diagram of a method for subscribing terminal device location information according to Embodiment 1 of the present invention. The method can be as follows.
步骤101:策略和计费规则功能PCRF接收网关设备发送的授权请求消息。Step 101: The policy and charging rule function PCRF receives an authorization request message sent by the gateway device.
其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息。The authorization request message includes location information that the terminal device currently accesses the gateway device.
在步骤101中,当终端设备向网关设备发送IP-CAN(IP-Connectivity Access Network,IP连接接入网络)建立请求消息时,网关设备确定该终端设备接入网关设备的位置信息。In step 101, when the terminal device sends an IP-CAN (IP-Connectivity Access Network) setup request message to the gateway device, the gateway device determines location information of the terminal device accessing the gateway device.
其中,终端设备向网关设备发送IP-CAN建立请求消息的方式可以是通过 IP-CAN Establish Request消息发送,也可以是通过其他消息发送,这里不做限定。The manner in which the terminal device sends an IP-CAN setup request message to the gateway device may be The IP-CAN Establish Request message is sent or sent through other messages, which is not limited here.
网关设备通过Gx接口向PCRF(Policy and Charging Rules Function,策略和计费规则功能)设备发送授权请求消息,并在授权请求消息中携带了终端设备当前接入网关设备的位置信息。The gateway device sends an authorization request message to the PCRF (Policy and Charging Rules Function) device through the Gx interface, and carries the location information of the current access gateway device of the terminal device in the authorization request message.
其中,网关设备向PCRF发送授权请求消息的方式可以是通过CCR-Initial(Credit Control Request-Initial,初始信用控制请求)消息发送,还可以是通过其他消息发送,这里不做限定。The manner in which the gateway device sends the authorization request message to the PCRF may be sent through a CCR-Initial (Credit Control Request-Initial) message, or may be sent through other messages, which is not limited herein.
需要说明的是,网关设备包括但不限于GGSN(Gateway GPRS Support Node,网关GPRS支持节点)设备、PGW(Packet Gateway,分组网关)设备、UGW(Unified Gateway,统一网关)设备。It should be noted that the gateway device includes, but is not limited to, a GGSN (Gateway GPRS Support Node) device, a PGW (Packet Gateway) device, and a UGW (Unified Gateway) device.
需要说明的是,所述终端设备的位置信息包括但不限于CGI(Cell Global Identification,全球小区识别码)、RAI(Routing Area Identity,路由区标识)、SAI(Serving Area Identity,服务区标识),TAI(Tracking Area Identity,跟踪区标识),ECGI(Extended Cell Global Identification,扩展全球小区识别码)。It should be noted that the location information of the terminal device includes, but is not limited to, CGI (Cell Global Identification), RAI (Routing Area Identity), and SAI (Serving Area Identity). TAI (Tracking Area Identity), ECGI (Extended Cell Global Identification).
步骤102:所述PCRF根据位置信息与位置触发器之间的对应关系,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器。Step 102: The PCRF determines, according to the correspondence between the location information and the location trigger, a location trigger corresponding to the location information included in the received authorization request message.
其中,所述位置触发器用于指示所述网关设备根据为所述位置触发器配置的位置信息上报规则上报所述终端设备的位置信息。The location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger.
在步骤102中,由于PCRF对覆盖区域内的服务小区进行划分,划分出需要实时跟踪终端设备的位置信息的第一类型区域和不需要实时跟踪终端设备的位置信息的第二类型区域,这样对于第一类型区域内的终端设备能够实施预配置的上网策略。In step 102, since the PCRF divides the serving cell in the coverage area, the first type area that needs to track the location information of the terminal device in real time and the second type area that does not need to track the location information of the terminal device in real time are divided, so that The terminal device in the first type of area is capable of implementing a pre-configured internet access policy.
需要说明的是,PCRF划分得到的第一类型区域和第二类型区域,在本发明实施例中第一类型区域可以被看作是PCRF配置的管控区域,即具备预配置的上网策略,第二类型区域可以被看作是PCRF配置的非管控区域,其中,“第 一”和“第二”没有实质含义,只是用来区分PCRF划分的区域的类型不同。It should be noted that, in the first type of area and the second type of area, the first type of area can be regarded as a control area of the PCRF configuration, that is, a pre-configured Internet access policy, and a second The type area can be regarded as a non-managed area of the PCRF configuration, where One" and "second" have no substantial meaning, but are used to distinguish the types of regions in which the PCRF is divided.
其中,PCRF划分的管控区域与非管控区域的区别在于:PCRF根据管控策略将覆盖范围内的小区划分成为管控区域和非管控区域,并在本地存储管控区域的标识信息和/或非管控区域的标识信息,并且使得接入管控区域的终端设备在发起业务请求时,将限制终端设备部分业务的执行。The difference between the control area and the unmanaged area of the PCRF is that the PCRF divides the cells in the coverage area into the control area and the non-control area according to the management policy, and stores the identification information of the control area and/or the unmanaged area locally. The information is identified, and the terminal device accessing the control area limits the execution of the terminal device part of the service when the service request is initiated.
PCRF对管控区域内哪些业务进行限制,或者限制终端设备的哪些业务的执行,可以根据实际需要确定,还可以根据管控区域的位置信息确定,还可以根据终端注册或者申请业务的权限确定,这里不做限定。The PCRF limits the services in the control area, or restricts the execution of the services of the terminal equipment. It can be determined according to actual needs. It can also be determined according to the location information of the control area. It can also be determined according to the authority of the terminal to register or apply for services. Make a limit.
由于PCRF是对覆盖范围内的服务小区进行划分的,那么划分得到的第一类型区域内包含了至少一个服务小区,对应的划分得到的第二类型区域内包含了至少一个服务小区。Since the PCRF is to divide the serving cell in the coverage area, the first type of area obtained by the division includes at least one serving cell, and the corresponding typed second type area includes at least one serving cell.
并且,第一类型区域内包含的服务小区可以是由多个相邻的服务小区组成,也可以是不相邻的多个服务小区组成,即建立第一类型区域的标识信息与包含的服务小区的标识信息之间的对应关系;第二类型区域内包含的服务小区可以是由多个相邻的服务小区组成,也可以是不相邻的多个服务小区组成,即建立第二类型区域的标识信息与包含的服务小区的标识信息之间的对应关系。In addition, the serving cell included in the first type of area may be composed of multiple adjacent serving cells, or may be composed of multiple serving cells that are not adjacent, that is, the identification information of the first type of area and the included serving cell are established. Corresponding relationship between the identification information; the serving cell included in the second type of area may be composed of multiple adjacent serving cells, or may be composed of multiple serving cells that are not adjacent, that is, the second type of area is established. Correspondence between the identification information and the identification information of the included serving cell.
如表1所示,为建立的第一类型区域的标识信息与包含的服务小区的标识信息之间的对应关系的示意表:As shown in Table 1, a schematic table of the correspondence between the identification information of the established first type area and the identification information of the included serving cell is as follows:
第一类型区域的标识信息Identification information of the first type of area 包含的服务小区的标识信息Identification information of the included serving cell
RAI1RAI1 CGI1、CGI2、CGI3、……CGI1, CGI2, CGI3, ...
RAI3RAI3 CGI7、CGI8、CGI9、……CGI7, CGI8, CGI9, ...
……...... ……......
表1Table 1
从表1中可以看出,属于第一类型区域的区域包含了:标识信息为RAI1的区域和标识信息为RAI3的区域,其中,RAI1区域内包含了CGI1、CGI2和CGI3等服务小区,RAI3的区域内包含了CGI7、CGI8和CGI9等服务小区。 As can be seen from Table 1, the area belonging to the first type of area includes: an area in which the identification information is RAI1 and an area in which the identification information is RAI3, wherein the RAI1 area includes serving cells such as CGI1, CGI2, and CGI3, and RAI3 The service area including CGI7, CGI8 and CGI9 is included in the area.
如表2所示,为建立的第二类型区域的标识信息与包含的服务小区的标识信息之间的对应关系的示意表:As shown in Table 2, a schematic table of the correspondence between the identification information of the established second type area and the identification information of the included serving cell is as follows:
第二类型区域的标识信息Identification information of the second type of area 包含的服务小区的标识信息Identification information of the included serving cell
RAI4RAI4 CGI4、CGI5、CGI6、……CGI4, CGI5, CGI6, ...
RAI5RAI5 CGI10、CGI11、CGI12、……CGI10, CGI11, CGI12, ...
……...... ……......
表2Table 2
从表2中可以看出,属于第二类型区域的区域包含了:标识信息为RAI4的区域和标识信息为RAI5的区域,其中,RAI4区域内包含了CGI4、CGI5和CGI6等服务小区,RAI5的区域内包含了CGI10、CGI11和CGI12等服务小区。As can be seen from Table 2, the area belonging to the second type of area includes: an area in which the identification information is RAI4 and an area in which the identification information is RAI5, wherein the RAI4 area includes service areas such as CGI4, CGI5, and CGI6, and the RAI5 The service area including CGI10, CGI11 and CGI12 is included in the area.
PCRF在对对覆盖区域内的服务小区进行划分之后,确定划分得到的第一类型区域对应的位置触发器,以及第二类型区域对应的位置触发器,即确定管控区域对应的位置触发器和非管控区域对应的位置触发器。After the UEF divides the serving cell in the coverage area, the location trigger corresponding to the first type area and the location trigger corresponding to the second type area are determined, that is, the location trigger corresponding to the control area is determined. The position trigger corresponding to the control area.
第一方面,建立第一类型区域包含的位置信息与小粒度位置触发器之间的对应关系。In a first aspect, a correspondence between location information included in the first type of region and a small-granularity location trigger is established.
其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由所述第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息。The small-granularity location trigger is used to indicate that the gateway device reports the terminal device when it is determined that the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area. Location information.
第二方面,建立第二类型区域包含的位置信息与大粒度位置触发器之间的对应关系。In a second aspect, a correspondence between location information included in the second type of area and a large-granularity location trigger is established.
其中,所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。The large-grained location trigger is configured to instruct the gateway device to report location information of the terminal device when determining that the location information of the terminal device is changed from one area to another area.
需要说明的是,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由所述第一类型区域内的一个服务小区变更为另一个服务小区时上报所述终端设备的位置信息,例如:所述网关设备在确定所述终端设备的位置信息是由CGI1变更为CGI2时,上报所述终端设备的位置信息, 或者所述网关设备在确定所述终端设备的位置信息是由CGI1变更为CGI7时,上报所述终端设备的位置信息。It should be noted that the small-granularity location trigger is used to indicate that the gateway device reports the location information when the location information of the terminal device is changed from one serving cell to another serving cell in the first type area. The location information of the terminal device, for example, the gateway device reports the location information of the terminal device when it is determined that the location information of the terminal device is changed from CGI1 to CGI2. Or the gateway device reports the location information of the terminal device when it is determined that the location information of the terminal device is changed from CGI1 to CGI7.
所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时上报所述终端设备的位置信息,例如:所述网关设备在确定所述终端设备的位置信息是由RAI4变更为RAI5时,上报所述终端设备的位置信息,或者所述网关设备在确定所述终端设备的位置信息是由RAI5变更为RAI3时,上报所述终端设备的位置信息。The large-granularity location trigger is used to indicate that the gateway device reports location information of the terminal device when determining that the location information of the terminal device is changed from one area to another area, for example, the gateway device determines the When the location information of the terminal device is changed from the RAI 4 to the RAI 5, the location information of the terminal device is reported, or the gateway device reports the location information of the terminal device to be changed from the RAI 5 to the RAI 3, and reports the terminal device location information.
需要说明的是,建立的对应关系可以是分别建立第一方面的对应关系和第二方面的对应关系,还可以是建立第一方面的对应关系或者建立第二方面的对应关系,在只建立了一个方面的对应关系之后,默示存在另一方面的对应关系。It should be noted that the established correspondence may be to establish a corresponding relationship between the first aspect and a corresponding relationship of the second aspect, or to establish a correspondence relationship of the first aspect or establish a correspondence relationship of the second aspect, and only establish the corresponding relationship. After the correspondence of one aspect, there is an implied correspondence on the other hand.
例如:建立第一类型区域包含的位置信息与小粒度位置触发器的对应关系,那么假设位置信息A不属于第一类型区域,即视为属于第二类型区域,那么对于上报的位置信息为A时,由于位置信息A不属于第一类型区域,即不对应小粒度位置触发器,此时视为位置信息A对应大粒度位置触发器。For example, the correspondence between the location information contained in the first type of area and the small-granularity location trigger is established. If the location information A does not belong to the first type of area, it is considered to belong to the second type of area, and the reported location information is A. When the location information A does not belong to the first type area, that is, does not correspond to the small-granularity location trigger, it is considered that the location information A corresponds to the large-granularity location trigger.
需要说明的是,建立的第一类型区域包含的位置信息与小粒度位置触发器之间的对应关系和建立的第二类型区域包含的位置信息与大粒度位置触发器之间的对应关系可以存储在PCRF本地,也可以存储在其他设备上,若存储在其他设备(例如:SPR(用户签约数据库,Subscriber ProfiIe Repository))上,PCRF在使用时从其他设备中获取建立的对应关系。It should be noted that the correspondence between the location information included in the established first type region and the small granularity location trigger and the correspondence between the location information contained in the established second type region and the large granularity location trigger may be stored. Locally, the PCRF can also be stored on other devices. If it is stored in other devices (for example, SPR (Subscriber ProfiIe Repository)), the PCRF obtains the established correspondence from other devices during use.
所述小粒度触发器可以为但是不限于USER_LOCATION_CHANGE触发器,所述大粒度触发器可以为但是不限于USER_LOCATION_RAI_CHANGE触发器。The small granularity trigger may be, but is not limited to, a USER_LOCATION_CHANGE trigger, which may be, but is not limited to, a USER_LOCATION_RAI_CHANGE trigger.
所述PCRF在接收到网关设备发送的授权请求消息之后,根据位置信息与位置触发器之间的对应关系,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器。After receiving the authorization request message sent by the gateway device, the PCRF determines the location trigger corresponding to the location information included in the received authorization request message according to the correspondence between the location information and the location trigger.
具体地,所述PCRF判断所述授权请求消息中包含的终端设备当前接入所 述网关设备的位置信息是属于第一类型区域包含的位置信息还是属于第二类型区域包含的位置信息。Specifically, the PCRF determines the current access terminal of the terminal device included in the authorization request message. The location information of the gateway device is location information included in the first type area or location information included in the second type area.
所述PCRF在确定所述授权请求消息中包含的终端设备当前接入所述网关设备的位置信息是属于第一类型区域包含的位置信息时,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器为小粒度位置触发器。And determining, by the PCRF, the location included in the received authorization request message when determining that the location information that the terminal device currently accesses the gateway device included in the authorization request message belongs to the location information included in the first type area. The location trigger corresponding to the information is a small-granularity location trigger.
所述PCRF在确定所述授权请求消息中包含的终端设备当前接入所述网关设备的位置信息是属于第二类型区域包含的位置信息时,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器为大粒度位置触发器。The determining, by the PCRF, the location information included in the received authorization request message when determining that the location information that the terminal device currently accesses the gateway device in the authorization request message belongs to the location information included in the second type of area The location trigger corresponding to the information is a large granularity position trigger.
步骤103:所述PCRF将确定的位置触发器发送给所述网关设备。Step 103: The PCRF sends the determined location trigger to the gateway device.
其中,所述位置触发器用于指示所述网关设备根据为所述位置触发器配置的位置信息上报规则上报所述终端设备的位置信息。The location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger.
在步骤103中,当所述PCRF将确定的小粒度位置触发器发送给所述网关设备时,网关设备在接收到PCRF下发的小粒度位置触发器之后,将所述小粒度位置触发器配置的位置信息上报规则作为订阅终端设备位置信息的规则,安装所述小粒度位置触发器配置的位置信息上报规则,并开始监控所述终端设备的位置信息的变化。In step 103, when the PCRF sends the determined small-granularity location trigger to the gateway device, the gateway device configures the small-granularity location trigger after receiving the small-granularity location trigger sent by the PCRF. The location information reporting rule is used as a rule for subscribing to the terminal device location information, and the location information reporting rule configured by the small-granularity location trigger is installed, and the change of the location information of the terminal device is started.
在本发明的另一个实施例中,所述PCRF向网关设备发送CCA-Initial响应消息,其中,所述CCA-Initial响应消息中携带了确定的小粒度位置触发器。In another embodiment of the present invention, the PCRF sends a CCA-Initial response message to the gateway device, where the CCA-Initial response message carries the determined small-granularity location trigger.
此外,PCRF发送CCA-Initial响应消息中还携带了用于辅助终端设备上网的策略信息,其中,用于辅助终端设备上网的策略信息中包含了QoS参数信息、计费信息和业务执行规则列表信息。In addition, the CCF-Initial response message sent by the PCRF further carries policy information for assisting the terminal device to access the Internet, wherein the policy information for assisting the terminal device to access the Internet includes QoS parameter information, charging information, and service execution rule list information. .
所谓业务执行规则列表信息中包含了限制执行的业务信息。The business execution rule list information includes business information that restricts execution.
在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息变化是否与小粒度位置触发器配置的位置信息上报规则相匹配,并在确定终端设备的位置信息变化与小粒度位置触发器配置的位置信息上报规则相匹配时,向所述PCRF发送终端设备的位置信息。 During the execution of the mobile service of the terminal device, the gateway device monitors whether the location information change of the terminal device matches the location information reporting rule configured by the small-granularity location trigger, and determines the location information change and the small-granularity location trigger of the terminal device. When the configured location information reporting rules match, the location information of the terminal device is sent to the PCRF.
例如:在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息由RAI1的服务小区CGI1切换至RAI1的服务小区CGI3,属于由第一类型区域内的一个服务小区变更为另一个服务小区,与小粒度位置触发器配置的位置信息上报规则相匹配,此时,网关设备需要将终端设备的位置信息RAI1-CGI3上报给PCRF。For example, during the execution of the mobile service of the terminal device, the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI3 of the RAI1, belonging to one service cell in the first type area being changed to another service. The cell is matched with the location information reporting rule configured by the small-granularity location trigger. At this time, the gateway device needs to report the location information RAI1-CGI3 of the terminal device to the PCRF.
当所述PCRF将确定的大粒度位置触发器发送给所述网关设备时,网关设备在接收到PCRF下发的大粒度位置触发器之后,将所述大粒度位置触发器配置的位置信息上报规则作为订阅终端设备位置信息的规则,安装所述大粒度位置触发器配置的位置信息上报规则,并开始监控所述终端设备的位置信息的变化。When the PCRF sends the determined large-granularity location trigger to the gateway device, the gateway device reports the location information of the large-granularity location trigger configuration after receiving the large-granularity location trigger sent by the PCRF. As a rule for subscribing to the location information of the terminal device, the location information reporting rule configured by the large-granular location trigger is installed, and the change of the location information of the terminal device is started to be monitored.
在本发明的另一个实施例中,所述PCRF向网关设备发送CCA-Initial响应消息,其中,所述CCA-Initial响应消息中携带了确定的小粒度位置触发器。In another embodiment of the present invention, the PCRF sends a CCA-Initial response message to the gateway device, where the CCA-Initial response message carries the determined small-granularity location trigger.
此外,PCRF发送CCA-Initial响应消息中还携带了用于辅助终端设备上网的策略信息,其中,用于辅助终端设备上网的策略信息中包含了QoS参数信息、计费信息和业务执行规则列表信息。In addition, the CCF-Initial response message sent by the PCRF further carries policy information for assisting the terminal device to access the Internet, wherein the policy information for assisting the terminal device to access the Internet includes QoS parameter information, charging information, and service execution rule list information. .
所谓业务执行规则列表信息中包含了限制执行的业务信息。The business execution rule list information includes business information that restricts execution.
在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息变化是否与大粒度位置触发器配置的位置信息上报规则相匹配,并在确定终端设备的位置信息变化与大粒度位置触发器配置的位置信息上报规则相匹配时,向所述PCRF发送终端设备的位置信息。During the execution of the mobile service of the terminal device, the gateway device monitors whether the location information change of the terminal device matches the location information reporting rule configured by the large-granularity location trigger, and determines the location information change of the terminal device and the large-granularity location trigger. When the configured location information reporting rules match, the location information of the terminal device is sent to the PCRF.
例如:在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息由RAI1的服务小区CGI1切换至RAI4的服务小区CGI5,属于由一个区域变更为另一个区域,与大粒度位置触发器配置的位置信息上报规则相匹配,此时,网关设备需要将终端设备的位置信息(例如:CGI5,或RAI4-CGI5,具体形式不限)上报给PCRF。For example, during the execution of the mobile service of the terminal device, the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI5 of the RAI4, belonging to changing from one area to another, and the large-granularity location trigger The configured location information reporting rules are matched. In this case, the gateway device needs to report the location information of the terminal device (for example, CGI5, or RAI4-CGI5, in any specific form) to the PCRF.
在本发明的另一个实施例中,所述PCRF将确定的位置触发器发送给所述 网关设备,包括:In another embodiment of the present invention, the PCRF sends the determined location trigger to the Gateway devices, including:
所述PCRF判断确定的位置触发器与所述网关设备配置使用的位置触发器是否属于同一个位置触发器;Determining, by the PCRF, whether the determined location trigger and the location trigger used by the gateway device belong to the same location trigger;
在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一个位置触发器,将确定的位置触发器发送给所述网关设备。The determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined location trigger is sent to the gateway device.
需要说明的是,对于PCRF为网关设备首次分配位置触发信息的情况不适用。It should be noted that the case where the PCRF first allocates location trigger information to the gateway device is not applicable.
PCRF在确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器时,存在确定的位置触发器与所述网关设备配置使用的位置触发器相同的情形,因此,需要判断确定的位置触发器与所述网关设备配置使用的位置触发器是否属于同一个位置触发器。When determining, by the PCRF, the location trigger corresponding to the location information included in the received authorization request message, the determined location trigger has the same situation as the location trigger used by the gateway device configuration, and therefore, the determination needs to be determined. Whether the location trigger and the location trigger used by the gateway device configuration belong to the same location trigger.
在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一个位置触发器,将确定的位置触发器发送给所述网关设备。The determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined location trigger is sent to the gateway device.
在确定的位置触发器与所述网关设备配置使用的位置触发器属于同一个位置触发器,将不再向所述网关设备发送确定的位置触发器,或者通过发送响应消息的方式告知网关设备,位置触发器不用更新。The determined location trigger belongs to the same location trigger as the location trigger used by the gateway device configuration, and the determined location trigger will not be sent to the gateway device, or the gateway device is notified by sending a response message. The location trigger does not need to be updated.
需要说明的是,本发明实施例提供的技术方案可以应用于各种无线通信网络,例如:全球移动通信(global system for mobile communication,简称为GSM)系统、码分多址(code division multiple access,简称为CDMA)系统、宽带码分多址(wideband code division multiple access,简称为WCDMA)系统、通用移动通信(universal mobile telecommunication system,简称为UMTS)系统、通用分组无线业务(general packet radio service,简称为GPRS)系统、长期演进(long term evolution,简称为LTE)系统、先进的长期演进(long term evolution advanced,简称为LTE-A)系统、全球互联微波接入(worldwide interoperability for microwave access,简称为WiMAX)系统等。术语“网络”和“系统”可以相互替换。 It should be noted that the technical solution provided by the embodiment of the present invention can be applied to various wireless communication networks, for example, a global system for mobile communication (GSM) system, code division multiple access (code division multiple access, Abbreviated as CDMA) system, wideband code division multiple access (WCDMA) system, universal mobile telecommunication system (UMTS) system, general packet radio service (referred to as general packet radio service) GPRS) system, long term evolution (LTE) system, advanced long term evolution (LTE-A) system, worldwide interoperability for microwave access (referred to as WiMAX) system, etc. The terms "network" and "system" can be replaced with each other.
通过本发明实施例一的方案,策略和计费规则功能PCRF接收网关设备发送的包含了终端设备当前接入所述网关设备的位置信息的授权请求消息,根据位置信息与位置触发器之间的对应关系,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器,将确定的位置触发器发送给所述网关设备,其中,所述位置触发器用于指示所述网关设备根据为所述位置触发器配置的位置信息上报规则上报所述终端设备的位置信息,这样,根据网关设备上报的终端设备的位置信息,为网关设备配置不同的订阅终端设备的位置信息的位置触发器,由于位置触发器中设置的位置信息的上报规则不同,因此能够有效地减少了网关设备上报终端设备的位置信息的次数,进一步减少了网络系统中无效信令的发送,增加了系统设备的工作性能。With the solution of the first embodiment of the present invention, the policy and charging rule function PCRF receives an authorization request message sent by the gateway device that includes the location information of the terminal device currently accessing the gateway device, according to the location information and the location trigger. Corresponding relationship, determining a location trigger corresponding to the location information included in the received authorization request message, and sending the determined location trigger to the gateway device, where the location trigger is used to indicate that the gateway device is configured according to the The location information reporting rule configured by the location trigger reports the location information of the terminal device, so that the location trigger of the location information of the subscribing terminal device is configured for the gateway device according to the location information of the terminal device reported by the gateway device. Because the reporting rules of the location information set in the location trigger are different, the number of times that the gateway device reports the location information of the terminal device can be effectively reduced, the transmission of invalid signaling in the network system is further reduced, and the work of the system device is increased. performance.
实施例二:Embodiment 2:
如图2所示,为本发明实施例二提供的一种订阅终端设备位置信息的方法的流程示意图,本发明实施例二是与本发明实施例一在同一发明构思下的发明,所述方法可以如下所述。FIG. 2 is a schematic flowchart diagram of a method for subscribing terminal device location information according to Embodiment 2 of the present invention. Embodiment 2 of the present invention is an invention under the same inventive concept as Embodiment 1 of the present invention. It can be as follows.
步骤201:网关设备向策略和计费规则功能PCRF发送授权请求消息。Step 201: The gateway device sends an authorization request message to the policy and charging rule function PCRF.
其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息。The authorization request message includes location information that the terminal device currently accesses the gateway device.
在步骤201中,当终端设备向网关设备发送IP-CAN(IP-Connectivity Access Network,IP连接接入网络)建立请求消息时,网关设备确定该终端设备接入网关设备的位置信息。In step 201, when the terminal device sends an IP-CAN (IP-Connectivity Access Network) setup request message to the gateway device, the gateway device determines the location information of the terminal device accessing the gateway device.
其中,终端设备向网关设备发送IP-CAN建立请求消息的方式可以是通过IP-CAN Establish Request消息发送,也可以是通过其他消息发送,这里不做限定。The manner in which the terminal device sends the IP-CAN setup request message to the gateway device may be sent through an IP-CAN Establish Request message, or may be sent through other messages, which is not limited herein.
网关设备通过Gx接口向PCRF(Policy and Charging Rules Function,策略和计费规则功能)设备发送授权请求消息,并在授权请求消息中携带了终端设备当前接入网关设备的位置信息。 The gateway device sends an authorization request message to the PCRF (Policy and Charging Rules Function) device through the Gx interface, and carries the location information of the current access gateway device of the terminal device in the authorization request message.
其中,网关设备向PCRF发送授权请求消息的方式可以是通过CCR-Initial(Credit Control Request-Initial,初始信用控制请求)消息发送,还可以是通过其他消息发送,这里不做限定。The manner in which the gateway device sends the authorization request message to the PCRF may be sent through a CCR-Initial (Credit Control Request-Initial) message, or may be sent through other messages, which is not limited herein.
需要说明的是,网关设备包括但不限于GGSN(Gateway GPRS Support Node,网关GPRS支持节点)设备、PGW(Packet Gateway,分组网关)设备、UGW(Unified Gateway,统一网关)设备。It should be noted that the gateway device includes, but is not limited to, a GGSN (Gateway GPRS Support Node) device, a PGW (Packet Gateway) device, and a UGW (Unified Gateway) device.
需要说明的是,所述终端设备的位置信息包括但不限于CGI(Cell Global Identification,全球小区识别码)、RAI(Routing Area Identity,路由区标识)、SAI(Serving Area Identity,服务区标识),TAI,ECGI。It should be noted that the location information of the terminal device includes, but is not limited to, CGI (Cell Global Identification), RAI (Routing Area Identity), and SAI (Serving Area Identity). TAI, ECGI.
步骤202:接收所述PCRF发送的位置触发器。Step 202: Receive a location trigger sent by the PCRF.
其中,所述位置触发器是所述PCRF根据位置信息与位置触发器之间的对应关系,确定的与接收到的所述授权请求消息中包含的位置信息对应的位置触发器。The location trigger is a location trigger determined by the PCRF corresponding to the location information included in the received authorization request message according to the correspondence between the location information and the location trigger.
在步骤202中,网关设备接收到所述PCRF发送的位置触发器是所述PCRF利用本发明实施例一中步骤102所述的方法确定的,这里不再做详细描述。In step 202, the location trigger received by the gateway device to be sent by the PCRF is determined by using the method described in step 102 in the first embodiment of the present invention, and is not described in detail herein.
步骤203:根据所述位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。Step 203: Report the location information of the terminal device according to the location information reporting rule configured by the location trigger.
在步骤203中,所述位置触发器包括小粒度位置触发器和大粒度位置触发器。In step 203, the position trigger includes a small granularity position trigger and a large granularity position trigger.
其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由所述第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息。The small-granularity location trigger is used to indicate that the gateway device reports the terminal device when it is determined that the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area. Location information.
所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。The large-grained location trigger is configured to instruct the gateway device to report location information of the terminal device when determining that the location information of the terminal device is changed from one region to another region.
第一种情况:接收到的位置触发器为小粒度位置触发器。Case 1: The received location trigger is a small-granularity location trigger.
网关设备在接收到PCRF下发的小粒度位置触发器之后,将所述小粒度位 置触发器配置的位置信息上报规则作为订阅终端设备位置信息的规则,安装所述小粒度位置触发器配置的位置信息上报规则,并开始监控所述终端设备的位置信息的变化。After receiving the small-granularity location trigger sent by the PCRF, the gateway device sends the small-granularity bit The location information reporting rule configured by the trigger is used as a rule for subscribing to the location information of the terminal device, and the location information reporting rule configured by the small-granular location trigger is installed, and the change of the location information of the terminal device is started.
在本发明的另一个实施例中,所述PCRF向网关设备发送CCA-Initial响应消息,其中,所述CCA-Initial响应消息中携带了确定的小粒度位置触发器。In another embodiment of the present invention, the PCRF sends a CCA-Initial response message to the gateway device, where the CCA-Initial response message carries the determined small-granularity location trigger.
此外,PCRF发送CCA-Initial响应消息中还携带了用于辅助终端设备上网的策略信息,其中,用于辅助终端设备上网的策略信息中包含了QoS参数信息、计费信息和业务执行规则列表信息。In addition, the CCF-Initial response message sent by the PCRF further carries policy information for assisting the terminal device to access the Internet, wherein the policy information for assisting the terminal device to access the Internet includes QoS parameter information, charging information, and service execution rule list information. .
所谓业务执行规则列表信息中包含了限制执行的业务信息。The business execution rule list information includes business information that restricts execution.
在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息变化是否与小粒度位置触发器配置的位置信息上报规则相匹配,并在确定终端设备的位置信息变化与小粒度位置触发器配置的位置信息上报规则相匹配时,向所述PCRF发送终端设备的位置信息。During the execution of the mobile service of the terminal device, the gateway device monitors whether the location information change of the terminal device matches the location information reporting rule configured by the small-granularity location trigger, and determines the location information change and the small-granularity location trigger of the terminal device. When the configured location information reporting rules match, the location information of the terminal device is sent to the PCRF.
具体地,所述网关设备在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息是由第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息。Specifically, the gateway device, when receiving the location information reported by the terminal device, determines that the location information of the terminal device is changed from one serving cell in the first type area to another serving cell, reporting the Location information of the terminal device.
具体地,所述网关设备在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同。Specifically, when receiving the location information reported by the terminal device, the gateway device determines that the identifier information of the region corresponding to the received location information is adjacent to the region corresponding to the location information previously received by the neighboring device. Whether the identification information is the same.
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。And determining, according to the location information reporting rule configured by the small-granularity location trigger, when determining that the identifier information of the area corresponding to the received location information is the same as the identifier information of the area corresponding to the location information received by the previous time. And reporting the location information of the terminal device.
例如:在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息由RAI1的服务小区CGI1切换至RAI1的服务小区CGI3,属于由第一类型区域内的一个服务小区变更为另一个服务小区,与小粒度位置触发器配置的位置信息上报规则相匹配,此时,网关设备需要将终端设备的位置信息 RAI1-CGI3上报给PCRF。For example, during the execution of the mobile service of the terminal device, the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI3 of the RAI1, belonging to one service cell in the first type area being changed to another service. The cell matches the location information reporting rule configured by the small-granularity location trigger. At this time, the gateway device needs to locate the location information of the terminal device. RAI1-CGI3 is reported to the PCRF.
在本发明的另一实施例中,在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,并发送授权变更消息。In another embodiment of the present invention, when it is determined that the identifier information of the area corresponding to the received location information is different from the identifier information of the area corresponding to the location information received by the previous time, according to the The location information reporting rule of the small-granularity location trigger configuration, reporting the location information of the terminal device and the identification information of the area corresponding to the location information, and sending an authorization change message.
其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。The identifier information of the area is used to notify the area change of the location information of the PCRF terminal device.
例如:在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息由RAI1的服务小区CGI1切换至RAI3的服务小区CGI8,终端设备的位置信息中区域的标识信息发生变更,此时,按照网关设备当前配置的小粒度位置信息触发器需要将终端设备的位置信息RAI3-CGI8上报给PCRF,同时发送授权变更消息。For example, during the execution of the mobile service of the terminal device, the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI8 of the RAI3, and the identification information of the area in the location information of the terminal device is changed. According to the small-scale location information trigger currently configured by the gateway device, the location information RAI3-CGI8 of the terminal device needs to be reported to the PCRF, and an authorization change message is sent.
接收所述PCRF发送的授权变更响应消息,其中,所述授权变更响应消息是所述PCRF在确定所述终端设备上报的位置信息对应的位置信息触发器与所述网关设备已配置使用的位置触发器不属于同一个位置触发器时发送的,所述授权变更响应消息中包含了确定所述终端设备上报的位置信息对应的位置信息触发器。Receiving an authorization change response message sent by the PCRF, where the authorization change response message is triggered by the location information trigger corresponding to the location information reported by the PCRF on the terminal device and the location used by the gateway device When the device does not belong to the same location trigger, the authorization change response message includes a location information trigger corresponding to the location information reported by the terminal device.
具体地,PCRF在接收到网关设备发送的授权变更消息时,根据位置信息与位置触发器之间的对应关系,确定网关设备当前发送的位置信息对应的位置触发器,并判断确定的位置触发器与网关设备已配置的位置触发器是否属于同一位置触发器,在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一个位置触发器,将确定的位置触发器发送给所述网关设备。Specifically, when receiving the authorization change message sent by the gateway device, the PCRF determines, according to the correspondence between the location information and the location trigger, a location trigger corresponding to the location information currently sent by the gateway device, and determines the determined location trigger. Whether the location trigger configured by the gateway device belongs to the same location trigger, and the determined location trigger is not in the same location trigger as the location trigger used by the gateway device configuration, and the determined location trigger is sent to the location trigger The gateway device.
例如:上述事例中,假设终端设备的位置信息由RAI1的服务小区CGI1切换至RAI4的服务小区CGI5,由于RAI1对应的位置触发器是小粒度位置触发器以及RAI4对应的位置触发器是大粒度位置触发器,在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一个位置触发器,将确定的大 粒度位置触发器发送给所述网关设备。For example, in the above example, it is assumed that the location information of the terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI5 of the RAI4, since the location trigger corresponding to the RAI1 is a small granularity location trigger and the location trigger corresponding to the RAI4 is a large granularity location. a trigger, where the determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, will be determined to be large A granularity location trigger is sent to the gateway device.
终端设备的位置信息由RAI1的服务小区CGI1切换至RAI3的服务小区CGI8,由于RAI1对应的位置触发器是小粒度位置触发器以及RAI3对应的位置触发器是小粒度位置触发器,在确定的位置触发器与所述网关设备配置使用的位置触发器属于同一个位置触发器,可以将确定的小粒度位置触发器发送给所述网关设备,也可以不将确定的小粒度位置触发器发送给所述网关设备,发送授权响应消息,告知网关设备位置触发器不变更即可。The location information of the terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI8 of the RAI3, since the location trigger corresponding to the RAI1 is a small-granularity location trigger and the location trigger corresponding to the RAI3 is a small-granularity location trigger, at the determined location The trigger and the location trigger used by the gateway device configuration belong to the same location trigger, and the determined small-granularity location trigger may be sent to the gateway device, or the determined small-granularity location trigger may not be sent to the location The gateway device sends an authorization response message to inform the gateway device that the location trigger is not changed.
第二种情况:接收到的位置触发器为大粒度位置触发器。Case 2: The received location trigger is a large granularity position trigger.
网关设备在接收到PCRF下发的大粒度位置触发器之后,将所述大粒度位置触发器配置的位置信息上报规则作为订阅终端设备位置信息的规则,安装所述大粒度位置触发器配置的位置信息上报规则,并开始监控所述终端设备的位置信息的变化。After receiving the large-granularity location trigger sent by the PCRF, the gateway device uses the location information reporting rule of the large-granularity location trigger configuration as a rule for subscribing the terminal device location information, and installs the location of the large-granularity location trigger configuration. The information reports the rules and starts monitoring the change of the location information of the terminal device.
在本发明的另一个实施例中,所述PCRF向网关设备发送CCA-Initial响应消息,其中,所述CCA-Initial响应消息中携带了确定的小粒度位置触发器。In another embodiment of the present invention, the PCRF sends a CCA-Initial response message to the gateway device, where the CCA-Initial response message carries the determined small-granularity location trigger.
此外,PCRF发送CCA-Initial响应消息中还携带了用于辅助终端设备上网的策略信息,其中,用于辅助终端设备上网的策略信息中包含了QoS参数信息、计费信息和业务执行规则列表信息。In addition, the CCF-Initial response message sent by the PCRF further carries policy information for assisting the terminal device to access the Internet, wherein the policy information for assisting the terminal device to access the Internet includes QoS parameter information, charging information, and service execution rule list information. .
所谓业务执行规则列表信息中包含了限制执行的业务信息。The business execution rule list information includes business information that restricts execution.
在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息变化是否与大粒度位置触发器配置的位置信息上报规则相匹配,并在确定终端设备的位置信息变化与大粒度位置触发器配置的位置信息上报规则相匹配时,向所述PCRF发送终端设备的位置信息。During the execution of the mobile service of the terminal device, the gateway device monitors whether the location information change of the terminal device matches the location information reporting rule configured by the large-granularity location trigger, and determines the location information change of the terminal device and the large-granularity location trigger. When the configured location information reporting rules match, the location information of the terminal device is sent to the PCRF.
具体地,所述网关设备在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。Specifically, the gateway device, when receiving the location information reported by the terminal device, determines that the location information of the terminal device changes from one area to another area, and reports the location information of the terminal device.
具体地,所述网关设备在接收到所述终端设备上报的位置信息时,判断接 收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同。Specifically, the gateway device determines, when receiving the location information reported by the terminal device, Whether the identification information of the area corresponding to the received location information is the same as the identification information of the area corresponding to the location information received by the previous time.
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述大粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,并发送授权变更消息,其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。And determining, according to the location information configured by the large-granularity location trigger, when the identifier information of the area corresponding to the received location information is different from the identifier information of the area corresponding to the location information received by the previous time. a rule, the location information of the terminal device and the identifier information of the area corresponding to the location information are reported, and an authorization change message is sent, where the identifier information of the area is used to notify the location where the location information of the PCRF terminal device occurs change.
例如:在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息由RAI1的服务小区CGI1切换至RAI4的服务小区CGI5,属于由一个区域变更为另一个区域,与大粒度位置触发器配置的位置信息上报规则相匹配,此时,网关设备需要将终端设备的位置信息RAI4-CGI5上报给PCRF。For example, during the execution of the mobile service of the terminal device, the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI5 of the RAI4, belonging to changing from one area to another, and the large-granularity location trigger The configured location information reporting rules are matched. In this case, the gateway device needs to report the location information of the terminal device, RAI4-CGI5, to the PCRF.
接收所述PCRF发送的授权变更响应消息,其中,所述授权变更响应消息是所述PCRF在确定所述终端设备上报的位置信息对应的位置信息触发器与所述网关设备已配置使用的位置触发器不属于同一个位置触发器时发送的,所述授权变更响应消息中包含了确定所述终端设备上报的位置信息对应的位置信息触发器。Receiving an authorization change response message sent by the PCRF, where the authorization change response message is triggered by the location information trigger corresponding to the location information reported by the PCRF on the terminal device and the location used by the gateway device When the device does not belong to the same location trigger, the authorization change response message includes a location information trigger corresponding to the location information reported by the terminal device.
具体地,PCRF在接收到网关设备发送的授权变更消息时,根据位置信息与位置触发器之间的对应关系,确定网关设备当前发送的位置信息对应的位置触发器,并判断确定的位置触发器与网关设备已配置的位置触发器是否属于同一位置触发器,在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一个位置触发器,将确定的位置触发器发送给所述网关设备。Specifically, when receiving the authorization change message sent by the gateway device, the PCRF determines, according to the correspondence between the location information and the location trigger, a location trigger corresponding to the location information currently sent by the gateway device, and determines the determined location trigger. Whether the location trigger configured by the gateway device belongs to the same location trigger, and the determined location trigger is not in the same location trigger as the location trigger used by the gateway device configuration, and the determined location trigger is sent to the location trigger The gateway device.
例如:上述事例中,假设终端设备的位置信息由RAI4的服务小区CGI5切换至RAI1的服务小区CGI2,由于RAI4对应的位置触发器是大粒度位置触发器以及RAI1对应的位置触发器是小粒度位置触发器,在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一个位置触发器,将确定的小粒度位置触发器发送给所述网关设备。 For example, in the above example, it is assumed that the location information of the terminal device is switched from the serving cell CGI5 of the RAI 4 to the serving cell CGI2 of the RAI1, since the location trigger corresponding to the RAI 4 is a large granularity location trigger and the location trigger corresponding to the RAI 1 is a small granularity location. The trigger, the determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined small-granularity location trigger is sent to the gateway device.
终端设备的位置信息由RAI4的服务小区CGI5切换至RAI5的服务小区CGI10,由于RAI4对应的位置触发器是大粒度位置触发器以及RAI5对应的位置触发器是大粒度位置触发器,在确定的位置触发器与所述网关设备配置使用的位置触发器属于同一个位置触发器,可以将确定的大粒度位置触发器发送给所述网关设备,也可以不将确定的小粒度位置触发器发送给所述网关设备,发送授权响应消息,告知网关设备位置触发器不变更即可。The location information of the terminal device is switched by the serving cell CGI5 of the RAI 4 to the serving cell CGI 10 of the RAI 5, since the location trigger corresponding to the RAI 4 is a large granularity location trigger and the location trigger corresponding to the RAI 5 is a large granularity location trigger, at the determined location The trigger and the location trigger used by the gateway device configuration belong to the same location trigger, and the determined large-granularity location trigger may be sent to the gateway device, or the determined small-granularity location trigger may not be sent to the location The gateway device sends an authorization response message to inform the gateway device that the location trigger is not changed.
在本发明的另一实施例中,在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述大粒度位置触发器配置的位置信息上报规则,不上报所述终端设备的位置信息。In another embodiment of the present invention, when it is determined that the identifier information of the area corresponding to the received location information is the same as the identifier information of the area corresponding to the location information previously received by the previous time, according to the large The location information reporting rule configured by the granularity location trigger does not report the location information of the terminal device.
例如:在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息由RAI4的服务小区CGI6切换至RAI4的服务小区CGI5,属于由第二类型区域内的一个服务小区变更为另一个服务小区,与大粒度位置触发器配置的位置信息上报规则不相匹配(或者确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同),此时,网关设备不需要将终端设备的位置信息RAI4-CGI5上报给PCRF。For example, during the execution of the mobile service of the terminal device, the location information of the gateway device monitoring terminal device is switched from the serving cell CGI6 of the RAI4 to the serving cell CGI5 of the RAI4, belonging to one service cell in the second type area being changed to another service. The cell does not match the location information reporting rule configured by the large-granularity location trigger (or determines the identifier of the area corresponding to the received location information and the identifier of the area corresponding to the previously received location information. The information is the same. At this time, the gateway device does not need to report the location information RAI4-CGI5 of the terminal device to the PCRF.
通过本发明实施例二的方案,网关设备向策略和计费规则功能PCRF发送授权请求消息,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息;并接收所述PCRF发送的位置触发器,其中,所述位置触发器是所述PCRF根据位置信息与位置触发器之间的对应关系,确定的与接收到的所述授权请求消息中包含的位置信息对应的位置触发器;根据所述位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息,这样,由于位置触发器中设置的位置信息的上报规则不同,因此有效地减少了网关设备上报终端设备的位置信息的次数,进一步减少了网络系统中无效信令的发送,增加了系统设备的工作性能。With the solution of the second embodiment of the present invention, the gateway device sends an authorization request message to the policy and charging rule function PCRF, where the authorization request message includes location information of the terminal device currently accessing the gateway device, and receives the PCRF. a location trigger that is sent, wherein the location trigger is a location trigger corresponding to the location information included in the received authorization request message determined by the PCRF according to the correspondence between the location information and the location trigger And reporting the location information of the terminal device according to the location information reporting rule configured by the location trigger, so that the reporting device of the location information set in the location trigger is different, thereby effectively reducing the reporting device of the gateway device The number of location information further reduces the transmission of invalid signaling in the network system, increasing the performance of the system equipment.
实施例三: Embodiment 3:
如图3所示,为本发明实施例三提供的一种订阅终端设备位置信息的方法的流程示意图,本发明实施例三是与本发明实施例一至本发明实施例二在同一发明构思下的发明,所述方法可以如下所述。FIG. 3 is a schematic flowchart of a method for subscribing terminal device location information according to Embodiment 3 of the present invention. Embodiment 3 of the present invention is in accordance with the same inventive concept from Embodiment 1 to Embodiment 2 of the present invention. According to the invention, the method can be as follows.
假设区域1的标识为RAI1(为第一类型区域或者管控区域),区域2的标识为RAI2(为第二类型区域或者非管控区域),区域3的标识为RAI3(为第一类型区域或者管控区域),区域4的标识为RAI4(为第二类型区域或者非管控区域),区域1内包含了两个服务小区A和B,区域2内包含了两个服务小区C和D,区域3内包含了一个服务小区E,区域4内包含了一个服务小区F。It is assumed that the identifier of the area 1 is RAI1 (which is the first type area or the control area), the identifier of the area 2 is RAI2 (which is the second type area or the non-managed area), and the identifier of the area 3 is RAI3 (for the first type area or control) Area), the identifier of area 4 is RAI4 (which is a second type area or an unmanaged area), area 1 contains two serving cells A and B, and area 2 contains two serving cells C and D, and area 3 A serving cell E is included, and a serving cell F is included in the area 4.
其中,若在2G通信系统中,服务小区A的标识为CGI1,服务小区B的标识为CGI2,服务小区C的标识为CGI3,服务小区D的标识为CGI4;Wherein, in the 2G communication system, the identifier of the serving cell A is CGI1, the identifier of the serving cell B is CGI2, the identifier of the serving cell C is CGI3, and the identifier of the serving cell D is CGI4;
若在3G通信系统中,服务小区A的标识为SAI1,服务小区B的标识为SAI2,服务小区C的标识为SAI3,服务小区D的标识为SAI4;In the 3G communication system, the identifier of the serving cell A is SAI1, the identifier of the serving cell B is SAI2, the identifier of the serving cell C is SAI3, and the identifier of the serving cell D is SAI4;
若在LTE通信系统中,服务小区A的标识为TAI1,服务小区B的标识为TAI2,服务小区C的标识为TAI3,服务小区D的标识为TAI4。In the LTE communication system, the identifier of the serving cell A is TAI1, the identifier of the serving cell B is TAI2, the identifier of the serving cell C is TAI3, and the identifier of the serving cell D is TAI4.
步骤301:终端设备向网关设备发送IP-CAN建立请求消息。Step 301: The terminal device sends an IP-CAN setup request message to the gateway device.
需要说明的是,在2G系统或者3G系统中,网关设备可以是GGSN;在LTE系统中,网关设备可以是PGW。It should be noted that in the 2G system or the 3G system, the gateway device may be a GGSN; in the LTE system, the gateway device may be a PGW.
当终端设备向网关设备发送IP-CAN建立请求消息时,确定该终端设备接入网关设备的位置信息。When the terminal device sends an IP-CAN setup request message to the gateway device, determining location information of the terminal device accessing the gateway device.
其中,终端设备向网关设备发送IP-CAN建立请求消息的方式可以是通过IP-CAN Establish Request消息发送,也可以是通过其他消息发送,这里不做限定。The manner in which the terminal device sends the IP-CAN setup request message to the gateway device may be sent through an IP-CAN Establish Request message, or may be sent through other messages, which is not limited herein.
步骤302:网关设备向PCRF发送授权请求消息。Step 302: The gateway device sends an authorization request message to the PCRF.
其中,所述授权请求消息中携带了终端设备当前接入网关设备的位置信息。The authorization request message carries the location information of the terminal device currently accessing the gateway device.
假设终端设备当前接入网关设备的位置信息为区域1的服务小区A。 It is assumed that the location information of the terminal device currently accessing the gateway device is the serving cell A of the area 1.
在步骤302中,网关设备Gx接口向PCRF设备发送授权请求消息,并且授权请求消息中携带了终端设备当前接入网关设备的位置信息,该终端设备当前接入网关设备的位置信息是网关设备根据接收到IP-CAN建立请求消息确定的。In step 302, the gateway device Gx interface sends an authorization request message to the PCRF device, and the authorization request message carries the location information of the terminal device currently accessing the gateway device, and the location information of the terminal device currently accessing the gateway device is the gateway device according to the gateway device. It is determined by receiving the IP-CAN setup request message.
需要说明的是,网关设备向PCRF发送授权请求消息的方式是通过CCR-Initial消息发送的。It should be noted that the manner in which the gateway device sends an authorization request message to the PCRF is sent by using a CCR-Initial message.
步骤303:所述PCRF根据位置信息与位置触发器之间的对应关系,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器。Step 303: The PCRF determines, according to the correspondence between the location information and the location trigger, a location trigger corresponding to the location information included in the received authorization request message.
其中,所述位置触发器用于指示所述网关设备根据为所述位置触发器配置的位置信息上报规则上报所述终端设备的位置信息。The location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger.
所述位置触发器包含了小粒度位置触发器和大粒度位置触发器。The position trigger includes a small granularity position trigger and a large granularity position trigger.
其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由所述第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息。The small-granularity location trigger is used to indicate that the gateway device reports the terminal device when it is determined that the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area. Location information.
所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。The large-grained location trigger is configured to instruct the gateway device to report location information of the terminal device when determining that the location information of the terminal device is changed from one region to another region.
步骤303的实施方式与本发明实施例一中步骤102的实施方式相同,这里不再详细描述。The implementation of the step 303 is the same as the embodiment of the step 102 in the first embodiment of the present invention, and will not be described in detail herein.
步骤304:所述PCRF将确定的位置触发器发送给所述网关设备。Step 304: The PCRF sends the determined location trigger to the gateway device.
步骤305:网关设备在接收到PCRF下发的位置触发器时,将位置触发器配置的位置信息上报规则作为订阅终端设备位置信息的规则,安装所述位置触发器配置的位置信息上报规则,并开始监控所述终端设备的位置信息的变化。Step 305: When receiving the location trigger sent by the PCRF, the gateway device uses the location information reporting rule configured by the location trigger as a rule for subscribing the terminal device location information, and installs the location information reporting rule configured by the location trigger, and The monitoring of the change of the location information of the terminal device is started.
在本发明的另一个实施例中,所述PCRF向网关设备发送CCA-Initial响应消息,其中,所述CCA-Initial响应消息中携带了确定的位置触发器。In another embodiment of the present invention, the PCRF sends a CCA-Initial response message to the gateway device, where the CCA-Initial response message carries the determined location trigger.
此外,PCRF发送CCA-Initial响应消息中还携带了用于辅助终端设备上网的策略信息,其中,用于辅助终端设备上网的策略信息中包含了QoS参数信息、 计费信息和业务执行规则列表信息。In addition, the CCF-initial response message sent by the PCRF further carries policy information for assisting the terminal device to access the Internet, wherein the policy information for assisting the terminal device to access the Internet includes QoS parameter information, Billing information and business execution rule list information.
所谓业务执行规则列表信息中包含了限制执行的业务信息。The business execution rule list information includes business information that restricts execution.
在步骤305中,当接收到PCRF下发的小粒度位置触发器时,网关设备将所述小粒度位置触发器配置的位置信息上报规则作为订阅终端设备位置信息的规则,安装所述小粒度位置触发器配置的位置信息上报规则,并开始监控所述终端设备的位置信息的变化。In step 305, when receiving the small-granularity location trigger delivered by the PCRF, the gateway device uses the location information reporting rule configured by the small-granularity location trigger as a rule for subscribing to the terminal device location information, and installing the small-granularity location. The location information of the trigger configuration reports the rule, and starts monitoring the change of the location information of the terminal device.
当接收到PCRF下发的大粒度位置触发器时,网关设备将所述大粒度位置触发器配置的位置信息上报规则作为订阅终端设备位置信息的规则,安装所述大粒度位置触发器配置的位置信息上报规则,并开始监控所述终端设备的位置信息的变化。When receiving the large-granularity location trigger sent by the PCRF, the gateway device uses the location information reporting rule of the large-granularity location trigger configuration as a rule for subscribing the terminal device location information, and installs the location of the large-granularity location trigger configuration. The information reports the rules and starts monitoring the change of the location information of the terminal device.
步骤306:网关设备在确定终端设备的位置信息发生变化时,根据所述位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。Step 306: When determining that the location information of the terminal device changes, the gateway device reports the location information of the terminal device according to the location information reporting rule configured by the location trigger.
在步骤306中,在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息变化是否与位置触发器配置的位置信息上报规则相匹配,并在确定终端设备的位置信息变化与位置触发器配置的位置信息上报规则相匹配时,向所述PCRF发送终端设备的位置信息。In step 306, during the execution of the mobile service of the terminal device, the gateway device monitors whether the location information change of the terminal device matches the location information reporting rule configured by the location trigger, and determines the location information change and the location trigger of the terminal device. When the location information reporting rules of the device match, the location information of the terminal device is sent to the PCRF.
具体地,当网关设备接收到的位置触发器是小粒度位置触发器时,所述网关设备在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同。Specifically, when the location trigger received by the gateway device is a small-granularity location trigger, the gateway device determines the identifier of the region corresponding to the received location information when receiving the location information reported by the terminal device. Whether the information is the same as the identification information of the area corresponding to the position information received by the previous time.
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。And determining, according to the location information reporting rule configured by the small-granularity location trigger, when determining that the identifier information of the area corresponding to the received location information is the same as the identifier information of the area corresponding to the location information received by the previous time. And reporting the location information of the terminal device.
例如:在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息由RAI1的服务小区CGI1切换至RAI1的服务小区CGI2,属于由第一类型区域内的一个服务小区变更为另一个服务小区,与小粒度位置触发器配置的 位置信息上报规则相匹配,此时,网关设备需要将终端设备的位置信息RAI1-CGI2上报给PCRF。For example, during the execution of the mobile service of the terminal device, the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI2 of the RAI1, belonging to one service cell in the first type area being changed to another service. Cell, configured with small granularity location triggers The location information reporting rules are matched. At this time, the gateway device needs to report the location information RAI1-CGI2 of the terminal device to the PCRF.
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息。And determining, according to the location information configured by the small-granularity location trigger, when the identifier information of the area corresponding to the received location information is different from the identifier information of the area corresponding to the location information received by the previous time. The rule reports the location information of the terminal device and the identifier information of the area corresponding to the location information.
其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。The identifier information of the area is used to notify the area change of the location information of the PCRF terminal device.
例如:在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息由RAI1的服务小区CGI1切换至RAI2的服务小区CGI3,终端设备的位置信息中区域的标识信息发生变更,此时,按照网关设备当前配置的小粒度位置信息触发器需要将终端设备的位置信息RAI2-CGI3上报给PCRF。For example, during the execution of the mobile service of the terminal device, the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI3 of the RAI2, and the identification information of the area in the location information of the terminal device is changed. According to the small-scale location information trigger currently configured by the gateway device, the location information RAI2-CGI3 of the terminal device needs to be reported to the PCRF.
具体地,当网关设备接收到的位置触发器是大粒度位置触发器时,所述网关设备在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同。Specifically, when the location trigger received by the gateway device is a large-granularity location trigger, the gateway device determines the identifier of the region corresponding to the received location information when receiving the location information reported by the terminal device. Whether the information is the same as the identification information of the area corresponding to the position information received by the previous time.
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述大粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。And determining, according to the location information configured by the large-granularity location trigger, when the identifier information of the area corresponding to the received location information is different from the identifier information of the area corresponding to the location information received by the previous time. The rule is to report the location information of the terminal device and the identifier information of the area corresponding to the location information, where the identifier information of the area is used to notify the area change of the location information of the PCRF terminal device.
例如:在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息由RAI1的服务小区CGI1切换至RAI2的服务小区CGI3,属于由一个区域变更为另一个区域,与大粒度位置触发器配置的位置信息上报规则相匹配,此时,网关设备需要将终端设备的位置信息RAI2-CGI3上报给PCRF。For example, during the execution of the mobile service of the terminal device, the location information of the gateway device monitoring terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI3 of the RAI2, belonging to changing from one area to another, and the large-granularity location trigger The configured location information reporting rules are matched. In this case, the gateway device needs to report the location information of the terminal device, RAI2-CGI3, to the PCRF.
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收 到的所述位置信息对应的区域的标识信息相同时,根据所述大粒度位置触发器配置的位置信息上报规则,不上报所述终端设备的位置信息。Determining the identification information of the area corresponding to the received location information and the previous reception of the neighboring When the identification information of the area corresponding to the location information is the same, the location information of the terminal device is not reported according to the location information reporting rule configured by the large-granularity location trigger.
例如:在终端设备的移动业务执行过程中,网关设备监控终端设备的位置信息由RAI2的服务小区CGI3切换至RAI2的服务小区CGI4,属于由第二类型区域内的一个服务小区变更为另一个服务小区,与大粒度位置触发器配置的位置信息上报规则不相匹配(或者确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同),此时,网关设备不需要将终端设备的位置信息RAI2-CGI4上报给PCRF。For example, during the execution of the mobile service of the terminal device, the location information of the gateway device monitoring terminal device is switched from the serving cell CGI3 of the RAI2 to the serving cell CGI4 of the RAI2, belonging to one service cell in the second type area being changed to another service. The cell does not match the location information reporting rule configured by the large-granularity location trigger (or determines the identifier of the area corresponding to the received location information and the identifier of the area corresponding to the previously received location information. The information is the same. At this time, the gateway device does not need to report the location information RAI2-CGI4 of the terminal device to the PCRF.
步骤307:所述网关设备在接收到所述终端设备上报的位置信息时,在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,向所述PCRF发送授权变更消息。Step 307: The gateway device determines, according to the location information reported by the terminal device, the identifier information of the area corresponding to the received location information and the area corresponding to the previous received location information. When the identification information is different, an authorization change message is sent to the PCRF.
其中,所述授权变更消息中包含了所述终端设备的位置信息以及所述位置信息对应的区域的标识信息。The authorization change message includes location information of the terminal device and identifier information of an area corresponding to the location information.
步骤308:接收所述PCRF发送的授权变更响应消息。Step 308: Receive an authorization change response message sent by the PCRF.
其中,所述授权变更响应消息是所述PCRF在确定所述终端设备上报的位置信息对应的位置信息触发器与所述网关设备已配置使用的位置触发器不属于同一个位置触发器时发送的,所述授权变更响应消息中包含了确定所述终端设备上报的位置信息对应的位置信息触发器。The authorization change response message is sent by the PCRF when determining that the location information trigger corresponding to the location information reported by the terminal device and the location trigger configured by the gateway device do not belong to the same location trigger. The authorization change response message includes a location information trigger corresponding to the location information reported by the terminal device.
具体地,在步骤308中,PCRF在接收到网关设备发送的授权变更消息时,根据位置信息与位置触发器之间的对应关系,确定网关设备当前发送的位置信息对应的位置触发器,并判断确定的位置触发器与网关设备已配置的位置触发器是否属于同一位置触发器,在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一个位置触发器,将确定的位置触发器发送给所述网关设备。Specifically, in step 308, when receiving the authorization change message sent by the gateway device, the PCRF determines, according to the correspondence between the location information and the location trigger, a location trigger corresponding to the location information currently sent by the gateway device, and determines Whether the determined location trigger and the location trigger configured by the gateway device belong to the same location trigger, and the determined location trigger does not belong to the same location trigger as the location trigger used by the gateway device configuration, and the determined location A trigger is sent to the gateway device.
例如:上述事例中,假设终端设备的位置信息由RAI1的服务小区CGI1切换至RAI2的服务小区CGI3,由于RAI1对应的位置触发器是小粒度位置触 发器以及RAI2对应的位置触发器是大粒度位置触发器,在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一个位置触发器,将确定的大粒度位置触发器发送给所述网关设备。For example, in the above example, it is assumed that the location information of the terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGI3 of the RAI2, since the location trigger corresponding to the RAI1 is a small granularity location touch. The location trigger corresponding to the initiator and the RAI2 is a large-granularity location trigger. The determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined large-granularity location trigger is sent. To the gateway device.
终端设备的位置信息由RAI1的服务小区CGI1切换至RAI3的服务小区CGIE,由于RAI1对应的位置触发器是小粒度位置触发器以及RAI3对应的位置触发器是小粒度位置触发器,在确定的位置触发器与所述网关设备配置使用的位置触发器属于同一个位置触发器,可以将确定的小粒度位置触发器发送给所述网关设备,也可以不将确定的小粒度位置触发器发送给所述网关设备,发送授权响应消息,告知网关设备位置触发器不变更即可。The location information of the terminal device is switched from the serving cell CGI1 of the RAI1 to the serving cell CGIE of the RAI3, since the location trigger corresponding to the RAI1 is a small-granularity location trigger and the location trigger corresponding to the RAI3 is a small-granularity location trigger, at the determined location The trigger and the location trigger used by the gateway device configuration belong to the same location trigger, and the determined small-granularity location trigger may be sent to the gateway device, or the determined small-granularity location trigger may not be sent to the location The gateway device sends an authorization response message to inform the gateway device that the location trigger is not changed.
终端设备的位置信息由RAI2的服务小区CGI3切换至RAI4的服务小区CGIF,由于RAI2对应的位置触发器是大粒度位置触发器以及RAI4对应的位置触发器是大粒度位置触发器,在确定的位置触发器与所述网关设备配置使用的位置触发器属于同一个位置触发器,可以将确定的大粒度位置触发器发送给所述网关设备,也可以不将确定的小粒度位置触发器发送给所述网关设备,发送授权响应消息,告知网关设备位置触发器不变更即可。The location information of the terminal device is switched by the serving cell CGI3 of the RAI2 to the serving cell CGIF of the RAI4, since the location trigger corresponding to the RAI2 is a large granularity location trigger and the location trigger corresponding to the RAI4 is a large granularity location trigger, at the determined location The trigger and the location trigger used by the gateway device configuration belong to the same location trigger, and the determined large-granularity location trigger may be sent to the gateway device, or the determined small-granularity location trigger may not be sent to the location The gateway device sends an authorization response message to inform the gateway device that the location trigger is not changed.
当终端设备在区域RAI1(即管控区域)中服务小区进行切换时,需要实时上报位置信息,但是当终端设备在区域RAI2(即非管控区域)中服务小区进行切换时,不需要实时上报位置信息,也无需触发管控策略的下发,避免了无效信令的交互,节省了系统资源,提高了系统性能。When the terminal device performs handover in the serving cell in the area RAI1 (ie, the control area), the location information needs to be reported in real time, but when the terminal device switches in the serving area in the area RAI2 (ie, the unmanaged area), the location information does not need to be reported in real time. It also does not need to trigger the issuance of the management and control strategy, avoiding the interaction of invalid signaling, saving system resources and improving system performance.
实施例四:Embodiment 4:
如图4所示,为本发明实施例四提供的一种订阅终端设备位置信息的设备的结构示意图,本发明实施例四是与本发明实施例一~实施例三在同一发明构思下的发送,所述设备包括:接收模块11、确定模块12和订阅模块13,其中:FIG. 4 is a schematic structural diagram of an apparatus for subscribing terminal device location information according to Embodiment 4 of the present invention. Embodiment 4 of the present invention is a transmission under the same inventive concept as Embodiments 1 to 3 of the present invention. The device includes: a receiving module 11, a determining module 12, and a subscription module 13, wherein:
接收模块11,用于接收网关设备发送的授权请求消息,其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息;The receiving module 11 is configured to receive an authorization request message sent by the gateway device, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
确定模块12,用于根据位置信息与位置触发器之间的对应关系,确定接收 到的所述授权请求消息中包含的位置信息对应的位置触发器;The determining module 12 is configured to determine the receiving according to the correspondence between the location information and the location trigger a location trigger corresponding to the location information included in the authorization request message;
订阅模块13,用于将确定的位置触发器发送给所述网关设备,其中,所述位置触发器用于指示所述网关设备根据为所述位置触发器配置的位置信息上报规则上报所述终端设备的位置信息。The subscribing module 13 is configured to send the determined location trigger to the gateway device, where the location trigger is used to instruct the gateway device to report the terminal device according to the location information reporting rule configured for the location trigger Location information.
所述对应关系,包括:The corresponding relationship includes:
第一类型区域包含的位置信息与小粒度位置触发器之间的对应关系,其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由所述第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息;和/或Corresponding relationship between the location information included in the first type of area and the small-granularity location trigger, wherein the small-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is by the first When one serving cell in the type area is changed to another serving cell, the location information of the terminal device is reported; and/or
第二类型区域包含的位置信息与大粒度位置触发器之间的对应关系,其中,所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。Corresponding relationship between the location information included in the second type of area and the large-granularity location trigger, wherein the large-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is changed from one area to another. When an area is used, the location information of the terminal device is reported.
所述第一类型区域为管控区域,所述小粒度触发器为USER_LOCATION_CHANGE触发器;和/或The first type of area is a control area, and the small granularity trigger is a USER_LOCATION_CHANGE trigger; and/or
所述第二类型区域为非管控区域,所述大粒度触发器为USER_LOCATION_RAI_CHANGE触发器。The second type area is a non-managed area, and the large granularity trigger is a USER_LOCATION_RAI_CHANGE trigger.
所述订阅模块13,具体用于判断确定的位置触发器与所述网关设备配置使用的位置触发器是否属于同一个位置触发器;The subscribing module 13 is specifically configured to determine whether the determined location trigger and the location trigger used by the gateway device belong to the same location trigger;
在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一个位置触发器,将确定的位置触发器发送给所述网关设备。The determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined location trigger is sent to the gateway device.
具体的,所述订阅终端设备位置信息的设备可以为PCRF设备。Specifically, the device that subscribes to the location information of the terminal device may be a PCRF device.
需要说明的是,本发明实施例四所述的PCRF设备可以通过硬件实现,也可以通过软件实现,这里不做限定。It should be noted that the PCRF device in the fourth embodiment of the present invention may be implemented by using hardware or by software, which is not limited herein.
由于位置触发器中设置的位置信息的上报规则不同,因此有效地减少了网关设备上报终端设备的位置信息的次数,进一步减少了网络系统中无效信令的发送,增加了系统设备的工作性能。 Since the reporting rules of the location information set in the location trigger are different, the number of times the gateway device reports the location information of the terminal device is effectively reduced, the transmission of invalid signaling in the network system is further reduced, and the working performance of the system device is increased.
实施例五:Embodiment 5:
如图5所示,为本发明实施例五提供的一种策略和计费规则功能PCRF设备的结构示意图,本发明实施例五是与本发明实施例一、实施例二、实施例三和实施例四在同一发明构思下的发明,PCRF设备可采用通用计算机系统结构,计算机系统可具体是基于处理器的计算机。所述PCRF设备包括至少一个处理器21,通信总线22,存储器23以及至少一个通信接口24。FIG. 5 is a schematic structural diagram of a PCRF device for a policy and a charging rule function according to Embodiment 5 of the present invention. Embodiment 5 of the present invention is related to Embodiment 1, Embodiment 2, Embodiment 3, and implementation of the present invention. Example 4 In the invention under the same inventive concept, the PCRF device may adopt a general computer system structure, and the computer system may be a processor-based computer. The PCRF device comprises at least one processor 21, a communication bus 22, a memory 23 and at least one communication interface 24.
处理器21可以是一个通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本发明方案程序执行的集成电路。The processor 21 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present invention.
其中,所述通信总线22可包括一通路,在上述组件之间传送信息。所述通信接口24,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks,WLAN)等。Wherein, the communication bus 22 can include a path for transferring information between the components. The communication interface 24 uses devices such as any transceiver for communicating with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
计算机系统包括一个或多个存储器,可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。这些存储器通过总线与处理器相连接。The computer system includes one or more memories, which may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM) or Other types of dynamic storage devices that store information and instructions may also be Electrically Erasable Programmable Read-Only Memory (EEPROM) or Compact Disc Read-Only Memory (CD-ROM). Or other disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used to carry or store expectations in the form of instructions or data structures Program code and any other medium that can be accessed by a computer, but is not limited thereto. These memories are connected to the processor via a bus.
其中,所述存储器23用于存储执行本发明方案的应用程序代码,执行本发明方案的应用程序代码保存在存储器中,并由处理器21来控制执行。所述处理器21用于执行所述存储器23中存储的应用程序。 The memory 23 is used to store application code for executing the solution of the present invention, and the application code for executing the solution of the present invention is stored in a memory and controlled by the processor 21. The processor 21 is configured to execute an application stored in the memory 23.
在一种可能的实施方式中,当上述应用程序被所述处理器21执行时,实现如下功能:In a possible implementation manner, when the application is executed by the processor 21, the following functions are implemented:
接接收网关设备发送的授权请求消息,其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息;Receiving an authorization request message sent by the gateway device, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
根据位置信息与位置触发器之间的对应关系,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器;Determining, according to a correspondence between the location information and the location trigger, a location trigger corresponding to the location information included in the received authorization request message;
将确定的位置触发器发送给所述网关设备,其中,所述位置触发器用于指示所述网关设备根据为所述位置触发器配置的位置信息上报规则上报所述终端设备的位置信息,如实施例一中所述,这里不再重复。Sending the determined location trigger to the gateway device, where the location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger, such as implementing As described in the first example, it will not be repeated here.
在另一种可能的实施方式中,所述对应关系,包括:In another possible implementation manner, the corresponding relationship includes:
第一类型区域包含的位置信息与小粒度位置触发器之间的对应关系,其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由所述第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息;和/或Corresponding relationship between the location information included in the first type of area and the small-granularity location trigger, wherein the small-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is by the first When one serving cell in the type area is changed to another serving cell, the location information of the terminal device is reported; and/or
第二类型区域包含的位置信息与大粒度位置触发器之间的对应关系,其中,所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。Corresponding relationship between the location information included in the second type of area and the large-granularity location trigger, wherein the large-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is changed from one area to another. When an area is used, the location information of the terminal device is reported.
在另一种可能的实施方式中,所述第一类型区域为管控区域,所述小粒度触发器为USER_LOCATION_CHANGE触发器;和/或In another possible implementation manner, the first type area is a control area, and the small granularity trigger is a USER_LOCATION_CHANGE trigger; and/or
所述第二类型区域为非管控区域,所述大粒度触发器为USER_LOCATION_RAI_CHANGE触发器。The second type area is a non-managed area, and the large granularity trigger is a USER_LOCATION_RAI_CHANGE trigger.
在另一种可能的实施方式中,将确定的位置触发器发送给所述网关设备,包括:In another possible implementation manner, sending the determined location trigger to the gateway device includes:
判断确定的位置触发器与所述网关设备配置使用的位置触发器是否属于同一个位置触发器;Determining whether the determined location trigger and the location trigger used by the gateway device configuration belong to the same location trigger;
在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一 个位置触发器,将确定的位置触发器发送给所述网关设备。The determined location trigger is not the same as the location trigger used by the gateway device configuration A location trigger that sends the determined location trigger to the gateway device.
本实施例中,应用程序被处理器执行时,PCRF设备与其他网元之间的交互方法可以参考上述方法实施例。这里不再详细描述。In this embodiment, when the application is executed by the processor, the interaction method between the PCRF device and other network elements may refer to the foregoing method embodiment. It will not be described in detail here.
本实施例提供的PCRF设备为位置触发器中设置了不同的位置信息的上报规则,使得网关设备根据位置信息上报规则上报终端设备的位置信息,有效地减少了上报次数,进一步减少了网络系统中无效信令的发送,增加了系统设备的工作性能。The PCRF device provided in this embodiment is configured to report different location information in the location trigger, so that the gateway device reports the location information of the terminal device according to the location information reporting rule, thereby effectively reducing the number of times of reporting, and further reducing the number of reporting in the network system. The transmission of invalid signaling increases the performance of the system equipment.
实施例六:Example 6:
如图6所示,为本发明实施例六提供的一种订阅终端设备位置信息的设备的结构示意图,本发明实施例六是与本发明实施例一、实施例二、实施例三、实施例四以及实施例五在同一发明构思下的发明,所述设备包括:发送模块31、接收模块32和订阅上报模块33,其中:FIG. 6 is a schematic structural diagram of a device for subscribing terminal device location information according to Embodiment 6 of the present invention. Embodiment 6 of the present invention is the first embodiment, the second embodiment, and the third embodiment. 4 and the fifth embodiment of the invention under the same inventive concept, the device comprises: a sending module 31, a receiving module 32 and a subscription reporting module 33, wherein:
发送模块31,用于向策略和计费规则功能PCRF发送授权请求消息,其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息;The sending module 31 is configured to send an authorization request message to the policy and charging rule function PCRF, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
接收模块32,用于接收所述PCRF发送的位置触发器,其中,所述位置触发器是所述PCRF根据位置信息与位置触发器之间的对应关系,确定的与接收到的所述授权请求消息中包含的位置信息对应的位置触发器;The receiving module 32 is configured to receive the location trigger sent by the PCRF, where the location trigger is determined by the PCRF according to the correspondence between the location information and the location trigger, and the received authorization request a location trigger corresponding to the location information contained in the message;
订阅上报模块33,用于根据所述位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。The subscription reporting module 33 is configured to report the location information of the terminal device according to the location information reporting rule configured by the location trigger.
在一种可能的实现方式中,所述位置触发器为小粒度位置触发器,其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由所述第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息;In a possible implementation, the location trigger is a small-granularity location trigger, where the small-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is by the first When a serving cell in a type of area is changed to another serving cell, the location information of the terminal device is reported;
所述订阅上报模块,具体用于在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息是由第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息。 The subscription reporting module is specifically configured to: when receiving the location information reported by the terminal device, determining that the location information of the terminal device is changed from one serving cell in the first type area to another serving cell, reporting Location information of the terminal device.
在另一种可能的实现方式中,所述订阅上报模块33,具体用于在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同;In another possible implementation manner, the subscription reporting module 33 is configured to: when receiving the location information reported by the terminal device, determine the identifier information of the area corresponding to the received location information and the neighboring Whether the identification information of the area corresponding to the location information received the previous time is the same;
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。And determining, according to the location information reporting rule configured by the small-granularity location trigger, when determining that the identifier information of the area corresponding to the received location information is the same as the identifier information of the area corresponding to the location information received by the previous time. And reporting the location information of the terminal device.
在另一种可能的实现方式中,所述订阅上报模块33,还用于在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,并发送授权变更消息,其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。In another possible implementation manner, the subscription reporting module 33 is further configured to: determine, in an area corresponding to the received location information corresponding to the location information, an area corresponding to the previously received location information. When the identifier information is different, the location information of the terminal device and the identifier information of the area corresponding to the location information are reported according to the location information reporting rule configured by the small-granularity location trigger, and an authorization change message is sent, where The identification information of the area is used to notify the area change of the location information of the PCRF terminal device.
在另一种可能的实现方式中,所述位置触发器为大粒度位置触发器,其中,所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息;In another possible implementation, the location trigger is a large-granularity location trigger, where the large-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is changed by an area. When the area is another area, the location information of the terminal device is reported;
所述订阅上报模块,具体用于在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。The subscription reporting module is configured to report the location information of the terminal device when the location information of the terminal device is changed from one area to another when the location information reported by the terminal device is received.
在另一种可能的实现方式中,所述订阅上报模块33,具体用于在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同;In another possible implementation manner, the subscription reporting module 33 is configured to: when receiving the location information reported by the terminal device, determine the identifier information of the area corresponding to the received location information and the neighboring Whether the identification information of the area corresponding to the location information received the previous time is the same;
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述大粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,并发送授权变更消息,其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。 And determining, according to the location information configured by the large-granularity location trigger, when the identifier information of the area corresponding to the received location information is different from the identifier information of the area corresponding to the location information received by the previous time. a rule, the location information of the terminal device and the identifier information of the area corresponding to the location information are reported, and an authorization change message is sent, where the identifier information of the area is used to notify the location where the location information of the PCRF terminal device occurs change.
在另一种可能的实现方式中,所述订阅上报模块33,还用于在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述大粒度位置触发器配置的位置信息上报规则,不上报所述终端设备的位置信息。In another possible implementation manner, the subscription reporting module 33 is further configured to: determine, in an area corresponding to the received location information corresponding to the location information, an area corresponding to the previously received location information. When the identification information of the terminal device is the same, the location information of the terminal device is not reported according to the location information reporting rule configured by the large-granularity location trigger.
所述接收模块32,还用于接收所述PCRF发送的授权变更响应消息,其中,所述授权变更响应消息是所述PCRF在确定所述终端设备上报的位置信息对应的位置信息触发器与所述网关设备已配置使用的位置触发器不属于同一个位置触发器时发送的,所述授权变更响应消息中包含了确定所述终端设备上报的位置信息对应的位置信息触发器。The receiving module 32 is further configured to receive an authorization change response message sent by the PCRF, where the authorization change response message is a location information trigger and a location information corresponding to the location information reported by the PCRF on the terminal device. The location change trigger corresponding to the location information reported by the terminal device is included in the authorization change response message.
需要说明的是,本发明实施例六所述的设备可以通过硬件实现,也可以通过软件实现,这里不做限定。It should be noted that the device in the sixth embodiment of the present invention may be implemented by using hardware or by software, which is not limited herein.
由于位置触发器中设置的位置信息的上报规则不同,因此有效地减少了网关设备上报终端设备的位置信息的次数,进一步减少了网络系统中无效信令的发送,增加了系统设备的工作性能。Since the reporting rules of the location information set in the location trigger are different, the number of times the gateway device reports the location information of the terminal device is effectively reduced, the transmission of invalid signaling in the network system is further reduced, and the working performance of the system device is increased.
实施例七:Example 7:
如图7所示,为本发明实施例七提供的一种网关设备的结构示意图,本发明实施例七是与本发明实施例一至实施例六在同一发明构思下的发明,网关设备可采用通用计算机系统结构,计算机系统可具体是基于处理器的计算机。所述网关设备包括至少一个处理器41,通信总线42,存储器43以及至少一个通信接口44。FIG. 7 is a schematic structural diagram of a gateway device according to Embodiment 7 of the present invention. Embodiment 7 of the present invention is an invention under the same inventive concept as Embodiments 1 through 6 of the present invention, and the gateway device may adopt a general Computer system architecture, which may be a processor-based computer. The gateway device comprises at least one processor 41, a communication bus 42, a memory 43, and at least one communication interface 44.
处理器41可以是一个通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本发明方案程序执行的集成电路。The processor 41 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present invention.
其中,所述通信总线42可包括一通路,在上述组件之间传送信息。所述通信接口44,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks, WLAN)等。Wherein, the communication bus 42 can include a path for transferring information between the components. The communication interface 44 uses devices such as any transceiver for communicating with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), and Wireless Local Area Networks (Wireless Local Area Networks, WLAN) and so on.
计算机系统包括一个或多个存储器,可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。这些存储器通过总线与处理器相连接。The computer system includes one or more memories, which may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM) or Other types of dynamic storage devices that store information and instructions may also be Electrically Erasable Programmable Read-Only Memory (EEPROM) or Compact Disc Read-Only Memory (CD-ROM). Or other disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used to carry or store expectations in the form of instructions or data structures Program code and any other medium that can be accessed by a computer, but is not limited thereto. These memories are connected to the processor via a bus.
其中,所述存储器43用于存储执行本发明方案的应用程序代码,执行本发明方案的应用程序代码保存在存储器中,并由处理器41来控制执行。所述处理器41用于执行所述存储器43中存储的应用程序。The memory 43 is used to store application code for executing the solution of the present invention, and the application code for executing the solution of the present invention is stored in a memory and controlled by the processor 41 for execution. The processor 41 is configured to execute an application stored in the memory 43.
在一种可能的实施方式中,当上述应用程序被所述处理器41执行时,实现如下功能:In a possible implementation manner, when the application is executed by the processor 41, the following functions are implemented:
向策略和计费规则功能PCRF发送授权请求消息,其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息;Sending an authorization request message to the policy and charging rule function PCRF, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
接收所述PCRF发送的位置触发器,其中,所述位置触发器是所述PCRF根据位置信息与位置触发器之间的对应关系,确定的与接收到的所述授权请求消息中包含的位置信息对应的位置触发器;Receiving, by the PCRF, a location trigger, where the location trigger is determined by the PCRF according to the correspondence between the location information and the location trigger, and the location information included in the received authorization request message. Corresponding position trigger;
根据所述位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息,如实施例二中所述,这里不再重复。According to the location information reporting rule configured by the location trigger, the location information of the terminal device is reported, as described in the second embodiment, and is not repeated here.
在另一种可能的实施方式中,所述对应关系为第一类型区域包含的位置信息与小粒度位置触发器之间的对应关系,其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由第一类型区域内的一个 服务小区变更为另一个服务小区时,上报所述终端设备的位置信息;In another possible implementation manner, the correspondence relationship is a correspondence between location information included in the first type area and a small granularity location trigger, where the small granularity location trigger is used to indicate the gateway device. Determining that the location information of the terminal device is determined by one of the first type of areas When the serving cell is changed to another serving cell, the location information of the terminal device is reported;
在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息是由第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息。When the location information reported by the terminal device is received, it is determined that the location information of the terminal device is changed from one serving cell in the first type area to another serving cell, and the location information of the terminal device is reported.
在另一种可能的实施方式中,在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同;In another possible implementation manner, when receiving the location information reported by the terminal device, determining that the identifier information of the region corresponding to the received location information corresponds to the location information previously received by the neighboring device Whether the identification information of the area is the same;
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。And determining, according to the location information reporting rule configured by the small-granularity location trigger, when determining that the identifier information of the area corresponding to the received location information is the same as the identifier information of the area corresponding to the location information received by the previous time. And reporting the location information of the terminal device.
在另一种可能的实施方式中,在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,并发送授权变更消息,其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。In another possible implementation manner, when determining that the identifier information of the area corresponding to the received location information is different from the identifier information of the area corresponding to the location information received by the previous time, according to the a location information reporting rule configured by the small-grained location trigger, reporting the location information of the terminal device and the identification information of the area corresponding to the location information, and sending an authorization change message, where the identifier information of the area is used to notify the The area change of the location information of the PCRF terminal device is described.
在另一种可能的实施方式中,所述对应关系为第二类型区域包含的位置信息与大粒度位置触发器之间的对应关系,其中,所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息;In another possible implementation manner, the corresponding relationship is a correspondence between location information included in the second type area and a large-granularity location trigger, where the large-granularity location trigger is used to indicate the gateway device. When it is determined that the location information of the terminal device is changed from one area to another area, the location information of the terminal device is reported;
在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。When the location information reported by the terminal device is received, when the location information of the terminal device is changed from one region to another region, the location information of the terminal device is reported.
在另一种可能的实施方式中,在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同;In another possible implementation manner, when receiving the location information reported by the terminal device, determining that the identifier information of the region corresponding to the received location information corresponds to the location information previously received by the neighboring device Whether the identification information of the area is the same;
在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收 到的所述位置信息对应的区域的标识信息不相同时,根据所述大粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,并发送授权变更消息,其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。Determining the identification information of the area corresponding to the received location information and the previous reception of the neighboring When the identification information of the area corresponding to the location information is different, the location information of the terminal device and the identifier information of the area corresponding to the location information are reported according to the location information reporting rule configured by the large-granularity location trigger And sending an authorization change message, wherein the identifier information of the area is used to notify the area change of the location information of the PCRF terminal device.
在另一种可能的实施方式中,在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述大粒度位置触发器配置的位置信息上报规则,不上报所述终端设备的位置信息。In another possible implementation manner, when it is determined that the identifier information of the area corresponding to the received location information is the same as the identifier information of the area corresponding to the location information previously received by the previous time, according to the large The location information reporting rule configured by the granularity location trigger does not report the location information of the terminal device.
在另一种可能的实施方式中,接收所述PCRF发送的授权变更响应消息,其中,所述授权变更响应消息是所述PCRF在确定所述终端设备上报的位置信息对应的位置信息触发器与所述网关设备已配置使用的位置触发器不属于同一个位置触发器时发送的,所述授权变更响应消息中包含了确定所述终端设备上报的位置信息对应的位置信息触发器。In another possible implementation, the authorization change response message sent by the PCRF is received, where the authorization change response message is a location information trigger corresponding to the location information reported by the PCRF on the terminal device. The location change trigger corresponding to the location information reported by the terminal device is included in the authorization change response message, where the location trigger is configured to be used by the gateway device.
本实施例中,应用程序被处理器执行时,网关设备与其他网元之间的交互方法可以参考上述方法实施例。这里不再详细描述。In this embodiment, when the application is executed by the processor, the interaction method between the gateway device and other network elements may refer to the foregoing method embodiment. It will not be described in detail here.
本实施例提供的网关设备,由于位置触发器中设置的位置信息的上报规则不同,因此有效地减少了网关设备上报终端设备的位置信息的次数,进一步减少了网络系统中无效信令的发送,增加了系统设备的工作性能。The gateway device provided in this embodiment has different reporting rules for the location information set by the location trigger, thereby effectively reducing the number of times the gateway device reports the location information of the terminal device, and further reducing the transmission of invalid signaling in the network system. Increased the performance of system equipment.
本领域的技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的 结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowcharts and/or block diagrams, and flow and/or blocks of the flowcharts and/or block diagrams can be implemented by computer program instructions. Combine. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While the preferred embodiment of the invention has been described, it will be understood that Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (16)

  1. 一种订阅终端设备位置信息的设备,其特征在于,包括:A device for subscribing terminal device location information, comprising:
    接收模块,用于接收网关设备发送的授权请求消息,其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息;a receiving module, configured to receive an authorization request message sent by the gateway device, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
    确定模块,用于根据位置信息与位置触发器之间的对应关系,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器;a determining module, configured to determine, according to a correspondence between the location information and the location trigger, a location trigger corresponding to the location information included in the received authorization request message;
    订阅模块,用于将确定的位置触发器发送给所述网关设备,其中,所述位置触发器用于指示所述网关设备根据为所述位置触发器配置的位置信息上报规则上报所述终端设备的位置信息。a subscription module, configured to send the determined location trigger to the gateway device, where the location trigger is used to instruct the gateway device to report the terminal device according to a location information reporting rule configured for the location trigger location information.
  2. 如权利要求1所述的设备,其特征在于,所述对应关系,包括:The device according to claim 1, wherein the correspondence includes:
    第一类型区域包含的位置信息与小粒度位置触发器之间的对应关系,其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由所述第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息;和/或Corresponding relationship between the location information included in the first type of area and the small-granularity location trigger, wherein the small-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is by the first When one serving cell in the type area is changed to another serving cell, the location information of the terminal device is reported; and/or
    第二类型区域包含的位置信息与大粒度位置触发器之间的对应关系,其中,所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。Corresponding relationship between the location information included in the second type of area and the large-granularity location trigger, wherein the large-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is changed from one area to another. When an area is used, the location information of the terminal device is reported.
  3. 如权利要求2所述的设备,其特征在于,所述第一类型区域为管控区域,所述小粒度触发器为USER_LOCATION_CHANGE触发器;和/或The device according to claim 2, wherein said first type of area is a control area, said small granularity trigger is a USER_LOCATION_CHANGE trigger; and/or
    所述第二类型区域为非管控区域,所述大粒度触发器为USER_LOCATION_RAI_CHANGE触发器。The second type area is a non-managed area, and the large granularity trigger is a USER_LOCATION_RAI_CHANGE trigger.
  4. 如权利要求1~3任一所述的设备,其特征在于,The apparatus according to any one of claims 1 to 3, wherein
    所述订阅模块,具体用于判断确定的位置触发器与所述网关设备配置使用的位置触发器是否属于同一个位置触发器;The subscribing module is specifically configured to determine whether the determined location trigger and the location trigger used by the gateway device belong to the same location trigger;
    在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一个位置触发器,将确定的位置触发器发送给所述网关设备。 The determined location trigger and the location trigger used by the gateway device configuration do not belong to the same location trigger, and the determined location trigger is sent to the gateway device.
  5. 一种订阅终端设备位置信息的方法,其特征在于,包括:A method for subscribing terminal device location information, comprising:
    策略和计费规则功能PCRF接收网关设备发送的授权请求消息,其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息;The policy and charging rule function PCRF receives an authorization request message sent by the gateway device, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
    所述PCRF根据位置信息与位置触发器之间的对应关系,确定接收到的所述授权请求消息中包含的位置信息对应的位置触发器;Determining, by the PCRF, a location trigger corresponding to the location information included in the received authorization request message according to the correspondence between the location information and the location trigger;
    所述PCRF将确定的位置触发器发送给所述网关设备,其中,所述位置触发器用于指示所述网关设备根据为所述位置触发器配置的位置信息上报规则上报所述终端设备的位置信息。The PCRF sends the determined location trigger to the gateway device, where the location trigger is used to instruct the gateway device to report the location information of the terminal device according to the location information reporting rule configured for the location trigger .
  6. 如权利要求5所述的方法,其特征在于,所述对应关系,包括:The method of claim 5, wherein the correspondence comprises:
    第一类型区域包含的位置信息与小粒度位置触发器之间的对应关系,其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由所述第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息;和/或Corresponding relationship between the location information included in the first type of area and the small-granularity location trigger, wherein the small-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is by the first When one serving cell in the type area is changed to another serving cell, the location information of the terminal device is reported; and/or
    第二类型区域包含的位置信息与大粒度位置触发器之间的对应关系,其中,所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。Corresponding relationship between the location information included in the second type of area and the large-granularity location trigger, wherein the large-granularity location trigger is used to indicate that the gateway device determines that the location information of the terminal device is changed from one area to another. When an area is used, the location information of the terminal device is reported.
  7. 如权利要求6所述的方法,其特征在于,The method of claim 6 wherein:
    所述第一类型区域为管控区域,所述小粒度触发器为USER_LOCATION_CHANGE触发器;和/或The first type of area is a control area, and the small granularity trigger is a USER_LOCATION_CHANGE trigger; and/or
    所述第二类型区域为非管控区域,所述大粒度触发器为USER_LOCATION_RAI_CHANGE触发器。The second type area is a non-managed area, and the large granularity trigger is a USER_LOCATION_RAI_CHANGE trigger.
  8. 如权利要求5~7任一所述的方法,其特征在于,所述PCRF将确定的位置触发器发送给所述网关设备,包括:The method according to any one of claims 5 to 7, wherein the PCRF sends the determined location trigger to the gateway device, including:
    所述PCRF判断确定的位置触发器与所述网关设备配置使用的位置触发器是否属于同一个位置触发器;Determining, by the PCRF, whether the determined location trigger and the location trigger used by the gateway device belong to the same location trigger;
    在确定的位置触发器与所述网关设备配置使用的位置触发器不属于同一 个位置触发器,将确定的位置触发器发送给所述网关设备。The determined location trigger is not the same as the location trigger used by the gateway device configuration A location trigger that sends the determined location trigger to the gateway device.
  9. 一种网关设备,其特征在于,包括:A gateway device, comprising:
    发送模块,用于向策略和计费规则功能PCRF发送授权请求消息,其中,所述授权请求消息中包含了终端设备当前接入所述网关设备的位置信息;a sending module, configured to send an authorization request message to the policy and charging rule function PCRF, where the authorization request message includes location information that the terminal device currently accesses the gateway device;
    接收模块,用于接收所述PCRF发送的位置触发器,其中,所述位置触发器是所述PCRF根据位置信息与位置触发器之间的对应关系,确定的与接收到的所述授权请求消息中包含的位置信息对应的位置触发器;a receiving module, configured to receive a location trigger sent by the PCRF, where the location trigger is determined by the PCRF according to a correspondence between the location information and the location trigger, and the received authorization request message a location trigger corresponding to the location information contained in the location;
    订阅上报模块,用于根据所述位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。The subscription reporting module is configured to report the location information of the terminal device according to the location information reporting rule configured by the location trigger.
  10. 如权利要求9所述的网关设备,其特征在于,所述对应关系为第一类型区域包含的位置信息与小粒度位置触发器之间的对应关系,其中,所述小粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息是由第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息;The gateway device according to claim 9, wherein the correspondence relationship is a correspondence between location information included in the first type area and a small-granularity location trigger, wherein the small-granularity location trigger is used to indicate When the location information of the terminal device is changed from one serving cell to another serving cell in the first type of area, the gateway device reports the location information of the terminal device;
    所述订阅上报模块,具体用于在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息是由第一类型区域内的一个服务小区变更为另一个服务小区时,上报所述终端设备的位置信息。The subscription reporting module is specifically configured to: when receiving the location information reported by the terminal device, determining that the location information of the terminal device is changed from one serving cell in the first type area to another serving cell, reporting Location information of the terminal device.
  11. 如权利要求10所述的网关设备,其特征在于,The gateway device of claim 10, wherein
    所述订阅上报模块,具体用于在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同;The subscribing and reporting module is configured to: when receiving the location information reported by the terminal device, determine that the identifier information of the region corresponding to the received location information is corresponding to the location information previously received by the neighboring device Whether the identification information of the area is the same;
    在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息。And determining, according to the location information reporting rule configured by the small-granularity location trigger, when determining that the identifier information of the area corresponding to the received location information is the same as the identifier information of the area corresponding to the location information received by the previous time. And reporting the location information of the terminal device.
  12. 如权利要求11所述的网关设备,其特征在于,The gateway device of claim 11 wherein:
    所述订阅上报模块,还用于在确定接收到的所述位置信息对应的区域的标 识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述小粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,并发送授权变更消息,其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。The subscription reporting module is further configured to determine, in the identifier of the area corresponding to the received location information When the identification information is different from the identification information of the area corresponding to the location information received by the previous time, the location information of the terminal device and the location information are reported according to the location information reporting rule configured by the small-granularity location trigger The identification information of the area corresponding to the location information, and sending an authorization change message, wherein the identifier information of the area is used to notify the area change of the location information of the PCRF terminal device.
  13. 如权利要求9所述的网关设备,其特征在于,所述对应关系为第二类型区域包含的位置信息与大粒度位置触发器之间的对应关系,其中,所述大粒度位置触发器用于指示所述网关设备在确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息;The gateway device according to claim 9, wherein the correspondence relationship is a correspondence between location information included in the second type area and a large-granity location trigger, wherein the large-granularity location trigger is used to indicate When the location information of the terminal device is changed from one area to another area, the gateway device reports location information of the terminal device;
    所述订阅上报模块,具体用于在接收到所述终端设备上报的位置信息时,确定所述终端设备的位置信息由一个区域变更为另一个区域时,上报所述终端设备的位置信息。The subscription reporting module is configured to report the location information of the terminal device when the location information of the terminal device is changed from one area to another when the location information reported by the terminal device is received.
  14. 如权利要求13所述的网关设备,其特征在于,The gateway device of claim 13 wherein:
    所述订阅上报模块,具体用于在接收到所述终端设备上报的位置信息时,判断接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息是否相同;The subscribing and reporting module is configured to: when receiving the location information reported by the terminal device, determine that the identifier information of the region corresponding to the received location information is corresponding to the location information previously received by the neighboring device Whether the identification information of the area is the same;
    在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息不相同时,根据所述大粒度位置触发器配置的位置信息上报规则,上报所述终端设备的位置信息以及所述位置信息对应的区域的标识信息,并发送授权变更消息,其中,所述区域的标识信息用于告知所述PCRF终端设备的位置信息发生的区域变更。And determining, according to the location information configured by the large-granularity location trigger, when the identifier information of the area corresponding to the received location information is different from the identifier information of the area corresponding to the location information received by the previous time. a rule, the location information of the terminal device and the identifier information of the area corresponding to the location information are reported, and an authorization change message is sent, where the identifier information of the area is used to notify the location where the location information of the PCRF terminal device occurs change.
  15. 如权利要求14所述的网关设备,其特征在于,The gateway device of claim 14 wherein:
    所述订阅上报模块,还用于在确定接收到的所述位置信息对应的区域的标识信息与相邻前一次接收到的所述位置信息对应的区域的标识信息相同时,根据所述大粒度位置触发器配置的位置信息上报规则,不上报所述终端设备的位置信息。 The subscription reporting module is further configured to: when determining that the identifier information of the area corresponding to the received location information is the same as the identifier information of the area corresponding to the location information received by the previous time, according to the large granularity The location information reporting rule of the location trigger configuration does not report the location information of the terminal device.
  16. 如权利要求12或14所述的网关设备,其特征在于,A gateway device according to claim 12 or 14, wherein
    所述接收模块,还用于接收所述PCRF发送的授权变更响应消息,其中,所述授权变更响应消息是所述PCRF在确定所述终端设备上报的位置信息对应的位置信息触发器与所述网关设备已配置使用的位置触发器不属于同一个位置触发器时发送的,所述授权变更响应消息中包含了确定所述终端设备上报的位置信息对应的位置信息触发器。 The receiving module is further configured to receive an authorization change response message sent by the PCRF, where the authorization change response message is a location information trigger corresponding to the location information reported by the PCRF in determining the terminal device, The location change trigger corresponding to the location information reported by the terminal device is included in the authorization change response message.
PCT/CN2014/090350 2013-12-27 2014-11-05 Method and device for subscribing position information about terminal device WO2015096556A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310740630.8A CN104754504B (en) 2013-12-27 2013-12-27 A kind of method and apparatus for subscribing to terminal device location information
CN201310740630.8 2013-12-27

Publications (1)

Publication Number Publication Date
WO2015096556A1 true WO2015096556A1 (en) 2015-07-02

Family

ID=53477501

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090350 WO2015096556A1 (en) 2013-12-27 2014-11-05 Method and device for subscribing position information about terminal device

Country Status (2)

Country Link
CN (1) CN104754504B (en)
WO (1) WO2015096556A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106712972B (en) * 2015-07-28 2019-12-13 中国移动通信集团公司 charging rule updating method, device and system
CN106921954B (en) * 2015-12-25 2021-02-19 中兴通讯股份有限公司 Processing method and device for in-out area monitoring
CN109905415B (en) * 2017-12-07 2021-12-03 中国电信股份有限公司 Method for acquiring user position information, network side equipment, user terminal and system
CN110351828B (en) * 2018-04-04 2021-02-09 华为技术有限公司 Positioning method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272274A (en) * 2007-07-24 2008-09-24 华为技术有限公司 Method, device and system for implementing policy and charging control
CN102348190A (en) * 2010-08-05 2012-02-08 大唐移动通信设备有限公司 Event reporting method and equipment
WO2013102648A1 (en) * 2012-01-06 2013-07-11 Alcatel Lucent Reducing the load due to reporting of information changes to a policy and/or charging controller in a mobile communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272274A (en) * 2007-07-24 2008-09-24 华为技术有限公司 Method, device and system for implementing policy and charging control
CN102348190A (en) * 2010-08-05 2012-02-08 大唐移动通信设备有限公司 Event reporting method and equipment
WO2013102648A1 (en) * 2012-01-06 2013-07-11 Alcatel Lucent Reducing the load due to reporting of information changes to a policy and/or charging controller in a mobile communication system

Also Published As

Publication number Publication date
CN104754504B (en) 2019-02-12
CN104754504A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
US11228947B2 (en) Network slice deployment method and related device
US11849389B2 (en) Management of security contexts at idle mode mobility between different wireless communication systems
CN106255152B (en) Assisting mobility management entity overload control functions with traffic load reduction indicators
WO2018141953A1 (en) Methods and apparatuses for indication of data traffic carried over unlicensed spectrum by a secondary evolved node b of a wifi access point
WO2019137286A1 (en) Indication method and apparatus for local area data network
MX2013001214A (en) Method, apparatus and storage element for location based policy for user equipment operating in different areas of a shared home long term evolution system.
KR102580608B1 (en) Information processing methods, devices and computer storage media
MX2013001213A (en) Method and apparatus for policy determination for user equipment providing mutual aid in a visited enterprise operating area of a long term evolution lte system.
KR102290691B1 (en) Communication method and device
WO2016157753A1 (en) Control entity and method therefor
US10616930B2 (en) Communication data processing method, apparatus, and system
WO2015096556A1 (en) Method and device for subscribing position information about terminal device
EP3837814A1 (en) Method for advance notification of changes to network qos capabilities
AU2020462414A1 (en) Communication method, device and system
US11234181B2 (en) Method and device for determining service path
WO2011088194A1 (en) Real time event-driven automation for energy management in a wireless network
CN107005909A (en) Business Stream shunt method and device
EP2989822B1 (en) Reducing location update signaling between network nodes of a mobile communication network
WO2022247537A1 (en) Communication method and communication apparatus
TW201935884A (en) Supporting interworking and/or mobility between different wireless communication systems
EP3614728B1 (en) Method and device for determining service path
US20230156579A1 (en) Detecting ue ping-ponging between different network nodes

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: 14874055

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: 14874055

Country of ref document: EP

Kind code of ref document: A1