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

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 o...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WU JUNPING, SHAO CUNJIN, MENG XING
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung: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.