CN116801420A - System for intelligent device and multichannel wireless audio playing component - Google Patents

System for intelligent device and multichannel wireless audio playing component Download PDF

Info

Publication number
CN116801420A
CN116801420A CN202310885462.5A CN202310885462A CN116801420A CN 116801420 A CN116801420 A CN 116801420A CN 202310885462 A CN202310885462 A CN 202310885462A CN 116801420 A CN116801420 A CN 116801420A
Authority
CN
China
Prior art keywords
connection
audio
wifi
bluetooth
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
CN202310885462.5A
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.)
Heng Xuan Technology Beijing Co ltd
Original Assignee
Heng Xuan Technology Beijing 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 Heng Xuan Technology Beijing Co ltd filed Critical Heng Xuan Technology Beijing Co ltd
Priority to CN202310885462.5A priority Critical patent/CN116801420A/en
Publication of CN116801420A publication Critical patent/CN116801420A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/033Headphones for stereophonic communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The application provides a system for an intelligent device and a multichannel wireless audio playing component. The system includes a WIFI communication unit, a bluetooth communication unit, an audio DAC unit, an audio buffer, a speaker, and a processor configured to execute a multimedia play application, the PCM data from the audio buffer being fed to the WIFI communication unit instead of the audio DAC unit in the case of a bluetooth connection; the WIFI communication unit is configured to acquire PCM data, connect to the multichannel wireless audio playing assembly to form a WIFI connection under the condition that the multichannel wireless audio playing assembly supports the WIFI communication function, and send audio data corresponding to each channel to the multichannel wireless audio playing assembly through the WIFI connection. Therefore, the throughput, quality and timeliness of receiving and transmitting the audio data of the multichannel wireless audio playing component can be improved without modifying, adapting or redeveloping the multimedia playing application program.

Description

System for intelligent device and multichannel wireless audio playing component
Technical Field
The application relates to the technical field of intelligent equipment, in particular to a system for intelligent equipment and a multichannel wireless audio playing component.
Background
With the improvement of social progress and the improvement of living standard of people, the earphone becomes an indispensable living article for people. Currently, bluetooth true wireless stereo (TWS, true Wireless Stereo) headphones are extremely widely used. However, due to limited bandwidth, the frequency band in which bluetooth is located is crowded, so that the quality of receiving and transmitting audio by the earphone cannot be guaranteed.
In addition, smart devices such as mobile phones in the market at present almost all support WIFI, but do not support sending audio data to headphones through WIFI. In order to support the function of sending audio data to the earphone based on WIFI, intelligent equipment such as a mobile phone needs to modify, adapt or redevelop a multimedia playing application program, so that manufacturing cost is greatly increased, and applicability is poor.
Disclosure of Invention
The present application has been made in view of the above-mentioned technical problems occurring in the prior art. The application aims to provide a system for an intelligent device and a multi-channel wireless audio playing component, which can support the intelligent device to send audio data to the multi-channel wireless audio playing component through WIFI under the condition that a multimedia playing application program of the intelligent device is not modified, adapted or redeveloped, and can improve throughput, quality and timeliness of receiving and transmitting the audio data by the multi-channel wireless audio playing component.
According to a first aspect of the present application, there is provided a system for a smart device, the system comprising a WIFI communication unit, a bluetooth communication unit, an audio DAC unit, an audio buffer, a speaker and a processor, the processor being further configured to: executing a multimedia playing application program to decompress an audio signal to output PCM data and store the PCM data into the audio buffer; identifying a connection state of the bluetooth communication unit; outputting PCM data from the audio buffer to the audio DAC unit and playing via the speaker in case the bluetooth communication unit is in an unconnected state; feeding PCM data from the audio buffer to the WIFI communication unit instead of the audio DAC unit in case the bluetooth communication unit has a bluetooth connection with a multi-channel wireless audio playback assembly supporting bluetooth communication functions; the WIFI communication unit is configured to: acquiring the PCM data, and dividing the PCM data to obtain multi-channel audio data; and under the condition that the multichannel wireless audio playing assembly supports the WIFI communication function, connecting to the multichannel wireless audio playing assembly to form WIFI connection, and sending audio data corresponding to each channel to the multichannel wireless audio playing assembly through the WIFI connection.
According to a second aspect of the present application, there is provided a system for a multi-channel wireless audio playing assembly, the multi-channel wireless audio playing assembly comprising a first playing device and a second playing device for receiving and playing audio data from a system of smart devices according to various embodiments of the present application, the first playing device being configured to: establishing a first Bluetooth connection with an intelligent device, acquiring first connection information or second connection information from the intelligent device through the first Bluetooth connection, and establishing a first WIFI connection with the intelligent device based on the first connection information or the second connection information; establishing a second Bluetooth connection with the second playing device, and sending the first connection information or the second connection information to the second playing device through the second Bluetooth connection; the second playback device is configured to: and establishing a second WIFI connection with the intelligent equipment based on the first connection information or the second connection information.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
in the system for intelligent equipment of the embodiment of the application, the processor executes the multimedia playing application program, such as starting the audio player or the video player on the mobile phone, and can provide audio signals and output PCM data. Accordingly, the connection state of the bluetooth communication unit is recognized by the processor, PCM data is output to the audio DAC unit and played by the speaker in the case where the bluetooth communication unit is not connected, and the PCM data is fed to the WIFI communication unit in the case where the bluetooth communication unit is connected, and audio data corresponding to each channel is transmitted to the multi-channel wireless audio playing component such as the earphone via the WIFI connection. Therefore, the intelligent device and the multichannel wireless audio playing component are connected through the Bluetooth, audio data can be sent through the WIFI connection, and the multimedia playing application program does not need to be modified, adapted or redeveloped, so that the cost for improving the intelligent device is greatly reduced, and the applicability, convenience and practicability of the earphone supporting the WIFI communication function are also greatly improved. Secondly, when the Bluetooth communication unit is in an unconnected state, audio is played through the loudspeaker, and when the Bluetooth communication unit is in a connected state, audio data corresponding to each sound channel is sent to the multi-channel wireless audio playing assembly through WIFI connection, so that the throughput of the audio data can be improved, the quality of the audio data received by the multi-channel wireless audio playing assembly can be improved, and the multi-channel audio source file with larger data volume can be played smoothly with less time delay.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.
Drawings
In the drawings, which are not necessarily drawn to scale, like numerals may describe similar components in different views. Like reference numerals with letter suffixes or different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, and not by way of limitation, various embodiments, and together with the description and claims serve to explain the disclosed embodiments. Such embodiments are illustrative and exemplary, and are not intended to be exhaustive or exclusive embodiments of the present methods, apparatus, systems, or non-transitory computer readable media having instructions for implementing the methods.
Fig. 1 (a) shows a schematic structural diagram of a system for a smart device according to an embodiment of the present application.
Fig. 1 (b) shows a flow chart of steps performed by a processor of a system for smart devices according to an embodiment of the present application.
Fig. 2 shows a schematic diagram of establishing a bluetooth connection and a WIFI connection between a smart device and a headset according to an embodiment of the present application.
Fig. 3 shows a flowchart for implementing switching between a WIFI communication mode and a bluetooth communication mode by a switching module according to an embodiment of the application.
Fig. 4 is a schematic diagram of a system for a multi-channel wireless audio playing assembly according to an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the drawings and detailed description to enable those skilled in the art to better understand the technical scheme of the present application. Embodiments of the present application will be described in further detail below with reference to the drawings and specific examples, but not by way of limitation.
The terms "first," "second," and the like, as used herein do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. As used herein, the word "comprising" or "comprises" and the like means that elements preceding the word encompass the elements recited after the word, and that no other elements are excluded from the possible coverage as well. In the present application, the arrows shown in the figures of the respective steps are merely examples of the execution sequence, and the technical solution of the present application is not limited to the execution sequence described in the embodiments, and the respective steps in the execution sequence may be performed in combination, may be performed in decomposition, and may be exchanged as long as the logical relationship of the execution contents is not affected.
All terms (including technical or scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs, unless specifically defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein. Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
Fig. 1 (a) shows a schematic structural diagram of a system for a smart device according to an embodiment of the present application. The system 100 for a smart device includes a WIFI communication unit 101, a bluetooth communication unit 102, an audio DAC unit 103, an audio buffer 104, a speaker 105, and a processor 106. The smart device may be any one of a cellular phone, a mobile PC, a tablet computer, a portable smart assistant, a smart wearable device. The audio DAC (Digital to analog converter) unit may be part of a CODEC (coder-decoder, including DAC, ADC, etc.) module, after which an audio DAC unit 103 may be connected to an audio power amplifier unit (not shown) after which the speaker 105 may be connected. An audio equalizer, sigma-delta modulator, audio up-sampling filter, etc., may be connected before the audio DAC unit 103 (not shown).
The processor 106 is configured to perform steps S107-S110, wherein in step S107 a multimedia playing application is executed to decompress audio signal output PCM data and store it in the audio buffer 104. Wherein the multimedia playing application may be used to play music, audio in games, audio in video, etc. Various audio players and video players in the market can use the processor 106 to execute the multimedia playing application program, decompress audio signals such as music and output PCM data, and store the PCM data in the audio buffer 104, as long as the audio players and video players can provide audio signals and are connected with the audio DAC unit 103 through the audio buffer 104.
In this embodiment, the audio signal may be of the type MPEG, mp3, h.264, etc., or may be an audio file based on lossless audio compression coding (free lossless audio codec, flac), etc.
In step S108, the connection state of the bluetooth communication unit 102 is recognized, and when the bluetooth communication unit 102 is in the disconnected state, PCM data from the audio buffer 104 is output to the audio DAC unit 103 and played via the speaker 105 (step S109). Specifically, when it is recognized that the bluetooth communication unit 102 of the smart device is not in a bluetooth connection state with other devices (such as headphones), the processor 106 directly retrieves PCM data stored in the audio buffer 104, outputs the PCM data to the audio DAC unit 103, processes the PCM data in the audio DAC unit 103 to obtain analog audio data, and plays the analog audio data through the speaker 105.
In step S110, in the case where the bluetooth communication unit 102 has a bluetooth connection with a multi-channel wireless audio playback component supporting bluetooth communication functions, PCM data from the audio buffer 104 is fed to the WIFI communication unit 101 instead of the audio DAC unit 103. The multi-channel wireless audio playing component can be a wireless pair-ear earphone, a wireless sound box or other wireless audio playing equipment. In case the processor 106 recognizes that the smart device is in bluetooth connected state with the multi-channel wireless audio playing component, the audio DAC unit 103 is turned off or the audio buffer 104 is disconnected from the audio DAC unit 103, and PCM data in the audio buffer 104 is fed to the WIFI communication unit 101. That is, in the case where the smart device is not in a bluetooth connection state with other devices, PCM data is not supplied to the audio DAC unit 103 any more, and audio data is not played via the speaker 105 of the smart device any more.
The WIFI communication unit 101 is configured to acquire the PCM data, and perform division processing based on the acquired PCM data to obtain multi-channel audio data, so as to be suitable for a multi-channel wireless audio playing component. And under the condition that the multichannel wireless audio playing assembly supports the WIFI communication function, connecting to the multichannel wireless audio playing assembly to form WIFI connection, and sending audio data corresponding to each channel to the multichannel wireless audio playing assembly through the WIFI connection. The multi-channel may be a plurality of channels separated from each other, the audio data of each channel is separated, and the obtained PCM data is transmitted to one wireless audio playing device of the wireless audio playing assembly corresponding to each channel after the channel division.
Specifically, the multi-channel wireless audio playing component is taken as a wireless pair of ear phones as an example. The WIFI transmitting module in the WIFI communication unit 101 obtains PCM data from the audio buffer 104, divides the PCM data into a left channel and a right channel, and transmits audio data corresponding to the left channel and the right channel or compressed audio data corresponding to the left channel and the right channel respectively to a left ear earphone and a right ear earphone in the wireless pair ear earphone through WIFI connection.
The WIFI communication unit 101 obtains PCM data from the audio buffer 104, and sends audio data corresponding to each channel to the wireless pair ear phone through WIFI connection, so that the intelligent device can be supported to transmit audio to the wireless pair ear phone through WIFI connection without modifying, adapting or redevelopment to the multimedia playing application program, throughput, quality and timeliness of receiving and transmitting audio data of the multichannel wireless audio playing component are greatly improved, and applicability, convenience and practicability of the wireless pair ear phone are also improved.
In some embodiments of the present application, the multi-channel wireless audio playing component includes a wireless pair of ear phones, and the multi-channel audio data includes PCM data of left and right channels or audio data obtained by compressing PCM data of left and right channels. For devices supporting the WIFI communication function, such as wireless pair ear phones, a user joins in marriage the wireless pair ear phones at the smart device through smart device APP (Application program), so that the smart device and the left ear phone and/or the right ear phone can establish WIFI connection. The WIFI communication unit 101 of the smart device sends PCM data of left and right channels to the wireless pair of ear phones via WIFI connection, and the PCM data of the left and right channels may be directly sent to the left ear phone and the right ear phone, or may also compress the PCM data of the left and right channels, and send the PCM data compressed by the left and right channels to the left ear phone and the right ear phone, respectively.
In some embodiments of the present application, the processor 106 is further configured to activate a soft access point of the smart device and obtain first connection information of the soft access point, and in a case that the bluetooth communication unit 102 has a bluetooth connection with one of the wireless audio playback devices in the multi-channel wireless audio playback assembly, send the first connection information to the other wireless audio playback devices in the multi-channel wireless audio playback assembly through the bluetooth connection, so that the wireless audio playback device connects to the soft access point of the smart device based on the first connection information to establish a WIFI connection with the smart device. Specifically, the intelligent device starts a soft access point and sends first connection information of the soft access point to other wireless audio playing devices in the multichannel wireless audio playing assembly through Bluetooth connection between the intelligent device and one wireless audio playing device in the multichannel wireless audio playing assembly. The multichannel wireless audio playing component and the intelligent device establish WIFI connection based on the first connection information, or the multichannel wireless audio playing component is connected with a soft access point of the intelligent device based on the first connection information.
In some embodiments of the present application, the processor 106 is further configured to initiate WIFI direct connection of the smart device, and obtain second connection information of the WIFI direct connection, and if the bluetooth communication unit 102 has a bluetooth connection with one of the wireless audio playback devices in the multichannel wireless audio playback assembly, send the second connection information to the other wireless audio playback devices in the multichannel wireless audio playback assembly through the bluetooth connection, so that the second connection information establishes WIFI direct connection with the smart device. Specifically, WIFI Peer-to-Peer (WIFI P2P) is also called WIFI direct (direct), which is a technology for directly establishing WIFI connection between devices without using an Access Point (AP), and is widely used for data transmission. The intelligent device starts WIFI direct connection, and the intelligent device sends second connection information of the intelligent device WIFI direct connection to the multichannel wireless audio playing assembly through Bluetooth connection established between the intelligent device and one wireless audio playing device in the multichannel wireless audio playing assembly, and the multichannel wireless audio playing assembly and the intelligent device establish WIFI direct connection based on the second connection information.
In some embodiments of the application, in the event that the processor 106 initiates a soft access point of the smart device, the first connection information includes at least one of a service set identification (SSID, service Set Identifier), encryption settings, WIFI operating channels of the soft access point. In the case where the processor 106 initiates a WIFI direct of the smart device, the second connection information includes at least one of a basic service set identification (BSSID, basic Service Set Identify), a service set identification, a WIFI operating channel of the WIFI direct. Taking the first connection information as the service set identifier as an example, by setting different SSID for the plurality of soft access points AP (Access Point) and requiring the wireless workstation to show the correct SSID to access the AP, users of different groups can be allowed to access and the authority of resource access can be restricted differently. The SSID can thus be considered a simple password, providing some security.
Through bluetooth connection between smart machine and the wireless audio play subassembly of multichannel, supplementary wireless audio play subassembly of multichannel establishes the WIFI with smart machine and is connected, has not only shortened the wireless audio play subassembly of multichannel and the time of smart machine establishment WIFI connection, has improved user experience, moreover, the user need not the process of establishing the WIFI connection between the wireless audio play subassembly of multichannel and the smart machine of perception or manual operation, and this provides very big convenience for the user.
In some embodiments of the present application, the multi-channel wireless audio playback assembly includes a first playback device and a second playback device, the bluetooth connection includes a first bluetooth connection formed between the bluetooth communication unit 102 and the first playback device, and a second bluetooth connection between the first playback device and the second playback device, the WIFI connection includes a first WIFI connection formed between the WIFI communication unit 101 and the first playback device, and a second WIFI connection between the second playback device. Specifically, as shown in fig. 2, taking a multi-channel wireless audio playing component as a wireless pair of ear phones for example, the first ear phone 202 is a first playing device, the second ear phone 203 is a second playing device, the bluetooth communication unit 102 in the smart device 201 establishes a first bluetooth connection 204 with the first ear phone 202, a second bluetooth connection 205 is established between the first ear phone 202 and the second ear phone 203, a first WIFI connection 206 is established between the smart device 201 and the first ear phone 202, and a second WIFI connection 207 is established between the smart device 201 and the second ear phone 203.
The second bluetooth connection 205 is established between the first earpiece 202 and the second earpiece 203, which may not be limited before, after or during the establishment of the first bluetooth connection 204 between the first earpiece 202 and the smart device 201, but the time interval between the establishment of the first bluetooth connection 204 and the establishment of the second bluetooth connection 205 is shorter (within seconds), unless one of the establishment is unsuccessful or the channel is poor, more time is consumed, and the time interval is longer.
The processor 106 is further configured to send first connection information or second connection information to a first playback device over the first bluetooth connection, such that the first playback device establishes a first WIFI connection with the smart device based on the first connection information or second connection information. Specifically, the smart device 201 sends the first connection information or the second connection information to the first earphone 202 through the first bluetooth connection 204, so that the first earphone 202 and the smart device 201 can be assisted to establish WIFI connection, the time for establishing WIFI connection between the smart device 201 and the first earphone 202 is shortened, and the user experience is improved.
The first connection information or the second connection information received by the first playing device is transmitted to the second playing device through the second bluetooth connection 205, so that the second playing device establishes a second WIFI connection 207 with the smart device based on the first connection information or the second connection information. That is, the first earpiece 202 transmits the first connection information or the second connection information to the second earpiece 203 through the second bluetooth connection 205, and the second earpiece 203 establishes the second WIFI connection 207 with the smart device 201 based on the first connection information or the second connection information. In this way, the time for establishing the WIFI connection between the first earphone 202, the second earphone 203 and the intelligent device 201 is greatly reduced, and the user does not need to manually operate to establish the WIFI connection, for example, by specifying channel information, skipping a scanning stage, or skipping an identity authentication stage, bluetooth transmitting identity information, etc., so that the identity authentication stage is accelerated, and great convenience is brought to the user. In addition, the embodiment of the application can realize that the intelligent device 201 sends the audio to the wireless pair ear phone through the WIFI connection under the condition that the multimedia playing application program is not modified, adapted or redeveloped.
In some embodiments of the present application, the smart device includes a switching module, which is implemented by logic hardware or the processor 106, as shown in fig. 3, and in step S301, the switching module switches between a WIFI communication mode and a bluetooth communication mode. In step S302, it is determined whether the multi-channel wireless Audio playing component supports the WIFI communication function, if not, step S304 is performed to switch the Audio wireless transmission mode to the bluetooth communication mode, that is, the intelligent device sends Audio data to the multi-channel wireless Audio playing component by using bluetooth connection, and bluetooth protocols such as A2DP (full name Advanced Audio Distribution Profile, bluetooth Audio transmission model protocol) or HFP (full name Hands-free Profile, software for controlling a phone by a bluetooth device) or LE Audio (bluetooth low energy Audio) may be used.
If the determination in step S302 is yes, step S303 is executed to switch the audio wireless transmission mode to the WIFI communication mode, where the smart device may send audio data to the multi-channel wireless audio playing component via a WIFI connection with the multi-channel wireless audio playing component. That is, under the condition that the multichannel wireless audio playing component supports the WIFI communication function, the audio wireless transmission mode between the intelligent device and the multichannel wireless audio playing component is switched to the WIFI communication mode; and under the condition that the multichannel wireless audio playing component does not support the WIFI communication function but supports the Bluetooth communication function, switching an audio wireless transmission mode between the intelligent equipment and the multichannel wireless audio playing component into a Bluetooth communication mode.
Further, in step S305, if the multi-channel wireless audio playing component supports the WIFI communication function and also supports the bluetooth communication function, it is determined whether the quality of the bluetooth connection is less than the threshold quality (step S306), if so, it is indicated that the bluetooth connection signal quality is poor, and the audio data is easily lost or corrupted when the audio data is transmitted through the bluetooth connection, at this time, step S307 is executed to switch the audio wireless transmission mode to the WIFI communication mode. If the judgment result in the step S306 is no, it indicates that the bluetooth connection signal quality is good, then the step S308 is continued to be executed, and the audio wireless transmission mode is switched to the bluetooth communication mode. That is, if the quality of the bluetooth connection is less than the threshold quality, the audio wireless transmission mode between the smart device and the multi-channel wireless audio playing component is switched to the WIFI communication mode, otherwise, the audio wireless transmission mode between the smart device and the multi-channel wireless audio playing component is switched to the bluetooth communication mode.
The threshold quality may be a default value of the system after leaving the factory, which is not limited. Bluetooth connection signal quality may be characterized by one or a combination of bluetooth signal RSSI (received signal strength indication), bluetooth received PER (packet error rate ), BER (bit error rate), PLR (packet loss rate), etc. The larger the value of RSSI, the better the Bluetooth connection signal quality, and the smaller or closer to 0 the value of PER, BER and PLR, the better the Bluetooth connection signal quality. In some embodiments, the bluetooth connection consumes less power than the WIFI connection.
Further, in a case where the audio data is required to be played at the multi-channel wireless audio playing component with a time delay less than a threshold in response to an operation of the user, the audio wireless transmission mode between the smart device and the multi-channel wireless audio playing component is switched to the WIFI communication mode. In particular, for example, users wearing wireless headphones are in a virtual world game scenario, and the demand for immediacy of audio data transfer is high. The user hopes that the time delay between the intelligent device and the wireless pair ear earphone is lower, and in the scene that the audio data is required to be played with lower time delay, the audio data responding to the operation of the user is required to be played in the user as soon as possible with low time delay, the switch module switches the audio wireless transmission mode between the intelligent device and the wireless pair ear earphone to a WIFI communication mode, and the intelligent device transmits the audio data to the left ear earphone and/or the right ear earphone through PCM audio data without audio compression, so that the processing of audio compression by the intelligent device is reduced, and the time for decompressing the audio data at the wireless pair ear earphone end is shortened. The transmission bandwidth of WIFI is much higher than bluetooth, thus also reducing the delay of transmission.
In some embodiments of the present application, the processor 106 is further configured to initiate a soft access point or WIFI direct connection of the smart device after the bluetooth communication unit 102 has a bluetooth connection with the multi-channel wireless audio playback assembly or receives a playback instruction to play audio. Specifically, after the user performs bluetooth pairing with the multichannel wireless audio playing component such as the wireless pair earphone or the wireless loudspeaker box through the intelligent device, the processor 106 recognizes bluetooth connection between the intelligent device and the multichannel wireless audio playing component, and immediately starts the soft access point or the WIFI to directly connect, so that the multichannel wireless audio playing component establishes WIFI connection with the intelligent device according to the connection information of the soft access point or the WIFI to directly connect. Or, the user may send a play instruction to the smart device to play audio when the user needs to play music or watch video, and the processor 106 starts the soft access point or WIFI direct connection based on the play instruction.
In some embodiments of the present application, when the multi-channel wireless audio playback component is a wireless headset, the processor 106 is further configured to initiate a soft access point or WIFI direct connection of the smart device upon detecting that the wireless headset is in-ear or semi-in-ear. That is, when the wireless earphone is in the ear or half in the ear, the processor 106 starts the soft access point or WIFI direct connection of the smart device when the wireless earphone is in the ear or half in the ear, so that the multi-channel wireless audio playing component establishes WIFI connection with the smart device according to the connection information of the soft access point or WIFI direct connection. Therefore, once the user starts to play music later, the WIFI connection is ready to use, so that the user can enjoy a low-delay and smooth high-quality multi-channel listening experience after starting to play music.
As shown in fig. 4, in some embodiments of the present application, a system 400 for a multi-channel wireless audio playing assembly is provided, the multi-channel wireless audio playing assembly includes a first playing device 401 and a second playing device 402, configured to receive and play audio data from a system of a smart device according to various embodiments of the present application, the first playing device 401 is configured to establish a first bluetooth connection with the smart device, and obtain first connection information or second connection information from the smart device via the first bluetooth connection, and establish a first WIFI connection with the smart device based on the first connection information or the second connection information; establishing a second bluetooth connection with the second playing device 402, and transmitting the first connection information or the second connection information to the second playing device 402 through the second bluetooth connection; the second playing device 402 is configured to establish a second WIFI connection with the smart device based on the first connection information or the second connection information.
Therefore, the intelligent device sends audio data to the multichannel wireless audio playing component through the first WIFI connection and the second WIFI connection without modifying, adapting or redeveloping the multimedia playing application program, so that the cost for improving the intelligent device is greatly reduced, and the applicability, convenience and practicability of the earphone supporting the WIFI communication function are also greatly improved.
The first, second and various numerical numbers referred to in the present application are merely for convenience of description and are not intended to limit the scope of the present application.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method. To avoid repetition, a detailed description is not provided herein.
In various embodiments of the present application, the sequence number of each process does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative logical blocks (illustrative logical block, abbreviated ILBs) and steps described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or in combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), etc.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A system for a smart device, the system comprising a WIFI communication unit, a bluetooth communication unit, an audio DAC unit, an audio buffer, a speaker, and a processor, the processor further configured to:
executing a multimedia playing application program to decompress an audio signal to output PCM data and store the PCM data into the audio buffer;
identifying a connection state of the bluetooth communication unit;
outputting PCM data from the audio buffer to the audio DAC unit and playing via the speaker in case the bluetooth communication unit is in an unconnected state;
feeding PCM data from the audio buffer to the WIFI communication unit instead of the audio DAC unit in case the bluetooth communication unit has a bluetooth connection with a multi-channel wireless audio playback assembly supporting bluetooth communication functions;
the WIFI communication unit is configured to:
acquiring the PCM data, and dividing the PCM data to obtain multi-channel audio data;
and under the condition that the multichannel wireless audio playing assembly supports the WIFI communication function, connecting to the multichannel wireless audio playing assembly to form WIFI connection, and sending audio data corresponding to each channel to the multichannel wireless audio playing assembly through the WIFI connection.
2. The system of claim 1, wherein the multi-channel wireless audio playback component comprises a wireless pair of ear phones, and wherein the multi-channel audio data comprises left and right channel PCM data or compressed audio data.
3. The system of claim 1, wherein the processor is further configured to:
starting a soft access point of the intelligent equipment and acquiring first connection information of the soft access point;
and under the condition that the Bluetooth communication unit and one wireless audio playing device in the multichannel wireless audio playing assembly have Bluetooth connection, the first connection information is sent to the other wireless audio playing devices in the multichannel wireless audio playing assembly through the Bluetooth connection, so that the Bluetooth communication unit is connected with a soft access point of the intelligent device based on the first connection information to establish WIFI connection.
4. The system of claim 1, wherein the processor is further configured to:
starting WIFI direct connection of the intelligent equipment, and acquiring second connection information of the WIFI direct connection;
and under the condition that the Bluetooth communication unit is in Bluetooth connection with one wireless audio playing device in the multichannel wireless audio playing assembly, the second connection information is sent to the other wireless audio playing devices in the multichannel wireless audio playing assembly through the Bluetooth connection, so that the wireless audio playing device establishes WIFI direct connection with the intelligent device based on the second connection information.
5. The system of claim 3 or 4, wherein the system comprises a plurality of sensors,
under the condition that the processor starts a soft access point of the intelligent equipment, the first connection information comprises at least one of service set identification, encryption setting and WIFI working channel of the soft access point;
and under the condition that the processor starts the WIFI direct connection of the intelligent equipment, the second connection information comprises at least one of a basic service set identifier, a service set identifier and a WIFI working channel of the WIFI direct connection.
6. The system of claim 3 or 4, wherein the multi-channel wireless audio playback assembly comprises a first playback device and a second playback device, the bluetooth connection comprising a first bluetooth connection formed between the bluetooth communication unit and the first playback device, and a second bluetooth connection between the first playback device and the second playback device, the WIFI connection comprising a first WIFI connection formed between the WIFI communication unit and the first playback device, and a second WIFI connection with the second playback device;
the processor is further configured to:
sending the first connection information or the second connection information to a first playing device through the first Bluetooth connection so that the first playing device establishes a first WIFI connection with the intelligent device based on the first connection information or the second connection information,
the first connection information or the second connection information received by the first playing device is transmitted to the second playing device through the second Bluetooth connection, so that the second playing device establishes a second WIFI connection with the intelligent device based on the first connection information or the second connection information.
7. The system of claim 1, wherein the smart device comprises a switching module implemented by logic hardware or the processor and configured to:
under the condition that the multichannel wireless audio playing component supports the WIFI communication function, the audio wireless transmission mode between the intelligent equipment and the multichannel wireless audio playing component is switched to a WIFI communication mode;
and under the condition that the multichannel wireless audio playing component does not support the WIFI communication function but supports the Bluetooth communication function, switching an audio wireless transmission mode between the intelligent equipment and the multichannel wireless audio playing component into a Bluetooth communication mode.
8. The system of claim 1, wherein the smart device comprises a switching module implemented by logic hardware or the processor and configured to:
and under the condition that the multichannel wireless audio playing component supports the WIFI communication function and also supports the Bluetooth communication function, if the quality of Bluetooth connection is smaller than the threshold quality, switching the audio wireless transmission mode between the intelligent device and the multichannel wireless audio playing component into the WIFI communication mode, and otherwise, switching the audio wireless transmission mode between the intelligent device and the multichannel wireless audio playing component into the Bluetooth communication mode.
9. The system of claim 1, wherein the smart device comprises a switching module implemented by logic hardware or the processor and configured to:
in the case where the audio data is required to be played at the multi-channel wireless audio playing component with a time delay less than the threshold in response to the user's operation, the audio wireless transfer mode between the smart device and the multi-channel wireless audio playing component is switched to the WIFI communication mode.
10. The system of claim 1, wherein the processor is further configured to: and after the Bluetooth communication unit and the multichannel wireless audio playing component are connected through Bluetooth or a playing instruction for playing audio is received, starting a soft access point or WIFI of the intelligent equipment to be directly connected.
11. The system of claim 3, wherein when the multi-channel wireless audio playback component is a wireless headset, the processor is further configured to: and when the wireless earphone is detected to be in the ear or half in the ear, starting the soft access point or WIFI of the intelligent equipment to be directly connected.
12. A system for a multi-channel wireless audio playback assembly comprising a first playback device and a second playback device, characterized in that it is arranged to receive and play audio data from a system of smart devices according to any of claims 1-11,
the first playback device is configured to:
establishing a first Bluetooth connection with an intelligent device, acquiring first connection information or second connection information from the intelligent device through the first Bluetooth connection, and establishing a first WIFI connection with the intelligent device based on the first connection information or the second connection information;
establishing a second Bluetooth connection with the second playing device, and sending the first connection information or the second connection information to the second playing device through the second Bluetooth connection;
the second playback device is configured to: and establishing a second WIFI connection with the intelligent equipment based on the first connection information or the second connection information.
CN202310885462.5A 2023-07-18 2023-07-18 System for intelligent device and multichannel wireless audio playing component Pending CN116801420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310885462.5A CN116801420A (en) 2023-07-18 2023-07-18 System for intelligent device and multichannel wireless audio playing component

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310885462.5A CN116801420A (en) 2023-07-18 2023-07-18 System for intelligent device and multichannel wireless audio playing component

Publications (1)

Publication Number Publication Date
CN116801420A true CN116801420A (en) 2023-09-22

Family

ID=88034562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310885462.5A Pending CN116801420A (en) 2023-07-18 2023-07-18 System for intelligent device and multichannel wireless audio playing component

Country Status (1)

Country Link
CN (1) CN116801420A (en)

Similar Documents

Publication Publication Date Title
EP3629561B1 (en) Data transmission method and system, and bluetooth headphone
CN109246671B (en) Data transmission method, device and system
CN112868244B (en) Point-to-multipoint data transmission method and device
US20190020752A1 (en) Apparatus and method for controlling built-in microphone of portable terminal
US9408018B2 (en) Dual wireless mode speaker and control method thereof
CN108886647B (en) Earphone noise reduction method and device, master earphone, slave earphone and earphone noise reduction system
CN109819377B (en) Signal transmission method of wireless earphone and wireless earphone system
CN106936987B (en) Method and device capable of identifying voice source of Bluetooth headset
KR20090007694A (en) Audio headset
WO2021160040A1 (en) Audio transmission method and electronic device
CN105392032A (en) Method and apparatus for controlling multimedia playing
CN111526506B (en) Charging box and method for wireless communication and audio playing kit
CN110366752B (en) Voice frequency division transmission method, source terminal, play terminal, source terminal circuit and play terminal circuit
CN104066033A (en) Bluetooth sound box system and using method thereof
CN109298846B (en) Audio transmission method and device, electronic equipment and storage medium
CN113316129B (en) Method for acquiring coding and decoding capabilities in Bluetooth device and electronic device
WO2022120782A1 (en) Multimedia playback synchronization
WO2022041681A1 (en) Wireless earpieces, method for controlling wireless earpieces, and storage medium
CN214413006U (en) True wireless stereo earphone
CN116801420A (en) System for intelligent device and multichannel wireless audio playing component
CN115361629A (en) Audio configuration method and device
CN112423197A (en) Method and device for realizing multipath Bluetooth audio output
CN103402149A (en) Method for virtualizing set top box into Bluetooth sound box, set top box and host
CN110662205B (en) Bluetooth-based audio transmission method, device, medium and equipment
TWI700953B (en) A wireless transmission system and method

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