CN111885457A - Wireless earphone, audio playing method and computer readable storage medium - Google Patents

Wireless earphone, audio playing method and computer readable storage medium Download PDF

Info

Publication number
CN111885457A
CN111885457A CN202010671774.2A CN202010671774A CN111885457A CN 111885457 A CN111885457 A CN 111885457A CN 202010671774 A CN202010671774 A CN 202010671774A CN 111885457 A CN111885457 A CN 111885457A
Authority
CN
China
Prior art keywords
audio
playing
memory
wireless headset
equipment
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.)
Granted
Application number
CN202010671774.2A
Other languages
Chinese (zh)
Other versions
CN111885457B (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202010671774.2A priority Critical patent/CN111885457B/en
Publication of CN111885457A publication Critical patent/CN111885457A/en
Application granted granted Critical
Publication of CN111885457B publication Critical patent/CN111885457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/167Audio streaming, i.e. formatting and decoding of an encoded audio signal representation into a data stream for transmission or storage purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Headphones And Earphones (AREA)

Abstract

The invention discloses an audio playing method of a wireless earphone, wherein the transmission code rate between the wireless earphone and equipment is lower than the transmission code rate required by audio with preset quality, the audio with the preset quality comprises high-definition audio or lossless audio, and the audio playing method of the wireless earphone comprises the following steps: extracting an audio file corresponding to a first audio with preset quality from a memory of the wireless earphone, wherein the audio file corresponding to the first audio with preset quality is stored in the memory from the equipment in the process of playing the first audio transmitted by the equipment by the wireless earphone; and playing the first audio with the preset quality according to the audio file. The invention also discloses a wireless headset and a computer readable storage medium. The wireless earphone realizes the playing of high-definition audio or lossless audio.

Description

Wireless earphone, audio playing method and computer readable storage medium
Technical Field
The present invention relates to the field of earphone technologies, and in particular, to a wireless earphone, an audio playing method, and a computer-readable storage medium.
Background
With the increase of the living pressure of people, music has become one of the means for relieving the pressure of people.
To facilitate portability, people connect devices via wireless headphones to listen to audio. However, the transmission code rate of the wireless earphone is low, so that the wireless earphone can only play audio with low quality transmitted by the equipment, but cannot play high-quality audio with high transmission code rate or without loss.
Disclosure of Invention
The present invention is directed to a wireless headset, an audio playing method and a computer readable storage medium, and aims to solve the problem that the wireless headset cannot play high-quality audio.
In order to achieve the above object, the present invention provides an audio playing method for a wireless headset, where a transmission code rate between the wireless headset and a device is lower than a transmission code rate required by a preset quality audio, where the preset quality audio includes a high definition audio or a lossless audio, and the audio playing method for the wireless headset includes the following steps:
extracting an audio file corresponding to a first audio with preset quality from a memory of the wireless earphone, wherein the audio file corresponding to the first audio with preset quality is stored in the memory from the equipment in the process of playing the first audio transmitted by the equipment by the wireless earphone;
and playing the first audio with the preset quality according to the audio file.
In an embodiment, before the step of extracting the audio file corresponding to the first audio with the preset quality from the memory of the wireless headset, the method further includes:
when the first audio transmitted by the equipment is played, sending a request for storing the first audio with preset quality to the equipment;
and receiving an audio file corresponding to the first audio with the preset quality transmitted by the equipment, and storing the audio file into a memory of the wireless earphone.
In an embodiment, before the step of sending the request for storing the first audio with the preset quality to the device, the method further includes:
when a first audio transmitted by a playing device is played, determining the storage progress of an audio file corresponding to a target time point of the first audio, wherein the target time point is a time point when the wireless earphone finishes playing the first audio last time;
and generating the request according to the stored audio file and the storage progress.
In an embodiment, before the step of sending the request for storing the first audio with the preset quality to the device, the method further includes:
when a first audio transmitted by a playing device is played, determining the playing times of the first audio;
and when the playing times of the first audio are greater than the preset times, executing the step of sending a request for storing the first audio with preset quality to the equipment.
In an embodiment, after the step of storing the audio file in the memory of the wireless headset, the method further includes:
outputting prompt information whether to play high-quality audio or not after the audio file is detected to be stored;
and when receiving the determined information triggered based on the prompt information, stopping playing the first audio transmitted by the equipment, and executing the step of extracting the audio file corresponding to the first audio with preset quality from the memory of the wireless earphone.
In an embodiment, before the step of extracting the audio file corresponding to the first audio with the preset quality from the memory of the wireless headset, the method further includes:
acquiring an audio playing record of a user;
determining each second audio meeting a first preset frequency according to the audio playing record;
when the audio transmitted by the equipment is played, sending a request for storing an audio file corresponding to each second audio with preset quality to the equipment;
and receiving audio files corresponding to the second audios transmitted by the equipment, and storing the audio files corresponding to the second audios in the memory.
In an embodiment, after the step of playing the first audio with the preset quality according to the audio file, the method further includes:
acquiring the corresponding extraction frequency of each audio file in the memory;
and deleting the audio files corresponding to the extraction frequency which is less than the second preset frequency.
In an embodiment, before the step of extracting the audio file corresponding to the first audio with the preset quality from the memory of the wireless headset, the method further includes:
acquiring an audio directory corresponding to each audio file stored in the memory;
sending the audio directory to the device;
and when receiving selected information which is sent by the equipment and triggered based on the audio directory, determining the selected audio as a first audio according to the selected information.
In order to achieve the above object, the present invention further provides a wireless headset, where the wireless headset has a preset transmission protocol, and a transmission code rate corresponding to the preset transmission protocol is lower than a transmission code rate required by an audio with a preset quality, the wireless headset includes a memory, a processor, and the playing program stored in the memory and executable on the processor, and when the playing program is executed by the processor, the audio playing method of the wireless headset is implemented.
To achieve the above object, the present invention further provides a computer-readable storage medium storing a playback program, which when executed by a processor, implements the audio playback method of a wireless headset as described above.
According to the wireless headset, the audio playing method and the computer readable storage medium provided by the invention, in the process of playing the audio transmitted by the equipment, the wireless headset stores the audio file corresponding to the high-definition audio or the lossless audio from the equipment into the memory, and then extracts the audio file corresponding to the high-definition audio or the lossless audio from the memory, so that the high-definition or lossless audio is played according to the audio file. When the wireless earphone plays the audio transmitted by the equipment, the audio file corresponding to the high-quality audio is stored in the slave equipment, so that the wireless earphone can play the high-quality audio for a user.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a wireless headset according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of an audio playing method for a wireless headset according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of an audio playing method for a wireless headset according to the present invention;
FIG. 4 is a flowchart illustrating a third exemplary embodiment of an audio playing method for a wireless headset according to the present invention;
FIG. 5 is a flowchart illustrating a fourth exemplary embodiment of an audio playing method for a wireless headset according to the present invention;
fig. 6 is a flowchart illustrating an audio playing method for a wireless headset according to a fifth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: extracting an audio file corresponding to a first audio with preset quality from a memory of the wireless earphone, wherein the audio file corresponding to the first audio with preset quality is stored in the memory from the equipment in the process of playing the first audio transmitted by the equipment by the wireless earphone; and playing the first audio with the preset quality according to the audio file.
When the wireless earphone plays the audio transmitted by the equipment, the audio file corresponding to the high-quality audio is stored in the slave equipment, so that the wireless earphone can play the high-quality audio for a user.
As one implementation, a wireless headset may be as shown in fig. 1.
The embodiment of the invention relates to a wireless earphone, wherein a preset transmission protocol is stored in the wireless earphone, the preset transmission protocol can be a Bluetooth transmission protocol, and the transmission code rate corresponding to the preset transmission protocol is lower than that required by high-definition audio or lossless audio. The wireless headset comprises a memory 101, a processor 102, e.g. a CPU, a communication bus 103. Wherein a communication bus 103 is used for enabling the connection communication between these components.
The memory 101 may be a high-speed RAM storage device or a non-volatile storage device (e.g., a magnetic disk storage device). As shown in fig. 1, a playback program may be included in the memory 101; and the processor 102 may be configured to call the playback program stored in the memory 101 and perform the following operations:
extracting an audio file corresponding to a first audio with preset quality from a memory of the wireless earphone, wherein the audio file corresponding to the first audio with preset quality is stored in the memory from the equipment in the process of playing the first audio transmitted by the equipment by the wireless earphone;
and playing the first audio with the preset quality according to the audio file.
In one embodiment, the processor 102 may be configured to call a playback program stored in the memory 101 and perform the following operations:
when the first audio transmitted by the equipment is played, sending a request for storing the first audio with preset quality to the equipment;
and receiving an audio file corresponding to the first audio with the preset quality transmitted by the equipment, and storing the audio file into a memory of the wireless earphone.
In one embodiment, the processor 102 may be configured to call a playback program stored in the memory 101 and perform the following operations:
when a first audio transmitted by a playing device is played, determining the storage progress of an audio file corresponding to a target time point of the first audio, wherein the target time point is a time point when the wireless earphone finishes playing the first audio last time;
and generating the request according to the stored audio file and the storage progress.
In an embodiment, before the step of sending the request for storing the first audio with the preset quality to the device, the method further includes:
when a first audio transmitted by a playing device is played, determining the playing times of the first audio;
and when the playing times of the first audio are greater than the preset times, executing the step of sending a request for storing the first audio with preset quality to the equipment.
In one embodiment, the processor 102 may be configured to call a playback program stored in the memory 101 and perform the following operations:
outputting prompt information whether to play high-quality audio or not after the audio file is detected to be stored;
and when receiving the determined information triggered based on the prompt information, stopping playing the first audio transmitted by the equipment, and executing the step of extracting the audio file corresponding to the first audio with preset quality from the memory of the wireless earphone.
In one embodiment, the processor 102 may be configured to call a playback program stored in the memory 101 and perform the following operations:
acquiring an audio playing record of a user;
determining each second audio meeting a first preset frequency according to the audio playing record;
when the audio transmitted by the equipment is played, sending a request for storing an audio file corresponding to each second audio with preset quality to the equipment;
and receiving audio files corresponding to the second audios transmitted by the equipment, and storing the audio files corresponding to the second audios in the memory.
In one embodiment, the processor 102 may be configured to call a playback program stored in the memory 101 and perform the following operations:
acquiring the corresponding extraction frequency of each audio file in the memory;
and deleting the audio files corresponding to the extraction frequency which is less than the second preset frequency.
In one embodiment, the processor 102 may be configured to call a playback program stored in the memory 101 and perform the following operations:
acquiring an audio directory corresponding to each audio file stored in the memory;
sending the audio directory to the device;
and when receiving selected information which is sent by the equipment and triggered based on the audio directory, determining the selected audio as a first audio according to the selected information.
According to the scheme, in the process of playing the audio transmitted by the equipment, the wireless headset stores the audio file corresponding to the high-definition audio or the lossless audio in the equipment to the memory, and extracts the audio file corresponding to the high-definition audio or the lossless audio from the memory, so that the high-definition audio or the lossless audio is played according to the audio file. When the wireless earphone plays the audio transmitted by the equipment, the audio file corresponding to the high-quality audio is stored in the slave equipment, so that the wireless earphone can play the high-quality audio for a user.
Based on the hardware architecture of the wireless headset, the embodiment of the audio playing method of the wireless headset is provided.
Referring to fig. 2, fig. 2 is a first embodiment of an audio playing method of a wireless headset according to the present invention, the audio playing method of the wireless headset includes the following steps:
step S10, extracting an audio file corresponding to a first audio with a preset quality from a memory of the wireless headset, where the wireless headset stores the audio file corresponding to the first audio with the preset quality from the device to the memory in a process of playing the first audio transmitted by the device;
in this embodiment, the execution body is a wireless headset. The wireless earphone can be in communication connection with equipment, and the equipment can be mobile phones, computers and other equipment with an audio playing function. The wireless earphone can be in communication connection with the equipment in a Bluetooth or WIFI (wireless fidelity) mode and the like. The wireless earphone is provided with a preset transmission protocol, the transmission code rate corresponding to the preset transmission protocol is lower than the transmission code rate required by the audio with preset quality, and the audio with preset quality comprises high-definition audio or lossless audio. The predetermined transmission protocol may be an SBC protocol of conventional bluetooth, and the SBC is an encoding format mandatory by an A2DP (Advanced Audio Distribution Profile, bluetooth Audio transmission protocol) protocol. It can be understood that due to the limitation of the transmission code rate, the wireless headset cannot play the high definition audio or lossless audio transmitted by the device.
In this embodiment, a memory is provided in the wireless headset, and the memory can be used for storing audio files of high-definition audio or lossless audio. The format of the high-quality Audio corresponding to the Audio file includes a WAV format (waveform sound file format), an APE format (Lossless compression music format), a FLAC (Free loss Audio Codec) format, or an SACD (Super Audio CD, Super Audio compact disc system) format. In the process of playing the first audio transmitted by the equipment, the wireless earphone can store the audio file corresponding to the first audio with preset quality in the equipment to the memory, so that the audio file corresponding to the high-definition audio or the lossless audio is stored in the memory.
It should be noted that the first audio transmitted by the wireless headset playing device is an audio signal, and the wireless headset analyzes the audio signal to play the first audio. The memory of the wireless headset stores audio files, that is, the device transmits audio files with preset quality corresponding to the first audio to the wireless headset while transmitting audio signals corresponding to the first audio.
When the wireless earphone receives the first audio transmitted by the equipment, the audio file corresponding to the first audio with preset quality can be extracted from the memory so as to play the high-quality audio. Or after the wireless earphone detects that the high-quality audio file of the first audio is stored, the wireless earphone extracts the audio file corresponding to the first audio from the memory to play the high-quality audio.
Step S20, playing the first audio with the preset quality according to the audio file.
After the wireless earphone extracts the audio file, the wireless earphone analyzes the audio file, and therefore the first audio signal with high quality is played.
In the technical scheme provided by this embodiment, in the process of playing the audio transmitted by the device, the wireless headset stores the audio file corresponding to the high-definition audio or the lossless audio in the device to the memory, and then extracts the audio file corresponding to the high-definition audio or the lossless audio from the memory, so as to play the high-definition or lossless audio according to the audio file. When the wireless earphone plays the audio transmitted by the equipment, the audio file corresponding to the high-quality audio is stored in the slave equipment, so that the wireless earphone can play the high-quality audio for a user.
Referring to fig. 3, fig. 3 is a second embodiment of the audio playing method of a wireless headset according to the present invention, and based on the first embodiment, before the step S10, the method further includes:
step S30, when playing the first audio transmitted by the device, sending a request for storing the first audio with preset quality to the device;
step S40, receiving an audio file corresponding to the first audio with the preset quality transmitted by the device, and storing the audio file in a memory of the wireless headset.
In this embodiment, when the wireless headset plays the first audio transmitted by the device, the name of the first audio is recognized, and then it is determined whether a high-quality audio file corresponding to the first audio is stored in the memory according to the name, and if the memory does not store the audio file, the wireless headset sends a request for storing the first audio with a preset quality to the device, that is, sends a request for caching the audio file of the first audio with the preset quality to the device. Of course, the wireless headset may recognize the lyrics of the first audio, and determine whether an audio file corresponding to the lyrics is stored in the memory according to the lyrics.
Due to the fact that the data volume of the audio file of the first audio with the preset quality is large, the audio file is not completely cached in the first audio transmission process of the wireless earphone playing device, and therefore the audio file may need to be cached for many times. Therefore, when the first audio transmitted by the playing device is played, the wireless earphone cable determines the storage progress of the audio file corresponding to the target time point of the first audio, and the target time point is the time point when the wireless earphone finishes playing the first audio last time. And the wireless earphone generates a request according to the audio file and the storage progress. For example, if the audio file is a WAV-formatted file and the storage progress is 62%, the request is: the WAV format audio file of the currently played audio is obtained, the storage progress is 62%, the equipment searches the WAV format audio file corresponding to the currently played audio according to the request, and transmits the rest 32% of the WAV format audio file to the wireless earphone, so that the equipment is prevented from repeatedly transmitting the audio file. It can be understood that, since the audio file needs to be downloaded multiple times, during the first audio process transmitted by the wireless earphone playing device, the audio file is just stored completely, at this time, the wireless earphone can output prompt information indicating whether to play high-quality audio, the prompt information is output in a voice playing manner, or text prompt information is output to the device, and the user can trigger the determination information based on the prompt information, for example, the user can answer yes with voice, and the wireless earphone acquires "yes", that is, the user can be regarded as receiving the determination information triggered based on the prompt information. For another example, the device sends the specific information to the wireless device, and may also be regarded as the specific information triggered by receiving the prompt information. When the wireless earphone receives the determined information triggered based on the prompt information, the first audio transmitted by the playing device is stopped, and then the audio file corresponding to the first audio with the preset quality is extracted from the memory in the wireless earphone, so that the first audio with high quality is played according to the audio file.
In addition, when the wireless earphone plays the audio, the playing times of the audio can be recorded, and the playing times of the audio shows the favorite degree of the user to the audio. If the playing times of the audio are more, the wireless earphone can store high-definition audio files or lossless audio files corresponding to the audio. To this end, the wireless earphone is at
When the device receives the request, the device obtains the audio file with the preset quality corresponding to the currently transmitted first audio and sends the audio file to the wireless earphone, so that the wireless earphone receives the audio file with the preset quality corresponding to the first audio and stores the audio file into the memory of the wireless earphone. In contrast, when the wireless headset plays the first audio transmitted by the device, the playing frequency of the first audio is determined, and when the playing frequency of the first audio is greater than the preset frequency, the step of sending a request for storing the first audio with the preset quality to the device is executed. If the playing times are less than or equal to the preset times, a request does not need to be sent to the equipment to cache the audio file.
In the technical scheme provided by this embodiment, when playing the audio transmitted by the device, the wireless headset sends a request for storing the first audio with the preset quality to the device, so that the receiving device receives an audio file corresponding to the audio with the preset quality transmitted based on the request, and after the audio file is stored, the wireless headset plays the high-quality audio.
Referring to fig. 4, fig. 4 is a third embodiment of the audio playing method of the wireless headset according to the present invention, and based on the first or second embodiment, before the step S10, the method further includes:
step S50, obtaining the audio play record of the user;
step S60, determining each second audio meeting a first preset frequency according to the audio playing record;
step S70, when playing the audio transmitted by the device, sending a request for storing an audio file corresponding to each second audio with preset quality to the device;
step S80, receiving the audio file corresponding to each second audio transmitted by the device, and storing the audio file corresponding to each second audio in the memory.
In this embodiment, the wireless headset can also download audio files of high-quality audio preferred by the user at regular time.
Specifically, the wireless headset can record the played audio, thereby forming an audio playing record. And the wireless earphone determines each second audio meeting the first preset frequency according to the audio playing record. That is, the wireless headset calculates the playing frequency of each second audio in the audio playing record according to the audio playing record, the playing frequency is the playing frequency or the playing frequency, the playing frequency of the audio is greater than or equal to the first preset frequency, the audio can be regarded as the second audio meeting the first preset frequency, and the second audio can be regarded as the audio favorite by the user. When the wireless headset plays the audio, the wireless headset sends a request to the device to store a corresponding audio file for each second audio of a preset quality. And when the equipment receives the request again, the equipment sequentially transmits the audio files with preset quality corresponding to the second audios into the wireless earphone, so that the high-quality audio files of the second audios are stored.
In the technical solution provided in this embodiment, the wireless headset acquires the audio playing record, and determines each second audio meeting the preset frequency according to the audio playing record, so as to cache a high-quality audio file corresponding to each second audio in the device, that is, the wireless headset actively caches an audio file corresponding to a high-quality audio favorite by the user, so as to play the high-quality audio favorite by the user.
Referring to fig. 5, fig. 5 is a fourth embodiment of the audio playing method of the wireless headset according to the present invention, and based on any one of the first to third embodiments, after the step S20, the method further includes:
step S90, acquiring the corresponding extraction frequency of each audio file in the memory;
and S100, deleting the audio files corresponding to the extraction frequency which is less than the second preset frequency.
In this embodiment, the storage capacity of the memory in the wireless headset is limited, and therefore, the audio files in the memory need to be cleared regularly.
For this, the wireless headset acquires the extraction frequency corresponding to each audio file in the memory, and the extraction frequency is the extraction frequency or the extraction frequency. The size of the extraction frequency of the audio file can represent the favorite degree of the user on the audio of the audio file, and if the extraction frequency is smaller than a second preset frequency, the audio file corresponding to the extraction frequency can be deleted.
In the technical scheme provided by this embodiment, the wireless headset acquires the extraction frequency corresponding to each audio in the memory, and then deletes the audio file corresponding to the extraction frequency smaller than the preset frequency, so as to delete the audio file with a lower playing rate, thereby ensuring that the memory has enough storage space to store the audio file of the high-quality audio preferred by the user.
Referring to fig. 6, fig. 6 is a fifth embodiment of the audio playing method of the wireless headset according to the present invention, and the step S10 is performed before the step S is based on any one of the first to fourth embodiments. Further comprising:
step S110, obtaining the audio directory corresponding to each audio file stored in the memory;
step S120, sending the audio directory to the equipment;
step S130, when receiving the selected information triggered based on the audio directory sent by the device, determining the selected audio as the first audio according to the selected information.
In this embodiment, a plurality of high-quality audios (the high-quality audio is lossless audio or high-definition audio) are stored in the memory of the wireless headset, and the wireless headset may actively send the stored high-quality audio to the device for the user to select.
Specifically, the wireless headset obtains and stores audio directories corresponding to the audio files, and the audio objects include audio names corresponding to the audio files. The wireless headset then sends the audio directory to the device. The device displays the audio directory for selection by the user. When the device detects the selection operation, the device may send the selected information to the wireless headset, that is, the selected information triggered based on the audio directory sent by the wireless headset receiving device, determine the selected audio from the selected information as the first audio, and then execute steps S10-S20 to play the first audio with high quality.
In the technical scheme provided by this embodiment, the wireless headset acquires the audio directory corresponding to each audio file stored in the memory, and then sends the audio directory to the device, so as to actively recommend high-quality audio to the user for playing.
The invention further provides a wireless earphone, wherein the wireless earphone is provided with a preset transmission protocol, the transmission code rate corresponding to the preset transmission protocol is lower than the transmission code rate required by the audio with preset quality, the wireless earphone comprises a memory, a processor and the playing program which is stored in the memory and can be executed on the processor, and the audio playing method of the wireless earphone is realized when the playing program is executed by the processor.
To achieve the above object, the present invention further provides a computer-readable storage medium storing a playback program, which when executed by a processor, implements the audio playback method of a wireless headset as described in the above embodiments.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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.
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 solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An audio playing method of a wireless headset is characterized in that a transmission code rate between the wireless headset and equipment is lower than a transmission code rate required by audio with preset quality, the audio with the preset quality comprises high-definition audio or lossless audio, and the audio playing method of the wireless headset comprises the following steps:
extracting an audio file corresponding to a first audio with preset quality from a memory of the wireless earphone, wherein the audio file corresponding to the first audio with preset quality is stored in the memory from the equipment in the process of playing the first audio transmitted by the equipment by the wireless earphone;
and playing the first audio with the preset quality according to the audio file.
2. The method for playing back audio of a wireless headset according to claim 1, wherein the step of extracting the audio file corresponding to the first audio with the preset quality from the memory of the wireless headset further comprises:
when the first audio transmitted by the equipment is played, sending a request for storing the first audio with preset quality to the equipment;
and receiving an audio file corresponding to the first audio with the preset quality transmitted by the equipment, and storing the audio file into a memory of the wireless earphone.
3. The method of claim 2, wherein the step of sending a request to the device to store the first audio of the predetermined quality is preceded by the step of:
when a first audio transmitted by a playing device is played, determining the storage progress of an audio file corresponding to a target time point of the first audio, wherein the target time point is a time point when the wireless earphone finishes playing the first audio last time;
and generating the request according to the stored audio file and the storage progress.
4. The method of claim 2, wherein the step of sending a request to the device to store the first audio of the predetermined quality is preceded by the step of:
when a first audio transmitted by a playing device is played, determining the playing times of the first audio;
and when the playing times of the first audio are greater than the preset times, executing the step of sending a request for storing the first audio with preset quality to the equipment.
5. The method for audio playback of a wireless headset of claim 2, wherein the step of storing the audio file in the memory of the wireless headset is followed by further comprising:
outputting prompt information whether to play high-quality audio or not after the audio file is detected to be stored;
and when receiving the determined information triggered based on the prompt information, stopping playing the first audio transmitted by the equipment, and executing the step of extracting the audio file corresponding to the first audio with preset quality from the memory of the wireless earphone.
6. The method for playing back audio of a wireless headset according to claim 1, wherein the step of extracting the audio file corresponding to the first audio with the preset quality from the memory of the wireless headset further comprises:
acquiring an audio playing record of a user;
determining each second audio meeting a first preset frequency according to the audio playing record;
when the audio transmitted by the equipment is played, sending a request for storing an audio file corresponding to each second audio with preset quality to the equipment;
and receiving audio files corresponding to the second audios transmitted by the equipment, and storing the audio files corresponding to the second audios in the memory.
7. The method for playing back audio of a wireless headset according to any one of claims 1-6, wherein the step of playing back the first audio of the predetermined quality according to the audio file is followed by further comprising:
acquiring the corresponding extraction frequency of each audio file in the memory;
and deleting the audio files corresponding to the extraction frequency which is less than the second preset frequency.
8. The method for playing back audio of a wireless headset according to any one of claims 1-6, wherein the step of extracting the audio file corresponding to the first audio with preset quality from the memory of the wireless headset is preceded by the step of:
acquiring an audio directory corresponding to each audio file stored in the memory;
sending the audio directory to the device;
and when receiving selected information which is sent by the equipment and triggered based on the audio directory, determining the selected audio as a first audio according to the selected information.
9. A wireless headset, wherein the wireless headset has a predetermined transmission protocol, and a transmission code rate corresponding to the predetermined transmission protocol is lower than a transmission code rate required for audio with a predetermined quality, the wireless headset comprises a memory, a processor, and the playing program stored in the memory and executable on the processor, and when the playing program is executed by the processor, the audio playing method of the wireless headset according to any one of claims 1 to 8 is implemented.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a playback program, which when executed by a processor, implements the audio playback method of the wireless headset of any one of claims 1-8.
CN202010671774.2A 2020-07-15 2020-07-15 Wireless earphone, audio playing method and computer readable storage medium Active CN111885457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010671774.2A CN111885457B (en) 2020-07-15 2020-07-15 Wireless earphone, audio playing method and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010671774.2A CN111885457B (en) 2020-07-15 2020-07-15 Wireless earphone, audio playing method and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111885457A true CN111885457A (en) 2020-11-03
CN111885457B CN111885457B (en) 2022-04-22

Family

ID=73151782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010671774.2A Active CN111885457B (en) 2020-07-15 2020-07-15 Wireless earphone, audio playing method and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111885457B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304619A (en) * 2007-05-11 2008-11-12 鸿富锦精密工业(深圳)有限公司 Wireless earphone and audiofrequency apparatus as well as audio frequency play method
US20100023330A1 (en) * 2008-07-28 2010-01-28 International Business Machines Corporation Speed podcasting
US20110087965A1 (en) * 2009-10-14 2011-04-14 Sony Ericsson Mobile Communications Ab Method for setting up a list of audio files for a mobile device
US20120076317A1 (en) * 2010-09-23 2012-03-29 Lsi Corporation Media player system with anti-voice operated switch
US20120096018A1 (en) * 2010-10-16 2012-04-19 Metcalf Michael D Method and system for selecting music
CN105955702A (en) * 2016-06-28 2016-09-21 广州三星通信技术研究有限公司 Wireless audio equipment and method for playing music in same
CN107193885A (en) * 2017-04-27 2017-09-22 维沃移动通信有限公司 A kind of data cached management method of music and mobile terminal
US20170374120A1 (en) * 2016-06-22 2017-12-28 JBF Interlude 2009 LTD Dynamic summary generation for real-time switchable videos
CN107729427A (en) * 2017-09-28 2018-02-23 努比亚技术有限公司 Audio file is from introduction method, terminal and computer-readable recording medium
CN110503984A (en) * 2019-08-12 2019-11-26 成都法兰特科技有限公司 Playback method, equipment and the system of wireless audio playback equipment
CN111182123A (en) * 2018-11-13 2020-05-19 奇酷互联网络科技(深圳)有限公司 Method for avoiding audio playing delay of wireless player, mobile terminal and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304619A (en) * 2007-05-11 2008-11-12 鸿富锦精密工业(深圳)有限公司 Wireless earphone and audiofrequency apparatus as well as audio frequency play method
US20100023330A1 (en) * 2008-07-28 2010-01-28 International Business Machines Corporation Speed podcasting
US20110087965A1 (en) * 2009-10-14 2011-04-14 Sony Ericsson Mobile Communications Ab Method for setting up a list of audio files for a mobile device
US20120076317A1 (en) * 2010-09-23 2012-03-29 Lsi Corporation Media player system with anti-voice operated switch
US20120096018A1 (en) * 2010-10-16 2012-04-19 Metcalf Michael D Method and system for selecting music
US20170374120A1 (en) * 2016-06-22 2017-12-28 JBF Interlude 2009 LTD Dynamic summary generation for real-time switchable videos
CN105955702A (en) * 2016-06-28 2016-09-21 广州三星通信技术研究有限公司 Wireless audio equipment and method for playing music in same
CN107193885A (en) * 2017-04-27 2017-09-22 维沃移动通信有限公司 A kind of data cached management method of music and mobile terminal
CN107729427A (en) * 2017-09-28 2018-02-23 努比亚技术有限公司 Audio file is from introduction method, terminal and computer-readable recording medium
CN111182123A (en) * 2018-11-13 2020-05-19 奇酷互联网络科技(深圳)有限公司 Method for avoiding audio playing delay of wireless player, mobile terminal and storage medium
CN110503984A (en) * 2019-08-12 2019-11-26 成都法兰特科技有限公司 Playback method, equipment and the system of wireless audio playback equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHUNG-MING HUANG: "Ubiquitous Audio Access in the UPnP Home Network", 《2008 INTERNATIONAL CONFERENCE ON INFORMATION NETWORKING》 *
翁泰来: "音频技术综述(三)", 《电声技术》 *

Also Published As

Publication number Publication date
CN111885457B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
JP5433782B2 (en) System and method for performing a hands-free operation of an electronic calendar application in a vehicle
US8660038B1 (en) Previewing voicemails using mobile devices
US9355633B2 (en) Communication device transforming text message into speech
US9756439B2 (en) Method and devices for outputting an audio file
US20070121657A1 (en) Method and communication device for providing a personalized ring-back
CN110290441B (en) Wireless earphone control method and device, wireless earphone and storage medium
JP2010530547A (en) System and method for music recognition
CN108196821A (en) Hand free device with the identification of continuous keyword
WO2019047861A1 (en) Method and device for acquiring and playing back multimedia file
US9384752B2 (en) Audio device and storage medium
US20080133035A1 (en) Method and apparatus to process an audio user interface and audio device using the same
CN106156036B (en) Vehicle-mounted audio processing method and vehicle-mounted equipment
WO2015125560A1 (en) Information processing device, voice interaction device, and control program
KR101417760B1 (en) System and Method for playing contents using of exterior speaker in Converged Personal Network Service Environment
CN111885457B (en) Wireless earphone, audio playing method and computer readable storage medium
CN113515255A (en) Audio playing control method, system, electronic equipment and storage medium
CN110381097B (en) Voice audio sharing method, system and vehicle-mounted terminal
CN111145741B (en) Method and device for providing multimedia content, electronic equipment and storage medium
CN111556406B (en) Audio processing method, audio processing device and earphone
JP2009037320A (en) Information processor and control method for information processor
KR100678159B1 (en) Method for replaying music file of portable radio terminal equipment
JP6552868B2 (en) Voice communication support device, voice communication support method and program
JP2006243397A (en) Sound information distribution system, method and program
JP2008182319A (en) Stream data reproduction system and reproducing method, and portable terminal device
JP4540072B2 (en) Online music reception method on information terminals

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