CN105142183A - Method and system capable of automatically identifying WIFI data frame and dividing priority - Google Patents

Method and system capable of automatically identifying WIFI data frame and dividing priority Download PDF

Info

Publication number
CN105142183A
CN105142183A CN201510647011.3A CN201510647011A CN105142183A CN 105142183 A CN105142183 A CN 105142183A CN 201510647011 A CN201510647011 A CN 201510647011A CN 105142183 A CN105142183 A CN 105142183A
Authority
CN
China
Prior art keywords
wifi
priority
message
described message
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.)
Granted
Application number
CN201510647011.3A
Other languages
Chinese (zh)
Other versions
CN105142183B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201510647011.3A priority Critical patent/CN105142183B/en
Publication of CN105142183A publication Critical patent/CN105142183A/en
Application granted granted Critical
Publication of CN105142183B publication Critical patent/CN105142183B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]

Landscapes

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

Abstract

The invention discloses a method and system capable of automatically identifying WIFI data frame and dividing priority. The method comprises the following steps: after WIFI driver receives a message sent to a WIFI port by an upper layer, calling a WIFI driver packet sending function; adding an skb operating function at the entrance of the WIFI driver packet sending function, and carrying out analysis on the message by utilizing the skb operating function; after analysis, adding messages with different protocol types obtained by analysis to corresponding priority queues respectively; and sending the messages in the priority queues according to the sequence from high to low of the priority by utilizing the WIFI driver packet sending function. In the WIFI driver packet sending flow, the skb operating function is added to carry out analysis on the messages, the messages are sent to the corresponding priority queues respectively according to the types of the messages obtained through analysis, and the messages are sent according to the sequence from high to low of the priority; and through the method above, WIFI service types are distinguished, thereby ensuring high-quality transmission of the messages in various priority queues, and meeting the requirement for high service quality of the WIFI services of the users.

Description

Automatic identification WIFI Frame the method and system of prioritization
Technical field
The present invention relates to WiFi technology field, be specifically related to the method and system automatically identifying WIFI Frame prioritization.
Background technology
Along with the fast development of information technology and intelligent terminal, WIFI is applied in daily life more and more universal, and meanwhile, the business based on WIFI also gets more and more, as business such as voice, video and online.WIFI application scenarios is primarily of the AP (WirelessAccessPoint providing WIFI to serve, wireless access points) and the various terminal composition supporting WIFI, at present, AP can support 2.4G frequency range and 5G frequency range, due to the frequency range that 2.4G frequency range is public, free, therefore, most of AP equipment is operated in 2.4G frequency range, thus cause the interference each other of AP equipment, cause the decline of WIFI experience sense.
The access of traditional WIFI network to all associate devices " is made no exception ", namely when traffic needs exceedes available bandwidth, no matter the type of data how, the throughput of data flow reduces without exception, but, the experience of user is exactly subject to the impact of data type and application type to a great extent, such as the printout of a Related Work is sent to the printer time delay of 1 second from PC, the concern of user may be caused, but impact is also little, but, at VoIP (VoiceoverInternetProtocol, the networking telephone) calling in, even increase a little time delay or reduce a little throughput, all call interruption may be made, cause admission control, or the video streaming image card on screen is paused.Therefore, voice, stream video, fluid sound data that are happy and interactive entertainment generation must have strict time delay and throughput requirement, for the Consumer's Experience of satisfaction guaranted, QoS (QualityofService, service quality) must be adopted to manage the data that different application produces and divide priority level.
For this reason, WMM (WIFI multimedia) defines four kinds of priority queries comprehensively, comprising voice, video, besteffort and background, the quality communicated with this optimized network, to ensure that these application and Internet resources set up stable connection.And current AP equipment does not distinguish WIFI type of service, Frame is put into low priority BE queue by acquiescence and is sent, thus causes WIFI experience sense poor, particularly in the environment that interference is larger.
Summary of the invention
Technical problem to be solved by this invention is that current AP equipment does not distinguish WIFI type of service, Frame is put into low priority BE queue by acquiescence and is sent, thus cause the sense of WIFI business experience poor, the especially more obvious problem of this defect in the environment that interference is larger.
In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is to provide a kind of automatic identification WIFI Frame and the method for prioritization, comprises the following steps:
After WIFI driving receives and sends to the message of WIFI port by upper strata, call WIFI and drive function of giving out a contract for a project;
Drive the entrance of function of giving out a contract for a project to increase skb handling function at described WIFI, and utilize described skb handling function to resolve described message;
After being parsed, the described message of resolving the different agreement type obtained is added corresponding priority query respectively;
Utilize described WIFI to drive function of giving out a contract for a project, the described message in described priority query is sent successively according to priority order from high to low.
In technique scheme, when the protocol type of resolving the described message obtained is SIP, described message is added VO queue, and described priority value is 6 or 7; When the protocol type of resolving the described message obtained is IGMP, described message is added VI queue, and described priority value is 4 or 5; When the protocol type of resolving the described message obtained is HTTP, described message is added BK queue, and described priority value is 2 or 3; When the protocol type of resolving the described message obtained is the type except SIP, IGMP and HTTP, described message is added BE queue, and described priority value is 0 or 1.
In technique scheme, after described message is joined described priority query, at shell serial ports by the counting messages information in priority query described in information inspection order real time inspection.
Present invention also offers a kind of automatic identification WIFI Frame and the system of prioritization, comprising:
Calling module, after WIFI driving receives and sends to the message of WIFI port by upper strata, calls WIFI and drives function of giving out a contract for a project;
Packet parsing module, drives the entrance of function of giving out a contract for a project to increase skb handling function at described WIFI, and utilizes described skb handling function to resolve described message;
Priority divides module, and the described message of resolving the different agreement type obtained is added corresponding priority query respectively;
Message sending module, utilizes described WIFI to drive function of giving out a contract for a project, is sent successively by the described message in described priority query according to priority order from high to low.
In technique scheme, also comprise priority value module, when the protocol type of the described message obtained by described packet parsing module is SIP, described priority divides module and described message is divided into VO queue, and described priority value is 6 or 7; When the protocol type of the described message obtained by described packet parsing module is IGMP, described priority divides module and described message is divided into VI queue, and described priority value is 4 or 5; When the protocol type of the described message obtained by described packet parsing module is HTTP, described priority divides module and described message is divided into BK queue, and described priority value is 2 or 3; When the protocol type of the described message obtained by described packet parsing module is the type except SIP, IGMP and HTTP, described priority divides module and described message is divided into BE queue, and described priority value is 0 or 1.
In technique scheme, also comprise statistical information and check module, after described message is divided into described priority query by described priority division module, at shell serial ports by the counting messages information in priority query described in information inspection order real time inspection.
The present invention, driving at WIFI gives out a contract for a project in flow process, add skb handling function to resolve message, and according to resolving the type of message obtained, message is put into corresponding priority query respectively, give out a contract for a project according to priority order from high to low, distinguish WIFI type of service in this way, ensure that the high-quality transmission of message in each priority query, meet the requirement of user to WIFI business high quality-of-service.
Accompanying drawing explanation
The automatic identification WIFI Frame that Fig. 1 provides for the embodiment of the present invention the method flow diagram of prioritization;
The automatic identification WIFI Frame that Fig. 2 provides for the embodiment of the present invention the system configuration schematic diagram of prioritization.
Embodiment
Below for AN5506-04F, be described in detail the present invention in conjunction with specification drawings and specific embodiments, AN5506-04F is a GPONONU equipment, and it supports that GPON is up, supports 4 gigabit ethernet ports, also supports WIFI simultaneously.
Embodiments provide a kind of automatic identification WIFI Frame and the method for prioritization, as shown in Figure 1, the method comprises the following steps:
After step S1, WIFI driving receives and sends to the message of WIFI port by upper strata, call WIFI and drive function of giving out a contract for a project.
Step S2, the entrance increase skb handling function driving function of giving out a contract for a project at WIFI, utilize skb handling function to resolve message.
Step S3, be parsed after, add corresponding priority query respectively by resolving the message of different agreement type obtained.
Particularly, when the protocol type of resolving the message obtained is SIP, when namely this message is voice flow, this message is added VO queue, priority value is 6 or 7; When the protocol type of resolving the message obtained is IGMP, when namely this message is video flowing, this message is added VI queue, priority value is 4 or 5; When the protocol type of resolving the message obtained is HTTP, when namely this message is business of networking stream, this message is added BK queue, priority value is 2 or 3; When the protocol type of resolving the message obtained is other type (protocol type of the message except SIP, IGMP and HTTP), namely during other stream, this message is added BE queue, and priority value is 0 or 1.
Can by the counting messages information in information inspection order real time inspection priority query at shell serial ports, before the message of each protocol type is divided into corresponding priority query, be merely able to see that BE queue has counting statistics, after the message of each protocol type is divided into corresponding priority query, when there being voice, video, during the WIFI business such as online or printing, can at shell serial ports by the counting messages information in the queue of information inspection order real time inspection priorities associated, this programme is by adding corresponding priority query respectively by the message of different agreement type, send according to priority order from high to low, distinguish WIFI type of service in this way, ensure that the high-quality transmission of message in each priority query.
About BE queue, when all protocol types that message and user set do not mate, message is admitted to the default class of system definition, BE queue allows for default class configured bandwidth, but more situation is BE queue uses WFQ (WeightedFairQueuing, Weighted Fair Queuing) scheduling, make all messages entering default class carry out based on stream queue scheduling.
Step S4, utilize WIFI to drive to give out a contract for a project function, the message in each priority query is sent successively according to priority order from high to low.
The embodiment of the present invention additionally provides a kind of automatic identification WIFI Frame and the system of prioritization, as shown in Figure 2, comprising:
After calling module 10, WIFI driving receives and sends to the message of WIFI port by upper strata, call WIFI and drive function of giving out a contract for a project;
Packet parsing module 20, drives the entrance of function of giving out a contract for a project to increase skb handling function at described WIFI, and utilizes described skb handling function to resolve described message;
Priority divides module 30, and the described message of resolving the different agreement type obtained is added corresponding priority query respectively;
Message sending module 40, utilizes described WIFI to drive function of giving out a contract for a project, is sent successively by the described message in described priority query according to priority order from high to low.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn the structural change made under enlightenment of the present invention, and every have identical or close technical scheme with the present invention, all falls within protection scope of the present invention.

Claims (6)

1. automatically identify WIFI Frame and the method for prioritization, it is characterized in that, comprise the following steps:
After WIFI driving receives and sends to the message of WIFI port by upper strata, call WIFI and drive function of giving out a contract for a project;
Drive the entrance of function of giving out a contract for a project to increase skb handling function at described WIFI, and utilize described skb handling function to resolve described message;
After being parsed, the described message of resolving the different agreement type obtained is added corresponding priority query respectively;
Utilize described WIFI to drive function of giving out a contract for a project, the described message in described priority query is sent successively according to priority order from high to low.
2. the method for claim 1, is characterized in that, when the protocol type of resolving the described message obtained is SIP, described message is added VO queue, and described priority value is 6 or 7; When the protocol type of resolving the described message obtained is IGMP, described message is added VI queue, and described priority value is 4 or 5; When the protocol type of resolving the described message obtained is HTTP, described message is added BK queue, and described priority value is 2 or 3; When the protocol type of resolving the described message obtained is the type except SIP, IGMP and HTTP, described message is added BE queue, and described priority value is 0 or 1.
3. method as claimed in claim 2, is characterized in that, after described message is joined described priority query, at shell serial ports by the counting messages information in priority query described in information inspection order real time inspection.
4. automatically identify WIFI Frame and the system of prioritization, it is characterized in that, comprising:
Calling module, after WIFI driving receives and sends to the message of WIFI port by upper strata, calls WIFI and drives function of giving out a contract for a project;
Packet parsing module, drives the entrance of function of giving out a contract for a project to increase skb handling function at described WIFI, and utilizes described skb handling function to resolve described message;
Priority divides module, and the described message of resolving the different agreement type obtained is added corresponding priority query respectively;
Message sending module, utilizes described WIFI to drive function of giving out a contract for a project, is sent successively by the described message in described priority query according to priority order from high to low.
5. system as claimed in claim 4, it is characterized in that, also comprise priority value module, when the protocol type of the described message obtained by described packet parsing module is SIP, described priority divides module and described message is divided into VO queue, and described priority value is 6 or 7; When the protocol type of the described message obtained by described packet parsing module is IGMP, described priority divides module and described message is divided into VI queue, and described priority value is 4 or 5; When the protocol type of the described message obtained by described packet parsing module is HTTP, described priority divides module and described message is divided into BK queue, and described priority value is 2 or 3; When the protocol type of the described message obtained by described packet parsing module is the type except SIP, IGMP and HTTP, described priority divides module and described message is divided into BE queue, and described priority value is 0 or 1.
6. system as claimed in claim 5, it is characterized in that, also comprise statistical information and check module, after described message is divided into described priority query by described priority division module, at shell serial ports by the counting messages information in priority query described in information inspection order real time inspection.
CN201510647011.3A 2015-10-09 2015-10-09 Automatic identification WIFI data frames and the method and system for dividing priority Active CN105142183B (en)

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 true CN105142183A (en) 2015-12-09
CN105142183B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN113536170A (en) * 2021-06-29 2021-10-22 深圳市明源云科技有限公司 Method and device for printing browser content
CN113923171A (en) * 2021-08-26 2022-01-11 江苏智臻能源科技有限公司 Communication management method based on load identification detection platform

Citations (9)

* Cited by examiner, † Cited by third party
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
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

Cited By (4)

* Cited by examiner, † Cited by third party
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
CN113536170A (en) * 2021-06-29 2021-10-22 深圳市明源云科技有限公司 Method and device for printing browser content
CN113923171A (en) * 2021-08-26 2022-01-11 江苏智臻能源科技有限公司 Communication management method based on load identification detection platform
CN113923171B (en) * 2021-08-26 2024-02-06 江苏智臻能源科技有限公司 Communication management method based on load identification detection platform

Also Published As

Publication number Publication date
CN105142183B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
Szigeti et al. End-To-End QoS Network Design: Quality of Service for Rich-Media and Cloud Networks
CN103404102B (en) A kind of load creating method, device and system
CN101692648B (en) Method and system for queue scheduling
CN101297530A (en) Processing service quality in communication system
US20080112343A1 (en) Treatment of secondary management data as user data in an ieee 802.16 system scheduler
CN108476424A (en) The enhancing of MDT services
CN108628518A (en) A kind of Application Program Interface replacing skins method and device
CN103297290A (en) Intelligent and scalable network monitoring using a hierarchy of devices
Giannone et al. Orchestrating heterogeneous MEC-based applications for connected vehicles
CN105142183A (en) Method and system capable of automatically identifying WIFI data frame and dividing priority
US11595852B2 (en) Wireless access point software application for classifying network data packets to improve packet forwarding performance
US20170318062A1 (en) Method for setting up a communication link
CN110121049A (en) A kind of IMS conference medium method of flow control and device
CN110830826A (en) Video transcoding equipment scheduling method and system
CN107659514A (en) A kind of accelerated method applied under WiFi
CN111510341A (en) Network testing method and device for video network
CN104283812B (en) A kind of method and system for identifying user's access bandwidth
CN113038530B (en) High-efficiency transmission method for packet service of QoS guarantee of satellite mobile communication system
CN102195948B (en) Data processing method and strategy, charging execution function and gateway equipment
CN107211031B (en) For the method for transmission data and software product in multimedia system and the device for controlling the transmission of the data in multimedia system
Yuan et al. iVoIP: an intelligent bandwidth management scheme for VoIP in WLANs
CN110474956B (en) Method and device for sealing number of video networking equipment, electronic equipment and readable storage medium
CN109788231B (en) Video telephone service processing method and device
CN109495709B (en) Video network management system and method
KR101707416B1 (en) METHOD AND SYSTEM FOR CONTROLLING QoS FOR DATA BROADCASTING SERVICE IN WIRELESS LAN AND ACCESS POINT THEREFOR

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