CN104902087B - The processing method and processing device of calling record - Google Patents
The processing method and processing device of calling record Download PDFInfo
- Publication number
- CN104902087B CN104902087B CN201510264367.9A CN201510264367A CN104902087B CN 104902087 B CN104902087 B CN 104902087B CN 201510264367 A CN201510264367 A CN 201510264367A CN 104902087 B CN104902087 B CN 104902087B
- Authority
- CN
- China
- Prior art keywords
- calling record
- recording
- time
- file
- state
- 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
Links
Abstract
The present invention relates to a kind of processing method of calling record and devices, wherein the method includes:Obtain calling record file;It obtains in the calling record file to the long recording time for prompt tone of conversing;Judge whether the long recording time is more than preset duration, if so, obtaining the time difference between long recording time and preset duration;It deletes in the calling record file and begins to pass through the recording substance that the time difference is enrolled from recording start point.The above method and device save storage resource.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of processing method and processing device of calling record.
Background technology
Voice communication apparatus usually all contains calling record function, in order to ensure the validity of call, to sound-recording function
Use become more and more frequently, user by open sound-recording function will converse each time generate calling record file, facilitate use
Family dialog context subsequently hard of hearing.
Traditional call recording method clicks record button when user dials, then can record since making a phone call to
Phone hang up during all sound, that is, the recording file generated includes call prompt tone (CRBT) and dialog context, and
User concerns that the dialog context in recording file, the recording file that traditional way of recording generates include excessive extra sound
Message ceases so that calling record file needs to consume excessive storage resource.
Invention content
Based on this, it is necessary in view of the above technical problems, provide a kind of processing for the calling record that can save storage resource
Method and device.
A kind of processing method of calling record, the method includes:
Obtain calling record file;
It obtains in the calling record file to the long recording time for prompt tone of conversing;
Judge whether the long recording time is more than preset duration, if so, obtaining between long recording time and preset duration
Time difference;
It deletes in the calling record file out of, recording start point begins to pass through that the time difference is enrolled recording
Hold.
Described delete in the recording file begins to pass through the time from recording start point in one of the embodiments,
The step of recording substance that difference is enrolled, including:
By the time point for starting to play in the corresponding reproduction time axis of calling record file labeled as broadcasting starting point;
The reproduction time axis is begun to pass through into the time point of time difference labeled as broadcasting terminal from starting point is played;
It shears and plays starting point in reproduction time axis and play period corresponding recording substance between terminal.
In one of the embodiments, before the step of acquisition calling record file, further include:
Calling record instruction is received, and obtains talking state;
It is instructed according to calling record and starts calling record;
It is to wait for when putting through state to the long recording time for prompt tone of conversing to record the talking state;
Stop calling record when talking state, which switches to, hangs up state, and generates corresponding calling record file.At it
In middle one embodiment, it is described record the talking state be wait for put through in state procedure to converse prompt tone long recording time
The step of, including:
Obtain the initial time stamp for starting calling record;
It obtains talking state and puts through timestamp by waiting for the state of putting through to be switched to when putting through state;
Elapsed time distance between timestamp and initial time stamp is put through in calculating, and the time gap is to be carried to call
Show the long recording time of sound.
The method further includes in one of the embodiments,:
When receiving the operational order that preset duration is adjusted, the editing interface of vision-control preset duration size.
A kind of processing unit of calling record, described device include:
File acquisition module, for obtaining calling record file;
Duration acquisition module, for obtaining in the calling record file to the long recording time for prompt tone of conversing;
Difference acquisition module, for judging whether the long recording time is more than preset duration, if so, obtaining long recording time
Time difference between preset duration;
Recording removing module, the time difference is begun to pass through for deleting in the calling record file from recording start point
The recording substance that value is enrolled.
The recording removing module includes in one of the embodiments,:
First mark module, for marking the time point played that starts in the corresponding reproduction time axis of calling record file
It is denoted as broadcasting starting point;
Second mark module, the time point for the reproduction time axis to be begun to pass through to time difference from broadcasting starting point mark
It is denoted as broadcasting terminal;
Content shear module plays starting point and plays period corresponding record between terminal for shearing in reproduction time axis
Sound content.
Described device further includes in one of the embodiments,:
Command reception module for receiving calling record instruction, and obtains talking state;
Recording starts module, starts calling record for being instructed according to calling record;
When duration logging modle for recording the talking state is recording to prompt tone of conversing when waiting for putting through state
It is long;
File generating module for stopping calling record when talking state switches to and hangs up state, and generates corresponding
Calling record file.
The duration logging modle includes in one of the embodiments,:
First acquisition module, for obtaining the initial time stamp for starting calling record;
Second acquisition module puts through the time for obtaining talking state by waiting for the state of putting through to be switched to when putting through state
Stamp;
Duration calculation module puts through elapsed time distance between timestamp and initial time stamp, when described for calculating
Between distance be to converse prompt tone long recording time.
Described device further includes in one of the embodiments,:
Interface display module, when for receiving the operational order that preset duration is adjusted, when vision-control is preset
The editing interface of long size.
The treating method and apparatus of above-mentioned calling record, can by calling record file to converse prompt tone recording in
Hold and carry out part deletion, realizes the purpose for reducing the extra acoustic information in calling record file about call prompt tone, due to
The file size of calling record file is reduced, therefore saves storage resource.
Description of the drawings
Fig. 1 is the flow diagram of the processing method of calling record in one embodiment;
Fig. 2 is the flow of the processing method of calling record before the step of obtaining calling record file in one embodiment
Schematic diagram;
Fig. 3 is the structural schematic diagram of the processing unit of calling record in one embodiment;
Fig. 4 is the structural schematic diagram of recording removing module in one embodiment;
Fig. 5 is the structural schematic diagram of the processing unit of calling record in another embodiment;
Fig. 6 is the structural schematic diagram of duration logging modle in one embodiment.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
As shown in Figure 1, in one embodiment, a kind of processing method of the calling record provided, this method includes as follows
Step:
Step 101, calling record file is obtained.
In the present embodiment, user is made a phone call using communication equipment (for example, mobile phone) and opens call before access failure
Sound-recording function, after end of conversation preserve recording obtain recording file.Include two parts content in calling record file, wherein one
Part has recorded call prompt tone, and another part has recorded dialog context.
Step 102, it obtains in calling record file to the long recording time for prompt tone of conversing.
Call prompt tone refers to after initiating call request to the server of telephone operator by dialing, in communication equipment
The sound of the waiting closing of the circuit played in receiver.For example, call prompt tone is CRBT sound.It records to call prompt tone
During record record length, which is long recording time.
Step 103, judge whether long recording time is more than preset duration.If so, 104 are entered step, if it is not, then terminating.
Longer to the record length for prompt tone of conversing, the extra acoustic information for including in calling record file is more.Storage
Extra acoustic information needs to occupy memory space.In order to reduce in calling record file the extra acoustic information for including, will record
Duration is compared with preset duration, if long recording time is more than preset duration, then it represents that has been enrolled in calling record file excessive
Call prompt tone, enter step 104.If long recording time is less than or equal to preset duration, then it represents that in calling record file not
Excessive call prompt tone is enrolled, any processing is not done to calling record file at this time.
Step 104, the time difference between long recording time and preset duration is obtained.
Step 105, it deletes in calling record file out of, recording start point begins to pass through that time difference is enrolled recording
Hold.
For example, long recording time is 13 seconds, preset duration is 5 seconds, then deletes in calling record file to prompt tone of conversing
Preceding recording in 8 seconds, recording in 5 seconds after reservation.It in one embodiment, can also be by the calling record file Jing Guo delete processing
Carry out compression processing, the further memory space for reducing calling record file.
In the present embodiment, the call prompt tone in calling record file is not deleted completely but remains part call and carries
Show sound.Due to can just be transitioned into broadcasting dialog context after having played call prompt tone in calling record file playing process, keep away
Exempted to play from the beginning just jump directly to dialog context play to user bring it is inadaptable (if without call prompt tone
User can not be a calling record file from the file for acoustically perceiving broadcasting of broadcasting), it improves and listens calling record file
User experience.
The processing method of above-mentioned calling record can will carry out the recording substance for prompt tone of conversing in calling record file
Part is deleted, and the purpose for reducing the extra acoustic information in calling record file about call prompt tone is realized, due to reducing
The file size of calling record file, therefore save storage resource.
In one embodiment, after step 105, record length and the call record of calling record file can also be obtained
The associated person information of the corresponding other side of sound file, using associated person information and record length as the calling record Jing Guo delete processing
The filename of file.Calling record file is arrived to facilitate user quickly to search and locate.For example, user be on April 2nd, 2012 with
The sound that Zhang San in address list records when conversing, then the file of calling record file is entitled " Zhang San 20120402 ".
In one embodiment, step 105, time difference is begun to pass through from recording start point in deletion recording file to be recorded
The recording substance taken includes:By the time point for starting to play in the corresponding reproduction time axis of calling record file labeled as broadcasting
Starting point;Reproduction time axis is begun to pass through into the time point of time difference labeled as broadcasting terminal from starting point is played;When shearing plays
Starting point is played in countershaft and plays period corresponding recording substance between terminal.
As shown in Fig. 2, in one embodiment, in step 101, before obtaining calling record file, this method further includes:
Step 201, calling record instruction is received, and obtains talking state.
Step 202, it is instructed according to calling record and starts calling record.
After communication equipment enters talking state, receives user and touch the calling record instruction triggered after record button, into one
Step, calling record is proceeded by according to calling record instruction unpack sound-recording function.Talking state includes after dialing to electricity
State is put through in waiting before words are connected, and state is put through and hanging up when phone is hung up before being hung up to phone after closing of the circuit
State.
Step 203, record talking state is in waiting for when putting through state to the long recording time for prompt tone of conversing.
State procedure is put through in waiting, the sound played in communication equipment receiver is call prompt tone, in order to determine needs
The call prompt tone of any part in calling record file is deleted, the long recording time to prompt tone of conversing is recorded.
In one embodiment, step 203, record talking state is to wait for putting through in state procedure to prompt tone of conversing
Long recording time includes:Obtain the initial time stamp for starting calling record;Talking state is obtained to be dialled by waiting for the state of putting through to be switched to
Timestamp is put through when logical state;Elapsed time distance between timestamp and initial time stamp is put through in calculating, and time gap is
For the long recording time to prompt tone of conversing.
Step 204, stop calling record when talking state, which switches to, hangs up state, and generate corresponding calling record text
Part.
If talking state indicates that phone has been hung before not putting through by waiting for the state of putting through to be directly switch into the state of hanging up
It is disconnected, due to disqualifying dialog context, the sound enrolled is not preserved.If talking state is put through by waiting for the state of putting through to switch to
State, then the state of hanging up is switched to by putting through state, indicate that user has been completed primary normal call experience, further
, preserve the calling record file obtained after calling record.
In one embodiment, the processing method of calling record further includes:Receive the behaviour that preset duration is adjusted
When instructing, the editing interface of vision-control preset duration size.
In the present embodiment, the button of preset duration is edited by click, triggering refers to the operation that preset duration is adjusted
It enables, the editing interface that preset duration is adjusted in pop-up according to operational order.User passes through regulation button in editing interface
Preset duration can freely be adjusted.Preset duration can be adjusted in advance before not carrying out calling record, it can also be
It is adjusted again after the completion of calling record.
As shown in figure 3, in one embodiment, a kind of processing unit of the calling record provided, the device includes as follows
Module:
File acquisition module 34, for obtaining calling record file.
Duration acquisition module 35, for obtaining in calling record file to the long recording time for prompt tone of conversing.
Difference acquisition module 36, for judge long recording time whether be more than preset duration, if so, obtain long recording time with
Time difference between preset duration.
Content removing module 37 begins to pass through time difference from recording start point in calling record file and is recorded for deleting
The recording substance taken.
As shown in figure 4, in one embodiment, recording removing module 37 includes:
First mark module 370, for by the corresponding reproduction time axis of calling record file start play time
Point is labeled as broadcasting starting point.
Second mark module 371, the time point for reproduction time axis to be begun to pass through to time difference from broadcasting starting point mark
It is denoted as broadcasting terminal.
Content shear module 372, it is corresponding for the period between shearing broadcasting starting point in reproduction time axis and playing terminal
Recording substance.
As shown in figure 5, in one embodiment, the processing unit of calling record further includes:
Command reception module 30 for receiving calling record instruction, and obtains talking state.
Recording starts module 31, starts calling record for being instructed according to calling record;
When duration logging modle 32 for recording talking state is recording to prompt tone of conversing when waiting for putting through state
It is long;
File generating module 33 for stopping calling record when talking state switches to and hangs up state, and generates correspondence
Calling record file.
As shown in fig. 6, in one embodiment, duration logging modle 32 includes:
First acquisition module 320, for obtaining the initial time stamp for starting calling record.
Second acquisition module 321, for obtaining talking state by waiting for the state of putting through to be switched to putting through when putting through state
Timestamp.
Duration calculation module 322 puts through elapsed time distance between timestamp and initial time stamp, time for calculating
Distance is the long recording time to prompt tone of conversing.
In one embodiment, the processing unit of calling record further includes:Interface display module, for receiving to default
When the operational order that duration is adjusted, the editing interface of vision-control preset duration size.
Each technical characteristic of embodiment described above can be combined arbitrarily, to keep description succinct, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, it is all considered to be the range of this specification record.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of processing method of calling record, the method includes:
Calling record file is obtained, the calling record file is that user is made a phone call using communication equipment and before access failure
Calling record function is opened, the recording file that recording obtains is preserved after end of conversation, is carried comprising call in the recording file
Show that sound, the call prompt tone are after initiating call request to the server of telephone operator by dialing, in communication equipment
The sound of the waiting closing of the circuit played in receiver;
It obtains in the calling record file to the long recording time for prompt tone of conversing;
Judge whether the long recording time is more than preset duration, if so, obtaining the time between long recording time and preset duration
Difference;
It deletes in the calling record file and begins to pass through the recording substance that the time difference is enrolled from recording start point.
2. according to the method described in claim 1, it is characterized in that, described delete is opened in the recording file from recording start point
The step of beginning to pass through the recording substance that the time difference is enrolled, including:
By the time point for starting to play in the corresponding reproduction time axis of calling record file labeled as broadcasting starting point;
The reproduction time axis is begun to pass through into the time point of time difference labeled as broadcasting terminal from starting point is played;
It shears and plays starting point in reproduction time axis and play period corresponding recording substance between terminal.
3. according to the method described in claim 1, it is characterized in that, before the step of the acquisition calling record file, also wrap
It includes:
Calling record instruction is received, and obtains talking state;
It is instructed according to calling record and starts calling record;
It is to wait for when putting through state to the long recording time for prompt tone of conversing to record the talking state;
Stop calling record when talking state, which switches to, hangs up state, and generates corresponding calling record file.
4. according to the method described in claim 3, it is characterized in that, it is described record the talking state be wait for put through state mistake
The step of in journey to the long recording time for prompt tone of conversing, including:
Obtain the initial time stamp for starting calling record;
It obtains talking state and puts through timestamp by waiting for the state of putting through to be switched to when putting through state;
Elapsed time distance between timestamp and initial time stamp is put through in calculating, and the time gap is to prompt tone of conversing
Long recording time.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
When receiving the operational order that preset duration is adjusted, the editing interface of vision-control preset duration size.
6. a kind of processing unit of calling record, which is characterized in that described device includes:
File acquisition module, for obtaining calling record file, the calling record file is that user is dialed using communication equipment
Phone simultaneously opens calling record function before access failure, and the recording file that recording obtains, the record are preserved after end of conversation
Comprising call prompt tone in sound file, the call prompt tone is to initiate call to the server of telephone operator by dialing to ask
After asking, the sound of the waiting closing of the circuit played in the receiver of communication equipment;
Duration acquisition module, for obtaining in the calling record file to the long recording time for prompt tone of conversing;
Difference acquisition module, for judging whether the long recording time is more than preset duration, if so, obtain long recording time with it is pre-
If the time difference between duration;
Recording removing module, the time difference institute is begun to pass through for deleting in the calling record file from recording start point
The recording substance of admission.
7. device according to claim 6, which is characterized in that the recording removing module includes:
First mark module, for the time point for starting to play in the corresponding reproduction time axis of calling record file to be labeled as
Play starting point;
Second mark module, the time point for the reproduction time axis to be begun to pass through to time difference from broadcasting starting point are labeled as
Play terminal;
Content shear module plays starting point and plays between terminal in period corresponding recording for shearing in reproduction time axis
Hold.
8. device according to claim 6, which is characterized in that described device further includes:
Command reception module for receiving calling record instruction, and obtains talking state;
Recording starts module, starts calling record for being instructed according to calling record;
Duration logging modle is long recording time when waiting for putting through state to prompt tone of conversing for recording the talking state;
File generating module for stopping calling record when talking state switches to and hangs up state, and generates corresponding call
Recording file.
9. device according to claim 8, which is characterized in that the duration logging modle includes:
First acquisition module, for obtaining the initial time stamp for starting calling record;
Second acquisition module puts through timestamp for obtaining talking state by waiting for the state of putting through to be switched to when putting through state;
Duration calculation module puts through elapsed time distance between timestamp and initial time stamp, the time interval for calculating
From the long recording time as to prompt tone of conversing.
10. device according to claim 6, which is characterized in that described device further includes:
Interface display module, when for receiving the operational order that preset duration is adjusted, vision-control preset duration is big
Small editing interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510264367.9A CN104902087B (en) | 2015-05-21 | 2015-05-21 | The processing method and processing device of calling record |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510264367.9A CN104902087B (en) | 2015-05-21 | 2015-05-21 | The processing method and processing device of calling record |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104902087A CN104902087A (en) | 2015-09-09 |
CN104902087B true CN104902087B (en) | 2018-09-14 |
Family
ID=54034478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510264367.9A Active CN104902087B (en) | 2015-05-21 | 2015-05-21 | The processing method and processing device of calling record |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104902087B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657544A (en) * | 2016-10-24 | 2017-05-10 | 广东欧珀移动通信有限公司 | Incoming call recording method and terminal equipment |
CN111933176B (en) * | 2020-09-22 | 2020-12-22 | 成都启英泰伦科技有限公司 | Method and device for positioning voice contents in batches |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101277332A (en) * | 2008-04-17 | 2008-10-01 | 飞图科技(北京)有限公司 | Function of automatically sound-recording call of nominator |
CN103559907A (en) * | 2013-10-25 | 2014-02-05 | 广州华多网络科技有限公司 | Recording method, device and terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07161097A (en) * | 1993-12-02 | 1995-06-23 | Canon Inc | Recording and reproducing device |
CN1341931A (en) * | 2001-08-22 | 2002-03-27 | 吴忆韩 | Selective recording method and its equipment |
JP3933066B2 (en) * | 2003-03-11 | 2007-06-20 | ブラザー工業株式会社 | Telephone terminal and recording / reproducing program |
CN104157301A (en) * | 2014-07-25 | 2014-11-19 | 广州三星通信技术研究有限公司 | Method, device and terminal deleting voice information blank segment |
-
2015
- 2015-05-21 CN CN201510264367.9A patent/CN104902087B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101277332A (en) * | 2008-04-17 | 2008-10-01 | 飞图科技(北京)有限公司 | Function of automatically sound-recording call of nominator |
CN103559907A (en) * | 2013-10-25 | 2014-02-05 | 广州华多网络科技有限公司 | Recording method, device and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104902087A (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2503765B1 (en) | Method and terminal for leaving video messages | |
EP3509281A1 (en) | Method and system for automatically saving unknown number in mobile phone | |
US20130018654A1 (en) | Method and apparatus for enabling playback of ad hoc conversations | |
US20150319309A1 (en) | Phone call playback with intelligent notification | |
CN107295174B (en) | Method, device and terminal for recording call content | |
CN101848277A (en) | Mobile terminal and method for storing conversation contents in real time | |
CN102572089A (en) | Mobile terminal and method for changing prompt tone of mobile terminal | |
CN103024129A (en) | Method, device and mobile terminal for call recording | |
WO2011023075A1 (en) | Terminal address book management method and terminal device | |
WO2014166230A1 (en) | Automatic recording method, apparatus, and mobile terminal | |
CN103795834A (en) | Recording method capable of uploading conversation recording file of smart phone and dedicated recording apparatus | |
CN104902087B (en) | The processing method and processing device of calling record | |
CN102387236A (en) | Telephone receiving method of and terminal equipment | |
CN105007364B (en) | Audio communication method and voice call device | |
WO2017101300A1 (en) | Calling method and device, and terminal | |
WO2011150885A2 (en) | Method and device for managing voice message | |
WO2015014174A1 (en) | Ring-back playing method and apparatus, and ring-back service system | |
CN104333641B (en) | Call method and device | |
CN103002107A (en) | Method, device and terminal for processing incoming call information | |
CN106101367B (en) | Recording processing method and system | |
WO2014190816A1 (en) | Method and residential gateway for realizing voice message function | |
CN105072243A (en) | Incoming call prompting method and apparatus | |
WO2015157022A1 (en) | User experiences during call handovers on a hybrid telecommunications network | |
CN104158987B (en) | A kind of method for lifting artificial telephone traffic system service quality | |
WO2016135980A1 (en) | Communications terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |