It is on March 31st, 2011 that the application requires the applying date; Application number is 201110081282.9; Denomination of invention is a kind of priority in first to file that is used to improve wireless communication system services data Quality sorting technique and device, should all embody in this application at the full content of first to file.
It is on April 27th, 2011 that the application requires the applying date, and application number is 201110106857.8, and denomination of invention is the priority in first to file of a kind of data processing method, Apparatus and system, should all embody in this application at the full content of first to file.
Background technology
Along with the development of wireless network, wireless communication system obtains use more and more widely, and like WIFI, 3G, LTE or the like, the various communication technologys also become a flash point day by day in the contention of " final jump " of wireless domain.The mobile Internet epoch arrive, and various portable terminals emerge in an endless stream, for example ipad, iphone, net book, intelligence basis, various intelligent mobile phone terminals or the like.Audio frequency, video, webpage, constant rate of speed business etc. have begun to shift to wireless transmission medium from the wire transmission medium.
A series of service models in the IP protocol suite, have been defined; Be meant one group of service quality (QoS end to end; Quality of Service) function specifically is divided into three kinds of service models: Best-Effort service (service model of doing one's best), Integrated service (integrated service model) Differentiated service (differentiated service).Best-Effort service is the default-service model of present Internet, and QoS is not provided.Integrated service is an integrated service model, is applied to LA Management Room, is not suitable for " final jump " of wireless domain.Differentiated service is a service model more than, and it can satisfy different QoS demands.Different with Integrated service, application program is before sending message, and not needing informing network equipment is its reserved resource.To Differentiated service service model, network need be for each flow maintenance state, and it provides specific service according to the QoS of each message appointment.Can specify the QoS of message with diverse ways, for example the source address of IP priority of messages (IP Precedence), message and destination address etc.Network carries out classification, traffic shaping, traffic policing and the queue scheduling of message through these information.
Message classification there are following three kinds of methods:
Simple flow sorting technique is that data message is divided into a plurality of priority or a plurality of service class; For example use the front three (being IP priority) of COS ToS (the Type of service) field of IP heading to come the mark message, can message be divided into 8 types at most; If preceding 6 of using differentiated service code point (DSCP, Differentiated Services Code Point) ToS territory then can be divided into 64 types at most.Behind message classification, just can other QoS characteristic be applied to different classification, realize class-based congestion management, traffic shaping etc.Lower floor's communication system can be provided with the strategy of message simple traffic classification, and this strategy can comprise IP precedence or the DSCP value of IP message, the EXP thresholding of MPLS message, 802.1p value of VLAN message etc.In fact, the audiovisual applications of supporting above-mentioned simple traffic classification seldom.
The complex traffic classification method is meant according to message informations such as five-tuple (source address, source port number, protocol number, destination address, destination slogan), TCP SYN classifies to message, and network manager can the flexible configuration classifying rules.Sorting result does not have scope restriction, it can be one by the definite narrow range of five-tuple (source address, source port number, protocol number, destination address, destination slogan), also can be all messages of certain network segment of coupling.Such sorting technique is applicable to the application of stiff end slogan, for example agreement such as RTP, H323.Perhaps extract the audio frequency and video form of data message use and the characteristics such as port numbers of employing from RTCP control message and SIP message.
But adopt the new-type stream media technology of dynamic ports number to take above two kinds of methods not enough for some.After identifying [destination address, destination slogan],, analyze characteristics such as average message length, message interval and confirm application type in conjunction with bandwidth information.Adopt the confirmable audiovisual applications of matching characteristic storehouse method to have: P2P Streaming Medias such as QQ voice, SkyPe voice, PPLive, UUSee are used and online request is used, and comprise Online Video program request and live for example http://zhibo8.com/ based on webpage; Http:// www.youku.com/; Http:// www.ku6.com ,/http://www.tudou.com/, http://www.shuangtv.net/; Http:// www.cntv.cn/ net etc.; And online game WOW World of Warcraft, giant, journey.
Mobile Internet and multimedia application are current trend of communicating by letter with internet development, have promoted a large amount of uses of portable terminal.And need wireless communication system that QoS is given security to moving with multimedia support.
In existing wireless communication system, provide QoS separately to support to upper-layer service.
802.11e has described 4 kinds of access categories (Access Category, AC) the realization Qos Differentiated Services: Background, Best Effort, Video and Voice of different kinds of business data among the WIFI.Wherein Video and Voice will take longer TXOP and short AIFSN.
In order to support multimedia service, be used in combination clean culture, 3 kinds of inquiry modes of multicast and broadcasting to support different QoS among the WiMax, IEEE 802.16-2004 has defined 4 kinds of dispatching services types, and the bandwidth request mode of every kind of type of service is stipulated:
Unsolicited grant service, unsolicited grant service (UGS) is used to transmit the fixed rate real-time data service, for example T1/E1 and do not have VoIP of silence compression etc.
Real-time inquiry business, inquiry business (rtPS) is used to support the variable bit rate real time business in real time, is for the business demand that satisfies dynamic change designs, for example the MPEG video traffic.
Non real-time inquiry business, non real-time inquiry business (nrtPS) are supported the non-real-time data stream of variable-length packets aperiodic, and for example, the internet that guaranteed minimum-rate requires inserts.
Best-Effort service, Best-Effort service (BE) support non real-time not have the Packet data service of any speed and delay variation requirement, and like E-mail and note etc., not requiring provides throughput and time delay to guarantee.
Comprise with these 4 kinds of relevant qos parameters of dispatch service:
-Traffic Priority service priority
The maximum service rate that continues of-Maximum Sustained Traffic Rate
-Maximum Traffic Burst maximum burst service rate
The minimum service rate that guarantees of-Minimum Reserved Traffic Rate
—?Vendor-specific?QoS?parameters
-Tolerated Jitter tolerable shake
-Maximum Latency maximum delay
-Unsolicited Grant Interval initiatively authorizes at interval
-Unsolicited Polling Interval is the polling interval initiatively
According to the qos parameter of business, be defined as four kinds of types of service among the short-distance and medium-distance wireless communication system NUHT, and adopt the different service scheduling at the MAC layer:
Periodic scheduling professional (PSS:periodically scheduling services), PSS business are to design for periodically producing the real time business stream that fixed bit divides into groups, for example: T1/E1 and do not carry out the IP voice service of silence compression.
Elongated real time business (VRT) (with the form disunity), VRT are used for carrying and produce the periodically real time business of variable-length packets data, for example: the MPEG video traffic.
Non-real-time service (NRT:non-real-time Service), NRT are supported the non-real-time data stream of variable-length packets aperiodic, the internet access service that for example guaranteed minimum-rate requires.
Best-Effort service (BE:Best Effort), BE support non real-time not have the Packet data service of any speed and delay variation requirement, and like Email and note etc., not requiring provides throughput and time delay to guarantee.
For short-distance and medium-distance wireless communication system NUHT, the qos parameter of Business Stream is following:
1) service priority
2) the maximum service rate that continues
3) maximum burst service rate
4) the minimum service rate that guarantees
5) tolerable shake
6) maximum delay
7) initiatively authorize at interval
8) active polling interval
9) bandwidth request/data transmission policies
10) SDU length
With regard to present practical application, reside on the wireless terminal the IP protocol suite to QoS support to do not high enough.A lot of audiovisual applications can't obtain the gain (benefit) that QoS brings in real bottom wireless communication protocol.Influence the not setting of field that bottom QoS is provided with during practical IP is used, cause lower floor's wireless communication system can't distinguish priority of messages; And QoS priority is provided with original intention and also is not quite similar in the priority of wireless communication system and the IP protocol suite.
In WIMAX, because the imperfection of design needs through the human configuration qos parameter.Can not dynamically confirm corresponding business type and qos parameter according to service content.
In short-distance and medium-distance wireless communication system NUHT; Though distinguished type of service and qos parameter set thereof; But can not be directly classify, thereby QoS characteristic that can not good use short-distance and medium-distance wireless communication system NUHT provides the QoS service experience of high-quality for the user each transmission data.
In WIFI, because the IP data in the overwhelming majority's application, are not provided with DSCP or tos field, cause the QoS design of WIFI lack scope for their abilities, can not make the user experience the good service that WIFI QoS provides.
Existing packet classification method is mainly used in IP and upper layer application thereof, do not carry out message is carried out precise classification at the MAC layer, certainly with regard to let alone MAC layer in wireless communication system carry out the QoS demand that precise classification satisfies system.And in the IP layer is used, priority is not set, can not makes full use of the QoS correlation technique of bottom wireless communication system.
Summary of the invention
In view of this, technical problem to be solved by this invention provides a kind of data processing method, Apparatus and system, is used to improve the service quality of wireless communication system.For there is a basic understanding some aspects to the embodiment that discloses, provided simple summary below.This summary part is not to comment general, neither confirm the key/critical component or describe the protection range of these embodiment.Its sole purpose is to present some notions with simple form, with this preamble as the detailed description of back.
In some optional embodiment, a kind of data processing method is provided, comprising:
The data of needs transmission are classified through the type parsing;
With sorted data map is the quality of service information of wireless communication system;
Transmit said quality of service information by wireless communication system.
The said classification through the type parsing is according to protocol type and/or service feature type data to be classified.
Wherein, said protocol type comprises IPv4 agreement, IPv6 agreement, transmission control protocol TCP, user datagram protocol UDP, SCTP SCTP, HTTP HTTP, FTP FTP, real time transport protocol RTP, RTP Control Protocol, RSVP RSVP, H.263 agreement, H.264 agreement, MPEG-1 agreement, MPEG-2 agreement, MPEG-4 agreement, MP3/4 agreement, AVS agreement, at least a in agreement, AMR agreement and the Session initiation protocol SIP G.711/2/3/8/9.
Said service feature type comprises at least a in SWF (Shock Wave Flash), RM, RMVB, WMF, QQ, SkyPe, PPLive, UUSee and the online game.
This method also comprises the step of buffered data.
Said buffered data specifically comprises: cushion in data, said quality of service information and the type analysis result of said needs transmission one or more.
This method also comprises:
To resolve sorted data through type and cushion, be mapped as quality of service information then; And/or,
To resolve sorted data through type, be mapped as quality of service information, cushion then; And/or,
The data of needs transmission are cushioned and resolve through type data are classified, be mapped as quality of service information then.
This method also comprises:
To resolve sorted data through type and cushion, be quality of service information with sorted data map simultaneously; Or,
With the data of needs transmission cushion simultaneously and pass through type resolve classify after, be mapped as quality of service information.
Wherein, buffered data is for transmitting data by random order, and said is according to the transmission rule of presetting arbitrarily and/or dynamically generate data to be sorted by random order; Buffered data can be used in to the upper strata and sends response, makes data and upper strata decorrelation.
Wherein, the said data that need transmission in the said method are for needing the IP data of transmission.
Said quality of service information in the said method comprises QoS parameter and/or quality of service data.
This method also comprises: after the data of needs transmission are classified through the type parsing, obtain one or more categorical attributes of these data, and this categorical attribute is corresponding with the QoS parameter of wireless communication system; With sorted data map is the quality of service information of wireless communication system; For mapping ruler, preestablish according to any regular, or adjustment in real time in data transmission procedure, maybe will preset mapping ruler and combine with real-time adjustment mapping ruler; For the adjustment mapping ruler, set by the user, or set, or user's setting is combined with the system strategy setting by system strategy.
Said is the quality of service information of wireless communication system with sorted data map, specifically comprises:
According to the information parameter of the service quality needs of classification results and wireless communication system, generate corresponding quality of service information; Or,
Generate quality of service information through configuration; Or,
Generate the quality of service information of being supported, and select the quality of service information of needs by wireless communication system.
This method also comprises:
The quality of service information of the said wireless communication system that mapping is obtained carries out related with the said data of transmission that need;
Wireless communication system generates wireless communication system services qualitative data frame according to association and transmits said quality of service information.
Said wireless communication system is a kind of among LTE, WIMAX, 802.11, short-distance and medium-distance wireless communication system NUHT, TD-SCDMA, CDMA2000, WCDMA, GSM, GPRS and the CDMA.
In some optional embodiment, a kind of data processing equipment also is provided, comprising:
The type resolution unit is used for the data of needs transmission are classified through the type parsing;
The QoS parameter generation unit, being used for sorted data map is the quality of service information of wireless communication system.
The said classification through the type parsing is according to protocol type and/or service feature type data to be classified.
Said protocol type comprises IPv4 agreement, IPv6 agreement, Transmission Control Protocol, udp protocol, Stream Control Transmission Protocol, http protocol, File Transfer Protocol, Real-time Transport Protocol, rtcp protocol, RSVP, H.263 agreement, H.264 agreement, MPEG-1 agreement, MPEG-2 agreement, MPEG-4 agreement, MP3/4 agreement, AVS agreement, at least a in agreement, AMR agreement and the Session Initiation Protocol G.711/2/3/8/9.
Said service feature type comprises at least a in SWF, RM, RMVB, WMF, QQ, SkyPe, PPLive, UUSee and the online game.
This device also comprises:
Data buffer unit is used for buffered data.
One or more of data after data, said quality of service information and the type that said data buffer unit is used for cushioning said needs transmission resolved.
This device also comprises:
The data of needs transmission are inserted that data buffer unit cushions and through the type resolution unit data classified, be mapped as quality of service information through the QoS parameter generation unit then; And/or,
The sorted data of type resolution unit are inserted data buffer unit cushion, be mapped as quality of service information through the QoS parameter generation unit; And/or,
With the sorted data of type resolution unit, be mapped as QoS parameter and/or quality of service data through the QoS parameter generation unit, insert data buffer unit then.
This device also comprises:
The data of needs transmission are inserted data buffer unit simultaneously and through after the classification of type resolution unit, are mapped as QoS parameter and/or quality of service data through the QoS parameter generation unit; Or,
With the sorted data of type resolution unit, insert data buffer unit simultaneously and be mapped as QoS parameter and/or quality of service data through the QoS parameter generation unit.
Wherein, said data buffer unit is for transmitting data by random order, and said is according to any transmission rule preset and/or dynamically generation data to be sorted by random order transmission data; Said data buffer unit can be sent response to the upper strata, makes data and upper strata decorrelation.
Wherein, the said data that need transmission in the said apparatus are for needing the IP data of transmission.
Said quality of service information in the said apparatus comprises QoS parameter and/or quality of service data.
This device also comprises: after the type resolution unit is classified through the type parsing to the data of needs transmission, obtain one or more categorical attributes of these data; The service quality generation unit is corresponding with the QoS parameter of wireless communication system with this categorical attribute, is the quality of service information of wireless communication system with sorted data map; For mapping ruler, preestablish according to any regular, or adjustment in real time in data transmission procedure, maybe will preset mapping ruler and combine with real-time adjustment mapping ruler; For the adjustment mapping ruler, set by the user, or set, or user's setting is combined with the system strategy setting by system strategy.
Said QoS parameter generation unit also is used for:
According to the information parameter of the service quality needs of classification results and wireless communication system, generate corresponding quality of service information; Or,
Generate quality of service information through configuration; Or,
Generate the quality of service information of being supported, and select the QoS parameter and/or the quality of service data of needs by wireless communication system.
The quality of service information of the said wireless communication system that said QoS parameter generation unit also is used for mapping is obtained carries out related with the data of said needs transmission.
In some optional embodiment, a kind of data handling system also is provided, comprising:
Data processing equipment is used for the data of needs transmission are classified through the type parsing, is the quality of service information of wireless communication system with sorted data map;
Wireless communication system is used to transmit said quality of service information.
Said wireless communication system also is used for generating wireless communication system services qualitative data frame according to association and transmits said quality of service information.
Said wireless communication system is a kind of among LTE, WIMAX, 802.11, short-distance and medium-distance wireless communication system NUHT, TD-SCDMA, CDMA2000, WCDMA, GSM, GPRS and the CDMA.
For above-mentioned and relevant purpose, one or more embodiment comprise the characteristic that the back will specify and in claim, particularly point out.Below explanation and accompanying drawing specify some illustrative aspects, and its indication only is some modes in the utilizable variety of way of principle of each embodiment.Other benefit and novel features will consider and become obviously along with following detailed description combine accompanying drawing, and the disclosed embodiments are to comprise being equal to of all these aspects and they.
The present invention classifies through the message that the upper strata to wireless communication system promptly comprises the IP layer; And classification results is mapped as the relevant parameter of QoS in the radio communication; Thereby solve in the present IP layer application priority is not set; Even be provided with the QoS that priority can not satisfy wireless communication system, can not make full use of the problem of the QoS correlation technique of lower floor's wireless communication system.
The application of the invention in WIMAX, can be confirmed corresponding business type and qos parameter according to the Data Dynamic of transmission.
The application of the invention; In short-distance and medium-distance communication system NUHT; Can directly classify on the one hand, can use the classification results in the data processing equipment on the other hand, the qos parameter of data buffer unit and generation each transmission data; Thereby well improve the QoS processing procedure of short-distance and medium-distance communication system, the QoS service of high-quality is provided for the user.
The application of the invention in WIFI, can solve in the IP data and DSCP or tos field not to be provided with or to be provided with inaccurate, and causes users can not fully obtain the problem of the QoS good service of WIFI.
Figure of description
Fig. 1 is the schematic flow sheet of data processing method provided by the invention;
Fig. 2 is the general structure sketch map of data processing equipment provided by the invention;
Fig. 3 is the mutual sketch map of data processing equipment module that the embodiment of the invention three provides;
Fig. 4 is the mutual sketch map of data processing equipment module that the embodiment of the invention four provides;
Fig. 5 is the mutual sketch map of data processing equipment module that the embodiment of the invention five provides;
Fig. 6 is the mutual sketch map of data processing equipment module that the embodiment of the invention six provides;
Fig. 7 is the mutual sketch map of data processing equipment module that the embodiment of the invention seven provides;
Fig. 8 is the mutual sketch map of data processing equipment module that the embodiment of the invention eight provides.
Embodiment
Below description and accompanying drawing illustrate specific embodiments of the present invention fully, to enable those skilled in the art to put into practice them.Other embodiments can comprise structure, logic, electric, process and other change.Embodiment only represents possible variation.Only if explicitly call for, otherwise independent assembly and function are optional, and the order of operation can change.The part of some embodiments and characteristic can be included in or replace the part and the characteristic of other embodiments.The scope of embodiment of the present invention comprises the gamut of claims, and all obtainable equivalents of claims.In this article; These embodiments of the present invention can be represented with term " invention " individually or always; This only is for ease, and if in fact disclose and surpass one invention, not that the scope that will automatically limit this application is any single invention or inventive concept.
Because deficiency of the prior art; The present invention proposes a kind of data processing method; Be used to improve the service quality of wireless communication system, thereby in the IP layer is used, priority be not set and be provided with the QoS that priority can not satisfy wireless communication system even solve at present; Can not make full use of the problem of the QoS correlation technique of lower floor's wireless communication system, this method is applicable to various wireless communication systems.
With reference to Fig. 1, Fig. 1 is a kind of data processing method provided by the invention, may further comprise the steps:
Step S101, the data that will transmit are resolved through type and are classified.
Wherein, need data packets for transmission to draw together but be not limited to the IP data.
Wherein, resolve through type that to classify be data to be classified and/or the service feature type is classified to data according to protocol type.
Wherein, Protocol type includes but not limited to IPv4 agreement (Internet protocol (Internet Protocol; IP) the 4th edition), IPv6 agreement (Internet protocol (Internet Protocol; IP) transmission control protocol (TCP sixth version); Transmission Control Protocol), User Datagram Protocol (UDP; User Datagram Protocol), SCTP (SCTP, STREAM CONTROL TRANSMISSION PROTOCOL), HTTP (HTTP, HyperText Transfer Protocol), FTP (FTP; File Transfer Protocol), real time transport protocol (RTP; Real-time Transport Protocol), RTP control protocol (RTCP, RTP Control Protocol), RSVP RSVP, H.263 agreement, H.264 agreement, MPEG-1 agreement, MPEG-2 agreement, MPEG-4 agreement, MP3/4 agreement, AVS agreement, at least a in agreement, AMR agreement and the conversation initialized protocol (SIP, Session Initiation Protocol) G.711/2/3/8/9.
Service feature includes but not limited to SWF, RM, RMVB, WMF, QQ, SkyPe, PPLive, UUSee and online game.
Step S102, be the quality of service information of wireless communication system with sorted data map.Wherein, quality of service information comprises QoS parameter and/or quality of service data.
To the data of needs transmission through type resolve classify after; Can obtain one or more categorical attributes of these data; This categorical attribute is corresponding with the QoS parameter (QoS information) of wireless communication system, can with sorted data map the quality of service information of wireless communication system.This mapping ruler can preestablish according to any regular, also can in data transmission procedure, adjust in real time, also can combine with real-time adjustment mapping ruler presetting mapping ruler.For the adjustment mapping ruler, can set by the user, also can set, or user's setting is combined with the system strategy setting by system strategy.
For example: with sorted data map is that the quality of service information of wireless communication system can generate corresponding quality of service information according to the information parameter of the service quality needs of classification results and wireless communication system; Perhaps, can generate quality of service information through configuration; Perhaps, also the QoS parameter of being supported be can generate, and the quality of service information that needs, i.e. QoS parameter and/or data selected by wireless communication system.
The quality of service information of the wireless communication system that obtains and the data that need transmission are carried out related, make wireless communication system can need confirm the data of transmission from quality of service information.Wherein association can realize through Function Mapping, also can directly in the data of needs transmission, add related information, or the like.
Step S103, by wireless communication system transmission service quality information, i.e. QoS parameter and/or quality of service data.
Wireless communication system generates wireless communication system services qualitative data frame according to association and comes transmission service quality information.
Wireless communication system services qualitative data frame is the Frame that comprises the data of needs transmission.The data that wireless communication system services qualitative data frame can transmit for needs when not comprising the wireless communication system services quality.
What wherein, this wireless communication system can be among LTE, WIMAX, 802.11, short-distance and medium-distance wireless communication system NUHT, TD-SCDMA, CDMA2000, WCDMA, GSM, GPRS and the CDMA is a kind of.
Above-mentioned data processing method also possibly comprise the step of buffered data.
Buffered data can transmit data by random order; For example: priority or access category according to the quality of service data that generates transmit; Scheduling rule also can be set transmit data, scheduling rule can be that the service quality processing procedure according to user's request and/or wireless communication system generates.Scheduling rule can preestablish, and perhaps comes dynamically to generate according to wireless communication system services quality treatment process.Wherein, be data to be sorted by random order transmission data according to the transmission rule of presetting arbitrarily and/or dynamically generate; Buffered data can be used in to the upper strata and sends response, makes data and upper strata decorrelation, the processing of data buffering type resolve and QoS parameter generate handle before between or i.e. generation at any time takes place afterwards.Specifically comprise following several kinds of implementations:
Type is resolved sorted data be mapped as the quality of service information transmission through the QoS parameter generation; And/or,
To resolve sorted data through type and cushion, and generate then and be mapped as the quality of service information transmission; And/or,
To resolve sorted data through type, be mapped as quality of service information, carry out data buffering then; And/or,
To resolve sorted data through type, and carry out data buffering simultaneously and be mapped as the quality of service information transmission; Or,
The data of needs transmission are cushioned and resolve through type data are classified, be mapped as the quality of service information transmission then; Or,
After the data of needs transmission are cushioned simultaneously and pass through type and resolve classification, be mapped as quality of service information and transmit.
Buffered data can be one or more in the data after data, quality of service information, the type of buffering needs transmission resolved.Quality of service information comprises QoS parameter and quality of service data.Quality of service data is the data that comprise QoS parameter and needs transmission, and this needs data packets for transmission to draw together but is not limited to the IP data.QoS parameter is the parameter in the wireless communication system.Data after type is resolved can the containing type analysis results and/or are needed the data of transmission, and this needs data packets for transmission to draw together but is not limited to the IP data.
For example: buffered data can be the data that buffering needs transmission before type is resolved; Perhaps in type resolving, reach data and/or the type analysis result that type is resolved the back buffering transmission; Perhaps also can, be mapped as quality of service information after, one or more of the data of buffering transmission, type analysis result and quality of service information.
The present invention also provides a kind of data handling system, comprising:
Data processing equipment is used for the data of needs transmission are classified through the type parsing; With sorted data map is the quality of service information of wireless communication system, and wherein, quality of service information comprises QoS parameter and/or quality of service data; Wherein, need data packets for transmission to draw together but be not limited to the IP data.
Wireless communication system is used to transmit the quality of service information that the data processing equipment mapping generates, i.e. QoS parameter and/or quality of service data.
Wherein, wireless communication system comes transmission service quality information according to association generation wireless communication system services qualitative data frame.
Wireless communication system services qualitative data frame is the Frame that comprises the data of needs transmission.The data that wireless communication system services qualitative data frame can transmit for needs when not comprising the wireless communication system services quality.
What wherein, this wireless communication system can be among LTE, WIMAX, 802.11, short-distance and medium-distance wireless communication system NUHT, TD-SCDMA, CDMA2000, WCDMA, GSM, GPRS and the CDMA is a kind of.
With reference to Fig. 2, be the general structure sketch map of data processing equipment, comprising: type resolution unit 201 and QoS parameter generation unit 202;
Type resolution unit 201 is used for the data of needs transmission are classified through the type parsing; Wherein, need data packets for transmission to draw together but be not limited to the IP data.
QoS parameter generation unit 202, being used for sorted data map is the quality of service information of wireless communication system, quality of service information comprises QoS parameter and/or quality of service data.
Wherein, type resolution unit 201 can be classified the IP data that need transmission, and wherein said type resolution unit 201 is classified to data through protocol type and/or service feature type.Wherein, protocol type includes but not limited to IPv4 agreement, IPv6 agreement, Transmission Control Protocol, udp protocol, Stream Control Transmission Protocol, http protocol, File Transfer Protocol, Real-time Transport Protocol, rtcp protocol, RSVP, H.263 agreement, H.264 agreement, MPEG-1 agreement, MPEG-2 agreement, MPEG-4 agreement, MP3/4 agreement, AVS agreement, G.711/2/3/8/9 agreement, AMR agreement and Session Initiation Protocol.The service feature type includes but not limited to SWF, RM, RMVB, WMF, QQ, SkyPe, PPLive, UUSee and online game.Type resolution unit 201 can increase various subsolutions according to user and system's needs and analyse the unit.Sorting result can show according to multiple mode, and the various attributes of sorting result can confirm dynamically that as required for example classification results can show according to one or more combination of following various attributes:
1, video/audio/webpage/download/real-time game/literal/image/P2P
2, fixed length bag/random length bag
3, periodic data bag/aperiodicity packet
4, tolerance shake time delay
5, Mean Speed
6, instantaneous maximun speed
7, instantaneous minimum speed
8, burst sizes
9, maximum bag is long
10, parcel is long
11, control information/data message
12, in real time/non real-time
13, postpone the border
14, bandwidth range
15, average packet is long
16, average traffic at interval
17, minimal service at interval
18, maximum traffic at interval
19, inactive interval
20, hang up at interval
QoS parameter generation unit 202 is used for the classification results of type resolution unit 201 is mapped as the quality of service information of wireless communication system.
After 201 pairs of type resolution unit need the data of transmission to classify through the type parsing, obtain one or more categorical attributes of these data; Service quality generation unit 202 is corresponding with the QoS parameter of wireless communication system with this categorical attribute, is the quality of service information of wireless communication system with sorted data map; For mapping ruler, preestablish according to any regular, or adjustment in real time in data transmission procedure, maybe will preset mapping ruler and combine with real-time adjustment mapping ruler; For the adjustment mapping ruler, set by the user, or set, or user's setting is combined with the system strategy setting by system strategy.
For example: with sorted data map is that the quality of service information of wireless communication system can generate corresponding quality of service information according to the information parameter of the service quality needs of classification results and wireless communication system; Perhaps, can generate quality of service information through configuration; Perhaps, also the QoS parameter of being supported be can generate, and the QoS parameter and/or the data of needs selected by wireless communication system.Wherein, the QoS parameter of wireless communication system can for:
A, in 802.11 QoS parameter,
1, the time started
2, average packet is long
3, maximum bag is long
4, average traffic at interval
5, minimal service at interval
6, inactive interval
7, hang up at interval
8, Mean Speed
9, instantaneous minimum-rate
10, instantaneous maximum rate
11, burst sizes
12, type of service
13, service priority
14, maximum traffic at interval
15, bandwidth range
16, postpone the border
17, access category
B, in 802.16 QoS parameter,
1, service priority
2, the maximum service rate that continues
3, maximum burst service rate
4, the minimum service rate that guarantees
5, tolerable shake
6, maximum delay
7, initiatively authorize at interval
8, active polling interval
9, type of service
C, in short-distance and medium-distance wireless communication system NUHT QoS parameter,
1, service priority
2, the maximum service rate that continues
3, maximum burst service rate
4, the minimum service rate that guarantees
5, tolerable shake
6, maximum delay
7, initiatively authorize at interval
8, active polling interval
9, bandwidth request/data transmission policies
10, SDU length
11, type of service
QoS parameter generation unit 202 also is used for the quality of service information of the wireless communication system that obtains and the data of needs transmission are carried out related, makes wireless communication system can need confirm the data of transmission from quality of service information.Wherein association can realize through Function Mapping, also can directly in the data of needs transmission, add related information, or the like.
Below through 2 specific embodiment explanations.
Embodiment one
In the present embodiment; What the IP layer need transmit is that coded format is IP data H.263; The classification results of type resolution unit 201 is video data H.263, and classification results is: video, fixed length bag, aperiodicity packet, Mean Speed be 5Mbps, instantaneous maximun speed be 8Mpbs, instantaneous minimum speed be 3.6Mbps, burst sizes 188 bytes, long 188 bytes of maximum bag, long 188 bytes of parcel, data message, in real time, postpone the border, bandwidth range is that 3-10Mbps, average packet length are 188 bytes;
QoS parameter generation unit 202 is 802.11 systems according to this result with the wireless communication system of being served, and access category is a video in the generation 802.11, and Traffic ID is 5 QoS parameter.
Embodiment two
In the present embodiment; What the IP layer need transmit is that coded format is the IP data of SIP data control information; The classification results of type resolution unit 201 is the SIP data control information, and classification results is: its relevant data message comprises the MPEG video traffic, sends address and receiver address;
QoS parameter generation unit 202 is that the self attributes of MPEG is a real time data according to data message; And the real time data length of transmission is variable, thereby when the follow-up data message of transmission, generates the QoS parameter that type of service among the short-distance and medium-distance communication system NUHT is elongated real time business.
This data processing equipment is inner, and the processing of type resolution unit 201 is prior to the processing of QoS parameter generation unit 202.
Like Fig. 3 to Fig. 8, data processing equipment also possibly comprise data buffer unit, is used for buffered data.
Wherein, this data processing equipment is inner, and the processing of type resolution unit is prior to the processing of QoS parameter generation unit, and the processing of data buffer unit can take place at the random time point of data processing equipment.Said data buffer unit is for transmitting data by random order; For example: priority or access category according to the quality of service data that generates transmit; Scheduling rule also can be set transmit data, scheduling rule can be that the service quality processing procedure according to user's request and/or wireless communication system generates.Scheduling rule can preestablish, and perhaps comes dynamically to generate according to wireless communication system services quality treatment process.By random order transmission data; Comprise according to any transmission rule preset and/or that dynamically generate and the transmission data are sorted and transmit data, or come the transmission data are sorted and transmit data or offer wireless communication system to use according to the demand of bottom wireless communication system.Data buffer unit can be sent response to the upper strata, makes transmission data and upper strata decorrelation.
Data buffer unit can use the formation of any number and/or stack to realize, for example: four formations come buffer memory audio frequency, video, control protocol message (SIP, RTCP), common application message (Text, Application, Image) respectively.Data buffer unit can independently exist, perhaps, and can be related with the transmission buffering area of wireless communication system; Perhaps; Can utilize the transmission buffering area of wireless communication system to realize data buffer unit, perhaps, can come process data for transmission in the direct usage data buffer of wireless communication system unit.
The processing of data buffer unit before type resolution unit and QoS parameter generation unit are handled between or (generation of random time point) take place afterwards.Data buffer unit can generate the wireless communication system services qualitative data according to the QoS parameter generation unit.For example: can the sorted data of type resolution unit be mapped as QoS parameter and/or quality of service data transmission through the QoS parameter generation unit; Perhaps, can the transmission data be inserted data buffer unit and through the type resolution unit data classified, be mapped as QoS parameter and/or quality of service data transmission through the QoS parameter generation unit then; Perhaps, can the sorted data of type resolution unit be inserted data buffer unit and be mapped as QoS parameter and/or quality of service data transmission through the QoS parameter generation unit; Perhaps, can the transmission data be inserted data buffer unit simultaneously and through after the classification of type resolution unit, be mapped as QoS parameter and/or quality of service data transmission through the QoS parameter generation unit; Perhaps, can insert data buffer unit simultaneously and be mapped as QoS parameter and/or quality of service data transmission after the classification of type resolution unit through the QoS parameter generation unit; Perhaps, can be mapped as QoS parameter and/or quality of service data through the QoS parameter generation unit, insert data buffer unit then after the classification of type resolution unit.Data buffer unit can generate the wireless communication system services qualitative data according to the QoS parameter generation unit.
Data processing equipment and/or wireless communication system can generate bottom wireless communication system services qualitative data in the usage data buffer unit.
Wherein, data processing equipment can be applied between IP layer and the wireless communication system, perhaps data processing equipment is placed the processing procedure of wireless communication system.
For making principle of the present invention, characteristic and advantage clearer, describe the present invention below in conjunction with specific embodiment.
Embodiment three
In the present embodiment, data processing equipment is between wireless communication system 802.11 and IP layer, and data parsing is a Session Initiation Protocol.As shown in Figure 3, Fig. 3 is the mutual sketch map of data processing equipment module that the embodiment of the invention three provides.The concrete realization as follows:
Step S301, when wireless access point AP need send to wireless terminal Station with upper strata IP protocol data bag, IP stack is delivered to IP protocol data bag in the data processing equipment.
Wherein, can be that wireless communication system is delivered to IP protocol data bag in the data processing equipment.All can use this processing mode of present embodiment among all embodiment, repeat no more.
Step S302, data processing equipment are resolved data through the type resolution unit, confirm that notebook data is the Session Initiation Protocol data.
Step S303, data processing equipment are delivered to IP protocol data bag in the data buffer unit according to the classification results of type resolution unit, and the QoS parameter generation unit is mapped as (this result can comprise the classification of Data result) QoS parameter of wireless communication system according to the result of data buffer unit.
The QoS parameter that step S304, wireless communication system confirm according to data processing equipment is revised the QoS parameter of frame, according to the service quality processing procedure of wireless communication system with transfer of data to Station.
Wherein, In the present embodiment; Can be after wireless communication system carries out the wireless communication system protocol encapsulation with IP protocol data bag, behind the QoS parameter of having confirmed wireless communication system, revise the radio communication system data frame after encapsulating according to QoS parameter.All can use this processing mode of present embodiment among all embodiment, repeat no more.
Wherein, data buffer unit can use the formation of any number and/or stack to realize, for example: four formations come buffer memory audio frequency, video, control protocol message (SIP, RTCP), common application message (Text, Application, Image) respectively.All can use this processing mode of present embodiment among all embodiment, repeat no more.
Wherein, Data buffer unit can independently exist, perhaps, and can be related with the transmission buffering area of wireless communication system; Perhaps; Can utilize the transmission buffering area of wireless communication system to realize data buffer unit, perhaps, can come process data for transmission in the direct usage data buffer of wireless communication system unit.All can use the data buffer unit of present embodiment among all embodiment, repeat no more.
Wherein, the QoS parameter generation unit can user application configuration, default configuration and the rule that dynamically generates, and the result of use pattern resolution unit are mapped as upper strata IP protocol data the QoS parameter of corresponding wireless communication system.All can use the QoS parameter generation unit of present embodiment among all embodiment, repeat no more.
Wherein, data processing equipment also can be mapped as the classification results of type resolution unit the DSCP or the TOS field of IP layer, and in the IP message that sends, is provided with.
Wherein, present embodiment can be applied in 802.11 agreements, 802.16 agreements, LTE agreement and the short-distance and medium-distance wireless communication system NUHT agreement.All embodiment are suitable for this description, repeat no more.
Embodiment four
In the present embodiment, data processing equipment is between wireless communication system protocol stack and IP layer, and data parsing is a Session Initiation Protocol.As shown in Figure 4, Fig. 4 is the mutual sketch map of data processing equipment module that the embodiment of the invention four provides.The concrete realization as follows:
Step S401, when wireless access point AP need send to wireless terminal Station with upper strata IP protocol data bag, IP stack is delivered to IP protocol data bag in the data processing equipment.
Wherein, can be that the wireless communication system protocol stack is delivered to IP protocol data bag in the data processing equipment.All can use this processing mode of present embodiment among all embodiment, repeat no more.
Step S402, data processing equipment are resolved data through the type resolution unit, confirm that notebook data is protocol data H.263.
Step S403, data processing equipment are delivered to IP protocol data bag in the data buffer unit and the QoS parameter generation unit can take place according to the QoS parameter that the classification results of type resolution unit is mapped as wireless communication system simultaneously;
The QoS parameter that the protocol stack of step S404, wireless communication system is confirmed according to data processing equipment is revised the QoS parameter of frame, according to the service quality processing procedure of wireless communication system data is sent to Station.
Embodiment five
In the present embodiment, data processing equipment is between wireless communication system protocol stack and IP layer, and data parsing is a Session Initiation Protocol.As shown in Figure 5, Fig. 5 is the mutual sketch map of data processing equipment module that the embodiment of the invention five provides.The concrete realization as follows:
Step S501, when wireless access point AP need send to wireless terminal Station with upper strata IP protocol data bag, IP stack is delivered to IP protocol data bag in the data processing equipment.
Step S502, data processing equipment are resolved data through the type resolution unit, confirm that notebook data is protocol data H.263.
Step S503, data processing equipment pass through the QoS parameter of QoS parameter generation unit mapping wireless communication system, according to classification results and/or QoS parameter IP protocol data bag are delivered in the data buffer unit then.
The QoS parameter that the protocol stack of step S504, wireless communication system is confirmed according to data processing equipment is revised the QoS parameter of frame, according to the service quality processing procedure of wireless communication system data is sent to Station.Also can; Data buffer unit generates the wireless communication system services qualitative data according to bottom wireless communication system preset or that dynamically confirm, and wireless communication system sends to Station according to the service quality processing procedure with data with the wireless communication system services qualitative data that generates.
Embodiment six
In the present embodiment, data processing equipment is between wireless communication system 802.11 protocol stacks and IP layer, and data parsing is the AMR voice data, and is as shown in Figure 6, and Fig. 6 is the mutual sketch map of data processing equipment module that the embodiment of the invention six provides.The concrete realization as follows:
Step S601, when wireless access point AP need send to wireless terminal Station with the RTP data of upper strata IP protocol data bag; With the RTP data passes in data processing equipment; (data processing equipment sends response to the IP layer; Make the IP layer think and send data correctly transmission, i.e. decorrelation).
Step S602, data processing equipment are inserted the RTP data in the data buffer unit, and the type resolution unit is resolved data, confirm that according to the PT field in the RTP message notebook data is the AMR voice data.
Step S603, QoS parameter generation unit are mapped as the audio frequency corresponding service type in 802.11 agreements with the AMR audio frequency.
Step S604, data processing equipment confirm the QoS parameter of 802.11 corresponding frames, for example QoS Control field according to the protocol status of 802.11 agreements.And the QoS parameter of 802.11 frames of correspondence is related with the transmission data in the data buffer unit, and be delivered to 802.11 protocol stacks.
Step S605,802.11 protocol stacks carry out the service quality processing according to the QoS parameter of 802.11 frames of confirming, and these data are sent to Station.
Embodiment seven
In the present embodiment, data processing equipment is arranged in wireless communication system 802.11 protocol stacks, and data parsing is video data H.264, and as shown in Figure 7, Fig. 7 is the mutual sketch map of data processing equipment module that the embodiment of the invention seven provides.The concrete realization as follows:
Step S701, when wireless access point AP need send to wireless terminal Station with upper strata IP protocol data bag, 802.11 protocol stacks are delivered to IP protocol data bag in the data processing equipment.
Step S702, data processing equipment are resolved data through the type resolution unit, confirm that notebook data is video data H.264.
Step S703, QoS parameter generation unit H.264 video data are mapped as the corresponding TID of video in 802.11 agreements.Data processing equipment is confirmed the QoS parameter of 802.11 corresponding frames according to the protocol status and the TID of 802.11 agreements.
The QoS parameter that step S704,802.11 protocol stacks are confirmed according to data processing equipment generates the 802.11 quality of service data frames that send, and according to 802.11 service quality processing procedures data is sent to Station.
Embodiment eight
In the present embodiment, data processing equipment is arranged in the wireless communication system protocol stack, and data parsing is the ASF video data, and is as shown in Figure 8, and Fig. 8 is the mutual sketch map of data processing equipment module that the embodiment of the invention eight provides.The concrete realization as follows:
Step S801, when wireless access point AP need send to wireless terminal Station with upper strata IP protocol data bag, 802.11 protocol stacks are delivered to IP protocol data bag in the data processing equipment.
Step S802, type resolution unit use the media characteristic storehouse that data are resolved, and confirm that notebook data is senior stream format (ASF, an Advanced Streaming Format) stream medium data.
Step S803, data processing equipment are presented to packet in the data buffer unit when the type resolution unit is handled, and packet is cushioned.
Step S804, QoS parameter generation unit pass through the result of type resolution unit and data buffer unit, and the ASF stream medium data is mapped as the QoS parameter in 802.11 agreements.
The QoS parameter that step S805,802.11 protocol stacks are confirmed according to data processing equipment generates the 802.11 quality of service data frames that send, and according to 802.11 service quality processing procedures data is sent to Station; Wherein, the data of 802.11 protocol stacks in can the usage data buffer unit generate 802.11 Frames.
Only if concrete in addition statement; Term such as processing, calculating, computing, confirm, show or the like that can refer to one or more handles or the action and/or the process of computing system or similar devices, said action and/or process will be expressed as other data of the data manipulation of register or the amount of the physics (like electronics) in the memory of the treatment system physical quantity interior with being converted into the memory, register or the storage of other this type of informations, emission or the display device that are expressed as treatment system similarly.Information and signal can use any expression the in multiple different techniques and the method.For example, data, instruction, order, information, signal, bit, symbol and the chip of mentioning in the description on run through can be represented with voltage, electric current, electromagnetic wave, magnetic field or particle, light field or particle or its combination in any.
Should be understood that the particular order of the step in the disclosed process or the instance that level is illustrative methods.Based on design preference, should be appreciated that the particular order of the step in the process or level can be rearranged under the situation that does not break away from protection range of the present disclosure.Appended claim to a method has provided the key element of various steps with exemplary order, and is not to be limited to described particular order or level.
In above-mentioned detailed description, various characteristics are combined in the single embodiment together, to simplify the disclosure.Should this open method be interpreted as and reflect such intention, that is, the embodiment of theme required for protection need be than the more characteristic of clearly in each claim, being stated of characteristic.On the contrary, that kind of liking enclosed that claims reflected, the present invention is in the state that lacks than whole characteristics of disclosed single embodiment.Therefore, appending claims clearly is merged in the detailed description hereby, and wherein every claim is alone as the independent preferred embodiment of the present invention.
Those skilled in the art it is also understood that various illustrative box, module, circuit and the algorithm steps of the embodiment description that combines this paper all can be embodied as electronic hardware, computer software or its combination.For the interchangeability between the hardware and software clearly is described, above various illustrative parts, frame, module, circuit and step have all been carried out usually describing around its function.Be embodied as hardware or be embodied as software as for this function, depend on certain applications and design constraint that whole system applied.Those skilled in the art can be directed against each application-specific, realize described function with the mode of accommodation, and still, this realization decision-making should not be construed as and deviates from protection range of the present disclosure.
Be used to carry out general processor, digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components or its combination in any of the said function of the application, can realize or carry out the described various illustrative logic diagrams of embodiment, module and the circuit that combine this paper.General processor can be a microprocessor, and perhaps, this processor also can be processor, controller, microcontroller or the state machine of any routine.Processor also possibly be embodied as the combination of computing equipment, and for example, the combination of DSP and microprocessor, a plurality of microprocessor, one or more microprocessor combine with the DSP kernel, perhaps any other this kind structure.
Software module or its combination that can directly be presented as hardware, carry out by processor in conjunction with the step of described method of the embodiment of this paper or algorithm.Software module can be arranged in the storage medium of RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, mobile disk, CD-ROM or any other form well known in the art.A kind of exemplary storage medium is connected to processor, thereby makes the processor can be from this read information, and can be to this storage medium writing information.Certainly, storage medium also can be the part of processor.Processor and storage medium can be arranged in ASIC.This ASIC can be arranged in user terminal.Certainly, processor and storage medium also can be used as discrete assembly and are present in the user terminal.
For making any technical staff in this area can realize or use the present invention, above disclosed embodiment is described.To those skilled in the art; The various alter modes of these embodiment all are conspicuous, and the General Principle of this paper definition also can be applicable to other embodiment on the basis that does not break away from spirit of the present disclosure and protection range.Therefore, the disclosure is not limited to the embodiment that this paper provides, but consistent with the widest scope of disclosed principle of the application and novel features.
Realize that for software the module (for example, process, function etc.) of the said function of describing among the application of technological available execution the application realizes.These software codes can be stored in memory cell and carried out by processor.Memory cell can be implemented in the processor, also can be implemented in outside the processor, and under latter event, it is coupled to processor via various means with communication mode, and these all are well known in the art.
And various aspects as herein described or characteristic can be used as the programming of use standard and/or method, device or the goods of engineering are realized.Term as used herein " goods " is to comprise the computer program that can visit from any computer-readable equipment, carrier wave or medium.For example; Computer-readable medium (for example can include but not limited to magnetic storage apparatus; Hard disk, floppy disk, tape etc.), CD (for example, compact discs (CD), digital versatile disc (DVD) etc.), smart card and flash memory device (for example, EPROM, card, rod, key actuated device etc.).In addition, various storage medium described herein is expressed as one or more equipment and/or other machine readable media that is used for stored information.Term " machine readable media " includes but not limited to can store, comprise and/or carry wireless channel and various other medium of instruction and/or data.
The description of preceding text comprises giving an example of one or more embodiment.Certainly, all possible combination of describing parts or method in order to describe the foregoing description is impossible, but those of ordinary skills should be realized that each embodiment can do further combination and arrangement.Therefore, the embodiment that describes among this paper is intended to contain all such changes, modification and the modification in the protection range that falls into appended claims.In addition, " comprise " with regard to the term that uses in specification or claims, the mode that contains of this speech is similar to term and " comprises ", just in claim, is used as that kind that link word is explained as " comprising, ".In addition, using any one term " perhaps " in the specification of claims is to represent " non-exclusionism perhaps ".