The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide a kind of method of voice interface and terminal.Institute
It is as follows to state technical scheme:
First aspect, there is provided a kind of method of voice interface, method include:
The state of the voice interface window of each second terminal in interactive group is detected, according to the voice of each second terminal
The state of interaction window determines effectively online second terminal;
Second terminal of the detection with voice interface ability, effectively exists all in all effectively online second terminals
Line and with voice interface ability second terminal as the second terminal for possessing voice interface condition;
The interactive indicator of all second terminals for possessing voice interface condition is shown, according to the interactive indicator of display with possessing
The second terminal of voice interface condition carries out voice interface.
As a kind of alternative embodiment, the state of the voice interface window according to each second terminal determines effectively to exist
The second terminal of line, including:
Judge whether the voice interface window of each second terminal is shown in front end and unobstructed;
Voice interface window is included in front end and unobstructed second terminal is as effectively online second terminal.
As a kind of alternative embodiment, judge whether the voice interface window of each second terminal is shown in front end and nothing
After blocking, in addition to:
The voice interface that voice interface window is shown in front end and unobstructed second terminal is detected in preset time
The operation of window;
Voice interface window is included in front end and unobstructed second terminal is as effectively online second terminal, bag
Include:
Voice interface window is included in front end and unobstructed and detect in preset time voice interface window
Operation second terminal as effectively online second terminal.
As a kind of alternative embodiment, in all effectively online second terminals detection with voice interface ability the
Two terminals, including:
The microphone of each effectively online second terminal is tested;
If the microphone test of any second terminal passes through, have voice mutual using any second terminal as what is detected
The second terminal of kinetic force.
As a kind of alternative embodiment, at least one second is selected from all second terminals for possessing voice interface condition
Terminal, including:
According to the interactive indicator of display at least one second is selected from all second terminals for possessing voice interface condition
Terminal, voice interface is carried out with selected second terminal.
Second aspect, there is provided a kind of terminal of voice interface, the terminal include:
First detection module, the state of the voice interface window for detecting each second terminal in interactive group;
Determining module, the state for the voice interface window according to each second terminal determine effectively online second eventually
End;
Second detection module, for detecting second with voice interface ability in all effectively online second terminals
Terminal;
Processing module, for all effectively online and with voice interface ability second terminals are mutual as possessing voice
The second terminal of dynamic condition;
Display module, for showing the interactive indicator of all second terminals for possessing voice interface condition;
Voice interface module, language is carried out for the interactive indicator according to display and the second terminal for possessing voice interface condition
Sound is interactive.
As a kind of alternative embodiment, the determining module, including:
Whether judging unit, the voice interface window for judging each second terminal are shown in front end and unobstructed;
First processing units, for voice interface window to be included in front end and unobstructed second terminal as effectively existing
The second terminal of line.
As a kind of alternative embodiment, the determining module, in addition to:
Detection unit, front end and unobstructed second is shown in eventually for detecting voice interface window in preset time
The operation of the voice interface window at end;
The first processing units, for voice interface window to be included in front end and unobstructed and in preset time
Inside detect the second terminal of the operation of voice interface window as effectively online second terminal.
As a kind of alternative embodiment, second detection module, including:
Test cell, for testing the microphone of each effectively online second terminal;
Second processing unit, for when any second terminal microphone test pass through when, then will it is described it is any second end
End is as the second terminal with voice interface ability detected.
As a kind of alternative embodiment, the voice interface module, including:
Selecting unit, selected for the interactive indicator according to display from all second terminals for possessing voice interface condition
At least one second terminal;
Voice interface unit, for carrying out voice interface with selected second terminal.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Possesses voice interface condition by the way that all effectively online and with voice interface ability second terminals are used as
Second terminal, and after showing the interactive indicator of all second terminals for possessing voice interface condition, according to the interactive indicator of display
Voice interface is carried out with possessing the second terminal of voice interface condition, so as to realize and possess the second terminal of voice interface condition
Voice interface is carried out, improves the efficiency of voice interface.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is refer to, it illustrates the implementation environment involved by the method for voice interface provided in an embodiment of the present invention
Structural representation.As shown in figure 1, the implementation environment includes first terminal 101 and second terminal 102, first terminal 101 and second
It can be communicated between terminal 102 by cable network or wireless network.First terminal 101 and second terminal 102 can be
Smart mobile phone, tablet personal computer, pocket computer on knee etc..Fig. 1 only shows a first terminal 101 and two second terminals
102, when it is implemented, first terminal 101 and second terminal 102 can also have multiple, the present embodiment and subsequent embodiment be not right
The quantity of first terminal 101 and second terminal 102 is defined.
In addition, the first terminal 101 and second terminal 102 mentioned in the present embodiment and subsequent embodiment can be directed to it is same
Theme or same content etc. carry out interactive voice, so as to form interactive group.The present embodiment is not to first terminal in interactive group
101 and the quantity of second terminal be defined, the side of interactive group is not added to first terminal 101 and second terminal 102 equally
Formula is defined.When it is implemented, first terminal 101 and second terminal 102 can be directed to same subject or same content application
Add same interactive group and carry out voice interface, and when the terminal in same interactive group carries out voice interface, terminal can be passed through
Microphone realize.For current first terminal 101 when carrying out voice interface with second terminal 102, the wheat of second terminal 102
Gram wind can not use or the situation of unattended second terminal 102, the embodiments of the invention provide a kind of method of voice interface,
Referring to Fig. 2, method flow includes:
101:The state of the voice interface window of each second terminal in interactive group is detected, according to each second terminal
The state of voice interface window determines effectively online second terminal;
As a kind of alternative embodiment, determined according to the state of the voice interface window of each second terminal effectively online
Second terminal, including:
Judge whether the voice interface window of each second terminal is shown in front end and unobstructed;
Voice interface window is included in front end and unobstructed second terminal is as effectively online second terminal.
As a kind of alternative embodiment, judge whether the voice interface window of each second terminal is shown in front end and nothing
After blocking, in addition to:
The voice interface that voice interface window is shown in front end and unobstructed second terminal is detected in preset time
The operation of window;
Voice interface window is included in front end and unobstructed second terminal is as effectively online second terminal, bag
Include:
Voice interface window is included in front end and unobstructed and detect in preset time voice interface window
Operation second terminal as effectively online second terminal.
102:Second terminal of the detection with voice interface ability, has all in all effectively online second terminals
Effect is online and has the second terminal of voice interface ability as the second terminal for possessing voice interface condition;
As a kind of alternative embodiment, in all effectively online second terminals detection with voice interface ability the
Two terminals, including:
The microphone of each effectively online second terminal is tested;
If the microphone test of any second terminal passes through, have voice mutual using any second terminal as what is detected
The second terminal of kinetic force.
103:Show the interactive indicator of all second terminals for possessing voice interface condition, according to the interactive indicator of display with
The second terminal for possessing voice interface condition carries out voice interface.
As a kind of alternative embodiment, carried out according to the interactive indicator of display and the second terminal for possessing voice interface condition
Voice interface, including:
According to the interactive indicator of display at least one second is selected from all second terminals for possessing voice interface condition
Terminal, voice interface is carried out with selected second terminal.
Method provided in an embodiment of the present invention, by by second terminals all effectively online and with voice interface ability
As the second terminal for possessing voice interface condition, and show the interactive indicator of all second terminals for possessing voice interface condition
Afterwards, voice interface is carried out according to the interactive indicator of display and the second terminal for possessing voice interface condition, so as to realize and possess
The second terminal of voice interface condition carries out voice interface, improves the efficiency of voice interface.
The embodiments of the invention provide a kind of method of voice interface, in the embodiment with reference to shown in above-mentioned Fig. 1 and Fig. 2
Hold, so that the method for voice interface is applied to teacher to the scene of student's progress classroom instruction as an example, wherein, teacher's operation first is eventually
End, student operate second terminal, and each student can operate the interactive group that second terminal application is added where teacher, make first
Terminal and all second terminals form interactive group, and first terminal can control second terminal to carry out voice interface.Referring to figure
3, method flow includes:
201:Before first terminal judges whether the voice interface window of each second terminal in interactive group is shown in most
Hold and unobstructed;
Wherein, whether the voice interface window of each second terminal of the first terminal in interactive group is judged is shown in most
Front end and it is unobstructed before, can first determine the second terminal in interactive group.On determining the side of the second terminal in interactive group
Formula, the present embodiment are not especially limited.When it is implemented, the mark of second terminal can be shown, it is true according to the mark of second terminal
Second terminal in fixed interactive group.
Wherein, when voice interface window is that second terminal runs voice interface application program, the voice interface interface of display,
Voice interface can be carried out by the teacher of the voice interface window and operation first terminal by operating the student of second terminal.
Due to that may run multiple application programs in second terminal simultaneously, and the student for operating second terminal may make
With any application program in multiple application programs of operation;If the application program that the student of operation second terminal is used
It is not voice interface application program, then may causes the failure of voice interface.And when voice interface window be shown in front end and
When unobstructed, show that voice interface application program is used in the student for operating second terminal.Therefore, in order to ensure operation second
Voice interface application program is used in the student of terminal, and method provided in an embodiment of the present invention judges each in interactive group
Whether the voice interface window of second terminal is shown in front end and unobstructed, is used so as to eliminate except voice interface should
The second terminal operated with the student of the other applications outside program, and then improve the efficiency of voice interface.On judging
Whether the voice interface window of each second terminal in interactive group is shown in front end and unobstructed mode, the present embodiment
It is not especially limited.For example, the detection that first terminal sends voice interface window to each second terminal instructs, by interactive group
In each second terminal according to the detection instruction by API (Application Programming Interface, application
Program Interfaces) detect whether voice interface window is active, obtain state-detection result;If voice window is in
State of activation, then show voice interface window in front end and unobstructed;State-detection result is returned to first by second terminal
Terminal, first terminal receive the state-detection result for the voice interface window that each second terminal in interactive group is sent;If
The state-detection result for the voice interface window that any second terminal received is sent is in activation shape for voice interface window
State, then first terminal judge that the voice interface window of the second terminal is shown in front end and unobstructed.
202:First terminal detects voice interface window in preset time and is shown in front end and unobstructed second eventually
The operation of the voice interface window at end;
When the voice interface window of second terminal be shown in front end and it is unobstructed when, although showing to operate second terminal
Voice interface application program is used in student, but the student due to operating second terminal still suffers from language not in reasons such as seats
Sound interaction window is shown in front end and the unattended situation of unobstructed second terminal.
In order to avoid voice interface window is shown in front end and the unattended situation of unobstructed second terminal, this reality
The method for applying example offer detects sound interaction window in preset time by first terminal and is shown in front end and unobstructed second
The operation of the voice interface window of terminal, so as to ensure that in preset time voice interface window is shown in front end and unobstructed
Second terminal someone operation.On the mode of detection, this implementation is not especially limited.For example, first terminal is mutual to each voice
Dynamic window is shown in front end and unobstructed second terminal sends operation detection instruction, before being shown in most by voice interface window
End and unobstructed second terminal detect the operation of voice interface window according to operation detection instruction in preset time, obtain
Operate testing result;Voice interface window is shown in front end and unobstructed second terminal will operate testing result and return to the
One terminal, first terminal receive the operation detection knot that voice interface window is shown in front end and unobstructed second terminal is sent
Fruit;If the operation testing result that any second terminal received is sent is that voice interface window is detected in preset time
Operation, then first terminal detect that voice interface window is shown in front end and unobstructed second terminal in preset time
The operation of voice interface window.
Wherein, the present embodiment is not defined to the length of preset time.If the when it is implemented, preset time set
Too short, then the student that possibly be present at operation second terminal in preset time also has not enough time to situation about being operated;If set
The preset time put is long, then is likely to occur the situation of unattended second terminal.Therefore, can be set according to actual conditions pre-
If the time, for example, preset time could be arranged to 30 seconds etc..
203:First terminal includes voice interface window in front end and unobstructed and detect in preset time
The second terminal of the operation of voice interface window is as the effective online second terminal detected;
The present embodiment provide method the voice interface window for judging second terminal be shown in front end and it is unobstructed when,
Continuation detection sound interaction window in preset time is shown in the voice interface window of front end and unobstructed second terminal
Operation, so as to ensure that sound interaction window is shown in front end and unobstructed and detect in preset time voice interface window
Operation second terminal someone operation, and voice interface application program is used in the student for operating second terminal.Therefore,
Voice interface window can be included in front end and operation that is unobstructed and detecting in preset time voice interface window
Second terminal as the effective online second terminal detected.
Further, it is to complete effectively online second in the interactive group of detection by above-mentioned steps 201 to step 203
Terminal, in order to complete voice interface, the method that the present embodiment provides also includes subsequent step.
204:The first terminal second terminal of detection with voice interface ability in all effectively online second terminals,
Using all second terminals effective online and that there is voice interface ability as the second terminal for possessing voice interface condition;
Because effectively online second terminal is installed without the reasons such as the microphone damage of microphone or installation, cause
Effectively online second terminal can not get the voice messaging of student's input of operation second terminal, so first terminal with
When effectively online second terminal carries out voice interface, the voice messaging that effectively online second terminal is sent can not be received,
Voice interface is caused to fail.Therefore, method provided in an embodiment of the present invention detects tool in all effectively online second terminals
There is a second terminal of voice interface ability, and using all effectively online and second terminals with voice interface ability as possessing
The second terminal of voice interface condition.Wherein, the second terminal with voice interface ability can normally obtain operation second terminal
Student's input voice messaging, on detecting in all effectively online second terminals detection with voice interface ability
The mode of second terminal, the present embodiment are not especially limited.
As a kind of alternative embodiment, in all effectively online second terminals detection with voice interface ability the
Two terminals, include but is not limited to:
The microphone of each effectively online second terminal is tested;
If the microphone test of any second terminal passes through, have voice mutual using any second terminal as what is detected
The second terminal of kinetic force.
Wherein, the present embodiment is not defined to the mode for testing each microphone of effective online second terminal.Tool
When body is implemented, microphone test instruction can be sent from first terminal to each effectively online second terminal, effectively be existed by each
Whether the second terminal of line can collect voice messaging according to the test instruction testing microphone, and test result is returned into
One terminal;First terminal receives the testing result that each effectively online second terminal is sent;If receive any second eventually
The test result at end is that microphone can collect voice messaging, then the microphone test of the second terminal passes through.
It should be noted that above-mentioned each step directly interacts with second terminal except first terminal, to perform phase
Outside should operating, first terminal can also interact with server, be interacted again with second terminal by server, and will obtain
To result feed back to first terminal, first terminal is carried out the operation of above-mentioned each step, specifically using which kind of mode, this reality
Example is applied to be not especially limited.
205:First terminal shows the interactive indicator of all second terminals for possessing voice interface condition, according to the mutual of display
Dynamic mark carries out voice interface with possessing the second terminal of voice interface condition.
Voice interface can be normally carried out due to possessing the second terminal of voice interface condition, therefore, first terminal detection
Second terminal with voice interface ability, using all effectively online and second terminals with voice interface ability as possessing
After the second terminal of voice interface condition, the interactive indicator of all second terminals for possessing voice interface condition can be shown, is entered
And voice interface is carried out with possessing the second terminal of voice interface condition according to the interactive indicator of display.
Wherein, interactive indicator includes but is not limited to be used to identify icon effectively online and with voice interface ability, should
Interactive indicator can be arbitrary form, and the present embodiment the concrete form to interactive indicator and is not particularly shown mode and is defined.
When it is implemented, the interactive indicator may be displayed on the interactive interface of first terminal, removed on the interactive interface of the first terminal
Outside the interactive indicator for the second terminal that display possesses voice interface condition, it can also show account is used corresponding to first terminal
As, belong to all second terminals of same interactive group corresponding to the voice interface content of user's head portrait and interactive group, this reality
Example is applied not to be defined the content shown on the interactive interface of first terminal.By taking the interactive interface shown in Fig. 4 as an example, first eventually
Except in user's head portrait (the interface upper right corner) corresponding to display first terminal and same interactive group on the interactive interface at end
Outside user's head portrait corresponding to each second terminal (corresponding to first terminal below user's head portrait), also in each second terminal pair
Microphone icon is shown before the user's head portrait answered, can be in corresponding user for possessing the second terminal of voice interface condition
Interactive indicator " ★ " is shown before head portrait and microphone icon, for showing that the second terminal is effectively online and mutual with voice
Kinetic force.Similarly, can be in corresponding user's head portrait and microphone icon for not possessing the second terminal of voice interface condition
" ☆ " is shown before, for showing that the second terminal is not yet in effect online and/or without voice interface ability.
Furthermore, it is necessary to explanation, no matter in which way display possesses the interaction of the second terminal of voice interface condition
Mark, the state for whether possessing voice interface condition due to second terminal can be with real-time change, thus the institute that first terminal is shown
The interactive indicator for having the second terminal for possessing voice interface condition can be with real-time update.For example, second terminal A was in 5 minutes causes
It can not be used for microphone without possessing voice interface condition, first terminal does not show the interactive indicator of the second terminal, such as should
" ☆ " is shown before user's head portrait corresponding to second terminal A and microphone icon.But user corresponding to second terminal A is to afterwards
The microphone of two terminals is repaired, so that second terminal A microphone recovers normal after 5 minutes, and by above-mentioned
The detection of step, second terminal A possess voice interface condition, thus after the interactive interface renewal of first terminal, show the
Two terminal A interactive indicator, i.e., show " ★ " before user's head portrait and microphone icon corresponding to second terminal A.
Further, voice interface is carried out according to the interactive indicator of display and the second terminal for possessing voice interface condition
When, at least one second can be selected from all second terminals for possessing voice interface condition according to the interactive indicator of display eventually
End, and carry out voice interface with the second terminal of selection.On selecting mode the present embodiment of second terminal to be not especially limited,
For example, user corresponding to first terminal selects double-click from all second terminals for possessing voice interface condition, one of them possesses
User's head portrait corresponding to the second terminal of voice interface condition, first terminal will be double-clicked the second terminal of user's head portrait as choosing
The second terminal selected, and carry out voice interface with it.
No matter which kind of mode second terminal is selected using, first terminal is carrying out voice interface with the second terminal of selection
When, the mode interactive to concrete sound is not defined the present embodiment.When it is implemented, it can be set by the microphone of first terminal
The speech data of user corresponding to priming first terminal, and the speech data is sent to each second terminal of selection.When
So, each selected second terminal can be by the speech data of user corresponding to the recording of its microphone apparatus, and is recorded
Speech data be sent to first terminal, so as to realize user corresponding to user corresponding to first terminal and selected second terminal
Between voice interface.
For example, carry out the application scenarios of voice interface by first terminal and second terminal respectively for teacher and student,
By the interactive indicator that all second terminals for possessing voice interface condition are shown in the first terminal of operation of teacher so that operation
The teacher of first terminal would know that all second terminals for possessing voice interface condition, and then first terminal can detect teacher's selection
Second terminal, with teacher selection second terminal carry out voice interface.
In addition, the flow chart of voice interface shown in Figure 5, step 201 is corresponding to be started and classroom window is preposition and nothing
Block and do not possess interactive condition, do not show interactive icons.Step 202 has operation and not for corresponding nearest 30 seconds in the window of classroom
Possess interactive condition, do not show interactive icons.For step 203 correspondence markings to be effectively online, the corresponding Mike point test of step 204 is logical
Cross and labeled as online and have voice interface ability and do not possess interactive condition, do not show interactive icons, step 205 is corresponding to be possessed
Interactive condition, show interactive icons.
Method provided in an embodiment of the present invention, by by second terminals all effectively online and with voice interface ability
As the second terminal for possessing voice interface condition, and show the interactive indicator of all second terminals for possessing voice interface condition
Afterwards, voice interface is carried out according to the interactive indicator of display and the second terminal for possessing voice interface condition, so as to realize and possess
The second terminal of voice interface condition carries out voice interface, improves the efficiency of voice interface.
Referring to Fig. 6, the embodiments of the invention provide a kind of terminal of voice interface, the terminal be used to performing above-mentioned Fig. 2 or
The method that embodiment shown in Fig. 3 provides.The terminal includes:
First detection module 401, the state of the voice interface window for detecting each second terminal in interactive group;
Determining module 402, the state for the voice interface window according to each second terminal determine effectively online the
Two terminals;
Second detection module 403, for being detected in all effectively online second terminals with voice interface ability
Second terminal;
Processing module 404, for using all effectively online and second terminals with voice interface ability as possessing language
The second terminal of sound interaction condition;
Display module 405, for showing the interactive indicator of all second terminals for possessing voice interface condition;
Voice interface module 406, for carrying out voice interface with the second terminal of selection.
As a kind of alternative embodiment, referring to Fig. 7, determining module 402, including:
Whether judging unit 4021, the voice interface window for judging each second terminal are shown in front end and without screenings
Gear;
First processing units 4022, for voice interface window to be included in front end and unobstructed second terminal as having
Imitate online second terminal.
As a kind of alternative embodiment, referring to Fig. 8, determining module 402, in addition to:
Detection unit 4023, front end and unobstructed the are shown in for detecting voice interface window in preset time
The operation of the voice interface window of two terminals;
First processing units 4022, for voice interface window to be included in front end and unobstructed and in preset time
Inside detect the second terminal of the operation of voice interface window as effectively online second terminal.
As a kind of alternative embodiment, referring to Fig. 9, the second detection module 403, including:
Test cell 4031, for testing the microphone of each effectively online second terminal;
Second processing unit 4032, for when any second terminal microphone test pass through when, then will any second end
End is as the second terminal with voice interface ability detected.
As a kind of alternative embodiment, referring to Figure 10, voice interface module 406, including:
Selecting unit 4061, for the interactive indicator according to display from all second terminals for possessing voice interface condition
Select at least one second terminal;
Voice interface unit 4062, for carrying out voice interface with selected second terminal.
Terminal provided in an embodiment of the present invention, by by second terminals all effectively online and with voice interface ability
As the second terminal for possessing voice interface condition, and show the interactive indicator of all second terminals for possessing voice interface condition
Afterwards, voice interface is carried out according to the interactive indicator of display and the second terminal for possessing voice interface condition, so as to realize and possess
The second terminal of voice interface condition carries out voice interface, improves the efficiency of voice interface.
Figure 11 is refer to, it illustrates the structural representation of the terminal involved by the embodiment of the present invention, the terminal can be used
In the method for the voice interface for implementing to provide in above-described embodiment.Specifically:
Terminal 1100 can include RF (Radio Frequency, radio frequency) circuit 110, include one or more
The memory 120 of computer-readable recording medium, input block 130, display unit 140, sensor 150, voicefrequency circuit 160,
WiFi (Wireless Fidelity, Wireless Fidelity) module 170, include one or the processing of more than one processing core
The part such as device 180 and power supply 190.It will be understood by those skilled in the art that the terminal structure shown in Figure 11 is not formed pair
The restriction of terminal, it can include than illustrating more or less parts, either combine some parts or different part cloth
Put.Wherein:
RF circuits 110 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information receives, transfer to one or more than one processor 180 is handled;In addition, it is sent to up data are related to
Base station.Generally, RF circuits 110 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, use
Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex
Device etc..In addition, RF circuits 110 can also be communicated by radio communication with network and other equipment.The radio communication can make
With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely
Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code
Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple
Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short
Messaging Service, Short Message Service) etc..
Memory 120 can be used for storage software program and module, and processor 180 is stored in memory 120 by operation
Software program and module, so as to perform various function application and data processing.Memory 120 can mainly include storage journey
Sequence area and storage data field, wherein, storing program area can storage program area, the application program (ratio needed at least one function
Such as sound-playing function, image player function) etc.;Storage data field can store uses created number according to terminal 1100
According to (such as voice data, phone directory etc.) etc..In addition, memory 120 can include high-speed random access memory, can also wrap
Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input block 130 to memory
120 access.
Input block 130 can be used for the numeral or character information for receiving input, and generation is set with user and function
Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 130 may include to touch
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, collect and use
Family on or near it touch operation (such as user using any suitable object or annex such as finger, stylus in touch-sensitive table
Operation on face 131 or near touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.It is optional
Ground, 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 means, and is converted into contact coordinate, then gives processor 180, and can reception processing device 180
The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 131.Except touch sensitive surface 131, input block 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.),
One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used for display by the information of user's input or be supplied to the information and terminal 1100 of user
Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.
Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal
Show device), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel
141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on or near it
After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing type of the device 180 according to touch event
Corresponding visual output is provided on display panel 141.Although in fig. 11, touch sensitive surface 131 and display panel 141 are conducts
Two independent parts come realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 with display
Panel 141 is integrated and realizes input and output function.
Terminal 1100 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 141, and proximity transducer can close display when terminal 1100 is moved in one's ear
Panel 141 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally
Three axles) acceleration size, size and the direction of gravity are can detect that when static, available for identification terminal posture application (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely
The other sensors such as the gyroscope that can also configure in terminal 1100, barometer, hygrometer, thermometer, infrared ray sensor, herein
Repeat no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and terminal 1100.Sound
Electric signal after the voice data received conversion can be transferred to loudspeaker 161, is converted to by loudspeaker 161 by frequency circuit 160
Voice signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is received by voicefrequency circuit 160
After be converted to voice data, it is such as another to be sent to through RF circuits 110 then after voice data output processor 180 is handled
Terminal, or voice data is exported to memory 120 further to handle.Voicefrequency circuit 160 is also possible that earplug is inserted
Hole, to provide the communication of peripheral hardware earphone and terminal 1100.
WiFi belongs to short range wireless transmission technology, and terminal 1100 can help user to receive and dispatch electricity by WiFi module 170
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Figure 11 shows
Go out WiFi module 170, but it is understood that, it is simultaneously not belonging to must be configured into for terminal 1100, completely can be according to need
To be omitted in the essential scope for do not change invention.
Processor 180 is the control centre of terminal 1100, utilizes various interfaces and each portion of the whole terminal of connection
Point, by running or performing the software program and/or module that are stored in memory 120, and call and be stored in memory 120
Interior data, the various functions and processing data of terminal 1100 are performed, so as to carry out integral monitoring to terminal.Optionally, handle
Device 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modulation /demodulation processing
Device, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly located
Manage radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 1100 also includes the power supply 190 (such as battery) to all parts power supply, it is preferred that power supply can pass through electricity
Management system and processor 180 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 190 can also include one or more direct current or AC power, recharging system, power supply event
The random component such as barrier detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 1100 can also include camera, bluetooth module etc., will not be repeated here.Specifically at this
In embodiment, the display unit of terminal is touch-screen display, and terminal also includes memory, and one or more than one
Program, one of them or more than one program storage in memory, and be configured to by one or more than one
Device is managed to perform.One or more than one program bag contains the method pair for being used for performing the interactive voice described in above-described embodiment
The operational order answered.
Terminal provided in an embodiment of the present invention, by by second terminals all effectively online and with voice interface ability
As the second terminal for possessing voice interface condition, and show the interactive indicator of all second terminals for possessing voice interface condition
Afterwards, voice interface is carried out according to the interactive indicator of display and the second terminal for possessing voice interface condition, so as to realize and possess
The second terminal of voice interface condition carries out voice interface, improves the efficiency of voice interface.
It should be noted that:The terminal for the voice interface that above-described embodiment provides is when carrying out voice interface, only with above-mentioned
The division progress of each functional module, can be as needed and by above-mentioned function distribution by different for example, in practical application
Functional module is completed, i.e., the internal structure of terminal is divided into different functional modules, with complete it is described above whole or
Partial function.In addition, the terminal of voice interface and the embodiment of the method for voice interface that above-described embodiment provides belong to same structure
Think, its specific implementation process refers to embodiment of the method, repeated no more here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.