CN104486841B - A kind of policy control rules function server and its message forwarding method - Google Patents
A kind of policy control rules function server and its message forwarding method Download PDFInfo
- Publication number
- CN104486841B CN104486841B CN201410670601.3A CN201410670601A CN104486841B CN 104486841 B CN104486841 B CN 104486841B CN 201410670601 A CN201410670601 A CN 201410670601A CN 104486841 B CN104486841 B CN 104486841B
- Authority
- CN
- China
- Prior art keywords
- message
- pdn gateway
- processing node
- network address
- address information
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/021—Ensuring consistency of routing table updates, e.g. by using epoch numbers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of policy control rule functional PCRF server and its message forwarding methods, and multiple message processing nodes are configured in PCRF server, so that the number of users supported can satisfy the demand of network deployment.The message forwarding method of the policy control rule functional PCRF server includes multiple message processing nodes in the PCRF server, which comprises receives the CCR message that Packet Data Network's PDN Gateway equipment is sent;The network address information of the PDN Gateway equipment is obtained from the CCR message;The corresponding message processing node of the network address information is determined by searching for pre-stored first forwarding table according to the network address information, wherein the corresponding relationship of network address information and message processing node in first forwarding table including PDN Gateway equipment;The CCR message is forwarded to the corresponding message processing node of the network address information.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of policy control rule functional PCRF server and its message
Retransmission method.
Background technique
Under long term evolution (Long Term Evolve, LTE) network architecture, wireless communication system by wireless access network and
Core net composition.Wireless access network by evolved base station (Evolved NodeB, eNB) Lai Shixian, core net by evolution grouping
Core net (Evolved Packet Core, EPC) is realized.EPC is by mobility management entity (Mobility Management
Entity, MME) network element, gateway (Serving Gateway, SGW) network element, packet data network gateway (Packet Data
Network Gateway, PGW) network element, policy control rule functional (Policy and Charging Rules Function,
PCRF) network element is realized.PCRF network element provides relevant policy control and charging regulation by Gx interface for PGW network element.
It is Gx interface between PGW network element and PCRF network element under the non-roaming network architecture of LTE, uses diameter (diameter)
Agreement carries out interacting message;Under the PCC network architecture, policy control executes entity function (Policy and Charging
Enforcement Function, PCEF), i.e., it is Gx interface between the execution entity and PCRF network element of PGW network element.According to third
For collaborative project (3rd Generation Partnership Project, 3GPP) protocol requirement, Gx interface application layer is based on
Diameter agreement carries out interacting message, and bottom passes through Flow Control Transmission Protocol (Stream Control Transmission
Protocol, SCTP) carrying, specifically, as shown in Figure 1, there was only two pairs of message between PGW network element and PCRF network element, respectively
For credit control request (Credit Control Request, CCR) message, Credit Control Answer (Credit Control
Answer, CCA) message, re-authentication request (Re Auth Request, RAR) message, re-authentication response (Re Auth
Answer, RAA) message, PGW network element to PCRF network element send CCR message, RAA message, PCRF network element to PGW network element send CCA
Message, RAR message.Between PCEF and PCRF network element when interaction, PCEF is client, and PCRF network element is server end, is disappeared every time
Breath interaction, using the session-Id in message as sequences match code.
In real network deployment, often a set of PCRF server needs to connect the PGW equipment covered more, i.e., a set of PCRF clothes
Business device is needed while being supported to the PGW device service of multiple producers.Network deployment requirements want the capacity of a set of PCRF server
Seeking Truth is very high, it is often necessary to which a set of PCRF server supports that users millions of or even up to ten million simultaneously is online simultaneously.
But one PCRF signaling processing subsystem (pcrf of configuration is only supported in a set of PCRF server in the prior art
Sub process system, pcsps) signaling handles node, so that a set of PCRF server is used online while support
Amount amount full configuration can only achieve 100,000, and in the deployment of actual field network, this be it is far from being enough, scene is it is often required that a set of
PCRF equipment supports that million even up to ten million users are online simultaneously.
In conclusion only support that configuring a signaling handles node in a set of PCRF server in the prior art, support
Number of users is unable to satisfy the demand of network deployment.
Summary of the invention
The embodiment of the invention provides a kind of policy control rule functional PCRF server and its message forwarding method,
Multiple message processing nodes are configured in PCRF server, so that the number of users supported can satisfy the demand of network deployment, together
When can guarantee that the message of the external PDN Gateway equipment being connected with PCRF server obtains between multiple message processing nodes
Correctly distribution.
A kind of message forwarding method of policy control rule functional PCRF server provided in an embodiment of the present invention, the PCRF
It include multiple message processing nodes in server, which comprises receive the credit that Packet Data Network's PDN Gateway equipment is sent
Control request CCR message;The network address information of the PDN Gateway equipment is obtained from the CCR message;According to the network
Address information determines the corresponding message processing node of the network address information by searching for pre-stored first forwarding table,
In, the corresponding relationship of network address information and message processing node in first forwarding table including PDN Gateway equipment.
In the above method provided in an embodiment of the present invention, by configuring multiple message processing nodes in PCRF server,
So that PCRF server supports more numbers of users, configuration one is supported to disappear in a PCRF server in the prior art
Breath processing node is compared, and the number of users of support is increased, and has better met the demand of network deployment, meanwhile, according to PDN net
The network address information for closing equipment carries out the distribution of message, ensure that the external PDN Gateway equipment being connected with PCRF server
Message correctly distributed between multiple message processing nodes.
In a kind of possible embodiment, in the above method provided in an embodiment of the present invention, obtained from the CCR message
The network address information of PDN Gateway equipment is taken, specifically: when determining the CCR message is first kind CCR message, from described
The network address information of PDN Gateway equipment is obtained in CCR message.
In a kind of possible embodiment, in the above method provided in an embodiment of the present invention, Packet Data Network is being received
After the CCR message that PDN Gateway equipment is sent, this method further include: when determining the CCR message is the second class CCR message,
The mark of user equipment is obtained from the CCR message;Judge to set in pre-set second forwarding table with the presence or absence of the user
Standby mark, wherein the corresponding relationship of mark and message processing node in second forwarding table including user equipment;Work as institute
When stating the mark that the user equipment is not present in the second forwarding table, node is handled for the mark assignment messages of the user equipment, and
The mark of the user equipment and the corresponding relationship of the message processing node of the mark distribution for the user equipment are added to institute
It states in the second forwarding table;And the network address information of PDN Gateway equipment is obtained from the CCR message, and by the network
Address information and the corresponding relationship of the message processing node of the mark distribution for the user equipment are added to first forwarding table
In;When, there are when the mark of the user equipment, determining the user in second forwarding table by searching for second forwarding table
The corresponding message processing node of the mark of equipment;And the network address letter of PDN Gateway equipment is obtained from the CCR message
Breath, and the network address information of the PDN Gateway equipment is corresponding with the corresponding message processing node of mark of the user equipment
Relationship is added in first forwarding table.
In a kind of possible embodiment, in the above method provided in an embodiment of the present invention, the network address information
It include: the host name of PDN Gateway equipment, the domain name of PDN Gateway equipment and session identification code session ID.
In a kind of possible embodiment, in the above method provided in an embodiment of the present invention, this method further include: work as institute
When stating that any message processing node breaks down in multiple message processing nodes, obtained from the message from first forwarding table
Manage the network address information of the corresponding PDN Gateway equipment of node;According to the network address information of PDN Gateway equipment, to PDN Gateway
Equipment sends the RAR message for being used to indicate release with resource corresponding to the message processing node to break down.
In the above method provided in an embodiment of the present invention, when any message processing node breaks down, the determining and hair
The network address information of the corresponding PDN Gateway equipment of message processing node of raw failure, and send to PDN Gateway equipment for referring to
The RAR message for showing release with resource corresponding to the message processing node to break down, so that the user in PDN Gateway equipment
Resource can timely discharge, and ensure that the consistency of user resources between PCRF server and PDN Gateway equipment, and do not consume
Take additional PCRF server memory resource.
A kind of policy control rule functional PCRF server provided in an embodiment of the present invention includes more in the PCRF server
A message processing node, the PCRF server further include: routing management module is connected to the multiple processing node, for connecing
Receive the CCR message that Packet Data Network's PDN Gateway equipment is sent;The network of the PDN Gateway equipment is obtained from the CCR message
Address information;The network address information pair is determined according to the network address information by searching for pre-stored first forwarding table
The message processing node answered, wherein include the network address information and Message Processing of PDN Gateway equipment in first forwarding table
The corresponding relationship of node;The CCR message is forwarded to the corresponding message processing node of the network address information.
In above-mentioned apparatus provided in an embodiment of the present invention, by configuring multiple message processing nodes in PCRF server,
So that PCRF server supports more numbers of users, configuration one is supported to disappear in a PCRF server in the prior art
Breath processing node is compared, and the number of users of support is increased, and has better met the demand of network deployment, meanwhile, according to PDN net
The network address information for closing equipment carries out the distribution of message, ensure that the external PDN Gateway equipment being connected with PCRF server
Message correctly distributed between multiple message processing nodes.
In a kind of possible embodiment, in above-mentioned apparatus provided in an embodiment of the present invention, the routing management module
From the CCR message obtain PDN Gateway equipment network address information, specifically: when determine the CCR message be the first kind
When CCR message, the network address information of PDN Gateway equipment is obtained from the CCR message.
In a kind of possible embodiment, in above-mentioned apparatus provided in an embodiment of the present invention, Packet Data Network is being received
PDN Gateway equipment send CCR message after, the routing management module is also used to: when determine the CCR message be the second class
When CCR message, the mark of user equipment is obtained from the CCR message;Judge whether deposit in pre-set second forwarding table
In the mark of the user equipment, wherein pair of mark and message processing node in second forwarding table including user equipment
It should be related to;When the mark of the user equipment is not present in second forwarding table, for the mark assignment messages of the user equipment
Node is handled, and is closed by the mark of the user equipment and for the corresponding of message processing node of the mark distribution of the user equipment
System is added in second forwarding table;And the network address information of PDN Gateway equipment is obtained from the CCR message, and
The corresponding relationship of the network address information and the message processing node of the mark distribution for the user equipment is added to described
In first forwarding table;When in second forwarding table there are when the mark of the user equipment, by searching for second forwarding table
Determine the corresponding message processing node of the mark of the user equipment;And PDN Gateway equipment is obtained from the CCR message
Network address information, and by the network address information of PDN Gateway equipment Message Processing corresponding with the mark of the user equipment
The corresponding relationship of node is added in first forwarding table.
In a kind of possible embodiment, in above-mentioned apparatus provided in an embodiment of the present invention, the network address information
It include: the host name of PDN Gateway equipment, the domain name of PDN Gateway equipment and session identification code session ID.
In a kind of possible embodiment, in above-mentioned apparatus provided in an embodiment of the present invention, the routing management module
It is also used to: when message processing node any in the multiple message processing node breaks down, from first forwarding table
Obtain the network address information of the corresponding PDN Gateway equipment of the message processing node;Believed according to the network address of PDN Gateway equipment
Breath, the RAR for being used to indicate release and resource corresponding to the message processing node to break down to the transmission of PDN Gateway equipment disappear
Breath.
In above-mentioned apparatus provided in an embodiment of the present invention, when any message processing node breaks down, the determining and hair
The network address information of the corresponding PDN Gateway equipment of message processing node of raw failure, and send to PDN Gateway equipment for referring to
The RAR message for showing release with resource corresponding to the message processing node to break down, so that the user in PDN Gateway equipment
Resource can timely discharge, and ensure that the consistency of user resources between PCRF server and PDN Gateway equipment, and do not consume
Take additional PCRF server memory resource.
Detailed description of the invention
Fig. 1 is the flow diagram of interacting message between PGW network element and PCRF network element in the prior art;
Fig. 2 is a kind of flow diagram of the message forwarding method of PCRF server provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the processing CCR message of PCRF server provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of PCRF server provided in an embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawing, to the specific reality of frequency spectrum resource provided in an embodiment of the present invention distribution, acquisition methods and device
The mode of applying is described in detail.
A kind of message forwarding method of policy control rule functional PCRF server provided in an embodiment of the present invention, the PCRF
It include multiple message processing nodes in server, as shown in Figure 2, which comprises
Step 202, the credit control request CCR message that Packet Data Network's PDN Gateway equipment is sent is received;
Step 204, the network address information of PDN Gateway equipment is obtained from CCR message;
Step 206, determine that the network address is believed according to network address information by searching for pre-stored first forwarding table
Cease corresponding message processing node, wherein include the network address information and Message Processing of PDN Gateway equipment in the first forwarding table
The corresponding relationship of node;
Step 208, which is forwarded to the corresponding message processing node of the network address information.
In method provided in an embodiment of the present invention, by configuring multiple message processing nodes in PCRF server, so that
PCRF server supports more numbers of users, supports at one message of configuration in a PCRF server in the prior art
Reason node is compared, and the number of users of support is increased, and has better met the demand of network deployment, meanwhile, it is set according to PDN Gateway
Standby network address information carries out the distribution of message, ensure that disappearing for the external PDN Gateway equipment being connected with PCRF server
Breath is correctly distributed between multiple message processing nodes.
It is worth noting that, including the network address information and message processing node of PDN Gateway equipment in the first forwarding table
Corresponding relationship, can be the address of message processing node, be also possible to the mark of message processing node, only need can distinguish not
With message processing node, be illustrated by taking the address of message processing node as an example in the embodiment of the present invention.
Specifically, external to there is multiple and different PDN Gateway equipment to be connected with PCRF server, while PCRF is serviced
Device includes multiple message processing nodes, and the network address information and Message Processing of PDN Gateway equipment are stored by the first forwarding table
The corresponding relationship of address of node, thus when receiving the message of PDN Gateway equipment transmission, directly according to PDN Gateway equipment
Network address information search the ground that pre-stored first forwarding table determines the corresponding message processing node of PDN Gateway equipment
Location, the message distribution that PDN Gateway equipment is sent to correct message processing node.
It should be noted that network address information can identify different PDN Gateway equipment, a variety of differences can be used
Form, such as: host name+domain name+session ID, wherein session ID can from PDN Gateway equipment send CCR
It is obtained in message, certainly, in another embodiment, sequence number+domain name+session ID of PDN Gateway equipment also can be used
Different PDN Gateway equipment is identified as network address information.
When it is implemented, there are many type of messages that PDN Gateway equipment is sent, comprising: the CCR message of initialization updates
CCR message and deletion CCR message.Certainly, it receives different types of CCR message and needs to make different processing, it is specific next
It says:
When determining CCR message is first kind CCR message, the network address letter of PDN Gateway equipment is obtained from CCR message
It ceases, and determines the address of the corresponding message processing node of CCR message by searching for the first forwarding table, thus at multiple message
Correctly distributed between reason node, to guarantee the correct processing of message, first kind CCR message, comprising: the CCR of update disappears
Breath and the CCR message deleted.
When determining CCR message is the second class CCR message, the mark of user equipment is obtained from CCR message;Judgement is preparatory
It whether there is the mark of the user equipment in the second forwarding table being arranged, wherein include the mark of user equipment in the second forwarding table
Know the corresponding relationship with the address of message processing node;When the mark of the user equipment is not present in the second forwarding table, for this
The mark assignment messages of user equipment handle node, and the mark of user equipment is disappeared with what the mark for the user equipment was distributed
The corresponding relationship of breath processing address of node is added in the second forwarding table;And PDN Gateway equipment is obtained from CCR message
Network address information, and by the address of network address information and the message processing node of the mark distribution for the user equipment
Corresponding relationship is added in the first forwarding table;When in the second forwarding table there are when the mark of the user equipment, by searching for described
Second forwarding table determines the address of the corresponding message processing node of mark of the user equipment;And it is obtained from CCR message
The network address information of PDN Gateway equipment, and by the mark pair of the network address information of the PDN Gateway equipment and the user equipment
The corresponding relationship of the address for the message processing node answered is added in the first forwarding table.Wherein, the second class CCR message, comprising: just
The CCR message of beginningization.The mark of user equipment can be the international mobile subscriber identification code (International of user equipment
Mobile Subscriber Identifier, IMSI), it is also possible to the information of other identifier user equipment.
Illustrate that PCRF server provided in an embodiment of the present invention handles the CCR message received below with reference to Fig. 3
Specific steps, comprising:
Step 302, the CCR message that external PDN Gateway equipment is sent is received.
Step 304, judge whether it is the CCR message of initialization, it should be noted that the CCR message is carried in CCR message
Type, after receiving the CCR message that PDN Gateway equipment is sent, the class of the CCR message can be directly obtained from CCR message
Type executes step 306 when determining CCR message to initialize CCR message, otherwise, executes step 316.
Step 306, the second forwarding table is searched according to IMSI.Specifically, when determine CCR message be initialization CCR disappear
Breath, then decode the IMSI of the user equipment in CCR message, then searching the second forwarding table and determining in the second forwarding table is first
No there are the IMSI, no to then follow the steps 312 if thening follow the steps 308 there are the IMSI in the second forwarding table.
It step 308, is that key is added to the first forwarding table with host name+domain name+session ID.If the second forwarding table
Middle there are the IMSI of the user equipment, then illustrating the user not is first time PDN access, it should and it is more PDN connections of the user,
Therefore, it is first determined then the address of the IMSI of the user equipment corresponding message processing node in the second forwarding table should
Host name+domain name+sessionId in CCR message is added in the first forwarding table as key, the corresponding Message Processing of the key
Address of node is exactly the address of the message processing node determined in the second forwarding table, thus supports the more of user equipment
PDN connection process.
It step 310, is also to the IMSI by CCR message distribution at second turn by CCR message distribution to message processing node
The address of corresponding message processing node in delivering.
Step 312, assignment messages handle node, and are that key is added to the second forwarding table with IMSI.Specifically: if
In second forwarding table be not present the user equipment IMSI, then explanation be the user equipment first time PDN access, then need for
The IMSI assignment messages handle node, and the corresponding relationship of the IMSI and the address of the message processing node for IMSI distribution
It is added in the second forwarding table.
What needs to be explained here is that the mode for the IMSI assignment messages processing node of user equipment has very much, and such as: root
According to the busy degree of multiple message processing nodes, according to the priority orders of message processing node.
Step 314, in user equipment first time PDN connection, not only need by the IMSI of user equipment with for the IMSI
The corresponding relationship of the address of the message processing node of distribution is added in the second forwarding table, while also needing the CCR message
Host name+domain name+session ID is added in the first forwarding table as key, the ground of the corresponding message processing node of this key
Location is exactly for the address of the message processing node of IMSI distribution.
By pair of the IMSI of user equipment and the address of the message processing node for IMSI distribution in the embodiment of the present invention
It should be related to and be added in the second forwarding table, using the host name of CCR message+domain name+session ID as key and Message Processing section
The corresponding relationship of the address of point is added in the first forwarding table, then in the CCR message for the update for receiving user equipment transmission
Or delete CCR message when, directly can search the first forwarding table using the host name in message+domain name+session ID,
The address of the corresponding message processing node of the user equipment can be directly found, guarantees that CCR message is correctly quickly distributed.
It step 316, is that key searches the first forwarding table with host name+domain name+session ID.Specifically, work as determination
CCR message is not the CCR message of initialization, when being the CCR message of the CCR message or deletion updated, then illustrates the use yet
The message of family equipment has stored in the first forwarding table and the second forwarding table, then directly with host name+domain name of the CCR message
+ session ID is the address that key determines the corresponding message processing node of CCR message in the first forwarding table.
Step 318, by CCR message distribution to message processing node, also i.e. by CCR message distribution in the first forwarding table
The address of determining message processing node.
Certainly, when CCR message is the CCR message deleted, when the protocol processes of message processing node have handled certain user
The session of equipment is deleted, then is that key searches the first forwarding table with host name+domain name+session ID, by the first forwarding table
In the address of the key and message processing node corresponding relationship delete.
In a kind of possible embodiment, in method provided in an embodiment of the present invention, network address information includes: PDN
The host name of gateway, the domain name of PDN Gateway equipment and session identification code session ID.
In a kind of possible embodiment, in method provided in an embodiment of the present invention, this method further include: disappear when multiple
When any message processing node breaks down in breath processing node, the address of the message processing node is obtained from the first forwarding table
The network address information of corresponding PDN Gateway equipment;According to the network address information of PDN Gateway equipment, sent out to PDN Gateway equipment
Send the RAR message for being used to indicate release with resource corresponding to the message processing node to break down.
In method provided in an embodiment of the present invention, when any message processing node breaks down, determining and generation event
The network address information of the corresponding PDN Gateway equipment in the address of the message processing node of barrier, and be used for the transmission of PDN Gateway equipment
The RAR message for indicating release with resource corresponding to the message processing node to break down, so that the use in PDN Gateway equipment
Family resource can timely discharge, and ensure that the consistency of user resources between PCRF server and PDN Gateway equipment, and not
Expend additional PCRF server memory resource.
Specifically, the host name in the CCR message that the external PGW equipment being connected is sent is saved in the first forwarding table
Address of+domain name+session the ID as the corresponding message processing node of key.When the Message Processing section to break down has been determined
Point has been known that the address of the message processing node to break down, then the Message Processing section can be searched in the first forwarding table
Host name, the domain name, session ID of the corresponding external PGW equipment in the address of point, then can directly send to PDN Gateway equipment
It is used to indicate the RAR message of release with resource corresponding to the message processing node to break down, to guarantee PCRF server
The consistency of resources for user equipment between PDN Gateway equipment.
A kind of policy control rule functional PCRF server provided in an embodiment of the present invention, as shown in figure 4, the PCRF is serviced
It include multiple message processing nodes 402, the PCRF server further include: routing management module 404 is connected to multiple message in device
Node 402 is handled, for receiving the CCR message of Packet Data Network's PDN Gateway equipment transmission;Institute is obtained from the CCR message
State the network address information of PDN Gateway equipment;According to the network address information by searching for pre-stored first forwarding table
Determine the address of the corresponding message processing node of the network address information, wherein include P [DN gateway in first forwarding table
The corresponding relationship of the address of the network address information and message processing node of equipment;The CCR message is forwarded to the network address
The corresponding message processing node of information.
In device provided in an embodiment of the present invention, by configuring multiple message processing nodes in PCRF server, so that
PCRF server supports more numbers of users, supports at one message of configuration in a PCRF server in the prior art
Reason node is compared, and the number of users of support is increased, and has better met the demand of network deployment, meanwhile, it is set according to PDN Gateway
Standby network address information carries out the distribution of message, ensure that disappearing for the external PDN Gateway equipment being connected with PCRF server
Breath is correctly distributed between multiple message processing nodes.
In a kind of possible embodiment, in device provided in an embodiment of the present invention, the routing management module 404 from
In the CCR message obtain PDN Gateway equipment network address information, specifically: when determine the CCR message be the first kind
When CCR message, the network address information of PDN Gateway equipment is obtained from the CCR message.
In a kind of possible embodiment, in device provided in an embodiment of the present invention, packet data network PDN net is being received
Close equipment send CCR message after, the routing management module is also used to: when determine the CCR message be the second class CCR disappear
When breath, the mark of user equipment is obtained from the CCR message;Judge in pre-set second forwarding table with the presence or absence of the use
The mark of family equipment, wherein pair of the address of mark and message processing node in second forwarding table including user equipment
It should be related to;When the mark of the user equipment is not present in second forwarding table, for the mark assignment messages of the user equipment
Handle node, and identifying the user equipment and the address of the message processing node of the mark distribution for the user equipment
Corresponding relationship is added in second forwarding table;And the network address of PDN Gateway equipment is obtained from the CCR message
Information, and closed by the network address information and for the corresponding of address of the message processing node of the mark distribution of the user equipment
System is added in first forwarding table;When in second forwarding table there are when the mark of the user equipment, by searching for institute
State the address that the second forwarding table determines the corresponding message processing node of mark of the user equipment;And from the CCR message
The network address information of PDN Gateway equipment is obtained, and by the mark of the network address information of the PDN Gateway equipment and the user equipment
The corresponding relationship for knowing the address of corresponding message processing node is added in first forwarding table.
In a kind of possible embodiment, in device provided in an embodiment of the present invention, the network address information includes:
The host name of PDN Gateway equipment, the domain name of PDN Gateway equipment and session identification code session ID.
In a kind of possible embodiment, in device provided in an embodiment of the present invention, the routing management module 404 is also
For: when message processing node any in the multiple message processing node breaks down, obtained from first forwarding table
Take the network address information of the corresponding PDN Gateway equipment in the address of the message processing node;According to the network of PDN Gateway equipment
Location information is used to indicate release and resource corresponding to the message processing node to break down to the transmission of PDN Gateway equipment
RAR message.
In device provided in an embodiment of the present invention, when any message processing node breaks down, determining and generation event
The network address information of the corresponding PDN Gateway equipment in the address of the message processing node of barrier, and be used for the transmission of PDN Gateway equipment
The RAR message for indicating release with resource corresponding to the message processing node to break down, so that the use in PDN Gateway equipment
Family resource can timely discharge, and ensure that the consistency of user resources between PCRF server and PDN Gateway equipment, and not
Expend additional PCRF server memory resource.
Routing management module 404 provided in an embodiment of the present invention, the major function of the routing management module 404 are to from outer
The diameter message that the multiple and different PGW equipment in portion receives be properly routed on correct message processing node, meanwhile,
After some message processing node breaks down, which first has to identify at the message to break down
Node is managed, all user equipmenies for the message processing node service broken down then is found out, then finds these user equipmenies
Corresponding external PGW equipment, finally generates RAR message for these user equipmenies and is sent to impacted PGW equipment, notify
The PGW equipment being connected discharges the resource of these user equipmenies.The routing management module 404 is a part of PCRF server,
It can be using CPU processor or single-chip microcontroller etc..
In conclusion a kind of policy control rule functional PCRF server provided in an embodiment of the present invention and its message forwarding
Method, by configuring multiple message processing nodes in PCRF server, so that PCRF server supports more numbers of users,
The number of users for increasing support has better met the demand of network deployment, meanwhile, according to the network of PDN Gateway equipment
Location information carries out the distribution of message, ensure that the message of the external PDN Gateway equipment being connected with PCRF server disappears multiple
Correctly distributed between breath processing node.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (8)
1. a kind of message forwarding method of policy control rule functional PCRF server, which is characterized in that in the PCRF server
Including multiple message processing nodes, which comprises
Receive the credit control request CCR message that Packet Data Network's PDN Gateway equipment is sent;
The network address information of the PDN Gateway equipment is obtained from the CCR message;
Determine that the network address information is corresponding according to the network address information by searching for pre-stored first forwarding table
Message processing node, wherein include the network address information and message processing node of PDN Gateway equipment in first forwarding table
Corresponding relationship;
The CCR message is forwarded to the corresponding message processing node of the network address information;
After receiving the CCR message that Packet Data Network's PDN Gateway equipment is sent, this method further include:
When determining the CCR message is the second class CCR message, the mark of user equipment is obtained from the CCR message;
Judge the mark that whether there is the user equipment in pre-set second forwarding table, wherein in second forwarding table
The corresponding relationship of mark and message processing node including user equipment;
When the mark of the user equipment is not present in second forwarding table, handled for the mark assignment messages of the user equipment
Node, and the mark of the user equipment and the corresponding relationship of the message processing node of the mark distribution for the user equipment are added
It is added in second forwarding table;And the network address information of PDN Gateway equipment is obtained from the CCR message, and by institute
It states network address information and the corresponding relationship of the message processing node of the mark distribution for the user equipment is added to described first
In forwarding table;
When, there are when the mark of the user equipment, determining the user in second forwarding table by searching for second forwarding table
The corresponding message processing node of the mark of equipment;And the network address letter of PDN Gateway equipment is obtained from the CCR message
Breath, and the network address information of the PDN Gateway equipment is corresponding with the corresponding message processing node of mark of the user equipment
Relationship is added in first forwarding table.
2. the method according to claim 1, wherein obtaining the network of PDN Gateway equipment from the CCR message
Address information, specifically:
When determining the CCR message is first kind CCR message, the network of PDN Gateway equipment is obtained from the CCR message
Location information.
3. the method according to claim 1, wherein the network address information includes: the master of PDN Gateway equipment
Machine name, the domain name of PDN Gateway equipment and session identification code session ID.
4. method according to any one of claim 1-3, which is characterized in that this method further include:
When message processing node any in the multiple message processing node breaks down, obtained from first forwarding table
The network address information of the corresponding PDN Gateway equipment of the message processing node;
According to the network address information of PDN Gateway equipment, sends to PDN Gateway equipment and to be used to indicate release and break down with this
The RAR message of resource corresponding to message processing node.
5. a kind of policy control rule functional PCRF server, which is characterized in that include at multiple message in the PCRF server
Manage node, the PCRF server further include:
Routing management module is connected to the multiple message processing node, sends for receiving Packet Data Network's PDN Gateway equipment
CCR message;The network address information of the PDN Gateway equipment is obtained from the CCR message;Believed according to the network address
Breath determines the corresponding message processing node of the network address information by searching for pre-stored first forwarding table, wherein described
It include P [network address information of DN gateway and the corresponding relationship of message processing node in first forwarding table;The CCR is disappeared
Breath is forwarded to the corresponding message processing node of the network address information;
After receiving the CCR message that Packet Data Network's PDN Gateway equipment is sent, the routing management module is also used to:
When determining the CCR message is the second class CCR message, the mark of user equipment is obtained from the CCR message;
Judge the mark that whether there is the user equipment in pre-set second forwarding table, wherein in second forwarding table
The corresponding relationship of mark and message processing node including user equipment;
When the mark of the user equipment is not present in second forwarding table, handled for the mark assignment messages of the user equipment
Node, and the mark of the user equipment and the corresponding relationship of the message processing node of the mark distribution for the user equipment are added
It is added in second forwarding table;And the network address information of PDN Gateway equipment is obtained from the CCR message, and by institute
It states network address information and the corresponding relationship of the message processing node of the mark distribution for the user equipment is added to described first
In forwarding table;
When, there are when the mark of the user equipment, determining the user in second forwarding table by searching for second forwarding table
The corresponding message processing node of the mark of equipment;And the network address letter of PDN Gateway equipment is obtained from the CCR message
Breath, and the network address information of the PDN Gateway equipment is corresponding with the corresponding message processing node of mark of the user equipment
Relationship is added in first forwarding table.
6. server according to claim 5, which is characterized in that the routing management module is obtained from the CCR message
The network address information of PDN Gateway equipment is taken, specifically:
When determining the CCR message is first kind CCR message, the network of PDN Gateway equipment is obtained from the CCR message
Location information.
7. server according to claim 5, which is characterized in that the network address information includes: PDN Gateway equipment
Host name, the domain name of PDN Gateway equipment and session identification code session ID.
8. the server according to any one of claim 5-7, which is characterized in that the routing management module is also used to:
When message processing node any in the multiple message processing node breaks down, obtained from first forwarding table
The network address information of the corresponding PDN Gateway equipment of the message processing node;
According to the network address information of PDN Gateway equipment, sends to PDN Gateway equipment and to be used to indicate release and break down with this
The RAR message of resource corresponding to message processing node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410670601.3A CN104486841B (en) | 2014-11-20 | 2014-11-20 | A kind of policy control rules function server and its message forwarding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410670601.3A CN104486841B (en) | 2014-11-20 | 2014-11-20 | A kind of policy control rules function server and its message forwarding method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104486841A CN104486841A (en) | 2015-04-01 |
CN104486841B true CN104486841B (en) | 2019-08-16 |
Family
ID=52761327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410670601.3A Active CN104486841B (en) | 2014-11-20 | 2014-11-20 | A kind of policy control rules function server and its message forwarding method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104486841B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217789A (en) * | 2008-01-10 | 2008-07-09 | 中兴通讯股份有限公司 | A selecting method of strategies under non-roaming scenery and the functional server of charging rules |
CN101384015A (en) * | 2008-09-28 | 2009-03-11 | 华为技术有限公司 | Distributed telecommunication apparatus and service processing method for distributed telecommunication apparatus |
CN101583114A (en) * | 2008-09-23 | 2009-11-18 | 中兴通讯股份有限公司 | Providing method of user equipment (UE) IP address and Diameter routing agent |
CN101778434A (en) * | 2009-01-12 | 2010-07-14 | 华为技术有限公司 | Method, network equipment and system controlled uniformly |
CN101998513A (en) * | 2009-08-14 | 2011-03-30 | 中兴通讯股份有限公司 | Method and system for controlling policy and charging rules function (PCRF) load balance and redirect diameter routing agent (DRA) |
-
2014
- 2014-11-20 CN CN201410670601.3A patent/CN104486841B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217789A (en) * | 2008-01-10 | 2008-07-09 | 中兴通讯股份有限公司 | A selecting method of strategies under non-roaming scenery and the functional server of charging rules |
CN101583114A (en) * | 2008-09-23 | 2009-11-18 | 中兴通讯股份有限公司 | Providing method of user equipment (UE) IP address and Diameter routing agent |
CN101384015A (en) * | 2008-09-28 | 2009-03-11 | 华为技术有限公司 | Distributed telecommunication apparatus and service processing method for distributed telecommunication apparatus |
CN101778434A (en) * | 2009-01-12 | 2010-07-14 | 华为技术有限公司 | Method, network equipment and system controlled uniformly |
CN101998513A (en) * | 2009-08-14 | 2011-03-30 | 中兴通讯股份有限公司 | Method and system for controlling policy and charging rules function (PCRF) load balance and redirect diameter routing agent (DRA) |
Also Published As
Publication number | Publication date |
---|---|
CN104486841A (en) | 2015-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3890240B1 (en) | User plane function method, user plane function entity, computer program and system | |
CN111211913B (en) | Charging method, device and system | |
KR102546956B1 (en) | Small data usage enablement in 3gpp networks | |
KR101796405B1 (en) | Communication system, base station, communication method, and non-transitory computer readable medium storing program | |
CN108616431A (en) | A kind of message processing method, device, equipment and machine readable storage medium | |
US20140376412A1 (en) | Method and apparatus for performing charging control to application-layer data | |
US10554661B2 (en) | Methods, systems, and computer readable media for providing access network session correlation for policy control | |
CN111277720B (en) | Charging method, device and system | |
US10237417B2 (en) | Routing of diameter protocol messages based on a subscriber policy | |
JP2022520040A (en) | Extended UP function request PFCP association release | |
CN110870256B (en) | Method, system and computer readable medium for operating a telecommunication network | |
CN104995882B (en) | Message processing method and device | |
US8737202B2 (en) | Automatic connection recovery | |
US10225191B2 (en) | Service packet distribution method and apparatus | |
US9094865B2 (en) | Load balancing for devices within a network | |
CN106507382B (en) | Diameter message routing method and routing agent node | |
CN104486841B (en) | A kind of policy control rules function server and its message forwarding method | |
CN108075902A (en) | Addressing method, the apparatus and system of routing | |
JP2014531159A (en) | Processing messages related to multiple potential entities | |
WO2015172338A1 (en) | Access point selection method and related device | |
CN110831086B (en) | Method, device and system for sending indication information and storage medium | |
CN106686756B (en) | PCC conversation establishing method and system based on position | |
JP6462733B2 (en) | Method and apparatus for controlling service data flow | |
CN104811986A (en) | Method and device for associating data of interfaces in packet domain of network | |
JP5947762B2 (en) | Communication policy rule changing system and communication policy rule changing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |