CN103559907A - Recording method, device and terminal - Google Patents

Recording method, device and terminal Download PDF

Info

Publication number
CN103559907A
CN103559907A CN201310511709.3A CN201310511709A CN103559907A CN 103559907 A CN103559907 A CN 103559907A CN 201310511709 A CN201310511709 A CN 201310511709A CN 103559907 A CN103559907 A CN 103559907A
Authority
CN
China
Prior art keywords
voice messaging
volume
effective information
information
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310511709.3A
Other languages
Chinese (zh)
Other versions
CN103559907B (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.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201310511709.3A priority Critical patent/CN103559907B/en
Publication of CN103559907A publication Critical patent/CN103559907A/en
Application granted granted Critical
Publication of CN103559907B publication Critical patent/CN103559907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a recording method, device and terminal, belonging to the technical field of computers. The recording method comprises the following steps: detecting whether acquired voice information is effective information; recording the voice information which is effective information, and not recording the voice information which is not effective information. The problem that in the prior art, recorded files occupy large data quantity since recording is required to be carried out within the whole time interval from receiving the start request to receiving the finish request is solved, and the effect of reducing the large occupied data quantity of recorded files by not recording invalid information in the acquired voice information is achieved.

Description

The way of recording, device and terminal
Technical field
The present invention relates to field of computer technology, particularly a kind of way of recording, device and terminal.
Background technology
Sound-recording function is one of of paramount importance function in the terminal such as mobile phone, panel computer, electronic reader and recording pen.
In daily life, people often have the demand of recording, such as, when user participates in momentous conference, for fear of omitting conference content user, can record to conference content; User, listen class hour, for fear of after forget teacher teaching content user can intercommunication hold and record within the class period.At present, common a kind of way of recording comprises: terminal receives recording and starts request; Carry out recording; After receiving End of Tape request, stop recording.
In realizing process of the present invention, inventor finds prior art, and at least there are the following problems:
Terminal starts request and all can carry out and record to receiving in whole time period of ending request receiving, and the data volume that recorded file occupies is large.
Summary of the invention
The large problem of data volume that can cause recorded file to occupy for the way of recording that provides in prior art is provided, the embodiment of the present invention provides a kind of way of recording, device and terminal.Described technical scheme is as follows:
First aspect, provides a kind of way of recording, and described method comprises:
Whether the voice messaging that detection collects is effective information;
If testing result, for being effective information, is recorded described voice messaging;
If testing result, for not being effective information, is not recorded described voice messaging.
In the possible implementation of the first of first aspect, whether the voice messaging that described detection collects is effective information, comprising:
Whether the volume that detects described voice messaging reaches volume threshold;
If testing result is for reaching described volume threshold, determine that described voice messaging is effective information;
If testing result is not for reaching described volume threshold, determine that described voice messaging is not effective information.
In the possible implementation of the second of first aspect, before whether the volume of the described voice messaging of described detection reaches volume threshold, described method also comprises:
Obtain the volume of the historical voice messaging gathering;
According to the volume getting, just upgrade described volume threshold.
In the third possible implementation of first aspect, the volume that described basis gets is just upgraded described volume threshold, comprising:
By the volume that in the volume getting, volume is minimum, upgrade described volume threshold.
In the 4th kind of possible implementation of first aspect, whether the voice messaging that described detection collects is effective information, comprising:
By noise identification model, described voice messaging is carried out to degree of confidence detection;
The degree of confidence obtaining if detect, lower than predetermined threshold, determines that described voice messaging is effective information;
If detect the degree of confidence obtaining, be not less than described predetermined threshold, determine that described voice messaging is not effective information.
In the 5th kind of possible implementation of first aspect, described method also comprises:
If testing result for not being effective information, is calculated and be take the last time voice messaging to be detected be moment of effective information accumulative total duration that is the finish time as initial time, current time;
In the position of recording the voice messaging of described initial time collection, insert event flag, described event flag is used to indicate and when playing recorded file to described position, plays the blank recording with described accumulative total duration, and after playing described blank recording, continues to play the content of described recorded file.
Second aspect, provides a kind of recording device, and described recording device comprises:
Whether information detection module is effective information for detection of the voice messaging collecting;
The first object module, when being effective information, records described voice messaging for the testing result at described information detection module;
The second object module, when being not effective information, does not record described voice messaging for the testing result at described information detection module.
In the possible implementation of the first of second aspect, described information detection module, comprising:
Whether volume detecting unit, reach volume threshold for detection of the volume of described voice messaging;
The first result unit, when reaching described volume threshold, determines that described voice messaging is effective information for the testing result in described volume detecting unit;
The second result unit, when not reaching described volume threshold, determines that described voice messaging is not effective information for the testing result in described volume detecting unit.
In the possible implementation of the second of second aspect, described device also comprises:
Volume acquisition module, for obtaining the volume of the historical voice messaging gathering;
Threshold value update module, just upgrades described volume threshold for the volume getting according to described volume acquisition module.
In the third possible implementation of second aspect, described threshold value update module, also upgrades described volume threshold for the minimum volume of volume volume by getting.
In the 4th kind of possible implementation of second aspect, described information detection module, comprising:
Information detecting unit, for carrying out degree of confidence detection by noise identification model to described voice messaging;
The 3rd result unit, when detecting the degree of confidence obtain lower than predetermined threshold, determines that described voice messaging is effective information for the testing result in described information detecting unit;
The 4th result unit, while being not less than described predetermined threshold for the testing result in described information detecting unit for detecting the degree of confidence obtaining, determines that described voice messaging is not effective information.
In the 5th kind of possible implementation of second aspect, described device also comprises:
Duration calculation module,, calculates and take the last time voice messaging to be detected be moment of effective information accumulative total duration that is the finish time as initial time, current time when being not effective information for the testing result at described information detection module;
Information flag module, for inserting event flag in the position of recording the voice messaging of described initial time collection, described event flag is used to indicate and when playing recorded file to described position, plays the blank recording with described accumulative total duration, and after playing described blank recording, continues to play the content of described recorded file.
The third aspect, provides a kind of terminal, and it comprises the recording device in the various implementations that second aspect or second aspect provide.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
Whether the voice messaging collecting by detection is effective information, thus in testing result when being effective information, recorded speech information, and in testing result when being not effective information, recorded speech information not.Solved in prior art owing to starting request and all carry out recording to receiving in whole time period of ending request receiving, thus the data volume that the recorded file causing occupies large problem; Reached and can the invalid information in the voice messaging collecting not recorded, thus the effect of the data volume that minimizing recorded file occupies.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of the way of recording that provides of the embodiment of the present invention one;
Fig. 2 is the method flow diagram of the way of recording that provides of the embodiment of the present invention two;
Fig. 3 is the method flow diagram of the way of recording that provides of the embodiment of the present invention three;
Fig. 4 is the block diagram of the recording device that provides of the embodiment of the present invention four;
Fig. 5 A is the block diagram of the recording device that provides of the embodiment of the present invention five;
Fig. 5 B is another block diagram of the recording device that provides of the embodiment of the present invention five.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment mono-
Please refer to Fig. 1, it shows the method flow diagram of the way of recording that the embodiment of the present invention one provides, and this way of recording can comprise:
Step 101, detects whether the voice messaging collecting is effective information;
Step 102, if testing result is for being effective information, recorded speech information;
Step 103, if testing result is not for being effective information, recorded speech information not;
In sum, the way of recording that the present embodiment provides, whether the voice messaging collecting by detection is effective information, thus in testing result when being effective information, recorded speech information, and in testing result when being not effective information, recorded speech information not.Solved in prior art owing to starting request and all carry out recording to receiving in whole time period of ending request receiving, thus the data volume that the recorded file causing occupies large problem; Reached and can the invalid information in the voice messaging collecting not recorded, thus the effect of the data volume that minimizing recorded file occupies.
Embodiment bis-
Please refer to Fig. 2, it shows the method flow diagram of the way of recording that the embodiment of the present invention two provides, and this way of recording can comprise:
Step 201, obtains the volume of the historical voice messaging gathering;
Recorded program in user opens a terminal and click and to start recording after, terminal can Real-time Collection voice messaging, and for the execution of subsequent step, terminal can be obtained the volume of the historical voice messaging gathering.
Concrete, in order to reduce the processing complexity of terminal, terminal can be obtained the once volume of the historical voice messaging gathering every predetermined amount of time, and wherein the historical voice messaging gathering refers to the voice messaging gathering in the historical time section before current slot; Such as, terminal is obtained the volume of the voice messaging once gathering in it previous month week about; Also can be all voice messagings that current slot gathers before; And the counting accuracy of the more subsequent steps of number of the volume getting is higher.
Step 202, just upgrades volume threshold according to the volume getting;
Recorded program can arrange the volume threshold that a volume training of speaking according to masses obtains when dispatching from the factory, and the volume of speaking due to different user difference to some extent all, such as some user's the volume of speaking is lower, the volume that some user speaks is higher; So for the use habit of being more close to the users, after terminal gets the volume of the historical voice messaging gathering, terminal can be upgraded volume threshold according to the volume getting.
Wherein, the step that terminal is upgraded volume threshold according to the volume getting can comprise: by the volume that in the volume getting, volume is minimum, upgrade volume threshold.
Concrete, in the volume of the voice messaging that the history getting in terminal gathers, in the situation that hypothesis noise is certain, the volume that volume is minimum can be similar to the minimal volume that representative of consumer is spoken within the time period before, that is to say, volume is not probably the voice messaging that user says lower than other voice messaging of minimal volume, so terminal can be upgraded volume threshold by the volume that in the volume getting, volume is minimum.
Such as, the volume threshold of recorded program setting is 40dB, and user A one's voice in speech belongs to higher crowd, and the minimal volume that he speaks is 45dB; And user B one's voice in speech belongs to crowd on the low side, its minimal volume of speaking is 35dB; So for user A, the volume collecting is all likely noise lower than the voice messaging of 45dB, so record noise for fear of terminal, thereby reduce the size of the data volume of recorded file, the volume that in the volume that terminal can get, volume is minimum is set to new volume threshold; Similarly, for user B, the minimal volume of the sound of speaking of user B is lower than volume threshold 40dB, so it is too high that volume threshold is set for this user, when reality is used, for the sound user that can allow terminal collect user need to improve the volume of oneself, using method is inconvenience extremely, so use for the ease of user, the minimum volume 35dB that terminal can gather is set to volume threshold.
It should be noted that, step 201 and step 202 are optional steps, and when actual realization, terminal can adopt the volume threshold of recorded program acquiescence and directly perform step 203, and the present embodiment does not limit this.
Step 203, whether the volume that detects voice messaging reaches volume threshold; If testing result is for reaching volume threshold, determine that voice messaging is effective information, perform step 204, if testing result is not for reaching volume threshold, determine that voice messaging is invalid information, performs step 206;
Whether the volume that terminal can detect the voice messaging of collection reaches volume threshold.Such as, the volume of the voice messaging of terminal collection is 43dB, and volume threshold is 35dB, and whether the volume 43dB that terminal can detect the voice messaging of collection reaches volume threshold 35dB.
If testing result is for reaching volume threshold, determines that voice messaging is effective information, and perform step 204;
If the volume that the testing result of terminal is the voice messaging that collects reaches volume threshold, the sound of speaking that probably comprises user in the voice messaging of now terminal collection is described, and this part voice messaging voice messaging that user needs often, so now terminal can determine that voice messaging is effective information, and jumps to step 204.
If testing result is not for reaching volume threshold, determines that voice messaging is not effective information, and perform step 206.
And if the testing result of terminal is not for reaching volume threshold, illustrate and in the voice messaging of the current collection of terminal, there is no fear of the sound of speaking that comprises user, it is all very likely noise around, this part voice messaging is garbage for user, so it is not effective information that terminal can be determined voice messaging, and now jumps to step 206.
Concrete, when actual realization, the step whether volume of terminal detection voice messaging reaches volume threshold can also comprise: whether the volume that terminal detects the voice messaging gathering in historical time section reaches volume threshold, and wherein historical time section refers to that be the time period that collects the moment of voice messaging and have scheduled duration the finish time.Such as, historical time section is 3S, after terminal collects current voice messaging, whether the volume that terminal can detect the voice messaging gathering in 3S before all reaches volume threshold; If testing result is for all reaching volume threshold, terminal can determine that the voice messaging of current collection is effective information; Otherwise if the testing result of terminal is not for all reaching volume threshold, terminal can determine that the voice messaging of current collection is not effective information, the present embodiment does not repeat them here.
In addition, the mode whether volume that the present embodiment just detects voice messaging reaches volume threshold judges whether voice messaging is effective information, when actual realization, whether the voice messaging that terminal can also detect collection is noise, and in testing result when being not noise, determine that voice messaging is effective information, the present embodiment is to judging that whether voice messaging is that definite mode of effective information does not limit.
Step 204, filters voice messaging, removes the noise information in voice messaging;
If the testing result of terminal is that the voice messaging collecting is effective information; owing to being subject to the impact of surrounding environment; in the voice messaging of terminal collection, conventionally can comprise the noise from environment; so size for the data volume that further minimizing recorded file occupies; terminal can also first be filtered voice messaging, thereby removes the noise information in voice messaging.When actual realization, terminal can detect vad algorithm by sound end and remove the noise in voice messaging.Concrete, due to the frequency of user's speech utterance and the frequency of noises such as vehicle whistle, keyboard sound or animal cry different, so in order to remove these noises, terminal can be filtered the voice messaging collecting by vad algorithm, and after terminal is removed noise information, terminal can perform step 205.Certainly when actual realization, terminal can also remove the noise information in voice messaging by the mode of high-pass filtering or low-pass filtering, and the present embodiment does not limit its specific implementation.
Step 205, recorded speech information;
Terminal is recorded the voice messaging collecting.
Step 206, not recorded speech information.
If the testing result of terminal is that the voice messaging collecting is not effective information, the data volume now occupying in order to reduce recorded file, terminal can not recorded the voice messaging collecting.
When actual realization, in order better to reproduce scene at that time when playing recorded file, thereby improve user, experience, in the testing result of terminal, when being not effective information, terminal can also be carried out following steps:
The first, calculate and take the last time voice messaging to be detected be moment of effective information accumulative total duration that is the finish time as initial time, current time;
Terminal can be calculated and take the last time voice messaging to be detected be moment of effective information accumulative total duration that is the finish time as initial time, current time.Concrete, owing to all may occurring pausing between two sections of voice, so when terminal detects voice messaging and is not effective information, terminal can be calculated the dead time between two sections of voice messagings that gather in this recording process, is also that terminal can be calculated the last time the moment that the historical voice messaging gathering is effective information to be detected be the accumulative total duration that initial time, current time are the finish time.
Such as, with user, use terminal to be recorded as example to user and good friend's conversation content, after user sends inquiry, good friend has thought deeply 5S problem has been answered,, during the 5S of good friend's thinking, the voice messaging that terminal can detect collection is not effective information; And detect while not being effective information in terminal, terminal can be obtained the last time, and voice messaging to be detected be that effective information is also the initial time of this pause, and calculate from initial time and start to take the accumulative total duration that current time is the finish time, thereby obtain total duration of this pause.
The second, in the position of recording the voice messaging of initial time collection, insert event flag.
In order to be marked in recorded file, when occurred pausing and how long having paused, after terminal calculates accumulative total duration, terminal can be inserted event flag in the position of recording the voice messaging of initial time collection.Wherein, event flag is used to indicate plays the blank recording with accumulative total duration when playing recorded file to position, and after playing blank recording, continues to play the content of recorded file.
Such as, user is to good friend's inquiry " you know how tomato is said in English ", good friend answers " tomato " after having thought deeply 5S, when terminal detects the voice messaging of the previous moment collection of voice messaging " tomato ", it is not effective information that terminal can detect voice messaging, and calculate accumulative total duration be 5S, now terminal can be inserted event flag in the position of finish time of recorded content " you know how tomato is said in English ", thereby during the recorded file of having recorded in terminal plays, after playing " you know how tomato is said in English ", terminal can read event flag, thereby no longer continue to play the subsequent content of recorded file, but play according to the content of event flag indication, also play the blank recording of 5S, and the content in recorded file is play in continuation after 5S, also continue the recording that play content is " tomato ".
In sum, the way of recording that the present embodiment provides, whether the voice messaging collecting by detection is effective information, thus in testing result when being effective information, recorded speech information, and in testing result when being not effective information, recorded speech information not.Solved in prior art owing to starting request and all carry out recording to receiving in whole time period of ending request receiving, thus the data volume that the recorded file causing occupies large problem; Reached and can the invalid information in the voice messaging collecting not recorded, thus the effect of the data volume that minimizing recorded file occupies.
The present embodiment is by only recording volume lower than the voice messaging of volume threshold, in the recorded file that makes finally to obtain, do not comprise blank information, thereby when playing recorded file, user's stand-by period in the time of can avoiding playing invalid information, and then improve the effect that user experiences; In addition, the present embodiment, by first remove the noise in voice messaging between recording, has further reduced the data space that recorded file occupies.
Although the present embodiment is not recorded the voice messaging that is not effective information, but, by inserting event flag in the position of recording the last effective information, make playing recorded file when inserting the position of event flag, can play the blank recording of accumulative total duration, and after the blank recording that plays event flag indication, continue to play the content in recorded file; When having reached the data space occupying in minimizing recorded file, when playing recorded file, still can be similar to the full content restoring while recording, and the recording in voice messaging is not time period of effective information restoring is the clean recording after denoising, thereby give user the effect that good user experiences.
Embodiment tri-
Please refer to Fig. 3, it shows the method flow diagram of the way of recording that the embodiment of the present invention three provides, and this way of recording can comprise:
Step 301, carries out degree of confidence detection by noise identification model to the voice messaging collecting; The degree of confidence obtaining if detect, lower than predetermined threshold, determines that voice messaging is effective information and performs step 302; If detect the degree of confidence obtaining, be not less than predetermined threshold, determine that voice messaging is not effective information and performs step 303;
Recorded program in user opens a terminal and click and to start recording after, terminal can Real-time Collection voice messaging, and by noise identification model, the voice messaging collecting is carried out to degree of confidence detection.Wherein, in noise identification model, can comprise common interference noise, such as s cough, raspberry, the sound of closing the door, doorbell sound, knock or vehicle whistle sound etc.
The content comprising due to noise identification model is the training pattern of interference noise, so the degree of confidence detecting in terminal is during lower than predetermined threshold, illustrate now and voice messaging can not be confirmed as to noise information, also be that voice messaging is the effective information useful to user, so terminal now can determine that the voice messaging collecting is effective information, and continue execution step 302;
And if the degree of confidence that terminal detects is not less than predetermined threshold, explanation now can determine that voice messaging is exactly noise information, so now terminal can determine that the voice messaging collecting is not effective information, can continue to perform step 303.
Step 302, recorded speech information;
Terminal is recorded the voice messaging collecting.
Step 303, not recorded speech information.
If the testing result of terminal is that the voice messaging collecting is not effective information, the data volume now occupying in order to reduce recorded file, terminal can not recorded the voice messaging collecting.
When actual realization, in order better to reproduce scene at that time when playing recorded file, thereby improve user, experience, in the testing result of terminal, when being not effective information, terminal can also be carried out following steps:
The first, calculate and take the last time voice messaging to be detected be moment of effective information accumulative total duration that is the finish time as initial time, current time;
Terminal can be calculated and take the last time voice messaging to be detected be moment of effective information accumulative total duration that is the finish time as initial time, current time.Concrete, owing to all may occurring pausing between two sections of voice, so when terminal detects voice messaging and is not effective information, terminal can be calculated the dead time in the middle of the voice messaging that gathers in this recording process, is also that terminal can be calculated the last time the moment that the historical voice messaging gathering is effective information to be detected be the accumulative total duration that initial time, current time are the finish time.
Such as, with user, use terminal to be recorded as example to user and good friend's conversation content, after user sends inquiry, good friend has thought deeply 5S problem has been answered,, during the 5S of good friend's thinking, the voice messaging that terminal can detect collection is not effective information; And detect while not being effective information in terminal, terminal can be obtained the last time, and voice messaging to be detected be that effective information is also the initial time of this pause, and calculate from initial time and start to take the accumulative total duration that current time is the finish time, thereby obtain total duration of this pause.
The second, in the position of recording the voice messaging of initial time collection, insert event flag.
In order to be marked in recorded file, when occurred pausing and how long having paused, after terminal calculates accumulative total duration, terminal can be inserted event flag in the position of recording the voice messaging of initial time collection.Wherein, event flag is used to indicate plays the blank recording with accumulative total duration when playing recorded file to position, and after playing blank recording, continues to play the content of recorded file.
Such as, user is to good friend's inquiry " you know how tomato is said in English ", good friend answers " tomato " after having thought deeply 5S, when terminal detects the voice messaging of the previous moment collection of voice messaging " tomato ", it is not effective information that terminal can detect voice messaging, and calculate accumulative total duration be 5S, now terminal can be inserted event flag in the position of finish time of recorded content " you know how tomato is said in English ", thereby during the recorded file of having recorded in terminal plays, after playing " you know how tomato is said in English ", terminal can read event flag, thereby no longer continue to play the subsequent content of recorded file, but play according to the content of event flag indication, also play the blank recording of 5S, and the content in recorded file is play in continuation after 5S, also continue the recording that play content is " tomato ".
In sum, the speech method that the present embodiment provides, whether the voice messaging collecting by detection is effective information, thus in testing result when being effective information, recorded speech information, and in testing result when being not effective information, recorded speech information not.Solved in prior art owing to starting request and all carry out recording to receiving in whole time period of ending request receiving, thus the data volume that the recorded file causing occupies large problem; Reached and can the invalid information in the voice messaging collecting not recorded, thus the effect of the data volume that minimizing recorded file occupies.
The present embodiment is by using noise identification model to carry out degree of confidence detection to voice messaging, and the degree of confidence obtaining in detection is during lower than predetermined threshold, and confirmation voice messaging is effective information; And the degree of confidence obtaining in detection is while being not less than predetermined threshold, determines that voice messaging is not effective information; Thereby only record testing result and be effective information voice messaging and do not record the voice messaging that testing result is invalid information, reached and can reduce the required data space occupying of invalid information in recorded file, and when playing recorded file, can only play the effective information useful to user, thereby improved the efficiency of user's obtaining information, and then improved the effect that user experiences.
Although the present embodiment is not recorded the voice messaging that is not effective information, but, by inserting event flag in the position of recording the last effective information, make playing recorded file when inserting the position of event flag, can play the blank recording of accumulative total duration, and after the blank recording that plays event flag indication, continue to play the content in recorded file; When having reached the data space occupying in minimizing recorded file, when playing recorded file, still can be similar to the full content restoring while recording, and the recording in voice messaging is not time period of effective information restoring is the clean recording after denoising, thereby give user the effect that good user experiences.
It should be noted that, the present embodiment is just to be used noise identification model to carry out degree of confidence detection to voice messaging, noise identification model comprises common interference noise, thereby determine whether voice messaging is that effective information is example, when actual realization, the content of the effective information needing according to different use scenes users is also different, such as, user is in U.S. street corner and domestic good friend chat, and record this chat content by mobile phone, under this scene, user is only concerned about the Chinese information that good friend says, and and be indifferent to the particular content of the english information of periphery, also now english information is not just effective information for user, in noise identification model under this scene, except common interference noise, English training pattern can also be set, so the particular content in noise identification model can be provided with according to different user demands different contents, the present embodiment does not limit the particular content in noise identification model.
Embodiment tetra-
Please refer to Fig. 4, it shows the block diagram of the recording device that the embodiment of the present invention four provides, this recording device can be realized and be become all or part of in terminal by software, hardware or both combinations, and this recording device can comprise: information detection module 410, the first object module 420 and the second object module 430;
Whether information detection module 410 is effective information for detection of the voice messaging collecting;
The first object module 420, when being effective information, records described voice messaging for the testing result at described information detection module 410;
The second object module 430, when being not effective information, does not record described voice messaging for the testing result at described information detection module 410.
In sum, the recording device that the present embodiment provides, whether the voice messaging collecting by detection is effective information, thus in testing result when being effective information, recorded speech information, and in testing result when being not effective information, recorded speech information not.Solved in prior art owing to starting request and all record to receiving in whole time period of ending request receiving, thus the data volume that the recorded file causing occupies large problem; Reached and can the invalid information in the voice messaging collecting not recorded, thus the effect of the data volume that minimizing recorded file occupies.
Embodiment five
Please refer to Fig. 5 A, it shows the block diagram of the recording device that the embodiment of the present invention five provides, this recording device can be realized and be become all or part of in terminal by software, hardware or both combinations, and this recording device can comprise: information detection module 510, the first object module 520 and the second object module 530;
Whether information detection module 510 is effective information for detection of the voice messaging collecting;
The first object module 520, when being effective information, records described voice messaging for the testing result at described information detection module 510;
The second object module 530, when being not effective information, does not record described voice messaging for the testing result at described information detection module 510.
In the possible implementation of the first of the present embodiment, described information detection module 510, comprising:
Whether volume detecting unit 511, reach volume threshold for detection of the volume of described voice messaging;
The first result unit 512, when reaching described volume threshold, determines that described voice messaging is effective information for the testing result in described volume detecting unit 511;
The second result unit 513, when not reaching described volume threshold, determines that described voice messaging is not effective information for the testing result in described volume detecting unit 511.
In the possible implementation of the second of the present embodiment, described device also comprises:
Volume acquisition module 540, for obtaining the volume of the historical voice messaging gathering;
Threshold value update module 550, just upgrades described volume threshold for the volume getting according to described volume acquisition module 540.
In the third possible implementation of the present embodiment,
Described threshold value update module 550, also upgrades described volume threshold for the minimum volume of volume volume by getting.
In the 4th kind of possible implementation of the present embodiment, described information detection module 510, comprising:
Information detecting unit 514, for carrying out degree of confidence detection by noise identification model to described voice messaging;
The 3rd result unit 515, when detecting the degree of confidence obtain lower than predetermined threshold, determines that described voice messaging is effective information for the testing result in described information detecting unit 514;
The 4th result unit 516, while being not less than described predetermined threshold for the testing result in described information detecting unit 514 for detecting the degree of confidence obtaining, determines that described voice messaging is not effective information.
In the 5th kind of possible implementation of the present embodiment, described device also comprises:
Duration calculation module 560,, calculates and take the last time voice messaging to be detected be moment of effective information accumulative total duration that is the finish time as initial time, current time when being not effective information for the testing result at described information detection module;
Information flag module 570, for inserting event flag in the position of recording the voice messaging of described initial time collection, described event flag is used to indicate and when playing recorded file to described position, plays the blank recording with described accumulative total duration, and after playing described blank recording, continues to play the content of described recorded file.
In sum, the recording device that the present embodiment provides, whether the voice messaging collecting by detection is effective information, thus in testing result when being effective information, recorded speech information, and in testing result when being not effective information, recorded speech information not.Solved in prior art owing to starting request and all carry out recording to receiving in whole time period of ending request receiving, thus the data volume that the recorded file causing occupies large problem; Reached and can the invalid information in the voice messaging collecting not recorded, thus the effect of the data volume that minimizing recorded file occupies.
The present embodiment is by only recording volume lower than the voice messaging of volume threshold, in the recorded file that makes finally to obtain, do not comprise blank information, thereby when playing recorded file, user's stand-by period in the time of can avoiding playing invalid information, and then improve the effect that user experiences; In addition, the present embodiment, by first remove the noise in voice messaging between recording, has further reduced the data space that recorded file occupies.
Although the present embodiment is not recorded the voice messaging that is not effective information, but, by inserting event flag in the position of recording the last effective information, make playing recorded file when inserting the position of event flag, can play the blank recording of accumulative total duration, and after playing blank recording, continue to play the content in recorded file; When having reached the data space occupying in minimizing recorded file, when playing recorded file, still can be similar to the full content restoring while recording, thereby give user the effect that good user experiences.
It should be noted that: the recording device that above-described embodiment provides and terminal are when recording, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the inner structure of the equipment of being about to is divided into different functional modules, to complete all or part of function described above.In addition, the embodiment of the method for the recording device that above-described embodiment provides and terminal and the way of recording belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (13)

1. a way of recording, is characterized in that, described method comprises:
Whether the voice messaging that detection collects is effective information;
If testing result, for being effective information, is recorded described voice messaging;
If testing result, for not being effective information, is not recorded described voice messaging.
2. method according to claim 1, is characterized in that, whether the voice messaging that described detection collects is effective information, comprising:
Whether the volume that detects described voice messaging reaches volume threshold;
If testing result is for reaching described volume threshold, determine that described voice messaging is effective information;
If testing result is not for reaching described volume threshold, determine that described voice messaging is not effective information.
3. method according to claim 2, is characterized in that, before whether the volume of the described voice messaging of described detection reaches volume threshold, described method also comprises:
Obtain the volume of the historical voice messaging gathering;
According to the volume getting, just upgrade described volume threshold.
4. method according to claim 3, is characterized in that, the volume that described basis gets is just upgraded described volume threshold, comprising:
By the volume that in the volume getting, volume is minimum, upgrade described volume threshold.
5. method according to claim 1, is characterized in that, whether the voice messaging that described detection collects is effective information, comprising:
By noise identification model, described voice messaging is carried out to degree of confidence detection;
The degree of confidence obtaining if detect, lower than predetermined threshold, determines that described voice messaging is effective information;
If detect the degree of confidence obtaining, be not less than described predetermined threshold, determine that described voice messaging is not effective information.
6. according to the arbitrary described method of claim 1 to 5, it is characterized in that, described method also comprises:
If testing result for not being effective information, is calculated and be take the last time voice messaging to be detected be moment of effective information accumulative total duration that is the finish time as initial time, current time;
In the position of recording the voice messaging of described initial time collection, insert event flag, described event flag is used to indicate and when playing recorded file to described position, plays the blank recording with described accumulative total duration, and after playing described blank recording, continues to play the content of described recorded file.
7. a recording device, is characterized in that, described device comprises:
Whether information detection module is effective information for detection of the voice messaging collecting;
The first object module, when being effective information, records described voice messaging for the testing result at described information detection module;
The second object module, when being not effective information, does not record described voice messaging for the testing result at described information detection module.
8. device according to claim 7, is characterized in that, described information detection module, comprising:
Whether volume detecting unit, reach volume threshold for detection of the volume of described voice messaging;
The first result unit, when reaching described volume threshold, determines that described voice messaging is effective information for the testing result in described volume detecting unit;
The second result unit, when not reaching described volume threshold, determines that described voice messaging is not effective information for the testing result in described volume detecting unit.
9. device according to claim 8, is characterized in that, described device also comprises:
Volume acquisition module, for obtaining the volume of the historical voice messaging gathering;
Threshold value update module, just upgrades described volume threshold for the volume getting according to described volume acquisition module.
10. device according to claim 9, is characterized in that,
Described threshold value update module, also upgrades described volume threshold for the minimum volume of volume volume by getting.
11. devices according to claim 7, is characterized in that, described information detection module, comprising:
Information detecting unit, for carrying out degree of confidence detection by noise identification model to described voice messaging;
The 3rd result unit, when detecting the degree of confidence obtain lower than predetermined threshold, determines that described voice messaging is effective information for the testing result in described information detecting unit;
The 4th result unit, while being not less than described predetermined threshold for the testing result in described information detecting unit for detecting the degree of confidence obtaining, determines that described voice messaging is not effective information.
12. according to the arbitrary described device of claim 7 to 11, it is characterized in that, described device also comprises:
Duration calculation module,, calculates and take the last time voice messaging to be detected be moment of effective information accumulative total duration that is the finish time as initial time, current time when being not effective information for the testing result at described information detection module;
Information flag module, for inserting event flag in the position of recording the voice messaging of described initial time collection, described event flag is used to indicate and when playing recorded file to described position, plays the blank recording with described accumulative total duration, and after playing described blank recording, continues to play the content of described recorded file.
13. 1 kinds of terminals, is characterized in that, it comprises the arbitrary described recording device of claim 7 to 12.
CN201310511709.3A 2013-10-25 2013-10-25 The way of recording, device and terminal Active CN103559907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310511709.3A CN103559907B (en) 2013-10-25 2013-10-25 The way of recording, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310511709.3A CN103559907B (en) 2013-10-25 2013-10-25 The way of recording, device and terminal

Publications (2)

Publication Number Publication Date
CN103559907A true CN103559907A (en) 2014-02-05
CN103559907B CN103559907B (en) 2016-06-08

Family

ID=50014132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310511709.3A Active CN103559907B (en) 2013-10-25 2013-10-25 The way of recording, device and terminal

Country Status (1)

Country Link
CN (1) CN103559907B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886236A (en) * 2014-03-17 2014-06-25 深圳市中兴移动通信有限公司 Acoustic control screen unlocking method and mobile terminal
CN104078076A (en) * 2014-06-13 2014-10-01 科大讯飞股份有限公司 Voice recording method and system
CN104157287A (en) * 2014-07-29 2014-11-19 广州视源电子科技股份有限公司 Audio processing method and device
CN104660772A (en) * 2015-02-25 2015-05-27 惠州Tcl移动通信有限公司 Call record sampling method and system based on mobile terminal
CN104902087A (en) * 2015-05-21 2015-09-09 深圳市万普拉斯科技有限公司 Processing method and device of call record
CN105427880A (en) * 2015-08-03 2016-03-23 汉柏科技有限公司 Voice recording system and voice recording method
CN108650538A (en) * 2018-03-30 2018-10-12 南昌航空大学 It is a kind of to record near field audio and far field video method and system simultaneously
CN108986783A (en) * 2018-06-21 2018-12-11 珠海金山网络游戏科技有限公司 It is a kind of it is three-dimensional dynamic catch in record and inhibit in real time the method and system of noise in unison
CN109859773A (en) * 2019-02-14 2019-06-07 北京儒博科技有限公司 A kind of method for recording of sound, device, storage medium and electronic equipment
CN111383662A (en) * 2020-03-18 2020-07-07 斑马网络技术有限公司 ECU alarm sound verification method and system
CN112151032A (en) * 2020-09-15 2020-12-29 济南雪景网络技术有限公司 Intelligent processing method for voice message
CN112687273A (en) * 2020-12-26 2021-04-20 科大讯飞股份有限公司 Voice transcription method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57158007A (en) * 1981-03-23 1982-09-29 Nf Kairo Sekkei Block:Kk Pcm recording and reproducing device
CN102376303A (en) * 2010-08-13 2012-03-14 国基电子(上海)有限公司 Sound recording device and method for processing and recording sound by utilizing same
CN102800324A (en) * 2012-07-30 2012-11-28 东莞宇龙通信科技有限公司 Audio processing system and method for mobile terminals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57158007A (en) * 1981-03-23 1982-09-29 Nf Kairo Sekkei Block:Kk Pcm recording and reproducing device
CN102376303A (en) * 2010-08-13 2012-03-14 国基电子(上海)有限公司 Sound recording device and method for processing and recording sound by utilizing same
CN102800324A (en) * 2012-07-30 2012-11-28 东莞宇龙通信科技有限公司 Audio processing system and method for mobile terminals

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886236A (en) * 2014-03-17 2014-06-25 深圳市中兴移动通信有限公司 Acoustic control screen unlocking method and mobile terminal
CN104078076B (en) * 2014-06-13 2017-04-05 科大讯飞股份有限公司 A kind of voice typing method and system
CN104078076A (en) * 2014-06-13 2014-10-01 科大讯飞股份有限公司 Voice recording method and system
CN104157287A (en) * 2014-07-29 2014-11-19 广州视源电子科技股份有限公司 Audio processing method and device
CN104660772A (en) * 2015-02-25 2015-05-27 惠州Tcl移动通信有限公司 Call record sampling method and system based on mobile terminal
CN104660772B (en) * 2015-02-25 2017-12-19 惠州Tcl移动通信有限公司 A kind of the calling record method of sampling and sampling system based on mobile terminal
CN104902087B (en) * 2015-05-21 2018-09-14 深圳市万普拉斯科技有限公司 The processing method and processing device of calling record
CN104902087A (en) * 2015-05-21 2015-09-09 深圳市万普拉斯科技有限公司 Processing method and device of call record
CN105427880A (en) * 2015-08-03 2016-03-23 汉柏科技有限公司 Voice recording system and voice recording method
CN108650538A (en) * 2018-03-30 2018-10-12 南昌航空大学 It is a kind of to record near field audio and far field video method and system simultaneously
CN108650538B (en) * 2018-03-30 2020-09-18 南昌航空大学 Method and system for simultaneously recording near-field audio and far-field video
CN108986783A (en) * 2018-06-21 2018-12-11 珠海金山网络游戏科技有限公司 It is a kind of it is three-dimensional dynamic catch in record and inhibit in real time the method and system of noise in unison
CN109859773A (en) * 2019-02-14 2019-06-07 北京儒博科技有限公司 A kind of method for recording of sound, device, storage medium and electronic equipment
CN111383662A (en) * 2020-03-18 2020-07-07 斑马网络技术有限公司 ECU alarm sound verification method and system
CN112151032A (en) * 2020-09-15 2020-12-29 济南雪景网络技术有限公司 Intelligent processing method for voice message
CN112687273A (en) * 2020-12-26 2021-04-20 科大讯飞股份有限公司 Voice transcription method and device
CN112687273B (en) * 2020-12-26 2024-04-16 科大讯飞股份有限公司 Voice transcription method and device

Also Published As

Publication number Publication date
CN103559907B (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN103559907A (en) Recording method, device and terminal
CN102395945B (en) Method, device and system for tracking user behavior in touch screen terminal
CN103871408B (en) Method and device for voice identification and electronic equipment
CN108337362A (en) Voice interactive method, device, equipment and storage medium
CN107256707B (en) Voice recognition method, system and terminal equipment
CN103336663B (en) A kind of method of data synchronization, device and terminal
CN109493849A (en) Voice awakening method, device and electronic equipment
CN104407834A (en) Message input method and device
CN104144252B (en) A kind of voice communication method and mobile terminal
CN103491488A (en) Echo cancellation method and device for microphone
CN104133652A (en) Audio playing control method and terminal
CN103688307A (en) Audio-signal-processing apparatus, imaging apparatus, audio-signal-processing method, program, and recording medium
CN108733341B (en) Voice interaction method and device
CN104991755A (en) Information processing method and electronic device
CN103152474A (en) Mobile terminal recording method and mobile terminal
CN107979790A (en) One kind call noise-reduction method, device, equipment and medium
CN104092809A (en) Communication sound recording method and recorded communication sound playing method and device
CN107086039A (en) A kind of acoustic signal processing method and device
CN111667843B (en) Voice wake-up method and system for terminal equipment, electronic equipment and storage medium
CN109686370A (en) The method and device of fighting landlord game is carried out based on voice control
CN103746835A (en) Data downloading method and apparatus
CN103685349A (en) Method for information processing and electronic equipment
CN109065017B (en) Voice data generation method and related device
CN111739515B (en) Speech recognition method, equipment, electronic equipment, server and related system
CN105791404A (en) Control method and device for controlled facility

Legal Events

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

Address after: 511446 Guangzhou City, Guangdong Province, Panyu District, South Village, Huambo Business District Wanda Plaza, block B1, floor 28

Patentee after: Guangzhou Huaduo Network Technology Co., Ltd.

Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08,

Patentee before: Guangzhou Huaduo Network Technology Co., Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140205

Assignee: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Contract record no.: X2021980000101

Denomination of invention: Recording method, apparatus and terminal

Granted publication date: 20160608

License type: Common License

Record date: 20210106