CN103581033B - The method and apparatus of Data Stream Processing - Google Patents

The method and apparatus of Data Stream Processing Download PDF

Info

Publication number
CN103581033B
CN103581033B CN201210264139.8A CN201210264139A CN103581033B CN 103581033 B CN103581033 B CN 103581033B CN 201210264139 A CN201210264139 A CN 201210264139A CN 103581033 B CN103581033 B CN 103581033B
Authority
CN
China
Prior art keywords
stream identification
data flow
business data
rohc
processing module
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
CN201210264139.8A
Other languages
Chinese (zh)
Other versions
CN103581033A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Chongqing Cyit Communication 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 Chongqing Cyit Communication Technologies Co Ltd filed Critical Chongqing Cyit Communication Technologies Co Ltd
Priority to CN201210264139.8A priority Critical patent/CN103581033B/en
Publication of CN103581033A publication Critical patent/CN103581033A/en
Application granted granted Critical
Publication of CN103581033B publication Critical patent/CN103581033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A kind of method that the invention discloses Data Stream Processing, including: the first processing module receives business data flow, and is that described business data flow distributes stream identification;Described first processing module sends the business data flow with described stream identification to the second processing module;After described second processing module receives the described business data flow with described stream identification, determine the head compression ROHC entity of vigorousness corresponding to described stream identification according to described stream identification, and be pushed to the described business data flow with described stream identification in described ROHC entity carry out ROHC compression.The embodiment of the present invention, by after carrying out a business data flow identification marking, directly uses stream identification to distinguish different business data flows in other modules, thus improves the efficiency of Data Stream Processing.

Description

The method and apparatus of Data Stream Processing
Technical field
The present invention relates to communication technical field, be specifically related to Data Stream Processing in grouped data equipment method and Equipment.
Background technology
In mobile communications, business datum mainly uses network interconnection agreement (IP, Internet Protocol) Mode is transmitted, and terminal or the network equipment mainly include traffic flow template to the process of business data flow (TFT) mapping and based on PDCP (PDCP, Packet Data Convergence Head compression (ROHC, Robust Header Compression) of the vigorousness of data stream Protocol).
The processing procedure of two kinds of data streams of TFT and ROHC is as follows:
Business data flow transmits in the way of IP bag, and business data flow is first carried out TFT by data stream management module After process, then it is assigned in the carrying of correspondence, then is carried out ROHC process by packet aggregation module.
TFT processes the process of data stream: by IP message and packet filter (PF, packet filter) Mating, concrete matching process is: can use destination address and subnet mask, protocol number (IPv4)/next Stem (IPv6), destination port range, destination interface scope, ipsec security parameter reference (SPI), service class Type (IPv4)/type of service (IPv6) and the information such as mask, stream label (IPv6) enter comparison one by one, determine that IP reports The corresponding external bus interface (EBI, External Bus Interface) of TFT, each TFT that literary composition is corresponding Value, finds the Data Radio Bearer of its correspondence to be transmitted according to this EBI value, if IP message cannot be with institute Some graders mate then, and this message is transmitted on the Radio Resource that default bearing is corresponding.
ROHC processing procedure is: first pass through the compressor that header packet information judges that data stream is corresponding, then should Data stream in corresponding compressor and are compressed.
Judge process destination address to be used and subnet mask, protocol number (IPv4)/next stem (IPv6), source Port range, destination interface scope, ipsec security parameter reference (SPI), COS (IPv4)/service class Type (IPv6) and the information such as mask, stream label (IPv6) are compared one by one, find IP message corresponding after comparison Compressor, then IP message is delivered to correspondence compressor be compressed.
It was found by the inventors of the present invention that the either TFT processing procedure to data stream, or ROHC pair The processing procedure of data stream, is required for carrying out the comparison of multiple byte, thus reduces the effect of Data Stream Processing Rate, technical scheme of the prior art, it is not applied for quick transmission network.
Summary of the invention
The embodiment of the present invention provides a kind of method of Data Stream Processing, can improve the speed of Data Stream Processing. The embodiment of the present invention additionally provides corresponding equipment.
First aspect present invention provides a kind of method of Data Stream Processing, including:
First processing module receives business data flow, and is that described business data flow distributes stream identification;
Described first processing module sends the business datum with described stream identification to the second processing module Stream;
After described second processing module receives the described business data flow with described stream identification, according to Described stream identification determines the head compression ROHC entity of vigorousness corresponding to described stream identification, and will The described business data flow with described stream identification is pushed in described ROHC entity carry out ROHC pressure Contracting.
In conjunction with first aspect, in the implementation that the first is possible, described first processing module is described industry Business data stream distribution stream identification, specifically includes:
Described first processing module is by the header in described business data flow and the parameter of packet filter PF Compare;
When described first processing module compares the PF matched with the header in described business data flow, will Stream identification corresponding for described PF distributes to described business data flow;
When described first processing module does not compares the PF matched with the header in described business data flow, It is new PF parameter by the reference record in the header of described business data flow, and corresponding described new PF Parameter, creates a new PF, and is that described business data flow distributes an original business data flow Mark.
In conjunction with first aspect or the first possible implementation of first aspect, in the realization that the second is possible In mode, described second processing module determines corresponding being good for of described stream identification according to described stream identification The head compression ROHC entity of strong property, and the described business data flow with described stream identification is pushed to Described ROHC entity carries out ROHC compression specifically include:
Described second processing module is according to described stream identification, from the stream identification of pre-stored and passage mark Know in the corresponding relation of CID and search ROHC entity corresponding for described CID;
When described second processing module finds the ROHC entity of corresponding described stream identification, by described band The business data flow having described stream identification is pushed in described ROHC entity carry out ROHC compression.
In conjunction with first aspect or the first possible implementation of first aspect, in the realization that the third is possible In mode, described second processing module determines corresponding being good for of described stream identification according to described stream identification The head compression ROHC entity of strong property, and the described business data flow with described stream identification is pushed to Described ROHC entity carries out ROHC compression specifically include:
Described second processing module is according to described stream identification, from the stream identification of pre-stored with CID's Corresponding relation is searched ROHC entity corresponding for described CID;
When described second processing module does not finds the ROHC entity of corresponding described stream identification, create one Individual new ROHC entity, and the described business data flow with described stream identification is pushed to described newly The ROHC entity created carries out ROHC compression.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, also Including:
Described second processing module is described newly created ROHC entity one gap marker CID of distribution, and The described stream identification of corresponding storage and described CID.
Second aspect present invention provides a kind of Data Stream Processing equipment, including: at the first processing module and second Reason module;
Described first processing module, is used for receiving business data flow, and is that described business data flow distributes data Traffic identifier, and send the business data flow with described stream identification to the second processing module;
Described second processing module, for receiving the described business data flow with described stream identification After, determine that according to described stream identification the head compression ROHC of vigorousness corresponding to described stream identification is real Body, and be pushed to the described business data flow with described stream identification in described ROHC entity carry out ROHC compresses.
In conjunction with second aspect, in the implementation that the first is possible, described first processing module includes:
Comparing unit, for carrying out the parameter of the header in described business data flow and packet filter PF Relatively;
First allocation unit, for comparing and the header in described business data flow at described comparing unit During the PF matched, stream identification corresponding for described PF is distributed to described business data flow;
First creating unit, believes with the head in described business data flow for not comparing at described comparing unit During the PF that manner of breathing mates, it is new PF parameter by the reference record in the header of described business data flow, And the described new PF parameter of correspondence, create a new PF;
Described first allocation unit, is additionally operable to after described first creating unit creates new PF, for described industry Business data stream one original business datum traffic identifier of distribution.
In conjunction with the first possible implementation of second aspect or second aspect, in the reality that the second is possible In existing mode, described second processing module includes:
First searches unit, for according to described stream identification, from stream identification and the passage of pre-stored The corresponding relation of mark CID searches ROHC entity corresponding for described CID;
First pushes compression unit, finds corresponding described stream identification for searching unit described first ROHC entity time, the described business data flow with described stream identification is pushed to described ROHC Entity carries out ROHC compression.
In conjunction with the first possible implementation of second aspect or second aspect, in the reality that the third is possible In existing mode, described second processing module includes:
Second searches unit, for according to described stream identification, from stream identification and the passage of pre-stored The corresponding relation of mark CID searches ROHC entity corresponding for described CID;
Second creating unit, does not finds corresponding described stream identification for searching unit described second During ROHC entity, create a new ROHC entity;
Second pushes compression unit, for being pushed to by the described business data flow with described stream identification The ROHC entity that described second creating unit is newly created carries out ROHC compression.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation, described Second processing module also includes:
Second allocation unit, distributes one for the ROHC entity newly created for described second creating unit and leads to Road mark CID;
Association memory element, distributes for the correspondence described stream identification of storage and described second allocation unit CID。
The embodiment of the present invention uses the first processing module to receive business data flow, and is described business datum flow point Join stream identification;Described first processing module sends with described stream identification to the second processing module Business data flow;Described second processing module receives the described business data flow with described stream identification After, determine that according to described stream identification the head compression ROHC of vigorousness corresponding to described stream identification is real Body, and be pushed to the described business data flow with described stream identification in described ROHC entity carry out ROHC compresses.Handling process each with prior art will carry out compared with the comparison of multiple byte, this Bright embodiment, by after carrying out a business data flow identification marking, directly uses number in other modules Distinguish different business data flows according to traffic identifier, thus improve the efficiency of Data Stream Processing.
Accompanying drawing explanation
Fig. 1 is an embodiment schematic diagram of the method for Data Stream Processing in the embodiment of the present invention;
Fig. 2 is the schematic diagram in the embodiment of the present invention in application scenarios embodiment;
Fig. 3 is another schematic diagram in the embodiment of the present invention in application scenarios embodiment;
Fig. 4 is Another Application scene embodiment schematic diagram in the embodiment of the present invention;
Fig. 5 is an embodiment schematic diagram of Data Stream Processing equipment in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of Data Stream Processing equipment in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of Data Stream Processing equipment in the embodiment of the present invention;
Fig. 8 is another embodiment schematic diagram of Data Stream Processing equipment in the embodiment of the present invention;
Fig. 9 is another embodiment schematic diagram of Data Stream Processing equipment in the embodiment of the present invention.
Detailed description of the invention
The embodiment of the present invention provides a kind of method of Data Stream Processing, can improve the speed of Data Stream Processing. The embodiment of the present invention also provides for corresponding equipment.It is described in detail individually below.
Refering to Fig. 1, an embodiment of the method for the Data Stream Processing that the embodiment of the present invention provides includes:
101, the first processing module receives business data flow, and fails to be sold at auction for described business data flow distribution data Know.
102, described first processing module sends the business with described stream identification to the second processing module Data stream;
103, after described second processing module receives the described business data flow with described stream identification, The head compression ROHC entity of vigorousness corresponding to described stream identification is determined according to described stream identification, And be pushed in described ROHC entity carry out by the described business data flow with described stream identification ROHC compresses.
The embodiment of the present invention uses the first processing module to receive business data flow, and is described business datum flow point Join stream identification;Described first processing module sends with described stream identification to the second processing module Business data flow;Described second processing module receives the described business data flow with described stream identification After, determine that according to described stream identification the head compression ROHC of vigorousness corresponding to described stream identification is real Body, and be pushed to the described business data flow with described stream identification in described ROHC entity carry out ROHC compresses.Handling process each with prior art will carry out compared with the comparison of multiple byte, this Bright embodiment, by after carrying out a business data flow identification marking, directly uses number in other modules Distinguish different business data flows according to traffic identifier, thus improve the efficiency of Data Stream Processing.
Alternatively, on the basis of the embodiment that above-mentioned Fig. 1 is corresponding, the data stream that the embodiment of the present invention provides Another embodiment of the method processed includes:
Described first processing module is that described business data flow distributes stream identification, specifically includes: described the The parameter of the header in described business data flow and packet filter PF is compared by one processing module;Institute State the first processing module when comparing the PF matched with the header in described business data flow, by described Stream identification corresponding for PF distributes to described business data flow;Described first processing module does not compares and institute When stating the PF that the header in business data flow matches, by the parameter in the header of described business data flow It is recorded as new PF parameter, and corresponding described new PF parameter, creates a new PF, and be described industry Business data stream one original business datum traffic identifier of distribution.
Alternatively, on the basis of the alternative embodiment that above-mentioned Fig. 1 and Fig. 1 is corresponding, described second processing module The head compression ROHC entity of vigorousness corresponding to described stream identification is determined according to described stream identification, And be pushed in described ROHC entity carry out by the described business data flow with described stream identification ROHC compression specifically includes: described second processing module is according to described stream identification, from the number of pre-stored According to traffic identifier with the corresponding relation of gap marker CID is searched ROHC entity corresponding for described CID;Described When second processing module finds the ROHC entity of corresponding described stream identification, by described with described number It is pushed in described ROHC entity carry out ROHC compression according to the business data flow of traffic identifier.
Alternatively, on the basis of the alternative embodiment that above-mentioned Fig. 1 and Fig. 1 is corresponding, described second processing module The head compression ROHC entity of vigorousness corresponding to described stream identification is determined according to described stream identification, And be pushed in described ROHC entity carry out by the described business data flow with described stream identification ROHC compression specifically includes: described second processing module is according to described stream identification, from the number of pre-stored According to the ROHC entity that traffic identifier is corresponding with searching described CID in the corresponding relation of CID;Described second processes When module does not finds the ROHC entity of corresponding described stream identification, create a new ROHC entity, And the described business data flow with described stream identification is pushed to described newly created ROHC entity In carry out ROHC compression.
Described second processing module is described newly created ROHC entity one gap marker CID of distribution, and The described stream identification of corresponding storage and described CID.
In order to make it easy to understand, below as a example by a concrete application scenarios, describe the embodiment of the present invention in detail The process of middle Data Stream Processing:
In the embodiment of the present invention, the first processing module can be understood as traffic flow template to the process of data stream The processing procedure of TFT, is described in detail referring next to Fig. 2:
201, the first processing module receives business data flow.
This business data flow can be IP traffic, can include destination in the header of this business data flow Location and subnet mask, protocol number (IPv4)/next stem (IPv6), source port, destination interface, ipsec security Part in parameter reference (SPI), COS (IPv4)/type of service (IPv6) and mask, stream label (IPv6) Or all.
202, mate according to packet filter (PF, the packet filter) parameter of network configuration.
PF parameter include destination address and subnet mask, protocol number (IPv4)/next stem (IPv6), source port, Destination interface, ipsec security parameter reference (SPI), COS (IPv4)/type of service (IPv6) and mask, Stream label (IPv6).
In same packet filter, in above 7 kinds of parameters, some parameters can coexist, and also has some parameters It is incompatible.Table 1 gives the efficient combination of packet filter parameter, marks with " X " with in string The parameter of note can coexist in same packet filter.
Table 1: the efficient combination table of packet filter parameter
203, whether with the presence of matched packet filter.
Parameter in business data flow can be compared with the PF parameter in table 1, for example, first Omparison purpose address and subnet mask, then compare protocol number (IPv4)/next stem (IPv6), if packet header Not this content in information, then be type of data packet III form, compare residue according to type of data packet III TOS (IPv4)/type of service (IPv6) and mask and stream label (IPv6);If there is protocol number (IPv4)/ Next stem (IPv6), the then content of reference source range of port number, without this content, be then data Packet type II form, type of data packet II form, continues to compare IPSec SPI and TOS (IPv4)/service class Type (IPv6) and mask;If the content of source port number scope, then can only be type of data packet I, continue ratio Relatively destination slogan scope and TOS (IPv4)/type of service (IPv6) and mask.Compare confirmation business number successively The PF of correspondence whether is had according to the header of stream.
204, in the presence of the PF having correspondence, by the identification record of data stream corresponding for this PF to this business In data stream.
In TFT processing procedure, first definition one stream identification dataflowId variable, by each solely Vertical PF distributes a business datum traffic identifier dataflowId value, according to the matching principle of TFT, if Business data flow finds the PF of correspondence in TFT, then this business data flow holds at corresponding private radio Send in load, otherwise send on acquiescence radio bearer.Business datum flow structure (servicePacketDataStruct) table 2 form it is defined as.
Table 2: the structural table of business data flow
Content Remarks
dataflowId The mark of business data flow
servicePacketData Business data flow
Business data flow can use array representation, it would however also be possible to employ pointer mode represents.
205, this business data flow is sent on radio bearer corresponding to this PF.
206, in the presence of the PF not having correspondence, it is PF by the reference record in the header of this data stream Parameter, forms the PF that first processing module oneself creates, and distributes one for this business data flow Original stream identification.
207, because there is no the PF of correspondence, so described business data flow being sent in the carrying of acquiescence It is transmitted.
In the embodiment of the present invention, the second processing module can be understood as the head of vigorousness to the process of data stream The process of compression (ROHC, Robust Header Compression), is carried out specifically referring next to Fig. 3 Bright:
301, the second processing module receives the business data flow with stream identification.
302, judge whether are described stream identification and gap marker (CID, Channel identification) There are mapping relations.
The corresponding ROHC entity of each CID.
303, when stream identification and gap marker exist mapping relations, by described with stream identification Business data flow is pushed to ROHC entity corresponding for described CID and is compressed.
304, when stream identification does not exists mapping relations with gap marker, a new ROHC is created Entity, and be this newly created ROHC entity one new CID of distribution.
305, association storage stream identification and this newly assigned CID.
306, the described business data flow with stream identification is pushed to this newly created ROHC entity In be compressed.
From use above scene embodiment, can clearly draw, carry out a business data flow identification After mark, stream identification is directly used to distinguish different business data flows in other modules, thus Improve the efficiency of Data Stream Processing.
In order to understand this invention of explanation application in the actual communications field, will be exemplified below this invention Use in mobile device.
The embodiment of the present invention is with the mobile device in Long Term Evolution (LTE, Long Term Evolution) system In use as a example by illustrate, actually technical scheme is equally applicable to WCDMA (WCDMA, Wideband Code Division Multiple Access) system, global system for mobile telecommunications system System (GSM, Global System of Mobile communication) and time-division code division synchronize multiple access (TD-SCDMA, Time Division-Synchronous Code Division Multiple Access) is System.
Refering to Fig. 4, between mobile device 20 and application apparatus 10 hardware use USB (universal serial bus) (USB, Universal Serial BUS) interface,
TFT matching feature realizes in data flow control module 210, and data flow control module 210 is responsible for number Interface communication between applying according to path and protocol stack and agreement, it is achieved TFT to the coupling of business datum and Corresponding EBI value is searched, and implements function as follows: data flow control module 210 receives USB interface and sends out The uplink business data message sent, finds the external bus interface of correspondence by the coupling of TFT module 2101 (EBI, External Bus Interface), sends uplink business data message to RAB pipe Reason (RABM, Radio Acess Bearer Mangement) module 220;RABM module 220 receives Business datum message after the match is successful through TFT module 2101 in data flow control module 210, And Data Radio Bearer (DRB, the Data of its correspondence is found according to the EBI value of business datum message distribution Radio Bearer)。
For with the TFT module 2101 processing procedure to business data flow, one PF list of network configuration, Each PF reference record is s_PF_param structure.Simultaneously defined in the TFT module of mobile device TFT parameter list a_TFT_list, a_TFT_list are by s_PF_param and a dataflowId parameter The array of composition.
It is as follows that this invention citing in LTE mobile device realizes flow process:
First step: from the business data flow of application apparatus 10, by USB interface, be sent to data Flow control module 210, the stream identification of in the future self-application equipment 10 in data flow control module 210 For the structure pointer of p_servicePacketData, this pointer is servicePacketDataStruct type Pointer.
Second step: in data flow control module 210, first calls TFT functions of modules, at TFT Data stream head in the servicePacketData business datum in module, p_servicePacketData pointed to Compare with the s_PF_param in a_TFT_list array, if in comparison procedure, find ServicePacketData data stream head has the s_PF_param of correspondence at a_TFT_list, then TFT module is straight Meet the dataflowId being assigned in p_servicePacketData by the dataflowId in a_TFT_list.
Further, at data stream header and the a_TFT_list of servicePacketData business datum During s_PF_param in array compares, the most omparison purpose address and subnet mask, then Relatively protocol number (IPv4)/next stem (IPv6), if not this content in packet header, is then packet Type-iii form, according to the more remaining TOS of type of data packet III (IPv4)/type of service (IPv6) With mask and stream label (IPv6);If there is protocol number (IPv4)/next stem (IPv6), then reference source The content of range of port number, without this content, is then type of data packet II form, packet class Type II form, continues to compare IPSec SPI and TOS (IPv4)/type of service (IPv6) and mask;If The content of source port number scope, then can only be type of data packet I, continue omparison purpose range of port number and TOS (IPv4)/type of service (IPv6) and mask.Compare successively in confirmation p_servicePacketData Whether servicePacketData exists the record of correspondence at a_TFT_list.
In the comparison procedure of this step, the servicePacketData in p_servicePacketData exists A_TFT_list does not has the record of correspondence, according to the data stream header in servicePacketData, increases Add mono-record of a_TFT_list, s_PF_param records this traffic flow information, and distributes one Original dataflowId value.
In this step, data flow control module 210 will form a complete p_servicePacketData Data stream is sent to RABM module 220, RABM module 220 be again forwarded to the packet count of correspondence According to converging in (PDCP, Packet Data Convergence Protocol) module 230.
Third step: in PDCP module 230, saves a record in ROHC module 2301 The structure of dataflowId and ROHC CID, this structure is defined as: a_TFTandRohcStreamId. The corresponding ROHC entity of the most each ROHC CID.
PDCP module 230 receives after RABM module 220 data stream, first basis DataflowId in p_servicePacketData searches in a_TFTandRohcStreamId array, looks into See and whether there is the ROHC entity creating correspondence for this business data flow.
If in search procedure, it is corresponding that ROHC module 2301 have found p_servicePacketData ROHC entity, then p_servicePacketData is directly sent to correspondence by ROHC module 2301 In ROHC entity.
If in search procedure, ROHC module 2301 does not find p_servicePacketData corresponding ROHC entity, then increase a new record at a_TFTandRohcStreamId, in this record DataflowId is from the dataflowId of p_servicePacketData, and additionally ROHC module 2301 is by root Distribute a untapped CID value according to ROHC agreement, and the ROHC creating a new data stream is real P_servicePacketData data are finally sent in newly created ROHC entity by body.
In ROHC entity, ROHC module need not in the identification process carrying out a secondary data stream, other Process then identical with ROHC protocol processes.
The technical scheme that the present invention provides may be used for any needs and supports that communicating of TFT with ROHC function is real In body, this communication entity can be the network equipment, it is also possible to be mobile communication terminal, it is also possible to be in equipment A device.
Refering to Fig. 5, an embodiment of the Data Stream Processing equipment that the embodiment of the present invention provides includes: at first Reason module 400 and the second processing module 410;
Described first processing module 400, is used for receiving business data flow, and is the distribution of described business data flow Stream identification, and send the business data flow with described stream identification to the second processing module;
Described second processing module 410, for receiving the described business datum with described stream identification After stream, determine the head compression ROHC of vigorousness corresponding to described stream identification according to described stream identification Entity, and be pushed in described ROHC entity enter by the described business data flow with described stream identification Row ROHC compresses.
In the embodiment of the present invention, described first processing module 400 receives business data flow, and is described business Data stream distribution stream identification, and send the business number with described stream identification to the second processing module According to stream;
After described second processing module 410 receives the described business data flow with described stream identification, The head compression ROHC entity of vigorousness corresponding to described stream identification is determined according to described stream identification, And be pushed in described ROHC entity carry out by the described business data flow with described stream identification ROHC compresses.Handling process each with prior art will carry out compared with the comparison of multiple byte, this The equipment that bright embodiment provides is by after carrying out a business data flow identification marking, in other modules Directly use stream identification to distinguish different business data flows, thus improve the effect of Data Stream Processing Rate.
On the basis of the embodiment that above-mentioned Fig. 5 is corresponding, refering to Fig. 6, the equipment that the embodiment of the present invention provides In another embodiment, described first processing module 400 includes:
Comparing unit 4001, for by the header in described business data flow and the parameter of packet filter PF Compare;
First allocation unit 4002, for described comparing unit 4001 compare with in described business data flow Header match PF time, stream identification corresponding for described PF is distributed to described business data flow;
First creating unit 4003, for described comparing unit do not compare with in described business data flow During the PF that header matches, it is new PF ginseng by the reference record in the header of described business data flow Number, and corresponding described new PF parameter, create a new PF;
Described first allocation unit 4002, is additionally operable to create described new PF in described first creating unit 4003 After, distribute an original business datum traffic identifier for described business data flow.
On the basis of the embodiment that above-mentioned Fig. 5 or Fig. 6 is corresponding, refering to Fig. 7, the embodiment of the present invention provides In another embodiment of equipment, described second processing module 410 includes:
First searches unit 4101, for according to described stream identification, from the stream identification of pre-stored with The corresponding relation of gap marker CID is searched ROHC entity corresponding for described CID;
First pushes compression unit 4102, finds corresponding described number for searching unit 4101 described first During according to the ROHC entity of traffic identifier, the described business data flow with described stream identification is pushed to institute State and ROHC entity carries out ROHC compression.
On the basis of the embodiment that above-mentioned Fig. 5 or Fig. 6 is corresponding, refering to Fig. 8, the embodiment of the present invention provides In another embodiment of equipment, described second processing module 410 includes:
Second searches unit 4103, for according to described stream identification, from the stream identification of pre-stored with The corresponding relation of gap marker CID is searched ROHC entity corresponding for described CID;
Second creating unit 4104, does not finds corresponding described data for searching unit 4103 described second During the ROHC entity of traffic identifier, create a new ROHC entity;
Second pushes compression unit 4105, for being pushed away by the described business data flow with described stream identification Deliver to the ROHC entity that described second creating unit 4104 is newly created carries out ROHC compression.
On the basis of the embodiment that above-mentioned Fig. 8 is corresponding, refering to Fig. 9, the equipment that the embodiment of the present invention provides In another embodiment, described second processing module 410 also includes:
Second allocation unit 4106, for dividing for the ROHC entity that described second creating unit 4104 is newly created Join a gap marker CID;
Association memory element 4107, stores described stream identification and described second allocation unit for correspondence The CID of 4106 distribution.
The Data Stream Processing equipment that the multiple embodiment of the present invention provides, can be carried out a business data flow and knows Not Biao Shi after, directly use stream identification to distinguish different business data flows in other modules, from And improve the efficiency of Data Stream Processing.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment Suddenly the program that can be by completes to instruct relevant hardware, and this program can be stored in a computer-readable In storage medium, storage medium may include that ROM, RAM, disk or CD etc..
The method of the Data Stream Processing provided the embodiment of the present invention above and equipment have carried out detailed Jie Continuing, principle and the embodiment of the present invention are set forth by specific case used herein, above enforcement The explanation of example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for this area Those skilled in the art, according to the thought of the present invention, the most all can change Part, in sum, this specification content should not be construed as limitation of the present invention.

Claims (6)

1. the method for a Data Stream Processing, it is characterised in that including:
First processing module receives business data flow, and is that described business data flow distributes stream identification;
Described first processing module sends the business datum with described stream identification to the second processing module Stream;
After described second processing module receives the described business data flow with described stream identification, root The head compression ROHC entity of vigorousness corresponding to described stream identification is determined according to described stream identification, and It is pushed to the described business data flow with described stream identification in described ROHC entity carry out ROHC compresses;
Wherein, according to described stream identification, described second processing module determines that described stream identification is corresponding The head compression ROHC entity of vigorousness, and the described business data flow with described stream identification is pushed away Deliver to that described ROHC entity carries out ROHC compression specifically include:
Described second processing module is according to described stream identification, from stream identification and the passage of pre-stored The corresponding relation of mark CID searches ROHC entity corresponding for described CID;
When described second processing module finds the ROHC entity of corresponding described stream identification, by described band The business data flow having described stream identification is pushed in described ROHC entity carry out ROHC compression;
Wherein, described first processing module is that described business data flow distributes stream identification, specifically includes:
Described first processing module is by the header in described business data flow and the parameter of packet filter PF Compare;
When described first processing module compares the PF matched with the header in described business data flow, Stream identification corresponding for described PF is distributed to described business data flow;
Described first processing module does not compares the PF matched with the header in described business data flow Time, it is new PF parameter by the reference record in the header of described business data flow, and correspondence is described newly PF parameter, create a new PF, and be that described business data flow distributes an original business Stream identification.
Method the most according to claim 1, it is characterised in that described second processing module is according to institute State stream identification and determine the head compression ROHC entity of vigorousness corresponding to described stream identification, and by institute State the business data flow with described stream identification to be pushed in described ROHC entity carry out ROHC pressure Contracting specifically includes:
Described second processing module is according to described stream identification, from the stream identification of pre-stored with CID's Corresponding relation is searched ROHC entity corresponding for described CID;
When described second processing module does not finds the ROHC entity of corresponding described stream identification, create one Individual new ROHC entity, and the described business data flow with described stream identification is pushed to described newly The ROHC entity created carries out ROHC compression.
Method the most according to claim 2, it is characterised in that also include:
Described second processing module is described newly created ROHC entity one gap marker CID of distribution, and The described stream identification of corresponding storage and described CID.
4. a Data Stream Processing equipment, it is characterised in that including: the first processing module and second processes Module;
Described first processing module, is used for receiving business data flow, and is that described business data flow distributes number According to traffic identifier, and send the business data flow with described stream identification to the second processing module;
Described second processing module, for receiving the described business data flow with described stream identification After, the head compression ROHC of vigorousness corresponding to described stream identification is determined according to described stream identification Entity, and be pushed in described ROHC entity enter by the described business data flow with described stream identification Row ROHC compresses;
Wherein, described second processing module includes:
First searches unit, for according to described stream identification, from the stream identification of pre-stored with logical The corresponding relation of road mark CID searches ROHC entity corresponding for described CID;
First pushes compression unit, fails to be sold at auction for finding corresponding described data at described first lookup unit During the ROHC entity known, the described business data flow with described stream identification is pushed to described ROHC entity carries out ROHC compression;
Wherein, described first processing module includes:
Comparing unit, for entering the parameter of the header in described business data flow and packet filter PF Row compares;
First allocation unit, believes with the head in described business data flow for comparing at described comparing unit During the PF that manner of breathing mates, stream identification corresponding for described PF is distributed to described business data flow;
First creating unit, for not comparing and the head in described business data flow at described comparing unit During the PF of information match, it is new PF parameter by the reference record in the header of described business data flow, And the described new PF parameter of correspondence, create a new PF;
Described first allocation unit, is additionally operable to after described first creating unit creates described new PF, for Described business data flow one original business datum traffic identifier of distribution.
Equipment the most according to claim 4, it is characterised in that described second processing module includes:
Second searches unit, for according to described stream identification, from the stream identification of pre-stored with logical The corresponding relation of road mark CID searches ROHC entity corresponding for described CID;
Second creating unit, does not finds corresponding described stream identification for searching unit described second ROHC entity time, create a new ROHC entity;
Second pushes compression unit, for being pushed by the described business data flow with described stream identification ROHC compression is carried out in the ROHC entity that described second creating unit is newly created.
Equipment the most according to claim 5, it is characterised in that described second processing module also includes:
Second allocation unit, distributes one for the ROHC entity newly created for described second creating unit and leads to Road mark CID;
Association memory element, stores described stream identification and described second allocation unit distribution for correspondence CID.
CN201210264139.8A 2012-07-27 2012-07-27 The method and apparatus of Data Stream Processing Active CN103581033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210264139.8A CN103581033B (en) 2012-07-27 2012-07-27 The method and apparatus of Data Stream Processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210264139.8A CN103581033B (en) 2012-07-27 2012-07-27 The method and apparatus of Data Stream Processing

Publications (2)

Publication Number Publication Date
CN103581033A CN103581033A (en) 2014-02-12
CN103581033B true CN103581033B (en) 2016-12-21

Family

ID=50051995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210264139.8A Active CN103581033B (en) 2012-07-27 2012-07-27 The method and apparatus of Data Stream Processing

Country Status (1)

Country Link
CN (1) CN103581033B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9559854B2 (en) * 2014-06-23 2017-01-31 Cisco Technology, Inc. Managing rendezvous point redundancy in a dynamic fabric network architecture
CN105183448A (en) * 2015-07-23 2015-12-23 柳州永旺科技有限公司 Method for generating client software environment
CN106649352B (en) * 2015-10-30 2020-03-03 北京国双科技有限公司 Data processing method and device
CN108631940B (en) * 2017-03-24 2019-10-18 维沃移动通信有限公司 A kind of data transmission method, sending ending equipment and receiving device
CN108809584B (en) 2017-05-05 2021-05-18 华为技术有限公司 Data transmission method and communication equipment
CN108200604B (en) * 2017-12-26 2021-04-13 Oppo广东移动通信有限公司 Data transmission method and device
CN110401604B (en) * 2018-04-25 2023-05-09 中国移动通信有限公司研究院 Information transmission method, device and computer readable storage medium
KR20200053204A (en) * 2018-11-08 2020-05-18 삼성전자주식회사 Storage device, operating method of storage device and operating method of host controlling storage device
CN111277556B (en) * 2019-01-30 2023-04-07 维沃移动通信有限公司 Processing method and communication device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1802567A (en) * 2003-07-08 2006-07-12 思科技术公司 Performing compression of user datagram protocol packets
CN1949742A (en) * 2005-10-12 2007-04-18 华为技术有限公司 Data transmission method
CN101400083A (en) * 2007-09-29 2009-04-01 华为技术有限公司 Method, system and device for head compression of packet and service stream classified sending

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1802567A (en) * 2003-07-08 2006-07-12 思科技术公司 Performing compression of user datagram protocol packets
CN1949742A (en) * 2005-10-12 2007-04-18 华为技术有限公司 Data transmission method
CN101400083A (en) * 2007-09-29 2009-04-01 华为技术有限公司 Method, system and device for head compression of packet and service stream classified sending

Also Published As

Publication number Publication date
CN103581033A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN103581033B (en) The method and apparatus of Data Stream Processing
US11652911B2 (en) Handling different protocol data unit types in a device to device communication system
KR100886551B1 (en) Apparatus for traffic flow template packet filtering according to internet protocol version in mobile communication system and method thereof
CN100589441C (en) IP packet compression method for terminal-to-terminal link transmission
CN103313308B (en) A kind of data transmission method and equipment
US20080304456A1 (en) Communication System, Radio Lan Base Station Control Device, and Radio Lan Base Station Device
CN104243268A (en) Association method and device between virtual extensible local area networks (VXLAN) and tunnel
CN103178931B (en) Data frame transmission method and device
CN106332183A (en) Traffic control method, traffic control processing method, traffic control device, traffic control processing device and terminal
CN103095654A (en) Virtual local area network (VLAN) configuration method, wireless access point and network control point
CN102014039B (en) Data transmission method and access point
CN104993993A (en) Message processing method, device, and system
CN103347302A (en) Dynamic service bandwidth allocation method in SCPC/DAMA satellite system
CN104685839A (en) Method and apparatus for processing packet
CN106304036A (en) A kind of method and apparatus that junction traffic is provided
CN103685032B (en) Message forwarding method and network address translation services device
CN103428800A (en) Route selection method and functional network element
US9794852B2 (en) Routing an IP session over WLAN
CN105933235A (en) Data communication method and data communication device
CN102355508B (en) Method, system and gateway for realizing remote communication between client and base station group
CN100479457C (en) Implementation method for transferring data in virtual private network
CN109167774B (en) Data message and data stream safety mutual access method on firewall
US20160036600A1 (en) Gateway device, network system including gateway device, air-conditioning outdoor unit, and air-conditioning network system
CN102438228A (en) Method and system for associating user information through data of GPRS (General Packet Radio Service) backbone network
CN104639448B (en) Base station retransmission method and system in a kind of lte-a system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170502

Address after: Nanping Street 400060 Chongqing Nan'an District Nancheng Road No. 199 left attached to the floor 403

Patentee after: Keen (Chongqing) Microelectronics Technology Co.,Ltd.

Address before: 400065 Chongqing Nan'an District huangjuezhen pass Fort Park No. 1

Patentee before: CHONGQING CYIT COMMUNICATION TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181107

Address after: 201203 Building 1, exhibition hall, 2288 lane, 2288 Chong, road, Zhangjiang hi tech park, Shanghai

Patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 400060 Nanping Road 199, Nanping Street, Nan'an District, Chongqing, 403

Patentee before: Keen (Chongqing) Microelectronics Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190325

Address after: 361006 Xiamen Free Trade Pilot Area, Xiamen, Fujian Province, Unit X, 8th Floor, Unit 05, Building D, Xiamen International Shipping Center, 97 Xiangyu Road, Xiamen Section

Patentee after: Xinxin Finance Leasing (Xiamen) Co.,Ltd.

Address before: 201203 Building 1, exhibition hall, 2288 lane, 2288 Chong, road, Zhangjiang hi tech park, Shanghai

Patentee before: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140212

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xinxin Finance Leasing (Xiamen) Co.,Ltd.

Contract record no.: X2021110000009

Denomination of invention: Method and equipment of data stream processing

Granted publication date: 20161221

License type: Exclusive License

Record date: 20210317

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221014

Address after: 201203 Shanghai city Zuchongzhi road Pudong New Area Zhangjiang hi tech park, Spreadtrum Center Building 1, Lane 2288

Patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 361006 Xiamen Free Trade Pilot Area, Xiamen, Fujian Province, Unit X, 8th Floor, Unit 05, Building D, Xiamen International Shipping Center, 97 Xiangyu Road, Xiamen Section

Patentee before: Xinxin Finance Leasing (Xiamen) Co.,Ltd.