CN107707721A - The way of recording, device, storage medium and the mobile terminal of mobile terminal - Google Patents

The way of recording, device, storage medium and the mobile terminal of mobile terminal Download PDF

Info

Publication number
CN107707721A
CN107707721A CN201711079286.7A CN201711079286A CN107707721A CN 107707721 A CN107707721 A CN 107707721A CN 201711079286 A CN201711079286 A CN 201711079286A CN 107707721 A CN107707721 A CN 107707721A
Authority
CN
China
Prior art keywords
mobile terminal
recording
default
current
party application
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
CN201711079286.7A
Other languages
Chinese (zh)
Other versions
CN107707721B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711079286.7A priority Critical patent/CN107707721B/en
Publication of CN107707721A publication Critical patent/CN107707721A/en
Application granted granted Critical
Publication of CN107707721B publication Critical patent/CN107707721B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/64Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
    • H04M1/65Recording arrangements for recording a message from the calling party
    • H04M1/656Recording arrangements for recording a message from the calling party for recording conversations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present application discloses the way of recording, device, storage medium and the mobile terminal of mobile terminal.This method includes:Monitor the value change of the preset audio parameter in mobile terminal;When the value of preset audio parameter is changed into preset value, current third party is determined using talking state is entered, talking state includes voice call state and video call state;If detecting, default sound-recording function is in enabled state, and the dialog context of current third party application is recorded.The embodiment of the present application is by using above-mentioned technical proposal, it can rapidly and accurately identify whether current third party application enters talking state in mobile terminal by way of preset audio parameter value variation monitoring, and after talking state is entered, the dialog context of third-party application can be recorded, enrich the sound-recording function of mobile terminal.

Description

The way of recording, device, storage medium and the mobile terminal of mobile terminal
Technical field
The invention relates to recording technology field, more particularly to the way of recording of mobile terminal, device, storage medium And mobile terminal.
Background technology
In order to meet the demands such as voice call, video calling and recording of the user in life and work, Duo Shuoyi Dynamic terminal all possesses call or sound-recording function, such as mobile phone and tablet personal computer.
Existing sound-recording function typically realizes that the sound of admission is mobile terminal local environment by integrated microphone Sound.User can only enroll user's one's voice in speech when making a phone call, by microphone, can not enroll the sound that other side speaks Sound.By installing recording application program, the achievable sound for enrolling the both sides to make a phone call in the terminal in correlation technique.So And the recording scheme of existing mobile terminal stills need to improve.
The content of the invention
The embodiment of the present application provides a kind of way of recording of mobile terminal, device, storage medium and mobile terminal, can be with excellent Change the recording scheme based on mobile terminal.
In a first aspect, the embodiment of the present application provides a kind of way of recording of mobile terminal, including:
Monitor the value change of the preset audio parameter in mobile terminal;
When the value of the preset audio parameter is changed into preset value, determines that current third party is applied and enter talking state, The talking state includes voice call state and video call state;
If detecting, default sound-recording function is in enabled state, and the dialog context of current third party application is carried out Recording.
Second aspect, the embodiment of the present application provide a kind of recording device of mobile terminal, including:
Parameter value monitors module, and the value for monitoring the preset audio parameter in mobile terminal changes;
Talking state determining module, for when the value of the preset audio parameter is changed into preset value, it is determined that current For tripartite using talking state is entered, the talking state includes voice call state and video call state;
Calling record module, for detecting that default sound-recording function is in enabled state, then to the current third party The dialog context of application is recorded.
The third aspect, the embodiment of the present application provide a kind of computer-readable recording medium, are stored thereon with computer journey Sequence, the way of recording of the mobile terminal as described in the embodiment of the present application is realized when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of mobile terminal, including memory, processor and are stored in storage On device and it can be realized in the computer program of processor operation described in the computing device during computer program as the application is real Apply the way of recording of the mobile terminal described in example.
The recording scheme of the mobile terminal provided in the embodiment of the present application, monitor the preset audio parameter in mobile terminal Value changes, and when being changed into preset value, current third party is determined using talking state is entered, if detecting at default sound-recording function In enabled state, then the dialog context of current third party application is recorded.By using above-mentioned technical proposal, pass through monitoring The mode of preset audio parameter value variation can rapidly and accurately identify whether current third party application enters in mobile terminal Talking state, and after talking state is entered, the dialog context of third-party application can be recorded, enrich the record of mobile terminal Sound function.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the way of recording for mobile terminal that the embodiment of the present application provides;
Fig. 2 is the schematic flow sheet of the way of recording for another mobile terminal that the embodiment of the present application provides;
Fig. 3 is the schematic flow sheet of the way of recording for another mobile terminal that the embodiment of the present application provides;
Fig. 4 is a kind of structured flowchart of the recording device for mobile terminal that the embodiment of the present application provides;
Fig. 5 is a kind of structural representation for mobile terminal that the embodiment of the present application provides;
Fig. 6 is the structural representation for another mobile terminal that the embodiment of the present application provides.
Embodiment
The technical scheme of the application is further illustrated below in conjunction with the accompanying drawings and by embodiment.It is appreciated that It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.Further need exist for illustrating , for the ease of description, the part related to the application rather than entire infrastructure are illustrate only in accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
Fig. 1 is a kind of schematic flow sheet of the way of recording for mobile terminal that the embodiment of the present application provides, and this method can be with Performed by the recording device of mobile terminal, wherein the device can be realized by software and/or hardware, can typically be integrated in mobile terminal In.As shown in figure 1, this method includes:
Step 101, monitor mobile terminal in preset audio parameter value change.
Exemplary, the mobile terminal in the embodiment of the present application may include mobile phone, tablet personal computer and media player etc. Mobile device.
People are when making a phone call, if the air time is longer or caller's memory is poor, then will easily lose Forget dialog context, and the mode recorded when making a phone call is simultaneously inconvenient, therefore, the system of some mobile terminals provides phone record Sound function, when user calls, the dialog context of both call sides can be recorded, facilitate user after terminating to converse Listen to.At present, the third party application in mobile terminal is increasingly abundanter, many third-party applications, such as wechat, QQ and facebook (facebook) third party application such as, all voice call or video call function, this talking mode is supported to pass through net Network communication mode is realized, it is not necessary to is spent telephone charge, can be saved call cost, therefore, increasing user likes selecting Third party application is conversed.However, when being conversed using third party application, equally it is faced with and makes a phone call The problem of similar, and mobile terminal and the sound-recording function conversed for third-party application can not be realized at present.
In general, audio system is included in mobile terminal system, third party application needs when realizing call function The multimedia interface of audio system is called, can be by judging whether third-party application calls multimedia in the embodiment of the present application Method corresponding to interface determines whether third-party application is in talking state.The value of preset audio parameter in the application can For characterizing whether method corresponding to multimedia interface is called, if called, the value of preset audio parameter can become Change.In the embodiment of the present application, the value change of preset monitored audio frequency parameter, and then judge whether third-party application enters call shape State.
In the embodiment of the present application, preset audio parameter can be because of different and different, this Shen for the operating system that mobile terminal loads It please be not specifically limited.By taking Android Android operation system as an example, preset audio parameter can be audio mode (audio Mode, also known as audio status).
Step 102, when the value of the preset audio parameter is changed into preset value, determine current third party apply enter it is logical Speech phase.
Wherein, the talking state includes voice call state and video call state.
Optionally, by taking Android system as an example, preset audio parameter is audio mode, and preset value can be communication pattern (MODE_IN_COMMUNICATION), and when user dials the phone of system, audio mode can be arranged to telephony mode (MODE_IN_CALL)。
Exemplary, when the value for detecting audio mode is changed into MODE_IN_COMMUNICATION, it is believed that deposit Enter talking state in third-party application, that is, determine that current third party is applied and enter talking state.
If step 103, detecting that default sound-recording function is in enabled state, the call to current third party application Content is recorded.
Exemplary, triggering the enabled mode of default sound-recording function has a lot, can be corresponding with the recording demand of user, , can when the running status for detecting the running status of mobile terminal and/or current third party application meets default recording demand The default sound-recording function of triggering is opened, then presets sound-recording function and enter enabled state.For example, if user wishes to answer all third parties With dialog context of the program in voice call and video call process by under record, then default sound-recording function can be at normally opened State, when it is determined that current third party is using talking state is entered, you can start to enter the dialog context of current third party application Row recording.And for example, can also according to the electricity of mobile terminal whether sufficient or memory space whether abundance is enabled pre- to decide whether If sound-recording function, as enabled default sound-recording function when electricity abundance and memory space abundance.For another example, can also be according to current third party Using whether being the application that is pre-selected of user to determine whether enabled default sound-recording function, as wechat has been pre-selected in user, So if current third party is using being wechat, default sound-recording function is enabled.Example from above automatically determines whether for mobile terminal Enabled default sound-recording function, and in order to take into account the demand of user, can also be according to the enabled default sound-recording function of the active operation of user. For example, it is determined that current third party is applied after entering talking state, mobile terminal can enter recording SBR, when detecting use When record button is triggered at family, default sound-recording function is enabled, that is, detects that default sound-recording function is in enabled state, start to record Sound.
Exemplary, the recording in the embodiment of the present application can call the recording of mediarecord interfaces, or Call the recording of audiorecord interfaces.Wherein, the recording file for calling mediarecord interfaces to record to obtain is through overvoltage Contracting and the file of coding, the recording file for calling audiorecord interfaces to record to obtain is original pulse code modulation The file of (Pulse Code Modulation, PCM) data.
The way of recording for the mobile terminal that the embodiment of the present application provides, monitor taking for the preset audio parameter in mobile terminal Value changes, when being changed into preset value, current third party are determined using talking state is entered, default sound-recording function is in if detecting Enabled state, then the dialog context of current third party application is recorded.By using above-mentioned technical proposal, moved by monitoring It is logical can rapidly and accurately to identify whether current third party application enters for the mode of preset audio parameter value variation in dynamic terminal Speech phase, and after talking state is entered, the dialog context of third-party application can be recorded, enrich the recording of mobile terminal Function.
In certain embodiments, when the value for listening to preset audio parameter is changed into other values from preset value, can stop Recording.For example, when if audio mode value is no longer MODE_IN_COMMUNICATION, such as become MODE_IN_ During CALL or MODE_NORMAL, illustrate that the call of third-party application has terminated, can stop recording.In addition, also can be by with householder It is dynamic to terminate recording, when such as detecting that user triggers recording stop button, even if the call of third-party application does not terminate, it can also stop Only record.
Optionally, after stopping recording, name automatically can be carried out to recording data and (such as with partner title and/or is led to Talk about time name) and preserve, it also can voluntarily be named and be saved under the path of user's selection by user.
In certain embodiments, it is described to detect that default sound-recording function is in enabled state, including:Judge described current Whether tripartite's application is applied in list in default, if being in, it is determined that detect that default sound-recording function is in enabled state.This Sample, which is set, to be advantageous in that, can selectively realize automatic recording according to the identity of third-party application, is actively touched without user Hair recording, user is avoided to miss recording substance because forgetting triggering recording.Optionally, can be according to the default application of user's operation setting List, for example, when default application name sets up the event of putting and is triggered, there is provided what is loaded in mobile terminal possesses the of call function The list of tripartite's application (is such as shown) to user on screen, and check box is set for each third-party application, when user wants in fact During the calling record function of some existing application, when choosing check box corresponding to the application, the application is added default application by system In list.
Further, it is described to judge whether the current third party application is applied in list in default, including:Obtain and adjust The storehouse of method to set up corresponding to the preset audio parameter;Identify the bag name of the application program included in the storehouse;Sentence Whether application name corresponding to the bag name of breaking, which is contained in preset, is applied in list, if, it is determined that the described current 3rd Fang Yingyong is in default and applied in list.So setting is advantageous in that, can rapidly and accurately determine current third party application Identity, applied for judging whether it is in default in list.Exemplary, third-party application presets sound when realizing call Method to set up can be called corresponding to frequency parameter, and call the bag name that third-party application is included in the storehouse of the method to set up, root The identity of current third party application is determined according to the bag name.
It is in certain embodiments, described to detect that default sound-recording function is in enabled state, it may include:Judge described current Whether the partner in third-party application is default contact person, if default contact person, it is determined that detects default recording work( Enabled state can be in.So setting is advantageous in that, can selectively realize automatic recording according to the identity of partner, Without user's actively triggering recording, user is avoided to miss recording substance because forgetting triggering recording.Optionally, mobile terminal can be pre- The access rights of contacts list in third-party application are first opened, contact person is preset according to user's operation setting, for example, when default When contact person sets the event to be triggered, there is provided what is loaded in mobile terminal possesses the contact person of each third-party application of call function List (is such as shown) to user on screen, check box is set for each contact person, when user wants to realize some contact person's During calling record function, when choosing check box corresponding to the contact person, the contact person is arranged to default contact person by system, and is remembered Record identity information corresponding to the contact person (such as title and/or head portrait).It is different in order to strengthen the flexibility that default contact person is set Third-party application can be set respectively.For example, active user is mounted with wechat and QQ in the mobile terminal of oneself, active user's Good friend Li Ming entitled in the contacts list of wechat " tomorrow ", entitled in QQ contacts list " Sun-moon Lake ", and User may be selected that default contact person will be arranged to " tomorrow ", without " Sun-moon Lake " is arranged into default contact person, then Ji Keshi For same conversation object, recording can selectively be realized according to the difference that current third party is applied.It is exemplary , it is determined that current third party apply enter talking state after, from third-party application obtain partner identity information (such as name Title and/or head portrait), determine whether partner is default contact person according to the identity information.
Optionally, it is described to detect that default sound-recording function is in enabled state, including:Judge the current third party application Whether applied in default in list, if being in, judge whether the partner in the current third party application is default Contact person, if default contact person, it is determined that detect that default sound-recording function is in enabled state.The benefit so set exists In can more targetedly realize automatic recording according to the identity of third-party application and the identity of partner.
In certain embodiments, whether the partner judged in the current third party application is default contact People, including:Obtain the call voice data of preset duration;Identify the voiceprint in the call voice data;Described in judgement Whether comprising the voiceprint matched with default contact person in voiceprint, if comprising, it is determined that the current third party application In partner be default contact person.So setting is advantageous in that, without obtain third-party application contacts list and The reading authority of the identity information of current talking other side, it also can determine that whether current partner is that user needs to be recorded Contact person, reduce and interacted with third-party application, the raising stability of a system and security.Exemplary, preset duration can be certainly By setting, such as 10 seconds.It may include vocal print feature in voiceprint.Vocal print is the carrying verbal information that electricity consumption acoustic instrument is shown Sound wave spectrum.A complicated physiology physical process between Body Languages maincenter and vocal organs during the generation of human language, People uses phonatory organ to include tongue, larynx, lung, nasal cavity etc. in speech, because everyone sound of the wind organ is in size and shape It is different in state, so, mutual voiceprint map can also have certain difference.Vocal print feature is vocal print possessed feature Parameter, is so that the quantifiable parameter of vocal print, and different vocal print features can distinguish different people voice.Optionally, may be used Voiceprint template corresponding to default contact person is prestored in the terminal, by the voiceprint recognized and voiceprint Template is contrasted, if matching degree reaches preset matching degree threshold value, it is default contact person that current partner, which can be explained,.
In certain embodiments, may also include:If detecting, the talking state is video call state, the judgement Whether the partner in the current third party application is default contact person, including:Obtain the video pictures of partner;Know Facial image in not described video pictures;Judge whether the facial image matches with default contact person, if matching, it is determined that Partner in the current third party application is default contact person.It is similar with above-mentioned Application on Voiceprint Recognition scheme, so set It is advantageous in that, without obtaining the reading authority of the contacts list of third-party application and the identity information of current talking other side, Also it can determine that whether current partner is that user needs the contact person that is recorded, reduce and interacted with third-party application, The stability of a system and security are improved, and recognition speed is fast, and accuracy rate is high.Optionally, can prestore in the terminal Facial image template (selects the photo of default contact person such as in photograph album, extracts the face in photo corresponding to default contact person Image is as facial image template), the facial image recognized and facial image template are contrasted, if similarity degree degree reaches To default similarity threshold, then the facial image recognized can be explained and matched with default contact person.
Optionally, in order to ensure the integrality of the recording substance of default contact person, it is determined that current third party applies entrance After talking state, you can start to enroll dialog context and cached, however, it is determined that partner is to preset contact person, then Continue to record, and the recording data of caching and the data for continuing to record are merged into the recording data of this dialog context;If really It is not default contact person to determine partner, then stops recording, and delete the recording data of caching.
The schematic flow sheet of the way of recording for another mobile terminal that Fig. 2 provides for the embodiment of the present application, this method bag Include following steps:
Step 201, monitor mobile terminal in preset audio parameter value change.
Step 202, when the value of preset audio parameter is changed into preset value, determine current third party apply enter call shape State.
Wherein, the talking state includes voice call state and video call state.
Step 203, obtain the storehouse for calling method to set up corresponding to the preset audio parameter.
The bag name of the application program included in step 204, the identification storehouse.
Step 205, judge application name corresponding to bag name whether be contained in it is default apply in list, if so, then holding Row step 206;Otherwise, flow is terminated.
Step 206, the dialog context to current third party application are recorded.
Step 207, judge whether the value of preset audio parameter is changed into other values, if so, then performing step 208;Otherwise, Return and perform step 206.
Step 208, stop recording, and recording data is stored.
The embodiment of the present application can be rapidly and accurately by way of preset audio parameter value variation in mobile terminal monitoring Identify whether current third party application enters talking state, and after talking state is entered, current third party should if detecting With wanting to realize the application of automatic recording for user, then the dialog context of the third-party application is recorded, enrich it is mobile eventually The sound-recording function at end.
Exemplary, specific code is realized in a kind of Android system presented below:
Transmission broadcast described above can be that system sends broadcast to recording module (or recording is applied), and then this is wide Broadcast and carry parameter android.media.OPPO_VOIP_EXTRA (can be regarded as flag bit flag), and Android.media.OPPO_VOIP_EXTRA_STRING, recording application can detect this broadcast, if detecting ginseng Number android.media.OPPO_VOIP_EXTRA is 1, has been known that third-party application is being conversed, can record, if detection It is 0 to this parameter, that is known that third-party application terminates call, stops recording, so as to reach admission third-party application The purpose of dialog context.Recording can also detect this ginseng of android.media.OPPO_VOIP_EXTRA_STRING simultaneously Several value, it is possible to know which is applied and conversed, it is possible to realize the recording for distinguishing different application.
Exemplary, the value for monitoring the audio mode in mobile terminal changes, when audio mode value is changed into During MODE_IN_COMMUNICATION, determine that flag value using talking state is entered, is arranged to 1 and taken by current third party Band is transmitted in broadcast, so that recording application receives broadcast, by recording, whether the default sound-recording function of application detection is in Enabled state, if being in, the dialog context of current third party application is recorded using recording application.Continue to monitor movement The value change of audio mode in terminal, when audio mode value is changed into MODE_IN_CALL or MODE_NORMAL When, determine that current third party application terminates to converse, flag value is arranged to 0 and be carried in broadcast be transmitted, so that record Sound application, which receives, to be broadcasted and stops recording.
The schematic flow sheet of the way of recording for another mobile terminal that Fig. 3 provides for the embodiment of the present application, this method bag Include:
Step 301, monitor mobile terminal in preset audio parameter value change.
Step 302, when the value of preset audio parameter is changed into preset value, determine current third party apply enter call shape State.
Wherein, the talking state includes voice call state and video call state.
Step 303, judge whether current third party application is applied in list in default, if so, then performing step 304; Otherwise, flow is terminated.
Step 304, judge whether talking state is video call state, if so, then performing step 305;Otherwise, step is performed Rapid 307.
Step 305, the video pictures for obtaining partner, identify the facial image in video pictures.
Step 306, judge whether facial image matches with default contact person, if so, then performing step 309;Otherwise, terminate Flow.
Step 307, the call voice data for obtaining preset duration, identify the voiceprint in call voice data.
Step 308, judge whether comprising the voiceprint matched with default contact person in voiceprint, if so, then performing Step 309;Otherwise, flow is terminated.
Step 309, the dialog context to current third party application are recorded.
Step 310, judge whether the value of preset audio parameter is changed into other values, if so, then performing step 311;Otherwise, Return and perform step 309.
Step 311, stop recording, and recording data is stored.
The embodiment of the present application can be rapidly and accurately by way of preset audio parameter value variation in mobile terminal monitoring Identify whether current third party application enters talking state, and after talking state is entered, detect the identity of third-party application And whether partner meets that recording requires, when meeting, the dialog context of the third-party application is recorded, and enriches and moves The sound-recording function of dynamic terminal.
Fig. 4 is a kind of structured flowchart of the recording device for mobile terminal that the embodiment of the present application provides, and the device can be by soft Part and/or hardware are realized, are typically integrated in mobile terminal, can be by holding the way of recording of mobile terminal come to third-party application The dialog context of program is recorded.As shown in figure 4, the device includes:
Parameter value monitors module 401, and the value for monitoring the preset audio parameter in mobile terminal changes;
Talking state determining module 402, for when the value of the preset audio parameter is changed into preset value, it is determined that currently Third-party application enters talking state, and the talking state includes voice call state and video call state;
Calling record module 403, for detecting that default sound-recording function is in enabled state, then to the described current 3rd Fang Yingyong dialog context is recorded.
The recording device of the mobile terminal provided in the embodiment of the present application, monitor the preset audio parameter in mobile terminal Value changes, and when being changed into preset value, current third party is determined using talking state is entered, if detecting at default sound-recording function In enabled state, then the dialog context of current third party application is recorded.By using above-mentioned technical proposal, pass through monitoring The mode of preset audio parameter value variation can rapidly and accurately identify whether current third party application enters in mobile terminal Talking state, and after talking state is entered, the dialog context of third-party application can be recorded, enrich the record of mobile terminal Sound function.
Optionally, it is described to detect that default sound-recording function is in enabled state, including:
Judge whether the current third party application is applied in list in default, if being in, it is determined that detect default Sound-recording function is in enabled state.
Optionally, it is described to judge whether the current third party application is applied in list in default, including:
Obtain the storehouse for calling method to set up corresponding to the preset audio parameter;
Identify the bag name of the application program included in the storehouse;
Judge whether application name corresponding to the bag name is contained in preset to apply in list, if, it is determined that institute Current third party is stated to apply in default using in list.
Optionally, it is described to detect that default sound-recording function is in enabled state, including:
Judge whether the partner in current third party application is default contact person, if default contact person, then It is determined that detect that default sound-recording function is in enabled state.
Optionally, whether the partner judged in the current third party application is default contact person, including:
Obtain the call voice data of preset duration;
Identify the voiceprint in the call voice data;
Judge whether comprising the voiceprint matched with default contact person in the voiceprint, if comprising, it is determined that institute It is default contact person to state the partner in current third party application.
Optionally, the device also includes:Call type detection module, for detecting whether the talking state is that video leads to Speech phase;
Whether the partner judged in the current third party application is default contact person, including:
If it is video call state to detect the talking state, the video pictures of partner are obtained;
Identify the facial image in the video pictures;
Judge whether the facial image matches with default contact person, if matching, it is determined that the current third party application In partner be default contact person.
Optionally, the operating system that the mobile terminal loads is Android operation system, and the preset audio parameter is sound Frequency pattern audio mode, the preset value are communication pattern MODE_IN_COMMUNICATION.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform Instruct includes when being performed by computer processor for the way of recording for performing mobile terminal, this method:
Monitor the value change of the preset audio parameter in mobile terminal;
When the value of the preset audio parameter is changed into preset value, determines that current third party is applied and enter talking state, The talking state includes voice call state and video call state;
If detecting, default sound-recording function is in enabled state, and the dialog context of current third party application is carried out Recording.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDORAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (example Such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other types Memory or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed, or It can be located in different second computer systems, second computer system is connected to the first meter by network (such as internet) Calculation machine system.Second computer system can provide programmed instruction and be used to perform to the first computer.Term " storage medium " can With including may reside within diverse location (such as in different computer systems by network connection) two or more Storage medium.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as be implemented as counting Calculation machine program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, its computer The recording operation for the mobile terminal that executable instruction is not limited to the described above, it can also carry out the application any embodiment and provided Mobile terminal the way of recording in associative operation.
The embodiment of the present application provides a kind of mobile terminal, and the shifting of the embodiment of the present application offer can be integrated in the mobile terminal The recording device of dynamic terminal.Fig. 5 is a kind of structural representation for mobile terminal that the embodiment of the present application provides.Mobile terminal 500 It can include:Memory 501, processor 502 and the computer program that is stored on memory 501 and can be run in processor, The processor 502 realizes the way of recording of the mobile terminal as described in the embodiment of the present application when performing the computer program.
The mobile terminal that the embodiment of the present application provides, monitoring in mobile terminal by way of preset audio parameter value variation It can rapidly and accurately identify whether current third party application enters talking state, and after entrance talking state, can be to the The dialog context of tripartite's application is recorded, and enriches the sound-recording function of mobile terminal.
Fig. 6 is the structural representation for another terminal that the embodiment of the present application provides, and the terminal can include:Housing (figure Not shown in), memory 601, central processing unit (central processing unit, CPU) 602 (also known as processor, with Lower abbreviation CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in the housing The interior volume surrounded;The CPU602 and the memory 601 are arranged on the circuit board;The power circuit, is used for Powered for each circuit or device of the terminal;The memory 601, for storing executable program code;It is described CPU602 is run and the executable program code pair by reading the executable program code stored in the memory 601 The computer program answered, to realize following steps:
Monitor the value change of the preset audio parameter in mobile terminal;
When the value of the preset audio parameter is changed into preset value, determines that current third party is applied and enter talking state, The talking state includes voice call state and video call state;
If detecting, default sound-recording function is in enabled state, and the dialog context of current third party application is carried out Recording.
The terminal also includes:Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, voicefrequency circuit 606th, loudspeaker 611, power management chip 608, input/output (I/O) subsystem 609, other input/control devicess 610, touch Touch screen 612, other input/control devicess 610 and outside port 604, these parts by one or more communication bus or Signal wire 607 communicates.
It should be understood that graphic terminal 600 is only an example of terminal, and terminal 600 can have than figure Shown in more or less parts, two or more parts can be combined, or can have different portions Part configures.Various parts shown in figure can be including one or more signal transactings and/or application specific integrated circuit Hardware, software or hardware and software combination in realize.
Detailed retouch is carried out with regard to the mobile terminal for third party application calling record that the present embodiment provides below State, the mobile terminal is by taking mobile phone as an example.
Memory 601, the memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and the memory 601 can Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU602 and deposited by Peripheral Interface 603, the Peripheral Interface 603 Reservoir 601.
I/O subsystems 609, the I/O subsystems 609 can be by the input/output peripherals in equipment, such as touch-screen 612 With other input/control devicess 610, Peripheral Interface 603 is connected to.I/O subsystems 609 can include the He of display controller 6091 For controlling one or more input controllers 6092 of other input/control devicess 610.Wherein, one or more input controls Device 6092 processed receives electric signal from other input/control devicess 610 or sends electric signal to other input/control devicess 610, Other input/control devicess 610 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click on roller.What deserves to be explained is input controller 6092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 612, the touch-screen 612 are the input interface and output interface between user terminal and user, can It can include figure, text, icon, video etc. to user, visual output depending on output display.
Display controller 6091 in I/O subsystems 609 receives electric signal from touch-screen 612 or sent out to touch-screen 612 Electric signals.Touch-screen 612 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 6091 The interaction of user interface object on touch-screen 612, that is, realize man-machine interaction, the user interface being shown on touch-screen 612 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 605, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 605 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 605 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 605 can include being used to perform The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 606, it is mainly used in receiving voice data from Peripheral Interface 603, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 611.
Loudspeaker 611, for the voice signal for receiving mobile phone from wireless network by RF circuits 605, it is reduced to sound And play the sound to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface are powered And power management.
Recording device, storage medium and the mobile terminal of the mobile terminal provided in above-described embodiment can perform the application and appoint The way of recording for the mobile terminal that meaning embodiment is provided, possess and perform the corresponding functional module of this method and beneficial effect.Not The ins and outs of detailed description in the above-described embodiments, reference can be made to the recording for the mobile terminal that the application any embodiment is provided Method.
Pay attention to, above are only preferred embodiment and the institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also Other more equivalent embodiments can be included, and scope of the present application is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. way of recording of mobile terminal, it is characterised in that including:
    Monitor the value change of the preset audio parameter in mobile terminal;
    When the value of the preset audio parameter is changed into preset value, determines that current third party is applied and enter talking state, it is described Talking state includes voice call state and video call state;
    If detecting, default sound-recording function is in enabled state, and the dialog context of current third party application is recorded Sound.
  2. 2. according to the method for claim 1, it is characterised in that it is described to detect that default sound-recording function is in enabled state, Including:
    Judge whether the current third party application is applied in list in default, if being in, it is determined that detect default recording Function is in enabled state.
  3. 3. according to the method for claim 2, it is characterised in that described to judge the current third party application whether in pre- If using in list, including:
    Obtain the storehouse for calling method to set up corresponding to the preset audio parameter;
    Identify the bag name of the application program included in the storehouse;
    Judge whether application name corresponding to the bag name is contained in preset to apply in list, if, it is determined that it is described to work as Preceding third-party application is in default and applied in list.
  4. 4. according to the method for claim 1, it is characterised in that it is described to detect that default sound-recording function is in enabled state, Including:
    Judge whether the partner in the current third party application is default contact person, if default contact person, it is determined that Detect that default sound-recording function is in enabled state.
  5. 5. according to the method for claim 4, it is characterised in that the call pair judged in the current third party application Whether side is default contact person, including:
    Obtain the call voice data of preset duration;
    Identify the voiceprint in the call voice data;
    Judge whether comprising the voiceprint matched with default contact person in the voiceprint, if comprising, it is determined that it is described to work as Partner in preceding third-party application is default contact person.
  6. 6. according to the method for claim 4, it is characterised in that the call pair judged in the current third party application Whether side is default contact person, including:
    If it is video call state to detect the talking state, the video pictures of partner are obtained;
    Identify the facial image in the video pictures;
    Judge whether the facial image matches with default contact person, if matching, it is determined that in the current third party application Partner is default contact person.
  7. 7. according to any described methods of claim 1-6, it is characterised in that the operating system that the mobile terminal loads is peace Tall and erect operating system, the preset audio parameter are audio mode audio mode, and the preset value is communication pattern MODE_IN_ COMMUNICATION。
  8. A kind of 8. recording device of mobile terminal, it is characterised in that including:
    Parameter value monitors module, and the value for monitoring the preset audio parameter in mobile terminal changes;
    Talking state determining module, for when the value of the preset audio parameter is changed into preset value, determining current third party Include voice call state and video call state using into talking state, the talking state;
    Calling record module, for detecting that default sound-recording function is in enabled state, then to the current third party application Dialog context recorded.
  9. 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The way of recording of the mobile terminal as described in any in claim 1-7 is realized during row.
  10. 10. a kind of mobile terminal, it is characterised in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, shifting of the realization as described in claim 1-7 is any during computer program described in the computing device The way of recording of dynamic terminal.
CN201711079286.7A 2017-11-06 2017-11-06 Recording method and device of mobile terminal, storage medium and mobile terminal Active CN107707721B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711079286.7A CN107707721B (en) 2017-11-06 2017-11-06 Recording method and device of mobile terminal, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711079286.7A CN107707721B (en) 2017-11-06 2017-11-06 Recording method and device of mobile terminal, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107707721A true CN107707721A (en) 2018-02-16
CN107707721B CN107707721B (en) 2020-11-24

Family

ID=61177991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711079286.7A Active CN107707721B (en) 2017-11-06 2017-11-06 Recording method and device of mobile terminal, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107707721B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451297A (en) * 2018-10-23 2019-03-08 平安科技(深圳)有限公司 Voice and video telephone mass analysis method and device, electronic equipment, storage medium
CN111031168A (en) * 2019-12-09 2020-04-17 上海传英信息技术有限公司 Voice call recording method, device and readable storage medium
CN112565306A (en) * 2021-02-24 2021-03-26 江苏苏测检测认证有限公司 Third-party server identification method for app private data collection

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012037195A1 (en) * 2010-09-14 2012-03-22 Kova Corporation Method and system for wireless phone recording
CN103391359A (en) * 2013-06-27 2013-11-13 东莞宇龙通信科技有限公司 Mobile terminal and voice recognition processing method thereof
CN103813126A (en) * 2012-11-02 2014-05-21 三星电子株式会社 Method of providing information-of-users' interest when video call is made, and electronic apparatus thereof
CN104078045A (en) * 2013-03-26 2014-10-01 联想(北京)有限公司 Identifying method and electronic device
CN104735253A (en) * 2015-03-24 2015-06-24 广东欧珀移动通信有限公司 Call recording method of mobile terminal and mobile terminal
CN105893948A (en) * 2016-03-29 2016-08-24 乐视控股(北京)有限公司 Method and apparatus for face identification in video conference
CN106170032A (en) * 2016-09-22 2016-11-30 乐视控股(北京)有限公司 The way of recording of a kind of speech data and device
CN106210285A (en) * 2016-06-29 2016-12-07 北京奇虎科技有限公司 A kind of recording method of controlling security, device and equipment
CN106657544A (en) * 2016-10-24 2017-05-10 广东欧珀移动通信有限公司 Incoming call recording method and terminal equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012037195A1 (en) * 2010-09-14 2012-03-22 Kova Corporation Method and system for wireless phone recording
CN103813126A (en) * 2012-11-02 2014-05-21 三星电子株式会社 Method of providing information-of-users' interest when video call is made, and electronic apparatus thereof
CN104078045A (en) * 2013-03-26 2014-10-01 联想(北京)有限公司 Identifying method and electronic device
CN103391359A (en) * 2013-06-27 2013-11-13 东莞宇龙通信科技有限公司 Mobile terminal and voice recognition processing method thereof
CN104735253A (en) * 2015-03-24 2015-06-24 广东欧珀移动通信有限公司 Call recording method of mobile terminal and mobile terminal
CN105893948A (en) * 2016-03-29 2016-08-24 乐视控股(北京)有限公司 Method and apparatus for face identification in video conference
CN106210285A (en) * 2016-06-29 2016-12-07 北京奇虎科技有限公司 A kind of recording method of controlling security, device and equipment
CN106170032A (en) * 2016-09-22 2016-11-30 乐视控股(北京)有限公司 The way of recording of a kind of speech data and device
CN106657544A (en) * 2016-10-24 2017-05-10 广东欧珀移动通信有限公司 Incoming call recording method and terminal equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451297A (en) * 2018-10-23 2019-03-08 平安科技(深圳)有限公司 Voice and video telephone mass analysis method and device, electronic equipment, storage medium
CN111031168A (en) * 2019-12-09 2020-04-17 上海传英信息技术有限公司 Voice call recording method, device and readable storage medium
CN112565306A (en) * 2021-02-24 2021-03-26 江苏苏测检测认证有限公司 Third-party server identification method for app private data collection

Also Published As

Publication number Publication date
CN107707721B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
US11251763B2 (en) Audio signal adjustment method, storage medium, and terminal
CN106024009B (en) Audio processing method and device
CN107580113B (en) Reminding method, device, storage medium and terminal
CN103888581B (en) A kind of communication terminal and its method for recording call-information
CN107040660A (en) Control method, device and the mobile terminal of mobile terminal playing volume
CN103558916A (en) Man-machine interaction system, method and device
CN107562405A (en) Audio play control method, device and storage medium and mobile terminal
CN107343076A (en) Volume adjusting method, device, storage medium and mobile terminal
WO2019242414A1 (en) Voice processing method and apparatus, storage medium, and electronic device
CN107580129A (en) terminal state control method and device
CN107483735A (en) Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal
CN108766438A (en) Man-machine interaction method, device, storage medium and intelligent terminal
CN108449507A (en) Voice communication data processing method, device, storage medium and mobile terminal
CN107483731A (en) Control method, device and the storage medium and mobile terminal of audio broadcast sound volume
CN108696641A (en) Call reminding method, device, storage medium and mobile terminal
CN107707721A (en) The way of recording, device, storage medium and the mobile terminal of mobile terminal
CN108449496A (en) Voice communication data detection method, device, storage medium and mobile terminal
CN107799113A (en) Audio-frequency processing method, device, storage medium and mobile terminal
CN107135452A (en) Audiphone adaptation method and device
CN108848497A (en) Acquisition methods, device, terminal and the computer readable storage medium of list of application
CN111580773A (en) Information processing method, device and storage medium
CN107508983A (en) volume adjusting method, device, storage medium and terminal device
JP2022130269A (en) Audio processing method, device, terminal, and storage medium
CN109325337A (en) Unlocking method and device
CN108089897A (en) Startup management method, device, storage medium and the mobile terminal of application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant