WO2018014882A1 - Method and device for acquiring router information, and router addressing apparatus and system - Google Patents

Method and device for acquiring router information, and router addressing apparatus and system Download PDF

Info

Publication number
WO2018014882A1
WO2018014882A1 PCT/CN2017/094139 CN2017094139W WO2018014882A1 WO 2018014882 A1 WO2018014882 A1 WO 2018014882A1 CN 2017094139 W CN2017094139 W CN 2017094139W WO 2018014882 A1 WO2018014882 A1 WO 2018014882A1
Authority
WO
WIPO (PCT)
Prior art keywords
signaling
pcrf
link
module
message
Prior art date
Application number
PCT/CN2017/094139
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 WO2018014882A1 publication Critical patent/WO2018014882A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for acquiring routing information, a routing addressing device, and a system.
  • PCRF Policy and Charging Rule Function
  • PCEF Policy and Charging Enforcement Function
  • PCC Policy and Charging Control
  • DRA Diameter Routing Agent
  • 3GPP 3rd Generation Partnership Project
  • the scheme of the address which requires the construction cost and operation and maintenance cost for the DRA equipment because of the introduction of the new DRA network element; the other is the PCEF and the service system (the 3GPP's Policy and charging control architecture specification 3GPP)
  • the AF in the TS 23.203 the full name of the Application Function, all of which uses the AF to refer to the service system, adds a static routing table, and the static routing table stores the correspondence between the PCRF and the terminal device identifier.
  • both the PCEF and the service system side need to maintain a static routing table, and the two static routing tables should be modified according to the changes of the PCRF and the terminal device at any time, which increases the maintenance workload and develops corresponding software logic.
  • Corresponding processing especially for a network element defined by the 3GPP standard such as PCEF, this software logic is not supported by the standard specification, and it is difficult to get commercial promotion.
  • Embodiments of the present invention provide a method and apparatus for acquiring routing information, a routing addressing device, and a system, to at least solve the related art, which need to rely on DRA for multi-PCRF routing addressing, or in the case of multiple PCRF, PCEF and AF are required.
  • the custom development leads to the problem of high operation and maintenance costs.
  • a method for obtaining routing information comprising: transmitting a signaling message for a dynamic policy and a charging request to a policy and charging control unit PCRF; acquiring in response to the signaling message The routing information of the successful PCRF, and the routing information is sent to the application function AF, wherein the routing information is used to indicate that the application function AF performs routing addressing according to the routing information.
  • the obtaining the routing information of the PCRF that is successful in the response to the signaling message includes: receiving, by the PCRF, a response message in response to the signaling message, where the response message carries the response message Whether to respond to a successful return code; determine according to the return code Responding to the successful response message; obtaining the response message corresponding to the successful response to the PCRF routing information.
  • the method before sending the signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF, the method further includes: receiving the signaling message sent by the AF.
  • the manner of sending the signaling message for the dynamic policy and the charging request to the PCRF includes one of the following: a parallel sending mode, a serial sending mode.
  • the method further includes: acquiring a change of the PCRF in the network; and adjusting a link state between the PCRF and the PCRF according to the change.
  • the change situation includes one of the following: a new signaling link, a modified signaling link, a signaling link, and a signaling link when the signaling link is abnormal;
  • Adjusting the link state with the PCRF includes at least one of: generating a new instruction for creating a new signaling link, and newly establishing a signaling link with the PCRF according to the new instruction; generating for modifying Modifying a signaling link, and modifying a signaling link with the PCRF according to the modification instruction; generating a deletion instruction for deleting the signaling link, and deleting the letter between the PCRF and the PCRF according to the deletion instruction And causing a link; when the signaling link is abnormal, generating a handover instruction for switching the signaling link, and switching the signaling link with the PCRF according to the handover instruction.
  • an apparatus for obtaining routing information including: a sending module, configured to send a signaling message for a dynamic policy and a charging request to a policy and charging control unit PCRF; and an acquiring module, And being configured to obtain the routing information of the PCRF that is successful in response to the signaling message, and send the routing information to the application function AF, where the routing information is used to indicate that the application function AF performs routing addressing according to the routing information.
  • the acquiring module includes: a receiving unit, configured to receive a response message that the PCRF responds to the signaling message, where the response message carries a return code for indicating whether the response message is successful; And a determining unit, configured to determine, according to the return code, a response message that the response is successful; and the acquiring unit is configured to obtain routing information corresponding to the PCRF corresponding to the response message that the response is successful.
  • the device before the sending module sends the signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF, the device further includes: a receiving module, configured to connect Receiving the signaling message sent by the AF.
  • the manner in which the sending module sends the signaling message for the dynamic policy and the charging request to the PCRF includes one of the following: a parallel sending mode and a serial sending mode.
  • the device further includes: an obtaining module, configured to acquire a change of the PCRF in the network; and an adjusting module, configured to adjust a link state between the PCRF and the PCRF according to the change.
  • the change situation includes one of the following: a new signaling link; modifying a signaling link; receiving for deleting a signaling link; and switching a signaling link when the signaling link is abnormal;
  • the adjustment module includes at least one of the following: a first adjustment unit configured to generate a new instruction for creating a new signaling link, and newly establishing a signaling link with the PCRF according to the new instruction; a unit, configured to generate a modification instruction for modifying a signaling link, and modify a signaling link with the PCRF according to the modifying unit; and a third adjusting unit configured to generate a deletion for deleting the signaling link And deleting a signaling link between the PCRF and the PCRF according to the deletion instruction; the fourth adjusting unit is configured to generate a switching instruction for switching the signaling link when the signaling link is abnormal, and according to the switching instruction Switching between the signaling link with the PCRF.
  • a route addressing device comprising: a signaling broadcast module, configured to receive a dynamic policy and a charging request signaling message initiated by an application function AF, and broadcast the signaling message a policy and charging control unit PCRF; and a response message that receives the PCRF in response to the signaling message; a routing addressing module coupled to the signaling broadcast module, configured to obtain a successful response from the response message Routing information of the PCRF; the signaling broadcast module is further configured to extract routing information of the PCRF that is successfully responded to and forward the information to the AF.
  • the device further includes: a link management module, coupled to the link connection module, configured to perform configuration management and maintenance on the signaling link.
  • a link management module coupled to the link connection module, configured to perform configuration management and maintenance on the signaling link.
  • the link management module is further configured to acquire a change of the PCRF in the network, where the change includes at least one of: newly establishing a signaling link; modifying a signaling link; and deleting the signaling chain a path; when the signaling link is abnormal, switching a signaling link; the link management module, Is further configured to generate a management instruction according to the change situation, and send the management instruction to a link connection module; wherein the management instruction comprises at least one of: a new instruction for creating a new signaling link, for Modifying a modification instruction of the signaling link, a deletion instruction for deleting the signaling link, and a switching instruction for switching the signaling link.
  • the device further includes: a link connection module, coupled to the link management module, configured to receive the link management instruction of the link management module; and perform a letter with the PCRF Linking the link; wherein performing the signaling link connection with the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the new instruction, modifying and PCRF according to the modification instruction
  • the signaling link between the UE and the PCRF is deleted according to the deletion instruction, and the signaling link between the PCRF and the PCRF is switched according to the handover instruction.
  • the link connection module is coupled to the signaling broadcast module, and is further configured to broadcast the signaling message received by the signaling broadcast module to a policy and charging control unit PCRF; and receive the PCRF Responding to the response message of the signaling message and forwarding to the signaling broadcast module.
  • PCRF policy and charging control unit
  • a route addressing system comprising: the route addressing device, the policy and charging control unit PCRF, and the application function AF according to any one of the above;
  • the routing and addressing device includes: a signaling broadcast module, configured to receive the AF-initiated dynamic policy and charging request signaling message, and broadcast the signaling message to the PCRF; and receive the The PCRF is responsive to the response message of the signaling message; the route addressing module is coupled to the signaling broadcast module, and configured to obtain, from the response message, routing information of the PCRF that responds successfully; the signaling broadcast module And is further configured to extract routing information of the PCRF that responds successfully and forward it to the AF.
  • the route addressing device further includes: a link management module, coupled to the link connection module, configured to perform configuration management and maintenance on the signaling link.
  • a link management module coupled to the link connection module, configured to perform configuration management and maintenance on the signaling link.
  • the link management module is further configured to acquire a change of the PCRF in the network, where the change includes at least one of: newly establishing a signaling link; modifying a signaling link; and deleting the signaling chain a path; when the signaling link is abnormal, switching a signaling link; the link management module, Is further configured to generate a management instruction according to the change situation, and send the management instruction to a link connection module; wherein the management instruction comprises at least one of: a new instruction for creating a new signaling link, for Modifying a modification instruction of the signaling link, a deletion instruction for deleting the signaling link, and a switching instruction for switching the signaling link.
  • the routing and addressing device further includes: a link connection module, coupled to the link management module, configured to receive the link management command of the link management module; and execute with a PCRF a signaling link connection between the UE and the PCRF, wherein the signaling link connection with the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the new instruction, and modifying according to the modification instruction And a signaling link between the PCRF and the PCRF, and a signaling link between the PCRF and the PCRF according to the deletion instruction.
  • a method for obtaining routing information based on a routing addressing system comprising: a routing addressing device, a policy and charging control unit PCRF, and an application function AF;
  • the method includes: a dynamic policy and a charging request signaling message initiated by the AF to the routing addressing device; the routing addressing device broadcasts the signaling message to the PCRF; the PCRF Sending, to the routing addressing device, a response message in response to the signaling message; the routing addressing device acquires routing information of the PCRF that responds successfully from the response message, and extracts a route of the PCRF that responds successfully The information is forwarded to the AF.
  • the signaling message for the dynamic policy and the charging request is sent to the policy and charging control unit PCRF, and the routing information of the PCRF that is successful in response to the signaling message is obtained, and the routing information is sent.
  • the function AF that is, to obtain the routing information of the PCRF that responds successfully, thereby solving the need for relying on the DRA for multi-PCRF routing addressing in the related art, or requiring customized development of PCEF and AF in the case of multiple PCRFs. This leads to the problem of high operation and maintenance cost, which in turn reduces the difficulty of maintenance and saves costs.
  • FIG. 1 is a flowchart of a method for obtaining routing information according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for acquiring routing information according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a direct-connected PCRF broadcast message routing and addressing method according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a link switching method of a direct-connect PCRF broadcast message routing addressing method according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram showing the composition of a direct-connect PCRF broadcast message routing and addressing apparatus according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a logical interface of a direct-connected PCRF broadcast message routing and addressing apparatus according to an embodiment of the present invention
  • FIG. 7 is a flowchart of a link management method based on a route addressing device according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of a link switching method based on a route addressing device according to an embodiment of the present invention
  • FIG. 9 is a flowchart of a method for performing signaling based on a routing addressing device according to an embodiment of the present invention.
  • FIG. 10 is a flow chart of signaling after successful addressing based on a routing addressing device, in accordance with an embodiment of the present invention.
  • FIG. 11 is a signaling flowchart of applying for bandwidth acceleration based on a routing addressing device according to an embodiment of the present invention
  • FIG. 12 is a signaling flow diagram of applying for a no-flow fee based on a routing addressing device in accordance with an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for obtaining routing information according to an embodiment of the present invention. As shown in FIG. 1 , the steps of the method include:
  • Step S102 Send a signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF;
  • Step S104 Acquire routing information of the PCRF that is successful in response to the signaling message, and send routing information to the application function AF, where the routing information is used to indicate that the application function AF performs routing addressing according to the routing information.
  • the signaling message for the dynamic policy and the charging request is sent to the policy and charging control unit PCRF, and the routing information of the PCRF succeeding in response to the signaling message is obtained, and the route is sent.
  • the information to the application function AF that is, the routing information of the PCRF that responds successfully can be obtained, thereby solving the need of relying on the DRA for multi-PCRF routing addressing in the related art, or the customization of PCEF and AF in the case of multiple PCRFs.
  • the development leads to the problem of large operation and maintenance cost, thereby achieving the effect of reducing maintenance difficulty and saving cost.
  • the manner of obtaining the routing information of the PCRF that is successful in responding to the signaling message involved in step S104 of the embodiment may be implemented as follows:
  • Step S104-1 Receive a response message of the PCRF in response to the signaling message, where the response message carries a return code indicating whether the response message is successful.
  • Step S104-2 determining, according to the return code, a response message that the response is successful
  • Step S104-3 Acquire routing information corresponding to the PCRF corresponding to the response message that the response is successful.
  • the method in this embodiment before sending the signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF, the method in this embodiment further includes: receiving the signaling message sent by the AF .
  • the manner of sending the signaling message for the dynamic policy and the charging request to the PCRF involved in the embodiment includes one of the following: a parallel sending mode and a serial sending mode.
  • the signaling message involved in this embodiment may be a Diameter signaling message.
  • the manner of the foregoing embodiment may be: receiving an AF-initiated dynamic policy and a charging request signaling message, which is responsible for parallel The mode broadcasts this Diameter signaling to each PCRF to perform signaling interaction with the PCRF. And receiving the Diameter signaling of the PCRF response, and performing route addressing analysis on the Diameter signaling of the response, and obtaining routing information such as an address or a host name of the PCRF in the Diameter signaling of the response after determining the response is successful, and routing the route The information is returned to the AF along with the dynamic policy and the charging response signaling message.
  • the method in this embodiment may further include:
  • Step S110 Acquire a change of the PCRF in the network.
  • Step S112 Adjust the link state between the PCRF and the PCRF according to the change situation.
  • the obtaining change includes one of the following: receiving a new instruction for newly creating a signaling link, receiving a modification instruction for modifying a signaling link, receiving a deletion instruction for deleting a signaling link, and a signaling chain.
  • receiving a switching instruction for switching the signaling link When the path is abnormal, receiving a switching instruction for switching the signaling link;
  • Adjusting the link state with the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the new instruction; modifying the signaling link with the PCRF according to the modification instruction; deleting and deleting according to the deletion instruction A signaling link between the PCRFs; switching the signaling link with the PCRF according to the handover command.
  • the foregoing adjusting the link state may be: generating a new Diameter signaling link command according to the PCRF device existing in the network, and further increasing the PCRF according to the link information, and further, according to the PCRF device in the network.
  • the change condition produces a modified Diameter signaling link command for deleting the Diameter signaling link, modifying the Diameter signaling link command and deleting the Diameter signaling link.
  • the link between the PCRF and the PCRF is abnormal, it is determined whether the PCRF supports the primary and backup links. When the primary and backup links exist, a handover command is generated for performing primary and backup link switching with the PCRF. .
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be through hardware, but in many cases the former is a better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • a device for obtaining routing information is provided, which is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the apparatus includes: a sending module 22 configured to send a dynamic policy and charging request to a policy and charging control unit PCRF.
  • the routing module 24 is coupled to the sending module 22, configured to obtain routing information of the PCRF that is successful in responding to the signaling message, and send routing information to the application function AF, where the routing information is used to indicate the application function AF. Route addressing based on routing information.
  • the obtaining module 24 includes: a receiving unit, configured to receive a response message of the PCRF in response to the signaling message, where the response message carries a return code for indicating whether the response message is successful, and the determining unit is configured to return according to The code determines a response message that the response is successful; the obtaining unit is configured to obtain routing information corresponding to the PCRF corresponding to the response message that the response is successful.
  • the apparatus in this embodiment further includes: a receiving module, configured to receive the signaling message sent by the AF.
  • the sending module sends a signaling message for the dynamic policy and the charging request to the PCRF.
  • the method includes one of the following: parallel transmission mode, serial transmission mode.
  • the apparatus of this embodiment further includes: an obtaining module configured to acquire a change of the PCRF in the network; and an adjusting module configured to adjust a link state between the PCRF and the PCRF according to the change.
  • the obtaining module includes one of the following: a first receiving unit configured to receive a new instruction for creating a new signaling link, and a second receiving unit configured to receive a modified instruction for modifying the signaling link, and a third a receiving unit, configured to receive a delete instruction for deleting a signaling link; and a fourth receiving unit configured to receive a switching instruction for switching the signaling link when the signaling link is abnormal;
  • the adjustment module includes at least one of: an establishing unit configured to newly establish a signaling link with the PCRF according to the new instruction; and a modifying unit configured to modify the signaling link between the PCRF and the PCRF according to the modifying unit; And being configured to delete the signaling link between the PCRF and the PCRF according to the deletion instruction; and the switching unit is configured to switch the signaling link between the PCRF and the PCRF according to the handover instruction.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • the embodiment further provides a system for acquiring routing information, including: the device for acquiring routing information, the policy and charging control unit PCRF, and the application function AF.
  • the embodiment further provides a routing and addressing device, the device comprising: a signaling broadcast module and a routing addressing module; wherein
  • a signaling broadcast module configured to receive a dynamic policy and a charging request signaling message initiated by the application function AF, and broadcast the signaling message to the policy and charging control unit PCRF; and receive a response message of the PCRF in response to the signaling message;
  • a route addressing module coupled to the signaling broadcast module, configured to obtain, from the response message, routing information of the PCRF that responds successfully;
  • the signaling broadcast module is further configured to extract routing information of the PCRF that responds successfully and forward it to the AF.
  • the device in this embodiment further includes: a link management module, coupled to the link connection module, configured to perform configuration management and maintenance on the signaling link.
  • a link management module coupled to the link connection module, configured to perform configuration management and maintenance on the signaling link.
  • the link management module in this embodiment is further configured to obtain a change of the PCRF in the network, where the change includes at least one of the following: a new signaling link; a link; deleting a signaling link; switching a signaling link when the signaling link is abnormal; and generating a management instruction according to the change, and transmitting the management instruction to the link connection module; wherein the management instruction includes at least the following A new instruction for creating a new signaling link, a modification instruction for modifying a signaling link, a deletion instruction for deleting a signaling link, and a handover instruction for switching a signaling link.
  • the apparatus of this embodiment further includes: a link connection module, coupled to the link management module, configured to receive a link management command of the link management module; and perform a signaling link connection with the PCRF
  • the signaling link connection between the execution and the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the new instruction, modifying the signaling link between the PCRF and the modified instruction according to the modified instruction, according to The delete instruction deletes the signaling link with the PCRF, and switches the signaling link between the PCRF and the PCRF according to the handover instruction.
  • the link connection module is coupled to the signaling broadcast module, and is further configured to broadcast the signaling message received by the signaling broadcast module to the policy and charging control unit PCRF; and receive the PCRF in response to the signaling message. Respond to the message and forward it to the signaling broadcast module.
  • the embodiment provides a route addressing system, including: the route addressing device, the policy and charging control unit PCRF, and the application function AF of any of the above;
  • the route addressing device includes: a signaling broadcast module, configured to receive an AF-initiated dynamic policy and a charging request signaling message, and broadcast the signaling message to the PCRF; and receive the PCRF And a routing address module, coupled to the signaling broadcast module, configured to obtain routing information of the PCRF that responds successfully from the response message; and the signaling broadcast module is further configured to extract the PCRF that successfully responds Routing information and forwarded to AF.
  • the routing and addressing device further includes: a link management module coupled to the link connection module and configured to perform configuration management and maintenance on the signaling link.
  • the link management module is further configured to obtain a change of the PCRF in the network, where the change includes at least one of: newly establishing a signaling link; modifying a signaling link; deleting the signaling link; When the link is abnormal, the signaling link is switched; the link management module is further configured to generate a management instruction according to the change situation, and send the management instruction to the link connection module; wherein the management instruction includes at least one of the following: A new instruction of a new signaling link, a modification instruction for modifying a signaling link, a deletion instruction for deleting a signaling link, and a handover instruction for switching a signaling link.
  • the routing and addressing device further includes: a link connection module, coupled to the link management module, configured to receive a link management command of the link management module; and perform a signaling link connection with the PCRF;
  • the signaling link connection between the execution and the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the new instruction, modifying the signaling link between the PCRF according to the modified instruction, and deleting according to the deletion
  • the instruction deletes the signaling link between the PCRF and the signaling link between the PCRF and the PCRF according to the handover instruction.
  • the embodiment further provides a method for obtaining routing information, the routing addressing system includes: a routing addressing device, a policy and charging control unit PCRF, and an application function AF;
  • steps of the method include:
  • Step S202 The dynamic policy and charging request signaling message initiated by the AF to the routing address device;
  • Step S204 The routing addressing device broadcasts the signaling message to the PCRF;
  • Step S206 The PCRF sends a response message in response to the signaling message to the routing address device.
  • Step S208 The routing addressing device obtains the routing information of the PCRF that responds successfully from the response message, and extracts the routing information of the PCRF that responds successfully and forwards the information to the AF.
  • This embodiment provides a route addressing method.
  • the method in this embodiment does not rely on DRA for routing addressing in the case of multiple PCRFs, and avoids custom development of PCEF and AF in the case of multiple PCRFs, thereby solving the multi-PCRF situation.
  • the PCRF routing problem under the route is not rely on DRA for routing addressing in the case of multiple PCRFs, and avoids custom development of PCEF and AF in the case of multiple PCRFs, thereby solving the multi-PCRF situation.
  • the PCRF routing problem under the route is not rely on DRA for routing addressing in the case of multiple PCRFs, and avoids custom development of PCEF and AF in the case of multiple PCRFs, thereby solving the multi-PCRF situation.
  • the Diameter protocol is used to interface with the PCRF and perform message interaction according to the Rx interface specification supported by the PCRF, and the PCRF device is provided. Performing message interaction, and accepting Diameter response signaling messages returned by each PCRF device at the same time or sequentially.
  • the return message by determining the return code of each message, a successful response message is determined, and each message can be sorted out.
  • the PCRF to which the Rx session newly initiated by the AF belongs extracts the PCRF routing information such as the PCRF address or the host name from the response signaling message, and completes the routing addressing of the PCRF.
  • the device for directly addressing the PCRF broadcast message in the embodiment includes: a link management module, a link connection module, a signaling broadcast module, and a route addressing module, where
  • the link management module provides configuration management and maintenance functions for the Diameter signaling link.
  • the link management module adds the Diameter signaling link information according to the PCRF device existing in the network, and the new link command is sent to the link connection module; the link management module modifies the change according to the PCRF device in the network.
  • the Diameter signaling link information, and the modified link command is sent to the link connection module; the link management module deletes the Diameter signaling link information according to the change of the PCRF device in the network, and releases the link command to the link chain.
  • Road connection module When the link management module receives the link abnormality between the link and the PCRF, the link management module determines whether the PCRF supports the primary and backup links, and the link connection module and the PCRF exist for the primary and backup devices. On the link, the command is sent to notify the link connection module and the PCRF to perform the primary and backup link switching.
  • the link connection module receives the link management command of the link management module, performs a Diameter signaling link connection with the multiple PCRFs, and receives a switching instruction of the primary and backup Diameter signaling links of the link management module to implement Switching between links. Specifically, when the link management mode is received The new link command sent by the block, the link connection module establishes a Diameter signaling link with the corresponding PCRF according to the content of the instruction; when receiving the modified link command sent by the link management module, the link connection module follows the instruction content.
  • Finding the existing link and modifying the Diameter signaling link with the corresponding PCRF when receiving the delete link command sent by the link management module, the link connection module finds the existing link according to the content of the instruction, And deleting the Diameter signaling link with the corresponding PCRF; at the same time, the link connection module monitors the health status of each Diameter signaling link established with the PCRF device to ensure that the abnormal link is detected in time. When an abnormal link is found, a link exception message is reported to the link management module.
  • the link connection module receives the link management module to issue a link switching instruction, according to the content of the instruction, the connection of the primary link or the working link is interrupted, and the standby Diameter signaling link corresponding to the PCRF is switched to complete the chain with the PCRF. Road switching ensures high link availability with the PCRF.
  • the signaling broadcast module receives the AF-initiated dynamic policy and the charging request signaling message, and is responsible for broadcasting the Diameter signaling to each PCRF through the link connection module in a parallel manner.
  • the signaling broadcast module performs signaling message encapsulation group packets through the Rx interface specification followed by the PCRF, and advertises Diameter broadcast signaling, and performs signaling interaction between the link connection module and the PCRF.
  • the link connection module returns the Diameter signaling that receives the PCRF response to the signaling broadcast module.
  • the signaling broadcast module After receiving the Diameter signaling from the link connection module, the signaling broadcast module forwards the Diameter signaling to the route addressing module, and the route addressing module performs route addressing analysis, waiting for the route addressing result of the route addressing module.
  • the signaling broadcast module After receiving the PCRF route addressing result of the route addressing module, the signaling broadcast module terminates to continue to broadcast the dynamic policy and charging request signaling message of the uncompleted broadcast in the new session to the link connection module.
  • the link connection module is notified of the PCRF route addressing result, and then the signaling broadcast module extracts routing information such as the address or host name of the PCRF in the route addressing result message returned by the routing addressing module, and the routing information is obtained.
  • the AF is returned along with the dynamic policy and the charging response signaling message.
  • the routing addressing module receives the Diameter response signaling from each PCRF forwarded by the signaling broadcast module, parses the signaling content for each PCRF reply signaling, determines whether the signaling of the PCRF response is successful, and if it is a failed response message, Continue to parse and judge the next response message. After receiving any correct PCRF response message, stop monitoring and processing other PCRFs.
  • the notification signaling broadcast module stops the signaling broadcast, and extracts the address or host name information of the PCRF from the successful response message, that is, determines the PCRF to which the terminal device Gx and the Rx session belong, implements the routing addressing of the PCRF, and then The address or host name information of the addressed PCRF is returned to the signaling broadcast module.
  • Embodiment 3 will be described in detail below with reference to the drawings and Embodiments 6 to 13.
  • FIG. 3 is an embodiment according to the present invention.
  • Step S302 the AF sends a "dynamic policy and charging request message" to the routing addressing device involved in this embodiment;
  • the AF may be an application running on the mobile terminal, or may be a background program from the server; 2)
  • the “dynamic policy and charging request message” refers to an interface message provided by the PCRF, and the AF may request through the interface message.
  • the PCRF and the underlying related network system provide corresponding policy and charging control functions;
  • Step S304 the routing addressing device simultaneously sends a "dynamic policy and charging request message" signaling to a plurality of PCRFs that establish a connection with the device, that is, polling each PCRF one by one;
  • Step S306 the routing addressing apparatus receives response signalings that are sequentially or simultaneously returned by multiple PCRFs, parses and determines a response return code
  • Step S308 the routing addressing device extracts the address or host name of the PCRF that responds successfully, that is, addresses the corresponding PCRF, and implements correct routing of the AF message.
  • FIG. 4 is a flowchart of a link switching method based on a route addressing method according to an embodiment of the present invention. As shown in Figure 4, the steps of the method include:
  • Step S402 The route addressing device configures a link with each PCRF existing in the network
  • Step S404 The routing addressing device monitors the status of each link by using a heartbeat, and timely grasps the status of each link.
  • Step S406 When the route addressing device monitors the link abnormality, the standby link is started to implement redundancy protection of the link.
  • FIG. 5 is a schematic diagram of a composition of a direct-connect PCRF broadcast message routing and addressing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes:
  • the link management module 501 provides configuration and management maintenance functions of the Diameter signaling link.
  • the link management module adds the Diameter signaling link information according to the PCRF device existing in the network, and sends the new link command to the link connection module 502.
  • the link management module 501 changes according to the PCRF device in the network. Modifying the Diameter signaling link information, and the modified link command is sent to the link connection module; the link management module deletes the Diameter signaling link information according to the change of the PCRF device in the network, and releases the link command. Connect the link to the module.
  • the link management module When the link management module receives the link abnormality between the link and the PCRF that is reported by the link connection module, the link management module determines whether the PCRF supports the link and the link connection module and the PCRF have a primary and backup link, and then issues an instruction. Notifying the link connection module to perform active/standby link switching;
  • the link connection module 502 receives the link management command of the link management module 501, performs a Diameter signaling link connection with multiple PCRFs or multiple sets of PCRFs, and receives the primary and backup Diameter signaling chains of the link management module.
  • the switching instruction of the road realizes switching between links. Specifically, when receiving the new link command sent by the link management module, the link connection module establishes a Diameter signaling link with the corresponding PCRF according to the content of the instruction; when receiving the modified link command sent by the link management module The link connection module searches for an existing link according to the content of the instruction, and modifies the Diameter signaling link with the corresponding PCRF; when receiving the delete link command sent by the link management module, the link connection module follows the instruction content.
  • the link connection module monitors the health status of each Diameter signaling link established by the link connection module and the PCRF device, ensuring discovered in time An abnormal link reports an abnormal link message to the link management module when an abnormal link is found.
  • the link connection module receives the link management module to issue a link switching instruction, according to the content of the instruction, the connection of the primary link or the working link is interrupted, and the standby Diameter signaling link corresponding to the PCRF is switched to complete the chain with the PCRF. Road switching to ensure high availability of links with the PCRF;
  • the signaling broadcast module 503 receives the AF-initiated dynamic policy and the charging request signaling message, and is responsible for broadcasting the Diameter signaling to each PCRF through the link connection module 502 in a parallel manner or in a serial manner.
  • the signaling broadcast module performs signaling message encapsulation group packets through the Rx interface specification followed by the PCRF, and advertises Diameter broadcast signaling, and performs signaling interaction between the link connection module and the PCRF.
  • the link connection module returns the Diameter signaling that receives the PCRF response to the signaling broadcast module.
  • the signaling broadcast module After receiving the Diameter signaling from the link connection module, the signaling broadcast module forwards the Diameter signaling to the route addressing module, and the route addressing module performs route addressing analysis, waiting for the route addressing result of the route addressing module. After receiving the PCRF route addressing result of the route addressing module, the signaling broadcast module terminates to continue to broadcast the dynamic policy and charging request signaling message of the uncompleted broadcast in the new session to the link connection module. At the same time, the link connection module is notified of the PCRF route addressing result, and then the routing information such as the address or host name of the PCRF in the route addressing result message returned by the routing addressing module is extracted, and the routing information and the dynamic policy are The charging response signaling message is returned to the AF together;
  • the routing and addressing module 504 receives the Diameter response signaling from each PCRF forwarded by the signaling broadcast module 503, parses the signaling content for each PCRF reply signaling, determines whether the signaling of the PCRF response is successful, and if it is a failed response message Then, it continues to parse and judge the next response message. After receiving any correct PCRF response message, it stops monitoring and processing the response messages of other PCRFs, notifies the signaling broadcast module to stop the signaling broadcast, and extracts from the successful response message.
  • the address or host name information of the PCRF that is, the PCRF that determines the location of the terminal device Gx and the Rx session, implements routing addressing of the PCRF, and then returns the address or host name information of the addressed PCRF to the signaling broadcast module.
  • the module, the link connection module, and the link management module are corresponding.
  • FIG. 6 is a schematic diagram of a logical interface of a direct-connected PCRF broadcast message routing and addressing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus of this embodiment includes:
  • the link management interface 601 the link management module sends a link creation, modification, deletion, and the like to the link connection module through the interface;
  • the link switching interface 602 the link management module sends a switching instruction of the primary and backup links to the link connection module through the interface;
  • the link monitoring module 603 monitors the link health status between the link and the PCRF, and reports the link health status to the link management module through the interface.
  • a dynamic policy and charging signaling interface 604 the AF initiating a dynamic policy and charging request message to the signaling broadcast module according to the interface;
  • the signaling forwarding interface 605 after receiving the request signaling of the AF, the signaling broadcast module forwards the dynamic policy and the charging signaling to the link connection module through the interface;
  • the link connecting module sends the signaling from the signaling broadcast module to the PCRF group through the interface;
  • the routing addressing interface 607 the signaling broadcast module sends the response signaling returned by each PCRF to the routing addressing module;
  • the addressing end interface 608 the routing addressing module sends a complete routing address to the signaling broadcast module, and ends the addressing instruction.
  • FIG. 7 is a flowchart of a link management method based on a route addressing device according to an embodiment of the present invention. As shown in FIG. 7, the steps of the method include:
  • Step S702 The link management module initiates configuration management of a signaling link between the link connection module of the device and the PCRF, including establishing a link, modifying an existing link, and deleting an existing link.
  • Step S704 The link management module sends a link management command to the link connection module through the link management interface.
  • Step S706 The link connection module receives the link configuration command from the link management module, and then returns a response message to confirm that the link management command has been received.
  • Step S708 The link connection module establishes a signaling link with the PCRF according to the link management instruction of the link management module.
  • FIG. 8 is a flowchart of a link switching method based on a route addressing device according to an embodiment of the present invention. As shown in FIG. 8, the steps of the method include:
  • Step S802 The link connection module monitors a link state between each PCRF
  • Step S804 The link connection module reports an abnormal status message of the link to the link management module when the link between the one or more PCRFs is abnormal, such as a timeout or a connection failure. ;
  • Step S806 The link management module performs analysis on the link data of the corresponding PCRF to determine whether the PCRF supports the primary and backup links, and the configuration of the primary and backup links exists between the link connection module and the PCRF. If the link is configured, and the link connection module and the PCRF have the configuration of the primary and backup links, step S808 is performed; otherwise, an alarm is sent to the administrator;
  • Step S808 The link management module sends a link switching instruction to the link connection module, indicating that the link connection module performs a link switching with the PCRF.
  • Step S810 The link connection module performs primary and backup link switching.
  • the switching of the primary and backup links includes: when the primary link is abnormal, and the standby link is available, the primary link is switched to the standby link, or when the primary link is restored, the secondary link is switched back to the primary link.
  • FIG. 9 is a flowchart of a method for performing signaling based on a routing addressing device according to an embodiment of the present invention. As shown in FIG. 9, the steps of the method include:
  • Step S902 The AF initiates the initial dynamic policy and the charging signaling request to the signaling broadcast module, and intends to complete the routing addressing to the PCRF by using other modules of the device corresponding to the present invention, including the signaling broadcast module, and finally signaling.
  • the message is sent to the correct PCRF;
  • Step S904 After receiving the initial signaling request of the AF, the signaling broadcast module forwards the signaling request message to the link connection module to ensure that the same signaling is sent to all PCRFs that have established a normal link with the link connection module. request;
  • Step S906 The link connection module broadcasts a signaling request message to the multiple PCRFs, and supports signaling and concurrent signaling to send signaling to each PCRF.
  • Step S908 The link connection module receives the response signaling message returned by each PCRF.
  • the response signaling message may arrive at the link connection module in succession, or may reach the link connection module in part at the same time;
  • Step S910 The link connection module forwards the response signaling message returned by the PCRF to the signaling broadcast module.
  • the response signaling message may arrive at the signaling broadcast module one after another, or may reach the signaling broadcast module at the same time;
  • Step S912 The signaling broadcast module requests the routing addressing module to perform routing addressing according to the routing addressing interface according to the routing addressing interface.
  • Step S914 The route addressing module performs a routing and addressing operation, specifically including parsing the response signaling content, determining whether the signaling of each PCRF response is successful, and if the response message is a failure, continuing to parse and determine the next response message, when receiving any After a correct PCRF response message, the notification signaling broadcast module stops the signaling broadcast, stops monitoring and processing other PCRF response signaling messages from the signaling broadcast module, and then extracts the PCRF address or host name from the successful response message.
  • Information determining a PCRF device, that is, determining a PCRF to which the terminal device Gx and the Rx session belong, and implementing routing addressing of the PCRF;
  • Step S916 The routing addressing module returns the address or host name information of the addressed PCRF to the signaling broadcast module.
  • Step S918 The signaling broadcast module terminates the broadcast dynamic policy and the charging request signaling message, that is, the dynamic policy and the charging request signaling message that are not transmitted completely are not sent to the link connection module.
  • Step S920 The signaling broadcast module returns a route addressing result to the link connection module, so that the link connection module terminates and continues to forward the remaining response signaling from the PCRF to the signaling broadcast module. interest;
  • Step S922 The signaling broadcast module extracts routing information such as an address or a host name of the PCRF from the route addressing response message of the routing addressing module.
  • Step S924 The signaling broadcast module returns a dynamic policy and an accounting response message to the AF, where the message includes the PCRF routing information, so that the AF directly carries the PCRF routing information in the subsequent signaling interaction of the session.
  • FIG. 10 is a flow chart of signaling after a successful addressing based on a routing addressing device according to an embodiment of the present invention. As shown in FIG. 10, the method steps of this embodiment include:
  • Step S1002 After the PCRF route is successfully addressed, the AF carries the PCRF routing information previously returned by the signaling broadcast module, and sends a dynamic policy and a charging request signaling message to the signaling broadcast module.
  • Step S1004 The signaling broadcast module sends a dynamic policy and a charging request signaling message to the link connection module.
  • Step S1006 The link connection module forwards the dynamic policy and the charging request signaling message to the designated PCRF for the PCRF routing information carried in the message.
  • Step S1008 The PCRF returns a dynamic policy and a charging response signaling message to the link connection module.
  • Step S1010 The link connection module forwards the dynamic policy and the charging response signaling message to the signaling broadcast module.
  • Step S1012 The signaling broadcast module returns a dynamic policy and a charging response signaling message to the AF.
  • the main scenario corresponding to this embodiment is that the user uses the mobile phone to watch the video on the Internet in crowded places. Because there are many people surfing the Internet, the network speed is not ideal, resulting in inconsistent video playback and affecting the user experience.
  • the user can increase the bandwidth of the wireless Internet at this time, and at the same time, ensure that the QoS service quality such as the bandwidth of the user is stable.
  • Figure 11 A signaling flowchart for applying for bandwidth acceleration based on a routing addressing device according to an embodiment of the present invention; as shown in FIG. 11, the steps of this embodiment include:
  • step S1102 the video APP (ie, the AF corresponding to the PCC architecture) initiates the initial dynamic bandwidth acceleration QoS policy request signaling to the signaling broadcast module, and is intended to be completed by other modules of the device corresponding to the embodiment, including the signaling broadcast module.
  • the routing of the PCRF is routed, and finally the signaling message is sent to the correct PCRF.
  • the mobile Internet APP is not limited to the video type, and other applications, such as a game application, a mobile office application, and the like, where the user uses the mobile terminal to access the Internet, and applications and scenarios having bandwidth and other QoS requirements are applicable;
  • Step S1104 After receiving the initial signaling request of the video APP, the signaling broadcast module forwards the signaling request message to the link connection module to ensure that the same letter is sent to all PCRFs that have established a normal link with the link connection module. Order
  • Step S1106 The link connection module broadcasts a signaling request message to the multiple PCRFs, and supports signaling and signaling to send signaling to each PCRF.
  • Step S1108 The link connection module receives the response signaling message returned by each PCRF.
  • the response signaling message may arrive at the link connection module in succession, or may reach the link connection module in part at the same time;
  • Step S1110 The link connection module forwards the response signaling message returned by the PCRF to the signaling broadcast module.
  • the response signaling message may arrive at the signaling broadcast module in succession, or may reach the signaling broadcast module in part at the same time;
  • Step S1112 The signaling broadcast module requests the routing addressing module to perform routing addressing according to the routing addressing interface according to the routing addressing interface.
  • Step S1114 the route addressing module performs a routing addressing operation
  • the addressing operation includes: parsing the response signaling content, determining whether the signaling of each PCRF response is successful, and if it is a failed response message, continuing to parse and determine the next response message, when After receiving any correct PCRF response message, the notification signaling broadcast module stops the signaling broadcast, stops monitoring and processing other PCRF response signaling messages from the signaling broadcast module, and then extracts the PCRF address from the successful response message. Or the host name information, determining the PCRF device, that is, determining the PCRF to which the terminal device Gx and the Rx session belong, and implementing routing addressing of the PCRF;
  • Step S1116 The route addressing module returns the address or host name information of the addressed PCRF to the signaling broadcast module.
  • Step S1118 the signaling broadcast module terminates the broadcast dynamic bandwidth acceleration QoS policy request signaling message, that is, the remaining unsent bandwidth acceleration QoS policy request signaling message is no longer sent to the link connection module;
  • Step S1120 The signaling broadcast module returns a route addressing result to the link connection module, so that the link connection module terminates and continues to forward the remaining response signaling message from the PCRF to the signaling broadcast module.
  • Step S1122 The signaling broadcast module extracts routing information such as an address or a host name of the PCRF from a route addressing response message of the routing addressing module.
  • Step S1124 The signaling broadcast module returns a dynamic bandwidth acceleration QoS policy response message to the video APP, where the message includes PCRF routing information.
  • Step S1126 The video APP carries the PCRF routing information previously returned by the signaling broadcast module, and sends a dynamic bandwidth acceleration QoS policy request signaling message to the signaling broadcast module.
  • Step S1128 The signaling broadcast module sends a dynamic bandwidth acceleration QoS policy request signaling message to the link connection module.
  • Step S1130 The link connection module forwards the dynamic bandwidth acceleration QoS policy request signaling message to the designated PCRF for the PCRF routing information carried in the message.
  • Step S1132 The PCRF returns a dynamic bandwidth acceleration QoS policy response signaling message to the link connection module.
  • Step S1134 The link connection module forwards the dynamic bandwidth acceleration QoS policy response signaling message to the signaling broadcast module.
  • Step S1136 The signaling broadcast module returns a dynamic bandwidth acceleration QoS policy response signaling message to the video APP.
  • the subsequent message interactions in the session are performed according to the steps S1126 to S1136, and the video APP terminates the bandwidth acceleration QoS policy according to the steps S1126 to S1136.
  • the main scenario corresponding to this embodiment is: when the user uses the mobile phone to watch the video on the Internet, because the advertisement is inserted into the video, the user is forced to watch the inserted advertisement, and the flow rate generated by the user to view the advertisement is also input into the user's traffic.
  • the application or content provider pays for this part of the traffic in order to attract the user, the user does not need to watch the traffic fee generated by the advertisement to achieve a win-win situation.
  • FIG. 12 is a signaling flowchart of applying for a no-flow fee based on a route addressing device according to an embodiment of the present invention; as shown in FIG. 12, the steps of the method include:
  • Step S1202 The advertisement APP (ie, the AF corresponding to the PCC architecture) initiates initial dynamic charging policy request signaling to the signaling broadcast module,
  • the other modules of the device corresponding to the embodiment including the signaling broadcast module, complete the route addressing to the PCRF, and finally send the signaling message to the correct PCRF.
  • the mobile Internet APP is not limited to advertising, and other scenarios, such as e-commerce applications, mobile office applications, etc., which are required to be free of wireless Internet traffic charges, are adapted;
  • Step S1204 After receiving the initial signaling request of the advertising APP, the signaling broadcast module forwards the signaling request message to the link connection module to ensure that the same letter is sent to all PCRFs that have established a normal link with the link connection module. Order
  • Step S1206 The link connection module broadcasts a signaling request message to the multi-PCRF, and supports signaling in a polling and concurrent manner to send signaling to each PCRF.
  • Step S1208 The link connection module receives the response signaling message returned by each PCRF.
  • the response signaling message may arrive at the link connection module in succession, or may reach the link connection module in part at the same time;
  • Step S1210 The link connection module forwards the response message returned by the PCRF to the signaling broadcast module. Order the message.
  • the response signaling message may arrive at the signaling broadcast module in succession, or may reach the signaling broadcast module in part at the same time;
  • Step S1212 The signaling broadcast module requests the routing addressing module to perform routing addressing according to the routing addressing interface according to the routing addressing interface.
  • Step S1214 the route addressing module performs a routing addressing operation
  • the addressing operation includes: parsing the response signaling content, determining whether the signaling of each PCRF response is successful, and if it is a failed response message, continuing to parse and determine the next response message, after receiving any correct PCRF response message. Notifying the signaling broadcast module to stop the signaling broadcast, and stopping monitoring and processing other PCRF response signaling messages from the signaling broadcast module, and then extracting the PCRF address or host name information from the successful response message to determine the PCRF device, ie, Determining the PCRF to which the terminal device Gx and the Rx session belong, and implementing routing addressing of the PCRF;
  • Step S1216 the route addressing module returns the address or host name information of the addressed PCRF to the signaling broadcast module;
  • Step S1218 The signaling broadcast module terminates the broadcast dynamic charging policy request signaling message, that is, the remaining unsent charging policy request signaling message is not sent to the link connection module;
  • Step S1220 The signaling broadcast module returns a route addressing result to the link connection module, so that the link connection module terminates and continues to forward the remaining response signaling message from the PCRF to the signaling broadcast module.
  • Step S1222 The signaling broadcast module extracts routing information such as an address or a host name of the PCRF from the route addressing response message of the route addressing module.
  • Step S1224 The signaling broadcast module returns a dynamic charging policy response message to the advertising APP, where the message includes PCRF routing information.
  • Step S1226 The advertisement APP carries the PCRF routing information previously returned by the signaling broadcast module, and sends a dynamic charging policy request signaling message to the signaling broadcast module.
  • Step S1228 The signaling broadcast module sends a dynamic charging policy request signaling message to the link connection module.
  • Step S1230 The link connection module forwards the dynamic charging policy request signaling message to the designated PCRF for the PCRF routing information carried in the message.
  • Step S1232 The PCRF returns a dynamic charging policy response signaling message to the link connection module.
  • Step S1234 The link connection module forwards the dynamic charging policy response signaling message to the signaling broadcast module.
  • Step S1236 The signaling broadcast module returns a dynamic charging policy response signaling message to the advertising APP.
  • the subsequent message interactions in the session are performed according to the steps S1226 to S1236, and the advertising APP terminates the charging policy according to the steps S1226 to S1236.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • Step S1 Send a signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF;
  • Step S2 Obtain routing information of the PCRF that is successful in response to the signaling message, and send routing information to the application function AF, where the routing information is used to indicate that the application function AF performs routing addressing according to the routing information.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the signaling message for the dynamic policy and the charging request is sent to the policy and charging control unit PCRF, and the routing information of the PCRF that is successful in response to the signaling message is obtained, and the routing information is sent.
  • the function AF that is, to obtain the routing information of the PCRF that responds successfully, thereby solving the need for relying on the DRA for multi-PCRF routing addressing in the related art, or requiring customized development of PCEF and AF in the case of multiple PCRFs. This leads to the problem of high operation and maintenance cost, which in turn reduces the difficulty of maintenance and saves costs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a method and device for acquiring router information, and a router addressing apparatus and system. The method comprises: transmitting to a policy and charging rules function (PCRF) unit a signaling message for a dynamic policy and charging request; and acquiring router information sent in response from the PCRF unit when the signaling message is successful, and transmitting the router information to an application function (AF), wherein the router information is for instructing the application function (AF) to perform router addressing according to the router information. The present invention solves issues in the related art, in which DRA is needed for router addressing of multiple PCRFs, or high operation and maintenance costs caused by customized development of PCEFs and AFs in a multi-PCRF situation, thereby reducing maintenance complications as well as costs.

Description

获取路由信息的方法及装置、路由寻址设备及系统Method and device for acquiring routing information, routing addressing device and system 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种获取路由信息的方法及装置、路由寻址设备及系统。The present invention relates to the field of communications, and in particular, to a method and apparatus for acquiring routing information, a routing addressing device, and a system.
背景技术Background technique
近年来,为了获得更好的市场竞争地位以及提供更好的用户体验,移动运营商在赢利能力不如以前的情况下,仍然顶着压力,持续大力度对移动通信网络基础设施建设进行投资。而同时,借助于运营商高速发展的移动网络以及智能终端的普及,移动互联网业务,特别是视频业务和社交业务得到空前繁荣和发展,用户对移动网络的使用习惯由传统的话音、短信业务,逐步向以移动互联网内容和OTT(Over The Top)为主的数据业务转移,用户的消费也主要从话音和短信业务的消费,向移动数据流量的消费倾斜,数据流量的消费也因此保持持续高速增长。In recent years, in order to obtain a better market competitive position and provide a better user experience, mobile operators are still under pressure when they are not as profitable as before, and continue to invest heavily in mobile communication network infrastructure construction. At the same time, with the rapid development of mobile networks and the popularity of smart terminals, mobile Internet services, especially video services and social services, have been prosperous and prosperous. Users' habits of using mobile networks are traditional voice and SMS services. Gradually shifting to data services based on mobile Internet content and OTT (Over The Top), users' consumption is also mainly from the consumption of voice and short message services to the consumption of mobile data traffic, and the consumption of data traffic continues to be high. increase.
然而,运营商并未从激增的流量需求和同时增加的移动用户量中获得更高的每用户平均收入(Average Revenue Per User,简称为ARPU)值,反而因为支撑流量消费的持续投入以及语音业务和消息业务的流失,使得运营商的经营日趋艰难。在这种背景下,运营商引入了主要包含策略及计费控制单元(Policy and Charging Rule Function,简称为PCRF)和策略及计费执行单元(Policy and Charging Enforcement Function,简称为PCEF)的策略及计费控制(Policy and Charging Control,简称为PCC)系统,进行智能管道的建设,希望通过洞察流经运营商网络的每一bit数据流量,实施差异化QoS和计费控制,通过相应的运营手段,增加数据流量的附加值,提高收益水平,且能更好的服务移动终端用户。However, operators have not obtained higher Average Revenue Per User (ARPU) values from the surge in traffic demand and the simultaneous increase in mobile subscribers, but rather because of continued investment in supporting traffic consumption and voice services. The loss of the message business has made operators' operations increasingly difficult. In this context, the operator introduces a policy that mainly includes a Policy and Charging Rule Function (PCRF) and a Policy and Charging Enforcement Function (PCEF). The Policy and Charging Control (PCC) system is used to construct intelligent pipelines. It is hoped that through the insight of each bit of data traffic flowing through the carrier network, differentiated QoS and charging control are implemented, and corresponding operational means are implemented. Increase the added value of data traffic, improve the income level, and better serve mobile terminal users.
而在PCC系统的规划和建设过程中,随着业务容量的增加,一套PCRF和PCEF已经不能支撑业务需求,逐渐需要建设多套PCRF和PCEF。当存在多套PCRF时,对PCRF的路由寻址成了问题,目前业界的解决方案 有两种,一种是采用引入第三代合作伙伴计划(3rd Generation Partnership Project,简称为3GPP)定义的信令路由代理(Diameter Routing Agent,Diameter,简称为DRA)设备,由DRA进行PCRF路由寻址的方案,该方案因为要引入新的DRA网元,需要针对DRA设备投入建设成本和运维成本;另一种是在PCEF和业务系统(该业务系统即3GPP的Policy and charging control architecture规范3GPP TS 23.203中的AF,全称Application Function,以下全部用AF指代业务系统)同时新增静态路由表,该静态路由表中存放了PCRF与终端设备标识之间的对应关系。这种方案需要PCEF和业务系统侧均要专门维护静态路由表,并且要随时根据PCRF和终端设备的变化,修改这两张静态路由表,增加了维护工作量,并要开发相应的软件逻辑进行相应的处理,特别是对于PCEF这样一个3GPP标准定义的网元,这种软件逻辑并未得到标准规范的支持,难以得到商用落地推广。In the planning and construction process of the PCC system, with the increase of service capacity, a set of PCRF and PCEF can no longer support the business needs, and gradually need to build multiple sets of PCRF and PCEF. When multiple sets of PCRF exist, the routing of PCRF becomes a problem, and the current industry solutions There are two types, one is to introduce a Diameter Routing Agent (Diameter, abbreviated as DRA) device defined by the 3rd Generation Partnership Project (3GPP), and PCRF routing is performed by DRA. The scheme of the address, which requires the construction cost and operation and maintenance cost for the DRA equipment because of the introduction of the new DRA network element; the other is the PCEF and the service system (the 3GPP's Policy and charging control architecture specification 3GPP) The AF in the TS 23.203, the full name of the Application Function, all of which uses the AF to refer to the service system, adds a static routing table, and the static routing table stores the correspondence between the PCRF and the terminal device identifier. In this solution, both the PCEF and the service system side need to maintain a static routing table, and the two static routing tables should be modified according to the changes of the PCRF and the terminal device at any time, which increases the maintenance workload and develops corresponding software logic. Corresponding processing, especially for a network element defined by the 3GPP standard such as PCEF, this software logic is not supported by the standard specification, and it is difficult to get commercial promotion.
针对相关技术中的上述问题,目前尚未存在有效的解决方案。In view of the above problems in the related art, there is currently no effective solution.
发明内容Summary of the invention
本发明实施例提供了一种获取路由信息的方法及装置、路由寻址设备及系统,以至少解决相关技术中需要依赖DRA进行多PCRF路由寻址,或在多PCRF情况下需要对PCEF和AF的定制开发导致运维成本大的问题。Embodiments of the present invention provide a method and apparatus for acquiring routing information, a routing addressing device, and a system, to at least solve the related art, which need to rely on DRA for multi-PCRF routing addressing, or in the case of multiple PCRF, PCEF and AF are required. The custom development leads to the problem of high operation and maintenance costs.
根据本发明的另一个方面,提供了一种获取路由信息的方法,包括:向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息;获取响应于所述信令消息成功的PCRF的路由信息,并发送所述路由信息到应用功能AF,其中,所述路由信息用于指示应用功能AF根据所述路由信息进行路由寻址。According to another aspect of the present invention, a method for obtaining routing information is provided, comprising: transmitting a signaling message for a dynamic policy and a charging request to a policy and charging control unit PCRF; acquiring in response to the signaling message The routing information of the successful PCRF, and the routing information is sent to the application function AF, wherein the routing information is used to indicate that the application function AF performs routing addressing according to the routing information.
可选地,所述获取响应于所述信令消息成功的PCRF的路由信息包括:接收PCRF响应于所述信令消息的响应消息,其中,所述响应消息中携带有用于指示所述响应消息是否响应成功的返回码;根据所述返回码确定出 响应成功的响应消息;获取与响应成功的响应消息对应PCRF的路由信息。Optionally, the obtaining the routing information of the PCRF that is successful in the response to the signaling message includes: receiving, by the PCRF, a response message in response to the signaling message, where the response message carries the response message Whether to respond to a successful return code; determine according to the return code Responding to the successful response message; obtaining the response message corresponding to the successful response to the PCRF routing information.
可选地,在向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息之前,所述方法还包括:接收所述AF发送的所述信令消息。Optionally, before sending the signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF, the method further includes: receiving the signaling message sent by the AF.
可选地,向所述PCRF发送用于动态策略和计费请求的信令消息的方式包括以下之一:并行发送方式、串行发送方式。Optionally, the manner of sending the signaling message for the dynamic policy and the charging request to the PCRF includes one of the following: a parallel sending mode, a serial sending mode.
可选地,所述方法还包括:获取网络中PCRF的变化情况;根据所述变化情况调整与PCRF之间的链路状态。Optionally, the method further includes: acquiring a change of the PCRF in the network; and adjusting a link state between the PCRF and the PCRF according to the change.
可选地,所述变化情况包括以下之一:新建信令链路、修改信令链路、删除信令链路、在信令链路异常时,切换信令链路;Optionally, the change situation includes one of the following: a new signaling link, a modified signaling link, a signaling link, and a signaling link when the signaling link is abnormal;
调整与PCRF之间的链路状态的包括以下至少之一:产生用于新建信令链路的新建指令,并根据所述新建指令新建立与PCRF之间的信令链路;产生用于修改信令链路的修改指令,并根据所述修改指令修改与PCRF之间的信令链路;产生用于删除信令链路的删除指令,并根据所述删除指令删除与PCRF之间的信令链路;在信令链路异常时,产生用于切换信令链路的切换指令,并根据所述切换指令切换与PCRF之间的信令链路。Adjusting the link state with the PCRF includes at least one of: generating a new instruction for creating a new signaling link, and newly establishing a signaling link with the PCRF according to the new instruction; generating for modifying Modifying a signaling link, and modifying a signaling link with the PCRF according to the modification instruction; generating a deletion instruction for deleting the signaling link, and deleting the letter between the PCRF and the PCRF according to the deletion instruction And causing a link; when the signaling link is abnormal, generating a handover instruction for switching the signaling link, and switching the signaling link with the PCRF according to the handover instruction.
根据本发明的另一个方面,提供了一种获取路由信息的装置,包括:发送模块,设置为向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息;获取模块,设置为获取响应于所述信令消息成功的PCRF的路由信息,并发送所述路由信息到应用功能AF,其中,所述路由信息用于指示应用功能AF根据所述路由信息进行路由寻址。According to another aspect of the present invention, an apparatus for obtaining routing information is provided, including: a sending module, configured to send a signaling message for a dynamic policy and a charging request to a policy and charging control unit PCRF; and an acquiring module, And being configured to obtain the routing information of the PCRF that is successful in response to the signaling message, and send the routing information to the application function AF, where the routing information is used to indicate that the application function AF performs routing addressing according to the routing information.
可选地,所述获取模块包括:接收单元,设置为接收PCRF响应于所述信令消息的响应消息,其中,所述响应消息中携带有用于指示所述响应消息是否响应成功的返回码;确定单元,设置为根据所述返回码确定出响应成功的响应消息;获取单元,设置为获取与响应成功的响应消息对应PCRF的路由信息。Optionally, the acquiring module includes: a receiving unit, configured to receive a response message that the PCRF responds to the signaling message, where the response message carries a return code for indicating whether the response message is successful; And a determining unit, configured to determine, according to the return code, a response message that the response is successful; and the acquiring unit is configured to obtain routing information corresponding to the PCRF corresponding to the response message that the response is successful.
可选地,在所述发送模块向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息之前,所述装置还包括:接收模块,设置为接 收所述AF发送的所述信令消息。Optionally, before the sending module sends the signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF, the device further includes: a receiving module, configured to connect Receiving the signaling message sent by the AF.
可选地,所述发送模块向所述PCRF发送用于动态策略和计费请求的信令消息的方式包括以下之一:并行发送方式、串行发送方式。Optionally, the manner in which the sending module sends the signaling message for the dynamic policy and the charging request to the PCRF includes one of the following: a parallel sending mode and a serial sending mode.
可选地,所述装置还包括:获取模块,设置为获取网络中PCRF的变化情况;调整模块,设置为根据所述变化情况调整与PCRF之间的链路状态。Optionally, the device further includes: an obtaining module, configured to acquire a change of the PCRF in the network; and an adjusting module, configured to adjust a link state between the PCRF and the PCRF according to the change.
可选地,所述变化情况包括以下之一:新建信令链路;修改信令链路;接收用于删除信令链路;在信令链路异常时,切换信令链路;Optionally, the change situation includes one of the following: a new signaling link; modifying a signaling link; receiving for deleting a signaling link; and switching a signaling link when the signaling link is abnormal;
所述调整模块包括以下至少之一:第一调整单元,设置为产生用于新建信令链路的新建指令,并根据所述新建指令新建立与PCRF之间的信令链路;第二调整单元,设置为产生用于修改信令链路的修改指令,并根据所述修改单元修改与PCRF之间的信令链路;第三调整单元,设置为产生用于删除信令链路的删除指令,并根据删除指令删除与PCRF之间的信令链路;第四调整单元,设置为在信令链路异常时,产生用于切换信令链路的切换指令,并根据所述切换指令切换与PCRF之间的信令链路。The adjustment module includes at least one of the following: a first adjustment unit configured to generate a new instruction for creating a new signaling link, and newly establishing a signaling link with the PCRF according to the new instruction; a unit, configured to generate a modification instruction for modifying a signaling link, and modify a signaling link with the PCRF according to the modifying unit; and a third adjusting unit configured to generate a deletion for deleting the signaling link And deleting a signaling link between the PCRF and the PCRF according to the deletion instruction; the fourth adjusting unit is configured to generate a switching instruction for switching the signaling link when the signaling link is abnormal, and according to the switching instruction Switching between the signaling link with the PCRF.
根据本发明的另一个方面,提供了一种路由寻址设备,包括:信令广播模块,设置为接收应用功能AF发起的动态策略和计费请求信令消息,并将所述信令消息广播到策略及计费控制单元PCRF;以及接收PCRF响应于所述信令消息的响应消息;路由寻址模块,与所述信令广播模块耦合连接,设置为从所述响应消息中获取响应成功的PCRF的路由信息;所述信令广播模块,还设置为提取所述响应成功的PCRF的路由信息并转发到所述AF。According to another aspect of the present invention, a route addressing device is provided, comprising: a signaling broadcast module, configured to receive a dynamic policy and a charging request signaling message initiated by an application function AF, and broadcast the signaling message a policy and charging control unit PCRF; and a response message that receives the PCRF in response to the signaling message; a routing addressing module coupled to the signaling broadcast module, configured to obtain a successful response from the response message Routing information of the PCRF; the signaling broadcast module is further configured to extract routing information of the PCRF that is successfully responded to and forward the information to the AF.
可选地,所述设备还包括:链路管理模块,与链路连接模块耦合连接,设置为对信令链路进行配置管理维护。Optionally, the device further includes: a link management module, coupled to the link connection module, configured to perform configuration management and maintenance on the signaling link.
可选地,所述链路管理模块,还设置为获取网络中PCRF的变化情况,其中,所述变化情况包括以下至少之一:新建信令链路;修改信令链路;删除信令链路;在信令链路异常时,切换信令链路;所述链路管理模块, 还设置为根据所述变化情况产生管理指令,并将所述管理指令发送到链路连接模块;其中,所述管理指令包括以下至少之一:用于新建信令链路的新建指令、用于修改信令链路的修改指令、用于删除信令链路的删除指令、用于切换信令链路的切换指令。Optionally, the link management module is further configured to acquire a change of the PCRF in the network, where the change includes at least one of: newly establishing a signaling link; modifying a signaling link; and deleting the signaling chain a path; when the signaling link is abnormal, switching a signaling link; the link management module, Is further configured to generate a management instruction according to the change situation, and send the management instruction to a link connection module; wherein the management instruction comprises at least one of: a new instruction for creating a new signaling link, for Modifying a modification instruction of the signaling link, a deletion instruction for deleting the signaling link, and a switching instruction for switching the signaling link.
可选地,所述设备还包括:链路连接模块,与所述链路管理模块耦合连接,设置为接收所述链路管理模块的所述链路管理指令;并执行与PCRF之间的信令链路连接;其中,执行与PCRF之间的信令链路连接包括以下至少之一:根据所述新建指令新建立与PCRF之间的信令链路、据所述修改指令修改与PCRF之间的信令链路、根据所述删除指令删除与PCRF之间的信令链路、根据所述切换指令切换与PCRF之间的信令链路。Optionally, the device further includes: a link connection module, coupled to the link management module, configured to receive the link management instruction of the link management module; and perform a letter with the PCRF Linking the link; wherein performing the signaling link connection with the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the new instruction, modifying and PCRF according to the modification instruction The signaling link between the UE and the PCRF is deleted according to the deletion instruction, and the signaling link between the PCRF and the PCRF is switched according to the handover instruction.
可选地,所述链路连接模块,与信令广播模块耦合连接,还设置为将所述信令广播模块接收到的所述信令消息广播到策略及计费控制单元PCRF;以及接收PCRF响应于所述信令消息的响应消息,并转发到所述信令广播模块。Optionally, the link connection module is coupled to the signaling broadcast module, and is further configured to broadcast the signaling message received by the signaling broadcast module to a policy and charging control unit PCRF; and receive the PCRF Responding to the response message of the signaling message and forwarding to the signaling broadcast module.
根据本发明的又一个方面,提供了一种路由寻址系统,包括:上述任一项所述的路由寻址设备、策略及计费控制单元PCRF、以及应用功能AF;According to still another aspect of the present invention, a route addressing system is provided, comprising: the route addressing device, the policy and charging control unit PCRF, and the application function AF according to any one of the above;
其中,所述路由寻址设备包括:信令广播模块,设置为接收所述AF发起的动态策略和计费请求信令消息,并将所述信令消息广播到所述PCRF;以及接收所述PCRF响应于所述信令消息的响应消息;路由寻址模块,与所述信令广播模块耦合连接,设置为从所述响应消息中获取响应成功的PCRF的路由信息;所述信令广播模块,还设置为提取所述响应成功的PCRF的路由信息并转发到所述AF。The routing and addressing device includes: a signaling broadcast module, configured to receive the AF-initiated dynamic policy and charging request signaling message, and broadcast the signaling message to the PCRF; and receive the The PCRF is responsive to the response message of the signaling message; the route addressing module is coupled to the signaling broadcast module, and configured to obtain, from the response message, routing information of the PCRF that responds successfully; the signaling broadcast module And is further configured to extract routing information of the PCRF that responds successfully and forward it to the AF.
可选地,所述路由寻址设备还包括:链路管理模块,与链路连接模块耦合连接,设置为对信令链路进行配置管理维护。Optionally, the route addressing device further includes: a link management module, coupled to the link connection module, configured to perform configuration management and maintenance on the signaling link.
可选地,所述链路管理模块,还设置为获取网络中PCRF的变化情况,其中,所述变化情况包括以下至少之一:新建信令链路;修改信令链路;删除信令链路;在信令链路异常时,切换信令链路;所述链路管理模块, 还设置为根据所述变化情况产生管理指令,并将所述管理指令发送到链路连接模块;其中,所述管理指令包括以下至少之一:用于新建信令链路的新建指令、用于修改信令链路的修改指令、用于删除信令链路的删除指令、用于切换信令链路的切换指令。Optionally, the link management module is further configured to acquire a change of the PCRF in the network, where the change includes at least one of: newly establishing a signaling link; modifying a signaling link; and deleting the signaling chain a path; when the signaling link is abnormal, switching a signaling link; the link management module, Is further configured to generate a management instruction according to the change situation, and send the management instruction to a link connection module; wherein the management instruction comprises at least one of: a new instruction for creating a new signaling link, for Modifying a modification instruction of the signaling link, a deletion instruction for deleting the signaling link, and a switching instruction for switching the signaling link.
可选地,所述路由寻址设备还包括:链路连接模块,与所述链路管理模块耦合连接,设置为接收所述链路管理模块的所述链路管理指令;并执行与PCRF之间的信令链路连接;其中,执行与PCRF之间的信令链路连接包括以下至少之一:根据所述新建指令新建立与PCRF之间的信令链路、据所述修改指令修改与PCRF之间的信令链路、根据所述删除指令删除与PCRF之间的信令链路、根据所述切换指令切换与PCRF之间的信令链路。Optionally, the routing and addressing device further includes: a link connection module, coupled to the link management module, configured to receive the link management command of the link management module; and execute with a PCRF a signaling link connection between the UE and the PCRF, wherein the signaling link connection with the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the new instruction, and modifying according to the modification instruction And a signaling link between the PCRF and the PCRF, and a signaling link between the PCRF and the PCRF according to the deletion instruction.
根据本发明的另一个方面,提供了一种基于路由寻址系统的获取路由信息的方法,所述路由寻址系统包括:路由寻址设备、策略及计费控制单元PCRF、以及应用功能AF;According to another aspect of the present invention, a method for obtaining routing information based on a routing addressing system is provided, the routing addressing system comprising: a routing addressing device, a policy and charging control unit PCRF, and an application function AF;
其中,所述方法包括:所述AF向所述路由寻址设备发起的动态策略和计费请求信令消息;所述路由寻址设备将所述信令消息广播到所述PCRF;所述PCRF向所述路由寻址设备发送响应于所述信令消息的响应消息;所述路由寻址设备从所述响应消息中获取响应成功的PCRF的路由信息,并提取所述响应成功的PCRF的路由信息并转发到所述AF。The method includes: a dynamic policy and a charging request signaling message initiated by the AF to the routing addressing device; the routing addressing device broadcasts the signaling message to the PCRF; the PCRF Sending, to the routing addressing device, a response message in response to the signaling message; the routing addressing device acquires routing information of the PCRF that responds successfully from the response message, and extracts a route of the PCRF that responds successfully The information is forwarded to the AF.
在本发明实施例中,向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息,获取响应于所述信令消息成功的PCRF的路由信息,并发送所述路由信息到应用功能AF,也就是说,能够获取到响应成功的PCRF的路由信息,进而解决了相关技术中需要依赖DRA进行多PCRF路由寻址,或在多PCRF情况下需要对PCEF和AF的定制开发导致运维成本大的问题,进而达到了减少维护难度且节省成本的效果。In the embodiment of the present invention, the signaling message for the dynamic policy and the charging request is sent to the policy and charging control unit PCRF, and the routing information of the PCRF that is successful in response to the signaling message is obtained, and the routing information is sent. To apply the function AF, that is, to obtain the routing information of the PCRF that responds successfully, thereby solving the need for relying on the DRA for multi-PCRF routing addressing in the related art, or requiring customized development of PCEF and AF in the case of multiple PCRFs. This leads to the problem of high operation and maintenance cost, which in turn reduces the difficulty of maintenance and saves costs.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发 明的不当限定。在附图中:The drawings described herein are provided to provide a further understanding of the invention, and are intended to be a Improper limitations of the Ming. In the drawing:
图1是根据本发明实施例的获取路由信息的方法流程图;1 is a flowchart of a method for obtaining routing information according to an embodiment of the present invention;
图2是根据本发明实施例的获取路由信息的装置结构框图;2 is a structural block diagram of an apparatus for acquiring routing information according to an embodiment of the present invention;
图3是根据本发明实施例的直连PCRF广播消息路由寻址方法的流程图;FIG. 3 is a flowchart of a direct-connected PCRF broadcast message routing and addressing method according to an embodiment of the present invention; FIG.
图4是根据本发明实施例的直连PCRF广播消息路由寻址方法的链路切换方法流程图;4 is a flowchart of a link switching method of a direct-connect PCRF broadcast message routing addressing method according to an embodiment of the present invention;
图5是根据本发明实施例中直连PCRF广播消息路由寻址装置的组成示意图;5 is a schematic diagram showing the composition of a direct-connect PCRF broadcast message routing and addressing apparatus according to an embodiment of the present invention;
图6是根据本发明实施例中直连PCRF广播消息路由寻址装置的逻辑接口示意图;6 is a schematic diagram of a logical interface of a direct-connected PCRF broadcast message routing and addressing apparatus according to an embodiment of the present invention;
图7是根据本发明实施例的基于路由寻址装置的链路管理方法流程图;7 is a flowchart of a link management method based on a route addressing device according to an embodiment of the present invention;
图8是根据本发明实施例的基于路由寻址装置的链路切换方法流程图;8 is a flowchart of a link switching method based on a route addressing device according to an embodiment of the present invention;
图9是根据本发明实施例的基于路由寻址装置的执行信令方法流程图;9 is a flowchart of a method for performing signaling based on a routing addressing device according to an embodiment of the present invention;
图10是根据本发明实施例的基于路由寻址装置的针对寻址成功后的信令流程图;10 is a flow chart of signaling after successful addressing based on a routing addressing device, in accordance with an embodiment of the present invention;
图11是根据本发明实施例的基于路由寻址装置申请带宽加速的信令流程图;11 is a signaling flowchart of applying for bandwidth acceleration based on a routing addressing device according to an embodiment of the present invention;
图12是根据本发明实施例的基于路由寻址装置申请免流量费的信令流程图。12 is a signaling flow diagram of applying for a no-flow fee based on a routing addressing device in accordance with an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或 先后次序。It should be noted that the terms "first", "second" and the like in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or Prioritization.
实施例1Example 1
图1是根据本发明实施例的获取路由信息的方法流程图,如图1所示,该方法的步骤包括:FIG. 1 is a flowchart of a method for obtaining routing information according to an embodiment of the present invention. As shown in FIG. 1 , the steps of the method include:
步骤S102:向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息;Step S102: Send a signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF;
步骤S104:获取响应于信令消息成功的PCRF的路由信息,并发送路由信息到应用功能AF,其中,路由信息用于指示应用功能AF根据路由信息进行路由寻址。Step S104: Acquire routing information of the PCRF that is successful in response to the signaling message, and send routing information to the application function AF, where the routing information is used to indicate that the application function AF performs routing addressing according to the routing information.
通过本实施例的上述步骤S102至步骤S104,向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息,获取响应于信令消息成功的PCRF的路由信息,并发送路由信息到应用功能AF,也就是说,能够获取到响应成功的PCRF的路由信息,进而解决了相关技术中需要依赖DRA进行多PCRF路由寻址,或在多PCRF情况下需要对PCEF和AF的定制开发导致运维成本大的问题,进而达到了减少维护难度且节省成本的效果。Through the foregoing steps S102 to S104 of the embodiment, the signaling message for the dynamic policy and the charging request is sent to the policy and charging control unit PCRF, and the routing information of the PCRF succeeding in response to the signaling message is obtained, and the route is sent. The information to the application function AF, that is, the routing information of the PCRF that responds successfully can be obtained, thereby solving the need of relying on the DRA for multi-PCRF routing addressing in the related art, or the customization of PCEF and AF in the case of multiple PCRFs. The development leads to the problem of large operation and maintenance cost, thereby achieving the effect of reducing maintenance difficulty and saving cost.
在本实施例的可选实施方式中,本实施例步骤S104中涉及到的获取响应于信令消息成功的PCRF的路由信息的方式,可以通过如下方式来实现:In the optional implementation manner of this embodiment, the manner of obtaining the routing information of the PCRF that is successful in responding to the signaling message involved in step S104 of the embodiment may be implemented as follows:
步骤S104-1:接收PCRF响应于信令消息的响应消息,其中,响应消息中携带有用于指示响应消息是否响应成功的返回码;Step S104-1: Receive a response message of the PCRF in response to the signaling message, where the response message carries a return code indicating whether the response message is successful.
步骤S104-2:根据返回码确定出响应成功的响应消息;Step S104-2: determining, according to the return code, a response message that the response is successful;
步骤S104-3:获取与响应成功的响应消息对应PCRF的路由信息。Step S104-3: Acquire routing information corresponding to the PCRF corresponding to the response message that the response is successful.
在本实施例的可选实施方式中,在向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息之前,本实施例的方法还包括:接收AF发送的信令消息。 In an optional implementation manner of this embodiment, before sending the signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF, the method in this embodiment further includes: receiving the signaling message sent by the AF .
此外,本实施例中涉及到的向PCRF发送用于动态策略和计费请求的信令消息的方式包括以下之一:并行发送方式、串行发送方式。In addition, the manner of sending the signaling message for the dynamic policy and the charging request to the PCRF involved in the embodiment includes one of the following: a parallel sending mode and a serial sending mode.
需要说明的是,本实施例中涉及到的信令消息可以是Diameter信令消息,基于此上述本实施例的方式可以是,接收AF发起的动态策略和计费请求信令消息,负责以并行方式向各PCRF广播此Diameter信令以与PCRF之间进行信令交互。进而,接收PCRF响应的Diameter信令,并对响应的Diameter信令进行路由寻址分析,在确定响应成功后获取该响应的Diameter信令中PCRF的地址或主机名等路由信息,并将该路由信息与动态策略和计费响应信令消息一起返回AF。It should be noted that the signaling message involved in this embodiment may be a Diameter signaling message. The manner of the foregoing embodiment may be: receiving an AF-initiated dynamic policy and a charging request signaling message, which is responsible for parallel The mode broadcasts this Diameter signaling to each PCRF to perform signaling interaction with the PCRF. And receiving the Diameter signaling of the PCRF response, and performing route addressing analysis on the Diameter signaling of the response, and obtaining routing information such as an address or a host name of the PCRF in the Diameter signaling of the response after determining the response is successful, and routing the route The information is returned to the AF along with the dynamic policy and the charging response signaling message.
另外,本实施例的方法还可以包括:In addition, the method in this embodiment may further include:
步骤S110:获取网络中PCRF的变化情况;Step S110: Acquire a change of the PCRF in the network.
步骤S112:根据变化情况调整与PCRF之间的链路状态。Step S112: Adjust the link state between the PCRF and the PCRF according to the change situation.
其中,获取变化情况包括以下之一:接收用于新建信令链路的新建指令、接收用于修改信令链路的修改指令、接收用于删除信令链路的删除指令、在信令链路异常时,接收用于切换信令链路的切换指令;The obtaining change includes one of the following: receiving a new instruction for newly creating a signaling link, receiving a modification instruction for modifying a signaling link, receiving a deletion instruction for deleting a signaling link, and a signaling chain. When the path is abnormal, receiving a switching instruction for switching the signaling link;
调整与PCRF之间的链路状态的包括以下至少之一:根据新建指令新建立与PCRF之间的信令链路;根据修改指令修改与PCRF之间的信令链路;根据删除指令删除与PCRF之间的信令链路;根据切换指令切换与PCRF之间的信令链路。Adjusting the link state with the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the new instruction; modifying the signaling link with the PCRF according to the modification instruction; deleting and deleting according to the deletion instruction A signaling link between the PCRFs; switching the signaling link with the PCRF according to the handover command.
基于Diameter信令消息,上述调整链路状态可以是:根据网络中存在的PCRF设备情况,产生新增Diameter信令链路指令,进而根据该链路信息增加PCRF,此外还会根据网络中PCRF设备的变化情况,产生修改Diameter信令链路指令,用于删除Diameter信令链路,根据该修改Diameter信令链路指令和删除Diameter信令链路。另外,当与某PCRF之间的链路异常时,通过判断该PCRF是否支持主、备链路;在存在主、备链路时,产生切换指令,用于与PCRF进行主、备链路切换。Based on the Diameter signaling message, the foregoing adjusting the link state may be: generating a new Diameter signaling link command according to the PCRF device existing in the network, and further increasing the PCRF according to the link information, and further, according to the PCRF device in the network. The change condition produces a modified Diameter signaling link command for deleting the Diameter signaling link, modifying the Diameter signaling link command and deleting the Diameter signaling link. In addition, when the link between the PCRF and the PCRF is abnormal, it is determined whether the PCRF supports the primary and backup links. When the primary and backup links exist, a handover command is generated for performing primary and backup link switching with the PCRF. .
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根 据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand the roots. The method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be through hardware, but in many cases the former is a better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
实施例2Example 2
在本实施例中还提供了一种获取路由信息的装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a device for obtaining routing information is provided, which is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的获取路由信息的装置结构框图,如图2所示,该装置包括:发送模块22,设置为向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息;获取模块24,与发送模块22耦合连接,设置为获取响应于信令消息成功的PCRF的路由信息,并发送路由信息到应用功能AF,其中,路由信息用于指示应用功能AF根据路由信息进行路由寻址。2 is a structural block diagram of an apparatus for acquiring routing information according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: a sending module 22 configured to send a dynamic policy and charging request to a policy and charging control unit PCRF. The routing module 24 is coupled to the sending module 22, configured to obtain routing information of the PCRF that is successful in responding to the signaling message, and send routing information to the application function AF, where the routing information is used to indicate the application function AF. Route addressing based on routing information.
可选地,获取模块24包括:接收单元,设置为接收PCRF响应于信令消息的响应消息,其中,响应消息中携带有用于指示响应消息是否响应成功的返回码;确定单元,设置为根据返回码确定出响应成功的响应消息;获取单元,设置为获取与响应成功的响应消息对应PCRF的路由信息。Optionally, the obtaining module 24 includes: a receiving unit, configured to receive a response message of the PCRF in response to the signaling message, where the response message carries a return code for indicating whether the response message is successful, and the determining unit is configured to return according to The code determines a response message that the response is successful; the obtaining unit is configured to obtain routing information corresponding to the PCRF corresponding to the response message that the response is successful.
可选地,在向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息之前,本实施例的装置还包括:接收模块,设置为接收AF发送的信令消息。Optionally, before the sending the signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF, the apparatus in this embodiment further includes: a receiving module, configured to receive the signaling message sent by the AF.
另外,发送模块向PCRF发送用于动态策略和计费请求的信令消息的 方式包括以下之一:并行发送方式、串行发送方式。In addition, the sending module sends a signaling message for the dynamic policy and the charging request to the PCRF. The method includes one of the following: parallel transmission mode, serial transmission mode.
此外,本实施例的装置还包括:获取模块,设置为获取网络中PCRF的变化情况;调整模块,设置为根据变化情况调整与PCRF之间的链路状态。In addition, the apparatus of this embodiment further includes: an obtaining module configured to acquire a change of the PCRF in the network; and an adjusting module configured to adjust a link state between the PCRF and the PCRF according to the change.
其中,该获取模块包括以下之一:第一接收单元,设置为接收用于新建信令链路的新建指令;第二接收单元,设置为接收用于修改信令链路的修改指令,第三接收单元,设置为接收用于删除信令链路的删除指令;第四接收单元,设置为在信令链路异常时,接收用于切换信令链路的切换指令;The obtaining module includes one of the following: a first receiving unit configured to receive a new instruction for creating a new signaling link, and a second receiving unit configured to receive a modified instruction for modifying the signaling link, and a third a receiving unit, configured to receive a delete instruction for deleting a signaling link; and a fourth receiving unit configured to receive a switching instruction for switching the signaling link when the signaling link is abnormal;
该调整模块包括以下至少之一:建立单元,设置为根据新建指令新建立与PCRF之间的信令链路;修改单元,设置为根据修改单元修改与PCRF之间的信令链路;删除单元,设置为根据删除指令删除与PCRF之间的信令链路;切换单元,设置为根据切换指令切换与PCRF之间的信令链路。The adjustment module includes at least one of: an establishing unit configured to newly establish a signaling link with the PCRF according to the new instruction; and a modifying unit configured to modify the signaling link between the PCRF and the PCRF according to the modifying unit; And being configured to delete the signaling link between the PCRF and the PCRF according to the deletion instruction; and the switching unit is configured to switch the signaling link between the PCRF and the PCRF according to the handover instruction.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
基于上述获取路由信息的装置,本实施例还提供了一种获取路由信息的系统,包括:上述所述的获取路由信息的装置、策略及计费控制单元PCRF、以及应用功能AF。Based on the foregoing device for obtaining routing information, the embodiment further provides a system for acquiring routing information, including: the device for acquiring routing information, the policy and charging control unit PCRF, and the application function AF.
需要说明的是,本实施例中涉及到的获取路由信息的装置与上述是一致的,在此不再赘述。It should be noted that the apparatus for obtaining routing information involved in this embodiment is consistent with the foregoing, and details are not described herein again.
实施例3Example 3
本实施例还提供了一种路由寻址设备,该设备包括:信令广播模块、路由寻址模块;其中,The embodiment further provides a routing and addressing device, the device comprising: a signaling broadcast module and a routing addressing module; wherein
信令广播模块,设置为接收应用功能AF发起的动态策略和计费请求信令消息,并将信令消息广播到策略及计费控制单元PCRF;以及接收PCRF响应于信令消息的响应消息; a signaling broadcast module, configured to receive a dynamic policy and a charging request signaling message initiated by the application function AF, and broadcast the signaling message to the policy and charging control unit PCRF; and receive a response message of the PCRF in response to the signaling message;
路由寻址模块,与信令广播模块耦合连接,设置为从响应消息中获取响应成功的PCRF的路由信息;a route addressing module, coupled to the signaling broadcast module, configured to obtain, from the response message, routing information of the PCRF that responds successfully;
信令广播模块,还设置为提取响应成功的PCRF的路由信息并转发到AF。The signaling broadcast module is further configured to extract routing information of the PCRF that responds successfully and forward it to the AF.
可选地,本实施例的装置还包括:链路管理模块,与链路连接模块耦合连接,设置为对信令链路进行配置管理维护。Optionally, the device in this embodiment further includes: a link management module, coupled to the link connection module, configured to perform configuration management and maintenance on the signaling link.
对于对信令链路进行配置管理维护,本实施例中链路管理模块,还设置为获取网络中PCRF的变化情况,其中,变化情况包括以下至少之一:新建信令链路;修改信令链路;删除信令链路;在信令链路异常时,切换信令链路;以及根据变化情况产生管理指令,并将管理指令发送到链路连接模块;其中,管理指令包括以下至少之一:用于新建信令链路的新建指令、用于修改信令链路的修改指令、用于删除信令链路的删除指令、用于切换信令链路的切换指令。For the configuration management and maintenance of the signaling link, the link management module in this embodiment is further configured to obtain a change of the PCRF in the network, where the change includes at least one of the following: a new signaling link; a link; deleting a signaling link; switching a signaling link when the signaling link is abnormal; and generating a management instruction according to the change, and transmitting the management instruction to the link connection module; wherein the management instruction includes at least the following A new instruction for creating a new signaling link, a modification instruction for modifying a signaling link, a deletion instruction for deleting a signaling link, and a handover instruction for switching a signaling link.
可选地,本实施例的装置还包括:链路连接模块,与链路管理模块耦合连接,设置为接收链路管理模块的链路管理指令;并执行与PCRF之间的信令链路连接;其中,执行与PCRF之间的信令链路连接包括以下至少之一:根据新建指令新建立与PCRF之间的信令链路、据修改指令修改与PCRF之间的信令链路、根据删除指令删除与PCRF之间的信令链路、根据切换指令切换与PCRF之间的信令链路。Optionally, the apparatus of this embodiment further includes: a link connection module, coupled to the link management module, configured to receive a link management command of the link management module; and perform a signaling link connection with the PCRF The signaling link connection between the execution and the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the new instruction, modifying the signaling link between the PCRF and the modified instruction according to the modified instruction, according to The delete instruction deletes the signaling link with the PCRF, and switches the signaling link between the PCRF and the PCRF according to the handover instruction.
此外,该述链路连接模块,与信令广播模块耦合连接,还设置为将信令广播模块接收到的信令消息广播到策略及计费控制单元PCRF;以及接收PCRF响应于信令消息的响应消息,并转发到信令广播模块。In addition, the link connection module is coupled to the signaling broadcast module, and is further configured to broadcast the signaling message received by the signaling broadcast module to the policy and charging control unit PCRF; and receive the PCRF in response to the signaling message. Respond to the message and forward it to the signaling broadcast module.
实施例4Example 4
本实施例提供了一种路由寻址系统,包括:上述任一项的路由寻址设备、策略及计费控制单元PCRF、以及应用功能AF;The embodiment provides a route addressing system, including: the route addressing device, the policy and charging control unit PCRF, and the application function AF of any of the above;
其中,路由寻址设备包括:信令广播模块,设置为接收AF发起的动态策略和计费请求信令消息,并将信令消息广播到PCRF;以及接收PCRF 响应于信令消息的响应消息;路由寻址模块,与信令广播模块耦合连接,设置为从响应消息中获取响应成功的PCRF的路由信息;信令广播模块,还设置为提取响应成功的PCRF的路由信息并转发到AF。The route addressing device includes: a signaling broadcast module, configured to receive an AF-initiated dynamic policy and a charging request signaling message, and broadcast the signaling message to the PCRF; and receive the PCRF And a routing address module, coupled to the signaling broadcast module, configured to obtain routing information of the PCRF that responds successfully from the response message; and the signaling broadcast module is further configured to extract the PCRF that successfully responds Routing information and forwarded to AF.
可选地,路由寻址设备还包括:链路管理模块,与链路连接模块耦合连接,设置为对信令链路进行配置管理维护。Optionally, the routing and addressing device further includes: a link management module coupled to the link connection module and configured to perform configuration management and maintenance on the signaling link.
可选地,链路管理模块,还设置为获取网络中PCRF的变化情况,其中,变化情况包括以下至少之一:新建信令链路;修改信令链路;删除信令链路;在信令链路异常时,切换信令链路;链路管理模块,还设置为根据变化情况产生管理指令,并将管理指令发送到链路连接模块;其中,管理指令包括以下至少之一:用于新建信令链路的新建指令、用于修改信令链路的修改指令、用于删除信令链路的删除指令、用于切换信令链路的切换指令。Optionally, the link management module is further configured to obtain a change of the PCRF in the network, where the change includes at least one of: newly establishing a signaling link; modifying a signaling link; deleting the signaling link; When the link is abnormal, the signaling link is switched; the link management module is further configured to generate a management instruction according to the change situation, and send the management instruction to the link connection module; wherein the management instruction includes at least one of the following: A new instruction of a new signaling link, a modification instruction for modifying a signaling link, a deletion instruction for deleting a signaling link, and a handover instruction for switching a signaling link.
可选地,路由寻址设备还包括:链路连接模块,与链路管理模块耦合连接,设置为接收链路管理模块的链路管理指令;并执行与PCRF之间的信令链路连接;其中,执行与PCRF之间的信令链路连接包括以下至少之一:根据新建指令新建立与PCRF之间的信令链路、据修改指令修改与PCRF之间的信令链路、根据删除指令删除与PCRF之间的信令链路、根据切换指令切换与PCRF之间的信令链路。Optionally, the routing and addressing device further includes: a link connection module, coupled to the link management module, configured to receive a link management command of the link management module; and perform a signaling link connection with the PCRF; The signaling link connection between the execution and the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the new instruction, modifying the signaling link between the PCRF according to the modified instruction, and deleting according to the deletion The instruction deletes the signaling link between the PCRF and the signaling link between the PCRF and the PCRF according to the handover instruction.
基于上述基于路由寻址系统,本实施例还提供了一种获取路由信息的方法,路由寻址系统包括:路由寻址设备、策略及计费控制单元PCRF、以及应用功能AF;Based on the foregoing routing-based addressing system, the embodiment further provides a method for obtaining routing information, the routing addressing system includes: a routing addressing device, a policy and charging control unit PCRF, and an application function AF;
其中,该方法的步骤包括:Wherein the steps of the method include:
步骤S202:AF向路由寻址设备发起的动态策略和计费请求信令消息;Step S202: The dynamic policy and charging request signaling message initiated by the AF to the routing address device;
步骤S204:路由寻址设备将信令消息广播到PCRF;Step S204: The routing addressing device broadcasts the signaling message to the PCRF;
步骤S206:PCRF向路由寻址设备发送响应于信令消息的响应消息;Step S206: The PCRF sends a response message in response to the signaling message to the routing address device.
步骤S208:路由寻址设备从响应消息中获取响应成功的PCRF的路由信息,并提取响应成功的PCRF的路由信息并转发到AF。 Step S208: The routing addressing device obtains the routing information of the PCRF that responds successfully from the response message, and extracts the routing information of the PCRF that responds successfully and forwards the information to the AF.
实施例5Example 5
本实施例提供了一种路由寻址方法,本实施例的方法不依赖DRA进行多PCRF情况下的路由寻址,且避免多PCRF情况下对PCEF和AF的定制开发,从而解决了多PCRF情况下的PCRF路由寻址难题。This embodiment provides a route addressing method. The method in this embodiment does not rely on DRA for routing addressing in the case of multiple PCRFs, and avoids custom development of PCEF and AF in the case of multiple PCRFs, thereby solving the multi-PCRF situation. The PCRF routing problem under the route.
在本实施例中,通过与网络中所有PCRF建立信令链路并维持信令链路,采用Diameter协议,按照PCRF所支持的Rx接口规范与PCRF对接并进行消息交互,具备与多个PCRF设备进行消息交互,并可接受各PCRF设备同时或先后返回的Diameter响应信令消息,在返回消息中,通过对每个消息的返回码进行判断,确定出成功的响应消息,即可分拣出每个从AF新发起的Rx会话所归属的PCRF,从响应信令消息中提取出PCRF地址或主机名等PCRF路由信息,完成PCRF的路由寻址。In this embodiment, by establishing a signaling link with all PCRFs in the network and maintaining a signaling link, the Diameter protocol is used to interface with the PCRF and perform message interaction according to the Rx interface specification supported by the PCRF, and the PCRF device is provided. Performing message interaction, and accepting Diameter response signaling messages returned by each PCRF device at the same time or sequentially. In the return message, by determining the return code of each message, a successful response message is determined, and each message can be sorted out. The PCRF to which the Rx session newly initiated by the AF belongs, extracts the PCRF routing information such as the PCRF address or the host name from the response signaling message, and completes the routing addressing of the PCRF.
基于此,在本实施例中还提供了一种直连PCRF广播消息寻址的装置包括:链路管理模块、链路连接模块、信令广播模块和路由寻址模块,其中,Based on this, the device for directly addressing the PCRF broadcast message in the embodiment includes: a link management module, a link connection module, a signaling broadcast module, and a route addressing module, where
链路管理模块,提供Diameter信令链路的配置管理维护功能。链路管理模块根据网络中存在的PCRF设备情况,新增Diameter信令链路信息,并将新增链路指令下达给链路连接模块;链路管理模块根据网络中PCRF设备的变化情况,修改Diameter信令链路信息,并将修改链路指令下达给链路连接模块;链路管理模块根据网络中PCRF设备的变化情况,删除Diameter信令链路信息,并将删除链路指令下达给链路连接模块。当链路管理模块接收到链路连接模块上报的与某PCRF之间的链路异常时,链路管理模块判断该PCRF是否支持主、备链路,并且链路连接模块与PCRF存在主、备链路,则下达指令通知链路连接模块与PCRF进行主、备链路切换。The link management module provides configuration management and maintenance functions for the Diameter signaling link. The link management module adds the Diameter signaling link information according to the PCRF device existing in the network, and the new link command is sent to the link connection module; the link management module modifies the change according to the PCRF device in the network. The Diameter signaling link information, and the modified link command is sent to the link connection module; the link management module deletes the Diameter signaling link information according to the change of the PCRF device in the network, and releases the link command to the link chain. Road connection module. When the link management module receives the link abnormality between the link and the PCRF, the link management module determines whether the PCRF supports the primary and backup links, and the link connection module and the PCRF exist for the primary and backup devices. On the link, the command is sent to notify the link connection module and the PCRF to perform the primary and backup link switching.
链路连接模块,接收链路管理模块的链路管理指令,执行与多个PCRF之间的Diameter信令链路连接;接收链路管理模块的主、备Diameter信令链路的切换指令,实现链路之间的切换。具体地,当接收到链路管理模 块发送的新建链路指令,链路连接模块按照指令内容,建立起与对应PCRF的Diameter信令链路;当接收到链路管理模块发送的修改链路指令,链路连接模块按照指令内容,寻找到已存在的链路,并修改与对应PCRF的Diameter信令链路;当接收到链路管理模块发送的删除链路指令,链路连接模块按照指令内容,寻找到已存在的链路,并删除与对应PCRF的Diameter信令链路;同时,链路连接模块监控其与PCRF设备建立起的每条Diameter信令链路的健康状态,确保及时发现异常链路。当发现异常链路时,向链路管理模块上报链路异常消息。当链路连接模块接收到链路管理模块下达链路切换指令,按照指令内容,中断主链路或者工作链路的连接,并切换到对应PCRF的备用Diameter信令链路,完成与PCRF的链路切换,确保与PCRF的链路高可用性。The link connection module receives the link management command of the link management module, performs a Diameter signaling link connection with the multiple PCRFs, and receives a switching instruction of the primary and backup Diameter signaling links of the link management module to implement Switching between links. Specifically, when the link management mode is received The new link command sent by the block, the link connection module establishes a Diameter signaling link with the corresponding PCRF according to the content of the instruction; when receiving the modified link command sent by the link management module, the link connection module follows the instruction content. Finding the existing link and modifying the Diameter signaling link with the corresponding PCRF; when receiving the delete link command sent by the link management module, the link connection module finds the existing link according to the content of the instruction, And deleting the Diameter signaling link with the corresponding PCRF; at the same time, the link connection module monitors the health status of each Diameter signaling link established with the PCRF device to ensure that the abnormal link is detected in time. When an abnormal link is found, a link exception message is reported to the link management module. When the link connection module receives the link management module to issue a link switching instruction, according to the content of the instruction, the connection of the primary link or the working link is interrupted, and the standby Diameter signaling link corresponding to the PCRF is switched to complete the chain with the PCRF. Road switching ensures high link availability with the PCRF.
信令广播模块,接收AF发起的动态策略和计费请求信令消息,负责以并行方式通过链路连接模块向各PCRF广播此Diameter信令。信令广播模块通过PCRF遵循的Rx接口规范进行信令消息封装组包,发布Diameter广播信令,通过链路连接模块与PCRF之间进行信令交互。并且由链路连接模块将收到PCRF响应的Diameter信令返回给信令广播模块。信令广播模块收到来自链路连接模块的Diameter信令后,将Diameter信令转发给路由寻址模块,供路由寻址模块进行路由寻址分析,等待路由寻址模块的路由寻址结果。在收到路由寻址模块的PCRF路由寻址结果后,信令广播模块终止继续向链路连接模块广播此新建会话中未完成广播的动态策略和计费请求信令消息。同时,向链路连接模块通知本次PCRF路由寻址结果,然后信令广播模块提取路由寻址模块返回的路由寻址结果消息中的PCRF的地址或主机名等路由信息,并将该路由信息与动态策略和计费响应信令消息一起返回AF。The signaling broadcast module receives the AF-initiated dynamic policy and the charging request signaling message, and is responsible for broadcasting the Diameter signaling to each PCRF through the link connection module in a parallel manner. The signaling broadcast module performs signaling message encapsulation group packets through the Rx interface specification followed by the PCRF, and advertises Diameter broadcast signaling, and performs signaling interaction between the link connection module and the PCRF. And the link connection module returns the Diameter signaling that receives the PCRF response to the signaling broadcast module. After receiving the Diameter signaling from the link connection module, the signaling broadcast module forwards the Diameter signaling to the route addressing module, and the route addressing module performs route addressing analysis, waiting for the route addressing result of the route addressing module. After receiving the PCRF route addressing result of the route addressing module, the signaling broadcast module terminates to continue to broadcast the dynamic policy and charging request signaling message of the uncompleted broadcast in the new session to the link connection module. At the same time, the link connection module is notified of the PCRF route addressing result, and then the signaling broadcast module extracts routing information such as the address or host name of the PCRF in the route addressing result message returned by the routing addressing module, and the routing information is obtained. The AF is returned along with the dynamic policy and the charging response signaling message.
路由寻址模块,接收信令广播模块转发的来自各PCRF的Diameter响应信令,针对各PCRF回复的信令,解析信令内容,判断PCRF响应的信令是否成功,若是失败的响应消息,则继续解析判断下一条响应消息,当收到任何一条正确的PCRF响应消息后,停止监控和处理其他PCRF的 响应消息,通知信令广播模块停止信令广播,并从成功的响应消息中提取PCRF的地址或主机名信息,即确定终端设备Gx和Rx会话归属的PCRF,实现PCRF的路由寻址,然后将寻址到的PCRF的地址或主机名信息返回给信令广播模块。The routing addressing module receives the Diameter response signaling from each PCRF forwarded by the signaling broadcast module, parses the signaling content for each PCRF reply signaling, determines whether the signaling of the PCRF response is successful, and if it is a failed response message, Continue to parse and judge the next response message. After receiving any correct PCRF response message, stop monitoring and processing other PCRFs. In response to the message, the notification signaling broadcast module stops the signaling broadcast, and extracts the address or host name information of the PCRF from the successful response message, that is, determines the PCRF to which the terminal device Gx and the Rx session belong, implements the routing addressing of the PCRF, and then The address or host name information of the addressed PCRF is returned to the signaling broadcast module.
下面将结合附图和实施例6至实施例13对实施例3进行详细说明。Embodiment 3 will be described in detail below with reference to the drawings and Embodiments 6 to 13.
实施例6Example 6
在本实施例中提供了一种直连PCRF广播消息路由寻址装置,基于该路由寻址装置,还提供给了一种直连PCRF广播消息路由寻址方法;图3是根据本发明实施例的直连PCRF广播消息路由寻址方法的流程图,如图3所示,本实施例的方法包括:In this embodiment, a direct PCRF broadcast message routing and addressing device is provided. Based on the route addressing device, a direct PCRF broadcast message routing addressing method is also provided. FIG. 3 is an embodiment according to the present invention. A flowchart of a method for direct routing PCRF broadcast message routing, as shown in FIG. 3, the method in this embodiment includes:
步骤S302,AF向本实施例中涉及到的路由寻址装置发送“动态策略和计费请求消息”;Step S302, the AF sends a "dynamic policy and charging request message" to the routing addressing device involved in this embodiment;
其中,1)AF可以是运行在移动终端的应用,也可以是来自服务器上的后台程序;2)“动态策略和计费请求消息”是指PCRF提供的接口消息,AF可以通过该接口消息请求PCRF及下层相关网络系统提供相应策略和计费控制功能;1) The AF may be an application running on the mobile terminal, or may be a background program from the server; 2) The “dynamic policy and charging request message” refers to an interface message provided by the PCRF, and the AF may request through the interface message. The PCRF and the underlying related network system provide corresponding policy and charging control functions;
步骤S304,路由寻址装置向与本装置建立连接的多个PCRF同时发送“动态策略和计费请求消息”信令,即逐一轮询各PCRF;Step S304, the routing addressing device simultaneously sends a "dynamic policy and charging request message" signaling to a plurality of PCRFs that establish a connection with the device, that is, polling each PCRF one by one;
步骤S306,该路由寻址装置接收多个PCRF先后或同时返回的响应信令,解析并判断响应返回码;Step S306, the routing addressing apparatus receives response signalings that are sequentially or simultaneously returned by multiple PCRFs, parses and determines a response return code;
步骤S308,该路由寻址装置提取响应成功的PCRF的地址或主机名,即寻址到对应PCRF,实现AF消息正确路由寻址。Step S308, the routing addressing device extracts the address or host name of the PCRF that responds successfully, that is, addresses the corresponding PCRF, and implements correct routing of the AF message.
实施例7Example 7
基于上述实施例6,本实施例提供了一种直连PCRF广播消息路由寻址方法的链路切换方法,图4是根据本发明实施例的基于路由寻址方法的链路切换方法流程图,如图4所示,该方法的步骤包括: Based on the foregoing embodiment 6, the embodiment provides a link switching method for a direct connection PCRF broadcast message routing addressing method, and FIG. 4 is a flowchart of a link switching method based on a route addressing method according to an embodiment of the present invention. As shown in Figure 4, the steps of the method include:
步骤S402:路由寻址装置配置与网络中存在的各PCRF之间的链路;Step S402: The route addressing device configures a link with each PCRF existing in the network;
步骤S404:路由寻址装置通过心跳监控每条链路状态,及时掌握各链路的状态;Step S404: The routing addressing device monitors the status of each link by using a heartbeat, and timely grasps the status of each link.
步骤S406:路由寻址装置在监控到链路异常时,启动备用链路,实现链路的冗余保障。Step S406: When the route addressing device monitors the link abnormality, the standby link is started to implement redundancy protection of the link.
实施例8Example 8
图5是根据本发明实施例中直连PCRF广播消息路由寻址装置的组成示意图,如图5所示,该装置包括:FIG. 5 is a schematic diagram of a composition of a direct-connect PCRF broadcast message routing and addressing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes:
链路管理模块501,提供Diameter信令链路的配置和管理维护功能。链路管理模块根据网络中存在的PCRF设备情况,新增Diameter信令链路信息,并将新增链路指令下达给链路连接模块502;链路管理模块501根据网络中PCRF设备的变化情况,修改Diameter信令链路信息,并将修改链路指令下达给链路连接模块;链路管理模块根据网络中PCRF设备的变化情况,删除Diameter信令链路信息,并将删除链路指令下达给链路连接模块。当链路管理模块接收到链路连接模块上报的与某PCRF之间的链路异常时,链路管理模块判断该PCRF是否支持并且链路连接模块与PCRF存在主、备链路,则下达指令通知链路连接模块进行主、备链路切换;The link management module 501 provides configuration and management maintenance functions of the Diameter signaling link. The link management module adds the Diameter signaling link information according to the PCRF device existing in the network, and sends the new link command to the link connection module 502. The link management module 501 changes according to the PCRF device in the network. Modifying the Diameter signaling link information, and the modified link command is sent to the link connection module; the link management module deletes the Diameter signaling link information according to the change of the PCRF device in the network, and releases the link command. Connect the link to the module. When the link management module receives the link abnormality between the link and the PCRF that is reported by the link connection module, the link management module determines whether the PCRF supports the link and the link connection module and the PCRF have a primary and backup link, and then issues an instruction. Notifying the link connection module to perform active/standby link switching;
链路连接模块502,接收链路管理模块501的链路管理指令,执行与多个PCRF或多组PCRF之间的Diameter信令链路连接;接收链路管理模块的主、备Diameter信令链路的切换指令,实现链路之间的切换。具体地,当接收到链路管理模块发送的新建链路指令,链路连接模块按照指令内容,建立起与对应PCRF的Diameter信令链路;当接收到链路管理模块发送的修改链路指令,链路连接模块按照指令内容,寻找到已存在的链路,并修改与对应PCRF的Diameter信令链路;当接收到链路管理模块发送的删除链路指令,链路连接模块按照指令内容,寻找到已存在的链路,并删除与对应PCRF的Diameter信令链路;同时,链路连接模块监控链路连接模块与PCRF设备建立起的每条Diameter信令链路的健康状态,确保及时发现 异常链路,当发现异常链路上,向链路管理模块上报链路异常消息。当链路连接模块接收到链路管理模块下达链路切换指令,按照指令内容,中断主链路或者工作链路的连接,并切换到对应PCRF的备用Diameter信令链路,完成与PCRF的链路切换,确保与PCRF的链路高可用性;The link connection module 502 receives the link management command of the link management module 501, performs a Diameter signaling link connection with multiple PCRFs or multiple sets of PCRFs, and receives the primary and backup Diameter signaling chains of the link management module. The switching instruction of the road realizes switching between links. Specifically, when receiving the new link command sent by the link management module, the link connection module establishes a Diameter signaling link with the corresponding PCRF according to the content of the instruction; when receiving the modified link command sent by the link management module The link connection module searches for an existing link according to the content of the instruction, and modifies the Diameter signaling link with the corresponding PCRF; when receiving the delete link command sent by the link management module, the link connection module follows the instruction content. Finding the existing link and deleting the Diameter signaling link with the corresponding PCRF; at the same time, the link connection module monitors the health status of each Diameter signaling link established by the link connection module and the PCRF device, ensuring discovered in time An abnormal link reports an abnormal link message to the link management module when an abnormal link is found. When the link connection module receives the link management module to issue a link switching instruction, according to the content of the instruction, the connection of the primary link or the working link is interrupted, and the standby Diameter signaling link corresponding to the PCRF is switched to complete the chain with the PCRF. Road switching to ensure high availability of links with the PCRF;
信令广播模块503,接收AF发起的动态策略和计费请求信令消息,负责以并行方式或串行方式通过链路连接模块502向各PCRF广播此Diameter信令。信令广播模块通过PCRF遵循的Rx接口规范进行信令消息封装组包,发布Diameter广播信令,通过链路连接模块与PCRF之间进行信令交互。并且由链路连接模块将收到PCRF响应的Diameter信令返回给信令广播模块。信令广播模块收到来自链路连接模块的Diameter信令后,将Diameter信令转发给路由寻址模块,供路由寻址模块进行路由寻址分析,等待路由寻址模块的路由寻址结果。在收到路由寻址模块的PCRF路由寻址结果后,信令广播模块终止继续向链路连接模块广播此新建会话中未完成广播的动态策略和计费请求信令消息。同时,向链路连接模块通知本次PCRF路由寻址结果,然后提取路由寻址模块返回的路由寻址结果消息中的PCRF的地址或主机名等路由信息,并将该路由信息与动态策略和计费响应信令消息一起返回AF;The signaling broadcast module 503 receives the AF-initiated dynamic policy and the charging request signaling message, and is responsible for broadcasting the Diameter signaling to each PCRF through the link connection module 502 in a parallel manner or in a serial manner. The signaling broadcast module performs signaling message encapsulation group packets through the Rx interface specification followed by the PCRF, and advertises Diameter broadcast signaling, and performs signaling interaction between the link connection module and the PCRF. And the link connection module returns the Diameter signaling that receives the PCRF response to the signaling broadcast module. After receiving the Diameter signaling from the link connection module, the signaling broadcast module forwards the Diameter signaling to the route addressing module, and the route addressing module performs route addressing analysis, waiting for the route addressing result of the route addressing module. After receiving the PCRF route addressing result of the route addressing module, the signaling broadcast module terminates to continue to broadcast the dynamic policy and charging request signaling message of the uncompleted broadcast in the new session to the link connection module. At the same time, the link connection module is notified of the PCRF route addressing result, and then the routing information such as the address or host name of the PCRF in the route addressing result message returned by the routing addressing module is extracted, and the routing information and the dynamic policy are The charging response signaling message is returned to the AF together;
路由寻址模块504,接收信令广播模块503转发的来自各PCRF的Diameter响应信令,针对各PCRF回复的信令,解析信令内容,判断PCRF响应的信令是否成功,若是失败的响应消息,则继续解析判断下一条响应消息,当收到任何一条正确的PCRF响应消息后,停止监控和处理其他PCRF的响应消息,通知信令广播模块停止信令广播,并从成功的响应消息中提取PCRF的地址或主机名信息,即确定终端设备Gx和Rx会话归属的PCRF,实现PCRF的路由寻址,然后将寻址到的PCRF的地址或主机名信息返回给信令广播模块。The routing and addressing module 504 receives the Diameter response signaling from each PCRF forwarded by the signaling broadcast module 503, parses the signaling content for each PCRF reply signaling, determines whether the signaling of the PCRF response is successful, and if it is a failed response message Then, it continues to parse and judge the next response message. After receiving any correct PCRF response message, it stops monitoring and processing the response messages of other PCRFs, notifies the signaling broadcast module to stop the signaling broadcast, and extracts from the successful response message. The address or host name information of the PCRF, that is, the PCRF that determines the location of the terminal device Gx and the Rx session, implements routing addressing of the PCRF, and then returns the address or host name information of the addressed PCRF to the signaling broadcast module.
需要说明的是,本实施例中的路由寻址模块504、信令广播模块503、链路连接模块502、链路管理模块501;与实施例3中涉及到的路由寻址模块、信令广播模块、链路连接模块、链路管理模块是对应的。 It should be noted that the route addressing module 504, the signaling broadcast module 503, the link connection module 502, and the link management module 501 in this embodiment; and the route addressing module and signaling broadcast involved in Embodiment 3 The module, the link connection module, and the link management module are corresponding.
实施例9Example 9
图6是根据本发明实施例中直连PCRF广播消息路由寻址装置的逻辑接口示意图;如图6所示,本实施例的装置包括:FIG. 6 is a schematic diagram of a logical interface of a direct-connected PCRF broadcast message routing and addressing apparatus according to an embodiment of the present invention; as shown in FIG. 6, the apparatus of this embodiment includes:
链路管理接口601,链路管理模块通过本接口向链路连接模块下达链路创建、修改、删除等指令;The link management interface 601, the link management module sends a link creation, modification, deletion, and the like to the link connection module through the interface;
链路切换接口602,链路管理模块通过本接口向链路连接模块下达主用和备用链路的切换指令;The link switching interface 602, the link management module sends a switching instruction of the primary and backup links to the link connection module through the interface;
链路监控接口603,链路连接模块监控与PCRF之间的链路健康状况,并通过本接口向链路管理模块上报链路健康状况;The link monitoring module 603 monitors the link health status between the link and the PCRF, and reports the link health status to the link management module through the interface.
动态策略和计费信令接口604,AF遵照该接口向信令广播模块发起动态策略和计费请求消息;a dynamic policy and charging signaling interface 604, the AF initiating a dynamic policy and charging request message to the signaling broadcast module according to the interface;
信令转发接口605,信令广播模块收到AF的请求信令后,通过本接口向链路连接模块转发动态策略和计费信令;The signaling forwarding interface 605, after receiving the request signaling of the AF, the signaling broadcast module forwards the dynamic policy and the charging signaling to the link connection module through the interface;
信令群发接口606,链路连接模块通过本接口向PCRF群发来自信令广播模块的信令;a signaling group sending interface 606, the link connecting module sends the signaling from the signaling broadcast module to the PCRF group through the interface;
路由寻址接口607,信令广播模块向路由寻址模块发送来自各PCRF返回的响应信令;The routing addressing interface 607, the signaling broadcast module sends the response signaling returned by each PCRF to the routing addressing module;
寻址结束接口608,路由寻址模块向信令广播模块发送完成路由寻址,并结束寻址的指令。The addressing end interface 608, the routing addressing module sends a complete routing address to the signaling broadcast module, and ends the addressing instruction.
实施例10Example 10
图7是根据本发明实施例的基于路由寻址装置的链路管理方法流程图;如图7所示,该方法的步骤包括:7 is a flowchart of a link management method based on a route addressing device according to an embodiment of the present invention; as shown in FIG. 7, the steps of the method include:
步骤S702:链路管理模块发起本装置的链路连接模块与PCRF之间的信令链路的配置管理,包括新建链路、修改现存链路和删除现存链路;Step S702: The link management module initiates configuration management of a signaling link between the link connection module of the device and the PCRF, including establishing a link, modifying an existing link, and deleting an existing link.
步骤S704:链路管理模块通过链路管理接口向链路连接模块下发链路管理指令; Step S704: The link management module sends a link management command to the link connection module through the link management interface.
步骤S706:链路连接模块接收来自链路管理模块的链路配置指令,然后返回响应消息,确认已接收到链路管理指令;Step S706: The link connection module receives the link configuration command from the link management module, and then returns a response message to confirm that the link management command has been received.
步骤S708:链路连接模块按照链路管理模块的链路管理指令,建立与PCRF之间的信令链路。Step S708: The link connection module establishes a signaling link with the PCRF according to the link management instruction of the link management module.
实施例11Example 11
图8是根据本发明实施例的基于路由寻址装置的链路切换方法流程图;如图8所示,该方法的步骤包括:8 is a flowchart of a link switching method based on a route addressing device according to an embodiment of the present invention; as shown in FIG. 8, the steps of the method include:
步骤S802:链路连接模块监控与各PCRF之间的链路状态;Step S802: The link connection module monitors a link state between each PCRF;
步骤S804:链路连接模块在链路监控过程中,发现与任意一个或多个PCRF之间的链路存在超时、或连接失败等异常情况时,向链路管理模块上报链路的异常状态消息;Step S804: The link connection module reports an abnormal status message of the link to the link management module when the link between the one or more PCRFs is abnormal, such as a timeout or a connection failure. ;
步骤S806:链路管理模块进行与对应PCRF链路数据进行分析,判断该PCRF是否支持主、备链路,并且链路连接模块与PCRF存在主、备链路的配置,若PCRF支持主、备链路,并且链路连接模块与PCRF存在主、备链路的配置,则执行步骤S808;否则向管理员发送告警;Step S806: The link management module performs analysis on the link data of the corresponding PCRF to determine whether the PCRF supports the primary and backup links, and the configuration of the primary and backup links exists between the link connection module and the PCRF. If the link is configured, and the link connection module and the PCRF have the configuration of the primary and backup links, step S808 is performed; otherwise, an alarm is sent to the administrator;
步骤S808:链路管理模块向链路连接模块下达链路切换指令,指示链路连接模块与PCRF进行链路的切换;Step S808: The link management module sends a link switching instruction to the link connection module, indicating that the link connection module performs a link switching with the PCRF.
步骤S810:链路连接模块进行主、备链路切换。Step S810: The link connection module performs primary and backup link switching.
其中,主、备链路的切换包括:当主链路异常,备链路可用,则从主链路切换到备链路,或当主链路恢复可用,从备链路切回到主链路。The switching of the primary and backup links includes: when the primary link is abnormal, and the standby link is available, the primary link is switched to the standby link, or when the primary link is restored, the secondary link is switched back to the primary link.
实施例12Example 12
图9是根据本发明实施例的基于路由寻址装置的执行信令方法流程图;如图9所示,该方法的步骤包括:9 is a flowchart of a method for performing signaling based on a routing addressing device according to an embodiment of the present invention; as shown in FIG. 9, the steps of the method include:
步骤S902:AF向信令广播模块发起初次动态策略和计费信令请求,意图通过包含信令广播模块在内的本发明所对应装置的其他模块完成到PCRF的路由寻址,最终将信令消息发往正确的PCRF; Step S902: The AF initiates the initial dynamic policy and the charging signaling request to the signaling broadcast module, and intends to complete the routing addressing to the PCRF by using other modules of the device corresponding to the present invention, including the signaling broadcast module, and finally signaling. The message is sent to the correct PCRF;
步骤S904:信令广播模块接收到AF的初次信令请求后,向链路连接模块转发信令请求消息,确保向已与链路连接模块建立起正常链路的所有PCRF都发送相同的信令请求;Step S904: After receiving the initial signaling request of the AF, the signaling broadcast module forwards the signaling request message to the link connection module to ensure that the same signaling is sent to all PCRFs that have established a normal link with the link connection module. request;
步骤S906:链路连接模块向多PCRF广播信令请求消息,支持轮询和并发两种方式向各个PCRF发送信令;Step S906: The link connection module broadcasts a signaling request message to the multiple PCRFs, and supports signaling and concurrent signaling to send signaling to each PCRF.
步骤S908:链路连接模块接收到各PCRF返回的响应信令消息。其中响应信令消息可以是先后到达链路连接模块,也可以部分同时到达链路连接模块;Step S908: The link connection module receives the response signaling message returned by each PCRF. The response signaling message may arrive at the link connection module in succession, or may reach the link connection module in part at the same time;
步骤S910:链路连接模块向信令广播模块转发PCRF返回的响应信令消息。其中响应信令消息可以是先后到达信令广播模块,也可以部分同时到达信令广播模块;Step S910: The link connection module forwards the response signaling message returned by the PCRF to the signaling broadcast module. The response signaling message may arrive at the signaling broadcast module one after another, or may reach the signaling broadcast module at the same time;
步骤S912:信令广播模块将来自PCRF的响应信令消息按照路由寻址接口,向路由寻址模块请求进行路由寻址;Step S912: The signaling broadcast module requests the routing addressing module to perform routing addressing according to the routing addressing interface according to the routing addressing interface.
步骤S914:路由寻址模块进行路由寻址操作,具体包括解析响应信令内容,判断各PCRF响应的信令是否成功,若是失败的响应消息,则继续解析判断下一条响应消息,当收到任何一条正确的PCRF响应消息后,通知信令广播模块停止信令广播,并停止监控和处理来自信令广播模块的其他PCRF响应信令消息,然后从成功的响应消息中提取PCRF的地址或主机名信息,确定PCRF设备,即确定终端设备Gx和Rx会话归属的PCRF,实现PCRF的路由寻址;Step S914: The route addressing module performs a routing and addressing operation, specifically including parsing the response signaling content, determining whether the signaling of each PCRF response is successful, and if the response message is a failure, continuing to parse and determine the next response message, when receiving any After a correct PCRF response message, the notification signaling broadcast module stops the signaling broadcast, stops monitoring and processing other PCRF response signaling messages from the signaling broadcast module, and then extracts the PCRF address or host name from the successful response message. Information, determining a PCRF device, that is, determining a PCRF to which the terminal device Gx and the Rx session belong, and implementing routing addressing of the PCRF;
步骤S916:路由寻址模块向信令广播模块返回寻址到的PCRF的地址或主机名信息;Step S916: The routing addressing module returns the address or host name information of the addressed PCRF to the signaling broadcast module.
步骤S918:信令广播模块终止继续进行广播动态策略和计费请求信令消息,即不再向链路连接模块发送剩余未发送完成的动态策略和计费请求信令消息;Step S918: The signaling broadcast module terminates the broadcast dynamic policy and the charging request signaling message, that is, the dynamic policy and the charging request signaling message that are not transmitted completely are not sent to the link connection module.
步骤S920:信令广播模块向链路连接模块返回路由寻址结果,使得链路连接模块终止继续向信令广播模块转发来自PCRF的剩余响应信令消 息;Step S920: The signaling broadcast module returns a route addressing result to the link connection module, so that the link connection module terminates and continues to forward the remaining response signaling from the PCRF to the signaling broadcast module. interest;
步骤S922:信令广播模块从路由寻址模块的路由寻址响应消息中提取到PCRF的地址或主机名等路由信息;Step S922: The signaling broadcast module extracts routing information such as an address or a host name of the PCRF from the route addressing response message of the routing addressing module.
步骤S924:信令广播模块向AF返回动态策略和计费响应消息,消息中包含PCRF路由信息,以便AF在本会话的后续信令交互中,直接携带PCRF路由信息。Step S924: The signaling broadcast module returns a dynamic policy and an accounting response message to the AF, where the message includes the PCRF routing information, so that the AF directly carries the PCRF routing information in the subsequent signaling interaction of the session.
实施例13Example 13
图10是根据本发明实施例的基于路由寻址装置的针对寻址成功后的信令流程图;如图10所示,本实施例的方法步骤包括:FIG. 10 is a flow chart of signaling after a successful addressing based on a routing addressing device according to an embodiment of the present invention; as shown in FIG. 10, the method steps of this embodiment include:
步骤S1002:PCRF路由寻址成功后,AF携带信令广播模块此前返回的PCRF路由信息,向信令广播模块发送动态策略和计费请求信令消息;Step S1002: After the PCRF route is successfully addressed, the AF carries the PCRF routing information previously returned by the signaling broadcast module, and sends a dynamic policy and a charging request signaling message to the signaling broadcast module.
步骤S1004:信令广播模块向链路连接模块发送动态策略和计费请求信令消息;Step S1004: The signaling broadcast module sends a dynamic policy and a charging request signaling message to the link connection module.
步骤S1006:链路连接模块针对消息中携带的PCRF路由信息,向指定的PCRF转发动态策略和计费请求信令消息;Step S1006: The link connection module forwards the dynamic policy and the charging request signaling message to the designated PCRF for the PCRF routing information carried in the message.
步骤S1008:PCRF向链路连接模块返回动态策略和计费响应信令消息;Step S1008: The PCRF returns a dynamic policy and a charging response signaling message to the link connection module.
步骤S1010:链路连接模块向信令广播模块转发动态策略和计费响应信令消息;Step S1010: The link connection module forwards the dynamic policy and the charging response signaling message to the signaling broadcast module.
步骤S1012:信令广播模块向AF返回动态策略和计费响应信令消息。Step S1012: The signaling broadcast module returns a dynamic policy and a charging response signaling message to the AF.
该会话中的后续消息交互均按照S1002~S1012步骤进行交互。Subsequent message interactions in the session are performed in accordance with steps S1002 to S1012.
实施例14Example 14
本实施例所对应的主要场景为:用户在人群密集的场所使用手机上网观看视频,由于上网的人较多,网速不理想,导致视频播放不连贯,影响用户体验。通过本实施例所对应的方法,可以为该用户在此时将无线上网带宽进行增加,同时,保证用户的带宽等QoS服务质量维持稳定。图11 是根据本发明实施例的基于路由寻址装置申请带宽加速的信令流程图;如图11所示,本实施例的步骤包括:The main scenario corresponding to this embodiment is that the user uses the mobile phone to watch the video on the Internet in crowded places. Because there are many people surfing the Internet, the network speed is not ideal, resulting in inconsistent video playback and affecting the user experience. Through the method corresponding to the embodiment, the user can increase the bandwidth of the wireless Internet at this time, and at the same time, ensure that the QoS service quality such as the bandwidth of the user is stable. Figure 11 A signaling flowchart for applying for bandwidth acceleration based on a routing addressing device according to an embodiment of the present invention; as shown in FIG. 11, the steps of this embodiment include:
步骤S1102,视频APP(即对应PCC架构的AF)向信令广播模块发起初次动态带宽加速QoS策略请求信令,意图通过包含信令广播模块在内的本实施例所对应装置的其他模块完成到PCRF的路由寻址,最终将信令消息发往正确的PCRF。In step S1102, the video APP (ie, the AF corresponding to the PCC architecture) initiates the initial dynamic bandwidth acceleration QoS policy request signaling to the signaling broadcast module, and is intended to be completed by other modules of the device corresponding to the embodiment, including the signaling broadcast module. The routing of the PCRF is routed, and finally the signaling message is sent to the correct PCRF.
其中,在本实施例中不限于视频类移动互联网APP,其他,如游戏类应用、移动办公类应用等凡是对用户使用移动终端上网时,有带宽等QoS要求的应用及场景都可以;In this embodiment, the mobile Internet APP is not limited to the video type, and other applications, such as a game application, a mobile office application, and the like, where the user uses the mobile terminal to access the Internet, and applications and scenarios having bandwidth and other QoS requirements are applicable;
步骤S1104,信令广播模块接收到视频APP的初次信令请求后,向链路连接模块转发信令请求消息,确保向已与链路连接模块建立起正常链路的所有PCRF都发送相同的信令请求;Step S1104: After receiving the initial signaling request of the video APP, the signaling broadcast module forwards the signaling request message to the link connection module to ensure that the same letter is sent to all PCRFs that have established a normal link with the link connection module. Order
步骤S1106,链路连接模块向多PCRF广播信令请求消息,支持轮询和并发两种方式向各个PCRF发送信令;Step S1106: The link connection module broadcasts a signaling request message to the multiple PCRFs, and supports signaling and signaling to send signaling to each PCRF.
步骤S1108,链路连接模块接收到各PCRF返回的响应信令消息。Step S1108: The link connection module receives the response signaling message returned by each PCRF.
其中,响应信令消息可以是先后到达链路连接模块,也可以部分同时到达链路连接模块;The response signaling message may arrive at the link connection module in succession, or may reach the link connection module in part at the same time;
步骤S1110,链路连接模块向信令广播模块转发PCRF返回的响应信令消息。Step S1110: The link connection module forwards the response signaling message returned by the PCRF to the signaling broadcast module.
其中,响应信令消息可以是先后到达信令广播模块,也可以部分同时到达信令广播模块;The response signaling message may arrive at the signaling broadcast module in succession, or may reach the signaling broadcast module in part at the same time;
步骤S1112,信令广播模块将来自PCRF的响应信令消息按照路由寻址接口,向路由寻址模块请求进行路由寻址;Step S1112: The signaling broadcast module requests the routing addressing module to perform routing addressing according to the routing addressing interface according to the routing addressing interface.
步骤S1114,路由寻址模块进行路由寻址操作,Step S1114, the route addressing module performs a routing addressing operation,
其中,该寻址操作包括:解析响应信令内容,判断各PCRF响应的信令是否成功,若是失败的响应消息,则继续解析判断下一条响应消息,当 收到任何一条正确的PCRF响应消息后,通知信令广播模块停止信令广播,并停止监控和处理来自信令广播模块的其他PCRF响应信令消息,然后从成功的响应消息中提取PCRF的地址或主机名信息,确定PCRF设备,即确定终端设备Gx和Rx会话归属的PCRF,实现PCRF的路由寻址;The addressing operation includes: parsing the response signaling content, determining whether the signaling of each PCRF response is successful, and if it is a failed response message, continuing to parse and determine the next response message, when After receiving any correct PCRF response message, the notification signaling broadcast module stops the signaling broadcast, stops monitoring and processing other PCRF response signaling messages from the signaling broadcast module, and then extracts the PCRF address from the successful response message. Or the host name information, determining the PCRF device, that is, determining the PCRF to which the terminal device Gx and the Rx session belong, and implementing routing addressing of the PCRF;
步骤S1116,路由寻址模块向信令广播模块返回寻址到的PCRF的地址或主机名信息;Step S1116: The route addressing module returns the address or host name information of the addressed PCRF to the signaling broadcast module.
步骤S1118,信令广播模块终止继续进行广播动态带宽加速QoS策略请求信令消息,即不再向链路连接模块发送剩余未发送完成的带宽加速QoS策略请求信令消息;Step S1118, the signaling broadcast module terminates the broadcast dynamic bandwidth acceleration QoS policy request signaling message, that is, the remaining unsent bandwidth acceleration QoS policy request signaling message is no longer sent to the link connection module;
步骤S1120,信令广播模块向链路连接模块返回路由寻址结果,使得链路连接模块终止继续向信令广播模块转发来自PCRF的剩余响应信令消息;Step S1120: The signaling broadcast module returns a route addressing result to the link connection module, so that the link connection module terminates and continues to forward the remaining response signaling message from the PCRF to the signaling broadcast module.
步骤S1122,信令广播模块从路由寻址模块的路由寻址响应消息中提取到PCRF的地址或主机名等路由信息;Step S1122: The signaling broadcast module extracts routing information such as an address or a host name of the PCRF from a route addressing response message of the routing addressing module.
步骤S1124,信令广播模块向视频APP返回动态带宽加速QoS策略响应消息,消息中包含PCRF路由信息;Step S1124: The signaling broadcast module returns a dynamic bandwidth acceleration QoS policy response message to the video APP, where the message includes PCRF routing information.
步骤S1126,视频APP携带信令广播模块此前返回的PCRF路由信息,向信令广播模块发送动态带宽加速QoS策略请求信令消息;Step S1126: The video APP carries the PCRF routing information previously returned by the signaling broadcast module, and sends a dynamic bandwidth acceleration QoS policy request signaling message to the signaling broadcast module.
步骤S1128,信令广播模块向链路连接模块发送动态带宽加速QoS策略请求信令消息;Step S1128: The signaling broadcast module sends a dynamic bandwidth acceleration QoS policy request signaling message to the link connection module.
步骤S1130,链路连接模块针对消息中携带的PCRF路由信息,向指定的PCRF转发动态带宽加速QoS策略请求信令消息;Step S1130: The link connection module forwards the dynamic bandwidth acceleration QoS policy request signaling message to the designated PCRF for the PCRF routing information carried in the message.
步骤S1132,PCRF向链路连接模块返回动态带宽加速QoS策略响应信令消息;Step S1132: The PCRF returns a dynamic bandwidth acceleration QoS policy response signaling message to the link connection module.
步骤S1134,链路连接模块向信令广播模块转发动态带宽加速QoS策略响应信令消息; Step S1134: The link connection module forwards the dynamic bandwidth acceleration QoS policy response signaling message to the signaling broadcast module.
步骤S1136,信令广播模块向视频APP返回动态带宽加速QoS策略响应信令消息。Step S1136: The signaling broadcast module returns a dynamic bandwidth acceleration QoS policy response signaling message to the video APP.
该会话中的后续消息交互均按照S1126~S1136步骤进行交互,包括视频APP按照S1126~S1136步骤,终止带宽加速QoS策略。The subsequent message interactions in the session are performed according to the steps S1126 to S1136, and the video APP terminates the bandwidth acceleration QoS policy according to the steps S1126 to S1136.
实施例15Example 15
本实施例所对应的主要场景为:用户在使用手机上网观看视频时,由于视频中插入了广告,用户会被迫观看插播的广告,且也会将用户观看广告产生的流量计入用户的流量套餐中,为了避免用户为这种流量付费,且应用或内容提供商为了吸引用户,由应用或内容提供商为这一部分流量付费,而用户无需观看广告产生的流量费,实现共赢。图12是根据本发明实施例的基于路由寻址装置申请免流量费的信令流程图;如图12所示,该方法的步骤包括:The main scenario corresponding to this embodiment is: when the user uses the mobile phone to watch the video on the Internet, because the advertisement is inserted into the video, the user is forced to watch the inserted advertisement, and the flow rate generated by the user to view the advertisement is also input into the user's traffic. In the package, in order to prevent users from paying for such traffic, and the application or content provider pays for this part of the traffic in order to attract the user, the user does not need to watch the traffic fee generated by the advertisement to achieve a win-win situation. FIG. 12 is a signaling flowchart of applying for a no-flow fee based on a route addressing device according to an embodiment of the present invention; as shown in FIG. 12, the steps of the method include:
步骤S1202,广告APP(即对应PCC架构的AF)向信令广播模块发起初次动态计费策略请求信令,Step S1202: The advertisement APP (ie, the AF corresponding to the PCC architecture) initiates initial dynamic charging policy request signaling to the signaling broadcast module,
其中,通过包含信令广播模块在内的本实施例所对应装置的其他模块完成到PCRF的路由寻址,最终将信令消息发往正确的PCRF。其中,这里不限于广告类移动互联网APP,其他,如电商类应用、移动办公类应用等凡是需要免收用户无线上网流量费的场景都适应;The other modules of the device corresponding to the embodiment, including the signaling broadcast module, complete the route addressing to the PCRF, and finally send the signaling message to the correct PCRF. Among them, the mobile Internet APP is not limited to advertising, and other scenarios, such as e-commerce applications, mobile office applications, etc., which are required to be free of wireless Internet traffic charges, are adapted;
步骤S1204,信令广播模块接收到广告APP的初次信令请求后,向链路连接模块转发信令请求消息,确保向已与链路连接模块建立起正常链路的所有PCRF都发送相同的信令请求;Step S1204: After receiving the initial signaling request of the advertising APP, the signaling broadcast module forwards the signaling request message to the link connection module to ensure that the same letter is sent to all PCRFs that have established a normal link with the link connection module. Order
步骤S1206,链路连接模块向多PCRF广播信令请求消息,支持轮询和并发两种方式向各个PCRF发送信令;Step S1206: The link connection module broadcasts a signaling request message to the multi-PCRF, and supports signaling in a polling and concurrent manner to send signaling to each PCRF.
步骤S1208,链路连接模块接收到各PCRF返回的响应信令消息。其中响应信令消息可以是先后到达链路连接模块,也可以部分同时到达链路连接模块;Step S1208: The link connection module receives the response signaling message returned by each PCRF. The response signaling message may arrive at the link connection module in succession, or may reach the link connection module in part at the same time;
步骤S1210,链路连接模块向信令广播模块转发PCRF返回的响应信 令消息。Step S1210: The link connection module forwards the response message returned by the PCRF to the signaling broadcast module. Order the message.
其中,响应信令消息可以是先后到达信令广播模块,也可以部分同时到达信令广播模块;The response signaling message may arrive at the signaling broadcast module in succession, or may reach the signaling broadcast module in part at the same time;
步骤S1212,信令广播模块将来自PCRF的响应信令消息按照路由寻址接口,向路由寻址模块请求进行路由寻址;Step S1212: The signaling broadcast module requests the routing addressing module to perform routing addressing according to the routing addressing interface according to the routing addressing interface.
步骤S1214,路由寻址模块进行路由寻址操作,Step S1214, the route addressing module performs a routing addressing operation,
其中,该寻址操作包括:解析响应信令内容,判断各PCRF响应的信令是否成功,若是失败的响应消息,则继续解析判断下一条响应消息,当收到任何一条正确的PCRF响应消息后,通知信令广播模块停止信令广播,并停止监控和处理来自信令广播模块的其他PCRF响应信令消息,然后从成功的响应消息中提取PCRF的地址或主机名信息,确定PCRF设备,即确定终端设备Gx和Rx会话归属的PCRF,实现PCRF的路由寻址;The addressing operation includes: parsing the response signaling content, determining whether the signaling of each PCRF response is successful, and if it is a failed response message, continuing to parse and determine the next response message, after receiving any correct PCRF response message. Notifying the signaling broadcast module to stop the signaling broadcast, and stopping monitoring and processing other PCRF response signaling messages from the signaling broadcast module, and then extracting the PCRF address or host name information from the successful response message to determine the PCRF device, ie, Determining the PCRF to which the terminal device Gx and the Rx session belong, and implementing routing addressing of the PCRF;
步骤S1216,路由寻址模块向信令广播模块返回寻址到的PCRF的地址或主机名信息;Step S1216, the route addressing module returns the address or host name information of the addressed PCRF to the signaling broadcast module;
步骤S1218,信令广播模块终止继续进行广播动态计费策略请求信令消息,即不再向链路连接模块发送剩余未发送完成的计费策略请求信令消息;Step S1218: The signaling broadcast module terminates the broadcast dynamic charging policy request signaling message, that is, the remaining unsent charging policy request signaling message is not sent to the link connection module;
步骤S1220,信令广播模块向链路连接模块返回路由寻址结果,使得链路连接模块终止继续向信令广播模块转发来自PCRF的剩余响应信令消息;Step S1220: The signaling broadcast module returns a route addressing result to the link connection module, so that the link connection module terminates and continues to forward the remaining response signaling message from the PCRF to the signaling broadcast module.
步骤S1222,信令广播模块从路由寻址模块的路由寻址响应消息中提取到PCRF的地址或主机名等路由信息;Step S1222: The signaling broadcast module extracts routing information such as an address or a host name of the PCRF from the route addressing response message of the route addressing module.
步骤S1224,信令广播模块向广告APP返回动态计费策略响应消息,消息中包含PCRF路由信息;Step S1224: The signaling broadcast module returns a dynamic charging policy response message to the advertising APP, where the message includes PCRF routing information.
步骤S1226,广告APP携带信令广播模块此前返回的PCRF路由信息,向信令广播模块发送动态计费策略请求信令消息; Step S1226: The advertisement APP carries the PCRF routing information previously returned by the signaling broadcast module, and sends a dynamic charging policy request signaling message to the signaling broadcast module.
步骤S1228,信令广播模块向链路连接模块发送动态计费策略请求信令消息;Step S1228: The signaling broadcast module sends a dynamic charging policy request signaling message to the link connection module.
步骤S1230,链路连接模块针对消息中携带的PCRF路由信息,向指定的PCRF转发动态计费策略请求信令消息;Step S1230: The link connection module forwards the dynamic charging policy request signaling message to the designated PCRF for the PCRF routing information carried in the message.
步骤S1232,PCRF向链路连接模块返回动态计费策略响应信令消息;Step S1232: The PCRF returns a dynamic charging policy response signaling message to the link connection module.
步骤S1234,链路连接模块向信令广播模块转发动态计费策略响应信令消息;Step S1234: The link connection module forwards the dynamic charging policy response signaling message to the signaling broadcast module.
步骤S1236,信令广播模块向广告APP返回动态计费策略响应信令消息。Step S1236: The signaling broadcast module returns a dynamic charging policy response signaling message to the advertising APP.
该会话中的后续消息交互均按照S1226~S1236步骤进行交互,包括广告APP按照S1226~S1236步骤,终止计费策略。The subsequent message interactions in the session are performed according to the steps S1226 to S1236, and the advertising APP terminates the charging policy according to the steps S1226 to S1236.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
步骤S1:向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息;Step S1: Send a signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF;
步骤S2:获取响应于信令消息成功的PCRF的路由信息,并发送路由信息到应用功能AF,其中,路由信息用于指示应用功能AF根据路由信息进行路由寻址。Step S2: Obtain routing information of the PCRF that is successful in response to the signaling message, and send routing information to the application function AF, where the routing information is used to indicate that the application function AF performs routing addressing according to the routing information.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤 可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the invention described above are apparent. It can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they can be implemented by program code executable by the computing device, such that They may be stored in a storage device by a computing device, and in some cases, the steps shown or described may be performed in an order different than that herein, or separately fabricated into individual integrated circuit modules. Alternatively, multiple modules or steps of them can be implemented as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
在本发明实施例中,向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息,获取响应于所述信令消息成功的PCRF的路由信息,并发送所述路由信息到应用功能AF,也就是说,能够获取到响应成功的PCRF的路由信息,进而解决了相关技术中需要依赖DRA进行多PCRF路由寻址,或在多PCRF情况下需要对PCEF和AF的定制开发导致运维成本大的问题,进而达到了减少维护难度且节省成本的效果。 In the embodiment of the present invention, the signaling message for the dynamic policy and the charging request is sent to the policy and charging control unit PCRF, and the routing information of the PCRF that is successful in response to the signaling message is obtained, and the routing information is sent. To apply the function AF, that is, to obtain the routing information of the PCRF that responds successfully, thereby solving the need for relying on the DRA for multi-PCRF routing addressing in the related art, or requiring customized development of PCEF and AF in the case of multiple PCRFs. This leads to the problem of high operation and maintenance cost, which in turn reduces the difficulty of maintenance and saves costs.

Claims (22)

  1. 一种获取路由信息的方法,包括:A method for obtaining routing information, including:
    向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息;Sending a signaling message for the dynamic policy and the charging request to the Policy and Charging Control Unit PCRF;
    获取响应于所述信令消息成功的PCRF的路由信息,并发送所述路由信息到应用功能AF,其中,所述路由信息用于指示应用功能AF根据所述路由信息进行路由寻址。Obtaining routing information of the PCRF that is successful in response to the signaling message, and sending the routing information to the application function AF, where the routing information is used to indicate that the application function AF performs routing addressing according to the routing information.
  2. 根据权利要求1所述的方法,其中,所述获取响应于所述信令消息成功的PCRF的路由信息包括:The method according to claim 1, wherein the obtaining routing information of the PCRF that is successful in response to the signaling message comprises:
    接收PCRF响应于所述信令消息的响应消息,其中,所述响应消息中携带有用于指示所述响应消息是否响应成功的返回码;Receiving a response message of the PCRF in response to the signaling message, where the response message carries a return code indicating whether the response message is successful;
    根据所述返回码确定出响应成功的响应消息;Determining a response message that the response is successful according to the return code;
    获取与响应成功的响应消息对应PCRF的路由信息。Acquiring the routing information corresponding to the PCRF corresponding to the response message that the response succeeds.
  3. 根据权利要求1所述的方法,其中,在向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息之前,所述方法还包括:The method of claim 1, wherein before the signaling message for the dynamic policy and the charging request is sent to the policy and charging control unit PCRF, the method further comprises:
    接收所述AF发送的所述信令消息。Receiving the signaling message sent by the AF.
  4. 根据权利要求1所述的方法,其中,向所述PCRF发送用于动态策略和计费请求的信令消息的方式包括以下之一:并行发送方式、串行发送方式。The method according to claim 1, wherein the manner of transmitting the signaling message for the dynamic policy and the charging request to the PCRF comprises one of the following: a parallel transmission mode, a serial transmission mode.
  5. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    获取网络中PCRF的变化情况;Obtaining changes in the PCRF in the network;
    根据所述变化情况调整与PCRF之间的链路状态。 The link state between the PCRF and the PCRF is adjusted according to the change.
  6. 根据权利要求5所述的方法,其中,The method of claim 5, wherein
    所述变化情况包括以下之一:新建信令链路、修改信令链路、删除信令链路、在信令链路异常时,切换信令链路;The change includes one of the following: newly creating a signaling link, modifying a signaling link, deleting a signaling link, and switching a signaling link when the signaling link is abnormal;
    调整与PCRF之间的链路状态的包括以下至少之一:Adjusting the link state with the PCRF includes at least one of the following:
    产生用于新建信令链路的新建指令,并根据所述新建指令新建立与PCRF之间的信令链路;Generating a new instruction for creating a new signaling link, and newly establishing a signaling link with the PCRF according to the new instruction;
    产生用于修改信令链路的修改指令,并根据所述修改指令修改与PCRF之间的信令链路;Generating a modification instruction for modifying the signaling link, and modifying a signaling link with the PCRF according to the modification instruction;
    产生用于删除信令链路的删除指令,并根据所述删除指令删除与PCRF之间的信令链路;Generating a delete instruction for deleting the signaling link, and deleting a signaling link with the PCRF according to the deleting instruction;
    在信令链路异常时,产生用于切换信令链路的切换指令,并根据所述切换指令切换与PCRF之间的信令链路。When the signaling link is abnormal, a handover instruction for switching the signaling link is generated, and the signaling link between the PCRF and the PCRF is switched according to the handover instruction.
  7. 一种获取路由信息的装置,包括:An apparatus for obtaining routing information, including:
    发送模块,设置为向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息;a sending module, configured to send a signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF;
    获取模块,设置为获取响应于所述信令消息成功的PCRF的路由信息,并发送所述路由信息到应用功能AF,其中,所述路由信息用于指示应用功能AF根据所述路由信息进行路由寻址。An obtaining module, configured to obtain routing information of a PCRF that is successful in response to the signaling message, and send the routing information to an application function AF, where the routing information is used to indicate that the application function AF performs routing according to the routing information. Addressing.
  8. 根据权利要求7所述的装置,其中,所述获取模块包括:The apparatus of claim 7, wherein the obtaining module comprises:
    接收单元,设置为接收PCRF响应于所述信令消息的响应消息,其中,所述响应消息中携带有用于指示所述响应消息是否响应成功的返回码;a receiving unit, configured to receive a response message of the PCRF in response to the signaling message, where the response message carries a return code indicating whether the response message is successful or not;
    确定单元,设置为根据所述返回码确定出响应成功的响应消息; a determining unit, configured to determine, according to the return code, a response message that the response is successful;
    获取单元,设置为获取与响应成功的响应消息对应PCRF的路由信息。The obtaining unit is configured to obtain routing information corresponding to the PCRF corresponding to the response message that the response succeeds.
  9. 根据权利要求7所述的装置,其中,在所述发送模块向策略及计费控制单元PCRF发送用于动态策略和计费请求的信令消息之前,所述装置还包括:The device according to claim 7, wherein before the sending module sends a signaling message for the dynamic policy and the charging request to the policy and charging control unit PCRF, the device further includes:
    接收模块,设置为接收所述AF发送的所述信令消息。And a receiving module, configured to receive the signaling message sent by the AF.
  10. 根据权利要求7所述的装置,其中,所述发送模块向所述PCRF发送用于动态策略和计费请求的信令消息的方式包括以下之一:并行发送方式、串行发送方式。The apparatus according to claim 7, wherein the manner in which the sending module sends the signaling message for the dynamic policy and the charging request to the PCRF comprises one of the following: a parallel transmission mode and a serial transmission mode.
  11. 根据权利要求7所述的装置,其中,所述装置还包括:The apparatus of claim 7 wherein said apparatus further comprises:
    获取模块,设置为获取网络中PCRF的变化情况;Obtaining a module, configured to obtain a change of the PCRF in the network;
    调整模块,设置为根据所述变化情况调整与PCRF之间的链路状态。The adjustment module is configured to adjust a link state between the PCRF and the PCRF according to the change.
  12. 根据权利要求11所述的装置,其中,The apparatus according to claim 11, wherein
    所述变化情况包括以下之一:新建信令链路;修改信令链路;接收用于删除信令链路;在信令链路异常时,切换信令链路;The change includes one of the following: a new signaling link; a modified signaling link; a receiving for deleting a signaling link; and a signaling link when the signaling link is abnormal;
    所述调整模块包括以下至少之一:第一调整单元,设置为产生用于新建信令链路的新建指令,并根据所述新建指令新建立与PCRF之间的信令链路;第二调整单元,设置为产生用于修改信令链路的修改指令,并根据所述修改单元修改与PCRF之间的信令链路;第三调整单元,设置为产生用于删除信令链路的删除指令,并根据删除指令删除与PCRF之间的信令链路;第四调整单元,设置为在信令链路异常时,产生用于切换信令链路的切换指令,并根据所述切换指令切换与PCRF之间的信令链路。 The adjustment module includes at least one of the following: a first adjustment unit configured to generate a new instruction for creating a new signaling link, and newly establishing a signaling link with the PCRF according to the new instruction; a unit, configured to generate a modification instruction for modifying a signaling link, and modify a signaling link with the PCRF according to the modifying unit; and a third adjusting unit configured to generate a deletion for deleting the signaling link And deleting a signaling link between the PCRF and the PCRF according to the deletion instruction; the fourth adjusting unit is configured to generate a switching instruction for switching the signaling link when the signaling link is abnormal, and according to the switching instruction Switching between the signaling link with the PCRF.
  13. 一种路由寻址设备,包括:A routing addressing device comprising:
    信令广播模块,设置为接收应用功能AF发起的动态策略和计费请求信令消息,并将所述信令消息广播到策略及计费控制单元PCRF;以及接收PCRF响应于所述信令消息的响应消息;a signaling broadcast module, configured to receive a dynamic policy and a charging request signaling message initiated by the application function AF, and broadcast the signaling message to a policy and charging control unit PCRF; and receive the PCRF in response to the signaling message Response message
    路由寻址模块,与所述信令广播模块耦合连接,设置为从所述响应消息中获取响应成功的PCRF的路由信息;a routing and addressing module, coupled to the signaling broadcast module, configured to obtain, from the response message, routing information of a PCRF that responds successfully;
    所述信令广播模块,还设置为提取所述响应成功的PCRF的路由信息并转发到所述AF。The signaling broadcast module is further configured to extract routing information of the PCRF that is successfully responded to and forward the information to the AF.
  14. 根据权利要求13所述的设备,其中,所述设备还包括:The device of claim 13, wherein the device further comprises:
    链路管理模块,与链路连接模块耦合连接,设置为对信令链路进行配置管理维护。The link management module is coupled to the link connection module and configured to perform configuration management and maintenance on the signaling link.
  15. 根据权利要求14所述的设备,其中,The apparatus according to claim 14, wherein
    所述链路管理模块,还设置为获取网络中PCRF的变化情况,其中,所述变化情况包括以下至少之一:新建信令链路;修改信令链路;删除信令链路;在信令链路异常时,切换信令链路;The link management module is further configured to acquire a change of the PCRF in the network, where the change includes at least one of: newly establishing a signaling link; modifying a signaling link; deleting a signaling link; When the link is abnormal, the signaling link is switched;
    所述链路管理模块,还设置为根据所述变化情况产生管理指令,并将所述管理指令发送到链路连接模块;其中,所述管理指令包括以下至少之一:用于新建信令链路的新建指令、用于修改信令链路的修改指令、用于删除信令链路的删除指令、用于切换信令链路的切换指令。The link management module is further configured to generate a management instruction according to the change situation, and send the management instruction to a link connection module, where the management instruction includes at least one of the following: used to create a new signaling chain A new instruction of the road, a modification instruction for modifying the signaling link, a deletion instruction for deleting the signaling link, and a handover instruction for switching the signaling link.
  16. 根据权利要求15所述的设备,其中,所述设备还包括:The device of claim 15, wherein the device further comprises:
    链路连接模块,与所述链路管理模块耦合连接,设置为接收所述链路管理模块的所述链路管理指令;并执行与PCRF之间的信令链路 连接;a link connection module, coupled to the link management module, configured to receive the link management command of the link management module; and perform a signaling link with the PCRF connection;
    其中,执行与PCRF之间的信令链路连接包括以下至少之一:根据所述新建指令新建立与PCRF之间的信令链路、据所述修改指令修改与PCRF之间的信令链路、根据所述删除指令删除与PCRF之间的信令链路、根据所述切换指令切换与PCRF之间的信令链路。The signaling link connection between the execution and the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the new instruction, and modifying a signaling chain between the PCRF and the PCRF according to the modification instruction. And deleting a signaling link between the PCRF and the PCRF according to the deletion instruction, and switching a signaling link between the PCRF and the PCRF according to the handover instruction.
  17. 根据权利要求16所述的设备,其中,The apparatus according to claim 16, wherein
    所述链路连接模块,与信令广播模块耦合连接,还设置为将所述信令广播模块接收到的所述信令消息广播到策略及计费控制单元PCRF;以及接收PCRF响应于所述信令消息的响应消息,并转发到所述信令广播模块。The link connection module is coupled to the signaling broadcast module, and is further configured to broadcast the signaling message received by the signaling broadcast module to a policy and charging control unit PCRF; and receive the PCRF in response to the A response message to the signaling message and forwarded to the signaling broadcast module.
  18. 一种路由寻址系统,包括:路由寻址设备、策略及计费控制单元PCRF、以及应用功能AF;A routing addressing system, comprising: a routing addressing device, a policy and charging control unit PCRF, and an application function AF;
    其中,所述路由寻址设备包括:The routing addressing device includes:
    信令广播模块,设置为接收所述AF发起的动态策略和计费请求信令消息,并将所述信令消息广播到所述PCRF;以及接收所述PCRF响应于所述信令消息的响应消息;a signaling broadcast module, configured to receive the AF-initiated dynamic policy and charging request signaling message, and broadcast the signaling message to the PCRF; and receive a response of the PCRF in response to the signaling message Message
    路由寻址模块,与所述信令广播模块耦合连接,设置为从所述响应消息中获取响应成功的PCRF的路由信息;a routing and addressing module, coupled to the signaling broadcast module, configured to obtain, from the response message, routing information of a PCRF that responds successfully;
    所述信令广播模块,还设置为提取所述响应成功的PCRF的路由信息并转发到所述AF。The signaling broadcast module is further configured to extract routing information of the PCRF that is successfully responded to and forward the information to the AF.
  19. 根据权利要求18所述的系统,其中,所述路由寻址设备还包括:The system of claim 18 wherein said routing addressing device further comprises:
    链路管理模块,与链路连接模块耦合连接,设置为对信令链路进 行配置管理维护。a link management module, coupled to the link connection module, configured to enter the signaling link Line configuration management maintenance.
  20. 根据权利要求19所述的系统,其中,The system of claim 19, wherein
    所述链路管理模块,还设置为获取网络中PCRF的变化情况,其中,所述变化情况包括以下至少之一:新建信令链路;修改信令链路;删除信令链路;在信令链路异常时,切换信令链路;The link management module is further configured to acquire a change of the PCRF in the network, where the change includes at least one of: newly establishing a signaling link; modifying a signaling link; deleting a signaling link; When the link is abnormal, the signaling link is switched;
    所述链路管理模块,还设置为根据所述变化情况产生管理指令,并将所述管理指令发送到链路连接模块;其中,所述管理指令包括以下至少之一:用于新建信令链路的新建指令、用于修改信令链路的修改指令、用于删除信令链路的删除指令、用于切换信令链路的切换指令。The link management module is further configured to generate a management instruction according to the change situation, and send the management instruction to a link connection module, where the management instruction includes at least one of the following: used to create a new signaling chain A new instruction of the road, a modification instruction for modifying the signaling link, a deletion instruction for deleting the signaling link, and a handover instruction for switching the signaling link.
  21. 根据权利要求20所述的系统,其中,所述路由寻址设备还包括:The system of claim 20 wherein said routing addressing device further comprises:
    链路连接模块,与所述链路管理模块耦合连接,设置为接收所述链路管理模块的所述链路管理指令;并执行与PCRF之间的信令链路连接;a link connection module, coupled to the link management module, configured to receive the link management command of the link management module; and perform a signaling link connection with the PCRF;
    其中,执行与PCRF之间的信令链路连接包括以下至少之一:根据所述新建指令新建立与PCRF之间的信令链路、据所述修改指令修改与PCRF之间的信令链路、根据所述删除指令删除与PCRF之间的信令链路、根据所述切换指令切换与PCRF之间的信令链路。The signaling link connection between the execution and the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the new instruction, and modifying a signaling chain between the PCRF and the PCRF according to the modification instruction. And deleting a signaling link between the PCRF and the PCRF according to the deletion instruction, and switching a signaling link between the PCRF and the PCRF according to the handover instruction.
  22. 一种获取路由信息的方法,应用于路由寻址系统,所述路由寻址系统包括:路由寻址设备、策略及计费控制单元PCRF、以及应用功能AF;所述方法包括:A method for obtaining routing information is applied to a routing addressing system, the routing addressing system comprising: a routing addressing device, a policy and charging control unit PCRF, and an application function AF; the method comprising:
    所述AF向所述路由寻址设备发起的动态策略和计费请求信令消息; a dynamic policy and charging request signaling message initiated by the AF to the routing addressing device;
    所述路由寻址设备将所述信令消息广播到所述PCRF;The routing addressing device broadcasts the signaling message to the PCRF;
    所述PCRF向所述路由寻址设备发送响应于所述信令消息的响应消息;Sending, by the PCRF, a response message in response to the signaling message to the routing addressing device;
    所述路由寻址设备从所述响应消息中获取响应成功的PCRF的路由信息,并提取所述响应成功的PCRF的路由信息并转发到所述AF。 And the route addressing device obtains routing information of the PCRF that responds successfully from the response message, and extracts routing information of the PCRF that is successfully responded to and forwards to the AF.
PCT/CN2017/094139 2016-07-22 2017-07-24 Method and device for acquiring router information, and router addressing apparatus and system WO2018014882A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610591040.7A CN107645385A (en) 2016-07-22 2016-07-22 Obtain method and device, routing addressing equipment and the system of routing iinformation
CN201610591040.7 2016-07-22

Publications (1)

Publication Number Publication Date
WO2018014882A1 true WO2018014882A1 (en) 2018-01-25

Family

ID=60992971

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/094139 WO2018014882A1 (en) 2016-07-22 2017-07-24 Method and device for acquiring router information, and router addressing apparatus and system

Country Status (2)

Country Link
CN (1) CN107645385A (en)
WO (1) WO2018014882A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11694501B2 (en) 2020-02-17 2023-07-04 True Manufacturing Co., Inc. Refrigerated vending system and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438096B (en) * 2020-03-23 2022-08-19 中国电信股份有限公司 Method, system and application function entity for guaranteeing service quality

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072170A (en) * 2006-05-13 2007-11-14 华为技术有限公司 Wireless communication network strategy and billing rule functional network element addressing method
CN101771605A (en) * 2008-12-30 2010-07-07 华为技术有限公司 DS-Lite based business flow management method, device and system
CN102300263A (en) * 2011-09-23 2011-12-28 电信科学技术研究院 Policy and charging rules function (PCRF) determination method, device and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035001A (en) * 2006-03-10 2007-09-12 华为技术有限公司 Method and system for processing the strategy control and charging
US8483233B2 (en) * 2010-02-12 2013-07-09 Tekelec, Inc. Methods, systems, and computer readable media for providing local application routing at a diameter node
CN103581870B (en) * 2012-07-19 2019-03-12 中兴通讯股份有限公司 Acquisition, processing method, Application Function and the policy functional entity of information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072170A (en) * 2006-05-13 2007-11-14 华为技术有限公司 Wireless communication network strategy and billing rule functional network element addressing method
CN101771605A (en) * 2008-12-30 2010-07-07 华为技术有限公司 DS-Lite based business flow management method, device and system
CN102300263A (en) * 2011-09-23 2011-12-28 电信科学技术研究院 Policy and charging rules function (PCRF) determination method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11694501B2 (en) 2020-02-17 2023-07-04 True Manufacturing Co., Inc. Refrigerated vending system and method

Also Published As

Publication number Publication date
CN107645385A (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN109151807B (en) Method and system for binding main card and auxiliary card of dual-card dual-standby mobile terminal
CN109067578B (en) Method and device for multicast fast switching
CN103517266B (en) Method for activating mobile terminal on mobile network side and mobile gateway system
US9100856B2 (en) Routing architecture for content in a network
CN111083690B (en) Method and device for reporting user plane functional entity information
CN103718507A (en) Method and apparatus for rapid switchover from primary to standby multicast trees
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
CN110167092A (en) A kind of method and device of business migration
CN107920366A (en) The method and device that a kind of business to mobile terminal is shunted
US20230283492A1 (en) Traffic charging method, network device and storage medium
CN112187495A (en) Communication method and communication system of terminal and server
CN105814934B (en) Handle method, mobile management entity and the home subscriber server of called service
CN110769019B (en) Session processing method, device, system, storage medium and computing equipment
WO2018014882A1 (en) Method and device for acquiring router information, and router addressing apparatus and system
CN101483584A (en) Method and apparatus for policy and charging rule functional entity information maintenance
CN106792923A (en) A kind of method and device for configuring qos policy
KR20040086588A (en) Cellular communication standard employment by mobile cellular communication device for network management information exchange with network infrastructure device
CN102870489B (en) For the method and apparatus of receiving mobility management entity title
US20220329986A1 (en) Multicast service implementation method and apparatus, and communications device
JP4362516B2 (en) Communications system
CN113543238B (en) Data transmission method and base station
CN111698142B (en) Message forwarding method and device, electronic equipment and storage medium
CN101626308B (en) Routing method, equipment and system for WAP service authentication data packets
WO2016177224A1 (en) Terminal offline method, standby pcrf device, user subscription data device and system
CN112910662B (en) Method, device and medium for reporting and receiving and reporting traffic information

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

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

Country of ref document: EP

Kind code of ref document: A1