CN101175119B - Abnormal voice data processing method and apparatus - Google Patents
Abnormal voice data processing method and apparatus Download PDFInfo
- Publication number
- CN101175119B CN101175119B CN2007101406807A CN200710140680A CN101175119B CN 101175119 B CN101175119 B CN 101175119B CN 2007101406807 A CN2007101406807 A CN 2007101406807A CN 200710140680 A CN200710140680 A CN 200710140680A CN 101175119 B CN101175119 B CN 101175119B
- Authority
- CN
- China
- Prior art keywords
- data
- speech data
- buffer area
- abnormal voice
- voice data
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The invention provides a data processing method of the abnormal audio which is used to process the abnormal audio data at the input terminal of the wireless digital. The method comprises that builds the buffer area, judges if the received audio data is abnormal after receiving the audio data, if the data is not abnormal, puts successively the received audio data to the buffer area according to the predetermined buffer form, otherwise, carries out the replace processing of the audio data according to the buffer form and saves the processed audio data into the buffer area. The invention also provides a processing device of the abnormal audio data which is used to process the abnormal audio data at the input terminal of the wireless digital. The device comprises a buffer area, a judge and control unit. Therefore, the method and the device of the invention has great versatility, can also restore the abnormal audio data based on the product of providing the wireless access and also has traceability and large applicable scope, and simple and feasible application.
Description
Technical field
The present invention relates to the wireless communication technique field, more specifically, relate to a kind of abnormal voice data processing method and device.
Background technology
" wireless digital accesses terminal " (hereinafter to be referred as inserting nuclear) claims radio modem again, is a kind of radio reception device, and outward appearance is similar with common modulator-demodulator.Adopt wireless access ways such as CDMA or GSM, in the wireless network coverage, can external plain old telephone, answer, dial local whenever and wherever possible and domestic, overseas call; Also can external computer, utilize wireless network to carry out web page browsing, operations such as content download.CDMA originates from the U.S. of the eighties in 20th century, it adopts code division multiple access to distinguish different users, regional develop very fast of the U.S. and Korea S, also have very large number of users in China, become the practical application technology of 3-G (Generation Three mobile communication system).
Fig. 1 is the schematic diagram of typical language data process structure.
Fig. 2 is the schematic diagram of typical radio chipsets processed voice data.
Insert nuclear when external plain old telephone carries out speech business, as depicted in figs. 1 and 2, the transmission receiving course of its sound generally is by a subscriber line interface circuit (Subscriber Line Interface Circuit, SLIC) with speech conversion be digital pulse coding modulation (Pulse Code Modulation, PCM) form, send in the radio chipsets, compress by it, send into airlink behind the coding, when receiving is to receive voice packet from airlink, decoding, SLIC is sent into by pcm interface in the back of decompressing, and it is reverted to voice signal.
In normal communication process, sound except normal transmission, also have other number voice, such as telephone key-press dual-tone multifrequency (Dual Tone Multiple Frequency, DTMF) sound, this sound many times needs correctly to be discerned by the other side, but because this sound and voice signal are mixed in together, the operations such as compressed encoding of pcm encoder and radio chipsets have been passed through again, make this speech data produce very high error code, cause the opposite end normally to resolve, of this sort data just are called as unusual speech data.
Summary of the invention
The present invention adopts time-delay and caching mechanism to solve above-mentioned similar abnormal voice data problem.For this reason, the present invention proposes a kind of abnormal voice data processing method, be used on wireless digital accesses terminal abnormal voice data being handled, this method comprises: make up buffer area; And when receiving speech data, judge whether received speech data is unusual, if it is not unusual, then the speech data that receives is put into buffer area successively according to the predetermined cache form, otherwise, according to the buffer memory form speech data is replaced processing, and the speech data after will handling is stored in the buffer area.
Wherein, the predetermined cache form is: the empty data of placing predetermined number in the bottom of buffer area, and then the speech data that receives placed on the sky data successively, after speech data arrived the top of buffer area, the bottom that is circulated back to buffer area began to place.The number of above-mentioned empty data is by the decision of time interval of first Preset Time and transmit frame data, and wherein, first Preset Time is to the resolution capability decision of sound by people's ear.
According to the buffer memory form speech data being replaced processing may further comprise the steps: replace current abnormal voice data with the first default speech data.
When replacing current abnormal voice data with the first default speech data, replace the speech data that abnormal voice data sent in second scheduled time before with the second default speech data, wherein, the first default speech data and the second default speech data are identical or different.
Simultaneously, second scheduled time was by the decision of the characteristic of external user line interface circuit.
According to abnormal voice data processing method of the present invention, also comprise: take out speech data successively from the bottom of buffer area and send.
The invention allows for a kind of abnormal voice data processing unit, be used on wireless digital accesses terminal abnormal voice data being handled, this device comprises: buffer area is used for voice data; And judgement control unit, be used for when receiving speech data, judge whether received speech data is unusual, if it is not unusual, then the speech data that receives is put into buffer area successively according to the predetermined cache form, otherwise, according to the buffer memory form speech data is replaced processing, and the speech data after will handling is stored in the buffer area.
Wherein, the predetermined cache form is: the empty data of placing predetermined number in the bottom of buffer area, and then the speech data that receives placed on the sky data successively, after speech data arrived the top of buffer area, the bottom that is circulated back to buffer area began to place.The number of empty data is by the time interval decision of first Preset Time and transmit frame data, and wherein, first Preset Time is to the resolution capability decision of sound by people's ear.
In addition, judge that control unit comprises that first replaces module, be used for existing when unusual, with the current abnormal voice data of the first default speech data replacement in judgement.Judge that control unit comprises that also second replaces module, be used for when the first replacement module is replaced current abnormal voice data with the first default speech data, replace the speech data that abnormal voice data sent in second scheduled time before with the second default speech data, wherein, the first default speech data and the second default speech data are identical or different.
Simultaneously, second scheduled time was by the decision of the characteristic of external user line interface circuit.
According to abnormal voice data processing unit of the present invention, also comprise: transmitting element is used for taking out speech data successively from the bottom of buffer area and sends.
Therefore, adopt method and apparatus of the present invention to have bigger versatility, all can carry out the reparation of abnormal voice data at the GSM that wireless access function is provided, PHS, WCDMA, TD-SCDMA, the single mode/multi-mode wireless product that accesses terminal, and be retrospective, it is applied widely, and is also simple.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of typical language data process structure;
Fig. 2 is the schematic diagram of typical radio chipsets processed voice data;
Fig. 3 is the flow chart according to abnormal voice data processing method of the present invention;
Fig. 4 is the flow chart according to the first embodiment of the present invention;
Fig. 5 is the flow chart of the buffer memory mode of speech data according to a second embodiment of the present invention;
Fig. 6 is the flow chart of the process of transmitting of speech data according to a second embodiment of the present invention;
Fig. 7 is the flow chart of the processing procedure of abnormal voice data according to a second embodiment of the present invention; And
Fig. 8 is the block diagram according to abnormal voice data processing unit of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 3 is the flow chart according to abnormal voice data processing method of the present invention.As shown in Figure 3, may further comprise the steps:
S302 makes up buffer area; And
S304, when receiving speech data, judge whether received speech data is unusual, if it is not unusual, then the speech data that receives is put into buffer area successively according to the predetermined cache form, otherwise, according to the buffer memory form speech data is replaced processing, and the speech data after will handling is stored in the buffer area.
Wherein, the predetermined cache form is: the empty data of placing predetermined number in the bottom of buffer area, and then the speech data that receives placed on the sky data successively, after speech data arrived the top of buffer area, the bottom that is circulated back to buffer area began to place.The number of above-mentioned empty data is by the decision of time interval of first Preset Time and transmit frame data, and wherein, first Preset Time is to the resolution capability decision of sound by people's ear.
According to the buffer memory form speech data being replaced processing may further comprise the steps: replace current abnormal voice data with the first default speech data.
When replacing current abnormal voice data with the first default speech data, replace the speech data that abnormal voice data sent in second scheduled time before with the second default speech data, wherein, the first default speech data and the second default speech data are identical or different.
Simultaneously, second scheduled time was by the decision of the characteristic of external user line interface circuit.
According to abnormal voice data processing method of the present invention, also comprise: take out speech data successively from the bottom of buffer area and send.
The first embodiment of the present invention is to insert the method for dyskaryosis language data process.
Fig. 4 is the flow chart according to the first embodiment of the present invention.As shown in Figure 4, this method may further comprise the steps:
S402 changes the instant storage send mode of original audio data stream, with the method for buffer memory it is stored;
S404 puts into the empty data of several frames in the bottom of initial buffer memory, make voice that time-delay be arranged slightly, then the speech data that receives is put on the sky data, arrives the recirculation afterwards of buffer memory top and begins from the bottom to place;
S406 begins to take out data from the buffer memory bottom and sends, and makes progress successively, arrives the recirculation afterwards of buffer memory top and takes out data from the bottom;
S408, abnormal voice data appears and after, the former frame data in current cache position and current data are all replaced with correct data, finish until abnormal conditions; And
S410 recovers the normal speech data flow process of placing.
This method has solved the problem that can't correctly resolve abnormal speech in the same end product, has promoted the performance of product, has expanded the scope of application of product.
Fig. 5 is the flow chart of the buffer memory mode of speech data according to a second embodiment of the present invention.
Fig. 6 is the flow chart of the process of transmitting of speech data according to a second embodiment of the present invention.
Fig. 7 is the flow chart of the processing procedure of abnormal voice data according to a second embodiment of the present invention.
Below in conjunction with Fig. 5, Fig. 6 and Fig. 7 are described second embodiment.
At first, make up a buffer area and carry out initialization, the size and the speech data form of its size and the current memory space of content basis decide, and such as the array of 10 elements, the structure of array element comprises voice packet content, size and frame rate.
Secondly, as shown in Figure 5, speech data buffer memory mode may further comprise the steps:
S502 sends speech data into radio chipsets;
S504, these data are put into buffer area successively, after speech data begins, after the empty data of a period of time are placed in the data field of buffer memory bottom, the normal voice data are placed on after the sky data again, do the time-delay that can cause voice data transmission like this, the basis of time people ear of this time-delay generally is 100ms to the resolution capability decision of sound.It is concrete in buffer memory that to place several empty data be by the time interval decision of delay time and transmit frame data, for example: for cdma system, that send data is 20ms at interval, the content of 5 packets in the buffer memory can be set to the sky data in view of the above;
S506 reads speech data from buffer area; And
S508 after the coding packing, sends by air interface.
Next, as shown in Figure 6, the process of transmitting of speech data may further comprise the steps:
S602 sends speech data into radio chipsets;
S604 puts into the empty data of some frames in the bottom of buffer memory;
S606, speech data put into the sky data successively after, upwards place (array index from 0 to 10) from the buffer memory bottom, after arriving the buffer memory top, begin again to place from the bottom circulation;
S608, and for the packet that needs send, also be to begin to get from the buffer memory bottom, make progress successively, arrive the buffer memory top and return the peek of buffer memory bottom cycle afterwards; And
S610, the data of fetching are sent by air interface.
Use this method, the buffer memory that enters that the speech data of receiving is not stopping, and the data flow in the buffer memory is being sent out of not stopping, the existence of empty data makes the data of transmission want leading compared with the data of storage, therefore such storage and send mode can not cause losing of speech data, thereby can not influence the effect of voice.
As shown in Figure 7, the abnormal voice data processing procedure may further comprise the steps:
S702 sends speech data into radio chipsets;
S704, speech data is placed with above-mentioned cache way;
S706, when unusual speech data imported into, such as there being the button dtmf tone to send here, radio chipsets detected this signal, thought that these data have mistake, then forward S708 to; Otherwise change S714;
S708, in order to review speech data before this, partial data in the buffer memory before the current time is also replaced, concrete how much the replacement, to decide according to the characteristic of outside slic circuit, for example, slic circuit is after DTMF sound sends about 40ms, just there is response to send on the radio chipsets, illustrate that the data in the preceding 40ms of current data have been abnormal datas, all need to be replaced, according to above-mentioned, the time interval that bag sends is 20ms approximately, and can know needs the data cached 2-3 of being that replaces to wrap;
S710 stops this speech data is put in the buffer memory, but replaces with correct data;
S712 if abnormal conditions finish, then changes S714, otherwise changes S710;
S714, the speech data that recovery receives is put into buffer memory with current data; And
S716 according to the form taking-up speech data of buffer memory, sends by air interface.
Fig. 8 is the block diagram according to abnormal voice data processing unit 800 of the present invention.As shown in Figure 8, this device comprises:
Buffer area 802 is used for voice data; And judgement control unit 804, be used for when receiving speech data, judge whether received speech data is unusual, if it is not unusual, then the speech data that receives is put into buffer area 802 successively according to the predetermined cache form, otherwise, according to the buffer memory form speech data is replaced processing, and the speech data after will handling is stored in the buffer area 802.
Wherein, the predetermined cache form is: the empty data of placing predetermined number in the bottom of buffer area 802, and then the speech data that receives placed on the sky data successively, after speech data arrived the top of buffer area 802, the bottom that is circulated back to buffer area 802 began to place.The number of empty data is by the time interval decision of first Preset Time and transmit frame data, and wherein, first Preset Time is to the resolution capability decision of sound by people's ear.
In addition, judge that control unit 804 comprises that first replaces module 8042, be used for existing when unusual, with the current abnormal voice data of the first default speech data replacement in judgement.Judge that control unit 804 comprises that also second replaces module 8044, be used for when first replaces the current abnormal voice data of the module 8042 usefulness first default speech data replacement, replace the speech data that abnormal voice data sent in second scheduled time before with the second default speech data, wherein, the first default speech data and the second default speech data are identical or different.
Simultaneously, second scheduled time was by the decision of the characteristic of external user line interface circuit.
According to abnormal voice data processing unit of the present invention, also comprise: transmitting element 806 is used for taking out speech data successively from the bottom of buffer area 802 and sends.
In sum, the method and apparatus that the present invention proposes has bigger versatility, all can carry out the reparation of abnormal voice data at the GSM that wireless access function is provided, PHS, WCDMA, TD-SCDMA, the single mode/multi-mode wireless product that accesses terminal with the present invention, and be retrospective, it is applied widely, and is also simple.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1. an abnormal voice data processing method is used on wireless digital accesses terminal abnormal voice data being handled, and it is characterized in that, comprising:
Make up buffer area; And
When receiving speech data, judge whether received speech data is unusual;
If it is not unusual, then the speech data that receives is put into described buffer area successively according to the predetermined cache form, wherein, described predetermined cache form is: the empty data of placing predetermined number in the bottom of described buffer area, and then the described speech data that will receive places on the described empty data successively, after described speech data arrives the top of described buffer area, the bottom that is circulated back to described buffer area begins to place, the number of described empty data is by the decision of time interval of first Preset Time and transmit frame data, and described first Preset Time is to the resolution capability decision of sound by people's ear;
Otherwise, according to described buffer memory form described speech data is replaced processing, and the speech data after will handling is stored in the described buffer area, wherein, described speech data is replaced processing to be comprised: replace current abnormal voice data with the first default speech data, simultaneously, replace the speech data that described abnormal voice data sent in second scheduled time before with the second default speech data, wherein, the described first default speech data is identical or different with the described second default speech data, and described second scheduled time is that the characteristic by the external user line interface circuit determines.
2. abnormal voice data processing method according to claim 1 is characterized in that, also comprises:
Taking out described speech data successively from the bottom of described buffer area sends.
3. an abnormal voice data processing unit is used on wireless digital accesses terminal abnormal voice data being handled, and it is characterized in that, comprising:
Buffer area is used for voice data; And
Judge control unit, be used for when receiving speech data, judge whether received speech data is unusual, if it is not unusual, then the speech data that receives is put into described buffer area successively according to the predetermined cache form, otherwise, according to described buffer memory form described speech data is replaced processing, and the speech data after will handling is stored in the described buffer area;
Wherein, described predetermined cache form is: the empty data of placing predetermined number in the bottom of described buffer area, and then the described speech data that will receive places on the described empty data successively, after described speech data arrives the top of described buffer area, the bottom that is circulated back to described buffer area begins to place, the number of described empty data is by the decision of time interval of first Preset Time and transmit frame data, wherein, described first Preset Time is to be determined by the resolution capability of people's ear to sound;
Wherein, described judgement control unit comprises:
First replaces module, is used for existing when unusual in judgement, with the current abnormal voice data of the first default speech data replacement;
Second replaces module, be used for when the described first replacement module is replaced current abnormal voice data with the first default speech data, replace the speech data that described abnormal voice data sent in second scheduled time before with the second default speech data, wherein, the described first default speech data is identical or different with the described second default speech data, and described second scheduled time is that the characteristic by the external user line interface circuit determines.
4. abnormal voice data processing unit according to claim 3 is characterized in that, also comprises: transmitting element is used for taking out described speech data successively from the bottom of described buffer area and sends.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101406807A CN101175119B (en) | 2007-09-30 | 2007-09-30 | Abnormal voice data processing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101406807A CN101175119B (en) | 2007-09-30 | 2007-09-30 | Abnormal voice data processing method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101175119A CN101175119A (en) | 2008-05-07 |
CN101175119B true CN101175119B (en) | 2010-09-08 |
Family
ID=39423369
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101406807A Expired - Fee Related CN101175119B (en) | 2007-09-30 | 2007-09-30 | Abnormal voice data processing method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101175119B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011147378A2 (en) * | 2011-06-07 | 2011-12-01 | 华为技术有限公司 | Data processing method and access node |
CN105338501B (en) * | 2014-08-08 | 2020-08-07 | 中兴通讯股份有限公司 | Information transmitting method, information acquiring method, information transmitting device, information acquiring device and terminal in call process |
CN105469801B (en) * | 2014-09-11 | 2019-07-12 | 阿里巴巴集团控股有限公司 | A kind of method and device thereof for repairing input voice |
CN110728261B (en) * | 2019-10-23 | 2022-08-30 | 武汉奇致激光技术股份有限公司 | Method for feeding back fault information of laser medical cosmetic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1463125A (en) * | 2002-05-28 | 2003-12-24 | 华为技术有限公司 | Large capacity realtime stream processing method for removing dithering in using buffer memory |
CN1567971A (en) * | 2003-07-07 | 2005-01-19 | 英业达集团(南京)电子技术有限公司 | Method for instantly receiving and playing voice data by using wireless terminal machine from wireless network |
-
2007
- 2007-09-30 CN CN2007101406807A patent/CN101175119B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1463125A (en) * | 2002-05-28 | 2003-12-24 | 华为技术有限公司 | Large capacity realtime stream processing method for removing dithering in using buffer memory |
CN1567971A (en) * | 2003-07-07 | 2005-01-19 | 英业达集团(南京)电子技术有限公司 | Method for instantly receiving and playing voice data by using wireless terminal machine from wireless network |
Also Published As
Publication number | Publication date |
---|---|
CN101175119A (en) | 2008-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1148985C (en) | Method of invoking and cancelling voice or data service from a mobile unit | |
CN1866971B (en) | Method and apparatus of data segmentation in a mobile communications system | |
AU665857B2 (en) | Arrangement for enhancing data transmission in a digital cellular radio network | |
JPH0345029A (en) | Cordless telephone system | |
CN1170492A (en) | System for TDMA mobile-to-mobile vselp codec bypass | |
JPH06505616A (en) | Minimizing facsimile data loss during cell switching in mobile communications | |
KR100255328B1 (en) | Hand-held telephone for recording/reproducing of voice signal and method thereof | |
CN101175119B (en) | Abnormal voice data processing method and apparatus | |
US5732356A (en) | Method and an arrangement for sound reconstruction during erasures | |
US6693510B1 (en) | Image communication terminal, image communication system, and mobile station | |
CN1602639A (en) | System and method of codec employment in a cellular telephone | |
AU686332B2 (en) | Accomplishing a register recall in a radio system | |
CN102143573A (en) | Method and device for data transmission | |
CN105072301B (en) | Telephone signal switching system and method | |
US7702319B1 (en) | Communication apparatus including a mechanism for reducing loss of text telephone information during normal traffic channel preempting | |
CN101132462B (en) | System and method for implementing wireless fax based on caching scheme | |
EP2224671A1 (en) | Method, apparatus and computer program for merging telephony services over circuit switched network and packet switched data network | |
CN100382443C (en) | A method for transmitting and receiving data in a mobile terminal | |
CN202121654U (en) | Telephone device capable of realizing wireless dialing via PC | |
JPH0661935A (en) | Digital cordless key telephone system | |
KR100710268B1 (en) | A voice call transmitting and receiving method between two different kind of micro processors | |
CN1859512B (en) | Method, system and device for realizing three-party talking in radio access in system | |
CN201252627Y (en) | Multi-module communication terminal | |
CN103067555B (en) | A kind of method that telephone set, media gateway device and number report, receive | |
CN1150695C (en) | multi-line wireless telephone system computer interface |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100908 Termination date: 20200930 |
|
CF01 | Termination of patent right due to non-payment of annual fee |