CN102932817A - Method and device for recognizing voice stream and wireless access equipment - Google Patents

Method and device for recognizing voice stream and wireless access equipment Download PDF

Info

Publication number
CN102932817A
CN102932817A CN2012103824540A CN201210382454A CN102932817A CN 102932817 A CN102932817 A CN 102932817A CN 2012103824540 A CN2012103824540 A CN 2012103824540A CN 201210382454 A CN201210382454 A CN 201210382454A CN 102932817 A CN102932817 A CN 102932817A
Authority
CN
China
Prior art keywords
address
correspondence
reception device
radio reception
message
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
CN2012103824540A
Other languages
Chinese (zh)
Other versions
CN102932817B (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201210382454.0A priority Critical patent/CN102932817B/en
Publication of CN102932817A publication Critical patent/CN102932817A/en
Application granted granted Critical
Publication of CN102932817B publication Critical patent/CN102932817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a device for recognizing a voice stream and wireless access equipment. The method for recognizing the voice stream comprises the steps of: receiving a first message by first wireless access equipment; acquiring a first IP (Internet Protocol) address pair of the first message, and determining a data stream corresponding to the first IP address pair to be a peer-to-peer stream according to the firs IP address pair; and if the length of the first message is within a preset byte interval, determining that the first message is an uplink voice message corresponding to the first IP address pair, and adding a first preset value to the number of the counted uplink voice message corresponding to the first IP address pair to obtain uplink voice message frequency corresponding to the first IP address pair, and determining the data stream corresponding to the first IP address pair as the voice stream according to the uplink voice frequency and downlink voice message frequency. According to the invention, the voice stream of non-WMM (Wireless Multimedia) standard can be recognized, and furthermore, the voice stream can be processed in a priority way by the wireless access equipment.

Description

The recognition methods of voice flow, device and radio reception device
Technical field
The present invention relates to the communication technology, relate in particular to a kind of recognition methods, device and radio reception device of voice flow.
Background technology
WLAN (wireless local area network) (Wireless Local Area Network; Hereinafter to be referred as: WLAN) development in recent years is rapid, uses also more and more universal based on the speech communication of WLAN.Supporting the terminal of WLAN, mainly is Wireless Fidelity (Wireless Fidelity; Hereinafter to be referred as: WIFI) mobile phone, panel computer, notebook computer and configured IEEE 802.11(Institute of Electrical and Electronics Engineers 802.11; Hereinafter to be referred as: IEEE 802.11) PC (the Personal Computer of wireless network card; Hereinafter to be referred as: PC) etc., as long as corresponding software is installed, can use WLAN to carry out speech communication.With respect to traditional global mobile communication (Global System For Mobile Communication; Hereinafter to be referred as: GSM), WLAN speech communication expense is cheap, is free basically at present.Common speech communication software has Skype, FaceTime, QQ voice, YY voice etc. at present.
But, WLAN is not the voice dedicated network, and except speech data, WLAN also carries other communication datas, such as: the communication data that produces is used in video, online game and/or web page browsing etc.
Because speech communication itself has real-time, the characteristics such as jitter-sensitive, when the WLAN business was busier, how guaranteeing the real-time of audio data stream and reducing shake became valuable research topic.And the first step of doing these optimizations is exactly identifiable language stream, namely the wireless speech data is distinguished from other wireless application data.
Can be used for identifying at present the technology of voice flow, depend on application itself, namely use the VoP that sends is stamped WIFI multimedia (WIFI MultiMedia; Hereinafter to be referred as: standard mark WMM), then WAP (wireless access point) (Access Point; Hereinafter to be referred as: AP) can recognize this mark, and priority treatment has had the data of this mark.
But present most application may be to consider for compatibility, and major part is not all stamped the mark of WMM, and like this, AP also just can not preferentially process speech data with regard to the None-identified speech data.
Summary of the invention
The invention provides a kind of recognition methods, device and radio reception device of voice flow, with realization the voice flow of non-WMM standard is identified.
One aspect of the present invention provides a kind of recognition methods of voice flow, comprising:
The first radio reception device receives the first message of the source client transmission of described the first radio reception device association;
Described the first radio reception device obtains the first Internet Protocol IP address pair of described the first message, and according to a described IP address to determining that a described IP address is point-to-point stream to the data flow of correspondence; The one IP address of described the first message is to being the IP address that forms of the source IP address of described the first message and purpose IP address pair;
If the length of described the first message is in the predetermined bite interval, then described the first radio reception device determine described the first message be a described IP address to the ascending voice message of correspondence, and the described IP address that will add up adds the first predetermined value to the number of the ascending voice message of correspondence;
Described the first radio reception device obtains a described IP address to the ascending voice message frequency of correspondence according to a described IP address of adding up in the scheduled time length to the number of the ascending voice message of correspondence, and according to the described IP address that described ascending voice message frequency and statistics obtain the downlink voice message frequency of correspondence is determined that a described IP address is voice flow to the data flow of correspondence.
The present invention provides a kind of recognition device of voice flow on the other hand, is arranged in the radio reception device, and described device comprises:
Receiver module is for the first message of the source client transmission that receives described radio reception device association;
The first determination module is used for obtaining the first Internet Protocol IP address pair of described the first message, and according to a described IP address to determining that a described IP address is point-to-point stream to the data flow of correspondence; The one IP address of described the first message is to being the IP address that forms of the source IP address of described the first message and purpose IP address pair;
The second determination module is used for length when described the first message in the predetermined bite interval time, determines that described the first message is that a described IP address is to the ascending voice message of correspondence;
Statistical module is used for after described the second determination module determines that described the first message is the ascending voice message of a described IP address to correspondence, and the described IP address of statistics is added the first predetermined value to the number of the ascending voice message of correspondence;
Obtain module, be used for according to the described IP address of described statistical module counts in the scheduled time length number of the ascending voice message of correspondence being obtained a described IP address to the ascending voice message frequency of correspondence;
The 3rd determination module is used for the described ascending voice message frequency that obtains according to described acquisition module and a described IP address of adding up acquisition determines that to the downlink voice message frequency of correspondence a described IP address is voice flow to the data flow of correspondence.
Another aspect of the invention provides a kind of radio reception device, comprises the recognition device of aforesaid voice flow.
Technique effect of the present invention is: the first radio reception device receives after the first message that the source client of this first radio reception device association sends, obtain the IP address pair of this first message, and according to an IP address to determining that an above-mentioned IP address is point-to-point stream to the data flow of correspondence; If the length of the first message is in the predetermined bite interval, then the first radio reception device determine the first message be an above-mentioned IP address to the ascending voice message of correspondence, and the IP address that will add up adds the first predetermined value to the number of the ascending voice message of correspondence; Then, the first radio reception device obtains an IP address to the ascending voice message frequency of correspondence according to an IP address of adding up in the scheduled time length to the number of the ascending voice message of correspondence, and according to the IP address that above-mentioned ascending voice message frequency and statistics obtain the downlink voice message frequency of correspondence is determined that an IP address is voice flow to the data flow of correspondence; Thereby can realize the voice flow of non-WMM standard is identified, and then can realize that radio reception device carries out priority treatment to voice flow.
Description of drawings
Fig. 1 is the flow chart of an embodiment of recognition methods of voice flow of the present invention;
Fig. 2 is the schematic diagram of an embodiment of application scenarios of the present invention;
Fig. 3 is the flow chart of another embodiment of recognition methods of voice flow of the present invention;
Fig. 4 is the flow chart that downlink message of the present invention is processed an embodiment;
Fig. 5 is the structural representation of an embodiment of recognition device of voice flow of the present invention;
Fig. 6 is the structural representation of another embodiment of recognition device of voice flow of the present invention.
Embodiment
Fig. 1 is the flow chart of an embodiment of recognition methods of voice flow of the present invention, and as shown in Figure 1, the recognition methods of this voice flow can comprise:
Step 101, the first radio reception device receive the first message of the source client transmission of this first radio reception device association.
Step 102, the first radio reception device obtain the first Internet Protocol (Internet Protocol of the first message; Hereinafter to be referred as IP) address pair, and according to an IP address to determining that an IP address is point-to-point (Peer to Peer to the data flow of correspondence; Hereinafter to be referred as: P2P) stream.
Wherein, IP address that the source IP address that is the first message and purpose IP address are formed, an IP address of above-mentioned the first message pair.
Particularly, according to an IP address to determine an IP address to the data flow of correspondence be P2P stream can for: the first radio reception device is searched with an IP address the first corresponding list item in the upstream table that this first radio reception device is preserved;
If find, then the first radio reception device judges in the first list item of above-mentioned upstream table whether be provided with the P2P mark; If be provided with the P2P mark in the first list item of above-mentioned upstream table, then the first radio reception device determines that an IP address is P2P stream to the data flow of correspondence; If in the first list item of above-mentioned upstream table the P2P mark is not set, then the first radio reception device is searched with an IP address the first corresponding list item in the downstream table that this first radio reception device is preserved, and after finding, determine that an above-mentioned IP address is P2P stream to the data flow of correspondence, and in the first list item of above-mentioned upstream table and above-mentioned downstream table, the P2P mark is set;
If the first radio reception device does not find with an IP address the first corresponding list item in the upstream table that this first radio reception device is preserved, then the first radio reception device is set up with an IP address the first corresponding list item in above-mentioned upstream table, in the downstream table that the first radio reception device is preserved, search with an IP address the first corresponding list item, and after finding, determine that an IP address is P2P stream to the data flow of correspondence, and in the first list item of above-mentioned upstream table and above-mentioned downstream table, the P2P mark is set.
Need to prove, if in upstream table and downstream table, all exist with an IP address the first corresponding list item, can determine that then an IP address to being the IP address that belongs to P2P pair, can determine that an IP address is that P2P flows to the data flow of correspondence.Therefore, in the upstream table of preserving at this first radio reception device, find with an IP address the first corresponding list item, and when in the downstream table that this first radio reception device is preserved, finding with an IP address corresponding the first list item, can determine that an IP address to for belonging to the IP address pair of P2P, determines that an IP address is P2P stream to the data flow of correspondence.Equally, if the first radio reception device does not find with an IP address the first corresponding list item in the upstream table that this first radio reception device is preserved, then working as the first radio reception device sets up with an IP address the first corresponding list item in above-mentioned upstream table, and when in the downstream table that the first radio reception device is preserved, finding with an IP address corresponding the first list item, can determine that also an IP address to for belonging to the IP address pair of P2P, determines that an IP address is P2P stream to the data flow of correspondence.
Step 103, if the length of the first message is in the predetermined bite interval, then the first radio reception device determine the first message be an above-mentioned IP address to the ascending voice message of correspondence, and the IP address that will add up adds the first predetermined value to the number of the ascending voice message of correspondence.
Wherein, the size in above-mentioned predetermined bite interval can arrange according to systematic function and/or practical application when specific implementation voluntarily, the present embodiment is not construed as limiting the size in above-mentioned predetermined bite interval, for instance, above-mentioned predetermined bite can be set interval for [128,256], if the length of the first message is between 128 bytes and 256 bytes like this, then the IP address that will add up of the first radio reception device adds the first predetermined value to the number of the ascending voice message of correspondence.
Above-mentioned the first predetermined value can arrange according to systematic function and/or practical application when specific implementation equally voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned the first predetermined value, and for instance, above-mentioned the first predetermined value can be 1.
Step 104, the first radio reception device obtains an IP address to the ascending voice message frequency of correspondence according to an IP address of adding up in the scheduled time length to the number of the ascending voice message of correspondence, and according to the IP address that above-mentioned ascending voice message frequency and statistics obtain the downlink voice message frequency of correspondence is determined that an IP address is voice flow to the data flow of correspondence.
Particularly, the first radio reception device according to an IP address of adding up in the scheduled time length to the number of the ascending voice message of correspondence obtain an IP address to the ascending voice message frequency of correspondence can for: the first radio reception device calculates an above-mentioned IP address to the merchant of number and the scheduled time length of the ascending voice message of correspondence, as the ascending voice message frequency of an IP address to correspondence; Wherein, this scheduled time length can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned scheduled time length, and for instance, above-mentioned scheduled time length can be 1 second.
Particularly, an IP address that obtains according to above-mentioned ascending voice message frequency and statistics to the downlink voice message frequency of correspondence determine an IP address to the data flow of correspondence be voice flow can for: if the IP address that above-mentioned ascending voice message frequency and statistics obtain is less than or equal to first threshold to the absolute value of the difference of corresponding downlink voice message frequency, then the first radio reception device adds the second predetermined value with the value of the hit counter corresponding with the first list item of the first radio reception device preservation; If add the value of the above-mentioned hit counter corresponding with the first list item behind the second predetermined value more than or equal to Second Threshold, then the first radio reception device determines that an above-mentioned IP address is voice flow to the data flow of correspondence.
Wherein, the size of first threshold can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned first threshold, and for instance, above-mentioned first threshold can be 10; The size of Second Threshold can arrange according to systematic function and/or practical application when specific implementation equally voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned Second Threshold, and for instance, above-mentioned Second Threshold can be 5.
Above-mentioned the second predetermined value can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned the second predetermined value, and for instance, above-mentioned the second predetermined value can be 1.
In addition, in the present embodiment, the first radio reception device can also receive the second message that the second radio reception device sends; This second radio reception device is the associated radio reception device of the purpose client that communicates with the source client; Then, the first radio reception device is searched the 2nd IP address with the second message to corresponding list item in the downstream table that this first radio reception device is preserved, if be the first list item with the 2nd IP address to corresponding list item in the downstream table, and the length of above-mentioned the second message is in above-mentioned predetermined bite interval, then the first radio reception device can determine above-mentioned the second message be an IP address to the downlink voice message of correspondence, and the IP address that will add up adds the first predetermined value to the number of the downlink voice message of correspondence; Next, the first radio reception device can obtain an IP address to the downlink voice message frequency of correspondence to the number of the downlink voice message of correspondence according to an IP address of adding up in the scheduled time length.Wherein, the 2nd IP address of above-mentioned the second message is to being the IP address that forms of the source IP address of the second message and purpose IP address pair.
Particularly, in the present embodiment step 104, the first radio reception device according to an IP address of adding up in the scheduled time length to the number of the ascending voice message of correspondence obtain an IP address to the ascending voice message frequency of correspondence can for: if the first radio reception device determine between the very first time stamp of current time and this first radio reception device record interval greater than or equal scheduled time length, then according to an IP address of adding up in the above-mentioned scheduled time length number of the ascending voice message of correspondence is obtained an IP address to the ascending voice message frequency of correspondence.
Then according to an IP address of adding up in the scheduled time length number of the ascending voice message of correspondence is obtained after the ascending voice message frequency of an IP address to correspondence, the first radio reception device is updated to the very first time stamp of this first radio reception device record and obtains an IP address to the moment of the ascending voice message frequency of correspondence.
In the present embodiment, further, an IP address that obtains according to above-mentioned ascending voice message frequency and statistics determines that to the downlink voice message frequency of correspondence an IP address is after the voice flow to the data flow of correspondence, and the first radio reception device arranges phonetic symbol in the first list item of above-mentioned upstream table and above-mentioned downstream table.
Further, the first radio reception device determine between the very first time stamp of current time and this first radio reception device record interval greater than or equal before the scheduled time length, the first radio reception device can also judge in the first list item of above-mentioned upstream table whether be provided with phonetic symbol; If be provided with phonetic symbol in the first list item of above-mentioned upstream table, then the first radio reception device is that above-mentioned the first message arranges phonetic symbol.
In above-described embodiment, the first radio reception device receives after the first message that the source client of this first radio reception device association sends, obtain the IP address pair of this first message, and according to an IP address to determining that an above-mentioned IP address is P2P stream to the data flow of correspondence; If the length of the first message is in the predetermined bite interval, then the first radio reception device determine the first message be an above-mentioned IP address to the ascending voice message of correspondence, and the IP address that will add up adds the first predetermined value to the number of the ascending voice message of correspondence; Then, the first radio reception device obtains an IP address to the ascending voice message frequency of correspondence according to an IP address of adding up in the scheduled time length to the number of the ascending voice message of correspondence, and according to the IP address that above-mentioned ascending voice message frequency and statistics obtain the downlink voice message frequency of correspondence is determined that an IP address is voice flow to the data flow of correspondence; Thereby can realize the voice flow of non-WMM standard is identified, and then can realize that radio reception device carries out priority treatment to voice flow, guarantee the real-time of voice flow and reduce shake.
In addition, the method that Fig. 1 of the present invention provides also can be identified the voice flow of WMM standard, and is applied widely, compatible strong.
Radio reception device during the present invention is embodiment illustrated in fig. 1 can have for AP etc. the equipment of wireless access function, the present invention is not construed as limiting the form of radio reception device, but in the description of following examples of the present invention, describe take radio reception device as AP as example.
The recognition methods of the present invention's voice flow that provides embodiment illustrated in fig. 1 can be used for the present invention's application scenarios shown in Figure 2, and Fig. 2 is the schematic diagram of an embodiment of application scenarios of the present invention.
Concerning AP, mainly be identification ascending voice stream, before voice flow enters switching network, voice flow to be identified and mark, follow-up switching network equipment could come processed voice stream for this mark.For the AP1 among Fig. 2 and AP2, the voice flow that the main identify customer end 1 of AP1 sends; The voice flow that the main identify customer end 2 of AP2 sends.
Among the present invention, AP identifies voice flow according to the characteristics of voice flow, and the characteristics of voice flow comprise:
1, voice flow is based on transmission control protocol (Transmission Control Protocol; Hereinafter to be referred as: TCP)/User Datagram Protoco (UDP) (User Datagram Protocol; Hereinafter to be referred as: P2P stream UDP);
2, voice flow is bidirectional flow, and namely conversation is mutual, and the data flow on the up-downlink direction is similar;
3, the packet frequency stabilization of voice flow, generally 20 milliseconds each, different encoding scheme can be different;
4, the voice flow packet is big or small basically identical, is more or less the same.
The below describes in detail to the recognition methods of voice flow provided by the invention.
Fig. 3 is the flow chart of another embodiment of recognition methods of voice flow of the present invention, and as shown in Figure 3, the recognition methods of this voice flow can comprise:
Step 301, an AP receives the first message of the source client transmission of an AP association.
Step 302, an AP judges that an IP address that whether exists with the first message is to the first corresponding list item in the upstream table that an AP preserves.If so, execution in step 303 then; If do not exist an IP address with the first message to the first corresponding list item in the upstream table that an AP preserves, then execution in step 304.
In the present embodiment, an AP receives after the first message, records source IP address and the purpose IP address of this first message; The IP address that the one IP address of above-mentioned the first message forms the source IP address that is the first message and purpose IP address pair.
Particularly, when in the upstream table, searching with an IP address corresponding the first list item, can { IPSRC1, IPDST1} be that key assignments is searched, and wherein, IPSRC1 represents the source IP address of the first message, and IPDST1 represents the purpose IP address of the first message.
Step 303, an AP judges whether there is the P2P mark in the first list item.If so, execution in step 305 then; If there is not the P2P mark in the first list item, then execution in step 306.
Step 304, an AP sets up in the upstream table with an IP address the first corresponding list item.Then execution in step 306.
Step 305, an AP judges that the length of the first message is whether in the predetermined bite interval.If so, execution in step 307 then; If an AP determines that the length of the first message not in the predetermined bite interval, then finishes this flow process.
Wherein, the size in above-mentioned predetermined bite interval can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size in above-mentioned predetermined bite interval, for instance, above-mentioned predetermined bite can be set interval is [128,256].
Step 306, an AP judges in the downstream table that an AP preserves whether exist with an IP address the first corresponding list item.If so, execution in step 308 then; If do not exist in the downstream table that an AP preserves with an IP address the first corresponding list item, then finish this flow process.
Particularly, when in the downstream table, searching with an IP address corresponding the first list item, can { IPDST1, IPSRC1} be that key assignments is searched.
Step 307, an AP determine the first message be an above-mentioned IP address to the ascending voice message of correspondence, and the IP address that will add up adds 1 to the number of the ascending voice message of correspondence.Then execution in step 309.
That is to say, if an AP determines that the length of the first message is between 128 bytes and 256 bytes, then an AP determines that the first message is that an IP address is to the ascending voice message of correspondence, so the IP address that an AP will add up adds 1 to the number of the ascending voice message of correspondence, here have erroneous judgement, but indivedual erroneous judgement does not affect realization of the present invention.
In the present embodiment, after an AP determined that the first message is the ascending voice message of an IP address to correspondence, an AP can also arrange aging counter and hit counter for the first list item; Wherein, the aging counter corresponding with the first list item and the initial value of hit counter are 0.
Step 308, an AP arranges the P2P mark in above-mentioned first list item of upstream table and downstream table.Then execution in step 305.
Step 309, an AP judges in the first list item of upstream table whether be provided with phonetic symbol.If so, execution in step 310 then; If in the first list item of above-mentioned upstream table phonetic symbol is not set, then execution in step 311.
Step 310, an AP is that above-mentioned the first message arranges phonetic symbol.Then execution in step 311.
Step 311, an AP judges that whether time interval between the very first time stamp of current time and AP record is more than or equal to scheduled time length.If so, execution in step 312 then; If an AP determines time interval between the very first time stamp of current time and AP record and less than scheduled time length, then finish this flow process, at this moment an AP directly forwards the packet away and gets final product (not shown among Fig. 3).
Step 312, the one AP obtains an IP address to the ascending voice message frequency of correspondence according to an IP address of adding up in the scheduled time length to the number of the ascending voice message of correspondence, and the very first time stamp of this first radio reception device record is updated to obtains an IP address to the moment of the ascending voice message frequency of correspondence.
Particularly, an AP can calculate an above-mentioned IP address to the merchant of number and the scheduled time length of the ascending voice message of correspondence, as the ascending voice message frequency of an IP address to correspondence.
Wherein, this scheduled time length can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned scheduled time length, and for instance, above-mentioned scheduled time length can be 1 second.
Step 313 judges whether an IP address that above-mentioned ascending voice message frequency and statistics obtain is less than or equal to first threshold to the absolute value of the difference of corresponding downlink voice message frequency.If so, execution in step 314 then; If greater than first threshold, then execution in step 315 to the absolute value of the difference of corresponding downlink voice message frequency in the IP address that above-mentioned ascending voice message frequency and statistics obtain.
Wherein, the size of first threshold can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned first threshold, and for instance, above-mentioned first threshold can be 10.
Step 314, the value zero clearing of the aging counter that an AP will be corresponding with the first list item, and the value of hit counter that will be corresponding with the first list item adds 1.Then execution in step 316.
Step 315, the value zero clearing of the hit counter that an AP will be corresponding with the first list item, and the value of aging counter that will be corresponding with the first list item adds 1.Then execution in step 318.
Step 316, an AP judges that whether the value add the 1 rear above-mentioned hit counter corresponding with the first list item is more than or equal to Second Threshold.If so, execution in step 317 then; If add the value of the 1 rear above-mentioned hit counter corresponding with the first list item less than Second Threshold, then finish this flow process.
Wherein, the size of Second Threshold can arrange according to systematic function and/or practical application when specific implementation equally voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned Second Threshold, and for instance, above-mentioned Second Threshold can be 5.
Step 317, an AP determines that an above-mentioned IP address is voice flow to the data flow of correspondence, arranges phonetic symbol in above-mentioned the first list item.
Step 318, an AP judges that whether the value add the 1 rear above-mentioned aging counter corresponding with the first list item is more than or equal to the 3rd threshold value.If so, execution in step 319 then; If add the value of the 1 rear above-mentioned aging counter corresponding with the first list item less than the 3rd threshold value, then finish this flow process.
Wherein, the size of the 3rd threshold value can arrange according to systematic function and/or practical application when specific implementation equally voluntarily, and the 3rd threshold value can equate with Second Threshold or not wait, and the present embodiment is not construed as limiting the size of above-mentioned the 3rd threshold value, for instance, above-mentioned the 3rd threshold value can be 5.
Step 319, an AP removes the phonetic symbol of the first list item.
Above-described embodiment can be realized the voice flow of non-WMM standard is identified, and then can realize that radio reception device carries out priority treatment to voice flow, guarantees the real-time of voice flow and reduces shake.
Fig. 4 is the flow chart that downlink message of the present invention is processed an embodiment, as shown in Figure 4, can comprise:
Step 401, an AP receives the second message that the 2nd AP sends.
Wherein, the 2nd AP is the associated AP of the purpose client that communicates with the source client; The source client here is related with an AP.
Step 402, an AP judges that the 2nd IP address that whether exists with the second message is to the second corresponding list item in the downstream table that an AP preserves.If so, execution in step 403 then; If do not exist the 2nd IP address with the second message to the second corresponding list item in the downstream table that an AP preserves, then execution in step 404.
In the present embodiment, an AP receives after the second message, records source IP address and the purpose IP address of this second message; The IP address that the 2nd IP address of above-mentioned the second message forms the source IP address that is the second message and purpose IP address pair.
Particularly, when in the downstream table, searching with the 2nd IP address corresponding the first list item, can { IPSRC2, IPDST2} be that key assignments is searched, and wherein, IPSRC2 represents the source IP address of the second message, and IPDST2 represents the purpose IP address of the second message.
Step 403, an AP judges whether there is the P2P mark in the second list item.If so, execution in step 405 then; If there is not the P2P mark in the second list item, then execution in step 406.
Step 404, an AP sets up in the downstream table with the 2nd IP address the second corresponding list item.Then execution in step 406.
Step 405, an AP judges that the length of the second message is whether in the predetermined bite interval.If so, execution in step 407 then; If an AP determines that the length of the second message not in the predetermined bite interval, then finishes this flow process.
Wherein, the size in above-mentioned predetermined bite interval can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size in above-mentioned predetermined bite interval, for instance, above-mentioned predetermined bite can be set interval is [128,256].
Step 406, an AP judges in the upstream table that an AP preserves whether exist with the 2nd IP address the second corresponding list item.If so, execution in step 408 then; If do not exist in the upstream table that an AP preserves with the 2nd IP address the second corresponding list item, then finish this flow process.
Particularly, when in the upstream table, searching with the 2nd IP address corresponding the second list item, can { IPDST2, IPSRC2} be that key assignments is searched.
Step 407, an AP determine the second message be above-mentioned the 2nd IP address to the downlink voice message of correspondence, and the 2nd IP address that will add up adds 1 to the number of the downlink voice message of correspondence.Then execution in step 409.
That is to say, if an AP determines that the length of the second message is between 128 bytes and 256 bytes, then an AP determines that the second message is that the 2nd IP address is to the downlink voice message of correspondence, so the 2nd IP address that an AP will add up adds 1 to the number of the downlink voice message of correspondence, here have erroneous judgement, but indivedual erroneous judgement does not affect realization of the present invention.
In the present embodiment, after an AP determined that the second message is the downlink voice message of the 2nd IP address to correspondence, an AP can also arrange aging counter and hit counter for the second list item; Wherein, the aging counter corresponding with the second list item and the initial value of hit counter are 0.
Step 408, an AP arranges the P2P mark in above-mentioned second list item of upstream table and downstream table.Then execution in step 405.
Need to prove, if in upstream table and downstream table, all exist with the 2nd IP address the second corresponding list item, can determine that then the 2nd IP address to being the IP address that belongs to P2P pair, can determine that the 2nd IP address is that P2P flows to the data flow of correspondence.Therefore, in the downstream table of preserving at an AP, find with the 2nd IP address the second corresponding list item, and when in the upstream table that an AP preserves, finding with the 2nd IP address corresponding the second list item, can determine that the 2nd IP address is to for belonging to the IP address pair of P2P, determine that the 2nd IP address is P2P stream to the data flow of correspondence, at this moment, an AP can arrange the P2P mark in above-mentioned second list item of upstream table and downstream table.
Step 409, an AP judges in the second list item of downstream table whether be provided with phonetic symbol.If so, execution in step 410 then; If in the second list item of above-mentioned downstream table phonetic symbol is not set, then execution in step 411.
Step 410, an AP is that above-mentioned the second message arranges phonetic symbol.Then execution in step 411.
Step 411, an AP judges that whether time interval between the second timestamp of current time and AP record is more than or equal to scheduled time length.If so, execution in step 412 then; If an AP determines time interval between the second timestamp of current time and AP record and less than scheduled time length, then finish this flow process, at this moment an AP directly forwards the packet away and gets final product (not shown among Fig. 4).
Step 412, the one AP obtains the 2nd IP address to the downlink voice message frequency of correspondence according to the 2nd IP address of adding up in the scheduled time length to the number of the downlink voice message of correspondence, and with the second update of time stamp of this first radio reception device record for obtaining the 2nd IP address to the moment of the downlink voice message frequency of correspondence.
Particularly, an AP can calculate above-mentioned the 2nd IP address to the merchant of number and the scheduled time length of the downlink voice message of correspondence, as the downlink voice message frequency of the 2nd IP address to correspondence.
Wherein, this scheduled time length can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned scheduled time length, and for instance, above-mentioned scheduled time length can be 1 second.
Step 413 judges whether the 2nd IP address that above-mentioned downlink voice message frequency and statistics obtain is less than or equal to first threshold to the absolute value of the difference of corresponding ascending voice message frequency.If so, execution in step 414 then; If greater than first threshold, then execution in step 415 to the absolute value of the difference of corresponding ascending voice message frequency in the 2nd IP address that above-mentioned downlink voice message frequency and statistics obtain.
Wherein, the size of first threshold can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned first threshold, and for instance, above-mentioned first threshold can be 10.
Step 414, the value zero clearing of the aging counter that an AP will be corresponding with the second list item, and the value of hit counter that will be corresponding with the second list item adds 1.Then finish this flow process.
Step 415, the value zero clearing of the hit counter that an AP will be corresponding with the second list item, and the value of aging counter that will be corresponding with the second list item adds 1.Then finish this flow process.
Above-described embodiment can be realized downlink message is processed, and obtains downlink voice message frequency, for the voice flow identification of the present invention in embodiment illustrated in fig. 3 provides Data support.
Need to prove, the embodiment illustrated in fig. 3 and the present invention's handling process that provides respectively uplink message and downlink message embodiment illustrated in fig. 4 of the present invention, the processing of uplink message and downlink message walks abreast, in no particular order; If the IPSRC1 during the present invention is embodiment illustrated in fig. 3 is the IPDST2 of the present invention in embodiment illustrated in fig. 4, IPDST1 during the present invention is embodiment illustrated in fig. 3 is the IPSRC2 of the present invention in embodiment illustrated in fig. 4, then in the present invention's downstream table embodiment illustrated in fig. 3 with an IP address to the first corresponding list item, be in the present invention's downstream table embodiment illustrated in fig. 4 with the 2nd IP address the second corresponding list item; In the present invention's upstream table embodiment illustrated in fig. 3 with an IP address to the first corresponding list item, be in the present invention's upstream table embodiment illustrated in fig. 4 with the 2nd IP address the second corresponding list item; At this moment, Fig. 3 of the present invention and the method that provides embodiment illustrated in fig. 4 can realize { IPSRC1, IPDST1} identifies the data flow of correspondence this address, identifies { IPSRC1, whether this address of IPDST1} is voice flow to the data flow of correspondence.
As previously mentioned, if the IPSRC1 during the present invention is embodiment illustrated in fig. 3 is the IPDST2 of the present invention in embodiment illustrated in fig. 4, IPDST1 during the present invention is embodiment illustrated in fig. 3 is the IPSRC2 of the present invention in embodiment illustrated in fig. 4, then first list item of the present invention in embodiment illustrated in fig. 3 is second list item of the present invention in embodiment illustrated in fig. 4, aging counter and the hit counter corresponding with the first list item during the present invention is embodiment illustrated in fig. 3, be the present invention embodiment illustrated in fig. 4 in aging counter and the hit counter corresponding with the second list item.That is to say, the value of the hit counter corresponding with the second list item also is for phonetic symbol is set, and the value of the hit counter corresponding with the second list item also is in order to remove phonetic symbol.
Because the present invention is embodiment illustrated in fig. 3 and the present invention's handling process that provides respectively uplink message and downlink message embodiment illustrated in fig. 4, the processing of uplink message and downlink message walks abreast, in no particular order, therefore, be understandable that, Fig. 3 of the present invention and embodiment illustrated in fig. 4 in to the operation of the zero and add 1 of the value of hit counter and aging counter, all are operations that the value of the same hit counter of the current preservation of an AP and same aging counter is carried out.
The recognition methods of voice flow provided by the invention can be used for wired environment, can also be used for the symmetric(al) flow of identification except voice flow.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can be finished by the relevant hardware of program command.Aforesaid program can be stored in the computer read/write memory medium.This program is carried out the step that comprises above-mentioned each embodiment of the method when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 5 is the structural representation of an embodiment of recognition device of voice flow of the present invention, the recognition device of the voice flow in the present embodiment is arranged in the radio reception device, can realize the flow process that the present invention is embodiment illustrated in fig. 1, as shown in Figure 5, this device can comprise: receiver module 51, the first determination module 52, the second determination module 53, statistical module 54, acquisition module 55 and the 3rd determination module 56;
Wherein, receiver module 51 is for the first message of the source client transmission that receives above-mentioned radio reception device association;
The first determination module 52 be used for to obtain the IP address pair of the first message, and according to an IP address to determining that an IP address is P2P stream to the data flow of correspondence; The one IP address of above-mentioned the first message is to being the IP address that forms of the source IP address of the first message and purpose IP address pair;
The second determination module 53 is used for length when above-mentioned the first message in the predetermined bite interval time, determines that the first message is that an IP address is to the ascending voice message of correspondence; Wherein, the size in above-mentioned predetermined bite interval can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size in above-mentioned predetermined bite interval, for instance, above-mentioned predetermined bite can be set interval is [128,256];
Statistical module 54 is used for after the second determination module 53 determines that the first messages are the ascending voice message of an IP address to correspondence, and an IP address of statistics is added the first predetermined value to the number of the ascending voice message of correspondence; Wherein, above-mentioned the first predetermined value can arrange according to systematic function and/or practical application when specific implementation equally voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned the first predetermined value, and for instance, above-mentioned the first predetermined value can be 1;
Obtain module 55, be used for according to an IP address of 54 statistics of statistical module in the scheduled time length number of the ascending voice message of correspondence being obtained an IP address to the ascending voice message frequency of correspondence; Wherein, this scheduled time length can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned scheduled time length, and for instance, above-mentioned scheduled time length can be 1 second;
The 3rd determination module 56 is used for according to obtaining module 55 the ascending voice message frequency that obtains and the above-mentioned IP address that statistics obtains the downlink voice message frequency of correspondence being determined that an IP address is voice flow to the data flow of correspondence.
Wherein, obtain module 55, concrete calculating the one IP address that is used for is to the merchant of number and the above-mentioned scheduled time length of the ascending voice message of correspondence, as the ascending voice message frequency of an IP address to correspondence.
In above-described embodiment, receiver module 51 receives after the first message that the source client of this radio reception device association sends, the first determination module 52 obtains the IP address pair of the first message, and according to an IP address to determining that an IP address is P2P stream to the data flow of correspondence; If the length of the first message is in the predetermined bite interval, then the second determination module 53 determine the first messages be an above-mentioned IP address to the ascending voice message of correspondence, and the IP address that will be added up by statistical module 54 adds the first predetermined value to the number of the ascending voice message of correspondence; Then, obtain module 55 and according to an IP address of adding up in the scheduled time length number of the ascending voice message of correspondence is obtained an IP address to the ascending voice message frequency of correspondence, the 3rd determination module 56 determines that to the downlink voice message frequency of correspondence an IP address is voice flow to the data flow of correspondence according to the IP address that above-mentioned ascending voice message frequency and statistics obtain; Thereby can realize the voice flow of non-WMM standard is identified, and then can realize that radio reception device carries out priority treatment to voice flow.
Fig. 6 is the structural representation of another embodiment of recognition device of voice flow of the present invention, compare with the recognition device of voice flow shown in Figure 5, difference is, in the recognition device of voice flow shown in Figure 6, the first determination module 52 can comprise: search submodule 521, judge submodule 522, point-to-point stream is determined submodule 523, submodule 524 is set, set up submodule 525 and IP address to obtaining submodule 526;
The IP address is to obtaining submodule 526, is used for obtaining the IP address pair of the first message;
Search submodule 521, be used for the upstream table that radio reception device is preserved search with the IP address to the IP address that obtains submodule 526 and obtain to the first corresponding list item;
Judge submodule 522, be used for when searching submodule 521 when the upstream table finds with an IP address corresponding the first list item judge in the first list item of above-mentioned upstream table whether be provided with the P2P mark;
Point-to-point stream is determined submodule 523, is used for when judging that submodule 522 determines that the first list item of above-mentioned upstream table is provided with the P2P mark, determines that an IP address is P2P stream to the data flow of correspondence;
Search submodule 521, also be used for when judging that submodule 522 determines that the first list item of above-mentioned upstream table does not arrange the P2P mark, in the downstream table that radio reception device is preserved, searching with an IP address the first corresponding list item;
Point-to-point stream is determined submodule 523, also is used for determining that when searching submodule 521 when above-mentioned downstream table finds with an IP address corresponding the first list item an IP address is that P2P flows to the data flow of correspondence;
Submodule 524 is set, is used in the first list item of above-mentioned upstream table and above-mentioned downstream table, the P2P mark being set when searching submodule 521 when above-mentioned downstream table finds with an IP address corresponding the first list item;
Set up submodule 525, be used for when searching upstream table that submodule 521 preserves at radio reception device and do not find with an IP address corresponding the first list item, foundation and an IP address are to the first corresponding list item in above-mentioned upstream table;
Search submodule 521, also be used for set up submodule 525 above-mentioned upstream table set up with an IP address to the first corresponding list item after, in the downstream table of radio reception device preservation, search with an IP address the first corresponding list item.
In the present embodiment, the 3rd determination module 56 can comprise: calculating sub module 561 and voice flow are determined submodule 562;
Calculating sub module 561, be used for when the described IP address of above-mentioned ascending voice message frequency and statistics acquisition is less than or equal to first threshold to the absolute value of the difference of corresponding downlink voice message frequency, the value of the hit counter corresponding with the first list item of above-mentioned radio reception device preservation is added the second predetermined value; Wherein, the size of first threshold can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned first threshold, and for instance, above-mentioned first threshold can be 10; Above-mentioned the second predetermined value can arrange according to systematic function and/or practical application when specific implementation voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned the second predetermined value, and for instance, above-mentioned the second predetermined value can be 1;
Voice flow is determined submodule 562, and the value that is used for the hit counter corresponding with the first list item after adding the second predetermined value determines that an IP address is voice flow to the data flow of correspondence during more than or equal to Second Threshold; Wherein, the size of Second Threshold can arrange according to systematic function and/or practical application when specific implementation equally voluntarily, and the present embodiment is not construed as limiting the size of above-mentioned Second Threshold, and for instance, above-mentioned Second Threshold can be 5.
Further, receiver module 51 also is used for receiving the second message that another radio reception device sends; This another radio reception device is the associated radio reception device of the purpose client that communicates with the source client;
The IP address is to obtaining submodule 526, also is used for obtaining the 2nd IP address pair of the second message; The 2nd IP address of above-mentioned the second message is to being the IP address that forms of the source IP address of the second message and purpose IP address pair;
Search submodule 521, also be used for the downstream table that radio reception device is preserved search with the IP address to the 2nd IP address that obtains submodule 526 and obtain to corresponding list item;
The second determination module 53, also being used for when what search that submodule 521 finds at above-mentioned downstream table is the first list item with the 2nd IP address to corresponding list item, and the length of the second message determines that the second message is that an IP address is to the downlink voice message of correspondence in above-mentioned predetermined bite interval the time;
Statistical module 54 also is used for the above-mentioned IP address that will add up the number of the downlink voice message of correspondence is added the first predetermined value;
Obtain module 55, also be used for according to an IP address of 54 statistics of statistical module in the scheduled time length number of the downlink voice message of correspondence being obtained an IP address to the downlink voice message frequency of correspondence.Like this, the 3rd determination module 56 just can determine that to the downlink voice message frequency of correspondence an IP address is voice flow to the data flow of correspondence according to obtaining module 55 the ascending voice message frequency that obtains and the above-mentioned IP address that acquisition module 55 statistics obtain.
In the present embodiment, obtain module 55, concrete be used for when determine very first time that current time and this radio reception device record between stabbing interval greater than or equal the scheduled time during length, according to an IP address of adding up in the above-mentioned scheduled time length number of the ascending voice message of correspondence is obtained an IP address to the ascending voice message frequency of correspondence.
Further, the recognition device of above-mentioned voice flow can also comprise: update module 57;
Update module 57, be used for obtaining after an IP address that module 55 adds up in according to the above-mentioned scheduled time length number to the ascending voice message of correspondence obtains the ascending voice message frequency of an IP address to correspondence, the very first time stamp of above-mentioned radio reception device record is updated to obtains module 55 and obtain an IP address to the moment of the ascending voice message frequency of correspondence.
Further, the recognition device of above-mentioned voice flow can also comprise:
Mark arranges module 58, is used at the first list item of above-mentioned upstream table and above-mentioned downstream table phonetic symbol being set; Particularly, after the 3rd determination module 56 determined that IP addresses are voice flow to the data flow of correspondence, mark arranged module 58 and in the first list item of above-mentioned upstream table and above-mentioned downstream table phonetic symbol is set.
Further, the recognition device of above-mentioned voice flow can also comprise:
Marker for judgment module 59, be used for to obtain module 55 determine current times and the very first time of this radio reception device record between stabbing interval greater than or equal before the scheduled time length, judge in the first list item of above-mentioned upstream table whether be provided with phonetic symbol; At this moment, mark arranges module 58, also be used for when marker for judgment module 59 determines that the first list item of above-mentioned upstream table is provided with phonetic symbol, and be that the first message arranges phonetic symbol.
The recognition device of above-mentioned voice flow can be realized the voice flow of non-WMM standard is identified, and then can realize that radio reception device carries out priority treatment to voice flow.
The present invention also provides a kind of radio reception device, and the recognition device of Fig. 5 of the present invention or the voice flow that provides embodiment illustrated in fig. 6 can be provided this radio reception device.This radio reception device can have for AP etc. the equipment of wireless access function, and the present invention is not construed as limiting the form of radio reception device.
It should be noted that at last: above each embodiment is not intended to limit only in order to technical scheme of the present invention to be described; Although with reference to aforementioned each embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps some or all of technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.

Claims (15)

1. the recognition methods of a voice flow is characterized in that, comprising:
The first radio reception device receives the first message of the source client transmission of described the first radio reception device association;
Described the first radio reception device obtains the first Internet Protocol IP address pair of described the first message, and according to a described IP address to determining that a described IP address is point-to-point stream to the data flow of correspondence; The one IP address of described the first message is to being the IP address that forms of the source IP address of described the first message and purpose IP address pair;
If the length of described the first message is in the predetermined bite interval, then described the first radio reception device determine described the first message be a described IP address to the ascending voice message of correspondence, and the described IP address that will add up adds the first predetermined value to the number of the ascending voice message of correspondence;
Described the first radio reception device obtains a described IP address to the ascending voice message frequency of correspondence according to a described IP address of adding up in the scheduled time length to the number of the ascending voice message of correspondence, and according to the described IP address that described ascending voice message frequency and statistics obtain the downlink voice message frequency of correspondence is determined that a described IP address is voice flow to the data flow of correspondence.
2. method according to claim 1 is characterized in that, described according to a described IP address to determining that a described IP address is that point-to-point stream comprises to the data flow of correspondence:
Described the first radio reception device is searched with a described IP address the first corresponding list item in the upstream table that described the first radio reception device is preserved;
If find, then described the first radio reception device judges in described first list item of described upstream table whether be provided with point-to-point mark; If be provided with point-to-point mark in described first list item of described upstream table, then described the first radio reception device determines that a described IP address is point-to-point stream to the data flow of correspondence; If in described first list item of described upstream table point-to-point mark is not set, then described the first radio reception device is searched with a described IP address the first corresponding list item in the downstream table that described the first radio reception device is preserved, and after finding, determine that a described IP address is point-to-point stream to the data flow of correspondence, and in described first list item of described upstream table and described downstream table, point-to-point mark is set;
If described the first radio reception device does not find with a described IP address the first corresponding list item in the upstream table that described the first radio reception device is preserved, then described the first radio reception device is set up in described upstream table with a described IP address the first corresponding list item, in the downstream table that described the first radio reception device is preserved, search with a described IP address the first corresponding list item, and after finding, determine that a described IP address is point-to-point stream to the data flow of correspondence, and in described first list item of described upstream table and described downstream table, point-to-point mark is set.
3. method according to claim 1 and 2, it is characterized in that, a described described IP address according to described ascending voice message frequency and statistics acquisition determines that to the downlink voice message frequency of correspondence a described IP address is that voice flow comprises to the data flow of correspondence:
If the described IP address that described ascending voice message frequency and statistics obtain is less than or equal to first threshold to the absolute value of the difference of corresponding downlink voice message frequency, the value of the hit counter corresponding with described the first list item that then described the first radio reception device will described the first radio reception device preservation adds the second predetermined value;
If add the value of hit counter corresponding with described the first list item behind the above second predetermined value more than or equal to Second Threshold, then described the first radio reception device determines that a described IP address is voice flow to the data flow of correspondence.
4. method according to claim 1 and 2 is characterized in that, also comprises:
Described the first radio reception device receives the second message that the second radio reception device sends; Described the second radio reception device is the associated radio reception device of the purpose client that communicates with described source client;
Described the first radio reception device is searched the 2nd IP address with described the second message to corresponding list item in the downstream table that described the first radio reception device is preserved, if be described the first list item with described the 2nd IP address to corresponding list item in the described downstream table, and the length of described the second message is in described predetermined bite interval, then described the first radio reception device determine described the second message be a described IP address to the downlink voice message of correspondence, and the described IP address that will add up adds the first predetermined value to the number of the downlink voice message of correspondence; The 2nd IP address of described the second message is to being the IP address that forms of the source IP address of described the second message and purpose IP address pair;
Described the first radio reception device obtains a described IP address to the downlink voice message frequency of correspondence according to a described IP address of adding up in the scheduled time length to the number of the downlink voice message of correspondence.
5. method according to claim 1 and 2, it is characterized in that, described the first radio reception device obtains a described IP address according to a described IP address of adding up in the scheduled time length to the number of the ascending voice message of correspondence the ascending voice message frequency of correspondence is comprised:
If described the first radio reception device determine between the very first time stamp of current time and described the first radio reception device record interval greater than or equal scheduled time length, then according to a described IP address of adding up in the described scheduled time length number of the ascending voice message of correspondence is obtained a described IP address to the ascending voice message frequency of correspondence;
A described described IP address according to adding up in the described scheduled time length obtains the number of the ascending voice message of correspondence also to comprise after the ascending voice message frequency of a described IP address to correspondence:
Described the first radio reception device is updated to the described IP address of acquisition to the moment of the ascending voice message frequency of correspondence with the very first time stamp of described the first radio reception device record.
6. method according to claim 5, it is characterized in that, a described described IP address that obtains according to described ascending voice message frequency and statistics determines that to the downlink voice message frequency of correspondence a described IP address is after the voice flow to the data flow of correspondence, also comprises:
Described the first radio reception device arranges phonetic symbol in described first list item of described upstream table and described downstream table.
7. method according to claim 6 is characterized in that, described the first radio reception device determine between the very first time stamp of current time and described the first radio reception device record interval greater than or equal also to comprise before the scheduled time length:
Described the first radio reception device judges in described first list item of described upstream table whether be provided with phonetic symbol;
If be provided with phonetic symbol in described first list item of described upstream table, then described the first radio reception device is that described the first message arranges phonetic symbol.
8. the recognition device of a voice flow is characterized in that, is arranged in the radio reception device, and described device comprises:
Receiver module is for the first message of the source client transmission that receives described radio reception device association;
The first determination module is used for obtaining the first Internet Protocol IP address pair of described the first message, and according to a described IP address to determining that a described IP address is point-to-point stream to the data flow of correspondence; The one IP address of described the first message is to being the IP address that forms of the source IP address of described the first message and purpose IP address pair;
The second determination module is used for length when described the first message in the predetermined bite interval time, determines that described the first message is that a described IP address is to the ascending voice message of correspondence;
Statistical module is used for after described the second determination module determines that described the first message is the ascending voice message of a described IP address to correspondence, and the described IP address of statistics is added the first predetermined value to the number of the ascending voice message of correspondence;
Obtain module, be used for according to the described IP address of described statistical module counts in the scheduled time length number of the ascending voice message of correspondence being obtained a described IP address to the ascending voice message frequency of correspondence;
The 3rd determination module is used for the described ascending voice message frequency that obtains according to described acquisition module and a described IP address of adding up acquisition determines that to the downlink voice message frequency of correspondence a described IP address is voice flow to the data flow of correspondence.
9. device according to claim 8 is characterized in that, described the first determination module comprises: the IP address is to obtaining submodule, search submodule, judging that submodule, point-to-point stream determines submodule, submodule is set and sets up submodule;
Described IP address is to obtaining submodule, is used for obtaining the IP address pair of the first message;
The described submodule of searching, be used for the upstream table that described radio reception device is preserved search with described IP address to the IP address that obtains submodule and obtain to the first corresponding list item;
Described judgement submodule, be used for when the described submodule of searching when the upstream table finds with a described IP address corresponding the first list item, judge in described first list item of described upstream table whether be provided with point-to-point mark;
Described point-to-point stream is determined submodule, is used for determining that a described IP address is point-to-point stream to the data flow of correspondence when described judgement submodule determines that described first list item of described upstream table is provided with point-to-point mark;
The described submodule of searching, also be used for when described judgement submodule determines that described first list item of described upstream table does not arrange point-to-point mark, in the downstream table that described radio reception device is preserved, searching with a described IP address the first corresponding list item;
Described point-to-point stream is determined submodule, also be used for when the described submodule of searching when described downstream table finds with a described IP address corresponding the first list item, determine that a described IP address is point-to-point stream to the data flow of correspondence;
The described submodule that arranges, be used for when the described submodule of searching when described downstream table finds with a described IP address corresponding the first list item, in described first list item of described upstream table and described downstream table, point-to-point mark is set;
The described submodule of setting up, be used for, in described upstream table, setting up with a described IP address the first corresponding list item when searching upstream table that submodule preserves at described radio reception device and not finding with a described IP address corresponding the first list item when described;
The described submodule of searching, also be used for described set up submodule described upstream table set up with a described IP address to the first corresponding list item after, in the downstream table of described radio reception device preservation, search with a described IP address the first corresponding list item.
10. according to claim 8 or 9 described devices, it is characterized in that, described the 3rd determination module comprises:
Calculating sub module, be used for when the described IP address of described ascending voice message frequency and statistics acquisition is less than or equal to first threshold to the absolute value of the difference of corresponding downlink voice message frequency, the value of the hit counter corresponding with described the first list item of described radio reception device preservation is added the second predetermined value;
Voice flow is determined submodule, and the value that is used for the hit counter corresponding with described the first list item after adding the above second predetermined value determines that a described IP address is voice flow to the data flow of correspondence during more than or equal to Second Threshold.
11. according to claim 8 or 9 described devices, it is characterized in that,
Described receiver module also is used for receiving the second message that another radio reception device sends; Described another radio reception device is the associated radio reception device of the purpose client that communicates with described source client;
Described IP address is to obtaining submodule, also is used for obtaining the 2nd IP address pair of described the second message; The 2nd IP address of described the second message is to being the IP address that forms of the source IP address of described the second message and purpose IP address pair;
The described submodule of searching, also be used for the downstream table that described radio reception device is preserved search with described IP address to the 2nd IP address that obtains submodule and obtain to corresponding list item;
Described the second determination module, be used for also describedly searching that submodule finds at described downstream table is described the first list item with described the 2nd IP address to corresponding list item, and the length of described the second message determines that described the second message is that a described IP address is to the downlink voice message of correspondence in described predetermined bite interval the time;
Described statistical module also is used for the described IP address that will add up the number of the downlink voice message of correspondence is added the first predetermined value;
Described acquisition module also is used for according to the described IP address of described statistical module counts in the scheduled time length number of the downlink voice message of correspondence being obtained a described IP address to the downlink voice message frequency of correspondence.
12. according to claim 8 or 9 described devices, it is characterized in that,
Described acquisition module, concrete be used for when determine very first time that current time and described radio reception device record between stabbing interval greater than or equal the scheduled time during length, according to a described IP address of adding up in the described scheduled time length number of the ascending voice message of correspondence is obtained a described IP address to the ascending voice message frequency of correspondence;
Described device also comprises: update module;
Described update module, be used for after a described IP address that described acquisition module is added up in according to described scheduled time length obtains the ascending voice message frequency of a described IP address to correspondence to the number of the ascending voice message of correspondence, the very first time stamp of described radio reception device record be updated to described acquisition module obtain a described IP address to the moment of the ascending voice message frequency of correspondence.
13. device according to claim 12 is characterized in that, also comprises:
Mark arranges module, after determining that at described the 3rd determination module the data flow of a described IP address to correspondence is voice flow, in described first list item of described upstream table and described downstream table phonetic symbol is set.
14. device according to claim 13 is characterized in that, also comprises:
The marker for judgment module, be used for described acquisition module determine between current time and the very first time of described radio reception device record stab interval greater than or equal scheduled time length before, judge in described first list item of described upstream table whether be provided with phonetic symbol;
Described mark arranges module, also is used for when described marker for judgment module determines that described first list item of described upstream table is provided with phonetic symbol, for described the first message arranges phonetic symbol.
15. a radio reception device is characterized in that, comprises the recognition device such as the described voice flow of claim 8-14 any one.
CN201210382454.0A 2012-10-10 2012-10-10 Method and device for recognizing voice stream and wireless access equipment Active CN102932817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210382454.0A CN102932817B (en) 2012-10-10 2012-10-10 Method and device for recognizing voice stream and wireless access equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210382454.0A CN102932817B (en) 2012-10-10 2012-10-10 Method and device for recognizing voice stream and wireless access equipment

Publications (2)

Publication Number Publication Date
CN102932817A true CN102932817A (en) 2013-02-13
CN102932817B CN102932817B (en) 2015-02-25

Family

ID=47647493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210382454.0A Active CN102932817B (en) 2012-10-10 2012-10-10 Method and device for recognizing voice stream and wireless access equipment

Country Status (1)

Country Link
CN (1) CN102932817B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106535274A (en) * 2015-09-14 2017-03-22 中国移动通信集团公司 Method and system for realizing dynamic network connection
WO2020207205A1 (en) * 2019-04-08 2020-10-15 Oppo广东移动通信有限公司 Data recognition method, and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1359727A2 (en) * 2002-04-08 2003-11-05 Wiznet Corp. Internet protocol system using hardware protocol and relating parallel data processing method
CN101072174A (en) * 2007-03-23 2007-11-14 南京邮电大学 Tencent voice identifying method based on pay load deep detection and session correlating technology
WO2010142312A1 (en) * 2009-06-12 2010-12-16 Telefonaktiebolaget L M Ericsson (Publ) Monitoring of delay in packet-switched networks
US20120218900A1 (en) * 2011-02-28 2012-08-30 Avaya Inc. Automatic modification of voip packet retransmission level based on the psycho-acoustic value of the packet

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1359727A2 (en) * 2002-04-08 2003-11-05 Wiznet Corp. Internet protocol system using hardware protocol and relating parallel data processing method
CN101072174A (en) * 2007-03-23 2007-11-14 南京邮电大学 Tencent voice identifying method based on pay load deep detection and session correlating technology
WO2010142312A1 (en) * 2009-06-12 2010-12-16 Telefonaktiebolaget L M Ericsson (Publ) Monitoring of delay in packet-switched networks
US20120218900A1 (en) * 2011-02-28 2012-08-30 Avaya Inc. Automatic modification of voip packet retransmission level based on the psycho-acoustic value of the packet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106535274A (en) * 2015-09-14 2017-03-22 中国移动通信集团公司 Method and system for realizing dynamic network connection
WO2020207205A1 (en) * 2019-04-08 2020-10-15 Oppo广东移动通信有限公司 Data recognition method, and terminal

Also Published As

Publication number Publication date
CN102932817B (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN109379641B (en) Subtitle generating method and device
US11153430B2 (en) Information presentation method and device
CN105025051A (en) Cloud-side voice service providing method and system
US20150139074A1 (en) Adaptive Generation of Network Scores From Crowdsourced Data
CN103873883B (en) Video playing method and device and terminal equipment
US9633084B2 (en) Information searching method and device, and computer storage medium
CN104216896B (en) A kind of method and device for searching contact information
EP2827252A1 (en) Device and method for providing user activity information in portable terminal
CN105263104A (en) Method and apparatus for positioning equipment
CN104683124A (en) Terminal type identification method and device
US20150094107A1 (en) Message combination method and device
CN108011937B (en) Message pushing method, server, intelligent terminal and computer readable storage medium
CN104750718A (en) Data information search method and data information search device
EP3048770A1 (en) Method, apparatus and system for determining target user for business strategy
CN102932817B (en) Method and device for recognizing voice stream and wireless access equipment
CN104113880A (en) Data flow control method and system
CN109413716A (en) A kind of method and terminal identifying device type
CN109428774B (en) Data processing method of DPI equipment and related DPI equipment
US10292057B2 (en) Network identification and display based on local information
CN113329263B (en) Game video highlight production method, equipment and computer readable storage medium
CN108122123B (en) Method and device for expanding potential users
US20190238644A1 (en) User identification for digital experience controls
CN102831160B (en) A kind of method and system saved short message
CN102377869B (en) A kind of mobile terminal and communication means
WO2015073753A1 (en) Adaptive generation of network scores from crowdsourced data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS CO., LTD.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Fujian Xingwangruijie Network Co., Ltd.