CN104320354B - A kind of processing method and processing device of data - Google Patents

A kind of processing method and processing device of data Download PDF

Info

Publication number
CN104320354B
CN104320354B CN201410564256.5A CN201410564256A CN104320354B CN 104320354 B CN104320354 B CN 104320354B CN 201410564256 A CN201410564256 A CN 201410564256A CN 104320354 B CN104320354 B CN 104320354B
Authority
CN
China
Prior art keywords
packet
ipp
dscp values
specific
business
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
CN201410564256.5A
Other languages
Chinese (zh)
Other versions
CN104320354A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410564256.5A priority Critical patent/CN104320354B/en
Publication of CN104320354A publication Critical patent/CN104320354A/en
Application granted granted Critical
Publication of CN104320354B publication Critical patent/CN104320354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a kind of processing method and processing device of data, is related to mobile communication technology field, for solving how to improve service quality problem when mobile terminal carries out Packet data service.The present invention, when five-tuple information is stored in Packet Filter, calls specific DSCP values by detecting whether the five-tuple information obtained from the packet of reception is stored in Packet Filter from Packet Filter;When five-tuple information is not stored in Packet Filter, calculate specific DSCP values, by the scheduled field in the obtained specific DSCP values write-in packet, packet after being updated, packet after renewal is sent to the network element of packet transmission direction again, the specific DSCP values are the DSCP values of business corresponding to packet.Scheme provided in an embodiment of the present invention is suitable to use when handling data.

Description

A kind of processing method and processing device of data
Technical field
The present invention relates to mobile communication technology field, more particularly to a kind of processing method and processing device of data.
Background technology
With the development of Packet data service, Packet data service has penetrated into each in the work and life of people Aspect.Packet data service is business in addition to session service, such as Video chat business, web-browsing service etc..
Generally, can be that it provides a Packet data service to ensure service quality of the Packet data service in transmission QoS (Quality of Service, service quality) information so that the network element of network side is according to the Packet data service QoS information carries out the transmission of packet.The QoS information of Packet data service is by HLR (Home Location in the prior art Register, attaching position register) user that issues contracts QoS information or traffic flow template matching technique determines.With Family signing QoS information is to hold signing information corresponding to the user of mobile terminal.Traffic flow template matching technique is mobile terminal The QoS information of packet carrying corresponding to Packet data service is determined with PGW (Packet Gateway, packet data gateway) Technology.When packet corresponding to Packet data service is upstream data bag, PGW is according to EPC (Evolved Packet Core, evolution block core net) in network element ability selection can be as QoS information (grouped data of Packet data service The upstream data that the QoS information of business is user's signing QoS information or mobile terminal is determined by traffic flow template matching technique Wrap the QoS information of carrying).When packet corresponding to Packet data service is downlink data packet, the QoS letters of Packet data service Cease the QoS information carried for the PGW downlink data packets determined by traffic flow template matching technique.Grouped data is determined in PGW After the QoS information of business, the QoS information of the Packet data service is sent to the network element of network side, so that the net of network side Member carries out the transmission of packet according to the QoS information of the Packet data service.
However, the QoS information of Packet data service is according to user's signing QoS information or Business Stream mould in the prior art What the QoS information for the carrying that plate matching technique determines determined, and user's signing QoS information and traffic flow template matching technique determine Carrying QoS information for user activated different bearer in itself, wherein, a carrying may include multiple different grouping numbers According to business.Therefore, for the different grouping data service in same carrying, each network element of network side can not be according to existing QoS information is transmitted to different Packet data services according to the demand of Packet data service, causes to use grouped data industry The service quality of business is relatively low.
The content of the invention
Embodiments of the invention provide a kind of processing method and processing device of data, enter for how solution to improve mobile terminal The problem of service quality during row Packet data service.
On the one hand, embodiments of the invention provide a kind of processing method of data, including:
Received data packet, the packet include five-tuple information;
Obtain the five-tuple information of the packet;
The specific differentiated services code points DSCP values of the packet are determined, the specific DSCP values are the packet pair The DSCP values for the business answered;The specific DSCP values for determining packet, including:Detect whether the five-tuple information deposits Storage is in IP filter Packet Filter;When the five-tuple information is stored in the Packet Filter, from described The specific DSCP values are called in Packet Filter;When the five-tuple information is not stored in the Packet Filter When, calculate the specific DSCP values;
The scheduled field that the specific DSCP values are write in the packet, the packet after being updated;
Packet after the renewal is sent to the network element of the packet transmission direction, in order to which the packet passes The network element in defeated direction carries out the biography of the packet after the renewal according to service quality QoS information corresponding to the specific DSCP values It is defeated.
On the other hand, embodiments of the invention provide a kind of processing unit of data, including:
Receiving module, acquisition module is supplied to for received data packet, and by the packet, the packet includes Five-tuple information;
The acquisition module, it is supplied to for obtaining the five-tuple information of the packet, and by the five-tuple information Determining module;
The determining module, it is described specific for determining the specific differentiated services code points DSCP values of the packet DSCP values are the DSCP values of business corresponding to the packet;The determining module is specifically used for detecting the five-tuple information It is no to be stored in IP filter Packet Filter;When the five-tuple information is stored in the Packet Filter, from The specific DSCP values are called in the Packet Filter;When the five-tuple information is not stored in the Packet During Filter, the specific DSCP values are calculated;
Module is obtained, for by the scheduled field in the specific DSCP values write-in packet, after being updated Packet, and the packet after the renewal is supplied to sending module;
The sending module, for the packet after the renewal to be sent to the network element of the packet transmission direction, In order to the packet transmission direction network element according to corresponding to the specific DSCP values service quality QoS information carry out described in The transmission of packet after renewal.
The processing method and processing device of data provided in an embodiment of the present invention, with Packet data service of the prior art QoS information is only for user activated different bearer, not for the different business in carrying, therefore in same carrying Different grouping data service, each network element of network side can not be pressed according to existing QoS information to different Packet data services It is transmitted according to the demand of Packet data service, causes the problem of relatively low using the service quality of Packet data service to be compared, this The five-tuple information for the packet that invention is received by acquisition, then detects whether the five-tuple information is stored in Packet In Filter, when five-tuple information is stored in Packet Filter, call the packet corresponding from Packet Filter Business specific DSCP values;When five-tuple information is not stored in Packet Filter, business corresponding to the packet is calculated Specific DSCP values, by the scheduled field in obtained specific DSCP values write-in packet, the packet after being updated, then Packet after renewal is sent to the network element of packet transmission direction, in order to packet transmission direction network element according to specific QoS information corresponding to DSCP values be updated after packet transmission, it is achieved thereby that for different grouping data service Transmission requirement (such as QoS information) carrys out transmission packet, improves the service quality using Packet data service.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the processing method of data provided in an embodiment of the present invention;
Fig. 2 is the flow chart that specific DSCP values are calculated in a kind of processing method of data provided in an embodiment of the present invention;
Fig. 3 is a kind of logical construction schematic diagram of the processing unit of data provided in an embodiment of the present invention;
Fig. 4 is the logical construction schematic diagram of the processing unit of another data provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
As shown in figure 1, the embodiment of the present invention provides a kind of processing method of data, applied to P-GW, this method includes:
101, received data packet, packet includes five-tuple information.
Wherein, five-tuple information typically refers to source IP address, source port number, purpose IP address, destination slogan and transmission Layer protocol number.
102, obtain the five-tuple information of packet.
103, determine specific DSCP (Differentiated Services Code Point, the differential service of packet Code point) value, specific DSCP values are the DSCP values of business corresponding to packet.The specific DSCP values of packet are determined, including:Inspection Survey whether five-tuple information is stored in Packet Filter (IP filter);When five-tuple information is stored in Packet During Filter, specific DSCP values are called from Packet Filter, when five-tuple information is not stored in Packet Filter, Calculate specific DSCP values.Wherein, the mapping value for the QCI that DSCP values of the prior art carry for packet, the DSCP value pins To the QCI of packet carrying.
104, the scheduled field that specific DSCP values are write in packet, the packet after being updated.
Wherein, packet refers to the packet for writing DSCP values after the scheduled field in packet after renewal.
105, the packet after renewal is sent to the network element of packet transmission direction, in order to packet transmission direction Network element be updated according to QoS information corresponding to specific DSCP values after packet transmission.
It should be noted that when packet is upstream data bag, the packet after renewal is sent to PDN (Public Data Network, public data network) in network element.When packet is downlink data packet, by the downlink data packet after renewal The network element being sent in EPC.
The processing method of data provided in an embodiment of the present invention, the QoS information with Packet data service of the prior art Only for user activated different bearer, not for the different business in carrying, therefore for the difference in same carrying point Group data service, each network element of network side can not according to existing QoS information to different Packet data services according to packet The demand of data service is transmitted, and causes the problem of relatively low using the service quality of Packet data service to be compared, and the present invention is logical The five-tuple information for obtaining the packet received is crossed, then detects whether the five-tuple information is stored in Packet Filter, When five-tuple information is stored in Packet Filter, the spy of business corresponding to the packet is called from Packet Filter Determine DSCP values;When five-tuple information is not stored in Packet Filter, the specific DSCP of business corresponding to the packet is calculated Value, by the scheduled field in the obtained specific DSCP values write-in packet, the packet after being updated, then by after renewal Packet is sent to the network element of packet transmission direction, corresponding according to specific DSCP values in order to the network element of packet transmission direction QoS information be updated after packet transmission, it is achieved thereby that for different grouping data service transmission requirement (such as QoS information) carry out transmission packet, improve the service quality using Packet data service.
Further, specific DSCP is calculated when five-tuple information is not stored in Packet Filter in step 103 Value, specific calculating process is as shown in Fig. 2 the calculating process includes:
201, PGW call DPI (Deep Packet Inspection, deep-packet detection) to carry out business knowledge to packet Not, target service corresponding to the packet is obtained to identify.
Wherein, target service mark can be title, icon, ID (IDentity, identity) number corresponding to the target service Deng.
202, PGW obtain business IP precedence value IPP_S and business corresponding to target service mark in service priority table Packet loss priority value DP_S.
It should be noted that the service priority table of this step can be as shown in table 1.
Service identification Business IP precedence value IPP_S Business packet loss priority value DP_S
Wechat 5 0
Mobile phone QQ 4 1
A sudden peal of thunder is downloaded 3 2
Baidu map 2 3
Table 1
Wherein, the service identification in table 1 is to be illustrated by taking Business Name as an example.
In service priority table, the business IP precedence value IPP_S of acquisition is designated as IPP_S, business packet loss priority Value DP_S is designated as DP_S.
It should be noted that the service priority table is stored in advance in PGW.According to the different demands of Operator Specific Service, To carry out different settings to the priority of business in advance, table 1 can be directed to business IP precedence corresponding to the setting of specific business With packet loss priority.The differentiation of priority, such as instant messaging service can not only be carried out to business by service priority table, As wechat business, mobile phone QQ business can carry out the setting of different priorities by service priority table, reach to refine to and be directed to Specific business carries out the purpose of different transmission;The business that concern can also be compared operator ensures, such as certain Individual specific transactions:Wechat, according to the business consideration to factors such as time delay, shake, packet losses in use one can be selected to be adapted to The business IP precedence and packet loss priority of the business.
What deserves to be explained is table 1 illustrate only the priority of 4 business, service priority Biao Kegen in practical situations both Additions and deletions and modification are carried out to the business in service priority table according to actual conditions.It should be noted that table 1 illustrate only business mark Knowledge, business IP precedence value IPP_S, business packet loss priority value tri- parameters of DP_S, in practical situations both service priority table Additions and deletions and modification can be carried out to the parameter in service priority table according to actual conditions.
For example, operator can increase the affiliated bearing parameter of business in service priority table, table 2 specifically can refer to.
Table 2
Operator refers to business affiliated bearing parameter and IPP_S and DP_S is preset.It is assumed that in dedicated bearing Significance level be higher than in the case of default bearing, the IPP_S of business corresponding to dedicated bearing can be set higher than default bearing correspondence Business IPP_S, the DP_S of business corresponding to dedicated bearing be less than business corresponding to default bearing DP_S.Such as in table 2 Dedicated bearing is carried as belonging to the business of wechat business, default bearing is carried as belonging to the business of sudden peal of thunder downloading service, then to be micro- The IPP_S of communication service setting is higher than sudden peal of thunder downloading service, and the DP_S of wechat business is less than the DP_S of sudden peal of thunder downloading service.
How advance setting is done to IPP_S and DP_S according to the affiliated bearing parameter of business in the present invention not limit, Specifically different situations can specifically it treat.
Further, operator can also increase business generic parameter in service priority table, specifically can refer to Table 3.
Table 3
Operator refers to business generic parameter and IPP_S and DP_S is preset.It is assumed that in Streaming Media class In the case that the significance level of not corresponding business is higher than business corresponding to other classs of service, it is corresponding that streaming class can be set Business IPP_S be higher than business corresponding to other classs of service IPP_S, the DP_S of business is less than corresponding to streaming class The DP_S of business corresponding to other classs of service.Such as due to RTSP (Real Time Streaming in table 3 Protocol, real time streaming transport protocol) the affiliated class of service of video traffic is streaming class, therefore presets RTSP videos The IPP_S of business is higher than the IPP_S of wechat, and the DP_S of RTSP video traffics is less than the DP_S of wechat.
It should be noted that operator can according to corresponding to actual conditions division business business generic.For example, operation Wechat delineation of activities can be background classification according to actual conditions by business, by wechat delineation of activities can also be it according to actual conditions Its business generic, is not limited herein.Wherein, other business generics include interactive class, session classification Etc..
In addition, it is necessary to explanation, how excellent to business IP according to the business generic parameter of business in the present invention First level value IPP_S and business packet loss priority value DP_S do advance setting and not limited.
Further, the service identification parameter in table 1 can also be changed by the title of business in service priority table Into the ID number of business, as shown in table 4.
Service identification Business IP precedence value IPP_S Business packet loss priority value DP_S
1001 5 0
1002 4 1
1003 3 2
1004 2 3
Table 4
It should be noted that the ID number that the business of the entitled wechat in table 1 corresponds in table 4 is 1001, it is entitled ID number corresponding to mobile phone QQ business is 1002, and ID number corresponding to the business that an entitled sudden peal of thunder is downloaded is 1003, entitled Baidu ID number corresponding to the business of map is 1004, what deserves to be explained is ID number corresponding to wechat business must be not necessarily 1001, Can be numeral 1, or by other numerals, as long as business different in the present invention has different ID numbers, not to industry ID number in business mark is limited using which numeral.
In step 201, it is acquiescence class by the data packet recording when DPI is unidentified goes out service identification corresponding to packet Type.
Wherein, DPI not can recognize that business corresponding to packet includes two kinds of different situations.
A kind of situation is that DPI can only recognize class of service corresponding to packet and can not identify tool corresponding to the packet Body business, such as DPI can identify that class of service corresponding to packet is streaming media service classification, and can not identify the data Specific business is any in streaming media service classification corresponding to bag.Another situation is that the equal None- identifieds of DPI go out packet Affiliated class of service and specific business.Also give in the present invention for the acquiescence industry corresponding to the packet of default type Business priority list.As shown in table 5.
Business generic Class of service IP precedence value IPP_S Class of service packet loss priority value DP_S
None- identified 0 0
Interaction 4 1
Streaming Media 3 2
Background 2 3
Table 5
When DPI not can recognize that business corresponding to packet, after step 201, in addition to PGW obtains acquiescence business IPP_S corresponding to class of service and DP_S in priority list.It is understood that now IPP_S represents that class of service IP is preferential Level value, DP_S represent class of service packet loss priority value.
Wherein, in table 5, interaction, Streaming Media, background are all business generic.Such as wechat business, mobile phone QQ business Belong to background classification, and RTSP video traffics belong to streaming class.
It should be noted that the different demands of class of service are come in advance to the priority of class of service according to operator Carry out different settings.Table 5 can only be directed to different classs of service and carry out different priority level initializings.
203, PGW obtain the QCI of packet carrying.
Carrying IP precedence value IPP_B and carrying packet loss corresponding to QCI are preferential in 204, PGW acquisition QCI mapping tables Level value DP_B.
It should be noted that the QCI mapping tables of this step can be as shown in table 6.
Service quality rating identifies QCI Carry IP precedence value IPP_B Carry packet loss priority value DP_B
1 5 0
2 4 1
3 3 2
4 2 3
Table 6
It should be noted that table 6, which can be directed to different QCI, sets different carrying IP precedence value IPP_B and carrying Packet loss priority value DP_B.
Wherein, it is excellent that QCI, carrying IP precedence value IPP_B, carrying packet loss are illustrate only in the QCI mapping tables in table 6 First tri- parameters of level value DP_B, but these parameters are not limited to, such as can also increase in QCI mapping tables resources-type The parameters such as type, business citing.Specific parameter is not limited in the present invention.
The carrying IP precedence value IPP_B of acquisition is designated as IPP_B in QCI mapping tables, carries packet loss priority Value DP_B is designated as DP_B.
205, PGW by IPP_S, IPP_B and DP_S, DP_B, and IP precedence value IPP and the packet loss for calculating packet are preferential Level value DP.
Specifically include:
First, the final IP precedence value IPP of packet is obtained by IPP_S and IPP_B.Computational methods are as follows,
1. as IPP_S and IPP_B equal, IPP IPP_B;
2. when IPP_S is more than IPP_B, IPP is that IPP_B adds 1;
3. when IPP_S is less than IPP_B, IPP is that IPP_B subtracts 1.
Secondly, the final packet loss priority value DP of packet is obtained by DP_S and DP_B.Computational methods are as follows,
1. as DP_S and DP_B equal, DP DP_B;
2. when DP_S is more than DP_B, DP is that DP_B adds 1;
3. when DP_S is less than DP_B, DP is that DP_B subtracts 1.
206, PGW the IP precedence value IPP of obtained packet and packet loss priority value DP be calculated it is specific DSCP values.
Specifically, specific DSCP values are DP and 2IPPIt is added, i.e. DSCP=2IPP+DP。
Further, calculating corresponding to the packet after specific DSCP values, can also by the five-tuple information of packet, The mapping relations of specific DSCP values and five-tuple information and specific DSCP values are stored into Packet Filter.
Wherein, the mapping relations of five-tuple information and specific DSCP value are the five-tuple information of packet and specific DSCP Value corresponds.
It is further alternative, the specific DSCP values being calculated, the five-tuple information of the packet and five-tuple are believed Breath and the mapping relations of specific DSCP values are stored in Packet Filter.
It should be noted that the mapping relations stored in Packet Filter can be deleted according to life cycle.Example Such as, can be according to untapped mapping relations will be deleted within life cycle life cycle, can also be according to cycle life cycle Property is all deleted the mapping relations stored in Packet Filter.Time life cycle can be according to the need of operator Preset.
Wherein, the mapping of specific DSCP values, the five-tuple information of the packet and five-tuple information and specific DSCP values Relation can be stored in Packet Filter in the form of mapping table.
By the specific DSCP values being calculated, the five-tuple information of the packet and five-tuple information and specific DSCP values Mapping relations be stored in Packet Filter can be when obtaining identical data packet next time, extract the packet five yuan Group information, specific DSCP corresponding to the five-tuple information is then directly invoked in the mapping table in Packet Filter Value, without computing repeatedly specific DSCP values.
Further, the scheduled field at step 104 write specific DSCP values in packet, the number after being updated According to bag.Wherein, scheduled field includes:TC (Traffic Class, discharge pattern) fields or ToS (Type of Service, Service type) field.
It should be noted that when packet is upstream data bag, specific DSCP values are write according to PDN network type Scheduled field.When packet is downlink data packet, specific DSCP values are write by scheduled field according to EPC network type.
With reference to above-mentioned Fig. 1 and Fig. 2 description, the embodiment of the present invention provides a kind of processing unit 30 of data, such as Fig. 3 institutes Show, include in device 30:Receiving module 301, acquisition module 302, determining module 303, obtain module 304, sending module 305。
Receiving module 301, acquisition module 302 is supplied to for received data packet, and by packet, wherein, in packet Including five-tuple information.
Acquisition module 302, determining module is supplied to for obtaining the five-tuple information of packet, and by five-tuple information 303。
Determining module 303, for determining the specific differentiated services code points DSCP values of packet, specific DSCP values are data The DSCP values of business corresponding to bag.
Determining module 303, whether it is stored in IP filter Packet Filter specifically for detection five-tuple information, When five-tuple information is stored in Packet Filter, specific DSCP values are called from Packet Filter.When five-tuple is believed When breath is not stored in Packet Filter, specific DSCP values are calculated.
Module 304 is obtained, for the scheduled field for writing specific DSCP values in packet, the data after being updated Bag, and the packet after renewal is supplied to sending module 305.
Sending module 305, for the packet after renewal to be sent to the network element of packet transmission direction, in order to data The network element of bag transmission direction be updated according to service quality QoS information corresponding to specific DSCP values after packet transmission.
Further, as shown in figure 4, the present invention can also provide the processing units 40 of data a kind of, in the device 40 Determining module 303 includes call unit 3031, receiving unit 3032, acquiring unit 3033, computing unit 3034 and the device 40 also include memory module 306.
When five-tuple information is not stored in Packet Filter, determining module 303 calculates specific DSCP values, specific bag Include,
Call unit 3031, for calling DPI to carry out business identification to packet.
Receiving unit 3032, for receiving target service mark corresponding to the packet of DPI offers, and by target service mark Knowledge is supplied to acquiring unit 3033.
Acquiring unit 3033, for obtaining business IP precedence value corresponding to target service mark in service priority table IPP_S and business packet loss priority value DP_S, and IPP_S and DP_S are supplied to computing unit 3034.
Acquiring unit 3033, it is additionally operable to obtain the QCI of packet carrying, obtains in QCI mapping tables and held corresponding to QCI IP precedence value IPP_B and carrying packet loss priority value DP_B are carried, and IPP_B and DP_B are supplied to computing unit 3034.
Computing unit 3034, for by IPP_S, IPP_S, IPP_B and DP_B, calculating specific DSCP values.
Further, computing unit 3034, by IPP_S, DP_S, IPP_B and DP_B, specific DSCP values are calculated, including:
Computing unit 3034, specifically for by IPP_S and IPP_B, obtaining IP precedence value IPP, specifically including,
1. as IPP_S and IPP_B equal, IPP IPP_B.
2. when IPP_S is more than IPP_B, IPP is that IPP_B adds 1.
3. when IPP_S is less than IPP_B, IPP is that IPP_B subtracts 1.
Computing unit 3034, specifically for by DP_S and DP_B, obtaining packet loss priority value DP, specifically including,
1. as DP_S and DP_B equal, DP DP_B.
2. when DP_S is more than DP_B, DP is that DP_B adds 1.
3. when DP_S is less than DP_B, DP is that DP_B subtracts 1.
Wherein, specific DSCP values are DP and 2IPPIt is added, obtains specific DSCP values.
Further, when five-tuple information is not stored in Packet Filter, determining module 303 calculates specific After DSCP values,
Memory module 306, for reflecting five-tuple information, specific DSCP values and five-tuple information and specific DSCP values Relation storage is penetrated into Packet Filter.
Further, module 304 is being obtained by the scheduled field in the scheduled field in specific DSCP values write-in packet For TC fields or tos field.
The processing unit of data provided in an embodiment of the present invention, the packet of receiving module reception is obtained by acquisition module Five-tuple information, it is then determined that module detects whether the five-tuple information is stored in Packet Filter, when five-tuple is believed When breath is stored in Packet Filter, the specific DSCP values of business corresponding to the packet are called from Packet Filter; When five-tuple information is not stored in Packet Filter, the specific DSCP values of business corresponding to the packet are calculated, obtain mould Block is by the scheduled field in the obtained specific DSCP values write-in packet, the packet after being updated, then sending module Packet after renewal is sent to the network element of packet transmission direction again, in order to packet transmission direction network element according to spy QoS information corresponding to determining DSCP values be updated after packet transmission, it is achieved thereby that being directed to different grouping data service Transmission requirement (such as QoS information) carry out transmission packet, improve the service quality using Packet data service.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of work(described above Energy.The specific work process of the system, apparatus, and unit of foregoing description, it may be referred to corresponding in preceding method embodiment Journey, it will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the module or The division of unit, only a kind of division of logic function, can there are other dividing mode, such as multiple units when actually realizing Or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute Display or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, device or unit INDIRECT COUPLING or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer It is each that equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention The all or part of step of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD Etc. it is various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (6)

  1. A kind of 1. processing method of data, it is characterised in that including:
    Received data packet, the packet include five-tuple information;
    Obtain the five-tuple information of the packet;
    The specific differentiated services code points DSCP values of the packet are determined, the specific DSCP values are corresponding to the packet The DSCP values of business;The specific DSCP values for determining packet, including:Detect whether the five-tuple information is stored in In IP filter Packet Filter;When the five-tuple information is stored in the Packet Filter, from described The specific DSCP values are called in Packet Filter;When the five-tuple information is not stored in the Packet Filter When, calculate the specific DSCP values;It is described when the five-tuple information is not stored in the Packet Filter, calculate institute Specific DSCP values are stated, including:Call deep-packet detection DPI to carry out business identification to the packet, obtain the packet pair The target service mark answered;Obtain business IP precedence value IPP_S corresponding to target service mark described in service priority table With business packet loss priority value DP_S;Obtain the service quality rating mark QCI of the packet carrying;QCI mappings are obtained to close It is carrying IP precedence value IPP_B corresponding to QCI described in table and carrying packet loss priority value DP_B;Pass through the IPP_S, institute DP_S, the IPP_B and the DP_B are stated, calculates the specific DSCP values;
    The scheduled field that the specific DSCP values are write in the packet, the packet after being updated;
    Packet after the renewal is sent to the network element of the packet transmission direction, in order to the packet transmission side To network element carry out according to service quality QoS information corresponding to the specific DSCP values transmission of the packet after the renewal;
    It is described that the specific DSCP values are calculated by the IPP_S, the DP_S, the IPP_B and the DP_B, including:
    By the IPP_S and the IPP_B, IP precedence value IPP is obtained, wherein, as the IPP_S and the IPP_B phases Deng when, the IPP is the IPP_B;When the IPP_S is more than the IPP_B, the IPP is that the IPP_B adds 1;Work as institute When stating IPP_S and being less than the IPP_B, the IPP is that the IPP_B subtracts 1;
    By the DP_S and the DP_B, packet loss priority value DP is obtained, wherein, when the DP_S and the DP_B are equal When, the DP is the DP_B;When the DP_S is more than the DP_B, the DP is that the DP_B adds 1;When the DP_S is small When the DP_B, the DP is that the DP_B subtracts 1;
    The specific DSCP values are the DP and 2IPPIt is added, obtains the specific DSCP values.
  2. 2. the processing method of data according to claim 1, it is characterised in that described when the five-tuple information is not deposited In the Packet Filter, after calculating the specific DSCP values, methods described also includes for storage:
    The mapping of the five-tuple information, the specific DSCP values and the five-tuple information and the specific DSCP values is closed System's storage is into the Packet Filter.
  3. 3. the processing method of the data according to any one of claim 1-2, it is characterised in that the scheduled field is stream Measure type TC fields or service type tos field.
  4. A kind of 4. processing unit of data, it is characterised in that including:
    Receiving module, acquisition module is supplied to for received data packet, and by the packet, the packet includes five yuan Group information;
    The acquisition module, determination is supplied to for obtaining the five-tuple information of the packet, and by the five-tuple information Module;
    The determining module, for determining the specific differentiated services code points DSCP values of the packet, the specific DSCP values For the DSCP values of business corresponding to the packet;The determining module is specifically used for detecting whether the five-tuple information stores In IP filter Packet Filter;When the five-tuple information is stored in the Packet Filter, from described The specific DSCP values are called in Packet Filter;When the five-tuple information is not stored in the Packet Filter When, calculate the specific DSCP values;
    Module is obtained, for the scheduled field for writing the specific DSCP values in the packet, the data after being updated Bag, and the packet after the renewal is supplied to sending module;
    The sending module, for the packet after the renewal to be sent to the network element of the packet transmission direction, so as to In the network element of the packet transmission direction renewal is carried out according to service quality QoS information corresponding to the specific DSCP values The transmission of packet afterwards;
    The determining module, including:Call unit, receiving unit, acquiring unit, computing unit;
    The call unit, for calling deep-packet detection DPI to carry out business identification to the packet;
    The receiving unit, target service mark corresponding to the packet provided for receiving the DPI, and by the mesh Mark service identification is supplied to the acquiring unit;
    The acquiring unit, for obtaining business IP precedence value corresponding to the mark of target service described in service priority table IPP_S and business packet loss priority value DP_S, and the IPP_S and the DP_S are supplied to the computing unit;Obtain institute State the service quality rating mark QCI of packet carrying;It is preferential to obtain the corresponding carrying IP of QCI described in QCI mapping tables Level value IPP_B and carrying packet loss priority value DP_B, and the IPP_B and the DP_B are supplied to the computing unit;
    The computing unit, for by the IPP_S, the DP_S, the IPP_B and the DP_B, calculating described specific DSCP values;
    The computing unit, specifically for by the IPP_S and the IPP_B, obtaining IP precedence value IPP, wherein, work as institute When stating the IPP_S and IPP_B equal, the IPP is the IPP_B;It is described when the IPP_S is more than the IPP_B IPP is that the IPP_B adds 1;When the IPP_S is less than the IPP_B, the IPP is that the IPP_B subtracts 1;By described The DP_S and DP_B, packet loss priority value DP is obtained, wherein, as the DP_S and the DP_B equal, the DP is institute State DP_B;When the DP_S is more than the DP_B, the DP is that the DP_B adds 1;When the DP_S is less than the DP_B, The DP is that the DP_B subtracts 1;The specific DSCP values are the DP and 2IPPIt is added, obtains the specific DSCP values.
  5. 5. the processing unit of data according to claim 4, it is characterised in that described device also includes:Memory module;
    The memory module, for by the five-tuple information, the specific DSCP values and the five-tuple information with it is described The mapping relations of specific DSCP values are stored into the Packet Filter.
  6. 6. the processing unit of the data according to any one of claim 4-5, it is characterised in that the scheduled field is stream Measure type TC fields or service type tos field.
CN201410564256.5A 2014-10-21 2014-10-21 A kind of processing method and processing device of data Active CN104320354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410564256.5A CN104320354B (en) 2014-10-21 2014-10-21 A kind of processing method and processing device of data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410564256.5A CN104320354B (en) 2014-10-21 2014-10-21 A kind of processing method and processing device of data

Publications (2)

Publication Number Publication Date
CN104320354A CN104320354A (en) 2015-01-28
CN104320354B true CN104320354B (en) 2018-01-12

Family

ID=52375527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410564256.5A Active CN104320354B (en) 2014-10-21 2014-10-21 A kind of processing method and processing device of data

Country Status (1)

Country Link
CN (1) CN104320354B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106034314A (en) * 2015-03-10 2016-10-19 电信科学技术研究院 Data transmission method and data transmission device
CN107852773B (en) 2015-08-25 2020-11-06 华为技术有限公司 Data transmission method, related equipment and system
CN105916176B (en) * 2016-04-18 2021-09-03 全球能源互联网研究院 Power service bearing mapping method based on LTE system
CN106330603A (en) * 2016-08-22 2017-01-11 上海国云信息科技有限公司 Connection detection method and system, client side, and DPI equipment
CN109150812A (en) * 2017-06-27 2019-01-04 西门子(中国)有限公司 Data transmission method, apparatus and system
CN109787823B (en) * 2019-01-08 2022-01-25 中国联合网络通信集团有限公司 QoS marking method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067276A (en) * 2012-12-31 2013-04-24 华为技术有限公司 Equipment and method based on application layer protocol selection link
CN103269320A (en) * 2013-04-25 2013-08-28 中国人民解放军国防科学技术大学 Data forwarding method and access router
CN103354527A (en) * 2013-07-02 2013-10-16 中国人民解放军信息工程大学 QoS improving method, device and system
CN103533527A (en) * 2013-10-17 2014-01-22 中国联合网络通信集团有限公司 Service data stream sending processing method and device
CN103618679A (en) * 2013-11-25 2014-03-05 上海华为技术有限公司 Service quality control method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067276A (en) * 2012-12-31 2013-04-24 华为技术有限公司 Equipment and method based on application layer protocol selection link
CN103269320A (en) * 2013-04-25 2013-08-28 中国人民解放军国防科学技术大学 Data forwarding method and access router
CN103354527A (en) * 2013-07-02 2013-10-16 中国人民解放军信息工程大学 QoS improving method, device and system
CN103533527A (en) * 2013-10-17 2014-01-22 中国联合网络通信集团有限公司 Service data stream sending processing method and device
CN103618679A (en) * 2013-11-25 2014-03-05 上海华为技术有限公司 Service quality control method, device and system

Also Published As

Publication number Publication date
CN104320354A (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN104320354B (en) A kind of processing method and processing device of data
CN103414600B (en) Approximate adaptation method and relevant device and communication system
CN103929368B (en) Load balance method and device for multiple service units
US20140376412A1 (en) Method and apparatus for performing charging control to application-layer data
CN109802838A (en) A kind of method and apparatus of convergent billing
CN103067943A (en) Method for confirming existence of WiFi (wireless fidelity) mobile terminal and counting number thereof
US20130326061A1 (en) Method and apparatus of determining policy and charging rules based on network resource utilization information
CN102056319A (en) Resource scheduling method and radio network controller
CN105681125A (en) Method for counting traffic of virtual machine extranet of cloud platform
CN104468273A (en) Method and system for recognizing application type of flow data
CN109587642A (en) A kind of charging method and equipment
US11558769B2 (en) Estimating apparatus, system, method, and computer-readable medium, and learning apparatus, method, and computer-readable medium
CN103250382A (en) Distribution method, apparatus and system
CN104168553A (en) Sending and charging method and device for service messages
CN105100241B (en) Identify the method and device of type of service
CN106131238B (en) The classification method and device of IP address
CN104486769B (en) A kind of choosing method and device for being worth cell
CN108551485A (en) A kind of streaming medium content caching method, device and computer storage media
CN105722049B (en) Charge on traffic, record control, application message sending method, apparatus and system
CN108510284A (en) A kind of the reason of data service is complained localization method and device
CN107071810A (en) Processing method, mobile terminal and base station that data cube computation disconnects
CN103348740B (en) A kind of access processing method, equipment and system
CN105263164A (en) Service quality control method, equipment and system
CN103929378B (en) The communication link distribution of cross-domain data transmission and cross-domain data transmission method and system
CN105871564B (en) A kind of charge on traffic method and device

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