CN105681660A - Photographing mode switching method and device - Google Patents

Photographing mode switching method and device Download PDF

Info

Publication number
CN105681660A
CN105681660A CN201610038996.4A CN201610038996A CN105681660A CN 105681660 A CN105681660 A CN 105681660A CN 201610038996 A CN201610038996 A CN 201610038996A CN 105681660 A CN105681660 A CN 105681660A
Authority
CN
China
Prior art keywords
mode
screening
sample
vibration signal
user
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
CN201610038996.4A
Other languages
Chinese (zh)
Other versions
CN105681660B (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 CN201610038996.4A priority Critical patent/CN105681660B/en
Publication of CN105681660A publication Critical patent/CN105681660A/en
Application granted granted Critical
Publication of CN105681660B publication Critical patent/CN105681660B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Abstract

The embodiment of the invention discloses a photographing mode switching method and device. According to the embodiment of the invention, vibration signals generated through knocking a mobile terminal by a user are obtained in a first photographing mode; then whether there is a sample matching the vibration signals in a preset sample set is determined; if there is the sample, the photographing mode corresponding to the sample is obtained, thus obtaining a second photographing mode; and switching from the first photographing mode to the second photographing mode, thus switching the photographing mode. According to the scheme, the operation is simple and convenient; single-hand operation can be realized; and the processing efficiency can be improved.

Description

The switching method and apparatus of a kind of screening-mode
Technical field
The present invention relates to communication technical field, it is specifically related to the switching method and apparatus of a kind of screening-mode.
Background technology
Along with the development of the communication technology, the function of mobile terminal also becomes more and more to enrich with powerful, such as shoot function, and photograph out captured by it can match in excellence or beauty gradually in camera, and therefore, nowadays most users all can be selected to be taken by mobile terminal. In the prior art, shoot function in mobile terminal generally can comprise isotype of taking pictures and make a video recording, when user opens one of them pattern, such as during exposal model, if desired other patterns it are switched to, such as image pickup mode, then need just can be switched by the switching key clicked on screen.
To in the research and practice process of prior art, the present inventor finds, needs just can be switched by the switching key clicked on screen due to existing scheme, and this switching key is usually located at the specific position on screen, therefore, it is generally required to user's both hands just can operate, it is achieved comparatively inconvenience, and, need due to user first to find this switching key just can operate, so, switching efficiency also there is is certain influence.
Summary of the invention
The embodiment of the present invention provides the switching method and apparatus of a kind of screening-mode, not only easy and simple to handle, it is possible to realizes singlehanded operation, and can improve its processing efficiency.
The embodiment of the present invention provides the switching method of a kind of screening-mode, comprising:
Under the first screening-mode, obtain the vibration signal that user produces by knocking mobile terminal;
Determine whether default sample set exists and the sample of described vibration Signal Matching;
If existing, then obtain the screening-mode that coupling sample is corresponding, obtain the 2nd screening-mode;
Described first screening-mode is switched to the 2nd screening-mode.
Accordingly, the embodiment of the present invention also provides the shifter of a kind of screening-mode, comprising:
First acquiring unit, for, under the first screening-mode, obtaining the vibration signal that user produces by knocking mobile terminal;
Whether determining unit, exist in default sample set and the sample of described vibration Signal Matching for determining;
2nd acquiring unit, for when determining unit determines to there is the sample with described vibration Signal Matching, obtaining the screening-mode that coupling sample is corresponding, obtain the 2nd screening-mode;
Switch unit, for switching to the 2nd screening-mode by described first screening-mode.
The embodiment of the present invention adopts under the first screening-mode, obtain the vibration signal that user produces by knocking mobile terminal, then, determine whether default sample set exists and the sample of this vibration Signal Matching, if existing, then obtain the screening-mode that coupling sample is corresponding, obtain the 2nd screening-mode, and this first screening-mode is switched to the 2nd screening-mode, thus the object that screening-mode is switched by realization; Owing to the program can realize the switching of screening-mode by knocking mobile terminal, such as, from exposal model to recording mode, or from recording mode to exposal model, etc., therefore, for the scheme needing the switching key by clicking specific position on screen to carry out switching in prior art, it is possible to greatly simplify the operation of user, it is possible not only to reduce the treatment time, improve processing efficiency, and, also it is more convenient for realizing singlehanded operation.
Accompanying drawing explanation
In order to the technical scheme being illustrated more clearly in the embodiment of the present invention, below the accompanying drawing used required in embodiment being described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schema of the switching method of the screening-mode that the embodiment of the present invention provides;
Fig. 2 is another schema of the switching method of the screening-mode that the embodiment of the present invention provides;
Fig. 3 a is the structural representation of the shifter of the screening-mode that the embodiment of the present invention provides;
Fig. 3 b is another structural representation of the shifter of the screening-mode that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, those skilled in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides the switching method and apparatus of a kind of screening-mode. To be described in detail respectively below.
Embodiment one,
Angle from the shifter of screening-mode is described by the present embodiment, and the shifter of this screening-mode specifically can be in the terminal integrated, and this mobile terminal is specifically as follows the equipment such as mobile phone or panel computer.
The switching method of a kind of screening-mode, it is characterised in that, comprising: under the first screening-mode, obtain the vibration signal that user produces by knocking mobile terminal; Determine whether default sample set exists and the sample of this vibration Signal Matching; If existing, then obtain the screening-mode that coupling sample is corresponding, obtain the 2nd screening-mode; This first screening-mode is switched to the 2nd screening-mode.
As shown in Figure 1, the idiographic flow of the switching method of this screening-mode can be as follows:
101, under the first screening-mode, the vibration signal that user produces is obtained by knocking mobile terminal.
Wherein, this the first screening-mode refers to the screening-mode at current place, it is possible to exposal model, it is also possible to be recording mode, can also be other pattern, such as " slow motion " pattern, time-lapse photography pattern, " photo " pattern, panning mode and/or " video " pattern etc.Such as, if being currently located at panning mode, then this first screening-mode is panning mode, if being currently located at " slow motion " pattern, then this first screening-mode is " slow motion " pattern, analogizes with this, etc.
Wherein, this kind knocks and generally can produce by directly knocking mobile mobile terminal optional position with hand, or, it is also possible to it is by other hard object, such as knocks mobile mobile terminal with penholder, key etc. and realize; And, the position knocked can be not construed as limiting, and can be such as the screen of mobile terminal, the back side or frame etc.
Microphone and loud speaker is generally had due to mobile terminal, therefore, microphone or loud speaker that mobile terminal carries can be utilized to identify this kind of special voice signal, and this voice signal is converted into vibration signal, namely step " obtaining the vibration signal that user produces by knocking mobile terminal " specifically can comprise:
The vibration signal produced by knocking mobile terminal by the microphone of mobile terminal or loud speaker acquisition user.
Wherein, this microphone can comprise various types of microphone, such as electret microphone, silicon microphone etc., and loud speaker can also comprise various types of loud speaker. If simulation microphone or analog speakers, then can first obtain the simulating signal that user produces by knocking mobile terminal, then by D/A converter module, this simulating signal is converted to numerary signal, obtain vibration signal; And if digital microphone or digital loudspeaker, then can direct output digit signals, it is not necessary to carry out digital-to-analog conversion.
It should be noted that, except microphone and loud speaker, it is also possible to comprise the device of any sound-electric conversion, do not repeat them here.
102, determining whether exist and the sample of this vibration Signal Matching in default sample set, if existing, then performing step 103, if not existing, then flow process terminates, and optionally, user now can be reminded to re-start and knock.
Wherein, due to this vibration signal be a kind of knock vibrations mobile terminal time produce voice signal, the hammer action time is very of short duration, and carry out solid propagation by mobile terminal, therefore, this voice signal is a kind of special voice signal, such as, from the time, this voice signal very short (millisecond rank); From signal amplitude size relatively, being the microphone or the loud speaker that directly shake mobile terminal during owing to knocking, be that solid is propagated, therefore, the intensity of the more general voice signal of its intensity is bigger, and the level produced is also relatively large; Further, from frequency spectrum, the whole recording frequency range of the frequency coverage of this voice signal, and the amplitude difference of each frequency is little, so, also sound from general is different; Some is known based on above-mentioned, even if at noisy environment, it is also possible to by this voice signal, namely vibrate signal and recognize out, therefore, when being mated by this vibration signal, specifically this vibration signal can be carried out fourier transformation (FFT), to convert frequency domain to, and then analyze, such as time, frequency and amplitude can be analyzed respectively, etc., and determine whether and default sample matches based on this analytical results; Namely " determine the sample (i.e. step 102) whether existed in default sample set with this vibration Signal Matching " specifically can comprise:
Determine the frequency spectrum of this vibration signal, respectively time of this frequency spectrum, frequency and amplitude are analyzed, obtain analytical results, it is determined that preset in sample set and whether exist and the sample that this analytical results mates, if existing, then determine this default sample set exists the sample with this vibration Signal Matching;If not existing, then determine that this default sample set does not exist and the sample of this vibration Signal Matching.
Wherein, this default sample can be arranged according to the demand of practical application, such as, the vibration signal produced when can knock mobile terminal by multi collect user, then analyze, obtaining the sample signal that this user applicable knocks custom, wherein, the time knocked and number of times can be arranged according to the hobby of user.
When 103, determining that default sample set exists the sample with this vibration Signal Matching, obtain the screening-mode that coupling sample is corresponding, for convenience, in embodiments of the present invention, screening-mode corresponding for this coupling sample is called the 2nd screening-mode.
Wherein, this default sample set can comprise at least one signal sample, it is called for short sample, often kind of sample can corresponding a kind of screening-mode, these screening-modes can be arranged according to the demand of practical application, such as, it is possible to comprise exposal model, recording mode and other pattern, such as " slow motion " pattern, time-lapse photography pattern, " photo " pattern, panning mode and/or " video " pattern etc. And the mapping relation (i.e. corresponding relation) of sample and screening-mode can be arranged in advance by system, can also arrange voluntarily by user, namely, before step " obtaining the screening-mode that coupling sample is corresponding ", the switching method of this screening-mode can also comprise:
What receive user arranges request, arranges, according to this, the mapping relation that sample and screening-mode are set up in request;
Then now, step " obtaining the screening-mode that coupling sample is corresponding, obtain the 2nd screening-mode " can comprise: mates screening-mode corresponding to sample based on this mapping Relation acquisition, obtains the 2nd screening-mode.
Wherein, mode according to arranging the mapping relation that sample and screening-mode are set up in request can have multiple, such as, request can be set according to this and directly receive the sample of user's input and the corresponding relation of screening-mode, or, corresponding screening-mode can also be provided to select for user, then the sample that user inputs is received based on the screening-mode chosen, or, can also after user's input amendment, corresponding screening-mode is provided to select for user, the mapping relation between input amendment and the screening-mode of selection is set up again based on this selection, etc., namely such as, step " is asked, according to arranging, the mapping relation setting up sample and screening-mode " and specifically can be comprised:
Acquisition request user's input amendment is set according to this, and obtains the screening-mode that user selects based on input amendment, set up the mapping relation between this input amendment and screening-mode of selection.
104, this first screening-mode is switched to the 2nd screening-mode.
Such as, if the first screening-mode (i.e. current shooting pattern) is exposal model, and the 2nd screening-mode is recording mode, then now, it is possible to exposal model is switched to recording mode.
Again such as, if the first screening-mode (i.e. current shooting pattern) is exposal model, and the 2nd screening-mode is time-lapse photography pattern, then now, it is possible to exposal model switches to time-lapse photography pattern, analogize with this, etc.
As from the foregoing, the present embodiment adopts under the first screening-mode, obtain the vibration signal that user produces by knocking mobile terminal,, it is determined that preset in sample set and whether exist and the sample of this vibration Signal Matching, then if existing, then obtain the screening-mode that coupling sample is corresponding, obtain the 2nd screening-mode, and this first screening-mode is switched to the 2nd screening-mode, thus the object that screening-mode is switched by realization;Owing to the program can realize the switching of screening-mode by knocking mobile terminal, such as, from exposal model to recording mode, or from recording mode to exposal model, etc., therefore, for the scheme needing the switching key by clicking specific position on screen to carry out switching in prior art, it is possible to greatly simplify the operation of user, it is possible not only to reduce the treatment time, improve processing efficiency, and, also it is more convenient for realizing singlehanded operation.
Embodiment two,
According to the method described by embodiment one, below citing is described in further detail.
In the present embodiment, by specifically in the terminal integrated with the shifter of this screening-mode, and it is described to obtain vibration signal by microphone.
As shown in Figure 2, the switching method of a kind of screening-mode, idiographic flow can be as follows:
201, under the first screening-mode, the vibration signal that mobile terminal is produced by knocking mobile terminal by the microphone acquisition user carried.
Wherein, this first screening-mode can be exposal model, it can also be recording mode, it can also be other pattern, such as " slow motion " pattern, time-lapse photography pattern, " photo " pattern, panning mode and/or " video " pattern etc., for convenience, in the present embodiment, it is described being all specially exposal model for this first screening-mode.
Such as, user is utilizing this mobile terminal to carry out in the process taken pictures, and suddenly wishes exposal model is switched to recording mode, then user can trigger the generation of this vibration signal by knocking mobile terminal, then, mobile terminal just can get this vibration signal by the microphone carried.
Wherein, knock generally can by with hand or by other hard object, such as knocking mobile mobile terminal optional position with penholder, key etc. and produce for this kind; When knocking, position can be not construed as limiting, and can be such as the screen of mobile terminal, the back side or frame etc.
It should be noted that, this microphone can comprise various types of microphone, such as electret microphone, silicon microphone etc. If simulation microphone or analog speakers, then can first obtain the simulating signal that user produces by knocking mobile terminal, then by D/A converter module, this simulating signal is converted to numerary signal, obtain vibration signal; And if digital microphone or digital loudspeaker, then can direct output digit signals, it is not necessary to carry out digital-to-analog conversion.
202, mobile terminal determines the frequency spectrum of this vibration signal, time of this frequency spectrum, frequency and amplitude is analyzed respectively, obtains analytical results; Such as, specifically can be as follows:
(1) this vibration signal is carried out fourier transformation (FFT), obtain corresponding frequency domain signal, i.e. frequency spectrum, also referred to as spectrum signal.
(2) this spectrum signal is analyzed, such as time, frequency and amplitude can be analyzed respectively, to export current actuating signal, i.e. analytical results, specifically can be as follows:
Time (Time) is analyzed: can determine whether the time cycle of this spectrum signal exceedes preset time period [T1, T2] scope, if, then illustrate it is not normal hammer action, filtered and exported NG signal (namely representing undesirable signal), if meeting in this preset time period [T1, T2] scope, then illustrate and meet the requirements, it is possible to export OK signal (namely representing satisfactory signal).Wherein, this preset time period [T1, T2] can be arranged based on the constructional feature of the feature of hammer action and mobile terminal, such as, knocks the recorded audio signals analysis of mobile phone according to actual finger first, and T1 is generally not more than 5ms, T2 and is not more than 20ms.
Frequency (Frequency) distributional analysis: provide output signal by adding up the distribution situation of each frequency of this spectrum signal, if frequency distribution is continuous and frequency band is broad, exports OK signal, otherwise exports NG signal. From reality contrast, especially between 6Khz to most high frequency (sampling rate frequency is divided by 2), frequency distribution is continuous.
Amplitude (Amplitude) is analyzed: the signal energy analyzing the whole frequency range of this spectrum signal, if signal average energy is higher than the value of setting, exports OK signal, otherwise exports NG signal.
Statistics identifies: determine whether current be hammer action according to the analytical results that time series analysis, frequency analysis and amplitude analysis obtain, such as, if being all OK signal, then represent for hammer action, and if NG signal, then represent it is not hammer action, etc.; Then, add up the interval knocked, if the action knocked for twice that is connected is too short, such as lower than T3 (such as 50ms), it is contemplated that so not fast to the action of people, it may be determined that this section of spectrum signal is undesirable, does not export current actuating signal; If be connected, the time of twice action is longer than T4 (such as 500ms), then think that last action does not belong to the action of first N time, namely determine that the spectrum signal corresponding to last action does not belong to this current actuating signal, so, only export signal corresponding to several actions above, as this current actuating signal; If all action intervals all meet in [T3, T4], then thinking that this is a certain action specified, namely this spectrum signal corresponding to series action all belongs to this current actuating signal.
203, mobile terminal determines whether exist in default sample set and the sample that this analytical results mates, if existing, then performs step 204, if not existing, then flow process terminates, and optionally, user now can be reminded to re-start and knock.
Wherein, this default sample set can comprise at least one sample, this sample can be arranged according to the demand of practical application, such as, the vibration signal produced when can knock mobile terminal by multi collect user, then analyzes, and obtains the sample signal that this user applicable knocks custom, wherein, the time knocked and number of times can be arranged according to the hobby of user.
Such as, if user knocks 1 time, if and preset in sample set and just have the sample corresponding with " knocking 1 time ", then now can determine this default sample set exists the sample with this vibration Signal Matching (namely mating) with analytical results, so performing step 204, if and preset in sample set and have and " knocking 2 times ", and the sample that " knocking 3 times " etc. is corresponding, but there is not the sample corresponding with " knocking 1 time ", then now just can determine that this default sample set does not exist and the sample of this vibration Signal Matching (namely mating with analytical results), so flow process terminates.
204, when mobile terminal determines to there is the sample with this vibration Signal Matching in default sample set, preset based on sample and screening-mode and map screening-mode corresponding to Relation acquisition coupling sample, obtain the 2nd screening-mode.
Wherein, often kind of sample in this default sample set can corresponding a kind of screening-mode, these screening-modes can be arranged according to the demand of practical application, such as, exposal model, recording mode and other pattern can be comprised, such as " slow motion " pattern, time-lapse photography pattern, " photo " pattern, panning mode and/or " video " pattern etc.
The mapping relation (i.e. corresponding relation) of sample and screening-mode can be arranged in advance by system, can also arrange voluntarily by user, namely, before step " obtaining the screening-mode that coupling sample is corresponding ", the switching method of this screening-mode can also comprise:
What receive user arranges request, arranges, according to this, the mapping relation that sample and screening-mode are set up in request.
Such as, request can be set according to this and directly receive the sample of user's input and the corresponding relation of screening-mode, or, corresponding screening-mode can also be provided to select for user, then receive the sample that user inputs based on the screening-mode chosen, or, can also after user's input amendment, there is provided corresponding screening-mode to select for user, then set up the mapping relation between input amendment and the screening-mode of selection based on this selection, etc.
Such as, if user is arranged knocks 1 time, corresponding screening-mode is recording mode, knocking 2 times, corresponding screening-mode is panning mode, knocks 3 times, corresponding screening-mode is " slow motion " pattern, etc., if then in step 201, the number of times that user knocks is 1 time, then the screening-mode now needing to obtain is " recording mode ", with reason, if in step 201, the number of times that user knocks is 2 times, then the screening-mode now needing to obtain is " panning mode ", analogize with this, etc.
205, this first screening-mode is switched to the 2nd screening-mode by mobile terminal.
Such as, if the first screening-mode (i.e. current shooting pattern) is exposal model, and the 2nd screening-mode is recording mode, then now, exposal model can be switched to recording mode by mobile terminal.
Again such as, if the first screening-mode (i.e. current shooting pattern) is exposal model, and the 2nd screening-mode is panning mode, then now, exposal model can be switched to panning mode by mobile terminal, analogizes with this, etc.
As from the foregoing, the present embodiment adopts under the first screening-mode, the vibration signal produced by knocking mobile terminal by the microphone acquisition user carried by mobile terminal,, it is determined that preset in sample set and whether exist and the sample of this vibration Signal Matching, then if existing, then obtain the screening-mode that coupling sample is corresponding, obtain the 2nd screening-mode, and this first screening-mode is switched to the 2nd screening-mode, thus the object that screening-mode is switched by realization; Owing to the program can realize the switching of screening-mode by knocking mobile terminal, such as, from exposal model to recording mode, or from recording mode to exposal model, etc., therefore, for the scheme needing the switching key by clicking specific position on screen to carry out switching in prior art, it is possible to greatly simplify the operation of user, it is possible not only to reduce the treatment time, improve processing efficiency, and, also it is more convenient for realizing singlehanded operation.
Embodiment three,
In order to implement above method better, the embodiment of the present invention also provides the shifter of a kind of screening-mode, as shown in Figure 3 a, the shifter of this screening-mode comprises the first acquiring unit 301, determining unit 302, the 2nd acquiring unit 303 and switch unit 304, as follows:
(1) first acquiring unit 301;
First acquiring unit 301, for, under the first screening-mode, obtaining the vibration signal that user produces by knocking mobile terminal.
Wherein, this first screening-mode can comprise exposal model, recording mode, " slow motion " pattern, time-lapse photography pattern, " photo " pattern, panning mode and/or " video " pattern etc.And knock generally can by by hand or other hard object, such as knocking mobile mobile terminal optional position with penholder or key etc. realizes, and, the position knocked can be not construed as limiting, and can be such as the screen of mobile terminal, the back side or frame etc.
Microphone and loud speaker is generally had, therefore, it is possible to use the microphone that mobile terminal carries or loud speaker are to identify this kind of special voice signal, and this voice signal is converted into vibration signal, that is: due to mobile terminal
This first acquiring unit 301, specifically may be used for the vibration signal that the microphone by mobile terminal or loud speaker obtain user and produce by knocking mobile terminal.
Wherein, this microphone can comprise various types of microphone, such as electret microphone, silicon microphone etc., and loud speaker can also comprise various types of loud speaker. If simulation microphone or analog speakers, then can first obtain the simulating signal that user produces by knocking mobile terminal, then by D/A converter module, this simulating signal is converted to numerary signal, obtain vibration signal; And if digital microphone or digital loudspeaker, then can direct output digit signals, it is not necessary to carry out digital-to-analog conversion.
It should be noted that, except microphone and loud speaker, it is also possible to comprise the device of any sound-electric conversion, do not repeat them here.
(2) determining unit 302;
Whether determining unit 302, exist in default sample set and the sample of this vibration Signal Matching for determining.
Such as, when this vibration signal is mated, this vibration signal specifically can be carried out fourier transformation (FFT), to convert frequency domain to, and then analyze, such as time, frequency and amplitude can be analyzed respectively, etc., and determine whether and default sample matches based on this analytical results, that is:
This determining unit 302, specifically may be used for determining the frequency spectrum of this vibration signal; Respectively time of this frequency spectrum, frequency and amplitude are analyzed, obtain analytical results; Determining whether default sample set exists and the sample that this analytical results mates, if existing, then determining this default sample set exists the sample with this vibration Signal Matching; If not existing, then determine that this default sample set does not exist and the sample of this vibration Signal Matching.
Wherein, this default sample set can comprise at least one sample, this sample can be arranged according to the demand of practical application, such as, the vibration signal produced when can knock mobile terminal by multi collect user, then analyzes, and obtains the sample signal that this user applicable knocks custom, wherein, the time knocked and number of times can be arranged according to the hobby of user.
(3) the 2nd acquiring units 303;
2nd acquiring unit 303, for when determining unit determines to there is the sample with this vibration Signal Matching, obtaining the screening-mode that coupling sample is corresponding, obtain the 2nd screening-mode.
Wherein, preset each sample in sample set all to there being a kind of screening-mode, these screening-modes can be arranged according to the demand of practical application, such as, it is possible to comprise exposal model, recording mode, " slow motion " pattern, time-lapse photography pattern, " photo " pattern, panning mode and/or " video " pattern etc. And the mapping relation (i.e. corresponding relation) of sample and screening-mode can be arranged in advance by system, can also arrange voluntarily by user, as shown in Figure 3 b, namely the shifter of this screening-mode can also comprise reception unit 305 and set up unit 306, as follows:
Receive unit 305, request is set for what receive user;
Set up unit 306, for arranging, according to this, the mapping relation that sample and screening-mode are set up in request.
Such as, this sets up unit 306, specifically may be used for arranging acquisition request user's input amendment according to this, and obtains the screening-mode that user selects based on input amendment; Set up the mapping relation between this input amendment and screening-mode of selection.
Then now, the 2nd acquiring unit 303, specifically may be used for mating screening-mode corresponding to sample based on this mapping Relation acquisition, obtains the 2nd screening-mode.
(4) switch unit 304;
Switch unit 304, for switching to the 2nd screening-mode by this first screening-mode.
Such as, if the first screening-mode (i.e. current shooting pattern) is exposal model, and the 2nd screening-mode is recording mode, then now, exposal model can be switched to recording mode by switch unit 304.
Again such as, if the first screening-mode (i.e. current shooting pattern) is exposal model, and the 2nd screening-mode is time-lapse photography pattern, then now, exposal model can be switched to time-lapse photography pattern by switch unit 304, analogizes with this, etc.
When specifically implementing, each unit above can realize as independent entity, it is also possible to carries out arbitrary combination, realizes as same or some entities, and the concrete enforcement of each unit above see embodiment of the method above, can not repeat them here.
The shifter of this screening-mode specifically can be in the terminal integrated, and this mobile terminal is specifically as follows the equipment such as mobile phone or panel computer.
As from the foregoing, the present embodiment adopts under the first screening-mode, obtain the vibration signal that user produces by knocking mobile terminal,, it is determined that preset in sample set and whether exist and the sample of this vibration Signal Matching, then if existing, then obtain the screening-mode that coupling sample is corresponding, obtain the 2nd screening-mode, and this first screening-mode is switched to the 2nd screening-mode, thus the object that screening-mode is switched by realization; Owing to the program can realize the switching of screening-mode by knocking mobile terminal, such as, from exposal model to recording mode, or from recording mode to exposal model, etc., therefore, for the scheme needing the switching key by clicking specific position on screen to carry out switching in prior art, it is possible to greatly simplify the operation of user, it is possible not only to reduce the treatment time, improve processing efficiency, and, also it is more convenient for realizing singlehanded operation.
The all or part of step that one of ordinary skill in the art will appreciate that in the various methods of above-described embodiment can be completed by the hardware that program carrys out instruction relevant, this program can be stored in a computer-readable recording medium, storage media can comprise: read-only storage (ROM, ReadOnlyMemory), random access memory body (RAM, RandomAccessMemory), disk or CD etc.
The switching method and apparatus of a kind of screening-mode embodiment of the present invention provided above is described in detail, apply specific case herein the principle of the present invention and enforcement mode to have been set forth, illustrating just for helping the method understanding the present invention and core concept thereof of above embodiment; Meanwhile, for the technician of this area, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. the switching method of a screening-mode, it is characterised in that, comprising:
Under the first screening-mode, obtain the vibration signal that user produces by knocking mobile terminal;
Determine whether default sample set exists and the sample of described vibration Signal Matching;
If existing, then obtain the screening-mode that coupling sample is corresponding, obtain the 2nd screening-mode;
Described first screening-mode is switched to the 2nd screening-mode.
2. method according to claim 1, it is characterised in that, described determine whether default sample set exists and the sample of described vibration Signal Matching, comprising:
Determine the frequency spectrum of described vibration signal;
Respectively time of described frequency spectrum, frequency and amplitude are analyzed, obtain analytical results;
Determine whether default sample set exists and the sample that described analytical results mates,
If existing, then determine described default sample set exists the sample with described vibration Signal Matching;
If not existing, then determine described default sample set not to exist and the sample of described vibration Signal Matching.
3. method according to claim 1, it is characterised in that, also comprise:
What receive user arranges request;
According to described, the mapping relation that sample and screening-mode are set up in request is set;
Described acquisition mates screening-mode corresponding to sample, obtains the 2nd screening-mode, comprising: mates screening-mode corresponding to sample based on described mapping Relation acquisition, obtains the 2nd screening-mode.
4. method according to claim 3, it is characterised in that, described request is set sets up the mapping relation of sample and screening-mode according to described, comprising:
Acquisition request user's input amendment is set according to described, and obtains the screening-mode that user selects based on input amendment;
Set up the mapping relation between described input amendment and the screening-mode of selection.
5. method according to the arbitrary item of Claims 1-4, it is characterised in that, the vibration signal that described acquisition user produces by knocking mobile terminal, comprising:
The vibration signal produced by knocking mobile terminal by the microphone of mobile terminal or loud speaker acquisition user.
6. the shifter of a screening-mode, it is characterised in that, comprising:
First acquiring unit, for, under the first screening-mode, obtaining the vibration signal that user produces by knocking mobile terminal;
Whether determining unit, exist in default sample set and the sample of described vibration Signal Matching for determining;
2nd acquiring unit, for when determining unit determines to there is the sample with described vibration Signal Matching, obtaining the screening-mode that coupling sample is corresponding, obtain the 2nd screening-mode;
Switch unit, for switching to the 2nd screening-mode by described first screening-mode.
7. device according to claim 6, it is characterised in that,
Described determining unit, specifically for determining the frequency spectrum of described vibration signal; Respectively time of described frequency spectrum, frequency and amplitude are analyzed, obtain analytical results; Determining whether default sample set exists and the sample that described analytical results mates, if existing, then determining described default sample set exists the sample with described vibration Signal Matching; If not existing, then determine described default sample set not to exist and the sample of described vibration Signal Matching.
8. device according to claim 6, it is characterised in that, also comprise and receive unit and set up unit;
Receive unit, request is set for what receive user;
Set up unit, for arranging, according to described, the mapping relation that sample and screening-mode are set up in request;
Described 2nd acquiring unit, specifically for mating screening-mode corresponding to sample based on described mapping Relation acquisition, obtains the 2nd screening-mode.
9. device according to claim 8, it is characterised in that,
Described set up unit, specifically for arranging acquisition request user's input amendment according to described, and obtain the screening-mode that user selects based on input amendment;Set up the mapping relation between described input amendment and the screening-mode of selection.
10. device according to the arbitrary item of claim 6 to 9, it is characterised in that,
Described first acquiring unit, specifically for the vibration signal produced by knocking mobile terminal by the microphone of mobile terminal or loud speaker acquisition user.
CN201610038996.4A 2016-01-20 2016-01-20 A kind of switching method and apparatus of screening-mode Expired - Fee Related CN105681660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610038996.4A CN105681660B (en) 2016-01-20 2016-01-20 A kind of switching method and apparatus of screening-mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610038996.4A CN105681660B (en) 2016-01-20 2016-01-20 A kind of switching method and apparatus of screening-mode

Publications (2)

Publication Number Publication Date
CN105681660A true CN105681660A (en) 2016-06-15
CN105681660B CN105681660B (en) 2019-07-16

Family

ID=56301768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610038996.4A Expired - Fee Related CN105681660B (en) 2016-01-20 2016-01-20 A kind of switching method and apparatus of screening-mode

Country Status (1)

Country Link
CN (1) CN105681660B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023124200A1 (en) * 2021-12-27 2023-07-06 北京荣耀终端有限公司 Video processing method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436345A (en) * 2011-10-31 2012-05-02 广州市动景计算机科技有限公司 Method for interface operation and control of mobile device and implement device
CN103645845A (en) * 2013-11-22 2014-03-19 华为终端有限公司 Knocking control method and terminal
US20140160316A1 (en) * 2012-12-12 2014-06-12 Lg Electronics Inc. Mobile terminal and control method thereof
CN104092932A (en) * 2013-12-03 2014-10-08 腾讯科技(深圳)有限公司 Acoustic control shooting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436345A (en) * 2011-10-31 2012-05-02 广州市动景计算机科技有限公司 Method for interface operation and control of mobile device and implement device
US20140160316A1 (en) * 2012-12-12 2014-06-12 Lg Electronics Inc. Mobile terminal and control method thereof
CN103645845A (en) * 2013-11-22 2014-03-19 华为终端有限公司 Knocking control method and terminal
CN104092932A (en) * 2013-12-03 2014-10-08 腾讯科技(深圳)有限公司 Acoustic control shooting method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023124200A1 (en) * 2021-12-27 2023-07-06 北京荣耀终端有限公司 Video processing method and electronic device

Also Published As

Publication number Publication date
CN105681660B (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN104424953B (en) Audio signal processing method and device
CN110970057B (en) Sound processing method, device and equipment
JP2021516786A (en) Methods, devices, and computer programs to separate the voices of multiple people
WO2015067160A1 (en) Sound processing method and terminal device
CN103491488A (en) Echo cancellation method and device for microphone
WO2015154282A1 (en) Call device and switching method and device applied thereto
CN104092809A (en) Communication sound recording method and recorded communication sound playing method and device
CN105719672A (en) Recording scene mode switching method and recording scene mode switching mode device
CN110232909A (en) A kind of audio-frequency processing method, device, equipment and readable storage medium storing program for executing
CN105681658B (en) A kind of image processing method and device
CN105682258B (en) A kind of switching method and apparatus of subscriber identification card
CN108108144B (en) Electronic equipment and information processing method
CN105681660A (en) Photographing mode switching method and device
CN103200480A (en) Headset and working method thereof
CN111081238B (en) Bluetooth sound box voice interaction control method, device and system
CN105718165B (en) A kind of starting method and device of terminal background application
CN105718163A (en) Screen capture method and apparatus for mobile terminal
CN104506588B (en) A kind of method and device for the mobile rehearsal for realizing band
CN105739818B (en) Photo delet method and photo delete device
CN103312911B (en) Data processing method and electronic terminal
CN105718174B (en) Interface switching method and system
CN105549744A (en) Brightness control method and device of terminal screen
WO2023051622A1 (en) Method for improving far-field speech interaction performance, and far-field speech interaction system
CN201160320Y (en) Novel DSP automatic notch digital frequency shifter
CN105516605A (en) Shooting method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190716