CN105262894B - The way of recording and device - Google Patents

The way of recording and device Download PDF

Info

Publication number
CN105262894B
CN105262894B CN201510590743.3A CN201510590743A CN105262894B CN 105262894 B CN105262894 B CN 105262894B CN 201510590743 A CN201510590743 A CN 201510590743A CN 105262894 B CN105262894 B CN 105262894B
Authority
CN
China
Prior art keywords
recording
level
sound
key
volume
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510590743.3A
Other languages
Chinese (zh)
Other versions
CN105262894A (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 CN201510590743.3A priority Critical patent/CN105262894B/en
Publication of CN105262894A publication Critical patent/CN105262894A/en
Application granted granted Critical
Publication of CN105262894B publication Critical patent/CN105262894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention is suitable for terminal device technical field, provides a kind of way of recording and device, the method includes:When terminal device is in talking state, if detecting, the level signal for the combination button specified changes to predetermined level by original levels, starts sound-recording function, to record to both call sides;In Recording Process, if detect that the level signal of one or more button in the combination button specified changes to original levels by predetermined level, the sound-recording function is closed.This invention simplifies the modes for starting sound-recording function in communication process, so that user is recorded by the combination button that synchronous long-press is specified, without terminal device is taken down beside ear, communication process interruption is avoided, user is also allowed for and carries out hidden recording in sensitive, dangerous place.

Description

The way of recording and device
Technical field
The invention belongs to terminal device technical field more particularly to the way of recording and devices.
Background technology
When starting sound-recording function in communication process, the prior art is mainly by the operation interface on smart mobile phone display screen It realizes, user is needed to lift down smart mobile phone beside ear, it is behind lighting operation interface enterprising in the operation interface again Row setting, this mode operating process is cumbersome, and results in communication process interruption.
Invention content
In consideration of it, an embodiment of the present invention provides a kind of way of recording and device, recorded with solving to start in communication process Existing way is cumbersome during sound and the problem of leading to dropped calls.
In a first aspect, a kind of way of recording is provided, the method includes:
When terminal device is in talking state, if detecting the level signal for the combination button specified by original levels Predetermined level is changed to, then starts sound-recording function, to record to both call sides;
In Recording Process, if detecting the level signal of one or more button in the combination button specified When changing to original levels by predetermined level, the sound-recording function is closed.
Second aspect, provides a kind of recording device, and described device includes:
Starting module, for when terminal device is in talking state, the level for the combination button specified to be believed if detecting Number predetermined level is changed to by original levels, then start sound-recording function, to record to both call sides;
Closedown module, in Recording Process, if detecting one or more in the combination button specified When the level signal of button changes to original levels by predetermined level, the sound-recording function is closed.
Compared with prior art, the key combination on terminal device fuselage is used as recording switch by the embodiment of the present invention;When When terminal device is in talking state, if detecting, the level signal for the combination button specified changes to default electricity by original levels It is flat, then start sound-recording function, to record to both call sides;In Recording Process, if detect the combination specified by When the level signal of one or more button in key changes to original levels by predetermined level, the sound-recording function is closed. Start and close mode so as to provide a kind of easily recording, solve existing communication process start recording mode operate it is numerous The problem of trivial so that the combination button that user is specified in communication process by long-press can record, without terminal is set It is standby to be taken down beside ear, communication process interruption is avoided, user is also allowed for and records in sensitive, dangerous place.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other accompanying drawings are obtained according to these attached drawings.
Fig. 1 is the realization flow chart of the way of recording provided in an embodiment of the present invention;
Fig. 2 is another realization flow chart of the way of recording provided in an embodiment of the present invention;
Fig. 3 is the composition structure chart of recording device provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is 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.
Key combination on terminal device fuselage is used as recording switch by the embodiment of the present invention;When terminal device is in call During state, if detecting, the level signal for the combination button specified changes to predetermined level by original levels, starts recording work( Can, to record to both call sides;In Recording Process, if detecting one in the combination button specified or more When the level signal of a button changes to original levels by predetermined level, the sound-recording function is closed.So as to provide one kind just Prompt recording starts and closes mode, it is cumbersome to solve the problems, such as that existing communication process starts the mode recorded so that use The combination button that family is specified in communication process by long-press can record, without terminal device is taken beside ear Under, communication process interruption is avoided, user is also allowed for and records in sensitive, dangerous place.The embodiment of the present invention also provides Corresponding device, is described in detail individually below.
Fig. 1 shows the realization flow of the way of recording provided in an embodiment of the present invention, for convenience of description, illustrate only with The relevant part of the embodiment of the present invention.
In embodiments of the present invention, the method is applied to terminal device, and the terminal device includes but not limited to intelligence Mobile phone, be internally integrated microphone, recording chip etc. for recording module.Refering to Fig. 1, the method includes:
In step S101, when terminal device is in talking state, if detecting the level letter for the combination button specified Number predetermined level is changed to by original levels, then start sound-recording function, to record to both call sides.
Herein, the original levels are the level signal of the combination button under normal conditions, and the predetermined level is institute State level signal of the combination button under pressing state.The level signal includes high level and low level.In digital circuit, The high level is 1, and the low level is 0.Optionally, the original levels can be high level, correspondingly, the default electricity It puts down as low level;The original levels may be low level, and correspondingly, the predetermined level is then high level.It pre-sets Corresponding function is in communication process when the level signal synchronization of the combination button changes to predetermined level by original levels Start sound-recording function.When terminal device is in talking state, terminal device detects the level for the combination button specified in real time Signal.When the level signal of the combination button specified changes to predetermined level by original levels, then start recording work( Can, to record to both call sides;It is achieved thereby that the combination button that user is specified in communication process by synchronous pressing Start sound-recording function.
Optionally, after sound-recording function is started, the method further includes:Prompt message is exported, user recording to be prompted to open Begin.The prompt message includes but not limited to vibration prompt and/or voice prompt.
In step s 102, in Recording Process, if detecting one or more in the combination button specified When the level signal of button changes to original levels by predetermined level, the sound-recording function is closed.
In embodiments of the present invention, after starting sound-recording function, the level signal of the combination button is constantly detected.If institute When stating the level signal of combination button and being in predetermined level, recording state is kept, so that user is in synchronous pressing combination After button starts sound-recording function, the recording state of terminal device is kept by continuing combination button described in long-press.If it detects When the level signal of one or more button in the combination button specified changes to original levels by predetermined level, then The sound-recording function is closed, to terminate to record to both call sides;So that user in communication process by release at One or more button in the combination button specified of pressing state can close sound-recording function.
Optionally, the button is the physical button pre-set on the mobile terminal, and the physical button can be with It is arranged on the arbitrary position not overlapped with existing button on the mobile terminal, such as the top of mobile terminal, bottom, left and right two Side, front, back side etc., do not limit herein.The combination button can be the screen locking key and volume up key of mobile terminal Combination, screen locking key and the combination of volume down key or the combination of volume up key and volume down key, also do not limit herein. Illustratively, when terminal device is in communication process, if the volume up key and the level signal of volume down key by When original levels change to predetermined level, start sound-recording function;In Recording Process, if the volume up key, volume down When key or volume up key and volume down key change to original levels by predetermined level, the sound-recording function is closed.It is described Original levels can be the level signal of the volume up key or volume down key under normal conditions, and the predetermined level is then institute The level signal of volume up key or volume down key under pressing state is stated, it is achieved thereby that user passes through in communication process Long-press volume up key and volume down key start sound-recording function.
Optionally, after the sound-recording function is closed, the method further includes:Prompt message is exported, user to be prompted to record Sound terminates.The prompt message includes but not limited to vibration prompt and/or voice prompt.
Optionally, after closing the sound-recording function, the recorded audio-frequency information of storage.In practical applications, it can also incite somebody to action The audio-frequency information recorded is sent to the other side of call or is sent to the contact person of user preset;Feelings in connection internet Under condition, the audio-frequency information recorded can also be sent to the pre-set mailbox of user, contribute to user in sensitive or danger It cries for help under the occasion of danger.
Key combination on terminal device fuselage is used as recording switch by the embodiment of the present invention;When terminal device is in call During state, if detecting, the level signal for the combination button specified changes to predetermined level by original levels, starts recording work( Can, to record to both call sides;In Recording Process, if detecting one in the combination button specified or more When the level signal of a button changes to original levels by predetermined level, the sound-recording function is closed.So as to provide one kind just Prompt recording starts and closes mode, it is cumbersome to solve the problems, such as that existing communication process starts the mode recorded so that use The combination button that family is specified in communication process by long-press can record, without terminal device is taken beside ear Under, communication process interruption is avoided, user is also allowed for and records in sensitive, dangerous place.
Further, when the combination button specified is volume up key and volume down key, in order to improve volume Raise the sensitivity as recording switch of key and volume down key, described synchronize detects volume up key and volume down key Level signal changes to predetermined level to detect volume up key and volume down in preset time range by original levels The level signal of key changes to predetermined level by original levels.Fig. 2 shows the another of the way of recording provided in an embodiment of the present invention One realizes flow.
Referring to Fig.2, the method includes:
In step s 201, it when terminal device is in talking state, obtains respectively under the volume up key and volume Adjust key level signal by original levels to predetermined level when the corresponding variation moment.
In step S202, the difference between the variation moment is calculated.
Herein, when the difference between the variation moment is variation of the volume up key by original levels to predetermined level It carves and volume down key is by the difference the variation moment of original levels to predetermined level, it is usually latter in time sequencing Moment subtracts previous moment.The difference is compared with predetermined threshold value, when the difference is less than or equal to the default threshold During value, show that user synchronizes and press the volume up key and volume down key, judgement terminal device, which synchronizes, to be detected in volume The level signal of key and volume down key is adjusted to change to predetermined level by original levels, performs step S203.Otherwise, when the difference When value is more than the predetermined threshold value, shows that user is not synchronous and press the volume up key and volume down key, then according to volume Raising the variation of the level signal of key increases volume or reduces volume according to the variation of the level signal of volume down key.
In step S203, when the difference is less than or equal to predetermined threshold value, then start sound-recording function, with double to conversing Fang Jinhang records.
In step S204, after sound-recording function is started, the level letter of the volume up key and volume down key is judged Number whether it is predetermined level.
If so, showing that the volume up key and volume down key are in pressing state, then step S205 is performed;Otherwise, Perform step S206.
In step S205, recording state is kept.Return to step S204 continues to judge under the volume up key and volume Whether the level signal for adjusting key is predetermined level.
In step S206, if the volume up key and/or the level signal of volume down key are changed by predetermined level To original levels, then the sound-recording function is closed.
Herein, after sound-recording function is closed, the talking state of terminal device is still maintained.The embodiment of the present invention is by setting Predetermined threshold value is put to judge whether user synchronizes pressing volume up key and volume down key, is effectively improved and starts recording Sensitivity.
The volume up key of terminal device fuselage side and volume down key are used as recording switch by the present invention;When the end End equipment is in talking state, detects that volume up key and the level signal of volume down key are become by original levels if synchronizing When changing to predetermined level, start sound-recording function, to record to both call sides;And in Recording Process, if detecting described When volume up key and/or the level signal of volume down key change to predetermined level by original levels, then the recording is closed Function.So as to simplify the process for starting in communication process and closing sound-recording function, solve existing communication process start and Close recording mode it is cumbersome the problem of so that user can be by synchronous long-press volume up key and volume down key Row recording, and without terminal device is taken down beside ear, avoid communication process interruption, also allow for user in sensitive, danger The place of danger carries out hidden recording.
Fig. 3 shows the composition structure of recording device provided in an embodiment of the present invention, for convenience of description, illustrate only with The relevant part of the embodiment of the present invention.
In embodiments of the present invention, the recording device is used to implement the recording side described in above-mentioned Fig. 1-Fig. 2 embodiments Method can be the unit of the software unit for being built in terminal device, hardware cell or software and hardware combining.The terminal device can Think smart mobile phone.
Refering to Fig. 3, the recording device includes:
Starting module 31, for when terminal device is in talking state, if detecting the level for the combination button specified Signal changes to predetermined level by original levels, then starts sound-recording function, to record to both call sides;
Closedown module 32, in Recording Process, if detecting one in the combination button specified or more When the level signal of a button changes to original levels by predetermined level, the sound-recording function is closed.
Herein, the original levels be the level signal of the combination button specified under normal conditions, the default electricity Equal the level signal under pressing state for the combination button specified.The original levels are high level, correspondingly, described Predetermined level is low level;Or the original levels are low level, correspondingly, the predetermined level is high level.
Optionally, the button is the physical button pre-set on the mobile terminal, and the physical button can be with It is arranged on the arbitrary position not overlapped with existing button on the mobile terminal, such as the top of mobile terminal, bottom, left and right two Side, front, back side etc., do not limit herein.Can be the screen locking key and volume up key of mobile terminal in the combination button Combination, screen locking key and the combination of volume down key or the combination of volume up key or volume down key, also do not limit herein It is fixed.Illustratively, user can change the volume up key or volume by pressing volume up key or volume down key The level signal of down key.The original levels can be the level letter of the volume up key or volume down key under normal conditions Number, the predetermined level is then the level signal of the volume up key or volume down key under pressing state.
When the combination button is volume up key and volume down key, the starting module 31 includes:
Acquiring unit 311, for obtaining the level signal of the volume up key and volume down key respectively by initial electricity Put down corresponding variation moment during predetermined level;
Computing unit 312, for calculating the difference between the variation moment;
Start unit 313, for when the difference is less than or equal to predetermined threshold value, starting sound-recording function, with to call Both sides record.
Further, the closedown module 32 includes:
Judging unit 321, for after sound-recording function is started, judging the level of the volume up key and volume down key Whether signal is predetermined level;
Recoding unit 322, for when the judging result of judging unit is to be, keeping recording state;
Closing unit 323, for the judging result of judging unit for it is no when, if the volume up key and/or volume The level signal of down key changes to original levels by predetermined level, then closes the sound-recording function.
Optionally, described device further includes:
Reminding module 33 for after sound-recording function is started, exports prompt message, user recording to be prompted to start and
After the sound-recording function is closed, prompt message is exported, user recording to be prompted to start.
It should be noted that the device in the embodiment of the present invention can be used to implement whole skills in above method embodiment Art scheme, the function of each function module can be implemented according to the method in above method embodiment, specific implementation Process can refer to the associated description in examples detailed above, and details are not described herein again.
Fig. 4 shows a kind of structure diagram of terminal device, which can be used for implementing to carry in above-described embodiment The way of recording of confession.
As shown in figure 4, terminal device 1200 can include RF (Radio Frequency, radio frequency) circuit 110, include The memory 120 of one or more (one is only shown in figure) computer readable storage mediums, input unit 130, display Unit 140, sensor 150, voicefrequency circuit 160, transmission module 170, including there are one or more than one (one is only shown in figure It is a) the 190 grade components of processor 180 and power supply of processing core.It will be understood by those skilled in the art that the end shown in Fig. 4 1200 structure of end equipment does not form the restriction to terminal device 1200, can include than illustrate more or fewer components or Person combines certain components or different components arrangement.Wherein:
RF circuits 110 realize the mutual conversion of electromagnetic wave and electric signal, so as to leading to for receiving and transmitting electromagnetic wave News network or other equipment are communicated.RF circuits 110 may include the various existing circuit elements for being used to perform these functions Part, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, storage Device etc..RF circuits 110 can be communicated with various networks such as internet, intranet, wireless network or by wireless Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN). Above-mentioned wireless network can use various communication standards, agreement and technology, including but not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code division multiple Access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time division multiple access technology (time Division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as U.S.'s electricity Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), The networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other are for mail, instant messaging and short message Agreement and any other suitable communications protocol or even it may include those agreements not being developed yet currently.
Memory 120 can be used for storage software program and module, as the way of recording/device is corresponding in above-described embodiment Program instruction/module, processor 180 are stored in software program and module in memory 120 by operation, each so as to perform Kind application of function and data processing, that is, realize and quickly start sound-recording function or other functions in communication process.Memory 120 May include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory, Or other non-volatile solid state memories.In some instances, memory 120 can further comprise relative to processor 180 Remotely located memory, these remote memories can pass through network connection to terminal device 1200.The example of above-mentioned network Including but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 130 can be used for receiving the number inputted or character information and generate and user setting and function Control related keyboard, mouse, operating lever, optics or the input of trace ball signal.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or neighbouring touch operation (such as user using any suitable object such as finger, stylus or attachment in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and processor 180 can be received The order sent simultaneously is performed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), It is one or more in trace ball, mouse, operating lever etc..
Display unit 140 can be used for display by information input by user or be supplied to the information and terminal device of user 1200 various graphical user interface, these graphical user interface can be by figure, text, icon, video and its arbitrary combinations To form.Display unit 140 may include display panel 141, optionally, LCD (Liquid Crystal may be used Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come Display panel 141 is configured.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 is detected at it On or near touch operation after, send to processor 180 with determine touch event type, be followed by subsequent processing device 180 according to touch The type for touching event provides corresponding visual output on display panel 141.Although in Fig. 4, touch sensitive surface 131 and display surface Plate 141 is the component independent as two to realize input and input function, but in some embodiments it is possible to by touch-sensitive table Face 131 is integrated with display panel 141 and realizes and outputs and inputs function.
Terminal device 1200 may also include at least one sensor 150, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 141, proximity sensor can when terminal device 1200 is moved in one's ear, Close display panel 141 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect all directions The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (for example pedometer, strikes Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared ray sensor for can also configure as terminal device 1200 etc. its His sensor, details are not described herein.
Voicefrequency circuit 160, loud speaker 161, the audio that microphone 162 can be provided between user and terminal device 1200 connect Mouthful.The transformed electric signal of the audio data received can be transferred to loud speaker 161, by loud speaker 161 by voicefrequency circuit 160 Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, by voicefrequency circuit 160 receive after be converted to audio data, then after audio data output processor 180 is handled, through RF circuits 110 to be sent to ratio Audio data is exported to memory 120 to be further processed by such as another terminal.Voicefrequency circuit 160 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone and terminal device 1200.
Terminal device 1200 can help user to send and receive e-mail, is clear by transmission module 170 (such as WiFi module) It lookes at and webpage and accesses streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 4 shows transmission mould Block 170, but it is understood that, and must be configured into for terminal device 1200 is not belonging to, it completely can be as needed not Change in the range of the essence of invention and omit.
Processor 180 is the control centre of terminal device 1200, utilizes each of various interfaces and connection whole mobile phone A part is stored in storage by running or performing the software program being stored in memory 120 and/or module and call Data in device 120 perform the various functions of terminal device 1200 and processing data, so as to carry out integral monitoring to mobile phone.It can Choosing, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modulation Demodulation processor, wherein, the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal device 1200 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can lead to Cross power-supply management system and processor 180 be logically contiguous, so as to by power-supply management system realize management charging, electric discharge and The functions such as power managed.Power supply 190 can also include one or more direct current or AC power, recharging system, electricity The random components such as source fault detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal device 1200 can also include camera, bluetooth module etc., and details are not described herein.Specifically In the present embodiment, the display unit of terminal device is touch-screen display, and terminal device has further included memory and one Either more than one program one of them or more than one program is stored in memory, and be configured to by one or Person's more than one processor execution states one or more than one program includes the instruction for being operated below:
When terminal device is in talking state, if detecting the level signal for the combination button specified by original levels Predetermined level is changed to, then starts sound-recording function, to record to both call sides;
In Recording Process, if detecting the level signal of one or more button in the combination button specified When changing to original levels by predetermined level, the sound-recording function is closed.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of the terminal device, also comprising instructions for performing the following operations:
The combination button is volume up key and volume down key;
If the level signal for detecting the combination button specified changes to predetermined level by original levels, start Sound-recording function is included so that both call sides are carried out with recording:
The level signal of the volume up key and volume down key is obtained respectively by original levels to during predetermined level pairs The variation moment answered;
Calculate the difference between the variation moment;
When the difference is less than or equal to predetermined threshold value, start sound-recording function, to record to both call sides.
In the third the possible embodiment provided based on second of possible embodiment, the terminal In the memory of equipment, also comprising instructions for performing the following operations:
If the level signal for detecting one or more button in the combination button specified is by default electricity It is flat when changing to original levels, it closes the sound-recording function and includes:
After sound-recording function is started, whether the level signal for judging the volume up key and volume down key is default Level;
If so, keep recording state;
Otherwise, if the volume up key and/or the level signal of volume down key change to initial electricity by predetermined level It is flat, then close the sound-recording function.
The first, the 4th kind of possible implementation providing based on second or the third possible embodiment In mode, in the memory of the terminal device, also comprising instructions for performing the following operations:
The original levels are high level, and the predetermined level is low level;Or
The original levels are low level, and the predetermined level is high level.
In the 5th kind of possible embodiment provided based on the first possible embodiment, the terminal In the memory of equipment, also comprising instructions for performing the following operations:
After sound-recording function is started, prompt message is exported, user recording to be prompted to start;
After the sound-recording function is closed, prompt message is exported, user recording to be prompted to terminate.
Key combination on terminal device fuselage is used as recording switch by the embodiment of the present invention;When terminal device is in call During state, if detecting, the level signal for the combination button specified changes to predetermined level by original levels, starts recording work( Can, to record to both call sides;In Recording Process, if detecting one in the combination button specified or more When the level signal of a button changes to original levels by predetermined level, the sound-recording function is closed.So as to provide one kind just Prompt recording starts and closes mode, it is cumbersome to solve the problems, such as that existing communication process starts the mode recorded so that use The combination button that family is specified in communication process by long-press can record, without terminal device is taken beside ear Under, communication process interruption is avoided, user is also allowed for and records in sensitive, dangerous place.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description With the specific work process of unit, the corresponding process in preceding method embodiment can be referred to, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the module, unit are drawn Point, only a kind of division of logic function can have other dividing mode, such as multiple units or component can in actual implementation To combine or be desirably integrated into another system or some features can be ignored or does not perform.Another point, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be the INDIRECT COUPLING by some interfaces, device or unit Or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit, module in each embodiment of the present invention can be integrated in a processing unit, Can be that each unit, module are individually physically present, can also two or more units, module be integrated in a unit In.
If the function is realized in the form of SFU software functional unit and is independent product sale or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially in other words The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention. And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.

Claims (8)

1. a kind of way of recording, which is characterized in that the method includes:
When terminal device is in talking state, if detecting, the level signal for the combination button specified is changed by original levels To predetermined level, then start sound-recording function, to record to both call sides, also, be continuously detected the combination button Long-press instruction when, keep the recording state of the terminal device;
In Recording Process, if detecting the level signal of one or more button in the combination button specified by pre- If level change is to original levels, the sound-recording function is closed, and the audio-frequency information recorded is sent to user and is set in advance The mailbox put, the original levels are the level signal of the combination button under normal conditions, and the predetermined level is the combination Level signal of the button under pressing state;
Wherein, the combination button is volume up key and volume down key;
If the level signal for detecting the combination button specified changes to predetermined level by original levels, start recording Function is included so that both call sides are carried out with recording:
Obtain respectively the level signal of the volume up key and volume down key by original levels to predetermined level when it is corresponding Change the moment;
Calculate the difference between the variation moment;
When the difference is less than or equal to predetermined threshold value, start sound-recording function, to record to both call sides.
2. the way of recording as described in claim 1, which is characterized in that it is described in Recording Process, if detecting described specify When the level signal of one or more button in combination button changes to original levels by predetermined level, the recording is closed Function includes:
After sound-recording function is started, whether the level signal for judging the volume up key and volume down key is default electricity It is flat;
If so, keep recording state;
Otherwise, if the volume up key and/or the level signal of volume down key change to original levels by predetermined level, Close the sound-recording function.
3. the way of recording as claimed in claim 1 or 2, which is characterized in that the original levels be high level, the default electricity It puts down as low level;Or
The original levels are low level, and the predetermined level is high level.
4. the way of recording as described in claim 1, which is characterized in that the method further includes:
After sound-recording function is started, prompt message is exported, user recording to be prompted to start;
After the sound-recording function is closed, prompt message is exported, user recording to be prompted to terminate.
5. a kind of recording device, which is characterized in that described device includes:
Starting module, for when terminal device is in talking state, the level signal for the combination button specified to be equal if detecting Predetermined level is changed to by original levels, then starts sound-recording function, to record to both call sides, also, in lasting detection To the combination button long-press instruction when, keep the recording state of the terminal device;
Closedown module, in Recording Process, if detecting one or more button in the combination button specified Level signal when changing to original levels by predetermined level, close the sound-recording function, and the audio-frequency information recorded is sent out It send to the pre-set mailbox of user, the original levels are the level signal of the combination button under normal conditions, described default Level is level signal of the combination button under pressing state;
Wherein, the combination button is volume up key and volume down key;
The starting module includes:
Acquiring unit, for obtaining the level signal of the volume up key and volume down key respectively by original levels to default Corresponding variation moment during level;
Computing unit, for calculating the difference between the variation moment;
Start unit, for when the difference is less than or equal to predetermined threshold value, starting sound-recording function, to be carried out to both call sides Recording.
6. recording device as claimed in claim 5, which is characterized in that the closedown module includes:
Judging unit is for after sound-recording function is started, judging the level signal of the volume up key and volume down key No is predetermined level;
Recoding unit, for when the judging result of judging unit is to be, keeping recording state;
Closing unit, for when the judging result of judging unit is no, if the volume up key and/or volume down key Level signal changes to original levels by predetermined level, then closes the sound-recording function.
7. such as recording device described in claim 5 or 6, which is characterized in that the original levels are high level, the default electricity It puts down as low level;Or
The original levels are low level, and the predetermined level is high level.
8. recording device as claimed in claim 5, which is characterized in that described device further includes:
Reminding module for after sound-recording function is started, exports prompt message, user recording to be prompted to start and
After the sound-recording function is closed, prompt message is exported, user recording to be prompted to start.
CN201510590743.3A 2015-09-16 2015-09-16 The way of recording and device Active CN105262894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510590743.3A CN105262894B (en) 2015-09-16 2015-09-16 The way of recording and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510590743.3A CN105262894B (en) 2015-09-16 2015-09-16 The way of recording and device

Publications (2)

Publication Number Publication Date
CN105262894A CN105262894A (en) 2016-01-20
CN105262894B true CN105262894B (en) 2018-06-19

Family

ID=55102397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510590743.3A Active CN105262894B (en) 2015-09-16 2015-09-16 The way of recording and device

Country Status (1)

Country Link
CN (1) CN105262894B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453910A (en) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 Call communication recording method and device
CN110444232B (en) * 2019-07-31 2021-06-01 国金黄金股份有限公司 Sound recording control method and device for sound box, storage medium and processor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800812A (en) * 2010-01-29 2010-08-11 深圳市汇通世纪移动科技有限公司 Method for realizing meeting recording in mobile communication terminal and mobile communication terminal
CN104301510A (en) * 2014-08-25 2015-01-21 惠州Tcl移动通信有限公司 Mobile phone and recording control method thereof
CN104486498A (en) * 2014-12-12 2015-04-01 深圳市财富之舟科技有限公司 Contact-based communication method and communication device for mobile phone, and mobile phone

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100408593B1 (en) * 2001-04-23 2003-12-06 주식회사 인터넷시큐리티 Program install method using security key

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800812A (en) * 2010-01-29 2010-08-11 深圳市汇通世纪移动科技有限公司 Method for realizing meeting recording in mobile communication terminal and mobile communication terminal
CN104301510A (en) * 2014-08-25 2015-01-21 惠州Tcl移动通信有限公司 Mobile phone and recording control method thereof
CN104486498A (en) * 2014-12-12 2015-04-01 深圳市财富之舟科技有限公司 Contact-based communication method and communication device for mobile phone, and mobile phone

Also Published As

Publication number Publication date
CN105262894A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN107678631B (en) Side menu display method and device and terminal
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN103634717B (en) A kind of method, device and the terminal device of the control of utilization earphone
CN106411448B (en) Control method for playing back, device and terminal
CN104238893B (en) A kind of method and apparatus that video preview picture is shown
CN105187653B (en) Network connection switchs method for closing and device
CN105930049A (en) Method for avoiding incorrect operation, and terminal
CN105306682A (en) Method and device for automatically disconnecting network connection
CN106484326B (en) A kind of data transmission processing method and mobile terminal
CN104866167A (en) Method and device for controlling quick floating layer panel
CN105892850B (en) Open method, device and the mobile terminal of application program for mobile terminal
CN105357657B (en) The construction method and device of Mesh network
CN105162930B (en) The way of recording and device of mobile terminal
CN105187652A (en) Recording method and apparatus
CN104991699A (en) Video display control method and apparatus
CN106817489B (en) The reminding method and mobile terminal of message
CN105100361B (en) The way of recording and device of mobile terminal
CN105786439A (en) Method and device for controlling sound in terminal
CN106980558A (en) The method for cleaning and mobile terminal of Backup Data
CN105808043A (en) Setting method of terminal application and mobile terminal
CN105262894B (en) The way of recording and device
CN109656431A (en) Information display method, device and storage medium
CN104090743A (en) Music locating method and device for mobile terminal and mobile terminal
CN106255146B (en) A kind of electricity-saving control method of terminal, device and terminal

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
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP03 Change of name, title or address