CN109548063A - Handle method, apparatus, equipment and the storage medium of message - Google Patents
Handle method, apparatus, equipment and the storage medium of message Download PDFInfo
- Publication number
- CN109548063A CN109548063A CN201710853359.7A CN201710853359A CN109548063A CN 109548063 A CN109548063 A CN 109548063A CN 201710853359 A CN201710853359 A CN 201710853359A CN 109548063 A CN109548063 A CN 109548063A
- Authority
- CN
- China
- Prior art keywords
- pdr
- message
- target
- group
- equipment
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Abstract
Present disclose provides a kind of method, apparatus, equipment and storage mediums for handling message, belong to wireless communication technology field.The described method includes: receiving outstanding message;According to the session information of the affiliated session of the message, lookup and the matched target PDR group of the session information from user face equipment corresponding multiple groups packet check rule P DR, every group of PDR includes at least one PDR of at least one policing type;According to the attribute information of the message, target PDR is matched from the target PDR group, and handle the message based on the target PDR.The disclosure by being grouped to each PDR, user face equipment when matching target PDR, first find with the matched target PDR group of the session information, then search target PDI from target PDR group and so as to shorten the time improve efficiency.
Description
Technical field
This disclosure relates to wireless communication technology field, in particular to a kind of method, apparatus, equipment and storage for handling message
Medium.
Background technique
In the 5th third-generation mobile communication technology (fifth-generation, 5G) communication system, in order to realize to business
Monitoring, the message transmitted between terminal device and server are required by 5G core network user face equipment (Next
Generation User Plane, NG-UP).The message is handled by NG-UP, will treated message transmissions to terminal
Equipment or server.
Currently, 5G core network control surface (Next Generation Control Plane, NG-CP) is to transmitting messages under NG-UP
Literary detected rule (Packet Detection Rule, PDR).It wherein, include multiple packet check information (Packet in the PDR
Detection Information, PDI), one or more PDR mark, that each PDR identifies corresponding processing is regular.Processing rule
Then rule (Usage Reporting is reported including forwarding behavior regular (Forwarding Action Rule, FAR), usage amount
Rule, URR) and at least one of QoS executing rule (QoS Enforcement Rule, QER) processing rule.Work as NG-UP
When receiving message, NG-UP is matched according to the attribute information of the message with each packet check information in the PDR, from
The packet check information with the message matching is selected in the PDR, the corresponding PDR mark of the packet check information is obtained, according to this
PDR identifies corresponding processing rule and handles the message.
In implementing the present disclosure, the inventor finds that the existing technology has at least the following problems:
Since NG-UP needs the attribute information according to the message, with this when selecting packet check information in the above method
Each packet check information in PDR is matched.And the packet check information for including in the PDR is more, and as terminal is set
For the increase of business, the packet check information for including in the PDR can be more and more.Therefore, it is selected from the PDR by the above method
It is taken a long time when the packet check information for the message matching selected and received, leads to the low efficiency for handling message.
Summary of the invention
The embodiment of the present disclosure provides a kind of method, apparatus, equipment and storage medium for handling message, can solve processing
The low problem of message efficiency.The technical solution is as follows:
In a first aspect, providing a kind of method for handling message, it is applied in the equipment of user face, which comprises
Receive outstanding message;
According to the session information of the affiliated session of the message, from the corresponding multiple groups packet check rule of user face equipment
Lookup and the matched target PDR group of the session information in PDR, every group of PDR includes at least one of at least one policing type
PDR;
According to the attribute information of the message, target PDR is matched from the target PDR group, and be based on the target PDR
The message is handled.
In the embodiments of the present disclosure, when user face equipment receives message, according to the session information of the affiliated session of the message,
It is searched from the corresponding multiple groups PDR group of user face equipment and the matched target PDR group of the session information, every group of PDR includes at least
A kind of at least one PDR of policing type;According to the attribute information of the message, target PDR, and base are matched from target PDR group
The message is handled in target PDR.Due to being grouped to each PDR, user face equipment is when matching target PDR, first
Find with the session information matched target PDR group, target PDI is then searched from target PDR group, so as to shorten when
Between, improve efficiency.
In a possible implementation, the session information according to the affiliated session of the message, from the user
It is searched and the matched object message detected rule of the session information in the corresponding multiple groups packet check rule P DR group of face equipment
Before PDR group, the method also includes:
When control plane equipment reach issue condition when, by between the control plane equipment and user face equipment
Specific field in multiple PDR that control plane equipment described in Sx interface is sent, each PDR carries its affiliated grouping being grouped
Mark;
According to the packet identification of grouping belonging to each PDR, the multiple PDR is divided into multiple groups PDR.
In the embodiments of the present disclosure, pass through Sx interface multiple groups PDR.Also, the specific field addition in PDR should
The packet identification being grouped belonging to PDR.To which user face equipment is according to the packet identification, multiple PDR are grouped.Wherein, should
Specific field can be the either field in PDR or the increased field in PDR.
In a possible implementation, the multiple PDR is carried in Sx session establishment request message, alternatively, institute
Multiple PDR are stated to be carried in Sx session updates request message.
In the embodiments of the present disclosure, multiple groups PDR can be not only carried in Sx session establishment request message, can also be incited somebody to action
Multiple groups PDR is carried in Sx session updates request message, increases application scenarios.
In a possible implementation, the session information according to the affiliated session of the message, from the user
It is searched and the matched target PDR group of the session information in the corresponding multiple groups packet check rule P DR of face equipment, comprising:
Determine the session information of the affiliated session of the message;
According to the session information, the session information pair is obtained from the corresponding relationship that session information and PDR group identify
The target PDR group mark answered;
It is identified according to the target PDR group, the target PDR group mark is searched from the corresponding multiple groups PDR in the user face
Know the corresponding target PDR group.
In the embodiments of the present disclosure, the corresponding relationship of session information and PDR group mark is stored in the equipment of user face.According to meeting
Information is talked about, target PDR group is determined, to improve the accuracy of determining target PDR group.
In a possible implementation, the attribute information according to the message is selected from the target PDR group
Select target PDR, comprising:
According to the attribute information of the message, searched from the target PDR group matched at least with the attribute information
One PDR;
Determine the priority level of each PDR selected;
According to the priority level of selected each PDR, select priority level highest from the target PDR group
Target PDR.
In the embodiments of the present disclosure, the priority level of PDR comes into force in same PDR grouping, phase between different PDR groupings
It does not couple mutually.User face equipment, according to the priority level of each PDR in target PDR group, selects excellent in selection target PDR
First highest-ranking target PDR.
It is described that the message is handled based on the target PDR in a possible implementation, comprising:
Obtain each target processing rule that the target PDR includes;
By each target processing rule, the message is handled.
It in the embodiments of the present disclosure, include PDI and processing rule in PDR, when hitting some PDR, by being wrapped in the PDR
The processing rule included handles the message.
Second aspect provides a kind of method for handling message, is applied in control plane equipment, which comprises
Obtain the policing type of the corresponding each packet check rule P DR of user face equipment;
According to the policing type of each PDR, each PDR is grouped to obtain multiple groups PDR, every group of PDR packet
Include at least one PDR of at least one policing type;
When reach issue condition when, by the Sx interface between the control plane equipment and user face equipment, to institute
It states user face equipment and sends the multiple groups PDR.
In the embodiments of the present disclosure, control plane equipment is grouped each PDR according to the policing type of each PDR
To multiple PDR groups.The PDR of types multiple and different in this way be not necessarily to consider its PDI overlapping coupled relation and priority match and
Sequence is executed, the planning difficulty of the PDR of Sx interface is greatly lowered.
In a possible implementation, the method also includes:
For every group of PDR, the priority level of each PDR in the PDR group is determined;
The priority level of each PDR is marked in the PDR group.
In the embodiments of the present disclosure, the priority level of PDR comes into force in same PDR grouping, phase between different PDR groupings
It does not couple mutually.
In a possible implementation, the multiple groups PDR is carried in Sx session establishment request message, alternatively, institute
Multiple groups PDR is stated to be carried in Sx session updates request message.
In the embodiments of the present disclosure, multiple groups PDR can be not only carried in Sx session establishment request message, can also be incited somebody to action
Multiple groups PDR is carried in Sx session updates request message, increases application scenarios.
It is described to send the multiple groups PDR to user face equipment in a possible implementation, comprising:
Determine the packet identification being grouped belonging to each PDR;
The packet identification of grouping belonging to it, Xiang Suoshu user face equipment hair are added in the specific field in each PDR
Each PDR after sending addition packet identification.
In the embodiments of the present disclosure, pass through Sx interface multiple groups PDR.Also, the specific field addition in PDR should
The packet identification being grouped belonging to PDR.To which user face equipment is according to the packet identification, multiple PDR are grouped.Wherein, should
Specific field can be the either field in PDR or the increased field in PDR.
In a possible implementation, it is described when reach issue condition when, by the control plane equipment with it is described
Sx interface between the equipment of user face, before Xiang Suoshu user face equipment sends the multiple groups PDR, the method also includes:
PDR to be deleted is obtained, the PDR to be deleted is deleted from the PDR grouping where the PDR to be deleted
It removes;And/or
PDR to be added is obtained, according to the policing type of the PDR to be added, determines that the PDR to be added is corresponding
PDR grouping, the PDR to be added is added in determining PDR grouping.
In the embodiments of the present disclosure, it may be implemented to update PDR.It also, (or is PDR due to increasing PDR Group
Type AVP), for defining the packet identification of PDR, all PDR under a Session are based on packet identification realization point
Group does not couple mutually between different PDR grouping, therefore, when update PDR, without the concern for the filter condition of every kind of plan of operation
With the overlapping combinations relationship of strategy, practical operation difficulty is reduced.
The third aspect, provides a kind of device for handling message, and described device includes:
Receiving unit, for receiving outstanding message;
Matching unit, for the session information according to the affiliated session of the message, from the corresponding multiple groups report of user face equipment
It is searched in literary detected rule PDR and includes at least one policing type with the matched target PDR group of the session information, every group of PDR
At least one PDR;
The matching unit is also used to the attribute information according to the message, matches target from the target PDR group
PDR;
Processing unit, for being handled based on the target PDR the message.
In a possible implementation, described device further include:
The receiving unit, for when control plane equipment reach issue condition when, pass through the control plane equipment and institute
Multiple PDR of the transmission of control plane equipment described in the Sx interface between the equipment of user face are stated, the specific field in each PDR is taken
Packet identification with grouping belonging to it;
The multiple PDR is divided into more by division unit for the packet identification of the grouping according to belonging to each PDR
Group PDR.
In a possible implementation, the multiple PDR is carried in Sx session establishment request message, alternatively, institute
Multiple PDR are stated to be carried in Sx session updates request message.
In a possible implementation, the matching unit is also used to determine the session of the affiliated session of the message
Information;According to the session information, it is corresponding from the corresponding relationship that session information and PDR group identify to obtain the session information
Target PDR group mark;It is identified according to the target PDR group, searches the target from the corresponding multiple groups PDR in the user face
PDR group identifies the corresponding target PDR group.
In a possible implementation, the matching unit is also used to the attribute information according to the message, from institute
It states in target PDR group and searches and at least one matched PDR of the attribute information;Determine the priority of each PDR selected
Not;According to the priority level of selected each PDR, the highest target of priority level is selected from the target PDR group
PDR。
In a possible implementation, the processing unit is also used to obtain each mesh that the target PDR includes
Mark processing rule;By each target processing rule, the message is handled.
Fourth aspect, provides a kind of device for handling message, and described device includes:
Acquiring unit, for obtaining the policing type of the corresponding each packet check rule P DR of user face equipment;
Grouped element is grouped to obtain multiple groups for the policing type according to each PDR to each PDR
PDR, every group of PDR include at least one PDR of at least one policing type;
Transmission unit, for when reach issue condition when, pass through the Sx between control plane equipment and user face equipment
Interface, Xiang Suoshu user face equipment send the multiple groups PDR.
In a possible implementation, described device further include:
Determination unit, for determining the priority level of each PDR in the PDR group for every group of PDR;
Unit is marked, for marking the priority level of each PDR in the PDR group.
In a possible implementation, the multiple groups PDR is carried in Sx session establishment request message, alternatively, institute
Multiple groups PDR is stated to be carried in Sx session updates request message.
In a possible implementation, the transmission unit determines the grouping mark being grouped belonging to each PDR
Know, adds the packet identification of grouping belonging to it in the specific field in each PDR, Xiang Suoshu user face equipment sends addition
Each PDR after packet identification.
In a possible implementation, described device further include:
Updating unit will be where the PDR to be deleted from the PDR to be deleted for obtaining PDR to be deleted
It is deleted in PDR grouping;And/or
The updating unit is also used to obtain PDR to be added, according to the policing type of the PDR to be added, determines
The corresponding PDR grouping of the PDR to be added, the PDR to be added is added in determining PDR grouping.
The technical solution that the embodiment of the present disclosure provides has the benefit that
In the embodiments of the present disclosure, when user face equipment receives message, according to the session information of the affiliated session of the message,
It is searched from the corresponding multiple groups PDR group of user face equipment and the matched target PDR group of the session information, every group of PDR includes at least
A kind of at least one PDR of policing type;According to the attribute information of the message, target PDR, and base are matched from target PDR group
The message is handled in target PDR.Due to being grouped to each PDR, user face equipment is when matching target PDR, first
Find with the session information matched target PDR group, target PDI is then searched from target PDR group, so as to shorten when
Between, improve efficiency.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram for communication system that the embodiment of the present disclosure provides;
Fig. 2 is a kind of structural schematic diagram for user face equipment that the embodiment of the present disclosure provides;
Fig. 3 is a kind of structural schematic diagram for control plane equipment that the embodiment of the present disclosure provides;
Fig. 4-1 is a kind of signaling interaction diagram for processing message that the embodiment of the present disclosure provides;
Fig. 4-2 is a kind of signaling interaction diagram for processing message that the embodiment of the present disclosure provides;
Fig. 4-3 is a kind of signaling interaction diagram for processing message that the embodiment of the present disclosure provides;
Fig. 4-4 is a kind of schematic diagram for PDR grouping that the embodiment of the present disclosure provides;
Fig. 5 is a kind of signaling interaction diagram for processing message that the embodiment of the present disclosure provides;
Fig. 6 is the apparatus structure schematic diagram for the processing message that the embodiment of the present disclosure provides;
Fig. 7 is the apparatus structure schematic diagram for the processing message that the embodiment of the present disclosure provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the disclosure clearer, below in conjunction with attached drawing to disclosure embodiment party
Formula is described in further detail.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination
It repeats one by one.
The embodiment of the present disclosure provides a kind of communication system, referring to Fig. 1, the communication system include: user face equipment 101,
Control plane equipment 102, sending device 103 and receiving device 104.Pass through Sx between control plane equipment 102 and user face equipment 101
Interface is communicated.User face equipment 101 passes through wirelessly or non-wirelessly net between sending device 103 and receiving device 104 respectively
Network is communicated.
Control plane equipment 102 sets the user face for the policing type according to the corresponding each PDR of sending device 103
Standby 101 corresponding each PDR are grouped, and obtain multiple groups PDR.It include at least the one of at least one policing type in every group of PDR
A PDR, each PDR include PDI and processing rule, and processing rule includes at least one of FAR, URR and QER processing rule.
Control plane equipment 102 issues multiple groups PDR to user face equipment 101.
User face equipment 101, the multiple groups PDR issued for receiving control plane equipment 102 store multiple groups PDR.
Sending device 103, for sending message to user face equipment 101.
User face equipment 101, is also used to receive the message, determines the session information of the affiliated session of the message, according to the meeting
Information is talked about, the matched target PDR group of the session information is searched from multiple groups PDR, it should be noted that matched target here
PDR group can be for one or multiple.User face equipment 101 is according to the attribute information of the message, from target PDR group
Target PDR corresponding with the attribute information is searched, the message is handled according to target PDR.It should be noted that the mesh
It may include multiple processing rules in mark PDR, each processing rule that user face equipment 101 includes by target PDR is to this
Message is handled.User face equipment 101, is also used to that message is sent to receiving device 104 by treated.
Receiving device 104, should treated message for receive the transmission of user face equipment 101.
It should be noted that the communication system can be with 3G (Third Generation) Moblie (third Generation, 3G) system,
Four third-generation mobile communications (fourth Generation, 4G) system or the 5th third-generation mobile communication (fifth Generation, 5G)
System.User face equipment 101 can be any network element with user plane functions.For example, user face equipment 101 can be NG-
UP, user face PDN Gateway (PDN GateWay-User Plane, PGW-UP), user face gateway (Serving
GateWay-User Plane-User Plane, SGW-UP), business detection function entity user face gateway (Traffic
Detection Function-User plane function, TDF-UP), evolution grouping user face data gateway (evolved
Packet Data Gateway-User Plane function, ePDG-UP), distributed network gate (Distributed GW,
DGW), distal end deployment gateway (Remote GW, RGW).Control plane equipment 102 can be any network element with control plane function.
For example, control plane equipment 102 can be NG-CP, control plane PDN Gateway (PDN GateWay-Control Plane, PGW-
CU), control plane gateway (Serving GateWay-Control Plane, SGW-CU), the control of business detection function entity
Face gateway (Traffic Detection Function-Control Plane function, TDF-CP), evolution grouping
Control plane data gateway (evolved Packet Data Gateway-Control Plane function, ePDG-CP), collection
Middle gateway (Centralized GW, CGW) or mobility management entity (Mobility Management Entity, MME).
Sending device 103 can be terminal device or server.Receiving device 104 can be terminal device or server.
The embodiment of the present disclosure provides a kind of user face equipment, referring to fig. 2, the user face equipment include: transceiver 201,
Processor 202, memory 203 and bus 204.Wherein, transceiver 201, processor 202, memory 203 pass through 204 phase of bus
Mutual communication;Transceiver 201 is used for the communication between sending device, receiving device and control plane equipment respectively of terminal device 20,
Memory 203 includes computer operation instruction for storing the first configuration information and instruction, the instruction, and the execution of processor 202 is deposited
The instruction stored in reservoir 203, so that the method that user face equipment executes following processing messages.
Receive outstanding message;
Receive outstanding message;
According to the session information of the affiliated session of the message, from the corresponding multiple groups packet check rule P DR of the user face equipment
Lookup and the matched object message detected rule PDR group of the session information in group, every group of PDR includes at least one policing type
At least one PDR;
According to the attribute information of the message, target PDR is matched from target PDR group, and based on target PDR to the report
Text is handled.
In a possible implementation, the session information according to the affiliated session of the message, from the user face equipment
Before searching in corresponding multiple groups packet check rule P DR group with the matched object message detected rule PDR group of the session information,
This method further include:
When control plane equipment reach issue condition when, connect by the Sx between the control plane equipment and the user face equipment
Mouth receives multiple PDR that the control plane equipment is sent, and the specific field in each PDR carries its affiliated packet identification being grouped;
According to the packet identification of grouping belonging to each PDR, multiple PDR is divided into multiple PDR groups.
In a possible implementation, multiple PDR is carried in Sx session establishment request message, alternatively, this is more
A PDR is carried in Sx session updates request message.
In a possible implementation, according to the session information of the affiliated session of the message, from the user face equipment pair
It is searched and the matched target PDR group of the session information in the multiple groups packet check rule P DR answered, comprising:
Determine the session information of the affiliated session of the message;
According to the session information, it is corresponding from the corresponding relationship that session information and PDR group identify to obtain the session information
Target PDR group mark;
It is identified according to target PDR group, target PDR group mark is searched from the corresponding multiple groups PDR in the user face and is corresponded to
Target PDR group.
In a possible implementation, according to the attribute information of the message, the selection target from target PDR group
PDR, comprising:
According to the attribute information of the message, searched from target PDR group with the attribute information it is matched at least one
PDR;
Determine the priority level of each PDR selected;
According to the priority level of each PDR selected, the highest target of priority level is selected from target PDR group
PDR。
In a possible implementation, to the user face, equipment sends multiple groups PDR, comprising:
Determine the packet identification being grouped belonging to each PDR;
The packet identification of grouping belonging to it is added in the specific field in each PDR, is added to user face equipment transmission
Each PDR after adding packet identification.
In a possible implementation, the message is handled based on target PDR, comprising:
Obtain each target processing rule that target PDR includes;
By each target processing rule, which is handled.
The embodiment of the present disclosure provides a kind of control plane equipment, referring to Fig. 3, the control plane equipment include: transceiver 301,
Processor 302, memory 303 and bus 304.Wherein, transceiver 301, processor 302, memory 303 pass through 304 phase of bus
Mutual communication;For transceiver 301 for the communication between control plane equipment and user face equipment, memory 303 for storing instruction, should
Instruction includes computer operation instruction, and processor 302 executes the instruction stored in memory 303, so that control plane equipment executes
The method of following processing messages.
Obtain the policing type of the corresponding each packet check rule P DR of user face equipment;
According to the policing type of each PDR, each PDR is grouped to obtain multiple groups PDR, every group of PDR includes at least one
At least one PDR of kind policing type;
When reach issue condition when, by the Sx interface between control plane equipment and user face equipment, to user face equipment
Send multiple groups PDR.
In a possible implementation, this method further include:
For every group of PDR, the priority level of each PDR in the PDR group is determined;
The priority level of each PDR is marked in the PDR group.
In a possible implementation, multiple groups PDR is carried in Sx session establishment request message, alternatively, this is more
Group PDR is carried in Sx session updates request message.
In a possible implementation, it should reach when issuing condition, and pass through control plane equipment and user face equipment
Between Sx interface, to user face equipment send multiple groups PDR before, this method further include:
PDR to be deleted is obtained, which is deleted from the PDR grouping where the PDR to be deleted;With/
Or,
PDR to be added is obtained, according to the policing type of the PDR to be added, determines that the PDR to be added is corresponding
The PDR to be added is added in determining PDR grouping by PDR grouping.
The embodiment of the present disclosure provide it is a kind of handle message method, in the embodiments of the present disclosure with control plane equipment to
Family face equipment is illustrated for issuing multiple groups PDR, and this method is applied between user face equipment and control plane equipment.Referring to figure
4-1, this method comprises:
Step 401: control plane equipment obtains the policing type of the corresponding each PDR of user face equipment.
In the embodiments of the present disclosure, control plane equipment, will according to the policing type of the corresponding each PDR of the user face equipment
Each PDR is grouped.Therefore, control plane equipment needs to obtain the policing type of the corresponding each PDR of user face equipment.Its
In, control plane equipment controls user face equipment;The mark of the corresponding each PDR of each user face equipment is stored in control plane equipment
Know.Correspondingly, this step can be with are as follows: control plane equipment obtains the mark of the corresponding each PDR of the user face equipment;According to the use
The mark of the corresponding each PDR of family face equipment obtains the policing type of the corresponding each PDR of the user face equipment.
The corresponding relationship of mark and policing type in control plane equipment including each PDR.Correspondingly, control plane equipment root
According to the mark of the corresponding each PDR of the user face equipment, the step of the policing type of the corresponding each PDR of the user face equipment is obtained
It suddenly can be with are as follows: control plane equipment is according to the mark of the corresponding each PDR of the user face equipment, from PDR mark and policing type
The policing type of the corresponding each PDR of the user face equipment is obtained in corresponding relationship.Wherein, policing type can for PDPQoS,
Content charging, the bandwidth control based on business, head enhancing and gate etc..
For example, the user face equipment corresponds to 10 PDR, respectively PDR1-PDR10.Control plane equipment determine PDR1 and
The policing type of PDR2 is PDPQoS;The policing type for determining PDR3 and PDR4 is content charging;Determine the plan of PDR5 and PDR6
Slightly type is bandwidth control;Determine the policing type of PDR7 and PDR8 for head enhancing;The policing type for determining PDR9 and PDR10 is
Gate.
Step 402: control plane equipment is grouped each PDR to obtain multiple groups PDR according to the policing type of each PDR,
Every group of PDR includes at least one PDR of at least one policing type.
The PDR of the same policing type can be divided into a PDR group by control plane equipment, can also be by multiple strategies
The PDR of type is divided into a PDR group.It also, include one or more PDR in each PDR group.Include in each PDR
PDI and processing rule, the processing rule may include at least one in FAR, QER and URR.
(1): when in every group of PDR including the PDR of a policing type, this step can be with are as follows: control plane equipment is according to often
The PDR of the same policing type is divided into the same PDR group, obtains multiple groups PDR by the policing type of a PDR.
For example, the policing type that the policing type of PDR1 and PDR2 is PDPQoS, PDR3 and PDR4 is content charging, PDR5
Policing type with PDR6 is that bandwidth controls, and the policing type of PDR7 and PDR8 are head enhancing, the policing type of PDR9 and PDR10
For gate.PDR1 and PDR2 are divided into PDR Group1 by control plane equipment, and PDR3 and PDR4 are divided into PDR Group2,
PDR5 and PDR6 are divided into PDR Group3, PDR7 and PDR8 are divided into PDR Group4, PDR9 and PDR10 is drawn
It assigns in PDR Group5.
(2): when in every group of PDR including the PDR of multiple policing types, this step can be with are as follows: control plane equipment, which determines, draws
The policing type for assigning to same group will be divided into same according to the policing type of each PDR and the policing type for being divided into same group
The PDR of one group of policing type is divided into the same PDR group, obtains multiple groups PDR.
Control plane equipment determines that control plane equipment can be by any number of strategies when being divided into same group of policing type
Type division is in same group.Control plane equipment can also be according to the policing type of each PDR, by multiple strategies similar in business
Type division is in same group.In the embodiments of the present disclosure, to the determining policing type for being divided into same group of control plane equipment
Mode be not especially limited.
For example, the policing type that the policing type of PDR1 and PDR2 is PDPQoS, PDR3 and PDR4 is content charging, PDR5
Policing type with PDR6 is that bandwidth controls, and the policing type of PDR7 and PDR8 are head enhancing, the policing type of PDR9 and PDR10
For gate.Control plane equipment, which is determined, by the PDR of PDPQoS and content charging is divided into same group, by bandwidth control, head enhancing and
The PDR of gate is divided into same group.Then PDR1-PDR4 is divided into PDR Group1 by control plane equipment, by PDR5-
PDR10 is divided into PDR Group2.
It should be noted that the PDR quantity for including in each PDR group can be equal, it can also be unequal.Also, it is each
The type of the corresponding policing type of the PDR that PDR group includes can be equal, can also be unequal.In the embodiments of the present disclosure, to this
All it is not especially limited.In the embodiments of the present disclosure, the PDR of the same policing type needs to be divided into the same PDR group.
Due to including multiple PDR in each PDR group, a message may hit multiple PDR simultaneously, and a message is only
It needs to be handled by a PDR.Therefore, in the embodiments of the present disclosure, control plane equipment can be every group in each PDR
Priority level is arranged in PDR in PDR, subsequent when a message hits multiple PDR simultaneously, can be according to the PDR's being hit
Priority level selects PDR for the message.
Step 403: for every group of PDR, control plane equipment determines the priority level of each PDR in this group of PDR, in the PDR
The priority level of each PDR is marked in grouping.
In the embodiments of the present disclosure, the priority level of PDR comes into force in same PDR grouping, phase between different PDR groupings
It does not couple mutually.Therefore, control plane equipment needs that priority level is separately provided for the PDR in every group of PDR.Wherein, control plane equipment
When identifying the priority level of each PDR in PDR grouping, control plane equipment can be arranged in each PDR grouping
The priority level of each PDR in the group is stored in the Precedence of the group by Precedence.
For example, PDR1-PDR4 is divided into PDR Group1, PDR5-PDR10 is divided into PDR Group2.Control
The relationship of the priority level of face equipment setting PDR1-PDR4 processed are as follows: the priority level of PDR1 is greater than the priority level of PDR2, PDR2
Priority level be greater than the priority level of PDR3, the priority level of PDR3 is greater than the priority level of PDR4.The setting of control plane equipment
The relationship of the priority level of PDR5-PDR10 are as follows: the priority level of PDR5 is greater than the priority level of PDR6, the priority level of PDR6
Priority level greater than PDR7, the priority level of PDR7 are greater than the priority level of PDR8, and the priority level of PDR8 is greater than PDR9's
Priority level, the priority level of PDR9 are greater than the priority level of PDR10.
Step 404: when reach issue condition when, control plane equipment passes through Sx between control plane equipment and user face equipment
Interface sends multiple groups PDR to user face equipment.
The condition of issuing online, sending device business can change for sending device, trigger the foundation of user face equipment
New TDF connection is established in new PDN connection, triggering user face equipment, triggering user face equipment updates PDN connection, triggers user
Face equipment updates at least one condition in TDF connection.Multiple groups PDR can be carried in Sx session establishment request message, Sx meeting
Words update in request message, in specified message or specified network element.Wherein, specifying message is user face equipment and control plane equipment
Between realize the message of similar PDR classification and grouping information, specified network element is realized between user face equipment and control plane equipment
The network element of similar PDR classification and grouping information.
(1): when clockwork spring part is that sending device is online instantly, this step can be with are as follows: control plane equipment detects sending device
When online, control plane equipment sends multiple groups by the Sx interface between control plane equipment and user face equipment, to user face equipment
PDR。
In the embodiments of the present disclosure, control plane equipment can generate multiple PDR set, a PDR collection according to multiple groups PDR
It include one group of PDR in conjunction.Control plane equipment can be directly transmitted when sending multiple groups PDR to user face equipment by the Sx interface
Multiple PDR set.User face equipment is gathered based on multiple PDR, and multiple PDR are divided into multiple groups PDR.In the embodiment of the present disclosure
In, control plane equipment can also mark the packet identification of grouping belonging to it in each PDR, then by the Sx interface, directly
To the user face multiple PDR of equipment, user face equipment is divided multiple PDR based on the packet identification in multiple PDR and each PDR
For multiple groups PDR.
In order to mark grouping belonging to each PDR, control plane equipment determines the packet identification being grouped belonging to each PDR.It is right
In each PDR, the packet identification of grouping belonging to the PDR is added in the specific field in the PDR, is added to the transmission of user face equipment
Each PDR after adding packet identification.Wherein, which can increase newly for original either field in PDR or in PDR
The field added.Packet identification can be packet numbering etc..
Since the message sent between sending device and receiving device is needed by user face equipment;Therefore, sending device
When online, sending device needs accessing user face equipment.Namely when sending device is online, sending device is sent out to user face equipment
Access request is sent, which carries the device identification of the sending device.User face equipment receives the access request, to control
Face equipment sends the first notification message, which carries the device identification of the sending device.Control plane equipment receives
First notification message determines that the sending device is online according to first notification message.Wherein, the equipment mark of the sending device
Know to be the globally unique identifier (Globally Unique Identifier, GUID) of sending device.
(2): clockwork spring part is business when changing of sending device instantly, this step can be with are as follows: control plane equipment inspection
When changing to the business of sending device, when control plane equipment detects that sending device is online, control plane equipment passes through control
Sx interface between face equipment and user face equipment sends multiple groups PDR to user face equipment.
When the business of sending device changes, terminal can send change request, change request to user face equipment
Carry the device identification of the sending device.User face equipment receives change request, sends the second notice to control plane equipment and disappears
Breath, the second notification message carry the device identification of the sending device.Control plane equipment receives the second notification message, according to this
Second notification message determines that the business of the sending device changes.
(3): clockwork spring part is to trigger user face equipment to establish new PDN connection or triggering user face equipment foundation instantly
When new TDF connection, this step can be with are as follows: when triggering user face equipment establishes new PDN connection or the foundation of triggering user face
When new TDF connection, control plane equipment sends multiple groups PDR by Sx interface, to user face equipment.
It should be noted that clockwork spring part is to trigger user face equipment to establish new PDN connection or triggering user face instantly
When equipment establishes new TDF connection, multiple groups PDR can be carried in Sx session establishment request message.
It is NG-CP with control plane equipment for the first implementation, user face equipment is illustrated for being NG-UP.
Referring to fig. 4-2, when NG-UP needs to establish PDN connection, PDN sends first to NG-CP and establishes request.NG-CP receives PDN hair
First sent establishes request, establishes and requests according to first, determines that triggering NG-UP establishes new PDN connection.NG-CP is sent out to NG-UP
Sx session establishment request message is sent, carries multiple groups PDR in the Sx session establishment request message.
For second of implementation, when NG-UP needs to establish TDF connection, TDF sends the second foundation to NG-CP and asks
It asks.NG-CP receives TDF is sent second and establishes request, establishes and requests according to second, determines that new TDF is established in triggering user face
Connection.NG-CP sends Sx session establishment request message to NG-UP, carries multiple groups PDR in the Sx session establishment request message.
PDR Group field is added in PDR, and the grouping mark of grouping belonging to the PDR is carried in the PDR Group field
Know.Such as Sx session establishment request message is as shown in table 1 below.
Table 1
(4): clockwork spring part is that triggering user face equipment updates PDN connection, triggering user face equipment updates TDF connection instantly
When, this step can be with are as follows: updates PDN connection when triggering user face equipment or when triggering user face equipment updates TDF connection, controls
Face equipment processed sends multiple groups PDR by Sx interface, to user face equipment.
It should be noted that clockwork spring part is that triggering user face equipment updates PDN connection or triggering user face equipment instantly
When updating TDF connection, multiple groups PDR can be carried in Sx session updates request message.
For the first implementation, referring to fig. 4-3, when user face, equipment needs to update PDN connection, PDN is to control
Face equipment sends first and updates request.Control plane equipment receives PDN is sent first and updates request, updates and requests according to first,
Determine that triggering user face equipment updates PDN connection.Control plane equipment sends Sx session updates request message to user face equipment, should
Multiple groups PDR is carried in Sx session updates request message.
For second of implementation, when user face, equipment needs to update TDF connection, TDF is sent to control plane equipment
Second updates request.Control plane equipment receives TDF is sent second and updates request, updates and requests according to second, determines that triggering is used
Family face equipment updates TDF connection.Control plane equipment sends Sx session updates request message, the Sx session updates to user face equipment
Multiple groups PDR is carried in request message.
PDR Group field is added in existing PDR, carries grouping belonging to the PDR in the PDR Group field
Packet identification.Such as Sx session updates request message is as shown in table 2 below.
Table 2
For example, with reference to Fig. 4-4, PDR1 and PDR2 are divided into PDR Group1 by control plane equipment, and PDR3 and PDR4 is drawn
It assigns in PDR Group2, PDR5 and PDR6 is divided into PDR Group3, PDR7 and PDR8 are divided into PDR Group4
In, PDR9 and PDR10 are divided into PDR Group5.
Step 405: user face equipment stores multiple groups PDR by the Sx interface multiple groups PDR.
(1): when multiple groups PDR is carried in Sx session establishment request message, this step can be with are as follows: user face equipment connects
The Sx session establishment request message is received, multiple groups PDR is obtained from the Sx session establishment request message, stores multiple groups PDR.
It should be noted that control plane equipment is when sending multiple groups PDR to user face equipment, control plane equipment can be direct
Multiple PDR are sent to user face equipment, its affiliated packet identification being grouped is carried in the specific field of each PDR.Correspondingly, with
Family face equipment receives multiple PDR that control plane equipment is sent, and according to the packet identification of grouping belonging to each PDR, multiple PDR are drawn
It is divided into multiple groups PDR.
In order to notify the processing progress of control plane equipment user face equipment, user face equipment to receive the Sx session establishment and ask
When seeking message, user face equipment sends Sx session establishment response message to control plane equipment, which uses
The Sx session establishment request message has been received in instruction user face equipment.Control plane equipment receives Sx session establishment response
Message is interacted with PDN or TDF.
(2): when multiple groups PDR is carried in Sx session updates request message, this step can be with are as follows: user face equipment connects
The Sx session updates request message is received, multiple groups PDR is obtained from the Sx session updates request message, stores multiple groups PDR.
In order to notify the processing progress of control plane equipment user face equipment, user face equipment to receive the Sx session updates and ask
When seeking message, user face equipment sends Sx session updates response message to control plane equipment, which uses
The Sx session updates request message has been received in instruction user face equipment.Control plane equipment receives Sx session updates response
Message is interacted with PDN or TDF is initiated.
In a possible implementation, control plane equipment can also update PDR, and when updating PDR, can also be with
The policing type for being directly based upon PDR to be updated is updated, without considering the overlapping coupled relation and priority of its PDI
Match and execute sequence, the planning difficulty of current Sx interface PDR is greatly lowered.Correspondingly, control plane equipment updates the process of PDR
It can be with are as follows:
(1): when control plane equipment deletes some PDR, the process for updating PDR can be with are as follows: control plane equipment is obtained wait delete
The PDR removed deletes PDR to be deleted from the PDR grouping where PDR to be deleted.
Control plane equipment obtains the PDR grouping where PDR to be deleted, should from the grouping where PDR to be deleted
PDR to be deleted is deleted.
(2): when control plane equipment adds some PDR, the process for updating PDR can be with are as follows: control plane equipment is obtained wait add
The PDR added determines the corresponding PDR grouping of PDR to be added, by PDR to be added according to the policing type of PDR to be added
It is added in the PDR grouping of the determination.
It should be noted that control plane equipment, when updating PDR, control plane equipment also accordingly updates in PDR grouping
The priority level of each PDR.Also, after control plane equipment updates PDR, control plane equipment is sent to user face equipment to be updated
Multiple groups PDR afterwards.In order to save Internet resources, control plane equipment can not send updated multiple groups PDR to user face equipment,
Only send the PDR grouping updated.
In the embodiments of the present disclosure, control plane equipment is grouped each PDR according to the policing type of each PDR
To multiple PDR groups.The PDR of types multiple and different in this way be not necessarily to consider its PDI overlapping coupled relation and priority match and
Sequence is executed, the planning difficulty of the PDR of Sx interface is greatly lowered.
The embodiment of the present disclosure provide it is a kind of handle message method, in the embodiments of the present disclosure with user face equipment according to
Multiple groups PDR is illustrated for handling message, and this method is applied between sending device and user face equipment.Referring to figure
5, this method comprises:
Step 501: sending device sends message to user face equipment.
In order to realize the monitoring to business, the message transmitted between sending device and receiving device is required by user face
Equipment.Therefore, when sending device sends message to receiving device, which is first sent to user face equipment by sending device.
After being handled by user face equipment the message, by treated, message is sent to receiving end.
The message can be request message or data message.For example, when the sending device is terminal device, which is set
Standby is server, then the message can be the request message of terminal device request data from server.For another example, when the transmission is set
Standby is server, which is terminal device, then the message can return to the request data of terminal device for server
Data message.
In the embodiments of the present disclosure, by each PDR, strategically type is grouped control plane equipment, therefore, user face
When receiving the message that sending device is sent, user face equipment matches the corresponding PDR group of the message by following steps 502.
Step 502: user face equipment receives the message, according to the session information of the affiliated session of the message, searches and the meeting
Talk about the target PDR group of information matches.
This step can be realized by following steps (1) to (3), comprising:
(1): user face equipment determines that the session information of the affiliated session of the message, the session information include session identification, hair
Send the facility information or the corresponding customer attribute information of sending device of equipment.
Since different sessions needs to be handled by the PDR of different policing types.Therefore, user face equipment receives
When to message, it is thus necessary to determine that the session information of the affiliated session of the message.It is searched according to session information matched with the session information
Target PDR group.
(2): for user face equipment according to the session information, obtaining from the corresponding relationship that session information and PDR group identify should
The corresponding target PDR group mark of session information.
Before this step, user face equipment has stored the corresponding relationship of session information and PDR group mark.For example,
Session information 1 corresponds to PDR Group1, the corresponding PDR Group2 of session information 2.If the session information of the affiliated session of the message
For session information 1, then the corresponding target group identification of session information 1 is PDR Group1.
(3): user face equipment determines that target PDR group identifies corresponding target PDR group.
It should be noted that target PDR group can be one, or multiple.
Step 503: user face equipment matches target PDR according to the attribute information of the message from target PDR group.
The attribute information of the message includes the five-tuple information of the message.It include at least one PDR in target PDR group, often
It include PDI and processing rule in a PDR.Different attribute informations corresponds to different PDI.Correspondingly, this step can be with are as follows:
User face equipment carries out the PDI in each PDR in target PDR group according to the attribute information of the message
Match, is matched from target PDR and the matched target PDI of the attribute information of the message, the determining target including target PDI
PDR。
The corresponding relationship of attribute information storage and PDI in the equipment of user face;Correspondingly, user face equipment is from target PDR
In the step of matching target PDI matched with the attribute information of the message can be with are as follows: user face equipment is according to the category of the message
The corresponding target PDI of the attribute information is obtained in the corresponding relationship of property information, dependence information and PDI.
It should be noted that if user face equipment matches multiple and message attribute information from target PDR
Matched target PDI, user face equipment can randomly choose a PDI from multiple target PDI, determine to include the selection
The target PDR of PDI.
In the embodiments of the present disclosure, user face equipment can be combined with the priority level of PDI, match from target PDR group
Target PDR.Correspondingly, this step can be realized by following steps (1) to (3), comprising:
(1): user face equipment is searched matched with attribute information according to the attribute information of the message from target PDR group
At least one PDR.
(2): user face equipment determines the priority level of each PDR selected.
(3): user face equipment selects priority level from target PDR group according to the priority level of each PDR selected
Highest target PDR.
Step 504: user face equipment is handled the message according to target PDR.
User face equipment obtains processing rule from target PDR, and reason rule handles the message according to this.It should
Processing rule includes at least one of FAR, URR and QER regular.
(1): when the processing rule includes FAR, this step can be with are as follows: the equipment of user face equipment acquisition receiving device
Mark, according to the device identification of receiving device, is forwarded to receiving device for the message.
(2): when the processing rule includes URR, this step can be with are as follows: the band of the user face device statistics sending device
Width is reported if the bandwidth is more than the signing bandwidth of the sending device to control plane equipment.If the bandwidth is no more than
The signing of the sending device, then without reporting.
(3): when the processing rule includes QER, this step can be with are as follows: the QER of the user face device statistics message.
In the embodiments of the present disclosure, when user face equipment receives message, according to the session information of the affiliated session of the message,
It is searched from the corresponding multiple groups PDR group of user face equipment and the matched target PDR group of the session information, every group of PDR includes at least
A kind of at least one PDR of policing type;According to the attribute information of the message, target PDR, and base are matched from target PDR group
The message is handled in target PDR.Due to being grouped to each PDR, user face equipment is when matching target PDR, first
Find with the session information matched target PDR group, target PDI is then searched from target PDR group, so as to shorten when
Between, improve efficiency.
The embodiment of the present disclosure provides a kind of device for handling message, which can apply in the equipment of user face, uses
The step performed by the equipment of user face in the method for executing above-mentioned processing message.Referring to Fig. 6, which includes:
Receiving unit 601, for receiving outstanding message;
Matching unit 602, for the session information according to the affiliated session of the message, from the corresponding multiple groups report of user face equipment
Lookup and the matched target PDR group of the session information in literary detected rule PDR, every group of PDR includes at least one policing type
At least one PDR;
The matching unit 602, is also used to the attribute information according to the message, and target PDR is matched from target PDR group;
Processing unit 603, for being handled based on target PDR the message.
In a possible implementation, the device further include:
The receiving unit 601, for when control plane equipment reach issue condition when, pass through the control plane equipment and the use
Specific field in multiple PDR that Sx interface control plane equipment between the equipment of family face is sent, each PDR carries its institute
Belong to the packet identification of grouping;
Multiple PDR is divided into multiple groups for the packet identification of the grouping according to belonging to each PDR by division unit
PDR。
In a possible implementation, multiple PDR is carried in Sx session establishment request message, alternatively, this is more
A PDR is carried in Sx session updates request message.
In a possible implementation, which is also used to determine the session letter of the affiliated session of the message
Breath;According to the session information, the corresponding target of the session information is obtained from the corresponding relationship that session information and PDR group identify
PDR group mark;It is identified according to target PDR group, target PDR group mark pair is searched from the corresponding multiple groups PDR in the user face
The target PDR group answered.
In a possible implementation, which is also used to the attribute information according to the message, from this
It is searched and at least one matched PDR of the attribute information in target PDR group;Determine the priority level of each PDR selected;Root
According to the priority level of each PDR selected, the highest target PDR of priority level is selected from target PDR group.
In a possible implementation, which is also used to obtain each mesh that target PDR includes
Mark processing rule;By each target processing rule, which is handled.
In the embodiments of the present disclosure, when user face equipment receives message, according to the session information of the affiliated session of the message,
It is searched from the corresponding multiple groups PDR group of user face equipment and the matched target PDR group of the session information, every group of PDR includes at least
A kind of at least one PDR of policing type;According to the attribute information of the message, target PDR, and base are matched from target PDR group
The message is handled in target PDR.Due to being grouped to each PDR, user face equipment is when matching target PDR, first
Find with the session information matched target PDR group, target PDI is then searched from target PDR group, so as to shorten when
Between, improve efficiency.
The embodiment of the present disclosure provides a kind of device for handling message, which can apply in the equipment of user face, uses
The step performed by control plane equipment in the method for executing above-mentioned processing message.Referring to Fig. 7, which includes:
Acquiring unit 701, for obtaining the policing type of the corresponding each packet check rule P DR of user face equipment;
Grouped element 702 is grouped to obtain multiple groups for the policing type according to each PDR to each PDR
PDR, every group of PDR include at least one PDR of at least one policing type;
Transmission unit 703, for when reach issue condition when, pass through the Sx between control plane equipment and the user face equipment
Interface, to the user face, equipment sends multiple groups PDR.
In a possible implementation, the device further include:
Determination unit, for determining the priority level of each PDR in the PDR group for every group of PDR;
Unit is marked, for marking the priority level of each PDR in the PDR group.
In a possible implementation, multiple groups PDR is carried in Sx session establishment request message, alternatively, this is more
Group PDR is carried in Sx session updates request message.
In a possible implementation, which determines the packet identification being grouped belonging to each PDR,
The packet identification of grouping belonging to it is added in the specific field in each PDR, sends addition grouping mark to the user face equipment
Each PDR after knowledge.
In a possible implementation, the device further include:
Updating unit, for obtaining PDR to be deleted, by the PDR where the PDR to be deleted from the PDR to be deleted
It is deleted in grouping;And/or
The updating unit is also used to obtain PDR to be added, and according to the policing type of the PDR to be added, determining should be to
The corresponding PDR grouping of the PDR of addition, which is added in determining PDR grouping.
In the embodiments of the present disclosure, when user face equipment receives message, according to the session information of the affiliated session of the message,
It is searched from the corresponding multiple groups PDR group of user face equipment and the matched target PDR group of the session information, every group of PDR includes at least
A kind of at least one PDR of policing type;According to the attribute information of the message, target PDR, and base are matched from target PDR group
The message is handled in target PDR.Due to being grouped to each PDR, user face equipment is when matching target PDR, first
Find with the session information matched target PDR group, target PDI is then searched from target PDR group, so as to shorten when
Between, improve efficiency.
It should be understood that it is provided by the above embodiment processing message device when handling message, only with above-mentioned each function
Can module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions
Module is completed, i.e., the internal structure of equipment is divided into different functional modules, described above all or part of to complete
Function.In addition, the device of processing message provided by the above embodiment and the embodiment of the method for processing message belong to same design,
Specific implementation process is detailed in embodiment of the method, and which is not described herein again.
The embodiment of the invention also provides a kind of computer readable storage medium, which is applied to
User face equipment is stored at least one instruction, at least a Duan Chengxu, code set or instruction in the computer readable storage medium
Collection, the instruction, the program, the code set or the instruction set are loaded by processor and are executed the processing report to realize above-described embodiment
Operation performed by the equipment of user face in the method for text.
The embodiment of the invention also provides a kind of computer readable storage medium, which is applied to
Control plane equipment is stored at least one instruction, at least a Duan Chengxu, code set or instruction in the computer readable storage medium
Collection, the instruction, the program, the code set or the instruction set are loaded by processor and are executed the processing report to realize above-described embodiment
Operation performed by control plane equipment in the method for text.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the alternative embodiments of the disclosure, not to limit the disclosure, all spirit in the disclosure and
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the protection scope of the disclosure.
Claims (26)
1. a kind of method for handling message, which is characterized in that be applied in the equipment of user face, which comprises
Receive outstanding message;
According to the session information of the affiliated session of the message, from the corresponding multiple groups packet check rule P DR of user face equipment
Middle lookup and the matched target PDR group of the session information, every group of PDR includes at least one PDR of at least one policing type;
According to the attribute information of the message, target PDR is matched from the target PDR group, and based on the target PDR to institute
Message is stated to be handled.
2. the method according to claim 1, wherein the session information according to the affiliated session of the message,
It is searched and the matched object message of the session information from the corresponding multiple groups packet check rule P DR group of user face equipment
Before detected rule PDR group, the method also includes:
When control plane equipment reach issue condition when, connect by the Sx between the control plane equipment and user face equipment
Mouth receives multiple PDR that the control plane equipment is sent, and the specific field in each PDR carries its affiliated grouping mark being grouped
Know;
According to the packet identification of grouping belonging to each PDR, the multiple PDR is divided into multiple groups PDR.
3. according to the method described in claim 2, it is characterized in that, the multiple PDR is carried on Sx session establishment request message
In, alternatively, the multiple PDR is carried in Sx session updates request message.
4. the method according to claim 1, wherein the session information according to the affiliated session of the message,
Lookup and the matched target PDR group of the session information from user face equipment corresponding multiple groups packet check rule P DR,
Include:
Determine the session information of the affiliated session of the message;
According to the session information, it is corresponding from the corresponding relationship that session information and PDR group identify to obtain the session information
Target PDR group mark;
It is identified according to the target PDR group, the target PDR group mark pair is searched from the corresponding multiple groups PDR in the user face
The target PDR group answered.
5. method according to claim 1 to 4, which is characterized in that the attribute information according to the message, from
Selection target PDR in the target PDR group, comprising:
According to the attribute information of the message, searched from the target PDR group with the attribute information it is matched at least one
PDR;
Determine the priority level of each PDR selected;
According to the priority level of selected each PDR, the highest target of priority level is selected from the target PDR group
PDR。
6. method according to claim 1 to 4, which is characterized in that described to be based on the target PDR to the message
It is handled, comprising:
Obtain each target processing rule that the target PDR includes;
By each target processing rule, the message is handled.
7. a kind of method for handling message, which is characterized in that be applied in control plane equipment, which comprises
Obtain the policing type of the corresponding each packet check rule P DR of user face equipment;
According to the policing type of each PDR, each PDR is grouped to obtain multiple groups PDR, every group of PDR includes extremely
A kind of at least one PDR of few policing type;
When reach issue condition when, by the Sx interface between the control plane equipment and user face equipment, to the use
Family face equipment sends the multiple groups PDR.
8. the method according to the description of claim 7 is characterized in that the method also includes:
For every group of PDR, the priority level of each PDR in the PDR group is determined;
The priority level of each PDR is marked in the PDR group.
9. the method according to the description of claim 7 is characterized in that the multiple groups PDR is carried on Sx session establishment request message
In, alternatively, the multiple groups PDR is carried in Sx session updates request message.
10. according to any method of claim 7-9, which is characterized in that described to described in the transmission of user face equipment
Multiple groups PDR, comprising:
Determine the packet identification being grouped belonging to each PDR;
The packet identification of grouping belonging to it is added in the specific field in each PDR, equipment transmission in Xiang Suoshu user face adds
Each PDR after adding packet identification.
11. according to any method of claim 7-9, which is characterized in that it is described when reach issue condition when, by described
Sx interface between control plane equipment and user face equipment, before Xiang Suoshu user face equipment sends the multiple groups PDR, institute
State method further include:
PDR to be deleted is obtained, the PDR to be deleted is deleted from the PDR grouping where the PDR to be deleted;With/
Or,
PDR to be added is obtained, according to the policing type of the PDR to be added, determines that the PDR to be added is corresponding
The PDR to be added is added in determining PDR grouping by PDR grouping.
12. a kind of device for handling message, which is characterized in that described device includes:
Receiving unit, for receiving outstanding message;
Matching unit, for the session information according to the affiliated session of the message, from the corresponding multiple groups message inspection of user face equipment
Gauge then search in PDR with the matched target PDR group of the session information, every group of PDR include at least one policing type extremely
A few PDR;
The matching unit is also used to the attribute information according to the message, and target PDR is matched from the target PDR group;
Processing unit, for being handled based on the target PDR the message.
13. device according to claim 12, which is characterized in that described device further include:
The receiving unit, for when control plane equipment reach issue condition when, pass through the control plane equipment and the use
Specific field in multiple PDR that control plane equipment described in Sx interface between the equipment of family face is sent, each PDR carries it
The packet identification of affiliated grouping;
The multiple PDR is divided into multiple groups for the packet identification of the grouping according to belonging to each PDR by division unit
PDR。
14. device according to claim 13, which is characterized in that the multiple PDR is carried on the request of Sx session establishment and disappears
In breath, alternatively, the multiple PDR is carried in Sx session updates request message.
15. device according to claim 12, which is characterized in that
The matching unit is also used to determine the session information of the affiliated session of the message;According to the session information, from session
The corresponding target PDR group mark of the session information is obtained in the corresponding relationship of information and PDR group mark;According to the target
PDR group mark searches the target PDR group from the corresponding multiple groups PDR in the user face and identifies the corresponding target PDR
Group.
16. any device of 2-15 according to claim 1, which is characterized in that
The matching unit is also used to the attribute information according to the message, searches and the attribute from the target PDR group
At least one PDR of information matches;Determine the priority level of each PDR selected;According to selected each PDR's
Priority level selects the highest target PDR of priority level from the target PDR group.
17. any device of 2-15 according to claim 1, which is characterized in that
The processing unit is also used to obtain each target processing rule that the target PDR includes;Pass through each target
Processing rule, handles the message.
18. a kind of device for handling message, which is characterized in that described device includes:
Acquiring unit, for obtaining the policing type of the corresponding each packet check rule P DR of user face equipment;
Grouped element is grouped to obtain multiple groups PDR for the policing type according to each PDR to each PDR,
Every group of PDR includes at least one PDR of at least one policing type;
Transmission unit, for when reach issue condition when, by the Sx interface between control plane equipment and user face equipment,
The multiple groups PDR is sent to user face equipment.
19. device according to claim 18, which is characterized in that described device further include:
Determination unit, for determining the priority level of each PDR in the PDR group for every group of PDR;
Unit is marked, for marking the priority level of each PDR in the PDR group.
20. device according to claim 18, which is characterized in that the multiple groups PDR is carried on the request of Sx session establishment and disappears
In breath, alternatively, the multiple groups PDR is carried in Sx session updates request message.
21. any device of 8-20 according to claim 1, which is characterized in that
The transmission unit determines the packet identification being grouped belonging to each PDR, the specific field in each PDR
Its affiliated packet identification being grouped is added, Xiang Suoshu user face equipment sends each PDR after addition packet identification.
22. any device of 8-20 according to claim 1, which is characterized in that described device further include:
Updating unit, for obtaining PDR to be deleted, by the PDR where the PDR to be deleted from the PDR to be deleted
It is deleted in grouping;And/or
The updating unit is also used to obtain PDR to be added, according to the policing type of the PDR to be added, determine described in
The corresponding PDR grouping of PDR to be added, the PDR to be added is added in determining PDR grouping.
23. a kind of user face equipment characterized by comprising network interface, memory, processor;
The network interface is for receiving message;
The memory is for storing instruction and data;
The processor, for reading the instruction and data stored in the memory, perform claim requires 1-6 any described
The method for handling message.
24. a kind of control plane equipment characterized by comprising network interface, memory, processor;
The network interface is for receiving message;
The memory is for storing instruction and data;
The processor, for reading the instruction and data stored in the memory, perform claim requires 7-11 any described
Processing message method.
25. a kind of computer readable storage medium, computer program, feature are stored on the computer readable storage medium
It is, the method for the processing message as described in claim 1-6 is any is realized when described program is executed by processor.
26. a kind of computer readable storage medium, computer program, feature are stored on the computer readable storage medium
It is, the method for the processing message as described in claim 7-11 is any is realized when described program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710853359.7A CN109548063B (en) | 2017-09-20 | 2017-09-20 | Method, device, equipment and storage medium for processing message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710853359.7A CN109548063B (en) | 2017-09-20 | 2017-09-20 | Method, device, equipment and storage medium for processing message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109548063A true CN109548063A (en) | 2019-03-29 |
CN109548063B CN109548063B (en) | 2020-09-04 |
Family
ID=65827324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710853359.7A Active CN109548063B (en) | 2017-09-20 | 2017-09-20 | Method, device, equipment and storage medium for processing message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109548063B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111866759A (en) * | 2019-04-30 | 2020-10-30 | 华为技术有限公司 | Group communication method and device |
CN112105088A (en) * | 2019-06-17 | 2020-12-18 | 华为技术有限公司 | Multicast communication method, device and system |
CN112152923A (en) * | 2019-06-28 | 2020-12-29 | 北京华为数字技术有限公司 | User plane rerouting method and device |
WO2022069931A1 (en) * | 2020-10-01 | 2022-04-07 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods providing consolidation of policies and related network nodes |
EP3975593A4 (en) * | 2019-07-22 | 2022-08-03 | Huawei Technologies Co., Ltd. | Communication method and apparatus |
WO2022165857A1 (en) * | 2021-02-08 | 2022-08-11 | 华为技术有限公司 | Communication method and device and computer readable storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060055190A (en) * | 2004-11-18 | 2006-05-23 | 에스케이 텔레콤주식회사 | Multimedia service quality evaluation method for wireless communication networks |
CN101035131A (en) * | 2007-02-16 | 2007-09-12 | 杭州华为三康技术有限公司 | Protocol recognition method and device |
CN101420674A (en) * | 2007-10-25 | 2009-04-29 | 华为技术有限公司 | NAT technique implementing method in PCC architecture, PCRF and AF |
CN101720079A (en) * | 2009-06-19 | 2010-06-02 | 中兴通讯股份有限公司 | Service access method and tactical convergence system in network element tactical convergence network |
CN102027713A (en) * | 2008-05-16 | 2011-04-20 | 思达伦特网络有限责任公司 | Providing trigger based traffic management |
CN102137368A (en) * | 2010-01-26 | 2011-07-27 | 中兴通讯股份有限公司 | Enhanced policy and charge control method and system and PCC (Policy Charge Control) system |
CN102148803A (en) * | 2010-02-04 | 2011-08-10 | 华为技术有限公司 | Method and device for matching messages |
KR20120119625A (en) * | 2011-04-22 | 2012-10-31 | 전자부품연구원 | Hybrid link quality evaluation method for wireless network |
US20130114408A1 (en) * | 2011-11-04 | 2013-05-09 | Cisco Technology, Inc. | System and method of modifying congestion control based on mobile system information |
WO2014014164A1 (en) * | 2012-07-15 | 2014-01-23 | Lg Electronics Inc. | Method and apparatus for subset network coding with multiple antennas by relay node in wireless communication system |
CN104284319A (en) * | 2013-07-02 | 2015-01-14 | 中兴通讯股份有限公司 | Congestion control based strategy control method, device and system |
EP3094157A4 (en) * | 2014-01-09 | 2017-08-09 | Nec Corporation | Mtc-iwf entity, pcrf entity, and control method |
-
2017
- 2017-09-20 CN CN201710853359.7A patent/CN109548063B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060055190A (en) * | 2004-11-18 | 2006-05-23 | 에스케이 텔레콤주식회사 | Multimedia service quality evaluation method for wireless communication networks |
CN101035131A (en) * | 2007-02-16 | 2007-09-12 | 杭州华为三康技术有限公司 | Protocol recognition method and device |
CN101420674A (en) * | 2007-10-25 | 2009-04-29 | 华为技术有限公司 | NAT technique implementing method in PCC architecture, PCRF and AF |
CN102027713A (en) * | 2008-05-16 | 2011-04-20 | 思达伦特网络有限责任公司 | Providing trigger based traffic management |
CN101720079A (en) * | 2009-06-19 | 2010-06-02 | 中兴通讯股份有限公司 | Service access method and tactical convergence system in network element tactical convergence network |
CN102137368A (en) * | 2010-01-26 | 2011-07-27 | 中兴通讯股份有限公司 | Enhanced policy and charge control method and system and PCC (Policy Charge Control) system |
CN102148803A (en) * | 2010-02-04 | 2011-08-10 | 华为技术有限公司 | Method and device for matching messages |
KR20120119625A (en) * | 2011-04-22 | 2012-10-31 | 전자부품연구원 | Hybrid link quality evaluation method for wireless network |
US20130114408A1 (en) * | 2011-11-04 | 2013-05-09 | Cisco Technology, Inc. | System and method of modifying congestion control based on mobile system information |
WO2014014164A1 (en) * | 2012-07-15 | 2014-01-23 | Lg Electronics Inc. | Method and apparatus for subset network coding with multiple antennas by relay node in wireless communication system |
CN104284319A (en) * | 2013-07-02 | 2015-01-14 | 中兴通讯股份有限公司 | Congestion control based strategy control method, device and system |
EP3094157A4 (en) * | 2014-01-09 | 2017-08-09 | Nec Corporation | Mtc-iwf entity, pcrf entity, and control method |
Non-Patent Citations (2)
Title |
---|
3GPP: "3GPP TS 29.244 V14.1.0 (2017-09)", 《INTERFACE BETWEEN THE CONTROL PLANE AND THE USER PLANE OF EPC》 * |
HUAWEI: "Pseudo-CR on Activating or deactivating a predefined group of PCC/ADC rules", 《3GPP TSG CT4 MEETING #78:C4-173173》 * |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111866759A (en) * | 2019-04-30 | 2020-10-30 | 华为技术有限公司 | Group communication method and device |
CN111866759B (en) * | 2019-04-30 | 2022-04-12 | 华为技术有限公司 | Group communication method and device |
CN112105088A (en) * | 2019-06-17 | 2020-12-18 | 华为技术有限公司 | Multicast communication method, device and system |
WO2020253737A1 (en) * | 2019-06-17 | 2020-12-24 | 华为技术有限公司 | Multicast communication method, device, and system |
CN112105088B (en) * | 2019-06-17 | 2023-04-07 | 华为技术有限公司 | Multicast communication method, device and system |
CN112152923A (en) * | 2019-06-28 | 2020-12-29 | 北京华为数字技术有限公司 | User plane rerouting method and device |
WO2020259688A1 (en) * | 2019-06-28 | 2020-12-30 | 华为技术有限公司 | User plane re-routing method and device |
CN112152923B (en) * | 2019-06-28 | 2021-12-28 | 北京华为数字技术有限公司 | User plane rerouting method and device |
US11849384B2 (en) | 2019-06-28 | 2023-12-19 | Huawei Technologies Co., Ltd. | User plane rerouting method and apparatus |
JP7346706B2 (en) | 2019-07-22 | 2023-09-19 | 華為技術有限公司 | Communication methods and devices |
EP3975593A4 (en) * | 2019-07-22 | 2022-08-03 | Huawei Technologies Co., Ltd. | Communication method and apparatus |
JP2022541816A (en) * | 2019-07-22 | 2022-09-27 | 華為技術有限公司 | Communication method and device |
WO2022069931A1 (en) * | 2020-10-01 | 2022-04-07 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods providing consolidation of policies and related network nodes |
WO2022165857A1 (en) * | 2021-02-08 | 2022-08-11 | 华为技术有限公司 | Communication method and device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109548063B (en) | 2020-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109548063A (en) | Handle method, apparatus, equipment and the storage medium of message | |
KR102276868B1 (en) | Billing management method, user plane function, and control plane function | |
EP2591573B1 (en) | Method and apparatus for traffic classification | |
JP5947403B2 (en) | Method and apparatus for performing billing control on application layer data | |
CN103947156B (en) | Method, apparatus and communication network for root cause analysis | |
CN108989372A (en) | Method, registration center and the equipment of service discovery | |
CN102469020B (en) | A kind of service control method and system, evolution base station, packet data network gateway | |
CN104350713B9 (en) | Routing decision context object | |
CN102138316A (en) | System and method of serving gateway having mobile packet protocol application-aware packet management | |
US20160057291A1 (en) | Enabling monitoring and reporting for dynamic policy enforcement in multi-operator wholesale networks | |
CN111130855B (en) | Problem positioning method and device | |
CN102238507A (en) | Method and system for determining policy and charging rules function | |
CN109818820A (en) | Data on flows monitoring method, device, electronic equipment and storage medium | |
CN106535083B (en) | It is a kind of for providing the method and apparatus of service for long-range UE | |
CN108632887A (en) | A kind of method and system of controlling transmission rate | |
CN108353022A (en) | A kind of processing method of data message, apparatus and system | |
CN106572454A (en) | PCRF addressing method and addressing system | |
CN104205892B (en) | Method, system and the computer-readable medium of policy control based on network metadata | |
CN106937323A (en) | The monitoring method and relevant device of a kind of user terminal quantity | |
JP2014155096A (en) | System and method for dynamically changing communication policy rule | |
CN105722049B (en) | Charge on traffic, record control, application message sending method, apparatus and system | |
CN105812272B (en) | Processing method, device and the system of business chain | |
CN109196895A (en) | A kind of message transmitting method, apparatus and system | |
CN108449443A (en) | A kind of All-IP wireless network address configuration implementation method | |
CN106341804B (en) | Control method for application characteristic rule and application characteristic server |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |