Stereo networking method, electronic device, audio device, and storage medium
By using Bluetooth broadcasting and ultrasonic positioning technology, it automatically discovers and confirms the location of audio devices, supports multiple networking modes, and solves the problem of stringent networking conditions between electronic devices and Wi-Fi speakers in existing technologies, thus achieving a flexible and efficient stereo networking experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2021-07-28
- Publication Date
- 2026-07-31
AI Technical Summary
In existing technologies, establishing stereo sound between electronic devices and Wi-Fi speaker groups requires access to the same Wi-Fi router and the use of the same user account, which are stringent conditions and not conducive to building stereo sound.
It automatically discovers audio devices that can be used to build stereo sound by broadcasting Bluetooth messages and establishes a Wi-Fi connection with user confirmation. It supports multiple networking modes, including single speaker, front dual speaker, rear dual speaker and quad speaker modes, simplifying the user configuration process. It uses ultrasonic positioning technology to determine the location of devices and supports networking of devices that are not on the same local area network.
It enables more flexible and efficient stereo networking, simplifies user operation, improves networking accuracy and user experience, and avoids mis-networking and interference with other devices.
Smart Images

Figure CN115696282B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a stereo networking method, electronic device, audio device, and storage medium. Background Technology
[0002] With the widespread adoption of wireless fidelity (Wi-Fi) technology, devices such as smartphones, speakers, and televisions have added Wi-Fi network access capabilities. Combining Wi-Fi technology with traditional speakers has resulted in Wi-Fi speakers.
[0003] Currently, electronic devices can be connected to Wi-Fi routers and Wi-Fi speakers to create stereo sound, achieving various audio effects. However, for this stereo setup to work, both the electronic device and the Wi-Fi speaker must be connected to the same Wi-Fi router's wireless LAN, use the same user account, and the Wi-Fi router must be able to forward packets from both devices. These stringent requirements make it unsuitable for creating stereo sound. Summary of the Invention
[0004] This application provides a stereo networking method, electronic device, audio device, and storage medium, which makes stereo networking more flexible and efficient, and improves the user experience.
[0005] In a first aspect, a stereo networking method is provided, applied to an electronic device, comprising: receiving Bluetooth broadcast messages sent by at least one audio device respectively; the Bluetooth broadcast messages are used to indicate whether the audio devices have formed a stereo network and whether the audio devices are allowed to form a stereo network; when it is determined from at least one Bluetooth broadcast message that there is a second audio device among the at least one audio device that can be used to form a stereo network, a stereo network pop-up is displayed; the stereo network pop-up is used to ask the user whether the electronic device should form a stereo network or re-form a stereo network.
[0006] The stereo networking method provided in the first aspect allows electronic devices and audio devices to communicate over short distances. Based on this short-range communication, the electronic devices can directly and automatically discover audio devices suitable for stereo networking and request the user to configure stereo. Stereo networking is then configured according to the user's needs. The stereo networking method provided in this application does not require the electronic devices and audio devices to be connected to the same local area network or have the same user account. During the stereo networking configuration process, it saves the need for pre-configuration of electronic devices and audio devices, and the configuration of multiple audio devices, simplifying the user configuration steps, making networking more flexible and efficient, and improving the user experience.
[0007] In one possible implementation, the method further includes: receiving a stereo setup instruction input by a user; the stereo setup instruction instructing the electronic device to set up stereo or re-set up stereo; determining a target networking mode, at least one target audio device, and the corresponding channel for each target audio device; the target audio device is the audio device confirmed by the user in a second audio device to set up stereo with the electronic device, and the target networking mode is a networking mode in which the electronic device and at least one target audio device set up stereo; and establishing a Wi-Fi connection with each target audio device.
[0008] In this implementation, when a user determines whether to build or rebuild a stereo system using electronic devices, the target networking mode and the target audio device to be networked, confirmed by the user, are determined. A Wi-Fi connection is then established with the target audio device to build the stereo system. Since the target audio device is confirmed by the user, establishing a Wi-Fi connection between the electronic device and the user-confirmed target audio device follows the user's wishes and needs, avoiding interference with the normal operation of other audio devices by establishing Wi-Fi connections with them, and improving the accuracy of stereo networking.
[0009] In one possible implementation, the networking modes include: a first networking mode; in the first networking mode, the electronic device and one target audio device form a stereo system, and the channel of the target audio device is the subwoofer channel; a second networking mode; in the second networking mode, the electronic device and two target audio devices form a stereo system, and the channels of the two target audio devices are the left channel and the right channel, respectively; a third networking mode; in the third networking mode, the electronic device and two target audio devices form a stereo system, and the channels of the two target audio devices are the left surround channel and the right surround channel, respectively; a fourth networking mode; in the fourth networking mode, the electronic device and four target audio devices form a stereo system, and the channels of the four target audio devices are the left channel, the right channel, the left surround channel, and the right surround channel, respectively.
[0010] In one possible implementation, determining the target network mode, at least one target audio device, and the corresponding channel for each target audio device includes: acquiring the target network mode input by the user; determining the number of target audio devices and the preset confirmation order of at least one target audio device based on the target network mode; sending a network formation notification message to a second audio device; the network formation notification message is used to notify the second audio device to detect whether the user has performed a preset operation on a target button on the second audio device; displaying a first audio device identification interface; the first audio device identification interface is used to guide the user to perform preset operations on the target buttons on at least one target audio device in the preset confirmation order; receiving device identification information sent sequentially by at least one second audio device in the preset confirmation order; the device identification information is used to indicate that the second audio device is a target audio device; determining at least one target audio device based on the device identification information, and determining the corresponding channel for each target audio device according to the preset confirmation order.
[0011] In this implementation, the user inputs the target network mode. The electronic device displays a first audio device identification interface, guiding the user to perform preset operations on the target buttons on at least one target audio device in a preset confirmation order, thereby confirming the target audio device to be networked with the electronic device. By having the user confirm the audio device as the target audio device through user operations, the accuracy of the user's identification of the target audio device is improved, thus improving the accuracy of the network formation between the electronic device and the target audio device and avoiding incorrect network formation. When the electronic device is networked with multiple target audio devices, the implementation is simple, with the user confirming each target audio device sequentially according to the preset confirmation order.
[0012] In one possible implementation, the preset confirmation order includes any of the following: when there are two target audio devices, the target audio devices of the left channel and the right channel are confirmed in sequence; when there are two target audio devices, the target audio devices of the left surround channel and the right surround channel are confirmed in sequence; when there are four target audio devices, the target audio devices of the left channel, the right channel, the left surround channel and the right surround channel are confirmed in sequence.
[0013] In one possible implementation, the method further includes: outputting a first prompt message; the first prompt message is used to indicate that the electronic device has successfully identified at least one target audio device.
[0014] In one possible implementation, determining at least one target audio device and the corresponding channel for each target audio device includes: sending a network formation notification message to a second audio device; the network formation notification message is used to notify the second audio device to detect whether the user has performed a preset operation on a target button on the second audio device; displaying a second audio device identification interface; the second audio device identification interface is used to guide the user to perform a preset operation on the target button on the second audio device; receiving device identification information sent by at least one second audio device; the device identification information is used to indicate that the second audio device is a target audio device; determining at least one target audio device based on the device identification information, and determining the corresponding channel for each target audio device.
[0015] In this implementation, the user confirms that the audio device is the target audio device by operating on it. However, the order in which the user operates on the audio device is not limited. The electronic device uses positioning technology to determine the positional relationship between multiple target audio devices and the electronic device, thereby determining the corresponding channel of the target audio device. This reduces the restriction on the order of user operations, making the implementation more flexible and improving the user experience.
[0016] In one possible implementation, determining the channel corresponding to each target audio device includes: if there is only one target audio device, determining the subwoofer channel corresponding to the target audio device; if there is more than one target audio device, determining the positional relationship between each target audio device and the electronic device through positioning technology, and determining the channel corresponding to each target audio device based on the positional relationship.
[0017] In one possible implementation, the positional relationship between each target audio device and the electronic device is determined using positioning technology, including: sending ultrasonic detection information to the target audio device; receiving ultrasonic signals sent by the target audio device; and determining the positional relationship between the target audio device and the electronic device based on the ultrasonic signals.
[0018] In this implementation, the positional relationship between each target audio device and electronic device is determined using ultrasonic positioning technology.
[0019] In one possible implementation, after determining at least one target audio device based on device identification information, the method further includes: outputting a second prompt message; the second prompt message is used to indicate that the electronic device has successfully determined at least one target audio device.
[0020] In one possible implementation, sending a network formation notification to the second audio device includes sending a BLE broadcast message to the second audio device, the BLE broadcast message including the network formation notification information.
[0021] In this implementation, a BLE connection does not need to be established between the electronic device and the second audio device, saving message flow.
[0022] In one possible implementation, the target button is any one of the following: a mute button, a play button, or a pause button.
[0023] In this implementation, users can reuse existing buttons on the audio device to confirm the audio device as the target audio device, avoiding modifications to the audio device.
[0024] In one possible implementation, before displaying the stereo component pop-up, the method further includes: sending a first ultrasonic signal to a second audio device; and receiving a second ultrasonic signal sent by at least one third audio device among the second audio devices.
[0025] In this implementation, before the electronic device asks the user whether to set up stereo, a room-of-house detection mechanism can be used to filter out second audio devices that are not in the same room as the electronic device among the second audio devices that can be set up stereo, thereby further improving the accuracy and rationality of setting up stereo between the electronic device and the audio devices.
[0026] In one possible implementation, the method further includes: determining the positional relationship between the third audio device and the electronic device based on the second ultrasonic signal.
[0027] In one possible implementation, determining at least one target audio device and the corresponding channel for each target audio device includes: displaying a third audio device identification interface; the third audio device identification interface includes at least one third audio device, and the third audio device identification interface is used to guide the user to confirm whether the third audio device is a target audio device; receiving a feedback instruction input by the user, the feedback instruction being used to confirm whether the third audio device is a target audio device; determining at least one target audio device based on the feedback instruction, and determining the corresponding channel for each target audio device.
[0028] In this implementation, the user does not need to operate the audio device to confirm that it is the target audio device. Instead, a third audio device identification interface is displayed on the electronic device. By showing the third audio device in the same space as the electronic device, the user is guided to confirm whether the third audio device is the target audio device, simplifying the user operation and improving the user experience.
[0029] In one possible implementation, the third audio device identification interface is also used to indicate the positional relationship between at least one third audio device and the electronic device.
[0030] In this implementation, the third audio device identification interface can display the positional relationship between the third audio device and the electronic device. Users can visually and intuitively compare the actual environment with the third audio device identification interface, which helps users confirm whether the third audio device is the target audio device and further improves the user experience.
[0031] In one possible implementation, determining the channel corresponding to each target audio device includes: if there is only one target audio device, determining the subwoofer channel corresponding to the target audio device; if there is more than one target audio device, obtaining the positional relationship between each target audio device and the electronic device, and determining the channel corresponding to each target audio device based on the positional relationship.
[0032] In one possible implementation, determining the target networking mode includes: obtaining the target networking mode input by the user.
[0033] In one possible implementation, determining the target networking mode includes: if the number of target audio devices is 1, determining the target networking mode as the first networking mode; wherein, in the first networking mode, the channel of the target audio device is the subwoofer channel; if the number of target audio devices is greater than 1, determining the target networking mode based on the positional relationship between each target audio device and the electronic device.
[0034] In one possible implementation, the method further includes: displaying a channel confirmation interface; the channel confirmation interface is used to guide the user to determine whether the channel corresponding to the target audio device is correct; receiving a channel confirmation command input by the user, the channel confirmation command being used to determine whether the channel corresponding to the target audio device is correct.
[0035] In this implementation, by displaying a channel confirmation interface to the user, the location and channel of the target audio device, determined by the positioning technology of the electronic device, are further confirmed by the user, which improves the accuracy of stereo setup and avoids stereo setup errors caused by the electronic device's incorrect positioning of the audio device.
[0036] In one possible implementation, before establishing a Wi-Fi connection with each target audio device, the method further includes: configuring a target WLAN network for the target audio device if it is determined that the target audio device is not configured with a WLAN network; the target WLAN network is a WLAN network already configured for the electronic device.
[0037] In this implementation, if the target audio device is not configured with a WLAN network, the electronic device can configure the network for the target audio device, enabling the target audio device and the electronic device to access the same WLAN network, which facilitates subsequent communication.
[0038] In one possible implementation, configuring a target WLAN network for a target audio device includes: displaying an audio device network configuration interface, which is used to configure the target WLAN network for the target audio device; receiving a user's network connection operation; and controlling the target audio device to access the target WLAN network in response to the network connection operation.
[0039] In one possible implementation, the Bluetooth broadcast message includes network identification information, network indication information, and the product model of the audio device. The network identification information is used to indicate whether the audio device has been set up in stereo, and the network indication information is used to indicate whether the audio device is allowed to set up stereo.
[0040] In one possible implementation, determining the presence of a second audio device that can be used to build stereo among at least one audio device based on at least one Bluetooth broadcast message includes: if the networking indication information in the Bluetooth broadcast message indicates that the audio devices are allowed to build stereo, determining that a second audio device exists.
[0041] In one possible implementation, before determining the presence of a second audio device, the method further includes: determining that the signal strength of the Bluetooth broadcast message is greater than a preset threshold.
[0042] In this implementation, if the signal strength of the Bluetooth broadcast message is greater than a preset threshold, it indicates that the distance between the audio device and the electronic device is close enough to form a stereo system. Judging the signal strength of the Bluetooth broadcast message can improve the accuracy of the electronic device in detecting a second electronic device, which is beneficial for the reasonable and successful formation of a stereo system.
[0043] One possible implementation includes, before determining the existence of a second audio device, determining that the electronic device is not currently performing screen mirroring.
[0044] In one possible implementation, the Bluetooth broadcast message also includes network configuration information, which indicates whether the audio device has been configured with a WLAN network.
[0045] Secondly, a stereo networking method is provided, applied to audio devices, including: generating a Bluetooth broadcast message; the Bluetooth broadcast message is used to indicate whether the audio devices have formed a stereo network and whether the audio devices are allowed to form a stereo network; and sending the Bluetooth broadcast message to the electronic device.
[0046] The second aspect provides a stereo networking method where electronic devices and audio devices can communicate over short distances. The audio device sends a Bluetooth broadcast message to the electronic device, allowing the electronic device to directly and automatically discover suitable audio devices for stereo setup based on the short-range communication and the Bluetooth broadcast message, and then prompt the user to confirm the stereo setup. The stereo networking method provided in this application does not require the electronic device and audio device to be connected to the same local area network and have the same user account, making networking more flexible and efficient, and improving the user experience.
[0047] One possible implementation method also includes: establishing a Wi-Fi connection with an electronic device.
[0048] In one possible implementation, before establishing a Wi-Fi connection with the electronic device, the method further includes: receiving a network formation notification message sent by the electronic device; the network formation notification message is used to notify the detection user whether a preset operation has been performed on the target button; if a preset operation on the target button is detected, device identification information is sent to the electronic device; the device identification information is used to indicate that the audio device is the target audio device for forming a stereo connection with the electronic device.
[0049] In one possible implementation, receiving the network formation notification information sent by the electronic device includes: receiving a BLE broadcast message sent by the electronic device, wherein the BLE broadcast message includes the network formation notification information.
[0050] In one possible implementation, the target button is any one of the following: a mute button, a play button, or a pause button.
[0051] In one possible implementation, before establishing a Wi-Fi connection with the electronic device, the method further includes: receiving ultrasonic detection information sent by the electronic device; and sending ultrasonic signals to the electronic device.
[0052] In one possible implementation, before establishing a Wi-Fi connection with the electronic device, the method further includes: receiving a first ultrasonic signal sent by the electronic device; and sending a second ultrasonic signal to the electronic device.
[0053] In one possible implementation, the Bluetooth broadcast message includes network identification information, network indication information, and the product model of the audio device. The network identification information is used to indicate whether the audio device has been set up in stereo, and the network indication information is used to indicate whether the audio device is allowed to set up stereo.
[0054] In one possible implementation, the Bluetooth broadcast message also includes network configuration information, which indicates whether the audio device has been configured with a WLAN network.
[0055] Thirdly, an apparatus is provided, comprising: a first receiving module, configured to receive Bluetooth broadcast messages sent by at least one audio device; the Bluetooth broadcast messages are used to indicate whether the audio devices have configured stereo and whether stereo configuration is permitted; and a processing module, configured to display a stereo configuration pop-up when it is determined, based on at least one Bluetooth broadcast message, that a second audio device is available among the at least one audio devices for stereo configuration; the stereo configuration pop-up is used to ask the user whether the electronic device should configure stereo or reconfigure stereo.
[0056] In one possible implementation, a second receiving module is further included; the second receiving module is used to receive a stereo setup instruction input by the user; the stereo setup instruction is used to instruct the electronic device to set up stereo or re-set up stereo; the processing module is further used to determine the target networking mode, at least one target audio device, and the channel corresponding to each target audio device; the target audio device is the audio device confirmed by the user in the second audio device to set up stereo with the electronic device, and the target networking mode is the networking mode in which the electronic device and at least one target audio device set up stereo; the processing module is further used to establish a Wi-Fi connection with each target audio device.
[0057] In one possible implementation, the networking modes include: a first networking mode; in the first networking mode, the electronic device and one target audio device form a stereo system, and the channel of the target audio device is the subwoofer channel; a second networking mode; in the second networking mode, the electronic device and two target audio devices form a stereo system, and the channels of the two target audio devices are the left channel and the right channel, respectively; a third networking mode; in the third networking mode, the electronic device and two target audio devices form a stereo system, and the channels of the two target audio devices are the left surround channel and the right surround channel, respectively; a fourth networking mode; in the fourth networking mode, the electronic device and four target audio devices form a stereo system, and the channels of the four target audio devices are the left channel, the right channel, the left surround channel, and the right surround channel, respectively.
[0058] In one possible implementation, the processing module is configured to: acquire the target network mode input by the user; determine the number of target audio devices and the preset confirmation order of at least one target audio device according to the target network mode; send a network formation notification message to the second audio device; the network formation notification message is used to notify the second audio device to detect whether the user has performed a preset operation on the target button on the second audio device; display a first audio device identification interface; the first audio device identification interface is used to guide the user to perform preset operations on the target button on at least one target audio device in the preset confirmation order; receive device identification information sent by at least one second audio device in the preset confirmation order; the device identification information is used to indicate that the second audio device is a target audio device; determine at least one target audio device according to the device identification information, and determine the channel corresponding to each target audio device according to the preset confirmation order.
[0059] In one possible implementation, the preset confirmation order includes any of the following: when there are two target audio devices, the target audio devices of the left channel and the right channel are confirmed in sequence; when there are two target audio devices, the target audio devices of the left surround channel and the right surround channel are confirmed in sequence; when there are four target audio devices, the target audio devices of the left channel, the right channel, the left surround channel and the right surround channel are confirmed in sequence.
[0060] In one possible implementation, the processing module is further configured to: output a first prompt message; the first prompt message is used to indicate that the electronic device has successfully identified at least one target audio device.
[0061] In one possible implementation, the processing module is configured to: send a network formation notification to the second audio device; the network formation notification is used to notify the second audio device to detect whether the user has performed a preset operation on the target button on the second audio device; display the second audio device identification interface; the second audio device identification interface is used to guide the user to perform a preset operation on the target button on the second audio device; receive device identification information sent by at least one second audio device; the device identification information is used to indicate that the second audio device is a target audio device; determine at least one target audio device based on the device identification information, and determine the channel corresponding to each target audio device.
[0062] In one possible implementation, the processing module is used to: if the number of target audio devices is 1, determine the subwoofer channel corresponding to the target audio device; if the number of target audio devices is greater than 1, determine the positional relationship between each target audio device and the electronic device through positioning technology, and determine the channel corresponding to each target audio device based on the positional relationship.
[0063] In one possible implementation, the processing module is used to: send ultrasonic detection information to the target audio device; receive ultrasonic signals sent by the target audio device; and determine the positional relationship between the target audio device and the electronic device based on the ultrasonic signals.
[0064] In one possible implementation, after identifying at least one target audio device based on device identification information, the processing module is further configured to: output a second prompt message; the second prompt message is used to indicate that the electronic device has successfully identified at least one target audio device.
[0065] One possible implementation also includes a sending module, which is used to send a BLE broadcast message to the second audio device, the BLE broadcast message including network setup notification information.
[0066] In one possible implementation, the target button is any one of the following: a mute button, a play button, or a pause button.
[0067] One possible implementation further includes a sending module; the sending module is used to send a first ultrasonic signal to the second audio device before displaying the stereo component pop-up; the first receiving module is also used to receive a second ultrasonic signal sent by at least one third audio device in the second audio device.
[0068] In one possible implementation, the processing module is further configured to: determine the positional relationship between the third audio device and the electronic device based on the second ultrasonic signal.
[0069] In one possible implementation, the processing module is configured to: display a third audio device identification interface; the third audio device identification interface includes at least one third audio device, and the third audio device identification interface is used to guide the user to confirm whether the third audio device is the target audio device; receive feedback instructions input by the user, the feedback instructions are used to confirm whether the third audio device is the target audio device; determine at least one target audio device according to the feedback instructions, and determine the channel corresponding to each target audio device.
[0070] In one possible implementation, the third audio device identification interface is also used to indicate the positional relationship between at least one third audio device and the electronic device.
[0071] In one possible implementation, the processing module is used to: if the number of target audio devices is 1, determine the subwoofer channel corresponding to the target audio device; if the number of target audio devices is greater than 1, obtain the positional relationship between each target audio device and the electronic device, and determine the channel corresponding to each target audio device based on the positional relationship.
[0072] In one possible implementation, the processing module is used to: obtain the target networking mode input by the user.
[0073] In one possible implementation, the processing module is used to: if the number of target audio devices is 1, determine the target networking mode as the first networking mode; wherein, in the first networking mode, the channel of the target audio device is the subwoofer channel; if the number of target audio devices is greater than 1, determine the target networking mode according to the positional relationship between each target audio device and the electronic device.
[0074] In one possible implementation, the processing module is further configured to display a channel confirmation interface; the channel confirmation interface is used to guide the user to determine whether the channel corresponding to the target audio device is correct; the second receiving module is further configured to receive a channel confirmation command input by the user, the channel confirmation command being used to determine whether the channel corresponding to the target audio device is correct.
[0075] In one possible implementation, the processing module is further configured to: configure a target WLAN network for the target audio device if it is determined that the target audio device is not configured with a WLAN network before establishing a Wi-Fi connection with each target audio device; the target WLAN network is a WLAN network already configured for the electronic device.
[0076] In one possible implementation, the processing module is used to: display an audio device network configuration interface, which is used to configure a target WLAN network for the target audio device; receive a user's network connection operation; and, in response to the network connection operation, control the target audio device to access the target WLAN network.
[0077] In one possible implementation, the Bluetooth broadcast message includes network identification information, network indication information, and the product model of the audio device. The network identification information is used to indicate whether the audio device has been set up in stereo, and the network indication information is used to indicate whether the audio device is allowed to set up stereo.
[0078] In one possible implementation, the processing module is used to: determine the existence of a second audio device if the networking indication information in the Bluetooth broadcast message indicates that the audio devices are allowed to form a stereo system.
[0079] In one possible implementation, the processing module is further configured to: determine that the signal strength of the Bluetooth broadcast message is greater than a preset threshold before determining the presence of a second audio device.
[0080] In one possible implementation, the processing module is further configured to: determine that the electronic device is not currently performing screen mirroring services before determining the existence of a second audio device.
[0081] In one possible implementation, the Bluetooth broadcast message also includes network configuration information, which indicates whether the audio device has been configured with a WLAN network.
[0082] Fourthly, an apparatus is provided, comprising: a processing module for generating a Bluetooth broadcast message; the Bluetooth broadcast message indicating whether an audio device has configured stereo and whether stereo configuration is permitted; and a sending module for sending the Bluetooth broadcast message to an electronic device.
[0083] In one possible implementation, the processing module is also used to: establish a Wi-Fi connection with an electronic device.
[0084] One possible implementation also includes a receiving module; the receiving module is used to receive a network formation notification information sent by the electronic device before establishing a Wi-Fi connection with the electronic device; the network formation notification information is used to notify the detection user whether to perform a preset operation on the target button; the sending module is also used to send device identification information to the electronic device if the user is detected to have performed a preset operation on the target button; the device identification information is used to indicate that the audio device is the target audio device for forming a stereo connection with the electronic device.
[0085] In one possible implementation, the sending module is used to: receive BLE broadcast messages sent by electronic devices, the BLE broadcast messages including network setup notification information.
[0086] In one possible implementation, the target button is any one of the following: a mute button, a play button, or a pause button.
[0087] One possible implementation also includes a receiving module; the receiving module is used to receive ultrasonic detection information sent by the electronic device before establishing a Wi-Fi connection with the electronic device; the sending module is also used to send ultrasonic signals to the electronic device.
[0088] One possible implementation also includes a receiving module; the receiving module is used to receive a first ultrasonic signal sent by the electronic device before establishing a Wi-Fi connection with the electronic device; the transmitting module is also used to send a second ultrasonic signal to the electronic device.
[0089] In one possible implementation, the Bluetooth broadcast message includes network identification information, network indication information, and the product model of the audio device. The network identification information is used to indicate whether the audio device has been set up in stereo, and the network indication information is used to indicate whether the audio device is allowed to set up stereo.
[0090] In one possible implementation, the Bluetooth broadcast message also includes network configuration information, which indicates whether the audio device has been configured with a WLAN network.
[0091] Fifthly, an electronic device is provided, including a processor for coupling with a memory, reading instructions from the memory, and causing the electronic device to perform the method provided in the first aspect according to the instructions.
[0092] In a sixth aspect, an audio device is provided, including a processor for coupling with a memory, reading instructions from the memory, and causing the audio device to perform the method provided in the second aspect according to the instructions.
[0093] In a seventh aspect, a program is provided that, when executed by a processor, performs the methods provided in any of the foregoing aspects.
[0094] Eighthly, a computer-readable storage medium is provided, wherein instructions are stored therein, which, when executed on a computer or processor, implement the method provided in any of the preceding aspects.
[0095] In a ninth aspect, a program product is provided, comprising a computer program stored in a readable storage medium, wherein at least one processor of a device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the device to perform the methods provided in any of the preceding aspects. Attached Figure Description
[0096] Figure 1 A system architecture diagram for stereo networking;
[0097] Figure 2 for Figure 1 A schematic diagram illustrating the configuration process of creating a stereo system using the smart screen Y, speaker b, and speaker c.
[0098] Figure 3 A system architecture diagram of stereo networking provided in the embodiments of this application;
[0099] Figures 4 to 13 A set of application scenario diagrams provided for embodiments of this application;
[0100] Figures 14A to 14H A set of interface diagrams for setting up stereo networking for electronic devices provided in the embodiments of this application;
[0101] Figure 15 A flowchart of a stereo networking method provided in an embodiment of this application;
[0102] Figure 16 Another flowchart of the stereo networking method provided in the embodiments of this application;
[0103] Figures 17A to 17I A set of interface diagrams for a stereo component pop-up provided in an embodiment of this application;
[0104] Figure 18 A schematic diagram of an audio device network configuration interface provided in an embodiment of this application;
[0105] Figure 19 Another flowchart of the stereo networking method provided in the embodiments of this application;
[0106] Figures 20A-20E A set of schematic diagrams of the audio device identification interface provided in the embodiments of this application;
[0107] Figure 21 Another flowchart of the stereo networking method provided in the embodiments of this application;
[0108] Figures 22A to 22D Another set of interface diagrams for the audio device identification interface provided in the embodiments of this application;
[0109] Figures 23A-23B A set of schematic diagrams of the audio channel confirmation interface provided in the embodiments of this application;
[0110] Figure 24 Another flowchart of the stereo networking method provided in the embodiments of this application;
[0111] Figure 25 Another flowchart of the stereo networking method provided in the embodiments of this application;
[0112] Figures 26A-26D Another set of interface diagrams for the audio device identification interface provided in the embodiments of this application;
[0113] Figures 27A-27B Another set of interface diagrams for the audio device identification interface provided in the embodiments of this application;
[0114] Figure 28 A schematic diagram of the device provided in an embodiment of this application;
[0115] Figure 29 Another schematic diagram of the device provided in the embodiments of this application;
[0116] Figure 30 This is a schematic diagram of the structure of a device provided in an embodiment of this application. Detailed Implementation
[0117] The embodiments of this application are described below with reference to the accompanying drawings.
[0118] The stereo networking method provided in this application is applicable to scenarios where electronic devices and audio devices form a stereo network. This application does not limit the names and types of electronic devices and audio devices. Examples of electronic devices include smart screens, televisions, and projectors. Examples of audio devices include speakers and wireless headphones.
[0119] For ease of explanation, in this embodiment, a smart screen is used as the electronic device and a speaker is used as the audio device.
[0120] First, the concepts involved in the embodiments of this application will be explained.
[0121] 1. Stereo networking
[0122] Stereo networking, also known as networking or stereo setup, refers to electronic devices using audio equipment to produce sound, or using audio equipment and the electronic device's built-in speakers together to produce sound, thereby achieving different sound playback effects.
[0123] 2. Stereo networking mode
[0124] Stereo networking modes are also called networking modes. Different numbers and / or locations of audio devices in a stereo network result in different networking modes. Four examples are described below, but these are not intended to limit the specific networking modes. This application does not limit the name of each networking mode in its embodiments.
[0125] (1) Networking Mode 1
[0126] Also known as single speaker networking mode or subwoofer networking mode.
[0127] In this mode, the electronic device and one audio device form a stereo system. The audio device amplifies the low-frequency band, enhancing the bass sound playback effect. The channel corresponding to the audio device can be called the subwoofer channel. For an example, see [link to example]. Figure 4 .
[0128] (2) Networking Mode 2
[0129] Also known as front dual speaker networking mode, front mode, or left and right channel networking mode.
[0130] In this mode, the electronic device and two audio devices form a stereo system. The channels corresponding to the two audio devices are called the left channel and the right channel, respectively, creating a stereo effect through sound from both the left and right directions.
[0131] Optionally, the two audio devices are located on the left and right sides of the electronic device, respectively. See, for an example. Figure 5 .
[0132] Optional, the two audio devices can be of the same model.
[0133] (3) Networking Mode 3
[0134] Also known as rear dual speaker networking mode, rear mode, or left and right surround channel networking mode.
[0135] In this mode, electronic devices and two audio devices create a stereo sound system. The two audio devices are located near the listener's seat, and their corresponding channels are called the left surround channel and the right surround channel, respectively. The sound from both the left and right directions gives the listener the feeling of being surrounded by the sound source.
[0136] Optionally, the two audio devices are positioned on the left and right sides of the listener's seat, respectively. See, for an example. Figure 7 .
[0137] Optional, the two audio devices can be of the same model.
[0138] (4) Networking Mode 4
[0139] Also known as a four-speaker networking mode.
[0140] In this mode, the electronic device and four audio devices form a stereo system. Two audio devices are configured as the left and right channels, respectively, and the other two are configured as the left and right surround channels, respectively. For an example, see [link to example]. Figure 8 .
[0141] Optionally, the two audio devices configured as left and right channels are of the same model, and the two audio devices configured as left and right surround channels are of the same model.
[0142] Optionally, all four audio devices can be the same model.
[0143] 3. Distribution network
[0144] Network configuration includes network configuration for electronic devices and network configuration for audio devices. Network configuration for electronic devices refers to configuring the account and password for a wireless local area network (WLAN) on the electronic device, thus enabling the electronic device to access the WLAN network. Similarly, network configuration for audio devices refers to configuring the account and password for a WLAN on the audio device, thus enabling the audio device to access the WLAN network.
[0145] Optionally, in this embodiment, the electronic device can configure a WLAN network for the audio device, enabling the audio device to connect to a router. The electronic device and the audio device can access the same WLAN network for easy communication. Optionally, when the audio device disconnects from the electronic device's Wi-Fi connection, the audio device can connect to the router.
[0146] 4. Backlink, First Network Record, Second Network Record
[0147] After an electronic device and an audio device successfully form a stereo connection, both devices locally store a stereo networking record, also known as a networking record. This application does not limit the content of the networking records stored separately by the electronic device and the audio device. When the electronic device is powered on again, it can attempt to form a stereo connection with the audio device based on the locally stored networking record; this process is called reconnection. Similarly, when the audio device is powered on again, it can attempt to reconnect to the electronic device based on its locally stored networking record. For example, a smart screen X forms a stereo connection with speakers a and b. When smart screen X, speakers a, and speakers b are powered on again, they will attempt to reconnect.
[0148] For ease of explanation, the networking record in an electronic device can be referred to as the first networking record, and the networking record in an audio device can be referred to as the second networking record.
[0149] 5. Self-organizing network function and self-organizing network process
[0150] Self-organizing network functionality refers to the ability of an electronic device to automatically discover and connect with audio devices that can be used to create a stereo connection. For example, when an electronic device initially connects with an audio device to create a stereo connection, or when the electronic device fails to reconnect to the audio device but discovers other audio devices that can be used to create a stereo connection, or when the electronic device successfully connects with the audio device but discovers other audio devices that can be used to create a stereo connection, the electronic device can execute the self-organizing network process to achieve this functionality.
[0151] The embodiments of this application do not limit the name of the self-organizing network function; for example, it may also be called the automatic stereo networking function.
[0152] Optionally, a function switch can be installed on the electronic device to configure whether the device enables or supports self-organizing networking. This function switch provides users with options and improves the flexibility of stereo networking.
[0153] 6. First audio device, second audio device, third audio device, target audio device
[0154] In this embodiment of the application, for ease of explanation, the audio device that the electronic device discovers and can be used for reconnection is referred to as the first audio device, the audio device that the electronic device discovers and can be used to build stereo is referred to as the second audio device, the audio device that the electronic device discovers and can be used to build stereo and is located in the same room as the electronic device is referred to as the third audio device, and the audio device that the user confirms and can build stereo with the electronic device is referred to as the target audio device.
[0155] 7. Historical networking mode and target networking mode
[0156] In this embodiment of the application, for ease of explanation, the networking mode in the first networking record stored by the electronic device is referred to as the historical networking mode, and the networking mode when the electronic device executes the self-networking process is referred to as the target networking mode.
[0157] The following describes one method for implementing stereo networking between electronic and audio devices.
[0158] For example, Figure 1 This is a system architecture diagram for stereo networking. (Example:) Figure 1 As shown, the system includes routing devices, electronic devices, and audio devices; the type and quantity of each device within the system are not limited. Figure 1 In this configuration, the routing device includes router H. There are two electronic devices: smart screen X and smart screen Y. There are three audio devices: speaker a, speaker b, and speaker c. Smart screen X and speaker a form a stereo system, while smart screen Y, speaker b, and speaker c form a stereo system. (See [link to documentation]). Figure 1 The dashed box in the image shows that router H establishes a WLAN network. Smart screen X, smart screen Y, speaker a, speaker b, and speaker c all establish WLAN connections with router H and access this WLAN network.
[0159] Taking speaker a as an example, speaker a can access a server on the Internet through router H, obtain audio data from the server and play it; or, speaker a can obtain audio data from smart screen X through router H and play it; or, speaker a can form a stereo system with smart screen X and obtain audio data from smart screen X and play it.
[0160] Taking Smart Screen Y as an example, Smart Screen Y can send audio data to speakers b and c through router H; or, Smart Screen Y can send audio data to speakers b and c after forming a stereo system with speakers b and c.
[0161] For example, with Figure 1 Taking the initial stereo setup of Smart Screen Y, Speaker b, and Speaker c as an example, the user's configuration process is explained. Figure 2 for Figure 1 A schematic diagram illustrating the configuration process of creating a stereo system using the smart screen Y, speaker b, and speaker c. (See diagram below.) Figure 2 As shown, the configuration process includes:
[0162] Step 1: Configure the WLAN network and user account for the Smart Screen Y.
[0163] Users can configure the WLAN network account and password in the relevant interface displayed on the Smart Screen Y, enabling the Smart Screen Y to access the WLAN network established by the router H.
[0164] Users can configure their user accounts on the relevant interface displayed on the Smart Screen Y. These user accounts are also called login accounts. After logging into the Smart Screen Y with their user accounts, the Smart Screen Y can obtain permissions for relevant functions or services and provide those functions to the user. Different users can use the same user account to log into the Smart Screen Y, or different users can use their own individual user accounts to log in.
[0165] Step 2: Configure the WLAN network and user account for speaker b and speaker c.
[0166] Users can configure the WLAN network username and password for speakers b and c on the relevant interface displayed on the device, enabling speakers b and c to access the WLAN network established by router H. Speakers b and c can communicate with the relevant device over short distances, such as via Bluetooth or Wi-Fi. An application (APP) for managing audio devices can be installed on the relevant device. Examples of such devices include mobile phones and tablets. For example... Figure 2 The explanation will use a mobile phone as an example.
[0167] Users can configure the user accounts for speaker B and speaker C in the relevant interface displayed on their mobile phones. Different users can log in to the speakers using the same user account, or different users can log in to the speakers using their own individual user accounts.
[0168] Step 3: Configure speaker b and speaker c as a speaker combination.
[0169] Users can configure two speakers with the same user account and on the same local area network as a speaker combo within the relevant interface of the mobile app. For example, in this example, speaker b and speaker c are configured as a speaker combo, and the left and right channels of the speaker combo are set.
[0170] There are no restrictions on the order of configuring the WLAN network for the speakers in step 2 and configuring the speaker combination in step 3.
[0171] Optionally, in one implementation, after the user configures speaker b on their mobile phone, and the phone detects speaker c, the app first asks the user whether to create a stereo setup with the newly discovered speaker c and the existing speaker b. Once the user confirms the stereo setup, the app asks the user to confirm the left and right channel configurations, and then the phone configures speaker c on the network.
[0172] Alternatively, in another implementation, after speaker b and speaker c complete their network pairing independently, the user can select to combine speaker b and speaker c into a stereo system in the app.
[0173] Step 4: Combine the smart screen Y and the speaker on the smart screen Y to create a stereo sound system.
[0174] When the user accounts of Smart Screen Y, Speaker b, and Speaker c are the same, and all are connected to the WLAN network established by Router H (i.e., Smart Screen Y, Speaker b, and Speaker c share the same user account and are on the same local area network), Router H can forward packets between the Smart Screen and the speakers. Based on the discovery mechanism within the local area network, Smart Screen Y can discover speakers or speaker combinations with the same user account and on the same local area network, and display the discovered speakers or speaker combinations in the relevant interface of Smart Screen Y. For example, in this example, the relevant interface of Smart Screen Y displays the speaker combination consisting of Speaker b and Speaker c. Correspondingly, the user operates on the relevant interface displayed on Smart Screen Y to create stereo sound with the Smart Screen Y and the speaker combination. Smart Screen Y establishes a peer-to-peer (P2P) connection with Speakers b and c. Subsequently, audio data and / or control information between the Smart Screen and the speakers are carried on this P2P connection, without needing to be relayed through Router H.
[0175] There are no restrictions on the interfaces displayed on the smart screen Y and mobile phones.
[0176] It can be seen that, in Figure 1 In the system shown, the following requirements apply when the speaker and smart screen are configured for stereo sound: the speaker and smart screen must be connected to the same local area network (LAN), the user accounts of the speaker and smart screen must be the same, and router H must be able to forward packets between the smart screen and the speaker. This allows the smart screen to discover the speaker or speaker combination based on the LAN's discovery mechanism. When configuring, the user must first configure the network for both the smart screen and the speaker separately, and then configure the stereo sound setup for the smart screen and speaker in the relevant interface displayed on the smart screen (see...). Figure 2 Step 4). If you want to create a stereo setup with the two speakers and the smart screen, you also need to configure the two speakers as a speaker combination on your phone beforehand (see...). Figure 2 Step 3). The user configuration process involves many steps and is cumbersome.
[0177] This application provides a stereo networking method where electronic devices and audio devices can communicate over short distances. Based on this short-range communication, the electronic devices can directly and automatically discover audio devices suitable for stereo setups or backlinks. The electronic devices can then request permission from the user to set up stereo, and establish a stereo connection with the audio devices according to the user's needs. The stereo networking method provided in this application does not require the electronic devices and audio devices to be connected to the same local area network or have the same user account. During the stereo networking configuration process, it eliminates the need for pre-configuration of electronic devices and audio devices, and the configuration of multiple audio devices, simplifying the user configuration process, making networking more flexible and efficient, and improving the user experience.
[0178] For example, Figure 3This is a system architecture diagram for a stereo network provided in an embodiment of this application. The system includes electronic devices and audio devices. Optionally, the system also includes routing devices. Figure 3 In this system, electronic devices include Smart Screen X and Smart Screen Y. Audio devices include speaker a, speaker b, and speaker c. Routing devices include router H and router G. Figure 3 and Figure 1 The difference is: in Figure 1 In this system, electronic devices discover stereo audio devices or combinations of audio devices based on the discovery mechanism within the local area network (LAN). Therefore, it requires that the electronic devices and audio devices be on the same LAN, share the same user account, and that the routing device can forward messages between the electronic devices and audio devices. Figure 3 In this system, electronic devices and audio devices can communicate over short distances. The electronic device can then discover audio devices that can form stereo or backlink connections based on this short-range communication. Therefore, it is not required that the electronic device and audio device be on the same local area network, share the same user account, or that a routing device exists that can forward messages between the electronic device and the audio device. This application does not limit the type of short-range communication; for example, Bluetooth communication. For instance, in... Figure 3 In the diagram, Smart Screen X can communicate with Speakers a, b, and c via Bluetooth, and Smart Screen Y can communicate with Speakers a, b, and c via Bluetooth.
[0179] Optionally, electronic devices and audio devices can connect to the WLAN network established by the routing device. Electronic devices and audio devices can connect to the same WLAN network, or they can connect to different WLAN networks. For example, in... Figure 3 In the diagram, smart screen X, smart screen Y, and speaker a communicate with router H, while speakers b and c communicate with router G.
[0180] Optionally, the user accounts for electronic devices and audio devices can be the same or different.
[0181] It needs to be explained that, Figure 3 This is merely an example and does not limit the number or type of electronic devices, audio devices, or routing devices in the system.
[0182] The following section explains the application scenarios and networking modes for building stereo systems using electronic and audio devices.
[0183] The electronic device is initially in an unnetworked state upon leaving the factory; it has never formed a stereo connection with the audio device. Later, in different application scenarios, the electronic device and audio device form a stereo connection for the first time, and the electronic device stores the first network connection record. Similarly, the audio device is initially in an unnetworked state upon leaving the factory, and later, in different application scenarios, it can form a stereo connection with the electronic device for the first time, and the audio device stores the second network connection record. Optionally, after successfully forming a stereo connection, the electronic device or audio device can attempt to reconnect upon power-on. If the reconnection is successful, the electronic device and audio device operate according to the historical network connection mode. If the reconnection fails, the electronic device and audio device can re-establish a stereo connection based on the actual application scenario, and update the local network connection record upon successful reconnection.
[0184] For example, in combination Figures 4 to 13 This explanation does not limit the application scenarios or networking modes of stereo networking. For ease of explanation, Figures 4 to 13 The mid-range speakers have the same model number.
[0185] Optional, in one scenario, see Figure 4 The living room contains a smart screen X and a speaker a, both of which are not yet networked. The smart screen X can detect the speaker a and initially establishes stereo sound with it, using network mode 1.
[0186] Optional, see another scenario. Figure 5 The living room includes a smart screen X, speaker a, and speaker b, all of which are not yet networked. Speaker a and speaker b are located on either side of the smart screen X. The smart screen X can detect speakers a and b, and initially establishes stereo sound with them, using network mode 2.
[0187] Optional, in yet another scenario, see Figure 6 The living room includes Smart Screen X and speakers a through c. Smart Screen X, speakers b, and speaker c are all currently not networked. Speaker a was previously networked with Smart Screen Y. Speaker a failed to reconnect after powering on. Smart Screen X can detect speakers a through c. Smart Screen X, speakers a, and speakers b can form a stereo system, using network mode 2. Figure 6 and Figure 5 The difference lies in the number of speakers in the scene and the historical networking status.
[0188] Optional, in yet another scenario, see Figure 7 The living room includes a smart screen X, speaker a, and speaker b, all of which are not yet networked. Speaker a and speaker b are located on either side of the sofa. The smart screen X can detect speakers a and b, and initially establishes stereo sound with them in network mode 3.
[0189] Optional, in yet another scenario, see Figure 8 The living room includes a smart screen X and speakers a through d, all of which are not yet networked. Speakers a and b are located on either side of the smart screen X, while speakers c and d are located on either side of the sofa. The smart screen X can detect speakers a through d and initially establishes stereo sound with them, using network mode 4.
[0190] Optional, in yet another scenario, see Figure 9 This scenario involves a room-based detection mechanism before electronic and audio devices can form a stereo system. The living room contains a smart screen X, speaker a, and speaker b, all of which are not networked. The bedroom contains speaker c, also not networked. Through the room-based detection mechanism, smart screen X can detect speakers a, b, and c, but determines that it is in a different space from speaker c. Smart screen X, speaker a, and speaker b can initially form a stereo system, using network mode 2.
[0191] Optional, in yet another scenario, see Figure 10 The living room includes a smart screen X, speaker a, and speaker b. Smart screen X, speaker a, and speaker b have previously been networked in network mode 2. Later, the user moves speaker b to the bedroom, but smart screen X and speaker b can still communicate via Bluetooth. Optionally, in one implementation, when smart screen X, speaker a, and speaker b are powered on, smart screen X detects speakers a and b that can reconnect, successfully reconnects, and operates in network mode 2. At this time, speaker b emits sound in the bedroom. Optionally, in another implementation, a room-of-sight detection mechanism is involved in the reconnection process between electronic and audio devices. When smart screen X, speaker a, and speaker b are powered on, smart screen X can detect speakers a and b. However, through the room-of-sight detection mechanism, smart screen X determines that it is in a different space from speaker b and will not reconnect. That is, the reconnection between smart screen X and speakers a and b fails. Optionally, the Smart Screen X can execute a self-organizing network process, asking the user whether to rebuild the stereo system with the Smart Screen X. In this case, the Smart Screen X and speaker a can rebuild the stereo system using network mode 1.
[0192] Optional, in yet another scenario, see Figure 11 . Figure 11 and Figure 10 The difference is: in Figure 10 In the scenario where the user moves speaker b to the bedroom, the smart screen X and speaker b can communicate via Bluetooth, and the smart screen X can detect speaker b. Meanwhile... Figure 11In this scenario, the user removes speaker b, and the smart screen X only detects speaker a. In this situation, the smart screen X, speaker a, and speaker b fail to reconnect. Optionally, the smart screen X can execute a self-organizing network procedure, asking the user whether to rebuild the stereo connection. In this case, the smart screen X and speaker a can rebuild the stereo connection using network mode 1.
[0193] Optional, in yet another scenario, see Figure 12 The living room includes a smart screen X and speaker a. Smart screen X and speaker a are already networked (network mode 1). Later, the user adds speaker b to the living room, initially in an unnetworked state. When smart screen X, speaker a, and speaker b are powered on, smart screen X detects speaker a and successfully reconnects, reverting to network mode 1. Smart screen X also detects speaker b, which can be used to create stereo sound. Optionally, smart screen X can execute a self-networking process, asking the user if they want to rebuild stereo sound with smart screen X. In this case, smart screen X can rebuild stereo sound with speakers a and b using network mode 2.
[0194] Optional, in yet another scenario, see Figure 13 . Figure 13 and Figure 12 The difference is: in Figure 12 In the diagram, the added speaker b is in an unnetworked state. Meanwhile... Figure 13 In the process, the added speaker b is in a networked state, but it will fail to reconnect after powering on. After speaker b's reconnection fails, the smart screen X will detect speaker b as a viable network option. Once the smart screen X successfully reconnects to speaker a, it can execute a self-organizing network process, asking the user whether to rebuild the stereo system. At this point, the smart screen X can rebuild the stereo system with speakers a and b using network mode 2.
[0195] Below, through Figures 14A to 14H The interface for setting up stereo networking in the electronic device in the embodiments of this application will be briefly described, but... Figures 14A to 14H It does not impose any restrictions on the relevant settings interface.
[0196] like Figure 14AAs shown, the smart screen displays an "Output" interface 11, used to set the smart screen's sound output mode. This embodiment does not limit the process of user operation to access interface 11. Interface 11 includes two function options: local speaker and select WLAN speaker (referred to as tab 111). Optionally, the user can operate control 110, and the display status of control 110 indicates whether the smart screen is allowed to use the local speaker. Optionally, the user can operate tab 111 to set whether the smart screen uses audio devices to create stereo sound. Optionally, interface 11 also includes guidance information 112 to assist the user in making selections. For example, guidance information 112 could be "Connect WLAN speaker, the smart screen can play sound together with the WLAN speaker."
[0197] When the user selects tab 111, the smart screen responds to the user's action and displays the "Select WLAN Speaker" interface 12, such as... Figure 14B As shown. Interface 12 may include the following function options: automatically discover speakers and find WLAN speakers. Optionally, the user can operate control 121 to indicate whether the self-organizing network function is enabled or supported through the display status of control 121.
[0198] Optionally, interface 12 may also include a "My Devices" function option to indicate one of the following: the speaker or speaker combination currently connected to the smart screen, or the speaker or speaker combination most recently connected to the smart screen before the current time. If the smart screen currently has no stereo setup or no stereo network record, interface 12 may not display the "My Devices" function option, or it may display the "My Devices" function option but have no record. If the smart screen currently has a stereo setup or a stereo network record, the "My Devices" function option includes one record. Optionally, it may also indicate the current network mode or historical network mode. For example, in Figure 14B In the "My Devices" section, the record reads "Speaker combination connected (front panel)," indicating that the smart screen is currently forming a stereo system with the speaker combination, and the current network mode is network mode 2.
[0199] Optionally, interface 12 may also include an "Other Devices" function option to indicate other audio devices discovered by the electronic device based on the local area network discovery mechanism. If the electronic device does not discover other audio devices, the "Other Devices" function option may not be displayed in interface 12, or it may be displayed but not recorded. If the electronic device discovers other audio devices, the "Other Devices" function option includes at least one record.
[0200] Optionally, interface 12 may also include guidance information 122 to assist users in making selections. For example, guidance information 122 could be: "Connecting a single speaker can enhance the performance of bass. Connecting a speaker combo will allow the speakers and smart screen to work together to produce sound and enjoy a better audio experience."
[0201] It should be noted that the speaker assembly in the embodiments of this application is related to... Figure 2 The speaker combinations shown have different meanings. Figure 2 In the previous method, users needed to pre-configure a speaker combination on their mobile phones. All speakers in the combination were connected to the same local area network (LAN) and shared the same user account, allowing electronic devices to discover speaker combinations under the same user account on the same LAN. Subsequently, if the application scenario changed or a device malfunction caused the speaker combination to fail to network with the electronic device, the speaker combination would not automatically disconnect and would need to be manually disconnected on the mobile phone. However, in this embodiment, users do not need to pre-configure the speaker combination on their mobile phones. The electronic device automatically creates a stereo combination from the discovered speakers suitable for networking, based on user needs. Subsequently, if the speaker combination fails to reconnect to the electronic device, the speaker combination can automatically disconnect. Alternatively, the speaker combination can remain connected. If the electronic device forms a stereo combination with a new audio device, the speaker combination automatically disconnects, and the new network record overwrites the old one.
[0202] In this embodiment, the user can perform any of the following operations: manually delete an audio device networked with an electronic device, manually disconnect an audio device networked with an electronic device, or manually connect an audio device networked with an electronic device. Deleting an audio device networked with an electronic device means breaking the network relationship between the electronic device and the audio device; the electronic device can then re-network with other audio devices. Disconnecting an audio device networked with an electronic device means breaking the communication connection between the electronic device and the audio device, but does not break the network relationship; the electronic device and the audio device can subsequently reconnect.
[0203] Optionally, in a scenario, such as Figure 14B As shown, the smart screen is currently connected to the speaker combination.
[0204] Optionally, in one implementation, the user can choose Figure 14B In the "Other Devices" section, for example, speaker 1, manually delete the network connection between the smart screen and the speaker combination, and then create a stereo network between the smart screen and speaker 1. Correspondingly, the smart screen responds to the user's operation, and interface 12 updates to interface 13, as shown below. Figure 14C As shown. Specifically, "My Devices" includes one record, which has been changed to "Speaker 1 is connected," indicating that the smart screen is currently networked with Speaker 1 in network mode 1. "Other Devices" includes one record, specifically Speaker 2.
[0205] Optionally, before displaying interface 13 on the smart screen, the smart screen can also display a pop-up window in interface 12 to prompt the user to make a selection. For example, such as... Figure 14D As shown, interface 12 displays a pop-up window 14. Pop-up window 14 includes guidance information, a "Cancel" button, and a "Connect" button. For example, the guidance information includes the text "After connecting the new speaker, the current speaker and smart screen combination will be deleted. Continue?". Optionally, the user can select the "Connect" button. Correspondingly, the smart screen responds to the user's operation by deleting the network relationship with the speaker combination and establishing a stereo network with speaker 1.
[0206] Alternatively, in another implementation, the user can... Figure 14B In the "My Devices" section, you can manually delete the network connection between the smart screen and the speaker combination, or manually disconnect the smart screen from the speaker combination. Correspondingly, the smart screen will display a pop-up window 15 in interface 12 in response to the user's operation. Figure 14E As shown. Pop-up window 15 includes guidance information, a "Delete Device" button, and a "Disconnect" button. For example, the guidance information includes the text "After disconnecting the speaker combination, the speaker effects need to be reconfigured. After deleting the speaker combination, a new speaker can be created." Optionally, the user can select the "Delete Device" button. Correspondingly, the smart screen responds to the user's operation by deleting the network relationship between the smart screen and the speaker combination, and interface 12 updates to interface 16, as shown. Figure 14F As shown. Specifically, interface 16 does not include "My Devices," indicating that the smart screen currently has no first network record. "Other Devices" in interface 16 includes two records: Speaker 1 and Speaker 2. Optionally, the user can select the "Disconnect" button. Correspondingly, the smart screen responds to the user's action by disconnecting the connection between the smart screen and the speaker combination, and interface 12 updates to interface 17, as shown. Figure 14G As shown. Specifically, in interface 17, "My Devices" includes one record, which is "Speaker Combination Not Connected (Front)," indicating that the smart screen has a first network record, but currently no stereo sound is set up. The most recent stereo sound setup was with the speaker combination, and the historical network mode is network mode 2.
[0207] Optionally, in another scenario, such as Figure 14G As shown, the smart screen currently does not have stereo sound, but it has network records stored locally.
[0208] Optionally, in one implementation, the user can select the speaker from "Other Devices" in interface 17, manually delete the historical network relationships saved locally on the smart screen, and then create a stereo network between the smart screen and the new speaker. See also... Figure 14C and Figure 14DThe related explanations are similar in principle and will not be repeated here.
[0209] Optionally, in another implementation, the user can operate the speaker combination in "My Devices" on interface 17, manually deleting the network relationship between the smart screen and the speaker combination, or manually connecting the smart screen and the speaker combination. Correspondingly, the smart screen responds to the user's operation by displaying a pop-up window 18 on interface 17, such as... Figure 14H As shown. Pop-up window 18 includes guidance information, a "Delete Device" button, and a "Connect" button. For example, the guidance information includes the text "Speaker Combination" and "After deleting the speaker combination, a new speaker can be combined." Optionally, the user can select the "Delete Device" button, as shown in [reference needed]. Figure 14E The related explanations are similar in principle and will not be repeated here. Optionally, the user can select the "Connect" button. Correspondingly, the smart screen will respond to the user's operation and connect to the speaker, with interface 17 updating to interface 12, as shown below. Figure 14B As shown.
[0210] The technical solution of this application will be described in detail below through specific embodiments. The following embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0211] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the embodiments of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0212] In the description of the embodiments of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The "and / or" in the text is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone.
[0213] In the description of the embodiments of this application, unless otherwise stated, "a plurality of" means two or more.
[0214] It should be noted that, in the various embodiments of this application, the operations performed by the user on the relevant interface displayed on the electronic device include, but are not limited to, at least one of the following: touch operation by the user on the display screen of the electronic device, operation of the relevant interface by the user through an intermediate control device such as a remote control, and operation of the relevant interface by the user through voice control.
[0215] It should be noted that, in various embodiments of this application, the relevant interface may include guidance information, prompts, or reminders, all of which are used to assist and guide user operations, inform users of the current progress, and improve the user experience. This application does not limit the form and content of the guidance information, prompts, or reminders; for example, they may include, but are not limited to, at least one of the following: text, images, or animations.
[0216] Figure 15 This is a flowchart illustrating a stereo networking method provided in an embodiment of this application. The stereo networking method provided in this embodiment includes electronic devices and audio devices as executing entities, and is applicable to… Figure 3 The system shown involves a reconnection process for electronic and audio devices. This embodiment does not limit the number of electronic and audio devices in the system; each electronic device in the system can perform the operations of the electronic devices in this embodiment, and each audio device in the system can perform the operations of the audio devices in this embodiment. For example... Figure 15 As shown, the stereo networking method provided in this embodiment may include:
[0217] S1501, The audio device sends a Bluetooth broadcast message. The Bluetooth broadcast message includes network identification information, network instruction information, and the product model of the audio device.
[0218] Correspondingly, the electronic device receives Bluetooth broadcast messages sent by at least one audio device within the system.
[0219] The network identification information reflects whether the audio devices have historically formed a stereo network. Optionally, the value of the network identification information has a preset range, which is not limited in this embodiment. For example, the preset range is 0 to 65535. Invalid values can be preset within the preset range, for example, a value of 0. Each value within the preset range, excluding invalid values, can uniquely distinguish the network relationship between the audio devices and electronic devices.
[0220] Optionally, in one implementation, if the audio device has never configured stereo, the network identifier information is a preset invalid value. If the audio device has configured stereo, the network identifier information is the value of the network identifier information corresponding to the most recent stereo configuration.
[0221] Optionally, in another implementation, if the audio device has never been configured in stereo, or if the audio device was disconnected from the network after its most recent stereo configuration, for example... Figure 14E or Figure 14H The device deletion operation shown uses a preset invalid value for the network identifier information. If the audio device has not been disconnected from the network after its most recent stereo setup, the network identifier information will be the value corresponding to the network identifier information when the audio device was last set up in stereo.
[0222] The network configuration information indicates whether stereo sounding with audio devices and electronic devices is permitted. Normally, if the speaker has a second network record stored locally, it will attempt to reconnect after power-on. Stereo sounding with other electronic devices is not permitted until the speaker's reconnection times out or succeeds. In this case, the network configuration information value indicates that stereo sounding with audio devices and electronic devices is not allowed. If the speaker's reconnection fails, stereo sounding with other electronic devices is permitted. In this case, the network configuration information value indicates that stereo sounding with audio devices and electronic devices is allowed. If the speaker does not have a second network record locally, or if the speaker has never been networked, stereo sounding with other electronic devices is permitted.
[0223] The Bluetooth broadcast message carries the product model of the audio device, which is used by the electronic device to determine whether the audio device supports stereo sound. Optionally, in scenarios with multiple audio devices, it is also used by the electronic device to determine whether it can form stereo sound with multiple audio devices.
[0224] The following is combined with Figure 6 Examples of network identification information and network instruction information are provided.
[0225] exist Figure 6 In the scenario, speaker A has historically networked with smart screen Y. Assume the network identification information is 100, used to uniquely identify the network connection between speaker A and smart screen Y. During the period after speaker A powers on and attempts to reconnect with smart screen Y, the network identification information in the Bluetooth broadcast message sent by speaker A will be 100, indicating that speaker A has historically established a stereo connection. The network indication information can be 0, indicating that stereo connection between speaker A and the electronic device is currently not allowed. When speaker A's reconnection times out and fails, the network identification information in the Bluetooth broadcast message sent by speaker A will remain unchanged, while the network indication information can be 1, indicating that stereo connection between speaker A and the electronic device is allowed.
[0226] exist Figure 6 In the example, speaker b and speaker c have never formed a network. In the Bluetooth broadcast message sent by speaker b or speaker c, the network identification information is 0, indicating that speaker b or speaker c has never formed a stereo system. The network indication information can have a value of 1, indicating that speaker b or speaker c can form a stereo system.
[0227] Optionally, the Bluetooth broadcast message may also include at least one of the following: network configuration information or key press information of the audio device.
[0228] Network configuration information is used to indicate whether an audio device has been configured with a WLAN network. Through this information, the audio device can notify the electronic device whether it has been configured with a WLAN network, allowing the electronic device to subsequently determine whether network configuration is needed for the audio device. See the relevant explanation in S1606.
[0229] The button information of an audio device can include identification information for each button on the audio device, which is used to uniquely distinguish different buttons. By sending the button information of the audio device to electronic devices, the electronic devices can then use the buttons on the audio device to perform specific functions.
[0230] It should be noted that this embodiment does not limit the type of Bluetooth broadcast message or the Bluetooth protocol version it conforms to. For example, the Bluetooth broadcast message is a Bluetooth Low Energy (BLE) broadcast message.
[0231] S1502. The electronic device determines whether there is a first audio device waiting to reconnect based on the Bluetooth broadcast messages sent by at least one audio device, and whether the number of the first audio devices is the same as the number in the first network record stored locally.
[0232] Optionally, the first network record includes network identification information and historical network modes. For network identification information, please refer to the relevant explanation in S1501, which will not be repeated here. The number of first audio devices varies depending on the historical network mode. For example, in network mode 1, there is one first audio device. In network mode 2 or network mode 3, there are two first audio devices. In network mode 4, there are four first audio devices.
[0233] Electronic devices can determine whether an audio device is the first audio device by comparing the network identification information stored locally with the network identification information carried in the Bluetooth broadcast message sent by the audio device.
[0234] If it is determined that a first audio device exists and the number of first audio devices is the same as the number in the first network record, it means that the electronic device has discovered all the first audio devices waiting to reconnect, and executes S1503 to S1504.
[0235] If it is determined that the first audio device does not exist, or if the first audio device exists but its number differs from the number recorded in the first network group, it means that the electronic device has not detected all the first audio devices to be reconnected to, and therefore will not reconnect, ending the reconnection process. Optionally, if the electronic device has the self-organizing network function enabled, it can execute the self-organizing network process; see [link to relevant documentation]. Figure 16 The illustrated embodiment.
[0236] For example, with Figure 11 and Figure 12 The scenario shown will be explained.
[0237] exist Figure 11 In the scenario, speakers a and b have historically networked with smart screen X. Assume the network identifier value is 300, uniquely identifying the network connection between speakers a, b, and smart screen X. The first network record stored locally on smart screen X includes the network identifier and historical network mode. The network identifier value is 300, and the historical network mode is network mode 2. Speaker b is removed. Smart screen X and speaker a are powered on again, both attempting to reconnect. In the Bluetooth broadcast message sent by speaker a, the network identifier is 300, and the network indication value is 0, indicating that networking with electronic devices is currently not allowed. Smart screen X receives the Bluetooth broadcast message from speaker a, confirms the network identifier value is 300, and identifies speaker a as the first audio device to reconnect. However, the number of first audio devices (1) differs from the number in the first network record (2). Smart screen X determines the reconnection has failed.
[0238] exist Figure 12 In the scenario, speaker A has historically networked with smart screen X. Assume the network identifier value is 400, uniquely identifying the network connection between speaker A and smart screen X. The first network record stored locally on smart screen X includes the network identifier and historical network mode. The network identifier value is 400, and the historical network mode is network mode 1. When smart screen X and speaker A are powered on again, both attempt to reconnect. In the Bluetooth broadcast message sent by speaker A, the network identifier is 400, and the network indication value is 0, indicating that networking with electronic devices is currently not allowed. Smart screen X receives the Bluetooth broadcast message from speaker A, confirms the network identifier value is 400, and determines that speaker A is the first audio device to reconnect to. Furthermore, the number of first audio devices (1) is the same as the number in the first network record (1), allowing the reconnection process to continue.
[0239] S1503, The electronic device sends Wi-Fi connection information to the first audio device.
[0240] Correspondingly, the first audio device receives Wi-Fi connection information sent by the electronic device.
[0241] The Wi-Fi connection information may include one or more of the following: service set identifier (SSID), network name, network password, and Wi-Fi access frequency band.
[0242] Optionally, in one implementation, the electronic device sends a BLE broadcast message to the first audio device, the BLE broadcast message including Wi-Fi connection information. In this implementation, a BLE connection does not need to be established between the electronic device and the audio device, saving message processing time.
[0243] Optionally, in another implementation, if the electronic device has already established a BLE connection with the first audio device, the electronic device can send Wi-Fi connection information to the first audio device through the BLE connection.
[0244] Optionally, in another implementation, if the electronic device does not establish a BLE connection with the first audio device, the electronic device can establish a BLE connection with the first audio device and send Wi-Fi connection information to the first audio device through the BLE connection.
[0245] Optionally, in another implementation, both the electronic device and the first audio device are connected to the same wireless local area network established by the routing device. For example, the electronic device can confirm the network configuration information via Bluetooth broadcast messages. The electronic device can forward Wi-Fi connection information to the first audio device through the routing device. Correspondingly, after receiving the Wi-Fi connection information sent by the electronic device through the routing device, the first audio device can disconnect its Wi-Fi connection with the routing device and establish a Wi-Fi connection with the electronic device based on the Wi-Fi connection information. In this implementation, the electronic device can establish a Wi-Fi connection with the first audio device without relying on BLE technology.
[0246] S1504. The electronic device and the first audio device establish a Wi-Fi connection based on the Wi-Fi connection information.
[0247] Optionally, if the first audio device has not yet established a Wi-Fi connection, a Wi-Fi connection can be established with the electronic device based on the Wi-Fi connection information.
[0248] Optionally, if the first audio device has already established a Wi-Fi connection with other devices (such as a router), the first audio device may disconnect from the Wi-Fi connection with other devices after receiving the Wi-Fi connection information, and then establish a Wi-Fi connection with the electronic device according to the Wi-Fi connection information.
[0249] As can be seen, the stereo networking method provided in this embodiment allows audio devices to send Bluetooth broadcast messages. After receiving these messages, electronic devices can directly and automatically discover audio devices waiting to reconnect, thus forming a stereo connection with them. This method does not require electronic and audio devices to be connected to the same local area network or have the same user account, making networking more flexible and efficient, and improving the user experience.
[0250] Optionally, the stereo networking method provided in this embodiment may further include:
[0251] S1505, The electronic device determines whether all the first audio devices have successfully reconnected.
[0252] If all the first audio devices establish a Wi-Fi connection with the electronic device, it means that all the first audio devices have successfully reconnected, and then execute S1506. For example, Figure 12 or Figure 13 In the scenario shown, speaker a and smart screen X use networking mode 1. When speaker a and smart screen X establish a Wi-Fi connection, it means that the reconnection is successful.
[0253] If some or all of the first audio devices fail to reconnect, optionally, if the electronic devices have the self-organizing network function enabled, the self-organizing network procedure can be executed, see [link to relevant documentation]. Figure 16 The illustrated embodiment.
[0254] S1506. The electronic equipment and the first audio device operate in the historical networking mode.
[0255] Figure 16 This is another flowchart illustrating the stereo networking method provided in this application embodiment. The stereo networking method provided in this embodiment includes electronic devices and audio devices as the executing entities, and is applicable to... Figure 3 The system shown involves a self-organizing network process for electronic and audio devices. Specifically, the electronic devices enable the self-organizing network function. This embodiment does not limit the number of electronic and audio devices in the system; each electronic device can execute the operations described in this embodiment, and each audio device can execute the operations described in this embodiment. Figure 16 As shown, the stereo networking method provided in this embodiment, in Figure 15 Following S1501, it may also include:
[0256] S1601. When the electronic device determines that a second audio device exists that can be used to create stereo sound based on Bluetooth broadcast messages received from at least one audio device, a stereo sound creation pop-up window appears on the current display interface. The stereo sound creation pop-up window is used to ask the user whether to create stereo sound or recreate stereo sound.
[0257] Specifically, Bluetooth broadcast messages include network identification information, network instruction information, and the product model of the audio device. Electronic devices can determine whether the audio device can form a stereo system based on the network instruction information and the audio device's product model, thus directly and automatically discovering the second audio device.
[0258] Optionally, the electronic device can also determine whether the audio device is a second audio device based on whether the signal strength of the Bluetooth broadcast message is greater than a preset threshold. Optionally, the signal strength can be a received signal strength indication (RSSI).
[0259] Typically, the audio device used to create a stereo sound system is located near the electronic device. The greater the distance between the audio device and the electronic device, the weaker the Bluetooth broadcast message signal strength. Conversely, the closer the audio device and the electronic device, the stronger the Bluetooth broadcast message signal strength. When the Bluetooth broadcast message signal strength exceeds a preset threshold, it indicates that the audio device and the electronic device are close enough to create a stereo sound system. By determining the signal strength of the Bluetooth broadcast message, the accuracy of the electronic device in detecting a second electronic device can be improved, which is beneficial for the reasonable and successful creation of a stereo sound system.
[0260] In this embodiment, the value of the preset threshold is not limited.
[0261] Optionally, before the stereo component pop-up appears in the current display interface, the electronic device determines that no screen mirroring service is currently in progress. Screen mirroring services include, but are not limited to: the electronic device acting as a screen mirroring device to display data to be displayed on other devices; or, the electronic device acting as a display device to display data to be displayed on other devices.
[0262] This embodiment does not limit the current display interface, nor does it limit the page content and layout of the stereo setup pop-up. It can be understood that the stereo setup pop-up may differ depending on the current network status of the electronic device, the number, model, or location of the second audio devices.
[0263] The current networking status of electronic devices includes both unnetworked and networked. Unnetworked includes, but is not limited to, the following: the electronic device has never networked or has no first network record, for example, Figures 4-9 The scenario shown; or, the electronic device fails to reconnect, for example, Figures 10-11 The scenario shown illustrates this. When the electronic device is not currently connected to a network, a stereo setup pop-up prompts the user to confirm whether to set up stereo. When the electronic device is already connected to a network, for example... Figures 12-13 In the scenario shown, when the electronic device detects a second audio device, a stereo setup pop-up is displayed to ask the user whether to rebuild the stereo system.
[0264] The following is combined with Figures 4 to 13 The scenario shown illustrates the stereo setup pop-up. The current display interface of the Smart Screen X is labeled Interface 20, and the stereo setup pop-up is labeled Pop-up 21.
[0265] Optionally, in the first implementation, the electronic device is not currently networked, and is suitable for... Figures 2 to 11 The scene shown.
[0266] like Figure 17A As shown, the pop-up window 21 includes a control 211, a confirmation button 212, and guidance information. For example, the guidance information includes the text "Found a combinable speaker, do you want to proceed?" and "Automatic speaker discovery is on by default; you can turn it off by checking 'Don't remind me again'", which guides the user's operation.
[0267] Optionally, the user can operate the confirmation button 212 to input a stereo setup command. Correspondingly, the Smart Screen X responds to the stereo setup command, confirming whether the user has set up or re-set up stereo, and executes subsequent steps of the self-organizing network process.
[0268] Optionally, users can interact with control 211 to indicate whether the self-organizing network function is disabled through the display status of control 211. For example, when a user selects an option on control 211, the Smart Screen X responds to the user's action by updating pop-up 21 to pop-up 22, such as... Figure 17B As shown. The guidance information in pop-up 22 has been changed to guide the user to subsequently enable the self-organizing network function. For example, the text above control 211 has been changed to "Turn off the automatic speaker discovery switch," and the text below control 211 has been changed to "The automatic speaker discovery switch has been turned off. To enable this function, please go to 'Settings' - 'Output' - 'Select WLAN Speaker.'" An example of the "Select WLAN Speaker" interface can be found in [link to example]. Figure 14B As shown. In Figure 17B The pop-up window 22 also includes a confirm button 214 and a cancel button 215. Optionally, the user can operate the confirm button 214 to input a stereo component shutdown command. Correspondingly, in response to the stereo component shutdown command, the Smart Screen X disables the self-organizing network function and closes the pop-up window 22. Optionally, the user can operate the cancel button 215 to cancel disabling the self-organizing network function.
[0269] Optionally, the pop-up window 21 also includes a cancel button 213. Users can operate the cancel button 213 to input a stereo setup cancellation command. Correspondingly, in response to the stereo setup cancellation command, the Smart Screen X cancels the stereo setup between the Smart Screen X and the speaker during this screen-on process. That is, during this screen-on process, the electronic device will not prompt the user to set up stereo or re-set up stereo. It can be understood that when the Smart Screen X turns off and on again, or is turned off and on again, the self-organizing network process can be executed again, prompting the user to set up stereo again. Optionally, the cancel button 213 displays a countdown timer, for example, 60 seconds. If the user does not perform any operation within the countdown time, and the Smart Screen X does not receive the command within the timeout period, the stereo setup between the Smart Screen X and the speaker is canceled, and the pop-up window 21 is closed.
[0270] In this implementation, the stereo setup pop-up is highly versatile, applicable regardless of the number of second audio devices. Subsequently, the number of second audio devices and the networking mode desired by the user can be further confirmed through the human-computer interaction process between the electronic device and the user.
[0271] Optionally, in the second implementation, the electronic device is not currently networked. When the number of second audio devices discovered by the electronic device varies, the stereo setup pop-up can reflect the number of second audio devices. In this implementation, the electronic device provides the user with more accurate choices. The user can directly confirm the number of audio devices for stereo setup and / or the target network mode in the stereo setup pop-up, making the user's choices clearer and easier to operate.
[0272] Optionally, the electronic device may detect one second audio device, for example, Figure 4 The scene shown. (As shown) Figure 17C As shown, pop-up window 21 may include buttons 220 and 221, and guidance information. For example, the guidance information includes the text "Create speaker combination," "Discover speakers that can be combined with the smart screen. Create a speaker combination for a better sound experience," and "To modify the status of the combined speakers, go to 'Settings' - 'Output' - 'Select WLAN Speaker'." Optionally, the user can operate button 220 to input a stereo combination disabling command. Correspondingly, the smart screen X responds to the stereo combination disabling command by disabling the self-organizing network function and closing pop-up window 21. Optionally, the user can operate button 221 to input a stereo combination command. Correspondingly, the smart screen X responds to the stereo combination command by confirming the stereo combination and confirming that the smart screen X and a single speaker have formed a stereo combination. At this time, the target networking mode is networking mode 1.
[0273] Optionally, the electronic device may detect more than one and less than four second audio devices, for example, Figures 5-7or Figure 9 The scene shown.
[0274] Optionally, in one implementation, such as Figure 17D As shown, the pop-up window 21 may include buttons 220, 221, and 222, as well as guidance information. The guidance information and... Figure 17C The same applies, so I won't elaborate further. Compared to Figure 17C ,exist Figure 17D In the pop-up window 21, button 222 has been added. Users can operate button 222 to input stereo configuration commands. Correspondingly, the Smart Screen X responds to the stereo configuration command, confirming the stereo configuration and confirming that the Smart Screen X and the two speakers are configured in stereo. At this time, the target network mode is either network mode 2 or network mode 3. Subsequently, the network mode can be further determined through the human-computer interaction process between the user and the electronic device. For example, if the user selects button 222 to combine the two speakers, the Smart Screen X responds to the user's operation, closing pop-up window 21 and displaying interface 23, such as... Figure 17E As shown. Interface 23 includes a front button 231, a rear button 232, and guidance information. For example, the guidance information includes the text "Select speaker placement method," "For a better sound experience, please select the speaker placement method according to the illustration. Do not move them after confirmation," "For stereo sound effects, place both speakers on either side of the smart screen," "For surround sound effects, place both speakers on either side of the seat," and images 233 and 234. Optionally, the user can operate the front button 231 to set the target network mode to network mode 2. Optionally, the user can operate the rear button 234 to set the target network mode to network mode 3.
[0275] Alternatively, in another implementation, such as Figure 17F As shown, the pop-up window 21 may include option boxes 241-244, an OK button 246, and guidance information. For example, the guidance information includes the text "Create a wireless home theater system" and "Ensure all speakers are powered on." Option boxes 241-244 indicate network modes 1 to 4, respectively, and each option box includes a control 245. The user can operate the control 245, and the display status of the control 245 indicates whether the corresponding network mode is selected. For example, in... Figure 17F In the context of the interface, the user selects network mode 2 corresponding to option box 242. After selecting the network mode, the user can click the OK button 246 to input the stereo setup command. Correspondingly, the Smart Screen X responds to the stereo setup command, confirms the stereo setup, and obtains the network mode. Option box 244 is grayed out, indicating it is unselectable, reflecting that the Smart Screen has currently detected a maximum of 3 speakers. In this implementation, the user can directly confirm the network mode in pop-up window 21.
[0276] Optionally, the electronic device may detect four or more second audio devices, for example, Figure 8 The scene shown. (As shown) Figure 17G As shown, the pop-up window 21 may include buttons 220, 221, 222, and 223, as well as guidance information. The guidance information and... Figure 17C , Figure 17D The same applies, so I won't elaborate further. Compared to Figure 17D ,exist Figure 17G In the pop-up window 21, button 223 has been added. Users can operate button 223 to input stereo setup commands. Correspondingly, the Smart Screen X responds to the stereo setup command, confirming the stereo setup and confirming that the Smart Screen X and the four speakers have formed a stereo system. At this time, the target network mode is network mode 4.
[0277] Optionally, in the third implementation, the electronic device is already networked. The stereo setup pop-up can reflect whether the current network mode can be changed and whether stereo setup needs to be re-established, effectively guiding the user's operation. The stereo setup pop-up can be adjusted based on the first and second implementations described above. For example, such as... Figure 17H As shown, applicable to Figures 12-13 The scenario shown is based on the second implementation method. The pop-up window 21 may include button 220, button 221, and guidance information. Figure 17H and Figure 17C The difference lies in the different guiding information. Figure 17H The modified guidance information section is shown in the dotted box: "Discover a new speaker. You can create speaker combinations with existing speakers to enjoy better sound effects." Different guidance messages ask users if they need to change the current network mode and rebuild stereo.
[0278] Optional, in Figure 17C , Figure 17D , Figure 17G and Figure 17H In the pop-up window 21, a cancel button may also be included. For example, using... Figure 17C For example, the pop-up 21 including the cancel button 224 can be seen in [reference needed]. Figure 17I The cancel button 224 can be found in [reference needed]. Figure 17A The cancel button 213 works on a similar principle, so it will not be described in detail here.
[0279] Optionally, for the stereo setup pop-up, the user can cancel the stereo setup by using an intermediate control device such as a remote control or voice control to perform a return operation. Correspondingly, the electronic device responds to the user's operation, ending the stereo setup process and closing the stereo setup pop-up. Optionally, the electronic device can display a reminder message before closing the stereo setup pop-up, notifying the user that the stereo setup process is about to end. By displaying the reminder message, the user can further confirm whether the stereo setup process has ended, improving the accuracy of the operation and avoiding accidental operation.
[0280] It should be noted that, Figures 17A to 17I This is just an example and does not constitute a limitation on stereo component pop-ups and related interfaces.
[0281] S1602. The electronic device receives a stereo assembly command input by the user, which instructs the electronic device to assemble stereo or reassemble stereo.
[0282] S1603. The electronic device determines the target networking mode and identifies the target audio device to be networked and the corresponding channel of the target audio device, as confirmed by the user.
[0283] For ease of explanation, the audio device confirmed by the user and connected to the electronic devices will be referred to as the target audio device. Because the target audio device is confirmed by the user, the stereo setup of the electronic devices follows the user's wishes and needs, resulting in higher accuracy in stereo configuration.
[0284] Optionally, the electronic device determines the target networking mode based on user operations or user-input instructions. For example, see [link to example]. Figures 17A to 17I The relevant explanations will not be repeated here.
[0285] Optionally, electronic devices can determine the target networking mode by locating the target audio devices and based on the number of target audio devices and their positional relationship with the electronic devices.
[0286] Optionally, if the target networking mode is networking mode 1, then execute S1604.
[0287] Optionally, if the target network mode is network mode 2 or network mode 3, there are two target audio devices. The process also includes: the electronic device determining whether the product models of the two target audio devices are the same. If they are the same, step S1604 is executed. If they are different, the self-organizing network process ends. Optionally, the electronic device outputs a reminder message indicating that the audio devices used to create the stereo sound are of different models.
[0288] Optionally, if the target network mode is network mode 4, and there are 4 target audio devices, the process further includes: the electronic device determining whether the models of the two target audio devices configured as left and right channels are the same, and determining whether the models of the two target audio devices configured as left and right surround channels are the same. If they are both the same, then execute S1604. If the models of the two target audio devices configured as left and right channels are different, or if the models of the two target audio devices configured as left and right surround channels are different, then the self-networking process ends. Optionally, the electronic device outputs a reminder message to indicate that the models of the audio devices used to build the stereo system are different.
[0289] S1604. The electronic device sends Wi-Fi connection information to the target audio device.
[0290] Correspondingly, the target audio device receives Wi-Fi connection information sent by the electronic device.
[0291] For details on Wi-Fi connection information and the method of transmitting Wi-Fi connection information, please refer to S1503. The principle is similar, so it will not be repeated here.
[0292] S1605. The electronic device and the target audio device establish a Wi-Fi connection based on the Wi-Fi connection information.
[0293] Optionally, if the target audio device does not currently have a Wi-Fi connection, a Wi-Fi connection can be established with the electronic device based on the Wi-Fi connection information.
[0294] Optionally, if the target audio device has already established a Wi-Fi connection with other devices (such as a router), the target audio device can disconnect from the Wi-Fi connection with other devices after receiving the Wi-Fi connection information, and then establish a Wi-Fi connection with the electronic device based on the Wi-Fi connection information.
[0295] After establishing a Wi-Fi connection between the electronic device and the target audio device, stereo configuration can be performed; this embodiment does not limit the process. For example, the electronic device configures the channels on the target audio device. After the electronic device and the target audio device form a stereo connection, the electronic device outputs a prompt message indicating that the stereo connection has been successfully established. The electronic device and the target audio device play test audio to allow the user to experience the stereo sound effects. The electronic device synchronizes its configuration information to ensure that its settings menu matches the actual network state; for example, in... Figure 14B In the interface 12 shown, the "My Devices" function option will display the actual audio devices in the network.
[0296] As can be seen, the stereo networking method provided in this embodiment involves an audio device sending a Bluetooth broadcast message. After receiving the Bluetooth broadcast message, the electronic device can directly and automatically discover audio devices suitable for stereo networking based on the Bluetooth broadcast message, and then display a pop-up window to the user, asking whether to create a stereo network or change the current network mode to recreate a stereo network. After the user confirms the stereo network setup, the target network mode and the user-confirmed target audio device are determined, and a Wi-Fi connection is established with the target audio device to create the stereo network. In this embodiment, since the target audio device is confirmed by the user, the electronic device establishes a Wi-Fi connection with the user-confirmed target audio device, which follows the user's wishes and needs, avoids affecting the normal operation of other audio devices by establishing Wi-Fi connections with them, and improves the accuracy of stereo networking. The stereo networking method provided in this embodiment does not require the electronic device and audio device to be connected to the same local area network and have the same user account, making networking more flexible and efficient. Moreover, it saves the user the trouble of configuring the network for the electronic device and audio device in advance, and configuring combinations for multiple audio devices, simplifying the user configuration steps and improving the user experience.
[0297] Optionally, the stereo networking method provided in this embodiment may further include the following steps before S1604:
[0298] S1606 If the electronic device determines that the target audio device is not configured with a WLAN network, then it configures a WLAN network for the target audio device.
[0299] Specifically, Bluetooth broadcast messages can include network configuration information. Based on this information, the electronic device can determine whether the target audio device has been configured with a WLAN network. If the target audio device is not configured with a WLAN network, the electronic device can configure the target audio device, enabling both the target audio device and the electronic device to access the same WLAN network, facilitating subsequent communication.
[0300] Optionally, the electronic device may configure a WLAN network for the target audio device, which may include:
[0301] The electronic device displays an audio device network configuration interface, which is used to configure a WLAN network for the target audio device.
[0302] Electronic devices receive network connection requests from users.
[0303] In response to a network connection operation, the electronic device controls the target audio device to access the WLAN network.
[0304] In this embodiment, the specific content and layout of the audio device network configuration interface are not limited.
[0305] For example, Figure 18This is a schematic diagram of an audio device network configuration interface provided in an embodiment of this application. Figure 18 As shown, the audio device network configuration interface 31 includes a network name input box 311, a password input box 312, a control 313, a skip button 314, an OK button 315, and guidance information. For example, the guidance information includes the text "Connect Device" and "This step is used to connect the speaker and the smart screen to the same network."
[0306] Optionally, in one implementation, the electronic device can obtain the name and password of the WLAN network and pre-fill them into the network name input box 311 and the password input box 312. This method avoids manual input by the user and improves the user experience.
[0307] Optionally, in another implementation, the user can enter the name and password of the WLAN network in the network name input box 311 and the password input box 312, respectively. This method requires the user to manually enter information, which can further confirm that the target audio device and electronic device are connected to the same WLAN network.
[0308] Optionally, users can click control 313 to show or hide the password.
[0309] Optionally, the user can operate the skip button 314 to enter a network configuration cancellation command. Accordingly, the electronic device responds to the network configuration cancellation command and ends the process of setting up the WLAN network for the target audio device.
[0310] Optionally, the user can press the OK button 315 to input a network connection command. Correspondingly, the electronic device responds to the network connection command and controls the target audio device to access the WLAN network.
[0311] It is understandable that during the process of an electronic device controlling a target audio device to access a WLAN network, the electronic device can exchange information with the target audio device, thereby enabling the target audio device to obtain the name and password of the WLAN network and access the WLAN network.
[0312] Optionally, if there are multiple target audio devices requiring network configuration, the audio device network configuration interface 31 can include icons and prompts for the multiple target audio devices. The prompts can indicate the network configuration progress and result for each target audio device. This embodiment does not limit the order in which the electronic device controls multiple target audio devices to access the WLAN network.
[0313] exist Figure 16 Based on the illustrated embodiment, Figure 19This is another flowchart of the stereo networking method provided in this application embodiment. This embodiment provides an implementation method in S1603 where the electronic device determines the target networking mode, identifies the target audio device to be networked and the corresponding channel of the target audio device, as confirmed by the user. In this embodiment, the user confirms that the audio device is the target audio device by pressing a button on the audio device, improving the accuracy of the user's identification of the target audio device, thereby improving the accuracy of networking between the electronic device and the target audio device and avoiding incorrect networking. When the electronic device is networked with multiple target audio devices, the electronic device can guide the user to confirm each target audio device sequentially according to a preset confirmation order, making the implementation simple.
[0314] like Figure 19 As shown in S1603, the electronic device determines the target network mode, which may include:
[0315] S1901, Electronic devices acquire the target networking mode input by the user.
[0316] For example, see Figures 17A to 17I The relevant explanations will not be repeated here.
[0317] In S1603, the electronic device determines the target audio device to be networked and the corresponding channel of the target audio device, which may include:
[0318] S1902. The electronic device determines the number of target audio devices and the preset confirmation order of the target audio devices according to the target networking mode.
[0319] If the target network mode is network mode 1 and there is one target audio device, the preset confirmation order of the target audio device is to confirm one target audio device.
[0320] If there are multiple target audio devices, this embodiment does not limit the preset confirmation order.
[0321] Optionally, the target network mode is network mode 2, and there are 2 target audio devices. The preset confirmation order can be: first confirm the target audio device of the left channel, and then confirm the target audio device of the right channel.
[0322] Optionally, the target networking mode is networking mode 3, and there are 2 target audio devices. The preset confirmation order can be: first confirm the target audio device of the left surround channel, and then confirm the target audio device of the right surround channel.
[0323] Optionally, the target networking mode is networking mode 4, the target audio devices are 4, and the preset confirmation order can be: confirm the target audio device of the left channel, confirm the target audio device of the right channel, confirm the target audio device of the left surround channel, and finally confirm the target audio device of the right surround channel.
[0324] S1903, The electronic device sends a network formation notification message to the second audio device. Correspondingly, the second audio device receives the network formation notification message sent by the electronic device.
[0325] The pending network notification information is used to notify the second audio device to detect whether the user has performed a preset operation on the target button on the second audio device, thereby confirming that the second audio device is the target audio device.
[0326] Optionally, in one implementation, the electronic device and the audio device pre-agree on the target button and preset operation. In this way, the network formation notification information serves only as a notification, reducing the size of the notification information and the amount of data transmitted over the air interface.
[0327] Optionally, in another implementation, the network setup notification information may include the identifier of the target button and button operation information, whereby the button operation information describes the user's preset operation on the target button. In this implementation, the target button and preset operation are more flexible.
[0328] It should be noted that this embodiment does not limit the target button or the preset operation. Optionally, the target button can be a newly added button on the audio device. Optionally, to reduce modifications to the audio device, the target button can be an existing button on the audio device. For example, the target button is a mute button or a play button. In this case, the network setup notification information is used to notify the second audio device to modify the meaning of the target button and continue for a preset duration, so that the user can perform a preset operation on the target button. This embodiment does not limit the unit and value of the preset duration; for example, the unit of the preset duration is seconds.
[0329] Regarding the method of sending the network formation notification information, optionally, in one implementation, the electronic device sends a BLE broadcast message to the second audio device, and the BLE broadcast message includes the network formation notification information. In this implementation, a BLE connection does not need to be established between the electronic device and the second audio device, saving message processing time.
[0330] Optionally, in another implementation, if the electronic device and the second audio device have already established a BLE connection, the electronic device can send a network setup notification message to the second audio device through the BLE connection.
[0331] Optionally, in another implementation, if the electronic device does not establish a BLE connection with the second audio device, the electronic device can establish a BLE connection with the second audio device and send a network setup notification message to the second audio device through the BLE connection.
[0332] Optionally, in another implementation, both the electronic device and the second audio device are connected to the same wireless local area network established by the routing device. For example, the electronic device can confirm the network configuration information via a Bluetooth broadcast message. The electronic device can forward the network configuration notification information to the second audio device through the routing device. Correspondingly, the second audio device receives the network configuration notification information sent by the electronic device through the routing device.
[0333] S1904. The electronic device displays an audio device identification interface. This interface guides the user to perform preset operations on the target buttons on the second audio device according to a preset confirmation sequence, in order to confirm that the second audio device is the target audio device.
[0334] Typically, audio devices have a limited number of buttons, each with preset functions. These include buttons for play, pause, previous track, and next track. By reusing existing buttons, users can confirm audio input and create stereo sound with electronic devices, avoiding the need to add new buttons and simplifying the process.
[0335] The implementation of the audio device recognition interface can vary depending on the target network mode, the number of target audio devices, and the specific network configuration. Examples will illustrate this below.
[0336] Optionally, the target networking mode is networking mode 1, the target audio device is 1, and the audio device identification interface is used to guide the user to confirm 1 target audio device.
[0337] For example, see the audio device identification interface. Figure 20A Applicable to Figure 4 , Figure 10 or Figure 11 The scene shown.
[0338] like Figure 20A As shown, the audio device recognition interface 41 includes a smart screen icon 411, a speaker icon 412, a button icon 413, a cancel button 414, and guidance information. For example, the guidance information includes the text "Recognize Speaker," "Please double-click the location shown in the image," and "The operation buttons for different speaker models may vary slightly. Double-clicking the pause button on the speaker will allow the smart screen to recognize it. The illustration is for reference only; you can choose the speaker placement position as needed." Through the button icon 413 and the guidance information, the user can be guided to double-click the pause button on the speaker to confirm the stereo connection with the electronic device.
[0339] Optionally, during the process of the user confirming the target audio device by pressing a button, the user can operate the cancel button 414 to input a device recognition cancellation command. Accordingly, the smart screen responds to the device recognition cancellation command and terminates the self-organizing network process.
[0340] Optionally, if the target network mode is network mode 2, the default confirmation order is: first confirm the target audio device of the left channel, then confirm the target audio device of the right channel.
[0341] For example, see Figure 20D and Figure 20E Applicable to Figure 5 , Figure 6 , Figure 9 , Figure 12 or Figure 13 The scene shown.
[0342] Electronic devices display first Figure 20D The audio device identification interface 44 shown is used to guide the user to confirm the target audio device in the left channel. The audio device identification interface 44 includes a smart screen icon 411, two speaker icons 412, a button icon 413, a cancel button 414, and guidance information. Figure 20D and Figure 20A The difference is that there is an additional speaker icon 412, and the guidance information above the smart screen icon 411 has changed from "Please double-click the location shown in the picture" to "Please double-click the location shown in the picture on the left speaker". See [link / reference] Figure 20D The dashed box in the middle.
[0343] When the user double-clicks the pause button on the target audio device on the left, the electronic device identifies the target audio device for the left channel, and the electronic device displays... Figure 20E The audio device identification interface 45 shown continues to guide the user to confirm the target audio device for the right channel. Figure 20E and Figure 20D The difference is that button pattern 413 has moved from the left to the right, and the guidance information above smart screen pattern 411 has changed from "Please double-click the position shown in the picture on the left speaker" to "Please double-click the position shown in the picture on the right speaker". See [link / reference] Figure 20E The dashed box in the middle.
[0344] S1905. When the second audio device (target audio device) detects that the user has performed a preset operation on the target button, it sends device identification information to the electronic device. The device identification information is used to indicate that the second audio device is the target audio device.
[0345] Specifically, after receiving the network formation notification, the second audio device checks whether the user has performed a preset operation on the target button. When a preset operation on the target button is detected, it is identified as the target audio device and needs to form a network with the electronic device, sending device identification information to the electronic device.
[0346] Optionally, in one implementation, the second audio device sends a BLE broadcast message to the electronic device, the BLE broadcast message including device identification information. In this implementation, a BLE connection does not need to be established between the electronic device and the second audio device, saving message flow. Optionally, the device identification information can be a specific bit in the BLE broadcast message; by modifying the value of this specific bit, the second audio device can be identified as the target audio device.
[0347] Alternatively, in another implementation, if the electronic device and the second audio device have already established a BLE connection, the second audio device can send device identification information to the electronic device through the BLE connection.
[0348] Optionally, in another implementation, both the electronic device and the second audio device are connected to the same wireless local area network established by the routing device. For example, the second audio device receives a network setup notification from the electronic device through the routing device. The second audio device can then forward its device identification information to the electronic device through the routing device.
[0349] Optionally, the second audio device may also send at least one of the following to the electronic device: identification information of the target button or button operation information.
[0350] S1906. The electronic device determines the target audio device based on the device identification information and determines the corresponding channel of the target audio device according to the preset confirmation order.
[0351] Specifically, since the electronic device guides the user to press buttons on the target audio device sequentially according to a preset confirmation order, the corresponding audio channel for different target audio devices can be determined based on the order of the received device identification information and the preset confirmation order. For example, in network mode 2, the target audio device corresponding to the first received device identification information is determined as the left channel audio device, and the target audio device corresponding to the later received device identification information is determined as the right channel audio device.
[0352] As can be seen, the stereo networking method provided in this embodiment improves the accuracy of confirming networked audio devices by having the user confirm the audio device's connection to the electronic device by pressing a button on the audio device. When there are multiple target audio devices, the electronic device guides the user to press a button on each target audio device in a preset confirmation order, resulting in high accuracy in confirming target audio devices and a simple implementation method.
[0353] Optionally, the stereo networking method provided in this embodiment may further include, after S1906:
[0354] The electronic device outputs a prompt message. This message indicates that the electronic device has successfully identified the target audio device.
[0355] For example, the prompt message will be explained using network mode 1 as an example. (Smart screen display) Figure 20A The audio device identification interface 41 shown is changed to audio device identification interface 43 after the smart screen identifies the speaker pressed by the user. Figure 20C As shown in the figure. In the audio device identification interface 43, the prompt message may include the text "Identification successful", see the dotted box in the figure, which is used to inform the user that the smart screen has successfully identified the target speaker and can proceed with the subsequent self-organizing network process.
[0356] Optionally, the notification message may also include pattern 415 to inform the user that the smart screen has successfully confirmed the target speaker.
[0357] Optionally, the audio device identification interface 43 also includes a Next button 416. Users can operate the Next button 416 to continue the self-organizing network process.
[0358] Optionally, the stereo networking method provided in this embodiment may further include the following steps before S1906:
[0359] The electronic device outputs a prompt message. This message indicates that the electronic device is identifying the target audio device.
[0360] The prompt message clearly informs the user that the electronic device is currently identifying the target audio device, prompting the user to wait, thus improving the user experience.
[0361] For example, let's take network mode 1 as an example to illustrate the prompt message. (Continued) Figure 20A The audio device identification interface 41 can be changed to the audio device identification interface 42, such as... Figure 20B As shown in the figure. In the audio device identification interface 42, the prompt information may include the text "Identifying...", as shown in the dotted box in the figure, which is used to inform the user that the electronic device is currently being processed and to prompt the user to wait.
[0362] Optionally, the stereo networking method provided in this embodiment may further include the following steps before S1903:
[0363] S1907. The electronic device outputs a reminder message, which is used to remind the user that the target audio device must be in a non-music playback state.
[0364] By outputting reminder messages, it ensures that the target audio device is not playing music, which can better transmit information with electronic devices and improve the accuracy of users confirming the target audio device.
[0365] Optionally, the stereo networking method provided in this embodiment may further include the following after the second audio device detects that the user has performed a preset operation on the target button in S1905:
[0366] S1908, the second audio device control indicator light flashes or remains constantly on.
[0367] Optionally, the second audio device can control the indicator light to flash a preset number of times or for a preset duration, or control the indicator light to remain on for a preset duration.
[0368] The second audio device can visually prompt the user that the preset operation of the target button has taken effect by controlling the indicator light to flash or stay on, confirming the network connection with the electronic device and improving the user experience.
[0369] exist Figure 16 Based on the illustrated embodiment, Figure 21 This is another flowchart of the stereo networking method provided in this application embodiment. This embodiment provides an implementation method in S1603 where the electronic device determines the target networking mode, identifies the target audio device to be networked and the corresponding channel of the target audio device, as confirmed by the user. In this embodiment, the user confirms that the audio device is the target audio device by pressing a button on the audio device, improving the accuracy of the user's identification of the target audio device, thereby improving the accuracy of networking between the electronic device and the target audio device and avoiding incorrect networking. When the electronic device is networked with multiple target audio devices, the order in which the user presses buttons on the audio device is not limited. The electronic device determines the positional relationship between the multiple target audio devices and the electronic device through positioning technology, thereby determining the corresponding channel of the target audio device. This reduces the restriction on the order of user operations, making the implementation more flexible and improving the user experience.
[0370] like Figure 21 As shown, in S1603, the electronic device determines the target audio device to be networked and the corresponding channel of the target audio device, which may include:
[0371] S2101, The electronic device sends a network formation notification message to the second audio device. Correspondingly, the second audio device receives the network formation notification message sent by the electronic device.
[0372] See S1903; the principle is similar and will not be repeated here.
[0373] S2102. The electronic device displays an audio device identification interface. This interface guides the user to perform preset operations on the target buttons on the second audio device to confirm that the second audio device is the target audio device.
[0374] This embodiment does not limit the number of target audio devices or the order in which the user presses buttons to confirm the target audio devices.
[0375] This embodiment does not limit the content and layout of the audio device recognition interface.
[0376] Optionally, if the electronic device obtains the target network mode, the number of target audio devices can be determined based on the target network mode, and the audio device identification interface can be related to the number of target audio devices. An example is provided below.
[0377] Optionally, the target network mode is network mode 1, the target audio device is one, and the audio device identification interface is used to guide the user to confirm one target audio device. The audio device identification interface can be found in [link to documentation]. Figure 20A .
[0378] Optionally, the target network mode is network mode 2, and there are two target audio devices. The audio device identification interface guides the user to confirm the two target audio devices. For example, the audio device identification interface can be found here. Figure 22A .
[0379] like Figure 22A As shown, the audio device identification interface 51 includes a speaker icon 511, a speaker icon 512, a button icon 513, a cancel button 514, and guidance information. For example, the guidance information includes the text "Identify Speaker," "Please double-click the location shown in the image," and "The operation buttons for different speaker models vary slightly. Double-clicking the pause button on the speaker will allow the smart screen to identify it." Through the button icon 513 and the guidance information, the user can be guided to double-click the pause button on the speaker to confirm the target audio device.
[0380] Optionally, the user can operate the cancel button 514 by inputting a device recognition cancellation command. Accordingly, the smart screen responds to the device recognition cancellation command and terminates the self-organizing network process.
[0381] When the user double-clicks the pause button on the first speaker, the electronic device identifies the first target audio device, and the audio device identification interface 51 changes to the audio device identification interface 52. Figure 22B As shown, the system continues to guide the user to confirm the second target audio device. When the user double-clicks the pause button on the second speaker, the electronic device confirms the second target audio device, and the audio device identification interface 52 changes to the audio device identification interface 53, as shown. Figure 22C As shown. Optionally, the audio device identification interface 53 also includes a Next button 515. Users can operate the Next button 515 to continue the self-organizing network process.
[0382] Optionally, if the electronic device does not obtain the target network mode or the number of target audio devices is not determined, the audio device identification interface is applicable to different numbers of target audio devices. For example, the audio device identification interface can be found in [reference needed]. Figure 22D .
[0383] like Figure 22DAs shown, the audio device identification interface 54 includes speaker icons 511, 512, 516, and 517, a cancel button 514, a next button 518, and guidance information. For example, the guidance information includes the text "Identify Speaker," "Please double-click the location shown in the image," and "The operation buttons for different speaker models vary slightly; double-clicking the pause button on the speaker will allow the smart screen to identify it." The audio device identification interface 54 can be used to guide the user to confirm button presses on up to four speakers.
[0384] Optionally, during the process of the user confirming the target audio device by pressing a button, the user can operate the cancel button 514 to input a device recognition cancellation command. Accordingly, the smart screen responds to the device recognition cancellation command and terminates the self-organizing network process.
[0385] Optionally, during the process of the user confirming the target audio device by pressing a button, the user can operate the next button 518 to input a device identification confirmation command. Correspondingly, the smart screen responds to the device identification confirmation command, determines the number of target audio devices, and continues the self-organizing network process. For example, the user sets up stereo with the smart screen and one speaker. After the user presses a button on the speaker, the smart screen confirms one speaker. At this time, if... Figure 22D As shown, the text "Click 'Next' to connect only one speaker" can be displayed below the speaker icon 511, guiding the user to click the next button 518 to continue the self-organizing network process.
[0386] Optionally, after the smart screen receives the device identification confirmation command input by the user, or if no device identification information is received from the second audio device within a preset time period, a prompt message can be displayed to inform the user of the number of target audio devices that have been confirmed and to ask whether to continue building stereo.
[0387] S2103. When the second audio device (target audio device) detects that the user has performed a preset operation on the target button, it sends device identification information to the electronic device. The device identification information is used to indicate that the second audio device is the target audio device.
[0388] See S1905; the principle is similar and will not be repeated here.
[0389] S2104. The electronic device determines the target audio device based on the device identification information.
[0390] Then, execute S2105 or S2106.
[0391] S2105. If there is only one target audio device, the electronic device determines the channel corresponding to the target audio device.
[0392] S2106. If there is more than one target audio device, the electronic device uses positioning technology to determine the positional relationship between the multiple target audio devices and the electronic device, and determines the channel corresponding to each target audio device based on the positional relationship.
[0393] Optionally, the positional relationship includes, but is not limited to, the distance or angle between the target audio device and the electronic device.
[0394] Typically, different target audio devices correspond to different audio channels depending on their position relative to the electronic device, as described above in the explanation of networking modes. In this embodiment, the electronic device uses positioning technology to determine the positional relationship between multiple target audio devices and the electronic device, thereby determining the audio channel corresponding to each target audio device. This avoids the user pressing buttons on the target audio devices in a specific order, improving the user experience.
[0395] Optionally, when there are two target audio devices, in one implementation, a positioning technique can be used to determine the positional relationship between the target audio device and the electronic device.
[0396] In this implementation, there are two target audio devices, typically arranged in either network mode 2 or network mode 3. Therefore, determining the location of one target audio device implicitly determines the location of the other, reducing computational complexity. For example, if one electronic device is located to the left of another, the other target audio device is assumed to be located to the right, and the two target audio devices use network mode 2.
[0397] Optionally, when there are two target audio devices, in one implementation, positioning technology can be used for both target audio devices to determine the positional relationship between the target audio device and the electronic device. This implementation determines the positional relationship more accurately.
[0398] This embodiment does not limit the positioning technology, such as ultra-wideband (UWB) positioning technology, Bluetooth positioning technology, ultrasonic positioning technology, etc.
[0399] The following explains ultrasonic positioning technology. Electronic devices use ultrasonic positioning technology to determine the positional relationship between multiple target audio devices and the electronic device, which may include:
[0400] The electronic device establishes a BLE connection with the target audio device.
[0401] The electronic device sends ultrasonic detection information to the target audio device via a BLE connection. Correspondingly, the target audio device receives the ultrasonic detection information sent by the electronic device. This ultrasonic detection information comprises relevant parameters used in ultrasonic positioning detection; however, this embodiment does not limit the specific content of the parameters.
[0402] The target audio device simultaneously transmits ultrasonic signals through multiple speakers on the target audio device. Correspondingly, an electronic device receives the ultrasonic signals simultaneously transmitted by the target audio device through the multiple speakers.
[0403] The electronic device determines the positional relationship between the target audio device and the electronic device based on multiple received ultrasonic signals.
[0404] Specifically, the target audio device has multiple speakers, each positioned and / or oriented differently. These speakers simultaneously transmit ultrasonic signals. Correspondingly, the electronic device performs distance and / or angle measurements based on the received ultrasonic signals, thus determining the positional relationship between the target audio device and the electronic device. For example, it can determine whether the target audio device is located to the left or right of the electronic device, or whether it is located in front of or to the side of the electronic device.
[0405] As can be seen, the stereo networking method provided in this embodiment improves the accuracy of confirming networked audio devices by having the user confirm the audio device's connection to the electronic device via buttons on the audio device. When there are multiple target audio devices, the order in which the user presses the buttons is not limited; the electronic device determines the location of the multiple target audio devices and thus the corresponding channel for each target audio device. This approach offers greater flexibility and enhances the user experience.
[0406] Optionally, the stereo networking method provided in this embodiment, after S2106, may further include:
[0407] S2107. Electronic device displays a channel confirmation interface. The channel confirmation interface is used to guide the user to determine the channel corresponding to the target audio device.
[0408] S2108. The electronic device receives a channel confirmation command input by the user. The channel confirmation command is used to determine whether the channel corresponding to the target audio device is correct.
[0409] By displaying a channel confirmation interface to the user, the location and channel of the target audio device, determined by the positioning technology of the electronic device, are further confirmed by the user, improving the accuracy of stereo setup and avoiding stereo setup errors caused by the electronic device's incorrect positioning of the audio device.
[0410] Below, taking network mode 2 as an example, combined with Figure 23A and Figure 23B The audio channel confirmation interface is described, but not limited to it. In network mode 2, there are two target audio devices, corresponding to the left and right channels respectively.
[0411] like Figure 23AAs shown, the channel confirmation interface 61 includes a smart screen icon 611, speaker icons 612, 613, and 614, buttons 615 and 616, and guidance information. For example, the guidance information includes the text "Select left and right speaker channels" and "The currently lit speaker is on the left side of the smart screen." Icon 614 indicates that the speaker located on the left side of the smart screen is currently lit. Through icon 614 and the guidance information, the user can be guided to confirm the left channel speaker.
[0412] If the speaker located on the left side of the smart screen is currently lit in the actual environment, the user can click button 615 and enter a channel confirmation command to confirm that the left speaker corresponds to the correct left channel. If the speaker located on the right side of the smart screen is currently lit in the actual environment, the user can click button 616 and enter a channel confirmation command to confirm that the right speaker corresponds to the left channel, so that the electronic device can adjust the channel.
[0413] Optionally, if there are two target audio devices, in one implementation, the electronic device can confirm the channel corresponding to one of the target audio devices through the channel confirmation interface, and then confirm the channel corresponding to the other target audio device by default.
[0414] In another implementation, the electronic device can confirm the channels corresponding to both target audio devices through a channel confirmation interface, improving accuracy. For example, such as... Figure 23B As shown, the channel confirmation interface 62 is used by the user to confirm the right channel. The difference between the channel confirmation interface 62 and the channel confirmation interface 61 is that the pattern 614 moves from the left to the right, and the text above the smart screen pattern 611 changes from "The currently lit speaker is on the left side of the smart screen" to "The currently lit speaker is on the right side of the smart screen". See the dotted box in the figure for details. In addition, button 617 is used by the user to confirm that the right speaker corresponds to the right channel, and button 618 is used by the user to confirm that the left speaker corresponds to the right channel.
[0415] It is understandable that during the process of an electronic device displaying a channel confirmation interface to guide the user in identifying the channel corresponding to the target audio device, there is information exchange between the electronic device and the target audio device. This allows the electronic device to control the audio device to perform corresponding actions, for example... Figure 23A or Figure 23B The light-up operation is shown in the diagram. This embodiment does not limit the interactive information transmitted between the electronic device and the target audio device during this process, the method of transmitting the interactive information, or the actions performed by controlling the target audio device. For example, information can be transmitted via Bluetooth broadcast messages, BLE connection, or through a routing device. For example, the target audio device can be controlled to produce sound.
[0416] Optionally, the stereo networking method provided in this embodiment may further include, after S2104:
[0417] The electronic device outputs a prompt message. This message indicates that the electronic device has successfully identified the target audio device.
[0418] For example, the prompt message can be found here. Figures 22B to 22D The text within the dashed box reads "Recognition Successful".
[0419] Optionally, the stereo networking method provided in this embodiment may further include the following steps before S2104:
[0420] The electronic device outputs a prompt message. This message indicates that the electronic device is identifying the target audio device.
[0421] For example, the prompt message can be found here. Figures 22A to 22D The text within the dashed box reads "Identifying...".
[0422] Optionally, the stereo networking method provided in this embodiment may further include the following steps before S2101:
[0423] The electronic device outputs a reminder message to remind the user that the target audio device should not be playing music.
[0424] See S1907 for details; the principle is similar and will not be elaborated upon here.
[0425] Optionally, the stereo networking method provided in this embodiment may further include the following after the second audio device detects that the user has performed a preset operation on the target button in S2103:
[0426] The second audio device control indicator light may flash or remain constantly lit.
[0427] See S1908 for details; the principle is similar and will not be repeated here.
[0428] The following section explains how the electronic device determines the target networking mode in S1603.
[0429] Optionally, in one implementation, the electronic device determining the target networking mode may include:
[0430] Electronic devices acquire the target networking mode from user input.
[0431] For example, see Figures 17A to 17I The relevant explanations will not be repeated here.
[0432] In this implementation, the execution order of this step and the above S2101 to S2108 is not limited.
[0433] Optionally, in another implementation, the electronic device determines the target network mode after S2106. The electronic device determines the target network mode by including:
[0434] If there is only one target audio device, the electronic device determines the target networking mode as networking mode 1.
[0435] If there are more than one target audio device, after S2106, the electronic device determines the target networking mode based on their location relationships. In this implementation, the electronic device determines the locations of multiple target audio devices using positioning technology. The locations of the target audio devices differ in different networking modes, as explained above regarding networking modes. Therefore, the electronic device can determine the target networking mode based on the number of target audio devices, their distance from the electronic device, and / or their angle.
[0436] Optionally, based on the above embodiments, in another embodiment of this application, a room-of-seat detection mechanism is provided. The room-of-seat detection mechanism determines whether an electronic device and an audio device are in the same room, improving the rationality and accuracy of stereo networking between the electronic device and the audio device, and avoiding incorrect network formation. In scenarios where electronic devices and audio devices are reconnecting, the room-of-seat detection mechanism can filter out the first audio device found by the electronic device that is not in the same room as the electronic device when it is waiting to reconnect. Similarly, in the self-organizing network process, the room-of-seat detection mechanism can filter out the second audio device found by the electronic device that can be used to form a stereo network but is not in the same room as the electronic device.
[0437] In the room-in-the-room detection mechanism, the propagation characteristics of different types of signals to different obstacles can be considered, and the presence or absence of electronic and audio devices in the same room can be determined based on the transmitted or received signals. For example, different rooms are usually separated by walls, and the wall-penetrating capabilities of different types of signals can be considered. This embodiment does not limit the type of signal; for example, ultrasonic signals, Bluetooth signals, UWB signals, etc.
[0438] The following section explains the mechanism for detecting roommates using ultrasonic signals.
[0439] Optional, in Figure 15 In the reconnection scenario shown, for example, Figure 10 The scenario shown can be executed before S1503. Alternatively, in... Figure 16 , Figure 19 or Figure 21 In the self-organizing network process shown, for example, Figure 9 The scenario shown can be executed before the stereo component pop-up appears in the current display interface in S1601. For example... Figure 24 As shown, the stereo networking method provided in this embodiment may further include:
[0440] S2401, The electronic device sends a first ultrasonic signal to the audio device. Correspondingly, the audio device receives the first ultrasonic signal sent by the electronic device.
[0441] Specifically, in the backlink scenario, the audio device is the first audio device. In the ad hoc network process, the audio device is the second audio device.
[0442] S2402. If the audio device receives the first ultrasonic signal sent by the electronic device, it sends a second ultrasonic signal to the electronic device.
[0443] Correspondingly, the electronic device receives the second ultrasonic signal sent by the audio device.
[0444] Optional, may also include:
[0445] S2403. The electronic device determines the positional relationship between the audio device and the electronic device based on the received second ultrasonic signal.
[0446] Specifically, ultrasonic signals have weak wall-penetrating ability. When electronic devices and audio devices are in the same room, the audio device can receive the first ultrasonic signal sent by the electronic device, and the electronic device can receive the second ultrasonic signal sent by the audio device. When electronic devices and audio devices are not in the same room, the audio device usually cannot receive the first ultrasonic signal sent by the electronic device, and of course, the audio device will not execute S2402. Therefore, based on the propagation characteristics of ultrasonic signals, the electronic device can determine whether the electronic device and the audio device are in the same room based on whether it receives the second ultrasonic signal. Moreover, when the audio device sends an ultrasonic signal, it stops the current playback action, for example, stopping the currently playing song. The electronic device first sends the first ultrasonic signal, and the audio device replies with the second ultrasonic signal, avoiding interference with audio devices located in different rooms. Furthermore, after receiving the second ultrasonic signal replied by the audio device, the electronic device can determine the positional relationship between the audio device and the electronic device based on the second ultrasonic signal.
[0447] This embodiment does not limit the method by which electronic or audio devices transmit ultrasonic signals. For example, it can be transmitted through one speaker or through multiple speakers simultaneously.
[0448] Optionally, in another implementation of the room-sharing detection mechanism using ultrasonic signals, the electronic device can send interactive information to the audio device, instructing the audio device to send an ultrasonic signal. If the electronic device receives the ultrasonic signal from the audio device, it determines that it is in the same room as the audio device. If the electronic device does not receive the ultrasonic signal from the audio device, it determines that it is not in the same room as the audio device. This implementation does not limit the content and transmission method of the interactive information. For example, it can be transmitted via Bluetooth broadcast messages or a router device.
[0449] Optionally, in another embodiment of this application, based on the aforementioned room-of-sight detection mechanism, an implementation method is provided for S1603 where the electronic device determines the target networking mode, determines the target audio device to be networked and the corresponding channel of the target audio device confirmed by the user. In this embodiment, the electronic device can determine a second audio device that is in the same room as the electronic device and can be used to build stereo sound through the room-of-sight detection mechanism. For ease of explanation, the second audio device that is in the same room as the electronic device and can be used to build stereo sound is referred to as the third audio device. The electronic device displays the third audio device and guides the user to confirm whether the third audio device is the target audio device through a human-computer interaction process with the user, without requiring the user to press buttons on the audio device, simplifying user operation and improving user experience. When the electronic device is networked with multiple target audio devices, the electronic device automatically determines the corresponding channel of the target audio device according to the positional relationship between the multiple target audio devices and the electronic device, which is flexible and improves user experience.
[0450] like Figure 25 As shown, in S1603, the electronic device determines the target audio device to be networked and the corresponding channel of the target audio device, which may include:
[0451] S2501. An electronic device displays an audio device identification interface, which includes at least one third audio device. The audio device identification interface is used to guide the user to confirm whether the third audio device is the target audio device.
[0452] This embodiment does not limit the content and layout of the audio device identification interface. Optionally, the audio device identification interface may differ depending on the number or location of the third audio devices and the method for confirming whether the third audio device is the target audio device.
[0453] S2502, The electronic device receives a feedback instruction input by the user, which is used to confirm whether the third audio device is the target audio device.
[0454] The following is combined with Figure 6 The scenario shown, using three audio devices as an example, illustrates the audio device recognition interface, but does not constitute a limitation. Figure 6 In the middle, the three third audio devices include speaker a, speaker b, and speaker c.
[0455] Optionally, in one example, at least one third audio device in the audio device identification interface lights up sequentially, and the user confirms in turn whether the lit third audio device is the target audio device.
[0456] like Figure 26AAs shown, the audio device identification interface 71 includes speaker icons 711-713, icon 714, a combination button 715, a non-combination button 716, a cancel button 717, and guidance information. For example, the guidance information includes the text "Identify Speaker" and "Is the currently lit speaker combined with the smart screen?" Speaker icons 711-713 indicate the presence of three third audio devices in the environment. Icon 714 indicates that one speaker is currently lit. Through icon 714 and the guidance information, the user can be guided to confirm whether the currently lit speaker is the target audio device.
[0457] Optionally, the user can operate the cancel button 717 by inputting a device recognition cancellation command. Accordingly, the smart screen responds to the device recognition cancellation command and terminates the self-organizing network process.
[0458] Assuming the currently lit speaker is speaker c, and the user decides not to create stereo sound with the smart screen, the user can click the "Do Not Combine" button 716 to input a feedback command indicating that the currently lit speaker is not the target audio device. Accordingly, the smart screen confirms based on the feedback command that the currently lit speaker is not the target audio device, and the audio device identification interface 71 changes to the audio device identification interface 72, as shown below. Figure 26B As shown, the user is further guided to confirm whether the second or third audio device is the target audio device. Optionally, to clearly display the number of target audio devices confirmed by the user, the third audio device that the user confirmed is not a target audio device may not be displayed in the audio device identification interface 72. For example, the speaker icon 711 may not be displayed.
[0459] Suppose the currently lit speaker changes to speaker 'a', and the user confirms a stereo setup with the smart screen. The user can click the combination button 715 to input a feedback command, indicating the currently lit speaker as the target audio device. Correspondingly, the smart screen confirms the first target audio device based on the feedback command, and the audio device identification interface 72 changes to the audio device identification interface 73, as shown below. Figure 26C As shown, the user is further guided to confirm whether the third audio device is the target audio device.
[0460] Optionally, the audio device identification interface 72 includes a "Next" button 718. Users can operate the "Next" button 718 to input a device identification confirmation command. Correspondingly, the smart screen responds to the device identification confirmation command, determines the number of target audio devices, and continues the self-organizing network process.
[0461] like Figure 26CAs shown, assuming the currently lit speaker changes to speaker b, and the user confirms a stereo setup with the smart screen, the user can click the combination button 715 to input a feedback command, indicating the currently lit speaker as the target audio device. Correspondingly, the smart screen confirms the second target audio device based on the feedback command, and the audio device recognition interface 73 changes to the audio device recognition interface 74, as shown. Figure 26D As shown.
[0462] In the above process, if there is only one third audio device, the electronic device sends a light-up indicator message to that third audio device. If there are multiple third audio devices, the electronic device sends the light-up indicator message to each third audio device sequentially. This embodiment does not limit the order in which the light-up indicator messages are sent to multiple third audio devices. The light-up indicator message is used to instruct the third audio device to turn on its light. Optionally, the light-up indicator message can be sent via Bluetooth broadcast message or BLE connection.
[0463] Optionally, after the electronic device identifies each target audio device, it may also include:
[0464] The electronic device outputs a prompt message. This message indicates whether the electronic device has successfully identified the target audio device.
[0465] For example, the prompt message can be found here. Figures 26B-26D The text within the dashed box.
[0466] Optionally, in another example, since the electronic device can determine the location of the third audio device through the room-in-room detection mechanism, the audio device identification interface can display the positional relationship between the third audio device and the electronic device. The electronic device controls all third audio devices to light up. For non-target audio devices among the third audio devices, the user can operate on the audio device identification interface to control the non-target audio devices to turn off their lights, thereby confirming whether the third audio device is the target audio device.
[0467] like Figure 27A As shown, the audio device identification interface 81 includes speaker icons 811-813, a smart screen icon 814, a next button 816, a cancel button 817, and guidance information. For example, the guidance information includes the text "Identify Speaker" and "Confirm whether the lit speaker is combined with the smart screen. Click the button below the speaker to turn off the speaker's light." It can be seen that there is one speaker on the left side of the smart screen and two speakers on the right side. Combined with... Figure 6As shown in the scenario, speaker pattern 811 corresponds to speaker a, speaker pattern 812 corresponds to speaker b, and speaker pattern 813 corresponds to speaker c. Below each speaker pattern is a control 815. Users can operate the control 815 and input feedback commands. Correspondingly, the electronic device receives the user's feedback commands and controls the display state of the control 815, indicating whether the speaker is turned off. Through the positional relationship between the speaker and the smart screen and the guidance information, the user can be guided to turn off the lights of a third audio device that is not connected to the network, thereby confirming the target audio device.
[0468] exist Figure 6 In the scenario shown, the user connects speakers a and b to the smart screen via a network. The user can click the control below speaker icon 813 to input a feedback command, causing speaker c to turn off its indicator light. The feedback command indicates that the third audio device is not the target audio device. Correspondingly, the smart screen responds to the user's operation by changing the display state of the control below speaker icon 813; the audio device identification interface 81 changes to the audio device identification interface 82, as shown below. Figure 27B As shown.
[0469] It is understood that, in the above process, before the electronic device displays the audio device identification interface, it sends a light indicator message to the third audio device to control the third audio device to turn on its light. When the electronic device receives a user-input feedback command, it sends a light-off indicator message to the corresponding third audio device to control the third audio device to turn off its light. Optionally, the light indicator message or the light-off indicator message can be sent via Bluetooth broadcast message or BLE connection.
[0470] Optionally, the user can operate the cancel button 817 by inputting a device recognition cancellation command. Accordingly, the smart screen responds to the device recognition cancellation command and terminates the self-organizing network process.
[0471] Optionally, the user can press the "Next" button 816 to input a device identification confirmation command. Correspondingly, the smart screen responds to the device identification confirmation command, determines the number of target audio devices, and continues the self-organizing network process.
[0472] S2503. If there is only one target audio device, the electronic device determines the channel corresponding to the target audio device.
[0473] S2504. If there is more than one target audio device, the electronic device acquires the positional relationship between the multiple target audio devices and the electronic device, and determines the channel corresponding to each target audio device based on the positional relationship.
[0474] Optionally, in one implementation, the electronic device can determine the positional relationship between each third audio device and the electronic device in the room-in-room detection mechanism, thereby obtaining the positional relationship between the target audio device and the electronic device. See, for example, S2403.
[0475] Alternatively, in another implementation, see S2106, the electronic device determines the positional relationship between multiple target audio devices and the electronic device through positioning technology. The principle is similar and will not be elaborated here.
[0476] It should be noted that in this embodiment, when the electronic device guides the user to confirm whether the third audio device is the target audio device, the electronic device can control the third audio device to perform other actions, which are not limited in this embodiment. For example, it can control the third audio device to produce sound.
[0477] Optionally, the stereo networking method provided in this embodiment, after S2504, may further include:
[0478] The electronic device displays a channel confirmation interface. This interface guides the user to identify the corresponding channel for the target audio device.
[0479] The electronic device receives a channel confirmation command input by the user. The channel confirmation command is used to determine whether the channel corresponding to the target audio device is correct.
[0480] See also Figure 21 The principles of S2107 to S2108 in the illustrated embodiment are similar, and will not be described again here.
[0481] Regarding the implementation method of electronic devices determining the target networking mode in S1603, please refer to [link to relevant documentation]. Figure 21 The relevant descriptions in the illustrated embodiments will not be repeated here.
[0482] It is understood that electronic and audio devices, in order to achieve the above-mentioned functions, include hardware and / or software modules that perform the respective functions. Based on the algorithmic steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.
[0483] This application embodiment can divide electronic devices and audio devices into functional modules based on the above method examples. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation. It should also be noted that the module names in this application embodiment are illustrative, and the names of the modules are not limited in actual implementation.
[0484] Figure 28 This is a schematic diagram of a device provided in an embodiment of this application, which can be applied to electronic devices. Figure 28 As shown, the device includes:
[0485] The first receiving module 2801 is used to receive Bluetooth broadcast messages sent by at least one audio device; the Bluetooth broadcast messages are used to indicate whether the audio device has set up stereo and whether the audio device is allowed to set up stereo.
[0486] Processing module 2802 is configured to display a stereo setup pop-up when it is determined, based on at least one of the at least one Bluetooth broadcast messages, that there is a second audio device among the at least one audio device that can be used to build stereo; the stereo setup pop-up is used to ask the user whether the electronic device should build stereo or rebuild stereo.
[0487] Optionally, a second receiving module 2803 may also be included;
[0488] The second receiving module 2803 is used to receive the stereo assembly command input by the user; the stereo assembly command is used to instruct the electronic device to assemble stereo or reassemble stereo.
[0489] The processing module 2802 is further configured to determine a target networking mode, at least one target audio device, and a channel corresponding to each target audio device; the target audio device is an audio device confirmed by the user in the second audio device that forms a stereo connection with the electronic device, and the target networking mode is a networking mode in which the electronic device and the at least one target audio device form a stereo connection.
[0490] The processing module 2802 is also used to establish a Wi-Fi connection with each of the target audio devices.
[0491] Optionally, the networking mode includes:
[0492] First networking mode; In the first networking mode, the electronic device and a target audio device form a stereo system, and the channel of the target audio device is a subwoofer channel;
[0493] Second networking mode; In the second networking mode, the electronic device and two target audio devices form a stereo system, and the channels of the two target audio devices are the left channel and the right channel, respectively;
[0494] The third networking mode; in the third networking mode, the electronic device and two target audio devices form a stereo system, and the channels of the two target audio devices are the left surround channel and the right surround channel, respectively;
[0495] The fourth networking mode; in the fourth networking mode, the electronic device and four target audio devices form a stereo system, and the channels of the four target audio devices are the left channel, the right channel, the left surround channel and the right surround channel.
[0496] Optionally, the processing module 2802 is used for:
[0497] Obtain the target networking mode input by the user;
[0498] The number of target audio devices and the preset confirmation order of the at least one target audio device are determined according to the target networking mode;
[0499] Send a network formation notification message to the second audio device; the network formation notification message is used to notify the second audio device to detect whether the user has performed a preset operation on the target button on the second audio device;
[0500] The first audio device identification interface is displayed; the first audio device identification interface is used to guide the user to perform the preset operation on the target button on at least one target audio device in the preset confirmation order;
[0501] The system receives device identification information sent sequentially by at least one of the second audio devices in the preset confirmation order; the device identification information is used to indicate that the second audio device is the target audio device.
[0502] The at least one target audio device is determined based on the device identification information, and the channel corresponding to each target audio device is determined according to the preset confirmation order.
[0503] Optionally, the preset confirmation order includes any one of the following:
[0504] When there are two target audio devices, the target audio devices for the left channel and the right channel are confirmed in sequence.
[0505] When there are two target audio devices, the target audio devices for the left surround channel and the right surround channel are confirmed sequentially.
[0506] When there are four target audio devices, the target audio devices for the left channel, right channel, left surround channel and right surround channel are confirmed in sequence.
[0507] Optionally, the processing module 2802 is further configured to:
[0508] Output a first prompt message; the first prompt message is used to indicate that the electronic device has successfully identified the at least one target audio device.
[0509] Optionally, the processing module 2802 is used for:
[0510] Send a network formation notification message to the second audio device; the network formation notification message is used to notify the second audio device to detect whether the user has performed a preset operation on the target button on the second audio device;
[0511] The second audio device identification interface is displayed; the second audio device identification interface is used to guide the user to perform the preset operation on the target button on the second audio device;
[0512] The system receives device identification information sent by at least one of the second audio devices; the device identification information is used to indicate that the second audio device is the target audio device.
[0513] The at least one target audio device is determined based on the device identification information, and the corresponding channel for each target audio device is determined.
[0514] Optionally, the processing module 2802 is used for:
[0515] If the number of target audio devices is 1, determine the subwoofer channel corresponding to the target audio device;
[0516] If the number of target audio devices is greater than 1, the positional relationship between each target audio device and the electronic device is determined by positioning technology, and the channel corresponding to each target audio device is determined according to the positional relationship.
[0517] Optionally, the processing module 2802 is used for:
[0518] Send ultrasonic detection information to the target audio device;
[0519] Receive the ultrasonic signal sent by the target audio device;
[0520] The positional relationship between the target audio device and the electronic device is determined based on the ultrasonic signal.
[0521] Optionally, after determining the at least one target audio device based on the device identification information, the processing module 2802 is further configured to:
[0522] Output a second prompt message; the second prompt message is used to indicate that the electronic device has successfully identified the at least one target audio device.
[0523] Optionally, it also includes a sending module 2804, which is used for:
[0524] Send a BLE broadcast message to the second audio device, the BLE broadcast message including the network setup notification information.
[0525] Optionally, the target button can be any one of the following: a mute button, a play button, or a pause button.
[0526] Optionally, a sending module 2804 may also be included;
[0527] The sending module 2804 is used to send a first ultrasonic signal to the second audio device before displaying the stereo assembly pop-up;
[0528] The first receiving module 2801 is also configured to receive a second ultrasonic signal sent by at least one third audio device in the second audio device.
[0529] Optionally, the processing module 2802 is further configured to:
[0530] The positional relationship between the third audio device and the electronic device is determined based on the second ultrasonic signal.
[0531] Optionally, the processing module 2802 is used for:
[0532] Display a third audio device identification interface; the third audio device identification interface includes the at least one third audio device, and the third audio device identification interface is used to guide the user to confirm whether the third audio device is the target audio device;
[0533] The system receives a feedback instruction input by the user, which is used to confirm whether the third audio device is the target audio device.
[0534] The at least one target audio device is determined according to the feedback instruction, and the channel corresponding to each target audio device is determined.
[0535] Optionally, the third audio device identification interface is also used to indicate the positional relationship between the at least one third audio device and the electronic device.
[0536] Optionally, the processing module 2802 is used for:
[0537] If the number of target audio devices is 1, determine the subwoofer channel corresponding to the target audio device;
[0538] If the number of target audio devices is greater than 1, obtain the positional relationship between each target audio device and the electronic device, and determine the channel corresponding to each target audio device based on the positional relationship.
[0539] Optionally, the processing module 2802 is used for:
[0540] Obtain the target networking mode input by the user.
[0541] Optionally, the processing module 2802 is used for:
[0542] If the number of target audio devices is 1, the target networking mode is determined to be the first networking mode; wherein, in the first networking mode, the channel of the target audio device is the subwoofer channel;
[0543] If the number of target audio devices is greater than 1, the target networking mode is determined according to the positional relationship between each target audio device and the electronic device.
[0544] Optionally, the processing module 2802 is further configured to display a channel confirmation interface; the channel confirmation interface is used to guide the user to determine whether the channel corresponding to the target audio device is correct.
[0545] The second receiving module 2803 is further configured to receive a channel confirmation command input by the user, the channel confirmation command being used to determine whether the channel corresponding to the target audio device is correct.
[0546] Optionally, the processing module 2802 is further configured to: before establishing a Wi-Fi connection with each of the target audio devices, if it is determined that the target audio device is not configured with a WLAN network, configure a target WLAN network for the target audio device; the target WLAN network is a WLAN network already configured by the electronic device.
[0547] Optionally, the processing module 2802 is used for:
[0548] Displays an audio device network configuration interface, which is used to configure the target WLAN network for the target audio device;
[0549] Receive the user's network connection operation;
[0550] In response to the network connection operation, the target audio device is controlled to access the target WLAN network.
[0551] Optionally, the Bluetooth broadcast message includes network identification information, network indication information, and the product model of the audio device. The network identification information is used to indicate whether the audio device has been configured for stereo, and the network indication information is used to indicate whether the audio device is allowed to configure stereo.
[0552] Optionally, the processing module 2802 is used for:
[0553] If the networking indication information in the Bluetooth broadcast message indicates that the audio device is allowed to form a stereo system, it is determined that the second audio device exists.
[0554] Optionally, the processing module 2802 is further configured to: determine that the signal strength of the Bluetooth broadcast message is greater than a preset threshold before determining that the second audio device exists.
[0555] Optionally, the processing module 2802 is further configured to: determine that the electronic device is not currently performing screen mirroring service before determining that the second audio device exists.
[0556] Optionally, the Bluetooth broadcast message may also include network configuration information, which indicates whether the audio device has been configured with a WLAN network.
[0557] The apparatus provided in this embodiment is used to implement the operations performed by electronic devices in the stereo networking method provided in the above method embodiments. The technical principles and effects are similar, and will not be described again here.
[0558] Figure 29 This is another schematic diagram of the device provided in an embodiment of this application. The device can be applied to an audio device. Figure 29 As shown, the device includes:
[0559] Processing module 2902 is used to generate Bluetooth broadcast messages; the Bluetooth broadcast messages are used to indicate whether the audio device has set up stereo and whether the audio device is allowed to set up stereo.
[0560] The sending module 2901 is used to send the Bluetooth broadcast message to the electronic device.
[0561] Optionally, the processing module 2902 is further configured to: establish a Wi-Fi connection with the electronic device.
[0562] Optionally, a receiving module 2903 may also be included;
[0563] The receiving module 2903 is used to receive a network formation notification message sent by the electronic device before establishing a Wi-Fi connection with the electronic device; the network formation notification message is used to notify the detection user whether to perform a preset operation on the target button;
[0564] The sending module 2901 is further configured to send device identification information to the electronic device if it detects that the user performs the preset operation on the target button; the device identification information is used to indicate that the audio device is the target audio device that forms a stereo system with the electronic device.
[0565] Optionally, the sending module 2901 is configured to: receive a BLE broadcast message sent by the electronic device, the BLE broadcast message including the network formation notification information.
[0566] Optionally, the target button can be any one of the following: a mute button, a play button, or a pause button.
[0567] Optionally, a receiving module 2903 may also be included;
[0568] The receiving module 2903 is used to receive ultrasound detection information sent by the electronic device before establishing a Wi-Fi connection with the electronic device;
[0569] The transmitting module 2901 is also used to transmit ultrasonic signals to the electronic device.
[0570] Optionally, a receiving module 2903 may also be included;
[0571] The receiving module 2903 is used to receive a first ultrasonic signal sent by the electronic device before establishing a Wi-Fi connection with the electronic device;
[0572] The transmitting module 2901 is also used to transmit a second ultrasonic signal to the electronic device.
[0573] Optionally, the Bluetooth broadcast message includes network identification information, network indication information, and the product model of the audio device. The network identification information is used to indicate whether the audio device has been configured for stereo, and the network indication information is used to indicate whether the audio device is allowed to configure stereo.
[0574] Optionally, the Bluetooth broadcast message may also include network configuration information, which indicates whether the audio device has been configured with a WLAN network.
[0575] The apparatus provided in this embodiment is used to implement the operations performed by the audio device in the stereo networking method provided in the above method embodiment. The technical principle and technical effect are similar, and will not be described again here.
[0576] Please refer to Figure 30This illustration shows the structure of a device provided in an embodiment of this application. The device can be an electronic device or an audio device. The device includes: a processor 3001, a receiver 3002, a transmitter 3003, a memory 3004, and a bus 3005. The processor 3001 includes one or more processing cores. The processor 3001 executes various application functions and information processing by running software programs and modules. The receiver 3002 and the transmitter 3003 can be implemented as a communication component, which can be a baseband chip. The memory 3004 is connected to the processor 3001 via the bus 3005. The memory 3004 can be used to store at least one program instruction, and the processor 3001 is used to execute at least one program instruction to implement the technical solution of the above embodiment. Its implementation principle and technical effects are similar to those of the related embodiments of the above method, and will not be repeated here.
[0577] When the device is powered on, the processor reads the software program from the memory, interprets and executes the program's instructions, and processes the program's data. When data needs to be transmitted via the antenna, the processor performs baseband processing on the data to be transmitted and outputs the baseband signal to the control circuit in the control circuitry. The control circuit then performs radio frequency (RF) processing on the baseband signal and transmits the RF signal outward as electromagnetic waves through the antenna. When data is sent to the device, the control circuit receives the RF signal through the antenna, converts it into a baseband signal, and outputs the baseband signal to the processor. The processor converts the baseband signal back into data and processes that data.
[0578] Those skilled in the art will understand that, for ease of explanation, Figure 30 Only one memory and processor are shown. In actual devices, multiple processors and memories may exist. Memory may also be referred to as storage medium or storage device, etc., and this application does not limit this.
[0579] As an optional implementation, the processor may include a baseband processor and a central processing unit (CPU). The baseband processor is primarily used for processing communication data, while the CPU is primarily used for executing software programs and processing the data within those programs. Those skilled in the art will understand that the baseband processor and CPU can be integrated into a single processor or can be separate processors interconnected via technologies such as buses. Those skilled in the art will also understand that the device may include multiple baseband processors to adapt to different network standards, and the device may include multiple CPUs to enhance its processing capabilities. The various components of the device can be connected via various buses. The baseband processor can also be described as a baseband processing circuit or a baseband processing chip. The CPU can also be described as a central processing circuit or a central processing chip. The function of processing communication protocols and communication data can be built into the processor or stored in memory as software programs, with the processor executing the software programs to implement the baseband processing function. The memory can be integrated into the processor or located independently outside the processor. The memory includes a cache, which can store frequently accessed data / instructions.
[0580] In the embodiments of this application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.
[0581] In the embodiments of this application, the memory can be non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SS), or it can be volatile memory, such as random-access memory (RAM). Memory is any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, and is not limited thereto.
[0582] The memory in the embodiments of this application can also be a circuit or any other device capable of performing storage functions, used to store program instructions and / or data. The methods provided in the various embodiments of this application can be implemented entirely or partially through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, network equipment, user equipment, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be magnetic media (e.g., floppy disk, hard disk, magnetic tape), optical media (e.g., digital video disc (DWD), or semiconductor media (e.g., SSD), etc.
[0583] This application provides a computer program product that, when run on a device, causes the device to execute the technical solutions described in the above embodiments. Its implementation principle and technical effects are similar to those of the related embodiments described above, and will not be repeated here. The device can be an electronic device or an audio device.
[0584] This application provides a computer-readable storage medium storing program instructions thereon. When executed by a device, the program instructions cause the device to perform the technical solution described in the above embodiments. Its implementation principle and technical effects are similar to those of the related embodiments described above, and will not be repeated here. The device can be an electronic device or an audio device.
[0585] In summary, the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A stereo networking method applied to an electronic device, comprising: include: Receive Bluetooth broadcast messages sent by at least one audio device; The Bluetooth broadcast message is used to indicate whether the audio device has configured stereo and whether the audio device is allowed to configure stereo. When it is determined, based on at least one of the Bluetooth broadcast messages, that there is a second audio device among the at least one audio device that can be used to build stereo, a stereo building pop-up is displayed; the stereo building pop-up is used to ask the user whether the electronic device should build stereo or rebuild stereo. The system receives a stereo configuration command input by the user in the stereo configuration pop-up window; the stereo configuration command is used to instruct the electronic device to configure stereo or reconfigure stereo. In response to the stereo setup command, a target networking mode, at least one target audio device, and the audio channel corresponding to each target audio device are determined. The target audio device is the audio device that the user confirms in the second audio device to form a stereo system with the electronic device, and the target networking mode is a networking mode in which the electronic device and the at least one target audio device form a stereo system. The determination of at least one target audio device and the corresponding channel for each target audio device includes: Based on the target networking mode, determine the number of target audio devices and the preset confirmation order of the at least one target audio device; Send a network formation notification message to the second audio device; the network formation notification message is used to notify the second audio device to detect whether the user has performed a preset operation on the target button on the second audio device; The first audio device identification interface is displayed; the first audio device identification interface is used to guide the user to perform the preset operation on the target button on at least one target audio device in the preset confirmation order; The system receives device identification information sent sequentially by at least one of the second audio devices in the preset confirmation order; the device identification information is used to indicate that the second audio device is the target audio device. The at least one target audio device is determined based on the device identification information, and the channel corresponding to each target audio device is determined based on the preset confirmation order.
2. The method of claim 1, wherein, After identifying at least one target audio device, the method further includes: Establish a wireless fidelity Wi-Fi connection with each of the target audio devices.
3. The method of claim 1, wherein, The networking modes include: First networking mode; In the first networking mode, the electronic device and a target audio device form a stereo system, and the channel of the target audio device is a subwoofer channel; Second networking mode; In the second networking mode, the electronic device and two target audio devices form a stereo system, and the channels of the two target audio devices are the left channel and the right channel, respectively; The third networking mode; in the third networking mode, the electronic device and two target audio devices form a stereo system, and the channels of the two target audio devices are the left surround channel and the right surround channel, respectively; The fourth networking mode; in the fourth networking mode, the electronic device and four target audio devices form a stereo system, and the channels of the four target audio devices are the left channel, the right channel, the left surround channel and the right surround channel.
4. The method of claim 1, wherein, The preset confirmation order includes any one of the following: When there are two target audio devices, the target audio devices for the left channel and the right channel are confirmed in sequence. When there are two target audio devices, the target audio devices for the left surround channel and the right surround channel are confirmed sequentially. When there are four target audio devices, the target audio devices for the left channel, right channel, left surround channel and right surround channel are confirmed in sequence.
5. The method of claim 1, wherein, Also includes: Output the first prompt message; The first prompt message is used to indicate that the electronic device has successfully identified the at least one target audio device.
6. The method of claim 5, wherein, Determining the channel corresponding to each of the target audio devices includes: If the number of target audio devices is 1, determine the subwoofer channel corresponding to the target audio device; If the number of target audio devices is greater than 1, the positional relationship between each target audio device and the electronic device is determined by positioning technology, and the channel corresponding to each target audio device is determined according to the positional relationship.
7. The method of claim 6, wherein, The step of determining the positional relationship between each target audio device and the electronic device using positioning technology includes: Send ultrasonic detection information to the target audio device; Receive the ultrasonic signal sent by the target audio device; The positional relationship between the target audio device and the electronic device is determined based on the ultrasonic signal.
8. The method of claim 1, wherein, After determining the at least one target audio device based on the device identification information, the method further includes: Output a second prompt message; the second prompt message is used to indicate that the electronic device has successfully identified the at least one target audio device.
9. The method of claim 1, wherein, Sending the network formation notification information to the second audio device includes: Send a Bluetooth Low Energy (BLE) broadcast message to the second audio device, the BLE broadcast message including the network formation notification information.
10. The method of claim 1, wherein, The target button is any one of the following: mute button, play button, or pause button.
11. The method of claim 2, wherein, Before the stereo component pop-up window is displayed, it also includes: Send a first ultrasonic signal to the second audio device; Receive a second ultrasonic signal sent by at least one third audio device in the second audio device.
12. The method of claim 11, wherein, Also includes: The positional relationship between the third audio device and the electronic device is determined based on the second ultrasonic signal.
13. The method according to claim 11 or 12, characterized in that, Determining at least one target audio device and the corresponding channel for each target audio device includes: Display a third audio device identification interface; the third audio device identification interface includes the at least one third audio device, and the third audio device identification interface is used to guide the user to confirm whether the third audio device is the target audio device; The system receives a feedback instruction input by the user, which is used to confirm whether the third audio device is the target audio device. The at least one target audio device is determined according to the feedback instruction, and the channel corresponding to each target audio device is determined.
14. The method of claim 13, wherein, The third audio device identification interface is also used to indicate the positional relationship between the at least one third audio device and the electronic device.
15. The method of claim 13, wherein, Determining the channel corresponding to each of the target audio devices includes: If the number of target audio devices is 1, determine the subwoofer channel corresponding to the target audio device; If the number of target audio devices is greater than 1, obtain the positional relationship between each target audio device and the electronic device, and determine the channel corresponding to each target audio device based on the positional relationship.
16. The method of claim 1, wherein, The determination of the target networking mode includes: Obtain the target networking mode input by the user.
17. The method of any one of claims 6-7, 15, wherein, The determination of the target networking mode includes: If the number of target audio devices is 1, the target networking mode is determined to be the first networking mode; wherein, in the first networking mode, the channel of the target audio device is the subwoofer channel; If the number of target audio devices is greater than 1, the target networking mode is determined according to the positional relationship between each target audio device and the electronic device.
18. The method of claim 1, wherein, Also includes: The audio channel confirmation interface is used to guide the user in determining whether the audio channel corresponding to the target audio device is correct. The system receives a channel confirmation command input by the user, which is used to determine whether the channel corresponding to the target audio device is correct.
19. The method of claim 2, wherein, Before establishing a Wi-Fi connection with each of the target audio devices, the method further includes: If it is determined that the target audio device is not configured with a wireless local area network (WLAN), then a target WLAN network is configured for the target audio device; the target WLAN network is the WLAN network already configured for the electronic device.
20. The method according to claim 19, characterized in that, Configuring the target WLAN network for the target audio device includes: Displays an audio device network configuration interface, which is used to configure the target WLAN network for the target audio device; Receive the user's network connection operation; In response to the network connection operation, the target audio device is controlled to access the target WLAN network.
21. The method according to claim 1, characterized in that, The Bluetooth broadcast message includes network identification information, network indication information, and the product model of the audio device. The network identification information is used to indicate whether the audio device has been configured for stereo, and the network indication information is used to indicate whether the audio device is allowed to configure stereo.
22. The method according to claim 21, characterized in that, The step of determining, based on at least one of the Bluetooth broadcast messages, that there is a second audio device among the at least one audio device that can be used to construct stereo sound includes: If the networking indication information in the Bluetooth broadcast message indicates that the audio device is allowed to form a stereo system, it is determined that the second audio device exists.
23. The method according to claim 21, characterized in that, Before determining the existence of the second audio device, the method further includes: The signal strength of the Bluetooth broadcast message is determined to be greater than a preset threshold.
24. The method according to claim 21, characterized in that, Before determining the existence of the second audio device, the method further includes: It has been determined that the electronic device is not currently using screen mirroring.
25. The method according to claim 1, characterized in that, The Bluetooth broadcast message also includes network configuration information, which indicates whether the audio device has been configured with a WLAN network.
26. A stereo networking method, applied to audio equipment, characterized in that, include: Generate Bluetooth broadcast messages; The Bluetooth broadcast message is used to indicate whether the audio device has configured stereo and whether the audio device is allowed to configure stereo. Send the Bluetooth broadcast message to the electronic device; Receive the network formation notification information sent by the electronic device; The network setup notification information is used to notify the detection user whether a preset operation has been performed on the target button. If the user performs the preset operation on the target button according to the network formation notification information, device identification information is sent to the electronic device; the device identification information is used to indicate that the audio device is the target audio device for forming a stereo system with the electronic device.
27. The method according to claim 26, characterized in that, Also includes: Establish a wireless fidelity Wi-Fi connection with the electronic device.
28. The method according to claim 27, characterized in that, If the reconnection fails or no second network record is stored, the generated Bluetooth broadcast message indicates that stereo setup is allowed; if the reconnection fails to time out or succeeds, the generated Bluetooth broadcast message indicates that stereo setup is not allowed.
29. The method according to claim 28, characterized in that, The receipt of the network formation notification information sent by the electronic device includes: The device receives a Bluetooth Low Energy (BLE) broadcast message sent by the electronic device, the BLE broadcast message including the network formation notification information.
30. The method according to claim 28, characterized in that, The target button is any one of the following: mute button, play button, or pause button.
31. The method according to claim 27, characterized in that, Before establishing a Wi-Fi connection with the electronic device, the method further includes: Receive ultrasonic detection information sent by the electronic device; Send ultrasonic signals to the electronic device.
32. The method according to claim 27, characterized in that, Before establishing a Wi-Fi connection with the electronic device, the method further includes: Receive the first ultrasonic signal sent by the electronic device; A second ultrasonic signal is sent to the electronic device.
33. The method according to any one of claims 26-32, characterized in that, The Bluetooth broadcast message includes network identification information, network indication information, and the product model of the audio device. The network identification information is used to indicate whether the audio device has been configured for stereo, and the network indication information is used to indicate whether the audio device is allowed to configure stereo.
34. The method according to any one of claims 26-32, characterized in that, The Bluetooth broadcast message also includes network configuration information, which indicates whether the audio device has been configured with a wireless local area network (WLAN).
35. An electronic device, characterized in that, The electronic device includes a processor configured to be coupled to a memory, read instructions from the memory, and cause the electronic device to perform the method as described in any one of claims 1-25 according to the instructions.
36. An audio device, characterized in that, The audio device includes a processor configured to be coupled to a memory, read instructions from the memory, and cause the audio device to perform the method as described in any one of claims 26-34 according to the instructions.
37. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed on the device, cause the device to perform the method as claimed in any one of claims 1-25, or to perform the method as claimed in any one of claims 26-34.