WO2016019695A1 - Voice interaction method and terminal - Google Patents

Voice interaction method and terminal Download PDF

Info

Publication number
WO2016019695A1
WO2016019695A1 PCT/CN2014/096015 CN2014096015W WO2016019695A1 WO 2016019695 A1 WO2016019695 A1 WO 2016019695A1 CN 2014096015 W CN2014096015 W CN 2014096015W WO 2016019695 A1 WO2016019695 A1 WO 2016019695A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
voice interaction
online
window
capability
Prior art date
Application number
PCT/CN2014/096015
Other languages
French (fr)
Chinese (zh)
Inventor
刘豫军
Original Assignee
广州华多网络科技有限公司
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 广州华多网络科技有限公司 filed Critical 广州华多网络科技有限公司
Publication of WO2016019695A1 publication Critical patent/WO2016019695A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling

Definitions

  • the present application relates to the field of information technology, and in particular, to a method and terminal for voice interaction.
  • the first mode the first terminal selects at least one second terminal and performs voice interaction with the selected second terminal.
  • the second mode the first terminal receives the voice interaction request sent by the at least one second terminal; the first terminal selects at least one second terminal according to all the received voice interaction requests, and performs voice interaction with the selected second terminal.
  • the first terminal directly selects the second terminal and performs voice interaction. Because the selected second terminal's microphone cannot be used or the second terminal is selected by the unmanned operation, the first terminal cannot be selected with the first terminal.
  • the second terminal performs voice interaction, which makes the voice interaction less efficient.
  • the first terminal selects the second terminal according to the received voice interaction request sent by the at least one second terminal, and performs voice interaction, but the microphone of the second terminal is still unavailable, and the first terminal cannot be used.
  • the selected second terminal performs voice interaction, resulting in low efficiency of voice interaction.
  • the embodiment of the present application provides a method and terminal for voice interaction.
  • the technical solution is as follows:
  • a method for voice interaction comprising:
  • the state of the voice interaction window determines the second terminal that is effectively online, and the interaction group includes the first terminal and the at least one second terminal;
  • the voice interaction is performed according to the second terminal having the voice interaction condition.
  • the determining, according to the state of the voice interaction window of each second terminal, the second terminal that is effectively online includes:
  • the voice interaction window is displayed at the forefront and the second terminal is occluded as the second terminal that is effectively online.
  • the method further includes:
  • Displaying the voice interaction window at the forefront and unobstructing the second terminal as the second terminal of the effective online including:
  • the second terminal that displays the voice interaction window at the forefront and has no occlusion and detects the operation of the voice interaction window within a preset time is used as the second terminal of the effective online.
  • detecting the second terminal having voice interaction capability in all the second terminals that are effectively online includes:
  • any second terminal is used as the detected second terminal with voice interaction capability.
  • the voice interaction is performed according to the displayed interactive identifier and the second terminal having the voice interaction condition, including:
  • the method further includes:
  • the first terminal displays an inability to interact with the second terminal that is not active online and/or has no voice interaction capability.
  • the method further includes:
  • the detected non-interactive identifier of the second terminal is updated to an interactive identifier.
  • a terminal for voice interaction includes:
  • a first detecting module configured to detect a state of a voice interaction window of each second terminal in the interaction group, where the interaction group includes a first terminal and at least one second terminal;
  • a determining module configured to determine, according to a state of the voice interaction window of each second terminal, a second terminal that is effectively online;
  • a second detecting module configured to detect a second terminal having voice interaction capability in all second terminals that are effectively online
  • a processing module configured to use all second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions
  • a voice interaction module for performing voice interaction according to a second terminal having a voice interaction condition.
  • the determining module includes:
  • a judging unit configured to determine whether the voice interaction window of each second terminal is displayed at the forefront and has no occlusion
  • the first processing unit is configured to display the voice interaction window at the forefront and the non-occlusion second terminal as the second terminal that is effectively online.
  • the determining module further includes:
  • a detecting unit configured to detect, during a preset time, an operation of displaying a voice interaction window of the second terminal in the forefront and without occlusion;
  • the first processing unit is configured to display the voice interaction window at the forefront and without occlusion and the second terminal that detects the operation of the voice interaction window within the preset time as the second terminal that is effectively online.
  • the second detecting module includes:
  • a testing unit configured to test a microphone of each second terminal that is effectively online
  • a second processing unit configured to use any of the second terminals as the detected second terminal having voice interaction capability when the microphone test of any second terminal passes.
  • the voice interaction module includes:
  • a selection unit for displaying an interactive logo of all second terminals having voice interaction conditions, and rooting
  • the interactive identifier is selected to select at least one second terminal from all second terminals having voice interaction conditions
  • a voice interaction unit for performing voice interaction with the selected second terminal.
  • the terminal further includes:
  • the identifier display module is configured to display, by the first terminal, an inability to interact with the second terminal that is not valid online and/or has no voice interaction capability.
  • the terminal further includes:
  • a third detecting module configured to periodically detect a second terminal that is not valid online and/or has no voice interaction capability
  • the update module is configured to update the detected non-interactive identifier of the second terminal to the interactive identifier when detecting that the second terminal that is not valid online and/or has no voice interaction capability is valid online and has voice interaction capability.
  • a third aspect provides a terminal, where the terminal includes: a processor, a transceiver;
  • the processor is configured to detect a state of a voice interaction window of each second terminal in the interaction group, and determine, according to a state of the voice interaction window of each second terminal, a second terminal that is effectively online, where the interaction group includes a terminal and at least one second terminal; detecting a second terminal having voice interaction capability in all second terminals that are effectively online, and using all second terminals that are effective online and having voice interaction capability as the second terminal having voice interaction conditions ;
  • the transceiver is configured to perform voice interaction according to a second terminal having a voice interaction condition.
  • the processor is further configured to determine whether the voice interaction window of each second terminal is displayed at the front end and is not occluded; displaying the voice interaction window at the forefront and the occlusion of the second terminal is effective.
  • the second terminal on the line.
  • the processor is further configured to: detect, during a preset time, an operation of displaying a voice interaction window of the second terminal in the front end and the occlusion;
  • the processor is further configured to display the voice interaction window at the forefront and without occlusion and the second terminal that detects the operation of the voice interaction window within a preset time as the second terminal that is effectively online.
  • the processor is further configured to test a microphone of each second terminal that is effectively online; if any of the second terminals pass the microphone test, the second terminal is used. As the detected second terminal with voice interaction capability.
  • the terminal further includes a display.
  • the processor is further configured to select at least one second terminal from all second terminals having voice interaction conditions according to the displayed interactive identifier;
  • the transceiver is further configured to perform voice interaction with the selected second terminal.
  • the display is further configured to display, by the first terminal, an inability to interact with the second terminal that is not valid online and/or has no voice interaction capability.
  • the processor is further configured to periodically detect a second terminal that is not valid online and/or has no voice interaction capability; when detecting that the network is not valid online and/or has no voice
  • the detected non-interactive identifier of the second terminal is updated to the interactive identifier.
  • the second terminal with the voice interaction condition is used as the second terminal with the voice interaction condition, and the second terminal with the voice interaction condition performs the voice interaction, thereby implementing the second terminal with the voice interaction condition.
  • Voice interaction increases the efficiency of voice interaction.
  • FIG. 1 is a schematic diagram of an implementation environment involved in a method for voice interaction provided by an embodiment of the present application
  • FIG. 2 is a flowchart of a method for voice interaction provided by an embodiment of the present application
  • FIG. 3 is a flowchart of a method for voice interaction provided by another embodiment of the present application.
  • FIG. 4 is a schematic diagram of an interaction interface according to another embodiment of the present application.
  • FIG. 5 is a flowchart of voice interaction provided by another embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a voice interactive terminal according to another embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a first detecting module according to another embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a first detecting module according to another embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a second detecting module according to another embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a voice interaction module according to another embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a voice interactive terminal according to another embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a terminal according to another embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of an implementation environment involved in a method for voice interaction provided by an embodiment of the present application.
  • the implementation environment includes a first terminal 101 and a second terminal 102.
  • the first terminal 101 and the second terminal 102 can communicate through a wired network or a wireless network.
  • the first terminal 101 and the second terminal 102 may be a smartphone, a tablet, a laptop portable computer, or the like.
  • FIG. 1 shows only one first terminal 101 and two second terminals 102. In the specific implementation, the first terminal 101 and the second terminal 102 may also have multiple.
  • the first embodiment and the subsequent embodiments do not have the first terminal 101 and The number of second terminals 102 is limited.
  • first terminal 101 and the second terminal 102 mentioned in this embodiment and subsequent embodiments may perform voice interaction on the same topic or the same content, thereby forming an interaction group.
  • the number of the first terminal 101 and the second terminal in the interaction group is not limited, and the manner in which the first terminal 101 and the second terminal 102 join the interaction group is also not limited.
  • the first terminal 101 and the second terminal 102 may apply for the same interaction group to perform voice interaction for the same topic or the same content, and the terminal in the same interaction group may perform voice interaction through the microphone of the terminal.
  • the microphone of the second terminal 102 cannot be used or the second terminal 102 is not operated.
  • the embodiment of the present application provides a method for voice interaction.
  • Figure 2. The method flow includes:
  • determining the second terminal that is effectively online according to the state of the voice interaction window of each second terminal includes:
  • the voice interaction window is displayed at the forefront and the second terminal is occluded as the second terminal that is effectively online.
  • the method further includes:
  • Displaying the voice interaction window at the forefront and unobstructing the second terminal as the second terminal of the effective online including:
  • the second terminal that displays the voice interaction window at the forefront and has no occlusion and detects the operation of the voice interaction window within a preset time is used as the second terminal of the effective online.
  • detecting the second terminal having voice interaction capability in all the second terminals that are effectively online includes:
  • any second terminal is used as the detected second terminal with voice interaction capability.
  • the voice interaction is performed according to the displayed interactive identifier and the second terminal having the voice interaction condition, including:
  • the method provided by the embodiment of the present application implements voice interaction by using all second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions, and performing voice interaction according to the second terminal having voice interaction conditions.
  • the second terminal of the voice interaction condition performs voice interaction, which improves the efficiency of voice interaction.
  • the embodiment of the present application provides a method for voice interaction.
  • a voice interaction method is applied to a scene in which a teacher conducts classroom teaching to a student, wherein a teacher operates.
  • the first terminal the student operates the second terminal, each student can operate the second terminal to apply to join the interactive group where the teacher is located, so that the first terminal and all the second terminals form an interactive group, and the first terminal can control the second terminal Make voice interactions.
  • the interaction group includes a first terminal and at least one second terminal. Referring to Figure 3, the method flow includes:
  • the first terminal determines whether the voice interaction window of each second terminal in the interaction group is displayed at the front end and is not occluded;
  • the first terminal may determine the second terminal in the interaction group before determining whether the voice interaction window of each second terminal in the interaction group is displayed at the front end and is not occluded.
  • the manner of determining the second terminal in the interaction group is not specifically limited in this embodiment.
  • the non-interactive identifier of the second terminal may be displayed, and the second terminal in the interaction group is determined according to the non-interactive identifier of the second terminal.
  • the voice interaction window is a voice interactive interface displayed when the second terminal runs the voice interactive application, and the student operating the second terminal can perform voice interaction with the teacher operating the first terminal through the voice interaction window.
  • the student operating the second terminal may be using any of the multiple applications running; if the student operating the second terminal is using the application is not a voice Interactive applications can cause voice interactions to fail.
  • the voice interaction window is displayed at the front end and is unoccluded, it indicates that the student operating the second terminal is using the voice interactive application. Therefore, in order to ensure that the student who operates the second terminal is using the voice interactive application, the method provided by the embodiment of the present application determines whether the voice interaction window of each second terminal in the interaction group is displayed at the front end and is not blocked, thereby eliminating A second terminal that is being operated by a student who is using an application other than the voice interactive application, thereby improving the efficiency of voice interaction.
  • the method for determining whether the voice interaction window of each second terminal in the interaction group is displayed at the forefront and without occlusion is not specifically limited in this embodiment.
  • the first terminal sends a detection instruction of the voice interaction window to each second terminal, and each second terminal in the interaction group detects the voice interaction window through an API (Application Programming Interface) according to the detection instruction.
  • API Application Programming Interface
  • the state detection result is obtained; if the voice window is in the active state, it indicates that the voice interaction window is at the front end and is not occluded; the second terminal returns the state detection result to the first terminal, and the first terminal receives the interaction group a state detection result of the voice interaction window sent by each second terminal; if the state detection result of the voice interaction window sent by any second terminal received is that the voice interaction window is in an active state, the first terminal determines the second The terminal's voice interaction window is displayed at the front end and is unobstructed.
  • the first terminal detects, in a preset time, an operation of displaying a voice interaction window of the voice terminal that is displayed at the front end and is not occluded;
  • the voice interaction window of the second terminal is displayed at the forefront and is not occluded, although the student operating the second terminal is using the voice interactive application, the voice interaction window still exists because the student operating the second terminal is not seated or the like.
  • the second terminal that is displayed at the forefront and is unobstructed is unmanned.
  • the embodiment further provides a method for detecting the operation of the voice interaction window of the second terminal, which is preset by the first terminal.
  • the operation of detecting the voice interaction window in the time is displayed at the front end and the operation of the voice interaction window of the second terminal without occlusion, so as to ensure that the voice interaction window is displayed at the forefront and the second terminal without occlusion is operated in a preset time.
  • the present embodiment is not specifically limited.
  • the first terminal sends an operation detection instruction to the second terminal that is displayed at the forefront and is not occluded to each voice interaction window, and the second terminal that is displayed at the forefront by the voice interaction window and is unoccluded is preset according to the operation detection instruction.
  • the operation of detecting the voice interaction window is performed in time, and the operation detection result is obtained; the second interaction terminal displayed in the front end and the occlusion is returned to the first terminal, and the first terminal receives the voice interaction window displayed at the forefront.
  • the operation detection result sent by the second terminal without occlusion if the operation detection result sent by any second terminal received is an operation of detecting the voice interaction window within a preset time, the first terminal is within the preset time The operation of the voice interaction window of the second terminal that is displayed at the forefront and without occlusion is detected.
  • the embodiment does not limit the length of the preset time.
  • the preset time set is too short, the student who operates the second terminal within the preset time may still have the operation in the future; if the set preset time is too long, the preset may appear in the preset. The situation in which the second terminal is not operated during the time. Therefore, the preset time that can be set according to the actual situation, for example, the preset time can be set to 30 seconds or the like.
  • the first terminal displays the voice interaction window at the forefront and is occluded, and the second terminal that detects the operation of the voice interaction window within the preset time is used as the detected second terminal of the effective online;
  • the voice interaction window of the second terminal when the voice interaction window of the second terminal is displayed at the front end and is not occluded, the voice interaction window of the second terminal that is displayed at the front end and is not occluded is displayed in the preset time.
  • the second terminal which operates to ensure that the tone interactive window is displayed at the forefront and is unoccluded and that detects the operation of the voice interactive window within a preset time, is operated, and the student operating the second terminal is using the voice interactive application. Therefore, the voice interaction window can be displayed at the forefront and without occlusion and the second terminal detecting the operation of the voice interaction window within the preset time as the second terminal of the detected valid online.
  • step 201 to step 203 is performed to detect the second terminal that is effectively online in the interaction group.
  • the method provided in this embodiment further includes a subsequent step.
  • the first terminal detects a second terminal having voice interaction capability in all second terminals that are effectively online, and uses all the second terminals that are effectively online and have voice interaction capability as the voice interaction bar.
  • Second terminal of the piece
  • the second terminal that is effectively online may not have the microphone installed or the installed microphone is damaged, the second terminal that is effectively online cannot obtain the voice information input by the student operating the second terminal, and thus the first terminal is in the effective online
  • the voice information sent by the second terminal that is effectively online cannot be received, and the voice interaction fails. Therefore, the method provided by the embodiment of the present application detects the second terminal having the voice interaction capability in all the second terminals that are effectively online, and uses all the second terminals that are effectively online and have the voice interaction capability as the second voice with the voice interaction condition. terminal.
  • the second terminal having the voice interaction capability can normally obtain the voice information input by the student operating the second terminal, and the method for detecting the second terminal having the voice interaction capability in the second terminal that is effectively online is used in this embodiment. No specific limitation.
  • the second terminal having voice interaction capability is detected in all the second terminals that are effectively online, including but not limited to:
  • any second terminal is used as the detected second terminal with voice interaction capability.
  • the embodiment does not limit the manner of testing the microphone of each second terminal that is effectively online.
  • the first terminal may send a microphone test instruction to each second terminal that is effectively online, and the second terminal that is effectively online tests whether the microphone can collect the voice information according to the test instruction, and returns the test result to the first a terminal; the first terminal receives the detection result sent by each second terminal that is effectively online; if the test result of any of the received second terminals is that the microphone can collect the voice information, the microphone test of the second terminal passes.
  • the first terminal may also interact with the server, and the server interacts with the second terminal again, and The result is fed back to the first terminal, so that the first terminal performs the operations of the foregoing steps, and the specific manner is not specifically limited in this embodiment.
  • the first terminal performs voice interaction according to the displayed interaction identifier according to the second terminal that has a voice interaction condition.
  • the first terminal detects the second terminal having the voice interaction capability, and uses all the second terminals that are effectively online and have the voice interaction capability as the voice interaction condition.
  • the interactive identifier of all the second terminals having the voice interaction condition may be displayed, and then according to the displayed interactive identifier and the voice interactive condition The second terminal performs voice interaction.
  • the interactive identifier includes, but is not limited to, an icon for identifying a valid online and having a voice interaction capability, and the interactive identifier may be in any form. This embodiment does not limit the specific form and specific display manner of the interactive identifier.
  • the interaction identifier may be displayed on the interaction interface of the first terminal, and the interaction interface of the second terminal may display the user corresponding to the first terminal in addition to the interaction identifier of the second terminal having the voice interaction condition.
  • the avatar, the user avatar corresponding to all the second terminals belonging to the same interaction group, and the voice interaction content of the interaction group the embodiment does not limit the content displayed on the interaction interface of the first terminal. Taking the interaction interface shown in FIG.
  • the interaction interface of the first terminal displays the user avatar corresponding to the first terminal (the upper right corner of the interface) and the user avatar corresponding to each second terminal in the same interaction group (first
  • the microphone icon is displayed in front of the user avatar corresponding to each second terminal, and the second terminal having the voice interaction condition may display the interactive identifier before the corresponding user avatar and the microphone icon.
  • used to indicate that the second terminal is valid online and has voice interaction capability.
  • the non-interactive identifier " ⁇ " can be displayed before the corresponding user avatar and the microphone icon, indicating that the second terminal is not valid online and/or has no voice interaction capability.
  • the state of the second terminal may change in real time due to whether the state of the voice interaction condition is changed, and the first terminal may / or a second terminal that does not have voice interaction capability for detection.
  • the detecting process may periodically detect the second terminal that is not valid online and/or has no voice interaction capability according to a preset time, and after detecting that the second terminal is valid online and has voice interaction capability, In the interaction interface, the non-interactive identifier “ ⁇ ” corresponding to the second terminal is updated to the interactive identifier “ ⁇ ”. Therefore, the interactive identifiers of all the second terminals with voice interaction conditions displayed by the first terminal can be updated in real time.
  • the detected non-interactive identifier of the second terminal is updated to an interactive identifier.
  • the second terminal A does not have a voice interaction condition because the microphone is unusable 5 minutes ago, and the first terminal does not display the interaction identifier of the second terminal, such as the user avatar and the wheat corresponding to the second terminal A. “ ⁇ ” is displayed before the icon.
  • the user corresponding to the second terminal A performs maintenance on the microphone of the second terminal, so that the microphone of the second terminal A returns to normal after 5 minutes, and after the detection of the above steps, the second terminal A has a voice interaction condition. Therefore, after the interactive interface of the first terminal is updated, the interactive identifier of the second terminal A is displayed, that is, the user avatar corresponding to the second terminal A and the microphone icon are displayed with " ⁇ ".
  • the interactive identifier of all the second terminal having the voice interaction condition may be displayed, and all the voice interaction conditions are displayed according to the displayed interactive identifier.
  • At least one second terminal is selected in the second terminal, and performs voice interaction with the selected second terminal.
  • the manner of selecting the second terminal is not limited in this embodiment.
  • the user corresponding to the first terminal selects a user avatar corresponding to the second terminal having the voice interaction condition from all the second terminals having the voice interaction condition.
  • the first terminal will double-click the second terminal of the user's avatar as the selected second terminal and perform voice interaction with it.
  • the embodiment does not limit the manner in which the specific voice interaction is performed.
  • the voice information of the user corresponding to the first terminal is recorded by the microphone device of the first terminal, and the voice information is sent to each selected second terminal.
  • each selected second terminal can record the corresponding user's voice information through its microphone device, and send the recorded voice information to the first terminal, thereby implementing the user corresponding to the first terminal and the selected second terminal. Corresponding user interaction between voices.
  • the operation of the first terminal is performed.
  • the teacher can learn all the second terminals having the voice interaction condition, and then the first terminal can detect the second terminal selected by the teacher and perform voice interaction with the second terminal selected by the teacher.
  • step 201 corresponds to the start and the classroom window is pre-positioned and has no occlusion and does not have an interactive condition, and does not display an interactive icon.
  • step 202 corresponds to the last 30 seconds of having an operation in the classroom window and does not have an interactive condition, and does not display an interactive icon.
  • step 203 is correspondingly marked as valid online.
  • Step 204 corresponds to the mic test and is marked as online and has voice interaction capability and does not have an interactive condition.
  • the interactive icon is not displayed, and step 205 corresponds to an interactive condition, and an interactive icon is displayed.
  • the method provided by the embodiment of the present application is to use all the second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions, and according to the second terminal with voice interaction conditions.
  • the voice interaction is performed to realize the voice interaction with the second terminal having the voice interaction condition, thereby improving the efficiency of the voice interaction.
  • the embodiment of the present application provides a voice interactive terminal, which is used to execute the method provided by the embodiment shown in FIG. 2 or FIG. 3 above.
  • the terminal includes:
  • the first detecting module 401 is configured to detect a state of a voice interaction window of each second terminal in the interaction group, where the interaction group includes a first terminal and at least one second terminal;
  • a determining module 402 configured to determine, according to a state of the voice interaction window of each second terminal, a second terminal that is effectively online;
  • a second detecting module 403 configured to detect a second terminal having voice interaction capability in all second terminals that are effectively online;
  • the processing module 404 is configured to use all second terminals that are effectively online and have voice interaction capabilities as the second terminal with voice interaction conditions;
  • the voice interaction module 406 is configured to perform voice interaction with the selected second terminal.
  • the determining module 402 includes:
  • the determining unit 4021 is configured to determine whether the voice interaction window of each second terminal is displayed at the forefront and is occluded;
  • the first processing unit 4022 is configured to display the voice interaction window at the forefront and the non-occlusion second terminal as the second terminal that is effectively online.
  • the determining module 402 further includes:
  • the detecting unit 4023 is configured to detect, during a preset time, an operation of displaying a voice interaction window of the second terminal of the second terminal without the occlusion;
  • the first processing unit 4022 is configured to display the voice interaction window at the forefront and without occlusion and the second terminal that detects the operation of the voice interaction window within a preset time as the second terminal that is effectively online.
  • the second detecting module 403 includes:
  • a testing unit 4031 configured to test a microphone of each second terminal that is effectively online
  • the second processing unit 4032 is configured to use any second terminal as the detected second terminal with voice interaction capability when the microphone test of any second terminal passes.
  • the voice interaction module 406 includes:
  • the selecting unit 4061 is configured to display an interaction identifier of all second terminals having voice interaction conditions, and select at least one of all second terminals having voice interaction conditions according to the displayed interaction identifier. Second terminal;
  • the voice interaction unit 4062 is configured to perform voice interaction with the selected second terminal.
  • the terminal further includes:
  • the identifier display module is configured to display, by the first terminal, an inability to interact with the second terminal that is not valid online and/or has no voice interaction capability.
  • the terminal further includes:
  • a third detecting module configured to periodically detect a second terminal that is not valid online and/or has no voice interaction capability
  • the update module is configured to update the detected non-interactive identifier of the second terminal to the interactive identifier when detecting that the second terminal that is not valid online and/or has no voice interaction capability is valid online and has voice interaction capability.
  • the terminal provided by the embodiment of the present application implements voice interaction by using all second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions, and performing voice interaction according to the second terminal having voice interaction conditions.
  • the second terminal of the voice interaction condition performs voice interaction, which improves the efficiency of voice interaction.
  • FIG. 11 is a schematic structural diagram of a terminal involved in the embodiment of the present application.
  • the terminal may be used to implement the voice interaction method provided in the foregoing embodiment. Specifically:
  • the terminal 1100 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (Wireless Fidelity, wireless).
  • the fidelity module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 11 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals. Specifically, after receiving downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile) Communication, Global System for Mobile Communications, GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), etc.
  • GSM Global System of Mobile
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 1100 (such as audio data, phone book, etc.) and the like.
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of the terminal 1100, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 can include a display panel 141, optionally, can be employed
  • the display panel 141 is configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • Terminal 1100 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the terminal 1100 moves to the ear. / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • attitude of the terminal such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal 1,100 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal 1100.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 1100.
  • WiFi is a short-range wireless transmission technology
  • the terminal 1100 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users.
  • FIG. 11 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the terminal 1100, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is a control center of the terminal 1100 that connects various portions of the entire terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, Perform various functions and processing data of the terminal 1100, from The terminal is monitored as a whole.
  • the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the terminal 1100 also includes a power supply 190 (such as a battery) for powering various components.
  • the power supply can be logically coupled to the processor 180 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal 1100 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the display unit of the terminal is a touch screen display
  • the terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be processed by one or more Execution.
  • the one or more programs include operational instructions corresponding to methods for performing the voice interactions described in the above embodiments.
  • the terminal provided by the embodiment of the present application implements voice interaction by using all second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions, and performing voice interaction according to the second terminal having voice interaction conditions.
  • the second terminal of the voice interaction condition performs voice interaction, which improves the efficiency of voice interaction.
  • FIG. 12 is a schematic structural diagram of a terminal involved in the embodiment of the present application.
  • the terminal includes: a processor 1201, a transceiver 1202;
  • the processor 1201 is configured to detect a state of a voice interaction window of each second terminal in the interaction group, and determine, according to a state of the voice interaction window of each second terminal, a second terminal that is effectively online, where the interaction group includes the first The terminal and the at least one second terminal; detecting the second terminal having the voice interaction capability in all the second terminals that are effectively online, and using all the second terminals that are effectively online and having the voice interaction capability as the second terminal having the voice interaction condition;
  • the transceiver 1202 is configured to perform voice interaction with the second terminal having the voice interaction condition according to the displayed interactive identifier.
  • the processor 1201 is further configured to determine whether the voice interaction window of each second terminal is displayed at the front end and is not occluded; the voice interaction window is displayed at the forefront and the second terminal is not occluded as an effective online The second terminal.
  • the processor 1201 is further configured to detect, during a preset time, an operation of displaying a voice interaction window of the second terminal that is displayed at the forefront and without the occlusion;
  • the processor 1201 is further configured to display the voice interaction window at the forefront and without the occlusion and the second terminal that detects the operation of the voice interaction window within the preset time as the second terminal that is effectively online.
  • the processor 1201 is further configured to test the microphone of each second terminal that is effectively online; if the microphone test of any second terminal passes, any second terminal is detected as A second terminal with voice interaction capabilities.
  • the terminal further includes a display 1203,
  • a display 1203, configured to display an interactive identifier of all second terminals having voice interaction conditions
  • the processor 1201 is further configured to select at least one second terminal from all second terminals having voice interaction conditions according to the displayed interactive identifier;
  • the transceiver 1202 is further configured to perform voice interaction with the selected second terminal.
  • the display 1202 is further configured to display, by the first terminal, an inability to interact with the second terminal that is not valid online and/or has no voice interaction capability.
  • the processor 1201 is further configured to periodically detect a second terminal that is not valid online and/or has no voice interaction capability; when detecting that the data is not valid online and/or has no voice interaction
  • the second terminal of the capability is valid online and has voice interaction capability
  • the detected non-interactive identifier of the second terminal is updated to an interactive identifier.
  • the terminal provided by the embodiment of the present application implements voice interaction by using all second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions, and performing voice interaction according to the second terminal having voice interaction conditions.
  • the second terminal of the voice interaction condition performs voice interaction, which improves the efficiency of voice interaction.
  • the voice interactive terminal provided by the foregoing embodiment performs voice interaction
  • only the division of each functional module is used as an example.
  • the function distribution may be completed by different functional modules according to requirements.
  • the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above.
  • the embodiment of the voice interactive terminal and the voice interaction provided by the foregoing embodiment is the same concept, and the specific implementation process is described in the method embodiment, and details are not described herein again.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A voice interaction method and a terminal. The method comprises: detecting the state of a voice interaction window of each second terminal in an interaction group, and determining the second terminals that are valid and online according to the state of the voice interaction window of each second terminal (101); detecting the second terminals having the voice interaction capability in all the second terminals that are valid and online, and using all the second terminals that are valid and online and have the voice interaction capability as the second terminals satisfying the voice interaction condition (102); and implementing voice interaction with the second terminals satisfying the voice interaction condition (103).

Description

语音互动的方法及终端Voice interaction method and terminal
本申请要求于2014年8月4日提交中国专利局、申请号为201410379769.9、发明名称为“语音互动的方法及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 2014-1037976, filed on Aug. 4, 2014, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本申请涉及信息技术领域,特别涉及一种语音互动的方法及终端。The present application relates to the field of information technology, and in particular, to a method and terminal for voice interaction.
背景技术Background technique
随着信息技术的不断发展,语音互动的应用场景越来越多。以教师授课的应用场景为例,教师通过与学生进行语音互动可了解学生的学习状态以及强化知识点等。因此,如何进行语音互动成为人们关注的问题。With the continuous development of information technology, more and more application scenarios of voice interaction. Taking the application scenario taught by the teacher as an example, the teacher can understand the learning state of the student and strengthen the knowledge point by performing voice interaction with the student. Therefore, how to carry out voice interaction has become a concern of people.
目前有两种语音互动的方式。第一种方式:第一终端选择至少一个第二终端,并与选择的第二终端进行语音互动。第二种方式:第一终端接收至少一个第二终端发送的语音互动请求;第一终端根据接收到的所有语音互动请求选择至少一个第二终端,并与选择的第二终端进行语音互动。There are currently two ways of voice interaction. The first mode: the first terminal selects at least one second terminal and performs voice interaction with the selected second terminal. The second mode: the first terminal receives the voice interaction request sent by the at least one second terminal; the first terminal selects at least one second terminal according to all the received voice interaction requests, and performs voice interaction with the selected second terminal.
在实现本申请的过程中,发明人发现上述方法至少存在以下问题:In the process of implementing the present application, the inventors found that the above method has at least the following problems:
第一种方式中第一终端直接选择第二终端并进行语音互动,由于存在选择的第二终端的麦克风无法使用或无人操作选择的第二终端的情况,造成第一终端无法与选择的第二终端进行语音互动,致使语音互动的效率较低。第二种方式中第一终端根据接收到的至少一个第二终端发送的语音互动请求选择第二终端并进行语音互动,但仍存在第二终端的麦克风无法使用的情况,造成第一终端无法与选择的第二终端进行语音互动,致使语音互动的效率较低。In the first mode, the first terminal directly selects the second terminal and performs voice interaction. Because the selected second terminal's microphone cannot be used or the second terminal is selected by the unmanned operation, the first terminal cannot be selected with the first terminal. The second terminal performs voice interaction, which makes the voice interaction less efficient. In the second mode, the first terminal selects the second terminal according to the received voice interaction request sent by the at least one second terminal, and performs voice interaction, but the microphone of the second terminal is still unavailable, and the first terminal cannot be used. The selected second terminal performs voice interaction, resulting in low efficiency of voice interaction.
发明内容Summary of the invention
为了解决现有技术的问题,本申请实施例提供了一种语音互动的方法及终端。所述技术方案如下:In order to solve the problem of the prior art, the embodiment of the present application provides a method and terminal for voice interaction. The technical solution is as follows:
第一方面,提供了一种语音互动的方法,方法包括:In a first aspect, a method for voice interaction is provided, the method comprising:
检测互动群组中各个第二终端的语音互动窗口的状态,根据各个第二终端 的语音互动窗口的状态确定有效在线的第二终端,互动群组中包括第一终端以及至少一个第二终端;Detecting the status of the voice interaction window of each second terminal in the interaction group, according to each second terminal The state of the voice interaction window determines the second terminal that is effectively online, and the interaction group includes the first terminal and the at least one second terminal;
在所有有效在线的第二终端中检测具有语音互动能力的第二终端,将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端;Detecting a second terminal having voice interaction capability in all the second terminals that are effectively online, and using all the second terminals that are effectively online and having voice interaction capability as the second terminal having voice interaction conditions;
根据具备语音互动条件的第二终端进行语音互动。The voice interaction is performed according to the second terminal having the voice interaction condition.
作为一种可选实施例,所述根据各个第二终端的语音互动窗口的状态确定有效在线的第二终端,包括:As an optional embodiment, the determining, according to the state of the voice interaction window of each second terminal, the second terminal that is effectively online, includes:
判断各个第二终端的语音互动窗口是否显示在最前端且无遮挡;Determining whether the voice interaction window of each second terminal is displayed at the forefront and without occlusion;
将语音互动窗口显示在最前端且无遮挡第二终端作为有效在线的第二终端。The voice interaction window is displayed at the forefront and the second terminal is occluded as the second terminal that is effectively online.
作为一种可选实施例,判断各个第二终端的语音互动窗口是否显示在最前端且无遮挡之后,还包括:As an optional embodiment, after determining whether the voice interaction window of each second terminal is displayed at the forefront and without occlusion, the method further includes:
在预设时间内检测语音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作;Detecting, in a preset time, an operation of the voice interaction window of the second terminal that is displayed at the forefront and without occlusion;
将语音互动窗口显示在最前端且无遮挡第二终端作为有效在线的第二终端,包括:Displaying the voice interaction window at the forefront and unobstructing the second terminal as the second terminal of the effective online, including:
将语音互动窗口显示在最前端且无遮挡以及在预设时间内检测到语音互动窗口的操作的第二终端作为有效在线的第二终端。The second terminal that displays the voice interaction window at the forefront and has no occlusion and detects the operation of the voice interaction window within a preset time is used as the second terminal of the effective online.
作为一种可选实施例,在所有有效在线的第二终端中检测具有语音互动能力的第二终端,包括:As an optional embodiment, detecting the second terminal having voice interaction capability in all the second terminals that are effectively online includes:
对每个有效在线的第二终端的麦克风进行测试;Testing the microphone of each second terminal that is effectively online;
若任一第二终端的麦克风测试通过,则将任一第二终端作为检测到的具有语音互动能力的第二终端。If the microphone test of any of the second terminals passes, any second terminal is used as the detected second terminal with voice interaction capability.
作为一种可选实施例,根据显示的互动标识与具备语音互动条件的第二终端进行语音互动,包括:As an optional embodiment, the voice interaction is performed according to the displayed interactive identifier and the second terminal having the voice interaction condition, including:
根据显示的互动标识从所有具备语音互动条件的第二终端中选择至少一个第二终端,与被选的第二终端进行语音互动。Selecting at least one second terminal from all second terminals having voice interaction conditions according to the displayed interactive identifier, and performing voice interaction with the selected second terminal.
作为一种可选实施例,将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端之后,方法还包括:As an optional embodiment, after all the second terminals that are effectively online and have voice interaction capabilities are used as the second terminal with voice interaction conditions, the method further includes:
第一终端显示未有效在线和/或不具有语音互动能力的第二终端的无法互动标识。 The first terminal displays an inability to interact with the second terminal that is not active online and/or has no voice interaction capability.
作为一种可选实施例,第一终端显示未有效在线和/或不具有语音互动能力的第二终端的无法互动标识之后,方法还包括:As an optional embodiment, after the first terminal displays the inaccessible identifier of the second terminal that is not valid online and/or does not have the voice interaction capability, the method further includes:
周期性的对未有效在线和/或不具有语音互动能力的第二终端进行检测;Periodically detecting a second terminal that is not active online and/or has no voice interaction capability;
当检测到未有效在线和/或不具有语音互动能力的第二终端有效在线且具有语音互动能力时,则将检测到的第二终端的无法互动标识更新为互动标识。When it is detected that the second terminal that is not valid online and/or has no voice interaction capability is valid online and has voice interaction capability, the detected non-interactive identifier of the second terminal is updated to an interactive identifier.
第二方面,提供了一种语音互动的终端,所述终端包括:In a second aspect, a terminal for voice interaction is provided, and the terminal includes:
第一检测模块,用于检测互动群组中各个第二终端的语音互动窗口的状态,互动群组中包括第一终端以及至少一个第二终端;a first detecting module, configured to detect a state of a voice interaction window of each second terminal in the interaction group, where the interaction group includes a first terminal and at least one second terminal;
确定模块,用于根据各个第二终端的语音互动窗口的状态确定有效在线的第二终端;a determining module, configured to determine, according to a state of the voice interaction window of each second terminal, a second terminal that is effectively online;
第二检测模块,用于在所有有效在线的第二终端中检测具有语音互动能力的第二终端;a second detecting module, configured to detect a second terminal having voice interaction capability in all second terminals that are effectively online;
处理模块,用于将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端;a processing module, configured to use all second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions;
语音互动模块,用于根据具备语音互动条件的第二终端进行语音互动。A voice interaction module for performing voice interaction according to a second terminal having a voice interaction condition.
作为一种可选实施例,所述确定模块,包括:As an optional embodiment, the determining module includes:
判断单元,用于判断各个第二终端的语音互动窗口是否显示在最前端且无遮挡;a judging unit, configured to determine whether the voice interaction window of each second terminal is displayed at the forefront and has no occlusion;
第一处理单元,用于将语音互动窗口显示在最前端且无遮挡第二终端作为有效在线的第二终端。The first processing unit is configured to display the voice interaction window at the forefront and the non-occlusion second terminal as the second terminal that is effectively online.
作为一种可选实施例,所述确定模块,还包括:As an optional embodiment, the determining module further includes:
检测单元,用于在预设时间内检测语音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作;a detecting unit, configured to detect, during a preset time, an operation of displaying a voice interaction window of the second terminal in the forefront and without occlusion;
所述第一处理单元,用于将语音互动窗口显示在最前端且无遮挡以及在预设时间内检测到语音互动窗口的操作的第二终端作为有效在线的第二终端。The first processing unit is configured to display the voice interaction window at the forefront and without occlusion and the second terminal that detects the operation of the voice interaction window within the preset time as the second terminal that is effectively online.
作为一种可选实施例,所述第二检测模块,包括:As an optional embodiment, the second detecting module includes:
测试单元,用于对每个有效在线的第二终端的麦克风进行测试;a testing unit, configured to test a microphone of each second terminal that is effectively online;
第二处理单元,用于当任一第二终端的麦克风测试通过时,则将所述任一第二终端作为检测到的具有语音互动能力的第二终端。And a second processing unit, configured to use any of the second terminals as the detected second terminal having voice interaction capability when the microphone test of any second terminal passes.
作为一种可选实施例,所述语音互动模块,包括:As an optional embodiment, the voice interaction module includes:
选择单元,用于显示所有具备语音互动条件的第二终端的互动标识,并根 据显示的互动标识从所有具备语音互动条件的第二终端中选择至少一个第二终端;a selection unit for displaying an interactive logo of all second terminals having voice interaction conditions, and rooting The interactive identifier is selected to select at least one second terminal from all second terminals having voice interaction conditions;
语音互动单元,用于与被选的第二终端进行语音互动。A voice interaction unit for performing voice interaction with the selected second terminal.
作为一种可选实施例,终端还包括:As an optional embodiment, the terminal further includes:
标识显示模块,用于第一终端显示未有效在线和/或不具有语音互动能力的第二终端的无法互动标识。The identifier display module is configured to display, by the first terminal, an inability to interact with the second terminal that is not valid online and/or has no voice interaction capability.
作为一种可选实施例,终端还包括:As an optional embodiment, the terminal further includes:
第三检测模块,用于周期性的对未有效在线和/或不具有语音互动能力的第二终端进行检测;a third detecting module, configured to periodically detect a second terminal that is not valid online and/or has no voice interaction capability;
更新模块,用于当检测到未有效在线和/或不具有语音互动能力的第二终端有效在线且具有语音互动能力时,则将检测到的第二终端的无法互动标识更新为互动标识。The update module is configured to update the detected non-interactive identifier of the second terminal to the interactive identifier when detecting that the second terminal that is not valid online and/or has no voice interaction capability is valid online and has voice interaction capability.
第三方面,提供了一种终端,所述终端包括:处理器,收发器;A third aspect provides a terminal, where the terminal includes: a processor, a transceiver;
所述处理器,用于检测互动群组中各个第二终端的语音互动窗口的状态,根据各个第二终端的语音互动窗口的状态确定有效在线的第二终端,所述互动群组中包括第一终端以及至少一个第二终端;在所有有效在线的第二终端中检测具有语音互动能力的第二终端,将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端;The processor is configured to detect a state of a voice interaction window of each second terminal in the interaction group, and determine, according to a state of the voice interaction window of each second terminal, a second terminal that is effectively online, where the interaction group includes a terminal and at least one second terminal; detecting a second terminal having voice interaction capability in all second terminals that are effectively online, and using all second terminals that are effective online and having voice interaction capability as the second terminal having voice interaction conditions ;
所述收发器,用于根据具备语音互动条件的第二终端进行语音互动。The transceiver is configured to perform voice interaction according to a second terminal having a voice interaction condition.
作为一种可选实施例,所述处理器,还用于判断各个第二终端的语音互动窗口是否显示在最前端且无遮挡;将语音互动窗口显示在最前端且无遮挡第二终端作为有效在线的第二终端。As an optional embodiment, the processor is further configured to determine whether the voice interaction window of each second terminal is displayed at the front end and is not occluded; displaying the voice interaction window at the forefront and the occlusion of the second terminal is effective. The second terminal on the line.
作为一种可选实施例,所述处理器,还用于在预设时间内检测语音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作;In an optional embodiment, the processor is further configured to: detect, during a preset time, an operation of displaying a voice interaction window of the second terminal in the front end and the occlusion;
所述处理器,还用于将语音互动窗口显示在最前端且无遮挡以及在预设时间内检测到语音互动窗口的操作的第二终端作为有效在线的第二终端。The processor is further configured to display the voice interaction window at the forefront and without occlusion and the second terminal that detects the operation of the voice interaction window within a preset time as the second terminal that is effectively online.
作为一种可选实施例,所述处理器,还用于对每个有效在线的第二终端的麦克风进行测试;若任一第二终端的麦克风测试通过,则将所述任一第二终端作为检测到的具有语音互动能力的第二终端。As an optional embodiment, the processor is further configured to test a microphone of each second terminal that is effectively online; if any of the second terminals pass the microphone test, the second terminal is used. As the detected second terminal with voice interaction capability.
作为一种可选实施例,终端还包括显示器,As an optional embodiment, the terminal further includes a display.
显示器,用于显示所有具备语音互动条件的第二终端的互动标识; a display for displaying an interactive logo of all second terminals having voice interaction conditions;
所述处理器,还用于根据显示的互动标识从所有具备语音互动条件的第二终端中选择至少一个第二终端;The processor is further configured to select at least one second terminal from all second terminals having voice interaction conditions according to the displayed interactive identifier;
所述收发器,还用于与被选的第二终端进行语音互动。The transceiver is further configured to perform voice interaction with the selected second terminal.
作为一种可选实施例,所述显示器,还用于第一终端显示未有效在线和/或不具有语音互动能力的第二终端的无法互动标识。As an optional embodiment, the display is further configured to display, by the first terminal, an inability to interact with the second terminal that is not valid online and/or has no voice interaction capability.
作为一种可选实施例,所述处理器,还用于周期性的对未有效在线和/或不具有语音互动能力的第二终端进行检测;当检测到未有效在线和/或不具有语音互动能力的第二终端有效在线且具有语音互动能力时,则将所述检测到的第二终端的无法互动标识更新为互动标识。As an optional embodiment, the processor is further configured to periodically detect a second terminal that is not valid online and/or has no voice interaction capability; when detecting that the network is not valid online and/or has no voice When the second terminal of the interactive capability is valid online and has the voice interaction capability, the detected non-interactive identifier of the second terminal is updated to the interactive identifier.
本申请实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present application are:
通过将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端,并根据具备语音互动条件的第二终端进行语音互动,从而实现与具备语音互动条件的第二终端进行语音互动,提高了语音互动的效率。The second terminal with the voice interaction condition is used as the second terminal with the voice interaction condition, and the second terminal with the voice interaction condition performs the voice interaction, thereby implementing the second terminal with the voice interaction condition. Voice interaction increases the efficiency of voice interaction.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本申请实施例提供的语音互动的方法所涉及的实施环境示意图;1 is a schematic diagram of an implementation environment involved in a method for voice interaction provided by an embodiment of the present application;
图2是本申请实施例提供的语音互动的方法的流程图;2 is a flowchart of a method for voice interaction provided by an embodiment of the present application;
图3是本申请另一实施例提供的语音互动的方法的流程图;3 is a flowchart of a method for voice interaction provided by another embodiment of the present application;
图4是本申请另一实施例提供的一种交互界面示意图;4 is a schematic diagram of an interaction interface according to another embodiment of the present application;
图5是本申请另一实施例提供的语音互动的流程图;FIG. 5 is a flowchart of voice interaction provided by another embodiment of the present application; FIG.
图6是本申请另一实施例提供的语音互动的终端的结构示意图;6 is a schematic structural diagram of a voice interactive terminal according to another embodiment of the present application;
图7是本申请另一实施例提供的第一检测模块的结构示意图;FIG. 7 is a schematic structural diagram of a first detecting module according to another embodiment of the present disclosure;
图8是本申请另一实施例提供的第一检测模块的结构示意图;FIG. 8 is a schematic structural diagram of a first detecting module according to another embodiment of the present disclosure;
图9是本申请另一实施例提供的第二检测模块的结构示意图;FIG. 9 is a schematic structural diagram of a second detecting module according to another embodiment of the present disclosure;
图10是本申请另一实施例提供的语音互动模块的结构示意图;FIG. 10 is a schematic structural diagram of a voice interaction module according to another embodiment of the present application;
图11是本申请另一实施例提供的语音互动的终端的结构示意图;11 is a schematic structural diagram of a voice interactive terminal according to another embodiment of the present application;
图12是本申请另一实施例提供的终端的结构示意图。 FIG. 12 is a schematic structural diagram of a terminal according to another embodiment of the present application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objects, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
请参考图1,其示出了本申请实施例提供的语音互动的方法所涉及的实施环境的结构示意图。如图1所示,该实施环境包括第一终端101及第二终端102,第一终端101和第二终端102之间可以通过有线网络或无线网络进行通信。第一终端101及第二终端102可以是智能手机、平板电脑、膝上型便携计算机等等。图1仅示出一个第一终端101及两个第二终端102,具体实施时,第一终端101及第二终端102还可以有多个,本实施例及后续实施例不对第一终端101及第二终端102的数量进行限定。Please refer to FIG. 1 , which is a schematic structural diagram of an implementation environment involved in a method for voice interaction provided by an embodiment of the present application. As shown in FIG. 1 , the implementation environment includes a first terminal 101 and a second terminal 102. The first terminal 101 and the second terminal 102 can communicate through a wired network or a wireless network. The first terminal 101 and the second terminal 102 may be a smartphone, a tablet, a laptop portable computer, or the like. FIG. 1 shows only one first terminal 101 and two second terminals 102. In the specific implementation, the first terminal 101 and the second terminal 102 may also have multiple. The first embodiment and the subsequent embodiments do not have the first terminal 101 and The number of second terminals 102 is limited.
此外,本实施例及后续实施例中提到的第一终端101及第二终端102可以针对同一主题或同一内容等进行语音交互,从而形成互动群组。本实施例不对互动群组内第一终端101及第二终端的数量进行限定,同样不对第一终端101及第二终端102加入互动群组的方式进行限定。具体实施时,第一终端101及第二终端102可以针对同一主题或同一内容申请加入同一互动群组进行语音互动,且同一互动群组内的终端进行语音互动时,可通过终端的麦克风实现。针对目前第一终端101在与第二终端102进行语音互动时,第二终端102的麦克风无法使用或无人操作第二终端102的情况,本申请实施例提供了一种语音互动的方法,参见图2,方法流程包括:In addition, the first terminal 101 and the second terminal 102 mentioned in this embodiment and subsequent embodiments may perform voice interaction on the same topic or the same content, thereby forming an interaction group. In this embodiment, the number of the first terminal 101 and the second terminal in the interaction group is not limited, and the manner in which the first terminal 101 and the second terminal 102 join the interaction group is also not limited. In a specific implementation, the first terminal 101 and the second terminal 102 may apply for the same interaction group to perform voice interaction for the same topic or the same content, and the terminal in the same interaction group may perform voice interaction through the microphone of the terminal. For the case that the first terminal 101 is in the voice interaction with the second terminal 102, the microphone of the second terminal 102 cannot be used or the second terminal 102 is not operated. The embodiment of the present application provides a method for voice interaction. Figure 2. The method flow includes:
101:检测互动群组中各个第二终端的语音互动窗口的状态,根据各个第二终端的语音互动窗口的状态确定有效在线的第二终端,所述互动群组中包括第一终端以及至少一个第二终端;101: Detecting a state of a voice interaction window of each second terminal in the interaction group, and determining, according to a state of the voice interaction window of each second terminal, a second terminal that is effectively online, where the interaction group includes the first terminal and at least one Second terminal;
作为一种可选实施例,根据各个第二终端的语音互动窗口的状态确定有效在线的第二终端,包括:As an optional embodiment, determining the second terminal that is effectively online according to the state of the voice interaction window of each second terminal includes:
判断各个第二终端的语音互动窗口是否显示在最前端且无遮挡;Determining whether the voice interaction window of each second terminal is displayed at the forefront and without occlusion;
将语音互动窗口显示在最前端且无遮挡第二终端作为有效在线的第二终端。The voice interaction window is displayed at the forefront and the second terminal is occluded as the second terminal that is effectively online.
作为一种可选实施例,判断各个第二终端的语音互动窗口是否显示在最前端且无遮挡之后,还包括:As an optional embodiment, after determining whether the voice interaction window of each second terminal is displayed at the forefront and without occlusion, the method further includes:
在预设时间内检测语音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作; Detecting, in a preset time, an operation of the voice interaction window of the second terminal that is displayed at the forefront and without occlusion;
将语音互动窗口显示在最前端且无遮挡第二终端作为有效在线的第二终端,包括:Displaying the voice interaction window at the forefront and unobstructing the second terminal as the second terminal of the effective online, including:
将语音互动窗口显示在最前端且无遮挡以及在预设时间内检测到语音互动窗口的操作的第二终端作为有效在线的第二终端。The second terminal that displays the voice interaction window at the forefront and has no occlusion and detects the operation of the voice interaction window within a preset time is used as the second terminal of the effective online.
102:在所有有效在线的第二终端中检测具有语音互动能力的第二终端,将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端;102: Detecting a second terminal having voice interaction capability in all the second terminals that are effectively online, and using all the second terminals that are effectively online and having voice interaction capability as the second terminal having voice interaction conditions;
作为一种可选实施例,在所有有效在线的第二终端中检测具有语音互动能力的第二终端,包括:As an optional embodiment, detecting the second terminal having voice interaction capability in all the second terminals that are effectively online includes:
对每个有效在线的第二终端的麦克风进行测试;Testing the microphone of each second terminal that is effectively online;
若任一第二终端的麦克风测试通过,则将任一第二终端作为检测到的具有语音互动能力的第二终端。If the microphone test of any of the second terminals passes, any second terminal is used as the detected second terminal with voice interaction capability.
103:根据所述具备语音互动条件的第二终端进行语音互动。103: Perform voice interaction according to the second terminal that has a voice interaction condition.
作为一种可选实施例,根据显示的互动标识与具备语音互动条件的第二终端进行语音互动,包括:As an optional embodiment, the voice interaction is performed according to the displayed interactive identifier and the second terminal having the voice interaction condition, including:
显示所有具备语音互动条件的第二终端的互动标识,并根据显示的互动标识从所有具备语音互动条件的第二终端中选择至少一个第二终端,与被选的第二终端进行语音互动。Displaying an interaction identifier of all second terminals having voice interaction conditions, and selecting at least one second terminal from all second terminals having voice interaction conditions according to the displayed interaction identifier, and performing voice interaction with the selected second terminal.
本申请实施例提供的方法,通过将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端,并根据具备语音互动条件的第二终端进行语音互动,从而实现与具备语音互动条件的第二终端进行语音互动,提高了语音互动的效率。The method provided by the embodiment of the present application implements voice interaction by using all second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions, and performing voice interaction according to the second terminal having voice interaction conditions. The second terminal of the voice interaction condition performs voice interaction, which improves the efficiency of voice interaction.
本申请实施例提供了一种语音互动的方法,结合上述图1及图2所示的实施例的内容,以语音互动的方法应用于老师对学生进行课堂教学的场景为例,其中,老师操作第一终端,学生操作第二终端,每个学生可以操作第二终端申请加入老师所在的互动群组,使第一终端及所有第二终端组成互动群组,且第一终端可以控制第二终端进行语音互动。其中,互动群组中包括第一终端以及至少一个第二终端。参见图3,方法流程包括:The embodiment of the present application provides a method for voice interaction. In combination with the contents of the embodiment shown in FIG. 1 and FIG. 2, a voice interaction method is applied to a scene in which a teacher conducts classroom teaching to a student, wherein a teacher operates. The first terminal, the student operates the second terminal, each student can operate the second terminal to apply to join the interactive group where the teacher is located, so that the first terminal and all the second terminals form an interactive group, and the first terminal can control the second terminal Make voice interactions. The interaction group includes a first terminal and at least one second terminal. Referring to Figure 3, the method flow includes:
201:第一终端判断互动群组中的每个第二终端的语音互动窗口是否显示在最前端且无遮挡; 201: The first terminal determines whether the voice interaction window of each second terminal in the interaction group is displayed at the front end and is not occluded;
其中,第一终端在判断互动群组中的每个第二终端的语音互动窗口是否显示在最前端且无遮挡前,可先确定互动群组中的第二终端。关于确定互动群组中的第二终端的方式,本实施例不作具体限定。具体实施时,可显示第二终端的无法互动标识,根据第二终端的无法互动标识确定互动群组中的第二终端。The first terminal may determine the second terminal in the interaction group before determining whether the voice interaction window of each second terminal in the interaction group is displayed at the front end and is not occluded. The manner of determining the second terminal in the interaction group is not specifically limited in this embodiment. In a specific implementation, the non-interactive identifier of the second terminal may be displayed, and the second terminal in the interaction group is determined according to the non-interactive identifier of the second terminal.
其中,语音互动窗口为第二终端运行语音互动应用程序时,显示的语音互动界面,操作第二终端的学生可通过该语音互动窗口与操作第一终端的教师进行语音互动。The voice interaction window is a voice interactive interface displayed when the second terminal runs the voice interactive application, and the student operating the second terminal can perform voice interaction with the teacher operating the first terminal through the voice interaction window.
由于第二终端中可能同时运行多个应用程序,而操作第二终端的学生可能正在使用运行的多个应用程序中的任一应用程序;如果操作第二终端的学生正在使用的应用程序不是语音互动应用程序,则可能造成语音互动的失败。而当语音互动窗口显示在最前端且无遮挡时,表明操作第二终端的学生正在使用语音互动应用程序。因此,为了保证操作第二终端的学生正在使用语音互动应用程序,本申请实施例提供的方法判断互动群组中的每个第二终端的语音互动窗口是否显示在最前端且无遮挡,从而排除了正在使用除语音互动应用程序外的其他应用程序的学生操作的第二终端,进而提高了语音互动的效率。关于判断互动群组中的每个第二终端的语音互动窗口是否显示在最前端且无遮挡的方式,本实施例不作具体限定。例如,第一终端向每个第二终端发送语音互动窗口的检测指令,由互动群组中的每个第二终端根据该检测指令通过API(Application Programming Interface,应用程序编程接口)检测语音互动窗口是否处于激活状态,得到状态检测结果;若语音窗口处于激活状态,则表明语音互动窗口在最前端且无遮挡;第二终端将状态检测结果返回给第一终端,第一终端接收互动群组中的每个第二终端发送的语音互动窗口的状态检测结果;若接收到的任一第二终端发送的语音互动窗口的状态检测结果为语音互动窗口处于激活状态,则第一终端判断该第二终端的语音互动窗口显示在最前端且无遮挡。Since multiple applications may be running in the second terminal at the same time, the student operating the second terminal may be using any of the multiple applications running; if the student operating the second terminal is using the application is not a voice Interactive applications can cause voice interactions to fail. When the voice interaction window is displayed at the front end and is unoccluded, it indicates that the student operating the second terminal is using the voice interactive application. Therefore, in order to ensure that the student who operates the second terminal is using the voice interactive application, the method provided by the embodiment of the present application determines whether the voice interaction window of each second terminal in the interaction group is displayed at the front end and is not blocked, thereby eliminating A second terminal that is being operated by a student who is using an application other than the voice interactive application, thereby improving the efficiency of voice interaction. The method for determining whether the voice interaction window of each second terminal in the interaction group is displayed at the forefront and without occlusion is not specifically limited in this embodiment. For example, the first terminal sends a detection instruction of the voice interaction window to each second terminal, and each second terminal in the interaction group detects the voice interaction window through an API (Application Programming Interface) according to the detection instruction. Whether it is in the active state, the state detection result is obtained; if the voice window is in the active state, it indicates that the voice interaction window is at the front end and is not occluded; the second terminal returns the state detection result to the first terminal, and the first terminal receives the interaction group a state detection result of the voice interaction window sent by each second terminal; if the state detection result of the voice interaction window sent by any second terminal received is that the voice interaction window is in an active state, the first terminal determines the second The terminal's voice interaction window is displayed at the front end and is unobstructed.
202:第一终端在预设时间内检测语音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作;202: The first terminal detects, in a preset time, an operation of displaying a voice interaction window of the voice terminal that is displayed at the front end and is not occluded;
当第二终端的语音互动窗口显示在最前端且无遮挡时,虽然表明操作第二终端的学生正在使用语音互动应用程序,但由于操作第二终端的学生不在座位等原因,仍存在语音互动窗口显示在最前端且无遮挡的第二终端无人操作的情况。 When the voice interaction window of the second terminal is displayed at the forefront and is not occluded, although the student operating the second terminal is using the voice interactive application, the voice interaction window still exists because the student operating the second terminal is not seated or the like. The second terminal that is displayed at the forefront and is unobstructed is unmanned.
为了避免语音互动窗口显示在最前端且无遮挡的第二终端无人操作的情况,本实施例还提供了一种检测第二终端的语音互动窗口的操作的方法,由第一终端在预设时间内检测语音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作,从而保证在预设时间内语音互动窗口显示在最前端且无遮挡的第二终端有人操作。关于检测的方式本实施不作具体限定。例如,第一终端向每个语音互动窗口显示在最前端且无遮挡的第二终端发送操作检测指令,由语音互动窗口显示在最前端且无遮挡的第二终端根据该操作检测指令在预设时间内执行检测语音互动窗口的操作,得到操作检测结果;语音互动窗口显示在最前端且无遮挡的第二终端将操作检测结果返回给第一终端,第一终端接收语音互动窗口显示在最前端且无遮挡的第二终端发送的操作检测结果;若接收到的任一第二终端发送的操作检测结果为在预设时间内检测到语音互动窗口的操作,则第一终端在预设时间内检测到语音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作。In order to prevent the voice interaction window from being displayed at the forefront and the unblocked second terminal is not operated, the embodiment further provides a method for detecting the operation of the voice interaction window of the second terminal, which is preset by the first terminal. The operation of detecting the voice interaction window in the time is displayed at the front end and the operation of the voice interaction window of the second terminal without occlusion, so as to ensure that the voice interaction window is displayed at the forefront and the second terminal without occlusion is operated in a preset time. Regarding the manner of detection, the present embodiment is not specifically limited. For example, the first terminal sends an operation detection instruction to the second terminal that is displayed at the forefront and is not occluded to each voice interaction window, and the second terminal that is displayed at the forefront by the voice interaction window and is unoccluded is preset according to the operation detection instruction. The operation of detecting the voice interaction window is performed in time, and the operation detection result is obtained; the second interaction terminal displayed in the front end and the occlusion is returned to the first terminal, and the first terminal receives the voice interaction window displayed at the forefront. And the operation detection result sent by the second terminal without occlusion; if the operation detection result sent by any second terminal received is an operation of detecting the voice interaction window within a preset time, the first terminal is within the preset time The operation of the voice interaction window of the second terminal that is displayed at the forefront and without occlusion is detected.
其中,本实施例不对预设时间的长短进行限定。具体实施时,如果设置的预设时间过短,则可能出现在预设时间内操作第二终端的学生还未来得及进行操作的情况;如果设置的预设时间过长,则可能出现在预设时间内无人操作第二终端的情况。因此,可根据实际情况设置的预设时间,例如,预设时间可以设置为30秒等。The embodiment does not limit the length of the preset time. In the specific implementation, if the preset time set is too short, the student who operates the second terminal within the preset time may still have the operation in the future; if the set preset time is too long, the preset may appear in the preset. The situation in which the second terminal is not operated during the time. Therefore, the preset time that can be set according to the actual situation, for example, the preset time can be set to 30 seconds or the like.
203:第一终端将语音互动窗口显示在最前端且无遮挡以及在预设时间内检测到语音互动窗口的操作的第二终端作为检测到的有效在线的第二终端;203: The first terminal displays the voice interaction window at the forefront and is occluded, and the second terminal that detects the operation of the voice interaction window within the preset time is used as the detected second terminal of the effective online;
本实施例提供的方法在判断第二终端的语音互动窗口显示在最前端且无遮挡时,继续在预设时间内检测音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作,从而保证音互动窗口显示在最前端且无遮挡以及在预设时间内检测到语音互动窗口的操作的第二终端有人操作,并且操作第二终端的学生正在使用语音互动应用程序。因此,可将语音互动窗口显示在最前端且无遮挡以及在预设时间内检测到语音互动窗口的操作的第二终端作为检测到的有效在线的第二终端。In the method provided by the embodiment, when the voice interaction window of the second terminal is displayed at the front end and is not occluded, the voice interaction window of the second terminal that is displayed at the front end and is not occluded is displayed in the preset time. The second terminal, which operates to ensure that the tone interactive window is displayed at the forefront and is unoccluded and that detects the operation of the voice interactive window within a preset time, is operated, and the student operating the second terminal is using the voice interactive application. Therefore, the voice interaction window can be displayed at the forefront and without occlusion and the second terminal detecting the operation of the voice interaction window within the preset time as the second terminal of the detected valid online.
进一步地,通过上述步骤201至步骤203即完成了检测互动群组中有效在线的第二终端,为了完成语音互动,本实施例提供的方法还包括后续步骤。Further, the foregoing step 201 to step 203 is performed to detect the second terminal that is effectively online in the interaction group. To complete the voice interaction, the method provided in this embodiment further includes a subsequent step.
204:第一终端在所有有效在线的第二终端中检测具有语音互动能力的第二终端,将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条 件的第二终端;204: The first terminal detects a second terminal having voice interaction capability in all second terminals that are effectively online, and uses all the second terminals that are effectively online and have voice interaction capability as the voice interaction bar. Second terminal of the piece;
由于有效在线的第二终端可能没有安装麦克风或安装的麦克风损坏等原因,造成有效在线的第二终端无法获取到操作第二终端的学生输入的语音信息,进而第一终端在与有效在线的第二终端进行语音互动时,无法接收到有效在线的第二终端发送的语音信息,致使语音互动失败。因此,本申请实施例提供的方法在所有有效在线的第二终端中检测具有语音互动能力的第二终端,并将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端。其中,具有语音互动能力的第二终端可正常获取操作第二终端的学生输入的语音信息,关于检测在所有有效在线的第二终端中检测具有语音互动能力的第二终端的方式,本实施例不作具体限定。Since the second terminal that is effectively online may not have the microphone installed or the installed microphone is damaged, the second terminal that is effectively online cannot obtain the voice information input by the student operating the second terminal, and thus the first terminal is in the effective online When the second terminal performs voice interaction, the voice information sent by the second terminal that is effectively online cannot be received, and the voice interaction fails. Therefore, the method provided by the embodiment of the present application detects the second terminal having the voice interaction capability in all the second terminals that are effectively online, and uses all the second terminals that are effectively online and have the voice interaction capability as the second voice with the voice interaction condition. terminal. The second terminal having the voice interaction capability can normally obtain the voice information input by the student operating the second terminal, and the method for detecting the second terminal having the voice interaction capability in the second terminal that is effectively online is used in this embodiment. No specific limitation.
作为一种可选实施例,在所有有效在线的第二终端中检测具有语音互动能力的第二终端,包括但不限于:As an optional embodiment, the second terminal having voice interaction capability is detected in all the second terminals that are effectively online, including but not limited to:
对每个有效在线的第二终端的麦克风进行测试;Testing the microphone of each second terminal that is effectively online;
若任一第二终端的麦克风测试通过,则将任一第二终端作为检测到的具有语音互动能力的第二终端。If the microphone test of any of the second terminals passes, any second terminal is used as the detected second terminal with voice interaction capability.
其中,本实施例不对测试每个有效在线的第二终端的麦克风的方式进行限定。具体实施时,可由第一终端向每个有效在线的第二终端发送麦克风测试指令,由每个有效在线的第二终端根据该测试指令测试麦克风是否能够收集语音信息,并将测试结果返回给第一终端;第一终端接收每个有效在线的第二终端发送的检测结果;若接收到的任一第二终端的测试结果为麦克风能够收集语音信息,则该第二终端的麦克风测试通过。The embodiment does not limit the manner of testing the microphone of each second terminal that is effectively online. In a specific implementation, the first terminal may send a microphone test instruction to each second terminal that is effectively online, and the second terminal that is effectively online tests whether the microphone can collect the voice information according to the test instruction, and returns the test result to the first a terminal; the first terminal receives the detection result sent by each second terminal that is effectively online; if the test result of any of the received second terminals is that the microphone can collect the voice information, the microphone test of the second terminal passes.
需要说明的是,上述各个步骤除了第一终端与第二终端直接进行交互,以执行相应操作外,第一终端还可以与服务器进行交互,由服务器再与第二终端进行交互,并将获取到的结果反馈给第一终端,使第一终端进行上述各个步骤的操作,具体采用哪种方式,本实施例不作具体限定。It should be noted that, in addition to the first terminal and the second terminal directly interacting to perform corresponding operations, the first terminal may also interact with the server, and the server interacts with the second terminal again, and The result is fed back to the first terminal, so that the first terminal performs the operations of the foregoing steps, and the specific manner is not specifically limited in this embodiment.
205:第一终端根据所述根据显示的互动标识与具备语音互动条件的第二终端进行语音互动。205: The first terminal performs voice interaction according to the displayed interaction identifier according to the second terminal that has a voice interaction condition.
由于具备语音互动条件的第二终端均能正常进行语音互动,因此,第一终端检测具有语音互动能力的第二终端,将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端之后,可显示所有具备语音互动条件的第二终端的互动标识,进而根据显示的互动标识与具备语音互动条件的第 二终端进行语音互动。Since the second terminal having the voice interaction condition can perform the voice interaction normally, the first terminal detects the second terminal having the voice interaction capability, and uses all the second terminals that are effectively online and have the voice interaction capability as the voice interaction condition. After the second terminal, the interactive identifier of all the second terminals having the voice interaction condition may be displayed, and then according to the displayed interactive identifier and the voice interactive condition The second terminal performs voice interaction.
其中,互动标识包括但不限于用于标识有效在线且具有语音互动能力的图标,该互动标识可以为任意形式,本实施例不对互动标识的具体形式及具体显示方式进行限定。具体实施时,该互动标识可以显示在第一终端的交互界面上,该第一终端的交互界面上除了显示具备语音互动条件的第二终端的互动标识外,还可以显示第一终端对应的用户头像、属于同一互动群组的所有第二终端对应的用户头像及互动群组的语音互动内容,本实施例不对第一终端的交互界面上显示的内容进行限定。以图4所示的交互界面为例,第一终端的交互界面上除了显示第一终端对应的用户头像(界面右上角)以及同一互动群组内的各个第二终端对应的用户头像(第一终端对应的用户头像下面)之外,还在每个第二终端对应的用户头像前显示麦克风图标,对于具备语音互动条件的第二终端,可以在对应的用户头像及麦克风图标之前显示互动标识“★”,用于表明该第二终端为有效在线且具有语音互动能力。同理,对于不具备语音互动条件的第二终端,可以在对应的用户头像及麦克风图标之前显示无法互动标识“☆”,用于表明该第二终端未有效在线和/或不具有语音互动能力。The interactive identifier includes, but is not limited to, an icon for identifying a valid online and having a voice interaction capability, and the interactive identifier may be in any form. This embodiment does not limit the specific form and specific display manner of the interactive identifier. In a specific implementation, the interaction identifier may be displayed on the interaction interface of the first terminal, and the interaction interface of the second terminal may display the user corresponding to the first terminal in addition to the interaction identifier of the second terminal having the voice interaction condition. The avatar, the user avatar corresponding to all the second terminals belonging to the same interaction group, and the voice interaction content of the interaction group, the embodiment does not limit the content displayed on the interaction interface of the first terminal. Taking the interaction interface shown in FIG. 4 as an example, the interaction interface of the first terminal displays the user avatar corresponding to the first terminal (the upper right corner of the interface) and the user avatar corresponding to each second terminal in the same interaction group (first In addition to the user avatar corresponding to the terminal, the microphone icon is displayed in front of the user avatar corresponding to each second terminal, and the second terminal having the voice interaction condition may display the interactive identifier before the corresponding user avatar and the microphone icon. ★”, used to indicate that the second terminal is valid online and has voice interaction capability. Similarly, for the second terminal that does not have the voice interaction condition, the non-interactive identifier "☆" can be displayed before the corresponding user avatar and the microphone icon, indicating that the second terminal is not valid online and/or has no voice interaction capability. .
相应的,本申请实施例中还可以包括如下步骤:Correspondingly, the following steps may be included in the embodiment of the present application:
显示未有效在线和/或不具有语音互动能力的第二终端的无法互动标识。An inability to interactively identify a second terminal that is not active online and/or that does not have voice interaction capabilities.
此外,需要说明的是,无论以何种方式显示具备语音互动条件的第二终端的互动标识,由于第二终端是否具备语音互动条件的状态可以实时变化,第一终端可以对各未有效在线和/或不具有语音互动能力的第二终端进行检测。其中,检测的过程可以按照预设的时间,周期性的对未有效在线和/或不具有语音互动能力的第二终端进行检测,并在检测到第二终端有效在线且具有语音互动能力之后,在交互界面中设置该第二终端对应的无法互动标识“☆”更新为互动标识“★”。因而第一终端显示的所有具备语音互动条件的第二终端的互动标识可以实时更新。In addition, it should be noted that, regardless of the manner in which the interactive identifier of the second terminal having the voice interaction condition is displayed, the state of the second terminal may change in real time due to whether the state of the voice interaction condition is changed, and the first terminal may / or a second terminal that does not have voice interaction capability for detection. The detecting process may periodically detect the second terminal that is not valid online and/or has no voice interaction capability according to a preset time, and after detecting that the second terminal is valid online and has voice interaction capability, In the interaction interface, the non-interactive identifier “☆” corresponding to the second terminal is updated to the interactive identifier “★”. Therefore, the interactive identifiers of all the second terminals with voice interaction conditions displayed by the first terminal can be updated in real time.
相应的,本申请实施例中还可以包括如下步骤:Correspondingly, the following steps may be included in the embodiment of the present application:
周期性的对未有效在线和/或不具有语音互动能力的第二终端进行检测;Periodically detecting a second terminal that is not active online and/or has no voice interaction capability;
当检测到未有效在线和/或不具有语音互动能力的第二终端有效在线且具有语音互动能力时,则将检测到的第二终端的无法互动标识更新为互动标识。When it is detected that the second terminal that is not valid online and/or has no voice interaction capability is valid online and has voice interaction capability, the detected non-interactive identifier of the second terminal is updated to an interactive identifier.
例如,第二终端A在5分钟前因为麦克风无法使用而不具备语音互动条件,第一终端未显示该第二终端的互动标识,如该第二终端A对应的用户头像及麦 克风图标之前显示“☆”。但之后第二终端A对应的用户对第二终端的麦克风进行了维修,从而使第二终端A的麦克风在5分钟后恢复正常,且经过上述步骤的检测,第二终端A具备语音互动条件,因而第一终端的交互界面更新之后,显示有第二终端A的互动标识,即第二终端A对应的用户头像及麦克风图标之前显示“★”。For example, the second terminal A does not have a voice interaction condition because the microphone is unusable 5 minutes ago, and the first terminal does not display the interaction identifier of the second terminal, such as the user avatar and the wheat corresponding to the second terminal A. “☆” is displayed before the icon. After that, the user corresponding to the second terminal A performs maintenance on the microphone of the second terminal, so that the microphone of the second terminal A returns to normal after 5 minutes, and after the detection of the above steps, the second terminal A has a voice interaction condition. Therefore, after the interactive interface of the first terminal is updated, the interactive identifier of the second terminal A is displayed, that is, the user avatar corresponding to the second terminal A and the microphone icon are displayed with "★".
进一步地,根据显示的互动标识与具备语音互动条件的第二终端进行语音互动时,可显示所有具备语音互动条件的第二终端的互动标识,并根据显示的互动标识从所有具备语音互动条件的第二终端中选择至少一个第二终端,并与选择的第二终端进行语音互动。关于选择第二终端的方式本实施例不作具体限定,例如,第一终端对应的用户从所有具备语音互动条件的第二终端中选择双击其中一个具备语音互动条件的第二终端对应的用户头像,第一终端将被双击用户头像的第二终端作为选择的第二终端,并与其进行语音互动。Further, when the interaction between the displayed interactive identifier and the second terminal having the voice interaction condition is performed, the interactive identifier of all the second terminal having the voice interaction condition may be displayed, and all the voice interaction conditions are displayed according to the displayed interactive identifier. At least one second terminal is selected in the second terminal, and performs voice interaction with the selected second terminal. The manner of selecting the second terminal is not limited in this embodiment. For example, the user corresponding to the first terminal selects a user avatar corresponding to the second terminal having the voice interaction condition from all the second terminals having the voice interaction condition. The first terminal will double-click the second terminal of the user's avatar as the selected second terminal and perform voice interaction with it.
无论采用哪种方式选择第二终端,第一终端在与选择的第二终端进行语音互动时,本实施例不对具体语音互动的方式进行限定。具体实施时,可通过第一终端的麦克风设备录制第一终端对应的用户的语音信息,并将该语音信息发送给选择的各个第二终端。当然,各个被选的第二终端可以通过其麦克风设备录制对应的用户的语音信息,并将其录制的语音信息发送给第一终端,从而实现第一终端对应的用户及被选的第二终端对应的用户之间的语音互动。Regardless of the manner in which the second terminal is selected, when the first terminal performs voice interaction with the selected second terminal, the embodiment does not limit the manner in which the specific voice interaction is performed. In a specific implementation, the voice information of the user corresponding to the first terminal is recorded by the microphone device of the first terminal, and the voice information is sent to each selected second terminal. Certainly, each selected second terminal can record the corresponding user's voice information through its microphone device, and send the recorded voice information to the first terminal, thereby implementing the user corresponding to the first terminal and the selected second terminal. Corresponding user interaction between voices.
例如,针对教师与学生分别通过第一终端及第二终端进行语音互动的应用场景,通过在教师操作的第一终端显示所有具备语音互动条件的第二终端的互动标识,使得操作第一终端的教师可获知所有具备语音互动条件的第二终端,进而第一终端可检测教师选择的第二终端,与教师选择的第二终端进行语音互动。For example, for an application scenario in which a teacher and a student perform voice interaction through a first terminal and a second terminal respectively, by displaying an interactive identifier of all second terminals having a voice interaction condition at a first terminal operated by the teacher, the operation of the first terminal is performed. The teacher can learn all the second terminals having the voice interaction condition, and then the first terminal can detect the second terminal selected by the teacher and perform voice interaction with the second terminal selected by the teacher.
另外,参见图5所示的语音互动的流程图,步骤201对应开始及课堂窗口前置且无遮挡及不具备互动条件,不显示互动图标。步骤202对应最近30秒在课堂窗口内有操作及不具备互动条件,不显示互动图标。步骤203对应标记为有效在线,步骤204对应麦克分测试通过及标记为在线且有语音互动能力及不具备互动条件,不显示互动图标,步骤205对应具备互动条件,显示互动图标。In addition, referring to the flow chart of the voice interaction shown in FIG. 5, step 201 corresponds to the start and the classroom window is pre-positioned and has no occlusion and does not have an interactive condition, and does not display an interactive icon. Step 202 corresponds to the last 30 seconds of having an operation in the classroom window and does not have an interactive condition, and does not display an interactive icon. Step 203 is correspondingly marked as valid online. Step 204 corresponds to the mic test and is marked as online and has voice interaction capability and does not have an interactive condition. The interactive icon is not displayed, and step 205 corresponds to an interactive condition, and an interactive icon is displayed.
本申请实施例提供的方法,通过将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端,并根据具备语音互动条件的第二终 端进行语音互动,从而实现与具备语音互动条件的第二终端进行语音互动,提高了语音互动的效率。The method provided by the embodiment of the present application is to use all the second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions, and according to the second terminal with voice interaction conditions. The voice interaction is performed to realize the voice interaction with the second terminal having the voice interaction condition, thereby improving the efficiency of the voice interaction.
参见图6,本申请实施例提供了一种语音互动的终端,该终端用于执行上述图2或图3所示的实施例提供的方法。该终端包括:Referring to FIG. 6, the embodiment of the present application provides a voice interactive terminal, which is used to execute the method provided by the embodiment shown in FIG. 2 or FIG. 3 above. The terminal includes:
第一检测模块401,用于检测互动群组中各个第二终端的语音互动窗口的状态,所述互动群组中包括第一终端以及至少一个第二终端;The first detecting module 401 is configured to detect a state of a voice interaction window of each second terminal in the interaction group, where the interaction group includes a first terminal and at least one second terminal;
确定模块402,用于根据各个第二终端的语音互动窗口的状态确定有效在线的第二终端;a determining module 402, configured to determine, according to a state of the voice interaction window of each second terminal, a second terminal that is effectively online;
第二检测模块403,用于在所有有效在线的第二终端中检测具有语音互动能力的第二终端;a second detecting module 403, configured to detect a second terminal having voice interaction capability in all second terminals that are effectively online;
处理模块404,用于将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端;The processing module 404 is configured to use all second terminals that are effectively online and have voice interaction capabilities as the second terminal with voice interaction conditions;
语音互动模块406,用于与选择的第二终端进行语音互动。The voice interaction module 406 is configured to perform voice interaction with the selected second terminal.
作为一种可选实施例,参见图7,确定模块402,包括:As an optional embodiment, referring to FIG. 7, the determining module 402 includes:
判断单元4021,用于判断各个第二终端的语音互动窗口是否显示在最前端且无遮挡;The determining unit 4021 is configured to determine whether the voice interaction window of each second terminal is displayed at the forefront and is occluded;
第一处理单元4022,用于将语音互动窗口显示在最前端且无遮挡第二终端作为有效在线的第二终端。The first processing unit 4022 is configured to display the voice interaction window at the forefront and the non-occlusion second terminal as the second terminal that is effectively online.
作为一种可选实施例,参见图8,确定模块402,还包括:As an optional embodiment, referring to FIG. 8, the determining module 402 further includes:
检测单元4023,用于在预设时间内检测语音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作;The detecting unit 4023 is configured to detect, during a preset time, an operation of displaying a voice interaction window of the second terminal of the second terminal without the occlusion;
第一处理单元4022,用于将语音互动窗口显示在最前端且无遮挡以及在预设时间内检测到语音互动窗口的操作的第二终端作为有效在线的第二终端。The first processing unit 4022 is configured to display the voice interaction window at the forefront and without occlusion and the second terminal that detects the operation of the voice interaction window within a preset time as the second terminal that is effectively online.
作为一种可选实施例,参见图9,第二检测模块403,包括:As an optional embodiment, referring to FIG. 9, the second detecting module 403 includes:
测试单元4031,用于对每个有效在线的第二终端的麦克风进行测试;a testing unit 4031, configured to test a microphone of each second terminal that is effectively online;
第二处理单元4032,用于当任一第二终端的麦克风测试通过时,则将任一第二终端作为检测到的具有语音互动能力的第二终端。The second processing unit 4032 is configured to use any second terminal as the detected second terminal with voice interaction capability when the microphone test of any second terminal passes.
作为一种可选实施例,参见图10,语音互动模块406,包括:As an alternative embodiment, referring to FIG. 10, the voice interaction module 406 includes:
选择单元4061,用于显示所有具备语音互动条件的第二终端的互动标识,并根据显示的互动标识从所有具备语音互动条件的第二终端中选择至少一个 第二终端;The selecting unit 4061 is configured to display an interaction identifier of all second terminals having voice interaction conditions, and select at least one of all second terminals having voice interaction conditions according to the displayed interaction identifier. Second terminal;
语音互动单元4062,用于与被选的第二终端进行语音互动。The voice interaction unit 4062 is configured to perform voice interaction with the selected second terminal.
作为一种可选实施例,终端还包括:As an optional embodiment, the terminal further includes:
标识显示模块,用于第一终端显示未有效在线和/或不具有语音互动能力的第二终端的无法互动标识。The identifier display module is configured to display, by the first terminal, an inability to interact with the second terminal that is not valid online and/or has no voice interaction capability.
作为一种可选实施例,终端还包括:As an optional embodiment, the terminal further includes:
第三检测模块,用于周期性的对未有效在线和/或不具有语音互动能力的第二终端进行检测;a third detecting module, configured to periodically detect a second terminal that is not valid online and/or has no voice interaction capability;
更新模块,用于当检测到未有效在线和/或不具有语音互动能力的第二终端有效在线且具有语音互动能力时,则将检测到的第二终端的无法互动标识更新为互动标识。The update module is configured to update the detected non-interactive identifier of the second terminal to the interactive identifier when detecting that the second terminal that is not valid online and/or has no voice interaction capability is valid online and has voice interaction capability.
本申请实施例提供的终端,通过将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端,并根据具备语音互动条件的第二终端进行语音互动,从而实现与具备语音互动条件的第二终端进行语音互动,提高了语音互动的效率。The terminal provided by the embodiment of the present application implements voice interaction by using all second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions, and performing voice interaction according to the second terminal having voice interaction conditions. The second terminal of the voice interaction condition performs voice interaction, which improves the efficiency of voice interaction.
请参考图11,其示出了本申请实施例所涉及的终端的结构示意图,该终端可以用于实施上述实施例中提供的语音互动的方法。具体来讲:Please refer to FIG. 11 , which is a schematic structural diagram of a terminal involved in the embodiment of the present application. The terminal may be used to implement the voice interaction method provided in the foregoing embodiment. Specifically:
终端1100可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WiFi(Wireless Fidelity,无线保真)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。本领域技术人员可以理解,图11中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The terminal 1100 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (Wireless Fidelity, wireless). The fidelity module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 11 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将涉及上行的数据发送给基站。通常,RF电路110包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile  communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。The RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals. Specifically, after receiving downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. . Generally, the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc. In addition, RF circuitry 110 can also communicate with the network and other devices via wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile) Communication, Global System for Mobile Communications, GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), etc.
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端1100的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。The memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 1100 (such as audio data, phone book, etc.) and the like. Moreover, memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选地,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. In particular, input unit 130 can include touch-sensitive surface 131 as well as other input devices 132. Touch-sensitive surface 131, also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program. Alternatively, the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 180 is provided and can receive commands from the processor 180 and execute them. In addition, the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 can also include other input devices 132. Specifically, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端1100的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用 LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图11中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。The display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of the terminal 1100, which can be composed of graphics, text, icons, video, and any combination thereof. The display unit 140 can include a display panel 141, optionally, can be employed The display panel 141 is configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141. Although in FIG. 11, touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
终端1100还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端1100移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端1100还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Terminal 1100 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the terminal 1100 moves to the ear. / or backlight. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the terminal (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal 1,100 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
音频电路160、扬声器161,传声器162可提供用户与终端1100之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与终端1100的通信。The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal 1100. The audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, via the RF circuit 110, or outputted to the memory 120 for further processing. The audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 1100.
WiFi属于短距离无线传输技术,终端1100通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图11示出了WiFi模块170,但是可以理解的是,其并不属于终端1100的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the terminal 1100 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users. Although FIG. 11 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the terminal 1100, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器180是终端1100的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端1100的各种功能和处理数据,从 而对终端进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选地,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is a control center of the terminal 1100 that connects various portions of the entire terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, Perform various functions and processing data of the terminal 1100, from The terminal is monitored as a whole. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
终端1100还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal 1100 also includes a power supply 190 (such as a battery) for powering various components. Preferably, the power supply can be logically coupled to the processor 180 through a power management system to manage functions such as charging, discharging, and power management through the power management system. Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
尽管未示出,终端1100还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,终端的显示单元是触摸屏显示器,终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行。所述一个或者一个以上程序包含用于执行上述实施例所述的语音交互的方法对应的操作指令。Although not shown, the terminal 1100 may further include a camera, a Bluetooth module, and the like, and details are not described herein again. Specifically, in this embodiment, the display unit of the terminal is a touch screen display, the terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be processed by one or more Execution. The one or more programs include operational instructions corresponding to methods for performing the voice interactions described in the above embodiments.
本申请实施例提供的终端,通过将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端,并根据具备语音互动条件的第二终端进行语音互动,从而实现与具备语音互动条件的第二终端进行语音互动,提高了语音互动的效率。The terminal provided by the embodiment of the present application implements voice interaction by using all second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions, and performing voice interaction according to the second terminal having voice interaction conditions. The second terminal of the voice interaction condition performs voice interaction, which improves the efficiency of voice interaction.
请参考图12,其示出了本申请实施例所涉及的终端的结构示意图,终端包括:处理器1201,收发器1202;Please refer to FIG. 12, which is a schematic structural diagram of a terminal involved in the embodiment of the present application. The terminal includes: a processor 1201, a transceiver 1202;
处理器1201,用于检测互动群组中各个第二终端的语音互动窗口的状态,根据各个第二终端的语音互动窗口的状态确定有效在线的第二终端,所述互动群组中包括第一终端以及至少一个第二终端;在所有有效在线的第二终端中检测具有语音互动能力的第二终端,将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端;The processor 1201 is configured to detect a state of a voice interaction window of each second terminal in the interaction group, and determine, according to a state of the voice interaction window of each second terminal, a second terminal that is effectively online, where the interaction group includes the first The terminal and the at least one second terminal; detecting the second terminal having the voice interaction capability in all the second terminals that are effectively online, and using all the second terminals that are effectively online and having the voice interaction capability as the second terminal having the voice interaction condition;
收发器1202,用于根据显示的互动标识与具备语音互动条件的第二终端进行语音互动。The transceiver 1202 is configured to perform voice interaction with the second terminal having the voice interaction condition according to the displayed interactive identifier.
作为一种可选实施例,处理器1201,还用于判断各个第二终端的语音互动窗口是否显示在最前端且无遮挡;将语音互动窗口显示在最前端且无遮挡第二终端作为有效在线的第二终端。 As an optional embodiment, the processor 1201 is further configured to determine whether the voice interaction window of each second terminal is displayed at the front end and is not occluded; the voice interaction window is displayed at the forefront and the second terminal is not occluded as an effective online The second terminal.
作为一种可选实施例,处理器1201,还用于在预设时间内检测语音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作;As an optional embodiment, the processor 1201 is further configured to detect, during a preset time, an operation of displaying a voice interaction window of the second terminal that is displayed at the forefront and without the occlusion;
处理器1201,还用于将语音互动窗口显示在最前端且无遮挡以及在预设时间内检测到语音互动窗口的操作的第二终端作为有效在线的第二终端。The processor 1201 is further configured to display the voice interaction window at the forefront and without the occlusion and the second terminal that detects the operation of the voice interaction window within the preset time as the second terminal that is effectively online.
作为一种可选实施例,处理器1201,还用于对每个有效在线的第二终端的麦克风进行测试;若任一第二终端的麦克风测试通过,则将任一第二终端作为检测到的具有语音互动能力的第二终端。As an optional embodiment, the processor 1201 is further configured to test the microphone of each second terminal that is effectively online; if the microphone test of any second terminal passes, any second terminal is detected as A second terminal with voice interaction capabilities.
作为一种可选实施例,终端还包括显示器1203,As an optional embodiment, the terminal further includes a display 1203,
显示器1203,用于显示所有具备语音互动条件的第二终端的互动标识;a display 1203, configured to display an interactive identifier of all second terminals having voice interaction conditions;
处理器1201,还用于根据显示的互动标识从所有具备语音互动条件的第二终端中选择至少一个第二终端;The processor 1201 is further configured to select at least one second terminal from all second terminals having voice interaction conditions according to the displayed interactive identifier;
收发器1202,还用于与被选的第二终端进行语音互动。The transceiver 1202 is further configured to perform voice interaction with the selected second terminal.
作为一种可选实施例,显示器1202,还用于第一终端显示未有效在线和/或不具有语音互动能力的第二终端的无法互动标识。As an optional embodiment, the display 1202 is further configured to display, by the first terminal, an inability to interact with the second terminal that is not valid online and/or has no voice interaction capability.
作为一种可选实施例,处理器1201,还用于周期性的对未有效在线和/或不具有语音互动能力的第二终端进行检测;当检测到未有效在线和/或不具有语音互动能力的第二终端有效在线且具有语音互动能力时,则将检测到的第二终端的无法互动标识更新为互动标识。As an optional embodiment, the processor 1201 is further configured to periodically detect a second terminal that is not valid online and/or has no voice interaction capability; when detecting that the data is not valid online and/or has no voice interaction When the second terminal of the capability is valid online and has voice interaction capability, the detected non-interactive identifier of the second terminal is updated to an interactive identifier.
本申请实施例提供的终端,通过将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端,并根据具备语音互动条件的第二终端进行语音互动,从而实现与具备语音互动条件的第二终端进行语音互动,提高了语音互动的效率。The terminal provided by the embodiment of the present application implements voice interaction by using all second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions, and performing voice interaction according to the second terminal having voice interaction conditions. The second terminal of the voice interaction condition performs voice interaction, which improves the efficiency of voice interaction.
需要说明的是:上述实施例提供的语音互动的终端在进行语音互动时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将终端的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的语音互动的终端与语音互动的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the voice interactive terminal provided by the foregoing embodiment performs voice interaction, only the division of each functional module is used as an example. In an actual application, the function distribution may be completed by different functional modules according to requirements. The internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the embodiment of the voice interactive terminal and the voice interaction provided by the foregoing embodiment is the same concept, and the specific implementation process is described in the method embodiment, and details are not described herein again.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。 The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。 The above is only the preferred embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application are included in the protection of the present application. Within the scope.

Claims (21)

  1. 一种语音互动的方法,其特征在于,所述方法包括:A method for voice interaction, characterized in that the method comprises:
    检测互动群组中各个第二终端的语音互动窗口的状态,根据各个第二终端的语音互动窗口的状态确定有效在线的第二终端,所述互动群组中包括第一终端以及至少一个第二终端;Detecting a state of a voice interaction window of each second terminal in the interaction group, and determining, according to a state of the voice interaction window of each second terminal, a second terminal that is effectively online, where the interaction group includes the first terminal and at least one second terminal;
    在所有有效在线的第二终端中检测具有语音互动能力的第二终端,将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端;Detecting a second terminal having voice interaction capability in all the second terminals that are effectively online, and using all the second terminals that are effectively online and having voice interaction capability as the second terminal having voice interaction conditions;
    根据所述具备语音互动条件的第二终端进行语音互动。Performing voice interaction according to the second terminal having the voice interaction condition.
  2. 根据权利要求1所述的方法,其特征在于,所述根据各个第二终端的语音互动窗口的状态确定有效在线的第二终端,包括:The method according to claim 1, wherein the determining the second terminal that is valid online according to the state of the voice interaction window of each second terminal comprises:
    判断各个第二终端的语音互动窗口是否显示在最前端且无遮挡;Determining whether the voice interaction window of each second terminal is displayed at the forefront and without occlusion;
    将语音互动窗口显示在最前端且无遮挡第二终端作为有效在线的第二终端。The voice interaction window is displayed at the forefront and the second terminal is occluded as the second terminal that is effectively online.
  3. 根据权利要求1或2中任意项所述的方法,其特征在于,所述判断各个第二终端的语音互动窗口是否显示在最前端且无遮挡之后,还包括:The method according to any one of claims 1 to 2, wherein the determining whether the voice interaction window of each second terminal is displayed at the forefront and without occlusion further comprises:
    在预设时间内检测语音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作;Detecting, in a preset time, an operation of the voice interaction window of the second terminal that is displayed at the forefront and without occlusion;
    所述将语音互动窗口显示在最前端且无遮挡第二终端作为有效在线的第二终端,包括:The displaying the voice interaction window at the forefront and the non-occlusion second terminal as the second terminal that is effectively online includes:
    将语音互动窗口显示在最前端且无遮挡以及在预设时间内检测到语音互动窗口的操作的第二终端作为有效在线的第二终端。The second terminal that displays the voice interaction window at the forefront and has no occlusion and detects the operation of the voice interaction window within a preset time is used as the second terminal of the effective online.
  4. 根据权利要求1-3中任意项所述的方法,其特征在于,所述在所有有效在线的第二终端中检测具有语音互动能力的第二终端,包括:The method according to any one of claims 1-3, wherein the detecting the second terminal having the voice interaction capability in the second terminal that is effectively online, comprises:
    对每个有效在线的第二终端的麦克风进行测试;Testing the microphone of each second terminal that is effectively online;
    若任一第二终端的麦克风测试通过,则将所述任一第二终端作为检测到的具有语音互动能力的第二终端。 If the microphone test of any of the second terminals passes, the any second terminal is used as the detected second terminal with voice interaction capability.
  5. 根据权利要求1-4中任意项所述的方法,其特征在于,所述根据所述具备语音互动条件的第二终端进行语音互动,包括:The method according to any one of claims 1 to 4, wherein the performing the voice interaction according to the second terminal having the voice interaction condition comprises:
    显示所有具备语音互动条件的第二终端的互动标识,并根据显示的互动标识从所有具备语音互动条件的第二终端中选择至少一个第二终端,与被选的第二终端进行语音互动。Displaying an interaction identifier of all second terminals having voice interaction conditions, and selecting at least one second terminal from all second terminals having voice interaction conditions according to the displayed interaction identifier, and performing voice interaction with the selected second terminal.
  6. 根据权利要求1-5中任意项所述的方法,其特征在于,所述将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端之后,所述方法还包括:The method according to any one of claims 1-5, wherein the method further comprises: after the second terminal that is effective in online and has voice interaction capability, the method further comprises:
    显示未有效在线和/或不具有语音互动能力的第二终端的无法互动标识。An inability to interactively identify a second terminal that is not active online and/or that does not have voice interaction capabilities.
  7. 根据权利要求6所述的方法,其特征在于,所述第一终端显示未有效在线和/或不具有语音互动能力的第二终端的无法互动标识之后,所述方法还包括:The method according to claim 6, wherein the method further comprises: after the first terminal displays the inability to interact with the second terminal that is not valid online and/or has no voice interaction capability, the method further includes:
    周期性的对未有效在线和/或不具有语音互动能力的第二终端进行检测;Periodically detecting a second terminal that is not active online and/or has no voice interaction capability;
    当检测到未有效在线和/或不具有语音互动能力的第二终端有效在线且具有语音互动能力时,则将所述检测到的第二终端的无法互动标识更新为互动标识。When it is detected that the second terminal that is not valid online and/or has no voice interaction capability is valid online and has voice interaction capability, the detected non-interactive identifier of the second terminal is updated to an interactive identifier.
  8. 一种语音互动的终端,其特征在于,所述终端包括:A voice interactive terminal, wherein the terminal includes:
    第一检测模块,用于检测互动群组中各个第二终端的语音互动窗口的状态,所述互动群组中包括第一终端以及至少一个第二终端;a first detecting module, configured to detect a state of a voice interaction window of each second terminal in the interaction group, where the interaction group includes a first terminal and at least one second terminal;
    确定模块,用于根据各个第二终端的语音互动窗口的状态确定有效在线的第二终端;a determining module, configured to determine, according to a state of the voice interaction window of each second terminal, a second terminal that is effectively online;
    第二检测模块,用于在所有有效在线的第二终端中检测具有语音互动能力的第二终端;a second detecting module, configured to detect a second terminal having voice interaction capability in all second terminals that are effectively online;
    处理模块,用于将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端;a processing module, configured to use all second terminals that are effectively online and have voice interaction capability as the second terminal with voice interaction conditions;
    语音互动模块,用于根据所述具备语音互动条件的第二终端进行语音互动。The voice interaction module is configured to perform voice interaction according to the second terminal having the voice interaction condition.
  9. 根据权利要求8所述的终端,其特征在于,所述确定模块,包括:The terminal according to claim 8, wherein the determining module comprises:
    判断单元,用于判断各个第二终端的语音互动窗口是否显示在最前端且无遮挡; a judging unit, configured to determine whether the voice interaction window of each second terminal is displayed at the forefront and has no occlusion;
    第一处理单元,用于将语音互动窗口显示在最前端且无遮挡第二终端作为有效在线的第二终端。The first processing unit is configured to display the voice interaction window at the forefront and the non-occlusion second terminal as the second terminal that is effectively online.
  10. 根据权利要求8或9中任意项所述的终端,其特征在于,所述确定模块,还包括:The terminal according to any one of claims 8 to 9, wherein the determining module further comprises:
    检测单元,用于在预设时间内检测语音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作;a detecting unit, configured to detect, during a preset time, an operation of displaying a voice interaction window of the second terminal in the forefront and without occlusion;
    所述第一处理单元,用于将语音互动窗口显示在最前端且无遮挡以及在预设时间内检测到语音互动窗口的操作的第二终端作为有效在线的第二终端。The first processing unit is configured to display the voice interaction window at the forefront and without occlusion and the second terminal that detects the operation of the voice interaction window within the preset time as the second terminal that is effectively online.
  11. 根据权利要求8-10中任意项所述的终端,其特征在于,所述第二检测模块,包括:The terminal according to any one of claims 8 to 10, wherein the second detecting module comprises:
    测试单元,用于对每个有效在线的第二终端的麦克风进行测试;a testing unit, configured to test a microphone of each second terminal that is effectively online;
    第二处理单元,用于当任一第二终端的麦克风测试通过时,则将所述任一第二终端作为检测到的具有语音互动能力的第二终端。And a second processing unit, configured to use any of the second terminals as the detected second terminal having voice interaction capability when the microphone test of any second terminal passes.
  12. 根据权利要求8-11中任意项所述的终端,其特征在于,所述语音互动模块,包括:The terminal according to any one of claims 8-11, wherein the voice interaction module comprises:
    选择单元,用于显示所有具备语音互动条件的第二终端的互动标识,并根据显示的互动标识从所有具备语音互动条件的第二终端中选择至少一个第二终端;a selection unit, configured to display an interaction identifier of all second terminals having voice interaction conditions, and select at least one second terminal from all second terminals having voice interaction conditions according to the displayed interaction identifier;
    语音互动单元,用于与被选的第二终端进行语音互动。A voice interaction unit for performing voice interaction with the selected second terminal.
  13. 根据权利要求8-12中任意项所述的终端,其特征在于,所述终端还包括:The terminal according to any one of claims 8 to 12, wherein the terminal further comprises:
    标识显示模块,用于第一终端显示未有效在线和/或不具有语音互动能力的第二终端的无法互动标识。The identifier display module is configured to display, by the first terminal, an inability to interact with the second terminal that is not valid online and/or has no voice interaction capability.
  14. 根据权利要求13所述的终端,其特征在于,所述终端还包括:The terminal according to claim 13, wherein the terminal further comprises:
    第三检测模块,用于周期性的对未有效在线和/或不具有语音互动能力的第二终端进行检测; a third detecting module, configured to periodically detect a second terminal that is not valid online and/or has no voice interaction capability;
    更新模块,用于当检测到未有效在线和/或不具有语音互动能力的第二终端有效在线且具有语音互动能力时,则将所述检测到的第二终端的无法互动标识更新为互动标识。An update module, configured to update the detected non-interactive identifier of the second terminal to an interactive identifier when detecting that the second terminal that is not valid online and/or has no voice interaction capability is valid online and has voice interaction capability .
  15. 一种终端,其特征在于,所述终端包括:处理器,收发器;A terminal, comprising: a processor, a transceiver;
    所述处理器,用于检测互动群组中各个第二终端的语音互动窗口的状态,根据各个第二终端的语音互动窗口的状态确定有效在线的第二终端,所述互动群组中包括第一终端以及至少一个第二终端;在所有有效在线的第二终端中检测具有语音互动能力的第二终端,将所有有效在线且具有语音互动能力的第二终端作为具备语音互动条件的第二终端;The processor is configured to detect a state of a voice interaction window of each second terminal in the interaction group, and determine, according to a state of the voice interaction window of each second terminal, a second terminal that is effectively online, where the interaction group includes a terminal and at least one second terminal; detecting a second terminal having voice interaction capability in all second terminals that are effectively online, and using all second terminals that are effective online and having voice interaction capability as the second terminal having voice interaction conditions ;
    所述收发器,用于根据所述具备语音互动条件的第二终端进行语音互动。The transceiver is configured to perform voice interaction according to the second terminal that has a voice interaction condition.
  16. 根据权利要求15所述的终端,其特征在于,The terminal of claim 15 wherein:
    所述处理器,还用于判断各个第二终端的语音互动窗口是否显示在最前端且无遮挡;将语音互动窗口显示在最前端且无遮挡第二终端作为有效在线的第二终端。The processor is further configured to determine whether the voice interaction window of each second terminal is displayed at the front end and is not occluded; the voice interaction window is displayed at the forefront and the second terminal is not occluded as the second terminal that is effectively online.
  17. 根据权利要求15或16中任意项所述的终端,其特征在于,A terminal according to any of claims 15 or 16, wherein
    所述处理器,还用于在预设时间内检测语音互动窗口显示在最前端且无遮挡的第二终端的语音互动窗口的操作;The processor is further configured to detect, during a preset time, an operation of displaying a voice interaction window of the second terminal that is displayed at the front end and is not occluded;
    所述处理器,还用于将语音互动窗口显示在最前端且无遮挡以及在预设时间内检测到语音互动窗口的操作的第二终端作为有效在线的第二终端。The processor is further configured to display the voice interaction window at the forefront and without occlusion and the second terminal that detects the operation of the voice interaction window within a preset time as the second terminal that is effectively online.
  18. 根据权利要求15-17中任意项所述的终端,其特征在于,A terminal according to any of claims 15-17, characterized in that
    所述处理器,还用于对每个有效在线的第二终端的麦克风进行测试;若任一第二终端的麦克风测试通过,则将所述任一第二终端作为检测到的具有语音互动能力的第二终端。The processor is further configured to test the microphone of each second terminal that is effectively online; if any of the second terminals pass the microphone test, the second terminal is used as the detected voice interaction capability. The second terminal.
  19. 根据权利要求15-18中任意项所述的终端,其特征在于,所述终端还包括显示器,The terminal according to any of claims 15-18, wherein the terminal further comprises a display.
    所述显示器,用于显示所有具备语音互动条件的第二终端的互动标识; The display is configured to display an interactive identifier of all second terminals having voice interaction conditions;
    所述处理器,还用于根据显示的互动标识从所有具备语音互动条件的第二终端中选择至少一个第二终端;The processor is further configured to select at least one second terminal from all second terminals having voice interaction conditions according to the displayed interactive identifier;
    所述收发器,还用于与被选的第二终端进行语音互动。The transceiver is further configured to perform voice interaction with the selected second terminal.
  20. 根据权利要求15-19中任意项所述的终端,其特征在于,A terminal according to any of claims 15-19, characterized in that
    所述显示器,还用于第一终端显示未有效在线和/或不具有语音互动能力的第二终端的无法互动标识。The display is further configured to display, by the first terminal, an inability to interact with the second terminal that is not valid online and/or has no voice interaction capability.
  21. 根据权利要求20所述的终端,其特征在于,The terminal according to claim 20, characterized in that
    所述处理器,还用于周期性的对未有效在线和/或不具有语音互动能力的第二终端进行检测;当检测到未有效在线和/或不具有语音互动能力的第二终端有效在线且具有语音互动能力时,则将所述检测到的第二终端的无法互动标识更新为互动标识。 The processor is further configured to periodically detect a second terminal that is not valid online and/or has no voice interaction capability; and when the second terminal that is not valid online and/or has no voice interaction capability is detected, the terminal is valid online. And having the voice interaction capability, updating the detected non-interactive identifier of the second terminal to an interactive identifier.
PCT/CN2014/096015 2014-08-04 2014-12-31 Voice interaction method and terminal WO2016019695A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410379769.9 2014-08-04
CN201410379769.9A CN104166899B (en) 2014-08-04 2014-08-04 The method and terminal of voice interface

Publications (1)

Publication Number Publication Date
WO2016019695A1 true WO2016019695A1 (en) 2016-02-11

Family

ID=51910696

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/096015 WO2016019695A1 (en) 2014-08-04 2014-12-31 Voice interaction method and terminal

Country Status (2)

Country Link
CN (1) CN104166899B (en)
WO (1) WO2016019695A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110256364A (en) * 2019-07-12 2019-09-20 西北农林科技大学 A kind of quinazoline compounds and its preparation method and application

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166899B (en) * 2014-08-04 2018-03-06 广州三人行壹佰教育科技有限公司 The method and terminal of voice interface
CN106297430B (en) * 2016-10-24 2019-04-12 宇龙计算机通信科技(深圳)有限公司 A kind of intelligent earphone system
WO2018218661A1 (en) * 2017-06-02 2018-12-06 深圳市华阅文化传媒有限公司 Method and system for voice interaction on a reading page

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496649A (en) * 2000-12-14 2004-05-12 Determination of connection and/or device status of user terminal
CN1501726A (en) * 2002-11-18 2004-06-02 Lg电子株式会社 Mobile communication system exchange state information and operating method thereof
CN1516515A (en) * 2003-01-09 2004-07-28 华为技术有限公司 Method of notification service for called mobile terminal
CN1968152A (en) * 2005-11-18 2007-05-23 阿尔卡特公司 System and method for representation of presentity presence states for contacts in a contact list
US20070287141A1 (en) * 2006-05-11 2007-12-13 Duane Milner Internet based client server to provide multi-user interactive online Karaoke singing
WO2012138130A2 (en) * 2011-04-05 2012-10-11 삼성에스디에스 주식회사 Real-time lecture support system and method
CN103544856A (en) * 2013-09-10 2014-01-29 朱春娜 Mobile Internet distance education platform
CN103927909A (en) * 2014-04-29 2014-07-16 南京数模微电子有限公司 Interactive teaching system and method of touch type mobile terminal
CN104166899A (en) * 2014-08-04 2014-11-26 广州华多网络科技有限公司 Voice interaction method and terminals

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7233933B2 (en) * 2001-06-28 2007-06-19 Microsoft Corporation Methods and architecture for cross-device activity monitoring, reasoning, and visualization for providing status and forecasts of a users' presence and availability
US8190568B2 (en) * 2005-05-20 2012-05-29 Cisco Technology, Inc. System and method for providing interactive communications
CN101094232A (en) * 2007-07-18 2007-12-26 北京亿企通信息技术有限公司 Method and system for displaying conversation state of the other party in instant communication tool
CN102223314A (en) * 2011-06-07 2011-10-19 盛乐信息技术(上海)有限公司 Network video exchange method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496649A (en) * 2000-12-14 2004-05-12 Determination of connection and/or device status of user terminal
CN1501726A (en) * 2002-11-18 2004-06-02 Lg电子株式会社 Mobile communication system exchange state information and operating method thereof
CN1516515A (en) * 2003-01-09 2004-07-28 华为技术有限公司 Method of notification service for called mobile terminal
CN1968152A (en) * 2005-11-18 2007-05-23 阿尔卡特公司 System and method for representation of presentity presence states for contacts in a contact list
US20070287141A1 (en) * 2006-05-11 2007-12-13 Duane Milner Internet based client server to provide multi-user interactive online Karaoke singing
WO2012138130A2 (en) * 2011-04-05 2012-10-11 삼성에스디에스 주식회사 Real-time lecture support system and method
CN103544856A (en) * 2013-09-10 2014-01-29 朱春娜 Mobile Internet distance education platform
CN103927909A (en) * 2014-04-29 2014-07-16 南京数模微电子有限公司 Interactive teaching system and method of touch type mobile terminal
CN104166899A (en) * 2014-08-04 2014-11-26 广州华多网络科技有限公司 Voice interaction method and terminals

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110256364A (en) * 2019-07-12 2019-09-20 西北农林科技大学 A kind of quinazoline compounds and its preparation method and application

Also Published As

Publication number Publication date
CN104166899A (en) 2014-11-26
CN104166899B (en) 2018-03-06

Similar Documents

Publication Publication Date Title
US10834237B2 (en) Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
CN110752980B (en) Message sending method and electronic equipment
WO2017206916A1 (en) Method for determining kernel running configuration in processor and related product
WO2016169465A1 (en) Method, apparatus and system for displaying screen information
US10951557B2 (en) Information interaction method and terminal
WO2015124033A1 (en) Video interaction method, terminal, server and system
WO2019080929A1 (en) Message prompting method and mobile terminal
WO2016150270A1 (en) Method and apparatus for processing group session message
TWI520043B (en) Method, device and moving terminal for examining messages
WO2016116041A1 (en) Information recommendation management method, device and system
US11216997B2 (en) Method and apparatus for displaying historical chat record
CN108513671B (en) Display method and terminal for 2D application in VR equipment
WO2021109959A1 (en) Application sharing method and electronic device
WO2017206915A1 (en) Method for determining kernel running configuration in processor and related product
CN105094501B (en) Method, device and system for displaying messages in mobile terminal
WO2016192518A1 (en) Method and device for interaction between terminals
TW201515682A (en) Methods and terminal for data acquisition
WO2020024770A1 (en) Method for determining communication object, and mobile terminal
WO2021115220A1 (en) Information sharing method, electronic device and computer-readable storage medium
WO2019076250A1 (en) Push message management method and related products
WO2016019695A1 (en) Voice interaction method and terminal
WO2017005080A1 (en) Webpage display method, terminal device and storage medium
CN109728918B (en) Virtual article transmission method, virtual article reception method, device, and storage medium
WO2014026581A1 (en) Information management method, client, and mobile terminal
CN105159655B (en) Behavior event playing method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14899114

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/06/17)

122 Ep: pct application non-entry in european phase

Ref document number: 14899114

Country of ref document: EP

Kind code of ref document: A1