CN113793625A - Audio playing method and device - Google Patents

Audio playing method and device Download PDF

Info

Publication number
CN113793625A
CN113793625A CN202110891461.2A CN202110891461A CN113793625A CN 113793625 A CN113793625 A CN 113793625A CN 202110891461 A CN202110891461 A CN 202110891461A CN 113793625 A CN113793625 A CN 113793625A
Authority
CN
China
Prior art keywords
audio
information
audio data
preset
bluetooth
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.)
Pending
Application number
CN202110891461.2A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110891461.2A priority Critical patent/CN113793625A/en
Publication of CN113793625A publication Critical patent/CN113793625A/en
Priority to PCT/CN2022/109180 priority patent/WO2023011370A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • 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
    • 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/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Abstract

The application discloses an audio playing method and device, and belongs to the technical field of communication. The method can solve the problem that the flexibility of playing audio is poor, so that a user possibly misses important audio information in a sound source of an external environment, and comprises the following steps: under the condition of playing a first audio file in the electronic equipment, the Bluetooth equipment acquires audio data in the external environment; under the condition that the audio data are determined not to be matched with at least one preset audio data included in the Bluetooth device, the Bluetooth device sends the audio data to the electronic device; the Bluetooth equipment receives first result information sent by the electronic equipment and executes target operation according to the first result information; the first result information is sent by the electronic device when the audio information included in the audio data meets a first preset condition. The method is applied to the scene that the electronic equipment plays the audio file through the Bluetooth equipment.

Description

Audio playing method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to an audio playing method and device.
Background
With the development of bluetooth technology and smart phones, bluetooth devices (such as bluetooth headsets or vehicle bluetooth devices) have become a common device in daily life. For example, a user may wear a bluetooth device to listen to audio information in a driving, riding, walking, sports, etc. scenario.
Typically, some other sound source may be present in the external environment in the case of a user wearing a bluetooth device to listen to audio information. However, for bluetooth devices with noise reduction, these sound sources are shielded; alternatively, when the volume at which the bluetooth device is playing audio is large, the user may not be able to clearly hear the audio information from these sources.
As such, it may result in poor flexibility in playing audio, so that the user may miss important audio information in the sound source of the external environment.
Disclosure of Invention
The embodiments of the present application provide an audio playing method and apparatus, which can solve the problem that a user may miss important audio information in an external sound source due to poor flexibility of playing audio.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an audio playing method, where the method includes: under the condition of playing a first audio file in the electronic equipment, the Bluetooth equipment acquires audio data in the external environment; under the condition that the audio data are determined not to be matched with at least one preset audio data included in the Bluetooth device, the Bluetooth device sends the audio data to the electronic device; the Bluetooth equipment receives first result information sent by the electronic equipment and executes target operation according to the first result information; the first result information is sent by the electronic equipment under the condition that the audio information included in the audio data meets a first preset condition; the target operation includes at least one of: and stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
In a second aspect, an embodiment of the present application provides an audio playing method, where the method includes: the electronic equipment receives audio data sent by the Bluetooth equipment, wherein the audio data is acquired by the Bluetooth equipment from an external environment; the electronic equipment acquires audio information included in the audio data; under the condition that the audio information meets a first preset condition, the electronic equipment sends first result information to the Bluetooth equipment; wherein the first result information is used for instructing the bluetooth device to execute a target operation, and the target operation comprises at least one of the following: stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
In a third aspect, an embodiment of the present application provides an audio playing apparatus, including: the device comprises an acquisition module, a sending module, a receiving module and a processing module. The acquisition module is used for acquiring the audio data in the external environment by the Bluetooth equipment under the condition of playing the first audio file in the electronic equipment. And the sending module is used for sending the audio data to the electronic equipment by the Bluetooth equipment under the condition that the audio data acquired by the acquisition module is determined not to be matched with at least one preset audio data included by the Bluetooth equipment. And the receiving module is used for receiving the first result information sent by the electronic equipment by the Bluetooth equipment. The processing module is used for executing target operation according to the first result information after the receiving module receives the first result information; the first result information is sent by the electronic equipment under the condition that the audio information included in the audio data meets a first preset condition; the target operation includes at least one of: and stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
In a fourth aspect, an embodiment of the present application provides an audio playing apparatus, including: the device comprises a receiving module, an obtaining module and a sending module. And the receiving module is used for receiving the audio data sent by the Bluetooth equipment by the electronic equipment, and the audio data is acquired by the Bluetooth equipment from the external environment. And the acquisition module is used for acquiring the audio information contained in the audio data received by the receiving module by the electronic equipment. The sending module is used for sending first result information to the Bluetooth equipment by the electronic equipment under the condition that the audio information meets a first preset condition; wherein the first result information is used for instructing the bluetooth device to perform a target operation, and the target operation includes at least one of the following: and stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
In a fifth aspect, embodiments of the present application provide a bluetooth device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method as in the first aspect described above.
In a sixth aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, implement the steps of the method in the second aspect.
In a seventh aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the method in the first or second aspect.
In an eighth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method in the first aspect or the second aspect.
In the embodiment of the application, under the condition of playing a first audio file in the electronic equipment, the Bluetooth equipment acquires audio data in an external environment; under the condition that the audio data are determined not to be matched with at least one preset audio data included in the Bluetooth device, the Bluetooth device sends the audio data to the electronic device; the Bluetooth equipment receives first result information sent by the electronic equipment and executes target operation according to the first result information; the first result information is sent by the electronic equipment under the condition that the audio information included in the audio data meets a first preset condition; the target operation includes at least one of: and stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times. Through the scheme, under the condition that the first audio file in the electronic equipment is played, after the Bluetooth equipment acquires the audio data in the external environment, because when the audio data is not matched with at least one preset audio data included by the Bluetooth equipment, the Bluetooth equipment can receive the first result information of the audio data sent by the electronic equipment, the Bluetooth equipment can execute target operation according to the first result information, and therefore through the target operation, a user can receive and hear the sound in the external environment, and important audio information in an external sound source is prevented from being missed.
Drawings
Fig. 1 is a schematic diagram of an audio playing method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an audio playing device according to an embodiment of the present application;
fig. 3 is a second schematic structural diagram of an audio playing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," should not be construed as advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, and the like.
The embodiment of the application provides an audio playing method, which is applied to Bluetooth equipment and electronic equipment and can monitor an external sound source in real time. Specifically, the electronic device is used for judging whether audio data acquired from an external sound source includes preset audio information, and sending result information to the Bluetooth device. And the Bluetooth equipment plays the audio file corresponding to the audio data according to the result information so as to avoid the user missing important information in the external sound source.
Further, the embodiment of the application provides a Bluetooth device and an electronic device.
Wherein, bluetooth equipment can include: the device comprises a Bluetooth module, a voice recognition module, a main control module, a storage module and the like. Specifically, the intelligent Bluetooth device establishes Bluetooth communication connection with a communication connection module of the intelligent mobile terminal through a Bluetooth module. And the voice recognition module on the intelligent Bluetooth device is used for converting the sound signal transmitted by the microphone into an electric signal (such as an audio signal) and sending the electric signal to the electronic device for processing. The electronic device may include a communication connection module, a processing module, and the like.
The communication connection module of the electronic equipment is used for receiving the audio data sent by the intelligent Bluetooth equipment, comparing the information of the audio data through the processing module, and sending the judged result information to the Bluetooth equipment through Bluetooth communication.
The following describes in detail an audio playing method, an audio playing device, and an audio playing apparatus provided in the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Example one
As shown in fig. 1, an embodiment of the present application provides an audio playing method, which includes the following steps S101 to S103. The method is applied to the Bluetooth equipment which is connected with the electronic equipment.
S101, under the condition that a first audio file in the electronic equipment is played, the Bluetooth equipment acquires audio data in an external environment.
Optionally, the bluetooth device may be a bluetooth headset, a vehicle-mounted bluetooth device, or another device that may have a bluetooth function, which is not limited in this embodiment of the present application.
Optionally, a plurality of audio files may be stored in the electronic device, and the first audio file is an audio file in the plurality of audio files.
Further, the type of the first audio file may be any one of the following: music genre, news genre, broadcast genre, voiced novel genre, etc.
It should be noted that, in this embodiment of the application, the bluetooth device and the electronic device are in a connected state. Specifically, the connection between the bluetooth device and the electronic device may be established in two ways: in one mode, after the electronic equipment and the Bluetooth equipment are successfully paired through Bluetooth, wireless connection is established; in another mode, the port of the electronic device and the port of the bluetooth device are connected through a data line, that is, the electronic device and the bluetooth device are connected in a wired manner. Reference may be made to the description in the related art, which is not repeated in the embodiments of the present application.
Furthermore, the above-mentioned "the bluetooth device acquires the audio data in the external environment" in S101 means: a sound signal in the external environment is received through a component of the bluetooth device, i.e., a microphone, and converted into audio data (i.e., an audio signal).
Optionally, the audio data may be from a sound signal output by a device in an external environment, a sound emitted by vocal cord vibration of a human body, and the like. In addition, the type of the audio data may be music, voice, sound effect, or the like.
S102, under the condition that the audio data are determined not to be matched with at least one preset audio data included in the Bluetooth device, the Bluetooth device sends the audio data to the electronic device.
Optionally, in this embodiment of the application, the at least one piece of preset audio data is audio data that needs to be ignored by the bluetooth device, that is, sound corresponding to the at least one piece of preset audio data may be noise.
Optionally, before the step S102, the audio playing method provided in this embodiment of the present application may further include: the Bluetooth equipment acquires the characteristic information included in the audio data; if the at least one preset feature information does not include the feature information, the Bluetooth device determines that the audio data is not matched with the at least one preset audio data. Wherein, a preset characteristic information is used for indicating a preset audio data in the at least one preset audio data.
Optionally, the characteristic information may include at least one of: amplitude, frequency, phase, decibel, etc.
Further, since the corresponding feature information is different for different audio data, one preset feature information may be used to indicate one preset audio data. For example, taking the characteristic information as the frequency, when the frequency range is 20 Hz-250 Hz, the low-frequency noise audio data is corresponded.
It should be noted that, at least one preset audio data and at least one preset feature information may be stored in advance in the bluetooth device. Wherein, one preset characteristic information corresponds to one preset audio data. Furthermore, when the at least one preset feature information does not include the feature information of the audio data acquired by the bluetooth device, the bluetooth device may determine that the audio data does not match the at least one preset audio data.
Illustratively, the characteristic information is taken as a frequency. It is assumed that 20hz preset audio data, 30 hz preset audio data, and 40 hz preset audio data are stored in the bluetooth device. When the frequency at which the audio data is acquired by the bluetooth device is 25 hz, it may be determined that the audio data does not match the preset audio data of the 3 types included in the bluetooth device.
S103, the Bluetooth device receives the first result information sent by the electronic device and executes the target operation according to the first result information.
The first result information is sent by the electronic equipment under the condition that the audio information included in the audio data meets a first preset condition; the target operation includes at least one of: and stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth equipment, and reducing the volume of the first audio file played by the Bluetooth equipment and the preset vibration times of the Bluetooth equipment.
Optionally, the type of the second audio file is determined by audio data. Reference may be made to the detailed description of the first audio file in the foregoing embodiments, which is not described in detail in this application embodiment.
Optionally, the preset times and the first result information may be factory settings of a manufacturer or user-defined settings of a user. When the user is not satisfied with the content or form of the first result information and the value of the preset times, the user can trigger to change the content of the first result information or modify the value of the preset times.
For example, the preset number of times may be three, i.e., the bluetooth device vibrates three times.
Optionally, the first result information may be any one of: text information, symbol information, icon information, and the like. The specific embodiment of the present application may be determined according to an actual use situation, and the embodiment of the present application is not limited thereto.
Illustratively, the first result information may be "audio data is valid, and the bluetooth device needs to process the audio data" for example, the first result information may be text information.
It can be understood that when the bluetooth device receives the first result information sent by the electronic device, the bluetooth device may determine that important information is included in the audio data, so that the bluetooth device may perform a target operation, so that a user may not miss important information included in the audio data.
Optionally, the audio information included in the audio data may be audio content information and/or audio tone information. The audio content information is used for indicating specific content included in the audio data, and the audio tone color information is used for indicating characteristics of sound corresponding to the audio data.
It can be understood that, because the timbres of the sounds made by different objects or people are different, the corresponding audio timbre information is different for different audio data, so that the sound-making body can be determined according to the audio timbre information.
For example, the audio information may be audio content information. The audio content information is 'passengers please notice, next station xxx station is about to arrive'; take the example that the audio information may be audio timbre information. The audio timbre information is any one of the following: piano tone, violin tone, guitar tone, boy tone, girl tone, and elder tone.
Optionally, in a case that the audio information includes audio content information and audio tone information, the first preset condition may include at least one of: the audio content information comprises preset keywords, and the audio tone color information is matched with the preset tone color information.
Optionally, the preset keywords and the preset tone information may be factory set by a manufacturer or custom set by a user. When the preset keyword and the preset tone information cannot meet the user requirements, the user can trigger the preset keyword and the preset tone information to be modified according to own wishes.
Further, the number of the kinds of the preset keyword and the preset tone information may be one or more. Under the condition that the number of the types of the preset keywords and the preset tone color information is one, the audio playing method provided by the embodiment of the application is only applicable to a certain specific use scene; under the condition that the number of the types of the preset keywords and the preset tone color information is multiple, one use scene corresponds to one preset keyword or preset tone color information, so that the audio playing method provided by the embodiment of the application can be applied to multiple use scenes.
For example, the preset keyword may be "passengers please note", "movie", "tv play", or "cartoon", etc.
For example, the user may trigger the electronic device to record a sound in advance, and then the electronic device records the tone color information of the sound as the preset tone color information. For example, a parent records a sound of a child through the electronic device, and records the tone information of the sound, that is, the tone of the child is the preset tone information.
Illustratively, the preset keyword is "the passengers please note" as an example. Suppose that a user is wearing a bluetooth headset to listen to a song played in an electronic device while the user is in a bus. When the bus arrives at the station A of the user home-returning place, the advertisement of the bus starts to broadcast a voice of 'the passengers please notice, the station A arrives immediately and the passengers bring their own articles'. The Bluetooth headset acquires the audio data of the voice output by the loudspeaker of the bus in the external environment. In the case where it is determined that the audio data does not match at least one preset audio data included in the bluetooth headset, the bluetooth headset may transmit the audio data to the electronic device. When the audio content information of the audio data acquired by the electronic device includes "the passengers please, the bluetooth headset may receive first result information sent by the electronic device: "audio data is valid and the bluetooth device needs to handle this". Therefore, the Bluetooth headset can stop playing music according to the first result information and play voice corresponding to the audio data, namely that the passengers please notice, the station A arrives at once and the passengers bring good articles. Furthermore, the user cannot miss important information in the voice, and the user is ensured to get off in time when the bus arrives at the station.
The embodiment of the application provides an audio playing method, under the condition that a first audio file in an electronic device is played, after a bluetooth device acquires audio data in an external environment, because when the audio data is not matched with at least one preset audio data included in the bluetooth device, the bluetooth device can receive first result information of the audio data sent by the electronic device, the bluetooth device can execute target operation according to the first result information, and therefore through the target operation, a user can listen to sound in the external environment, and important audio information in an external sound source is avoided being missed.
Optionally, after the above S102, the audio playing method provided in the embodiment of the present application may further include the following S104.
S104, the Bluetooth device receives second result information sent by the electronic device and stores audio data according to the second result information;
the second result information is sent by the electronic device when the audio information included in the audio data meets a second preset condition.
Alternatively, the audio information may include audio content information and audio tone information. The second preset condition includes: the audio content information does not include preset keywords, and the audio tone information is not matched with the preset tone information.
Optionally, the second result information is different from the first result information, and for the description of the second result information, reference may be made to the detailed description of the first result information in the foregoing embodiment, which is not described in detail in this embodiment of the application.
For example, the second result information may be "the audio data is invalid noise", taking as an example that the second result information may be text information.
It can be appreciated that when the bluetooth device receives the second result information transmitted by the electronic device, the bluetooth device may determine that important information, i.e., the audio data is noise that is useless for the user, is not included in the audio data, so that the bluetooth device may store the audio data, so that when the bluetooth device receives the same audio data later, the bluetooth device does not transmit the audio data to the electronic device, thereby avoiding unnecessary operations and saving resources (e.g., power) of the electronic device.
Example two
As shown in fig. 1, an embodiment of the present application provides an audio playing method, which includes the following steps S201 to S203, and is applied to an electronic device in connection with a bluetooth device.
S201, the electronic equipment receives audio data sent by the Bluetooth equipment.
The audio data is obtained from the external environment under the condition that the Bluetooth device plays the first audio file.
Optionally, the "audio data sent by the bluetooth device" in S201 refers to: a sound signal in the external environment is received through a component of the bluetooth device, i.e., a microphone, and converted into audio data (i.e., an audio signal).
Further, the audio data may be a sound signal output from a device in an external environment, a sound emitted by vocal cord vibration of a human body, or the like. In addition, the type of the audio data may be music, voice, sound effect, or the like.
Optionally, a plurality of audio files may be stored in the electronic device, and the first audio file is an audio file in the plurality of audio files.
Further, the type of the first audio file may be any one of the following: music genre, news genre, broadcast genre, voiced novel genre, etc.
It should be noted that, in this embodiment of the application, the bluetooth device and the electronic device are in a connected state. Specifically, the connection between the bluetooth device and the electronic device may be established in two ways: in one mode, after the electronic equipment and the Bluetooth equipment are successfully paired through Bluetooth, wireless connection is established; in another mode, the port of the electronic device and the port of the bluetooth device are connected through a data line, that is, the electronic device and the bluetooth device are connected in a wired manner. Reference may be made to the description in the related art, which is not repeated in the embodiments of the present application.
Optionally, the bluetooth device may be a bluetooth headset, a vehicle-mounted bluetooth device, or another device that may have a bluetooth function, which is not limited in this embodiment of the present application.
S202, the electronic equipment acquires audio information included in the audio data.
Optionally, the audio data may include audio information including at least one of: audio content information, audio timbre information. The audio content information is used for indicating specific content included in the audio data, and the audio tone color information is used for indicating characteristics of sound corresponding to the audio data.
It can be understood that, because the timbres of the sounds made by different objects or people are different, the corresponding audio timbre information is different for different audio data, so that the sound-making body can be determined according to the audio timbre information.
For example, the audio information may be audio content information. The audio content information is 'passengers please notice, next station xxx station is about to arrive'; take the example that the audio information may be audio timbre information. The audio timbre information is any one of the following: piano tone, violin tone, guitar tone, boy tone, girl tone, and elder tone.
And S203, under the condition that the audio information meets a first preset condition, the electronic equipment sends first result information to the Bluetooth equipment.
Wherein the first result information is used for instructing the bluetooth device to execute a target operation, and the target operation comprises at least one of the following: and stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth equipment, and reducing the volume of the first audio file played by the Bluetooth equipment and the preset vibration times of the Bluetooth equipment.
Optionally, in a case that the audio information includes audio content information and audio tone information, the first preset condition includes at least one of: the audio content information comprises preset keywords, and the audio tone information is matched with the preset tone information.
Optionally, the preset keywords and the preset tone information may be factory set by a manufacturer or custom set by a user. When the preset keyword and the preset tone information cannot meet the user requirements, the user can trigger the preset keyword and the preset tone information to be modified according to own wishes.
Further, the number of the kinds of the preset keyword and the preset tone information may be one or more. Under the condition that the number of the types of the preset keywords and the preset tone color information is one, the audio playing method provided by the embodiment of the application is only applicable to a certain specific use scene; under the condition that the number of the types of the preset keywords and the preset tone color information is multiple, one use scene corresponds to one preset keyword or preset tone color information, so that the audio playing method provided by the embodiment of the application can be applied to multiple use scenes.
For example, the preset keyword may be "passengers please note", "movie", "tv play", or "cartoon", etc.
For example, the user may trigger the electronic device to record a sound in advance, and then the electronic device records the tone color information of the sound as the preset tone color information. For example, a parent records a sound of a child through the electronic device, and records the tone information of the sound, that is, the tone of the child is the preset tone information.
Optionally, the preset times and the first result information may be factory settings of a manufacturer or user-defined settings of a user. When the user is not satisfied with the content or form of the first result information and the value of the preset times, the user can trigger to change the content of the first result information or modify the value of the preset times.
For example, the preset number of times may be three, i.e., the bluetooth device vibrates three times.
Optionally, the first result information may be any one of: text information, symbol information, icon information, and the like. The specific embodiment of the present application may be determined according to an actual use situation, and the embodiment of the present application is not limited thereto.
Illustratively, the first result information may be "audio data is valid, and the bluetooth device needs to process the audio data" for example, the first result information may be text information.
Illustratively, the preset keyword is "the passengers please note" as an example. Suppose that a user is wearing a bluetooth headset to listen to a song played in an electronic device while the user is in a bus. When the bus arrives at the station A of the user home-returning place, the advertisement of the bus starts to broadcast a voice of 'the passengers please notice, the station A arrives immediately and the passengers bring their own articles'. Because the electronic device can receive the audio data of the voice output by the speaker from the bus acquired by the bluetooth headset from the external environment, when the audio content information of the audio data acquired by the electronic device includes "the passenger please notice", the electronic device can send, to the bluetooth headset, first result information for instructing the bluetooth headset to play the voice corresponding to the audio data: "audio data is valid and the bluetooth device needs to handle this". Therefore, after the user receives the voice corresponding to the audio data played through the Bluetooth headset, namely that the passenger notices that the station A arrives immediately and the passenger brings his own articles, the user can be ensured to get off the bus in time when the bus arrives at the station, namely that the user cannot miss important information in the voice.
The embodiment of the application provides an audio playing method, after an electronic device receives audio data sent by a bluetooth device, the electronic device can acquire audio information included in the audio data, and under the condition that the audio information meets a first preset condition, the electronic device can send first result information for indicating the bluetooth device to execute a target operation to the bluetooth device, so that the electronic device can control the bluetooth device to execute the target operation according to the first result information, and a user can listen to sound in an external environment through the target operation to avoid missing important audio information in an external sound source.
Optionally, the audio information includes audio content information and audio tone information. After S202, the audio playing method provided in the embodiment of the present application may further include S204. I.e., S203 and S204 are alternatively performed.
And S204, under the condition that the audio information meets a second preset condition, the electronic equipment sends second result information to the Bluetooth equipment.
The second result information is used for indicating the Bluetooth equipment to store audio data; the second preset condition includes: the audio content information does not include the preset keyword, and the audio tone information is not matched with the preset tone information.
Optionally, the second result information is different from the first result information, and for the description of the second result information, reference may be made to the detailed description of the first result information in the foregoing embodiment, which is not described in detail in this embodiment of the application.
For example, the second result information may be "the audio data is invalid noise", taking as an example that the second result information may be text information.
It can be understood that, since the electronic device may determine that important information, that is, the audio data is noise that is useless for the user, is not included in the audio data when the audio information satisfies the second preset condition, the electronic device may transmit second result information to the bluetooth device, where the second result information is used to instruct the bluetooth device to store the audio data, so that the electronic device does not receive the same audio data transmitted by the bluetooth device again, and thus determines the audio data. Thus, the electronic device avoids unnecessary operations and saves resources (e.g., power) of the electronic device.
EXAMPLE III
An embodiment of the present application provides an audio playing method, which includes the following steps S301 to S306, and is applied to an electronic device and a bluetooth device in a connected state.
S301, under the condition that the first audio file in the electronic equipment is played, the Bluetooth equipment acquires audio data in the external environment.
S302, under the condition that the audio data are determined not to be matched with at least one preset audio data included in the Bluetooth device, the Bluetooth device sends the audio data to the electronic device.
S303, the electronic equipment receives the audio data sent by the Bluetooth equipment.
S304, the electronic equipment acquires the audio information included in the audio data.
S305, under the condition that the audio information meets the first preset condition, the electronic equipment sends first result information to the Bluetooth equipment.
Wherein the first result information is used for instructing the Bluetooth device to execute the target operation.
S306, the Bluetooth device receives the first result information sent by the electronic device and executes the target operation according to the first result information.
Wherein the target operation comprises at least one of: stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
For the descriptions of S301 to S306, reference may be specifically made to the descriptions related to the first embodiment and the second embodiment, and details are not repeated here.
Optionally, the audio information includes audio content information and audio tone information. After S304, the audio playing method provided in the embodiment of the present application may further include S307 and S308 described below. I.e., S305 and S306, or alternatively, S307 and S308 are executed.
And S307, under the condition that the audio information meets a second preset condition, the electronic equipment sends second result information to the Bluetooth equipment.
S308, the Bluetooth device receives second result information sent by the electronic device and stores audio data according to the second result information.
For the descriptions of S307 and S308, reference may be specifically made to the descriptions related to the first embodiment and the second embodiment, and details are not repeated here.
The embodiment of the application provides an audio playing method, in the case of playing a first audio file in an electronic device, after a bluetooth device acquires audio data in an external environment, because the bluetooth device can send the audio data to the electronic device when the audio data is not matched with at least one preset audio data included in the bluetooth device, when the electronic device determines that audio information included in the audio data meets a first preset condition, first result information of the audio data sent to the electronic device, and thus after the bluetooth device receives the first result information sent by the electronic device, the bluetooth device can execute a target operation according to the first result information. Therefore, the electronic equipment controls the Bluetooth equipment to execute the target operation, so that the user can listen to the sound in the external environment, and important audio information in an external sound source is prevented from being missed.
It should be noted that, in the audio playing method provided in the embodiment of the present application, the execution main body may be an audio playing device, or a control module used for executing the audio playing method in the audio playing device. The embodiment of the present application takes an audio playing device executing an audio playing method as an example, and describes an audio playing device provided in the embodiment of the present application.
As shown in fig. 2, an audio playing apparatus 400 provided in the embodiment of the present application includes an obtaining module 401, a sending module 402, a receiving module 403, and a processing module 404. The audio playing apparatus may be the bluetooth device or a functional module in the bluetooth device in the first embodiment. The obtaining module 401 may be configured to, under the condition that the first audio file in the electronic device is played, obtain, by the bluetooth device, audio data in the external environment. The sending module 402 may be configured to, in a case that it is determined that the audio data acquired by the acquiring module 401 does not match with at least one preset audio data included in the bluetooth device, send the audio data to the electronic device by the bluetooth device. The receiving module 403 may be configured to receive, by the bluetooth device, the first result information sent by the electronic device. A processing module 404, configured to perform a target operation according to the first result information after the receiving module 403 receives the first result information; the first result information is sent by the electronic equipment under the condition that the audio information included in the audio data meets a first preset condition; the target operation includes at least one of: and stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
Optionally, the audio playing apparatus may further include a receiving module and a storage module. The receiving module can also be used for the Bluetooth device to receive second result information sent by the electronic device. A storage module, configured to store audio data according to the second result information after the receiving module receives the second result information; the second result information is sent by the electronic device when the audio information included in the audio data meets a second preset condition.
Optionally, the audio playing apparatus may further include a determining module. The acquisition module can also be used for the Bluetooth equipment to acquire the characteristic information included in the audio data. The determining module may be configured to determine, by the bluetooth device, that the audio data does not match at least one preset audio data if the at least one preset feature information does not include the feature information, where one preset feature information is used to indicate one preset audio data in the at least one preset audio data.
The embodiment of the application provides an audio playing device, under the condition of playing a first audio file in electronic equipment, after the bluetooth equipment acquires audio data in an external environment, because when the audio data is not matched with at least one preset audio data included by the bluetooth equipment, the bluetooth equipment can receive first result information of the audio data sent by the electronic equipment, the bluetooth equipment can execute target operation according to the first result information, and therefore through the target operation, a user can listen to sound in the external environment, and important audio information in an external sound source is avoided being missed.
As shown in fig. 3, an embodiment of the present application provides an audio playing apparatus 500; the audio playing device comprises a receiving module 501, an obtaining module 502 and a sending module 503. The audio playing device may be the electronic device or the functional module in the electronic device in the second embodiment. The receiving module 501 is configured to receive, by the electronic device, audio data sent by the bluetooth device, where the audio data is obtained from an external environment when the bluetooth device plays the first audio file. An obtaining module 502, configured to obtain, by the electronic device, audio information included in the audio data received by the receiving module 501. A sending module 503, configured to send first result information to the bluetooth device by the electronic device when the audio information meets a first preset condition; wherein the first result information is used for instructing the bluetooth device to perform a target operation, and the target operation includes at least one of the following: and stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
Optionally, the audio information comprises at least one of: audio content information, audio timbre information; the first preset condition includes at least one of: the audio content information comprises preset keywords, and the audio tone information is matched with the preset tone information.
Optionally, the audio information includes audio content information and audio tone information. The sending module is further used for sending second result information to the Bluetooth device by the electronic device under the condition that the audio information meets a second preset condition; wherein the second result information is used for indicating the Bluetooth equipment to store audio data; the second preset condition includes: the audio content information does not include preset keywords, and the audio tone information is not matched with the preset tone information.
The embodiment of the application provides an audio playing device, after electronic equipment receives audio data sent by bluetooth equipment, the electronic equipment can acquire audio information included in the audio data, and because under the condition that the audio information meets a first preset condition, the electronic equipment can send first result information for indicating the bluetooth equipment to execute target operation to the bluetooth equipment, the electronic equipment can control the bluetooth equipment to execute the target operation according to the first result information, so that through the target operation, a user can listen to sound in an external environment, and important audio information in an external sound source is prevented from being missed.
The audio playing device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device (e.g., a bluetooth headset), an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The audio playing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The audio playing device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the foregoing audio playing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The input unit 704, which is a microphone of the bluetooth device in this embodiment of the present application, is configured to acquire audio data in an external environment by the bluetooth device when a first audio file in the electronic device is played. The radio frequency unit 701 is used for sending the audio data to the electronic device by the bluetooth device under the condition that the audio data is determined not to be matched with at least one preset audio data included in the bluetooth device; and the Bluetooth device is used for receiving the first result information sent by the electronic device. A processor 710, configured to perform a target operation according to the first result information after the radio frequency unit 701 receives the first result information; the first result information is sent by the electronic equipment under the condition that the audio information included in the audio data meets a first preset condition; the target operation includes at least one of: and stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
Optionally, the radio frequency unit 701 is further configured to receive, by the bluetooth device, second result information sent by the electronic device. A processor 710, configured to store audio data according to the second result information after the radio frequency unit 701 receives the second result information; the second result information is sent by the electronic device when the audio information included in the audio data meets a second preset condition.
Optionally, the processor 710 is further configured to obtain, by the bluetooth device, feature information included in the audio data; and if the at least one preset feature information does not include the feature information, the bluetooth device determines that the audio data is not matched with the at least one preset audio data, and one preset feature information is used for indicating one preset audio data in the at least one preset audio data.
The embodiment of the application provides a bluetooth device, under the condition of playing a first audio file in an electronic device, after the bluetooth device acquires audio data in an external environment, because when the audio data is not matched with at least one preset audio data included by the bluetooth device, the bluetooth device can receive first result information of the audio data sent by the electronic device, the bluetooth device can execute target operation according to the first result information, and therefore through the target operation, a user can listen to sound in the external environment to avoid missing important audio information in an external sound source.
The radio frequency unit 701 is configured to receive, by the electronic device, audio data sent by the bluetooth device, where the audio data is obtained from an external environment when the bluetooth device plays the first audio file. The processor 710 is configured to obtain, by the electronic device, audio information included in the audio data received by the radio frequency unit 701. The radio frequency unit 701 is further configured to, when the audio information meets a first preset condition, send first result information to the bluetooth device by the electronic device; wherein the first result information is used for instructing the bluetooth device to perform a target operation, and the target operation includes at least one of the following: and stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
Optionally, the audio information includes audio content information and audio tone information. The radio frequency unit 701 is further configured to, when the audio information meets a second preset condition, send second result information to the bluetooth device by the electronic device; wherein the second result information is used for indicating the Bluetooth equipment to store audio data; the second preset condition includes: the audio content information does not include preset keywords, and the audio tone information is not matched with the preset tone information.
The embodiment of the application provides an electronic device, after the electronic device receives audio data sent by a bluetooth device, the electronic device can acquire audio information included in the audio data, and because the electronic device can send first result information for indicating the bluetooth device to execute target operation to the bluetooth device under the condition that the audio information meets a first preset condition, the electronic device can control the bluetooth device to execute the target operation according to the first result information, so that through the target operation, a user can hear sound in an external environment, and important audio information in an external sound source is prevented from being missed.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned audio playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media such as a computer-read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and so forth.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned audio playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method in the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. An audio playing method, the method comprising:
under the condition of playing a first audio file in the electronic equipment, the Bluetooth equipment acquires audio data in the external environment;
under the condition that the audio data are determined not to be matched with at least one preset audio data included by the Bluetooth device, the Bluetooth device sends the audio data to the electronic device;
the Bluetooth equipment receives first result information sent by the electronic equipment and executes target operation according to the first result information;
the first result information is sent by the electronic equipment under the condition that audio information included in the audio data meets a first preset condition;
the target operation includes at least one of: stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
2. The method of claim 1, wherein after the Bluetooth device transmits the audio data to the electronic device, the method further comprises:
the Bluetooth equipment receives second result information sent by the electronic equipment and stores the audio data according to the second result information;
the second result information is sent by the electronic device when the audio information included in the audio data meets a second preset condition.
3. The method of claim 1 or 2, wherein before the Bluetooth device transmits the audio data to the electronic device, the method further comprises:
the Bluetooth equipment acquires the characteristic information included in the audio data;
if the at least one preset feature information does not include the feature information, the Bluetooth device determines that the audio data is not matched with the at least one preset audio data, and one preset feature information is used for indicating one preset audio data in the at least one preset audio data.
4. An audio playing method, the method comprising:
the method comprises the steps that the electronic equipment receives audio data sent by Bluetooth equipment, wherein the audio data are obtained from an external environment under the condition that the Bluetooth equipment plays a first audio file;
the electronic equipment acquires audio information included in the audio data;
under the condition that the audio information meets a first preset condition, the electronic equipment sends first result information to the Bluetooth equipment;
wherein the first result information is used for instructing the Bluetooth device to execute a target operation, and the target operation comprises at least one of the following: stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
5. The method of claim 4, wherein the audio information comprises at least one of: audio content information, audio timbre information;
the first preset condition includes at least one of: the audio content information comprises preset keywords, and the audio tone information is matched with the preset tone information.
6. The method of claim 4, wherein the audio information comprises audio content information and audio tone information;
after the electronic device acquires the audio information included in the audio data, the method further includes:
under the condition that the audio information meets a second preset condition, the electronic equipment sends second result information to the Bluetooth equipment;
wherein the second result information is used for instructing the Bluetooth device to store the audio data; the second preset condition includes: the audio content information does not include preset keywords, and the audio tone information is not matched with the preset tone information.
7. An audio playing device is characterized by comprising an acquisition module, a sending module, a receiving module and a processing module;
the acquisition module is used for acquiring audio data in an external environment by the Bluetooth equipment under the condition of playing a first audio file in the electronic equipment;
the sending module is configured to send the audio data to the electronic device by the bluetooth device when it is determined that the audio data acquired by the acquiring module does not match at least one preset audio data included in the bluetooth device;
the receiving module is used for the Bluetooth equipment to receive first result information sent by the electronic equipment;
the processing module is configured to, after the receiving module receives the first result information, execute a target operation according to the first result information;
the first result information is sent by the electronic equipment under the condition that audio information included in the audio data meets a first preset condition; the target operation includes at least one of: stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
8. The apparatus of claim 7, wherein the audio playing apparatus further comprises a receiving module and a storage module;
the receiving module is further configured to receive, by the bluetooth device, second result information sent by the electronic device;
the storage module is configured to store the audio data according to the second result information after the receiving module receives the second result information;
the second result information is sent by the electronic device when the audio information included in the audio data meets a second preset condition.
9. The apparatus of claim 7 or 8, wherein the audio playing apparatus further comprises a determining module;
the acquisition module is further used for the Bluetooth equipment to acquire the characteristic information included in the audio data;
the determining module is configured to determine, by the bluetooth device, that the audio data does not match the at least one preset audio data if the at least one preset feature information does not include the feature information, where one preset feature information is used to indicate one preset audio data in the at least one preset audio data.
10. An audio playing device is characterized in that the audio playing device comprises a receiving module, an obtaining module and a sending module;
the receiving module is used for receiving audio data sent by the Bluetooth equipment by the electronic equipment, wherein the audio data is acquired from the external environment under the condition that the Bluetooth equipment plays the first audio file;
the obtaining module is configured to obtain, by the electronic device, audio information included in the audio data received by the receiving module;
the sending module is used for sending first result information to the Bluetooth device by the electronic device under the condition that the audio information meets a first preset condition;
wherein the first result information is used for instructing the Bluetooth device to execute a target operation, and the target operation comprises at least one of the following: stopping playing the first audio file, playing a second audio file corresponding to the audio data, closing the noise reduction function of the Bluetooth device, reducing the volume of the Bluetooth device for playing the first audio file, and vibrating the Bluetooth device for preset times.
11. The apparatus of claim 10, wherein the audio information comprises at least one of: audio content information, audio timbre information;
the first preset condition includes at least one of: the audio content information comprises preset keywords, and the audio tone information is matched with the preset tone information.
12. The apparatus of claim 10, wherein the audio information comprises audio content information and audio tone color information;
the sending module is further configured to send second result information to the bluetooth device by the electronic device when the audio information meets a second preset condition;
wherein the second result information is used for instructing the Bluetooth device to store the audio data; the second preset condition includes: the audio content information does not include preset keywords, and the audio tone information is not matched with the preset tone information.
CN202110891461.2A 2021-08-04 2021-08-04 Audio playing method and device Pending CN113793625A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110891461.2A CN113793625A (en) 2021-08-04 2021-08-04 Audio playing method and device
PCT/CN2022/109180 WO2023011370A1 (en) 2021-08-04 2022-07-29 Audio playing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110891461.2A CN113793625A (en) 2021-08-04 2021-08-04 Audio playing method and device

Publications (1)

Publication Number Publication Date
CN113793625A true CN113793625A (en) 2021-12-14

Family

ID=79181395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110891461.2A Pending CN113793625A (en) 2021-08-04 2021-08-04 Audio playing method and device

Country Status (2)

Country Link
CN (1) CN113793625A (en)
WO (1) WO2023011370A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023011370A1 (en) * 2021-08-04 2023-02-09 维沃移动通信有限公司 Audio playing method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103392349A (en) * 2011-02-23 2013-11-13 高通股份有限公司 Systems, methods, apparatus, and computer-readable media for spatially selective audio augmentation
CN103825993A (en) * 2014-03-11 2014-05-28 宇龙计算机通信科技(深圳)有限公司 Method and device for treating environment sound during conversation
CN108521621A (en) * 2018-03-30 2018-09-11 广东欧珀移动通信有限公司 Signal processing method, device, terminal, earphone and readable storage medium storing program for executing
CN111583898A (en) * 2020-05-26 2020-08-25 舒伟伟 Space environment multi-directional selective noise reduction system and method
US20200329297A1 (en) * 2019-04-12 2020-10-15 Bose Corporation Automated control of noise reduction or noise masking
CN112913260A (en) * 2018-10-26 2021-06-04 脸谱科技有限责任公司 Adaptive ANC based on environmental trigger conditions

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100335613B1 (en) * 1999-11-12 2002-05-08 윤종용 Apparatus and method for transmission of a sound
CN101840700B (en) * 2010-04-28 2012-05-23 宇龙计算机通信科技(深圳)有限公司 Voice recognition method based on mobile terminal and mobile terminal
CN102624980A (en) * 2012-03-06 2012-08-01 惠州Tcl移动通信有限公司 Method for detecting abrupt environment and prompting based on earphone of mobile phone and mobile phone
CN105225662A (en) * 2015-08-24 2016-01-06 深圳市冠旭电子有限公司 Smart bluetooth earphone plays method and the smart bluetooth earphone of external voice automatically
CN106550294A (en) * 2015-09-18 2017-03-29 丰唐物联技术(深圳)有限公司 Monitor method and device based on earphone
CN105205955B (en) * 2015-09-25 2018-07-31 小米科技有限责任公司 A kind of method and apparatus sending out standby signal
CN207531029U (en) * 2017-11-30 2018-06-22 歌尔科技有限公司 A kind of wire-controlled apparatus and earphone
CN107948801B (en) * 2017-12-21 2020-02-07 广东小天才科技有限公司 Earphone control method and earphone
CN110475170A (en) * 2019-07-10 2019-11-19 深圳壹账通智能科技有限公司 Control method, device, mobile terminal and the storage medium of earphone broadcast state
CN111787450A (en) * 2020-07-21 2020-10-16 乐行装备(深圳)有限公司 Earphone with voice recognition function
CN113793625A (en) * 2021-08-04 2021-12-14 维沃移动通信有限公司 Audio playing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103392349A (en) * 2011-02-23 2013-11-13 高通股份有限公司 Systems, methods, apparatus, and computer-readable media for spatially selective audio augmentation
CN103825993A (en) * 2014-03-11 2014-05-28 宇龙计算机通信科技(深圳)有限公司 Method and device for treating environment sound during conversation
CN108521621A (en) * 2018-03-30 2018-09-11 广东欧珀移动通信有限公司 Signal processing method, device, terminal, earphone and readable storage medium storing program for executing
CN112913260A (en) * 2018-10-26 2021-06-04 脸谱科技有限责任公司 Adaptive ANC based on environmental trigger conditions
US20200329297A1 (en) * 2019-04-12 2020-10-15 Bose Corporation Automated control of noise reduction or noise masking
CN111583898A (en) * 2020-05-26 2020-08-25 舒伟伟 Space environment multi-directional selective noise reduction system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023011370A1 (en) * 2021-08-04 2023-02-09 维沃移动通信有限公司 Audio playing method and apparatus

Also Published As

Publication number Publication date
WO2023011370A1 (en) 2023-02-09

Similar Documents

Publication Publication Date Title
CN105979312B (en) Information sharing method and device
CN105208056B (en) Information interaction method and terminal
CN110568926B (en) Sound signal processing method and terminal equipment
CN108763316B (en) Audio list management method and mobile terminal
CN108712566A (en) A kind of voice assistant awakening method and mobile terminal
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
CN109862430B (en) Multimedia playing method and terminal equipment
CN111083289B (en) Audio playing method and device, storage medium and mobile terminal
WO2017215511A1 (en) Control method of scene sound effect and related products
CN106095387A (en) The audio method to set up of a kind of terminal and terminal
CN112230877A (en) Voice operation method and device, storage medium and electronic equipment
CN106328176A (en) Method and device for generating song audio
CN111339324A (en) Multimedia playing method and electronic equipment
CN112394901A (en) Audio output mode adjusting method and device and electronic equipment
CN106792014B (en) A kind of method, apparatus and system of recommendation of audio
CN109949809B (en) Voice control method and terminal equipment
WO2023011370A1 (en) Audio playing method and apparatus
CN107870799A (en) Utilize the method, apparatus and terminal of widget control audio player
CN109324999B (en) Method and electronic equipment for executing operation based on download instruction
CN114042310A (en) Game operation data collection method and device, computer equipment and storage medium
CN106407359A (en) Image playing method and mobile terminal
CN113220262A (en) Multi-application audio data distribution method and terminal equipment
CN111081283A (en) Music playing method and device, storage medium and terminal equipment
CN108418961B (en) Audio playing method and mobile terminal
CN105159655B (en) Behavior event playing method and device

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