Detailed description of the invention
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 carried out clearly
Chu, it is fully described by, it is clear that described embodiment is a part of embodiment of the present invention rather than all
Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor
The every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
Fig. 1 is the schematic flow sheet of an embodiment of the method for the application interface switching of the present invention.Such as Fig. 1 institute
Showing, it comprises the steps that
Step S110, when the trigger condition of the speech recognition window of satisfied display speech recognition component, first
The application interface of application shows the speech recognition window of speech recognition component.
In implementing, can the trigger condition of speech recognition window of pre-set satisfied display speech recognition component.
Such as, can arrange when detecting that user's application interface in described first application performs pulling operation, determine
Meet the trigger condition of the speech recognition window of display speech recognition component;Or, can arrange when use being detected
Family, when described first application interface performs one or many clicking operation, determines and meets display speech recognition group
The trigger condition of the speech recognition window of part;Or, can arrange when detecting that user presses predetermined physical or void
When intending button, determine the trigger condition of the speech recognition window meeting display speech recognition component;Or, can
Arrange when detecting that user rocks terminal, determine the speech recognition window of satisfied display speech recognition component
Trigger condition.Or, other arbitrary triggering modes can be set.So, can detect whether in step S110
Meet the trigger condition of the speech recognition window of satisfied display speech recognition component set in advance, if detection
Arrive, then in the application interface of the first application, show the speech recognition window of speech recognition component.With terminal quilt
As a example by rocking, in implementing, terminal can install the kinestate of acceleration transducer Real-time Collection terminal,
And pre-set an acceleration rate threshold (such as, be 19) determining that terminal is shaken, so when terminal
When the accekeration that acceleration transducer gathers is more than or equal to acceleration rate threshold, then can determine that terminal is shaken
Shake
Referring to figs. 2 and 3, it is assumed that preset under detecting that user's application interface in described first application performs
During pulling process, determine the trigger condition of the speech recognition window meeting display speech recognition component.Then such as Fig. 2
Shown in, when user performs pulling operation under the short message interface of Fig. 2, terminal detects and short disappears described
When breath interface performs pulling operation, just can determine that touching of the satisfied speech recognition window showing speech recognition component
Clockwork spring part, thus, the short message interface of Fig. 2 is just changed into shown in Fig. 3, in figure 3 answering at short message
Show the speech recognition window of speech recognition component with the first half in interface, lower half is still the phase of short message
Close messaging list.
In implementing, when being unsatisfactory for the trigger condition showing the speech recognition window of speech recognition component,
Speech recognition window in the application interface of the first application is in hidden state.The embodiment of the present invention can be passed through will
Speech recognition window is sized to zero to realize hidden state, so, and can be by changing in step S110
The speech recognition window of speech recognition component display size in the application interface of described first application, makes institute
Predicate sound identification window becomes display state from hidden state.In implementing, the embodiment of the present invention also can be led to
Cross other mode to realize hiding of speech recognition window, such as, by carried out virtualization process or
Realize hiding by the way of removing it screen.Virtualization is processed to the mode hidden, can in step S110
Make it visible by the way of removal blurs, and for removing the mode that screen is hidden, in step S110
Can again draw in screen.
Step S111, the language described speech recognition window sent by described speech recognition component identification user
Sound instructs.
In implementing, speech recognition component, in addition to including speech recognition window, may also include the language on backstage
Sound identification module and voice identification result feedback module, in step S111, then can be by speech recognition component
The phonetic order of speech recognition window reception is identified by sound identification module.And pass through voice identification result
Recognition result is fed back to speech recognition window by feedback module.Still with aforesaid short message example, such as,
User can send the phonetic order of " making a phone call to Cindy " at the speech recognition window of Fig. 3, in step S111
Sound identification module and voice identification result feedback by speech recognition component just can export on interface and " give
Cindy makes a phone call " word, the most as shown in Figure 4.
Step S112, when identifying described phonetic order for application switching command, from described first application
Application interface is switched to the application interface of the second application.
In implementing, the phonetic order in the input of step S111 can be to apply switching command or non-application to cut
Change instruction, still with aforesaid short message example, when the phonetic order of user's typing " input short message ",
Then the interface of short message can be changed into message editing interface from messaging list in step S112.And when user records
When entering the phonetic order of " making a phone call to Cindy ", then can be according to " beating to Cindy in step S112
Phone " voice identification result, be switched to the application interface made a phone call from the application interface of short message.That is,
The application interface called of Fig. 5 can be switched to from the application interface of the short message of Fig. 3.As shown in Figure 5,
When being switched to the application interface called of Fig. 5 from the application interface of the short message of Fig. 3, speech recognition
The speech recognition window of assembly is naturally also switched to the relevant position in the application interface called.Certainly,
In implementing, it is possible to when the application interface that first applies being switched to the application interface of the second application, from
The dynamic speech recognition window hiding speech recognition component, until again meet in the application interface of the second application
The trigger condition of the speech recognition window of display speech recognition component.
In implementing, the phonetic order in the input of step S111 can be also to hide described speech recognition window
Instruction, then in step S112 when identifying described phonetic order and being the instruction hiding described speech recognition window,
Described speech recognition window can be hidden from the application interface of described first application.Equally, can lead in step S112
Cross various ways and hide described speech recognition window, such as, by changing the speech recognition of speech recognition component
Window display size in the application interface of described first application, makes described speech recognition window from display shape
State becomes hidden state, or, by the way of blurring described speech recognition window, or, by by institute
Predicate sound identification window removes the mode of screen etc. and realizes hiding speech recognition window.
Accordingly, the embodiment of the invention also discloses corresponding terminal unit.Below the embodiment of terminal is entered
Row illustrates.
Fig. 6 is the structure composition schematic diagram of an embodiment of the terminal of the present invention.As shown in Figure 6, it can wrap
Include: display trigger module 61, identification module 62, handover module 63, wherein:
Display trigger module 61, for when the triggering bar of the speech recognition window meeting display speech recognition component
During part, the application interface of the first application shows the speech recognition window of speech recognition component.
In implementing, can the trigger condition of speech recognition window of pre-set satisfied display speech recognition component.
Such as, can arrange when detecting that user's application interface in described first application performs pulling operation, determine
Meet the trigger condition of the speech recognition window of display speech recognition component;Or, can arrange when use being detected
Family, when described first application interface performs one or many clicking operation, determines and meets display speech recognition group
The trigger condition of the speech recognition window of part;Or, can arrange when detecting that user presses predetermined physical or void
When intending button, determine the trigger condition of the speech recognition window meeting display speech recognition component;Or, can
Arrange when detecting that user rocks terminal, determine the speech recognition window of satisfied display speech recognition component
Trigger condition.Or, other arbitrary triggering modes can be set.So, display trigger module 61 can detect
Whether meet the trigger condition of the speech recognition window of satisfied display speech recognition component set in advance, if
Detect, then in the application interface of the first application, show the speech recognition window of speech recognition component.With end
As a example by end is shaken, in implementing, terminal can install the motion shape of acceleration transducer Real-time Collection terminal
State, and pre-set an acceleration rate threshold (such as, be 19) determining that terminal is shaken, so work as end
When the accekeration that the acceleration transducer of end gathers is more than or equal to acceleration rate threshold, show trigger module
61 can determine that terminal is shaken
Referring to figs. 2 and 3, it is assumed that preset under detecting that user's application interface in described first application performs
During pulling process, determine the trigger condition of the speech recognition window meeting display speech recognition component.Then such as Fig. 2
Shown in, when user performs pulling operation under the short message interface of Fig. 2, terminal detects and short disappears described
When breath interface performs pulling operation, just can determine that touching of the satisfied speech recognition window showing speech recognition component
Clockwork spring part, thus, the short message interface of Fig. 2 is just changed into shown in Fig. 3, in figure 3 answering at short message
Show the speech recognition window of speech recognition component with the first half in interface, lower half is still the phase of short message
Close messaging list.
In implementing, when being unsatisfactory for the trigger condition showing the speech recognition window of speech recognition component,
Speech recognition window in the application interface of the first application is in hidden state.The embodiment of the present invention can be passed through will
Speech recognition window is sized to zero to realize hidden state, so, with reference to Fig. 7, a kind of feasible
In embodiment, the terminal that the present invention implements may also include detection module 65, for detecting whether meet display
The trigger condition of the speech recognition window of speech recognition component.In implementing, detection module 65 can detect and be
The trigger condition of the no speech recognition window meeting satisfied display speech recognition component set in advance.Concrete real
In Xian, detection module 65 is the most drop-down in the application interface execution of described first application specifically for detection user
Operation, if being detected as is to determine the trigger condition of the speech recognition window meeting display speech recognition component;
Or, it is used for detecting whether user performs one or many clicking operation at described first application interface, if
It is detected as being to determine the trigger condition of the speech recognition window meeting display speech recognition component;Or, use
Predetermined physical or virtual key whether is pressed, if being detected as is to determine and meet display voice in detection user
The trigger condition of the speech recognition window of recognizer component;Or, whether rock terminal for user, if inspection
It is yes for surveying, and determines the trigger condition of the speech recognition window meeting display speech recognition component.
Then show that trigger module 61 is specifically for meeting display speech recognition when described detection module 65 detects
During the trigger condition of the speech recognition window of assembly, change the speech recognition window of speech recognition component described
Display size in the application interface of the first application, makes described speech recognition window become display from hidden state
State.In implementing, when speech recognition window is display state, the display size of speech recognition window
Size is more than 0, changes less than in the range of screen size.Owing to the display size of speech recognition window is little
When screen size, application content and speech recognition window are shown in same interface by the embodiment of the present invention,
The screen size space making terminal limited is maximally utilized, and makes user in limited dimensional space
Obtain more valid data information.
Certainly, in implementing, the embodiment of the present invention realizes speech recognition window also by other mode
Mouthful hide, such as, by being carried out virtualization process or hidden by realizing by the way of removing it screen
Hide.Virtualization is processed to the mode hidden, then can show that trigger module 61 makes it by the way of removal blurs
Visible, and for removing the mode that screen is hidden, display trigger module 61 can be by the voice that will remove
Identification window is again drawn in the mode of screen and is shown described speech recognition window.
Identification module 62, for sending out described speech recognition window by described speech recognition component identification user
The phonetic order gone out.
In implementing, speech recognition component, in addition to including speech recognition window, may also include the language on backstage
Sound identification module and voice identification result feedback module, then identification module 62 can be by the language of speech recognition component
The phonetic order of speech recognition window reception is identified by sound identification module.And it is anti-by voice identification result
Recognition result is fed back to speech recognition window by feedback module.Still with aforesaid short message example, such as, use
Family can send the phonetic order of " making a phone call to Cindy " at the speech recognition window of Fig. 3, starves identification module
52 just can be exported by sound identification module and the voice identification result feedback of speech recognition component on interface
The word " saying late arriving to Cindy ", the most as shown in Figure 4.
Handover module 63, for identifying described phonetic order for application switching command when described identification module 62
Time, the application interface of the second application it is switched to from the application interface of described first application.
In implementing, the phonetic order of user's input can be application switching command or non-application switching command,
Still with aforesaid short message example, when the phonetic order of user's typing " input short message ", switch mould
The interface of short message can be changed into message editing interface from messaging list by block 63.And when user's typing " is given
Cindy makes a phone call " phonetic order time, handover module 63 can be according to the language to " making a phone call to Cindy "
Sound recognition result, is switched to the application interface made a phone call from the application interface of short message.That is, can be from Fig. 3
The application interface of short message be switched to the application interface called of Fig. 5.As shown in Figure 5, when from Fig. 3
The application interface of short message when being switched to the application interface called of Fig. 5, the language of speech recognition component
Sound identification window is naturally also switched to the relevant position in the application interface called.Certainly, implement
In, it is possible to when the application interface that first applies being switched to the application interface of the second application, automatic hidden Tibetan language
The speech recognition window of sound recognizer component, until again meet display voice in the application interface of the second application
The trigger condition of the speech recognition window of recognizer component.
In implementing, the phonetic order of user's input can be also the instruction hiding described speech recognition window,
The most as shown in Figure 8, the terminal of the embodiment of the present invention may also include hiding module 64, for when identification module 62
When identifying the instruction that described phonetic order is hiding described speech recognition window, from answering of described first application
Described speech recognition window is hidden with interface.Equally, hide module 64 and can hide institute's predicate in several ways
Sound identification window, such as, by changing the speech recognition window of speech recognition component in described first application
Display size in application interface, makes described speech recognition window become hidden state from display state, or,
By the way of blurring described speech recognition window, or, by described speech recognition window is removed screen
Mode etc. realize speech recognition window is hidden.
By above description, the embodiment of the present invention is when the speech recognition meeting display speech recognition component
During the trigger condition of window, the application interface of the first application shows the speech recognition window of speech recognition component
Mouthful, and by described speech recognition component, the phonetic order of speech recognition window reception is identified, due to,
Speech recognition component is as a part for application interface display content, and thus, the embodiment of the present invention achieves
From the application interface of the application interface of the first application to the second application under the application interface of the first application opened
Being switched fast, it needs to exit the first application with prior art and enters back into the second application and have significant advantage.And
And, the embodiment of the present invention is in the limited dimensional space of screen, simultaneously to application content and speech recognition component
Speech recognition window show so that limited dimensional space is maximally utilized, and makes user
More valid data information is obtained in limited dimensional space.
The sequence of steps of the method for the embodiment of the present invention can be adjusted according to actual needs.The present invention implements
The module of the terminal of example can carry out integrating and Further Division according to actual needs.The end of the embodiment of the present invention
End can be mobile phone, computer, portable set etc..
The module of the embodiment of the present invention or module, can with universal integrated circuit (such as central processor CPU), or with
Special IC (ASIC) realizes.One of ordinary skill in the art will appreciate that the various of above-described embodiment
All or part of step in method can be by program and completes to instruct relevant hardware, and this program can
To be stored in a computer-readable recording medium, storage medium may include that flash disk, read only memory
(Read-Only Memory, ROM), random access device (Random Access Memory, RAM),
Disk or CD etc..
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention it
Interest field, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment,
And according to the equivalent variations that the claims in the present invention are made, still fall within the scope that invention is contained.