Channel configuration method, electronic device and system
By automatically matching the channel configuration with the speaker's sound intensity, the cumbersome operation problem when connecting electronic devices to speakers is solved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2021-07-29
- Publication Date
- 2026-06-19
AI Technical Summary
In existing technologies, the channel configuration process when connecting electronic devices to speakers is cumbersome, requiring users to manually confirm the speaker name, which affects the user experience.
By collecting the sound intensity emitted by the speaker, the system automatically matches the channel configuration, simplifying user operation. It uses a microphone to collect sound characteristics and intensity for automatic configuration.
The channel configuration process has been simplified, improving the user experience. It is simple to operate and highly efficient, eliminating the need to manually confirm the speaker name.
Smart Images

Figure CN115696171B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a channel configuration method, electronic device and system. Background Technology
[0002] With the development of terminal technology, wireless speakers are becoming increasingly popular. Electronic devices (such as smart screens and TVs) can connect to one or more speakers, with different speakers playing different channels of sound to achieve better sound playback. For example, a speaker system consisting of two speakers can play the left channel audio of the electronic device, while the other speaker plays the right channel audio, thus providing users with a more immersive sound experience.
[0003] When establishing a connection between electronic devices and speakers, it's necessary to configure the corresponding channels for each speaker to create a speaker system. Currently, this channel configuration requires users to manually assign each speaker to its corresponding channel using its name on the electronic device. However, users often cannot determine which speaker the displayed name corresponds to. This necessitates checking the speaker name on the device or in the instruction manual before configuring the channels, making the process cumbersome and negatively impacting the user experience. Summary of the Invention
[0004] To address the aforementioned technical problems, embodiments of this application provide a channel configuration method, electronic device, and system. The technical solution provided by these embodiments allows a first electronic device to adaptively configure the channel based on the sound intensity of a first sound collected and the second sound intensity reported by a second electronic device, simplifying user operation and improving the user experience.
[0005] To achieve the above-mentioned technical objectives, the embodiments of this application provide the following technical solutions:
[0006] A first aspect provides a channel configuration method applied to a first electronic device. The method includes: receiving a first operation from a user; wherein the first operation triggers the first electronic device to perform channel configuration; determining a first sound intensity based on sound acquired by a first sound acquisition device of the first electronic device; determining a target channel in the channel to be configured of the first electronic device based on the first sound intensity; receiving at least one second sound intensity transmitted by one or more second electronic devices; determining a target device in the second electronic devices based on the at least one second sound intensity; and matching the target channel and the target device.
[0007] The first operation is, for example, a channel configuration operation, which includes, for example, a user's touch operation on the display screen of the first electronic device (e.g., clicking the "Confirm Start Channel Configuration" control), a voice operation to indicate channel configuration, an operation to input a channel configuration command through a physical button on the first electronic device, an operation to input a channel configuration command through a remote control, etc.
[0008] In this way, the first electronic device can automatically complete the channel configuration in response to the user's channel configuration operation. During the channel configuration process, the user only needs to perform a simple operation to generate the first sound, without needing to confirm the name of the second electronic device (such as a wireless speaker) or perform any further operations on the display screen of the first electronic device. This effectively simplifies the user's operation during the channel configuration process and improves the user experience.
[0009] According to the first aspect, determining the first sound intensity of the first sound based on the sound collected by the first sound acquisition device of the first electronic device includes: if the sound characteristics of the sound collected by the first sound acquisition device of the first electronic device meet the preset conditions, then determining the collected sound as the first sound and determining the first sound intensity of the first sound; wherein the sound characteristics include one or more of the following: frequency characteristics, amplitude characteristics, waveform characteristics, and duration characteristics.
[0010] For example, the frequency of the sound of a human knuckle striking a speaker is generally (800-1200) Hz. When the first electronic device picks up sound in this frequency range, it acquires the corresponding sound intensity. Further, optionally, the first electronic device can determine whether the characteristics of the sound in the picked-up frequency range match the characteristics of the sound emitted by a human knuckle striking a speaker (such as a sound waveform with one or more peaks). If they match, the first electronic device determines that the sound in that frequency range is indeed the sound of a human knuckle striking a speaker, and confirms that the sound is indeed the sound emitted by the user striking the speaker with their knuckles to configure the channel for the first electronic device, rather than interference sounds such as human voice, music, or ambient noise.
[0011] In this way, the first electronic device uses sound characteristics to determine the first sound, and then uses the first sound to configure the sound channels, thereby avoiding the acquisition of other sounds that would interfere with the sound channel configuration process.
[0012] According to the first aspect, or any implementation of the first aspect above, the first sound acquisition device includes M microphones, where M is a positive integer greater than or equal to 2; when the channel to be configured includes a first channel and a second channel, and the first channel or the second channel is a left channel or a right channel, the number of first sounds is 2, and the target device includes a first target device and a second target device, the first target device or the second target device being located to the left or right of the first electronic device. Determining the target channel in the channel to be configured of the first electronic device based on the first sound intensity includes: determining the channel to be configured as the first channel based on the first sound intensity of the first sound acquired by the M microphones for the first time. Determining the target device in the second electronic device based on at least one second sound intensity includes: determining the first target device in the second electronic device based on at least one second sound intensity received for the first time. Matching the target channel and the target device includes: matching the first channel and the first target device. Determining the target channel in the channel to be configured of the first electronic device based on the first sound intensity includes: determining the channel to be configured as the second channel based on the first sound intensity of the first sound acquired by the M microphones for the second time. Determining a target device in a second electronic device based on at least one second sound intensity includes: determining a second target device in the second electronic device based on at least one second sound intensity received a second time. Matching a target channel and a target device includes: matching a second channel and a second target device.
[0013] According to the first aspect, or any implementation of the first aspect above, the audio channels to be configured in the first electronic device include a left channel and a right channel; determining the target channel in the audio channels to be configured in the first electronic device according to the first sound intensity includes: determining that the first sound originates from the left or right side of the first electronic device based on the first sound intensity, and then determining the target channel as the left channel or the right channel. Determining the target device in the second electronic device according to at least one second sound intensity includes: determining the second electronic device corresponding to the second sound intensity with the larger sound intensity among the at least one second sound intensity as the target device.
[0014] For example, suppose the first electronic device to be configured has a left channel and a right channel, speaker A is located on the left side of the first electronic device, and speaker B is located on the right side of the first electronic device. The channel configuration process can include the following steps: the user taps speaker A with their knuckles, and the first electronic device collects the tapping sound through a microphone to determine a first sound intensity. Based on the first sound intensity, it is determined that the current sound source is located on the left side of the first electronic device, and a correspondence should be established between the second electronic device at that location and the left channel. Then, the first electronic device needs to determine which of the two second electronic devices, speaker A and speaker B, is the second electronic device at the current sound source location. That is, speaker A or speaker B is the first target device or the second target device.
[0015] Correspondingly, when a user taps speaker A with their knuckles, both speaker A and speaker B can pick up the tapping sound through their respective microphones. It can be understood that speaker A is the second electronic device at the sound source. Speaker A is closer to the sound source than speaker B, therefore the sound intensity of the tapping sound picked up by speaker A should be greater than that picked up by speaker B. Speakers A and B send the sound intensity of their respective tapping sounds to the first electronic device, which then receives the second sound intensity from the second electronic device. Based on this second sound intensity, the first electronic device can determine whether the second electronic device to be paired is speaker A or speaker B. If the first electronic device determines that the sound intensity of the tapping sound picked up by speaker A is greater, it determines that the second electronic device at the current sound source is speaker A. Thus, the first electronic device establishes a correspondence between speaker A and the left channel, completing the left channel configuration.
[0016] Afterwards, the user can tap speaker B with their knuckles. The first electronic device and the second electronic device repeat the above steps, so that the first electronic device can automatically complete the configuration of the right channel based on the sound intensity of the tapping sound received by the microphone of the first electronic device and the sound intensity of the tapping sound received by the second electronic device sent by the second electronic device.
[0017] In this way, users can configure the audio channels of the first electronic device with just a simple tapping action. The operation is simple, the channel configuration is efficient, and it can effectively improve the user experience.
[0018] According to the first aspect, or any implementation of the first aspect above, the first sound acquisition device includes M microphones, where M is a positive integer greater than or equal to 2. When the number of channels to be configured is greater than two, determining the target channels in the channels to be configured of the first electronic device based on the first sound intensity includes: determining a second number of target channels in the channels to be configured of the first electronic device based on a first number of first sound intensities; wherein the first number is M times the second number. Determining target devices in the second electronic device based on at least one second sound intensity includes: determining a second number of target devices in the second electronic device based on the second sound intensity corresponding to the first number of first sound intensities. Matching target channels and target devices includes: determining the correspondence between the second number of target channels and the second number of target devices based on the first number of first sound intensities. Matching the second number of target channels and the second number of target devices based on the correspondence.
[0019] According to the first aspect, or any implementation of the first aspect above, the channels to be configured in the first electronic device include a left front channel, a left rear channel, a right front channel, and a right rear channel; the number of first sounds is multiple. Determining the target channel among the channels to be configured in the first electronic device based on the first sound intensity includes: if the first sound originates from the left side of the first electronic device based on the first sound intensity, then the target channel is determined to be the left front channel or the left rear channel; or, if the first sound originates from the right side of the first electronic device based on the first sound intensity, then the target channel is determined to be the right front channel or the right rear channel. Determining the target device among the second electronic devices based on at least one second sound intensity includes: for each first sound, determining the second electronic device corresponding to the second sound intensity with the larger sound intensity among the second sound intensities corresponding to each first sound as a candidate target device; wherein the number of candidate target devices is equal to the number of first sounds. Among the first sound intensities corresponding to the first sound from the left side of the first electronic device, and among the first sound intensities corresponding to the same sound acquisition device, the candidate target device corresponding to the higher first sound intensity is determined as the target device corresponding to the left front channel, and the candidate target device corresponding to the lower first sound intensity is determined as the target device corresponding to the left rear channel. Similarly, among the first sound intensities corresponding to the first sound from the right side of the first electronic device, and among the first sound intensities corresponding to the same sound acquisition device, the candidate target device corresponding to the higher first sound intensity is determined as the target device corresponding to the right front channel, and the candidate target device corresponding to the lower first sound intensity is determined as the target device corresponding to the right rear channel.
[0020] In some embodiments, if the number of channels to be configured in the first electronic device is greater than two, then in a speaker system where there are two or more second electronic devices in each direction corresponding to both sides of the central axis of the first electronic device, since the microphones of the first electronic devices are generally located at corresponding positions on both sides of the central axis of the first electronic device or at the corresponding position of the central axis, the first electronic device cannot directly determine the channel to be configured based on the first sound intensity collected by its own microphone in one go. It needs to wait until some or all of the first sound intensity is collected before it can determine the channel to be configured. Here, "partial first sound intensity" includes all the first sound intensities corresponding to one side of the central axis of the first electronic device.
[0021] For example, the first electronic device is a four-channel surround sound device, meaning it can output four channels of audio and needs to establish pairing relationships with four second electronic devices. However, the first electronic device itself only has two microphones. Based on the first sound intensity collected by the two microphones at one time, the first electronic device cannot distinguish between the front left channel and the rear left channel, nor can it distinguish between the front right channel and the rear right channel. Therefore, the first electronic device needs to obtain all the first sound intensities corresponding to the left side of the first electronic device, or all the first sound intensities corresponding to the right side of the first electronic device, or all the first sound intensities, before it can further confirm the channels to be configured.
[0022] Thus, in multi-channel scenarios where there are more than two channels to be configured, users can configure the first electronic device's channel with simple tapping actions. The operation is simple, the channel configuration is efficient, and it can effectively improve the user experience.
[0023] According to the first aspect, or any implementation of the first aspect above, the sound source location of the first sound includes a first location of the target device, or a second location near the target device.
[0024] In some embodiments, the first sound intensity includes, for example, the sound intensity at the location of the second electronic device, as acquired by the first electronic device through its own microphone. The sound at the location of the wireless speaker may also include sounds generated by a user tapping the wireless speaker, sounds generated by a user snapping their fingers, clapping, or coughing near the wireless speaker, and sounds generated at or near the location of the wireless speaker, such as audio played by the wireless speaker. The location near the second electronic device indicates that the sound is generated near the location of the second electronic device, such as when the distance between the sound generation location and the location of the second electronic device is less than or equal to a preset threshold. For example, a user can tap speaker A with their knuckles, or they can generate sound at a location close to speaker A and far from other speakers.
[0025] Therefore, by generating sound at or near the location of the wireless speaker, the sound intensity detected by the wireless speaker can be maximized, thereby allowing the wireless speaker to be located using the sound intensity.
[0026] According to the first aspect, or any implementation of the first aspect above, after receiving the user's first operation, the method further includes: obtaining a first Bluetooth name of the second electronic device; receiving at least one second sound intensity sent by one or more second electronic devices, including: obtaining a second Bluetooth name of the second electronic device. Determining at least one second sound intensity based on the additional suffix added to the second Bluetooth name compared to the first Bluetooth name.
[0027] In some embodiments, after the first electronic device enables Bluetooth, it can scan for nearby devices that have Bluetooth enabled and are in a pairing-ready state, and obtain the Bluetooth IDs of these devices. For example, during the Bluetooth scanning process, the first electronic device can obtain a list of Bluetooth IDs that includes the Bluetooth IDs of the second electronic device.
[0028] In some embodiments, after the second electronic device edits the Bluetooth ID based on the second sound intensity, the first electronic device can obtain the edited Bluetooth ID during the scanning process of nearby devices that have Bluetooth enabled and are in a pairing state. That is, the second electronic device sends the edited Bluetooth ID to the first electronic device so that the first electronic device can determine the second sound intensity based on the second Bluetooth ID. Then, during the Bluetooth scanning process, if the first electronic device finds that some or all of the Bluetooth ID suffixes in the scanned Bluetooth ID list have changed, it identifies the Bluetooth device with the changed Bluetooth ID suffix as the second electronic device to be paired and obtains the corresponding second sound intensity. A change in the Bluetooth ID suffix includes, for example, the changed Bluetooth ID having an added suffix compared to the original Bluetooth ID. For example, if the original Bluetooth ID had no suffix, the changed Bluetooth ID has an added suffix; or, if the original Bluetooth ID had a suffix, the changed Bluetooth ID has yet another added suffix. The large-screen device determines the corresponding device identity based on the unchanged part of the Bluetooth ID (i.e., determines that the device corresponding to the Bluetooth ID with the changed suffix is the same device), and determines the second sound intensity as the part of the Bluetooth ID with the added suffix.
[0029] For example, suppose the original Bluetooth ID of speaker A (i.e., the Bluetooth ID of speaker A before determining the second sound intensity) is XXX, and the original Bluetooth ID of speaker B (i.e., the Bluetooth ID of speaker B before determining the second sound intensity) is XXXX. During the Bluetooth scanning process, the first electronic device determines that the Bluetooth ID of speaker A has an added suffix, changing from XXX to XXX-120, with the added suffix 120. Therefore, it determines that the sound intensity collected by speaker A is 120dB. Similarly, it determines that the Bluetooth ID of speaker B has an added suffix, changing from XXXX to XXXX-60, with the added suffix 60. Therefore, it determines that the sound intensity collected by speaker B is 60dB.
[0030] In this way, the first electronic device can determine the second sound intensity by simply comparing the changes between the first Bluetooth ID and the second Bluetooth ID, thus simplifying the process of determining the sound intensity.
[0031] According to the first aspect, or any implementation thereof, receiving at least one second sound intensity transmitted by one or more second electronic devices includes: acquiring a second Bluetooth name of one or more second electronic devices; wherein the second Bluetooth name contains at least one second sound intensity information, the at least one second sound intensity information being used to indicate at least one second sound intensity. Based on the second Bluetooth name, determining at least one second sound intensity.
[0032] In some embodiments, the second electronic device edits the Bluetooth ID according to preset rules, carrying information about the second sound intensity within the Bluetooth ID. Then, during the process of scanning for devices to be paired, the first electronic device can determine the edited Bluetooth ID that meets the preset rules. Subsequently, the first electronic device parses the edited Bluetooth ID according to the preset rules and can obtain the second sound intensity (e.g., by retrieving the second sound intensity from a preset field).
[0033] According to the first aspect, or any implementation of the first aspect above, the first sound is generated by a second operation of the user, the second operation including one or more of the following: the user tapping the target device with their knuckles, or the user making a sound at or near the target device. Alternatively, the first sound is generated by the target device playing audio.
[0034] According to the first aspect, or any implementation of the first aspect above, when the first sound is generated by the user's second operation, the method further includes: prompting the user to perform the second operation.
[0035] In some embodiments, after detecting a user's voice channel configuration operation, the first electronic device may also display operation guidance information to instruct the user to tap each of the second electronic devices to be paired. The operation guidance information may include text, images, animations, and / or videos.
[0036] This makes it easier for users to understand the channel configuration process and avoids channel configuration failures caused by operational errors.
[0037] According to the first aspect, or any implementation of the first aspect above, the method also includes: prompting the user that the audio channel configuration has been completed.
[0038] In some implementations, after the first electronic device has completed configuring the audio channels, it can also display a prompt message or play a voice prompt to inform the user that the audio channel configuration is complete and the channel is ready for use. Alternatively, the first electronic device can display a prompt message or play a voice prompt once after configuring each audio channel to demonstrate the audio channel configuration process to the user.
[0039] In this way, users can confirm that the audio channel configuration is complete based on the prompts and start playing sound, increasing user interactivity and improving the user experience.
[0040] In some embodiments, after completing the channel configuration, the first electronic device can invoke the audio management module to identify the configured channels. This identification indicates the correspondence between the channels and the second electronic device. Then, during sound playback, the audio management module can send single-source audio from different channels to the corresponding second electronic device for playback based on the identification. The audio file to be played by the first electronic device should contain multiple audio sources, each corresponding to a channel. By using different channels to play the corresponding single-source audio, the first electronic device can achieve stereo sound effects.
[0041] Secondly, a channel configuration method is provided, applied to a second electronic device. The method includes: determining a second sound intensity of a first sound based on sound acquired by a second sound acquisition device of the second electronic device; sending the second sound intensity to the first electronic device; receiving an audio file sent by the first electronic device. The audio file is sent by the first electronic device after determining a target channel matching the second electronic device based on the first and second sound intensities; the audio file corresponds to the target channel, the first sound intensity is the sound intensity of the first sound determined by the first electronic device, and the target channel is a channel among the channels to be configured in the first electronic device. Audio is then played according to the audio file.
[0042] In some embodiments, if the second electronic device has not established a pairing connection with other electronic devices, it is in an unpaired state. When the second electronic device is in an unpaired state, if the sound characteristics of the collected sound meet preset conditions, the collected sound is determined to be the sound used for pairing. Then, the second electronic device determines the second sound intensity of the sound and uses the second sound intensity to edit the Bluetooth ID used for pairing.
[0043] According to the second aspect, determining the second sound intensity of the first sound based on the sound collected by the second sound acquisition device of the second electronic device includes: if the sound characteristics of the sound collected by the second sound acquisition device of the second electronic device meet preset conditions, then determining the collected sound as the first sound and determining the second sound intensity of the first sound; wherein the sound characteristics include one or more of the following: frequency characteristics, amplitude characteristics, waveform characteristics, and duration characteristics.
[0044] In this way, the second electronic device uses sound characteristics to determine the first sound, and then sends the sound intensity of the first sound to the first electronic device, so that the first electronic device uses the first sound to configure the channel, thereby avoiding the acquisition of other sounds and interference with the channel configuration process.
[0045] According to the second aspect, or any implementation of the second aspect above, before sending the second sound intensity to the first electronic device, the method further includes: sending the first Bluetooth name of the second electronic device to the first electronic device. Sending the second sound intensity to the first electronic device includes: sending the second Bluetooth name of the second electronic device to the first electronic device; wherein, the second Bluetooth name is the Bluetooth name after editing the first Bluetooth name according to the second sound intensity.
[0046] According to the second aspect, or any implementation of the second aspect above, sending a second sound intensity to a first electronic device includes: sending a second Bluetooth name containing second sound intensity information to the first electronic device; wherein the second sound intensity information is used to indicate the second sound intensity.
[0047] According to the second aspect, or any implementation of the second aspect above, the first sound is generated by a second operation of the user, the second operation including one or more of the following: the user tapping the second electronic device with their knuckles, or the user making a sound at or near the second electronic device. Alternatively, the first sound is generated by the second electronic device playing audio.
[0048] For the technical effects of the second aspect and any of its implementation methods, please refer to the technical effects of the first aspect and any of its implementation methods mentioned above, which will not be repeated here.
[0049] Thirdly, a first electronic device is provided. The first electronic device includes: a processor and a memory, the memory being coupled to the processor, the memory storing computer program code including computer instructions, wherein when the processor reads the computer instructions from the memory, the first electronic device performs the following operations: receiving a first operation from a user; wherein the first operation triggers the first electronic device to perform channel configuration; determining a first sound intensity based on sound acquired by a first sound acquisition device of the first electronic device; determining a target channel in the channel to be configured of the first electronic device based on the first sound intensity; receiving at least one second sound intensity transmitted by one or more second electronic devices; determining a target device in the second electronic device based on the at least one second sound intensity; and matching the target channel and the target device.
[0050] According to the third aspect, determining the first sound intensity of the first sound based on the sound collected by the first sound acquisition device of the first electronic device includes: if the sound characteristics of the sound collected by the first sound acquisition device of the first electronic device meet the preset conditions, then determining the collected sound as the first sound and determining the first sound intensity of the first sound; wherein the sound characteristics include one or more of the following: frequency characteristics, amplitude characteristics, waveform characteristics, and duration characteristics.
[0051] According to the third aspect, or any implementation of the third aspect above, the first sound acquisition device includes M microphones, where M is a positive integer greater than or equal to 2; when the channel to be configured includes a first channel and a second channel, and the first channel or the second channel is a left channel or a right channel, the number of first sounds is 2, and the target device includes a first target device and a second target device, the first target device or the second target device being located to the left or right of the first electronic device. Determining the target channel in the channel to be configured of the first electronic device based on the first sound intensity includes: determining the channel to be configured as the first channel based on the first sound intensity of the first sound acquired by the M microphones for the first time. Determining the target device in the second electronic device based on at least one second sound intensity includes: determining the first target device in the second electronic device based on at least one second sound intensity received for the first time. Matching the target channel and the target device includes: matching the first channel and the first target device. Determining the target channel in the channel to be configured of the first electronic device based on the first sound intensity includes: determining the channel to be configured as the second channel based on the first sound intensity of the first sound acquired by the M microphones for the second time. Determining a target device in a second electronic device based on at least one second sound intensity includes: determining a second target device in the second electronic device based on at least one second sound intensity received a second time. Matching a target channel and a target device includes: matching a second channel and a second target device.
[0052] According to the third aspect, or any implementation of the third aspect above, the channels to be configured in the first electronic device include a left channel and a right channel; determining the target channel in the channels to be configured in the first electronic device according to the first sound intensity includes: determining that the first sound originates from the left or right side of the first electronic device based on the first sound intensity, and then determining the target channel as the left channel or the right channel. Determining the target device in the second electronic device according to at least one second sound intensity includes: determining the second electronic device corresponding to the second sound intensity with the larger sound intensity among the at least one second sound intensity as the target device.
[0053] According to the third aspect, or any implementation of the third aspect above, the first sound acquisition device includes M microphones, where M is a positive integer greater than or equal to 2. When the number of channels to be configured is greater than two, determining the target channels in the channels to be configured of the first electronic device based on the first sound intensity includes: determining a second number of target channels in the channels to be configured of the first electronic device based on a first number of first sound intensities; wherein the first number is M times the second number. Determining target devices in the second electronic device based on at least one second sound intensity includes: determining a second number of target devices in the second electronic device based on the second sound intensity corresponding to the first number of first sound intensities. Matching target channels and target devices includes: determining the correspondence between the second number of target channels and the second number of target devices based on the first number of first sound intensities. Matching the second number of target channels and the second number of target devices based on the correspondence.
[0054] According to the third aspect, or any implementation of the third aspect above, the channels to be configured in the first electronic device include a left front channel, a left rear channel, a right front channel, and a right rear channel; the number of first sounds is multiple. Determining the target channel among the channels to be configured in the first electronic device based on the first sound intensity includes: if the first sound intensity determines that it originates from the left side of the first electronic device, then the target channel is determined to be the left front channel or the left rear channel; or, if the first sound intensity determines that it originates from the right side of the first electronic device, then the target channel is determined to be the right front channel or the right rear channel. Determining the target device among the second electronic devices based on at least one second sound intensity includes: for each first sound, determining the second electronic device corresponding to the second sound intensity with the larger intensity among the second sound intensities corresponding to each first sound as a candidate target device; wherein the number of candidate target devices is equal to the number of first sounds. Among the first sound intensities corresponding to the first sound from the left side of the first electronic device, and among the first sound intensities corresponding to the same sound acquisition device, the candidate target device corresponding to the higher first sound intensity is determined as the target device corresponding to the left front channel, and the candidate target device corresponding to the lower first sound intensity is determined as the target device corresponding to the left rear channel. Similarly, among the first sound intensities corresponding to the first sound from the right side of the first electronic device, and among the first sound intensities corresponding to the same sound acquisition device, the candidate target device corresponding to the higher first sound intensity is determined as the target device corresponding to the right front channel, and the candidate target device corresponding to the lower first sound intensity is determined as the target device corresponding to the right rear channel.
[0055] According to the third aspect, or any implementation of the third aspect above, the sound source location of the first sound includes a first location of the target device, or a second location near the target device.
[0056] According to the third aspect, or any implementation thereof, when the processor reads the computer instructions from the memory, the first electronic device further causes the first electronic device to perform the following operations: acquiring a first Bluetooth name of the second electronic device; receiving at least one second sound intensity sent by one or more second electronic devices, including: acquiring a second Bluetooth name of the second electronic device. Determining at least one second sound intensity based on the addition of a suffix to the second Bluetooth name compared to the first Bluetooth name.
[0057] According to the third aspect, or any implementation thereof, receiving at least one second sound intensity transmitted by one or more second electronic devices includes: acquiring a second Bluetooth name of one or more second electronic devices; wherein the second Bluetooth name contains at least one second sound intensity information, the at least one second sound intensity information being used to indicate at least one second sound intensity. Based on the second Bluetooth name, determining at least one second sound intensity.
[0058] According to the third aspect, or any implementation of the third aspect above, the first sound is generated by a second operation of the user, the second operation including one or more of the following: the user tapping the target device with their knuckles, or the user making a sound at or near the target device. Alternatively, the first sound is generated by the target device playing audio.
[0059] According to the third aspect, or any implementation of the third aspect above, when the first sound is generated by the user's second operation, when the processor reads the computer instructions from the memory, it also causes the first electronic device to perform the following operation: prompt the user to perform the second operation.
[0060] According to the third aspect, or any implementation of the third aspect above, when the processor reads the computer instructions from the memory, it also causes the first electronic device to perform the following operation: prompting the user that the audio channel configuration has been completed.
[0061] For the technical effects of the third aspect and any of its implementation methods, please refer to the technical effects of the first aspect and any of its implementation methods mentioned above, which will not be repeated here.
[0062] Fourthly, an electronic device is provided. The electronic device includes a processor and a memory coupled to the processor. The memory stores computer program code, including computer instructions. When the processor reads the computer instructions from the memory, the first electronic device performs the following operations: determining a second sound intensity of a first sound based on sound acquired by a second sound acquisition device of a second electronic device; sending the second sound intensity to the first electronic device; receiving an audio file sent by the first electronic device. The audio file is sent by the first electronic device after determining a target channel matching the second electronic device based on the first and second sound intensities; the audio file corresponds to the target channel, the first sound intensity is the sound intensity of the first sound determined by the first electronic device, and the target channel is a channel in the channels to be configured by the first electronic device. Audio is played according to the audio file.
[0063] According to the fourth aspect, determining the second sound intensity of the first sound based on the sound collected by the second sound acquisition device of the second electronic device includes: if the sound characteristics of the sound collected by the second sound acquisition device of the second electronic device meet the preset conditions, then determining the collected sound as the first sound and determining the second sound intensity of the first sound; wherein the sound characteristics include one or more of the following: frequency characteristics, amplitude characteristics, waveform characteristics, and duration characteristics.
[0064] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads the computer instructions from the memory, it further causes the second electronic device to perform the following operations: sending a first Bluetooth name of the second electronic device to the first electronic device. Sending a second sound intensity to the first electronic device includes: sending a second Bluetooth name of the second electronic device to the first electronic device; wherein the second Bluetooth name is a Bluetooth name edited according to the second sound intensity after editing the first Bluetooth name.
[0065] According to the fourth aspect, or any implementation of the fourth aspect above, sending a second sound intensity to the first electronic device includes: sending a second Bluetooth name containing second sound intensity information to the first electronic device; wherein the second sound intensity information is used to indicate the second sound intensity.
[0066] According to the fourth aspect, or any implementation of the fourth aspect above, the first sound is generated by a second operation of the user, the second operation including one or more of the following: the user tapping the second electronic device with their knuckles, or the user making a sound at or near the second electronic device. Alternatively, the first sound is generated by the second electronic device playing audio.
[0067] For the technical effects of the fourth aspect and any of its implementation methods, please refer to the technical effects of the first aspect and any of its implementation methods mentioned above, which will not be repeated here.
[0068] Fifthly, embodiments of this application provide an electronic device that has the function of implementing the channel configuration method as described in the first aspect and any of its possible implementations; or, has the function of implementing the channel configuration method as described in the second aspect and any of its possible implementations. This function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described function.
[0069] The technical effects of the fifth aspect and any of its implementations can be found in the first aspect and any of its implementations, and will not be repeated here.
[0070] Sixthly, a channel configuration system is provided. The system includes: a first electronic device and one or more second electronic devices. The first electronic device is configured to: receive a first operation from a user; determine a first sound intensity of the first sound based on sound acquired by a first sound acquisition device of the first electronic device; and determine a target channel in the channel to be configured of the first electronic device based on the first sound intensity; wherein the first operation triggers the first electronic device to perform channel configuration. The second electronic device is configured to: determine a second sound intensity of the first sound based on sound acquired by a second sound acquisition device of the second electronic device; and send the second sound intensity to the first electronic device. The first electronic device is further configured to: receive at least one second sound intensity sent by one or more second electronic devices; determine a target device among the one or more second electronic devices based on the at least one second sound intensity; and match the target channel and the target device.
[0071] According to the sixth aspect, the first electronic device is specifically used for: if the sound characteristics of the sound collected by the first sound acquisition device of the first electronic device meet the preset conditions, then determining that the collected sound is the first sound, and determining the first sound intensity of the first sound; wherein, the sound characteristics include one or more of the following: frequency characteristics, amplitude characteristics, waveform characteristics, and duration characteristics.
[0072] According to the sixth aspect, or any implementation of the sixth aspect above, the second electronic device is specifically used for: if the sound characteristics of the sound collected by the second sound acquisition device of the second electronic device meet the preset conditions, then determining that the collected sound is the first sound, and determining the second sound intensity of the first sound; wherein, the sound characteristics include one or more of the following: frequency characteristics, amplitude characteristics, waveform characteristics, and duration characteristics.
[0073] According to the sixth aspect, or any implementation thereof, the audio channel to be configured in the first electronic device includes a left channel and a right channel; the first electronic device is specifically used to: determine whether the first sound originates from the left or right side of the first electronic device based on the first sound intensity, and then determine the target audio channel as the left channel or the right channel. The second electronic device corresponding to the second sound intensity with the larger intensity among at least one second sound intensity is determined as the target device.
[0074] According to the sixth aspect, or any implementation of the sixth aspect above, the channels to be configured in the first electronic device include a left front channel, a left rear channel, a right front channel, and a right rear channel; the number of first sounds is multiple. Specifically, the first electronic device is used to: determine that the first sound originates from the left side of the first electronic device based on the first sound intensity, and then determine the target channel as the left front channel or the left rear channel; or, determine that the first sound originates from the right side of the first electronic device based on the first sound intensity, and then determine the target channel as the right front channel or the right rear channel. For each first sound, the second electronic device corresponding to the second sound intensity with the larger sound intensity among the second sound intensities corresponding to each first sound is determined as a candidate target device; wherein the number of candidate target devices is equal to the number of first sounds. Among the first sound intensities corresponding to the first sound originating from the left side of the first electronic device, the candidate target device corresponding to the first sound intensity with the larger sound intensity corresponding to the same sound acquisition device is determined as the target device corresponding to the left front channel, and the candidate target device corresponding to the first sound intensity with the smaller sound intensity is determined as the target device corresponding to the left rear channel. Among the first sound intensities corresponding to the first sound from the right side of the first electronic device, and among the first sound intensities corresponding to the same sound acquisition device, the candidate target device corresponding to the first sound intensity with the larger sound intensity is determined as the target device corresponding to the right front channel, and the candidate target device corresponding to the first sound intensity with the smaller sound intensity is determined as the target device corresponding to the right rear channel.
[0075] According to the sixth aspect, or any implementation of the sixth aspect above, the sound-emitting position of the first sound includes a first position of the target device, or a second position near the target device.
[0076] According to the sixth aspect, or any implementation of the sixth aspect above, the first electronic device is further configured to: acquire the first Bluetooth name of the second electronic device. Specifically, the first electronic device is configured to: acquire the second Bluetooth name; and determine at least one second sound intensity based on the additional suffix added to the second Bluetooth name compared to the first Bluetooth name.
[0077] According to the sixth aspect, or any implementation of the sixth aspect above, the first electronic device is specifically used to: acquire a second Bluetooth name of one or more second electronic devices; wherein the second Bluetooth name contains at least one second sound intensity information, the at least one second sound intensity information being used to indicate at least one second sound intensity; and determine at least one second sound intensity based on the second Bluetooth name.
[0078] According to the sixth aspect, or any implementation of the sixth aspect above, the first sound is generated by a second operation of the user, the second operation including one or more of the following: the user tapping the target device with their knuckles, or the user making a sound at or near the target device. Alternatively, the first sound is generated by the target device playing audio.
[0079] According to the sixth aspect, or any implementation of the sixth aspect above, when the first sound is generated by the user's second operation, the first electronic device is further used to: prompt the user to perform the second operation.
[0080] According to the sixth aspect, or any implementation of the sixth aspect above, the first electronic device is further used to: prompt the user that the audio channel configuration has been completed.
[0081] The technical effects of the sixth aspect and any implementation thereof can be found in the first aspect and any implementation thereof, and will not be repeated here.
[0082] A seventh aspect provides a computer-readable storage medium. The computer-readable storage medium stores a computer program (also referred to as instructions or code) that, when executed by an electronic device, causes the electronic device to perform the method of the first aspect or any embodiment thereof; or causes the electronic device to perform the method of the second aspect or any embodiment thereof.
[0083] The technical effects of the seventh aspect and any implementation thereof can be found in the first aspect and any implementation thereof, and will not be repeated here.
[0084] Eighthly, embodiments of this application provide a computer program product that, when run on an electronic device, causes the electronic device to perform the method of the first aspect or any one of the embodiments of the first aspect; or causes the electronic device to perform the method of the second aspect or any one of the embodiments of the second aspect.
[0085] The technical effects of the eighth aspect and any implementation thereof can be found in the first aspect and any implementation thereof, and will not be repeated here.
[0086] Ninthly, embodiments of this application provide a circuit system including a processing circuit configured to perform the method of the first aspect or any embodiment of the first aspect; or, the processing circuit configured to perform the method of the second aspect or any embodiment of the second aspect.
[0087] The technical effects of the ninth aspect and any implementation thereof can be found in the first aspect and any implementation thereof, and will not be repeated here.
[0088] In a tenth aspect, embodiments of this application provide a chip system including at least one processor and at least one interface circuit. The at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor. When the at least one processor executes the instructions, the at least one processor performs the method of the first aspect or any one of the embodiments of the first aspect; or, when the at least one processor executes the instructions, the at least one processor performs the method of the second aspect or any one of the embodiments of the second aspect.
[0089] The technical effects of the tenth aspect and any of its implementations can be found in the first aspect and any of its implementations, and will not be repeated here. Attached Figure Description
[0090] Figure 1 A schematic diagram of a speaker system provided in an embodiment of this application;
[0091] Figure 2 A schematic diagram illustrating a channel configuration method provided in an embodiment of this application;
[0092] Figure 3A A schematic diagram of the hardware structure of the first electronic device provided in an embodiment of this application;
[0093] Figure 3B A schematic diagram showing the layout of the microphone of the first electronic device provided in an embodiment of this application;
[0094] Figure 4 Illustration of the application scenario for the channel configuration method provided in the embodiments of this application Figure 1 ;
[0095] Figure 5 The channel configuration method flow provided in the embodiments of this application Figure 1 ;
[0096] Figure 6 This is a schematic diagram of the interface provided for an embodiment of this application;
[0097] Figure 7 Illustration of the application scenario for the channel configuration method provided in the embodiments of this application Figure 2 ;
[0098] Figure 8 The channel configuration method flow provided in the embodiments of this application Figure 2 ;
[0099] Figure 9 Schematic diagram three illustrating the application scenario of the channel configuration method provided in this application embodiment;
[0100] Figure 10 Illustration of the application scenario for the channel configuration method provided in the embodiments of this application Figure 4 ;
[0101] Figure 11 A schematic diagram of the structure of the first electronic device provided in the embodiments of this application;
[0102] Figure 12 A schematic diagram of the structure of the second electronic device provided in an embodiment of this application. Detailed Implementation
[0103] The technical solutions of the embodiments of this application are described below with reference to the accompanying drawings. In the description of the embodiments of this application, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to be a limitation of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, “at least one” and “one or more” refer to one or more (including two).
[0104] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized. The term "connection" includes direct connections and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.
[0105] In the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.
[0106] In some scenarios, to achieve stereo sound, electronic devices (such as large-screen devices) need to connect to at least two wireless speakers. During sound playback, these two wireless speakers must work together as a speaker system. In this system, each wireless speaker corresponds to one channel, creating distinct audio playback effects from different locations, thus providing users with a better listening experience.
[0107] For example, such as Figure 1 As shown, electronic device 11 establishes a connection with two wireless speakers (such as left speaker 21 and right speaker 22). For example, left speaker 21, located on the left side of electronic device 11, is associated with the left channel of electronic device 11, and right speaker 22, located on the right side of electronic device 11, is associated with the right channel of electronic device 11. Left speaker 21 plays the left channel audio from an audio file, simulating the hearing range of the user's left ear to produce sound output. Right speaker 22 plays the right channel audio from an audio file, simulating the hearing range of the user's right ear to produce sound output. Thus, left speaker 21 and right speaker 22 form a two-channel stereo speaker system, capable of producing a stereo sound effect.
[0108] It can be seen that the premise for the speaker system to provide users with a more three-dimensional sound playback effect is to establish a correspondence between the wireless speakers and the different channels of the electronic devices, and to configure the different channels to the corresponding wireless speakers in order to output the sound of the corresponding channels.
[0109] In some embodiments, after detecting a user's channel configuration operation, the electronic device begins Bluetooth scanning, acquires and displays a list of scanned Bluetooth identity documents (IDs), and the user configures the channel to the corresponding speaker based on the Bluetooth ID. After detecting the user's confirmation of the Bluetooth ID selection, the electronic device establishes a Bluetooth connection with the speaker and establishes a mapping between the speaker and the corresponding channel. However, during initial speaker pairing, the speaker's Bluetooth ID is usually a default name, and the user may not be able to immediately establish a mapping between the Bluetooth ID and the corresponding speaker. For example, as... Figure 1In the scenario shown, a left speaker 21 to be paired is placed on the left side of electronic device 11, and a right speaker 22 to be paired is placed on the right side. Both left and right speakers 21 and 22 are powered on and Bluetooth is enabled, both in a pairing state. Electronic device 11 scans for nearby connectable Bluetooth devices and displays a list of Bluetooth IDs, including "Wireless Speaker 1" and "Wireless Speaker 2". The user cannot directly determine whether "Wireless Speaker 1" or "Wireless Speaker 2" is the Bluetooth ID of the left speaker 21 or the right speaker 22, thus preventing direct channel configuration. In this case, the user needs to first consult the speaker manual or the device information label on the bottom of the speaker to determine the Bluetooth IDs of the left and right speakers 21 and 22, and then follow the displayed steps to configure the channels, a rather cumbersome process. In some cases, the default name of the speaker Bluetooth ID is a long, random string of numbers and letters, requiring significant effort from the user to verify, which can easily lead to pairing errors. Furthermore, if the electronic device has many audio channels to be configured, the process becomes quite difficult for the user.
[0110] In other embodiments, after the speaker detects a user pressing a physical button on its screen, it sends a signal to the electronic device. The electronic device then highlights the speaker's Bluetooth ID in a displayed Bluetooth ID list, allowing the user to confirm the speaker's Bluetooth ID. Following this, in response to the user clicking the highlighted Bluetooth ID, the electronic device establishes a pairing relationship with the speaker and then needs to detect the user's channel configuration operation to configure the speaker's channels. However, it can be seen that this channel configuration method still relies on manual confirmation from the user, and the user performs multiple channel configuration operations on the display screen, which is cumbersome and reduces the user experience.
[0111] Based on this, this application provides a channel configuration method. After detecting the user's channel configuration operation, the electronic device can automatically configure the corresponding channel for each speaker according to the sound intensity collected by the electronic device itself and the sound intensity collected by each speaker to be configured, thereby reducing the difficulty of user operation and improving the user experience.
[0112] Figure 2 This is a schematic diagram illustrating a scenario for a channel configuration method provided in an embodiment of this application. Figure 2 As shown, the first electronic device 100 and the second electronic device 200 establish a communication connection. For example, the first electronic device 100 and the second electronic device 200 establish a wireless communication connection. The first electronic device 100 can send a sound to be played on the first electronic device 100 to the second electronic device 200 for playback via the wireless communication connection. The sound to be played can be an audio file.
[0113] For example, the first electronic device 100 may include, but is not limited to, large-screen display devices (such as smart screens, large-screen devices, etc.), laptops, smartphones, tablets, projection devices, laptops, personal digital assistants (PDAs), in-vehicle devices, artificial intelligence (AI) devices, wearable devices (such as smartwatches, etc.), etc. The operating system installed on the first electronic device 100 may include, but is not limited to, […]. Alternatively, it can use another operating system. The first electronic device 100 may also not have an operating system installed. In some embodiments, the first electronic device 100 may be a fixed device or a portable device. This application does not limit the specific type of the first electronic device 100 or the operating system installed on it.
[0114] For example, the second electronic device 200 may be, but is not limited to, electronic devices with sound playback capabilities such as speakers or wireless speakers. The second electronic device 200 may have an operating system installed. The operating system installed on the second electronic device 200 may include, but is not limited to, […]. Alternatively, it may use another operating system. The second electronic device 200 may also not have an operating system installed. This application does not limit the specific type of the second electronic device 200, whether it has an operating system installed, or the type of operating system if it does have an operating system installed.
[0115] The first electronic device 100 can establish a wireless communication connection with the second electronic device 200 through wireless communication technology. The wireless communication technology includes, but is not limited to, at least one of the following: Bluetooth (BT) (e.g., classic Bluetooth or Bluetooth Low Energy (BLE) Bluetooth), wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), near-field communication (NFC), Zigbee, frequency modulation (FM), etc.
[0116] In some embodiments, both the first electronic device 100 and the second electronic device 200 support proximity detection. For example, after the first electronic device 100 approaches the second electronic device 200, the first electronic device 100 and the second electronic device 200 can discover each other and then establish a wireless communication connection, such as a Bluetooth connection or a Wi-Fi peer-to-peer (P2P) connection. Subsequently, a correspondence is established between the audio channels of the second electronic device 200 and the first electronic device 100, enabling the first electronic device 100 to play audio.
[0117] In some embodiments, the first electronic device 100 and the second electronic device 200 establish a wireless communication connection via a local area network. For example, both the first electronic device 100 and the second electronic device 200 are connected to the same router.
[0118] It should be noted that the number of second electronic devices 200 is one or more, and one or more second electronic devices 200 constitute the speaker system of the first electronic device 100. The speaker system may include mono, stereo, quasi-stereo, four-channel surround, 5.1-channel, 7.1-channel, etc. For example, a stereo speaker system includes two speakers, corresponding to the left and right channels of the first electronic device 100, respectively. A four-channel surround speaker system includes four speakers, corresponding to the front left channel, rear left channel, front right channel, and rear right channel of the first electronic device 100, respectively. A 5.1-channel speaker system includes six speakers, corresponding to the left channel, right channel, center channel, left surround channel, right surround channel, and subwoofer channel of the first electronic device 100, respectively.
[0119] Figure 3A A schematic diagram of the structure of the first electronic device 100 is shown.
[0120] The first electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a power management module 140, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, buttons 190, an indicator 191, a camera 192, and a display screen 193, etc.
[0121] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the first electronic device 100. In other embodiments of this application, the first electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0122] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0123] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0124] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0125] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0126] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C buses. The processor 110 can couple to a touch sensor, charger, flash, camera 192, etc., through different I2C bus interfaces. For example, the processor 110 can couple to a touch sensor through the I2C interface, enabling the processor 110 and the touch sensor to communicate through the I2C bus interface, thereby realizing the touch function of the first electronic device 100.
[0127] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 193 and the camera 192. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 192 communicate via the CSI interface to realize the shooting function of the first electronic device 100. The processor 110 and the display screen 193 communicate via the DSI interface to realize the display function of the first electronic device 100.
[0128] USB interface 130 is an interface compliant with the USB standard specification, specifically a Mini USB interface, Micro USB interface, USB Type-C interface, etc. USB interface 130 can be used for data transfer between the first electronic device 100 and peripheral devices. It can also be used to connect other electronic devices, such as AR devices.
[0129] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the first electronic device 100. In other embodiments of this application, the first electronic device 100 may also adopt different interface connection methods or a combination of multiple interface connection methods as described in the above embodiments.
[0130] The power management module 140 is used to supply power to modules such as the processor 110 included in the first electronic device 100. In some embodiments, the power management module 140 can be used to receive power input to support the operation of the first electronic device 100.
[0131] The wireless communication function of the first electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.
[0132] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the first electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0133] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the first electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0134] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device or displays an image or video through the display screen 193. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0135] The wireless communication module 160 can provide solutions for wireless communication applications on the first electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0136] In some embodiments, antenna 1 of the first electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling the first electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0137] The first electronic device 100 implements display functions through a GPU, a display screen 193, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 193 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0138] The display screen 193 is used to display images, videos, etc. The display screen 193 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the first electronic device 100 may include one or N display screens 193, where N is a positive integer greater than 1.
[0139] Camera 192 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the first electronic device 100 may include one or N cameras 192, where N is a positive integer greater than 1.
[0140] The external storage interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the first electronic device 100. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.
[0141] Internal memory 121 can be used to store computer executable program code, which includes instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the first electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of the first electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory disposed in the processor.
[0142] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110. The first electronic device 100 can implement audio functions through the audio module 170 and the application processor, such as music playback and recording. The audio module 170 may include, for example, a speaker, a receiver, and a microphone.
[0143] The microphone, also known as a "microphone" or "voice transducer," is used to convert sound signals into analog audio electrical signals. The first electronic device 100 can collect ambient sound signals through the microphone. The microphone can be a built-in component of the first electronic device 100 or an external accessory.
[0144] In some embodiments, the first electronic device 100 may include one or more microphones, wherein each or more microphones cooperate to acquire sound signals from various directions and convert the acquired sound signals into analog audio electrical signals, and may also perform noise reduction, sound source identification, or directional recording functions, etc.
[0145] For example, such as Figure 3B As shown, an exemplary layout of multiple microphones on a first electronic device 100 is illustrated. Figure 3BAs shown, when the first electronic device 100 is placed in the position indicated in the figure, the front of the first electronic device 100 is the plane where the display screen 193 is located. The microphone 31 is located slightly to the left of the top of the first electronic device 100 (usually on the side where the display screen is located), and the microphone 32 is located slightly to the right of the top of the first electronic device 100. Furthermore, the microphones 31 and 32 can also be symmetrical about left and right with respect to the central axis of the display screen of the first electronic device 100.
[0146] It should be noted that the terms "up," "down," "left," and "right" described in subsequent embodiments refer to... Figure 3B The directions shown will not be elaborated further.
[0147] In some embodiments, the first electronic device 100 can determine the positional relationship between itself and other devices based on sound signals from other devices collected by multiple microphones within the first electronic device 100. Taking a speaker as an example, the multiple microphones in the first electronic device 100 are installed at different locations within the first electronic device 100, thus each microphone is at a different distance from the speaker. The first electronic device 100 can collect sound signals emitted by the speaker through each microphone. The closer the microphone is to the speaker, the greater the sound intensity collected. Therefore, the first electronic device 100 can use the sound intensity to determine the positional relationship between the speaker and itself, and then configure the audio channels. For example, assuming speaker A emits a sound signal, the audio channels to be configured by the first electronic device 100 include the left channel and the right channel. Figure 3B As shown, microphone 31 collects a sound intensity of 100 dB from the sound signal emitted by speaker A, while microphone 32 collects a sound intensity of 90 dB. Therefore, the first electronic device 100 can determine that speaker A is closer to microphone 31 based on the sound intensities of the sound signals emitted by speaker A collected by microphones 31 and 32 respectively. Furthermore, based on the positions of microphone 31 (located slightly to the left) and microphone 32 (located slightly to the right) within the first electronic device 100, the first electronic device 100 determines that the sound signal originates from the left side of the electronic device, and thus determines that the channel to be configured is the left channel.
[0148] In some embodiments, the first electronic device 100 may further include a greater number of microphones. These microphones may be directional microphones, capable of acquiring sound signals in a specific direction. Alternatively, they may be non-directional microphones, enabling the acquisition of sound signals from all directions, or capable of acquiring sound signals within a certain range based on their position on the first electronic device 100.
[0149] This application does not impose a specific limit on the number of microphones.
[0150] The sensor module 180 may include a pressure sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, etc.
[0151] A pressure sensor is used to sense pressure signals and converts them into electrical signals. In some embodiments, the pressure sensor may be disposed on the display screen 193. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor, the capacitance between the electrodes changes. The first electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation is applied to the display screen 193, the first electronic device 100 detects the intensity of the touch operation based on the pressure sensor. The first electronic device 100 may also calculate the touch location based on the detection signal from the pressure sensor.
[0152] A touch sensor, also known as a "touch device," can be located on the display screen 193. The touch sensor and the display screen 193 together form a touchscreen, also known as a "touchscreen." The touch sensor detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 193. In some embodiments, the touch sensor may also be located on the surface of the first electronic device 100, in a different position than the display screen 193.
[0153] In some embodiments, the first electronic device 100 displays a speaker pairing confirmation interface on the display screen 193. After detecting that the user clicks to start the pairing operation through the touch sensor or receives the control command from the remote control through the wireless communication module 160, it automatically establishes a correspondence between the speaker and the corresponding channel and completes the channel configuration.
[0154] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. The first electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of the first electronic device 100.
[0155] Indicator 191 can be an indicator light, used to indicate power status, or to indicate messages, notifications, etc.
[0156] For ease of explanation, the following embodiments all use the first electronic device 100 as a large-screen device and the second electronic device 200 as a wireless speaker as examples. Those skilled in the art should understand that, unless otherwise specified, other electronic devices, single second electronic devices, multiple second electronic devices, and various forms or combinations thereof are also within the scope of the embodiments of this application.
[0157] In some embodiments, configuring the audio channels on a large-screen device requires establishing a correspondence between the wireless speaker in the corresponding location and the corresponding audio channel. For example, ... Figure 4 The scenario shown includes a large-screen device 100 and a wireless speaker 200, where the wireless speaker 200 includes speaker A and speaker B. Assuming the large-screen device 100 needs to configure two audio channels, a left channel and a right channel, the large-screen device 100 needs to establish a correspondence between speaker A (located on the left side of the large-screen device 100) and the left channel, and between speaker B (located on the right side of the large-screen device 100) and the right channel.
[0158] For example, a user can emit sound at or near the location of the wireless speaker 200. The large-screen device detects the sound and determines the channel to be configured for the wireless speaker at that location based on the sound intensity. Figure 4 As shown, when a user taps speaker A with their knuckles, the large-screen device 100 collects the tapping sound through microphones 31 and 32, determining the sound intensity of each microphone. For example, sound waveform 42 represents the sound intensity of the tapping sound collected by microphone 31, and sound waveform 43 represents the sound intensity of the tapping sound collected by microphone 32. Since microphone 31 is located on the left side, closer to speaker A, the sound intensity of the tapping sound collected by microphone 31 should be greater than that collected by microphone 32, such as the signal amplitude of sound waveform 42 being greater than the signal amplitude of sound waveform 43. Based on the sound intensity of the tapping sound collected by its own microphones, the large-screen device 100 determines that the current sound source is on the left side of the device and establishes a correspondence between the wireless speaker at that location and the left channel. Afterward, the large-screen device 100 needs to determine which of the two wireless speakers, speaker A and speaker B, is at the current sound source location.
[0159] like Figure 4As shown, during the process of a user tapping speaker A with their knuckles, wireless speakers 200 can also collect the tapping sound through their respective microphones. For example, sound waveform 41 represents the sound intensity of the tapping sound collected by speaker A through its microphone, and sound waveform 44 represents the sound intensity of the tapping sound collected by speaker B through its microphone. When a user taps speaker A with their knuckles, it can be understood that speaker A is the wireless speaker at the sound source. Speaker A is closer to the sound source than speaker B, therefore the sound intensity of the tapping sound collected by speaker A should be greater than that collected by speaker B. Speakers A and B send the sound intensities of their respective tapping sounds to the large-screen device 100, which then receives the sound intensity of the tapping sounds collected by the wireless speakers 200. Therefore, the large-screen device 100 can determine whether the wireless speaker to be paired is speaker A or speaker B in the wireless speaker 200 based on the sound intensity of the tapping sound collected by the wireless speaker 200. If the large-screen device 100 determines that the sound intensity of the tapping sound collected by speaker A is greater, such as the signal amplitude of sound waveform 41 being greater than the signal amplitude of sound waveform 44, then the wireless speaker at the current sound source location is determined to be speaker A. Thus, the large-screen device 100 establishes a correspondence between speaker A and the left channel, completing the configuration of the left channel.
[0160] Correspondingly, users can also tap speaker B with their knuckles. The large screen device 100 and the wireless speaker 200 repeat the above steps, so that the large screen device 100 can automatically complete the configuration of the right channel based on the sound intensity of the tapping sound received by the large screen device 100's own microphone and the sound intensity of the tapping sound received by the wireless speaker 200.
[0161] In this way, users can configure the audio channels of large-screen devices with just simple tapping actions. The operation steps are simple, the audio channel configuration is highly efficient, and it can effectively improve the user experience.
[0162] It's important to note that the sound intensity of any sound emitted by the user at or near the wireless speaker should be uniform and similar. For example, if the sound is a tapping sound from the wireless speaker, the user should use the same or similar force to tap each speaker, ensuring similar sound intensities and avoiding channel configuration errors caused by significant differences in sound intensity. Furthermore, the pickup performance of each wireless speaker should be identical or similar to avoid channel configuration errors caused by significant differences in pickup performance. This will not be elaborated further below.
[0163] The following is a detailed description of the channel configuration method provided in the embodiments of this application.
[0164] For example, Figure 5 This is a schematic diagram illustrating a channel configuration method provided in an embodiment of this application. Figure 5 As shown, the method may include S501-S508:
[0165] S501: The large-screen device detects the user's audio channel configuration operation and confirms that audio channel configuration will begin.
[0166] The channel configuration operations include, for example, user touch operations on the display screen (such as clicking the OK button to start the channel configuration control), voice operations to indicate channel configuration, operations to input channel configuration commands through physical buttons on the large screen device, and operations to input channel configuration commands through a remote control.
[0167] In some embodiments, after detecting a channel configuration operation, the large-screen device determines that channel configuration is required and therefore needs to pair with a wireless speaker, establishing a pairing relationship such as Bluetooth or Wi-Fi. Based on this pairing relationship, the large-screen device's channels are then configured to the corresponding wireless speaker, enabling subsequent sound playback from the large-screen device using the configured wireless speaker. Therefore, after detecting the channel configuration operation, the large-screen device begins scanning for devices to be paired. Then, through the following steps, it establishes a correspondence between the channels and some or all of the devices to be paired, thus completing the channel configuration.
[0168] For example, such as Figure 6 In the interface 601 shown in (a), during the display of the settings menu 61, the large-screen device detects that the user clicks on the sound settings control 611 displayed on the settings menu 61, and then displays as shown in (a). Figure 6 Interface 602 is shown in (b). If the large screen device determines that the current audio channel needs to be configured, a prompt box 62 is displayed on interface 602 to prompt the user to confirm whether to start the audio channel configuration. If the user clicks the start control 621, it is determined that the current user needs to configure the audio channel of the large screen device, establish a pairing connection between the large screen device and the wireless speaker, and configure the audio channel to the corresponding wireless speaker.
[0169] In some embodiments, after detecting a user's channel configuration operation, the large-screen device also needs to determine the number of channels to be configured in order to subsequently determine the data of the wireless speakers to be detected and paired. For example, if the large-screen device determines that the channels to be configured include the left and right channels, then it only needs to detect two wireless speakers and pair them. Or, if the large-screen device determines that it is a 5.1 channel device, then it needs to complete the pairing of six wireless speakers before the channel configuration can be completed.
[0170] S502: Large-screen devices obtain the Bluetooth ID of the wireless speaker.
[0171] In some embodiments, after the large-screen device enables Bluetooth, it can scan for nearby devices that have Bluetooth enabled and are in a pairing-ready state to obtain the device's Bluetooth ID. For example, during Bluetooth scanning, the large-screen device can obtain a list of Bluetooth IDs, including the Bluetooth IDs of wireless speakers.
[0172] It should be noted that the execution order of steps S501 and S502 is not limited in this embodiment. For example, when the large-screen device has Bluetooth enabled, it can start scanning for Bluetooth devices even before detecting any user's audio channel configuration operation. Alternatively, the large-screen device can start scanning for Bluetooth devices only after confirming that a user's audio channel configuration operation has been detected.
[0173] S503, large-screen devices collect sound and determine the first sound intensity.
[0174] In some embodiments, the first sound intensity includes, for example, the sound intensity of the sound corresponding to the location of the wireless speaker, which is collected by the large-screen device through its own microphone. For instance, after determining that channel configuration needs to begin, the large-screen device picks up sound through its microphone and determines the first sound intensity of the picked-up sound. The number of first sound intensities is one or more, corresponding to the number of microphones configured on the large-screen device. For example, if the large-screen device itself contains two microphones, then these two microphones respectively collect the sound intensity corresponding to the location of the wireless speaker, and the large-screen device obtains two first sound intensities.
[0175] In some embodiments, if the large-screen device determines that the sound features of the collected sound meet preset conditions, it determines that the collected sound is the sound used to configure the audio channels, and then determines the first sound intensity of the sound. The sound features include, for example, one or more of the following: frequency features, amplitude features, waveform features, and duration features.
[0176] For example, the frequency of the sound produced by human knuckles tapping a speaker is generally (800-1200) Hz. When the large-screen device picks up sound within this frequency range, it acquires the corresponding sound intensity. Further, optionally, the large-screen device can determine whether the characteristics of the picked-up frequency range match the characteristics of the sound produced by human knuckles tapping a speaker (e.g., the sound waveform has one or more peaks). If a match is found, the large-screen device determines that the picked-up sound within that frequency range is indeed the sound of human knuckles tapping a speaker, confirming that the sound is indeed the sound produced by the user tapping the speaker with their knuckles to configure the large-screen device's audio channels, and not interfering sounds such as human voices, music, or ambient noise.
[0177] like Figure 4In the scenario shown, after configuring the audio channels on the large-screen device 100, the user can tap the wireless speaker 200 with their knuckles to help the large-screen device 100 determine the position of the wireless speaker 200 relative to the large-screen device 100. For example, as... Figure 4 As shown, when a user taps speaker A with their knuckles, producing a tapping sound, the large-screen device 100 uses microphones 31 and 32 to pick up the sound. The large-screen device 100 then determines the first sound intensity corresponding to the sound picked up by microphones 31 and 32. If the first sound intensity corresponding to the sound picked up by microphone 31 is greater than the first sound intensity corresponding to the sound picked up by microphone 32, the large-screen device 100 determines that the wireless speaker 200 being tapped by the user's knuckle is located on the left side of the large-screen device; if the first sound intensity corresponding to the sound picked up by microphone 32 is greater than the first sound intensity corresponding to the sound picked up by microphone 31, the large-screen device 100 determines that the wireless speaker 200 being tapped by the user's knuckle is located on the right side of the large-screen device; if the first sound intensity corresponding to the sound picked up by microphone 31 and the first sound intensity corresponding to the sound picked up by microphone 32 are very close, the large-screen device 100 determines that the wireless speaker 200 being tapped by the user's knuckle is located near the central axis of the large-screen device.
[0178] In some embodiments, the sound corresponding to the location of the wireless speaker may further include sounds generated by a user tapping the wireless speaker, sounds generated by a user snapping their fingers, clapping, or coughing near the wireless speaker, and sounds generated at or near the location of the wireless speaker, such as audio played by the wireless speaker. Here, "near the wireless speaker" indicates that the sound generation location is near the wireless speaker location, such as when the distance between the sound generation location and the wireless speaker location is less than or equal to a preset threshold. For example, in... Figure 4 In the scenario shown, the user can tap speaker A with their knuckles, or they can create sound from a position close to speaker A and far away from speaker B.
[0179] In some embodiments, the electronic device acquires sound within a preset time after detecting a user's channel configuration operation, and determines a first sound intensity. If no sound is acquired within the preset time, channel configuration is stopped. For example, if the preset time is 5 minutes, the electronic device detects sound with a frequency range of (800-1200) Hz within 5 minutes after detecting the user's channel configuration operation. If sound within this frequency range is detected within 5 minutes, the first sound intensity is determined; if no sound within this frequency range is detected within 5 minutes, channel configuration is stopped.
[0180] S504: The wireless speaker collects sound, determines the second sound intensity, and uses the second sound intensity to edit the Bluetooth ID.
[0181] In some embodiments, if the wireless speaker has not established a pairing connection with other electronic devices, the wireless speaker is in an unpaired state. When the wireless speaker is in an unpaired state, if the sound characteristics of the collected sound meet preset conditions, the collected sound is determined to be the sound used for pairing. Then, the wireless speaker determines a second sound intensity of the sound and uses the second sound intensity to edit a Bluetooth ID for pairing. The sound characteristics include, for example, one or more of the following: frequency characteristics, amplitude characteristics, waveform characteristics, and duration characteristics.
[0182] In some embodiments, the second sound intensity includes, for example, the sound intensity of the sound at the location of the wireless speaker detected by the microphone of the wireless speaker itself. The number of second sound intensities is one or more, corresponding to the number of wireless speakers to be paired. For example, if there are two wireless speakers to be paired, and each of these two wireless speakers collects the sound intensity at its respective location, then the number of second sound intensities is two.
[0183] For example, such as Figure 4 In the scenario shown, after a user taps speaker A with their knuckle, the microphone in the large-screen device 100 can pick up the tapping sound. The wireless speaker 200, which also typically contains a microphone, can also pick up the tapping sound. For example, both speaker A and speaker B can pick up the sound produced by the user's knuckle tapping speaker A and determine the sound intensity. Then, speaker A and speaker B each send their determined sound intensity to the large-screen device 100. For instance, after determining the sound intensity, speaker A and speaker B edit their respective Bluetooth IDs using the sound intensity as a Bluetooth ID suffix. In this way, during the scanning of Bluetooth devices, the large-screen device can identify Bluetooth devices with changed Bluetooth ID suffixes and determine the second sound intensity of the sound picked up by the corresponding wireless speaker 200 based on the changed Bluetooth ID suffix.
[0184] It should be understood that, in addition to editing the Bluetooth ID by using sound intensity as a suffix, wireless speakers can also edit the Bluetooth ID by using sound intensity as a prefix, inserting characters in the middle of the Bluetooth ID, etc. Alternatively, wireless speakers can also edit other fields in the Bluetooth protocol instead of the Bluetooth ID.
[0185] The S505 wireless speaker sends an edited Bluetooth ID to the large-screen device.
[0186] In some embodiments, after the wireless speaker edits the Bluetooth ID based on the second sound intensity, the large-screen device can obtain the edited Bluetooth ID from the wireless speaker while scanning nearby devices that have Bluetooth enabled and are in a pairing-ready state. This enables the wireless speaker to send the edited Bluetooth ID to the large-screen device.
[0187] S506: Large-screen devices determine the second sound intensity based on the Bluetooth ID.
[0188] In some embodiments, during Bluetooth scanning, if the large-screen device detects that some or all of the Bluetooth ID suffixes in the scanned Bluetooth ID list have changed, it identifies the Bluetooth device with the changed Bluetooth ID suffix as the wireless speaker to be paired and obtains the corresponding second sound intensity. A change in the Bluetooth ID suffix includes, for example, the changed Bluetooth ID having an added suffix compared to the original Bluetooth ID. For instance, if the original Bluetooth ID had no suffix, the changed Bluetooth ID has an added suffix; or, if the original Bluetooth ID had a suffix, the changed Bluetooth ID has yet another added suffix. The large-screen device determines the corresponding device identity based on the unchanged portion of the Bluetooth ID (i.e., determines that the devices corresponding to the Bluetooth IDs with changed suffixes are the same device), and determines the second sound intensity as the portion of the Bluetooth ID with the added suffix.
[0189] For example, as shown in Table 1 below, assuming that in... Figure 4 In the scenario shown, assume that the original Bluetooth ID of speaker A (i.e., the Bluetooth ID of speaker A before determining the second sound intensity) is XXX, and the original Bluetooth ID of speaker B (i.e., the Bluetooth ID of speaker B before determining the second sound intensity) is XXXX. During the Bluetooth scanning process, the large-screen device 100 determines if speaker A's Bluetooth ID has a newly added suffix. For example, if speaker A's Bluetooth ID changes from XXX to XXX-120, adding the suffix 120, then the sound intensity collected by speaker A is determined to be 120dB. Similarly, it determines if speaker B's Bluetooth ID has a newly added suffix. For example, if speaker B's Bluetooth ID changes from XXXX to XXXX-60, adding the suffix 60, then the sound intensity collected by speaker B is determined to be 60dB.
[0190] Table 1
[0191] Bluetooth devices Original Bluetooth ID Edited Bluetooth ID Speaker A XXX XXX-120 Speaker B XXXX XXXX-60 Equipment 1 123 123 Equipment 2 13235 13235 Equipment 3 75369 75369
[0192] In some embodiments, the electronic device receives the second sound intensity within a preset time after sound acquisition, that is, performs steps S505 and S506 within a preset time after executing step S503. If the second sound intensity is not received within the preset time, channel configuration is stopped. For example, if the preset time is 10 minutes, the electronic device detects devices with changing Bluetooth IDs within 10 minutes after sound acquisition and determines the second sound intensity. If a device with a changing Bluetooth ID is detected within 10 minutes, the second sound intensity is determined; if no device with a changing Bluetooth ID is detected within 10 minutes, channel configuration is stopped.
[0193] In some implementations, if the wireless speaker edits other fields in the Bluetooth protocol instead of the Bluetooth ID in step S504, then step S505 is for the wireless speaker to send the edited Bluetooth protocol field to the large screen device, and step S506 is for the large screen device to determine the second sound intensity based on the Bluetooth protocol field.
[0194] In some implementations, in step S504 above, the wireless speaker edits the Bluetooth ID according to preset rules, carrying information about the second sound intensity within the Bluetooth ID. Then, in step S506, the large-screen device, while scanning for devices to be paired, can determine the edited Bluetooth ID that meets the preset rules. Subsequently, the large-screen device parses the edited Bluetooth ID according to the preset rules and can obtain the second sound intensity (e.g., by retrieving it from a preset field). That is, the large-screen device no longer needs to determine the changed Bluetooth ID based on the previously scanned list of Bluetooth IDs and then determine the second sound intensity based on the changed portion.
[0195] In some scenarios, after determining the sound intensity, the wireless speaker can directly send the sound intensity to the large-screen device. For example, if the wireless speaker and the large-screen device are connected to the same wireless network, the wireless speaker can directly send the sound intensity to the large-screen device via Wi-Fi. Based on this, the large-screen device and the wireless speaker do not need to perform the above steps S502 and S505, and in step S504, the wireless speaker does not need to edit the Bluetooth ID.
[0196] It should be noted that the embodiments of this application do not limit the execution order of steps S503 and S504-S506. For example, the large-screen device first collects sound, determines the first sound intensity, and then receives the Bluetooth ID sent by the wireless speaker to determine the second sound intensity (i.e., step S503 is executed first, and then steps S504-S506 are executed). Another example is that the large-screen device first receives the Bluetooth ID sent by the wireless speaker to determine the second sound intensity, and then collects sound to determine the first sound intensity (i.e., steps S504-S506 are executed first, and then step S503 is executed). Yet another example is that the large-screen device collects sound, determines the first sound intensity, and simultaneously receives the Bluetooth ID sent by the wireless speaker to determine the second sound intensity (i.e., step S503 is executed in parallel with steps S504-S506).
[0197] S507: The large-screen device determines the correspondence between the wireless speaker and the sound channel based on the first sound intensity and the second sound intensity.
[0198] In some implementations, after obtaining the first sound intensity, the large-screen device can roughly determine the channel to be configured based on the first sound intensity.
[0199] For example, such as Figure 4 In the scenario shown, assuming the channel to be configured includes a left channel and a right channel, the sound intensity of the sound collected by microphone 31 is 100dB, and the sound intensity of the sound collected by microphone 32 is 90dB. If the large screen device 100 determines that the sound intensity collected by microphone 31 located on the left side of the large screen device 100 is greater than the sound intensity collected by microphone 32 located on the right side of the large screen device 100 (i.e., 100dB > 90dB), then the large screen device 100 determines that the collected sound comes from the left side of the large screen device, and thus determines that the channel to be configured is the left channel.
[0200] In some implementations, after roughly determining the channel to be configured, the large-screen device can determine which wireless speaker is at the sound source location based on the second sound intensity, thereby establishing a correspondence between the wireless speaker at the sound source location and the channel to be paired.
[0201] For example, such as Figure 4 As shown in Table 1 above, in the scenario described, the large screen device 100 determines that the second sound intensity of speaker A is greater than that of speaker B (i.e., 120dB > 60dB) based on the edited Bluetooth ID suffix. Therefore, it determines that the wireless speaker at the sound source is speaker A, and further determines that speaker A has a corresponding relationship with the left channel, and the left channel needs to be configured to speaker A.
[0202] The S508 wireless speaker is paired with the large-screen device, and the audio channels are configured.
[0203] In some embodiments, after determining the correspondence between a wireless speaker and a channel, the large-screen device sends a pairing request to the corresponding wireless speaker. Correspondingly, the wireless speaker sends a pairing response, and the large-screen device, based on the pairing response, completes pairing with the wireless speaker, establishing a pairing relationship such as Bluetooth or Wi-Fi, and configures the determined channel to be configured to the wireless speaker. Here, configuring the channel to be configured to the wireless speaker indicates establishing a correspondence between the channel to be configured and the wireless speaker, and subsequently using the wireless speaker to play the sound of the corresponding channel. Optionally, configuring the channel to be configured to the wireless speaker can also be described as configuring the wireless speaker to the channel to be configured.
[0204] For example, in such Figure 4 In the scenario shown, the left channel configuration is completed through steps S501-S508. Afterwards, the large-screen device can repeat steps S503-S508 to detect the sound intensity of the user's knuckles striking speaker B, establish a pairing relationship with speaker B, and complete the right channel configuration.
[0205] Corresponding to Figure 4 The scenario shown is as follows: Figure 7As shown, when a user taps speaker B with their knuckles, the first sound intensity detected by microphone 31 of the large-screen device 100 is 90dB, and the first sound intensity detected by microphone 32 is 100dB. The large-screen device 100 determines that the sound intensity detected by microphone 32 on the right side of the large-screen device 100 is greater than the sound intensity detected by microphone 31 on the left side (i.e., 100dB > 90dB), and therefore determines that the channel to be configured is the right channel. Based on the detected Bluetooth ID of speaker A (e.g., XXX-60), the large-screen device 100 determines that the second sound intensity detected by speaker A is 60dB; based on the detected Bluetooth ID of speaker B (e.g., XXXX-120), it determines that the second sound intensity detected by speaker B is 120dB. Therefore, since the wireless speaker at the sound source is determined to be speaker B (i.e., 120dB > 60dB), a correspondence is established between speaker B and the right channel. The large screen device 100 establishes a pairing relationship with speaker B and configures the right channel to speaker B to complete the right channel configuration.
[0206] In other embodiments, the steps of establishing a pairing relationship between the large-screen device and the wireless speaker, and configuring the channels of the wireless speaker by the large-screen device, can be performed in the same step or separately in different steps. For example, as described in step S508 above, after the large-screen device determines the channel to be configured and the corresponding wireless speaker to be paired, it can pair with the wireless speaker and complete the configuration of the channel to be configured, that is, the step of establishing a pairing relationship and the step of configuring the channel are executed synchronously. As another example, after determining the second sound intensity in step S506 above, the large-screen device can determine the wireless speaker corresponding to the strongest second sound intensity. Then, the large-screen device can directly establish a pairing relationship with the wireless speaker. Therefore, in step S508 above, based on the already established pairing relationship, the large-screen device only needs to complete the channel configuration and does not need to perform pairing again. That is, the step of establishing a pairing relationship and the step of configuring the channel are executed separately.
[0207] In some embodiments, after the large-screen device completes the channel configuration, it can invoke the audio management module to identify the configured channels. This identification indicates the correspondence between the channels and the wireless speakers. Then, during sound playback, the audio management module can send single-source audio from different channels to the corresponding wireless speakers for playback based on the identification. For example, ... Figure 4 In the scenario shown, the large-screen device 100 calls the audio management module to play sound. Based on the identifier, the audio management module sends the source audio corresponding to the left channel to speaker A for playback. The audio file to be played by the large-screen device should contain multiple audio sources, with each source corresponding to one channel. By using different channels to play the corresponding source audio, a stereo sound effect can be achieved.
[0208] It should be noted that, in the above Figure 5 In the steps shown, after performing the channel configuration operation, the user can begin to produce sound by tapping the corresponding position on the wireless speaker with their knuckles or other means. This embodiment of the application does not specifically limit the order or duration of user operations during this process. For example, as... Figure 4 and Figure 7 In the scenario shown, the user can tap speaker A first, then tap speaker B; or tap speaker B first, then tap speaker A. Alternatively, the user can tap speaker A twice and speaker B five times; or the user can tap speaker B twice and speaker A five times.
[0209] Thus, the channel configuration method provided in this application allows the large-screen device to automatically complete the channel configuration in response to the user's channel configuration operation. During the channel configuration process, the user only needs to perform simple operations such as tapping the wireless speaker, without needing to confirm the wireless speaker name or perform any further operations on the large-screen device's display screen. This effectively simplifies the user's operation during the channel configuration process and improves the user experience.
[0210] In some implementations, after the large-screen device has completed the audio channel configuration, it can also display a prompt message or play a voice prompt to inform the user that the audio channel configuration is complete and ready for use. Alternatively, the large-screen device can display a prompt message or play a voice prompt after configuring each audio channel to demonstrate the audio channel configuration process to the user.
[0211] In some embodiments, after detecting a user's channel configuration operation, the large-screen device may also display operation guidance information to instruct the user to tap each of the wireless speakers to be paired. The operation guidance information may include text, images, animations, and / or videos.
[0212] In some scenarios, if the large-screen device determines that there is only one channel to be configured, then step S503 above is unnecessary; that is, it is not necessary to collect the first sound intensity. Afterwards, based on the obtained second sound intensity, it directly pairs with the wireless speaker with the strongest second sound intensity and configures the channel to that wireless speaker. In other words, after identifying the Bluetooth device with the changing Bluetooth ID suffix, the large-screen device establishes a correspondence between that Bluetooth device and the channel to be configured, thus completing the channel configuration.
[0213] In other scenarios, such as a two-channel speaker system (i.e., a stereo system including a left and right channel), where only one wireless speaker exists in each direction on either side of the central axis of a large-screen device, the large-screen device can directly determine the channel to be configured based on the first sound intensity captured by its microphone. Therefore, after determining the first sound intensity in step S503, the channel to be configured can be determined directly without waiting for the second sound intensity to be received. For example, in a two-channel speaker system, after the large-screen device captures a tapping sound, it can determine whether the channel to be configured is the left or right channel based on the first sound intensity of the tapping sound. Optionally, the current scenario also includes scenarios where only one wireless speaker is configured along the central axis of the large-screen device.
[0214] For example, Figure 8 This is a schematic diagram illustrating another channel configuration method provided in an embodiment of this application. Figure 8 As shown, the method may include S801-S807:
[0215] S801: The large-screen device detects the user's audio channel configuration operation and confirms that audio channel configuration will begin.
[0216] S802, Large screen devices obtain the Bluetooth ID of the wireless speaker.
[0217] Optionally, steps S801 and S802 can refer to the relevant descriptions of steps S501 and S502 above, and will not be repeated here.
[0218] S803: The large-screen device collects sound and determines the channel to be configured based on the first sound intensity.
[0219] For example, suppose a large-screen device includes a left channel and a right channel. Figure 4 In the scenario shown, after detecting the sound of a user tapping speaker A with their knuckles, the large-screen device can determine the corresponding channel to be configured based on the first sound intensity collected by its own microphone. For example, if the sound intensity collected by microphone 31 is determined to be 100dB and the sound intensity collected by microphone 32 is determined to be 90dB, then the large-screen device 100 determines that the collected sound comes from the left side of the large-screen device, and thus determines that the channel to be configured is the left channel.
[0220] Optionally, the remaining content of S803 can be referred to the relevant description of S503 above, and will not be repeated here.
[0221] S804: The wireless speaker collects sound, determines the second sound intensity, and uses the second sound intensity to edit the Bluetooth ID.
[0222] S805: The wireless speaker sends the edited Bluetooth ID to the large-screen device.
[0223] Optionally, steps S804 and S805 can refer to the relevant descriptions of steps S504 and S505 above, and will not be repeated here.
[0224] S806: The large-screen device determines the second wireless speaker with the strongest sound intensity based on the Bluetooth ID suffix, and determines the correspondence between the wireless speaker and the channel to be configured.
[0225] For example, such as Figure 4 In the scenario shown, assuming that during Bluetooth scanning, the large-screen device 100 determines that the second sound intensity collected by speaker A is 120dB and the sound intensity collected by speaker B is 60dB, then the large-screen device determines that the wireless speaker at the sound source is speaker A, and therefore needs to pair speaker A with the left channel determined in step S803.
[0226] Optionally, the remaining content of step S806 can be referred to the relevant descriptions of steps S506 and S507 above, and will not be repeated here.
[0227] The S807 wireless speaker is paired with the large-screen device and the audio channels are configured.
[0228] Optionally, step S807 can refer to the relevant description of step S508 above, and will not be repeated here.
[0229] Then, repeat steps S802-S807 to complete the configuration of all audio channels of the large screen device.
[0230] Thus, in Figure 8 In the method shown, the large-screen device can determine the channel to be configured based on the initial sound intensity of the tapping sound after each tap on the wireless speaker, eliminating the need for further steps. Figure 5 In the method shown, the large-screen device determines the channel to be configured after obtaining the second sound intensity. Therefore, the large-screen device can simultaneously execute the channel determination step while obtaining the second sound intensity, effectively improving channel configuration efficiency.
[0231] Furthermore, optionally, the large-screen device can also display a notification that the wireless speaker has been paired, increasing the fun of the user-participatory channel configuration process and further enhancing the user experience.
[0232] In other scenarios, compared to speaker systems like dual-channel speaker systems where only one wireless speaker exists in each direction corresponding to either side of the central axis of the large-screen device, speaker systems with two or more wireless speakers in each direction corresponding to either side of the central axis of the large-screen device cannot directly determine the channel to be configured based on the first sound intensity collected by the large-screen device's microphones, since the microphones are generally located on either side of the central axis or on the central axis itself. The large-screen device needs to wait for some or all of the first sound intensity to be collected before it can determine the channel to be configured. Here, "partially" includes all the first sound intensities corresponding to one side of the central axis of the large-screen device.
[0233] For example, a large-screen device might be a four-channel surround sound device, meaning it can output four channels of audio and needs to pair with four wireless speakers. However, the device itself only has two microphones. Based on the initial sound intensity readings from these two microphones, the device cannot distinguish between the front left and rear left channels, nor between the front right and rear right channels. Therefore, the device needs to obtain the initial sound intensity readings corresponding to the left side of the device, or all of them corresponding to the right side, or all of them, before it can further confirm the channel configuration.
[0234] For example, such as Figure 9 As shown, the large-screen device 100 is a four-channel surround sound device, including a front left channel, a rear left channel, a front right channel, and a rear right channel. Therefore, the corresponding wireless speakers to be paired 200 include speaker A, speaker B, speaker C, and speaker D. The relative positions of each wireless speaker to the large-screen device can be shown as follows: Figure 9 As shown, speaker A is located on the left side of the large screen device 100, relatively close to the large screen device 100; speaker D is located on the left side of the large screen device 100, relatively far away from the large screen device 100; speaker B is located on the right side of the large screen device 100, relatively close to the large screen device 100; and speaker C is located on the right side of the large screen device 100, relatively far away from the large screen device 100.
[0235] Assuming a user taps the wireless speaker 200 with their knuckle, the first and second sound intensities determined by the large-screen device 100 are shown in Table 2 below. (Assuming the user first taps with their knuckle...) Figure 9 Speaker A in the scene shown corresponds to Figure 8In the method shown, in step S803, the large-screen device 100, based on the first sound intensity collected by microphones 31 and 32 (the sound intensity received by microphone 31, located on the left side of the large-screen device 100, is 100dB, which is greater than the sound intensity received by microphone 32, located on the right side of the large-screen device 100, which is 90dB), can only determine that the sound of the user's knuckle tapping the wireless speaker 200 comes from the left side of the large-screen device 100. Therefore, it can only determine whether the channel to be configured is the front left channel or the rear left channel, but cannot further determine whether the channel to be configured is the front left channel or the rear left channel. In step S806, the large-screen device 100, based on the second sound intensity (the sound intensities received by speaker A, speaker B, speaker C, and speaker D are 120dB, 60dB, 40dB, and 60dB respectively; or, speaker A receives the largest sound intensity, which is 120dB), determines that the wireless speaker to be paired is speaker A. However, at this point, since the large screen device 100 cannot further determine whether the channel to be configured is the front left channel or the rear left channel in step S803, the large screen device 100 cannot determine whether speaker A should be matched to the front left channel or the rear left channel. That is, the large screen device 100 cannot determine the correspondence between speaker A and the channel to be configured.
[0236] In other words, Figure 8 The method shown is not applicable to scenarios where there are two or more wireless speakers in each direction on either side of the central axis of a large-screen device. Therefore, in this scenario, the large-screen device can confirm the channel to be configured after each confirmation of the first sound intensity, continuing until all first sound intensities on one side of the central axis of the large-screen device have been confirmed before the channel to be configured can be determined. This shows that the timing of determining the channel to be configured is related to the order in which the user taps the wireless speakers.
[0237] Table 2
[0238]
[0239] The following is Figure 9 Using the four-channel surround sound speaker system shown and the contents shown in Table 2 above as examples, this paper provides a detailed explanation of the scenario where there are two or more wireless speakers in each direction on both sides of the central axis of a large screen device.
[0240] Scenario 1: The user taps the wireless speaker located on one side of the central axis of the large screen device in sequence, and then taps the wireless speaker located on the other side of the central axis of the large screen device in sequence.
[0241] In some embodiments, the large-screen device can determine the channel to be configured only after obtaining the first sound intensity corresponding to all wireless speakers located on one side of the central axis of the large-screen device. Then, based on this first sound intensity and the corresponding second sound intensity, the large-screen device can first complete the channel configuration of the determined channel to be configured, and then continue to configure the channel of other channels.
[0242] For example, as Figure 9 The four-channel surround sound speaker system shown (i.e., two wireless speakers are configured on one side of the central axis of the large-screen device) is illustrated using the example of a user tapping the wireless speaker 200 located on the left side of the large-screen device 100. Speakers A and D are both located on the left side of the large-screen device 100. As mentioned above, after the user taps speaker A with their knuckle, the large-screen device 100 cannot determine whether the channel to be configured is the left front channel or the left rear channel based solely on the first sound intensity collected. However, after collecting the first sound intensity generated after the user taps speaker D with their knuckle, as shown in Table 2 above, the large-screen device 100 can determine that when speaker D is tapped, the corresponding channel to be configured is also either the front left channel or the rear left channel (i.e., the sound intensity received by microphone 31 located on the left side of the large-screen device 100 is 90dB, which is greater than the sound intensity received by microphone 32 located on the right side of the large-screen device 100, which is 70dB). Furthermore, during the process of detecting and confirming the first sound intensity, the large-screen device 100 can also receive the second sound intensity sent by the wireless speaker 200. Based on the second sound intensity, the corresponding wireless speaker 200 to be paired can be determined. For example, as shown in Table 2 above, by comparing the second sound intensities horizontally, if the second sound intensity collected by the wireless speaker 200 after the user taps speaker A with their knuckle is the strongest, then speaker A is determined to be the device to be paired; if the second sound intensity collected by the wireless speaker 200 after the user taps speaker D with their knuckle is the strongest, then speaker D is determined to be the device to be paired.
[0243] In other words, each time the large-screen device 100 detects a tapping sound, it can determine a corresponding candidate target device (i.e., a device to be paired) based on the intensity of the second sound. Therefore, the number of devices to be paired is equal to the number of taps made by the user on the wireless speaker (e.g., ...). Figure 9 In the scenario shown, there are 4 devices to be paired, and 4 tapping sounds (including tapping sounds corresponding to speaker A, speaker B, speaker C, and speaker D). It should be noted that each tapping sound from a single wireless speaker is considered one tapping sound. For example, during speaker A configuration, multiple taps on speaker A correspond to one tapping sound. This number of tapping sounds is independent of the number of times the user taps a single wireless speaker.
[0244] Next, as shown in Table 2 above, the first sound intensities corresponding to the user's knuckle tapping on speakers A and D are compared vertically. Specifically, the first sound intensity of 100dB for speaker A, collected by microphone 31, is greater than the first sound intensity of 90dB for speaker D; and the first sound intensity of 90dB for speaker A, collected by microphone 32, is greater than the first sound intensity of 70dB for speaker D. Therefore, speaker A is located on the left side of the large screen device 100, relatively close to it, and its corresponding channel to be configured is the left front channel. Speaker D is located on the left side of the large screen device 100, relatively far from it, and its corresponding channel to be configured is the left rear channel. Thus, the left front channel can be configured to speaker A, and the left rear channel to speaker D, completing the configuration of the corresponding channels on the left side of the large screen device.
[0245] Similarly, such as Figure 9 As shown, after configuring the corresponding channels on the left side, the large-screen device 100 can determine the channel to be configured for speaker B as the right front channel and the channel to be configured for speaker C as the right rear channel, thus completing the configuration of the corresponding channels on the right side of the large-screen device 100, and completing the configuration of all channels of the large-screen device 100. The configuration method for the corresponding channels on the right side of the large-screen device 100 will not be described in detail here.
[0246] It should be noted that, under normal circumstances, such as Figure 9As shown, when a user installs a four-channel surround sound speaker system at home (e.g., in the living room), they will install devices for playing the left front channel and the right front channel (e.g., speaker A and speaker B) on the left and right sides close to the large screen device 100, respectively; and devices for playing the left rear channel and the right rear channel (e.g., speaker D and speaker C) on the left and right sides away from the large screen device 100 (e.g., on the back wall facing the TV in the living room). The placement of this four-channel surround sound speaker system aligns with user habits (when watching movies or listening to music, users are typically positioned in the middle of these four wireless speakers, facing the large-screen device 100; therefore, users expect the wireless speakers positioned to their left / front / left / rear / right rear to play audio from the left / front / right / rear / rear channels respectively). Furthermore, this is the common practice in the industry (rather than having the wireless speakers closer to the large-screen device 100 play audio from the rear / rear left channels, and those farther away playing audio from the front / rear right channels, which is neither common sense nor user habit). Therefore, the device used to play the front / right channels is closer to the large-screen device 100 than the device used to play the rear / rear left channels. Furthermore, by vertically comparing the first sound intensities corresponding to the user's knuckle tapping on speaker A and speaker D, it is determined that speaker A, corresponding to the larger first sound intensity, is located on the left side of the large-screen device 100, corresponding to the left front channel. Correspondingly, in determining the right front / right rear channel, the large-screen device 100 can also configure the wireless speaker corresponding to the larger first sound intensity to the right front channel by comparing the first sound intensities.
[0247] It should be noted that this application embodiment does not specifically limit the tapping order of the wireless speaker located on one side of the central axis of the large-screen device. For example, in... Figure 9 In the channel configuration scenario of the four-channel surround speaker system shown, the user's knuckles can first tap speaker A and then tap speaker D; or, the user's knuckles can first tap speaker D and then tap speaker A.
[0248] Scenario 2: The user taps the wireless speakers located on both sides of the central axis of the large screen device in a crisscross motion.
[0249] In some embodiments, this application does not restrict the order in which the user taps the wireless speakers 200. Therefore, it is possible that the user may start tapping the wireless speakers on one side of the central axis of the large-screen device before tapping all the wireless speakers on that side. Therefore, the large-screen device first determines which side of the central axis has had its first sound intensity confirmed, and then prioritizes configuring the channel on that side.
[0250] For example, as Figure 9The following example illustrates a four-channel surround sound speaker system (i.e., two wireless speakers are configured on one side of the central axis of the large-screen device). The user taps the wireless speakers 200 located on the left and right sides of the large-screen device 100 in a crisscross pattern. For instance, if the user taps the wireless speakers 200 in the sequence ABDC, after the large-screen device 100 receives the third first sound intensity (i.e., the three first sound intensities corresponding to the user's taps on speakers A, B, and D respectively), it determines that it has acquired all the first sound intensities on the left side of the large-screen device 100. Therefore, it prioritizes configuring the left front and left rear channels of the large-screen device 100, first configuring the left front channel to speaker A and the left rear channel to speaker D. Then, after the large-screen device 100 receives the first sound intensity for the fourth time, it configures the remaining right front and right rear channels. For example, if a user taps the wireless speaker 200 with their knuckles in the order ABCD, the large-screen device 100 can only determine the channel to be configured after obtaining the first sound intensity on the fourth tap. Afterward, the large-screen device 100 directly completes the configuration of all four channels.
[0251] In some embodiments, in scenarios one and two above, the large-screen device needs to perform the step of determining the channel to be configured after each determination of the first sound intensity. However, in scenarios where there are two or more wireless speakers in each direction corresponding to the central axis of the large-screen device, the large-screen device needs to obtain the first sound intensity at least twice before it can truly determine the channel to be configured. Therefore, in scenarios one and two above, the large-screen device can first determine the number of wireless speakers in each direction corresponding to the central axis of the large-screen device, determine the minimum number in a certain direction, and set this minimum number as a preset threshold. Then, during the channel configuration process, the large-screen device will start determining the channel to be configured only after obtaining the first sound intensity equal to the preset threshold, thereby reducing the computational power consumption of the large-screen device. For example, as... Figure 9 In the four-channel surround sound speaker system scenario shown, the large screen device 100 determines that the minimum number of wireless speakers 200 corresponding to one side is 2. Then, after the large screen device detects the first sound intensity for the second time, it will start to execute the step of determining the channel to be configured.
[0252] In other embodiments, the large-screen device may also perform the step of determining the channels to be configured only after obtaining all the first sound intensities. For example, as Figure 9 In the four-channel surround sound system scenario shown, the large screen device 100 starts the process of determining the channel to be configured only after confirming that all four first sound intensities have been detected.
[0253] In this way, after acquiring all the first sound intensities, the large-screen device can centrally determine the channels to be configured and perform channel configuration, thereby improving the accuracy of channel configuration.
[0254] It should be noted that the above description of the correspondence between the timing of determining the channel to be configured and the order in which the user taps the wireless speaker in the scenario where there are two or more wireless speakers in each direction on both sides of the central axis of the large-screen device is only an illustrative example. If the large-screen device has more than two microphones, or the microphone configuration positions are different... Figure 9 If the location indicated, or if the microphone has the ability to pinpoint the exact location of the wireless speaker, then in scenarios where there are two or more wireless speakers in each direction corresponding to either side of the central axis of the large-screen device, the large-screen device can also determine the channel to be configured based on the first sound intensity of the sound captured by its own microphone. For example, in a four-channel surround sound system scenario, if a user taps the wireless speaker located on the left side of the large-screen device, the large-screen device can determine, based on the capability of its own microphone, that the first sound intensity of the tap corresponds to the left front channel, and thus directly determine the channel to be configured as the left front channel. That is, in scenarios where there are two or more wireless speakers in each direction corresponding to either side of the central axis of the large-screen device, the large-screen device can also utilize... Figure 8 The method shown completes the configuration of the audio channels.
[0255] In some other scenarios, suppose the large-screen device is configured as follows: Figure 3B The two microphones shown are (e.g., microphone 31 and microphone 32). Figure 10 As shown, the large-screen device contains 5 audio channels, compared to... Figure 9 The four-channel surround sound system shown also requires a center speaker (e.g., speaker E) to correspond to the center channel. The center speaker is typically positioned relative to the central axis of the large-screen device. During channel configuration, when a user taps speaker E with their knuckles, if the first sound intensity detected by microphone 31 and microphone 32 of the large-screen device 100 is the same or the difference is less than a preset threshold, then the wireless speaker at the location of the tapping sound corresponds to the center channel to be configured. Subsequently, based on the second sound intensity detected by wireless speaker 200, speaker E is determined to be the wireless speaker to be paired with the center channel.
[0256] Thus, the channel configuration method provided in this application embodiment can be applied to large-screen devices with different channel types, adaptively completing the channel configuration of the large-screen device and improving the user experience.
[0257] The above combination Figures 4-10 The channel configuration method provided in the embodiments of this application is described in detail below. Figure 11This application provides a detailed description of the audio channel configuration device provided in the embodiments.
[0258] In one possible design, Figure 11 This is a schematic diagram of the structure of a first electronic device provided in an embodiment of this application. Figure 11 As shown, the first electronic device 1100 may include a transceiver unit 1101 and a processing unit 1102. The first electronic device 1100 can be used to implement the functions of the first electronic device (such as a large-screen device) involved in the above method embodiments.
[0259] Optionally, the transceiver unit 1101 is used to support the first electronic device 1100 in performing... Figure 5 S501, S502, S503, S505, and S508; and / or, support the first electronic device 1100 to perform Figure 8 S801, S802, S803, S805, and S807.
[0260] Optionally, the processing unit 1102 is used to support the first electronic device 1100 in performing [operations]. Figure 5 S503, S506, S507, and S508; and / or, support the first electronic device 1100 to perform Figure 8 S803, S806, and S807.
[0261] The transceiver unit 1101 may include a receiving unit and a transmitting unit, and may be implemented by a transceiver or transceiver-related circuit components, and may be a transceiver or transceiver module. The operation and / or function of each unit in the first electronic device 1100 are respectively to implement the corresponding flow of the channel configuration method described in the above method embodiments. All relevant content of each step involved in the above method embodiments can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, it will not be repeated here.
[0262] Optionally, Figure 11 The first electronic device 1100 shown may also include a storage unit ( Figure 11 (not shown in the image), this storage unit stores a program or instruction. When the transceiver unit 1101 and the processing unit 1102 execute the program or instruction, it causes... Figure 11 The first electronic device 1100 shown can perform the channel configuration method described in the above method embodiments.
[0263] Figure 11 The technical effects of the first electronic device 1100 shown can be referred to the technical effects of the channel configuration method described in the above method embodiments, and will not be repeated here.
[0264] In addition to being in the form of a first electronic device 1100, the technical solutions provided in the embodiments of this application may also be functional units or chips in electronic devices, or devices used in conjunction with electronic devices.
[0265] Figure 12 This is a schematic diagram of the structure of the second electronic device provided in an embodiment of this application. Figure 12 As shown, the second electronic device 1200 may include a transceiver unit 1201 and a processing unit 1202. The second electronic device 1200 can be used to implement the functions of the second electronic device (such as a wireless speaker) involved in the above method embodiments.
[0266] Optionally, the transceiver unit 1201 is used to support the second electronic device 1200 in performing [operations]. Figure 5 S502, S504, S505, and S508; and / or, support the second electronic device 1200 to perform Figure 8 S802, S804, S805, and S807.
[0267] Optionally, the processing unit 1202 is used to support the execution of the second electronic device 1200. Figure 5 S504 and S508 in the above; and / or, support the second electronic device 1200 to perform Figure 8 S804 and S807 in the example.
[0268] The transceiver unit 1201 may include a receiving unit and a transmitting unit, and may be implemented by a transceiver or transceiver-related circuit components, and may be a transceiver or transceiver module. The operation and / or function of each unit in the second electronic device 1200 are respectively to implement the corresponding flow of the channel configuration method described in the above method embodiments. All relevant content of each step involved in the above method embodiments can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, it will not be repeated here.
[0269] Optionally, Figure 12 The second electronic device 1200 shown may also include a storage unit ( Figure 12 (Not shown in the image), this storage unit stores a program or instruction. When the transceiver unit 1201 and the processing unit 1202 execute the program or instruction, it causes... Figure 12 The second electronic device 1200 shown can perform the channel configuration method described in the above method embodiments.
[0270] Figure 12 The technical effects of the second electronic device 1200 shown can be referred to the technical effects of the channel configuration method described in the above method embodiments, and will not be repeated here.
[0271] In addition to being in the form of a second electronic device 1200, the technical solutions provided in the embodiments of this application may also be functional units or chips in electronic devices, or devices used in conjunction with electronic devices.
[0272] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, which, when executed by the processor, cause the chip system to implement the methods in any of the above method embodiments.
[0273] Optionally, the chip system may include one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.
[0274] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application embodiment does not limit this. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application embodiment does not specifically limit the type of memory or the arrangement of the memory and processor.
[0275] For example, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0276] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits in the processor hardware or by instructions in software form. The method steps disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.
[0277] This application also provides a computer-readable storage medium storing a computer program. When the computer program is run on a computer, it causes the computer to perform the aforementioned steps to implement the channel configuration method in the above embodiments.
[0278] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the channel configuration method in the above embodiments.
[0279] In addition, this application also provides an apparatus. Specifically, the apparatus may be a component or module, and may include one or more processors and a memory connected together. The memory is used to store a computer program. When the computer program is executed by one or more processors, the apparatus causes it to perform the channel configuration methods in the above-described method embodiments.
[0280] The apparatus, computer-readable storage medium, computer program product, or chip provided in the embodiments of this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.
[0281] The steps of the methods or algorithms described in conjunction with the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can reside in an application-specific integrated circuit (ASIC).
[0282] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, the division of the above functional modules is only used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0283] In the several embodiments provided in this application, it should be understood that the disclosed methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical functional division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of modules or units may be electrical, mechanical or other forms.
[0284] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0285] Computer-readable storage media include, but are not limited to, any of the following: USB flash drive, portable hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other media capable of storing program code.
[0286] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A channel configuration method, applied to a first electronic device, characterized in that, The method includes: Receive a first operation from the user; wherein the first operation is used to trigger the first electronic device to perform audio channel configuration; The first sound intensity is determined based on the sound collected by the first sound acquisition device of the first electronic device; wherein, the first sound acquisition device includes M microphones, the M microphones are respectively installed at different positions of the first electronic device, and M is a positive integer greater than or equal to 2; Based on the first sound intensity, determine the target channel in the channel to be configured of the first electronic device; Receive multiple second sound intensities corresponding to the first sound transmitted by multiple second electronic devices; wherein the distance between the second electronic devices and each of the M microphones is different; The target device in the second electronic device is determined based on the plurality of second sound intensities; Match the target audio channel with the target device; The first sound is generated by a second operation of the user, the second operation including: the user making a sound at or near the target device; or, The first sound is generated by the target device playing audio.
2. The method of claim 1, wherein, Determining the first sound intensity of the first sound based on the sound collected by the first sound acquisition device of the first electronic device includes: If the sound characteristics of the sound collected by the first sound acquisition device of the first electronic device meet the preset conditions, then the collected sound is determined to be the first sound, and the first sound intensity of the first sound is determined; wherein, the sound characteristics include one or more of the following: frequency characteristics, amplitude characteristics, waveform characteristics, and duration characteristics.
3. The method according to claim 1 or 2, characterized in that, The audio channels to be configured in the first electronic device include a left channel and a right channel; determining the target channel among the audio channels to be configured in the first electronic device based on the first sound intensity includes: If the first sound is determined to originate from the left or right side of the first electronic device based on the first sound intensity, then the target channel is determined to be the left channel or the right channel. Determining the target device in the second electronic device based on the plurality of second sound intensities includes: The second electronic device corresponding to the second sound intensity with the highest sound intensity among the plurality of second sound intensities is determined as the target device.
4. The method according to claim 1 or 2, characterized in that, The channels to be configured in the first electronic device include a left front channel, a left rear channel, a right front channel, and a right rear channel; the number of the first sounds is multiple. Determining the target channel in the channel to be configured of the first electronic device based on the first sound intensity includes: If the first sound intensity determines that the first sound originates from the left side of the first electronic device, then the target channel is determined to be the left front channel or the left rear channel; or, if the first sound intensity determines that the first sound originates from the right side of the first electronic device, then the target channel is determined to be the right front channel or the right rear channel. Determining the target device in the second electronic device based on the plurality of second sound intensities includes: For each of the first sounds, the second electronic device corresponding to the second sound with the larger sound intensity among the second sound intensities corresponding to each first sound is determined as a candidate target device; wherein, the number of candidate target devices is equal to the number of first sounds; Among the first sound intensities corresponding to the first sound from the left side of the first electronic device, and among the first sound intensities corresponding to the same first sound acquisition device, the candidate target device corresponding to the first sound intensity with a larger sound intensity is determined as the target device corresponding to the left front channel, and the candidate target device corresponding to the first sound intensity with a smaller sound intensity is determined as the target device corresponding to the left rear channel. Among the first sound intensities corresponding to the first sound from the right side of the first electronic device, and among the first sound intensities corresponding to the same first sound acquisition device, the candidate target device corresponding to the first sound intensity with the larger sound intensity is determined as the target device corresponding to the right front channel, and the candidate target device corresponding to the first sound intensity with the smaller sound intensity is determined as the target device corresponding to the right rear channel.
5. The method according to claim 1 or 2, characterized in that, The location from which the first sound is emitted includes a first location of the target device, or a second location near the target device.
6. The method of claim 1 or 2, wherein, After receiving the user's first operation, the method further includes: Obtain the first Bluetooth name of the second electronic device; The receiving of multiple second sound intensities corresponding to the first sound, transmitted by multiple second electronic devices, includes: Obtain the second Bluetooth name of the second electronic device; The plurality of second sound intensities are determined based on the additional suffix added to the second Bluetooth name compared to the first Bluetooth name.
7. The method according to claim 1 or 2, characterized in that, The receiving of multiple second sound intensities corresponding to the first sound, transmitted by multiple second electronic devices, includes: Obtain a plurality of second Bluetooth names of the second electronic devices; wherein the second Bluetooth name contains a plurality of second sound intensity information, the plurality of second sound intensity information being used to indicate the plurality of second sound intensity; The plurality of second sound intensities are determined based on the second Bluetooth name.
8. The method of claim 1 or 2, wherein, The user's operation on the target device includes: the user's knuckle tapping or slapping the target device; The user's operation of making a sound near the target device includes at least one of the following: snapping fingers, clapping, and coughing at the location near the target device.
9. The method of claim 8, wherein, When the first sound is generated by the user's second operation, the method further includes: The user is prompted to perform the second operation.
10. The method of claim 1 or 2, wherein, The method further includes: The user is prompted that the audio channel configuration has been completed.
11. A channel configuration method applied to a second electronic device, comprising: The method includes: The second sound intensity of the first sound is determined based on the sound collected by the second sound acquisition device of the second electronic device; wherein the first sound is generated by a second operation of the user, the second operation including: the user making a sound at or near the second electronic device; or, the first sound is generated by the second electronic device playing audio; Send the second sound intensity to the first electronic device; The system receives an audio file sent by the first electronic device; wherein the audio file is sent by the first electronic device after determining a target channel that matches the second electronic device based on a first sound intensity and a second sound intensity; the audio file corresponds to the target channel, the first sound intensity is the sound intensity of the first sound determined by the first electronic device based on the sound collected by the first sound acquisition device of the first electronic device, and the target channel is a channel in the channels to be configured by the first electronic device; wherein the first sound acquisition device includes M microphones, the M microphones are respectively installed at different positions of the first electronic device, M is a positive integer greater than or equal to 2, and the distance between the second electronic device and each of the M microphones is different; Play the audio corresponding to the audio file.
12. The method of claim 11, wherein, The step of determining the second sound intensity of the first sound based on the sound collected by the second sound acquisition device of the second electronic device includes: If the sound characteristics of the sound collected by the second sound acquisition device of the second electronic device meet the preset conditions, then the collected sound is determined to be the first sound, and the second sound intensity of the first sound is determined; wherein, the sound characteristics include one or more of the following: frequency characteristics, amplitude characteristics, waveform characteristics, and duration characteristics.
13. The method according to claim 11 or 12, characterized in that, Before sending the second sound intensity to the first electronic device, the method further includes: Send the first Bluetooth name of the second electronic device to the first electronic device; Sending the second sound intensity to the first electronic device includes: Send the second Bluetooth name of the second electronic device to the first electronic device; wherein the second Bluetooth name is the Bluetooth name after editing the first Bluetooth name according to the second sound intensity.
14. The method of claim 11 or 12, wherein, Sending the second sound intensity to the first electronic device includes: Send a second Bluetooth name containing second sound intensity information to the first electronic device; wherein the second sound intensity information is used to indicate the second sound intensity.
15. The method of claim 11 or 12, wherein, The user's operation on the second electronic device includes: the user tapping or patting the second electronic device with their knuckles; The user's operation of making a sound near the second electronic device includes at least one of the following: snapping fingers, clapping, and coughing near the second electronic device.
16. A channel configuration system, characterized by The system includes: a first electronic device and multiple second electronic devices; The first electronic device is configured to: receive a first operation from a user; determine a first sound intensity of the first sound based on the sound collected by the first sound acquisition device of the first electronic device; and determine a target channel in the channel to be configured of the first electronic device based on the first sound intensity; wherein the first operation is configured to trigger the first electronic device to perform channel configuration; wherein the first sound acquisition device includes M microphones, the M microphones are respectively installed at different positions of the first electronic device, and M is a positive integer greater than or equal to 2. The second electronic device is used to: determine the second sound intensity of the first sound based on the sound collected by the second sound acquisition device of the second electronic device; and send the second sound intensity to the first electronic device; wherein the distance between the second electronic device and each of the M microphones is different; The first electronic device is further configured to: receive a plurality of second sound intensities transmitted by the plurality of second electronic devices; determine a target device among the plurality of second electronic devices based on the plurality of second sound intensities; and match the target channel with the target device; The first sound is generated by a second operation of the user, the second operation including: the user making a sound at or near the target device; or, The first sound is generated by the target device playing audio.
17. The system according to claim 16, characterized in that, The first electronic device is specifically used for: if the sound characteristics of the sound collected by the first sound acquisition device of the first electronic device meet the preset conditions, then determining that the collected sound is the first sound, and determining the first sound intensity of the first sound; wherein, the sound characteristics include one or more of the following: frequency characteristics, amplitude characteristics, waveform characteristics, and duration characteristics.
18. The system according to claim 16 or 17, characterized in that, The second electronic device is specifically used for: if the sound characteristics of the sound collected by the second sound acquisition device of the second electronic device meet the preset conditions, then determining that the collected sound is the first sound, and determining the second sound intensity of the first sound; wherein, the sound characteristics include one or more of the following: frequency characteristics, amplitude characteristics, waveform characteristics, and duration characteristics.
19. The system of claim 16 or 17, wherein, The audio channels to be configured in the first electronic device include a left channel and a right channel; the first electronic device is specifically used for: If the first sound is determined to originate from the left or right side of the first electronic device based on the first sound intensity, then the target channel is determined to be the left channel or the right channel. The second electronic device corresponding to the second sound intensity with the highest sound intensity among the plurality of second sound intensities is determined as the target device.
20. The system of claim 16 or 17, wherein, The channels to be configured in the first electronic device include a left front channel, a left rear channel, a right front channel, and a right rear channel; the number of the first sounds is multiple. The first electronic device is specifically used for: If the first sound intensity determines that the first sound originates from the left side of the first electronic device, then the target channel is determined to be the left front channel or the left rear channel; or, if the first sound intensity determines that the first sound originates from the right side of the first electronic device, then the target channel is determined to be the right front channel or the right rear channel. For each of the first sounds, the second electronic device corresponding to the second sound with the larger sound intensity among the second sound intensities corresponding to each first sound is determined as a candidate target device; wherein, the number of candidate target devices is equal to the number of first sounds; Among the first sound intensities corresponding to the first sound from the left side of the first electronic device, and among the first sound intensities corresponding to the same first sound acquisition device, the candidate target device corresponding to the first sound intensity with a larger sound intensity is determined as the target device corresponding to the left front channel, and the candidate target device corresponding to the first sound intensity with a smaller sound intensity is determined as the target device corresponding to the left rear channel. Among the first sound intensities corresponding to the first sound from the right side of the first electronic device, and among the first sound intensities corresponding to the same first sound acquisition device, the candidate target device corresponding to the first sound intensity with the larger sound intensity is determined as the target device corresponding to the right front channel, and the candidate target device corresponding to the first sound intensity with the smaller sound intensity is determined as the target device corresponding to the right rear channel.
21. The system of claim 16 or 17, wherein, The location from which the first sound is emitted includes a first location of the target device, or a second location near the target device.
22. The system according to claim 16 or 17, characterized in that, The first electronic device is further configured to: acquire the first Bluetooth name of the second electronic device; The first electronic device is specifically used to: obtain the second Bluetooth name of the second electronic device; and determine the plurality of second sound intensities based on the additional suffix added to the second Bluetooth name compared to the first Bluetooth name.
23. The system according to claim 16 or 17, characterized in that, The first electronic device is specifically configured to: acquire a plurality of second Bluetooth names of the second electronic devices; wherein the second Bluetooth name contains a plurality of second sound intensity information, the plurality of second sound intensity information being used to indicate the plurality of second sound intensities; and determine the plurality of second sound intensities based on the second Bluetooth name.
24. The system of claim 16 or 17, wherein, The user's operation on the target device includes: the user's knuckle tapping or slapping the target device; The user's operation of making a sound near the target device includes at least one of the following: snapping fingers, clapping, and coughing at the location near the target device.
25. The system of claim 24, wherein, When the first sound is generated by the user's second operation, the first electronic device is further configured to: prompt the user to perform the second operation.
26. The system according to claim 16 or 17, characterized in that, The first electronic device is also used to: prompt the user that the audio channel configuration has been completed.
27. A first electronic device, comprising: include: A processor and a memory, the memory being coupled to the processor, the memory being used to store computer program code, the computer program code including computer instructions, which, when the processor reads the computer instructions from the memory, cause the first electronic device to perform the channel configuration method as described in any one of claims 1-10.
28. A second electronic device, comprising: include: A processor and a memory, the memory being coupled to the processor, the memory being used to store computer program code, the computer program code including computer instructions, which, when the processor reads the computer instructions from the memory, cause the second electronic device to perform the channel configuration method as described in any one of claims 11-15.
29. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a computer program that, when executed on the first electronic device, causes the first electronic device to perform the method as described in any one of claims 1-10.
30. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a computer program that, when executed on a second electronic device, causes the second electronic device to perform the method as described in any one of claims 11-15.
31. A computer program product, characterised in that, The computer program product includes a computer program that executes on a processor to implement the method as described in any one of claims 1-10, or to implement the method as described in any one of claims 11-15.
32. A chip device, characterized by The chip device includes at least one processor and at least one interface circuit, the at least one interface circuit being configured to perform transceiver functions and send instructions to the at least one processor, wherein when the at least one processor executes the instructions, the at least one processor performs the method as described in any one of claims 1-10; or, causes the processor to perform the method as described in any one of claims 11-15.
Citation Information
Patent Citations
Loudspeaker box channel matching method of multi-channel wireless audio system
CN102857857A
Automatic speaker relative location detection
US20190215634A1