CN113810814B - Earphone mode switching control method and device, electronic equipment and storage medium - Google Patents

Earphone mode switching control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113810814B
CN113810814B CN202110944903.5A CN202110944903A CN113810814B CN 113810814 B CN113810814 B CN 113810814B CN 202110944903 A CN202110944903 A CN 202110944903A CN 113810814 B CN113810814 B CN 113810814B
Authority
CN
China
Prior art keywords
mode
client
earphone
target
earphone mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110944903.5A
Other languages
Chinese (zh)
Other versions
CN113810814A (en
Inventor
王婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110944903.5A priority Critical patent/CN113810814B/en
Publication of CN113810814A publication Critical patent/CN113810814A/en
Application granted granted Critical
Publication of CN113810814B publication Critical patent/CN113810814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a control method and a control device for earphone mode switching, electronic equipment and a storage medium, relates to the technical field of electronic equipment, in particular to the technical field of Bluetooth earphones, and after voice switching request information sent by a client is received, the voice switching request information is converted into a text control instruction, a target earphone mode in the voice switching request information is obtained, and switching to the target earphone mode is confirmed according to the consistency of the current earphone mode of the client and the target earphone mode. The earphone mode can be switched through the interaction operation of the cloud and the client, the interaction operation is voice interaction, and manual operation of a user is not involved, so that the earphone mode switching operation is more convenient and has higher accuracy.

Description

Earphone mode switching control method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of electronic equipment, in particular to the technical field of bluetooth headphones, and specifically relates to a control method and device for switching headphone modes, electronic equipment and a storage medium.
Background
In recent years, bluetooth headphones have been rapidly developed, and particularly, the advent of TWS (True Wireless Stereo ) headphones has enabled users to enjoy music in both ears without being bound by a headphone cord.
In order to better meet the user experience of the TWS earphone, the earphone is provided with a plurality of modes, such as a noise reduction mode, a transparent mode and the like, and the user can switch the earphone modes according to the actual requirements. In the prior art, when the mode is switched, the mode is switched by pressing a sensor on the touch wireless earphone, for example, the sensor on the wireless earphone is double-clicked, or the sensor on the wireless earphone is long-pressed to switch the mode; because the wireless earphone body is relatively smaller, the sensor capable of switching the mode by touch is also relatively smaller, and the misoperation rate of the mode switching is further improved.
Disclosure of Invention
The disclosure provides a control method and device for earphone mode switching, electronic equipment and a storage medium.
According to an aspect of the present disclosure, there is provided a method for controlling earphone mode switching, including:
receiving voice switching request information sent by a client; the voice switching request information comprises a target earphone mode to be switched;
converting the voice switching request information into a text control instruction to acquire the target earphone mode;
and according to the consistency of the current earphone mode of the client and the target earphone mode, switching to the target earphone mode is confirmed.
According to another aspect of the present disclosure, there is provided a control device for earphone mode switching, including:
the receiving module is used for receiving the voice switching request information sent by the client; the voice switching request information comprises a target earphone mode to be switched;
the conversion module is used for converting the voice switching request information into a text control instruction;
the acquisition module is used for acquiring the target earphone mode;
and the confirming module is used for confirming switching to the target earphone mode according to the consistency of the current earphone mode of the client and the target earphone mode.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the preceding aspect.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of the preceding aspect.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a method as described in the preceding aspect.
After receiving voice switching request information sent by a client, the control method, the device, the electronic equipment and the storage medium for switching the headset mode convert the voice switching request information into a text control instruction, acquire a target headset mode in the voice switching request information, and confirm switching to the target headset mode according to consistency of a current headset mode of the client and the target headset mode. The earphone mode can be switched through the interaction operation of the cloud and the client, the interaction operation is voice interaction, and manual operation of a user is not involved, so that the earphone mode switching operation is more convenient and has higher accuracy.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a flowchart of a first method for controlling earphone mode switching according to an embodiment of the present disclosure;
fig. 2 is a frame diagram of a control system for earphone mode switching according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a second method for controlling earphone mode switching according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a third method for controlling earphone mode switching according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a control device for earphone mode switching according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another control device for earphone mode switching according to an embodiment of the present disclosure;
fig. 7 is a schematic block diagram of an example electronic device provided by an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Control methods, apparatuses, electronic devices, and storage media for earphone mode switching according to embodiments of the present disclosure are described below with reference to the accompanying drawings.
In the related art, in order to enable the wireless earphone to switch the playing mode, the wireless earphone is often switched by means of a physical key or a sensor, in this way, due to the smaller volume of the wireless earphone, the physical key or the sensor installed on the wireless earphone has a smaller volume, and in this mode, the problem of greatly increased misoperation exists.
In the disclosure, in order to avoid the problem of misoperation caused by small physical keys or sensors, the application adopts a voice switching mode, and from the use perspective of a user, the user only needs to switch the earphone mode by Xu Yongyu voice, and the voice control mode is more convenient, and because the manual operation is not involved, the generation of the manual misoperation is avoided.
Fig. 1 is a flowchart of a method for controlling earphone mode switching according to an embodiment of the present disclosure.
As shown in fig. 1, the method is applied to a cloud server side, and the method includes the following steps:
step 101, receiving voice switching request information sent by a client; the voice switching request information comprises a target earphone mode to be switched.
The client according to the present application may include, but is not limited to, an Application (APP) installed in an electronic device, an electronic device that is independent but capable of having a data interaction function with a headset and a cloud server, or an APP installed in an intelligent wearable device. The following embodiments will be described with reference to an electronic device in which the client is a stand-alone device, but capable of data interaction with the headset and cloud server, but it should be understood that this description is not intended to limit the specific type of client, but is merely illustrative.
After the user wears the earphone, after the microphone based on the earphone inputs the voice for switching the earphone mode, the client receives the voice and converts the voice into voice switching request information, the voice switching request information is sent to the cloud server, and the cloud server receives the voice switching request information and responds to the voice switching request information.
Step 102, converting the voice switching request information into a text control instruction, and obtaining the target earphone mode.
The purpose of converting the voice switching request information into the text control instruction is to match the setting in the cloud server.
As an implementation manner of the embodiment of the present application, when the cloud server converts the voice switching request information into the text control instruction, an automatic voice recognition technology (Automatic Speech Recognition, ASR) may be used for conversion, and in practical application, any voice recognition technology in the related art may also be used for conversion of the text control instruction. The embodiment of the application is not limited to the voice recognition technology used.
And step 103, according to the consistency of the current earphone mode of the client and the target earphone mode, switching to the target earphone mode is confirmed.
The cloud server is used as an emitter of the control instruction, when the current earphone mode of the earphone is confirmed to be not the target earphone mode, the client is instructed to control the earphone mode to be switched to the target earphone mode, after the client receives a first control instruction sent by the cloud server, the client is controlled to switch to the target earphone mode based on the first control instruction, and after the earphone is switched to the target earphone mode, the client is played based on the target earphone mode.
In order to facilitate understanding of the implementation of the foregoing embodiments, as shown in fig. 2, fig. 2 is a schematic diagram of a control system for earphone mode switching provided in an embodiment of the present application, where a client sends voice switching request information, receives a response from a cloud server to the voice switching request information, and a cloud server technology automatic voice recognition technology converts the voice switching request information, responds to a text control instruction based on the converted text control instruction, and feeds back a response result to a distributed control system (Distributed Control System, DCS) in fig. 2 of the client as a part of the cloud server.
According to the earphone mode switching control method, after voice switching request information sent by a client is received, the voice switching request information is converted into a text control instruction, a target earphone mode in the voice switching request information is obtained, whether the current earphone mode of the client is consistent with the target earphone mode is confirmed, and if not, switching to the target earphone mode is confirmed according to the consistency of the current earphone mode of the client and the target earphone mode. The earphone mode can be switched through the interaction operation of the cloud and the client, the interaction operation is voice interaction, and manual operation of a user is not involved, so that the earphone mode switching operation is more convenient and has higher accuracy.
When the voice initiated by the earphone user switches the target earphone mode in the earphone modes and is consistent with the current earphone mode of the earphone, in order to avoid resource waste, in the application scene, the switching of the earphone modes is not needed, but the client is instructed to send voice prompt information to send prompt information that the current earphone mode is consistent with the target earphone mode, as shown in fig. 3, and fig. 3 is a flow diagram of another earphone mode switching control method provided by the embodiment of the application. The method comprises the following steps:
step 301, receiving voice switching request information sent by a client; the voice switching request information comprises a target earphone mode to be switched.
Step 302, converting the voice switching request information into a text control instruction, and obtaining the target earphone mode.
Step 303, determining whether the current earphone mode of the client is consistent with the target earphone mode;
if the current earphone mode of the client is inconsistent with the target earphone mode, executing step 304; if the current headset mode of the client is consistent with the target headset mode, step 305 is performed.
And step 304, a first control instruction for switching to the target earphone mode is sent to the client so that the client switches the earphone mode to the target earphone mode according to the first control instruction.
When the target earphone mode is switched, the current earphone mode of the earphone is required to be closed firstly to switch the earphone to the target earphone mode, so that the experience of chaotic playing is not brought to an earphone user, and the method specifically comprises the steps of sending a second control instruction for closing the current earphone mode to the client so that the client can close the current earphone mode according to the second control instruction; and sending a control instruction for switching to the target earphone mode to the client so that the client switches the earphone mode to the target earphone mode according to the first control instruction and controls the earphone to play through the target earphone mode. The execution of the second control instruction and the third control instruction is seamless, and after the earphone executes the second control instruction, the third control instruction is seamlessly executed.
And step 305, sending voice prompt information of which the current earphone mode is the target earphone mode to the client.
As a possible implementation manner, when the client controls the earphone to output the voice prompt information, the voice prompt information may be "currently in the target earphone mode", and the content of the voice prompt information is not limited in the embodiment of the present application.
For easy understanding, the following embodiments will be described by taking a specific application scenario as an example, and assume that the earphone includes two modes, a noise reduction mode or a through mode, where the through mode has an optimal audio-visual effect when the earphone is connected to and worn by both ears.
As shown in fig. 4, fig. 4 shows a third method for controlling mode switching of headphones, including:
step 401, receiving voice switching request information sent by a client; wherein, the voice switching request information comprises a to-be-switched penetrating mode.
Step 402, converting the voice switching request information into a text control instruction, and obtaining the pass-through mode.
Step 403, determining whether the current earphone mode of the client is a pass-through mode.
If yes, go to step 404, if not, go to step 405.
And step 404, sending voice prompt information that the current earphone mode is the pass-through mode to the client.
Step 405, sending a third control instruction to the client to detect whether the headphones are binaural connected and worn.
If yes, go to step 406, if not, go to step 407.
Step 406, in response to the confirmation information sent by the client that the earphone is connected and worn in both ears, a first control instruction for switching to a pass-through mode is sent to the client, so that the client switches the earphone mode to the pass-through mode according to the first control instruction.
Step 407, in response to the confirmation information sent by the client that the earphone is not in binaural connection and/or is worn, sending prompt information that is in binaural connection and is worn to the client.
And sending the prompt information to the client for better audiovisual experience for the user.
Fig. 4 illustrates an implementation manner of switching to the pass-through mode, and the implementation manner is the same when switching to the noise reduction mode, with the only difference that step 405 is not required to be executed when switching to the noise reduction mode, but the first control instruction is used to switch the mode to the noise reduction mode.
The foregoing embodiments describe switching the earphone mode, in the specific implementation process, the user may also perform voice control of turning off the earphone mode based on the earphone, for example, by inputting voice "turning off the target earphone mode" through the earphone, and, illustratively, when the target earphone mode is the turning-off noise reduction mode, receive the voice switching request information sent by the client; the voice switching request information comprises a closing noise reduction mode, the voice switching request information is converted into a text control instruction, the closing noise reduction mode is obtained to determine whether the current earphone mode of the client is the closing noise reduction mode, if yes, a first control instruction for closing the noise reduction mode is sent to the client, and therefore the client can close the noise reduction mode according to the first control instruction. If not, sending voice prompt information that the noise reduction mode is closed to the client
Fig. 5 is a schematic structural diagram of a control device for earphone mode switching according to an embodiment of the present disclosure, where, as shown in fig. 5, the control device includes: a receiving module 51, a converting module 52, an obtaining module 53 and a confirming module 54.
A receiving module 51, configured to receive voice switching request information sent by a client; the voice switching request information comprises a target earphone mode to be switched;
the conversion module 52 is configured to convert the voice switching request information into a text control instruction;
an obtaining module 53, configured to obtain the target earphone mode;
and the confirmation module 54 is configured to confirm switching to the target headset mode according to consistency between the current headset mode of the client and the target headset mode.
Further, in a possible implementation manner of this embodiment, as shown in fig. 6, the apparatus further includes: the receiving module 61, the converting module 62, the obtaining module 63, the confirming module 64 and the first transmitting unit 65 are described in detail in fig. 5, and the detailed description of the receiving module 61, the converting module 62, the obtaining module 63 and the confirming module 64 is omitted here.
And a first sending unit 641 configured to send, to the client, a first control instruction to switch to the target headset mode when the current headset mode is inconsistent with the target headset mode, so that the client switches the headset mode to the target headset mode according to the first control instruction.
Further, in a possible implementation manner of this embodiment, as shown in fig. 6, the apparatus further includes:
and a second sending unit 642, configured to send, to the client, a voice prompt message that the current earphone mode is the target earphone mode when the current earphone mode is consistent with the target earphone mode.
Further, in a possible implementation manner of this embodiment, as shown in fig. 6, the first sending unit 641 further includes:
a first sending subunit 6411, configured to send a second control instruction to the client to turn off the current earphone model, so that the client turns off the current earphone mode according to the second control instruction;
the second transmitting subunit 6412 is configured to send a control instruction for switching to the target earphone mode to the client, so that the client switches the earphone mode to the target earphone mode according to the first control instruction, and controls the earphone to play in the target earphone mode.
Further, in a possible implementation manner of this embodiment, the target earphone mode is a noise reduction mode or a pass-through mode.
Further, in one possible implementation manner of this embodiment, as shown in fig. 6, when the target earphone mode is the pass-through mode, the confirmation module 64 further includes:
a third sending unit 643, configured to send a third control instruction to the client, where the third control instruction is used to detect whether the earphone is connected to two ears and worn;
a confirmation unit 644, configured to confirm whether the current headset mode of the client is consistent with the target headset mode in response to confirmation information sent by the client that the headset is binaural-connected and worn.
Further, in a possible implementation manner of this embodiment, as shown in fig. 6, the apparatus further includes:
and a fourth sending unit 645, configured to send, to the client, prompt information that the earphone is not binaural connected and/or worn, in response to the confirmation information that the earphone is not binaural connected and/or worn, which is sent by the client.
According to the earphone mode switching control device, after voice switching request information sent by a client is received, the voice switching request information is converted into a text control instruction, a target earphone mode in the voice switching request information is obtained, whether the current earphone mode of the client is consistent with the target earphone mode is confirmed, if not, a first control instruction for switching to the target earphone mode is sent to the client, and therefore the client can switch the earphone mode to the target earphone mode according to the first control instruction. The earphone mode can be switched through the interaction operation of the cloud and the client, the interaction operation is voice interaction, and manual operation of a user is not involved, so that the earphone mode switching operation is more convenient and has higher accuracy.
The foregoing explanation of the method embodiment is also applicable to the apparatus of this embodiment, and the principle is the same, and this embodiment is not limited thereto.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 7 illustrates a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the apparatus 700 includes a computing unit 701 that can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 702 or a computer program loaded from a storage unit 707 into a RAM (Random Access Memory ) 703. In the RAM 703, various programs and data required for the operation of the device 700 may also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An I/O (Input/Output) interface 705 is also connected to bus 704.
Various components in device 700 are connected to I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, etc.; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, an optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 701 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 701 include, but are not limited to, a CPU (Central Processing Unit ), a GPU (Graphic Processing Units, graphics processing unit), various dedicated AI (Artificial Intelligence ) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor ), and any suitable processor, controller, microcontroller, etc. The calculation unit 701 performs the respective methods and processes described above, for example, a control method of headset mode switching. For example, in some embodiments, the method of controlling headset mode switching may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 708. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 700 via ROM 702 and/or communication unit 709. When the computer program is loaded into RAM 703 and executed by computing unit 701, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the control method of the aforementioned headset mode switching by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit System, FPGA (Field Programmable Gate Array ), ASIC (Application-Specific Integrated Circuit, application-specific integrated circuit), ASSP (Application Specific Standard Product, special-purpose standard product), SOC (System On Chip ), CPLD (Complex Programmable Logic Device, complex programmable logic device), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, RAM, ROM, EPROM (Electrically Programmable Read-Only-Memory, erasable programmable read-Only Memory) or flash Memory, an optical fiber, a CD-ROM (Compact Disc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display ) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network ), WAN (Wide Area Network, wide area network), internet and blockchain networks.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("Virtual Private Server" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
It should be noted that, artificial intelligence is a subject of studying a certain thought process and intelligent behavior (such as learning, reasoning, thinking, planning, etc.) of a computer to simulate a person, and has a technology at both hardware and software level. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing, and the like; the artificial intelligence software technology mainly comprises a computer vision technology, a voice recognition technology, a natural language processing technology, a machine learning/deep learning technology, a big data processing technology, a knowledge graph technology and the like.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (12)

1. A control method for earphone mode switching includes:
receiving voice switching request information sent by a client; the voice switching request information comprises a target earphone mode to be switched;
converting the voice switching request information into a text control instruction to acquire the target earphone mode;
confirming switching to the target earphone mode according to the consistency of the current earphone mode of the client and the target earphone mode;
the earphone mode comprises a noise reduction mode and a transparent mode;
when the target earphone mode is the pass-through mode, determining to switch to the target earphone mode according to the consistency of the current earphone mode of the client and the target earphone mode further includes:
sending a third control instruction for detecting whether the earphone is connected in double ears and worn to the client;
and responding to the confirmation information sent by the client, wherein the confirmation information is sent by the client and is connected and worn in double ears, and confirming whether the current earphone mode of the client is consistent with the target earphone mode or not.
2. The method for controlling headset mode switching according to claim 1, wherein the confirming switching to the target headset mode according to the consistency of the current headset mode of the client and the target headset mode comprises:
and if the current earphone mode of the client is inconsistent with the target earphone mode, sending a first control instruction for switching to the target earphone mode to the client so that the client switches the earphone mode to the target earphone mode according to the first control instruction.
3. The method for controlling headset mode switching according to claim 2, wherein the confirming switching to the target headset mode according to the consistency of the current headset mode of the client and the target headset mode further comprises:
and if the current earphone mode of the client is consistent with the target earphone mode, sending voice prompt information that the current earphone mode is the target earphone mode to the client.
4. The method for controlling headset mode switching according to claim 2, wherein the sending, to the client, the first control instruction to switch to the target headset mode further includes:
sending a second control instruction for closing the current earphone mode to the client so that the client closes the current earphone mode according to the second control instruction;
and sending a control instruction for switching to the target earphone mode to the client so that the client switches the earphone mode to the target earphone mode according to the first control instruction and controls the earphone to play through the target earphone mode.
5. The control method for headset mode switching according to claim 1, wherein the method further comprises:
and sending prompt information which is connected with and worn by two ears to the client in response to the confirmation information which is sent by the client and is not connected with and/or worn by two ears by the earphone.
6. A control device for earphone mode switching, comprising:
the receiving module is used for receiving the voice switching request information sent by the client; the voice switching request information comprises a target earphone mode to be switched;
the conversion module is used for converting the voice switching request information into a text control instruction;
the acquisition module is used for acquiring the target earphone mode;
the confirming module is used for confirming switching to the target earphone mode according to the consistency of the current earphone mode of the client and the target earphone mode;
the earphone mode comprises a noise reduction mode and a transparent mode;
wherein, when the target earphone mode is a pass-through mode, the confirmation module further comprises:
a third sending unit, configured to send a third control instruction for detecting whether the headphones are connected in two ears and worn to the client;
and the confirming unit is used for responding to the confirmation information that the earphone sent by the client is connected in double ears and worn, and confirming whether the current earphone mode of the client is consistent with the target earphone mode.
7. The headset mode switching control device of claim 6, wherein the confirmation module comprises:
and the first sending unit is used for sending a first control instruction for switching to the target earphone mode to the client when the current earphone mode is not consistent with the target earphone mode, so that the client can switch the earphone mode to the target earphone mode according to the first control instruction.
8. The headset mode switching control device of claim 6, wherein the confirmation module further comprises:
and the second sending unit is used for sending voice prompt information of which the current earphone mode is the target earphone mode to the client when the current earphone mode is determined to be consistent with the target earphone mode.
9. The control device for headset mode switching according to claim 7, wherein the first transmitting unit further comprises:
the first sending subunit is used for sending a second control instruction for closing the current earphone mode to the client so that the client closes the current earphone mode according to the second control instruction;
and the second sending subunit is used for sending a control instruction for switching to the target earphone mode to the client so that the client can switch the earphone mode to the target earphone mode according to the first control instruction and control the earphone to play through the target earphone mode.
10. The headset mode switching control device of claim 6, wherein the confirmation module further comprises:
and the fourth sending unit is used for responding to the confirmation information that the earphone is not in binaural connection and/or worn sent by the client and sending the prompting information that the earphone is in binaural connection and worn to the client.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202110944903.5A 2021-08-17 2021-08-17 Earphone mode switching control method and device, electronic equipment and storage medium Active CN113810814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110944903.5A CN113810814B (en) 2021-08-17 2021-08-17 Earphone mode switching control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110944903.5A CN113810814B (en) 2021-08-17 2021-08-17 Earphone mode switching control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113810814A CN113810814A (en) 2021-12-17
CN113810814B true CN113810814B (en) 2023-12-01

Family

ID=78893701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110944903.5A Active CN113810814B (en) 2021-08-17 2021-08-17 Earphone mode switching control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113810814B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134708A (en) * 2022-06-30 2022-09-30 歌尔股份有限公司 Earphone mode switching method and device, electronic equipment and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517415A (en) * 2016-06-16 2017-12-26 峰范(北京)科技有限公司 Intelligent earphone
CN109346055A (en) * 2018-11-23 2019-02-15 安克创新科技股份有限公司 Active denoising method, device, earphone and computer storage medium
CN109688269A (en) * 2019-01-03 2019-04-26 百度在线网络技术(北京)有限公司 The filter method and device of phonetic order
WO2019196101A1 (en) * 2018-04-13 2019-10-17 万魔声学科技有限公司 Method and apparatus for switching working mode of earphone, and audio circuit, earphone and earphone system
CN110430500A (en) * 2019-07-31 2019-11-08 歌尔科技有限公司 The noise-reduction method and earphone of earphone
WO2019225192A1 (en) * 2018-05-24 2019-11-28 ソニー株式会社 Information processing device and information processing method
CN111405105A (en) * 2020-03-20 2020-07-10 深圳市未艾智能有限公司 Method and apparatus for controlling bluetooth headset, and storage medium
CN111462746A (en) * 2020-04-08 2020-07-28 歌尔科技有限公司 TWS earphone-based control method, system, device and equipment
CN112866859A (en) * 2021-01-20 2021-05-28 维沃移动通信有限公司 Audio playing method and device and wireless earphone
CN115037831A (en) * 2021-03-05 2022-09-09 深圳市万普拉斯科技有限公司 Mode control method and device, electronic equipment and earphone

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120207308A1 (en) * 2011-02-15 2012-08-16 Po-Hsun Sung Interactive sound playback device
US9386391B2 (en) * 2014-08-14 2016-07-05 Nxp B.V. Switching between binaural and monaural modes
US10231056B2 (en) * 2014-12-27 2019-03-12 Intel Corporation Binaural recording for processing audio signals to enable alerts
EP3188495B1 (en) * 2015-12-30 2020-11-18 GN Audio A/S A headset with hear-through mode

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517415A (en) * 2016-06-16 2017-12-26 峰范(北京)科技有限公司 Intelligent earphone
WO2019196101A1 (en) * 2018-04-13 2019-10-17 万魔声学科技有限公司 Method and apparatus for switching working mode of earphone, and audio circuit, earphone and earphone system
WO2019225192A1 (en) * 2018-05-24 2019-11-28 ソニー株式会社 Information processing device and information processing method
CN109346055A (en) * 2018-11-23 2019-02-15 安克创新科技股份有限公司 Active denoising method, device, earphone and computer storage medium
CN109688269A (en) * 2019-01-03 2019-04-26 百度在线网络技术(北京)有限公司 The filter method and device of phonetic order
CN110430500A (en) * 2019-07-31 2019-11-08 歌尔科技有限公司 The noise-reduction method and earphone of earphone
CN111405105A (en) * 2020-03-20 2020-07-10 深圳市未艾智能有限公司 Method and apparatus for controlling bluetooth headset, and storage medium
CN111462746A (en) * 2020-04-08 2020-07-28 歌尔科技有限公司 TWS earphone-based control method, system, device and equipment
CN112866859A (en) * 2021-01-20 2021-05-28 维沃移动通信有限公司 Audio playing method and device and wireless earphone
CN115037831A (en) * 2021-03-05 2022-09-09 深圳市万普拉斯科技有限公司 Mode control method and device, electronic equipment and earphone

Also Published As

Publication number Publication date
CN113810814A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
JP7274527B2 (en) Change companion communication device behavior based on wearable device state
CN111192591B (en) Awakening method and device of intelligent equipment, intelligent sound box and storage medium
EP3127116B1 (en) Attention-based dynamic audio level adjustment
WO2018054356A1 (en) Method for displaying information and terminal
KR20190075800A (en) Intelligent personal assistant interface system
CN108681440A (en) A kind of smart machine method for controlling volume and system
CN108597507A (en) Far field phonetic function implementation method, equipment, system and storage medium
WO2017181365A1 (en) Earphone channel control method, related apparatus, and system
CN111862940A (en) Earphone-based translation method, device, system, equipment and storage medium
JP2020042799A (en) Ear set control method and system
EP3635533B1 (en) Electronic apparatus for processing user utterance for controlling an external electronic apparatus and controlling method thereof
EP3065423A1 (en) Techniques for controlling devices based on user proximity
CN112013949A (en) Earphone wearing state determining method and device and earphone
KR20180138017A (en) Device and system for voice recognition
CN113810814B (en) Earphone mode switching control method and device, electronic equipment and storage medium
US11659325B2 (en) Method and system for performing voice processing
CN113808592A (en) Method and device for transcribing call recording, electronic equipment and storage medium
CN112037794A (en) Voice interaction method, device, equipment and storage medium
KR20200031062A (en) Method and system for controlling earset
CN111986682A (en) Voice interaction method, device, equipment and storage medium
CN117425140A (en) Vehicle-mounted Bluetooth headset interaction system, method, device and storage medium
CN114968387A (en) External equipment switching method and device
CN112037786A (en) Voice interaction method, device, equipment and storage medium
CN111883120A (en) Earphone electric quantity prompting method and device, electronic equipment and storage medium
CN115810356A (en) Voice control method, device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant