CN102932817B - 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
CN102932817B
CN102932817B CN201210382454.0A CN201210382454A CN102932817B CN 102932817 B CN102932817 B CN 102932817B CN 201210382454 A CN201210382454 A CN 201210382454A CN 102932817 B CN102932817 B CN 102932817B
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.)
Active
Application number
CN201210382454.0A
Other languages
Chinese (zh)
Other versions
CN102932817A (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

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, particularly relate to a kind of recognition methods of voice flow, device and radio reception device.
Background technology
WLAN (wireless local area network) (Wireless Local Area Network; Hereinafter referred to as: WLAN) development in recent years is rapid, and the speech communication application based on WLAN is also more and more universal.Support the terminal of WLAN, mainly Wireless Fidelity (Wireless Fidelity; Hereinafter referred to as: WIFI) mobile phone, panel computer, notebook computer and be configured with IEEE 802.11(Institute ofElectrical and Electronics Engineers 802.11; Hereinafter referred to as: IEEE 802.11) PC (the Personal Computer of wireless network card; Hereinafter referred to as: PC) etc., as long as install corresponding software, WLAN can be used to carry out speech communication.Relative to traditional global mobile communication (Global System For Mobile Communication; Hereinafter referred to as: GSM), WLAN speech communication low cost is free at present substantially.Speech communication software common at present has Skype, FaceTime, QQ voice, YY voice etc.
But, WLAN is not voice dedicated network, and except speech data, WLAN also carries other communication datas, such as: the communication data that the application such as video, online game and/or web page browsing produces.
Because speech communication itself has real-time, how the characteristics such as jitter-sensitive, when WLAN business is busier, ensure that the real-time of audio data stream and minimizing shake become valuable research topic.And the first steps doing these optimizations are exactly identifiable language stream, namely wireless voice data is distinguished from other wireless application data.
Current can being used for identifies the technology of voice flow, depends on application itself, namely applies and the VoP of transmission is stamped WIFI multimedia (WIFI MultiMedia; Hereinafter referred to as: standard mark WMM), then WAP (wireless access point) (Access Point; Hereinafter referred to as: this mark AP) can be recognized, and priority treatment has the data of this mark.
But current most application, may be consider for compatibility, major part all stamp the mark of WMM, and like this, AP, with regard to None-identified speech data, also just can not preferentially process speech data.
Summary of the invention
The invention provides a kind of recognition methods of voice flow, device and radio reception device, to realize identifying the voice flow of non-WMM standard.
One aspect of the present invention provides a kind of recognition methods of voice flow, comprising:
The first message that the source client that first radio reception device receives described first radio reception device association sends;
Described first radio reception device obtains the first Internet protocol IP address pair of described 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; One IP address of described first message is to being the source IP address of described first message and the IP address pair of object IP address composition;
If the length of described first message is in predetermined bite interval, then described first radio reception device determine described first message be a described IP address to the ascending voice message of correspondence, and by statistics the number of a described IP address to the ascending voice message of correspondence add the first predetermined value;
Described first radio reception device obtains a described IP address to the ascending voice message frequencies of correspondence according to the described IP address added up in scheduled time length to the number of the ascending voice message of correspondence, and determines that a described IP address is voice flow to the data flow of correspondence according to the downlink voice message frequencies of a described IP address to correspondence that described ascending voice message frequencies and statistics obtain.
The present invention provides a kind of recognition device of voice flow on the other hand, and be arranged in radio reception device, described device comprises:
Receiver module, the first message that the source client for receiving the association of described radio reception device sends;
First determination module, for obtaining the first Internet protocol IP address pair of described 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; One IP address of described first message is to being the source IP address of described first message and the IP address pair of object IP address composition;
Second determination module, for when the length of described first message is in predetermined bite interval, determines that described first message is that a described IP address is to the ascending voice message of correspondence;
Statistical module, for determine at described second determination module described first message be a described IP address to the ascending voice message of correspondence after, by statistics the number of a described IP address to the ascending voice message of correspondence add the first predetermined value;
Obtain module, for the described IP address according to statistical module counts described in scheduled time length, a described IP address is obtained to the ascending voice message frequencies of correspondence to the number of the ascending voice message of correspondence;
3rd determination module, the downlink voice message frequencies of a described IP address to correspondence that described ascending voice message frequencies and statistics for obtaining according to described acquisition module obtain determines that 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 voice flow as above.
Technique effect of the present invention is: after the first message that the source client that the first radio reception device receives the association of this first radio reception device sends, obtain an 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 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 by statistics the number of an IP address to the ascending voice message of correspondence add the first predetermined value; Then, first radio reception device obtains an IP address to the ascending voice message frequencies of correspondence according to the IP address added up in scheduled time length to the number of the ascending voice message of correspondence, and determines that an IP address is voice flow to the data flow of correspondence according to the downlink voice message frequencies of an IP address to correspondence that above-mentioned ascending voice message frequencies and statistics obtain; Thus can realize identifying the voice flow of non-WMM standard, and then radio reception device can be realized priority treatment is carried out to voice flow.
Accompanying drawing explanation
Fig. 1 is the flow chart of a recognition methods embodiment of voice flow of the present invention;
Fig. 2 is the schematic diagram of an application scenarios of the present invention embodiment;
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 of a downlink message process of the present invention embodiment;
Fig. 5 is the structural representation of a recognition device embodiment 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 a recognition methods embodiment 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 message that the source client that the first radio reception device receives the association of this first radio reception device sends.
Step 102, the first radio reception device obtains the first Internet Protocol (InternetProtocol of the first message; Hereinafter referred to as IP) address pair, and according to an IP address to determining that an IP address to the data flow of correspondence is point-to-point (Peer to Peer; Hereinafter referred to as: P2P) flow.
Wherein, an IP address of above-mentioned first message is to the IP address pair of the source IP address and object IP address composition that are the first message.
Particularly, according to an IP address to determining that an IP address is P2P stream to the data flow of correspondence and can is: search with an IP address the first corresponding list item in the upstream table that the first radio reception device is preserved at this first radio reception device;
If found, then the first radio reception device judges whether be provided with P2P mark in the first list item of above-mentioned upstream table; If be provided with 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 do not arrange P2P mark in the first list item of above-mentioned upstream table, search with an IP address the first corresponding list item in the downstream table that then the first radio reception device is preserved at this first radio reception device, and after finding, determine that an above-mentioned IP address is P2P stream to the data flow of correspondence, and P2P mark is set in the first list item of above-mentioned upstream table and above-mentioned downstream table;
If do not found with an IP address the first corresponding list item in the upstream table that the first radio reception device is preserved at this first radio reception device, then the first radio reception device is set up with an IP address the first corresponding list item in above-mentioned upstream table, search with an IP address the first corresponding list item in the downstream table that the first radio reception device is preserved, and after finding, determine that an IP address is P2P stream to the data flow of correspondence, and P2P mark is set in the first list item of above-mentioned upstream table and above-mentioned downstream table.
It should be noted that, if in upstream table and downstream table all exist with an IP address to the first corresponding list item, then can determine that an IP address is to the IP address pair for belonging to P2P, can determine an IP address to the data flow of correspondence be P2P flow.Therefore, when finding with an IP address the first corresponding list item in the upstream table preserved at this first radio reception device, and when to find with an IP address the first corresponding list item in the downstream table that this first radio reception device is preserved, can determining that an IP address is to the IP address pair for belonging to P2P, determining that an IP address is P2P stream to the data flow of correspondence.Equally, if do not found with an IP address the first corresponding list item in the upstream table that the first radio reception device is preserved at this first radio reception device, then when the first radio reception device is set up with an IP address the first corresponding list item in above-mentioned upstream table, and when to find with an IP address the first corresponding list item in the downstream table that the first radio reception device is preserved, also can determining that an IP address is to the IP address pair for belonging to P2P, determining that an IP address is P2P stream to the data flow of correspondence.
Step 103, if the length of the first message is in 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 by statistics the number of an IP address to the ascending voice message of correspondence add the first predetermined value.
Wherein, the size in above-mentioned predetermined bite interval can be arranged according to systematic function and/or practical application voluntarily when specific implementation, the size of the present embodiment to above-mentioned predetermined bite interval is not construed as limiting, for example, above-mentioned predetermined bite interval can be set for [128,256], if the length of the first message is between 128 bytes and 256 bytes like this, then the number of an IP address to the ascending voice message of correspondence of statistics is added the first predetermined value by the first radio reception device.
Above-mentioned first predetermined value can be arranged according to systematic function and/or practical application when specific implementation equally voluntarily, and the size of the present embodiment to above-mentioned first predetermined value is not construed as limiting, and for example, above-mentioned first predetermined value can be 1.
Step 104, first radio reception device obtains an IP address to the ascending voice message frequencies of correspondence according to the IP address added up in scheduled time length to the number of the ascending voice message of correspondence, and determines that an IP address is voice flow to the data flow of correspondence according to the downlink voice message frequencies of an IP address to correspondence that above-mentioned ascending voice message frequencies and statistics obtain.
Particularly, first radio reception device obtains an IP address according to the IP address added up in scheduled time length to the number of the ascending voice message of correspondence: the first radio reception device calculates the number of an above-mentioned IP address to the ascending voice message of correspondence and the business of scheduled time length, as the ascending voice message frequencies of an IP address to correspondence; Wherein, this scheduled time length can be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned scheduled time length is not construed as limiting, and for example, above-mentioned scheduled time length can be 1 second.
Particularly, determine that an IP address is voice flow to the data flow of correspondence and can is according to the downlink voice message frequencies of an IP address to correspondence that above-mentioned ascending voice message frequencies and statistics obtain: if above-mentioned ascending voice message frequencies is less than or equal to first threshold with the absolute value of an IP address to the difference of corresponding downlink voice message frequencies that obtain of statistics, then the value of the hit counter corresponding with the first list item that the first radio reception device is preserved by the first radio reception device adds the second predetermined value; If the value of the above-mentioned hit counter corresponding with the first list item is more than or equal to Second Threshold after adding the second predetermined value, 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 be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned first threshold is not construed as limiting, and for example, above-mentioned first threshold can be 10; The size of Second Threshold can be arranged according to systematic function and/or practical application when specific implementation equally voluntarily, and the size of the present embodiment to above-mentioned Second Threshold is not construed as limiting, and for example, above-mentioned Second Threshold can be 5.
Above-mentioned second predetermined value can be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned second predetermined value is not construed as limiting, and for example, above-mentioned 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 for carrying out associated by the object client that communicates radio reception device with source client; Then, search with the 2nd IP address of the second message corresponding list item in the downstream table that first radio reception device is preserved at this first radio reception device, if be the first list item with the 2nd IP address to corresponding list item in downstream table, and the length of above-mentioned second message is in above-mentioned predetermined bite interval, then the first radio reception device can determine that above-mentioned second message is the downlink voice message of an IP address to correspondence, and the number of an IP address to the downlink voice message of correspondence of statistics is added the first predetermined value; Next, the first radio reception device can obtain an IP address to the downlink voice message frequencies of correspondence according to the IP address added up in scheduled time length to the number of the downlink voice message of correspondence.Wherein, the 2nd IP address of above-mentioned second message is to being the source IP address of the second message and the IP address pair of object IP address composition.
Particularly, in the present embodiment step 104, first radio reception device obtains an IP address according to the IP address added up in scheduled time length to the number of the ascending voice message of correspondence: if the very first time of the first radio reception device determination current time and this first radio reception device record stab between interval greater than or equal scheduled time length, then according to the IP address added up in above-mentioned scheduled time length, the one IP address is obtained to the ascending voice message frequencies of correspondence to the number of the ascending voice message of correspondence.
Then obtain an IP address to after the ascending voice message frequencies of correspondence according to the IP address added up in scheduled time length to the number of the ascending voice message of correspondence, the very first time of this first radio reception device record stamp is updated to acquisition the one IP address to the moment of the ascending voice message frequencies of correspondence by the first radio reception device.
In the present embodiment, further, after the downlink voice message frequencies of an IP address to correspondence obtained according to above-mentioned ascending voice message frequencies and statistics determines that an IP address is voice flow to the data flow of correspondence, the first radio reception device arranges phonetic symbol in the first list item of above-mentioned upstream table and above-mentioned downstream table.
Further, very first time of the first radio reception device determination current time and this first radio reception device record stab between interval greater than or before equaling scheduled time length, the first radio reception device can also judge whether be provided with phonetic symbol in the first list item of above-mentioned upstream table; 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 first message arranges phonetic symbol.
In above-described embodiment, after the first message that the source client that first radio reception device receives the association of this first radio reception device sends, obtain an IP address pair of this first message, and according to an IP address to determine an above-mentioned IP address to the data flow of correspondence be P2P stream; If the length of the first message is in 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 by statistics the number of an IP address to the ascending voice message of correspondence add the first predetermined value; Then, first radio reception device obtains an IP address to the ascending voice message frequencies of correspondence according to the IP address added up in scheduled time length to the number of the ascending voice message of correspondence, and determines that an IP address is voice flow to the data flow of correspondence according to the downlink voice message frequencies of an IP address to correspondence that above-mentioned ascending voice message frequencies and statistics obtain; Thus can realize identifying the voice flow of non-WMM standard, and then radio reception device can be realized priority treatment is carried out to voice flow, ensure the real-time of voice flow and reduce shake.
In addition, the method that Fig. 1 of the present invention provides also can identify the voice flow of WMM standard, applied widely, compatible strong.
Radio reception device during the present invention is embodiment illustrated in fig. 1 can be the equipment that AP etc. has wireless access function, the form of the present invention to radio reception device is not construed as limiting, but in the description of following examples of the present invention, take radio reception device as AP for example is described.
The recognition methods of the present invention's voice flow provided embodiment illustrated in fig. 1 may be used in the application scenarios shown in Fig. 2 of the present invention, and Fig. 2 is the schematic diagram of an application scenarios of the present invention embodiment.
Concerning AP, mainly identify ascending voice stream, before voice flow enters switching network, identify and mark voice flow, follow-up switching network equipment could carry out processed voice stream for this mark.For the voice flow that the main identify customer end 1 of AP1 and AP2 in Fig. 2, AP1 sends; The voice flow that the main identify customer end 2 of AP2 sends.
In the present invention, AP identifies voice flow according to the feature of voice flow, and the feature of voice flow comprises:
1, voice flow is based on transmission control protocol (Transmission Control Protocol; Hereinafter referred to as: TCP)/User Datagram Protoco (UDP) (User Datagram Protocol; Hereinafter referred to as: P2P stream UDP);
2, voice flow is bidirectional flow, and namely call is mutual, and the data flow on up-downlink direction is similar;
3, the packet frequency stabilization of voice flow, generally each at 20 milliseconds, different encoding schemes can be different;
4, the size of voice stream data bag is basically identical, is more or less the same.
Below the recognition methods of voice flow provided by the invention is described in detail.
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, the first message that the source client that an AP receives an AP association sends.
Step 302, an AP judges whether exist with an IP address of the first message the first corresponding list item in the upstream table preserved at an AP.If so, then step 303 is performed; If do not exist with an IP address of the first message to the first corresponding list item in the upstream table that an AP preserves, then perform step 304.
In the present embodiment, after an AP receives the first message, record source IP address and the object IP address of this first message; One IP address of above-mentioned first message is to the IP address pair of the source IP address and object IP address composition that are the first message.
Particularly, when to search with an IP address the first corresponding list item in upstream table, 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 object IP address of the first message.
Step 303, an AP judges whether there is P2P mark in the first list item.If so, then step 305 is performed; If there is not P2P mark in the first list item, then perform step 306.
Step 304, an AP sets up with an IP address the first corresponding list item in upstream table.Then step 306 is performed.
Step 305, an AP judges that the length of the first message is whether in predetermined bite interval.If so, then step 307 is performed; If an AP determines that the length of the first message is not in predetermined bite interval, then terminate this flow process.
Wherein, the size in above-mentioned predetermined bite interval can be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned predetermined bite interval is not construed as limiting, for example, above-mentioned predetermined bite interval can be set for [128,256].
Step 306, an AP judges whether exist with an IP address the first corresponding list item in the downstream table preserved at an AP.If so, then step 308 is performed; If not exist with an IP address the first corresponding list item in the downstream table that an AP preserves, then terminate this flow process.
Particularly, when to search with an IP address the first corresponding list item in downstream table, 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 by statistics the number of an IP address to the ascending voice message of correspondence add 1.Then step 309 is performed.
That is, 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 the ascending voice message of an IP address to correspondence, so the number of an IP address to the ascending voice message of correspondence of statistics is added 1 by an AP, here there is erroneous judgement, but indivedual erroneous judgement does not affect realization of the present invention.
In the present embodiment, an AP determine the first message be an IP address to the ascending voice message of correspondence after, an AP can also arrange aging counters and hit counter for the first list item; Wherein, corresponding with the first list item aging counters and the initial value of hit counter are 0.
Step 308, an AP arranges P2P mark in above-mentioned first list item of upstream table and downstream table.Then step 305 is performed.
Step 309, an AP judges whether be provided with phonetic symbol in the first list item of upstream table.If so, then step 310 is performed; If do not arrange phonetic symbol in the first list item of above-mentioned upstream table, then perform step 311.
Step 310, an AP is that above-mentioned first message arranges phonetic symbol.Then step 311 is performed.
Step 311, an AP judge very first time that current time and an AP record stab between the time interval whether be more than or equal to scheduled time length.If so, then step 312 is performed; If an AP determine very first time that current time and an AP record stab between the time interval be less than scheduled time length, then terminate this flow process, at this moment directly forward the packet away can (not shown in Fig. 3) for an AP.
Step 312, one AP obtains an IP address to the ascending voice message frequencies of correspondence according to the IP address added up in scheduled time length to the number of the ascending voice message of correspondence, and the very first time of this first radio reception device record stamp is updated to acquisition the one IP address to the moment of the ascending voice message frequencies of correspondence.
Particularly, an AP can calculate the number of an above-mentioned IP address to the ascending voice message of correspondence and the business of scheduled time length, as the ascending voice message frequencies of an IP address to correspondence.
Wherein, this scheduled time length can be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned scheduled time length is not construed as limiting, and for example, above-mentioned scheduled time length can be 1 second.
Step 313, judges whether the absolute value of an IP address to the difference of corresponding downlink voice message frequencies that above-mentioned ascending voice message frequencies and statistics obtain is less than or equal to first threshold.If so, then step 314 is performed; If the absolute value of an IP address to the difference of corresponding downlink voice message frequencies that above-mentioned ascending voice message frequencies obtains with statistics is greater than first threshold, then perform step 315.
Wherein, the size of first threshold can be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned first threshold is not construed as limiting, and for example, above-mentioned first threshold can be 10.
Step 314, the value of the aging counters corresponding with the first list item resets by an AP, and the value of the hit counter corresponding with the first list item is added 1.Then step 316 is performed.
Step 315, the value of the hit counter corresponding with the first list item resets by an AP, and the value of the aging counters corresponding with the first list item is added 1.Then step 318 is performed.
Step 316, after an AP judges to add 1, whether the value of the above-mentioned hit counter corresponding with the first list item is more than or equal to Second Threshold.If so, then step 317 is performed; If the value of the above-mentioned hit counter corresponding with the first list item is less than Second Threshold after adding 1, then terminate this flow process.
Wherein, the size of Second Threshold can be arranged according to systematic function and/or practical application when specific implementation equally voluntarily, and the size of the present embodiment to above-mentioned Second Threshold is not construed as limiting, and for example, 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, in above-mentioned first list item, arrange phonetic symbol.
Step 318, after an AP judges to add 1, whether the value of the above-mentioned aging counters corresponding with the first list item is more than or equal to the 3rd threshold value.If so, then step 319 is performed; If the value of the above-mentioned aging counters corresponding with the first list item is less than the 3rd threshold value after adding 1, then terminate this flow process.
Wherein, the size of the 3rd threshold value can be arranged according to systematic function and/or practical application when specific implementation equally voluntarily, and the 3rd threshold value and Second Threshold can be equal or not etc., the size of the present embodiment to above-mentioned 3rd threshold value is not construed as limiting, for example, above-mentioned 3rd threshold value can be 5.
Step 319, an AP removes the phonetic symbol of the first list item.
Above-described embodiment can realize identifying the voice flow of non-WMM standard, and then can realize radio reception device and carry out priority treatment to voice flow, ensures the real-time of voice flow and reduces shake.
Fig. 4 is the flow chart of a downlink message process of the present invention 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 for carrying out associated by the object client that communicates AP with source client; Here source client associates with an AP.
Step 402, an AP judges whether exist with the 2nd IP address of the second message the second corresponding list item in the downstream table preserved at an AP.If so, then step 403 is performed; If do not exist with the 2nd IP address of the second message to the second corresponding list item in the downstream table that an AP preserves, then perform step 404.
In the present embodiment, after an AP receives the second message, record source IP address and the object IP address of this second message; 2nd IP address of above-mentioned second message is to the IP address pair of the source IP address and object IP address composition that are the second message.
Particularly, when to search with the 2nd IP address the first corresponding list item in downstream table, 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 object IP address of the second message.
Step 403, an AP judges whether there is P2P mark in the second list item.If so, then step 405 is performed; If there is not P2P mark in the second list item, then perform step 406.
Step 404, an AP sets up with the 2nd IP address the second corresponding list item in downstream table.Then step 406 is performed.
Step 405, an AP judges that the length of the second message is whether in predetermined bite interval.If so, then step 407 is performed; If an AP determines that the length of the second message is not in predetermined bite interval, then terminate this flow process.
Wherein, the size in above-mentioned predetermined bite interval can be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned predetermined bite interval is not construed as limiting, for example, above-mentioned predetermined bite interval can be set for [128,256].
Step 406, an AP judges whether exist with the 2nd IP address the second corresponding list item in the upstream table preserved at an AP.If so, then step 408 is performed; If not exist with the 2nd IP address the second corresponding list item in the upstream table that an AP preserves, then terminate this flow process.
Particularly, when to search with the 2nd IP address the second corresponding list item in upstream table, can { IPDST2, IPSRC2} be that key assignments is searched.
Step 407, an AP determine the second message be above-mentioned 2nd IP address to the downlink voice message of correspondence, and by statistics the number of the 2nd IP address to the downlink voice message of correspondence add 1.Then step 409 is performed.
That is, 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 the downlink voice message of the 2nd IP address to correspondence, so the number of the 2nd IP address to the downlink voice message of correspondence of statistics is added 1 by an AP, here there is erroneous judgement, but indivedual erroneous judgement does not affect realization of the present invention.
In the present embodiment, an AP determine the second message be the 2nd IP address to the downlink voice message of correspondence after, an AP can also arrange aging counters and hit counter for the second list item; Wherein, corresponding with the second list item aging counters and the initial value of hit counter are 0.
Step 408, an AP arranges P2P mark in above-mentioned second list item of upstream table and downstream table.Then step 405 is performed.
It should be noted that, if in upstream table and downstream table all exist with the 2nd IP address to the second corresponding list item, then can determine that the 2nd IP address is to the IP address pair for belonging to P2P, can determine the 2nd IP address to the data flow of correspondence be P2P flow.Therefore, when finding with the 2nd IP address the second corresponding list item in the downstream table preserved at an AP, and when to find with the 2nd IP address the second corresponding list item in the upstream table that an AP preserves, can determine that the 2nd IP address is to the IP address pair for belonging to P2P, determine that the 2nd IP address is P2P stream to the data flow of correspondence, at this moment, an AP can arrange P2P mark in above-mentioned second list item of upstream table and downstream table.
Step 409, an AP judges whether be provided with phonetic symbol in the second list item of downstream table.If so, then step 410 is performed; If do not arrange phonetic symbol in the second list item of above-mentioned downstream table, then perform step 411.
Step 410, an AP is that above-mentioned second message arranges phonetic symbol.Then step 411 is performed.
Step 411, an AP judges whether the time interval between the second timestamp that current time and an AP record is more than or equal to scheduled time length.If so, then step 412 is performed; If an AP determines that the time interval between the second timestamp that current time and an AP record is less than scheduled time length, then terminate this flow process, at this moment an AP directly forwards the packet away and gets final product (not shown in Fig. 4).
Step 412, one AP obtains the 2nd IP address to the downlink voice message frequencies of correspondence according to the 2nd IP address added up in scheduled time length to the number of the downlink voice message of correspondence, and is that acquisition the 2nd IP address is to the moment of the downlink voice message frequencies of correspondence by the second update of time stamp of this first radio reception device record.
Particularly, an AP can calculate the number of above-mentioned 2nd IP address to the downlink voice message of correspondence and the business of scheduled time length, as the downlink voice message frequencies of the 2nd IP address to correspondence.
Wherein, this scheduled time length can be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned scheduled time length is not construed as limiting, and for example, above-mentioned scheduled time length can be 1 second.
Step 413, judges whether the absolute value of the 2nd IP address to the difference of corresponding ascending voice message frequencies that above-mentioned downlink voice message frequencies and statistics obtain is less than or equal to first threshold.If so, then step 414 is performed; If the absolute value of the 2nd IP address to the difference of corresponding ascending voice message frequencies that above-mentioned downlink voice message frequencies obtains with statistics is greater than first threshold, then perform step 415.
Wherein, the size of first threshold can be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned first threshold is not construed as limiting, and for example, above-mentioned first threshold can be 10.
Step 414, the value of the aging counters corresponding with the second list item resets by an AP, and the value of the hit counter corresponding with the second list item is added 1.Then this flow process is terminated.
Step 415, the value of the hit counter corresponding with the second list item resets by an AP, and the value of the aging counters corresponding with the second list item is added 1.Then this flow process is terminated.
Above-described embodiment can realize processing downlink message, obtains downlink voice message frequencies, for the present invention embodiment illustrated in fig. 3 in voice flow identification Data support is provided.
It should be noted that, the embodiment illustrated in fig. 3 and the present invention's handling process each provided uplink message and downlink message embodiment illustrated in fig. 4 of the present invention, the process of uplink message and downlink message is parallel, in no particular order; The IPSRC1 during if the present invention is embodiment illustrated in fig. 3 be the present invention embodiment illustrated in fig. 4 in IPDST2, IPDST1 during the present invention is embodiment illustrated in fig. 3 be the present invention embodiment illustrated in fig. 4 in IPSRC2, then in the present invention's downstream embodiment illustrated in fig. 3 table with an IP address to the first corresponding list item, to be in the present invention's downstream embodiment illustrated in fig. 4 table with the 2nd IP address the second corresponding list item; In the present invention's upstream embodiment illustrated in fig. 3 table with an IP address to the first corresponding list item, to be in the present invention's upstream embodiment illustrated in fig. 4 table with the 2nd IP address the second corresponding list item; At this moment, Fig. 3 of the present invention and the method provided embodiment illustrated in fig. 4 can realize { data flow of this address of IPSRC1, IPDST1} to correspondence identifies, identifies { whether this address of IPSRC1, IPDST1} is voice flow to the data flow of correspondence.
As previously mentioned, the IPSRC1 during if the present invention is embodiment illustrated in fig. 3 be the present invention embodiment illustrated in fig. 4 in IPDST2, IPDST1 during the present invention is embodiment illustrated in fig. 3 be the present invention embodiment illustrated in fig. 4 in IPSRC2, then the present invention embodiment illustrated in fig. 3 in the first list item be the present invention embodiment illustrated in fig. 4 in the second list item, aging counters corresponding with the first list item during the present invention is embodiment illustrated in fig. 3 and hit counter, be the present invention embodiment illustrated in fig. 4 in the aging counters corresponding with the second list item and hit counter.That is, the value of the hit counter corresponding with the second list item is also to arrange phonetic symbol, and the value of the hit counter corresponding with the second list item is also to remove phonetic symbol.
Because the present invention is embodiment illustrated in fig. 3 and the present invention's handling process each provided uplink message and downlink message embodiment illustrated in fig. 4, the process of uplink message and downlink message is parallel, in no particular order, therefore, be understandable that, Fig. 3 of the present invention and embodiment illustrated in fig. 4 in operation to the zero and add 1 of the value of hit counter and aging counters, are all operations that the same hit counter of the current preservation of an AP and the value of same aging counters are carried out.
The recognition methods of voice flow provided by the invention may be used for wired environment, can also be used for the symmetric(al) flow identified except voice flow.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Fig. 5 is the structural representation of a recognition device embodiment of voice flow of the present invention, the recognition device of the voice flow in the present embodiment is arranged in radio reception device, the flow process that the present invention is embodiment illustrated in fig. 1 can be realized, as shown in Figure 5, this device can comprise: receiver module 51, first determination module 52, second determination module 53, statistical module 54, acquisition module 55 and the 3rd determination module 56;
Wherein, receiver module 51, the first message that the source client for receiving the association of above-mentioned radio reception device sends;
First determination module 52, for obtaining an IP address pair of the first message, and according to an IP address to determine an IP address to the data flow of correspondence be P2P stream; One IP address of above-mentioned first message is to being the source IP address of the first message and the IP address pair of object IP address composition;
Second determination module 53, for when the length of above-mentioned first message is in predetermined bite interval, determines that the first message is the ascending voice message of an IP address to correspondence; Wherein, the size in above-mentioned predetermined bite interval can be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned predetermined bite interval is not construed as limiting, for example, above-mentioned predetermined bite interval can be set for [128,256];
Statistical module 54, for determine at the second determination module 53 first message be an IP address to the ascending voice message of correspondence after, by statistics the number of an IP address to the ascending voice message of correspondence add the first predetermined value; Wherein, above-mentioned first predetermined value can be arranged according to systematic function and/or practical application when specific implementation equally voluntarily, and the size of the present embodiment to above-mentioned first predetermined value is not construed as limiting, and for example, above-mentioned first predetermined value can be 1;
Obtain module 55, for the IP address added up according to statistical module 54 in scheduled time length, the one IP address is obtained to the ascending voice message frequencies of correspondence to the number of the ascending voice message of correspondence; Wherein, this scheduled time length can be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned scheduled time length is not construed as limiting, and for example, above-mentioned scheduled time length can be 1 second;
3rd determination module 56, the downlink voice message frequencies of an above-mentioned IP address to correspondence for obtaining according to the ascending voice message frequencies and statistics that obtain module 55 acquisition determines that an IP address is voice flow to the data flow of correspondence.
Wherein, obtain module 55, specifically for calculating the business of an IP address to the number of the ascending voice message of correspondence and above-mentioned scheduled time length, as the ascending voice message frequencies of an IP address to correspondence.
In above-described embodiment, after the first message that the source client that receiver module 51 receives the association of this radio reception device sends, first determination module 52 obtains an IP address pair of the first message, and according to an IP address to determine an IP address to the data flow of correspondence be P2P stream; If the length of the first message is in predetermined bite interval, then the second determination module 53 determine the first message be an above-mentioned IP address to the ascending voice message of correspondence, and by statistical module 54 by statistics the number of an IP address to the ascending voice message of correspondence add the first predetermined value; Then, obtain module 55 and obtain an IP address to the ascending voice message frequencies of correspondence according to the IP address added up in scheduled time length to the number of the ascending voice message of correspondence, according to the downlink voice message frequencies of an IP address to correspondence that above-mentioned ascending voice message frequencies and statistics obtain, the 3rd determination module 56 determines that an IP address is voice flow to the data flow of correspondence; Thus can realize identifying the voice flow of non-WMM standard, and then radio reception device can be realized priority treatment is carried out to voice flow.
Fig. 6 is the structural representation of another embodiment of recognition device of voice flow of the present invention, compared with the recognition device of the voice flow shown in Fig. 5, difference is, in the recognition device of the voice flow shown in Fig. 6, the first determination module 52 can comprise: search submodule 521, judge submodule 522, point-to-point stream determines submodule 523, arrange submodule 524, set up submodule 525 and IP address to acquisition submodule 526;
IP address to acquisition submodule 526, for obtaining an IP address pair of the first message;
Search submodule 521, for searching in the upstream table preserved at radio reception device with IP address obtaining an IP address that submodule 526 obtains to the first corresponding list item;
Judge submodule 522, for when searching submodule 521 and finding with an IP address the first corresponding list item in upstream table, judge in the first list item of above-mentioned upstream table, whether to be provided with P2P mark;
Point-to-point stream determines submodule 523, for when judging that submodule 522 is determined to be provided with P2P mark in the first list item of above-mentioned upstream table, determines that an IP address is P2P stream to the data flow of correspondence;
Searching submodule 521, also for when judging that submodule 522 is determined not arrange P2P mark in the first list item of above-mentioned upstream table, searching with an IP address the first corresponding list item in the downstream table that radio reception device is preserved;
Point-to-point stream determines submodule 523, also for when searching submodule 521 and finding with an IP address the first corresponding list item in above-mentioned downstream table, determines that an IP address is P2P stream to the data flow of correspondence;
Submodule 524 is set, for when searching submodule 521 and finding with an IP address the first corresponding list item in above-mentioned downstream table, P2P mark is set in the first list item of above-mentioned upstream table and above-mentioned downstream table;
Set up submodule 525, for when searching submodule 521 and not finding with an IP address the first corresponding list item in the upstream table that radio reception device is preserved, set up with an IP address the first corresponding list item in above-mentioned upstream table;
Searching submodule 521, also for setting up after submodule 525 to set up with an IP address the first corresponding list item in above-mentioned upstream table, searching with an IP address the first corresponding list item in the downstream table that radio reception device is preserved.
In the present embodiment, the 3rd determination module 56 can comprise: calculating sub module 561 and voice flow determination submodule 562;
Calculating sub module 561, for when the absolute value of a described IP address to the difference of corresponding downlink voice message frequencies that above-mentioned ascending voice message frequencies and statistics obtain is less than or equal to first threshold, the value of the hit counter corresponding with the first list item preserved by above-mentioned radio reception device adds the second predetermined value; Wherein, the size of first threshold can be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned first threshold is not construed as limiting, and for example, above-mentioned first threshold can be 10; Above-mentioned second predetermined value can be arranged according to systematic function and/or practical application voluntarily when specific implementation, and the size of the present embodiment to above-mentioned second predetermined value is not construed as limiting, and for example, above-mentioned second predetermined value can be 1;
Voice flow determination submodule 562, for when adding that the value of hit counter corresponding with the first list item after the second predetermined value is more than or equal to Second Threshold, determines that an IP address is voice flow to the data flow of correspondence; Wherein, the size of Second Threshold can be arranged according to systematic function and/or practical application when specific implementation equally voluntarily, and the size of the present embodiment to above-mentioned Second Threshold is not construed as limiting, and for example, above-mentioned Second Threshold can be 5.
Further, receiver module 51, also for receiving the second message that another radio reception device sends; This another radio reception device is for carrying out associated by the object client that communicates radio reception device with source client;
IP address to acquisition submodule 526, also for obtaining the 2nd IP address pair of the second message; 2nd IP address of above-mentioned second message is to being the source IP address of the second message and the IP address pair of object IP address composition;
Search submodule 521, also for searching in the downstream table preserved at radio reception device with IP address obtaining the 2nd IP address that submodule 526 obtains to corresponding list item;
Second determination module 53, also for being first list item with the 2nd IP address to corresponding list item when what search that submodule 521 finds in above-mentioned downstream table, and the length of the second message in above-mentioned predetermined bite interval time, determine that the second message is the downlink voice message of an IP address to correspondence;
Statistical module 54, also for the number of an above-mentioned IP address to the downlink voice message of correspondence of statistics is added the first predetermined value;
Obtain module 55, the IP address also for adding up according to statistical module 54 in scheduled time length obtains an IP address to the downlink voice message frequencies of correspondence to the number of the downlink voice message of correspondence.Like this, the downlink voice message frequencies of an above-mentioned IP address to correspondence that the 3rd determination module 56 just can obtain according to the ascending voice message frequencies and acquisition module 55 statistics obtaining module 55 acquisition determines that an IP address is voice flow to the data flow of correspondence.
In the present embodiment, obtain module 55, specifically for when determine the very first time of current time and this radio reception device record stab between interval greater than or equal the scheduled time length time, according to the IP address added up in above-mentioned scheduled time length, the one IP address is obtained to the ascending voice message frequencies of correspondence to the number of the ascending voice message of correspondence.
Further, the recognition device of above-mentioned voice flow can also comprise: update module 57;
Update module 57, for obtain module 55 according to the IP address added up in the above-mentioned scheduled time length number of the ascending voice message of correspondence to be obtained an IP address to the ascending voice message frequencies of correspondence after, the very first time of above-mentioned radio reception device record stamp is updated to and obtains module 55 and obtain the moment of an IP address to the ascending voice message frequencies of correspondence.
Further, the recognition device of above-mentioned voice flow can also comprise:
Mark arranges module 58, for arranging phonetic symbol in the first list item of above-mentioned upstream table and above-mentioned downstream table; Particularly, after the 3rd determination module 56 determines that an IP address is voice flow to the data flow of correspondence, mark arranges module 58 and arrange phonetic symbol in the first list item of above-mentioned upstream table and above-mentioned downstream table.
Further, the recognition device of above-mentioned voice flow can also comprise:
Marker for judgment module 59, for obtain module 55 determine the very first time of current time and this radio reception device record stab between interval greater than or before equaling scheduled time length, judge whether be provided with phonetic symbol in the first list item of above-mentioned upstream table; At this moment, mark arranges module 58, also for determine above-mentioned upstream table when marker for judgment module 59 the first list item in be provided with phonetic symbol time, be that the first message arranges phonetic symbol.
The recognition device of above-mentioned voice flow can realize identifying the voice flow of non-WMM standard, and then can realize radio reception device and carry out priority treatment to voice flow.
The present invention also provides a kind of radio reception device, and this radio reception device can comprise the recognition device of Fig. 5 of the present invention or the voice flow provided embodiment illustrated in fig. 6.This radio reception device can be the equipment that AP etc. has wireless access function, and the form of the present invention to radio reception device is not construed as limiting.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (13)

1. a recognition methods for voice flow, is characterized in that, comprising:
The first message that the source client that first radio reception device receives described first radio reception device association sends;
Described first radio reception device obtains the first Internet protocol IP address pair of described 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; One IP address of described first message is to being the source IP address of described first message and the IP address pair of object IP address composition;
If the length of described first message is in predetermined bite interval, then described first radio reception device determine described first message be a described IP address to the ascending voice message of correspondence, and by statistics the number of a described IP address to the ascending voice message of correspondence add the first predetermined value;
Described first radio reception device obtains a described IP address to the ascending voice message frequencies of correspondence according to the described IP address added up in scheduled time length to the number of the ascending voice message of correspondence, and determines that a described IP address is voice flow to the data flow of correspondence according to the downlink voice message frequencies of a described IP address to correspondence that described ascending voice message frequencies and statistics obtain; Wherein, the ascending voice message frequencies of a described IP address to correspondence comprises: described first radio reception device calculates the number of a described IP address to the ascending voice message of correspondence and the business of scheduled time length;
The described downlink voice message frequencies of a described IP address to correspondence obtained according to described ascending voice message frequencies and statistics determines that a described IP address is that voice flow comprises to the data flow of correspondence: if the absolute value of a described IP address to the difference of corresponding downlink voice message frequencies that described ascending voice message frequencies and statistics obtain is less than or equal to first threshold, then the value of the hit counter corresponding with the first list item of described first radio reception device preservation is added the second predetermined value by described first radio reception device; If the value of hit counter described corresponding with the first list item after adding described second predetermined value is more than or equal to Second Threshold, then described first radio reception device determines 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 first radio reception device is searched with a described IP address the first corresponding list item in the upstream table of described first radio reception device preservation;
If found, then described first radio reception device judges whether be provided with point-to-point mark in described first list item of described upstream table; If be provided with point-to-point mark in described first list item of described upstream table, then described first radio reception device determines that a described IP address is point-to-point stream to the data flow of correspondence; If do not arrange point-to-point mark in described first list item of described upstream table, then described first radio reception device is searched with a described IP address the first corresponding list item in the downstream table of described first radio reception device preservation, and after finding, determine that a described IP address is point-to-point stream to the data flow of correspondence, and point-to-point mark is set in described first list item of described upstream table and described downstream table;
If described first radio reception device does not find with a described IP address the first corresponding list item in the upstream table of described first radio reception device preservation, then described first radio reception device is set up with a described IP address the first corresponding list item in described upstream table, search with a described IP address the first corresponding list item in the downstream table that described 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 point-to-point mark is set in described first list item of described upstream table and described downstream table.
3. method according to claim 1 and 2, is characterized in that, also comprises:
Described first radio reception device receives the second message that the second radio reception device sends; Described second radio reception device is for carrying out associated by the object client that communicates radio reception device with described source client;
Described first radio reception device is searched with the 2nd IP address of described second message corresponding list item in the downstream table of described first radio reception device preservation, if be described first list item with described 2nd IP address to corresponding list item in described downstream table, and the length of described second message is in described predetermined bite interval, then described first radio reception device determines that described second message is that a described IP address is to the downlink voice message of correspondence, and the number of a described IP address to the downlink voice message of correspondence of statistics is added the first predetermined value, 2nd IP address of described second message is to being the source IP address of described second message and the IP address pair of object IP address composition,
Described first radio reception device obtains a described IP address to the downlink voice message frequencies of correspondence according to the described IP address added up in scheduled time length to the number of the downlink voice message of correspondence.
4. method according to claim 1 and 2, it is characterized in that, described first radio reception device obtains the ascending voice message frequencies of a described IP address to correspondence according to the described IP address added up in scheduled time length to the number of the ascending voice message of correspondence and comprises:
If the very first time of described first radio reception device determination current time and described first radio reception device record stab between interval greater than or equal scheduled time length, then according to the described IP address added up in described scheduled time length, a described IP address is obtained to the ascending voice message frequencies of correspondence to the number of the ascending voice message of correspondence;
A described described IP address according to adding up in described scheduled time length obtains a described IP address to after the ascending voice message frequencies of correspondence to the number of the ascending voice message of correspondence, also comprises:
The very first time of described first radio reception device record stamp is updated to and obtains a described IP address to the moment of the ascending voice message frequencies of correspondence by described first radio reception device.
5. method according to claim 4, it is characterized in that, the described downlink voice message frequencies of a described IP address to correspondence obtained according to described ascending voice message frequencies and statistics also comprises after determining that a described IP address is voice flow to the data flow of correspondence:
Described first radio reception device arranges phonetic symbol in described first list item of described upstream table and described downstream table.
6. method according to claim 5, is characterized in that, very first time of described first radio reception device determination current time and described first radio reception device record stab between interval greater than or before equaling scheduled time length, also comprise:
Described first radio reception device judges whether be provided with phonetic symbol in described first list item of described upstream table;
If be provided with phonetic symbol in described first list item of described upstream table, then described first radio reception device is that described first message arranges phonetic symbol.
7. a recognition device for voice flow, is characterized in that, is arranged in radio reception device, and described device comprises:
Receiver module, the first message that the source client for receiving the association of described radio reception device sends;
First determination module, for obtaining the first Internet protocol IP address pair of described 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; One IP address of described first message is to being the source IP address of described first message and the IP address pair of object IP address composition;
Second determination module, for when the length of described first message is in predetermined bite interval, determines that described first message is that a described IP address is to the ascending voice message of correspondence;
Statistical module, for determine at described second determination module described first message be a described IP address to the ascending voice message of correspondence after, by statistics the number of a described IP address to the ascending voice message of correspondence add the first predetermined value;
Obtain module, for the described IP address according to statistical module counts described in scheduled time length, a described IP address is obtained to the ascending voice message frequencies of correspondence to the number of the ascending voice message of correspondence; Wherein, the ascending voice message frequencies of a described IP address to correspondence comprises: described radio reception device calculates the number of a described IP address to the ascending voice message of correspondence and the business of scheduled time length;
3rd determination module, the downlink voice message frequencies of a described IP address to correspondence that described ascending voice message frequencies and statistics for obtaining according to described acquisition module obtain determines that a described IP address is voice flow to the data flow of correspondence; The downlink voice message frequencies of a described IP address to correspondence that the described described ascending voice message frequencies that obtains according to described acquisition module and statistics obtain determines that a described IP address is that voice flow comprises to the data flow of correspondence: if the absolute value of a described IP address to the difference of corresponding downlink voice message frequencies that described ascending voice message frequencies and statistics obtain is less than or equal to first threshold, then the value of the hit counter corresponding with the first list item that described radio reception device is preserved by described radio reception device adds the second predetermined value; If the value of hit counter described corresponding with the first list item after adding described second predetermined value is more than or equal to Second Threshold, then described radio reception device determines that a described IP address is voice flow to the data flow of correspondence.
8. device according to claim 7, is characterized in that, described first determination module comprises: IP address to acquisition submodule, search submodule, judge submodule, point-to-point stream determines submodule, arrange submodule and set up submodule;
Described IP address to acquisition submodule, for obtaining an IP address pair of the first message;
Describedly search submodule, for searching in the upstream table preserved at described radio reception device with described IP address obtaining an IP address that submodule obtains to the first corresponding list item;
Described judgement submodule, for when described in search submodule to find with a described IP address the first corresponding list item in upstream table time, judge whether be provided with point-to-point mark in described first list item of described upstream table;
Described point-to-point stream determines submodule, for determine described upstream table when described judgement submodule described first list item in be provided with point-to-point mark time, determine that a described IP address is point-to-point stream to the data flow of correspondence;
Describedly search submodule, also for determine described upstream table when described judgement submodule described first list item in point-to-point mark is not set time, search in the downstream table that described radio reception device is preserved with a described IP address the first corresponding list item;
Described point-to-point stream determines submodule, also for when described in search submodule to find with a described IP address the first corresponding list item in described downstream table time, determine that a described IP address is point-to-point stream to the data flow of correspondence;
Described submodule is set, for when described in search submodule to find with a described IP address the first corresponding list item in described downstream table time, in described first list item of described upstream table and described downstream table, point-to-point mark is set;
Describedly set up submodule, for when described in search submodule not find with a described IP address the first corresponding list item in the upstream table that described radio reception device is preserved time, set up with a described IP address the first corresponding list item in described upstream table;
Describedly search submodule, also for setting up after submodule to set up with a described IP address the first corresponding list item in described upstream table described, search in the downstream table that described radio reception device is preserved with a described IP address the first corresponding list item.
9. the device according to claim 7 or 8, is characterized in that,
Described receiver module, also for receiving the second message that another radio reception device sends; Another radio reception device described is for carrying out associated by the object client that communicates radio reception device with described source client;
Described IP address to acquisition submodule, also for obtaining the 2nd IP address pair of described second message; 2nd IP address of described second message is to being the source IP address of described second message and the IP address pair of object IP address composition;
Describedly search submodule, also for searching in the downstream table preserved at described radio reception device with described IP address obtaining the 2nd IP address that submodule obtains to corresponding list item;
Described second determination module, also for when described in what search that submodule finds in described downstream table is described first list item with described 2nd IP address to corresponding list item, and the length of described second message in described predetermined bite interval time, determine that described second message is that a described IP address is to the downlink voice message of correspondence;
Described statistical module, also for the number of a described IP address to the downlink voice message of correspondence of statistics is added the first predetermined value;
Described acquisition module, also obtains a described IP address to the downlink voice message frequencies of correspondence for the described IP address according to statistical module counts described in scheduled time length to the number of the downlink voice message of correspondence.
10. the device according to claim 7 or 8, is characterized in that,
Described acquisition module, specifically for when determine the very first time of current time and described radio reception device record stab between interval greater than or equal the scheduled time length time, according to the described IP address added up in described scheduled time length, a described IP address is obtained to the ascending voice message frequencies of correspondence to the number of the ascending voice message of correspondence;
Described device also comprises: update module;
Described update module, for the number of the ascending voice message of correspondence to be obtained according to the described IP address added up in described scheduled time length in described acquisition module a described IP address to the ascending voice message frequencies of correspondence after, the very first time of described radio reception device record stamp is updated to described acquisition module and obtains a described IP address to the moment of the ascending voice message frequencies of correspondence.
11. devices according to claim 10, is characterized in that, also comprise:
Mark arranges module, after determining that at described 3rd determination module a described IP address is voice flow to the data flow of correspondence, in described first list item of described upstream table and described downstream table, arranges phonetic symbol.
12. devices according to claim 11, is characterized in that, also comprise:
Marker for judgment module, for between stabbing in the very first time of described acquisition module determination current time and described radio reception device record interval greater than or before equaling scheduled time length, judge whether be provided with phonetic symbol in described first list item of described upstream table;
Described mark arranges module, also for determine described upstream table when described marker for judgment module described first list item in be provided with phonetic symbol time, for described first message arranges phonetic symbol.
13. 1 kinds of radio reception devices, is characterized in that, comprise the recognition device of the voice flow as described in claim 7-12 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 CN102932817A (en) 2013-02-13
CN102932817B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106535274B (en) * 2015-09-14 2019-12-06 中国移动通信集团公司 method and system for realizing dynamic network connection
CN110034976B (en) * 2019-04-08 2021-06-15 Oppo广东移动通信有限公司 Data identification method and device

Citations (3)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8976675B2 (en) * 2011-02-28 2015-03-10 Avaya Inc. Automatic modification of VOIP packet retransmission level based on the psycho-acoustic value of the packet

Patent Citations (3)

* 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

Also Published As

Publication number Publication date
CN102932817A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN110300115B (en) Data transmission method based on multiple channels and related device
US20180317126A1 (en) Method for bluetooth communication, bluetooth system and electronic device
CN105050063B (en) Method and device for pushing information
CN109379498B (en) Electromagnetic interference control method and related device
CN103873883B (en) Video playing method and device and terminal equipment
US11070466B2 (en) Method for link aggregation and related devices
CN108011937B (en) Message pushing method, server, intelligent terminal and computer readable storage medium
CN107818046B (en) A/B test method and device for application program page
CN104683124A (en) Terminal type identification method and device
CN108712778B (en) Channel selection method and related product
CN109922539B (en) Network connection method and related product
CN103945455A (en) Method and device for sending self-adaptive heartbeat data packets
CN102932817B (en) Method and device for recognizing voice stream and wireless access equipment
CN109039994B (en) Method and equipment for calculating asynchronous time difference between audio and video
CN109413716A (en) A kind of method and terminal identifying device type
CN104113880A (en) Data flow control method and system
US10326578B2 (en) Early termination scheme for blind decoding of a downlink control channel
CN109428774B (en) Data processing method of DPI equipment and related DPI equipment
US11240133B2 (en) Communication quality evaluation device, communication quality evaluation method, and communication quality evaluation program
US9813477B2 (en) Adjusting quality level of media streaming
US20190238644A1 (en) User identification for digital experience controls
CN113329263B (en) Game video highlight production method, equipment and computer readable storage medium
CN105357272B (en) A kind of OTA upgrade method and equipment
CN112399209B (en) Video service identification processing method and device
US20170257460A1 (en) System and method for data communication based on content type

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

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.

CP01 Change in the name or title of a patent holder