CN111065012A - Audio playing method, system, earphone device and computer readable storage medium - Google Patents

Audio playing method, system, earphone device and computer readable storage medium Download PDF

Info

Publication number
CN111065012A
CN111065012A CN201911260437.8A CN201911260437A CN111065012A CN 111065012 A CN111065012 A CN 111065012A CN 201911260437 A CN201911260437 A CN 201911260437A CN 111065012 A CN111065012 A CN 111065012A
Authority
CN
China
Prior art keywords
audio
earphone
usb interface
main body
playing
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
CN201911260437.8A
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.)
Hunan Voc Acoustic Technology Co ltd
Original Assignee
Hunan Voc Acoustic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Voc Acoustic Technology Co ltd filed Critical Hunan Voc Acoustic Technology Co ltd
Priority to CN201911260437.8A priority Critical patent/CN111065012A/en
Publication of CN111065012A publication Critical patent/CN111065012A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • 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/1025Accumulators or arrangements for charging
    • 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
    • H04R2201/103Combination of monophonic or stereophonic headphones with audio players, e.g. integrated in the headphone

Abstract

The embodiment of the invention discloses an audio playing method, an audio playing system, earphone equipment and a computer readable storage medium, and relates to the technical field of earphones. The earphone device comprises a first battery module and an earphone main body; the first battery module comprises a first USB interface, a processor and a memory which are connected in sequence, the earphone main body comprises a second battery module, an earphone assembly and a second USB interface, the earphone assembly and the second USB interface are connected with the second battery module, and the first USB interface and the second USB interface are connected in a pluggable manner; the method comprises the following steps: when the first USB interface is connected with the terminal equipment, if an audio file management instruction is received, managing the audio file stored in the memory according to the instruction; when the first USB interface is connected with the second USB interface, if a local audio playing instruction is received, the audio file stored in the memory is read according to the instruction, and the audio file is decoded and then output to the earphone main body for playing. The embodiment of the invention can enable the earphone equipment to realize the audio playing function independently of the terminal equipment.

Description

Audio playing method, system, earphone device and computer readable storage medium
Technical Field
The present invention relates to the field of earphone technologies, and in particular, to an audio playing method and system, an earphone device, and a computer-readable storage medium.
Background
A neck strap type earphone is characterized in that a neck strap is arranged between a left earphone and a right earphone and connected with each other, and the neck strap is hung on the neck when the earphone is worn, so that the neck strap type earphone is a common earphone in the current market. Compared with other types of earphones, the neck strap type earphone not only can be worn and used all weather in shape, but also can be used for placing a battery with larger capacity inside the neck strap, provides more space for complex circuit design, and can also enable a user to obtain better experience in wearing, tone quality and functions. However, the conventional neck strap type earphone has a single function, can play music only by connecting terminal equipment such as a mobile phone and cannot be used independently by separating from the mobile phone.
Disclosure of Invention
In view of the above, embodiments of the present invention provide an audio playing method, an audio playing system, an earphone device, and a computer readable storage medium, so as to solve the problem that the conventional neckband earphone has a single function, can only play music by connecting a terminal device such as a mobile phone, and cannot be used independently from the mobile phone.
The technical scheme adopted by the embodiment of the invention for solving the technical problems is as follows:
according to a first aspect of the embodiments of the present invention, an audio playing method is provided, which is applied to an earphone device, where the earphone device includes a first battery module and an earphone main body; the earphone main body comprises a second battery module, an earphone assembly and a second USB interface, wherein the earphone assembly and the second USB interface are electrically connected with the second battery module; the audio playing method comprises the following steps of executing by the processor:
when the first USB interface is connected with external terminal equipment, if an audio file management instruction input by a user is received, managing the audio file stored in the memory according to the audio file management instruction;
when the first USB interface is connected with the second USB interface, if a local audio playing instruction input by a user is received, a local audio playing mode is entered, an audio file stored in the memory is read according to the local audio playing instruction, and the audio file is decoded and then output to the earphone main body for playing.
The first battery module further comprises an audio acquisition device electrically connected with the processor, and the audio playing method comprises the following steps:
if a recording instruction input by a user is received, entering a recording mode, controlling the audio acquisition device to acquire recording information, encoding the recording information, and generating a recording file to be stored in the memory;
when a recording playing instruction input by a user is received, if the first USB interface is connected with the second USB interface, the earphone enters a recording playing mode, the recording file stored in the memory is read, and the recording file is decoded and then output to the earphone main body for playing.
Wherein the first battery module further comprises a frequency modulation antenna electrically connected with the processor, and the audio playing method further comprises:
when the first USB interface is connected with the second USB interface, if a frequency modulation broadcast playing instruction input by a user is received, the earphone enters a frequency modulation reception mode, frequency modulation reception audio received by the frequency modulation antenna is obtained, and the frequency modulation reception audio is decoded and then sent to the earphone main body to be played.
Wherein, the earphone main body further comprises a bluetooth unit electrically connected with the second battery module, and the audio playing method further comprises:
and when the first USB interface is connected with the second USB interface, the audio files stored in the memory are synchronously transmitted to the earphone main body, so that the earphone main body synchronizes the audio files to an external terminal device through the Bluetooth unit for displaying.
According to a second aspect of the embodiments of the present invention, an audio playing system is provided, which is applied to an earphone device, where the earphone device includes a first battery module and an earphone main body; the earphone main body comprises a second battery module, an earphone assembly and a second USB interface, wherein the earphone assembly and the second USB interface are electrically connected with the second battery module; the audio playback system is located within the processor and includes:
the file management unit is used for managing the audio files stored in the memory according to the audio file management instruction if the audio file management instruction input by a user is received when the first USB interface is connected with the external terminal equipment;
and the local audio playing unit is used for entering a local audio playing mode if a local audio playing instruction input by a user is received when the first USB interface is connected with the second USB interface, reading an audio file stored in the memory according to the local audio playing instruction, decoding the audio file and outputting the decoded audio file to the earphone main body for playing.
Wherein, first battery module still include with treater electric connection's audio acquisition device, audio playback system still includes:
the recording and coding unit is used for entering a recording mode if a recording instruction input by a user is received, controlling the audio acquisition device to acquire recording information, coding the recording information, and generating a recording file to be stored in the memory;
and the recording decoding unit is used for entering a recording playing mode if the first USB interface is connected with the second USB interface when a recording playing instruction input by a user is received, reading the recording file stored in the memory, decoding the recording file and outputting the decoded recording file to the earphone main body for playing.
Wherein, first battery module still include with treater electric connection's frequency modulation antenna, audio playback system still includes:
and the FM radio audio decoding unit is used for entering a FM radio mode if receiving a FM broadcast playing instruction input by a user when the first USB interface is connected with the second USB interface, acquiring the FM radio audio received by the FM antenna, decoding the FM radio audio and then sending the decoded FM radio audio to the earphone main body for playing.
Wherein, the earphone main part still include with second battery module electric connection's bluetooth unit, audio playback system still includes:
and the audio file synchronization unit is used for synchronously transmitting the audio files stored in the memory to the earphone main body when the first USB interface is connected with the second USB interface, so that the earphone main body synchronizes the audio files to an external terminal device through the Bluetooth unit for displaying.
A third aspect of the embodiments of the present invention provides an earphone device, including a first battery module and an earphone main body; the earphone main body comprises a second battery module, an earphone assembly and a second USB interface, wherein the earphone assembly and the second USB interface are electrically connected with the second battery module;
the headphone apparatus further comprises a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, performs the steps of the audio playback method as described in any one of the above first aspects.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the audio playing method according to any one of the first aspect are implemented.
Compared with the existing neck strap type earphone which has single function, can only play music by connecting terminal equipment such as a mobile phone and the like, and can not be separated from the mobile phone for independent use, the audio playing method, the audio playing system, the earphone equipment and the computer readable storage medium provided by the embodiment of the invention have the advantages that the earphone equipment is designed into the first battery module and the earphone main body, the first battery module is connected with the earphone main body in a pluggable manner through the USB interface, and the first battery module is internally integrated with the memory and the audio decoding function, so that the audio file stored on the terminal equipment can be obtained when the first battery module is connected with the terminal equipment through the USB interface, when the earphone main body is separated from the terminal equipment, the audio file in the memory can be decoded through the audio decoding function, and the decoded audio file is sent to the earphone main body to be played, therefore, the earphone device can be separated from the terminal device to independently realize the audio playing function, the function of the earphone device is increased, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a block diagram showing the structure of an earphone device in the embodiment of the present invention;
fig. 2 is a schematic structural diagram of a preferred implementation example of the earphone device in the embodiment of the present invention;
fig. 3 is a schematic flowchart illustrating an implementation of an audio playing method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart illustrating an implementation procedure of an audio playing method according to a second embodiment of the present invention;
fig. 5 is a schematic flowchart illustrating an implementation procedure of an audio playing method according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of an audio playing system according to a fourth embodiment of the present invention;
fig. 7 is a schematic structural diagram of hard-soft combining of the earphone device according to the fifth embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a block diagram showing the structure of an earphone device in the embodiment of the present invention. Only the portions related to the present embodiment are shown for convenience of explanation.
Referring to fig. 1, the earphone device according to the embodiment of the present invention includes a first battery module 1 and an earphone main body 2; the first battery module 1 comprises a first USB interface 11, a processor 12 and a memory 13 which are electrically connected in sequence, the earphone main body 2 comprises a second battery module 22 and an earphone component 23 and a second USB interface 21 which are electrically connected with the second battery module 22, and the first USB interface 11 and the second USB interface 21 can be connected in a pluggable mode.
Preferably, the first battery module 1 further includes an audio acquisition device 14 electrically connected to the processor 12. The audio capture device 14 includes, but is not limited to, a microphone.
Preferably, the first battery module 1 further includes a frequency modulation antenna 15 electrically connected to the processor 12.
Preferably, the headset main body 2 further includes a bluetooth unit 24 electrically connected to the second battery module 22.
Wherein the earphone device includes, but is not limited to, a neckband earphone. Referring to fig. 2, when the earphone device is a neck strap type earphone, the earphone main body 2 further includes a neck strap 25, the neck strap 25 has a connection cavity, the second battery module 22 is disposed at one end of the neck strap 25, the second USB interface 21 is disposed at the other end of the neck strap 25, the earphone assembly 23 includes a left earphone 232, a right earphone 233 and two earphone connection lines 231, one end of the two earphone connection lines 231 is electrically connected to the second battery module 22, and the other end of the two earphone connection lines 231 respectively passes through the connection cavity of the neck strap 25 to be electrically connected to the left earphone 232 and the right earphone 233.
As soon as possible, not shown in the figures, the first battery module 1 and the second battery module 22 in the embodiment of the present invention further include a battery unit for supplying power to each component in the earphone device and a user input unit for receiving a user input instruction, respectively. The user input unit includes, but is not limited to, a gravity sensor, a pressure sensor, and a touch sensor.
Based on the structure of the above-described headphone apparatus, the following embodiments of the present invention are proposed.
Example one
Fig. 3 is a schematic flowchart illustrating an implementation procedure of an audio playing method according to an embodiment of the present invention, where an execution main body of the method is the processor 12 in the first battery module 1 in the earphone device shown in fig. 1. Referring to fig. 3, the audio playing method provided in this embodiment includes the following steps:
step S301, when the first USB interface 11 is connected to an external terminal device, if an audio file management instruction input by a user is received, managing the audio file stored in the memory 13 according to the audio file management instruction.
In this embodiment, when the first battery module 1 is pulled out from the earphone main body 2, the first battery module 1 may be connected to a terminal device such as a mobile phone or a computer through the first USB interface 11, and at this time, the first battery module 1 may be used as a USB disk, so that a user may manage audio files stored in the memory 13 of the first battery module 1. Specifically, after the first battery module 1 is connected to a terminal device, the audio files stored in the memory 13 may be transmitted to the terminal device for display through a USB wired connection, and then a file management instruction input by a user through the terminal device is received through the USB wired connection, and the audio files stored in the memory 13 are managed according to the file management instruction, including adding, deleting or modifying the audio files stored in the memory 13.
Step S302, when the first USB interface 11 is connected to the second USB interface 21, if a local audio playing instruction input by a user is received, the earphone enters a local audio playing mode, reads an audio file stored in the memory 13 according to the local audio playing instruction, decodes the audio file, and outputs the decoded audio file to the earphone main body 2 for playing.
In this embodiment, when the first battery module 1 is pulled out from the terminal device and is connected to the earphone main body 2, if the processor 12 receives a local audio playing instruction input by a user, the first battery module 1 is controlled to switch to a local audio playing mode, a corresponding audio file is read from the memory 13 according to the local audio playing instruction, the audio file is decoded, the decoded audio file is sent to the earphone main body 2 through the line out signal channel of the first USB interface 11, and the decoded audio file is received by the earphone main body 2 through the line in signal channel of the second USB interface 21 and is played through the earphone component 23.
Preferably, in this embodiment, the audio playing method may further include:
when the first USB interface 11 is connected to the second USB interface 21, the audio files stored in the memory 13 are synchronously transmitted to the earphone main body 2, so that the earphone main body 2 synchronizes the audio files to an external terminal device through the bluetooth unit 24 for displaying.
In this embodiment, when the first battery module 1 is connected to the headset main body 2, and when local audio is played, the local audio file stored in the memory 13 may be synchronized to the headset main body 2 through the uart signal channel of the USB interface, so that the headset main body 2 sends the local audio file to the terminal device through the bluetooth unit 24 for displaying, so that the user can browse the local audio in the headset device on the terminal device, and can select the audio file to be played on the terminal device, the terminal device can send the audio file selection instruction input by the user to the earphone main body 2 through the Bluetooth connection, the earphone body 2 sends the audio file selection instruction to the first battery module 1 through USB wired connection, and then the first battery module 1 executes the audio file selection instruction.
It can be seen from the above that, the audio playing method provided by this embodiment is that the earphone device is designed into two parts, namely a battery module and an earphone main body 2, the first battery module 1 is connected with the earphone main body 2 through a USB interface in a pluggable manner, and the memory 13 and the audio decoding function are integrated in the first battery module 1, so that the first battery module 1 is connected with the terminal device through the USB interface, and can acquire the audio files stored on the terminal device, when the terminal device is disconnected with the earphone main body 2, the audio files in the memory 13 can be decoded through the audio decoding function, and the decoded audio files are sent to the earphone main body 2 to be played, so that the earphone device can be disconnected from the terminal device to independently realize the audio playing function, the function of the earphone device is increased, and the user experience is improved.
Example two
Fig. 4 is a schematic flowchart illustrating an implementation procedure of an audio playing method according to a second embodiment of the present invention, where an execution main body of the method is the processor 12 in the first battery module 1 in the earphone device shown in fig. 1. Referring to fig. 4, the audio playing method provided in this embodiment includes the following steps:
step S401, when the first USB interface 11 is connected to an external terminal device, if an audio file management instruction input by a user is received, managing the audio file stored in the memory 13 according to the audio file management instruction.
Step S402, when the first USB interface 11 is connected to the second USB interface 21, if a local audio playing instruction input by a user is received, the earphone enters a local audio playing mode, reads an audio file stored in the memory 13 according to the local audio playing instruction, decodes the audio file, and outputs the decoded audio file to the earphone main body 2 for playing.
It should be noted that, since the implementation manners of the steps S401 to S402 are completely the same as the implementation manners of the steps S301 to S302 in the previous embodiment, the description is omitted here.
Step S403, if a recording instruction input by the user is received, entering a recording mode, controlling the audio acquisition device 14 to acquire recording information, encoding the recording information, generating a recording file, and storing the recording file in the memory 13.
Step S404, when a recording playing instruction input by a user is received, if the first USB interface is connected to the second USB interface, entering a recording playing mode, reading the recording file stored in the memory 13, decoding the recording file, and outputting the decoded recording file to the earphone main body 2 for playing.
In this embodiment, the processor 12 is further integrated with a recording function, and when the first battery module 1 receives a recording instruction input by a user, the first battery module controls the earphone device to enter a recording mode, the audio acquisition device 14 adopts recording information, and encodes the recording information and then generates a recording file to be stored in the memory 13. It should be noted that, in this embodiment, no matter whether the first battery module 1 is connected to the earphone main body 2 or the external terminal device, as long as the first battery module 1 detects a recording instruction input by a user, the recording mode is entered for recording.
In this embodiment, when the first battery module 1 receives a recording playing instruction input by a user, it is detected whether the first USB interface 11 is connected to the second USB interface 21 of the earphone main body 2, if the first USB interface is connected to the second USB interface, a corresponding recording file is read according to the recording playing instruction, the recording file is decoded and then output to the earphone main body 2 through a line out signal channel of the first USB interface 11, and the earphone main body 2 receives the decoded recording file through a line in signal channel of the second USB interface 21, and plays the decoded recording file through the earphone component 23.
Compared with the previous embodiment, the audio playing method provided by the embodiment can not only enable the earphone device to realize the local audio playing function independently of the terminal device, but also can adopt the earphone device to record and play the record, further enriches the functions of the earphone device, and improves the user experience.
EXAMPLE III
Fig. 5 is a schematic flowchart illustrating an implementation procedure of an audio playing method according to a third embodiment of the present invention, where an execution main body of the method is the processor 12 in the first battery module 1 in the earphone device shown in fig. 1. Referring to fig. 5, the audio playing method provided in this embodiment includes the following steps:
step S501, when the first USB interface 11 is connected to an external terminal device, if an audio file management instruction input by a user is received, managing the audio file stored in the memory 13 according to the audio file management instruction.
Step S502, when the first USB interface 11 is connected to the second USB interface 21, if a local audio playing instruction input by a user is received, the earphone enters a local audio playing mode, reads an audio file stored in the memory 13 according to the local audio playing instruction, decodes the audio file, and outputs the decoded audio file to the earphone main body 2 for playing.
It should be noted that, since the implementation manners of steps S501 to S502 are completely the same as the implementation manners of steps S301 to S302 in the first embodiment, detailed descriptions thereof are omitted here.
Step S503, when the first USB interface 11 is connected to the second USB interface 21, if a fm broadcast playing instruction input by a user is received, the earphone enters a fm radio mode, acquires a fm radio audio received by the fm antenna 15, decodes the fm radio audio, and sends the decoded fm radio audio to the earphone main body 2 for playing.
In this embodiment, a fm radio audio decoding function is further integrated in the processor 12, when the first battery module 1 is disconnected from the terminal device and connected to the earphone main body 2, if the processor 12 receives a fm broadcast playing instruction input by a user through the user input unit, the earphone device is controlled to enter a fm radio mode, the processor 12 receives fm radio audio signals through the fm antenna 15, decodes the fm radio audio signals and sends the decoded fm radio audio to the earphone main body 2 through the line out signal channel of the first USB interface 11, and the earphone main body 2 receives the decoded fm radio audio through the line in signal channel of the second USB interface 21 and plays the decoded fm radio audio through the earphone assembly 23. The user can switch the frequency modulation frequency point listened by the frequency modulation radio function through the user input unit.
Compared with the first embodiment, the audio playing method provided by the embodiment can enable the earphone device to realize the local audio playing function independently of the terminal device, and can also realize the frequency modulation radio function by adopting the earphone device, so that the functions of the earphone device are further enriched, and the user experience is improved.
Example four
Fig. 6 is a schematic structural diagram of an audio playing system according to a fourth embodiment of the present invention. The audio playing system is located in the processor 12 of the first battery module 1 in the earphone device shown in fig. 1. Only the portions related to the present embodiment are shown for convenience of explanation.
Referring to fig. 6, the audio playing system 121 provided in the present embodiment includes:
a file management unit 1211 configured to, when the first USB interface 11 is connected to an external terminal device, manage the audio files stored in the memory 13 according to an audio file management instruction input by a user if the audio file management instruction is received;
a local audio playing unit 1212, configured to, when the first USB interface 11 is connected to the second USB interface 21, enter a local audio playing mode if a local audio playing instruction input by a user is received, read an audio file stored in the memory 13 according to the local audio playing instruction, decode the audio file, and output the decoded audio file to the earphone main body 2 for playing.
Optionally, the audio playing system 121 further includes:
a recording encoding unit 1213, configured to, when the first USB interface 11 is connected to the second USB interface 21, enter a recording mode if a recording instruction input by a user is received, control the audio acquisition device 14 to acquire recording information, encode the recording information, generate a recording file, and store the recording file in the memory 13;
the recording decoding unit 1214 is configured to enter a recording playing mode when receiving a recording playing instruction input by a user, read the recording file stored in the memory 13, decode the recording file, and output the decoded recording file to the earphone main body 2 for playing.
Optionally, the audio playing system 121 further includes:
a fm radio audio decoding unit 1215, configured to, when the first USB interface 11 is connected to the second USB interface 21, enter a fm radio mode if a fm broadcast playing instruction input by a user is received, acquire the fm radio audio received by the fm antenna 15, decode the fm radio audio, and send the decoded fm radio audio to the earphone main body 2 for playing.
Optionally, the audio playing system 121 further includes:
an audio file synchronizing unit 1216, configured to, when the first USB interface 11 is connected to the second USB interface 21, synchronize and transmit the audio file stored in the memory 13 to the earphone main body 2, so that the earphone main body 2 synchronizes the audio file to an external terminal device through the bluetooth unit 24 for displaying.
The system of this embodiment and the audio playing method of the first embodiment, the second embodiment, or the third embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments, and technical features in the method embodiments are correspondingly applicable in this embodiment, which is not described herein again.
EXAMPLE five
Fig. 7 is a schematic structural diagram of hard-soft combining of the earphone device according to the fifth embodiment of the present invention. Only the portions related to the present embodiment are shown for convenience of explanation.
Referring to fig. 7, the earphone device provided in this embodiment includes a first battery module 1 and an earphone main body 2; the first battery module 1 comprises a first USB interface 11, a processor 12 and a memory 13 which are electrically connected in sequence, the earphone main body 2 comprises a second battery module 22, an earphone component 23 and a second USB interface 21 which are electrically connected with the second battery module 22, and the first USB interface 11 and the second USB interface 21 are connected in a pluggable manner;
the earphone device further comprises a computer program stored on the memory 13 and executable on the processor 12, which computer program, when executed by the processor 12, performs the steps of the audio playing method as described in the first, second or third embodiment.
The earphone device of this embodiment is the same as the audio playing method of the first, second, or third embodiment, and specific implementation procedures thereof are detailed in the method embodiments, and technical features in the method embodiments are correspondingly applicable in this embodiment, which is not described herein again.
EXAMPLE six
A sixth embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor 12, the steps of the audio playing method according to the first embodiment, the second embodiment, or the third embodiment are implemented.
The computer-readable storage medium of this embodiment and the audio playing method of the first embodiment, the second embodiment, or the third embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments, and technical features in the method embodiments are correspondingly applicable in this embodiment, which is not described herein again.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and are not to be construed as limiting the scope of the invention. Any modifications, equivalents and improvements which may occur to those skilled in the art without departing from the scope and spirit of the present invention are intended to be within the scope of the claims.

Claims (10)

1. An audio playing method is applied to earphone equipment and is characterized in that the earphone equipment comprises a first battery module and an earphone main body; the earphone main body comprises a second battery module, an earphone assembly and a second USB interface, wherein the earphone assembly and the second USB interface are electrically connected with the second battery module; the audio playing method comprises the following steps of executing by the processor:
when the first USB interface is connected with external terminal equipment, if an audio file management instruction input by a user is received, managing the audio file stored in the memory according to the audio file management instruction;
when the first USB interface is connected with the second USB interface, if a local audio playing instruction input by a user is received, a local audio playing mode is entered, an audio file stored in the memory is read according to the local audio playing instruction, and the audio file is decoded and then output to the earphone main body for playing.
2. The audio playing method according to claim 1, wherein the first battery module further comprises an audio acquisition device electrically connected to the processor, and the audio playing method comprises:
if a recording instruction input by a user is received, entering a recording mode, controlling the audio acquisition device to acquire recording information, encoding the recording information, and generating a recording file to be stored in the memory;
when a recording playing instruction input by a user is received, if the first USB interface is connected with the second USB interface, the earphone enters a recording playing mode, the recording file stored in the memory is read, and the recording file is decoded and then output to the earphone main body for playing.
3. The audio playing method according to claim 1, wherein the first battery module further comprises a frequency modulation antenna electrically connected to the processor, and the audio playing method further comprises:
when the first USB interface is connected with the second USB interface, if a frequency modulation broadcast playing instruction input by a user is received, the earphone enters a frequency modulation reception mode, frequency modulation reception audio received by the frequency modulation antenna is obtained, and the frequency modulation reception audio is decoded and then sent to the earphone main body to be played.
4. The audio playing method of claim 1, wherein the main body of the earphone further comprises a bluetooth unit electrically connected to the second battery module, and the audio playing method further comprises:
and when the first USB interface is connected with the second USB interface, the audio files stored in the memory are synchronously transmitted to the earphone main body, so that the earphone main body synchronizes the audio files to an external terminal device through the Bluetooth unit for displaying.
5. An audio playing system is applied to earphone equipment and is characterized in that the earphone equipment comprises a first battery module and an earphone main body; the earphone main body comprises a second battery module, an earphone assembly and a second USB interface, wherein the earphone assembly and the second USB interface are electrically connected with the second battery module; the audio playback system is located within the processor and includes:
the file management unit is used for managing the audio files stored in the memory according to the audio file management instruction if the audio file management instruction input by a user is received when the first USB interface is connected with the external terminal equipment;
and the local audio playing unit is used for entering a local audio playing mode if a local audio playing instruction input by a user is received when the first USB interface is connected with the second USB interface, reading an audio file stored in the memory according to the local audio playing instruction, decoding the audio file and outputting the decoded audio file to the earphone main body for playing.
6. The headset apparatus of claim 5, wherein the first battery module further comprises an audio capture device electrically connected to the processor, the audio playback system further comprising:
the recording coding unit enters a recording mode if receiving a recording instruction input by a user, controls the audio acquisition device to acquire recording information, codes the recording information, and generates a recording file to be stored in the memory;
and the recording decoding unit is used for entering a recording playing mode if the first USB interface is connected with the second USB interface when a recording playing instruction input by a user is received, reading the recording file stored in the memory, decoding the recording file and outputting the decoded recording file to the earphone main body for playing.
7. The headset apparatus of claim 5, wherein the first battery module further comprises a fm antenna electrically connected to the processor, the audio playback system further comprising:
and the FM radio audio decoding unit is used for entering a FM radio mode if receiving a FM broadcast playing instruction input by a user when the first USB interface is connected with the second USB interface, acquiring the FM radio audio received by the FM antenna, decoding the FM radio audio and then sending the decoded FM radio audio to the earphone main body for playing.
8. The headset apparatus of claim 5, wherein the headset body further comprises a bluetooth unit electrically connected to the second battery module, the audio playing system further comprising:
and the audio file synchronization unit is used for synchronously transmitting the audio files stored in the memory to the earphone main body when the first USB interface is connected with the second USB interface, so that the earphone main body synchronizes the audio files to an external terminal device through the Bluetooth unit for displaying.
9. An earphone device is characterized by comprising a first battery module and an earphone main body; the earphone main body comprises a second battery module, an earphone assembly and a second USB interface, wherein the earphone assembly and the second USB interface are electrically connected with the second battery module;
the headphone apparatus further comprises a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the audio playback method as claimed in any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the audio playback method according to one of claims 1 to 4.
CN201911260437.8A 2019-12-10 2019-12-10 Audio playing method, system, earphone device and computer readable storage medium Pending CN111065012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911260437.8A CN111065012A (en) 2019-12-10 2019-12-10 Audio playing method, system, earphone device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911260437.8A CN111065012A (en) 2019-12-10 2019-12-10 Audio playing method, system, earphone device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111065012A true CN111065012A (en) 2020-04-24

Family

ID=70300330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911260437.8A Pending CN111065012A (en) 2019-12-10 2019-12-10 Audio playing method, system, earphone device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111065012A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112153519A (en) * 2020-10-23 2020-12-29 安声(重庆)电子科技有限公司 Bluetooth earphone
CN112291661A (en) * 2020-10-23 2021-01-29 安声(重庆)电子科技有限公司 Bluetooth earphone
WO2022227252A1 (en) * 2021-04-26 2022-11-03 深圳市万普拉斯科技有限公司 Wearable device control method and apparatus, wearable device, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009019517A2 (en) * 2007-08-06 2009-02-12 Bays.I.C.S Gmbh Audio headset and audio player
CN105491473A (en) * 2016-02-02 2016-04-13 深圳威武智能科技有限公司 Bluetooth earphone with continuous power supply
CN208299976U (en) * 2018-05-04 2018-12-28 深圳市博贝特科技发展有限公司 A kind of Bluetooth earphone device of band storage transmission
CN208434086U (en) * 2018-06-22 2019-01-25 福建太尔集团股份有限公司 Smart motion earphone
CN109756811A (en) * 2019-01-31 2019-05-14 华为技术有限公司 Wired control box and wireless headset for wireless headset
CN109819366A (en) * 2019-01-31 2019-05-28 华为技术有限公司 Wired control box and wireless headset for wireless headset

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009019517A2 (en) * 2007-08-06 2009-02-12 Bays.I.C.S Gmbh Audio headset and audio player
CN105491473A (en) * 2016-02-02 2016-04-13 深圳威武智能科技有限公司 Bluetooth earphone with continuous power supply
CN208299976U (en) * 2018-05-04 2018-12-28 深圳市博贝特科技发展有限公司 A kind of Bluetooth earphone device of band storage transmission
CN208434086U (en) * 2018-06-22 2019-01-25 福建太尔集团股份有限公司 Smart motion earphone
CN109756811A (en) * 2019-01-31 2019-05-14 华为技术有限公司 Wired control box and wireless headset for wireless headset
CN109819366A (en) * 2019-01-31 2019-05-28 华为技术有限公司 Wired control box and wireless headset for wireless headset

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112153519A (en) * 2020-10-23 2020-12-29 安声(重庆)电子科技有限公司 Bluetooth earphone
CN112291661A (en) * 2020-10-23 2021-01-29 安声(重庆)电子科技有限公司 Bluetooth earphone
WO2022227252A1 (en) * 2021-04-26 2022-11-03 深圳市万普拉斯科技有限公司 Wearable device control method and apparatus, wearable device, and electronic device

Similar Documents

Publication Publication Date Title
CN111065012A (en) Audio playing method, system, earphone device and computer readable storage medium
CN110390925B (en) Method for synchronizing voice and accompaniment, terminal, Bluetooth device and storage medium
US10019222B2 (en) Method for obtaining music data, earphone and music player
CN103475987A (en) Wireless audio system and method of wireless audio system
EP2151992A2 (en) Video transmission apparatus, video transmission system, and reproduction control method by video transmission apparatus
CN111629366A (en) Interaction method and device between Bluetooth devices, storage medium and electronic device
CN111436046A (en) Bluetooth-based audio data providing method and device, charging equipment and system
CN105407225A (en) Data transmission method and Bluetooth equipment
CN107209378B (en) Head-mounted display device and head-mounted display system
CN110428798B (en) Method for synchronizing voice and accompaniment, Bluetooth device, terminal and storage medium
CN110868621B (en) Audio playing method, device, equipment and computer readable medium
CN103067587A (en) Device, mobile phone and method based on audio interface and used for bidirectional data transmission
CN110888619A (en) Digital audio power amplifier synchronization circuit and method and electronic equipment
CN114257905B (en) Audio processing method, computer-readable storage medium, and electronic device
US20070287486A1 (en) Content reproduction system, content reproduction apparatus and content reproduction method
CN113411703B (en) Audio playing method, earphone box, wireless earphone and earphone suite
US20110157308A1 (en) Three-dimensional image reproducing apparatus
JP2007095163A (en) Multimedia encoded data separating and transmitting apparatus
CN214413006U (en) True wireless stereo earphone
US20220303731A1 (en) Digital radio system based on mobile terminal
KR101946471B1 (en) Apparatus and method for synchronizing video and audio
CN112786070B (en) Audio data processing method and device, storage medium and electronic equipment
CN101981926A (en) Digital broadcasting transmitter, digital broadcasting receiver, and methods thereof
JP2008017326A (en) Radio communication device for mobile equipment, mobile equipment, and display method for mobile equipment control information of fm multiplex broadcast receiving device
CN108564936A (en) Audio frequency apparatus, audio-frequency processing method and audio frequency processing system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200424