Audio playing method, device, equipment, system, storage medium and chip
By establishing a WiFi connection between the audio output device and the audio playback device, and obtaining and outputting audio information of the specified audio track, the limitations of audio transmission distance and multi-person listening function in the prior art are solved, and audio information allocation and playback between multiple audio output devices are realized.
Patent Information
- Application Number
- CN202311228482.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-21
- Publication Date
- 2025-03-21
AI Technical Summary
In the prior art, the audio output by the audio playback device is difficult to transmit at a longer distance, and when multiple Bluetooth headphones are connected to the same audio playback device, the same audio information is listened to, limiting the function of multiple people listening at the same time.
By establishing a WiFi connection with the audio playback device, obtaining and outputting the audio information of the specified audio track sent by the audio playback device, and the audio information allocation and playback between different audio output devices are realized.
When the audio output device establishes a WiFi connection with the audio playback device, different audio information in the same audio playback device is realized through different audio output devices, solving the function limitation of multiple people listening at the same time.
Smart Images

Figure CN119676652A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to an audio playback method, device, equipment, system, storage medium and chip. Background Art
[0002] In the related art, the audio output by the audio playback device can usually be played through a speaker or a headset. For example, when a speaker is used to play audio, multiple people can listen to it, but due to the influence of environmental factors, the listening effect may be poor and easily affect others. When using headphones to play audio, wired headphones, Bluetooth headphones, etc. can be used. Among them, due to the length of wired headphones and the limitation of Bluetooth transmission distance, the audio output by the audio playback device cannot be transmitted over a long distance, and when using wired headphones or Bluetooth headphones for playback, only wired headphones or Bluetooth headphones can be connected to the audio playback device, thereby limiting the number of listeners; Bluetooth headphones have a longer transmission distance, and multiple Bluetooth headphones can be connected to the audio playback device, so that multiple people can listen to the audio played by the audio playback device; but when multiple Bluetooth headphones are connected to the same audio playback device, they listen to the same audio information. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides an audio playback method, device, equipment, system, storage medium and chip.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an audio playback method, which is applied to an audio output device, comprising:
[0005] Establish a WiFi connection with the audio playback device;
[0006] Acquire, through the WiFi connection, audio information of a first audio track sent by an audio playback device, where the first audio track is an audio track requested by the audio output device among multiple audio tracks supported by the audio playback device;
[0007] The audio information of the first audio track is output.
[0008] Optionally, obtaining audio information of a first audio track sent by an audio playback device through the WiFi connection includes:
[0009] In response to the audio track selection instruction, sending an audio track selection request to the audio playback device, wherein the audio track selection request is used to request the playback device to select the first audio track;
[0010] The audio information of the first audio track sent by the audio playback device is received through the WiFi connection.
[0011] Optionally, the method further comprises:
[0012] When the designated key is triggered, the audio track selection instruction is obtained according to the triggering action of the designated key.
[0013] Optionally, the audio output device is a headset, and when the designated key is triggered, obtaining the audio track selection instruction according to the triggering action of the designated key includes:
[0014] When a designated button on the headset is triggered, obtaining the audio track selection instruction according to the triggering action of the designated button;
[0015] or,
[0016] Receive the track selection instruction sent by the headphone box of the headphone; the track selection instruction sent by the headphone box is an instruction obtained according to the triggering action of the designated button when the designated button on the headphone box is triggered.
[0017] Optionally, obtaining the audio information of the first audio track sent by the audio playback device through the WiFi connection includes:
[0018] Acquiring user language through the microphone of the audio output device;
[0019] Identifying language information corresponding to the user's voice;
[0020] Sending the language information to the audio playback device, wherein the language information is used to instruct the audio playback device to determine the first audio track corresponding to the language information;
[0021] The audio information of the first audio track sent by the audio playback device is received through the WiFi connection.
[0022] Optionally, obtaining the audio information of the first audio track sent by the audio playback device through the WiFi connection includes:
[0023] Collecting user voice through the microphone of the audio output device;
[0024] Sending the user voice to the audio playback device, wherein the user voice is used by the audio playback device to identify language information corresponding to the user voice and determine the first audio track corresponding to the language information;
[0025] The audio information of the first audio track sent by the audio playback device is received through the WiFi connection.
[0026] According to a second aspect of an embodiment of the present disclosure, there is provided an audio playback method, which is applied to an audio playback device, comprising:
[0027] Establishing a WiFi connection with at least one audio output device;
[0028] According to the audio track specified by each of the audio output devices, audio information of the specified audio track is sent to each of the audio output devices through the WiFi connection; wherein the audio track specified by each of the audio output devices is the same audio track or different audio tracks among the multiple audio tracks supported by the playback device.
[0029] Optionally, sending audio information of the specified audio track to each of the audio output devices through the WiFi connection according to the audio track specified by each of the audio output devices includes:
[0030] Receiving an audio track selection request sent by a first audio output device, where the first audio output device is any audio output device among the at least one audio output device;
[0031] Obtaining a first audio track corresponding to the audio track selection request;
[0032] The audio information of the first audio track is sent to the first audio output device.
[0033] Optionally, sending the audio information of the specified audio track to each of the audio output devices through the WiFi connection according to the audio track specified by each of the audio output devices includes:
[0034] Receiving language information sent by a first audio output device; the first audio output device is any audio output device among the at least one audio output device;
[0035] Acquire a first audio track corresponding to the language information;
[0036] The audio information of the first audio track is sent to the first audio output device through the WiFi connection.
[0037] Optionally, sending the audio information of the specified audio track to each of the audio output devices through the WiFi connection according to the audio track specified by each of the audio output devices includes:
[0038] Receiving a user voice sent by a first audio output device; the first audio output device is any audio output device among the at least one audio output device;
[0039] Identifying language information corresponding to the user's voice;
[0040] Acquire a first audio track corresponding to the language information;
[0041] The audio information of the first audio track is sent to the first audio output device through the WiFi connection.
[0042] Optionally, the method further comprises:
[0043] After sending the audio information of the first audio track to the first audio output device, saving the corresponding relationship between the first audio output device and the first audio track; the first audio output device is any audio output device among the at least one audio output device;
[0044] After the first audio output device re-establishes a WiFi connection with the audio playback device, the audio information of the first audio track is sent to the first audio output device according to the corresponding relationship.
[0045] According to a third aspect of an embodiment of the present disclosure, there is provided an audio playback device, including:
[0046] A connection module is configured to establish a WiFi connection with an audio playback device;
[0047] an acquisition module, configured to acquire audio information of a first audio track sent by an audio playback device through the WiFi connection, where the first audio track is an audio track requested by the audio output device among multiple audio tracks supported by the audio playback device;
[0048] The output module is configured to output the audio information of the first audio track.
[0049] According to a fourth aspect of an embodiment of the present disclosure, there is provided an audio output device, including:
[0050] a connection module, configured to establish a WiFi connection with at least one audio output device;
[0051] The sending module is configured to send audio information of the specified audio track to each of the audio output devices through the WiFi connection according to the audio track specified by each of the audio output devices; wherein the audio track specified by each of the audio output devices is the same audio track or different audio tracks among the multiple audio tracks supported by the audio playback device.
[0052] According to a fifth aspect of an embodiment of the present disclosure, there is provided an audio output, including:
[0053] processor;
[0054] a memory for storing processor-executable instructions;
[0055] The processor is configured to: execute the executable instructions to implement the steps of the audio playback method provided in the first aspect of the present disclosure.
[0056] According to a sixth aspect of an embodiment of the present disclosure, there is provided an audio playback device, including:
[0057] processor;
[0058] a memory for storing processor-executable instructions;
[0059] Among them, the processor is configured to: execute the executable instructions to implement the steps of the audio playback method provided in the second aspect of the present disclosure.
[0060] According to a seventh aspect of an embodiment of the present disclosure, there is provided an audio playback system, comprising: the audio output device described in the fifth aspect of the present disclosure and the audio playback device described in the sixth aspect of the present disclosure.
[0061] According to an eighth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the audio playback method provided in the first aspect of the present disclosure are implemented; or when the program instructions are executed by a processor, the steps of the audio playback method provided in the second aspect of the present disclosure are implemented.
[0062] According to the ninth aspect of an embodiment of the present disclosure, a chip is provided, comprising a processor and an interface; the processor is used to read instructions to execute the steps of the audio playback method described in any one of the first aspects above; or the processor is used to read instructions to execute the steps of the audio playback method described in any one of the second aspects above.
[0063] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0064] In the above technical solution, the audio output device establishes a WiFi connection with the audio playback device; obtains audio information of a first audio track sent by the audio playback device through the WiFi connection, and the first audio track is an audio track requested by the audio output device among multiple audio tracks supported by the audio playback device; and outputs the audio information of the first audio track. Through the above technical solution, when the audio output device establishes a WiFi connection with the audio playback device, the audio track requested by the audio output device is sent to the audio output device by the audio playback device, so that different audio information in the same audio playback device can be played through different audio output devices.
[0065] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0067] Figure 1The figure is a flowchart of an audio playing method according to an exemplary embodiment.
[0068] Figure 2 The figure is a flowchart of an audio playing method according to an exemplary embodiment.
[0069] Figure 3 The figure is a flowchart of an audio playing method according to an exemplary embodiment.
[0070] Figure 4 The figure is a flowchart of an audio playing method according to an exemplary embodiment.
[0071] Figure 5 The figure is a flowchart of an audio playing method according to an exemplary embodiment.
[0072] Figure 6 The figure is a flowchart of an audio playing method according to an exemplary embodiment.
[0073] Figure 7 The figure is a flowchart of an audio playing method according to an exemplary embodiment.
[0074] Figure 8 The figure is a flowchart of an audio playing method according to an exemplary embodiment.
[0075] Fig. 9 The figure is a flowchart of an audio playing method according to an exemplary embodiment.
[0076] Fig.10 The figure is a flowchart of an audio playing method according to an exemplary embodiment.
[0077] Fig.11 The figure is a flowchart of an audio playing method according to an exemplary embodiment.
[0078] Fig.12 is a block diagram of an audio playing device 1200 according to an exemplary embodiment.
[0079] Fig.13 is a block diagram of an audio playing device 1300 according to an exemplary embodiment.
[0080] Fig.14 is a block diagram of an audio playing device 1400 according to an exemplary embodiment. DETAILED DESCRIPTION
[0081] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0082] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.
[0083] Figure 1 is a flowchart of an audio playing method according to an exemplary embodiment. Figure 1 As shown, the method is applied to an audio output device and comprises the following steps:
[0084] In step S11, a WiFi connection is established with the audio playback device.
[0085] Optionally, in the embodiments described in the present disclosure, the audio output device may be a device such as a sound box or a loudspeaker that can be used to output audio, and the audio output device has a WiFi module, which can be connected to a DAC (Digital-to-Analog Converter) decoder; wherein the WiFi module can be used for WiFi connection, and can also be used to receive audio information sent by an audio playback device connected to the same WiFi; the DAC decoder can convert digital audio signals into analog audio signals so that they can be played by audio devices such as headphones, speakers, etc.
[0086] In step S12, audio information of a first audio track sent by the audio playback device is obtained through the WiFi connection, where the first audio track is an audio track requested by the audio output device among multiple audio tracks supported by the audio playback device.
[0087] Optionally, in the embodiments described in the present disclosure, the audio playback device can be a mobile phone, a computer, a tablet device, etc., and the audio information generally refers to an independent sound record in an audio or video file. The main function of the audio track is to store and play sound or music; when the audio playback device plays audio, the audio may include multiple audio tracks; for example, for a movie played in a terminal device, there may be multiple different language versions, and the multiple different language versions can be regarded as different audio tracks, containing different audio information; or, when two different applications in the terminal device play different audio at the same time, the different audio played by the two applications can be regarded as different audio tracks, containing different audio information; or, a song is usually composed of multiple audio tracks. Generally speaking, a song may contain the following main audio tracks: main audio track, accompaniment audio track, harmony audio track, sound effect audio track, etc. These sound effects can enhance the atmosphere and expressiveness of the song, and when editing or repairing music, one or more audio tracks may need to be extracted, so the different audio tracks can be regarded as one audio track respectively, or the fusion audio track composed of the multiple audio tracks can also be regarded as one audio track.
[0088] In step S13, the audio information of the first audio track is output.
[0089] In the above technical solution, the audio output device establishes a WiFi connection with the audio playback device; obtains audio information of a first audio track sent by the audio playback device through the WiFi connection, and the first audio track is an audio track requested by the audio output device among multiple audio tracks supported by the audio playback device; and outputs the audio information of the first audio track. Through the above technical solution, when the audio output device establishes a WiFi connection with the audio playback device, the audio track requested by the audio output device is sent to the audio output device by the audio playback device, so that different audio information in the same audio playback device can be played through different audio output devices.
[0090] Figure 2 is a flowchart of an audio playing method according to an exemplary embodiment. Figure 2 As shown, step S12 includes the following steps:
[0091] In step S121, in response to the audio track selection instruction, a track selection request is sent to the audio playback device, where the track selection request is used to request the playback device to select the first audio track.
[0092] In step S122, audio information of the first audio track sent by the audio playback device is received through the WiFi connection.
[0093] Exemplarily, when the audio playback device has multiple audio tracks, the audio output device can send an audio track selection instruction to the audio playback device. After receiving the audio track selection instruction, the audio playback device can send audio information corresponding to the instruction to the audio output device according to the audio track selection instruction.
[0094] For example, the audio playback device is a mobile phone, and the audio output device is a WiFi headset (i.e., a wireless headset that can be connected to WiFi in the above embodiment). When the mobile phone and the WiFi headset are connected to the same WiFi, a video played by an application software in the mobile phone has two audio tracks, Chinese and English. When the audio track listened to by the WiFi headset is the Chinese audio track, the user can send an audio track selection instruction to the mobile phone through the WiFi headset to switch the Chinese audio track to the English audio track.
[0095] Figure 3 is a flowchart of an audio playing method according to an exemplary embodiment. Figure 3 As shown, the method further comprises the following steps:
[0096] In step S14, when the designated key is triggered, the audio track selection instruction is obtained according to the triggering action of the designated key.
[0097] For example, when a designated button on an audio output device is triggered, the audio output device can obtain a track selection instruction according to the triggered action; wherein the designated button can be one or more buttons on the audio output device, can be a button on a touch screen on the audio output device, or can be a button on a control device associated with the audio output device. It is understood that the present disclosure does not limit the size, installation position, and style of the designated button.
[0098] For example, when the audio output device is a speaker, the designated button may be a button on the speaker, or a button on a remote control associated with the speaker. When the button on the speaker or the button on the remote control is triggered, the speaker may obtain an audio track selection instruction.
[0099] Figure 4 is a flowchart of an audio playing method according to an exemplary embodiment. Figure 4 As shown, when the audio output device is a headset, step S14 includes the following steps:
[0100] In step S141, when a designated button on the headset is triggered, the audio track selection instruction is obtained according to the triggering action of the designated button.
[0101] Exemplarily, the audio output device may be an earphone, an earphone, a neck-hook earphone, a headset or a bone conduction earphone, etc. When the audio output device is the above earphone, the designated button may be set on the earphone. For example, the designated button may be a physical button set on the earphone. When the user presses the physical button, the audio track selection instruction may be obtained; or, the designated button may be one or more buttons in the display screen of the earphone. When the user clicks different buttons, different audio track switching instructions may be obtained; or, the designated button may be a designated area in the earphone. When the user performs a designated action in the designated area, the earphone may obtain the audio track selection instruction corresponding to the designated action. The present disclosure does not limit the designated action, and the designated area may be set by the manufacturer according to the user's habits. In summary, the present disclosure does not limit the size, installation position and style of the designated button.
[0102] For example, when the headset is a head-mounted headset, the designated button is a button on the headset. When the button is pressed once, it can represent the selection instruction of the next track of the current track. When the button is pressed twice in succession, it can represent the selection instruction of the previous track of the current track. It can be understood that the present disclosure does not limit the triggering action of the headset to obtain the track selection instruction through the triggering action of the designated button. For example, the triggering action can be a single click, double click, long press, etc. of the designated button. For example, when the headset is a head-mounted headset, the designated button is a designated area on the headset. When the user is in the designated area, when the user swipes up on the designated area, the headset can obtain the selection instruction of the next track of the current track. When the user swipes down on the designated area, the headset can obtain the selection instruction of the next track of the current track. It can be understood that the present disclosure does not limit the triggering action of the headset to obtain the track selection instruction through the triggering action of the designated area. For example, the triggering action can be left swipe, right swipe, single click, multiple clicks, multi-finger swipe, etc.
[0103] In step S142, the audio track selection instruction sent by the earphone box of the earphone is received; the audio track selection instruction sent by the earphone box is an instruction obtained according to the triggering action of the designated button when the designated button on the earphone box is triggered.
[0104] Exemplarily, the audio output device may be a wireless headset with an earphone box, and the designated button may be a physical button, which may be set on the earphone box; or, the designated button may also be one or more buttons in a display screen on the earphone box; when the designated button is a button on the earphone box, when the button is pressed once, the earphone box can obtain a selection instruction for the next audio track of the current audio track and send the instruction to the earphone; when the button is pressed twice in succession, the earphone box can obtain a selection instruction for the previous audio track of the current audio track and send the instruction to the earphone. When the designated button is set in the display screen on the earphone box, each track information in the audio playback device can be regarded as a designated button. When the user selects a designated button of a certain track information, the earphone box can obtain the track selection instruction corresponding to the track and send the instruction to the earphone; when two designated buttons for the next track and the previous track are respectively set on the display screen, when the user presses the next track button, the earphone box can obtain the selection instruction of the next track of the current track and send the instruction to the earphone; when the user presses the previous track button, the earphone box can obtain the selection instruction of the previous track of the current track and send the instruction to the earphone. In summary, when the earphone receives the track selection instruction, the track selection instruction can be sent to the audio playback device. In addition, the designated button can also be set on the earphone. When the designated button is set on the earphone, the form, size, and position of the designated button can refer to the embodiment described in the above step S141.
[0105] Figure 5 is a flowchart of an audio playing method according to an exemplary embodiment. Figure 5 As shown, step S12 includes the following steps:
[0106] In step S123, the user language is acquired through the microphone of the audio output device.
[0107] For example, the audio output device can usually have a built-in microphone, which is mainly used to receive sound and make calls. It allows users to make voice communications through headphones, such as phone calls, voice chats, or voice commands. The microphone can capture the user's voice and convert it into an electrical signal, which is then transmitted to the audio source device through the wireless or wired connection of the headset.
[0108] In step S124, the language information corresponding to the user's voice is identified.
[0109] Exemplarily, when the audio output device can obtain language information of the user when speaking through the microphone and recognize the language information, for example, when the user of the audio output device is a Chinese user, when the user speaks, the user's speech sound is obtained through the microphone of the audio output device, and the audio output device can recognize that the user's language is Chinese; when the user of the audio output device is an English user, when the user speaks, the user's speech sound is obtained through the microphone of the audio output device, and the audio output device can recognize that the user's language is English.
[0110] In step S125, the language information is sent to the audio playback device, and the language information is used to instruct the audio playback device to determine the first audio track corresponding to the language information.
[0111] Exemplarily, when the audio output device recognizes the language information of the user, the audio output device may send the language information to the audio receiving and playing device.
[0112] In step S126, audio information of the first audio track sent by the audio playback device is received through the WiFi connection.
[0113] Exemplarily, when the audio device receives the above language information, it can send the audio track corresponding to the language information to the audio output device.
[0114] For example, a video is played through an application software in an audio playback device, and the video has three language versions (i.e., three audio tracks) in Chinese, English, and Japanese. There are three audio output devices connected to the same WiFi as the audio playback device and watching the video at the same time. At this time, the first audio output device collects the language information of the first user as English, and the first audio output device sends the English language information to the audio playback device. After the audio playback device receives the English language information, it can send the English audio track to the first audio output device; the second audio output device collects the language information of the second user as Chinese, and the second audio output device sends the Chinese language information to the audio playback device. After the audio playback device receives the Chinese language information, it can send the Chinese audio track to the second audio output device; the third audio output device collects the language information of the third user as Chinese, and the third audio output device sends the Chinese language information to the audio playback device. After the audio playback device receives the Chinese language information, it can send the Chinese audio track to the third audio output device. In summary, multiple audio output devices can listen to the same audio track of an audio playback device.
[0115] Figure 6 is a flowchart of an audio playing method according to an exemplary embodiment. Figure 6As shown, step S12 includes the following steps:
[0116] In step S127, the user's voice is collected through the microphone of the audio output device.
[0117] In step S128, the user voice is sent to the audio playback device, and the user voice is used by the audio playback device to identify the language information corresponding to the user voice and determine the first audio track corresponding to the language information.
[0118] In step S129, audio information of the first audio track sent by the audio playback device is received through the WiFi connection.
[0119] Exemplarily, the user's voice can be collected through the microphone of the audio output device and sent to the audio playback device. After receiving the user's voice, the audio playback device can recognize the language information corresponding to the user's voice and send the audio track corresponding to the language information to the audio output device. The audio output device can receive the audio track and listen to it.
[0120] For example, a video is played through an application software in an audio playback device, and the video has two language versions, Chinese and English (i.e., two audio tracks). There are three audio output devices connected to the same WiFi as the audio playback device and watching the video at the same time. At this time, the first audio output device collects the first user voice of the first user and sends the first user voice to the audio playback device. After receiving the first user voice, the audio playback device recognizes that the first user voice is Chinese, and then the Chinese audio track can be sent to the first audio output device; the second audio output device collects the second user voice of the second user and sends the Chinese audio track to the first audio output device. The second user voice is sent to the audio playback device. After receiving the second user voice, the audio playback device recognizes that the second user voice is in Chinese, and the Chinese audio track can be sent to the second audio output device; the third audio output device collects the third user voice of the third user and sends the third user voice to the audio playback device. After receiving the third user voice, the audio playback device recognizes that the third user voice is in English, and the English audio track can be sent to the third audio output device; it can be immediately noted that the user voice is a segment of the sound when the user speaks, and the present disclosure does not impose any restriction on the length of the user voice.
[0121] In the above technical solution, the audio output device establishes a WiFi connection with the audio playback device; obtains audio information of a first audio track sent by the audio playback device through the WiFi connection, and the first audio track is an audio track requested by the audio output device among multiple audio tracks supported by the audio playback device; and outputs the audio information of the first audio track. Through the above technical solution, when the audio output device establishes a WiFi connection with the audio playback device, the audio track requested by the audio output device is sent to the audio output device by the audio playback device, so that different audio information in the same audio playback device can be played through different audio output devices.
[0122] Figure 7 is a flowchart of an audio playing method according to an exemplary embodiment. Figure 7 As shown, the method is applied to an audio playback device and comprises the following steps:
[0123] In step S21, a WiFi connection is established with at least one audio output device.
[0124] In step S22, according to the audio track specified by each audio output device, audio information of the specified audio track is sent to each audio output device through the WiFi connection; wherein the audio track specified by each audio output device is the same audio track or different audio tracks among the multiple audio tracks supported by the audio playback device.
[0125] Exemplarily, the audio playback device can be connected to the multiple audio output devices in the above embodiments of the present disclosure via WiFi, and can send different audio tracks to the multiple audio output devices respectively through the broadcast distribution capability of WiFi, so that multiple users can use the multiple audio output devices to listen to the audio tracks in the audio playback device respectively; wherein different audio output devices can listen to the same audio track in the audio playback device, or can listen to different audio tracks in the audio playback device,
[0126] Figure 8 is a flowchart of an audio playing method according to an exemplary embodiment. Figure 8 As shown, step S22 includes the following steps:
[0127] In step S2201, a track selection request sent by a first audio output device is received, where the first audio output device is any audio output device among the at least one audio output device.
[0128] In step S2202, the first audio track corresponding to the audio track selection request is obtained.
[0129] In step S2203, the audio information of the first audio track is sent to the first audio output device.
[0130] Exemplarily, the audio playback device can obtain the audio track selection request sent by different audio output devices, and can send the audio track corresponding to the audio track selection request to the audio output device that sent the audio track selection request according to the audio track selection request, so that the audio output device that sent the audio track selection request listens to the audio track. The above specific process has been described in the previous embodiment and will not be repeated here.
[0131] Fig. 9 is a flowchart of an audio playing method according to an exemplary embodiment. Fig. 9 As shown, step S22 includes the following steps:
[0132] In step S2204, language information sent by a first audio output device is received; the first audio output device is any audio output device among the at least one audio output device.
[0133] In step S2205, the first audio track corresponding to the language information is obtained.
[0134] In step S2206, the audio information of the first audio track is sent to the first audio output device via the WiFi connection.
[0135] Exemplarily, the audio playback device can obtain language information sent by different audio output devices, and can send an audio track corresponding to the language information to the audio output device that sent the language information based on the language information, so that the audio output device that sent the language information listens to the audio track.
[0136] For example, when the audio playback device is used in an international conference, the audio playback device can perform real-time translation in multiple languages. Each language can be regarded as an audio track information. When the audio playback device receives French language information sent by an audio output device, the French audio track can be sent to the audio output device so that the audio output device can listen to the French audio track.
[0137] Fig.10 is a flowchart of an audio playing method according to an exemplary embodiment. Fig.10 As shown, step S22 includes the following steps:
[0138] In step S2207, a user voice sent by a first audio output device is received; the first audio output device is any audio output device among the at least one audio output device.
[0139] In step S2208, the language information corresponding to the user's voice is identified.
[0140] In step S2209, the first audio track corresponding to the language information is obtained.
[0141] In step S2210, audio information of the first audio track is sent to the first audio output device via the WiFi connection.
[0142] Exemplarily, the audio playback device can obtain the user voice sent by different audio output devices, recognize the language information of the user voice, and send the audio track corresponding to the language information to the audio output device sending the user voice according to the language information, so that the audio output device sending the user voice can listen to the audio track. In addition, in the embodiments described in the present disclosure, in addition to being able to switch the audio track through the information or instructions sent by the audio output device, the audio playback device can also switch the audio track through the audio playback device, for example, through the specified action of the specified button of the audio playback device, the audio track received by one or more audio output devices can be switched, or the audio track received by one or more audio output devices can be switched through a specified operation on the LCD screen.
[0143] For example, when an audio playback device is used in an international conference, the audio playback device can perform real-time translation in multiple languages. Each language can be regarded as an audio track information. When the audio playback device receives a user voice sent by an audio output device, and recognizes the user language and obtains the user's language information as Italian, the audio playback device can send the Italian voice track to the audio output device so that the audio output device can listen to the Italian voice track.
[0144] Fig.11 is a flowchart of an audio playing method according to an exemplary embodiment. Fig.11 As shown, the method further comprises the following steps:
[0145] In step S23, after the audio information of the first audio track is sent to the first audio output device, the corresponding relationship between the first audio output device and the first audio track is saved; the first audio output device is any audio output device among the at least one audio output device.
[0146] In step S24, after the first audio output device re-establishes a WiFi connection with the audio playback device, the audio information of the first audio track is sent to the first audio output device according to the corresponding relationship.
[0147] Exemplarily, when a certain audio output device is disconnected from the WiFi connection of the audio playback device, the audio playback device can save the correspondence between the audio output device and the received audio track. When the audio output device is connected to the audio playback device again, the audio playback device can send the audio track to the audio output device according to the correspondence. In summary, it can be understood that when the audio output device is disconnected from the audio playback device again, the audio playback device can update the correspondence between the audio output device and the audio track. Alternatively, in another possible implementation, the audio playback device may save the correspondence between the audio output device and multiple historically listened audio tracks, the number of times each audio track was listened to, and the storage time. When the audio output device re-establishes a connection with the audio playback device, the audio track corresponding to the storage time closest to the current time may be sent to the audio output device, or the audio track with the largest number of listening times may be sent to the audio output device. In summary, in the embodiments described in the present disclosure, there is no restriction on the content and storage location of the historical audio tracks listened to by the audio output device stored by the audio playback device, and there is no restriction on which audio track the audio playback device sends to the audio output device according to which rules when reconnecting.
[0148] For example, when the audio playback device is turned off, the audio track information received and played by the first audio output device connected to the audio playback device is a Chinese audio track, and the audio track information received and played by the second audio output device connected to the audio playback device is a Korean audio track, then the audio playback device can save the correspondence between the first audio output device and the Chinese audio track, and the correspondence between the second audio output device and its Korean audio track; when the audio playback device re-establishes connections with the first audio output device and the second audio output device, the Chinese audio track is sent to the first audio output device and the Korean audio track is sent to the second audio output device according to the correspondence.
[0149] Fig.12 1 is a block diagram of an audio output device 1200 according to an exemplary embodiment. Fig.12 , the device includes a connection module 1210, an acquisition module 1220 and an output module 1230;
[0150] The connection module 1210 is configured to establish a WiFi connection with the audio playback device;
[0151] The acquisition module 1220 is configured to acquire audio information of a first audio track sent by the audio playback device through the WiFi connection, where the first audio track is an audio track requested by the audio output device among multiple audio tracks supported by the audio playback device;
[0152] The output module 1230 is configured to output the audio information of the first audio track.
[0153] Optionally, the acquisition module 1220 includes: a request submodule and an acquisition submodule;
[0154] The request submodule is configured to send a track selection request to the audio playback device in response to the track selection instruction, wherein the track selection request is used to request the playback device to select the first track;
[0155] The acquisition submodule is configured to receive the audio information of the first audio track sent by the audio playback device through the WiFi connection.
[0156] Optionally, the device further includes an instruction acquisition module;
[0157] The instruction acquisition module is configured to acquire the audio track selection instruction according to the triggering action of the designated key when the designated key is triggered.
[0158] Optionally, when the audio output device is a headset, the instruction acquisition module is configured to:
[0159] When a designated button on the headset is triggered, obtaining the audio track selection instruction according to the triggering action of the designated button;
[0160] or,
[0161] The audio track selection instruction sent by the earphone box of the earphone is received; the audio track selection instruction sent by the earphone box is an instruction obtained according to the triggering action of the designated button when the designated button on the earphone box is triggered.
[0162] Optionally, the acquisition module 1220 is further configured to acquire the user language through the microphone of the audio output device;
[0163] Identify language information corresponding to the user's voice;
[0164] Sending the language information to the audio playback device, where the language information is used to instruct the audio playback device to determine the first audio track corresponding to the language information;
[0165] The audio information of the first audio track sent by the audio playback device is received through the WiFi connection.
[0166] Optionally, the acquisition module 1220 is further configured to collect user voice through the microphone of the audio output device;
[0167] The user voice is sent to the audio playback device, where the user voice is used by the audio playback device to identify language information corresponding to the user voice and determine the first audio track corresponding to the language information;
[0168] The audio information of the first audio track sent by the audio playback device is received through the WiFi connection.
[0169] Fig.13 is a block diagram of an audio playback device 1300 according to an exemplary embodiment. Fig.13 , the device includes a connecting module 1310 and a sending module 1320.
[0170] The connection module 1310 is configured to establish a WiFi connection with at least one audio output device;
[0171] The sending module 1320 sends the audio information of the specified audio track to each audio output device through the WiFi connection according to the audio track specified by each audio output device; wherein the audio track specified by each audio output device is the same audio track or different audio tracks among the multiple audio tracks supported by the audio playback device.
[0172] Optionally, the sending module 1320 includes: a receiving submodule, a switching submodule and a sending submodule;
[0173] The receiving submodule is configured to receive a track selection request sent by a first audio output device, where the first audio output device is any audio output device among the at least one audio output device;
[0174] The switching submodule is configured to obtain a first audio track corresponding to the audio track selection request;
[0175] The sending submodule is configured to send the audio information of the first audio track to the first audio output device.
[0176] Optionally, the sending module 1320 is further configured to receive language information sent by a first audio output device; the first audio output device is any audio output device among the at least one audio output device;
[0177] Obtaining a first audio track corresponding to the language information;
[0178] The audio information of the first audio track is sent to the first audio output device via the WiFi connection.
[0179] Optionally, the sending module 1320 is further configured to receive a user voice sent by a first audio output device; the first audio output device is any audio output device of the at least one audio output device;
[0180] Identify language information corresponding to the user's voice;
[0181] Obtaining a first audio track corresponding to the language information;
[0182] The audio information of the first audio track is sent to the first audio output device via the WiFi connection.
[0183] Optionally, after the audio information of the first audio track is sent to the first audio output device, the corresponding relationship between the first audio output device and the first audio track is saved; the first audio output device is any audio output device among the at least one audio output device;
[0184] After the first audio output device re-establishes a WiFi connection with the audio playback device, the audio information of the first audio track is sent to the first audio output device according to the corresponding relationship.
[0185] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0186] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the audio playback method in claims 1 to 6 provided by the present disclosure; or, when executed by a processor, implement the steps of the audio playback method in claims 7 to 11 provided by the present disclosure.
[0187] Fig.14 1 is a block diagram of an audio playback device 1400 according to an exemplary embodiment. For example, the audio playback device 1400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or other electronic device that can be used to play audio.
[0188] Reference Fig.14 The audio playback device 1400 may include one or more of the following components: a processing component 1402 , a memory 1404 , a power component 1406 , a multimedia component 1408 , an audio component 1410 , an input / output interface 1412 , a sensor component 1414 , and a communication component 1416 .
[0189] The processing component 1402 generally controls the overall operation of the audio playback device 1400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1402 may include one or more processors 1420 to execute instructions to complete all or part of the steps of the above-mentioned audio playback method. In addition, the processing component 1402 may include one or more modules to facilitate the interaction between the processing component 1402 and other components. For example, the processing component 1402 may include a multimedia module to facilitate the interaction between the multimedia component 1408 and the processing component 1402.
[0190] The memory 1404 is configured to store various types of data to support the operation of the audio playback device 1400. Examples of such data include instructions for any application or method operating on the audio playback device 1400, contact data, phone book data, messages, pictures, videos, etc. The memory 1404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0191] The power supply component 1406 provides power to the various components of the audio playback device 1400. The power supply component 1406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the audio playback device 1400.
[0192] The multimedia component 1408 includes a screen providing an output interface between the audio playback device 1400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1408 includes a front camera and / or a rear camera. When the audio playback device 1400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0193] The audio component 1410 is configured to output and / or input audio signals. For example, the audio component 1410 includes a microphone (MIC), and when the audio playback device 1400 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1404 or sent via the communication component 1416. In some embodiments, the audio component 1410 also includes a speaker for outputting audio signals.
[0194] The input / output interface 1412 provides an interface between the processing component 1402 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0195] The sensor assembly 1414 includes one or more sensors for providing various aspects of status assessment for the audio playback device 1400. For example, the sensor assembly 1414 can detect the on / off state of the audio playback device 1400, the relative positioning of the components, such as the display and keypad of the audio playback device 1400, and the sensor assembly 1414 can also detect the position change of the audio playback device 1400 or a component of the audio playback device 1400, the presence or absence of contact between the user and the audio playback device 1400, the orientation or acceleration / deceleration of the audio playback device 1400, and the temperature change of the audio playback device 1400. The sensor assembly 1414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0196] The communication component 1416 is configured to facilitate wired or wireless communication between the audio playback device 1400 and other devices. The audio playback device 1400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0197] In an exemplary embodiment, the audio playback device 1400 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned audio playback method.
[0198] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1404 including instructions, and the instructions can be executed by the processor 1420 of the audio playback device 1400 to complete the above audio playback method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0199] In addition to being an independent electronic device, the audio playback device 1400 can also be a part of an independent electronic device. For example, in one embodiment, the audio playback device 1400 can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned audio playback method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned audio playback method is implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned audio playback method.
[0200] In another exemplary embodiment, an audio output device is also provided. The audio output device can be a speaker, a loudspeaker or an earphone (a headphone, an earphone box earphone, etc.). The audio output device has a WiFi module, so that the audio output device can be connected to WiFi, and the WiFi module can be connected to a DAC decoder. When the audio output device and the audio playback device described in the above embodiment are connected to the same WiFi network, the audio output device can receive audio information played by the audio playback device. In addition, when the audio playback device plays multiple audio information or multiple audio track information, the audio output device can also send an audio information or film and television information selection instruction to the audio playback device, so that the audio playback device sends the audio information or audio track information corresponding to the instruction to the audio output device.
[0201] In another exemplary embodiment, an audio output system is further provided, the system comprising: the audio output device and the audio playback device described in the above embodiment.
[0202] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above audio playback method when executed by the programmable device.
[0203] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0204] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An audio playback method, characterized in that: Applied to an audio output device, the method comprises: Establish a WiFi connection with the audio playback device; Acquire, through the WiFi connection, audio information of a first audio track sent by an audio playback device, where the first audio track is an audio track requested by the audio output device among multiple audio tracks supported by the audio playback device; The audio information of the first audio track is output.
2. The method according to claim 1, characterized in that Acquiring audio information of a first audio track sent by an audio playback device through the WiFi connection includes: In response to the audio track selection instruction, sending an audio track selection request to the audio playback device, wherein the audio track selection request is used to request the playback device to select the first audio track; The audio information of the first audio track sent by the audio playback device is received through the WiFi connection.
3. The method according to claim 2, characterized in that The method further comprises: When the designated key is triggered, the audio track selection instruction is obtained according to the triggering action of the designated key.
4. The method according to claim 3, characterized in that The audio output device is a headset, and when the designated key is triggered, obtaining the audio track selection instruction according to the triggering action of the designated key includes: When a designated button on the headset is triggered, obtaining the audio track selection instruction according to the triggering action of the designated button; or, Receive the track selection instruction sent by the headphone box of the headphone; the track selection instruction sent by the headphone box is an instruction obtained according to the triggering action of the designated button when the designated button on the headphone box is triggered.
5. The method according to claim 1, characterized in that The obtaining, through the WiFi connection, audio information of the first audio track sent by the audio playback device includes: Acquiring user language through the microphone of the audio output device; Identifying language information corresponding to the user's voice; Sending the language information to the audio playback device, wherein the language information is used to instruct the audio playback device to determine the first audio track corresponding to the language information; The audio information of the first audio track sent by the audio playback device is received through the WiFi connection.
6. The method according to claim 1, characterized in that The obtaining, through the WiFi connection, audio information of the first audio track sent by the audio playback device includes: Collecting user voice through the microphone of the audio output device; Sending the user voice to the audio playback device, wherein the user voice is used by the audio playback device to identify language information corresponding to the user voice and determine the first audio track corresponding to the language information; The audio information of the first audio track sent by the audio playback device is received through the WiFi connection.
7. An audio playing method, characterized in that: Applied to an audio playback device, the method comprises: Establishing a WiFi connection with at least one audio output device; According to the audio track specified by each of the audio output devices, audio information of the specified audio track is sent to each of the audio output devices through the WiFi connection; wherein the audio track specified by each of the audio output devices is the same audio track or different audio tracks among the multiple audio tracks supported by the playback device.
8. The method according to claim 7, characterized in that The sending the audio information of the specified audio track to each of the audio output devices through the WiFi connection according to the audio track specified by each of the audio output devices, comprises: Receiving an audio track selection request sent by a first audio output device, where the first audio output device is any audio output device among the at least one audio output device; Obtaining a first audio track corresponding to the audio track selection request; The audio information of the first audio track is sent to the first audio output device.
9. The method according to claim 7, characterized in that: The sending the audio information of the specified audio track to each of the audio output devices through the WiFi connection according to the audio track specified by each of the audio output devices, comprises: Receiving language information sent by a first audio output device; the first audio output device is any audio output device among the at least one audio output device; Acquire a first audio track corresponding to the language information; The audio information of the first audio track is sent to the first audio output device through the WiFi connection.
10. The method according to claim 7, characterized in that The sending the audio information of the specified audio track to each of the audio output devices through the WiFi connection according to the audio track specified by each of the audio output devices, comprises: Receiving a user voice sent by a first audio output device; the first audio output device is any audio output device among the at least one audio output device; Identifying language information corresponding to the user's voice; Acquire a first audio track corresponding to the language information; The audio information of the first audio track is sent to the first audio output device through the WiFi connection.
11. The method according to any one of claims 7 to 10, characterized in that: The method further comprises: After sending the audio information of the first audio track to the first audio output device, saving the corresponding relationship between the first audio output device and the first audio track; the first audio output device is any audio output device among the at least one audio output device; After the first audio output device re-establishes a WiFi connection with the audio playback device, the audio information of the first audio track is sent to the first audio output device according to the corresponding relationship.
12. An audio output device, characterized in that: include: A connection module is configured to establish a WiFi connection with an audio playback device; an acquisition module, configured to acquire audio information of a first audio track sent by an audio playback device through the WiFi connection, where the first audio track is an audio track requested by the audio output device among multiple audio tracks supported by the audio playback device; The output module is configured to output the audio information of the first audio track.
13. An audio playback device, characterized in that: include: a connection module, configured to establish a WiFi connection with at least one audio output device; The sending module is configured to send audio information of the specified audio track to each of the audio output devices through the WiFi connection according to the audio track specified by each of the audio output devices; wherein the audio track specified by each of the audio output devices is the same audio track or different audio tracks among the multiple audio tracks supported by the audio playback device.
14. An audio output device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to: execute the executable instructions to implement the steps of the method in any one of claims 1 to 6.
15. An audio playback device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to: execute the executable instructions to implement the steps of the method in any one of claims 7 to 11.
16. An audio playback system, characterized in that: include: The audio output device of claim 14 and the audio playback device of claim 15.
17. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instruction is executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented; or when the program instruction is executed by a processor, the steps of the method described in any one of claims 7 to 11 are implemented.
18. A chip, characterized in that: The method comprises a processor and an interface; the processor is used to read instructions to execute the method according to any one of claims 1 to 6; or the processor is used to read instructions to execute the method according to any one of claims 7 to 11.