WO2015078349A1 - Microphone sound-reception status switching method and apparatus - Google Patents

Microphone sound-reception status switching method and apparatus Download PDF

Info

Publication number
WO2015078349A1
WO2015078349A1 PCT/CN2014/092116 CN2014092116W WO2015078349A1 WO 2015078349 A1 WO2015078349 A1 WO 2015078349A1 CN 2014092116 W CN2014092116 W CN 2014092116W WO 2015078349 A1 WO2015078349 A1 WO 2015078349A1
Authority
WO
WIPO (PCT)
Prior art keywords
microphone
preset
controls
keyboard
button
Prior art date
Application number
PCT/CN2014/092116
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 WO2015078349A1 publication Critical patent/WO2015078349A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Definitions

  • the present invention relates to the field of network technologies, and in particular, to a method and an apparatus for switching a microphone receiving state.
  • the application interface When using a voice application, the application interface generally provides a free talk mode and a button talk mode.
  • the free talk mode means that after entering this mode, the user does not need any operation, the microphone continues to receive the radio until the talk mode is suspended or the free talk mode is switched to the button talk mode.
  • entering and exiting any mode must be done through the interface. That is, when the free talk mode is running, if the user wants to temporarily terminate the microphone's radio reception, the application interface must be reopened and the free talk mode is turned off. In most voice application scenarios, if the free-talking mode is not terminated, some voices that are not intended to be included are sent out. In addition, because of the recording and sending of unwanted recordings, system resources are wasted and system efficiency is reduced.
  • Embodiments of the present invention provide a method and apparatus for switching a microphone receiving state.
  • the technical solution is as follows:
  • an embodiment of the present invention provides a method for switching a radio state of a microphone, where the method includes:
  • the radio state of the microphone is switched according to the monitored operation.
  • an embodiment of the present invention provides a switching device for a microphone receiving state, and the device includes:
  • a microphone control module for starting a microphone for receiving a sound
  • a monitoring module for monitoring operation of a keyboard that controls the microphone and/or operation of a function button that controls the microphone
  • the microphone control module is configured to switch the radio state of the microphone according to the monitored operation.
  • the switching process can be smooth, the operation is simple, and the waste of system resources caused by the untimely switching is avoided.
  • FIG. 1 is a flowchart of a method for switching a microphone receiving state according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for switching a radio reception state according to an embodiment of the present invention
  • FIG. 3 is a flowchart of switching a radio state according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an application interface provided by an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a device for switching a state of receiving a microphone according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of another apparatus for switching a state of receiving a microphone according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for switching a microphone receiving state according to an embodiment of the present invention.
  • the application interface provides a function button for controlling the microphone, the method comprising:
  • the microphone can be started to perform sound collection according to the preset operation.
  • the radio state of the microphone can be switched according to the operation monitored during the radio reception of the microphone.
  • control of the sound pickup state of the microphone can be realized according to an operation of a keyboard that controls the microphone or an operation of a function button that controls the microphone.
  • the cut can be made The process is smooth and easy to operate, avoiding the waste of system resources caused by untimely switching.
  • Switching the radio state of the microphone according to the operation monitored during the microphone radio reception includes:
  • the radio state of the microphone is maintained for the duration of the first preset operation until the end of the first preset operation is heard, and the end is ended.
  • the method for starting the microphone for radio reception comprises: clicking a function button for controlling the microphone or double-clicking a preset button on a keyboard that controls the microphone to start the microphone for sound collection.
  • the first preset operation includes: long pressing a preset button on a keyboard that controls the microphone.
  • the second preset operation includes: clicking to control the function button of the microphone or clicking a preset button on the keyboard that controls the microphone.
  • the display color of the function button corresponds to the radio state of the microphone, and the different display colors correspond to different radio states.
  • the display content of the function button corresponds to the radio state of the microphone, and the different display contents correspond to different radio states.
  • FIG. 2 is a flowchart of another method for switching a radio reception state according to an embodiment of the present invention.
  • the application interface provides a function button for controlling the microphone.
  • the execution body of the embodiment is a terminal. Referring to FIG. 2, the method includes:
  • the microphone is started to perform radio reception.
  • the microphone can be used for any of the following situations: (1) The microphone collects the voice, processes the collected voice, and sends the processed voice signal to the server. (2) The microphone starts to receive the radio. For the two different cases, there are two different processes for ending the radio state of the microphone. For the case (1), the microphone can be in the running state, and the voice is still collected without processing and transmitting the collected voice. For the case of the second aspect, the microphone may be turned off, so that the microphone cannot collect the voice.
  • the receiving process is not limited in the embodiment of the present invention.
  • the first preset operation is a click operation on a function button or a double-click operation on a preset button on a keyboard.
  • the preset button may be a default button provided by a custom button or an application, such as a letter or a number on the keyboard, which is not specifically limited in the embodiment of the present invention.
  • FIG. 3 is a flowchart of switching state of a radio state according to an embodiment of the present invention.
  • the microphone is activated to perform the radio, that is, Switch to “Radio ON” (microphone radio status), at this time, the microphone can collect sound and upload it to the server.
  • the microphone radio process at this time can be regarded as a free speech mode.
  • the voice input by the user can be uploaded to the server, which is provided by the server to the opposite end of the call.
  • the subsequent steps may be performed according to the monitored keyboard operation, and the button may be provided when the preset button is not defined or the default button is not provided by the application.
  • options which are set by the user according to their usage habits.
  • a mouse operation customization option can be provided, which is set by the user according to the usage habit.
  • the receiving state of the microphone is maintained for the duration of the second preset operation, and the microphone is ended until the second preset operation is detected.
  • the radio status When the second preset operation is monitored during the microphone receiving process, the receiving state of the microphone is maintained for the duration of the second preset operation, and the microphone is ended until the second preset operation is detected. The radio status.
  • the second preset operation is a long-press operation of a preset button on the keyboard as an example.
  • the sound state of the microphone is maintained, and once the second preset operation is detected, the long press operation is performed.
  • the microphone's radio status is ended.
  • This process can be regarded as a button speaking mode.
  • the microphone collects sound and uploads, and when the long press operation ends, the radio ends.
  • the radio is OFF, the free talk mode can be entered again by clicking a function button or by double-clicking a preset button on the keyboard.
  • the third preset operation is an example of a click operation of the function button or a click operation of a preset button on the keyboard during the microphone receiving process. Based on the state in which the free talk mode is turned on in FIG. 3, if the third preset operation is monitored, the radio state of the microphone is ended. This process can be seen as ending the free speech mode.
  • FIG. 4 illustrates an example of a chat room room interface, which may include: A friend avatar display area, a text chat area, and function buttons.
  • the function button is used to control the microphone, and the function button can be a toggle button. That is, each time the function button is triggered, it is switched from the last triggered function to another function.
  • the display content of the function button corresponds to the radio state of the microphone, and the different display content corresponds to different radio states.
  • the function button is not triggered. At this time, the microphone is not in the radio state, and the function button is displayed as “beginning to talk”.
  • the function button is triggered, the microphone is activated to receive the radio. , and the display content of the function button is switched to "pause talk”.
  • the display color of the function button corresponds to the radio state of the microphone, and the different display colors correspond to different radio states. For example, when the microphone is in the radio state, it can display green, and when the microphone is not in the radio state, it can display red.
  • the method provided by the embodiment of the present invention can control the sound receiving state of the microphone according to the operation of the keyboard for controlling the microphone or the mouse operation of the function button for controlling the microphone by providing a function button for controlling the microphone on the application interface.
  • the switching process can be smooth, the operation is simple, and the waste of system resources caused by the untimely switching is avoided.
  • FIG. 5 is a schematic structural diagram of a device for switching a state of receiving a microphone according to an embodiment of the present invention.
  • the application interface provides a function button for controlling a microphone, and the device includes a microphone control module 501 and a monitoring module 502.
  • the microphone control module 501 is configured to start a microphone for receiving a sound.
  • the listening module 502 is configured to monitor an operation of a keyboard that controls the microphone and/or an operation of a function button that controls the microphone.
  • the microphone control module 501 is configured to switch the radio state of the microphone according to the monitored operation.
  • the microphone control module 501 is further configured to monitor the first during the microphone receiving process. During the preset operation, the sound collection state of the microphone is maintained for the duration of the first preset operation until the end of the first preset operation is ended, and the sound collection state of the microphone is ended.
  • the microphone control module 501 is further configured to end the sound collection state of the microphone when the second preset operation is monitored during the microphone receiving process.
  • the microphone control module 501 is further configured to click a function button for controlling the microphone or double-click a preset button on a keyboard that controls the microphone to start the microphone for sound collection.
  • the first preset operation includes: long pressing a preset button on a keyboard that controls the microphone.
  • the second preset operation includes: clicking to control the function button of the microphone or clicking a preset button on the keyboard that controls the microphone.
  • the display color of the function button corresponds to the radio state of the microphone, and the different display colors correspond to different radio states.
  • the display content of the function button corresponds to the radio state of the microphone, and the different display contents correspond to different radio states.
  • the device provided by the embodiment of the present invention can realize the sound receiving state of the microphone according to the operation of the keyboard for controlling the microphone or the operation of the function button for controlling the microphone by providing a function button for controlling the microphone on the application interface. control.
  • the switching process can be smooth, the operation is simple, and the waste of system resources caused by the untimely switching is avoided.
  • the switching device of the microphone receiving state provided by the above embodiment is exemplified by the division of the above functional modules.
  • the functions may be assigned differently according to needs.
  • the function module is completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above description. Sub-function.
  • the switching device of the microphone receiving state provided by the above embodiment is the same as the embodiment of the method for switching the state of the microphone receiving state, and the specific implementation process is described in detail 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.
  • FIG. 6 is a schematic structural diagram of another apparatus for switching a state of receiving a microphone according to an embodiment of the present invention.
  • the switching device can be used to implement the application detecting method provided in the above embodiment. Specifically:
  • the switching device 600 can include a communication unit 110, a memory 120 including one or more non-volatile computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless communication unit 170, and a Or more than one processing core processor 180, and power supply 190 and other components.
  • the wireless communication unit 170 can be a WiFi (Wireless Fidelity) module. It will be understood by those skilled in the art that the switching device structure illustrated in Figure 6 does not constitute a limitation to the switching device, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
  • the communication unit 110 can be used for transmitting and receiving information or receiving and transmitting signals during a call.
  • the communication unit 110 can be a network communication device such as an RF (Radio Frequency) circuit, a router, a modem, or the like.
  • RF Radio Frequency
  • the communication unit 110 is an RF circuit
  • the downlink information of the base station is received and processed by one or more processors 180.
  • data related to the uplink is transmitted to the base station.
  • RF circuits as communication units include, but are 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, and a LNA (Low Noise Amplifier, low).
  • SIM Subscriber Identity Module
  • the communication unit 110 can also communicate by wireless Communicate with the network and other devices.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • 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 can mainly include: a storage program area and a storage data area.
  • the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.).
  • the storage data area can store data (such as audio data, phone book, etc.) created according to the use of the switching device 600, 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 memory 120 can be used to store the microphone control module 501 and the monitoring module 502 described above.
  • 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.
  • the input unit 130 may include a touch-sensitive surface 131 and 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 (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 131 or The operation in the vicinity of the touch-sensitive surface 131) and the corresponding connection means are driven 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 the touch
  • the signal from the operation transmits the signal to the touch controller.
  • the touch controller receives touch information from the touch detection device and converts it into contact coordinates, sends it to the processor 180, and can receive and execute commands from the processor 180.
  • 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 input by the user or information provided to the user and various graphical user interfaces of the switching device 600. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141, and the display panel 141 may be 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.
  • the Sensor 150 can include light sensors, motion sensors, and other sensors.
  • the light sensor can include an ambient light sensor and a proximity sensor. Wherein, the ambient light sensor can adjust the brightness of the display panel 141 according to the brightness of the ambient light.
  • the proximity sensor can turn off the display panel 141 and/or the backlight when the switching device 600 moves to the ear.
  • a gravity acceleration sensor can detect the magnitude of acceleration in each direction (typically three axes). The magnitude and direction of gravity can be detected at rest, which can be used to identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), and realize vibration recognition related functions (ratio Such as pedometer, tapping, etc.
  • the switching device 600 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the switching device 600.
  • the audio circuit 160 can transmit the converted electrical signal of the audio data to the speaker 161 for conversion to the sound signal output by the speaker 161.
  • the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then processed by the processor 180, sent to another switching device via the RF circuit 110, or The audio data is output 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 switching device 600.
  • the wireless communication unit 170 can be a WiFi module.
  • WiFi is a short-range wireless transmission technology.
  • the user can utilize the wireless communication unit 170 to send and receive emails, browse web pages, access streaming media, and the like.
  • the wireless communication unit 170 provides the user with a wireless broadband Internet access function.
  • FIG. 6 shows the wireless communication unit 170. In a particular application, the switching device 600 may not include the wireless communication unit 170.
  • the processor 180 is a control center of the switching device 600.
  • the processor 180 connects various portions of the entire handset using various interfaces and lines, and executes each of the switching devices 600 by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
  • Processor 180 can include one or more processing cores.
  • the processor 180 can integrate an application processor and a modem processor.
  • the application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communication. It can be understood that the processor 180 may not include a modem processor.
  • the power supply 190 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 also It can 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 switching device 600 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the display unit of the switching device is a touch screen display.
  • the switching device 600 also includes a memory 120.
  • One or more programs are stored in memory 120 and are configured to be executed by one or more processors 180.
  • the one or more programs include instructions for performing the following operations:
  • the radio state of the microphone is switched according to the monitored operation.
  • the one or more programs include instructions for: maintaining the sound of the microphone for the duration of the first preset operation when the first preset operation is monitored a state until the end of the first preset operation is monitored, ending the radio state of the microphone; and/or,
  • the one or more programs include instructions for: clicking a function button that controls the microphone or double-clicking a preset button on a keyboard that controls the microphone to activate the microphone for sound collection.
  • the first preset operation includes: long pressing a preset button on a keyboard that controls the microphone.
  • the second preset operation includes: clicking to control the function button of the microphone or clicking a preset button on the keyboard that controls the microphone.

Abstract

Disclosed is a microphone sound-reception status switching method and apparatus. The method comprises: switching on the microphone to receive sound; monitoring the operations on the keyboard and/or function buttons for controlling the microphone; and according to the monitored operation, switching the sound-reception status of the microphone.

Description

麦克风收音状态的切换方法和装置Method and device for switching microphone receiving state
本申请要求于2013年11月29日提交中国专利局、申请号为201310628460.4、发明名称为“麦克风收音状态的切换方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 2013-1228460.4, entitled "Switching Method and Apparatus for Microphone Radio Status" on November 29, 2013, the entire contents of which are incorporated herein by reference. in.
技术领域Technical field
本发明涉及网络技术领域,特别涉及一种麦克风收音状态的切换方法和装置。The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for switching a microphone receiving state.
背景技术Background technique
在使用语音应用时,应用界面一般会提供自由说话模式以及按键说话模式。自由说话模式是指进入此模式后,用户无需任何操作,麦克风会持续收音直至该说话模式被中止或该自由说话模式被切换至按键说话模式。然而,进入和退出任一个模式都必须通过界面进行操作。也即,在自由说话模式运行时,若用户想临时终止麦克风的收音则必须重打开应用界面并关闭该自由说话模式。在大多数的语音应用场景,如果自由说话模式终止不及时,一些不想被收录的语音就被发送出去了。此外,因为收录和发出了不需要的录音,会浪费系统资源,降低系统工作效率。When using a voice application, the application interface generally provides a free talk mode and a button talk mode. The free talk mode means that after entering this mode, the user does not need any operation, the microphone continues to receive the radio until the talk mode is suspended or the free talk mode is switched to the button talk mode. However, entering and exiting any mode must be done through the interface. That is, when the free talk mode is running, if the user wants to temporarily terminate the microphone's radio reception, the application interface must be reopened and the free talk mode is turned off. In most voice application scenarios, if the free-talking mode is not terminated, some voices that are not intended to be included are sent out. In addition, because of the recording and sending of unwanted recordings, system resources are wasted and system efficiency is reduced.
发明内容Summary of the invention
本发明实施例提供了一种麦克风收音状态的切换方法和装置。所述技术方案如下:Embodiments of the present invention provide a method and apparatus for switching a microphone receiving state. The technical solution is as follows:
一方面,本发明实施例提供了一种麦克风收音状态的切换方法,所述方法包括:In one aspect, an embodiment of the present invention provides a method for switching a radio state of a microphone, where the method includes:
启动麦克风进行收音; Start the microphone for radio reception;
监听对控制所述麦克风的键盘的操作和/或对控制所述麦克风的功能按钮的操作;Monitoring operation of a keyboard that controls the microphone and/or operation of a function button that controls the microphone;
根据所监听到的操作,对所述麦克风的收音状态进行切换。The radio state of the microphone is switched according to the monitored operation.
另一方面,本发明实施例提供了一种麦克风收音状态的切换装置,所述装置包括:On the other hand, an embodiment of the present invention provides a switching device for a microphone receiving state, and the device includes:
麦克风控制模块,用于启动麦克风进行收音;a microphone control module for starting a microphone for receiving a sound;
监听模块,用于监听对控制所述麦克风的键盘的操作和/或对控制所述麦克风的功能按钮的操作;a monitoring module for monitoring operation of a keyboard that controls the microphone and/or operation of a function button that controls the microphone;
麦克风控制模块,用于根据监听到的操作,对所述麦克风的收音状态进行切换。The microphone control module is configured to switch the radio state of the microphone according to the monitored operation.
通过提供控制麦克风的功能按钮,可以根据对控制该麦克风的键盘的操作或对控制该麦克风的功能按钮的操作即能够实现对麦克风的收音状态的控制。通过本发明实施例,可以使切换流程顺畅,操作简便,避免因切换不及时而造成的系统资源的浪费。By providing a function button for controlling the microphone, it is possible to control the sound pickup state of the microphone according to the operation of the keyboard that controls the microphone or the operation of the function button that controls the microphone. Through the embodiment of the invention, the switching process can be smooth, the operation is simple, and the waste of system resources caused by the untimely switching is avoided.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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 invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本发明实施例提供的一种麦克风收音状态的切换方法的流程图;FIG. 1 is a flowchart of a method for switching a microphone receiving state according to an embodiment of the present invention;
图2是本发明实施例提供的另外一种麦克风收音状态的切换方法的流程图;2 is a flowchart of another method for switching a radio reception state according to an embodiment of the present invention;
图3是本发明实施例提供的一种收音状态切换流程图; FIG. 3 is a flowchart of switching a radio state according to an embodiment of the present invention;
图4本发明实施例提供的应用界面示意图;4 is a schematic diagram of an application interface provided by an embodiment of the present invention;
图5是本发明实施例提供的一种麦克风收音状态的切换装置的结构示意图;FIG. 5 is a schematic structural diagram of a device for switching a state of receiving a microphone according to an embodiment of the present invention; FIG.
图6是本发明实施例提供的另外一种麦克风收音状态的切换装置的结构示意图。FIG. 6 is a schematic structural diagram of another apparatus for switching a state of receiving a microphone according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
图1是本发明实施例提供的一种麦克风收音状态的切换方法的流程图。参见图1,应用界面提供一个用于控制麦克风的功能按钮,所述方法包括:FIG. 1 is a flowchart of a method for switching a microphone receiving state according to an embodiment of the present invention. Referring to Figure 1, the application interface provides a function button for controlling the microphone, the method comprising:
101、启动麦克风进行收音。101. Start the microphone to collect the sound.
在本步骤中,如果检测到一个预设操作,可以根据该预设操作启动该麦克风进行收音。In this step, if a preset operation is detected, the microphone can be started to perform sound collection according to the preset operation.
102、监听对控制该麦克风的键盘的操作和/或对控制该麦克风的功能按钮的操作。102. Monitor operation of a keyboard that controls the microphone and/or operation of a function button that controls the microphone.
在本步骤中,在该麦克风的收音过程中,可以监听对控制该麦克风的键盘的操作和/或对控制该麦克风的功能按钮的鼠标操作。In this step, during the radio reception of the microphone, the operation of the keyboard that controls the microphone and/or the mouse operation of the function button that controls the microphone can be monitored.
103、根据监听到的操作,对该麦克风的收音状态进行切换。103. Switch the radio state of the microphone according to the monitored operation.
在本步骤中,可以根据在麦克风的收音过程中所监听到的操作,对该麦克风的收音状态进行切换。In this step, the radio state of the microphone can be switched according to the operation monitored during the radio reception of the microphone.
根据本发明实施例提供的方法,通过提供用于控制麦克风的功能按钮,可以根据对控制该麦克风的键盘的操作或对控制该麦克风的功能按钮的操作实现对麦克风收音状态的控制。通过本发明实施例,可以使切 换流程顺畅,操作简便,避免因切换不及时而造成的系统资源的浪费。According to the method provided by the embodiment of the present invention, by providing a function button for controlling a microphone, control of the sound pickup state of the microphone can be realized according to an operation of a keyboard that controls the microphone or an operation of a function button that controls the microphone. By means of the embodiment of the invention, the cut can be made The process is smooth and easy to operate, avoiding the waste of system resources caused by untimely switching.
根据麦克风收音过程中所监听到的操作,对所述麦克风的收音状态进行切换包括:Switching the radio state of the microphone according to the operation monitored during the microphone radio reception includes:
当在麦克风收音过程中监听到第一预设操作时,在所述第一预设操作的持续时间内保持所述麦克风的收音状态,直到监听到所述第一预设操作结束时,结束所述麦克风的收音状态;和/或,When the first preset operation is monitored during the microphone radio reception, the radio state of the microphone is maintained for the duration of the first preset operation until the end of the first preset operation is heard, and the end is ended. The radio state of the microphone; and/or,
当在麦克风收音过程中监听到第二预设操作时,结束所述麦克风的收音状态。When the second preset operation is monitored during the microphone radio reception, the radio state of the microphone is ended.
在上述步骤中,启动麦克风进行收音的方法包括:点击控制所述麦克风的功能按钮或双击控制所述麦克风的键盘上的预设按键启动所述麦克风进行收音。In the above steps, the method for starting the microphone for radio reception comprises: clicking a function button for controlling the microphone or double-clicking a preset button on a keyboard that controls the microphone to start the microphone for sound collection.
所述第一预设操作包括:长按控制所述麦克风的键盘上的预设按键。The first preset operation includes: long pressing a preset button on a keyboard that controls the microphone.
所述第二预设操作包括:点击控制所述麦克风的所述功能按钮或单击控制所述麦克风的所述键盘上的预设按键。The second preset operation includes: clicking to control the function button of the microphone or clicking a preset button on the keyboard that controls the microphone.
功能按钮的显示颜色与所述麦克风的收音状态对应,不同的显示颜色对应于不同的收音状态。The display color of the function button corresponds to the radio state of the microphone, and the different display colors correspond to different radio states.
功能按钮的显示内容与所述麦克风的收音状态对应,不同的显示内容对应于不同的收音状态。The display content of the function button corresponds to the radio state of the microphone, and the different display contents correspond to different radio states.
上述所有技术方案,可以采用任意结合形成本发明的实施例,在此不再一一赘述。All the above technical solutions may be used in any combination to form an embodiment of the present invention, and details are not described herein again.
图2本发明实施例提供的另外一种麦克风收音状态的切换方法的流程图。在本发明实施例中,应用界面提供一个用于控制麦克风的功能按钮,该实施例的执行主体为终端,参见图2,所述方法包括:FIG. 2 is a flowchart of another method for switching a radio reception state according to an embodiment of the present invention. In the embodiment of the present invention, the application interface provides a function button for controlling the microphone. The execution body of the embodiment is a terminal. Referring to FIG. 2, the method includes:
201、当检测到第一预设操作,启动麦克风进行收音。 201. When the first preset operation is detected, the microphone is started to perform radio reception.
其中,麦克风进行收音可以是以下任一种情况:(1)麦克风采集语音,对采集到的语音进行处理并将处理后的语音信号发送至服务器。(2)麦克风启动收音。针对该两种不同的情况,结束麦克风的收音状态具有两种不同的过程,针对第(1)种情况,可以是麦克风处于运行状态,仍然采集语音,而不对采集到的语音进行处理和发送。针对第(2)种情况,可以是关闭麦克风,使得麦克风不能采集语音,本发明实施例对该收音过程不作限定。The microphone can be used for any of the following situations: (1) The microphone collects the voice, processes the collected voice, and sends the processed voice signal to the server. (2) The microphone starts to receive the radio. For the two different cases, there are two different processes for ending the radio state of the microphone. For the case (1), the microphone can be in the running state, and the voice is still collected without processing and transmitting the collected voice. For the case of the second aspect, the microphone may be turned off, so that the microphone cannot collect the voice. The receiving process is not limited in the embodiment of the present invention.
第一预设操作为对功能按钮的点击操作或对键盘上预设按键的双击操作。该预设按键可以为自定义按键或应用提供的默认按键,如键盘上的某一字母或数字等,本发明实施例对此不作具体限定。The first preset operation is a click operation on a function button or a double-click operation on a preset button on a keyboard. The preset button may be a default button provided by a custom button or an application, such as a letter or a number on the keyboard, which is not specifically limited in the embodiment of the present invention.
为了便于理解,请参考图3,图3是本发明实施例提供的一种收音状态切换流程图。当处于“收音OFF”(麦克风不在收音状态)时,如果监听到第一预设操作,即对功能按钮的点击操作或对键盘上预设按键的双击操作时,启动麦克风进行收音,也即是切换至“收音ON”(麦克风收音状态),此时,麦克风可以采集声音并上传至服务器。For ease of understanding, please refer to FIG. 3. FIG. 3 is a flowchart of switching state of a radio state according to an embodiment of the present invention. When the "receiver OFF" (the microphone is not in the radio state), if the first preset operation is monitored, that is, the click operation of the function button or the double-click operation of the preset button on the keyboard, the microphone is activated to perform the radio, that is, Switch to “Radio ON” (microphone radio status), at this time, the microphone can collect sound and upload it to the server.
202、在麦克风收音过程中,监听键盘操作。202. Monitor the keyboard operation during the microphone receiving process.
此时的麦克风收音过程可以看作是自由说话模式。在此模式下,由于麦克风一直处于收音状态,用户所输入的语音均可以上传至服务器,从而由服务器提供给通话对端。The microphone radio process at this time can be regarded as a free speech mode. In this mode, since the microphone is always in the radio state, the voice input by the user can be uploaded to the server, which is provided by the server to the opposite end of the call.
需要说明的是,在已经定义了预设按键或应用已提供默认按键时,可以根据监听到的键盘操作执行后续步骤,而在未定义预设按键或应用未提供默认按键时,可以提供按键自定义选项,由用户根据使用习惯设置预设按键。It should be noted that, when the preset button has been defined or the default button has been provided by the application, the subsequent steps may be performed according to the monitored keyboard operation, and the button may be provided when the preset button is not defined or the default button is not provided by the application. Define options, which are set by the user according to their usage habits.
203、在麦克风收音过程中,监听对于该功能按钮的鼠标操作。203. During the microphone receiving process, monitor the mouse operation for the function button.
在已经定义了预设鼠标操作或应用已提供默认鼠标操作时,可以根 据监听到的鼠标操作执行后续步骤,而在未定义预设鼠标操作或应用未提供默认鼠标操作时,可以提供鼠标操作自定义选项,由用户根据使用习惯设置。Can be rooted when a default mouse action has been defined or the application has provided a default mouse action The subsequent steps are performed according to the monitored mouse operation, and when the preset mouse operation is not defined or the application does not provide a default mouse operation, a mouse operation customization option can be provided, which is set by the user according to the usage habit.
204、当在麦克风收音过程中监听到第二预设操作时,在该第二预设操作的持续时间内保持该麦克风的收音状态,直到监听到该第二预设操作结束时,结束该麦克风的收音状态。204. When the second preset operation is monitored during the microphone receiving process, the receiving state of the microphone is maintained for the duration of the second preset operation, and the microphone is ended until the second preset operation is detected. The radio status.
本发明实施例中,以该第二预设操作为对键盘上预设按键的长按操作为例进行说明。基于图3的自由说话模式开启的状态,如果监听到对键盘上预设按键的长按操作,则保持麦克风的收音状态,而一旦监听到该第二预设操作结束,也即是长按操作结束,则结束麦克风的收音状态。该过程可以看作是按键说话模式,当长按操作进行时,麦克风采集声音并上传,而当长按操作结束时,则结束收音。当然,在收音OFF时,可以通过对功能按钮的点击操作或对键盘上预设按键的双击操作,再次进入自由说话模式。In the embodiment of the present invention, the second preset operation is a long-press operation of a preset button on the keyboard as an example. Based on the state in which the free talk mode is turned on in FIG. 3, if the long press operation on the preset button on the keyboard is monitored, the sound state of the microphone is maintained, and once the second preset operation is detected, the long press operation is performed. When finished, the microphone's radio status is ended. This process can be regarded as a button speaking mode. When a long press operation is performed, the microphone collects sound and uploads, and when the long press operation ends, the radio ends. Of course, when the radio is OFF, the free talk mode can be entered again by clicking a function button or by double-clicking a preset button on the keyboard.
205、当在麦克风收音过程中监听到对该功能按钮的点击操作时,结束该麦克风的收音状态。205. When the click operation of the function button is monitored during the microphone receiving process, the radio state of the microphone is ended.
206、当在麦克风收音过程中监听到对该键盘上预设按键的单击操作时,结束该麦克风的收音状态。206. When the click operation of the preset button on the keyboard is monitored during the microphone receiving process, the receiving state of the microphone is ended.
本发明实施例以该第三预设操作为在麦克风收音过程中对该功能按钮的点击操作或对该键盘上预设按键的单击操作为例进行说明。基于图3的自由说话模式开启的状态,如果监听到第三预设操作,则结束该麦克风的收音状态。该过程可以看作是结束自由说话模式。In the embodiment of the present invention, the third preset operation is an example of a click operation of the function button or a click operation of a preset button on the keyboard during the microphone receiving process. Based on the state in which the free talk mode is turned on in FIG. 3, if the third preset operation is monitored, the radio state of the microphone is ended. This process can be seen as ending the free speech mode.
为了便于理解,本发明实施例提供了图4所示的应用界面示意图,该应用用于提供语音通信功能,如聊天室或卡拉ok客户端等。参见图4,该图4以聊天室房间界面为例进行说明,该聊天室房间界面可以包括: 好友头像显示区域、文字聊天区域以及功能按钮等。此外,还可以包括如图4中的一些声音大小控制选项和操作选项。其中,功能按钮用于控制麦克风,该功能按钮可以为一个乒乓键。也即是,当该功能按钮每次被触发时,均是由上一次被触发的功能切换至另一个功能。另外,功能按钮的显示内容与所述麦克风的收音状态对应,不同的显示内容对应于不同的收音状态。如,图4中即是该功能按钮未被触发时的状态,此时,麦克风不在收音状态,功能按钮的显示内容为“开始说话”,当此时功能按钮被触发时,则启动麦克风进行收音,而功能按钮的显示内容切换至“暂停说话”。其中,功能按钮的显示颜色与所述麦克风的收音状态对应,不同的显示颜色对应于不同的收音状态。如,当麦克风处于收音状态时,可以显示绿色,而麦克风的不收音状态时,可以显示红色。For ease of understanding, the embodiment of the present invention provides a schematic diagram of the application interface shown in FIG. 4, which is used to provide a voice communication function, such as a chat room or a karaoke client. Referring to FIG. 4, FIG. 4 illustrates an example of a chat room room interface, which may include: A friend avatar display area, a text chat area, and function buttons. In addition, some sound size control options and operation options as in Figure 4 may also be included. Among them, the function button is used to control the microphone, and the function button can be a toggle button. That is, each time the function button is triggered, it is switched from the last triggered function to another function. In addition, the display content of the function button corresponds to the radio state of the microphone, and the different display content corresponds to different radio states. For example, in Figure 4, the function button is not triggered. At this time, the microphone is not in the radio state, and the function button is displayed as “beginning to talk”. When the function button is triggered, the microphone is activated to receive the radio. , and the display content of the function button is switched to "pause talk". The display color of the function button corresponds to the radio state of the microphone, and the different display colors correspond to different radio states. For example, when the microphone is in the radio state, it can display green, and when the microphone is not in the radio state, it can display red.
本发明实施例提供的方法,通过在应用界面上提供用于控制麦克风的功能按钮,可以根据对控制麦克风的键盘的操作或对控制麦克风的功能按钮的鼠标操作,对麦克风的收音状态进行控制。通过本发明实施例,可以使得切换流程顺畅,操作简便,避免因切换不及时而造成的系统资源的浪费。The method provided by the embodiment of the present invention can control the sound receiving state of the microphone according to the operation of the keyboard for controlling the microphone or the mouse operation of the function button for controlling the microphone by providing a function button for controlling the microphone on the application interface. Through the embodiment of the invention, the switching process can be smooth, the operation is simple, and the waste of system resources caused by the untimely switching is avoided.
图5是本发明实施例提供的一种麦克风收音状态的切换装置的结构示意图。该应用界面提供一个用于控制麦克风的功能按钮,所述装置包括:麦克风控制模块501、监听模块502。FIG. 5 is a schematic structural diagram of a device for switching a state of receiving a microphone according to an embodiment of the present invention. The application interface provides a function button for controlling a microphone, and the device includes a microphone control module 501 and a monitoring module 502.
麦克风控制模块501,用于启动麦克风进行收音。The microphone control module 501 is configured to start a microphone for receiving a sound.
监听模块502,用于监听对控制所述麦克风的键盘的操作和/或对控制所述麦克风的功能按钮的操作。The listening module 502 is configured to monitor an operation of a keyboard that controls the microphone and/or an operation of a function button that controls the microphone.
麦克风控制模块501,用于根据监听到的操作,对所述麦克风的收音状态进行切换。The microphone control module 501 is configured to switch the radio state of the microphone according to the monitored operation.
所述麦克风控制模块501还用于当在麦克风收音过程中监听到第一 预设操作时,在所述第一预设操作的持续时间内保持所述麦克风的收音状态,直到监听到所述第一预设操作结束时,结束所述麦克风的收音状态。The microphone control module 501 is further configured to monitor the first during the microphone receiving process. During the preset operation, the sound collection state of the microphone is maintained for the duration of the first preset operation until the end of the first preset operation is ended, and the sound collection state of the microphone is ended.
所述麦克风控制模块501还用于当在麦克风收音过程中监听到第二预设操作时,结束所述麦克风的收音状态。The microphone control module 501 is further configured to end the sound collection state of the microphone when the second preset operation is monitored during the microphone receiving process.
所述麦克风控制模块501,进一步用于点击控制所述麦克风的功能按钮或双击控制所述麦克风的键盘上的预设按键启动所述麦克风进行收音。The microphone control module 501 is further configured to click a function button for controlling the microphone or double-click a preset button on a keyboard that controls the microphone to start the microphone for sound collection.
所述第一预设操作包括:长按控制所述麦克风的键盘上的预设按键。The first preset operation includes: long pressing a preset button on a keyboard that controls the microphone.
所述第二预设操作包括:点击控制所述麦克风的所述功能按钮或单击控制所述麦克风的所述键盘上的预设按键。The second preset operation includes: clicking to control the function button of the microphone or clicking a preset button on the keyboard that controls the microphone.
功能按钮的显示颜色与所述麦克风的收音状态对应,不同的显示颜色对应于不同的收音状态。The display color of the function button corresponds to the radio state of the microphone, and the different display colors correspond to different radio states.
功能按钮的显示内容与所述麦克风的收音状态对应,不同的显示内容对应于不同的收音状态。The display content of the function button corresponds to the radio state of the microphone, and the different display contents correspond to different radio states.
本发明实施例提供的装置,通过在应用界面上提供用于控制麦克风的功能按钮,可以根据对控制该麦克风的键盘的操作或对控制该麦克风的功能按钮的操作即能够实现对麦克风的收音状态的控制。通过本发明实施例,可以使切换流程顺畅,操作简便,避免因切换不及时而造成的系统资源的浪费。The device provided by the embodiment of the present invention can realize the sound receiving state of the microphone according to the operation of the keyboard for controlling the microphone or the operation of the function button for controlling the microphone by providing a function button for controlling the microphone on the application interface. control. Through the embodiment of the invention, the switching process can be smooth, the operation is simple, and the waste of system resources caused by the untimely switching is avoided.
需要说明的是:上述实施例提供的麦克风收音状态的切换装置在麦克风收音状态的切换时,以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部 分功能。另外,上述实施例提供的麦克风收音状态的切换装置与麦克风收音状态的切换方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, in the switching state of the microphone receiving state, the switching device of the microphone receiving state provided by the above embodiment is exemplified by the division of the above functional modules. In actual applications, the functions may be assigned differently according to needs. The function module is completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above description. Sub-function. In addition, the switching device of the microphone receiving state provided by the above embodiment is the same as the embodiment of the method for switching the state of the microphone receiving state, and the specific implementation process is described in detail 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.
图6是本发明实施例提供的另外一种麦克风收音状态的切换装置的结构示意图。参见图6,该切换装置可以用于实施上述实施例中提供的应用程序检测方法。具体来讲:FIG. 6 is a schematic structural diagram of another apparatus for switching a state of receiving a microphone according to an embodiment of the present invention. Referring to FIG. 6, the switching device can be used to implement the application detecting method provided in the above embodiment. Specifically:
切换装置600可以包括:通信单元110、包括有一个或一个以上非易失性计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、无线通信单元170、一个或者一个以上处理核心的处理器180、以及电源190等部件。该无线通信单元170可以是WiFi(Wireless Fidelity,无线保真)模块。本领域技术人员可以理解,图6中示出的切换装置结构并不构成对切换装置的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The switching device 600 can include a communication unit 110, a memory 120 including one or more non-volatile computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless communication unit 170, and a Or more than one processing core processor 180, and power supply 190 and other components. The wireless communication unit 170 can be a WiFi (Wireless Fidelity) module. It will be understood by those skilled in the art that the switching device structure illustrated in Figure 6 does not constitute a limitation to the switching device, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
通信单元110可用于收发信息或通话过程中,信号的接收和发送。该通信单元110可以为RF(Radio Frequency,射频)电路、路由器、调制解调器、等网络通信设备。特别地,当通信单元110为RF电路时,将基站的下行信息接收后,交由一个或者一个以上处理器180处理。另外,将涉及上行的数据发送给基站。通常,作为通信单元的RF电路包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,通信单元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 communication unit 110 can be used for transmitting and receiving information or receiving and transmitting signals during a call. The communication unit 110 can be a network communication device such as an RF (Radio Frequency) circuit, a router, a modem, or the like. In particular, when the communication unit 110 is an RF circuit, the downlink information of the base station is received and processed by one or more processors 180. In addition, data related to the uplink is transmitted to the base station. Generally, RF circuits as communication units include, but are 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, and a LNA (Low Noise Amplifier, low). Noise amplifier), duplexer, etc. In addition, the communication unit 110 can also communicate by wireless Communicate with the network and other devices. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器120可主要包括:存储程序区和存储数据区。其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等。存储数据区可存储根据切换装置600的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。在本发明实施例中,该存储器120可用于存储上述麦克风控制模块501和监听模块502。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 can mainly include: a storage program area and a storage data area. The storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.). The storage data area can store data (such as audio data, phone book, etc.) created according to the use of the switching device 600, 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. In the embodiment of the present invention, the memory 120 can be used to store the microphone control module 501 and the monitoring module 502 described above.
输入单元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. Specifically, the input unit 130 may include a touch-sensitive surface 131 and 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 (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 131 or The operation in the vicinity of the touch-sensitive surface 131) and the corresponding connection means are driven according to a preset program. 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 the touch The signal from the operation transmits the signal to the touch controller. The touch controller receives touch information from the touch detection device and converts it into contact coordinates, sends it to the processor 180, and can receive and execute commands from the processor 180. 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可用于显示由用户输入的信息或提供给用户的信息以及切换装置600的各种图形用户接口。这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图6中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。The display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the switching device 600. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141, and the display panel 141 may be 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. 6, 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.
传感器150可以包括:光传感器、运动传感器以及其他传感器。光传感器可包括:环境光传感器及接近传感器。其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度。接近传感器可在切换装置600移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小。静止时可检测出重力的大小及方向,可用于识别手机姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、实现振动识别相关功能(比 如计步器、敲击)等。切换装置600还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器。 Sensor 150 can include light sensors, motion sensors, and other sensors. The light sensor can include an ambient light sensor and a proximity sensor. Wherein, the ambient light sensor can adjust the brightness of the display panel 141 according to the brightness of the ambient light. The proximity sensor can turn off the display panel 141 and/or the backlight when the switching device 600 moves to the ear. As a type of motion sensor, a gravity acceleration sensor can detect the magnitude of acceleration in each direction (typically three axes). The magnitude and direction of gravity can be detected at rest, which can be used to identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), and realize vibration recognition related functions (ratio Such as pedometer, tapping, etc. The switching device 600 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
音频电路160、扬声器161,传声器162可提供用户与切换装置600之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出。另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据经处理器180处理后,经RF电路110发送给另一切换装置,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括:耳塞插孔,以提供外设耳机与切换装置600的通信。The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the switching device 600. The audio circuit 160 can transmit the converted electrical signal of the 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, which is received by the audio circuit 160 and converted into audio data, and then processed by the processor 180, sent to another switching device via the RF circuit 110, or The audio data is output 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 switching device 600.
该无线通信单元170可以为WiFi模块。WiFi属于短距离无线传输技术。用户可以利用无线通信单元170收发电子邮件、浏览网页和访问流式媒体等。无线通信单元170为用户提供了无线的宽带互联网访问功能。虽然图6示出了无线通信单元170。在具体应用中,切换装置600可能不包括无线通信单元170。The wireless communication unit 170 can be a WiFi module. WiFi is a short-range wireless transmission technology. The user can utilize the wireless communication unit 170 to send and receive emails, browse web pages, access streaming media, and the like. The wireless communication unit 170 provides the user with a wireless broadband Internet access function. Although FIG. 6 shows the wireless communication unit 170. In a particular application, the switching device 600 may not include the wireless communication unit 170.
处理器180是切换装置600的控制中心。该处理器180利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行切换装置600的各种功能和处理数据,从而对手机进行整体监控。处理器180可包括一个或多个处理核心。处理器180可集成应用处理器和调制解调处理器。其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述处理器180中也可能不包括调制解调处理器。The processor 180 is a control center of the switching device 600. The processor 180 connects various portions of the entire handset using various interfaces and lines, and executes each of the switching devices 600 by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120. The function and processing of data to monitor the phone as a whole. Processor 180 can include one or more processing cores. The processor 180 can integrate an application processor and a modem processor. The application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communication. It can be understood that the processor 180 may not include a modem processor.
电源190可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还 可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The power supply 190 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 also It can 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.
尽管未示出,切换装置600还可以包括摄像头、蓝牙模块等,在此不再赘述。在本发明实施例中,切换装置的显示单元是触摸屏显示器。切换装置600还包括有存储器120。一个或者一个以上程序存储于存储器120中,且经配置以由一个或者一个以上处理器180执行。所述一个或者一个以上程序包含用于进行以下操作的指令:Although not shown, the switching device 600 may further include a camera, a Bluetooth module, and the like, and details are not described herein. In an embodiment of the invention, the display unit of the switching device is a touch screen display. The switching device 600 also includes a memory 120. One or more programs are stored in memory 120 and are configured to be executed by one or more processors 180. The one or more programs include instructions for performing the following operations:
启动麦克风进行收音;Start the microphone for radio reception;
监听对控制所述麦克风的键盘的操作和/或对控制所述麦克风的功能按钮的操作;Monitoring operation of a keyboard that controls the microphone and/or operation of a function button that controls the microphone;
根据所监听到的操作,对所述麦克风的收音状态进行切换。The radio state of the microphone is switched according to the monitored operation.
在本发明实施例中,上述一个或者一个以上程序包含用于进行以下操作的指令:当监听到第一预设操作时,在所述第一预设操作的持续时间内保持所述麦克风的收音状态,直到监听到所述第一预设操作结束时,结束所述麦克风的收音状态;和/或,In an embodiment of the present invention, the one or more programs include instructions for: maintaining the sound of the microphone for the duration of the first preset operation when the first preset operation is monitored a state until the end of the first preset operation is monitored, ending the radio state of the microphone; and/or,
当监听到第二预设操作时,结束所述麦克风的收音状态。When the second preset operation is monitored, the radio state of the microphone is ended.
在本发明实施例中,上述一个或者一个以上程序包含用于进行以下操作的指令:点击控制所述麦克风的功能按钮或双击控制所述麦克风的键盘上的预设按键启动所述麦克风进行收音。In an embodiment of the invention, the one or more programs include instructions for: clicking a function button that controls the microphone or double-clicking a preset button on a keyboard that controls the microphone to activate the microphone for sound collection.
所述第一预设操作包括:长按控制所述麦克风的键盘上的预设按键。The first preset operation includes: long pressing a preset button on a keyboard that controls the microphone.
所述第二预设操作包括:点击控制所述麦克风的所述功能按钮或单击控制所述麦克风的所述键盘上的预设按键。The second preset operation includes: clicking to control the function button of the microphone or clicking a preset button on the keyboard that controls the microphone.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包 含在本发明的保护范围之内。 The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and principles of the present invention, should be included. It is included in the scope of protection of the present invention.

Claims (10)

  1. 一种麦克风收音状态的切换方法,其特征在于,所述方法包括:A method for switching a radio state of a microphone, characterized in that the method comprises:
    启动麦克风进行收音;Start the microphone for radio reception;
    监听对控制所述麦克风的键盘的操作和/或对控制所述麦克风的功能按钮的操作;Monitoring operation of a keyboard that controls the microphone and/or operation of a function button that controls the microphone;
    根据所监听到的操作,对所述麦克风的收音状态进行切换。The radio state of the microphone is switched according to the monitored operation.
  2. 根据权利要求1所述的方法,其特征在于,根据监听到的所述操作,对所述麦克风的收音状态进行切换包括:The method according to claim 1, wherein switching the radio state of the microphone according to the monitored operation comprises:
    当监听到第一预设操作时,在所述第一预设操作的持续时间内保持所述麦克风的收音状态,直到监听到所述第一预设操作结束时,结束所述麦克风的收音状态;和/或,When the first preset operation is monitored, the radio state of the microphone is maintained for the duration of the first preset operation, and the listening state of the microphone is ended until the end of the first preset operation is monitored. ;and / or,
    当监听到第二预设操作时,结束所述麦克风的收音状态。When the second preset operation is monitored, the radio state of the microphone is ended.
  3. 根据权利要求2所述的方法,其特征在于,The method of claim 2 wherein:
    启动所述麦克风进行收音包括:点击控制所述麦克风的功能按钮或双击控制所述麦克风的键盘上的预设按键启动所述麦克风进行收音;The sounding of the microphone is performed by: clicking a function button for controlling the microphone or double-clicking a preset button on a keyboard that controls the microphone to start the microphone for sound collection;
    所述第一预设操作包括:长按控制所述麦克风的键盘上的预设按键;The first preset operation includes: long pressing a preset button on a keyboard that controls the microphone;
    所述第二预设操作包括:点击控制所述麦克风的所述功能按钮或单击控制所述麦克风的所述键盘上的预设按键。The second preset operation includes: clicking to control the function button of the microphone or clicking a preset button on the keyboard that controls the microphone.
  4. 根据权利要求1所述的方法,其特征在于,所述功能按钮的显示颜色对应所述麦克风的收音状态。 The method according to claim 1, wherein the display color of the function button corresponds to a radio state of the microphone.
  5. 根据权利要求1所述的方法,其特征在于,所述功能按钮的显示内容对应所述麦克风的收音状态。The method according to claim 1, wherein the display content of the function button corresponds to a radio state of the microphone.
  6. 一种麦克风收音状态的切换装置,其特征在于,所述装置包括:A switching device for a microphone receiving state, characterized in that the device comprises:
    麦克风控制模块,用于启动麦克风进行收音;a microphone control module for starting a microphone for receiving a sound;
    监听模块,用于监听对控制所述麦克风的键盘的操作和/或对控制所述麦克风的功能按钮的操作;a monitoring module for monitoring operation of a keyboard that controls the microphone and/or operation of a function button that controls the microphone;
    麦克风控制模块,用于根据监听到的操作,对所述麦克风的收音状态进行切换。The microphone control module is configured to switch the radio state of the microphone according to the monitored operation.
  7. 根据权利要求6所述的装置,其特征在于,The device of claim 6 wherein:
    所述麦克风控制模块,进一步用于当监听到第一预设操作时,在所述第一预设操作的持续时间内保持所述麦克风的收音状态,直到监听到所述第一预设操作结束时,结束所述麦克风的收音状态;和/或,The microphone control module is further configured to: when the first preset operation is monitored, maintain the radio state of the microphone for the duration of the first preset operation until the end of the first preset operation is monitored Ending the radio state of the microphone; and/or,
    所述麦克风控制模块,进一步用于当监听到第二预设操作时,结束所述麦克风的收音状态。The microphone control module is further configured to end the radio state of the microphone when the second preset operation is monitored.
  8. 根据权利要求7所述的装置,其特征在于,The device of claim 7 wherein:
    所述麦克风控制模块,进一步用于点击控制所述麦克风的功能按钮或双击控制所述麦克风的键盘上的预设按键启动所述麦克风进行收音;和/或,The microphone control module is further configured to click a function button for controlling the microphone or double-click a preset button on a keyboard that controls the microphone to start the microphone for sound collection; and/or,
    所述第一预设操作包括:长按控制所述麦克风的键盘上的预设按键;和/或,The first preset operation includes: long pressing a preset button on a keyboard that controls the microphone; and/or,
    所述第二预设操作包括:点击控制所述麦克风的所述功能按钮或单击控制所述麦克风的所述键盘上的预设按键。 The second preset operation includes: clicking to control the function button of the microphone or clicking a preset button on the keyboard that controls the microphone.
  9. 根据权利要求6所述的装置,其特征在于,所述功能按钮的显示颜色对应所述麦克风的收音状态。The apparatus according to claim 6, wherein a display color of the function button corresponds to a radio state of the microphone.
  10. 根据权利要求6所述的装置,其特征在于,所述功能按钮的显示内容对应所述麦克风的收音状态。 The device according to claim 6, wherein the display content of the function button corresponds to a radio state of the microphone.
PCT/CN2014/092116 2013-11-29 2014-11-25 Microphone sound-reception status switching method and apparatus WO2015078349A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310628460.4A CN104142808A (en) 2013-11-29 2013-11-29 Switching method and device for reception state of microphone
CN201310628460.4 2013-11-29

Publications (1)

Publication Number Publication Date
WO2015078349A1 true WO2015078349A1 (en) 2015-06-04

Family

ID=51851993

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092116 WO2015078349A1 (en) 2013-11-29 2014-11-25 Microphone sound-reception status switching method and apparatus

Country Status (2)

Country Link
CN (1) CN104142808A (en)
WO (1) WO2015078349A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113329302A (en) * 2021-06-30 2021-08-31 歌尔科技有限公司 Earphone control method, electronic equipment and earphone

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142808A (en) * 2013-11-29 2014-11-12 腾讯科技(深圳)有限公司 Switching method and device for reception state of microphone
CN105446489B (en) 2015-12-08 2017-09-22 广州神马移动信息科技有限公司 Voice Dual-mode control method, device and user terminal
CN111596985B (en) * 2020-04-24 2023-03-14 腾讯科技(深圳)有限公司 Interface display method, device, terminal and medium in multimedia conference scene

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060120741A (en) * 2005-05-23 2006-11-28 주식회사 대경바스컴 Speaking bookable conference system and method for booking the speaking
US20100119099A1 (en) * 2005-09-08 2010-05-13 Axel Haupt Microphone and Method for Transmitting the Microphone Audio Data
CN104142808A (en) * 2013-11-29 2014-11-12 腾讯科技(深圳)有限公司 Switching method and device for reception state of microphone

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312597B (en) * 2013-06-27 2016-04-13 小米科技有限责任公司 A kind of speech message generation method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060120741A (en) * 2005-05-23 2006-11-28 주식회사 대경바스컴 Speaking bookable conference system and method for booking the speaking
US20100119099A1 (en) * 2005-09-08 2010-05-13 Axel Haupt Microphone and Method for Transmitting the Microphone Audio Data
CN104142808A (en) * 2013-11-29 2014-11-12 腾讯科技(深圳)有限公司 Switching method and device for reception state of microphone

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113329302A (en) * 2021-06-30 2021-08-31 歌尔科技有限公司 Earphone control method, electronic equipment and earphone

Also Published As

Publication number Publication date
CN104142808A (en) 2014-11-12

Similar Documents

Publication Publication Date Title
WO2016150331A1 (en) Method and device for operating game client
WO2017206916A1 (en) Method for determining kernel running configuration in processor and related product
WO2018086417A1 (en) Microphone alternating live broadcast method, apparatus and system
WO2019127868A1 (en) Screen orientation switching method, device, and terminal
TWI663541B (en) Mobile terminal, fingerprint identification control method and device, computer-readable storage medium and computer program product
WO2016107501A1 (en) Intelligent device control method and device
WO2016119580A1 (en) Method, device and terminal for starting voice input function of terminal
TWI520043B (en) Method, device and moving terminal for examining messages
WO2017107714A1 (en) Method and device for switching screen interface, and terminal
WO2017008569A1 (en) Message updating method, apparatus, and terminal
WO2014206101A1 (en) Gesture-based conversation processing method, apparatus, and terminal device
WO2014032611A1 (en) Desktop management method and device
CN106371964B (en) Method and device for prompting message
CN106293901B (en) Process management method and device for terminal application
WO2015032249A1 (en) Method, system, device and terminal for network initialization of multimedia playing device
WO2016197697A1 (en) Gesture control method, device and system
WO2018095130A1 (en) Method and system for determining duration of live streaming
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
WO2013149530A1 (en) Information display method, mobile terminal and computer readable storage medium
WO2015078145A1 (en) Method and apparatus for enlarging display font
WO2015024372A1 (en) Communication initiation method, apparatus, and mobile terminal
WO2020103070A1 (en) Method and apparatus for processing application program, and electronic device
WO2017206918A1 (en) Terminal awakening accelerating method and related product
TW201541337A (en) Method, device and system for displaying messages in mobile terminal
WO2019076250A1 (en) Push message management method and related products

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: 14865861

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 14.10.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14865861

Country of ref document: EP

Kind code of ref document: A1