CN107645385A - Obtain method and device, routing addressing equipment and the system of routing iinformation - Google Patents

Obtain method and device, routing addressing equipment and the system of routing iinformation Download PDF

Info

Publication number
CN107645385A
CN107645385A CN201610591040.7A CN201610591040A CN107645385A CN 107645385 A CN107645385 A CN 107645385A CN 201610591040 A CN201610591040 A CN 201610591040A CN 107645385 A CN107645385 A CN 107645385A
Authority
CN
China
Prior art keywords
signaling
link
pcrf
module
routing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610591040.7A
Other languages
Chinese (zh)
Inventor
周朝阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610591040.7A priority Critical patent/CN107645385A/en
Priority to PCT/CN2017/094139 priority patent/WO2018014882A1/en
Publication of CN107645385A publication Critical patent/CN107645385A/en
Pending legal-status Critical Current

Links

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

Landscapes

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

Abstract

The invention provides a kind of method and device, routing addressing equipment and system for obtaining routing iinformation, wherein, this method includes:The signaling message for dynamic strategy and accounting request is sent to strategy and charging control unit PCRF;The routing iinformation in response to the successful PCRF of the signaling message is obtained, and sends the routing iinformation to application function AF, wherein, the routing iinformation is used to indicate that application function AF carries out routing addressing according to the routing iinformation.The problem of by the present invention, solving to need to rely on DRA in correlation technique and carry out more PCRF routing addressings, or needing to cause O&M cost big PCEF and AF customized development in the case of more PCRF, and then reduction maintenance difficulties and cost-effective effect.

Description

Method and device for acquiring routing information, routing addressing equipment and system
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for acquiring routing information, a routing addressing device, and a system.
Background
In recent years, mobile operators have continued to invest heavily in the infrastructure of mobile communication networks, still bearing pressure, in situations where profitability is not as good as before, in order to achieve better market competition and to provide a better user experience. Meanwhile, with The help of The popularization of mobile networks and intelligent terminals developed by operators at a high speed, mobile internet services, particularly video services and social services are prosperous and developed, The use habits of users on The mobile networks are gradually transferred from traditional voice and short message services to data services mainly based on mobile internet contents and ott (over The top), The consumption of The users is also inclined from The consumption of The voice and short message services to The consumption of mobile data traffic, and The consumption of The data traffic is continuously and rapidly increased.
However, operators do not get higher Average Revenue Per User (ARPU) values from the rapidly increasing traffic demand and the simultaneously increasing mobile subscriber volume, but rather make the operators increasingly difficult to operate because of the continuous investment in supporting traffic consumption and the loss of voice traffic and message traffic. Under the background, an operator introduces a Policy and Charging Control (PCC) system mainly comprising a Policy and Charging Rule Function (PCRF) and a Policy and Charging implementation unit (PCEF), constructs an intelligent pipeline, and hopefully, by observing each bit data flow flowing through the operator network, implements differentiated QoS and Charging Control, increases the additional value of the data flow through a corresponding operation means, improves the profit level, and can better serve a mobile terminal user.
In the planning and construction process of the PCC system, along with the increase of service capacity, one set of PCRF and PCEF cannot support service requirements, and a plurality of sets of PCRF and PCEF are gradually required to be constructed. When there are multiple sets of PCRF, the routing addressing of PCRF becomes a problem, and there are two solutions in the industry at present, one is a scheme of using a signaling routing agent (Diameter routing agent, Diameter, abbreviated as DRA) device defined by introducing a third generation Partnership Project (3 GPP), and performing PCRF routing addressing by DRA, and the scheme needs to invest construction cost and operation and maintenance cost for DRA device because a new DRA network element is introduced; the other is that a static routing table is added at the same time to the PCEF and the service system (the service system is the AF in Policy and charging control architecture specification 3GPP TS 23.203 of 3GPP, hereinafter all refer to as the service system), and the static routing table stores the corresponding relationship between the PCRF and the terminal device identifier. The scheme requires that both the PCEF and the service system side need to specially maintain the static routing tables, and the two static routing tables need to be modified at any time according to the change of the PCRF and the terminal equipment, so that the maintenance workload is increased, and corresponding software logic needs to be developed to perform corresponding processing, particularly for a network element defined by a 3GPP standard such as the PCEF, the software logic is not supported by the standard specification, and the commercial landing popularization is difficult to obtain.
In view of the above problems in the related art, no effective solution exists at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for acquiring routing information, routing addressing equipment and a system, which are used for at least solving the problem of high operation and maintenance cost caused by the fact that DRA is needed to perform multi-PCRF routing addressing or PCEF and AF are needed to be customized and developed under the condition of multi-PCRF in the related technology.
According to another aspect of the present invention, there is provided a method for acquiring routing information, including: sending a signaling message for a dynamic policy and charging request to a policy and charging control unit (PCRF); and acquiring routing information of the PCRF responding to the signaling message success, and sending the routing information to an Application Function (AF), wherein the routing information is used for indicating the Application Function (AF) to carry out routing addressing according to the routing information.
Further, the obtaining the routing information of the PCRF successful in response to the signaling message includes: receiving a response message of the PCRF responding to the signaling message, wherein the response message carries a return code for indicating whether the response message is responded successfully or not; determining a response message with successful response according to the return code; and acquiring the routing information of the PCRF corresponding to the response message successfully responded.
Further, before sending a signaling message for a dynamic policy and charging request to a policy and charging control unit PCRF, the method further includes: and receiving the signaling message sent by the AF.
Further, the manner of sending the signaling message for the dynamic policy and charging request to the PCRF includes one of: parallel transmission method, serial transmission method.
Further, the method further comprises: acquiring the change condition of a PCRF in a network; and adjusting the link state between the PCRF according to the change condition.
Further, the change comprises one of: newly building a signaling link, modifying the signaling link, deleting the signaling link, and switching the signaling link when the signaling link is abnormal;
adjusting a link state with the PCRF includes at least one of: generating a new command for building a signaling link, and newly building a signaling link between the signaling link and the PCRF according to the new command; generating a modification instruction for modifying a signaling link, and modifying the signaling link between the PCRF according to the modification instruction; generating a deleting instruction for deleting the signaling link, and deleting the signaling link between the signaling link and the PCRF according to the deleting instruction; when the signaling link is abnormal, a switching instruction for switching the signaling link is generated, and the signaling link between the signaling link and the PCRF is switched according to the switching instruction.
According to another aspect of the present invention, there is provided an apparatus for acquiring routing information, including: a sending module, configured to send a signaling message for a dynamic policy and charging request to a policy and charging control unit PCRF; and the obtaining module is used for obtaining the routing information of the PCRF which responds to the signaling message success, and sending the routing information to an application function AF, wherein the routing information is used for indicating the application function AF to carry out routing addressing according to the routing information.
Further, the obtaining module comprises: a receiving unit, configured to receive a response message from the PCRF in response to the signaling message, where the response message carries a return code used for indicating whether the response message is successfully responded; a determining unit, configured to determine, according to the return code, a response message that the response is successful; and the obtaining unit is used for obtaining the routing information of the PCRF corresponding to the response message with successful response.
Further, before the sending module sends the signaling message for the dynamic policy and charging request to the PCRF, the apparatus further includes: a receiving module, configured to receive the signaling message sent by the AF.
Further, the manner in which the sending module sends the signaling message for the dynamic policy and charging request to the PCRF includes one of: parallel transmission method, serial transmission method.
Further, the apparatus further comprises: the acquiring module is used for acquiring the change condition of the PCRF in the network; and the adjusting module is used for adjusting the link state between the PCRF according to the change condition.
Further, the change comprises one of: newly building a signaling link; modifying the signaling link; receiving a signal link for deletion; when the signaling link is abnormal, the signaling link is switched;
the adjustment module comprises at least one of: the first adjusting unit is used for generating a new establishing instruction for establishing a signaling link and establishing the signaling link with the PCRF according to the new establishing instruction; the second adjusting unit is used for generating a modification instruction for modifying the signaling link and modifying the signaling link between the second adjusting unit and the PCRF according to the modification instruction; the third adjusting unit is used for generating a deleting instruction for deleting the signaling link and deleting the signaling link between the third adjusting unit and the PCRF according to the deleting instruction; and the fourth adjusting unit is used for generating a switching instruction for switching the signaling link when the signaling link is abnormal, and switching the signaling link between the PCRF according to the switching instruction.
According to another aspect of the present invention, there is provided a routing device comprising: the signaling broadcast module is used for receiving a dynamic policy and charging request signaling message initiated by an Application Function (AF) and broadcasting the signaling message to a policy and charging control unit (PCRF); and receiving a response message of the PCRF in response to the signaling message; the routing addressing module is coupled with the signaling broadcasting module and used for acquiring routing information of the PCRF which responds successfully from the response message; the signaling broadcast module is further configured to extract the routing information of the PCRF that successfully responds and forward the routing information to the AF.
Further, the apparatus further comprises: and the link management module is coupled with the link connection module and is used for carrying out configuration management maintenance on the signaling link.
Further, the link management module is further configured to acquire a change condition of a PCRF in a network, where the change condition includes at least one of: newly building a signaling link; modifying the signaling link; deleting the signaling link; when the signaling link is abnormal, the signaling link is switched; the link management module is also used for generating a management instruction according to the change condition and sending the management instruction to the link connection module; wherein the management instructions include at least one of: the method comprises a new command for newly building a signaling link, a modification command for modifying the signaling link, a deletion command for deleting the signaling link and a switching command for switching the signaling link.
Further, the apparatus further comprises: the link connection module is coupled with the link management module and used for receiving the link management instruction of the link management module; and executing signaling link connection with the PCRF; wherein executing the signaling link connection with the PCRF includes at least one of: and newly establishing a signaling link with the PCRF according to the newly-established instruction, modifying the signaling link with the PCRF according to the modification instruction, deleting the signaling link with the PCRF according to the deletion instruction, and switching the signaling link with the PCRF according to the switching instruction.
Further, 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 receiving a response message of the PCRF responding to the signaling message and forwarding the response message to the signaling broadcast module.
According to yet another aspect of the present invention, there is provided a routing system comprising: the routing addressing device, the policy and charging control unit PCRF, and the application function AF of any of the above;
wherein the routing device comprises: a signaling broadcast module, configured to receive a dynamic policy and charging request signaling message initiated by the AF, and broadcast the signaling message to the PCRF; and receiving a response message of the PCRF in response to the signaling message; the routing addressing module is coupled with the signaling broadcasting module and used for acquiring routing information of the PCRF which responds successfully from the response message; the signaling broadcast module is further configured to extract the routing information of the PCRF that successfully responds and forward the routing information to the AF.
Further, the routing device further comprises: and the link management module is coupled with the link connection module and is used for carrying out configuration management maintenance on the signaling link.
Further, the link management module is further configured to acquire a change condition of a PCRF in a network, where the change condition includes at least one of: newly building a signaling link; modifying the signaling link; deleting the signaling link; when the signaling link is abnormal, the signaling link is switched; the link management module is also used for generating a management instruction according to the change condition and sending the management instruction to the link connection module; wherein the management instructions include at least one of: the method comprises a new command for newly building a signaling link, a modification command for modifying the signaling link, a deletion command for deleting the signaling link and a switching command for switching the signaling link.
Further, the routing device further comprises: the link connection module is coupled with the link management module and used for receiving the link management instruction of the link management module; and executing signaling link connection with the PCRF; wherein executing the signaling link connection with the PCRF includes at least one of: and newly establishing a signaling link with the PCRF according to the newly-established instruction, modifying the signaling link with the PCRF according to the modification instruction, deleting the signaling link with the PCRF according to the deletion instruction, and switching the signaling link with the PCRF according to the switching instruction.
According to another aspect of the present invention, there is provided a method for obtaining routing information based on a routing system, the routing system comprising: the system comprises a routing addressing device, a policy and charging control unit (PCRF) and an Application Function (AF);
wherein the method comprises the following steps: a dynamic policy and charging request signaling message initiated by the AF to the routing addressing device; the routing addressing equipment broadcasts the signaling message to the PCRF; the PCRF sends a response message responding to the signaling message to the routing addressing equipment; and the routing addressing equipment acquires the routing information of the PCRF successfully responded from the response message, extracts the routing information of the PCRF successfully responded and forwards the routing information to the AF.
In the invention, a signaling message for a dynamic policy and charging request is sent to a policy and charging control unit PCRF, routing information of the PCRF which responds to the signaling message successfully is obtained, and the routing information is sent to an application function AF, that is, the routing information of the PCRF which responds successfully can be obtained, so that the problem that operation and maintenance cost is high due to the fact that DRA is needed to carry out routing addressing of multiple PCRFs or PCEF and AF need to be customized and developed under the condition of multiple PCRFs in the related technology is solved, and the effects of reducing maintenance difficulty and saving cost are achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flow chart of a method of obtaining routing information according to an embodiment of the present invention;
fig. 2 is a 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 connection PCRF broadcast message routing addressing method according to an embodiment of the present invention;
fig. 4 is a flowchart of a link switching method of a direct connection PCRF broadcast message routing addressing method according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating components of a direct connection PCRF broadcast message routing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of logical interfaces of a direct-connection PCRF broadcast message routing apparatus according to an embodiment of the present invention;
FIG. 7 is a flow chart of a method for link management based on a routing device according to an embodiment of the present invention;
FIG. 8 is a flow chart of a link switching method based on a routing device according to an embodiment of the present invention;
FIG. 9 is a flow chart of a method for performing signaling based on a routing address device according to an embodiment of the present invention;
fig. 10 is a signaling flow diagram for a routing-based addressing device after addressing is successful, according to an embodiment of the present invention;
FIG. 11 is a signaling flow diagram for applying for bandwidth acceleration based on a routing address device according to an embodiment of the present invention;
fig. 12 is a signaling flow chart of applying for exemption of traffic fee based on the routing address device according to the embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
Fig. 1 is a flowchart of a method for obtaining routing information according to an embodiment of the present invention, and as shown in fig. 1, the method includes the steps of:
step S102: sending a signaling message for a dynamic policy and charging request to a policy and charging control unit (PCRF);
step S104: and acquiring routing information of the PCRF which responds to the signaling message successfully, and sending the routing information to an Application Function (AF), wherein the routing information is used for indicating the Application Function (AF) to carry out routing addressing according to the routing information.
Through the above steps S102 to S104 in this embodiment, a signaling message for a dynamic policy and charging request is sent to the PCRF, the routing information of the PCRF that successfully responds to the signaling message is acquired, and the routing information is sent to the application function AF, that is, the routing information of the PCRF that successfully responds can be acquired, so as to solve the problem that the operation and maintenance cost is high due to the fact that the DRA is required to be relied on for routing addressing of multiple PCRFs in the related art, or the PCEF and AF need to be customized and developed under the condition of multiple PCRFs, thereby achieving the effects of reducing the maintenance difficulty and saving the cost.
In an optional implementation manner of this embodiment, the manner of acquiring the routing information of the PCRF that is successful in responding to the signaling message, which is involved in step S104 in this embodiment, may be implemented by the following manner:
step S104-1: receiving a response message of the PCRF responding to the signaling message, wherein the response message carries a return code for indicating whether the response message is responded successfully or not;
step S104-2: determining a response message with successful response according to the return code;
step S104-3: and acquiring the routing information of the PCRF corresponding to the response message successfully responded.
In an optional implementation manner of this embodiment, before sending the signaling message for the dynamic policy and charging request to the PCRF, the method of this embodiment further includes: and receiving a signaling message sent by the AF.
In addition, the manner of sending the signaling message for the dynamic policy and charging request to the PCRF involved in this embodiment includes one of the following: parallel transmission method, serial transmission method.
It should be noted that the signaling message related in this embodiment may be a Diameter signaling message, and based on this embodiment, the method may be that a dynamic policy and charging request signaling message initiated by an AF is received, and is responsible for broadcasting the Diameter signaling to each PCRF in a parallel manner to perform signaling interaction with the PCRF. And then, receiving the Diameter signaling responded by the PCRF, performing routing addressing analysis on the responded Diameter signaling, acquiring routing information such as the address or host name of the PCRF in the responded Diameter signaling after the response is determined to be successful, and returning the routing information to the AF together with the dynamic policy and charging response signaling message.
In addition, the method of the embodiment may further include:
step S110: acquiring the change condition of a PCRF in a network;
step S112: and adjusting the link state between the PCRF according to the change condition.
Wherein obtaining the change condition comprises one of: receiving a new command for newly building a signaling link, receiving a modification command for modifying the signaling link, receiving a deletion command for deleting the signaling link, and receiving a switching command for switching the signaling link when the signaling link is abnormal;
adjusting a link state with the PCRF includes at least one of: newly establishing a signaling link with the PCRF according to the newly-established instruction; modifying a signaling link between the PCRF according to the modification instruction; deleting a signaling link between the PCRF according to the deletion instruction; and switching a signaling link between the PCRF according to the switching instruction.
Based on the Diameter signaling message, the adjusting the link status may be: generating a Diameter signaling link command according to the condition of PCRF equipment in the network, further adding PCRF according to the link information, and generating a Diameter signaling link modification command according to the change condition of PCRF equipment in the network for deleting the Diameter signaling link, and according to the Diameter signaling link modification command and the Diameter signaling link deletion. In addition, when a link between the PCRF and a certain PCRF is abnormal, whether the PCRF supports a main link and a standby link is judged; and when the main link and the standby link exist, generating a switching instruction for switching the main link and the standby link with the PCRF.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a device for acquiring routing information is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 2 is a block diagram of an apparatus for acquiring routing information according to an embodiment of the present invention, and as shown in fig. 2, the apparatus includes: a sending module 22, configured to send a signaling message for a dynamic policy and charging request to the PCRF; and an obtaining module 24, 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 the routing information to the application function AF, where the routing information is used to instruct the application function AF to perform routing addressing according to the routing information.
Optionally, the obtaining module 24 includes: a receiving unit, configured to receive a response message from the PCRF in response to the signaling message, where the response message carries a return code used for indicating whether the response message is successful; the determining unit is used for determining a response message with successful response according to the return code; and the obtaining unit is used for obtaining the routing information of the PCRF corresponding to the response message with successful response.
Optionally, before sending the signaling message for the dynamic policy and charging request to the PCRF, the apparatus of this embodiment further includes: and the receiving module is used for receiving the signaling message sent by the AF.
In addition, the manner for the sending module to send the signaling message for the dynamic policy and charging request to the PCRF includes one of the following: parallel transmission method, serial transmission method.
In addition, the apparatus of the present embodiment further includes: the acquiring module is used for acquiring the change condition of the PCRF in the network; and the adjusting module is used for adjusting the link state between the PCRF according to the change condition.
Wherein, the acquisition module comprises one of the following: a first receiving unit, configured to receive a new establishment instruction for establishing a new signaling link; the second receiving unit is used for receiving a modification instruction for modifying the signaling link, and the third receiving unit is used for receiving a deletion instruction for deleting the signaling link; a fourth receiving unit, configured to receive a switching instruction for switching a signaling link when the signaling link is abnormal;
the adjusting module comprises at least one of the following: the establishing unit is used for newly establishing a signaling link with the PCRF according to the newly-established instruction; the modification unit is used for modifying a signaling link between the PCRF according to the modification unit; the deleting unit is used for deleting the signaling link between the PCRF according to the deleting instruction; and the switching unit is used for switching the signaling link between the PCRF according to the switching instruction.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Based on the above apparatus for obtaining routing information, this embodiment further provides a system for obtaining routing information, including: the device for acquiring routing information, the policy and charging control unit PCRF and the application function AF are described above.
It should be noted that the apparatus for acquiring routing information in this embodiment is the same as that described above, and is not described herein again.
Example 3
The present embodiment further provides a routing addressing device, including: a signaling broadcasting module and a routing addressing module; wherein,
the signaling broadcast module is used for receiving a dynamic policy and charging request signaling message initiated by an Application Function (AF) and broadcasting the signaling message to a policy and charging control unit (PCRF); and receiving a response message of the PCRF in response to the signaling message;
the routing addressing module is coupled with the signaling broadcasting module and used for acquiring the routing information of the PCRF which successfully responds from the response message;
and the signaling broadcast module is also used for extracting the routing information of the PCRF which responds successfully and forwarding the routing information to the AF.
Optionally, the apparatus of this embodiment further includes: and the link management module is coupled with the link connection module and is used for carrying out configuration management maintenance on the signaling link.
For configuration management and maintenance of a signaling link, the link management module in this embodiment is further configured to acquire a change condition of a PCRF in a network, where the change condition includes at least one of the following: newly building a signaling link; modifying the signaling link; deleting the signaling link; when the signaling link is abnormal, the signaling link is switched; generating a management instruction according to the change condition, and sending the management instruction to the link connection module; wherein the management instructions include at least one of: the method comprises a new command for newly building a signaling link, a modification command for modifying the signaling link, a deletion command for deleting the signaling link and a switching command for switching the signaling link.
Optionally, the apparatus of this embodiment further includes: the link connection module is coupled with the link management module and used for receiving a link management instruction of the link management module; and executing signaling link connection with the PCRF; wherein executing the signaling link connection with the PCRF includes at least one of: and a signaling link between the PCRF is newly established according to the newly established instruction, the signaling link between the PCRF is modified according to the modification instruction, the signaling link between the PCRF is deleted according to the deletion instruction, and the signaling link between the PCRF is switched according to the switching instruction.
In addition, the link connection module is coupled with 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 receiving a response message of the PCRF responding to the signaling message and forwarding the response message to the signaling broadcast module.
Example 4
The embodiment provides a routing addressing system, which comprises: any one of the above-mentioned routing addressing device, policy and charging control unit PCRF, and application function AF;
wherein the route addressing device comprises: the signaling broadcast module is used for receiving a dynamic policy and charging request signaling message initiated by the AF and broadcasting the signaling message to the PCRF; and receiving a response message of the PCRF in response to the signaling message; the routing addressing module is coupled with the signaling broadcasting module and used for acquiring the routing information of the PCRF which successfully responds from the response message; and the signaling broadcast module is also used for extracting the routing information of the PCRF which responds successfully and forwarding the routing information to the AF.
Optionally, the routing device further comprises: and the link management module is coupled with the link connection module and is used for carrying out configuration management maintenance on the signaling link.
Optionally, the link management module is further configured to acquire a change condition of the PCRF in the network, where the change condition includes at least one of: newly building a signaling link; modifying the signaling link; deleting the signaling link; when the signaling link is abnormal, the signaling link is switched; the link management module is also used for generating a management instruction according to the change situation and sending the management instruction to the link connection module; wherein the management instructions include at least one of: the method comprises a new command for newly building a signaling link, a modification command for modifying the signaling link, a deletion command for deleting the signaling link and a switching command for switching the signaling link.
Optionally, the routing device further comprises: the link connection module is coupled with the link management module and used for receiving a link management instruction of the link management module; and executing signaling link connection with the PCRF; wherein executing the signaling link connection with the PCRF includes at least one of: and a signaling link between the PCRF is newly established according to the newly established instruction, the signaling link between the PCRF is modified according to the modification instruction, the signaling link between the PCRF is deleted according to the deletion instruction, and the signaling link between the PCRF is switched according to the switching instruction.
Based on the above routing addressing system, this embodiment further provides a method for obtaining routing information, where the routing addressing system includes: the system comprises a routing addressing device, a policy and charging control unit (PCRF) and an Application Function (AF);
the method comprises the following steps:
step S202: AF initiates dynamic strategy and charging request signaling message to route addressing device;
step S204: the routing addressing equipment broadcasts the signaling message to the PCRF;
step S206: the PCRF sends a response message responding to the signaling message to the routing addressing equipment;
step S208: and the routing addressing equipment acquires the routing information of the PCRF successfully responded from the response message, extracts the routing information of the PCRF successfully responded and forwards the routing information to the AF.
Example 5
The embodiment provides a routing addressing method, which does not depend on DRA to carry out routing addressing under the condition of multiple PCRFs, and avoids the customized development of PCEF and AF under the condition of multiple PCRFs, thereby solving the routing addressing problem of PCRFs under the condition of multiple PCRFs.
In the embodiment, signaling links are established and maintained with all PCRFs in a network, a Diameter protocol is adopted, the PCRFs are in butt joint with each other according to Rx interface specifications supported by the PCRFs and carry out message interaction, the method has the function of carrying out message interaction with a plurality of PCRF devices, and can accept Diameter response signaling messages returned by the PCRFs simultaneously or successively, in the returned messages, successful response messages are determined by judging the return code of each message, the PCRFs to which Rx sessions newly initiated from AF belong can be sorted out, PCRF routing information such as PCRF addresses or host names is extracted from the response signaling messages, and the routing addressing of the PCRFs is completed.
Based on this, in this embodiment, a device for directly connecting to PCRF broadcast message addressing is further provided, and includes: a link management module, a link connection module, a signaling broadcast module and a routing addressing module, wherein,
and the link management module provides a configuration management maintenance function of the Diameter signaling link. The link management module adds Diameter signaling link information according to the condition of PCRF equipment in the network and sends an instruction of adding a link to the link connection module; the link management module modifies Diameter signaling link information according to the change condition of PCRF equipment in the network and transmits a link modification instruction to the link connection module; the link management module deletes Diameter signaling link information according to the change condition of PCRF equipment in the network, and sends a link deletion instruction to the link connection module. When the link management module receives the link abnormality reported by the link connection module and between the link management module and a certain PCRF, the link management module judges whether the PCRF supports the main link and the standby link, and if the main link and the standby link exist between the link connection module and the PCRF, an instruction is given to inform the link connection module to switch the main link and the standby link with the PCRF.
The link connection module receives the link management instruction of the link management module and executes Diameter signaling link connection between the plurality of PCRFs; receiving the switching instruction of the main and standby Diameter signaling links of the link management module, and realizing the switching between the links. Specifically, when receiving a new link instruction sent by the link management module, the link connection module establishes a Diameter signaling link with the corresponding PCRF according to the instruction content; when receiving a link modification instruction sent by a link management module, the link connection module finds an existing link according to the instruction content and modifies a Diameter signaling link corresponding to the PCRF; when receiving a link deletion instruction sent by a link management module, the link connection module finds an existing link according to the instruction content and deletes a Diameter signaling link corresponding to the PCRF; meanwhile, the link connection module monitors the health state of each Diameter signaling link established between the link connection module and the PCRF equipment, and ensures that abnormal links are found in time. And when the abnormal link is found, reporting a link abnormal message to the link management module. When the link connection module receives a link switching instruction issued by the link management module, the connection of the main link or the working link is interrupted according to the instruction content, and the standby Diameter signaling link corresponding to the PCRF is switched, so that the link switching with the PCRF is completed, and the high availability of the link with the PCRF is ensured.
And the signaling broadcast module receives the dynamic policy and charging request signaling message initiated by the AF and is responsible for broadcasting the Diameter signaling to each PCRF through the link connection module in a parallel mode. The signaling broadcast module packages and packages the signaling message through an Rx interface specification followed by the PCRF, issues the Diameter broadcast signaling, and interacts the signaling with the PCRF through the link connection module. And the link connection module returns the Diameter signaling which receives the response of the PCRF 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 routing and addressing module, so that the routing and addressing module performs routing and addressing analysis and waits for a routing and addressing result of the routing and addressing module. After receiving the result of the routing and addressing of the PCRF of the routing and addressing module, the signaling broadcast module terminates the continuous broadcasting of the dynamic policy and charging request signaling message which is not broadcasted in the new session to the link connection module. Meanwhile, the link connection module is informed of the routing and addressing result of the PCRF, then the signaling broadcast module extracts the routing information such as the address or host name of the PCRF in the routing and addressing result message returned by the routing and addressing module, and returns the routing information to the AF together with the dynamic policy and charging response signaling message.
The routing addressing module receives the Diameter response signaling from each PCRF forwarded by the signaling broadcasting module, analyzes the signaling content aiming at the signaling replied by each PCRF, judges whether the signaling responded by the PCRF is successful, continues to analyze and judge the next response message if the signaling responded by each PCRF is failed, stops monitoring and processing the response messages of other PCRFs after receiving any correct PCRF response message, informs the signaling broadcasting module to stop signaling broadcasting, extracts the address or host name information of the PCRF from the successful response message, namely determines the PCRF to which the terminal equipment Gx and Rx session belong, realizes routing addressing of the PCRF, and then returns the addressed address or host name information of the PCRF to the signaling broadcasting module.
Embodiment 3 will be described in detail below with reference to the drawings and embodiments 6 to 13.
Example 6
In this embodiment, a direct connection PCRF broadcast message routing and addressing apparatus is provided, and based on the routing and addressing apparatus, a direct connection PCRF broadcast message routing and addressing method is also provided; fig. 3 is a flowchart of a direct connection PCRF broadcast message routing addressing method according to an embodiment of the present invention, and as shown in fig. 3, the method of this embodiment includes:
step S302, the AF sends a "dynamic policy and charging request message" to the routing address apparatus involved in this embodiment;
wherein, 1) the AF may be an application running on the mobile terminal, or may be a background program from a server; 2) the dynamic policy and charging request message refers to an interface message provided by the PCRF, and the AF can request the PCRF and a lower-layer related network system to provide a corresponding policy and charging control function through the interface message;
step S304, the route addressing device sends 'dynamic policy and charging request message' signaling to a plurality of PCRFs which are connected with the device at the same time, namely, the PCRFs are polled one by one;
step S306, the route addressing device receives the response signaling returned by the PCRFs successively or simultaneously, analyzes and judges the response return code;
step S308, the routing and addressing device extracts the address or host name of the PCRF that successfully responds, that is, addresses the corresponding PCRF, thereby implementing the correct routing and addressing of the AF message.
Example 7
Based on the foregoing embodiment 6, this embodiment provides a link switching method for a direct connection PCRF broadcast message routing method, fig. 4 is a flowchart of a link switching method based on a routing method according to an embodiment of the present invention, and as shown in fig. 4, the method includes the steps of:
step S402: the route addressing device configures links between the route addressing device and each PCRF existing in the network;
step S404: the routing addressing device monitors the state of each link through heartbeat and timely grasps the state of each link;
step S406: when the routing addressing device monitors that the link is abnormal, the standby link is started, and the redundancy guarantee of the link is realized.
Example 8
Fig. 5 is a schematic diagram illustrating a direct connection PCRF broadcast message routing and addressing apparatus according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes:
link management module 501 provides the functions of configuring, managing and maintaining Diameter signaling links. The link management module adds Diameter signaling link information according to the condition of the PCRF device in the network, and sends an instruction of the added link to the link connection module 502; the link management module 501 modifies Diameter signaling link information according to the change condition of PCRF equipment in the network, and issues a link modification instruction to the link connection module; the link management module deletes Diameter signaling link information according to the change condition of PCRF equipment in the network, and sends a link deletion instruction to the link connection module. When the link management module receives the link abnormality reported by the link connection module and between the link management module and a certain PCRF, the link management module judges whether the PCRF supports the link connection module and whether a main link and a standby link exist between the link connection module and the PCRF, and sends an instruction to inform the link connection module to switch the main link and the standby link;
a link connection module 502, which receives the link management instruction of the link management module 501, and executes Diameter signaling link connection with multiple PCRFs or multiple groups of PCRFs; receiving the switching instruction of the main and standby Diameter signaling links of the link management module, and realizing the switching between the links. Specifically, when receiving a new link instruction sent by the link management module, the link connection module establishes a Diameter signaling link with the corresponding PCRF according to the instruction content; when receiving a link modification instruction sent by a link management module, the link connection module finds an existing link according to the instruction content and modifies a Diameter signaling link corresponding to the PCRF; when receiving a link deletion instruction sent by a link management module, the link connection module finds an existing link according to the instruction content and deletes a Diameter signaling link corresponding to the PCRF; meanwhile, the link connection module monitors the health state of each Diameter signaling link established by the link connection module and the PCRF equipment, ensures that an abnormal link is found in time, and reports a link abnormal message to the link management module when the abnormal link is found. When the link connection module receives a link switching instruction issued by the link management module, the connection of a main link or a working link is interrupted according to the instruction content, and the main link or the working link is switched to a standby Diameter signaling link corresponding to the PCRF, so that the link switching with the PCRF is completed, and the high availability of the link with the PCRF is ensured;
the signaling broadcast module 503 receives the dynamic policy and charging request signaling message initiated by the AF, and is responsible for broadcasting the Diameter signaling to each PCRF through the link connection module 502 in a parallel manner or a serial manner. The signaling broadcast module packages and packages the signaling message through an Rx interface specification followed by the PCRF, issues the Diameter broadcast signaling, and interacts the signaling with the PCRF through the link connection module. And the link connection module returns the Diameter signaling which receives the response of the PCRF 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 routing and addressing module, so that the routing and addressing module performs routing and addressing analysis and waits for a routing and addressing result of the routing and addressing module. After receiving the result of the routing and addressing of the PCRF of the routing and addressing module, the signaling broadcast module terminates the continuous broadcasting of the dynamic policy and charging request signaling message which is not broadcasted in the new session to the link connection module. Meanwhile, notifying the PCRF routing and addressing result to a link connection module, then extracting routing information such as the address or host name of the PCRF in the routing and addressing result message returned by the routing and addressing module, and returning the routing information to the AF together with the dynamic policy and charging response signaling message;
the routing and addressing module 504 receives the Diameter response signaling from each PCRF forwarded by the signaling broadcasting module 503, analyzes the signaling content for the signaling replied by each PCRF, determines whether the signaling responded by the PCRF succeeds, continues to analyze and determine the next response message if the signaling responded by the PCRF fails, stops monitoring and processing the response messages of other PCRFs after receiving any correct PCRF response message, notifies the signaling broadcasting module to stop signaling broadcasting, extracts the address or host name information of the PCRF from the successful response message, i.e., determines the address or host name to which the terminal device Gx and Rx session belong, realizes routing and addressing of the PCRF, and then returns the addressed address or host name information of the PCRF to the signaling broadcasting module.
It should be noted that, in this embodiment, the routing module 504, the signaling broadcasting module 503, the link connection module 502, and the link management module 501; the routing module, the signaling broadcasting module, the link connection module and the link management module are corresponding to those in embodiment 3.
Example 9
Fig. 6 is a schematic diagram of logical interfaces of a direct-connection PCRF broadcast message routing apparatus according to an embodiment of the present invention; as shown in fig. 6, the apparatus of the present embodiment includes:
the link management interface 601, through which the link management module issues link creation, modification, deletion and other instructions to the link connection module;
a link switching interface 602 through which the link management module issues a switching instruction of the primary link and the standby link to the link connection module;
the link monitoring interface 603 is used for monitoring the link health condition between the link connection module and the PCRF and reporting the link health condition to the link management module through the link monitoring interface;
a dynamic policy and charging signaling interface 604, the AF initiating a dynamic policy and charging request message to the signaling broadcast module in compliance with the interface;
a signaling forwarding interface 605, through which the signaling broadcasting module forwards the dynamic policy and charging signaling to the link connection module after receiving the request signaling of the AF;
a signaling group sending interface 606, through which the link connection module sends the signaling from the signaling broadcast module to the PCRF group;
the routing interface 607, the signaling broadcast module sends the response signaling returned from each PCRF to the routing module;
and an addressing end interface 608, wherein the routing module sends an instruction for completing routing and addressing and ending addressing to the signaling broadcast module.
Example 10
FIG. 7 is a flow chart of a method for link management based on a routing 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 the configuration management of a signaling link between a link connection module of the device and the PCRF, and comprises the steps of building a link, modifying an existing link and deleting the existing link;
step S704: the link management module sends a link management instruction to the link connection module through the link management interface;
step S706: the link connection module receives a link configuration instruction from the link management module, then returns a response message and confirms that the link management instruction is received;
step S708: and the link connection module establishes a signaling link with the PCRF according to the link management instruction of the link management module.
Example 11
FIG. 8 is a flow chart of a link switching method based on a routing 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 the link state between the link connection module and each PCRF;
step S804: the link connection module reports an abnormal state message of a link to the link management module when finding that the link between the link connection module and any one or more PCRFs has abnormal conditions such as timeout or connection failure in the link monitoring process;
step S806: the link management module analyzes the link data corresponding to the PCRF, judges whether the PCRF supports the main link and the standby link, and the link connection module and the PCRF have the configuration of the main link and the standby link, if the PCRF supports the main link and the standby link, and the link connection module and the PCRF have the configuration of the main link and the standby link, the step S808 is executed; otherwise, sending an alarm to an administrator;
step S808: the link management module sends a link switching instruction to the link connection module and indicates the link connection module and the PCRF to switch the link;
step S810: the link connection module switches between the main link and the standby link.
The switching of the main link and the standby link comprises the following steps: and when the main link is abnormal and the standby link is available, switching from the main link to the standby link, or when the main link is recovered to be available, switching from the standby link back to the main link.
Example 12
FIG. 9 is a flow chart of a method for performing signaling based on a routing address device according to an embodiment of the present invention; as shown in fig. 9, the steps of the method include:
step S902: AF initiates a primary dynamic strategy and charging signaling request to a signaling broadcast module, intends to complete routing addressing to PCRF through other modules of the device corresponding to the invention including the signaling broadcast module, and finally sends a signaling message to correct PCRF;
step S904: after receiving the initial signaling request of the AF, the signaling broadcast module forwards a signaling request message to the link connection module to ensure that the same signaling request is sent to all PCRFs which have established normal links with the link connection module;
step S906: the link connection module broadcasts a signaling request message to the PCRFs, and supports two modes of polling and concurrency to send signaling to each PCRF;
step S908: and the link connection module receives response signaling messages returned by the PCRFs. The response signaling message can arrive at the link connection module in sequence or can partially arrive at the link connection module at the same time;
step S910: and the link connection module forwards a response signaling message returned by the PCRF to the signaling broadcast module. The response signaling message can arrive at the signaling broadcast module in sequence or partially arrive at 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 by the response signaling message from the PCRF;
step S914: the routing addressing module carries out routing addressing operation, specifically comprises the steps of analyzing response signaling content, judging whether signaling responded by each PCRF is successful or not, if the signaling responded by each PCRF is failed, continuously analyzing and judging the next response message, informing the signaling broadcasting module to stop signaling broadcasting and stop monitoring and processing other PCRF response signaling messages from the signaling broadcasting module after any correct PCRF response message is received, then extracting address or host name information of the PCRF from the successful response message, determining PCRF equipment, namely the PCRF to which the terminal equipment Gx and Rx conversation belong, and realizing 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 broadcasting module;
step S918: the signaling broadcast module stops continuing to broadcast the dynamic policy and charging request signaling message, namely, the signaling broadcast module does not send the residual unsent dynamic policy and charging request signaling message to the link connection module any more;
step S920: the signaling broadcast module returns a routing addressing result to the link connection module, so that the link connection module stops continuously forwarding the residual response signaling message from the PCRF to the signaling broadcast module;
step S922: the signaling broadcast module extracts routing information such as an address or a host name of the PCRF from the routing addressing response message of the routing addressing module;
step S924: the signaling broadcast module returns a dynamic policy and charging response message to the AF, wherein the message contains PCRF routing information, so that the AF directly carries the PCRF routing information in subsequent signaling interaction of the session.
Example 13
Fig. 10 is a signaling flow diagram for a routing-based addressing device after addressing is successful, according to an embodiment of the present invention; as shown in fig. 10, the method of this embodiment includes the steps of:
step S1002: after the PCRF routing addressing is successful, the AF carries PCRF routing information returned by the signaling broadcast module before, and sends dynamic policy and charging request signaling information to the signaling broadcast module;
step S1004: the signaling broadcast module sends a dynamic policy and charging request signaling message to the link connection module;
step S1006: the link connection module forwards a dynamic policy and charging request signaling message to a designated PCRF (policy and charging rules function) aiming at PCRF routing information carried in the message;
step S1008: the PCRF returns a dynamic policy and charging response signaling message to the link connection module;
step S1010: the link connection module forwards a dynamic strategy and charging response signaling message to the signaling broadcast module;
step S1012: and the signaling broadcast module returns a dynamic policy and charging response signaling message to the AF.
The subsequent message interaction in the session is carried out according to the steps S1002 to S1012.
Example 14
The main scenes corresponding to the embodiment are as follows: the user uses the mobile phone to surf the internet to watch the video in a place with dense crowds, and the video playing is not consistent due to more people who surf the internet and unsatisfactory network speed, so that the user experience is influenced. By the method corresponding to the embodiment, the wireless internet access bandwidth can be increased for the user at the moment, and meanwhile, the QoS (quality of service) quality such as the bandwidth of the user is ensured to be maintained stably. FIG. 11 is a signaling flow diagram for applying for bandwidth acceleration based on a routing address 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 (i.e. the AF corresponding to the PCC architecture) initiates a primary dynamic bandwidth acceleration QoS policy request signaling to the signaling broadcast module, and intends to complete routing to the PCRF through other modules of the apparatus corresponding to this embodiment including the signaling broadcast module, and finally sends the signaling message to the correct PCRF.
In the embodiment, the method is not limited to the video mobile internet APP, and other applications and scenes with QoS requirements such as bandwidth and the like can be used when the user uses the mobile terminal to surf the internet, such as game applications, mobile office applications and the like;
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, so as to ensure that the same signaling request is sent to all PCRFs that have established normal links with the link connection module;
step S1106, the link connection module broadcasts a signaling request message to the PCRFs, and supports two modes of polling and concurrency to send signaling to each PCRF;
in 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 sequence or may arrive at the link connection module partially at the same time;
in step S1110, the link connection module forwards the response signaling message returned by the PCRF to the signaling broadcast module.
The response signaling message can arrive at the signaling broadcasting module in sequence or partially arrive at the signaling broadcasting module at the same time;
step S1112, the signaling broadcast module requests the routing addressing module to perform routing addressing on the response signaling message from the PCRF according to the routing addressing interface;
in step S1114, the routing module performs a routing operation,
wherein the addressing operation comprises: analyzing response signaling content, judging whether signaling responded by each PCRF is successful or not, if the signaling responded by each PCRF is failed, continuously analyzing and judging the next response message, informing a signaling broadcasting module to stop signaling broadcasting and stopping monitoring and processing other PCRF response signaling messages from the signaling broadcasting module after any correct PCRF response message is received, then extracting address or host name information of the PCRF from the successful response message, determining PCRF equipment, namely determining PCRF to which terminal equipment Gx and Rx conversation belong, and realizing routing addressing of the PCRF;
step S1116, the routing addressing module returns the address or host name information of the addressed PCRF to the signaling broadcasting module;
step S1118, the signaling broadcast module stops continuing broadcasting the dynamic bandwidth acceleration QoS strategy request signaling message, namely, the signaling broadcast module does not send the remaining bandwidth acceleration QoS strategy request signaling message which is not sent completely to the link connection module;
step S1120, the signaling broadcast module returns the routing result to the link connection module, so that the link connection module terminates to continue forwarding the remaining response signaling message from the PCRF to the signaling broadcast module;
step S1122, the signaling broadcast module extracts the routing information such as the address or host name of PCRF from the routing response message of the routing module;
step S1124, the signaling broadcast module returns a dynamic bandwidth acceleration QoS policy response message to the video APP, the message includes PCRF routing information;
step S1126, the video APP carries PCRF routing information returned by the signaling broadcast module before, and sends dynamic bandwidth acceleration QoS strategy request signaling information 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 strategy request signaling message to the appointed PCRF according to the PCRF routing information carried in the message;
step S1132, the PCRF returns a dynamic bandwidth acceleration QoS strategy response signaling message to the link connection module;
step S1134, the link connection module forwards the dynamic bandwidth acceleration QoS strategy 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.
And the subsequent message interaction in the session is carried out according to the steps from S1126 to S1136, and the video APP terminates the bandwidth acceleration QoS strategy according to the steps from S1126 to S1136.
Example 15
The main scenes corresponding to the embodiment are as follows: when a user uses a mobile phone to surf the internet to watch videos, the user is forced to watch the inserted advertisements due to the fact that the advertisements are inserted into the videos, and flow generated when the user watches the advertisements is counted into a flow package of the user, so that the user is prevented from paying for the flow, an application or content provider pays for the flow in order to attract the user, the application or content provider does not need to watch the flow fee generated by the advertisements, and win-win is achieved. Fig. 12 is a signaling flow diagram for applying for exemption of traffic charges based on a routing address 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 (i.e. the AF corresponding to the PCC architecture) initiates a primary dynamic charging policy request signaling to the signaling broadcast module,
the routing addressing to the PCRF is completed through other modules of the device corresponding to this embodiment including the signaling broadcast module, and the signaling message is finally sent to the correct PCRF. The method is not limited to advertisement mobile internet APP, and other scenes such as e-commerce application, mobile office application and the like which need to avoid user wireless internet access traffic charges are all suitable;
step S1204, after the signaling broadcast module receives the initial signaling request of the advertisement APP, the signaling broadcast module forwards the signaling request message to the link connection module, and ensures that the same signaling request is sent to all PCRFs which have established normal links with the link connection module;
step S1206, the link connection module broadcasts a signaling request message to the PCRFs, and supports two modes of polling and concurrency to send signaling to each PCRF;
in step S1208, the link connection module receives a response signaling message returned by each PCRF. The response signaling message can arrive at the link connection module in sequence or can partially arrive at the link connection module at the same time;
step S1210, the link connection module forwards a response signaling message returned by the PCRF to the signaling broadcast module.
The response signaling message can arrive at the signaling broadcasting module in sequence or partially arrive at the signaling broadcasting module 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 from the response signaling message of PCRF;
and step S1214, the routing module performs a routing operation,
wherein the addressing operation comprises: analyzing response signaling content, judging whether signaling responded by each PCRF is successful or not, if the signaling responded by each PCRF is failed, continuously analyzing and judging the next response message, informing a signaling broadcasting module to stop signaling broadcasting and stopping monitoring and processing other PCRF response signaling messages from the signaling broadcasting module after any correct PCRF response message is received, then extracting address or host name information of the PCRF from the successful response message, determining PCRF equipment, namely determining PCRF to which terminal equipment Gx and Rx conversation belong, and realizing routing addressing of the PCRF;
step S1216, the routing addressing module returns the address or host name information of the addressed PCRF to the signaling broadcasting module;
step S1218, the signaling broadcast module terminates to continue broadcasting the dynamic charging policy request signaling message, that is, the signaling broadcast module does not send the remaining charging policy request signaling message that is not sent to the link connection module;
step S1220, the signaling broadcast module returns the routing result to the link connection module, so that the link connection module terminates to continue forwarding the remaining response signaling message from the PCRF to the signaling broadcast module;
step S1222, the signaling broadcast module extracts the routing information such as address or host name of PCRF from the routing response message of the routing module;
step S1224, the signaling broadcast module returns a dynamic charging policy response message to the advertisement APP, where the message includes PCRF routing information;
step S1226, advertisement APP carries PCRF routing information returned by the signaling broadcast module before, and sends dynamic charging strategy request signaling message to the signaling broadcast module;
step S1228, the signaling broadcast module sends 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 appointed PCRF according to the PCRF routing information carried in the message;
step S1232, PCRF returns dynamic charging strategy response signaling message to link connection module;
step S1234, link connection module forwards dynamic charging strategy response signaling message to signaling broadcast module;
step S1236, the signaling broadcast module returns the dynamic charging strategy response signaling message to the advertisement APP.
And the subsequent message interaction in the session is carried out according to the steps from S1226 to S1236, and the advertisement APP terminates the charging strategy according to the steps from S1226 to S1236.
The embodiment of the invention also provides a storage medium. Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
step S1: sending a signaling message for a dynamic policy and charging request to a policy and charging control unit (PCRF);
step S2: and acquiring routing information of the PCRF which responds to the signaling message successfully, and sending the routing information to an Application Function (AF), wherein the routing information is used for indicating the Application Function (AF) to carry out routing addressing according to the routing information.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (22)

1. A method for obtaining routing information, comprising:
sending a signaling message for a dynamic policy and charging request to a policy and charging control unit (PCRF);
and acquiring routing information of the PCRF responding to the signaling message success, and sending the routing information to an Application Function (AF), wherein the routing information is used for indicating the Application Function (AF) to carry out routing addressing according to the routing information.
2. The method of claim 1, wherein the obtaining routing information for the PCRF that is successful in response to the signaling message comprises:
receiving a response message of the PCRF responding to the signaling message, wherein the response message carries a return code for indicating whether the response message is responded successfully or not;
determining a response message with successful response according to the return code;
and acquiring the routing information of the PCRF corresponding to the response message successfully responded.
3. The method of claim 1, wherein before sending the signaling message for the dynamic policy and charging request to the PCRF, the method further comprises:
and receiving the signaling message sent by the AF.
4. The method of claim 1, wherein sending the signaling message for the dynamic policy and charging request to the PCRF comprises one of: parallel transmission method, serial transmission method.
5. The method of claim 1, further comprising:
acquiring the change condition of a PCRF in a network;
and adjusting the link state between the PCRF according to the change condition.
6. The method of claim 5,
the change comprises one of: newly building a signaling link, modifying the signaling link, deleting the signaling link, and switching the signaling link when the signaling link is abnormal;
adjusting a link state with the PCRF includes at least one of:
generating a new command for building a signaling link, and newly building a signaling link between the signaling link and the PCRF according to the new command;
generating a modification instruction for modifying a signaling link, and modifying the signaling link between the PCRF according to the modification instruction;
generating a deleting instruction for deleting the signaling link, and deleting the signaling link between the signaling link and the PCRF according to the deleting instruction;
when the signaling link is abnormal, a switching instruction for switching the signaling link is generated, and the signaling link between the signaling link and the PCRF is switched according to the switching instruction.
7. An apparatus for obtaining routing information, comprising:
a sending module, configured to send a signaling message for a dynamic policy and charging request to a policy and charging control unit PCRF;
and the obtaining module is used for obtaining the routing information of the PCRF which responds to the signaling message success, and sending the routing information to an application function AF, wherein the routing information is used for indicating the application function AF to carry out routing addressing according to the routing information.
8. The apparatus of claim 7, wherein the obtaining module comprises:
a receiving unit, configured to receive a response message from the PCRF in response to the signaling message, where the response message carries a return code used for indicating whether the response message is successfully responded;
a determining unit, configured to determine, according to the return code, a response message that the response is successful;
and the obtaining unit is used for obtaining the routing information of the PCRF corresponding to the response message with successful response.
9. The apparatus of claim 7, wherein before the sending module sends the signaling message for the dynamic policy and charging request to the PCRF, the apparatus further comprises:
a receiving module, configured to receive the signaling message sent by the AF.
10. The apparatus of claim 7, wherein the means for sending the signaling message for the dynamic policy and charging request to the PCRF comprises one of: parallel transmission method, serial transmission method.
11. The apparatus of claim 7, further comprising:
the acquiring module is used for acquiring the change condition of the PCRF in the network;
and the adjusting module is used for adjusting the link state between the PCRF according to the change condition.
12. The apparatus of claim 11,
the change comprises one of: newly building a signaling link; modifying the signaling link; receiving a signal link for deletion; when the signaling link is abnormal, the signaling link is switched;
the adjustment module comprises at least one of: the first adjusting unit is used for generating a new establishing instruction for establishing a signaling link and establishing the signaling link with the PCRF according to the new establishing instruction; the second adjusting unit is used for generating a modification instruction for modifying the signaling link and modifying the signaling link between the second adjusting unit and the PCRF according to the modification instruction; the third adjusting unit is used for generating a deleting instruction for deleting the signaling link and deleting the signaling link between the third adjusting unit and the PCRF according to the deleting instruction; and the fourth adjusting unit is used for generating a switching instruction for switching the signaling link when the signaling link is abnormal, and switching the signaling link between the PCRF according to the switching instruction.
13. A routing device, comprising:
the signaling broadcast module is used for receiving a dynamic policy and charging request signaling message initiated by an Application Function (AF) and broadcasting the signaling message to a policy and charging control unit (PCRF); and receiving a response message of the PCRF in response to the signaling message;
the routing addressing module is coupled with the signaling broadcasting module and used for acquiring routing information of the PCRF which responds successfully from the response message;
the signaling broadcast module is further configured to extract the routing information of the PCRF that successfully responds and forward the routing information to the AF.
14. The apparatus of claim 13, further comprising:
and the link management module is coupled with the link connection module and is used for carrying out configuration management maintenance on the signaling link.
15. The apparatus of claim 14,
the link management module is further configured to acquire a change condition of a PCRF in a network, where the change condition includes at least one of: newly building a signaling link; modifying the signaling link; deleting the signaling link; when the signaling link is abnormal, the signaling link is switched;
the link management module is also used for generating a management instruction according to the change condition and sending the management instruction to the link connection module; wherein the management instructions include at least one of: the method comprises a new command for newly building a signaling link, a modification command for modifying the signaling link, a deletion command for deleting the signaling link and a switching command for switching the signaling link.
16. The apparatus of claim 15, further comprising:
the link connection module is coupled with the link management module and used for receiving the link management instruction of the link management module; and executing signaling link connection with the PCRF;
wherein executing the signaling link connection with the PCRF includes at least one of: and newly establishing a signaling link with the PCRF according to the newly-established instruction, modifying the signaling link with the PCRF according to the modification instruction, deleting the signaling link with the PCRF according to the deletion instruction, and switching the signaling link with the PCRF according to the switching instruction.
17. The apparatus of claim 16,
the link connection module is coupled with the signaling broadcast module and is further used for broadcasting the signaling message received by the signaling broadcast module to the policy and charging control unit PCRF; and receiving a response message of the PCRF responding to the signaling message and forwarding the response message to the signaling broadcast module.
18. A routing system, comprising: the system comprises a routing addressing device, a policy and charging control unit (PCRF) and an Application Function (AF);
wherein the routing device comprises:
a signaling broadcast module, configured to receive a dynamic policy and charging request signaling message initiated by the AF, and broadcast the signaling message to the PCRF; and receiving a response message of the PCRF in response to the signaling message;
the routing addressing module is coupled with the signaling broadcasting module and used for acquiring routing information of the PCRF which responds successfully from the response message;
the signaling broadcast module is further configured to extract the routing information of the PCRF that successfully responds and forward the routing information to the AF.
19. The system of claim 18, wherein the routing device further comprises:
and the link management module is coupled with the link connection module and is used for carrying out configuration management maintenance on the signaling link.
20. The system of claim 19,
the link management module is further configured to acquire a change condition of a PCRF in a network, where the change condition includes at least one of: newly building a signaling link; modifying the signaling link; deleting the signaling link; when the signaling link is abnormal, the signaling link is switched;
the link management module is also used for generating a management instruction according to the change condition and sending the management instruction to the link connection module; wherein the management instructions include at least one of: the method comprises a new command for newly building a signaling link, a modification command for modifying the signaling link, a deletion command for deleting the signaling link and a switching command for switching the signaling link.
21. The system of claim 20, wherein the routing device further comprises:
the link connection module is coupled with the link management module and used for receiving the link management instruction of the link management module; and executing signaling link connection with the PCRF;
wherein executing the signaling link connection with the PCRF includes at least one of: and newly establishing a signaling link with the PCRF according to the newly-established instruction, modifying the signaling link with the PCRF according to the modification instruction, deleting the signaling link with the PCRF according to the deletion instruction, and switching the signaling link with the PCRF according to the switching instruction.
22. A method for obtaining routing information is applied to a routing system, and the routing system comprises: the system comprises a routing addressing device, a policy and charging control unit (PCRF) and an Application Function (AF); the method comprises the following steps:
a dynamic policy and charging request signaling message initiated by the AF to the routing addressing device;
the routing addressing equipment broadcasts the signaling message to the PCRF;
the PCRF sends a response message responding to the signaling message to the routing addressing equipment;
and the routing addressing equipment acquires the routing information of the PCRF successfully responded from the response message, extracts the routing information of the PCRF successfully responded and forwards the routing information to the AF.
CN201610591040.7A 2016-07-22 2016-07-22 Obtain method and device, routing addressing equipment and the system of routing iinformation Pending CN107645385A (en)

Priority Applications (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
PCT/CN2017/094139 WO2018014882A1 (en) 2016-07-22 2017-07-24 Method and device for acquiring router information, and router addressing apparatus and system

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN107645385A true CN107645385A (en) 2018-01-30

Family

ID=60992971

Family Applications (1)

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

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
CN113438096A (en) * 2020-03-23 2021-09-24 中国电信股份有限公司 Method, system and application function entity for guaranteeing service quality

Families Citing this family (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

Citations (6)

* 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
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
WO2011100629A2 (en) * 2010-02-12 2011-08-18 Tekelec Methods, systems, and computer readable media for diameter network management
CN102300263A (en) * 2011-09-23 2011-12-28 电信科学技术研究院 Policy and charging rules function (PCRF) determination method, device and system
CN103581870A (en) * 2012-07-19 2014-02-12 中兴通讯股份有限公司 Information acquiring method, information processing method, application function entity and strategy function entity

Patent Citations (6)

* 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
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
WO2011100629A2 (en) * 2010-02-12 2011-08-18 Tekelec Methods, systems, and computer readable media for diameter network management
CN102300263A (en) * 2011-09-23 2011-12-28 电信科学技术研究院 Policy and charging rules function (PCRF) determination method, device and system
CN103581870A (en) * 2012-07-19 2014-02-12 中兴通讯股份有限公司 Information acquiring method, information processing method, application function entity and strategy function entity

Cited By (2)

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

Also Published As

Publication number Publication date
WO2018014882A1 (en) 2018-01-25

Similar Documents

Publication Publication Date Title
CN103533189B (en) The distribution method and device of mobile agent call
CN101212792B (en) Billing information processing method for convergence services
CN102299967A (en) Mobile position system, gateway, mobile terminal and method for realizing mobile position
CN103516918B (en) Faulty resource restoration methods and device
CN108632844A (en) Information processing method, device, computer readable storage medium and electronic equipment
CN105307173A (en) Communication network architecture, access authentication method and system based on communication network architecture
CN101489260A (en) Method, apparatus and system for communication service processing
CN114697282B (en) Message processing method and system, storage medium and electronic device
CN107968767A (en) A kind of multi-terminal communication method, server and first terminal
CN107508848A (en) Session method for handover control, device and access point apparatus
CN107645385A (en) Obtain method and device, routing addressing equipment and the system of routing iinformation
EP3739921A1 (en) Data transmission method, apparatus and device, and computer-readable storage medium
CN110365499A (en) A kind of method and system that establishing group communication, mobile management function to ps domain entity
CN114416933A (en) Complaint processing method and device, electronic equipment and storage medium
CN103051484B (en) Session service processing method, system and Session Border Controll
US20170310561A1 (en) Network Control Method and Apparatus
CN104079431A (en) Instant-messaging session management method and session management device
CN103841141A (en) Multimedia communication system and method
EP3086579A1 (en) Switching method and device for charging system
CN109120578A (en) A kind of method and device for realizing link connection processing
CN108696855A (en) A kind of approaches to IM, conversation management functional and mobile management function to ps domain
WO2011020337A1 (en) Computer telecommunication integration exchanger (ctiex), system and method for channel associated data transmission of agent and automatic service
CN102143428A (en) Method and device for implementing service-side drive service and uplink service node
CN112804277A (en) Load control information sending method, device, equipment and storage medium
CN114697281B (en) Text message processing method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180130

RJ01 Rejection of invention patent application after publication