CN104509140B - Application stream detection method, entity and system - Google Patents

Application stream detection method, entity and system Download PDF

Info

Publication number
CN104509140B
CN104509140B CN201380024753.XA CN201380024753A CN104509140B CN 104509140 B CN104509140 B CN 104509140B CN 201380024753 A CN201380024753 A CN 201380024753A CN 104509140 B CN104509140 B CN 104509140B
Authority
CN
China
Prior art keywords
processing rule
time span
priority
rule
highest
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
Application number
CN201380024753.XA
Other languages
Chinese (zh)
Other versions
CN104509140A (en
Inventor
夏海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN104509140A publication Critical patent/CN104509140A/en
Application granted granted Critical
Publication of CN104509140B publication Critical patent/CN104509140B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0894Policy-based network configuration management

Landscapes

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

Abstract

A kind of application stream detection method of offer of the embodiment of the present invention, entity and system.This method includes:Controlled entity receives application stream;The application stream is carried out at the same time matching by the controlled entity with corresponding at least one processing rule, determines that highest first processing of priority is regular in the processing rule of successful match in time span;The controlled entity applies stream information to strategy is corresponding with the charging rule functions PCRF entities transmission first processing rule.It can ensure only to report the processing rule successful match application stream of high priority is corresponding to apply stream information, to reduce Signalling exchange load, and effectively avoid the deviation executed using Flow Policy control.

Description

Application stream detection method, entity and system
Technical field
The present invention relates to a kind of communications field more particularly to application stream detection method, entity and systems.
Background technology
With the development of mobile broadband network technology, more and more mobile terminals, in smart mobile phone, tablet computer It is flooded with mobile broadband network using interaction.Different applications has different characteristic informations of applying, such as:Application server IP address and port information, using the URL address informations, etc. of used application layer protocol name information or application.Only Have after carrier network detects these using stream information, the different policy control operations of different application executions could be directed to, Such as:The service quality (QoS, Quality of Service) that differencing is provided for different applications ensures, or to difference The distinguishing rate accounting of application implementation.So application stream detection function is that the mobile broadband network epoch, there is an urgent need to provide Demand.
In existing application stream detection function, strategy and charge execution function (PCEF, the Policy of carrier network And Charging Enforcement Function) in entity it is multiple execute application stream detections policy and charging control (PCC, Policy and Charging Control) rule can start simultaneously, be concomitantly used for application stream detection during, this Sample will form the end time different situation that different rule match completes intended application stream.PCEF will be matched each What successful PCC rules were identified applies stream information, such as using transmissions such as the initial position groupings and end position grouping of stream To strategy and charging rule functions (PCRF, Policy and Charging Rule Function) entity, selected by PCRF suitable When successful match PCC rules in strategy is corresponding is controlled with stream.
However, PCRF does not need to receive applies stream information using what all PCC rules of stream successful match were identified.Such as Fruit PCEF to PCRF reported it is unnecessary apply stream information, it is negative to not only increase Signalling exchange between PCEF and PCRF entities Lotus, moreover, multiple using stream information for what is received, PCRF, which can not be further determined that, which to apply stream information pair according to The PCC rules answered execute operation, the deviation executed so as to cause application Flow Policy control.
Invention content
A kind of application stream detection method of the embodiment of the present invention offer, entity and system, it can be ensured that offer a high price on only preferential The processing rule successful match application stream of power is corresponding to apply stream information, to reduce Signalling exchange load, and effectively avoids applying The deviation that Flow Policy control executes.
On the one hand, the embodiment of the present invention provides a kind of application stream detection method, including:
Controlled entity receives application stream;
The application stream and corresponding at least one processing rule are carried out at the same time matching by the controlled entity, determine when Between the highest first processing rule of priority in the processing rule of successful match in length;
The controlled entity is answered to strategy is corresponding with the charging rule functions PCRF entities transmission first processing rule Use stream information.
In the first possible implementation, according in a first aspect, the controlled entity by the application stream with it is corresponding At least one processing rule be carried out at the same time matching, determine in time span priority highest in the processing rule of successful match First processing rule before, further include:The time span is obtained from local;Alternatively, receiving what the PCRF entities were sent The time span.
In second of possible realization method, with reference to first aspect with the first possible realization method, the time Length is that all processing rules for executing application stream detection are successful to matching application stream from matching process is started in the PCRF The maximum value of time.
In the third possible realization method, with reference to first aspect with the first possible realization method, the time Length is that the processing rule for all execution application stream detections for being applied to the controlled entity in the PCRF was matched from startup Journey flows the maximum value of successful time to matching application.
In the 4th kind of possible realization method, with reference to first aspect with the first possible realization method, the time Length is that the processing rule for executing application stream detection with highest priority parameter was matched from startup in the PCRF Journey flows the successful time to matching application.
In the 5th kind of possible realization method, with reference to first aspect with the first possible realization method, the time Length is to be used to execute application stream detection with highest priority parameter applied to the controlled entity in the PCRF Processing rule flows the successful time from matching process is started to matching application.
In the 6th kind of possible realization method, with reference to first aspect, the first possible realization method, second may If realization method, the third possible realization method, the 4th kind of possible realization method and the 5th kind of possible realization method End to the time span, is matched to the processing rule with highest priority not successfully, then ends the time span The highest processing rule of priority is as the first processing rule in the processing rule of preceding successful match.
In the 7th kind of possible realization method, with reference to first aspect, the first possible realization method, second may Realization method, the third possible realization method, the 4th kind of possible realization method and the 5th kind of possible realization method, institute It states and determines that highest first processing of priority is regular in the processing rule of successful match in time span, including:It is long in the time In degree, the successful processing rule of previous matching application stream is successfully handled into rule with current matching same application stream and is compared Compared with;According to comparison result, retains the higher processing rule of priority and flow successfully processing rule as current matching application;With this Analogize, until determining the priority highest first processing rule when time span cut-off.
In the 8th kind of possible realization method, with reference to first aspect, the first possible realization method, second may Realization method, the third possible realization method, the 4th kind of possible realization method and the 5th kind of possible realization method, institute It states and determines that highest first processing of priority is regular in the processing rule of successful match in time span, including:From in the time Highest first processing of priority resolution is regular in the successful all processing rule of matching application stream in length.
Second aspect, a kind of controlled entity provided in an embodiment of the present invention, including:
Receiving unit, for receiving application stream;
Processing unit is determined for the application stream to be carried out at the same time matching with corresponding at least one processing rule The highest first processing rule of priority in the processing rule of successful match in time span;
Transmission unit, for being sent to strategy with charging rule functions PCRF entities, the first processing rule is corresponding to answer Use stream information.
In the first possible implementation, according to second aspect, controlled entity further includes:Timing unit is used for institute It states processing unit and the application stream and corresponding at least one processing rule is carried out at the same time matching, determine in time span Before the highest first processing rule of priority in successful processing rule, the time span is obtained from local;Alternatively, connecing Receive the time span that the PCRF entities are sent.
In second of possible realization method, in conjunction with second aspect and the first possible realization method, the processing Unit determines that the time described in the highest first processing rule of priority is long in the processing rule of successful match in time span When degree is that all processing rules for executing application stream detection flow successful from startup matching process to matching application in the PCRF Between maximum value.
In the third possible realization method, in conjunction with second aspect and the first possible realization method, the processing Unit determines that the time described in the highest first processing rule of priority is long in the processing rule of successful match in time span Degree be the PCRF in be applied to the controlled entity all execution application stream detections processing rule from start matching process The maximum value of successful time is flowed to matching application.
In the 4th kind of possible realization method, in conjunction with second aspect and the first possible realization method, the processing Unit determines that the time described in the highest first processing rule of priority is long in the processing rule of successful match in time span It spends to have the processing rule for being used to execute application stream detection of highest priority parameter from startup matching process in the PCRF The successful time is flowed to matching application.
In the 5th kind of possible realization method, in conjunction with second aspect and the first possible realization method, the processing Unit determines that the time described in the highest first processing rule of priority is long in the processing rule of successful match in time span Degree is the place for executing application stream detection with highest priority parameter for being applied to the controlled entity in the PCRF Reason rule flows the successful time from matching process is started to matching application.
In the 6th kind of possible realization method, in conjunction with second aspect, the first possible realization method, second of possibility Realization method, the third possible realization method, the 4th kind of possible realization method and the 5th kind of possible realization method institute Processing unit is stated, if being additionally operable to the time span end, is matched to the processing rule with highest priority not successfully, then The highest processing rule of priority is handled as described first in the processing rule of successful match before the time span is ended Rule.
In the 7th kind of possible realization method, in conjunction with second aspect, the first possible realization method, second of possibility Realization method, the third possible realization method, the 4th kind of possible realization method and the 5th kind of possible realization method, institute Processing unit is stated, is specifically used in time span, successfully processing rule is same with current matching by previous matching application stream Successfully processing rule is compared one application stream;According to comparison result, retain the higher processing rule of priority as current Matching application stream successfully handles rule;And so on, until determining that the priority is highest when time span cut-off First processing rule.
In 8th kind of possible realization method, in conjunction with second aspect, the first possible realization method, second it is possible Realization method, the third possible realization method, the 4th kind of possible realization method and the 5th kind of possible realization method, it is described It is highest to be specifically used for the priority resolution from matching application stream successful all processing rule in time span for processing unit First processing rule.
The third aspect, the embodiment of the present invention provide another controlled entity, including:
Receiver, for receiving application stream;
Processor, for the application stream and corresponding at least one processing rule to be carried out at the same time matching, determine when Between the highest first processing rule of priority in the processing rule of successful match in length;
Transmitter, for sending the regular corresponding application of the first processing with charging rule functions PCRF entities to strategy Stream information.
In the first possible implementation, according to the third aspect, controlled entity further includes:Timer, for described The application stream and corresponding at least one processing rule are carried out at the same time matching by processor, determine in time span matching at In the processing rule of work(before the highest first processing rule of priority, the time span is obtained from local;Alternatively, receiving institute State the time span of PCRF entities transmission.
In second of possible realization method, in conjunction with the third aspect and the first possible realization method, the processing Device determines that priority highest first handles time span described in rule in the processing rule of successful match in time span For all processing rules for executing application stream detection in the PCRF the successful time is flowed to matching application from matching process is started Maximum value.
In the third possible realization method, in conjunction with the third aspect and the first possible realization method, the processing Device determines that priority highest first handles time span described in rule in the processing rule of successful match in time span For in the PCRF be applied to the controlled entity all execution application stream detections processing rule from start matching process to The maximum value of successful time is flowed in matching application.
In the 4th kind of possible realization method, in conjunction with the third aspect and the first possible realization method, the processing Device determines that priority highest first handles time span described in rule in the processing rule of successful match in time span For in the PCRF with highest priority parameter for execute the processing rule of application stream detection from start matching process to The successful time is flowed in matching application.
In the 5th kind of possible realization method, in conjunction with the third aspect and the first possible realization method, the processing Device determines that priority highest first handles time span described in rule in the processing rule of successful match in time span To be applied to the processing for executing application stream detection with highest priority parameter of the controlled entity in the PCRF Rule flows the successful time from matching process is started to matching application.
In the 6th kind of possible realization method, in conjunction with the third aspect, the first possible realization method, second of possibility Realization method, the third possible realization method, the 4th kind of possible realization method and the 5th kind of possible realization method institute Processor is stated, if being additionally operable to the time span end, the processing rule with highest priority is matched to not successfully, then will The highest processing rule of priority handles rule as described first in the processing rule of successful match before the time span cut-off Then.
In the 7th kind of possible realization method, in conjunction with the third aspect, the first possible realization method, second of possibility Realization method, the third possible realization method, the 4th kind of possible realization method and the 5th kind of possible realization method, institute Processor is stated, is specifically used in time span, successfully processing rule is same with current matching by previous matching application stream Using stream, successfully processing rule is compared;According to comparison result, retains the higher processing rule of priority and be used as current Successfully processing rule is flowed with application;And so on, until determining the priority highest the when time span cut-off One processing rule.
In 8th kind of possible realization method, in conjunction with the third aspect, the first possible realization method, second it is possible Realization method, the third possible realization method, the 4th kind of possible realization method and the 5th kind of possible realization method, it is described Processor is specifically used for from the successful whole priority resolution highest the in processing rule of matching application stream in time span One processing rule.
Fourth aspect, the embodiment of the present invention provide a kind of communication system, including:Controlled entity and PCRF entities;
The entity that the entity or the above-mentioned third aspect that the controlled entity is provided using above-mentioned second aspect provide;
The PCRF entities, the corresponding application stream letter of the first processing rule sent for receiving the controlled entity Breath.
Application stream detection method, entity and system provided in an embodiment of the present invention.Controlled entity receives application stream, will apply Stream is carried out at the same time matching with corresponding at least one processing rule, and determination is excellent in the processing rule of successful match in time span Highest first processing rule is first weighed, and stream information is applied to PCRF entities transmission the first processing rule is corresponding.So, It can ensure to report the processing rule of high priority is corresponding to apply stream information, to reduce Signalling exchange load, and effectively avoid The deviation executed using Flow Policy control.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow chart of application stream detection method one embodiment provided by the invention;
Fig. 2 is the PCC rule match schematic diagrames of application stream detection method one embodiment provided by the invention;
Fig. 3 is the flow chart of another embodiment of application stream detection method provided by the invention;
Fig. 4 is the PCC rule match schematic diagrames of another embodiment of application stream detection method provided by the invention;
Fig. 5 is the structural schematic diagram of controlled entity embodiment provided by the invention;
Fig. 6 is the structural schematic diagram of another controlled entity embodiment provided by the invention;
Fig. 7 is the structural schematic diagram of another controlled entity embodiment provided by the invention;
Fig. 8 is the structural schematic diagram of another embodiment of controlled entity provided by the invention;
Fig. 9 is the structural schematic diagram of another controlled entity embodiment provided by the invention;
Figure 10 is the structural schematic diagram of communications system embodiment provided by the invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Present invention could apply in long term evolution (LTE, Long Term Evolution) network, can be used for having There is the Universal Mobile Communication System (UMTS, Universal Mobile Telecommunications System) of LTE features In, it is fixed that the embodiment of the present invention illustrates that but not limited to this for being applied to LTE.
Fig. 1 is the flow chart of application stream detection method one embodiment provided by the invention, as shown in Figure 1, this method packet It includes:
S101, controlled entity receive application stream.
It should be noted that controlled entity can be PCEF, the corresponding rule that handles can be PCC rules;Alternatively, control Entity can be current detection functionality (TDF, Traffic Detection Function) entity, and the corresponding rule that handles can be Using Detection & Controling (ADC, Application Detection and Control).Wherein, processing rule is used for and reception Application stream feature matched.
S102, controlled entity will apply stream to be carried out at the same time matching with corresponding at least one processing rule, determine in the time The highest first processing rule of priority in the processing rule of successful match in length.
It should be noted that controlled entity, as multiple PCC rules for executing application stream detection can be used concomitantly in PCEF In the matching with application stream, that is, multiple PCC rules, which can start simultaneously at, to be matched.Using the detection process of stream in 3GPP TS It is described in 23.203 agreements, corresponding priority argument is also defined in the protocol, herein not reinflated explanation.
Illustratively, PCEF can will apply stream to be carried out at the same time matching with corresponding PCC rules, as shown in Fig. 2, abscissa For time shaft, ordinate is PCC rules.Using stream and corresponding PCC rules 1, PCC rules 2, PCC rules 3, PCC regular 4 and PCC rules 5 start simultaneously at matching.Wherein, regular 1 priority of PCC is a, and PCC 2 priority of rule are regular 3 priority of d, PCC For regular 4 priority of c, PCC be b and regular 5 priority of PCC are b, the priority that the order of priority for the application stream is d Highest, down arrangement are followed successively by c, b, a.
Further, due to the application characteristic information difference that each PCC rules include, the speed completed using stream matching It is different, as shown in the time shaft of Fig. 2 abscissas, PCC rules complete matched sequence be followed successively by PCC rules 5, PCC rules 1, PCC rules 3, PCC 2 and PCC of rule rules 4.If the time span is enough to ensure that PCC rules 2 and application stream successful match, It can then determine that the highest PCC rules 2 of priority are the first processing rule, if the time span is not sufficient to ensure that PCC Rule 2 and application stream successful match, then can determine the sequence according to above-mentioned d, c, b, a in the PCC rules of successful match, select The highest PCC rules of priority are regular as the first processing, such as:PCC rules 3 have been selected (corresponding priority is c).Herein Only with this for example, might not PCC rule corresponding match times and priority be limited in any way.
It should be noted that the successful match of application stream detection process, such as may include:
Application layer (layer 7) information and PCC rules that the five-tuple information for parsing IP groupings and analysis Match IP are grouped are complete At matching, and by the application layer message for analyzing Match IP grouping two ways is matched with the completion of PCC rules.
This sentences that controlled entity is PCEF, processing rule is to illustrate for PCC rules, is TDF with controlled entity, place It is as the same when reason rule is for ADC rule.
S103, controlled entity apply stream information to PCRF entities transmission the first processing rule is corresponding.
Application stream detection method provided in an embodiment of the present invention, controlled entity receive application stream, will apply stream with it is corresponding At least one processing rule is carried out at the same time matching, determines that priority is highest in the processing rule of successful match in time span First processing rule, and apply stream information to PCRF entities transmission the first processing rule is corresponding.So, it can be ensured that on The processing rule for priority of offering a high price is corresponding to apply stream information, to reduce Signalling exchange load, and effectively avoids applying Flow Policy Control the deviation executed.
Fig. 3 is the flow chart of another embodiment of application stream detection method provided by the invention, and the present embodiment is to execute reality Body is PCEF, processing rule is that PCC rules illustrate, but do not do any restriction with this, and execution entity is TDF entities, processing Rule be ADC rules equally within protection domain, as shown in figure 3, this method includes:
S201, PCEF receive the time span that PCRF entities are sent.
Another optional embodiment is PCEF obtains time span from local, obtained time span with from PCRF realities The time span that body receives is consistent, can refer to the time span received that the present embodiment provides and determines that scheme determines local obtain Time span.
Illustratively, time span can be that all PCC rules for executing application stream detection were matched from startup in PCRF Journey flows the maximum value of successful time to matching application.That is, the time span reflects all execution application stream detections in PCRF PCC rules flow successful relative time maximum value to matching application from matching process is started, according to the depth of application stream detection Interblock interference logic is different, this time can generally achieve second grade, such as 5 seconds.The time span determined in this way can be use up can The PCC rules that the guarantee of energy is all complete the matching that application is flowed in the time span.
Alternatively, time span be PCRF in applied to PCEF all execution application stream detections PCC rules from start The maximum value of successful time is flowed to matching application with process.That is, the time span reflects in PCRF applied to the PCEF's All PCC rules for executing application stream detection flow successful relative time maximum value from matching process is started to matching application.With Unlike above-mentioned time span, this time span is all execution application stream detections in some PCEF for PCRF controls PCC rules determine.
Alternatively, time span is the PCC rules for executing application stream detection with highest priority parameter in PCRF From matching process is started the successful time is flowed to matching application.It is first weighed that is, the time span reflects to have with highest in PCRF , for executing the PCC rules of application stream detection flow successful relative time to matching application from matching process is started.It is true in this way Relatively the highest PCC rules of successful match priority complete the time detected to fixed time span.
Alternatively, time span is to be used to execute application stream inspection with highest priority parameter applied to PCEF in PCRF The PCC rules of survey flow the successful time from matching process is started to matching application.That is, the time span is reflected in PCRF and is applied In it is the PCEF, having with highest first weight parameter, for execute the PCC rules of application stream detection from start matching process to Successful relative time is flowed with application.Determining time span is complete closest to the highest PCC rules of successful match priority in this way At the time of detection.
Optionally, which can be handed down to PCEF by PCRF during IP-CAN session establishments, and can be with Newer time span is handed down to PCEF during IP-CAN session modifications.PCEF receives the newer time span Afterwards, refresh original time span automatically.
S202, PCEF receive application stream.
Optionally, when PCEF is for the application stream for each flowing through PCEF, when carrying out application stream detection, inside PCEF starts The duration of one timer, timer is equal to above-mentioned time span.
S203, PCEF will apply stream to be carried out at the same time matching with corresponding at least one processing rule.
PCEF if it is determined that in time span successful match, then follow the steps S204;In time span do not determine to With success, S206 is thened follow the steps.
S204, PCEF determine that highest first processing of priority is advised in the processing rule of successful match in time span Then.
Illustratively, as shown in figure 4, application stream and corresponding PCC rules 1, PCC rules 2, PCC rules 3, PCC rules 4 Matching is started simultaneously at PCC rules 5.Wherein, regular 1 priority of PCC is a, and PCC 2 priority of rule are that d, PCC rule 3 is preferential Power is that regular 4 priority of c, PCC are b and regular 5 priority of PCC are b, and the order of priority for the application stream is the preferential of d Highest is weighed, arrangement down is followed successively by c, b, a.And PCC rules complete matched sequence be followed successively by PCC rules 5, PCC rules 1, PCC rules 3, PCC 2 and PCC of rule rules 4.
Optionally, however, it is determined that time span be I second, until I second end, be only successfully matched to priority for a PCC rule Then 1 and PCC rules 5 that priority is b, it is matched to the PCC rules with highest priority d not successfully, then by preceding of cut-off in I second Priority is compared with 1 and PCC of successful PCC rules rules 5, the highest PCC rules of priority is selected and handles rule as first, That is PCC rules 5 are as the first processing rule.
Optionally, however, it is determined that time span be J second, in J second, apply the successful PCC of stream regular previous matching It is compared with the successful PCC rules of current matching same application stream, according to comparison result, retains the higher PCC rule of priority Then it is used as current matching application to flow successful PCC rules, and so on, until priority resolution is highest when time span cut-off First PCC rules.Such as, PCC rules 1 are compared with the priority of PCC rules 5, retain the priority of PCC rules 5, then will PCC rules 5 are compared with the priority of PCC rules 3, retain PCC rules 3 up to J seconds, the priority highest that will compare PCC rules 2 flow successful first PCC rule as current matching application.
Optionally, however, it is determined that time span be I second, from time span, successfully whole PCC is advised matching application stream The then highest first PCC rules of middle priority resolution.Determine PCC rules 5 for the highest first processing rule of priority, herein Since time span is I seconds, is only illustrated for comparing PCC 5 and PCC of rule rules 1, but do not limited with this, work as the time In length when the multiple PCC rules of successful match, highest one of more all PCC rule selecting priorities.
Optionally, however, it is determined that time span be H second, with highest priority PCC rule 2 successful match, it is determined that PCC rules 2 are the first PCC rules;If it is determined that time span be J seconds, had been detected by highest priority at H seconds PCC 2 successful match of rule, then can no longer be detected PCC rules 4, but by PCC rules 2 as at the first PCC rules Reason.
S205, PCEF apply stream information to PCRF entities transmission the first processing rule is corresponding.
So, PCEF would not be reported unnecessary using stream information to PCRF, i.e., by the PCC of low priority rules Corresponding application stream information is reported to PCEF, but the determining corresponding application stream information of high priority is reported to PCRF, subtracts The Signalling exchange load between PCEF and PCRF is lacked.Meanwhile it also avoiding PCRF and starting incorrect application Flow Policy control Or the processing logic of charging control, such as further set to PCEF according to the corresponding application stream information of PCC rules of low priority Policy control or charging control rule etc. are set, to effectively avoid the inclined of policy control execution of the PCRF to application stream information Difference.
S206, PCEF abandon application stream.
PCEF does not determine that the processing rule to successful match can consider that application outflow has showed mistake, is abandoned.
Application stream detection method provided in an embodiment of the present invention.Controlled entity receive application stream, will apply stream with it is corresponding At least one processing rule is carried out at the same time matching, determines that priority is highest in the processing rule of successful match in time span First processing rule, and apply stream information to PCRF entities transmission the first processing rule is corresponding.So, it can be ensured that on The processing rule for priority of offering a high price is corresponding to apply stream information, to reduce Signalling exchange load, and effectively avoids applying Flow Policy Control the deviation executed.
Fig. 5 is the structural schematic diagram of controlled entity embodiment provided by the invention, as shown in figure 5, the controlled entity 50, packet It includes:
Receiving unit 501, for receiving application stream.
Processing unit 502, for stream will to be applied to be carried out at the same time matching with corresponding at least one processing rule, determination when Between the highest first processing rule of priority in the processing rule of successful match in length.
Transmission unit 503, for being sent to PCRF entities, the first processing rule is corresponding to apply stream information.
It should be noted that when 50 controlled entity of controlled entity is PCEF, processing rule is PCC rules.Controlled entity 50 For TDF entities when, processing rule be ADC rule.
Further, as shown in fig. 6, the controlled entity 50, further includes:
Timing unit 504, for obtaining time span from local;Alternatively, receiving the time span that PCRF entities are sent.
Illustratively, timing unit 504 obtain or receive time span, that is, be applied to processing unit 502 time Length is that all processing rules for executing application stream detection flow the successful time from matching process is started to matching application in PCRF Maximum value.
Alternatively, time span that is that timing unit 504 obtains or receiving, that is, be applied to the time span of processing unit 502 Processing rule to be applied to all execution application stream detections of controlled entity in PCRF is applied from matching process is started to matching Flow the maximum value of successful time.
Alternatively, time span that is that timing unit 504 obtains or receiving, that is, be applied to the time span of processing unit 502 It is to have the processing rule for executing application stream detection of highest priority parameter from matching process is started to matching in PCRF Using the stream successful time.
Alternatively, time span that is that timing unit 504 obtains or receiving, that is, be applied to the time span of processing unit 502 For be applied in PCRF controlled entity with highest priority parameter for executing the processing rule of application stream detection from opening Dynamic matching process flows the successful time to matching application.
Optionally, if processing unit 502 to time span is ended, it is matched to the processing rule with highest priority not successfully Then, then the highest processing rule of priority is advised as the first processing in the processing rule of successful match before ending time span Then.
Optionally, processing unit 502 is in time span, and by previous matching, using stream, successfully processing is regular and current Matching same application stream successfully handles rule and is compared;According to comparison result, retains the higher processing rule of priority and make For current matching application stream, successfully processing is regular;And so on, until priority resolution highest the when time span cut-off One processing rule.
Optionally, the determination from the successful all processing rule of matching application stream in time span of processing unit 502 is excellent First weigh highest first processing rule.
Further, as shown in fig. 7, the controlled entity 50, further includes:
Discarding unit 505 does not determine the processing rule to successful match, then abandons if within the scope of time span Using stream.
Controlled entity 50 provided in an embodiment of the present invention is opposite with application stream detection method provided in an embodiment of the present invention It answers, is the execution equipment of application stream detection method, the detailed process for executing application stream detection method can be found in Fig. 1-of the present invention Embodiment of the method shown in Fig. 4, details are not described herein.
Controlled entity provided in an embodiment of the present invention.Controlled entity receives application stream, will apply stream and corresponding at least one A processing rule is carried out at the same time matching, and determination is in time span in the processing rule of successful match at priority highest first Reason rule, and apply stream information to PCRF entities transmission the first processing rule is corresponding.So, it can be ensured that above offer a high price excellent The processing rule first weighed is corresponding using stream information, to reduce Signalling exchange load, and effectively avoids holding using Flow Policy control Capable deviation.
Fig. 8 is the structural schematic diagram of another embodiment of controlled entity provided by the invention, as shown in figure 8, the controlled entity 60, including:
Receiver 601, for receiving application stream.
Processor 602 is determined for stream and corresponding at least one processing rule will to be applied to be carried out at the same time matching in the time The highest first processing rule of priority in the processing rule of successful match in length.
Transmitter 603, for sending the regular corresponding application of the first processing with charging rule functions PCRF entities to strategy Stream information.
It should be noted that when 60 controlled entity of controlled entity is PCEF, processing rule is PCC rules.Controlled entity 60 For TDF entities when, processing rule be ADC rule.
Further, controlled entity 60, as shown in figure 9, further including:
Timer 604, for obtaining time span from local;Alternatively, receiving the time span that PCRF entities are sent.
Illustratively, timer 604 obtain or receive time span, that is, be applied to processor 602 time span For all processing rules for executing application stream detection in PCRF the successful time is flowed to matching application most from matching process is started Big value.
Alternatively, time span that is that timer 604 obtains or receiving, that is, the time span for being applied to processor 602 are Applied to the processing rule of all execution application stream detections of controlled entity from matching process is started to matching application stream in PCRF The maximum value of successful time.
Alternatively, time span that is that timer 604 obtains or receiving, that is, the time span for being applied to processor 602 are The processing rule for executing application stream detection with highest priority parameter is answered from matching process is started to matching in PCRF With the stream successful time.
Alternatively, time span that is that timer 604 obtains or receiving, that is, the time span for being applied to processor 602 are In PCRF applied to controlled entity with highest priority parameter for executing the processing rule of application stream detection from startup Matching process flows the successful time to matching application.
Optionally, if processor 602 to time span is ended, it is matched to the processing rule with highest priority not successfully Then, then the highest processing rule of priority is advised as the first processing in the processing rule of successful match before ending time span Then.
Optionally, previous matching application stream is successfully handled rule and current by processor 602 in time span Rule is successfully handled with same application stream to be compared;According to comparison result, retain the regular conduct of the higher processing of priority Successfully processing is regular for current matching application stream;And so on, until priority resolution highest first when time span cut-off Processing rule.
Optionally, processor 602 determines preferentially from time span in the successful all processing rule of matching application stream Weigh highest first processing rule.
Optionally, if processor 602 is within the scope of time span, the processing rule to successful match is not determined, then is abandoned Using stream.
Controlled entity 60 provided in an embodiment of the present invention is opposite with application stream detection method provided in an embodiment of the present invention It answers, is the execution equipment of application stream detection method, the detailed process for executing application stream detection method can be found in Fig. 1-of the present invention Embodiment of the method shown in Fig. 4, details are not described herein.
Controlled entity provided in an embodiment of the present invention.Controlled entity receives application stream, will apply stream and corresponding at least one A processing rule is carried out at the same time matching, and determination is in time span in the processing rule of successful match at priority highest first Reason rule, and apply stream information to PCRF entities transmission the first processing rule is corresponding.So, it can be ensured that above offer a high price excellent The processing rule first weighed is corresponding using stream information, to reduce Signalling exchange load, and effectively avoids holding using Flow Policy control Capable deviation.
Figure 10 is the structural schematic diagram of communications system embodiment provided by the invention, as shown in Figure 10, the communication system 1, Including:Controlled entity 50 and PCRF entities 70.
Wherein, controlled entity 50 is PCEF, or is TDF entities.
In communication system 1, structure shown in any controlled entities 50 of Fig. 5-Fig. 7 may be used in controlled entity 50.The present invention Controlled entity 50 in the communication system 1 that embodiment provides and PCRF entities 70 are examined with application stream provided in an embodiment of the present invention Survey method is corresponding, is the execution equipment of application stream detection method, and the detailed process for executing application stream detection method can be found in Fig. 1-embodiments of the method shown in Fig. 4 of the present invention, details are not described herein.
Alternatively, communication system includes:
Controlled entity and PCRF entities.In a communications system, the controlled entity 60 of Fig. 8 or Fig. 9 may be used in controlled entity Shown structure.Wherein, controlled entity 60 is PCEF, or is TDF entities.
Controlled entity 60 and PCRF entities in communication system 1 provided in an embodiment of the present invention are provided with the embodiment of the present invention Application stream detection method it is corresponding, be application stream detection method execution equipment, execute application stream detection method it is specific Process can be found in Fig. 1-of the present invention embodiments of the method shown in Fig. 4, and details are not described herein.
Such communication system, it can be ensured that only report the processing rule of high priority is corresponding to apply stream information, with drop Low Signalling exchange load, and effectively avoid the deviation executed using Flow Policy control.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or light The various media that can store program code such as disk.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (31)

1. a kind of application stream detection method, which is characterized in that including:
Controlled entity receives application stream;
The application stream is carried out at the same time matching by the controlled entity with corresponding at least one processing rule, and determination is long in the time The highest first processing rule of priority in the processing rule of successful match in degree;
The controlled entity sends the regular corresponding application stream of the first processing to strategy with charging rule functions PCRF entities Information;
The controlled entity is that strategy executes entity PCEF with charging, and the processing rule is policy and charging control PCC rules;Or Person, the controlled entity are current detection functionality TDF entities, and the processing rule is using Detection & Controling ADC rule.
2. according to the method described in claim 1, it is characterized in that, the controlled entity by the application stream with it is corresponding at least One processing rule is carried out at the same time matching, determination priority highest first in the processing rule of successful match in time span Before processing rule, further include:
The time span is obtained from local;Alternatively,
Receive the time span that the PCRF entities are sent.
3. method according to claim 1 or 2, which is characterized in that the time span is all execution in the PCRF The processing rule of application stream detection is from matching process is started to matching using the maximum value for flowing the successful time.
4. method according to claim 1 or 2, which is characterized in that the time span in the PCRF be applied to institute The processing rule for stating all execution application stream detections of controlled entity flows the successful time from matching process is started to matching application Maximum value.
5. method according to claim 1 or 2, which is characterized in that the time span is to have highest in the PCRF The processing rule for executing application stream detection of priority argument flows the successful time from matching process is started to matching application.
6. method according to claim 1 or 2, which is characterized in that the time span in the PCRF be applied to institute State controlled entity with highest priority parameter for execute the processing rule of application stream detection from start matching process to The successful time is flowed in matching application.
7. according to the method described in claim 1, it is characterized in that, further including:
If ending to the time span, be matched to the processing rule with highest priority not successfully, then it is the time is long The highest processing rule of priority is used as the first processing rule in the processing rule of successful match before degree cut-off.
8. according to the method described in claim 1, it is characterized in that, the processing rule of determination successful match in time span The then highest first processing rule of middle priority, including:
In time span, by previous matching application stream, successfully processing rule is successfully located with current matching same application stream Reason rule is compared;
According to comparison result, retains the higher processing rule of priority and flow successfully processing rule as current matching application;
And so on, until determining the priority highest first processing rule when time span cut-off.
9. according to the method described in claim 1, it is characterized in that, the processing rule of determination successful match in time span The then highest first processing rule of middle priority, including:
Highest first processing of priority resolution is regular from matching application stream successful all processing rule in time span.
10. according to the method described in claim 1, it is characterized in that, the controlled entity by the application stream with it is corresponding extremely Few processing rule is carried out at the same time after matching, further includes:
If within the scope of the time span, the processing rule to successful match is not determined, then abandons the application stream.
11. a kind of controlled entity, which is characterized in that including:
Receiving unit, for receiving application stream;
Processing unit is determined for the application stream to be carried out at the same time matching with corresponding at least one processing rule in the time The highest first processing rule of priority in the processing rule of successful match in length;
Transmission unit, for sending the regular corresponding application stream of the first processing with charging rule functions PCRF entities to strategy Information.
12. entity according to claim 11, which is characterized in that further include:
The application stream and corresponding at least one processing rule are carried out at the same time by timing unit for the processing unit Match, before determining that highest first processing of priority is regular in the processing rule of successful match in time span, is obtained from local Take the time span;Alternatively, receiving the time span that the PCRF entities are sent.
13. entity according to claim 11 or 12, which is characterized in that the processing unit determines in time span It is all execution in the PCRF with time span described in the highest first processing rule of priority in successful processing rule The processing rule of application stream detection is from matching process is started to matching using the maximum value for flowing the successful time.
14. entity according to claim 11 or 12, which is characterized in that the processing unit determines in time span Time span described in rule is handled with priority highest first in successful processing rule to be applied to institute in the PCRF The processing rule for stating all execution application stream detections of controlled entity flows the successful time from matching process is started to matching application Maximum value.
15. entity according to claim 11 or 12, which is characterized in that the processing unit determines in time span It is that there is highest in the PCRF with time span described in the highest first processing rule of priority in successful processing rule The processing rule for executing application stream detection of priority argument flows the successful time from matching process is started to matching application.
16. entity according to claim 11 or 12, which is characterized in that the processing unit determines in time span Time span described in rule is handled with priority highest first in successful processing rule to be applied to institute in the PCRF State controlled entity with highest priority parameter for execute the processing rule of application stream detection from start matching process to The successful time is flowed in matching application.
17. entity according to claim 11, which is characterized in that
The processing unit is matched to the processing with highest priority not successfully if being additionally operable to the time span end Rule, then priority highest processing rule conduct described the in the processing rule of successful match before ending the time span One processing rule.
18. entity according to claim 11, which is characterized in that
The processing unit, specifically in time span, successfully processing is regular and current using stream by previous matching Matching same application stream successfully handles rule and is compared;According to comparison result, retains the higher processing rule of priority and make For current matching application stream, successfully processing is regular;And so on, until determining the priority when time span cut-off Highest first processing rule.
19. entity according to claim 11, which is characterized in that
The processing unit is specifically used for determining preferentially in the successful all processing rule of matching application stream from time span Weigh highest first processing rule.
20. entity according to claim 11, which is characterized in that further include:
Discarding unit, for being carried out at the same time the application stream and corresponding at least one processing rule in the processing unit With later, if within the scope of the time span, the processing rule to successful match is not determined, then abandons the application stream.
21. a kind of controlled entity, which is characterized in that including:
Receiver, for receiving application stream;
Processor, for the application stream to be carried out at the same time matching with corresponding at least one processing rule, determination is long in the time The highest first processing rule of priority in the processing rule of successful match in degree;
Transmitter is believed for sending the regular corresponding application stream of the first processing with charging rule functions PCRF entities to strategy Breath.
22. entity according to claim 21, which is characterized in that further include:
The application stream is carried out at the same time matching, really by timer for the processor with corresponding at least one processing rule It is scheduled on before the highest first processing rule of priority in the processing rule of successful match in time span, described in local obtain Time span;Alternatively, receiving the time span that the PCRF entities are sent.
23. the entity according to claim 21 or 22, which is characterized in that the processor determination matches in time span Successfully time span described in the highest first processing rule of priority is that all execution are answered in the PCRF in processing rule The maximum value of successful time is flowed from startup matching process to matching application with the processing rule of stream detection.
24. the entity according to claim 21 or 22, which is characterized in that the processor determination matches in time span It is in the PCRF applied to described successfully to handle time span described in the highest first processing rule of priority in rule The processing rule of all execution application stream detections of controlled entity flows the successful time from matching process is started to matching application Maximum value.
25. the entity according to claim 21 or 22, which is characterized in that the processor determination matches in time span Successfully time span described in the highest first processing rule of priority is to have highest excellent in the PCRF in processing rule The processing rule for executing application stream detection of first weight parameter flows the successful time from matching process is started to matching application.
26. the entity according to claim 21 or 22, which is characterized in that the processor determination matches in time span It is in the PCRF applied to described successfully to handle time span described in the highest first processing rule of priority in rule Controlled entity with highest priority parameter for execute the processing rule of application stream detection from start matching process to The successful time is flowed with application.
27. entity according to claim 21, which is characterized in that
The processor is matched to the processing rule with highest priority not successfully if being additionally operable to the time span end Then, then the highest processing rule of priority is used as described first in the processing rule of successful match before ending the time span Processing rule.
28. entity according to claim 21, which is characterized in that
The processor is specifically used in time span, and previous matching application stream is successfully handled rule and current Rule is successfully handled with same application stream to be compared;According to comparison result, retain the regular conduct of the higher processing of priority Successfully processing is regular for current matching application stream;And so on, until determining the priority most when time span cut-off The first high processing rule.
29. entity according to claim 21, which is characterized in that
The processor is specifically used for the priority resolution from matching application stream successful all processing rule in time span Highest first processing rule.
30. entity according to claim 21, which is characterized in that further include:
The processor is additionally operable to after the application stream is carried out at the same time matching with corresponding at least one processing rule, if Within the scope of the time span, the processing rule to successful match is not determined, then abandons the application stream.
31. a kind of communication system, which is characterized in that including:Controlled entity and PCRF entities;
Wherein, the controlled entity is using the entity described in any one of claim 11~20, alternatively, using claim 21 Entity described in any one of~30;
The PCRF entities, it is corresponding using stream information for receiving the first processing rule that the controlled entity is sent;
The controlled entity executes entity PCEF for strategy and charging, or is current detection functionality TDF entities.
CN201380024753.XA 2013-07-02 2013-07-02 Application stream detection method, entity and system Active CN104509140B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/078691 WO2015000136A1 (en) 2013-07-02 2013-07-02 Application stream detecting method, entity, and system

Publications (2)

Publication Number Publication Date
CN104509140A CN104509140A (en) 2015-04-08
CN104509140B true CN104509140B (en) 2018-10-30

Family

ID=52143007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380024753.XA Active CN104509140B (en) 2013-07-02 2013-07-02 Application stream detection method, entity and system

Country Status (2)

Country Link
CN (1) CN104509140B (en)
WO (1) WO2015000136A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016206071A1 (en) * 2015-06-26 2016-12-29 华为技术有限公司 Bearer binding method and associated equipment
CN106992868B (en) * 2016-01-20 2020-03-10 中兴通讯股份有限公司 Third-party application service deployment method, SCEF entity, PCRF entity and PCC framework

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364893A (en) * 2007-08-08 2009-02-11 华为技术有限公司 Control device, execution device, method and system for generating filtering rules
CN101720075A (en) * 2009-02-10 2010-06-02 中兴通讯股份有限公司 Method and device for reporting service information
CN102365880A (en) * 2009-01-27 2012-02-29 瑞典爱立信有限公司 Group session management for policy control
EP2443865A1 (en) * 2009-06-19 2012-04-25 Telefonaktiebolaget LM Ericsson (publ) Establishing a communication session
CN102726077A (en) * 2011-12-31 2012-10-10 华为技术有限公司 Method and device for processing message in PCC architecture
CN103004241A (en) * 2011-06-14 2013-03-27 华为技术有限公司 Policy control method, related apparatus, and policy and charging control system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2296309B1 (en) * 2009-09-11 2012-10-31 Alcatel Lucent A method for delivering policy rules to an end user, according on his/her account balance and service subscription level, in a telecommunication network
CN101800967B (en) * 2009-12-30 2012-12-12 华为技术有限公司 Method, gateway and mobile terminal for realizing strategy and charging control
CN102647698B (en) * 2012-04-10 2015-08-19 华为技术有限公司 A kind of strategy and charging control PCC System and method for

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364893A (en) * 2007-08-08 2009-02-11 华为技术有限公司 Control device, execution device, method and system for generating filtering rules
CN102365880A (en) * 2009-01-27 2012-02-29 瑞典爱立信有限公司 Group session management for policy control
CN101720075A (en) * 2009-02-10 2010-06-02 中兴通讯股份有限公司 Method and device for reporting service information
EP2443865A1 (en) * 2009-06-19 2012-04-25 Telefonaktiebolaget LM Ericsson (publ) Establishing a communication session
CN103004241A (en) * 2011-06-14 2013-03-27 华为技术有限公司 Policy control method, related apparatus, and policy and charging control system
CN102726077A (en) * 2011-12-31 2012-10-10 华为技术有限公司 Method and device for processing message in PCC architecture

Also Published As

Publication number Publication date
CN104509140A (en) 2015-04-08
WO2015000136A1 (en) 2015-01-08

Similar Documents

Publication Publication Date Title
CN103444226A (en) Method and apparatuses for TDF session establishment
CN110235427A (en) The IP index for IP address distribution based on policy control functions
CN102142990A (en) Traffic monitoring method and device
CN108259434A (en) A kind of opening method and server of user side QoS supportabilitys
CN103873513B (en) Adaptive method for down loading and system
CN103856959B (en) Wireless LAN quality control method, equipment and system
EP4011113A1 (en) Data collection in defined network operating conditions in radio access networks
CN109041252A (en) LoRa cordless communication network channel access method based on carrier sense
CN105813166A (en) Network access control method and system for outage user and communication equipment
CN104509140B (en) Application stream detection method, entity and system
CN108810927A (en) A kind of processing method and system of scheduling request
CN109565774A (en) Data transmission method and device
CN109564516A (en) A kind of carrier selecting method, terminal device and computer storage medium
CN107426721A (en) A kind of wireless network resource regulates and controls method and device
Liao et al. An optimized QoS scheme for IMS‐NEMO in heterogeneous networks
CN107548077A (en) A kind of location information acquisition method, equipment and system
EP3429263A1 (en) Method and apparatus for controlling traffic of terminal in mobile communication system
US20160301809A1 (en) Preemptive credit control
CN105813152B (en) Method for switching network and system, communication equipment
CN107623555B (en) Method and device for realizing universal communication simulation platform
US20170273103A1 (en) Radio communication method and device with alterable transmission time interval
CN106797321B (en) A kind of background traffic method for down loading, equipment and system
CN103108342A (en) PING delay optimization method and device in long term evolution (LTE) system
CN104735798B (en) A kind of method and apparatus obtaining configuration resource
CN102726076A (en) Policy and charging control method, policy and charging rules function and policy and charging control system

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