CN105142183B - Automatic identification WIFI data frames and the method and system for dividing priority - Google Patents
Automatic identification WIFI data frames and the method and system for dividing priority Download PDFInfo
- Publication number
- CN105142183B CN105142183B CN201510647011.3A CN201510647011A CN105142183B CN 105142183 B CN105142183 B CN 105142183B CN 201510647011 A CN201510647011 A CN 201510647011A CN 105142183 B CN105142183 B CN 105142183B
- Authority
- CN
- China
- Prior art keywords
- message
- priority
- wifi
- contract
- project
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/08—Load balancing or load distribution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/24—Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses automatic identification WIFI data frames and the method and system of priority are divided, this approach includes the following steps:After WIFI drivings receive and are sent to the message of the ports WIFI by upper layer, WIFI drivings is called to give out a contract for a project function;It drives the entrance for function of giving out a contract for a project to increase skb handling functions in WIFI, and message is parsed using skb handling functions;After being parsed, the message for the different agreement type that parsing obtains is separately added into corresponding priority query;Function of giving out a contract for a project is driven using WIFI, the message in priority query is sent successively according to the sequence of priority from high to low.The present invention, in flow is given out a contract for a project in WIFI drivings, skb handling functions are increased to parse message, and message is respectively put by corresponding priority query according to the type of message that parsing obtains, give out a contract for a project according to the sequence of priority from high to low, WIFI types of service have been distinguished in this way, be ensure that the high quality transmission of message in each priority query, are met requirement of the user to WIFI business high quality-of-services.
Description
Technical field
The present invention relates to WiFi technology fields, and in particular to automatic identification WIFI data frames and divide priority method and
System.
Background technology
With the fast development of information technology and intelligent terminal, WIFI applies more next in daily life
It is more universal, meanwhile, the business based on WIFI is also more and more, such as voice, video and online business.WIFI application scenarios are main
By the AP (WirelessAccessPoint, wireless access points) for providing WIFI services and the various terminals for supporting WIFI
Composition, currently, AP can support 2.4G frequency ranges and 5G frequency ranges, since 2.4G frequency ranges are public, free frequency ranges, big portion
Divide AP equipment to be operated in 2.4G frequency ranges, to the interference for causing AP equipment mutual, leads to the decline of WIFI experience senses.
Access " make no exception " of traditional WIFI network to all associate devices, i.e., when traffic needs are more than available band
When wide, regardless of the type of data, the throughput of data flow is reduced without exception, and still, the experience of user is exactly largely
On influenced by data type and application type, such as the printout of a related work is transmitted to printer 1 second from PC
Time delay, may cause the concern of user, but influence and little, however, in VoIP (Voice over Internet
Protocol, the networking telephone) calling in, even increasing a little time delay or reducing a little throughput, may all make to exhale
Interruption is cried, admission control is caused, or makes the video streaming image interim card on screen.Therefore, voice, stream video, fluid sound pleasure with
And the data that interactive entertainment generates must have stringent time delay and throughput requirement, for the user experience for ensureing satisfied, it is necessary to
It is managed and divides priority scheduling using QoS (Quality of Service, the service quality) data generated to different application
Grade.
For this purpose, WMM (WIFI multimedias) defines four kinds of priority queries comprehensively, including voice, video, best
Effort and background optimizes the quality of network communication with this, is stablized with ensureing that these applications are established with Internet resources
Connection.And current AP equipment does not distinguish WIFI types of service, data frame, which is given tacit consent to, is put into low priority BE queues transmission, from
And cause WIFI experience senses poor, especially in interfering larger environment.
Invention content
The technical problem to be solved by the present invention is to current AP equipment not to distinguish WIFI types of service, and data frame is given tacit consent to
It is put into low priority BE queues transmission, it is poor so as to cause WIFI business experience senses, it should especially in interfering larger environment
The problem of defect becomes apparent.
In order to solve the above-mentioned technical problem, the technical solution adopted in the present invention is to provide a kind of automatic identification WIFI data
Frame and the method for dividing priority, include the following steps:
After WIFI drivings receive and are sent to the message of the ports WIFI by upper layer, WIFI drivings is called to give out a contract for a project function;
The entrance for function of giving out a contract for a project is driven to increase skb handling functions in the WIFI, and using the skb handling functions to institute
Message is stated to be parsed;
After being parsed, the message for the different agreement type that parsing obtains is separately added into corresponding priority team
Row;
Given out a contract for a project function using WIFI drivings, by the message in the priority query according to priority by height to
Low sequence is sent successively.
In the above-mentioned technical solutions, when the protocol type of the message obtained when parsing is SIP, the message is added
VO queues, the priority value are 6 or 7;When the protocol type for the message that parsing obtains is IGMP, by the message
VI queues are added, the priority value is 4 or 5;It, will be described when the protocol type for the message that parsing obtains is HTTP
BK queues are added in message, and the priority value is 2 or 3;When the protocol type of the message that parsing obtains be except SIP,
When type except IGMP and HTTP, BE queues are added in the message, the priority value is 0 or 1.
In the above-mentioned technical solutions, after the message being added to the priority query, pass through information in shell serial ports
Counting messages information in priority query described in viewing command real time inspection.
The present invention also provides a kind of automatic identification WIFI data frames and the systems that divide priority, including:
Calling module after WIFI drivings receive and are sent to the message of the ports WIFI by upper layer, calls WIFI drivings to give out a contract for a project
Function;
Packet parsing module, the entrance increase skb handling functions for function of giving out a contract for a project in WIFI drivings, and described in utilization
Skb handling functions parse the message;
The message for the different agreement type that parsing obtains is separately added into corresponding priority by priority division module
Queue;
Message sending module drives function of giving out a contract for a project using the WIFI, the message in the priority query is pressed
It is sent successively according to the sequence of priority from high to low.
In the above-mentioned technical solutions, further include priority value module, described in being obtained by the packet parsing module
When the protocol type of message is SIP, the message is divided into VO queues, the priority value by the priority division module
It is 6 or 7;When the protocol type of the message obtained by the packet parsing module is IGMP, the priority divides mould
The message is divided into VI queues by block, and the priority value is 4 or 5;Described in being obtained by the packet parsing module
When the protocol type of message is HTTP, the message is divided into BK queues by the priority division module, and the priority takes
Value is 2 or 3;When the protocol type of the message obtained by the packet parsing module is in addition to SIP, IGMP and HTTP
When type, the message is divided into BE queues by the priority division module, and the priority value is 0 or 1.
In the above-mentioned technical solutions, further include that statistical information checks module, in the priority division module by the report
After text is divided into the priority query, pass through in priority query described in information inspection order real time inspection in shell serial ports
Counting messages information.
The present invention increases skb handling functions and is parsed to message, and according to solution in flow is given out a contract for a project in WIFI drivings
It analyses obtained type of message and message is respectively put into corresponding priority query, give out a contract for a project according to the sequence of priority from high to low,
WIFI types of service have been distinguished in this way, be ensure that the high quality transmission of message in each priority query, are met
Requirement of the user to WIFI business high quality-of-services.
Description of the drawings
Fig. 1 is automatic identification WIFI data frames provided in an embodiment of the present invention and divides the method flow diagram of priority;
Fig. 2 is automatic identification WIFI data frames provided in an embodiment of the present invention and divides the system structure signal of priority
Figure.
Specific implementation mode
Below by taking AN5506-04F as an example, the present invention is made specifically in conjunction with specification drawings and specific embodiments
Bright, AN5506-04F is a GPON ONU equipments, it supports GPON uplinks, supports 4 gigabit ethernet ports, while also propping up
Hold WIFI.
An embodiment of the present invention provides a kind of automatic identification WIFI data frames and the methods that divide priority, as shown in Figure 1,
This approach includes the following steps:
Step S1, after WIFI drivings receive and are sent to the message of the ports WIFI by upper layer, WIFI drivings is called to give out a contract for a project letter
Number.
Step S2, the entrance for function of giving out a contract for a project is driven to increase skb handling functions in WIFI, using skb handling functions to message
It is parsed.
Step S3, after being parsed, the message for the different agreement type that parsing obtains is separately added into corresponding priority
Queue.
Specifically, the protocol type of the message obtained when parsing is that SIP adds the message when that is, the message is voice flow
Enter VO queues, priority value is 6 or 7;When the protocol type for the message that parsing obtains is IGMP, i.e., the message is video flowing
When, which is added VI queues, priority value is 4 or 5;When the protocol type of message that parsing obtains is HTTP, i.e., should
When message is internet business stream, which is added BK queues, priority value is 2 or 3;When the agreement for the message that parsing obtains
When type is other types (protocol type of the message in addition to SIP, IGMP and HTTP), i.e. other streams, which is added
BE queues, priority value are 0 or 1.
It can be incited somebody to action by the counting messages information in information inspection order real time inspection priority query in shell serial ports
The message of each protocol type is divided into before corresponding priority query, is merely able to see that BE queues have counting statistics, will be each
The message of a protocol type is divided into after corresponding priority query, when there is the WIFI business such as voice, video, online or printing
When, the counting messages information in information inspection order real time inspection priorities associated queue, we can be passed through in shell serial ports
Case is sent out by the way that the message of different agreement type is separately added into corresponding priority query according to the sequence of priority from high to low
It send, has distinguished WIFI types of service in this way, ensure that the high quality transmission of message in each priority query.
About BE queues, when message and all protocol types set by user all mismatch, it is fixed that message is admitted to system
The default class of justice, BE queues allow for default class configured bandwidth, but more situations is that BE queues use WFQ (Weighted
Fair Queuing, Weighted Fair Queuing) scheduling, so that all messages into default class is carried out the queue scheduling based on stream.
Step S4, given out a contract for a project function using WIFI drivings, by the message in each priority query according to priority by height to
Low sequence is sent successively.
The system that the embodiment of the present invention additionally provides a kind of automatic identification WIFI data frames and divides priority, such as Fig. 2 institutes
Show, including:
Calling module 10 after WIFI drivings receive and are sent to the message of the ports WIFI by upper layer, calls WIFI driving hairs
Packet function;
Packet parsing module 20, the entrance increase skb handling functions for function of giving out a contract for a project in WIFI drivings, and described in utilization
Skb handling functions parse the message;
The message for the different agreement type that parsing obtains is separately added into corresponding preferential by priority division module 30
Grade queue;
Message sending module 40 drives function of giving out a contract for a project, by the message in the priority query using the WIFI
It is sent successively according to the sequence of priority from high to low.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn that the knots made under the inspiration of the present invention
Structure changes, and the technical schemes that are same or similar to the present invention are each fallen within protection scope of the present invention.
Claims (4)
1. automatic identification WIFI data frames and the method for dividing priority, which is characterized in that include the following steps:
After WIFI drivings receive and are sent to the message of the ports WIFI by upper layer, WIFI drivings is called to give out a contract for a project function;
The entrance for function of giving out a contract for a project is driven to increase skb handling functions in the WIFI, and using the skb handling functions to the report
Text is parsed;
After being parsed, the message for the different agreement type that parsing obtains is separately added into corresponding priority query;
Given out a contract for a project function using WIFI drivings, from high to low according to priority by the message in the priority query
Sequence is sent successively;
When the protocol type for the message that parsing obtains is SIP, VO queues, the priority value is added in the message
It is 6 or 7;When the protocol type for the message that parsing obtains is IGMP, VI queues, the priority is added in the message
Value is 4 or 5;When the protocol type for the message that parsing obtains is HTTP, BK queues are added in the message, it is described excellent
First grade value is 2 or 3;When the protocol type for the message that parsing obtains is the type in addition to SIP, IGMP and HTTP,
BE queues are added in the message, the priority value is 0 or 1.
2. the method as described in claim 1, which is characterized in that after the message is added to the priority query,
Shell serial ports passes through the counting messages information in priority query described in information inspection order real time inspection.
3. automatic identification WIFI data frames and the system for dividing priority, which is characterized in that including:
Calling module after WIFI drivings receive and are sent to the message of the ports WIFI by upper layer, calls WIFI drivings to give out a contract for a project function;
Packet parsing module, the entrance increase skb handling functions for function of giving out a contract for a project in WIFI drivings, and grasped using the skb
Make message described in function pair to be parsed;
The message for the different agreement type that parsing obtains is separately added into corresponding priority team by priority division module
Row;
Message sending module drives function of giving out a contract for a project, by the message in the priority query according to excellent using the WIFI
The sequence of first grade from high to low is sent successively;
Further include priority value module, when the protocol type of the message obtained by the packet parsing module is SIP,
The message is divided into VO queues by the priority division module, and the priority value is 6 or 7;When by the message solution
When the protocol type for the message that analysis module obtains is IGMP, the message is divided into VI teams by the priority division module
Row, the priority value are 4 or 5;When the protocol type of the message obtained by the packet parsing module is HTTP,
The message is divided into BK queues by the priority division module, and the priority value is 2 or 3;When by the message solution
When the protocol type for the message that analysis module obtains is the type in addition to SIP, IGMP and HTTP, the priority divides mould
The message is divided into BE queues by block, and the priority value is 0 or 1.
4. system as claimed in claim 3, which is characterized in that further include that statistical information checks module, drawn in the priority
After the message is divided into the priority query by sub-module, pass through information inspection order real time inspection institute in shell serial ports
State the counting messages information in priority query.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510647011.3A CN105142183B (en) | 2015-10-09 | 2015-10-09 | Automatic identification WIFI data frames and the method and system for dividing priority |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510647011.3A CN105142183B (en) | 2015-10-09 | 2015-10-09 | Automatic identification WIFI data frames and the method and system for dividing priority |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105142183A CN105142183A (en) | 2015-12-09 |
CN105142183B true CN105142183B (en) | 2018-11-06 |
Family
ID=54727360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510647011.3A Active CN105142183B (en) | 2015-10-09 | 2015-10-09 | Automatic identification WIFI data frames and the method and system for dividing priority |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105142183B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108768882A (en) * | 2018-04-23 | 2018-11-06 | 烽火通信科技股份有限公司 | A kind of processing method and system of protocol massages |
CN113536170B (en) * | 2021-06-29 | 2024-08-30 | 深圳市明源云科技有限公司 | Method and device for printing browser content |
CN113923171B (en) * | 2021-08-26 | 2024-02-06 | 江苏智臻能源科技有限公司 | Communication management method based on load identification detection platform |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1645860A (en) * | 2005-01-20 | 2005-07-27 | 中国科学院计算技术研究所 | Terminal up dispatching method for voice service in wide band wireless cut-in network |
CN101212371A (en) * | 2006-12-29 | 2008-07-02 | 华为技术有限公司 | Channel access parameter configuration method, access point, server, and communication system |
CN101964996A (en) * | 2010-01-18 | 2011-02-02 | 华为终端有限公司 | Method and devices for optimizing wireless data transmission |
CN101997871A (en) * | 2010-09-21 | 2011-03-30 | 电子科技大学 | Device for quickly capturing, filtering and forwarding data |
CN102893690A (en) * | 2010-03-15 | 2013-01-23 | 捷讯研究有限公司 | Advertisement of quality of service (qos) information for network management traffic in a wireless local area network (wlan) |
WO2013030811A1 (en) * | 2011-09-02 | 2013-03-07 | Universidade Do Porto | Method and apparatus for feedback-based real-time network coding |
CN103095608A (en) * | 2013-01-07 | 2013-05-08 | 深圳市共进电子股份有限公司 | Delegation forwarding method for domain name system (DNS) data package |
CN103873456A (en) * | 2012-12-18 | 2014-06-18 | 华为终端有限公司 | Access control method of WiFi (wireless fidelity) equipment and WiFi equipment |
CN203933756U (en) * | 2014-05-26 | 2014-11-05 | 许天舒 | Enter for device and call reminding enters for system for the call reminding of smart mobile phone |
-
2015
- 2015-10-09 CN CN201510647011.3A patent/CN105142183B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1645860A (en) * | 2005-01-20 | 2005-07-27 | 中国科学院计算技术研究所 | Terminal up dispatching method for voice service in wide band wireless cut-in network |
CN101212371A (en) * | 2006-12-29 | 2008-07-02 | 华为技术有限公司 | Channel access parameter configuration method, access point, server, and communication system |
CN101964996A (en) * | 2010-01-18 | 2011-02-02 | 华为终端有限公司 | Method and devices for optimizing wireless data transmission |
CN102893690A (en) * | 2010-03-15 | 2013-01-23 | 捷讯研究有限公司 | Advertisement of quality of service (qos) information for network management traffic in a wireless local area network (wlan) |
CN101997871A (en) * | 2010-09-21 | 2011-03-30 | 电子科技大学 | Device for quickly capturing, filtering and forwarding data |
WO2013030811A1 (en) * | 2011-09-02 | 2013-03-07 | Universidade Do Porto | Method and apparatus for feedback-based real-time network coding |
CN103873456A (en) * | 2012-12-18 | 2014-06-18 | 华为终端有限公司 | Access control method of WiFi (wireless fidelity) equipment and WiFi equipment |
CN103095608A (en) * | 2013-01-07 | 2013-05-08 | 深圳市共进电子股份有限公司 | Delegation forwarding method for domain name system (DNS) data package |
CN203933756U (en) * | 2014-05-26 | 2014-11-05 | 许天舒 | Enter for device and call reminding enters for system for the call reminding of smart mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN105142183A (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10243865B2 (en) | Combined hardware/software forwarding mechanism and method | |
Szigeti et al. | End-To-End QoS Network Design: Quality of Service for Rich-Media and Cloud Networks | |
CN101692648B (en) | Method and system for queue scheduling | |
US20030097460A1 (en) | Relay apparatus and relay method suitable for performing communication to ensure quality of service | |
US20150358992A1 (en) | Method and apparatus for prioritizing voice over internet protocol signaling messages | |
CN102170663B (en) | 3G (The Third Generation Telecommunication)-based method and equipment for guaranteeing service quality in real-time transmission service | |
WO2021227559A1 (en) | Communication method, apparatus, and system | |
US9379999B2 (en) | Audio power based media bandwidth management | |
CN103442391A (en) | Data transmission method and system as well as user terminal | |
CN105142183B (en) | Automatic identification WIFI data frames and the method and system for dividing priority | |
CN103297290A (en) | Intelligent and scalable network monitoring using a hierarchy of devices | |
CN108990115B (en) | Method for guaranteeing QoS under multi-core network networking of cluster communication system | |
US20060140146A1 (en) | Method for controlling data circuits | |
WO2022257967A1 (en) | Transmission processing method and apparatus, and access network node and core network node | |
US9634950B2 (en) | Ethernet media converter supporting high-speed wireless access points | |
CN114095388B (en) | Method for exchanging data packet classification identifiers between RTC/RTE equipment and WiFi access point and wireless access point | |
CN110719432A (en) | Data transmission method and device, electronic equipment and storage medium | |
US8045561B1 (en) | Two stage traffic scheduling | |
EP1775900B1 (en) | ISDN data transmission method and system through an IP bearer connection | |
US20060239286A1 (en) | Method for commonly controlling the bandwidths of a group of individual information flows | |
CN113038530B (en) | High-efficiency transmission method for packet service of QoS guarantee of satellite mobile communication system | |
CN115484637A (en) | System and method for prioritizing data packets based on application scenarios, user states, and user roles | |
Yuan et al. | iVoIP: an intelligent bandwidth management scheme for VoIP in WLANs | |
JP2009065558A (en) | Access transmission device having voice over internet protocol function, access system, and priority control method of voice over internet protocol transmission | |
CN106302363A (en) | The management method of media cascade and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |