WO2023005881A1 - 立体声组网方法、电子设备、音频设备和存储介质 - Google Patents

立体声组网方法、电子设备、音频设备和存储介质 Download PDF

Info

Publication number
WO2023005881A1
WO2023005881A1 PCT/CN2022/107641 CN2022107641W WO2023005881A1 WO 2023005881 A1 WO2023005881 A1 WO 2023005881A1 CN 2022107641 W CN2022107641 W CN 2022107641W WO 2023005881 A1 WO2023005881 A1 WO 2023005881A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio device
target
electronic device
stereo
target audio
Prior art date
Application number
PCT/CN2022/107641
Other languages
English (en)
French (fr)
Inventor
薛静
沈传军
王金成
张静静
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP22848486.1A priority Critical patent/EP4358559A1/en
Publication of WO2023005881A1 publication Critical patent/WO2023005881A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S7/00Indicating arrangements; Control arrangements, e.g. balance control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management

Definitions

  • the embodiments of the present application relate to the technical field of communications, and in particular, to a stereo networking method, electronic equipment, audio equipment, and storage media.
  • Wi-Fi wireless fidelity
  • devices such as smart phones, sound boxes, and televisions have added a Wi-Fi access network function.
  • Wi-Fi technology with traditional speakers results in Wi-Fi speakers.
  • electronic equipment can form a stereo through a Wi-Fi router and a Wi-Fi speaker, thereby achieving different sound effects.
  • the electronic device and the Wi-Fi speaker are required to be connected to the wireless LAN established by the same Wi-Fi router, and the electronic device and the Wi-Fi speaker use the same user account, and the Wi-Fi router Messages from electronic devices and Wi-Fi speakers can be forwarded.
  • the conditions for establishing stereo sound between electronic equipment and Wi-Fi speakers are harsh, which is not conducive to forming stereo sound.
  • Embodiments of the present application provide a stereo networking method, electronic equipment, audio equipment, and storage media. Stereo networking is more flexible and efficient, and user experience is improved.
  • a stereo networking method which is applied to electronic devices, including: receiving a Bluetooth broadcast message sent by at least one audio device; the Bluetooth broadcast message is used to indicate whether the audio device has formed a stereo and whether the audio device is allowed to form Stereo sound; when it is determined according to at least one Bluetooth broadcast message that there is a second audio device that can be used to form stereo in at least one audio device, display a stereo formation pop-up box; the stereo formation pop-up box is used to ask the user whether the electronic device is to set up stereo or to re-build stereo.
  • the electronic device and the audio device can perform short-distance communication. Based on the short-distance communication, the electronic device can directly and automatically discover the audio device that can be used to form a stereo, and ask the user whether to form a stereo. Create stereo with audio equipment according to user needs.
  • the stereo networking method provided in the embodiment of the present application does not require that the electronic device and the audio device are connected to the same local area network and have the same user account. In the configuration process of stereo networking, it saves the operation of configuring and combining electronic equipment and audio equipment in advance, and configures and combines multiple audio equipment, simplifies the user configuration steps, makes the networking more flexible and efficient, and improves user experience.
  • the method further includes: receiving a stereo formation instruction input by the user; the stereo formation instruction is used to instruct the electronic device to form a stereo or re-establish a stereo; determine the target networking mode, at least one target audio device, and each target The channel corresponding to the audio device; the target audio device is an audio device confirmed by the user in the second audio device to form a 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 form a stereo; and Each target audio device establishes a Wi-Fi connection.
  • the user determines the target networking mode and the target audio device to be networked that has been confirmed by the user, and establishes a Wi-Fi connection with the target audio device to form a stereo. Since the target audio device is confirmed by the user, the electronic device establishes a Wi-Fi connection with the target audio device confirmed by the user, which follows the user's wishes and needs, and avoids establishing a Wi-Fi connection with other audio devices and affecting other audio devices. It works normally and improves the accuracy of stereo networking.
  • the networking mode includes: the first networking mode; in the first networking mode, the electronic device and one target audio device form a stereo sound, and the channel of one target audio device is subwoofer channel; the second networking mode; in the second networking mode, the electronic device and two target audio devices form a stereo, 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, and the channels of the two target audio devices are respectively the left surround channel and the right surround channel; the fourth networking mode; in the fourth group In the network mode, the electronic device and 4 target audio devices form a stereo sound, and the channels of the 4 target audio devices are left channel, right channel, left surround channel and right surround channel respectively.
  • determining the target networking mode, at least one target audio device, and the channel corresponding to each target audio device includes: obtaining the target networking mode input by the user; determining the target audio device according to the target networking mode The number of the number and the preset confirmation order of at least one target audio device; send the notification information to be networked to the second audio device; the notification information to be networked is used to notify the second audio device to detect whether the user is interested in the target on the second audio device Press the key to perform a preset operation; display the 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 sequence according to the preset confirmation sequence; receive at least one second The device identification information sent by the audio device in sequence according to the preset confirmation sequence; the device identification information is used to indicate that the second audio device is the target audio device; at least one target audio device is determined according to the device identification information, and each target is determined according to the preset confirmation sequence The channel corresponding to the audio
  • the target networking mode is input by the user.
  • the electronic device guides the user to perform preset operations on the target buttons on at least one target audio device in sequence according to the preset confirmation sequence, thereby confirming the target audio device that is networked with the electronic device. Confirming that the audio device is the target audio device through the user's operation on the audio device improves the accuracy of the user's determination of the target audio device, thereby improving the accuracy of networking between the electronic device and the target audio device, and avoiding false networking.
  • the electronic device is networked with multiple target audio devices, the user confirms each target audio device sequentially according to the preset confirmation order, and the implementation method is simple.
  • the preset confirmation sequence includes any of the following: when there are two target audio devices, confirm the target audio devices of the left channel and the right channel in turn; when there are two target audio devices, Confirm the target audio devices of the left surround channel and right surround channel in sequence; if there are 4 target audio devices, confirm the target audio devices of the left channel, right channel, left surround channel and right surround channel in sequence.
  • the method further includes: outputting first prompt information; the first prompt information is used to indicate that the electronic device has successfully determined at least one target audio device.
  • determining at least one target audio device and the channel corresponding to each target audio device includes: sending notification information to be networked to the second audio device; the notification information to be networked is used to notify the second audio
  • the device detects whether the user performs a preset operation on the target button on the second audio device; displays 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; receiving device identification information respectively 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 according to the device identification information, and determining the audio frequency corresponding to each target audio device; road.
  • the user operates on the audio device to confirm that the audio device is the target audio device.
  • the order in which the user operates on the audio equipment is not limited.
  • the electronic device determines the positional relationship between multiple target audio devices and the electronic device through the positioning technology, and then determines the corresponding channel of the target audio device, which reduces the restriction on the sequence of user operations, has flexible implementation methods, and improves user experience.
  • determining the channel corresponding to each target audio device includes: if the number of the target audio device is 1, determine the subwoofer channel corresponding to the target audio device; if the number of the target audio device is greater than 1. Determine the positional relationship between each target audio device and the electronic device through positioning technology, and determine the corresponding channel of each target audio device according to the positional relationship.
  • determining the positional relationship between each target audio device and the electronic device through positioning technology includes: sending ultrasonic detection information to the target audio device; receiving an ultrasonic signal sent by the target audio device; determining according to the ultrasonic signal The positional relationship between the target audio device and the electronic device.
  • the positional relationship between each target audio device and the electronic device is determined through ultrasonic positioning technology.
  • the method further includes: outputting second prompt information; the second prompt information is used to indicate that the electronic device successfully determines the at least one target audio device.
  • sending the notification information of the network to be formed to the second audio device includes: sending a BLE broadcast message to the second audio device, where the BLE broadcast message includes the notification information of the network to be formed.
  • the target key is any one of the following: a mute key, a play key or a pause key.
  • the user can reuse the existing keys on the audio device to confirm that the audio device is the target audio device, which avoids modification of the audio device.
  • the method before displaying the stereo composition pop-up box, further includes: sending the first ultrasonic signal to the second audio device; and receiving the second ultrasonic signal sent by at least one third audio device in the second audio device.
  • the same room detection mechanism can be used to filter out the second audio devices that are not in the same room as the electronic device among the second audio devices found by the electronic device that can set up stereo.
  • the accuracy and rationality of forming stereo sound with electronic equipment and audio equipment are further improved.
  • the method further includes: determining a positional relationship between the third audio device and the electronic device according to the second ultrasonic signal.
  • determining at least one target audio device and a channel corresponding to 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, the first The three audio device identification interfaces are used to guide the user to confirm whether the third audio device is the target audio device; receive the feedback instruction input by the user, and the feedback instruction is used to confirm whether the third audio device is the target audio device; determine at least one target audio according to the feedback instruction devices and determine the corresponding channel for each target audio device.
  • the user is not required to operate on the audio device to confirm that the audio device is the target audio device.
  • the electronic device displays the third audio device identification interface, and by displaying 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, which simplifies user operations and improves user experience.
  • the third audio device identification interface is further used to indicate a positional relationship between at least one third audio device and the electronic device.
  • the third audio device identification interface can display the positional relationship between the third audio device and the electronic device, and the user can visually and intuitively compare the actual environment with the third audio device identification interface, which is beneficial The user confirms whether the third audio device is the target audio device, which further improves user experience.
  • determining the channel corresponding to each target audio device includes: if the number of the target audio device is 1, determine the subwoofer channel corresponding to the target audio device; if the number of the target audio device is greater than 1. Obtain the positional relationship between each target audio device and the electronic device, and determine the corresponding channel of each target audio device according to the positional relationship.
  • determining a target networking mode includes: acquiring a target networking mode input by a user.
  • determining the target networking mode includes: if the number of the target audio device is 1, determining the target networking mode is the first networking mode; wherein, in the first networking mode, the target The channel of the audio device is a 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.
  • 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 instruction input by the user, the channel confirmation instruction Used to determine whether the channel corresponding to the target audio device is correct.
  • the position and channel of the target audio device determined by the positioning technology for the electronic device can be further confirmed by the user, which improves the accuracy of stereophonic formation and avoids the Stereo build errors caused by positioning the audio device incorrectly.
  • the target audio device before establishing a Wi-Fi connection with each target audio device, it also includes: when it is determined that the target audio device is not configured with a WLAN network, configuring the target WLAN network for the target audio device; the target WLAN network is an electronic device Configured WLAN network.
  • the electronic device may configure a network for the target audio device, so that the target audio device and the electronic device are connected to the same WLAN network to facilitate subsequent communication.
  • configuring the target WLAN network for the target audio device includes: displaying an audio device network configuration interface, where the audio device network configuration interface is used to configure the target WLAN network for the target audio device; receiving the user's connection network operation; responding For connecting to the network, control the target audio device to access the target WLAN network.
  • the Bluetooth broadcast message includes networking identification information, networking instruction information, and the product model of the audio device, the networking identification information is used to indicate whether the audio device has built stereo, and the networking instruction information is used to indicate whether Allows audio devices to form stereo.
  • determining according to at least one Bluetooth broadcast message that there is a second audio device that can be used to form stereo in at least one audio device includes: if the networking indication information in the Bluetooth broadcast message indicates that the audio device is allowed to form stereo, Make sure there is a second audio device.
  • the method before determining that the second audio device exists, the method further includes: determining that the signal strength of the Bluetooth broadcast message is greater than a preset threshold.
  • the signal strength of the Bluetooth broadcast message is greater than the preset threshold, indicating that the distance between the audio device and the electronic device is relatively short, and stereophonic sound can be established.
  • the method before determining that the second audio device exists, the method further includes: determining that the electronic device is not currently performing a screen projection service.
  • the Bluetooth broadcast message further includes network configuration information, and the network configuration information is used to indicate whether the audio device has been configured with a WLAN network.
  • a stereo networking method which is applied to audio devices, including: generating a Bluetooth broadcast message; the Bluetooth broadcast message is used to indicate whether the audio device has formed a stereo and whether the audio device is allowed to form a stereo; broadcast message.
  • the electronic device and the audio device can perform short-distance communication, and the audio device sends a Bluetooth broadcast message to the electronic device, so that the electronic device can directly and automatically discover the Bluetooth broadcast message based on the short-distance communication
  • the stereo networking method provided in the embodiment of the present application does not require the electronic device and the audio device to be connected to the same local area network and have the same user account. The networking is more flexible and efficient, and the user experience is improved.
  • the method further includes: establishing a Wi-Fi connection with the electronic device.
  • the electronic device before establishing a Wi-Fi connection with the electronic device, it also includes: receiving the notification information of the pending network sent by the electronic device; the notification information of the pending networking is used to notify and detect whether the user performs a preset operation on the target button ; If it is detected that the user performs a preset operation on the target button, send device identification information to the electronic device; the device identification information is used to indicate that the audio device is a target audio device that forms a stereo with the electronic device.
  • receiving the notification information of the pending networking sent by the electronic device includes: receiving a BLE broadcast message sent by the electronic device, where the BLE broadcast message includes the notification information of the pending networking.
  • the target key is any one of the following: a mute key, a play key or a pause key.
  • the method before establishing the Wi-Fi connection with the electronic device, the method further includes: receiving ultrasonic detection information sent by the electronic device; and sending an ultrasonic signal to the electronic device.
  • the method before establishing the Wi-Fi connection with the electronic device, the method further includes: receiving the first ultrasonic signal sent by the electronic device; and sending the second ultrasonic signal to the electronic device.
  • the Bluetooth broadcast message includes networking identification information, networking instruction information, and the product model of the audio device, the networking identification information is used to indicate whether the audio device has built stereo, and the networking instruction information is used to indicate whether Allows audio devices to form stereo.
  • the Bluetooth broadcast message further includes network configuration information, and the network configuration information is used to indicate whether the audio device has been configured with a WLAN network.
  • an apparatus including: a first receiving module, configured to receive a Bluetooth broadcast message respectively sent by at least one audio device; the Bluetooth broadcast message is used to indicate whether the audio device has established stereo and whether the audio device is allowed to establish stereo;
  • the processing module is configured to display a stereo building pop-up box when it is determined according to at least one Bluetooth broadcast message that there is a second audio device that can be used to build stereo in the at least one audio device; the stereo building pop-up box is used to ask the user whether the electronic device can build stereo Or rebuild the stereo.
  • it also includes a second receiving module; the second receiving module is configured to receive a stereo formation instruction input by the user; the stereo formation instruction is used to instruct the electronic device to establish stereo or re-establish stereo; the processing module also uses 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 an audio device that is confirmed by the user in the second audio device to form a stereo with the electronic device, and the target networking mode is The electronic device and at least one target audio device form a stereo networking mode; the processing module is also used to establish a Wi-Fi connection with each target audio device.
  • the networking mode includes: the first networking mode; in the first networking mode, the electronic device and one target audio device form a stereo sound, and the channel of one target audio device is subwoofer channel; the second networking mode; in the second networking mode, the electronic device and two target audio devices form a stereo, 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, and the channels of the two target audio devices are respectively the left surround channel and the right surround channel; the fourth networking mode; in the fourth group In the network mode, the electronic device and 4 target audio devices form a stereo sound, and the channels of the 4 target audio devices are left channel, right channel, left surround channel and right surround channel respectively.
  • the processing module is configured to: obtain the target networking 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 networking mode;
  • the device sends the notification information of the network to be formed; the notification information of the network to be formed is used to notify the second audio device to detect whether the user performs 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 The interface is used to guide the user to perform preset operations on the target buttons on at least one target audio device in sequence according to the preset confirmation sequence; receive device identification information sequentially sent by at least one second audio device according to the preset confirmation sequence; the device identification information is used for Indicating the second audio device as the target audio device; determining at least one target audio device according to the device identification information, and determining the channel corresponding to each target audio device according to a preset confirmation sequence.
  • the preset confirmation sequence includes any of the following: when there are two target audio devices, confirm the target audio devices of the left channel and the right channel in turn; when there are two target audio devices, Confirm the target audio devices of the left surround channel and right surround channel in sequence; if there are 4 target audio devices, confirm the target audio devices of the left channel, right channel, left surround channel and right surround channel in sequence.
  • the processing module is further configured to: output first prompt information; the first prompt information is used to indicate that the electronic device has successfully determined at least one target audio device.
  • the processing module is configured to: send to the second audio device notification information to be networked; the notification information to be networked is used to notify the second audio device to detect whether the user presses the target button on the second audio device Presetting operations; displaying a second audio device identification interface; the second audio device identification interface is used to guide the user to perform preset operations on the target buttons on the second audio device; receiving device identification information respectively 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; at least one target audio device is determined according to the device identification information, and a channel corresponding to each target audio device is determined.
  • the processing module is used to: if the number of the target audio device is 1, determine the subwoofer channel corresponding to the target audio device; if the number of the target audio device is greater than 1, determine each The positional relationship between the target audio device and the electronic device, and determine the channel corresponding to each target audio device according to the positional relationship.
  • the processing module is configured to: send ultrasonic detection information to the target audio device; receive the ultrasonic signal sent by the target audio device; and determine the positional relationship between the target audio device and the electronic device according to the ultrasonic signal.
  • the processing module is further configured to: output second prompt information; the second prompt information is used to indicate that the electronic device has successfully determined at least one target audio device.
  • it further includes a sending module, and the sending module is configured to: send a BLE broadcast message to the second audio device, where the BLE broadcast message includes notification information to be networked.
  • the target key is any one of the following: a mute key, a play key or a pause key.
  • it also includes a sending module; the sending module is configured to send the first ultrasonic signal to the second audio device before displaying the stereo composition pop-up; the first receiving module is also configured to receive the second audio device The second ultrasonic signal sent by the at least one third audio device.
  • the processing module is further configured to: determine a positional relationship between the third audio device and the electronic device according to the second ultrasonic signal.
  • 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 the third audio device Whether it is the target audio device; receiving a feedback instruction input by the user, the feedback instruction is used to confirm whether the third audio device is the target audio device; determining at least one target audio device according to the feedback instruction, and determining the corresponding channel of each target audio device.
  • the third audio device identification interface is further used to indicate a positional relationship between at least one third audio device and the electronic device.
  • 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 each target audio device The positional relationship with the electronic device, and determine the corresponding channel of each target audio device according to the positional relationship.
  • the processing module is configured to: acquire a target networking mode input by a user.
  • the processing module is used to: if the number of the target audio device is 1, determine that the target networking mode is the first networking mode; wherein, in the first networking mode, the target audio device The channel is a 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.
  • the processing module is also used 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 also used to receive user input The channel confirmation command is used to determine whether the channel corresponding to the target audio device is correct.
  • the processing module is further configured to: before establishing a Wi-Fi connection with each target audio device, when it is determined that the target audio device is not configured with a WLAN network, configure the target WLAN network for the target audio device; the target WLAN The network is the configured WLAN network of the electronic device.
  • the processing module is used to: display the audio device network configuration interface, and the audio device network configuration interface is used to configure the target WLAN network for the target audio device; receive the user's network connection operation; respond to the connection network operation, control The target audio device is connected to the target WLAN network.
  • the Bluetooth broadcast message includes networking identification information, networking instruction information, and the product model of the audio device, the networking identification information is used to indicate whether the audio device has built stereo, and the networking instruction information is used to indicate whether Allows audio devices to form stereo.
  • the processing module is configured to: if the networking instruction information in the Bluetooth broadcast message indicates that the audio device is allowed to set up stereo, determine that there is a second audio device.
  • the processing module is further configured to: before determining that the second audio device exists, determine that the signal strength of the Bluetooth broadcast message is greater than a preset threshold.
  • the processing module is further configured to: before determining that the second audio device exists, determine that the electronic device is not currently performing a screen projection service.
  • the Bluetooth broadcast message further includes network configuration information, and the network configuration information is used to indicate whether the audio device has been configured with a WLAN network.
  • an apparatus including: a processing module, configured to generate a Bluetooth broadcast message; the Bluetooth broadcast message is used to indicate whether the audio device has set up stereo and whether the audio device is allowed to set up a stereo; a sending module, used to send to the electronic device Bluetooth broadcast messages.
  • the processing module is further configured to: establish a Wi-Fi connection with the electronic device.
  • the receiving module is used to receive the notification information of the network to be formed sent by the electronic device before establishing a Wi-Fi connection with the electronic device; the notification information of the network to be formed 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 it is detected that the user performs a preset operation on the target button; the device identification information is used to instruct the audio device to form a stereo with the electronic device Target audio device.
  • the sending module is configured to: receive a BLE broadcast message sent by an electronic device, where the BLE broadcast message includes notification information to be networked.
  • the target key is any one of the following: a mute key, a play key or a pause key.
  • the receiving module is used to receive the 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 the ultrasonic signal to the electronic device .
  • the receiving module is configured to receive the first ultrasonic signal sent by the electronic device before establishing a Wi-Fi connection with the electronic device; the sending module is also configured to send the first ultrasonic signal to the electronic device. Two ultrasonic signals.
  • the Bluetooth broadcast message includes networking identification information, networking instruction information, and the product model of the audio device, the networking identification information is used to indicate whether the audio device has built stereo, and the networking instruction information is used to indicate whether Allows audio devices to form stereo.
  • the Bluetooth broadcast message further includes network configuration information, and the network configuration information is used to indicate whether the audio device has been configured with a WLAN network.
  • an electronic device including a processor, and the processor is configured to be coupled with a memory, read instructions in the memory, and make the electronic device execute the method provided in the first aspect according to the instructions.
  • an audio device including a processor, and the processor is configured to be coupled to a memory, read instructions in the memory, and make the audio device execute the method provided in the second aspect according to the instructions.
  • a program is provided, which is used to execute the method provided in any one of the above aspects when executed by a processor.
  • a computer-readable storage medium is provided. Instructions are stored in the computer-readable storage medium. When the instructions are run on a computer or a processor, the method provided in any one of the above aspects is implemented.
  • a program product includes a computer program, the computer program is stored in a readable storage medium, at least one processor of a device can read the computer program from the readable storage medium, the Executing the computer program by the at least one processor causes the device to implement the method provided in any aspect above.
  • Fig. 1 is a kind of system architecture diagram of stereo networking
  • Figure 2 is a schematic diagram of the configuration flow of the smart screen Y, speaker b and speaker c in Figure 1 to form a stereo;
  • FIG. 3 is a system architecture diagram of a stereo network provided by an embodiment of the present application.
  • Figures 4 to 13 are schematic diagrams of a set of application scenarios provided by the embodiments of the present application.
  • 14A to 14H are schematic diagrams of a group of interfaces for setting stereo networking of electronic devices provided by the embodiment of the present application.
  • FIG. 15 is a flowchart of a stereo networking method provided in an embodiment of the present application.
  • FIG. 16 is another flow chart of the stereo networking method provided by the embodiment of the present application.
  • Figures 17A to 17I are schematic diagrams of a set of interfaces of the stereo creation pop-up box provided by the embodiment of the present application.
  • FIG. 18 is a schematic diagram of an audio device network configuration interface provided by an embodiment of the present application.
  • FIG. 19 is another flow chart of the stereo networking method provided by the embodiment of the present application.
  • 20A to 20E are a set of schematic diagrams of the audio device identification interface provided by the embodiment of the present application.
  • FIG. 21 is another flow chart of the stereo networking method provided by the embodiment of the present application.
  • 22A to 22D are schematic diagrams of another set of interfaces of the audio device identification interface provided by the embodiment of the present application.
  • 23A-23B are a set of schematic diagrams of the channel confirmation interface provided by the embodiment of the present application.
  • FIG. 24 is another flow chart of the stereo networking method provided by the embodiment of the present application.
  • FIG. 25 is another flow chart of the stereo networking method provided by the embodiment of the present application.
  • 26A to 26D are another set of schematic diagrams of the audio device identification interface provided by the embodiment of the present application.
  • 27A-27B are another set of schematic diagrams of the audio device identification interface provided by the embodiment of the present application.
  • Fig. 28 is a schematic structural diagram of the device provided by the embodiment of the present application.
  • Fig. 29 is another schematic structural view of the device provided by the embodiment of the present application.
  • FIG. 30 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • the stereo networking method provided in the embodiment of the present application is applicable to a scenario where an electronic device and an audio device perform stereo networking.
  • the embodiments of the present application do not limit the names and types of electronic devices and audio devices.
  • examples of some electronic devices are: smart screens, televisions, projection devices, and the like.
  • Some examples of audio equipment are: speakers, wireless earphones, etc.
  • the electronic device is a smart screen and the audio device is a speaker as an example.
  • Stereo networking is also called networking or building stereo, which means that electronic equipment uses audio equipment to produce sound, or uses audio equipment and the local speakers of electronic equipment to produce sound together, thereby achieving different sound playback effects.
  • the stereo networking mode is also called networking mode.
  • networking mode When the number and/or location of audio devices in a stereo network are different, the networking modes are different.
  • the embodiment of the present application does not limit the name of each networking mode.
  • the electronic device and an audio device form a stereo, and the bass band is strengthened through the audio device to improve the sound playback effect of the subwoofer.
  • the channel corresponding to the audio device may be called a subwoofer channel. For example, refer to FIG. 4 .
  • front dual speaker networking mode front mode or left and right channel networking mode.
  • the electronic device and 2 audio devices form a stereo.
  • the channels corresponding to the two audio devices are respectively called the left channel and the right channel, and the stereo effect is created by sounds from the left and right directions.
  • the two audio devices are respectively located on the left and right sides of the electronic device.
  • the two audio devices are respectively located on the left and right sides of the electronic device. For example, refer to FIG. 5 .
  • the models of the two audio devices are the same.
  • rear double speaker networking mode rear mode or left and right surround channel networking mode.
  • the electronic device and 2 audio devices form a stereo.
  • the two audio devices are located near the listener's seat, and the corresponding channels are respectively called the left surround channel and the right surround channel.
  • the listener has the feeling of being surrounded by the sound source through the sound from the left and right directions.
  • two audio devices are respectively located on the left and right sides of the listener's seat. For example, see Fig. 7 .
  • the models of the two audio devices are the same.
  • the electronic device and 4 audio devices form a stereo.
  • two audio devices are respectively configured as a left channel and a right channel
  • the other two audio devices are respectively configured as a left surround channel and a right surround channel.
  • FIG. 8 refers to FIG. 8 .
  • the models of the two audio devices configured as the left and right sound channels are the same, and the models of the two audio devices configured as the left and right surround channels are the same.
  • the models of the four audio devices are the same.
  • the distribution network includes the distribution network of electronic equipment and the distribution network of audio equipment.
  • the network distribution of the electronic device means that the electronic device is configured with an account number and password of a wireless local area network (wireless local area networks, WLAN) network, so that the electronic device can access the WLAN network.
  • the network configuration of the audio device means that the audio device is configured with a WLAN network account and password, so that the audio device can access the WLAN network.
  • the electronic device can configure a WLAN network for the audio device, so that the audio device can be connected to a router, and the electronic device and the audio device can be connected to the same WLAN network to facilitate communication.
  • the audio device can be connected to the router.
  • the electronic device and the audio device After the electronic device and the audio device successfully form a stereo, the electronic device and the audio device locally save a stereo network record, also called a network record.
  • the embodiment of the present application does not limit the contents of the networking records respectively stored by the electronic device and the audio device.
  • the electronic device When the electronic device is powered on again, it can try to establish a stereo with the audio device according to the locally saved network records. This process is called back connection.
  • the audio device when the audio device is powered on again, it can try to connect back to the electronic device according to the locally saved network records.
  • Smart Screen X forms a stereo with speakers a and b. When the smart screen X, speaker a and speaker b are powered on again, the smart screen X, speaker a and speaker b will try to reconnect.
  • the networking record in the electronic device may be called the first networking record
  • the networking record in the audio device may be called the second networking record
  • the self-organizing network function refers to the function that the electronic device can automatically discover the audio equipment that can be used to form a stereo and form a stereo with the audio equipment. For example, when an electronic device and an audio device establish a stereo sound for the first time, or when another audio device that can be used to form a stereo sound is found after the electronic device and the audio device fail to connect back, or when the electronic device and the audio device successfully establish a stereo sound When other audio equipment that can be used to form stereo is found, the electronic equipment can execute the self-organizing network process to realize the self-organizing network function.
  • the embodiment of the present application does not limit the name of the ad hoc network function, for example, it is also called the function of automatically forming a stereo.
  • a function switch can be set on the electronic device to set whether the electronic device is turned on or supports the ad hoc network function.
  • the function switch By setting the function switch, the possibility of selection is provided for the user, and the flexibility of the stereo network is improved.
  • the first audio device, the second audio device, the third audio device, and the target audio device are identical to each other.
  • the audio device found by the electronic device that can be used for connection back is called the first audio device
  • the audio device found by the electronic device that can be used to build stereo is called the second audio device.
  • the audio device found by the electronic device that can be used to form stereo and is located in the same room as the electronic device is called a third audio device
  • the audio device that is confirmed by the user to form a stereo with the electronic device is called a target audio device.
  • the networking mode in the first networking record stored by the electronic device is called the historical networking mode
  • the networking mode when the electronic device executes the ad hoc networking process is called the target group net mode.
  • FIG. 1 is a system architecture diagram of stereo networking.
  • the system includes routing equipment, electronic equipment and audio equipment, and there is no limitation on the type and quantity of each equipment in the system.
  • the routing device includes a router H.
  • the smart screen X and speaker a form a stereo
  • the smart screen Y forms a stereo with speakers b and c, see the dotted box in Figure 1.
  • 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 the WLAN network.
  • speaker a can access a server on the Internet (internet) through router H, obtain audio data from the server and play it; or speaker a obtains audio data from smart screen X through router H and plays it; or speaker a After forming a stereo with the Smart Screen X, the audio data is obtained from the Smart Screen X and played.
  • Internet Internet
  • smart screen Y can send audio data to speaker b and speaker c through router H; or, smart screen Y can form stereo with speaker b and speaker c and then send audio data to speaker b and speaker c.
  • Fig. 2 is a schematic diagram of the configuration flow of smart screen Y, speaker b and speaker c in Fig. 1 to form a stereo.
  • the configuration process includes:
  • Step 1 Configure the WLAN network and user account of Smart Screen Y.
  • the user can configure the account number and password of the WLAN network in the relevant interface displayed on the smart screen Y, so that the smart screen Y can access the WLAN network established by the router H.
  • the user can configure the user account in the relevant interface displayed on the smart screen Y.
  • a user account is also called a login account. After the user logs in to the smart screen Y with a user account, the smart screen Y can obtain permissions for related functions or services and provide users with corresponding functions. Different users can use the same user account to log in to the smart screen Y, or different users can use their own user accounts to log in to the smart screen Y.
  • Step 2 Configure the WLAN network and user account of speaker b and speaker c.
  • the user can configure the account number and password of the WLAN network of speaker b and speaker c in the relevant interface displayed by the related device, so that speaker b and speaker c can access the WLAN network established by router H.
  • Speaker b and speaker c can perform short-distance communication with related devices, for example, Bluetooth communication or Wi-Fi communication.
  • An application program (application, APP) for managing audio equipment can be installed on the related equipment. Examples of some related devices may be: mobile phones, tablets, and the like. Exemplarily, FIG. 2 illustrates that the relevant device is a mobile phone.
  • the user can configure the user accounts of speaker b and speaker c in the relevant interface displayed on the mobile phone. Different users can use the same user account to log in to the speaker, or different users can use their own user accounts to log in to the speaker.
  • Step 3 Configure speaker b and speaker c as a speaker combination.
  • the user can configure two speakers with the same user account and the same LAN as a speaker combination in the relevant interface of the APP displayed on the mobile phone.
  • speakers b and c are configured as a speaker combination, and the left and right channel settings in the speaker combination are completed.
  • sequence of configuring the WLAN network of the speaker in step 2 and configuring the speaker combination in step 3 is not limited.
  • the APP after the user configures the network for speaker b on the mobile phone, and the mobile phone finds speaker c, the APP first asks the user whether to form stereo with the newly discovered speaker c and the existing speaker b. After the user confirms the formation of stereo, the APP asks the user to confirm the configuration of the left and right audio channels, and then the mobile phone connects to the speaker c network.
  • speaker b and speaker c complete the network distribution independently, the user can choose to form stereo with speaker b and speaker c in the APP.
  • Step 4 On the smart screen Y, combine the smart screen Y and speakers to form a stereo.
  • router H can forward the smart screen Messages with speakers.
  • the smart screen Y can discover the speakers or speaker combinations of the same user account and the same local area network, and display the found speakers or speaker combinations on the relevant interface of the smart screen Y. For example, in this example, a speaker combination composed of speaker b and speaker c is displayed on the relevant interface of the smart screen Y.
  • Smart screen Y establishes a peer-to-peer (P2P) connection with speaker b and speaker c, and subsequently, the audio data and/or control information between the smart screen and the speaker is carried on the P2P connection without going through a router H transit.
  • P2P peer-to-peer
  • the requirements are: the speaker and the smart screen are connected to the same LAN, the user accounts of the speaker and the smart screen are the same, and router H can forward the connection between the smart screen and the speaker. between messages.
  • the smart screen can discover speakers or speaker combinations based on the discovery mechanism in the LAN.
  • the user first configures the network for the smart screen and speakers respectively, and then establishes stereo for the smart screen and speaker group in the relevant interface displayed on the smart screen (see step 4 in Figure 2). If two speakers and the smart screen are used to form a stereo, you need to configure the two speakers as a speaker combination on the mobile phone in advance (see step 3 in Figure 2). There are many configuration steps for users, and the process is cumbersome.
  • the embodiment of the present application provides a stereo networking method.
  • Electronic devices and audio devices can perform short-distance communication. Based on short-distance communication, electronic devices can directly and automatically discover audio devices that can be used to form stereo or connect back. Electronic devices You can ask the user whether to set up stereo, and set up stereo with audio equipment according to user needs.
  • the stereo networking method provided in the embodiment of the present application does not require that the electronic device and the audio device are connected to the same local area network and have the same user account. In the configuration process of stereo networking, it saves the operation of configuring and combining electronic equipment and audio equipment in advance, and configures and combines multiple audio equipment, simplifies the user configuration steps, makes the networking more flexible and efficient, and improves user experience.
  • FIG. 3 is a system architecture diagram of a stereo network provided by an embodiment of the present application.
  • the system includes electronics and audio equipment.
  • the system also includes a routing device.
  • the electronic device includes a smart screen X and a smart screen Y.
  • the audio equipment includes speaker a, speaker b, and speaker c.
  • Routing equipment includes router H and router G.
  • Figure 3 and Figure 1 The difference between Figure 3 and Figure 1 is that in Figure 1, based on the discovery mechanism in the local area network, the electronic device discovers an audio device or a combination of audio devices that can form a stereo sound, so the electronic device and audio device are required to be on the same LAN, the same user account and routed
  • the device can forward messages between the electronic device and the audio device.
  • FIG. 1 based on the discovery mechanism in the local area network, the electronic device discovers an audio device or a combination of audio devices that can form a stereo sound, so the electronic device and audio device are required to be on the same LAN, the same user account and routed
  • the electronic device and the audio device can perform short-distance communication, and based on the short-distance communication, the electronic device discovers an audio device that can form stereo or connect back. Therefore, it is not required that the electronic device and the audio device are on the same local area network, or have the same user account, or there must be a routing device and the routing device can forward messages between the electronic device and the audio device.
  • the embodiment of the present application does not limit the type of short-distance communication, for example, Bluetooth communication.
  • the smart screen X can communicate with speakers a, b and c through Bluetooth
  • the smart screen Y can communicate with speakers a, b and c through Bluetooth.
  • the electronic device and the audio device can access the WLAN network established by the routing device.
  • the electronic device and the audio device can be connected to the same WLAN network, or connected to different WLAN networks.
  • smart screen X, smart screen Y, and speaker a communicate with router H
  • speaker b and speaker c communicate with router G.
  • the user accounts of the electronic device and the audio device may be the same or different.
  • FIG. 3 is only an example, and does not limit the number and types of electronic devices, audio devices, and routing devices in the system.
  • the initial state of the electronic device after leaving the factory is an unnetworked state, and the electronic device has not been stereophonic with the audio device.
  • the electronic device and the audio device set up stereo for the first time, and the first network record is saved in the electronic device.
  • the initial state of the audio device after leaving the factory is the unnetworked state.
  • the stereo can be set up with the electronic device for the first time, and the second networking record is saved in the audio device.
  • the electronic device or the audio device successfully establishes a stereo, it may try to reconnect when it is powered on again. If the connection back is successful, the electronic device and the audio device work according to the historical networking mode. If the connection fails, the electronic device and audio device can re-establish the stereo according to the actual situation of the application scenario, and update the local network record when the establishment is successful.
  • the living room includes smart screen X and speaker a, both of which are not connected to the network.
  • Smart Screen X can discover speaker a, and set up stereo with speaker a for the first time, and the networking mode is networking mode 1.
  • the living room includes smart screen X, speaker a and speaker b, all of which are not connected to the network. Speaker a and speaker b are respectively located on both sides of the smart screen X. Smart Screen X can discover speaker a and speaker b, and set up stereo with speaker a and speaker b for the first time, and the networking mode is networking mode 2.
  • the living room includes smart screen X, speakers a to speakers c.
  • Smart screen X, speaker b, and speaker c are not connected to the network, and speaker a has been connected to smart screen Y in history. After speaker a is powered on, it fails to connect back.
  • Smart Screen X can find speakers a to c.
  • Smart screen X, speaker a and speaker b can form a stereo, and the networking mode is networking mode 2.
  • the difference between Figure 6 and Figure 5 is that the number of speakers in the scene and the historical networking status are different.
  • the living room includes smart screen X, speaker a and speaker b, all of which are not connected to the network. Speaker a and speaker b are respectively located on both sides of the sofa. Smart Screen X can discover speaker a and speaker b, and set up stereo with speaker a and speaker b for the first time, and the networking mode is networking mode 3.
  • the living room includes smart screen X, speakers a to speakers d, all of which are not connected to the network. Speaker a and speaker b are located on both sides of the smart screen X, and speaker c and speaker d are located on both sides of the sofa. Smart Screen X can discover speakers a to speakers d, and set up stereo with speakers a to speakers d for the first time, and the networking mode is networking mode 4.
  • FIG. 9 This scenario involves the same-room detection mechanism before electronic equipment and audio equipment form a stereo.
  • the living room includes smart screen X, speaker a and speaker b, all of which are not connected to the network.
  • the bedroom includes speaker c, which is not connected to the network.
  • Smart Screen X can find speaker a, speaker b, and speaker c, but it is determined that they are in a different space from speaker c.
  • Smart Screen X, speaker a and speaker b can set up stereo for the first time, and the networking mode is networking mode 2.
  • the living room includes smart screen X, speaker a and speaker b.
  • Smart screen X, speaker a and speaker b have been networked in history, and the networking mode is networking mode 2.
  • the user moves speaker b to the bedroom, but Smart Screen X and speaker b can communicate via Bluetooth.
  • the smart screen X finds the speaker a and speaker b that can be connected back, and the connection is successful, and the networking mode 2 is used to work. At this time, the speaker b is sounding in the bedroom.
  • Smart Screen X in another implementation manner, it involves a room-mate detection mechanism in the process of reconnecting the electronic device and the audio device.
  • Smart Screen X When Smart Screen X, speaker a and speaker b are powered on, Smart Screen X can discover speaker a and speaker b. However, through the same room detection mechanism, the smart screen X is determined to be in a different space from the speaker b, and will not connect back. That is, the smart screen X failed to connect back to speaker a and speaker b.
  • the Smart Screen X can perform an ad-hoc network process and ask the user whether to re-establish the stereo for the Smart Screen X. At this point, Smart Screen X can re-establish stereo sound with speaker a using networking mode 1.
  • FIG. 11 refers to FIG. 11 .
  • the difference between Figure 11 and Figure 10 is that in Figure 10, the user moves speaker b to the bedroom, smart screen X and speaker b can communicate via Bluetooth, and smart screen X can discover speaker b.
  • the user removes the speaker b, and the smart screen X only finds the speaker a.
  • Smart Screen X, speaker a, and speaker b fail to connect back.
  • the Smart Screen X can perform an ad-hoc network process and ask the user whether to re-establish the stereo for the Smart Screen X.
  • Smart Screen X can re-establish stereo sound with speaker a using networking mode 1.
  • the living room includes Smart Screen X and Speaker a.
  • Smart Screen X and Speaker A have been networked in history, and the networking mode is Networking Mode 1.
  • the user adds speaker b in the living room, which is in an unnetworked state.
  • the smart screen X finds the speaker a that can be connected back, and the connection with the speaker a is successful, and the networking mode is networking mode 1.
  • Smart Screen X also found a speaker b that can be used to form a stereo.
  • the Smart Screen X can perform an ad-hoc network process and ask the user whether to re-establish the stereo for the Smart Screen X. At this time, Smart Screen X can re-establish stereo sound with speaker a and speaker b in networking mode 2.
  • FIG. 13 refers to FIG. 13 .
  • the state of the added speaker b is the unnetworked state.
  • the status of the added speaker b is networked, but speaker b will fail to connect back after being powered on, and Smart Screen X will find speaker b that can be used for networking after speaker b fails to connect back.
  • the smart screen X can perform the self-organizing network process and ask the user whether to re-establish the stereo for the smart screen X.
  • Smart Screen X can re-establish stereo sound with speaker a and speaker b in networking mode 2.
  • FIG. 14A to 14H briefly describe the interface for setting stereo networking of the electronic device in the embodiment of the present application, but FIG. 14A to FIG. 14H do not limit the relevant setting interface.
  • the smart screen displays an "output" interface 11 for setting the sound output mode of the smart screen.
  • the embodiment of the present application does not limit the process of jumping to the interface 11 through user operations.
  • the interface 11 includes two function options: local speaker and selected WLAN speaker (called option card 111 ).
  • the user can operate the control 110 to indicate whether the smart screen is allowed to use the local speaker through the display status of the control 110 .
  • the user can set whether the smart screen uses audio equipment to form a stereo.
  • the interface 11 also includes guide information 112 to assist the user in making a selection.
  • the guide information 112 is "Connect to a WLAN speaker, the smart screen can play sound jointly with the WLAN speaker".
  • the smart screen When the user selects the tab 111, the smart screen responds to the user's operation and displays the interface 12 of "select WLAN speaker", as shown in FIG. 14B.
  • the interface 12 may include the following functional options: automatic speaker discovery and WLAN speaker search.
  • the user can operate the control 121 to indicate whether the ad hoc network function is enabled or supported through the display state of the control 121 .
  • the interface 12 may also include a "My Device” function option, which is used to indicate one of the following: the speaker or speaker combination that the smart screen is currently connected to, or the last connected device of the smart screen before the current time point. Speaker or combination of speakers. If the smart screen does not currently set up a stereo or has no stereo network record, the "My Device” function option may not be displayed on the interface 12, or the “My Device” function option may be displayed but there is no record. If the smart screen currently has stereo or stereo networking records, the "My Device” function option includes 1 record.
  • the current networking mode or historical networking mode may also be indicated. For example, in Figure 14B, the record in "My Device” is "Speaker combination connected (front)", indicating that the smart screen is currently combined with the speaker to form a stereo, and the current networking mode is networking mode 2.
  • the interface 12 may also include a "other device” function option, which is used to indicate other audio devices discovered by the electronic device based on a discovery mechanism in the local area network. If the electronic device does not find other audio devices, the "other device” function option may not be displayed on the interface 12, or the “other device” function option may be displayed but not recorded. If the electronic device discovers other audio devices, the "other devices" function option includes at least one record.
  • the interface 12 may also include guide information 122 to assist the user in making a selection.
  • the guide information 122 is "Connecting a single speaker can improve the expressiveness of the subwoofer. Connecting a combination of speakers, the speaker and the smart screen will jointly play sound and enjoy better sound effects.”
  • the sound box combination in the embodiment of the present application has different meanings from the sound box combination shown in FIG. 2 .
  • the user needs to configure the speaker combination on the mobile phone in advance, and each speaker in the speaker combination is connected to the same local area network and has the same user account, so that the electronic device can discover the speaker combination under the same user account under the same local area network.
  • the speaker combination will not be automatically removed and needs to be removed manually on the mobile phone.
  • the user does not need to configure the speaker combination on the mobile phone in advance, and the electronic device builds a stereo according to the user's needs from the found speakers that can be used for networking to form a speaker combination. Subsequently, when the speaker combination fails to connect back to the electronic device, the speaker combination can be automatically removed. Of course, the speaker combination may not be dismantled. If the electronic device and the new audio device form a stereo, the speaker combination is automatically removed, and the new network record covers the old network record.
  • the user can implement any of the following through operations: manually delete the audio device connected to the electronic device network, manually disconnect the audio device connected to the electronic device network, or manually connect to the electronic device group Web audio equipment.
  • deleting the audio device that is networked with the electronic device refers to canceling the networking relationship between the electronic device and the audio device, and the electronic device can be re-networked with other audio devices.
  • Disconnecting an audio device that is networked with an electronic device refers to disconnecting the communication connection between the electronic device and the audio device, but does not cancel the networking relationship. Afterwards, the electronic device and the audio device can be connected back.
  • the smart screen is currently connected to the speaker combination.
  • the user can select a speaker in "Other Devices” in Figure 14B, for example, speaker 1, manually delete the networking relationship between the smart screen and speaker combination, and connect the smart screen and speaker 1 Stereo networking.
  • the smart screen responds to the user's operation, and the interface 12 is updated to the interface 13, as shown in FIG. 14C .
  • “My Device” includes 1 record, which is changed to "Speaker 1 is connected”, indicating that the smart screen is currently networking with Speaker 1, and the networking mode is Networking Mode 1.
  • “Other devices” includes 1 record, specifically speaker 2.
  • the smart screen may also display a bullet box on the interface 12, prompting the user to make a selection.
  • a bullet box 14 is displayed on the interface 12 .
  • the bullet box 14 includes guide information, a "cancel” button and a "connect” button.
  • the guide information includes text "After connecting a new speaker, the combination of the current speaker and the smart screen will be deleted. Do you want to continue?".
  • the user can select the "Connect” button, and accordingly, the smart screen deletes the networking relationship with the speaker combination in response to the user's operation, and performs stereo networking with the speaker 1.
  • the user can operate the speaker combination in "My Device” in Figure 14B, manually delete the networking relationship between the smart screen and the speaker combination, or manually disconnect the smart screen and the speaker Combined connections.
  • the smart screen displays a pop-up frame 15 on the interface 12 in response to the user's operation, as shown in FIG. 14E .
  • the bullet box 15 includes guide information, a "delete device” button and a “disconnect” button.
  • the guide information includes text "After the speaker combination is disconnected, the speaker effect needs to be reconfigured. After the speaker combination is deleted, a new speaker can be combined".
  • the user can select the "delete device” button.
  • the smart screen deletes the networking relationship between the smart screen and the speaker combination in response to the user's operation, and interface 12 is updated to interface 16, as shown in FIG. 14F .
  • “my device” is not included in the interface 16, indicating that the smart screen does not currently have the first network record.
  • “Other devices” in interface 16 includes 2 records, respectively: speaker 1 and speaker 2.
  • the user can select the "disconnect” button, and accordingly, the smart screen disconnects the combination of the smart screen and the speaker in response to the user's operation, and interface 12 is updated to interface 17, as shown in FIG. 14G .
  • My Device in interface 17 includes 1 record, which is "Speaker combination is not connected (front)", indicating that the smart screen has the first network record, but currently no stereo is formed, and the last stereo is formed with Speakers are combined to form a stereo, and the historical networking mode is networking mode 2.
  • the smart screen does not currently have a stereo sound, and the smart screen locally saves networking records.
  • the user can select the speaker in "Other Devices" in interface 17, manually delete the historical networking relationship locally saved on the smart screen, and perform stereo networking on the smart screen and the new speaker.
  • the user can operate the speaker combination in "My Device” on interface 17, manually delete the networking relationship between the smart screen and the speaker combination, or manually connect the smart screen and the speaker combination .
  • the smart screen displays a pop-up frame 18 on the interface 17 in response to the user's operation, as shown in FIG. 14H .
  • the bullet box 18 includes guide information, a "delete device” button and a "connect” button.
  • the guide information includes the words “speaker combination” and "after the speaker combination is deleted, a new speaker can be combined".
  • the user can select the "delete device” button, and refer to the relevant description in FIG. 14E , the principle is similar, and will not be repeated here.
  • the user can select the "Connect” button, and accordingly, the smart screen is connected to the speaker combination in response to the user's operation, and the interface 17 is updated to the interface 12, as shown in FIG. 14B .
  • a relationship means that there may be three kinds of relationships, for example, A and/or B means: A exists alone, A and B exist simultaneously, and B exists alone.
  • the user's operation on the relevant interface displayed by the electronic device includes but is not limited to at least one of the following: the user's touch operation on the display screen of the electronic device, The user realizes the operation of the relevant interface through an intermediate control device such as a remote control, and the user realizes the operation of the relevant interface through voice control.
  • the relevant interface may include guidance information, prompt information, or reminder information, etc., all of which are used to assist and guide user operations, inform users of current progress, and improve user experience.
  • the embodiment of the present application does not limit the form and content of the guide information, prompt information or reminder information, for example, including but not limited to at least one of the following: text, picture or animation.
  • FIG. 15 is a flowchart of a stereo networking method provided by an embodiment of the present application.
  • the stereophonic networking method provided in this embodiment includes an electronic device and an audio device, is applicable to the system shown in FIG. 3 , and involves a connection back process between the electronic device and the audio device.
  • This embodiment does not limit the number of electronic devices and audio devices in the system.
  • Each electronic device in the system can perform the operation of the electronic device in this embodiment, and each audio device in the system can perform the operation of the audio device in this embodiment. operation.
  • the stereo networking method provided in this embodiment may include:
  • the audio device sends a Bluetooth broadcast message.
  • the Bluetooth broadcast message includes networking identification information, networking instruction information, and the product model of the audio device.
  • the electronic device receives the Bluetooth broadcast message respectively sent by at least one audio device in the system.
  • the network identification information may reflect whether the audio equipment has been established in stereo in history.
  • the value of the networking identification information has a preset range, which is not limited in this embodiment, for example, the preset range is 0-65535.
  • An invalid value can be preset within a preset range, for example, the value is 0.
  • Each value within the preset range except invalid values can uniquely distinguish the networking relationship between the audio device and the electronic device.
  • the network identification information is a preset invalid value. If the audio device has set up a stereo, the value of the network identification information is the value of the network identification information corresponding to the last time the audio device set up a stereo.
  • the network identification information is a preset invalid value. If the audio device has not released the networking relationship with the electronic device after the latest stereo formation, the value of the network identification information is the value of the network identification information corresponding to the last stereo formation of the audio equipment.
  • the networking instruction information is used to indicate whether to allow the audio device and the electronic device to form a stereo. Usually, if the speaker has a second network record stored locally, it will try to reconnect after the speaker is powered on. Before the speaker connection times out or before the speaker connection is successful, it is not allowed to form a stereo with other electronic devices. At this time, the value of the networking indication information is used to indicate that the audio device and the electronic device are not allowed to form a stereo. If the speaker fails to connect back, it is allowed to form a stereo with other electronic devices. At this time, the value of the networking indication information is used to indicate that the audio device and the electronic device are allowed to form a stereo. If the speaker has no second network record locally, or the speaker has never been connected to the network, it is allowed to form a stereo with other electronic devices.
  • the bluetooth broadcast message carries the product model of the audio device, and is used by the electronic device to determine whether the audio device supports building stereo.
  • the electronic device is also used to determine whether stereophonic sound can be formed together with the multiple audio devices.
  • speaker a and smart screen Y have historically been networked.
  • the value of the network identification information is 100, which is used to uniquely identify the network between speaker a and smart screen Y.
  • the network identification information is 100, which means that speaker a has historically built stereo.
  • the value of the networking indication information may be 0, indicating that the speaker a and the electronic device are currently not allowed to form a stereo.
  • the value of the network identification information remains unchanged, and the value of the network indication information can be 1, which means that speaker a and electronic equipment are allowed to form stereo.
  • speaker b and speaker c have never been networked, and in the Bluetooth broadcast message sent by speaker b or speaker c, the network identification information is 0, which means that speaker b or speaker c has not established stereo in history.
  • the value of the networking indication information may be 1, which means that speaker b or speaker c can form a stereo sound.
  • the Bluetooth broadcast message may also include at least one of the following: network distribution information or key information of the audio device.
  • the network configuration information is used to indicate whether the audio device has been configured with a WLAN network. Through the network configuration information, the audio device can notify the electronic device whether the WLAN network has been configured, so that the electronic device can subsequently determine whether it needs to configure a network for the audio device. Please refer to the relevant description of S1606.
  • the key information of the audio device may include identification information of each key on the audio device, and the identification information is used to uniquely distinguish different keys.
  • the Bluetooth broadcast message is a Bluetooth low energy (bluetooth low energy, BLE) broadcast message.
  • BLE Bluetooth low energy
  • the electronic device determines whether there is a first audio device to be connected back, and whether the number of the first audio device is the same as the number in the first network record stored locally same.
  • the first networking record includes networking identification information and historical networking modes.
  • the historical networking modes are different, and the number of first audio devices is different. For example, in networking mode 1, there is one first audio device. In networking mode 2 or networking mode 3, there are two first audio devices. In networking mode 4, there are four first audio devices.
  • the electronic device may determine whether the audio device is the first audio device according to whether the locally saved network identification information is the same as the network identification information carried in the Bluetooth broadcast message sent by the audio device.
  • the ad hoc network process may be executed, as shown in the embodiment shown in FIG. 16 .
  • FIG. 11 and FIG. 12 are used for description.
  • speakers a and b have historically been networked with smart screen X.
  • the value of the network identification information is 300, which is used to uniquely identify the networking of speaker a, speaker b and smart screen X.
  • the first network record saved locally by Smart Screen X includes network identification information and historical network mode.
  • the value of the networking identification information is 300, and the historical networking mode is networking mode 2.
  • Speaker b is removed. Smart Screen X and speaker a are powered on again, and both try to reconnect.
  • the networking identification information is 300, and the networking indication information has a value of 0, indicating that it is currently not allowed to network with the electronic device.
  • the smart screen X receives the Bluetooth broadcast message sent by the speaker a, and determines that the value of the network identification information in the Bluetooth broadcast message is 300. The smart screen X determines that the speaker a is the first audio device to be connected back, but the number of the first audio device (1) is different from the number (2) in the first network record. Smart Screen X confirms that the connection back failed.
  • speaker a has historically been networked with smart screen X.
  • the value of the network identification information is 400, which is used to uniquely identify the network between speaker a and smart screen X.
  • the first network record saved locally by Smart Screen X includes network identification information and historical network mode.
  • the value of the networking identification information is 400, and the historical networking mode is networking mode 1.
  • Smart Screen X and speaker a are powered on again, and both try to reconnect.
  • the network identification information is 400
  • the value of the network indication information is 0, indicating that it is currently not allowed to form a network with the electronic device.
  • the smart screen X receives the Bluetooth broadcast message sent by the speaker a, and determines that the value of the network identification information in the Bluetooth broadcast message is 400.
  • the smart screen X determines that the speaker a is the first audio device to be connected back, and the first audio device
  • the number (1) is the same as the number (1) in the first network record, and the connection back process can continue.
  • the electronic device sends Wi-Fi connection information to the first audio device.
  • the first audio device receives the Wi-Fi connection information sent by the electronic device.
  • the Wi-Fi connection information may include one or more of a service set identifier (service set identifier, SSID), network name, network password, Wi-Fi access frequency band, and the like.
  • a service set identifier service set identifier, SSID
  • network name network name
  • network password Wi-Fi access frequency band
  • the electronic device sends a BLE broadcast message to the first audio device, and the BLE broadcast message includes Wi-Fi connection information.
  • the BLE broadcast message includes Wi-Fi connection information.
  • the electronic device may send Wi-Fi connection information to the first audio device through the BLE connection.
  • the electronic device may establish a BLE connection with the first audio device, and send a Wi-Fi connection to the first audio device through the BLE connection. connection information.
  • both the electronic device and the first audio device are connected to a wireless local area network established by the same routing device.
  • the electronic device can be confirmed through the distribution network information in the Bluetooth broadcast message.
  • the electronic device may forward the Wi-Fi connection information to the first audio device through the routing device.
  • the first audio device may disconnect the Wi-Fi connection with the routing device, and establish a Wi-Fi connection with the electronic device based on the Wi-Fi connection information.
  • the electronic device can establish a Wi-Fi connection with the first audio device without using the BLE technology.
  • the electronic device establishes a Wi-Fi connection with the first audio device according to the Wi-Fi connection information.
  • the first audio device has not currently established a Wi-Fi connection, establish a Wi-Fi connection with the electronic device according to the Wi-Fi connection information.
  • the first audio device may first disconnect the Wi-Fi connection with other devices after receiving the Wi-Fi connection information Connect, and then establish a Wi-Fi connection with the electronic device according to the Wi-Fi connection information.
  • the audio device sends a Bluetooth broadcast message, and after the electronic device receives the Bluetooth broadcast message sent by the audio device, it can directly and automatically discover the audio device to be connected back based on the Bluetooth broadcast message, thereby Create a stereo with the audio device to be connected back.
  • Electronic devices and audio devices are not required to be connected to the same local area network and have the same user account. The networking is more flexible and efficient, and the user experience is improved.
  • the stereo networking method provided in this embodiment may also include:
  • the electronic device determines whether all the first audio devices are connected back successfully.
  • the electronic device can execute an ad hoc network process, as shown in the embodiment shown in FIG. 16 .
  • the electronic device and the first audio device work in a historical networking mode.
  • FIG. 16 is another flow chart of the stereo networking method provided by the embodiment of the present application.
  • the stereo networking method provided in this embodiment includes an electronic device and an audio device, is applicable to the system shown in FIG. 3 , and involves an ad hoc networking process of the electronic device and the audio device. Wherein, the electronic device turns on the ad hoc network function.
  • This embodiment does not limit the number of electronic devices and audio devices in the system.
  • Each electronic device in the system can perform the operation of the electronic device in this embodiment, and each audio device in the system can perform the operation of the audio device in this embodiment. operation.
  • the stereo networking method provided in this embodiment may further include after S1501 in FIG. 15:
  • the Bluetooth broadcast message includes networking identification information, networking instruction information, and the product model of the audio device.
  • the electronic device can determine whether the audio device can form stereo according to the networking instruction information and the product model of the audio device, so as to directly and automatically discover the second audio device.
  • the electronic device may also determine whether the audio device is the second audio device according to whether the signal strength of the Bluetooth broadcast message is greater than a preset threshold.
  • the signal strength may be a received signal strength indication (received signal strength indication, RSSI).
  • the audio equipment that makes up the stereo is located near the electronics.
  • the greater the distance between the audio device and the electronic device the lower the signal strength of the Bluetooth broadcast messages. Conversely, the closer the distance between the audio device and the electronic device, the greater the signal strength of the Bluetooth broadcast message.
  • the signal strength of the Bluetooth broadcast message is greater than the preset threshold, it indicates that the distance between the audio device and the electronic device is relatively short, and stereophonic sound can be formed.
  • this embodiment does not limit the value of the preset threshold.
  • the electronic device determines that the screen projection service is not currently performed before popping up a stereo sound creation popup box in the current display interface.
  • Screen projection services include but are not limited to: electronic devices as screen projection devices display data to be displayed on other devices; or electronic devices serve as display devices to display data to be displayed on other devices.
  • This embodiment does not limit the current display interface, nor does it limit the page content and page layout of the stereo building popup box. It can be understood that when the current networking state of the electronic device, the number, model, or location of the second audio device, etc. are different, the pop-up boxes for stereo formation may be different.
  • the current networking state of the electronic device includes unnetworked and networked.
  • Non-networking includes but is not limited to the following situations: the electronic device has never been connected to the network or has no record of the first networking, for example, the scenarios shown in Figure 4 to Figure 9; or, the electronic device fails to connect back, for example, Figure 10 to Figure 11 scene shown.
  • the stereo setup popup box is used to ask the user whether to set up a stereo.
  • the pop-up box for creating a stereo is used to ask the user whether to re-establish a stereo.
  • the pop-up box for stereo creation will be described as an example in combination with the scenarios shown in FIGS. 4 to 13 .
  • the current display interface of the smart screen X is identified as an interface 20
  • the bullet box for stereo sound formation is identified as a bullet box 21 .
  • the electronic device is not currently connected to a network, which is applicable to the scenarios shown in FIG. 2 to FIG. 11 .
  • the bullet box 21 includes a control 211 , a confirmation button 212 and guidance information.
  • the guide information includes the words “if you find a combinable speaker, whether to go there", "the automatic speaker discovery switch is turned on by default, and the switch can be turned off by checking no more reminders", which are used to guide the user's operation.
  • the user may operate the confirmation button 212 to input a stereo formation instruction.
  • the smart screen X responds to the stereo setup instruction, confirms that the user builds the stereo or re-builds the stereo, and executes the subsequent steps of the ad hoc network process.
  • the user can operate the control 211 to indicate whether to disable the ad hoc network function through the display status of the control 211 .
  • the smart screen X responds to the user's operation, and the pop-up frame 21 is updated to a pop-up frame 22, as shown in FIG. 17B .
  • the guidance information in the bullet box 22 is changed to guide the user to enable the ad hoc network function.
  • the text above the control 211 is changed to "Turn off the automatic speaker discovery switch”
  • the text below the control 211 is changed to "The automatic speaker discovery switch is turned off. To enable this function, please go to "Settings" - "Output” - "Select WLAN Speaker".
  • the "select WLAN speaker” interface may be shown in FIG. 14B.
  • the bullet box 22 also includes a confirm button 214 and a cancel button 215 .
  • the user may operate the confirmation button 214 to input a stereo composition closing instruction.
  • the smart screen X responds to the instruction to close the stereo formation, closes the ad hoc network function, and closes the bullet box 22 .
  • the user can operate the cancel button 215 to cancel the function of closing the ad hoc network.
  • the popup box 21 further includes a cancel button 213 .
  • the user can operate the cancel button 213 to input a stereo composition cancel command.
  • the smart screen X responds to the stereo formation cancellation instruction, and cancels the formation of the stereo sound by the smart screen X and the speakers during the screen brightening process of the smart screen X. That is, during the screen-on process of Smart Screen X this time, the electronic device will no longer pop up a box to ask the user whether to set up stereo or re-build stereo. It can be understood that when the smart screen X is turned off and on again, or turned off and on again, the self-organizing network process can be performed again, and a stereo building pop-up box will pop up to ask the user.
  • a countdown time is displayed on the cancel button 213, for example, 60s. If the user does not perform an operation within the countdown time and the smart screen X does not receive an instruction within the timeout, the smart screen X and the speakers are canceled to form a stereo, and the pop-up box 21 is closed.
  • the pop-up box for stereo sound creation is highly versatile, and when the number of second audio devices is different, the pop-up box for stereo sound creation is applicable. Subsequently, the number and networking mode of the second audio device that the user wants to build stereo can be further confirmed through the human-computer interaction process between the electronic device and the user.
  • the electronic device is not currently connected to a network.
  • the stereo composition pop-up box may reflect the number of the second audio devices.
  • the selection provided by the electronic device to the user is more accurate, and the user can directly confirm the number of audio devices and/or the target networking mode to form the stereo in the stereo formation pop-up box, and the user's choice is clearer and convenient for the user to operate .
  • the bullet box 21 may include a button 220 , a button 221 and guidance information.
  • the guide information includes the text "Create a speaker combination", "Discover speakers that can be combined with the smart screen. Create a speaker combination and enjoy better sound effects” and "To modify the status of the combination speaker, please go to "Settings"- "Output” - "Select WLAN Speaker”.
  • the user may operate the button 220 to input an instruction to close the stereo composition.
  • the smart screen X responds to the instruction to close the stereo formation, closes the ad hoc network function, and closes the bullet box 21 .
  • the user may operate the button 221 to input a stereo formation instruction.
  • the smart screen X responds to the stereo sound formation instruction, confirms the formation of the stereo sound, and confirms that the smart screen X and the single speaker form the stereo sound.
  • the target networking mode is networking mode 1.
  • the number of second audio devices discovered by the electronic device is more than one and less than four, for example, the scene shown in FIG. 5 to FIG. 7 or FIG. 9 .
  • the bullet box 21 may include a button 220 , a button 221 , a button 222 and guidance information.
  • the guidance information is consistent with that shown in FIG. 17C and will not be repeated here.
  • a button 222 is added to the bullet box 21 .
  • the user can operate the button 222 to input a stereo composition instruction.
  • the smart screen X responds to the stereo sound formation instruction, confirms the formation of the stereo sound, and confirms that the smart screen X and the two speakers form the stereo sound.
  • the target networking mode is networking mode 2 or networking mode 3.
  • the networking mode can be further determined through the human-computer interaction process between the user and the electronic device.
  • the user selects the button 222 to combine two speakers.
  • the smart screen X closes the bullet box 21 and displays the interface 23 in response to the user's operation, as shown in FIG. 17E .
  • the interface 23 includes a front button 231 , a back button 232 and guidance information.
  • the guide information includes the words “choose the placement of the speakers", "for a better sound experience, please select the placement of the speakers according to the illustration, and do not move after confirmation", “for stereo sound, two speakers need to be Place on both sides of the smart screen", “Surround sound effect, two speakers need to be placed on both sides of the seat", picture 233 and picture 234.
  • the user can operate the front button 231 to set the target networking mode as networking mode 2 .
  • the user can operate the rear button 234 to set the target networking mode as networking mode 3 .
  • the bullet box 21 may include option boxes 241 - 244 , a confirmation button 246 and guidance information.
  • the guide information includes the words "create a wireless home theater system", "please ensure that all speakers are powered on”.
  • Option boxes 241-244 respectively indicate networking mode 1-networking mode 4, and each option box includes a control 245.
  • the user can operate the control 245 to indicate whether the corresponding networking mode is selected through the display status of the control 245 .
  • the user selects the networking mode 2 corresponding to the option box 242 . After the user selects the networking mode, he can click the OK button 246 to input a stereo formation instruction.
  • the smart screen X responds to the stereo formation command, confirms the formation of the stereo, and obtains the networking mode.
  • the option box 244 is gray, indicating that it is not selectable, which reflects that the smart screen has found a maximum of 3 speakers at present.
  • the user can directly confirm the networking mode in the pop-up box 21 .
  • the number of second audio devices discovered by the electronic device is greater than or equal to 4, for example, the scenario shown in FIG. 8 .
  • the bullet box 21 may include a button 220 , a button 221 , a button 222 , a button 223 and guidance information.
  • the guide information is consistent with that shown in Fig. 17C and Fig. 17D and will not be repeated here.
  • a button 223 is added to the bullet box 21 .
  • the user can operate the button 223 to input a stereo composition instruction.
  • the smart screen X responds to the stereo sound formation instruction, confirms the formation of the stereo sound, and confirms that the smart screen X and the four speakers form the stereo sound.
  • the target networking mode is networking mode 4.
  • the electronic device is currently networked.
  • the pop-up box for building a stereo can reflect that the current networking mode can be changed, whether it is necessary to re-establish a stereo, and effectively guide users to operate.
  • the stereo composition bullet box can be adjusted based on the above-mentioned first implementation manner and second implementation manner. Exemplarily, as shown in FIG. 17H , it is applicable to the scenarios shown in FIG. 12 to FIG. 13 , and is based on the second implementation manner.
  • the bullet box 21 may include a button 220, a button 221 and guidance information.
  • the difference between Fig. 17H and Fig. 17C is that the guidance information is different.
  • the changed part of the guide information is shown in the dotted box: "New speakers are found. You can create speaker combinations with existing speakers to enjoy better sound effects.”. Ask the user whether to change the current networking mode through different guidance information, and rebuild the stereo.
  • the bullet box 21 may further include a cancel button.
  • the pop-up frame 21 including the cancel button 224 can refer to FIG. 17I .
  • the cancel button 224 reference may be made to the cancel button 213 in FIG. 17A , the principle is similar, and details will not be repeated here.
  • the user can perform a return operation through an intermediate control device such as a remote control or voice control to cancel the stereo formation.
  • the electronic device ends the stereo forming process and closes the stereo forming pop-up box.
  • the electronic device may display a reminder message, and the reminder message is used to notify the user that the process of forming a stereo will end.
  • the reminder information it is convenient for the user to further confirm whether to end the process of forming the stereo, thereby improving the accuracy of the operation and avoiding misoperation.
  • FIGS. 17A to 17I are only examples, and do not limit the stereo composition pop-up box and related interfaces.
  • the electronic device receives a stereo forming instruction input by the user, and the stereo forming instruction instructs the electronic device to form stereo or re-establish stereo.
  • the electronic device determines a target networking mode, and determines a target audio device confirmed by the user to be networked and a sound channel corresponding to the target audio device.
  • the audio device confirmed by the user and networked with the electronic device is referred to as the target audio device. Since the target audio device is confirmed by the user, the formation of stereo sound by the electronic device complies with the wishes and demands of the user, and the accuracy of formation of stereo sound is higher.
  • the electronic device determines the target networking mode, which may be determined according to a user operation or an instruction input by the user. For example, refer to related descriptions in FIG. 17A to FIG. 17I , which will not be repeated here.
  • the electronic device may determine the target networking mode according to the number of the target audio device and the positional relationship with the electronic device by locating the target audio device.
  • the target networking mode is networking mode 1, execute S1604.
  • the target networking mode is networking mode 2 or networking mode 3, there are 2 target audio devices. It also includes: the electronic device determines whether the product models of the two target audio devices are the same. If they are the same, execute S1604. If not, the ad hoc network process ends. Optionally, the electronic device outputs reminder information, and the reminder information is used to indicate that the models of the audio devices forming the stereo sound are different.
  • the target networking mode is networking mode 4, there are four target audio devices. It also includes: the electronic device determines whether the models of the two target audio devices configured as the left and right channels are the same, and determines whether the models of the two target audio devices configured as the left and right surround channels are the same. If they are all the same, execute S1604. If the models of the two target audio devices configured as the left and right channels are different, or the models of the two target audio devices configured as the left and right surround channels are different, the ad hoc network process ends. Optionally, the electronic device outputs reminder information, and the reminder information is used to indicate that the models of the audio devices forming the stereo sound are different.
  • the electronic device sends Wi-Fi connection information to the target audio device.
  • the target audio device receives the Wi-Fi connection information sent by the electronic device.
  • the electronic device establishes a Wi-Fi connection with the target audio device according to the Wi-Fi connection information.
  • the target audio device if the target audio device has not currently established a Wi-Fi connection, establish a Wi-Fi connection with the electronic device according to the Wi-Fi connection information.
  • the target audio device can first disconnect the Wi-Fi connection with other devices after receiving the Wi-Fi connection information, Then establish a Wi-Fi connection with the electronic device according to the Wi-Fi connection information.
  • the electronic device After the electronic device establishes a Wi-Fi connection with the target audio device, related stereo sound configurations can be performed, which is not limited in this embodiment.
  • the electronic device configures a sound channel to a target audio device.
  • the electronic device outputs prompt information, and the prompt information is used to indicate that the stereo is successfully established.
  • the electronic device and the target audio device play the test audio, so that the user can feel the stereo sound effect.
  • the electronic device synchronizes configuration information to ensure that the setting menu of the electronic device is consistent with the actual networking state. For example, in the interface 12 shown in FIG. 14B , the "My Device" function option will display the audio device actually networked.
  • the audio device sends a Bluetooth broadcast message
  • the electronic device receives the Bluetooth broadcast message sent by the audio device, it can directly and automatically find an audio device that can be used to form a stereo based on the Bluetooth broadcast message. And pop up a box to the user, asking the user whether to set up a stereo or change the current networking mode to re-build a stereo.
  • the user decides to set up a stereo, determine the target networking mode and the target audio device to be networked that has been confirmed by the user, establish a Wi-Fi connection with the target audio device, and set up a stereo.
  • the electronic device since the target audio device is confirmed by the user, the electronic device establishes a Wi-Fi connection with the target audio device confirmed by the user, which follows the user's wishes and needs, and avoids the risk of establishing a Wi-Fi connection with other audio devices. It affects the normal work of other audio devices and improves the accuracy of stereo networking.
  • the stereo networking method provided in this embodiment does not require that the electronic device and the audio device are connected to the same local area network and have the same user account, and the networking is more flexible and efficient. Moreover, it saves the user's operation of configuring and combining electronic devices and audio devices in advance, simplifies user configuration steps, and improves user experience.
  • the stereo networking method provided in this embodiment, before S1604, may also include:
  • the electronic device determines that the target audio device is not configured with a WLAN network, and configures a WLAN network for the target audio device.
  • the Bluetooth broadcast message may include network distribution information.
  • the electronic device can determine whether the target audio device has been configured with a WLAN network according to the network configuration information. If the target audio device is not configured with a WLAN network, the electronic device can configure a network for the target audio device, so that the target audio device and the electronic device are connected to the same WLAN network to facilitate subsequent communication.
  • the electronic device configures a WLAN network for the target audio device, which may include:
  • the electronic device displays an audio device network configuration interface, and the audio device network configuration interface is used to configure the WLAN network for the target audio device.
  • the electronic device receives a user's network connection operation.
  • the electronic device controls the target audio device to access the WLAN network in response to the network connection operation.
  • this embodiment does not limit the specific content and layout of the audio device network configuration interface.
  • FIG. 18 is a schematic diagram of an audio device network configuration interface provided by an embodiment of the present application.
  • 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 , a confirm button 315 and guidance information.
  • the guide information includes the words "connect the device” and "this step is used to connect the speaker and the smart screen under the same network”.
  • the electronic device may acquire the name and password of the WLAN network, and fill in the network name input box 311 and the password input box 312 in advance. This method avoids manual filling by users and improves user experience.
  • the user may input 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 input information, which can further confirm that the target audio device and the electronic device are connected to the same WLAN network.
  • the user can click on the control 313 to display or hide the password.
  • the user may operate the skip button 314 to input a configuration network cancellation instruction.
  • the electronic device ends the process of setting the WLAN network for the target audio device in response to the network configuration cancellation instruction.
  • the user may operate the OK button 315 to input an instruction to connect to the network.
  • the electronic device controls the target audio device to access the WLAN network in response to the network connection instruction.
  • the electronic device can exchange information with the target audio device, so that the target audio device can obtain the name and password of the WLAN network and access the WLAN network.
  • the audio device network configuration interface 31 may include icons and prompt information for multiple target audio devices.
  • the prompt information can indicate the network distribution progress and network distribution result of each target audio device.
  • the embodiment of the present application does not limit the order in which the electronic device controls multiple target audio devices to access the WLAN network.
  • FIG. 19 is another flow chart of the stereo networking method provided by the embodiment of the present application.
  • This embodiment provides an implementation manner in which in S1603, the electronic device determines the target networking mode, and determines the target audio device to be networked and the channel corresponding to the target audio device confirmed by the user.
  • the user presses a button on the audio device to confirm that the audio device is the target audio device, which improves the accuracy of the user's determination of the target audio device, thereby improving the accuracy of networking between the electronic device and the target audio device, avoiding Misconfiguration of the network.
  • the electronic device can guide the user to confirm each target audio device in turn according to the preset confirmation sequence, and the implementation method is simple.
  • the electronic device determines the target networking mode, which may include:
  • the electronic device acquires a target networking mode input by a user.
  • the electronic device determines the target audio device to be networked and the channel corresponding to the target audio device confirmed by the user, which may include:
  • the electronic device determines the number of target audio devices and a preset confirmation sequence of the target audio devices according to the target networking mode.
  • the preset confirmation sequence of the target audio device is to confirm one target audio device.
  • this embodiment does not limit the preset confirmation order.
  • the target networking mode is networking 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.
  • the target networking mode is networking mode 3, and there are 2 target audio devices.
  • the preset confirmation order may be: first confirm the target audio device for the left surround channel, and then confirm the target audio device for the right surround channel.
  • the target networking mode is networking mode 4, and there are 4 target audio devices.
  • the preset confirmation sequence can be: confirm the target audio device for the left channel, confirm the target audio device for the right channel, and confirm the left surround sound channel's target audio device, and finally confirm the target audio device of the right surround channel.
  • the electronic device sends notification information to be networked to the second audio device.
  • the second audio device receives the network-to-be-formed notification information sent by the electronic device.
  • the notification information to be networked is used to notify the second audio device to detect whether the user performs a preset operation on the target button on the second audio device, so as to confirm that the second audio device is the target audio device.
  • the electronic device and the audio device pre-agreed on target keys and preset operations.
  • the pending network notification information plays a role of notification, reducing the information size of the pending networking notification information and reducing the amount of data transmitted over the air interface.
  • the notification information to be networked may include identification information of the target key and key operation information, and the key operation information is used to describe a user's preset operation on the target key.
  • the target key and the preset operation are more flexible.
  • the target key may be a newly added key on the audio device.
  • the target key may be an existing key on the audio device.
  • the target key is the mute key or the play key.
  • the notification information to be networked is used to notify the second audio device to modify the meaning of the target key and last for a preset duration, so that the user can perform a preset operation on the target key.
  • the unit and value of the preset duration are not limited, for example, the unit of the preset duration is second.
  • the electronic device sends a BLE broadcast message to the second audio device, and the BLE broadcast message includes the notification information of the network to be formed.
  • the BLE broadcast message includes the notification information of the network to be formed.
  • the electronic device may send the notification information of the network to be formed to the second audio device through the BLE connection.
  • the electronic device may establish a BLE connection with the second audio device, and send a pending network connection to the second audio device through the BLE connection. notification information.
  • both the electronic device and the second audio device are connected to a wireless local area network established by the same routing device.
  • the electronic device can be confirmed through the distribution network information in the Bluetooth broadcast message.
  • the electronic device may forward the notification information of the network to be formed to the second audio device through the routing device.
  • the second audio device receives the network-to-be-formed notification information sent by the electronic device through the routing device.
  • the electronic device displays an audio device identification interface.
  • the audio device identification interface is used to guide the user to perform preset operations on the target buttons on the second audio device according to a preset confirmation sequence, so as to confirm that the second audio device is the target audio device.
  • the number of keys on an audio device is limited, and all of them have preset functions. For example, play button, pause button, previous song button, next song button, etc.
  • play button pause button
  • previous song button next song button
  • etc. By multiplexing the existing buttons, the user can establish a stereo sound with the electronic device by pressing the button on the audio device, avoiding adding new buttons on the audio device, and the implementation is simple.
  • the target networking mode is different, the number of target audio devices is different, and the implementation manner of the audio device identification interface may be different. Let's illustrate with an example.
  • the target networking mode is networking mode 1
  • the target audio device is one
  • the audio device identification interface is used to guide the user to confirm one target audio device.
  • FIG. 20A for an audio device identification interface, which is applicable to the scenarios shown in FIG. 4 , FIG. 10 or FIG. 11 .
  • the audio device identification interface 41 includes a smart screen pattern 411 , a speaker pattern 412 , a button pattern 413 , a cancel button 414 and guidance information.
  • the guide information includes the words "Identify the speaker”, "Please double-click the position as shown in the picture", "The operation buttons of different models of speakers are slightly different, double-click the pause button on the speaker, and the smart screen can recognize it. The diagram is for reference only, you can choose the speaker placement according to your needs.”
  • the button pattern 413 and the guide information the user can be guided to double-click the pause button on the speaker, so as to confirm the formation of stereo sound with the electronic device.
  • the user when the user presses a key to confirm the target audio device, the user may operate the cancel button 414, and the input device recognizes the cancel instruction.
  • the smart screen ends the ad hoc network process in response to the device identification cancellation instruction.
  • the preset confirmation sequence is: first confirm the target audio device of the left channel, and then confirm the target audio device of the right channel.
  • FIG. 20D and FIG. 20E applicable to the scenarios shown in FIG. 5 , FIG. 6 , FIG. 9 , FIG. 12 or FIG. 13 .
  • the electronic device first displays the audio device identification interface 44 shown in FIG. 20D , which is used to guide the user to confirm the target audio device of the left channel.
  • the audio device identification interface 44 includes a smart screen pattern 411 , two speaker patterns 412 , a button pattern 413 , a cancel button 414 and guidance information.
  • the difference between Figure 20D and Figure 20A is that there is an additional speaker pattern 412, and the guide information above the smart screen pattern 411 is changed from "Please double-click the position shown in the figure” to "Please double-click the position shown in the figure on the left speaker ”, see the dashed box in Figure 20D.
  • the electronic device determines the target audio device for the left channel, and the electronic device displays the audio device identification interface 45 shown in FIG. 20E , and continues to guide the user to confirm the target audio device for the right channel.
  • the difference between Fig. 20E and Fig. 20D is that: the button pattern 413 moves from the left to the right, and the guide information above the smart screen pattern 411 is changed from "Please double-click the position shown in the figure on the left speaker” to "Please click on the Double-click the position shown in the figure on the right speaker", see the dotted box in Figure 20E.
  • the second audio device detects that the user performs a preset operation on the target button, it sends device identification information to the electronic device, and the device identification information is used to indicate that the second audio device is the target audio device.
  • the second audio device detects whether the user performs a preset operation on the target key after receiving the notification information of the network to be formed. When it is detected that the user performs a preset operation on the target key, it is determined as the target audio device, and it needs to form a network with the electronic device to send device identification information to the electronic device.
  • the second audio device sends a BLE broadcast message to the electronic device, and the BLE broadcast message includes device identification information.
  • the device identification information may be a specific bit in the BLE broadcast message, and the value of the specific bit is modified to indicate that the second audio device is the target audio device.
  • the second audio device may send device identification information to the electronic device through the BLE connection.
  • both the electronic device and the second audio device are connected to a wireless local area network established by the same routing device.
  • the second audio device receives the notification information sent by the electronic device through the routing device to be networked.
  • the second audio device may forward the device identification information to the electronic device through the routing device.
  • the second audio device may also send at least one of the following to the electronic device: identification information of the target key or key operation information.
  • the electronic device determines a target audio device according to the device identification information, and determines a channel corresponding to the target audio device according to a preset confirmation sequence.
  • the channel corresponding to different target audio devices can be determined according to the sequence of the received device identification information and the preset confirmation sequence. For example, in networking mode 2, the target audio device corresponding to the device identification information received first is determined as the left channel audio device, and the target audio device corresponding to the device identification information received later is determined as the right channel audio device .
  • the user confirms the networking between the audio device and the electronic device by pressing a button on the audio device, which improves the accuracy of confirming the networking of the audio device.
  • the electronic device guides the user to press keys on each target audio device in turn according to the preset confirmation order, so that the accuracy of target audio device confirmation is high and the implementation method is simple.
  • the stereo networking method provided in this embodiment may further include:
  • the electronic device outputs prompt information.
  • the prompt information is used to indicate that the electronic device successfully determines the target audio device.
  • the prompt information is described by taking the networking mode 1 as an example.
  • the smart screen displays the audio device identification interface 41 shown in FIG. 20A .
  • the audio device identification interface 41 is changed to the audio device identification interface 43 , as shown in FIG. 20C .
  • the prompt information may include the text "recognition is successful", see the dotted line box in the figure, which is used to inform the user that the smart screen has successfully confirmed the target speaker, and the subsequent ad hoc network process can be performed.
  • the prompt information may also include a pattern 415, which is used to inform the user that the smart screen has successfully confirmed the target speaker.
  • the audio device identification interface 43 further includes a next button 416 .
  • the user can operate the next button 416 to continue the ad hoc network process.
  • the stereo networking method provided in this embodiment, before S1906, may also include:
  • the electronic device outputs prompt information.
  • the prompt information is used to indicate that the electronic device is determining the target audio device.
  • the user can be clearly informed that the electronic device is currently determining the target audio device, and the user is prompted to wait, which improves user experience.
  • the prompt information is described by taking the networking mode 1 as an example.
  • the audio device identification interface 41 can be changed to an audio device identification interface 42 , as shown in FIG. 20B .
  • the prompt information may include the words "recognizing", see the dotted box in the figure, which is used to inform the user that the electronic device is currently processing and remind the user to wait.
  • the stereo networking method provided in this embodiment, before S1903, may also include:
  • the electronic device outputs reminder information, where the reminder information is used to remind the user that the target audio device needs to be in a state of not playing music.
  • the stereo networking method provided in this embodiment may further include, after the second audio device detects that the user performs a preset operation on the target button in S1905:
  • the control indicator light of the second audio device blinks or is always on.
  • the second audio device may control the indicator light to blink for a preset number of times or a preset duration, or control the indicator light to stay on for a preset duration.
  • the second audio device can visually prompt the user that the preset operation of the target button takes effect by controlling the indicator light to flicker or stay on, confirming the network connection with the electronic device, and improving the user experience.
  • FIG. 21 is another flowchart of the stereo networking method provided by the embodiment of the present application.
  • This embodiment provides an implementation manner in which in S1603, the electronic device determines the target networking mode, and determines the target audio device to be networked and the channel corresponding to the target audio device confirmed by the user.
  • the user presses a button on the audio device to confirm that the audio device is the target audio device, which improves the accuracy of the user's determination of the target audio device, thereby improving the accuracy of networking between the electronic device and the target audio device, avoiding Misconfiguration of the network.
  • the order in which the user presses the keys on the audio device is not limited, and the electronic device determines the positional relationship between multiple target audio devices and the electronic device through positioning technology, and then determines the target audio device.
  • the corresponding sound channels reduce the restriction on the sequence of user operations, and the implementation method is flexible, which improves the user experience.
  • the electronic device determines the target audio device to be networked and the channel corresponding to the target audio device confirmed by the user, which may include:
  • the electronic device sends notification information to be networked to the second audio device.
  • the second audio device receives the network-to-be-formed notification information sent by the electronic device.
  • the electronic device displays an audio device identification interface.
  • the audio device identification interface is used to guide the user to perform a preset operation on the target button on the second audio device, so as to confirm that the second audio device is the target audio device.
  • This embodiment does not limit the content and layout of the audio device identification interface.
  • the number of target audio devices may be determined according to the target networking mode, and the audio device identification interface may be related to the number of target audio devices.
  • the audio device identification interface may be related to the number of target audio devices. The following is illustrated by an example.
  • the target networking mode is networking mode 1
  • the target audio device is one
  • the audio device identification interface is used to guide the user to confirm one target audio device.
  • the audio device identification interface refer to FIG. 20A.
  • the target networking mode is networking mode 2, there are 2 target audio devices, and the audio device identification interface is used to guide the user to confirm the 2 target audio devices.
  • the audio device identification interface For an exemplary audio device identification interface, refer to FIG. 22A.
  • the audio device identification interface 51 includes a speaker pattern 511 , a speaker pattern 512 , a button pattern 513 , a cancel button 514 and guidance information.
  • the guide information includes the words “Identify the speaker”, “Please double-click the position as shown in the picture”, "The operation buttons of different models of speakers are slightly different, double-click the pause button on the speaker, and the smart screen can recognize it. ". Through the button pattern 513 and the guide information, the user can be guided to double-click the pause button on the sound box, so as to confirm the target audio device.
  • the user may operate the cancel button 514, and the input device recognizes the cancel instruction.
  • the smart screen ends the ad hoc network process in response to the device identification cancellation instruction.
  • the electronic device determines the first target audio device, and the audio device identification interface 51 is changed to an audio device identification interface 52, as shown in FIG. 22B , and continues to guide the user to confirm the second target. Audio equipment.
  • the electronic device determines the second target audio device, and the audio device identification interface 52 is changed to an audio device identification interface 53, as shown in FIG. 22C .
  • the audio device identification interface 53 further includes a next button 515 . The user can operate the next button 515 to continue the ad hoc network process.
  • the audio device identification interface is applicable to different numbers of target audio devices.
  • the audio device identification interface refer to FIG. 22D.
  • the audio device identification interface 54 includes a speaker pattern 511 , a speaker pattern 512 , a speaker pattern 516 , a speaker pattern 517 , a cancel button 514 , a next button 518 and guidance information.
  • the guide information includes the words “Identify the speaker”, “Please double-click the position as shown in the picture”, "The operation buttons of different models of speakers are slightly different, double-click the pause button on the speaker, and the smart screen can recognize it. ".
  • the audio device identification interface 54 can be used to guide the user to perform key confirmation on at most 4 speakers.
  • the user when the user presses a key to confirm the target audio device, the user may operate the cancel button 514, and the input device recognizes the cancel instruction.
  • the smart screen ends the ad hoc network process in response to the device identification cancellation instruction.
  • the user may operate the next button 518 to input a device identification confirmation instruction.
  • the smart screen determines the number of target audio devices in response to the device identification confirmation instruction, and continues the ad hoc network process. For example, the user sets up a stereo with a smart screen and a speaker. After the user presses the button on the speaker, the smart screen confirms one speaker. At this time, as shown in FIG. 22D , the text "click "Next" to connect only one speaker” can be displayed below the speaker pattern 511, guiding the user to click the next button 518 , continue the ad hoc network process.
  • a prompt message may be displayed to inform the user of the currently confirmed target audio device. number, and asks whether to continue building the stereo.
  • the second audio device detects that the user performs a preset operation on the target key, it sends device identification information to the electronic device, and the device identification information is used to indicate that the second audio device is the target audio device.
  • the electronic device determines a target audio device according to the device identification information.
  • the electronic device determines a channel corresponding to the target audio device.
  • the electronic device determines the positional relationship between the multiple target audio devices and the electronic device through positioning technology, and determines the corresponding channel of each target audio device according to the positional relationship.
  • the positional relationship includes but is not limited to the distance or angle between the target audio device and the electronic device.
  • the positional relationship between multiple target audio devices and the electronic device is determined by the electronic device through positioning technology, and then the corresponding channel of each target audio device is determined, which avoids the user pressing the target audio device in a specific order. , which improves the user experience.
  • a positioning technology may be used for one of the target audio devices to determine the positional relationship between the target audio device and the electronic device.
  • the two target audio devices usually adopt networking mode 2 or networking mode 3 . Therefore, when the position of one of the target audio devices is determined, the position of the other target audio device is determined by default, which reduces the amount of calculation. For example, if one of the electronic devices is located on the left side of the electronic device, the other target audio device is located on the right side of the electronic device by default, and the two target audio devices adopt the networking mode 2.
  • a positioning technology may be used for both target audio devices to determine the positional relationship between the target audio device and the electronic device. This implementation way determines the positional relationship more accurately.
  • this embodiment does not limit the positioning technology, for example, Ultra Wide Band (UWB) positioning technology, Bluetooth positioning technology, ultrasonic positioning technology, etc.
  • UWB Ultra Wide Band
  • the electronic device determines the positional relationship between multiple target audio devices and the electronic device through ultrasonic positioning technology, which may include:
  • the electronic device establishes a BLE connection with the target audio device.
  • the electronic device sends ultrasonic detection information to the target audio device through the BLE connection.
  • the target audio device receives the ultrasonic detection information sent by the electronic device.
  • the ultrasonic detection information is related parameters in the ultrasonic positioning detection, and this embodiment does not limit the specific content.
  • the target audio device sends ultrasonic signals simultaneously through multiple speakers on the target audio device.
  • the electronic device receives the ultrasonic signals simultaneously sent by the target audio device through multiple speakers.
  • the electronic device determines the positional relationship between the target audio device and the electronic device according to the multiple received ultrasonic signals.
  • the electronic device performs distance measurement and/or angle measurement according to the received multiple ultrasonic signals, so as to determine the positional relationship between the target audio device and the electronic device. For example, it is determined whether the target audio device is located on the left or right side of the electronic device, or, it is determined whether the target audio device is located on the front or side of the electronic device.
  • the user confirms the networking between the audio device and the electronic device by pressing a button on the audio device, which improves the accuracy of confirming the networking of the audio device.
  • the order in which the user presses the keys is not limited, and the electronic device determines the positions of the multiple target audio devices, and then determines the corresponding channel of each target audio device. The realization method is more flexible, and the user experience is improved.
  • the stereo networking method provided in this embodiment may further include after S2106:
  • the electronic device displays a sound channel confirmation interface.
  • the channel confirmation interface is used to guide the user to determine the corresponding channel of the target audio device.
  • the electronic device receives a channel confirmation instruction input by the user, and the channel confirmation instruction is used to determine whether the channel corresponding to the target audio device is correct.
  • the position and channel of the target audio device determined by the positioning technology for the electronic device allow the user to further confirm, improve the accuracy of stereo formation, and avoid the positioning of the audio device by the electronic device Stereo composition errors caused by errors.
  • networking mode 2 there are two target audio devices, corresponding to the left channel and the right channel respectively.
  • the channel confirmation interface 61 includes a smart screen pattern 611 , a speaker pattern 612 , a speaker pattern 613 , a pattern 614 , a button 615 , a button 616 and guide information.
  • the guide information includes the words “select the left and right audio channels of the speaker” and "the currently lit speaker is on the left side of the smart screen”.
  • Pattern 614 indicates that the speaker on the left side of the smart screen is currently on. Through the pattern 614 and the guide information, the user can be guided to confirm the left channel speaker.
  • the user can click the button 615 to input a channel confirmation command to confirm that the left speaker corresponds to the left channel correctly. If the speaker on the right side of the smart screen is currently on in the actual environment, the user can click button 616 to input a channel confirmation command to confirm that the right speaker corresponds to the left channel, so that the electronic device can adjust the channel.
  • 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. soundtrack.
  • the electronic device can confirm the sound channels corresponding to the two target audio devices through the sound channel confirmation interface, so as to improve accuracy.
  • the channel confirmation interface 62 is used for 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 is changed from "the currently lit speaker is on the left side of the smart screen” to "the current The lit speaker is on the right side of the smart screen", see the dotted box in the figure for details, and the button 617 is used for the user to confirm that the right speaker corresponds to the right channel, and the button 618 is used for the user to confirm that the left speaker corresponds to the right channel.
  • the electronic device displays the channel confirmation interface to guide the user to determine the corresponding channel of the target audio device, there is information interaction between the electronic device and the target audio device, so that the electronic device can control the audio device to take corresponding actions, for example, The lighting operation shown in FIG. 23A or FIG. 23B .
  • This embodiment does not limit the interaction information transmitted between the electronic device and the target audio device, the transmission manner of the interaction information, and the actions performed by the target audio device.
  • messages can be broadcast via Bluetooth, connected via BLE, or transmitted via routing devices.
  • the stereo networking method provided in this embodiment may further include:
  • the electronic device outputs prompt information.
  • the prompt information is used to indicate that the electronic device successfully determines the target audio device.
  • the prompt information may refer to the words "recognition is successful" in the dotted boxes in Fig. 22B to Fig. 22D.
  • the stereo networking method provided in this embodiment, before S2104, may also include:
  • the electronic device outputs prompt information.
  • the prompt information is used to indicate that the electronic device is determining the target audio device.
  • the prompt information may refer to the words "recognizing" in the dotted boxes in Fig. 22A to Fig. 22D.
  • the stereo networking method provided in this embodiment, before S2101, may also include:
  • the electronic device outputs reminder information, and the reminder information is used to remind the user that the target audio device needs to be in a state of not playing music.
  • the stereo networking method provided in this embodiment may further include, after the second audio device detects that the user performs a preset operation on the target button in S2103:
  • the secondary audio device control light blinks or stays on.
  • the electronic device determines a target networking mode, which may include:
  • the electronic device obtains the target networking mode input by the user.
  • the determination of the target networking mode by the electronic device is performed after S2106.
  • the electronic device determines the target networking mode including:
  • the electronic device determines that the target networking mode is networking mode 1.
  • the electronic device determines the target networking mode according to the positional relationship. In this implementation manner, the electronic device determines the positions of multiple target audio devices through the positioning technology, but in different networking modes, the positions of the target audio devices are different, refer to the above description of the networking mode. Therefore, the electronic device may determine the target networking mode based on the number of target audio devices, the distance and/or angle from the electronic device.
  • a roommate detection mechanism refers to determining whether the electronic device and the audio device are in the same room, which improves the rationality and accuracy of stereophonic formation between the electronic device and the audio device, and avoids misconfiguration of the network.
  • the first audio device that is not in the same room as the electronic device among the first audio devices discovered by the electronic device to be connected back can be filtered out through the same room detection mechanism.
  • the second audio device that is not in the same room as the electronic device can be filtered out among the second audio devices found by the electronic device that can be used to form a stereo through the same-room detection mechanism.
  • the propagation characteristics of different types of signals against different obstacles can be considered, and whether the electronic device and the audio device are in the same room can be determined based on the sent or received signal.
  • different rooms are usually separated by walls, and the wall penetration capabilities of different types of signals may be considered.
  • This embodiment does not limit the type of the signal, for example, an ultrasonic signal, a Bluetooth signal, a UWB signal, and the like.
  • the scenario shown in FIG. 10 may be executed before S1503.
  • the scenario shown in FIG. 9 may be executed before popping up the stereo setup popup in the current display interface in S1601 .
  • the stereo networking method provided in this embodiment may also include:
  • the electronic device sends a first ultrasonic signal to the audio device.
  • the audio device receives the first ultrasonic signal sent by the electronic device.
  • the audio device is the first audio device.
  • the audio device is the second audio device.
  • the electronic device receives the second ultrasonic signal sent by the audio device.
  • the electronic device determines the positional relationship between the audio device and the electronic device according to the received second ultrasonic signal.
  • the ability of ultrasonic signals to penetrate walls is relatively weak.
  • 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.
  • the audio device generally cannot receive the first ultrasonic signal sent by the electronic device, and of course, the audio device will not perform S2402. Therefore, based on the propagation characteristic of the ultrasonic signal, the electronic device can determine whether the electronic device and the audio device are in the same room according to whether the second ultrasonic signal is received.
  • the audio device sends the ultrasonic signal, it will stop the current playback action, for example, stop the currently playing song.
  • the electronic device first sends the first ultrasonic signal, and the audio device replies with the second ultrasonic signal, which avoids disturbing audio devices located in different rooms. Further, after receiving the second ultrasonic signal returned by the audio device, the electronic device may determine the positional relationship between the audio device and the electronic device based on the second ultrasonic signal.
  • this embodiment does not limit the manner in which the electronic device or the audio device sends the ultrasonic signal. For example, it can be transmitted through one speaker, or through multiple speakers at the same time.
  • the electronic device may send interaction information to the audio device, instructing the audio device to send the ultrasonic signal. If the electronic device receives the ultrasonic signal sent by the audio device, it determines that it is located in the same room as the audio device. If the electronic device does not receive the ultrasonic signal sent by the audio device, it is determined that the electronic device is not in the same room as the audio device.
  • This implementation mode does not limit the content and transmission mode of the interaction information. For example, broadcast messages via Bluetooth or router device transmissions.
  • the electronic device determines the target networking mode, and determines the target audio device to be networked confirmed by the user and the corresponding target audio device An implementation of the channel.
  • the electronic device can determine the second audio device that is in the same room as the electronic device and can be used to form stereo through the same-room detection mechanism.
  • the second audio device that is in the same room as the electronic device and can be used to form stereo 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, without requiring the user to press keys on the audio device, which simplifies user operations and improves user experience.
  • the electronic device automatically determines the channel corresponding to the target audio device according to the positional relationship between the multiple target audio devices and the electronic device, which is flexible in implementation and improves user experience.
  • the electronic device determines the target audio device to be networked and the channel corresponding to the target audio device confirmed by the user, which may include:
  • the electronic device displays an audio device identification interface, where the audio device identification interface 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.
  • This embodiment does not limit the content and layout of the audio device identification interface.
  • the number or location of the third audio device is different, the way to confirm whether the third audio device is the target audio device is different, and the audio device identification interface may be different.
  • the electronic device receives a feedback instruction input by the user, and the feedback instruction is used to confirm whether the third audio device is the target audio device.
  • the audio device identification interface is exemplarily described, but not limited thereto.
  • the three third audio devices include speaker a, speaker b and speaker c.
  • At least one third audio device in the audio device identification interface lights up sequentially, and the user sequentially confirms whether the third audio device that lights up is the target audio device.
  • the audio device identification interface 71 includes speaker icons 711 to 713 , icons 714 , combination button 715 , uncombined button 716 , cancel button 717 and guidance information.
  • the guide information includes the words “identify the speaker” and "whether the currently lit speaker is combined with a smart screen”.
  • Speaker patterns 711 to 713 indicate that there are three third audio devices in the environment. Pattern 714 indicates that 1 speaker is currently lit. Through the pattern 714 and the guide information, the user can be guided to confirm whether the currently lit speaker is the target audio device.
  • the user can operate the cancel button 717, and the input device recognizes the cancel instruction.
  • the smart screen ends the ad hoc network process in response to the device identification cancellation instruction.
  • the smart screen confirms that the currently lit speaker is not the target audio device according to the feedback command, and the audio device identification interface 71 is changed to the audio device identification interface 72, as shown in FIG. 26B , and continues to guide the user to confirm whether the second third audio device is for the target audio device.
  • the third audio device that is not the target audio device confirmed by the user may not be displayed on the audio device identification interface 72 .
  • the speaker pattern 711 is not displayed.
  • the smart screen confirms the first target audio device according to the feedback command, and the audio device identification interface 72 is changed to the audio device identification interface 73, as shown in FIG. 26C , and continues to guide the user to confirm whether the third third audio device is the target audio device. equipment.
  • the audio device identification interface 72 includes a next button 718 .
  • the user can operate the next button 718 to input a device identification confirmation instruction.
  • the smart screen determines the number of target audio devices in response to the device identification confirmation instruction, and continues the ad hoc network process.
  • the user decides to form a stereo with the smart screen.
  • the user can click the combination button 715 to input a feedback command, indicating that the currently lit speaker is the target audio device.
  • the smart screen confirms the second target audio device according to the feedback instruction, and the audio device identification interface 73 is changed to the audio device identification interface 74, as shown in FIG. 26D .
  • the electronic device sends light-on indication information to the third audio device. If there are multiple third audio devices, the electronic device sequentially sends light-on indication information to the third audio devices. This embodiment does not limit the sequence of sending the light-on indication information to the multiple third audio devices.
  • the lighting indication information is used to instruct the third audio device to turn on the light.
  • the light indication information can be sent through a Bluetooth broadcast message or a BLE connection.
  • the electronic device may further include:
  • the electronic device outputs prompt information.
  • the prompt information is used to indicate whether the electronic device successfully determines the target audio device.
  • the prompt information may refer to the text in the dotted box in FIG. 26B to FIG. 26D .
  • the audio device identification interface can display the positional relationship between the third audio device and the electronic device .
  • the electronic device controls the lights of the third audio device.
  • the user can operate in the audio device identification interface to control the light of the non-target audio device to turn off, so as to confirm whether the third audio device is the target audio device.
  • the audio device identification interface 81 includes speaker icons 811 to 813 , a smart screen icon 814 , a next button 816 , a cancel button 817 and guidance information.
  • the guide information includes the words “identify the speaker” and “confirm whether the lighted speaker is combined with the smart screen. Click the button below the speaker to control the speaker to turn off the 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. Combining with the scene shown in FIG. 6 , it can be seen that the speaker pattern 811 corresponds to the speaker a, the speaker pattern 812 corresponds to the speaker b, and the speaker pattern 813 corresponds to the speaker c.
  • control 815 corresponding to the bottom of each sound box pattern.
  • the user can operate the control 815 to input a feedback instruction.
  • the electronic device receives the feedback command input by the user, and controls the display state of the control 815 to indicate whether the speaker is turned off. Through the positional relationship and guidance information between the speaker and the smart screen, the user can be guided to turn off the light of the third audio device that is not connected to the network, so as to confirm the target audio device.
  • the user connects speakers a and b to a smart screen.
  • the user can click the control below the speaker pattern 813, input a feedback command, and control the speaker c to turn off the lights.
  • the feedback instructions indicate that the third audio device is not the target audio device.
  • the smart screen changes the display state of the controls below the speaker pattern 813 in response to the user's operation, and the audio device identification interface 81 is changed to the audio device identification interface 82, as shown in FIG. 27B .
  • the electronic device before the electronic device displays the audio device identification interface, it sends light-on instruction information to the third audio device to control the third audio device to light up. After receiving the feedback instruction input by the user, the electronic device sends light-off indication information to the third audio device corresponding to the feedback instruction, and controls the third audio device to turn off the light.
  • the light-on indication information or the light-off indication information may be sent through a Bluetooth broadcast message or a BLE connection.
  • the user can operate the cancel button 817, and the input device recognizes the cancel instruction.
  • the smart screen ends the ad hoc network process in response to the device identification cancellation instruction.
  • the user may operate the next button 816 to input a device identification confirmation instruction.
  • the smart screen determines the number of target audio devices in response to the device identification confirmation instruction, and continues the ad hoc network process.
  • the electronic device determines a channel corresponding to the target audio device.
  • the electronic device obtains the positional relationship between multiple target audio devices and the electronic device, and determines the corresponding channel of each target audio device according to the positional relationship.
  • the electronic device may determine the positional relationship between each third audio device and the electronic device in the same room detection mechanism, and then acquire the positional relationship between the target audio device and the electronic device. For example, see S2403.
  • the electronic device determines the positional relationship between multiple target audio devices and the electronic device through a positioning technology, the principle is similar, and details are not repeated here.
  • the electronic device when the electronic device guides the user to confirm whether the third audio device is the target audio device, the electronic device may control the third audio device to perform other actions, which is not limited in this embodiment. For example, it is possible to control the third audio device to produce sound and so on.
  • the stereo networking method provided in this embodiment may further include:
  • the electronic device displays a channel confirmation interface.
  • the channel confirmation interface is used to guide the user to determine the corresponding channel of the target audio device.
  • the electronic device receives a channel confirmation instruction input by the user, and the channel confirmation instruction is used to determine whether the channel corresponding to the target audio device is correct.
  • the electronic device and the audio device include hardware and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions in combination with the embodiments for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • the embodiment of the present application may divide the electronic device and the audio device into functional modules according to the above method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one module.
  • the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
  • the names of the modules in the embodiments of the present application are illustrative, and the names of the modules are not limited during actual implementation.
  • FIG. 28 is a schematic structural diagram of an apparatus provided by an embodiment of the present application, and the apparatus can be applied to electronic equipment. As shown in Figure 28, the device includes:
  • the first receiving module 2801 is configured to receive a Bluetooth broadcast message respectively sent by at least one audio device; the Bluetooth broadcast message is used to indicate whether the audio device has set up stereo and whether the audio device is allowed to set up stereo;
  • the processing module 2802 is configured to, when it is determined according to at least one of the Bluetooth broadcast messages that there is a second audio device that can be used to build stereo in the at least one audio device, display a stereo build pop-up box; the stereo build pop-up box is used to The user asks the electronic device whether to form stereo or to re-establish stereo.
  • a second receiving module 2803 is also included;
  • the second receiving module 2803 is configured to receive the stereo formation instruction input by the user; the stereo formation instruction is used to instruct the electronic device to establish stereo or re-establish stereo;
  • 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 the user in the second audio device A confirmed stereo audio device is established with the electronic device, and the target networking mode is a stereo networking mode for the electronic device and the at least one target audio device;
  • the processing module 2802 is further configured to establish a Wi-Fi connection with each of the target audio devices.
  • the networking mode includes:
  • the first networking mode in the first networking mode, the electronic device forms a stereo with one target audio device, and the channel of the one target audio device is a subwoofer channel;
  • the second networking mode in the second networking mode, the electronic device forms a stereo with two target audio devices, and the channels of the two target audio devices are respectively the left channel and the right channel;
  • the third networking mode in the third networking mode, the electronic device forms a stereo with two target audio devices, and the channels of the two target audio devices are left surround sound channel and right surround sound channel respectively ;
  • the fourth networking mode in the fourth networking mode, the electronic device forms a stereo with four target audio devices, and the channels of the four target audio devices are respectively the left channel, the right channel, and the left channel. surround channel and right surround channel.
  • processing module 2802 is used for:
  • the first audio device identification interface is used to guide the user to perform the preset operations on the target buttons on the at least one target audio device in sequence according to the preset confirmation sequence ;
  • 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 according to the device identification information, and the channel corresponding to each target audio device is determined according to the preset confirmation sequence.
  • the preset confirmation sequence includes any of the following:
  • the target audio devices of the left channel, the right channel, the left surround channel and the right surround channel are confirmed in sequence.
  • processing module 2802 is also used for:
  • the first prompt information is used to indicate that the electronic device has successfully determined the at least one target audio device.
  • processing module 2802 is used for:
  • 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;
  • 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 according to the device identification information, and the channel corresponding to each target audio device is determined.
  • processing module 2802 is used for:
  • the target audio device corresponds to the subwoofer channel
  • the number of the target audio devices is greater than 1, determine the positional relationship between each of the target audio devices and the electronic device through positioning technology, and determine the corresponding audio frequency of each of the target audio devices according to the positional relationship. road.
  • processing module 2802 is used for:
  • the processing module 2802 is further configured to:
  • the second prompt information is used to indicate that the electronic device has successfully determined the at least one target audio device.
  • a sending module 2804 is also included, and the sending module 2804 is used for:
  • the target button is any one of the following: a mute button, a play button or a pause button.
  • a sending module 2804 is also included;
  • the sending module 2804 is configured to send the first ultrasonic signal to the second audio device before displaying the stereo composition pop-up box;
  • the first receiving module 2801 is further configured to receive a second ultrasonic signal sent by at least one third audio device among the second audio devices.
  • processing module 2802 is also used for:
  • processing module 2802 is used for:
  • 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 the target audio device;
  • the third audio device identification interface is further used to indicate a positional relationship between the at least one third audio device and the electronic device.
  • processing module 2802 is used for:
  • the target audio device corresponds to the subwoofer channel
  • the number of the target audio devices is greater than 1, obtain the positional relationship between each of the target audio devices and the electronic device, and determine the corresponding channel of each of the target audio devices according to the positional relationship.
  • processing module 2802 is used for:
  • processing module 2802 is used for:
  • the target networking mode is the first networking mode; wherein, in the first networking mode, the channel of the target audio device is subwoofer channel;
  • the target networking mode is determined according to the positional relationship between each target audio device and the electronic device.
  • 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;
  • the second receiving module 2803 is further configured to receive a channel confirmation instruction input by the user, and the channel confirmation instruction is used to determine whether the channel corresponding to the target audio device is correct.
  • the processing module 2802 is further configured to: before establishing a Wi-Fi connection with each of the target audio devices, when it is determined that the target audio device is not configured with a WLAN network, configure a target audio device for the target audio device.
  • WLAN network the target WLAN network is a configured WLAN network of the electronic device.
  • processing module 2802 is used for:
  • controlling the target audio device to access the target WLAN network In response to the connecting network operation, controlling the target audio device to access the target WLAN network.
  • the Bluetooth broadcast message includes networking identification information, networking instruction information and the product model of the audio device, the networking identification information is used to indicate whether the audio device has set up a stereo, and the networking instruction information It is used to indicate whether the audio device is allowed to form stereo.
  • processing module 2802 is used for:
  • the networking indication information in the Bluetooth broadcast message indicates that the audio device is allowed to set up stereo sound, it is determined that the second audio device exists.
  • the processing module 2802 is further configured to: before determining that the second audio device exists, determine that the signal strength of the Bluetooth broadcast message is greater than a preset threshold.
  • the processing module 2802 is further configured to: before determining that the second audio device exists, determine that the electronic device is not currently performing a screen projection service.
  • the Bluetooth broadcast message further includes network configuration information, and the network configuration information is used to indicate whether the audio device has been configured with a WLAN network.
  • the apparatus provided in this embodiment is used to realize the operations performed by the electronic device in the stereo networking method provided in the above method embodiment, and the technical principles and technical effects are similar, and will not be repeated here.
  • Fig. 29 is another schematic structural diagram of the device provided by the embodiment of the present application.
  • the device can be applied in audio equipment. As shown in Figure 29, the device includes:
  • the processing module 2902 is configured to generate a Bluetooth broadcast message; the Bluetooth broadcast message is used to indicate whether the audio device has formed a stereo and whether the audio device is allowed to form a stereo;
  • the sending module 2901 is configured to send the Bluetooth broadcast message to the electronic device.
  • the processing module 2902 is further configured to: establish a Wi-Fi connection with the electronic device.
  • a receiving module 2903 is also included;
  • the receiving module 2903 is configured to receive the notification information of the pending networking sent by the electronic device before establishing a Wi-Fi connection with the electronic device; the notification information of the pending networking is used to notify whether the user presses the target key perform preset operations;
  • the sending module 2901 is further configured to send device identification information to the electronic device if it is detected that the user performs the preset operation on the target button; the device identification information is used to indicate that the audio device is A target audio device that forms a stereo with the electronic device.
  • the sending module 2901 is configured to: receive a BLE broadcast message sent by the electronic device, where the BLE broadcast message includes the notification information of the network to be formed.
  • the target button is any one of the following: a mute button, a play button or a pause button.
  • a receiving module 2903 is also included;
  • the receiving module 2903 is configured to receive the ultrasonic detection information sent by the electronic device before establishing a Wi-Fi connection with the electronic device;
  • the sending module 2901 is further configured to send an ultrasonic signal to the electronic device.
  • a receiving module 2903 is also included;
  • the receiving module 2903 is configured to receive the first ultrasonic signal sent by the electronic device before establishing a Wi-Fi connection with the electronic device;
  • the sending module 2901 is further configured to send a second ultrasonic signal to the electronic device.
  • the Bluetooth broadcast message includes networking identification information, networking instruction information and the product model of the audio device, the networking identification information is used to indicate whether the audio device has set up a stereo, and the networking instruction information It is used to indicate whether the audio device is allowed to form stereo.
  • the Bluetooth broadcast message further includes network configuration information, and the network configuration information is used to indicate whether the audio device has been configured with a WLAN network.
  • the device provided in this embodiment is used to realize the operations performed by the audio device in the stereo networking method provided in the above method embodiment, and the technical principles and technical effects are similar, and will not be repeated here.
  • FIG. 30 shows a structure of a device provided by an embodiment of the present application, and the device may 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, and the processor 3001 executes various functional applications and information processing by running software programs and modules.
  • the receiver 3002 and the transmitter 3003 can be realized as a communication component, and the communication component can be a baseband chip.
  • the memory 3004 is connected to the processor 3001 through a bus 3005 .
  • the memory 3004 can be used to store at least one program instruction, and the processor 3001 can be used to execute at least one program instruction, so as to implement the technical solutions of the above-mentioned embodiments. Its implementation principle and technical effect are similar to those of the related embodiments of the method above, and will not be repeated here.
  • the processor can read the software program in the memory, interpret and execute the instructions of the software program, and process the data of the software program.
  • the processor performs baseband processing on the data to be sent, and then outputs the baseband signal to the control circuit in the control circuit. send.
  • the control circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, and the processor converts the baseband signal into data and processes the data.
  • FIG. 30 only shows a memory and a processor. In an actual device, there may be multiple processors and memories.
  • a storage may also be called a storage medium or a storage device, etc., which is not limited in this embodiment of the present application.
  • the processor may include a baseband processor and a central processing unit, the baseband processor is mainly used for processing communication data, and the central processing unit is mainly used for executing software programs and processing data of the software programs.
  • the baseband processor and the central processing unit may be integrated into one processor, or may be independent processors interconnected through technologies such as a bus.
  • the device may include multiple baseband processors to adapt to different network standards, the device may include multiple central processors to enhance its processing capability, and various components of the device may be connected through various buses.
  • the baseband processor may also be expressed as a baseband processing circuit or a baseband processing chip.
  • the central processing unit may also be expressed as a central processing circuit or a central processing chip.
  • the function of processing the communication protocol and communication data can be built in the processor, or can be stored in the memory in the form of a software program, and the processor executes the software program to realize the baseband processing function.
  • the memory can be integrated in the processor, or it can be independent from the processor.
  • the memory includes a high-speed cache, which can store frequently accessed data/instructions.
  • the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or Execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application.
  • a general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
  • the memory may be a non-volatile memory, such as a hard disk (hard disk drive, HDD) or a solid-state drive (solid-state drive, SS), etc., or a volatile memory (volatile memory), such as Random-access memory (RAM).
  • a memory is, without limitation, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • the memory in the embodiment of the present application may also be a circuit or any other device capable of implementing a storage function, and is used for storing program instructions and/or data.
  • the methods provided in the various embodiments of the present application may be fully or partially implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, network equipment, user equipment or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL) or wireless (such as infrared, wireless, microwave, etc.).
  • the readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media integrated.
  • the available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape, etc.) ), optical media (for example, digital video disc (DWD), or semiconductor media (for example, SSD), etc.
  • An embodiment of the present application provides a computer program product.
  • the device executes the technical solutions in the foregoing embodiments. Its implementation principle and technical effect are similar to those of the above-mentioned related embodiments, and will not be repeated here.
  • the device may be an electronic device or an audio device.
  • An embodiment of the present application provides a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a device, the device executes the technical solutions of the foregoing embodiments. Its implementation principle and technical effect are similar to those of the above-mentioned related embodiments, and will not be repeated here.
  • the device may be an electronic device or an audio device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本申请实施例适用于通信技术领域,提供一种立体声组网方法、电子设备、音频设备和存储介质。在电子设备和音频设备组成的系统中,音频设备生成并向电子设备发送蓝牙广播消息,蓝牙广播消息用于指示音频设备是否已组建立体声以及是否允许音频设备组建立体声。当电子设备根据蓝牙广播消息确定存在可用于组建立体声的第二音频设备时,弹出立体声组建弹框,询问用户电子设备是否组建立体声或重新组建立体声。电子设备基于短距通信可以直接的、自动的发现可用于组建立体声的音频设备,根据用户需求与音频设备组建立体声,使得立体声组网更加灵活和高效,提升了用户感受。

Description

立体声组网方法、电子设备、音频设备和存储介质
本申请要求于2021年07月28日提交国家知识产权局、申请号为202110859206.X、申请名称为“立体声组网方法、电子设备、音频设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信技术领域,尤其涉及一种立体声组网方法、电子设备、音频设备和存储介质。
背景技术
随着无线保真(wirelessfidelity,Wi-Fi)技术的大量应用,如智能手机、音箱、电视等设备上都添加了Wi-Fi接入网络功能。将Wi-Fi技术和传统音箱相结合得到了Wi-Fi音箱。
目前,电子设备可以通过Wi-Fi路由器与Wi-Fi音箱组建立体声,从而达到不同的音效效果。电子设备与Wi-Fi音箱组建立体声时,要求电子设备和Wi-Fi音箱接入同一个Wi-Fi路由器建立的无线局域网、电子设备和Wi-Fi音箱使用相同的用户账号,且Wi-Fi路由器可以转发电子设备与Wi-Fi音箱的报文。电子设备与Wi-Fi音箱组建立体声的条件苛刻,不利于组建立体声。
发明内容
本申请实施例提供一种立体声组网方法、电子设备、音频设备和存储介质,立体声组网更加灵活和高效,提升了用户感受。
第一方面,提供了一种立体声组网方法,应用于电子设备,包括:接收至少一个音频设备分别发送的蓝牙广播消息;蓝牙广播消息用于指示音频设备是否已组建立体声以及是否允许音频设备组建立体声;当根据至少一个蓝牙广播消息确定至少一个音频设备中存在可用于组建立体声的第二音频设备时,显示立体声组建弹框;立体声组建弹框用于向用户询问电子设备是否组建立体声或重新组建立体声。
第一方面提供的立体声组网方法,电子设备和音频设备可以进行短距通信,电子设备基于短距通信可以直接的、自动的发现可用于组建立体声的音频设备,并向用户询问是否组建立体声,根据用户需求与音频设备组建立体声。本申请实施例提供的立体声组网方法,不要求电子设备和音频设备接入同一个局域网且用户账号相同。在立体声组网的配置过程中,节省了提前对电子设备和音频设备配网、对多个音频设备配置组合的操作,简化了用户配置步骤,组网更加灵活和高效,提升了用户感受。
一种可能的实现方式中,方法还包括:接收用户输入的立体声组建指令;立体声组建指令用于指示电子设备组建立体声或重新组建立体声;确定目标组网模式、至少一个目标音频设备和每个目标音频设备对应的声道;目标音频设备为用户在第二音频设备中确认的 与电子设备组建立体声的音频设备,目标组网模式为电子设备和至少一个目标音频设备组建立体声的组网模式;与每个目标音频设备建立Wi-Fi连接。
在该实现方式中,用户确定电子设备组建立体声或重新组建立体声时,确定目标组网模式和经过用户确认的待组网的目标音频设备,与目标音频设备建立Wi-Fi连接,组建立体声。由于目标音频设备为经过用户确认的,电子设备与用户确认的目标音频设备建立Wi-Fi连接,遵循了用户的意愿和需求,避免了与其他音频设备建立Wi-Fi连接而影响其他音频设备的正常工作,提高了立体声组网的准确性。
一种可能的实现方式中,组网模式包括:第一组网模式;在第一组网模式中,电子设备与1个目标音频设备组建立体声,1个目标音频设备的声道为重低音声道;第二组网模式;在第二组网模式中,电子设备与2个目标音频设备组建立体声,2个目标音频设备的声道分别为左声道和右声道;第三组网模式;在第三组网模式中,电子设备与2个目标音频设备组建立体声,2个目标音频设备的声道分别为左环绕声道和右环绕声道;第四组网模式;在第四组网模式中,电子设备与4个目标音频设备组建立体声,4个目标音频设备的声道分别为左声道、右声道、左环绕声道和右环绕声道。
一种可能的实现方式中,确定目标组网模式、至少一个目标音频设备和每个目标音频设备对应的声道,包括:获取用户输入的目标组网模式;根据目标组网模式确定目标音频设备的个数和至少一个目标音频设备的预设确认顺序;向第二音频设备发送待组网通知信息;待组网通知信息用于通知第二音频设备检测用户是否对第二音频设备上的目标按键进行预设操作;显示第一音频设备识别界面;第一音频设备识别界面用于引导用户按照预设确认顺序依次在至少一个目标音频设备上对目标按键进行预设操作;接收至少一个第二音频设备按照预设确认顺序依次发送的设备识别信息;设备识别信息用于指示第二音频设备为目标音频设备;根据设备识别信息确定至少一个目标音频设备,并根据预设确认顺序确定每个目标音频设备对应的声道。
在该实现方式中,由用户输入目标组网模式。电子设备通过显示第一音频设备识别界面,引导用户按照预设确认顺序依次在至少一个目标音频设备上对目标按键进行预设操作,从而确认与电子设备组网的目标音频设备。通过用户在音频设备上操作从而确认音频设备是目标音频设备,提高了用户确定目标音频设备的准确性,进而提高了电子设备和目标音频设备组网的准确性,避免误组网。当电子设备与多个目标音频设备组网时,通过用户按照预设确认顺序依次确认每个目标音频设备,实现方式简单。
一种可能的实现方式中,预设确认顺序包括下列中的任一项:目标音频设备为2个时,依次确认左声道和右声道的目标音频设备;目标音频设备为2个时,依次确认左环绕声道和右环绕声道的目标音频设备;目标音频设备为4个时,依次确认左声道、右声道、左环绕声道和右环绕声道的目标音频设备。
一种可能的实现方式中,方法还包括:输出第一提示信息;第一提示信息用于指示电子设备成功确定至少一个目标音频设备。
一种可能的实现方式中,确定至少一个目标音频设备和每个目标音频设备对应的声道,包括:向第二音频设备发送待组网通知信息;待组网通知信息用于通知第二音频设备检测用户是否对第二音频设备上的目标按键进行预设操作;显示第二音频设备识别界面;第二音频设备识别界面用于引导用户在第二音频设备上对目标按键进行预设操作;接收至少一 个第二音频设备分别发送的设备识别信息;设备识别信息用于指示第二音频设备为目标音频设备;根据设备识别信息确定至少一个目标音频设备,并确定每个目标音频设备对应的声道。
在该实现方式中,由用户在音频设备上操作从而确认音频设备是目标音频设备。但是,并不限定用户在音频设备上操作的顺序。由电子设备通过定位技术确定多个目标音频设备与电子设备之间的位置关系,进而确定目标音频设备对应的声道,降低了对用户操作的顺序限定,实现方式灵活,提高了用户感受。
一种可能的实现方式中,确定每个目标音频设备对应的声道,包括:若目标音频设备的个数为1个,确定目标音频设备对应重低音声道;若目标音频设备的个数大于1,通过定位技术确定每个目标音频设备与电子设备之间的位置关系,根据位置关系确定每个目标音频设备对应的声道。
一种可能的实现方式中,通过定位技术确定每个目标音频设备与电子设备之间的位置关系,包括:向目标音频设备发送超声检测信息;接收目标音频设备发送的超声信号;根据超声信号确定目标音频设备与电子设备之间的位置关系。
在该实现方式中,通过超声定位技术确定了每个目标音频设备与电子设备之间的位置关系。
一种可能的实现方式中,根据设备识别信息确定至少一个目标音频设备之后,还包括:输出第二提示信息;第二提示信息用于指示电子设备成功确定至少一个目标音频设备。
一种可能的实现方式中,向第二音频设备发送待组网通知信息,包括:向第二音频设备发送BLE广播消息,BLE广播消息包括待组网通知信息。
在该实现方式中,电子设备与第二音频设备之间可以不用建立BLE连接,节省了消息流程。
一种可能的实现方式中,目标按键为下列中的任意一个:静音按键、播放按键或暂停按键。
在该实现方式中,用户可以复用音频设备上的现有按键确认音频设备为目标音频设备,避免了对音频设备的修改。
一种可能的实现方式中,显示立体声组建弹框之前,还包括:向第二音频设备发送第一超声信号;接收第二音频设备中的至少一个第三音频设备发送的第二超声信号。
在该实现方式中,电子设备询问用户是否组建立体声之前,可以通过同屋检测机制,将电子设备发现的可组建立体声的第二音频设备中与电子设备不在同一房间的第二音频设备过滤掉,进一步提高了电子设备和音频设备组建立体声的准确性和合理性。
一种可能的实现方式中,方法还包括:根据第二超声信号确定第三音频设备与电子设备之间的位置关系。
一种可能的实现方式中,确定至少一个目标音频设备和每个目标音频设备对应的声道,包括:显示第三音频设备识别界面;第三音频设备识别界面包括至少一个第三音频设备,第三音频设备识别界面用于引导用户确认第三音频设备是否为目标音频设备;接收用户输入的反馈指令,反馈指令用于确认第三音频设备是否为目标音频设备;根据反馈指令确定至少一个目标音频设备,并确定每个目标音频设备对应的声道。
在该实现方式中,不需要用户在音频设备上操作从而确认音频设备是目标音频设备。 通过电子设备显示第三音频设备识别界面,通过显示与电子设备处于同一空间的第三音频设备,引导用户确认第三音频设备是否为目标音频设备,简化了用户操作,提高了用户感受。
一种可能的实现方式中,第三音频设备识别界面还用于指示至少一个第三音频设备与电子设备之间的位置关系。
在该实现方式中,第三音频设备识别界面中可以显示出第三音频设备与电子设备之间的位置关系,用户可以形象直观的将实际环境与第三音频设备识别界面进行比对,有利于用户确认第三音频设备是否为目标音频设备,进一步提高了用户感受。
一种可能的实现方式中,确定每个目标音频设备对应的声道,包括:若目标音频设备的个数为1个,确定目标音频设备对应重低音声道;若目标音频设备的个数大于1,获取每个目标音频设备与电子设备之间的位置关系,根据位置关系确定每个目标音频设备对应的声道。
一种可能的实现方式中,确定目标组网模式,包括:获取用户输入的目标组网模式。
一种可能的实现方式中,确定目标组网模式,包括:若目标音频设备的个数为1个,确定目标组网模式为第一组网模式;其中,在第一组网模式中,目标音频设备的声道为重低音声道;若目标音频设备的个数大于1,根据每个目标音频设备与电子设备之间的位置关系确定目标组网模式。
一种可能的实现方式中,方法还包括:显示声道确认界面;声道确认界面用于引导用户确定目标音频设备对应的声道是否正确;接收用户输入的声道确认指令,声道确认指令用于确定目标音频设备对应的声道是否正确。
在该实现方式中,通过向用户显示声道确认界面,针对电子设备采用定位技术确定的目标音频设备的位置和声道,让用户进一步确认,提高了组建立体声的准确性,避免了由于电子设备对音频设备的位置定位错误而导致的组建立体声错误。
一种可能的实现方式中,与每个目标音频设备建立Wi-Fi连接之前,还包括:当确定目标音频设备未配置WLAN网络,则为目标音频设备配置目标WLAN网络;目标WLAN网络为电子设备已配置的WLAN网络。
在该实现方式中,如果目标音频设备未配置WLAN网络,电子设备可以为目标音频设备配网,使得目标音频设备和电子设备接入同一WLAN网络,便于后续通信。
一种可能的实现方式中,为目标音频设备配置目标WLAN网络,包括:显示音频设备网络配置界面,音频设备网络配置界面用于为目标音频设备配置目标WLAN网络;接收用户的连接网络操作;响应于连接网络操作,控制目标音频设备接入目标WLAN网络。
一种可能的实现方式中,蓝牙广播消息包括组网标识信息、组网指示信息和音频设备的产品型号,组网标识信息用于指示音频设备是否已组建立体声,组网指示信息用于指示是否允许音频设备组建立体声。
一种可能的实现方式中,根据至少一个蓝牙广播消息确定至少一个音频设备中存在可用于组建立体声的第二音频设备,包括:若蓝牙广播消息中的组网指示信息指示允许音频设备组建立体声,确定存在第二音频设备。
一种可能的实现方式中,确定存在第二音频设备之前,还包括:确定蓝牙广播消息的信号强度大于预设阈值。
在该实现方式中,蓝牙广播消息的信号强度大于预设阈值,说明音频设备与电子设备之间的距离较近,可以组建立体声。通过判断蓝牙广播消息的信号强度可以提升电子设备发现第二电子设备的准确度,有利于合理的、成功的组建立体声。
一种可能的实现方式中,确定存在第二音频设备之前,还包括:确定电子设备当前未进行投屏业务。
一种可能的实现方式中,蓝牙广播消息还包括配网信息,配网信息用于指示音频设备是否已配置WLAN网络。
第二方面,提供了一种立体声组网方法,应用于音频设备,包括:生成蓝牙广播消息;蓝牙广播消息用于指示音频设备是否已组建立体声以及是否允许音频设备组建立体声;向电子设备发送蓝牙广播消息。
第二方面提供的立体声组网方法,电子设备和音频设备可以进行短距通信,音频设备向电子设备发送蓝牙广播消息,从而,电子设备基于短距通信根据蓝牙广播消息可以直接的、自动的发现可用于组建立体声的音频设备,并向用户询问是否组建立体声。本申请实施例提供的立体声组网方法,不要求电子设备和音频设备接入同一个局域网且用户账号相同,组网更加灵活和高效,提升了用户感受。
一种可能的实现方式中,方法还包括:与电子设备建立Wi-Fi连接。
一种可能的实现方式中,与电子设备建立Wi-Fi连接之前,还包括:接收电子设备发送的待组网通知信息;待组网通知信息用于通知检测用户是否对目标按键进行预设操作;若检测到用户对目标按键进行预设操作,向电子设备发送设备识别信息;设备识别信息用于指示音频设备为与电子设备组建立体声的目标音频设备。
一种可能的实现方式中,接收电子设备发送的待组网通知信息,包括:接收电子设备发送的BLE广播消息,BLE广播消息包括待组网通知信息。
一种可能的实现方式中,目标按键为下列中的任意一个:静音按键、播放按键或暂停按键。
一种可能的实现方式中,与电子设备建立Wi-Fi连接之前,还包括:接收电子设备发送的超声检测信息;向电子设备发送超声信号。
一种可能的实现方式中,与电子设备建立Wi-Fi连接之前,还包括:接收电子设备发送的第一超声信号;向电子设备发送第二超声信号。
一种可能的实现方式中,蓝牙广播消息包括组网标识信息、组网指示信息和音频设备的产品型号,组网标识信息用于指示音频设备是否已组建立体声,组网指示信息用于指示是否允许音频设备组建立体声。
一种可能的实现方式中,蓝牙广播消息还包括配网信息,配网信息用于指示音频设备是否已配置WLAN网络。
第三方面,提供一种装置,包括:第一接收模块,用于接收至少一个音频设备分别发送的蓝牙广播消息;蓝牙广播消息用于指示音频设备是否已组建立体声以及是否允许音频设备组建立体声;处理模块,用于当根据至少一个蓝牙广播消息确定至少一个音频设备中存在可用于组建立体声的第二音频设备时,显示立体声组建弹框;立体声组建弹框用于向用户询问电子设备是否组建立体声或重新组建立体声。
一种可能的实现方式中,还包括第二接收模块;第二接收模块,用于接收用户输入的 立体声组建指令;立体声组建指令用于指示电子设备组建立体声或重新组建立体声;处理模块,还用于确定目标组网模式、至少一个目标音频设备和每个目标音频设备对应的声道;目标音频设备为用户在第二音频设备中确认的与电子设备组建立体声的音频设备,目标组网模式为电子设备和至少一个目标音频设备组建立体声的组网模式;处理模块,还用于与每个目标音频设备建立Wi-Fi连接。
一种可能的实现方式中,组网模式包括:第一组网模式;在第一组网模式中,电子设备与1个目标音频设备组建立体声,1个目标音频设备的声道为重低音声道;第二组网模式;在第二组网模式中,电子设备与2个目标音频设备组建立体声,2个目标音频设备的声道分别为左声道和右声道;第三组网模式;在第三组网模式中,电子设备与2个目标音频设备组建立体声,2个目标音频设备的声道分别为左环绕声道和右环绕声道;第四组网模式;在第四组网模式中,电子设备与4个目标音频设备组建立体声,4个目标音频设备的声道分别为左声道、右声道、左环绕声道和右环绕声道。
一种可能的实现方式中,处理模块用于:获取用户输入的目标组网模式;根据目标组网模式确定目标音频设备的个数和至少一个目标音频设备的预设确认顺序;向第二音频设备发送待组网通知信息;待组网通知信息用于通知第二音频设备检测用户是否对第二音频设备上的目标按键进行预设操作;显示第一音频设备识别界面;第一音频设备识别界面用于引导用户按照预设确认顺序依次在至少一个目标音频设备上对目标按键进行预设操作;接收至少一个第二音频设备按照预设确认顺序依次发送的设备识别信息;设备识别信息用于指示第二音频设备为目标音频设备;根据设备识别信息确定至少一个目标音频设备,并根据预设确认顺序确定每个目标音频设备对应的声道。
一种可能的实现方式中,预设确认顺序包括下列中的任一项:目标音频设备为2个时,依次确认左声道和右声道的目标音频设备;目标音频设备为2个时,依次确认左环绕声道和右环绕声道的目标音频设备;目标音频设备为4个时,依次确认左声道、右声道、左环绕声道和右环绕声道的目标音频设备。
一种可能的实现方式中,处理模块还用于:输出第一提示信息;第一提示信息用于指示电子设备成功确定至少一个目标音频设备。
一种可能的实现方式中,处理模块用于:向第二音频设备发送待组网通知信息;待组网通知信息用于通知第二音频设备检测用户是否对第二音频设备上的目标按键进行预设操作;显示第二音频设备识别界面;第二音频设备识别界面用于引导用户在第二音频设备上对目标按键进行预设操作;接收至少一个第二音频设备分别发送的设备识别信息;设备识别信息用于指示第二音频设备为目标音频设备;根据设备识别信息确定至少一个目标音频设备,并确定每个目标音频设备对应的声道。
一种可能的实现方式中,处理模块用于:若目标音频设备的个数为1个,确定目标音频设备对应重低音声道;若目标音频设备的个数大于1,通过定位技术确定每个目标音频设备与电子设备之间的位置关系,根据位置关系确定每个目标音频设备对应的声道。
一种可能的实现方式中,处理模块用于:向目标音频设备发送超声检测信息;接收目标音频设备发送的超声信号;根据超声信号确定目标音频设备与电子设备之间的位置关系。
一种可能的实现方式中,根据设备识别信息确定至少一个目标音频设备之后,处理模块还用于:输出第二提示信息;第二提示信息用于指示电子设备成功确定至少一个目标音 频设备。
一种可能的实现方式中,还包括发送模块,发送模块用于:向第二音频设备发送BLE广播消息,BLE广播消息包括待组网通知信息。
一种可能的实现方式中,目标按键为下列中的任意一个:静音按键、播放按键或暂停按键。
一种可能的实现方式中,还包括发送模块;发送模块,用于在显示立体声组建弹框之前,向第二音频设备发送第一超声信号;第一接收模块,还用于接收第二音频设备中的至少一个第三音频设备发送的第二超声信号。
一种可能的实现方式中,处理模块还用于:根据第二超声信号确定第三音频设备与电子设备之间的位置关系。
一种可能的实现方式中,处理模块用于:显示第三音频设备识别界面;第三音频设备识别界面包括至少一个第三音频设备,第三音频设备识别界面用于引导用户确认第三音频设备是否为目标音频设备;接收用户输入的反馈指令,反馈指令用于确认第三音频设备是否为目标音频设备;根据反馈指令确定至少一个目标音频设备,并确定每个目标音频设备对应的声道。
一种可能的实现方式中,第三音频设备识别界面还用于指示至少一个第三音频设备与电子设备之间的位置关系。
一种可能的实现方式中,处理模块用于:若目标音频设备的个数为1个,确定目标音频设备对应重低音声道;若目标音频设备的个数大于1,获取每个目标音频设备与电子设备之间的位置关系,根据位置关系确定每个目标音频设备对应的声道。
一种可能的实现方式中,处理模块用于:获取用户输入的目标组网模式。
一种可能的实现方式中,处理模块用于:若目标音频设备的个数为1个,确定目标组网模式为第一组网模式;其中,在第一组网模式中,目标音频设备的声道为重低音声道;若目标音频设备的个数大于1,根据每个目标音频设备与电子设备之间的位置关系确定目标组网模式。
一种可能的实现方式中,处理模块,还用于显示声道确认界面;声道确认界面用于引导用户确定目标音频设备对应的声道是否正确;第二接收模块,还用于接收用户输入的声道确认指令,声道确认指令用于确定目标音频设备对应的声道是否正确。
一种可能的实现方式中,处理模块还用于:在与每个目标音频设备建立Wi-Fi连接之前,当确定目标音频设备未配置WLAN网络,则为目标音频设备配置目标WLAN网络;目标WLAN网络为电子设备已配置的WLAN网络。
一种可能的实现方式中,处理模块用于:显示音频设备网络配置界面,音频设备网络配置界面用于为目标音频设备配置目标WLAN网络;接收用户的连接网络操作;响应于连接网络操作,控制目标音频设备接入目标WLAN网络。
一种可能的实现方式中,蓝牙广播消息包括组网标识信息、组网指示信息和音频设备的产品型号,组网标识信息用于指示音频设备是否已组建立体声,组网指示信息用于指示是否允许音频设备组建立体声。
一种可能的实现方式中,处理模块用于:若蓝牙广播消息中的组网指示信息指示允许音频设备组建立体声,确定存在第二音频设备。
一种可能的实现方式中,处理模块还用于:在确定存在第二音频设备之前,确定蓝牙广播消息的信号强度大于预设阈值。
一种可能的实现方式中,处理模块还用于:在确定存在第二音频设备之前,确定电子设备当前未进行投屏业务。
一种可能的实现方式中,蓝牙广播消息还包括配网信息,配网信息用于指示音频设备是否已配置WLAN网络。
第四方面,提供一种装置,包括:处理模块,用于生成蓝牙广播消息;蓝牙广播消息用于指示音频设备是否已组建立体声以及是否允许音频设备组建立体声;发送模块,用于向电子设备发送蓝牙广播消息。
一种可能的实现方式中,处理模块还用于:与电子设备建立Wi-Fi连接。
一种可能的实现方式中,还包括接收模块;接收模块,用于在与电子设备建立Wi-Fi连接之前,接收电子设备发送的待组网通知信息;待组网通知信息用于通知检测用户是否对目标按键进行预设操作;发送模块,还用于若检测到用户对目标按键进行预设操作,向电子设备发送设备识别信息;设备识别信息用于指示音频设备为与电子设备组建立体声的目标音频设备。
一种可能的实现方式中,发送模块用于:接收电子设备发送的BLE广播消息,BLE广播消息包括待组网通知信息。
一种可能的实现方式中,目标按键为下列中的任意一个:静音按键、播放按键或暂停按键。
一种可能的实现方式中,还包括接收模块;接收模块,用于在与电子设备建立Wi-Fi连接之前,接收电子设备发送的超声检测信息;发送模块,还用于向电子设备发送超声信号。
一种可能的实现方式中,还包括接收模块;接收模块,用于在与电子设备建立Wi-Fi连接之前,接收电子设备发送的第一超声信号;发送模块,还用于向电子设备发送第二超声信号。
一种可能的实现方式中,蓝牙广播消息包括组网标识信息、组网指示信息和音频设备的产品型号,组网标识信息用于指示音频设备是否已组建立体声,组网指示信息用于指示是否允许音频设备组建立体声。
一种可能的实现方式中,蓝牙广播消息还包括配网信息,配网信息用于指示音频设备是否已配置WLAN网络。
第五方面,提供一种电子设备,包括处理器,处理器用于与存储器耦合,并读取存储器中的指令并根据指令使得电子设备执行第一方面提供的方法。
第六方面,提供一种音频设备,包括处理器,处理器用于与存储器耦合,并读取存储器中的指令并根据指令使得音频设备执行第二方面提供的方法。
第七方面,提供一种程序,该程序在被处理器执行时用于执行以上任一方面提供的方法。
第八方面,提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令在计算机或处理器上运行时,实现以上任一方面提供的方法。
第九方面,提供一种程序产品,程序产品包括计算机程序,所述计算机程序存储在可 读存储介质中,设备的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得该设备实施以上任一方面提供的方法。
附图说明
图1为立体声组网的一种系统架构图;
图2为图1中智慧屏Y、音箱b和音箱c组建立体声的配置流程示意图;
图3为本申请实施例提供的立体声组网的一种系统架构图;
图4~图13为本申请实施例提供的一组应用场景示意图;
图14A~图14H为本申请实施例提供的电子设备设置立体声组网的一组界面示意图;
图15为本申请实施例提供的立体声组网方法的一种流程图;
图16为本申请实施例提供的立体声组网方法的另一种流程图;
图17A~图17I为本申请实施例提供的立体声组建弹框的一组界面示意图;
图18为本申请实施例提供的音频设备网络配置界面的一种示意图;
图19为本申请实施例提供的立体声组网方法的又一种流程图;
图20A~图20E为本申请实施例提供的音频设备识别界面的一组界面示意图;
图21为本申请实施例提供的立体声组网方法的又一种流程图;
图22A~图22D为本申请实施例提供的音频设备识别界面的另一组界面示意图;
图23A~图23B为本申请实施例提供的声道确认界面的一组界面示意图;
图24为本申请实施例提供的立体声组网方法的又一种流程图;
图25为本申请实施例提供的立体声组网方法的又一种流程图;
图26A~图26D为本申请实施例提供的音频设备识别界面的又一组界面示意图;
图27A~图27B为本申请实施例提供的音频设备识别界面的又一组界面示意图;
图28为本申请实施例提供的装置的一种结构示意图;
图29为本申请实施例提供的装置的另一种结构示意图;
图30为本申请实施例提供的设备的一种结构示意图。
具体实施方式
下面结合附图描述本申请实施例。
本申请实施例提供的立体声组网方法,适用于电子设备与音频设备进行立体声组网的场景。本申请实施例对电子设备和音频设备的名称和类型不做限定。例如,一些电子设备的举例为:智慧屏、电视、投影设备等。一些音频设备的举例为:音箱、无线耳机等。
为了方便说明,在本申请实施例中,以电子设备为智慧屏、音频设备为音箱作为示例。
首先,对本申请实施例涉及的概念进行说明。
1、立体声组网
立体声组网也称为组网或组建立体声,是指电子设备利用音频设备发声,或者,利用音频设备和电子设备的本机喇叭一起发声,从而实现不同的声音播放效果。
2、立体声组网的模式
立体声组网的模式也称为组网模式。立体声组网中音频设备的数量和/或位置不同时,组网模式不同。下面示例性的介绍4种,但并不对组网模式形成限定。本申请实施例对每种组网模式的名称不做限定。
(1)组网模式1
也称为单音箱组网模式或低音炮组网模式。
该模式中,电子设备与1个音频设备组建立体声,通过音频设备强化低音波段,提升重低音的声音播放效果。音频设备对应的声道可以称为重低音声道。示例性的,参见图4。
(2)组网模式2
也称为前置双音箱组网模式、前置模式或左右声道组网模式。
该模式中,电子设备与2个音频设备组建立体声。2个音频设备对应的声道分别称为左声道和右声道,通过左右两个方向的声音创造立体声效果。
可选的,2个音频设备分别位于电子设备的左右两侧。示例性的,参见图5。
可选的,2个音频设备的型号相同。
(3)组网模式3
也称为后置双音箱组网模式、后置模式或左右环绕声道组网模式。
该模式中,电子设备与2个音频设备组建立体声。2个音频设备位于聆听者的座位附近,对应的声道分别称为左环绕声道和右环绕声道,通过左右两个方向的声音使得聆听者有被声源包围的感觉。
可选的,2个音频设备分别位于聆听者的座位的左右两侧。示例性的,参见图7。
可选的,2个音频设备的型号相同。
(4)组网模式4
也称为四音箱组网模式。
该模式中,电子设备与4个音频设备组建立体声。其中,2个音频设备被分别配置为左声道和右声道,另外2个音频设备被分别配置为左环绕声道和右环绕声道。示例性的,参见图8。
可选的,配置为左右声道的2个音频设备的型号相同,配置为左右环绕声道的2个音频设备的型号相同。
可选的,4个音频设备的型号均相同。
3、配网
配网包括电子设备的配网和音频设备的配网。电子设备的配网是指电子设备配置了无线局域网(wireless local area networks,WLAN)网络的账号和密码,从而,电子设备可以接入WLAN网络。相似的,音频设备的配网是指音频设备配置了WLAN网络的账号和密码,从而,音频设备可以接入WLAN网络。
可选的,在本申请实施例中,电子设备可以为音频设备配置WLAN网络,使得音频设备可以连接路由器,电子设备和音频设备可以接入相同的WLAN网络中,便于通信。可选的,当音频设备断开与电子设备的Wi-Fi连接后,音频设备可以连接路由器。
4、回连、第一组网记录、第二组网记录
电子设备和音频设备成功组建立体声后,电子设备和音频设备在本地保存有立体声组网记录,也称为组网记录。本申请实施例对电子设备和音频设备分别保存的组网记录的内 容不做限定。当电子设备再次上电时,可以根据本地保存的组网记录尝试与音频设备组建立体声,这个过程称为回连。相似的,当音频设备再次上电时,可以根据本地保存的组网记录尝试与电子设备回连。例如,智慧屏X与音箱a、音箱b组建了立体声。当智慧屏X、音箱a和音箱b再次上电后,智慧屏X、音箱a和音箱b将尝试回连。
为了方便说明,电子设备中的组网记录可以称为第一组网记录,音频设备中的组网记录可以称为第二组网记录。
5、自组网功能、自组网流程
自组网功能是指电子设备可以自动发现可用于组建立体声的音频设备并与音频设备组建立体声的功能。例如,当电子设备与音频设备初次组建立体声时,或者,当电子设备与音频设备回连失败后又发现了可用于组建立体声的其他音频设备时,或者,当电子设备与音频设备成功组建立体声后又发现了可用于组建立体声的其他音频设备时,电子设备可以执行自组网流程,实现自组网功能。
本申请实施例对自组网功能的名称不做限定,例如,也称为自动组建立体声功能。
可选的,电子设备上可以设置功能开关,用于设置电子设备是否打开或支持自组网功能。通过设置功能开关,为用户提供了选择的可能,提高了立体声组网的灵活性。
6、第一音频设备、第二音频设备、第三音频设备、目标音频设备
在本申请实施例中,为了方便说明,将电子设备发现的可用于回连的音频设备称为第一音频设备,将电子设备发现的可用于组建立体声的音频设备称为第二音频设备,将电子设备发现的可用于组建立体声且与电子设备位于同一房间的音频设备称为第三音频设备,将用户确认的与电子设备组建立体声的音频设备称为目标音频设备。
7、历史组网模式、目标组网模式
在本申请实施例中,为了方便说明,将电子设备存储的第一组网记录中的组网模式称为历史组网模式,将电子设备执行自组网流程时的组网模式称为目标组网模式。
下面介绍电子设备与音频设备进行立体声组网的一种实现方式。
示例性的,图1为立体声组网的一种系统架构图。如图1所示,系统包括路由设备、电子设备和音频设备,对系统内各个设备的类型和数量不做限定。在图1中,路由设备包括路由器H。电子设备为2个,包括智慧屏X和智慧屏Y。音频设备为3个,包括音箱a、音箱b和音箱c。其中,智慧屏X与音箱a组建立体声,智慧屏Y与音箱b、音箱c组建立体声,参见图1中的虚线框。路由器H建立一个WLAN网络,智慧屏X、智慧屏Y、音箱a、音箱b和音箱c均与路由器H建立WLAN连接,接入到该WLAN网络中。
以音箱a为例,音箱a可以通过路由器H访问因特网(internet)上的服务器,从服务器获取音频数据并播放;或者,音箱a通过路由器H从智慧屏X获取音频数据并播放;或者,音箱a与智慧屏X组建立体声后从智慧屏X获取音频数据并播放。
以智慧屏Y为例,智慧屏Y可以通过路由器H向音箱b和音箱c发送音频数据;或者,智慧屏Y与音箱b和音箱c组建立体声后向音箱b和音箱c发送音频数据。
示例性的,以图1中智慧屏Y、音箱b和音箱c初始组建立体声为例,对用户的配置过程进行说明。图2为图1中智慧屏Y、音箱b和音箱c组建立体声的配置流程示意图。如图2所示,配置过程包括:
步骤1、配置智慧屏Y的WLAN网络和用户账号。
用户可以在智慧屏Y显示的相关界面中配置WLAN网络的账号和密码,使得智慧屏Y接入路由器H建立的WLAN网络。
用户可以在智慧屏Y显示的相关界面中配置用户账号。用户账号也称为登录账号。用户使用用户账号登录智慧屏Y后,智慧屏Y可以获取相关功能或服务的权限,为用户提供相应功能。不同用户可以使用相同的用户账号登录智慧屏Y,或者,不同用户分别使用各自的用户账号登录智慧屏Y。
步骤2、配置音箱b和音箱c的WLAN网络和用户账号。
用户可以在相关设备显示的相关界面中配置音箱b和音箱c的WLAN网络的账号和密码,使得音箱b和音箱c接入路由器H建立的WLAN网络。音箱b和音箱c与相关设备可以进行短距通信,例如,蓝牙通信或Wi-Fi通信。相关设备上可以安装用于管理音频设备的应用程序(application,APP)。一些相关设备的举例可以为:手机、平板等。示例性的,图2以相关设备为手机进行说明。
用户可以在手机显示的相关界面中配置音箱b和音箱c的用户账号。不同用户可以使用相同的用户账号登录音箱,或者,不同用户分别使用各自的用户账号登录音箱。
步骤3、将音箱b和音箱c配置为音箱组合。
用户可以在手机显示的APP的相关界面中将同用户账号、同局域网的2个音箱配置为音箱组合。例如,在本示例中,将音箱b和音箱c配置为音箱组合,并完成音箱组合中左右声道的设置。
其中,对步骤2中配置音箱的WLAN网络和步骤3中配置音箱组合的顺序不做限定。
可选的,在一种实现方式中,用户在手机上对音箱b配网后,手机发现音箱c后,APP先询问用户,是否将新发现的音箱c与已有的音箱b组建立体声。当用户确认组建立体声后,APP让用户确认左右声道的配置,接下来手机对音箱c配网。
可选的,在另一种实现方式中,音箱b和音箱c独自完成配网后,用户可以在APP中选择将音箱b和音箱c组建立体声。
步骤4、在智慧屏Y上对智慧屏Y和音箱组合组建立体声。
当智慧屏Y、音箱b和音箱c的用户账号相同,且均接入路由器H建立的WLAN网络,即,智慧屏Y、音箱b和音箱c同用户账号且同局域网,路由器H可以转发智慧屏与音箱之间的报文。智慧屏Y基于局域网内的发现机制,可以发现同用户账号、同局域网的音箱或音箱组合,并在智慧屏Y的相关界面中将发现的音箱或音箱组合显示出来。例如,在本示例中,智慧屏Y的相关界面中显示出音箱b和音箱c组成的音箱组合。相应的,用户在智慧屏Y显示的相关界面中操作,对智慧屏Y和音箱组合组建立体声。智慧屏Y与音箱b和音箱c建立终端对终端(peer-to-peer,P2P)连接,后续,智慧屏与音箱之间的音频数据和/或控制信息承载在该P2P连接上,不必经过路由器H中转。
其中,对智慧屏Y和手机显示的相关界面不做限定。
可见,在图1所示的系统中,音箱和智慧屏组建立体声时要求:音箱和智慧屏接入同一个局域网、音箱和智慧屏的用户账号相同,并且,路由器H可以转发智慧屏与音箱之间的报文。这样,智慧屏基于局域网内的发现机制可以发现音箱或音箱组合。用户进行配置时,首先分别对智慧屏和音箱配网,然后要在智慧屏显示的相关界面中对智慧屏和音箱组 建立体声(参见图2中步骤4)。如果将两个音箱与智慧屏组建立体声,还需要提前在手机上将两个音箱配置为音箱组合(参见图2中步骤3)。用户的配置步骤较多,过程繁琐。
本申请实施例提供了一种立体声组网方法,电子设备和音频设备可以进行短距通信,电子设备基于短距通信可以直接的、自动的发现可用于组建立体声或回连的音频设备,电子设备可以向用户询问是否组建立体声,根据用户需求与音频设备组建立体声。本申请实施例提供的立体声组网方法,不要求电子设备和音频设备接入同一个局域网且用户账号相同。在立体声组网的配置过程中,节省了提前对电子设备和音频设备配网、对多个音频设备配置组合的操作,简化了用户配置步骤,组网更加灵活和高效,提升了用户感受。
示例性的,图3为本申请实施例提供的立体声组网的一种系统架构图。系统包括电子设备和音频设备。可选的,系统还包括路由设备。在图3中,电子设备包括智慧屏X和智慧屏Y。音频设备包括音箱a、音箱b和音箱c。路由设备包括路由器H和路由器G。图3与图1的区别在于:在图1中,电子设备基于局域网内的发现机制发现可组建立体声的音频设备或音频设备的组合,因此要求电子设备和音频设备同局域网、同用户账号且路由设备可以转发电子设备与音频设备之间的报文。而在图3中,电子设备与音频设备可以进行短距通信,电子设备基于该短距通信发现可组建立体声或回连的音频设备。因此不要求电子设备和音频设备同局域网,或者同用户账号,或者必须存在路由设备且路由设备可以转发电子设备与音频设备之间的报文。本申请实施例对短距通信的类型不做限定,例如,蓝牙通信。示例性的,在图3中,智慧屏X与音箱a、音箱b和音箱c可以进行蓝牙通信,智慧屏Y与音箱a、音箱b和音箱c可以进行蓝牙通信。
可选的,电子设备和音频设备可以接入路由设备建立的WLAN网络。电子设备和音频设备可以接入同一个WLAN网络,或者,接入不同的WLAN网络。例如,在图3中,智慧屏X、智慧屏Y和音箱a与路由器H通信,音箱b和音箱c与路由器G通信。
可选的,电子设备和音频设备的用户账号可以相同,也可以不同。
需要说明,图3仅是示例,并不对系统中电子设备、音频设备、路由设备的数量和类型形成限定。
下面,对电子设备与音频设备组建立体声的应用场景和组网模式进行说明。
电子设备出厂后的初始状态为未组网状态,电子设备没有与音频设备组建过立体声。之后,在不同的应用场景中,电子设备与音频设备初次组建立体声,电子设备中保存有第一组网记录。相似的,音频设备出厂后的初始状态为未组网状态,之后,在不同的应用场景中可以与电子设备初次组建立体声,音频设备中保存有第二组网记录。可选的,电子设备或音频设备成功组建立体声之后,再次上电时,可以尝试回连。若回连成功,电子设备和音频设备根据历史组网模式进行工作。若回连失败,电子设备和音频设备可以根据应用场景的实际情况重新组建立体声,并在组建成功时更新本地的组网记录。
示例性的,结合图4~图13进行说明,但并不对立体声组网的应用场景和组网模式形成限定。为了方便说明,图4~图13中音箱的型号相同。
可选的,在一个场景中,参见图4。客厅中包括智慧屏X和音箱a,均为未组网状态。智慧屏X可以发现音箱a,与音箱a初次组建立体声,组网模式为组网模式1。
可选的,在另一个场景中,参见图5。客厅中包括智慧屏X、音箱a和音箱b,均为未组网状态。音箱a和音箱b分别位于智慧屏X的两侧。智慧屏X可以发现音箱a和音箱b,与音箱a和音箱b初次组建立体声,组网模式为组网模式2。
可选的,在又一个场景中,参见图6。客厅中包括智慧屏X、音箱a~音箱c。智慧屏X、音箱b和音箱c均为未组网状态,音箱a历史上与智慧屏Y已组网。音箱a上电后回连失败。智慧屏X可以发现音箱a~音箱c。智慧屏X、音箱a和音箱b可以组建立体声,组网模式为组网模式2。图6与图5的区别在于:场景内音箱的数量和历史组网状态不同。
可选的,在又一个场景中,参见图7。客厅中包括智慧屏X、音箱a和音箱b,均为未组网状态。音箱a和音箱b分别位于沙发的两侧。智慧屏X可以发现音箱a和音箱b,与音箱a和音箱b初次组建立体声,组网模式为组网模式3。
可选的,在又一个场景中,参见图8。客厅中包括智慧屏X、音箱a~音箱d,均为未组网状态。音箱a和音箱b分别位于智慧屏X的两侧,音箱c和音箱d分别位于沙发的两侧。智慧屏X可以发现音箱a~音箱d,与音箱a~音箱d初次组建立体声,组网模式为组网模式4。
可选的,在又一个场景中,参见图9。该场景涉及电子设备与音频设备组建立体声之前的同屋检测机制。客厅中包括智慧屏X、音箱a和音箱b,均为未组网状态。卧室中包括音箱c,为未组网状态。通过同屋检测机制,智慧屏X可以发现音箱a、音箱b和音箱c,但确定与音箱c处于不同空间。智慧屏X、音箱a和音箱b可以初次组建立体声,组网模式为组网模式2。
可选的,在又一个场景中,参见图10。客厅中包括智慧屏X、音箱a和音箱b,智慧屏X、音箱a和音箱b历史上已组网,组网模式为组网模式2。之后,用户将音箱b移动到卧室,但智慧屏X和音箱b可以进行蓝牙通信。可选的,在一种实现方式中,当智慧屏X、音箱a和音箱b上电后,智慧屏X发现可以回连的音箱a和音箱b,回连成功,采用组网模式2工作。此时,音箱b在卧室中发声。可选的,在另一种实现方式中,涉及电子设备与音频设备回连过程中的同屋检测机制。当智慧屏X、音箱a和音箱b上电后,智慧屏X可以发现音箱a和音箱b。但通过同屋检测机制,智慧屏X确定与音箱b处于不同空间,不会回连。即,智慧屏X和音箱a、音箱b回连失败。可选的,智慧屏X可以执行自组网流程,向用户询问是否对智慧屏X重新组建立体声。此时,智慧屏X可以和音箱a采用组网模式1重新组建立体声。
可选的,在又一个场景中,参见图11。图11与图10的区别在于:在图10中,用户将音箱b移动到卧室,智慧屏X和音箱b可以进行蓝牙通信,智慧屏X可以发现音箱b。而在图11中,用户移走音箱b,智慧屏X只发现音箱a。在本场景中,智慧屏X、音箱a和音箱b回连失败。可选的,智慧屏X可以执行自组网流程,向用户询问是否对智慧屏X重新组建立体声。此时,智慧屏X可以和音箱a采用组网模式1重新组建立体声。
可选的,在又一个场景中,参见图12。客厅中包括智慧屏X和音箱a,智慧屏X和音箱a历史上已组网,组网模式为组网模式1。之后,用户在客厅中增加音箱b,为未组网状态。当智慧屏X、音箱a和音箱b上电后,智慧屏X发现可回连的音箱a,与音箱a回连成功,组网模式为组网模式1。智慧屏X还发现可用于组建立体声的音箱b。可选的,智慧屏X可以执行自组网流程,向用户询问是否对智慧屏X重新组建立体声。此时,智慧屏 X可以和音箱a、音箱b采用组网模式2重新组建立体声。
可选的,在又一个场景中,参见图13。图13与图12的区别在于:在图12中,增加的音箱b的状态为未组网状态。而在图13中,增加的音箱b的状态为已组网,但音箱b上电后会回连失败,智慧屏X在音箱b回连失败后会发现可用于组网的音箱b。智慧屏X与音箱a回连成功后,智慧屏X可以执行自组网流程,向用户询问是否对智慧屏X重新组建立体声。此时,智慧屏X可以和音箱a、音箱b采用组网模式2重新组建立体声。
下面,通过图14A~图14H对本申请实施例中电子设备设置立体声组网的界面进行简单说明,但图14A~图14H并不对相关设置界面形成限定。
如图14A所示,智慧屏显示“输出”界面11,用于设置智慧屏的声音输出方式。本申请实施例对通过用户操作从而跳转至界面11的过程不做限定。界面11中包括2个功能选项:本机扬声器和选择WLAN音箱(称为选项卡111)。可选的,用户可以对控件110进行操作,通过控件110的显示状态指示是否允许智慧屏使用本机扬声器。可选的,用户通过对选项卡111进行操作,可以设置智慧屏是否使用音频设备组建立体声。可选的,界面11中还包括引导信息112,辅助用户进行选择。例如,引导信息112为“连接WLAN音箱,智慧屏可与WLAN音箱联合放音”。
当用户对选项卡111进行选定操作时,智慧屏响应于用户的操作,显示“选择WLAN音箱”界面12,如图14B所示。界面12中可以包括如下功能选项:自动发现音箱和查找WLAN音箱。可选的,用户可以对控件121进行操作,通过控件121的显示状态指示是否打开或支持自组网功能。
可选的,界面12中还可以包括“我的设备”功能选项,用于指示下列中的一项:智慧屏当前连接的音箱或音箱组合,或者,智慧屏在当前时间点之前最近一次连接的音箱或音箱组合。若智慧屏当前没有组建立体声或者没有立体声组网记录,界面12中可以不显示“我的设备”功能选项,或者,显示“我的设备”功能选项但没有记录。若智慧屏当前组建有立体声或者存在立体声组网记录,“我的设备”功能选项包括1条记录。可选的,还可以指示当前组网模式或历史组网模式。例如,在图14B中,“我的设备”中的记录为“音箱组合已连接(前置)”,表示智慧屏当前与音箱组合组建立体声,当前组网模式为组网模式2。
可选的,界面12中还可以包括“其他设备”功能选项,用于指示电子设备基于局域网内的发现机制发现的其他音频设备。若电子设备没有发现其他音频设备,界面12中可以不显示“其他设备”功能选项,或者,显示“其他设备”功能选项但没有记录。若电子设备发现了其他音频设备,“其他设备”功能选项包括至少1条记录。
可选的,界面12中还可以包括引导信息122,辅助用户进行选择。例如,引导信息122为“连接单个音箱,可提升重低音的表现力。连接音箱组合,音箱和智慧屏将联合放音,畅享更优质声效”。
需要说明,本申请实施例中的音箱组合与图2所示的音箱组合含义不同。在图2中,用户需要在手机上提前配置音箱组合,音箱组合中的各个音箱接入同一局域网且用户账号相同,从而,电子设备可以发现位于同一局域网下同一用户账号下的音箱组合。后续,当应用场景发生变化或设备出现故障等原因导致音箱组合与电子设备组网失败时,该音箱组 合不会自动拆除,需要在手机上手动拆除。而在本申请实施例中,用户不需要在手机上提前配置音箱组合,电子设备在发现的可用于组网的音箱中根据用户需求组建立体声,形成音箱组合。后续,当音箱组合与电子设备回连失败时,音箱组合可以自动拆除。当然,音箱组合也可以不拆除。若电子设备与新的音频设备组建立体声,则音箱组合自动拆除,新的组网记录覆盖老的组网记录。
在本申请实施例中,用户通过操作可以实现下列中的任意一项:手动删除与电子设备组网的音频设备、手动断开与电子设备组网的音频设备,或者,手动连接与电子设备组网的音频设备。其中,删除与电子设备组网的音频设备,是指解除电子设备与音频设备的组网关系,电子设备可以与其他音频设备重新组网。断开与电子设备组网的音频设备,是指断开电子设备与音频设备之间的通信连接,但并不解除组网关系,后续,电子设备和音频设备可以回连。
可选的,在一个场景中,如图14B所示,智慧屏当前与音箱组合已连接。
可选的,在一种实现方式中,用户可以选择图14B中“其他设备”中的音箱,例如,音箱1,手动删除智慧屏和音箱组合的组网关系,并且将智慧屏和音箱1进行立体声组网。相应的,智慧屏响应用户的操作,界面12更新为界面13,如图14C所示。具体的,“我的设备”包括1条记录,变更为“音箱1已连接”,表示智慧屏当前与音箱1组网,组网模式为组网模式1。“其他设备”包括1条记录,具体为音箱2。
可选的,在智慧屏显示界面13之前,智慧屏还可以在界面12中显示弹框,提示用户进行选择。示例性的,如图14D所示,界面12中显示弹框14。弹框14中包括引导信息、“取消”按钮和“连接”按钮。示例性的,引导信息包括文字“连接新音箱后,当前音箱与智慧屏的组合将会删除。是否继续?”。可选的,用户可以选择“连接”按钮,相应的,智慧屏响应于用户的操作,删除与音箱组合的组网关系,并且与音箱1进行立体声组网。
可选的,在另一种实现方式中,用户可以对图14B中“我的设备”中的音箱组合进行操作,手动删除智慧屏和音箱组合的组网关系,或者手动断开智慧屏与音箱组合的连接。相应的,智慧屏响应于用户的操作,在界面12中显示弹框15,如图14E所示。弹框15中包括引导信息、“删除设备”按钮和“断开连接”按钮。示例性的,引导信息包括文字“音箱组合断开后,需重新配置音箱效果。音箱组合删除后,可组合新的音箱”。可选的,用户可以选择“删除设备”按钮,相应的,智慧屏响应于用户的操作,删除智慧屏和音箱组合的组网关系,界面12更新为界面16,如图14F所示。具体的,界面16中不包括“我的设备”,表示智慧屏当前没有第一组网记录。界面16中的“其他设备”包括2条记录,分别为:音箱1和音箱2。可选的,用户可以选择“断开连接”按钮,相应的,智慧屏响应于用户的操作,断开智慧屏与音箱组合的连接,界面12更新为界面17,如图14G所示。具体的,界面17中“我的设备”包括1条记录,为“音箱组合未连接(前置)”,表示智慧屏存在第一组网记录,但当前没有组建立体声,最近一次组建立体声为与音箱组合组建立体声,历史组网模式为组网模式2。
可选的,在另一个场景中,如图14G所示,智慧屏当前没有组建立体声,智慧屏本地保存有组网记录。
可选的,在一种实现方式中,用户可以选择界面17中“其他设备”中的音箱,手动删除智慧屏本地保存的历史组网关系,并且将智慧屏和新音箱进行立体声组网。可以参见 图14C和图14D的相关说明,原理相似,此处不再赘述。
可选的,在另一种实现方式中,用户可以对界面17中“我的设备”中的音箱组合进行操作,手动删除智慧屏和音箱组合的组网关系,或者手动连接智慧屏与音箱组合。相应的,智慧屏响应于用户的操作,在界面17中显示弹框18,如图14H所示。弹框18中包括引导信息、“删除设备”按钮和“连接”按钮。示例性的,引导信息包括文字“音箱组合”、“音箱组合删除后,可组合新的音箱”。可选的,用户可以选择“删除设备”按钮,可以参见图14E的相关说明,原理相似,此处不再赘述。可选的,用户可以选择“连接”按钮,相应的,智慧屏响应于用户的操作,与音箱组合连接,界面17更新为界面12,如图14B所示。
下面通过具体的实施例对本申请的技术方案进行详细说明。下面的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。
本申请实施例中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。
在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
需要说明的是,在本申请各个实施例中,用户在电子设备显示的相关界面中进行的操作,包括但不限于下列中的至少一种:用户在电子设备的显示屏上的触控操作、用户通过遥控器等中间控制设备实现对相关界面的操作、用户通过语音控制实现对相关界面的操作。
需要说明的是,在本申请各个实施例中,相关界面中可以包括引导信息、提示信息或提醒信息等,均用于辅助、引导用户操作,告知用户当前进展,提升用户感受。本申请实施例对引导信息、提示信息或提醒信息的形式和内容不做限定,例如,包括但不限于下列中的至少一种:文字、图片或动画。
图15为本申请实施例提供的立体声组网方法的一种流程图。本实施例提供的立体声组网方法,执行主体包括电子设备和音频设备,适用于图3所示系统,涉及电子设备和音频设备的回连过程。本实施例对系统中电子设备和音频设备的数量不做限定,系统中每个电子设备均可以执行本实施例中电子设备的操作,系统中每个音频设备均可以执行本实施例中音频设备的操作。如图15所示,本实施例提供的立体声组网方法,可以包括:
S1501、音频设备发送蓝牙广播消息。蓝牙广播消息包括组网标识信息、组网指示信息和音频设备的产品型号。
相应的,电子设备接收系统内至少一个音频设备分别发送的蓝牙广播消息。
其中,组网标识信息可以反映音频设备历史上是否已组建立体声。可选的,组网标识信息的取值具有预设范围,本实施例对此不做限定,例如,预设范围为0~65535。在预设范围内可以预先设置无效值,例如,取值为0。预设范围内除无效值之外的每个数值可以唯一区分音频设备与电子设备的组网关系。
可选的,在一种实现方式中,若音频设备从未组建过立体声,组网标识信息为预设的 无效值。若音频设备组建过立体声,组网标识信息的取值为音频设备最近一次组建立体声时对应的组网标识信息的取值。
可选的,在另一种实现方式中,若音频设备从未组建过立体声,或者,音频设备最近一次组建立体声后与电子设备解除了组网关系,例如,图14E或图14H所示的删除设备的操作,组网标识信息为预设的无效值。若音频设备最近一次组建立体声后没有与电子设备解除组网关系,组网标识信息的取值为音频设备最近一次组建立体声时对应的组网标识信息的取值。
组网指示信息,用于指示是否允许音频设备与电子设备组建立体声。通常,若音箱本地存储有第二组网记录,音箱上电后将尝试回连。音箱回连超时之前或音箱回连成功之前不允许与其他电子设备组建立体声,此时,组网指示信息的取值用于指示不允许音频设备与电子设备组建立体声。若音箱回连失败,则允许与其他电子设备组建立体声,此时,组网指示信息的取值用于指示允许音频设备与电子设备组建立体声。若音箱本地没有第二组网记录,或者,音箱从未组网,则允许与其他电子设备组建立体声。
其中,蓝牙广播消息携带音频设备的产品型号,用于电子设备确定音频设备是否支持组建立体声。可选的,在存在多个音频设备的场景中,还用于电子设备确定是否可以与多个音频设备一起组建立体声。
下面结合图6,对组网标识信息和组网指示信息进行举例说明。
在图6中,音箱a历史上与智慧屏Y已组网。假设,组网标识信息的取值为100,用于唯一标识音箱a与智慧屏Y组网。音箱a上电后尝试与智慧屏Y回连的时间段内,音箱a发送的蓝牙广播消息中,组网标识信息为100,表示音箱a历史上组建有立体声。组网指示信息的取值可以为0,表示当前不允许音箱a和电子设备组建立体声。当音箱a回连超时确定回连失败后,音箱a发送的蓝牙广播消息中,组网标识信息的取值不变,组网指示信息的取值可以为1,表示允许音箱a和电子设备组建立体声。
在图6中,音箱b和音箱c从未组网,音箱b或音箱c发送的蓝牙广播消息中,组网标识信息为0,表示音箱b或音箱c历史上没有组建立体声。组网指示信息的取值可以为1,表示音箱b或音箱c可以组建立体声。
可选的,蓝牙广播消息还可以包括下列中的至少一项:配网信息或音频设备的按键信息。
配网信息用于指示音频设备是否已经配置过WLAN网络。通过配网信息,音频设备可以将是否配置过WLAN网络通知给电子设备,便于电子设备后续判断是否需要为音频设备配网,可以参见S1606的相关说明。
音频设备的按键信息可以包括音频设备上每个按键的标识信息,标识信息用于唯一区分不同的按键。通过向电子设备发送音频设备的按键信息,便于后续电子设备通过音频设备的按键实现特定功能。
需要说明,本实施例对蓝牙广播消息的类型和遵从的蓝牙协议版本不做限定。例如,蓝牙广播消息为蓝牙低能耗(bluetooth low energy,BLE)广播消息。
S1502、电子设备根据接收的至少一个音频设备分别发送的蓝牙广播消息,确定是否存在待回连的第一音频设备,且第一音频设备的数量与本地保存的第一组网记录中的数量是否相同。
可选的,第一组网记录包括组网标识信息和历史组网模式。组网标识信息参见S1501中的相关说明,此处不再赘述。历史组网模式不同,第一音频设备的数量不同。例如,在组网模式1中,第一音频设备为1个。在组网模式2或组网模式3中,第一音频设备为2个。在组网模式4中,第一音频设备为4个。
电子设备可以根据本地保存的组网标识信息与音频设备发送的蓝牙广播消息中携带的组网标识信息是否相同,确定音频设备是否为第一音频设备。
若确定存在第一音频设备且第一音频设备的数量与第一组网记录中的数量相同,说明电子设备发现了全部待回连的第一音频设备,执行S1503~S1504。
若确定不存在第一音频设备,或者,存在第一音频设备但数量与第一组网记录中的数量不同,说明电子设备没有发现全部待回连的第一音频设备,则不会回连,结束回连流程。可选的,若电子设备打开了自组网功能,可以执行自组网流程,参见图16所示实施例。
示例性的,以图11和图12所示场景进行说明。
在图11中,音箱a、音箱b历史上与智慧屏X已组网。假设,组网标识信息的取值为300,用于唯一标识音箱a、音箱b与智慧屏X组网。智慧屏X本地保存的第一组网记录中包括组网标识信息和历史组网模式。组网标识信息的取值为300,历史组网模式为组网模式2。音箱b被移走。智慧屏X和音箱a再次上电,均尝试回连。音箱a发送的蓝牙广播消息中,组网标识信息为300,组网指示信息的取值为0,表示当前不允许和电子设备组网。智慧屏X接收音箱a发送的蓝牙广播消息,确定蓝牙广播消息中组网标识信息的取值为300,智慧屏X确定音箱a为待回连的第一音频设备,但是第一音频设备的数量(1个)与第一组网记录中的数量(2个)不同。智慧屏X确定回连失败。
在图12中,音箱a历史上与智慧屏X已组网。假设,组网标识信息的取值为400,用于唯一标识音箱a与智慧屏X组网。智慧屏X本地保存的第一组网记录中包括组网标识信息和历史组网模式。组网标识信息的取值为400,历史组网模式为组网模式1。智慧屏X和音箱a再次上电,均尝试回连。音箱a发送的蓝牙广播消息中,组网标识信息为400,组网指示信息的取值为0,表示当前不允许和电子设备组网。智慧屏X接收音箱a发送的蓝牙广播消息,确定蓝牙广播消息中组网标识信息的取值为400,智慧屏X确定音箱a为待回连的第一音频设备,并且,第一音频设备的数量(1个)与第一组网记录中的数量(1个)相同,可以继续执行回连流程。
S1503、电子设备向第一音频设备发送Wi-Fi连接信息。
相应的,第一音频设备接收电子设备发送的Wi-Fi连接信息。
其中,Wi-Fi连接信息可以包括服务集标识(servicesetidentifier,SSID)、网络名称、网络密码和Wi-Fi接入频段等等中的一个或多个。
可选的,在一种实现方式中,电子设备向第一音频设备发送BLE广播消息,BLE广播消息中包括Wi-Fi连接信息。在该实现方式中,电子设备与音频设备之间可以不用建立BLE连接,节省了消息流程。
可选的,在另一种实现方式中,若电子设备与第一音频设备已经建立BLE连接,电子设备可以通过BLE连接向第一音频设备发送Wi-Fi连接信息。
可选的,在又一种实现方式中,若电子设备与第一音频设备没有建立BLE连接,电子设备可以与第一音频设备建立BLE连接,并通过BLE连接向第一音频设备发送Wi-Fi连 接信息。
可选的,在又一种实现方式中,电子设备与第一音频设备都连接到同一个路由设备建立的无线局域网中。例如,电子设备可以通过蓝牙广播消息中的配网信息确认。电子设备可以将Wi-Fi连接信息通过路由设备转发给第一音频设备。相应的,第一音频设备通过路由设备接收到电子设备发送的Wi-Fi连接信息后,可以断开与路由设备的Wi-Fi连接,基于Wi-Fi连接信息与电子设备建立Wi-Fi连接。在该实现方式中,电子设备不需要借助BLE技术可以与第一音频设备建立Wi-Fi连接。
S1504、电子设备与第一音频设备根据Wi-Fi连接信息建立Wi-Fi连接。
可选的,若第一音频设备当前未建立Wi-Fi连接,则根据Wi-Fi连接信息与电子设备建立Wi-Fi连接。
可选的,若第一音频设备当前已与其他设备(例如路由设备)建立了Wi-Fi连接,第一音频设备可以在接收到Wi-Fi连接信息后,先与其他设备断开Wi-Fi连接,再根据Wi-Fi连接信息与电子设备建立Wi-Fi连接。
可见,本实施例提供的立体声组网方法,音频设备发送蓝牙广播消息,电子设备接收音频设备发送的蓝牙广播消息后,可以基于蓝牙广播消息直接的、自动的发现待回连的音频设备,从而与待回连的音频设备组建立体声。不要求电子设备和音频设备接入同一个局域网且用户账号相同,组网更加灵活和高效,提升了用户感受。
可选的,本实施例提供的立体声组网方法,还可以包括:
S1505、电子设备确定全部的第一音频设备是否均回连成功。
若全部的第一音频设备均与电子设备建立Wi-Fi连接,说明全部第一音频设备均回连成功,则执行S1506。例如,图12或图13所示场景,音箱a与智慧屏X采用组网模式1,当音箱a与智慧屏X建立Wi-Fi连接,说明回连成功。
若部分或全部第一音频设备回连失败,可选的,若电子设备打开了自组网功能,可以执行自组网流程,参见图16所示实施例。
S1506、电子设备与第一音频设备采用历史组网模式工作。
图16为本申请实施例提供的立体声组网方法的另一种流程图。本实施例提供的立体声组网方法,执行主体包括电子设备和音频设备,适用于图3所示系统,涉及电子设备与音频设备的自组网流程。其中,电子设备打开自组网功能。本实施例对系统中电子设备和音频设备的数量不做限定,系统中每个电子设备均可以执行本实施例中电子设备的操作,系统中每个音频设备均可以执行本实施例中音频设备的操作。如图16所示,本实施例提供的立体声组网方法,在图15中的S1501之后,还可以包括:
S1601、电子设备根据接收的至少一个音频设备分别发送的蓝牙广播消息,确定存在可用于组建立体声的第二音频设备时,在当前显示界面中弹出立体声组建弹框。立体声组建弹框用于询问用户是否组建立体声或重新组建立体声。
具体的,蓝牙广播消息包括组网标识信息、组网指示信息和音频设备的产品型号。电子设备可以根据组网指示信息和音频设备的产品型号确定音频设备是否可以组建立体声,从而直接的、自动的发现第二音频设备。
可选的,电子设备还可以根据蓝牙广播消息的信号强度是否大于预设阈值,确定音频 设备是否为第二音频设备。可选的,信号强度可以为接收信号强度指示(received signal strength indication,RSSI)。
通常,组建立体声的音频设备位于电子设备附近。音频设备与电子设备之间的距离越远,蓝牙广播消息的信号强度越小。反之,音频设备与电子设备之间的距离越近,蓝牙广播消息的信号强度越大。当蓝牙广播消息的信号强度大于预设阈值时,说明音频设备与电子设备之间的距离较近,可以组建立体声。通过判断蓝牙广播消息的信号强度可以提升电子设备发现第二电子设备的准确度,有利于合理的、成功的组建立体声。
其中,本实施例对预设阈值的取值不做限定。
可选的,在当前显示界面中弹出立体声组建弹框之前,电子设备确定当前未进行投屏业务。投屏业务包括但不限于:电子设备作为投屏设备在其他设备上显示待显示数据;或者,电子设备作为显示设备而显示其他设备的待显示数据。
本实施例对当前显示界面不做限定,对立体声组建弹框的页面内容和页面布局不做限定。可以理解,当电子设备当前的组网状态、第二音频设备的个数、型号或位置等不同时,立体声组建弹框可以不同。
电子设备当前的组网状态包括未组网和已组网。未组网包括但不限于如下情况:电子设备从未组网或没有第一组网记录,例如,图4~图9所示场景;或者,电子设备回连失败,例如,图10~图11所示场景。电子设备当前未组网时,立体声组建弹框用于询问用户是否组建立体声。当电子设备当前已组网,例如,图12~图13所示场景,而电子设备又发现了第二音频设备时,立体声组建弹框用于询问用户是否重新组建立体声。
下面结合图4~图13所示场景,对立体声组建弹框进行示例性说明。其中,智慧屏X的当前显示界面标识为界面20,立体声组建弹框标识为弹框21。
可选的,在第一种实现方式中,电子设备当前未组网,适用于图2~图11所示场景。
如图17A所示,弹框21中包括控件211、确认按钮212和引导信息。示例性的,引导信息包括文字“发现可组合音箱,是否前往”、“默认打开自动发现音箱开关,勾选不再提醒可将此开关关闭”,用于引导用户操作。
可选的,用户可以对确认按钮212进行操作,输入立体声组建指令。相应的,智慧屏X响应于立体声组建指令,确认用户组建立体声或重新组建立体声,执行自组网流程的后续步骤。
可选的,用户可以对控件211进行操作,通过控件211的显示状态指示是否关闭自组网功能。例如,当用户对控件211进行选择操作时,智慧屏X响应于用户的操作,弹框21更新为弹框22,如图17B所示。弹框22中的引导信息发生变更,以引导用户之后打开自组网功能。例如,控件211上方的文字变更为“关闭自动发现音箱开关”,控件211下方的文字变更为“已关闭自动发现音箱开关,若要打开此功能,请前往“设置”-“输出”-“选择WLAN音箱””。示例性的,“选择WLAN音箱”界面可以参见图14B所示。在图17B中,弹框22中还包括确认按钮214和取消按钮215。可选的,用户可以对确认按钮214进行操作,输入立体声组建关闭指令。相应的,智慧屏X响应于立体声组建关闭指令,关闭自组网功能,并关闭弹框22。可选的,用户可以对取消按钮215进行操作,取消关闭自组网功能。
可选的,弹框21中还包括取消按钮213。用户可以对取消按钮213进行操作,输入立 体声组建取消指令。相应的,智慧屏X响应于立体声组建取消指令,在智慧屏X本次亮屏过程中取消智慧屏X和音箱组建立体声。即,智慧屏X本次亮屏过程中,电子设备不再弹框询问用户是否组建立体声或重新组建立体声。可以理解,当智慧屏X熄屏再亮屏后、或者关机再重新开机后,可以再次执行自组网流程,弹出立体声组建弹框询问用户。可选的,取消按钮213上显示有倒计时时间,例如,60s。若用户在倒计时时间内没有进行操作,智慧屏X超时未接收到指令,则取消智慧屏X和音箱组建立体声,并关闭弹框21。
在该实现方式中,立体声组建弹框的通用性较强,当第二音频设备的个数不同时,立体声组建弹框均适用。后续,可以通过电子设备与用户的人机交互过程进一步确认用户想组建立体声的第二音频设备的个数和组网模式。
可选的,在第二种实现方式中,电子设备当前未组网。电子设备发现的第二音频设备的个数不同时,立体声组建弹框可以反映出第二音频设备的个数。在该实现方式中,电子设备向用户提供的选择更加准确,用户可以在立体声组建弹框中直接确认组建立体声的音频设备的数量和/或目标组网模式,用户的选择更加清晰,便于用户操作。
可选的,电子设备发现的第二音频设备为1个,例如,图4所示场景。如图17C所示,弹框21中可以包括按钮220、按钮221和引导信息。示例性的,引导信息包括文字“创建音箱组合”、“发现可与智慧屏组合的音箱。创建音箱组合,畅享更优质音效”和“若要修改组合音箱的状态,请前往“设置”-“输出”-“选择WLAN音箱””。可选的,用户可以对按钮220进行操作,输入立体声组建关闭指令。相应的,智慧屏X响应于立体声组建关闭指令,关闭自组网功能,并关闭弹框21。可选的,用户可以对按钮221进行操作,输入立体声组建指令。相应的,智慧屏X响应于立体声组建指令,确认组建立体声,并且,确认智慧屏X和单个音箱组建立体声。此时,目标组网模式为组网模式1。
可选的,电子设备发现的第二音频设备大于1个且小于4个,例如,图5~图7或图9所示场景。
可选的,在一种实现方式中,如图17D所示,弹框21中可以包括按钮220、按钮221、按钮222和引导信息。引导信息与图17C一致,不再赘述。相比于图17C,在图17D中,弹框21增加了按钮222。用户可以对按钮222进行操作,输入立体声组建指令。相应的,智慧屏X响应于立体声组建指令,确认组建立体声,并且,确认智慧屏X和2个音箱组建立体声。此时,目标组网模式为组网模式2或组网模式3。后续,可以通过用户与电子设备之间的人机交互过程进一步确定组网模式。例如,用户选择按钮222,组合两个音箱,相应的,智慧屏X响应于用户的操作,关闭弹框21,显示界面23,如图17E所示。界面23中包括前置按钮231、后置按钮232和引导信息。示例性的,引导信息包括文字“选择音箱摆放方式”、“为了更好的音效体验,请根据图示选择音箱摆放方式,确认后请勿移动”、“立体声音效,需将两个音箱放置智慧屏两侧”、“环绕声音效,需将两个音箱摆放座位两侧”、图片233和图片234。可选的,用户可以对前置按钮231进行操作,设置目标组网模式为组网模式2。可选的,用户可以对后置按钮234进行操作,设置目标组网模式为组网模式3。
可选的,在另一种实现方式中,如图17F所示,弹框21中可以包括选项框241~244、确定按钮246和引导信息。示例性的,引导信息包括文字“创建无线家庭影院系统”、“请确保所有音箱处于通电状态”。选项框241~244分别指示组网模式1~组网模式4,每个选 项框中包括控件245。用户可以对控件245进行操作,通过控件245的显示状态指示是否选中对应的组网模式。示例性的,在图17F中,用户选中选项框242对应的组网模式2。用户选中组网模式后,可以点击确定按钮246,输入立体声组建指令。相应的,智慧屏X响应于立体声组建指令,确认组建立体声,并获得组网模式。其中,选项框244为灰色,表示为不可选的状态,反映出智慧屏当前最多发现了3个音箱。在该种实现方式中,用户可以直接在弹框21中确认组网模式。
可选的,电子设备发现的第二音频设备大于或等于4个,例如,图8所示场景。如图17G所示,弹框21中可以包括按钮220、按钮221、按钮222、按钮223和引导信息。引导信息与图17C、图17D一致,不再赘述。相比于图17D,在图17G中,弹框21增加了按钮223。用户可以对按钮223进行操作,输入立体声组建指令。相应的,智慧屏X响应于立体声组建指令,确认组建立体声,并且,确认智慧屏X和4个音箱组建立体声。此时,目标组网模式为组网模式4。
可选的,在第三种实现方式中,电子设备当前已组网。立体声组建弹框可以反映当前的组网模式可以变更,是否需要重新组建立体声,有效引导用户操作。立体声组建弹框可以基于上述第一种实现方式和第二种实现方式进行调整。示例性的,如图17H所示,适用于图12~图13所示场景,基于第二种实现方式。弹框21中可以包括按钮220、按钮221和引导信息。图17H和图17C的区别在于引导信息不同。在图17H中,引导信息的变更部分如虚线框所示:“发现新音箱。可与已有音箱创建音箱组合,畅享更优质音效。”。通过不同的引导信息询问用户是否需要变更当前的组网模式,重新组建立体声。
可选的,在图17C、图17D、图17G和图17H中,弹框21中还可以包括取消按钮。示例性的,以图17C为示例,包括取消按钮224的弹框21可以参见图17I。取消按钮224可以参见图17A中的取消按钮213,原理相似,此处不再赘述。
可选的,对于立体声组建弹框,用户可以通过遥控器等中间控制设备或语音控制执行返回操作,取消组建立体声。相应的,电子设备响应于用户的操作,结束组建立体声的流程,并关闭立体声组建弹框。可选的,电子设备关闭立体声组建弹框之前,可以显示提醒信息,提醒信息用于通知用户将结束组建立体声的流程。通过显示提醒信息,便于用户进一步确认是否结束组建立体声的流程,提高了操作的准确性,避免误操作。
需要说明的是,图17A~图17I仅是示例,并不对立体声组建弹框和相关界面形成限定。
S1602、电子设备接收用户输入的立体声组建指令,立体声组建指令指示电子设备组建立体声或重新组建立体声。
S1603、电子设备确定目标组网模式,确定用户确认的待组网的目标音频设备和目标音频设备对应的声道。
为了方便说明,将用户确认的与电子设备组网的音频设备称为目标音频设备。由于目标音频设备为用户确认的,使得电子设备组建立体声遵循了用户的意愿和需求,组建立体声的准确度更高。
可选的,电子设备确定目标组网模式,可以根据用户操作或用户输入的指令确定。示例性的,参见图17A~图17I的相关说明,此处不再赘述。
可选的,电子设备可以通过对目标音频设备进行定位,根据目标音频设备的个数和与电子设备之间的位置关系确定目标组网模式。
可选的,若目标组网模式为组网模式1,则执行S1604。
可选的,若目标组网模式为组网模式2或组网模式3,目标音频设备为2个。还包括:电子设备确定2个目标音频设备的产品型号是否相同。若相同,则执行S1604。若不同,则结束自组网流程。可选的,电子设备输出提醒信息,提醒信息用于指示组建立体声的音频设备型号不同。
可选的,若目标组网模式为组网模式4,目标音频设备为4个。还包括:电子设备确定配置为左右声道的2个目标音频设备的型号是否相同,且确定配置为左右环绕声道的2个目标音频设备的型号是否相同。若均相同,则执行S1604。若配置为左右声道的2个目标音频设备的型号不同,或,配置为左右环绕声道的2个目标音频设备的型号不同,则结束自组网流程。可选的,电子设备输出提醒信息,提醒信息用于指示组建立体声的音频设备型号不同。
S1604、电子设备向目标音频设备发送Wi-Fi连接信息。
相应的,目标音频设备接收电子设备发送的Wi-Fi连接信息。
Wi-Fi连接信息和Wi-Fi连接信息的传输方式可以参见S1503,原理相似,此处不再赘述。
S1605、电子设备与目标音频设备根据Wi-Fi连接信息建立Wi-Fi连接。
可选的,若目标音频设备当前未建立Wi-Fi连接,则根据Wi-Fi连接信息与电子设备建立Wi-Fi连接。
可选的,若目标音频设备当前已与其他设备(例如路由设备)建立了Wi-Fi连接,目标音频设备可以在接收到Wi-Fi连接信息后,先与其他设备断开Wi-Fi连接,再根据Wi-Fi连接信息与电子设备建立Wi-Fi连接。
电子设备与目标音频设备建立Wi-Fi连接后,可以进行立体声的相关配置,本实施例对该过程不作限定。例如,电子设备对目标音频设备配置声道。电子设备与目标音频设备组建立体声后,电子设备输出提示信息,提示信息用于指示立体声组建成功。电子设备与目标音频设备播放测试音频,让用户可以感受到立体声的声效效果。电子设备同步配置信息,确保电子设备的设置菜单与实际组网状态一致,例如,在图14B所示的界面12中,“我的设备”功能选项将显示实际组网的音频设备。
可见,本实施例提供的立体声组网方法,音频设备发送蓝牙广播消息,电子设备接收音频设备发送的蓝牙广播消息后,基于蓝牙广播消息可以直接的、自动的发现可用于组建立体声的音频设备,并向用户弹框,询问用户是否组建立体声或者更改当前组网模式重新组建立体声。在用户确定组建立体声后,确定目标组网模式和经过用户确认的待组网的目标音频设备,与目标音频设备建立Wi-Fi连接,组建立体声。在本实施例中,由于目标音频设备为用户确认的,电子设备与用户确认的目标音频设备建立Wi-Fi连接,遵循了用户的意愿和需求,避免了与其他音频设备建立Wi-Fi连接而影响其他音频设备的正常工作,提高了立体声组网的准确性。本实施例提供的立体声组网方法,不要求电子设备和音频设备接入同一个局域网且用户账号相同,组网更加灵活和高效。而且,节省了用户提前对电子设备和音频设备配网、对多个音频设备配置组合的操作,简化了用户配置步骤,提升了用户感受。
可选的,本实施例提供的立体声组网方法,S1604之前,还可以包括:
S1606、电子设备确定目标音频设备未配置WLAN网络,则为目标音频设备配置WLAN网络。
具体的,蓝牙广播消息可以包括配网信息。电子设备根据配网信息可以确定目标音频设备是否已经配置WLAN网络。如果目标音频设备未配置WLAN网络,电子设备可以为目标音频设备配网,使得目标音频设备和电子设备接入同一WLAN网络,便于后续通信。
可选的,电子设备为目标音频设备配置WLAN网络,可以包括:
电子设备显示音频设备网络配置界面,音频设备网络配置界面用于为目标音频设备配置WLAN网络。
电子设备接收用户的连接网络操作。
电子设备响应于连接网络操作,控制目标音频设备接入WLAN网络。
其中,本实施例对音频设备网络配置界面的具体内容和布局不做限定。
示例性的,图18为本申请实施例提供的音频设备网络配置界面的一种示意图。如图18所示,音频设备网络配置界面31包括网络名称输入框311、密码输入框312、控件313、跳过按钮314、确定按钮315和引导信息。示例性的,引导信息包括文字“连接设备”、“此步骤用于将音箱与智慧屏连接在同一网络下”。
可选的,在一种实现方式中,电子设备可以获取WLAN网络的名称和密码,并预先填写在网络名称输入框311和密码输入框312中。该方式避免了用户手动填写,提升了用户感受。
可选的,在另一种实现方式中,用户可以在网络名称输入框311和密码输入框312中分别输入WLAN网络的名称和密码。该方式需要用户手动输入信息,可以进一步确认将目标音频设备和电子设备接入到相同的WLAN网络中。
可选的,用户可以点击控件313,以显示或隐藏密码。
可选的,用户可以对跳过按钮314进行操作,输入配置网络取消指令。相应的,电子设备响应于配置网络取消指令,结束为目标音频设备设置WLAN网络的流程。
可选的,用户可以对确定按钮315进行操作,输入连接网络指令。相应的,电子设备响应于连接网络指令,控制目标音频设备接入WLAN网络。
可以理解,在电子设备控制目标音频设备接入WLAN网络的过程中,电子设备可以与目标音频设备存在信息交互,从而,目标音频设备可以获得WLAN网络的名称和密码,并接入WLAN网络。
可选的,若需要配网的目标音频设备为多个,音频设备网络配置界面31中可以包括多个目标音频设备的图标和提示信息。提示信息可以指示出每个目标音频设备的配网进度和配网结果。本申请实施例对电子设备控制多个目标音频设备接入WLAN网络的顺序不做限定。
在图16所示实施例的基础上,图19为本申请实施例提供的立体声组网方法的又一种流程图。本实施例提供了S1603中,电子设备确定目标组网模式,确定用户确认的待组网的目标音频设备和目标音频设备对应的声道的一种实现方式。在本实施例中,由用户在音频设备上按键从而确认该音频设备是目标音频设备,提高了用户确定目标音频设备的准确性,进而提高了电子设备和目标音频设备组网的准确性,避免误组网。当电子设备与多个 目标音频设备组网时,电子设备可以按照预设确认顺序引导用户依次确认每个目标音频设备,实现方式简单。
如图19所示,S1603中,电子设备确定目标组网模式,可以包括:
S1901、电子设备获取用户输入的目标组网模式。
示例性的,参见图17A~图17I的相关说明,此处不再赘述。
S1603中,电子设备确定用户确认的待组网的目标音频设备和目标音频设备对应的声道,可以包括:
S1902、电子设备根据目标组网模式确定目标音频设备的个数和目标音频设备的预设确认顺序。
其中,若目标组网模式为组网模式1,目标音频设备为1个,目标音频设备的预设确认顺序即确认1个目标音频设备。
若目标音频设备为多个,本实施例对预设确认顺序不做限定。
可选的,目标组网模式为组网模式2,目标音频设备为2个,预设确认顺序可以为:先确认左声道的目标音频设备,再确认右声道的目标音频设备。
可选的,目标组网模式为组网模式3,目标音频设备为2个,预设确认顺序可以为:先确认左环绕声道的目标音频设备,再确认右环绕声道的目标音频设备。
可选的,目标组网模式为组网模式4,目标音频设备为4个,预设确认顺序可以为:确认左声道的目标音频设备、确认右声道的目标音频设备、确认左环绕声道的目标音频设备,最后确认右环绕声道的目标音频设备。
S1903、电子设备向第二音频设备发送待组网通知信息。相应的,第二音频设备接收电子设备发送的待组网通知信息。
其中,待组网通知信息用于通知第二音频设备检测用户是否对第二音频设备上的目标按键进行预设操作,从而确认第二音频设备为目标音频设备。
可选的,在一种实现方式中,电子设备和音频设备预先约定好目标按键和预设操作。这样,待组网通知信息起到通知的作用,减少了待组网通知信息的信息大小,降低了空口传输的数据量。
可选的,在另一种实现方式中,待组网通知信息可以包括目标按键的标识信息和按键操作信息,按键操作信息用于描述用户对目标按键的预设操作。在该实现方式中,目标按键和预设操作更加灵活。
需要说明,本实施例对目标按键和预设操作不做限定。可选的,目标按键可以为音频设备上的新增按键。可选的,为了减少对音频设备的修改,目标按键可以为音频设备上的现有按键。例如,目标按键为静音键或播放键。此时,待组网通知信息用于通知第二音频设备修改目标按键的含义并持续预设时长,以便于用户对目标按键进行预设操作。本实施例对预设时长的单位和取值不做限定,例如,预设时长的单位为秒。
对于待组网通知信息的发送方式,可选的,在一种实现方式中,电子设备向第二音频设备发送BLE广播消息,BLE广播消息中包括待组网通知信息。在该实现方式中,电子设备与第二音频设备之间可以不用建立BLE连接,节省了消息流程。
可选的,在另一种实现方式中,若电子设备与第二音频设备已经建立BLE连接,电子设备可以通过BLE连接向第二音频设备发送待组网通知信息。
可选的,在又一种实现方式中,若电子设备与第二音频设备没有建立BLE连接,电子设备可以与第二音频设备建立BLE连接,并通过BLE连接向第二音频设备发送待组网通知信息。
可选的,在又一种实现方式中,电子设备与第二音频设备都连接到同一个路由设备建立的无线局域网中。例如,电子设备可以通过蓝牙广播消息中的配网信息确认。电子设备可以将待组网通知信息通过路由设备转发给第二音频设备。相应的,第二音频设备通过路由设备接收电子设备发送的待组网通知信息。
S1904、电子设备显示音频设备识别界面。音频设备识别界面用于引导用户按照预设确认顺序在第二音频设备上对目标按键进行预设操作,以确认第二音频设备为目标音频设备。
通常,音频设备上按键的个数是有限的,且均具有预设功能。例如,播放按键、暂停按键、上一首按键、下一首按键等等。通过复用已有按键,使得用户可以通过在音频设备上按键确认与电子设备组建立体声,避免了在音频设备上增加新的按键,实现简单。
其中,目标组网模式不同,目标音频设备的个数不同,音频设备识别界面的实现方式可以不同。下面通过示例进行说明。
可选的,目标组网模式为组网模式1,目标音频设备为1个,音频设备识别界面用于引导用户确认1个目标音频设备。
示例性的,音频设备识别界面参见图20A,适用于图4、图10或图11所示场景。
如图20A所示,音频设备识别界面41包括智慧屏图案411、1个音箱图案412、按键图案413、取消按钮414和引导信息。示例性的,引导信息包括文字“识别音箱”、“请双击如图所示位置”、“不同型号的音箱操作按键稍有差异,双击音箱上的暂停键,可让智慧屏对其进行识别。图示仅供参考,可根据需要选择音箱摆放位置”。通过按键图案413和引导信息,可以引导用户双击音箱上的暂停按键,从而确认与电子设备组建立体声。
可选的,在用户按键确认目标音频设备的过程中,用户可以对取消按钮414进行操作,输入设备识别取消指令。相应的,智慧屏响应于设备识别取消指令,结束自组网流程。
可选的,若目标组网模式为组网模式2,预设确认顺序为:先确认左声道的目标音频设备,再确认右声道的目标音频设备。
示例性的,参见图20D和图20E,适用于图5、图6、图9、图12或图13所示场景。
电子设备先显示图20D所示的音频设备识别界面44,用于引导用户确认左声道的目标音频设备。音频设备识别界面44包括智慧屏图案411、2个音箱图案412、按键图案413、取消按钮414和引导信息。图20D与图20A的区别在于:多了一个音箱图案412,并且智慧屏图案411上方的引导信息由“请双击如图所示位置”变更为“请在左侧音箱上双击如图所示位置”,参见图20D中的虚线框。
当用户在左侧目标音频设备上双击暂停键后,电子设备确定左声道的目标音频设备,电子设备显示图20E所示的音频设备识别界面45,继续引导用户确认右声道的目标音频设备。图20E与图20D的区别在于:按键图案413从左侧移动到右侧,并且,智慧屏图案411上方的引导信息由“请在左侧音箱上双击如图所示位置”变更为“请在右侧音箱上双击如图所示位置”,参见图20E中的虚线框。
S1905、第二音频设备(目标音频设备)检测到用户对目标按键进行预设操作时,向 电子设备发送设备识别信息,设备识别信息用于指示该第二音频设备为目标音频设备。
具体的,第二音频设备接收到待组网通知信息后,检测用户是否对目标按键进行预设操作。当检测到用户对目标按键进行预设操作时,确定为目标音频设备,需要与电子设备组网,向电子设备发送设备识别信息。
可选的,在一种实现方式中,第二音频设备向电子设备发送BLE广播消息,BLE广播消息中包括设备识别信息。在该实现方式中,电子设备与第二音频设备之间可以不用建立BLE连接,节省了消息流程。可选的,设备识别信息可以为BLE广播消息中的特定比特,通过修改该特定比特的取值,指示该第二音频设备为目标音频设备。
可选的,在另一种实现方式中,若电子设备与第二音频设备已经建立BLE连接,第二音频设备可以通过BLE连接向电子设备发送设备识别信息。
可选的,在又一种实现方式中,电子设备与第二音频设备都连接到同一个路由设备建立的无线局域网中。例如,第二音频设备通过路由设备接收到电子设备发送的待组网通知信息。第二音频设备可以将设备识别信息通过路由设备转发给电子设备。
可选的,第二音频设备还可以向电子设备发送下列中的至少一项:目标按键的标识信息或按键操作信息。
S1906、电子设备根据设备识别信息确定目标音频设备,并根据预设确认顺序确定目标音频设备对应的声道。
具体的,由于电子设备按照预设确认顺序引导用户依次在目标音频设备上按键,可以根据接收到的设备识别信息的顺序和预设确认顺序确定不同目标音频设备对应的声道。例如,在组网模式2中,将首先收到的设备识别信息对应的目标音频设备确定为左声道音频设备,将后来收到的设备识别信息对应的目标音频设备确定为右声道音频设备。
可见,本实施例提供的立体声组网方法,通过用户在音频设备上按键确认该音频设备与电子设备组网,提高了确认组网音频设备的准确性。当目标音频设备为多个时,电子设备按照预设确认顺序引导用户依次在每个目标音频设备上按键,目标音频设备确认的准确性高,实现方式简单。
可选的,本实施例提供的立体声组网方法,S1906之后,还可以包括:
电子设备输出提示信息。提示信息用于指示电子设备成功确定目标音频设备。
示例性的,以组网模式1为例对提示信息进行说明。智慧屏显示图20A所示的音频设备识别界面41,智慧屏确定用户按键的音箱后,音频设备识别界面41变更为音频设备识别界面43,如图20C所示。在音频设备识别界面43中,提示信息可以包括文字“识别成功”,参见图中虚线框,用于告知用户智慧屏成功确认目标音箱,可以进行后续的自组网流程。
可选的,提示信息还可以包括图案415,用于告知用户智慧屏成功确认目标音箱。
可选的,音频设备识别界面43中还包括下一步按钮416。用户可以对下一步按钮416进行操作,继续自组网流程。
可选的,本实施例提供的立体声组网方法,S1906之前,还可以包括:
电子设备输出提示信息。提示信息用于指示电子设备正在确定目标音频设备。
通过提示信息可以明确告知用户,电子设备当前正在确定目标音频设备,提示用户等待,提高了用户感受。
示例性的,以组网模式1为例对提示信息进行说明。接续图20A,音频设备识别界面41可以变更为音频设备识别界面42,如图20B所示。在音频设备识别界面42中,提示信息可以包括文字“正在识别…”,参见图中虚线框,用于告知用户电子设备当前正在处理,提示用户等待。
可选的,本实施例提供的立体声组网方法,S1903之前,还可以包括:
S1907、电子设备输出提醒信息,提醒信息用于向用户提醒目标音频设备需处于非播放音乐状态。
通过输出提醒信息,确保了目标音频设备处于非播放音乐状态,可以更好的与电子设备传输信息,提高用户确认目标音频设备的准确性。
可选的,本实施例提供的立体声组网方法,在S1905中第二音频设备检测到用户对目标按键进行预设操作之后,还可以包括:
S1908、第二音频设备控制指示灯闪烁或常亮。
可选的,第二音频设备可以控制指示灯闪烁达到预设次数或预设时长,或,控制指示灯常亮达到预设时长。
第二音频设备通过控制指示灯闪烁或常亮,可以可视化的提示用户对目标按键的预设操作生效,确认与电子设备组网,提升了用户感受。
在图16所示实施例的基础上,图21为本申请实施例提供的立体声组网方法的又一种流程图。本实施例提供了S1603中,电子设备确定目标组网模式,确定用户确认的待组网的目标音频设备和目标音频设备对应的声道的一种实现方式。在本实施例中,由用户在音频设备上按键从而确认该音频设备是目标音频设备,提高了用户确定目标音频设备的准确性,进而提高了电子设备和目标音频设备组网的准确性,避免误组网。当电子设备与多个目标音频设备组网时,不限定用户在音频设备上按键的顺序,由电子设备通过定位技术确定多个目标音频设备与电子设备之间的位置关系,进而确定目标音频设备对应的声道,降低了对用户操作的顺序限定,实现方式灵活,提高了用户感受。
如图21所示,S1603中,电子设备确定用户确认的待组网的目标音频设备和目标音频设备对应的声道,可以包括:
S2101、电子设备向第二音频设备发送待组网通知信息。相应的,第二音频设备接收电子设备发送的待组网通知信息。
参见S1903,原理相似,此处不再赘述。
S2102、电子设备显示音频设备识别界面。音频设备识别界面用于引导用户在第二音频设备上对目标按键进行预设操作,以确认第二音频设备为目标音频设备。
本实施例对目标音频设备的个数和用户按键确认目标音频设备的顺序不做限定。
本实施例对音频设备识别界面的内容和布局不做限定。
可选的,若电子设备获得目标组网模式,可以根据目标组网模式确定目标音频设备的个数,音频设备识别界面可以与目标音频设备的个数相关。下面通过示例说明。
可选的,目标组网模式为组网模式1,目标音频设备为1个,音频设备识别界面用于引导用户确认1个目标音频设备。音频设备识别界面可以参见图20A。
可选的,目标组网模式为组网模式2,目标音频设备为2个,音频设备识别界面用于 引导用户确认2个目标音频设备。示例性的,音频设备识别界面可以参见图22A。
如图22A所示,音频设备识别界面51中包括音箱图案511、音箱图案512、按键图案513、取消按钮514和引导信息。示例性的,引导信息包括文字“识别音箱”、“请双击如图所示位置”、“不同型号的音箱操作按键稍有差异,双击音箱上的暂停键,可让智慧屏对其进行识别。”。通过按键图案513和引导信息,可以引导用户双击音箱上的暂停按键,从而确认目标音频设备。
可选的,用户可以对取消按钮514进行操作,输入设备识别取消指令。相应的,智慧屏响应于设备识别取消指令,结束自组网流程。
当用户在第1个音箱上双击暂停键后,电子设备确定第1个目标音频设备,音频设备识别界面51变更为音频设备识别界面52,如图22B所示,继续引导用户确认第2个目标音频设备。当用户在第2个音箱上双击暂停键后,电子设备确定第2个目标音频设备,音频设备识别界面52变更为音频设备识别界面53,如图22C所示。可选的,音频设备识别界面53中还包括下一步按钮515。用户可以对下一步按钮515进行操作,继续自组网流程。
可选的,若电子设备没有获得目标组网模式或没有确定目标音频设备的个数,音频设备识别界面对于不同个数的目标音频设备均适用。示例性的,音频设备识别界面可以参见图22D。
如图22D所示,音频设备识别界面54中包括音箱图案511、音箱图案512、音箱图案516、音箱图案517、取消按钮514、下一步按钮518和引导信息。示例性的,引导信息包括文字“识别音箱”、“请双击如图所示位置”、“不同型号的音箱操作按键稍有差异,双击音箱上的暂停键,可让智慧屏对其进行识别。”。音频设备识别界面54可以用于引导用户对至多4个音箱进行按键确认。
可选的,在用户按键确认目标音频设备的过程中,用户可以对取消按钮514进行操作,输入设备识别取消指令。相应的,智慧屏响应于设备识别取消指令,结束自组网流程。
可选的,在用户按键确认目标音频设备的过程中,用户可以对下一步按钮518进行操作,输入设备识别确认指令。相应的,智慧屏响应于设备识别确认指令,确定目标音频设备的个数,并继续自组网流程。例如,用户将智慧屏和1个音箱组建立体声。用户对音箱按键后,智慧屏确认1个音箱,此时,如图22D所示,音箱图案511的下方可以显示文字“点击“下一步”可只连接一个音箱”,引导用户点击下一步按钮518,继续自组网流程。
可选的,在智慧屏接收用户输入的设备识别确认指令之后,或者,预设时长内没有接收第二音频设备发送的设备识别信息,可以显示提示信息,告知用户当前已确认的目标音频设备的个数,并询问是否继续组建立体声。
S2103、第二音频设备(目标音频设备)检测到用户对目标按键进行预设操作时,向电子设备发送设备识别信息,设备识别信息用于指示该第二音频设备为目标音频设备。
参见S1905,原理相似,此处不再赘述。
S2104、电子设备根据设备识别信息确定目标音频设备。
之后,执行S2105或S2106。
S2105、若目标音频设备为1个,电子设备确定该目标音频设备对应的声道。
S2106、若目标音频设备大于1个,电子设备通过定位技术确定多个目标音频设备与电子设备之间的位置关系,根据位置关系确定每个目标音频设备对应的声道。
可选的,位置关系包括但不限于目标音频设备与电子设备之间的距离或角度。
通常,目标音频设备相对于电子设备的位置不同时,对应的声道不同,参见上述对组网模式的说明。在本实施例中,由电子设备通过定位技术确定多个目标音频设备与电子设备之间的位置关系,进而确定每个目标音频设备对应的声道,避免了用户按照特定顺序对目标音频设备按键,提升了用户感受。
可选的,目标音频设备为2个时,在一种实现方式中,可以对其中一个目标音频设备采用定位技术确定该目标音频设备与电子设备之间的位置关系。
在该实现方式中,目标音频设备为2个,2个目标音频设备通常采用组网模式2或组网模式3。所以,当确定了其中一个目标音频设备的位置,就默认确定了另一个目标音频设备的位置,降低了计算量。例如,其中一个电子设备位于电子设备的左侧,则默认另一个目标音频设备位于电子设备的右侧,2个目标音频设备采用组网模式2。
可选的,目标音频设备为2个时,在一种实现方式中,可以对2个目标音频设备均采用定位技术确定该目标音频设备与电子设备之间的位置关系。该实现方式确定位置关系更加准确。
其中,本实施例对定位技术不做限定,例如,超宽带(Ultra Wide Band,UWB)定位技术、蓝牙定位技术、超声定位技术等。
下面,对超声定位技术进行说明。电子设备通过超声定位技术确定多个目标音频设备与电子设备之间的位置关系,可以包括:
电子设备与目标音频设备建立BLE连接。
电子设备通过BLE连接向目标音频设备发送超声检测信息。相应的,目标音频设备接收电子设备发送的超声检测信息。其中,超声检测信息为超声定位检测中的相关参数,本实施例对具体内容不做限定。
目标音频设备通过目标音频设备上的多个喇叭同时发送超声信号。相应的,电子设备接收目标音频设备通过多个喇叭同时发送的超声信号。
电子设备根据接收的多个超声信号确定目标音频设备与电子设备之间的位置关系。
具体的,目标音频设备上有多个喇叭,多个喇叭的位置和/或方向不同。多个喇叭同时发送超声信号,相应的,电子设备根据接收的多个超声信号进行测距和/或测角,可以确定目标音频设备与电子设备之间的位置关系。例如,确定目标音频设备位于电子设备的左侧或右侧,或,确定目标音频设备位于电子设备的前方还是侧方。
可见,本实施例提供的立体声组网方法,通过用户在音频设备上按键确认该音频设备与电子设备组网,提高了确认组网音频设备的准确性。当目标音频设备为多个时,不限定用户按键的顺序,由电子设备确定多个目标音频设备的位置,进而确定每个目标音频设备对应的声道。实现方式更加灵活,提升了用户感受。
可选的,本实施例提供的立体声组网方法,S2106之后,还可以包括:
S2107、电子设备显示声道确认界面。声道确认界面用于引导用户确定目标音频设备对应的声道。
S2108、电子设备接收用户输入的声道确认指令,声道确认指令用于确定目标音频设备对应的声道是否正确。
通过向用户显示声道确认界面,针对电子设备采用定位技术确定的目标音频设备的位 置和声道,让用户进一步确认,提高了组建立体声的准确性,避免了由于电子设备对音频设备的位置定位错误而导致的组建立体声错误。
下面,以组网模式2为例,结合图23A和图23B对声道确认界面进行说明,但并不形成限定。在组网模式2中,目标音频设备为2个,分别对应左声道和右声道。
如图23A所示,声道确认界面61中包括智慧屏图案611、音箱图案612、音箱图案613、图案614、按钮615、按钮616和引导信息。示例性的,引导信息包括文字“选择音箱左右声道”、“当前亮灯音箱在智慧屏左侧”。图案614指示位于智慧屏左侧的音箱当前亮灯。通过图案614和引导信息,可以引导用户确认左声道音箱。
若在实际环境中位于智慧屏左侧的音箱当前亮灯,用户可以点击按钮615,输入声道确认指令,确认左侧音箱对应左声道正确。若在实际环境中位于智慧屏右侧的音箱当前亮灯,用户可以点击按钮616,输入声道确认指令,确认右侧音箱对应左声道,以便电子设备进行声道调整。
可选的,若目标音频设备为2个,在一种实现方式中,电子设备可以通过声道确认界面对其中一个目标音频设备对应的声道进行确认,进而默认确认另一个目标音频设备对应的声道。
在另一种实现方式中,电子设备可以通过声道确认界面对2个目标音频设备对应的声道均进行确认,提高准确性。示例性的,如图23B所示,声道确认界面62用于用户确认右声道。声道确认界面62相比于声道确认界面61的区别在于:图案614从左侧移动到右侧,智慧屏图案611上方的文字由“当前亮灯音箱在智慧屏左侧”变更为“当前亮灯音箱在智慧屏右侧”,具体参见图中虚线框,并且,按钮617用于用户确认右侧音箱对应右声道,按钮618用于用户确认左侧音箱对应右声道。
可以理解,在电子设备显示声道确认界面引导用户确定目标音频设备对应的声道的过程中,电子设备与目标音频设备存在信息交互,从而电子设备可以控制音频设备做出相应的动作,例如,图23A或图23B中示出的亮灯操作。本实施例对该过程中电子设备与目标音频设备传输的交互信息、交互信息的传输方式以及控制目标音频设备执行的动作不做限定。例如,可以通过蓝牙广播消息、BLE连接、或者通过路由设备传输信息。例如,可以控制目标音频设备发声等。
可选的,本实施例提供的立体声组网方法,S2104之后,还可以包括:
电子设备输出提示信息。提示信息用于指示电子设备成功确定目标音频设备。
示例性的,提示信息可以参见图22B~图22D中虚线框中的文字“识别成功”。
可选的,本实施例提供的立体声组网方法,S2104之前,还可以包括:
电子设备输出提示信息。提示信息用于指示电子设备正在确定目标音频设备。
示例性的,提示信息可以参见图22A~图22D中虚线框中的文字“正在识别…”。
可选的,本实施例提供的立体声组网方法,S2101之前,还可以包括:
电子设备输出提醒信息,提醒信息用于向用户提醒目标音频设备需处于非播放音乐状态。
可以参见S1907,原理相似,此处不再赘述。
可选的,本实施例提供的立体声组网方法,在S2103中第二音频设备检测到用户对目标按键进行预设操作之后,还可以包括:
第二音频设备控制指示灯闪烁或常亮。
可以参见S1908,原理相似,此处不再赘述。
下面,对S1603中,电子设备确定目标组网模式的实现方式进行说明。
可选的,在一种实现方式中,电子设备确定目标组网模式,可以包括:
电子设备获取用户输入的目标组网模式。
示例性的,参见图17A~图17I的相关说明,此处不再赘述。
在该实现方式中,不限定本步骤与上述S2101~S2108的执行顺序。
可选的,在另一种实现方式中,电子设备确定目标组网模式在S2106之后执行。电子设备确定目标组网模式,包括:
若目标音频设备为1个,电子设备确定目标组网模式为组网模式1。
若目标音频设备大于1个,S2106之后,电子设备根据位置关系确定目标组网模式。在该实现方式中,电子设备通过定位技术确定了多个目标音频设备的位置,而在不同的组网模式中,目标音频设备的位置均不同,参见上述对组网模式的说明。因此,电子设备可以基于目标音频设备的个数、与电子设备的距离和/或角度确定目标组网模式。
可选的,在上述实施例的基础上,在本申请又一实施例中,提供了一种同屋检测机制。同屋检测机制是指确定电子设备与音频设备是否在同一房间,提升了电子设备与音频设备组建立体声的合理性和准确性,避免误组网。在电子设备与音频设备回连的场景中,通过同屋检测机制,可以将电子设备发现的待回连的第一音频设备中与电子设备不在同一房间的第一音频设备过滤掉。相似的,在自组网流程中,通过同屋检测机制,可以将电子设备发现的可用于组建立体声的第二音频设备中与电子设备不在同一房间的第二音频设备过滤掉。
在同屋检测机制中,可以考虑不同类型的信号针对不同障碍物的传播特性,基于发送或接收的信号确定电子设备与音频设备是否在同一房间。例如,不同房间通常通过墙体分隔,可以考虑不同类型信号的穿墙能力。本实施例对信号的类型不做限定,例如,超声信号、蓝牙信号、UWB信号等等。
下面,对采用超声信号实现同屋检测机制进行说明。
可选的,在图15所示的回连场景中,例如,图10所示场景,可以在S1503之前执行。或者,在图16、图19或图21所示的自组网流程中,例如,图9所示场景,可以在S1601中的在当前显示界面中弹出立体声组建弹框之前执行。如图24所示,本实施例提供的立体声组网方法,还可以包括:
S2401、电子设备向音频设备发送第一超声信号。相应的,音频设备接收电子设备发送的第一超声信号。
具体的,在回连场景中,音频设备为第一音频设备。在自组网流程中,音频设备为第二音频设备。
S2402、若音频设备接收到电子设备发送的第一超声信号,则向电子设备发送第二超声信号。
相应的,电子设备接收音频设备发送的第二超声信号。
可选的,还可以包括:
S2403、电子设备根据接收的第二超声信号确定音频设备与电子设备之间的位置关系。
具体的,超声信号的穿墙能力较弱。电子设备与音频设备位于同一房间时,音频设备可以接收到电子设备发送的第一超声信号,电子设备可以接收到音频设备发送的第二超声信号。电子设备与音频设备不在同一房间时,音频设备通常接收不到电子设备发送的第一超声信号,当然,音频设备不会执行S2402。因此,基于超声信号的传播特性,电子设备可以根据是否接收到第二超声信号,确定电子设备与音频设备是否在同一房间。而且,音频设备发送超声信号时会停止当前的播放动作,例如,停止当前播放的歌曲。由电子设备首先发送第一超声信号,音频设备回复第二超声信号,避免了对位于不同房间的音频设备的打扰。进一步的,电子设备接收音频设备回复的第二超声信号后,可以基于第二超声信号确定音频设备与电子设备之间的位置关系。
其中,本实施例对电子设备或音频设备发送超声信号的方式不做限定。例如,可以通过1个喇叭发送,也可以通过多个喇叭同时发送。
可选的,在采用超声信号实现同屋检测机制的另一种实现方式中,电子设备可以向音频设备发送交互信息,指示音频设备发送超声信号。若电子设备接收到音频设备发送的超声信号,则确定与音频设备位于同一房间。若电子设备没有接收到音频设备发送的超声信号,则确定与音频设备不在同一房间。本实现方式对交互信息的内容和传输方式不做限定。例如,可以通过蓝牙广播消息或路由器设备传输。
可选的,在本申请的又一实施例中,基于上述同屋检测机制,提供了S1603中,电子设备确定目标组网模式,确定用户确认的待组网的目标音频设备和目标音频设备对应的声道的一种实现方式。在本实施例中,电子设备通过同屋检测机制可以确定与电子设备在同一房间且可用于组建立体声的第二音频设备。为了方便说明,将与电子设备在同一房间且可用于组建立体声的第二音频设备称为第三音频设备。电子设备通过与用户的人机交互过程,显示第三音频设备并引导用户确认第三音频设备是否为目标音频设备,不需要用户在音频设备上按键,简化了用户操作,提高了用户感受。当电子设备与多个目标音频设备组网时,由电子设备根据多个目标音频设备与电子设备之间的位置关系自动确定目标音频设备对应的声道,实现方式灵活,提高了用户感受。
如图25所示,S1603中,电子设备确定用户确认的待组网的目标音频设备和目标音频设备对应的声道,可以包括:
S2501、电子设备显示音频设备识别界面,音频设备识别界面包括至少一个第三音频设备。音频设备识别界面用于引导用户确认第三音频设备是否为目标音频设备。
本实施例对音频设备识别界面的内容和布局不做限定。可选的,第三音频设备的个数或位置不同,确认第三音频设备是否为目标音频设备的方式不同,音频设备识别界面可以不同。
S2502、电子设备接收用户输入的反馈指令,反馈指令用于确认第三音频设备是否为目标音频设备。
下面结合图6所示场景,以第三音频设备为3个为例,对音频设备识别界面进行示例性说明,但并不形成限定。在图6中,3个第三音频设备包括音箱a、音箱b和音箱c。
可选的,在一个示例中,音频设备识别界面中的至少一个第三音频设备依次亮灯,用 户依次确认亮灯的第三音频设备是否为目标音频设备。
如图26A所示,音频设备识别界面71中包括音箱图案711~音箱图案713、图案714、组合按钮715、不组合按钮716、取消按钮717和引导信息。示例性的,引导信息包括文字“识别音箱”、“当前亮灯音箱是否与智慧屏组合”。音箱图案711~音箱图案713表示环境中存在3个第三音频设备。图案714指示1个音箱当前亮灯。通过图案714和引导信息,可以引导用户确认当前亮灯的音箱是否为目标音频设备。
可选的,用户可以对取消按钮717进行操作,输入设备识别取消指令。相应的,智慧屏响应于设备识别取消指令,结束自组网流程。
假设,当前亮灯的音箱为音箱c,用户确定不与智慧屏组建立体声。用户可以点击不组合按钮716,输入反馈指令,指示当前亮灯的音箱不是目标音频设备。相应的,智慧屏根据反馈指令确认当前亮灯的音箱不是目标音频设备,音频设备识别界面71变更为音频设备识别界面72,如图26B所示,继续引导用户确认第2个第三音频设备是否为目标音频设备。可选的,为了清晰的显示用户确认的目标音频设备的个数,在音频设备识别界面72中,可以不显示用户确认的不是目标音频设备的第三音频设备。例如,不显示音箱图案711。
假设,当前亮灯的音箱变更为音箱a,用户确定与智慧屏组建立体声。用户可以点击组合按钮715,输入反馈指令,指示当前亮灯的音箱为目标音频设备。相应的,智慧屏根据反馈指令确认第1个目标音频设备,音频设备识别界面72变更为音频设备识别界面73,如图26C所示,继续引导用户确认第3个第三音频设备是否为目标音频设备。
可选的,音频设备识别界面72中包括下一步按钮718。用户可以对下一步按钮718进行操作,输入设备识别确认指令。相应的,智慧屏响应于设备识别确认指令,确定目标音频设备的个数,并继续自组网流程。
如图26C所示,假设,当前亮灯的音箱变更为音箱b,用户确定与智慧屏组建立体声。用户可以点击组合按钮715,输入反馈指令,指示当前亮灯的音箱为目标音频设备。相应的,智慧屏根据反馈指令确认第2个目标音频设备,音频设备识别界面73变更为音频设备识别界面74,如图26D所示。
在上述过程中,若第三音频设备为1个,电子设备向该第三音频设备发送亮灯指示信息。若第三音频设备为多个,电子设备依次向第三音频设备发送亮灯指示信息。本实施例对向多个第三音频设备发送亮灯指示信息的顺序不做限定。其中,亮灯指示信息用于指示第三音频设备亮灯。可选的,亮灯指示信息可以通过蓝牙广播消息或BLE连接发送。
可选的,电子设备确定每个目标音频设备之后,还可以包括:
电子设备输出提示信息。提示信息用于指示电子设备是否成功确定目标音频设备。
示例性的,提示信息可以参见图26B~图26D中虚线框中的文字。
可选的,在另一个示例中,由于通过同屋检测机制,电子设备可以获知第三音频设备的位置,因此,音频设备识别界面可以将第三音频设备与电子设备之间的位置关系显示出来。电子设备控制第三音频设备均亮灯。对于第三音频设备中的非目标音频设备,用户可以在音频设备识别界面中进行操作,控制非目标音频设备灭灯,从而确认第三音频设备是否为目标音频设备。
如图27A所示,音频设备识别界面81中包括音箱图案811~音箱图案813、智慧屏图案814、下一步按钮816、取消按钮817和引导信息。示例性的,引导信息包括文字“识 别音箱”、“确认亮灯音箱是否与智慧屏组合。点击音箱下方的按钮,控制音箱灭灯”。可以看出,智慧屏的左侧有1个音箱,右侧有两个音箱。结合图6所示场景可知,音箱图案811对应音箱a、音箱图案812对应音箱b、音箱图案813对应音箱c。每个音箱图案的下方对应有控件815。用户可以对控件815进行操作,输入反馈指令。相应的,电子设备接收用户输入的反馈指令,并控制控件815的显示状态,指示音箱是否灭灯。通过音箱与智慧屏之间的位置关系和引导信息,可以引导用户对不组网的第三音频设备灭灯,从而确认目标音频设备。
在图6所示场景中,用户将音箱a和音箱b与智慧屏组网。用户可以点击音箱图案813下方的控件,输入反馈指令,控制音箱c灭灯。反馈指令指示第三音频设备不是目标音频设备。相应的,智慧屏响应于用户的操作,改变音箱图案813下方控件的显示状态,音频设备识别界面81变更为音频设备识别界面82,如图27B所示。
可以理解,在上述过程中,电子设备显示音频设备识别界面之前,向第三音频设备发送亮灯指示信息,控制第三音频设备亮灯。当电子设备接收用户输入的反馈指令后,向反馈指令对应的第三音频设备发送灭灯指示信息,控制第三音频设备灭灯。可选的,亮灯指示信息或灭灯指示信息可以通过蓝牙广播消息或BLE连接发送。
可选的,用户可以对取消按钮817进行操作,输入设备识别取消指令。相应的,智慧屏响应于设备识别取消指令,结束自组网流程。
可选的,用户可以对下一步按钮816进行操作,输入设备识别确认指令。相应的,智慧屏响应于设备识别确认指令,确定目标音频设备的个数,并继续自组网流程。
S2503、若目标音频设备为1个,电子设备确定该目标音频设备对应的声道。
S2504、若目标音频设备大于1个,电子设备获取多个目标音频设备与电子设备之间的位置关系,根据位置关系确定每个目标音频设备对应的声道。
可选的,在一种实现方式中,电子设备可以在同屋检测机制中确定每个第三音频设备与电子设备之间的位置关系,进而获取目标音频设备与电子设备之间的位置关系。例如,参见S2403。
可选的,在另一种实现方式中,参见S2106,电子设备通过定位技术确定多个目标音频设备与电子设备之间的位置关系,原理相似,此处不再赘述。
需要说明,在本实施例中,电子设备引导用户确认第三音频设备是否为目标音频设备时,电子设备可以控制第三音频设备执行其他的动作,本实施例对此不作限定。例如,可以控制第三音频设备发声等。
可选的,本实施例提供的立体声组网方法,S2504之后,还可以包括:
电子设备显示声道确认界面。声道确认界面用于引导用户确定目标音频设备对应的声道。
电子设备接收用户输入的声道确认指令,声道确认指令用于确定目标音频设备对应的声道是否正确。
可以参见图21所示实施例中的S2107~S2108,原理相似,此处不再赘述。
其中,关于S1603中,电子设备确定目标组网模式的实现方式可以参见图21所示实施例中的相关说明,此处不再赘述。
可以理解的是,电子设备和音频设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对电子设备和音频设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个模块中。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。需要说明的是,本申请实施例中模块的名称是示意性的,实际实现时对模块的名称不做限定。
图28为本申请实施例提供的装置的一种结构示意图,所述装置可以应用于电子设备中。如图28所示,所述装置包括:
第一接收模块2801,用于接收至少一个音频设备分别发送的蓝牙广播消息;所述蓝牙广播消息用于指示所述音频设备是否已组建立体声以及是否允许所述音频设备组建立体声;
处理模块2802,用于当根据至少一个所述蓝牙广播消息确定所述至少一个音频设备中存在可用于组建立体声的第二音频设备时,显示立体声组建弹框;所述立体声组建弹框用于向用户询问电子设备是否组建立体声或重新组建立体声。
可选的,还包括第二接收模块2803;
所述第二接收模块2803,用于接收所述用户输入的立体声组建指令;所述立体声组建指令用于指示所述电子设备组建立体声或重新组建立体声;
所述处理模块2802,还用于确定目标组网模式、至少一个目标音频设备和每个所述目标音频设备对应的声道;所述目标音频设备为所述用户在所述第二音频设备中确认的与所述电子设备组建立体声的音频设备,所述目标组网模式为所述电子设备和所述至少一个目标音频设备组建立体声的组网模式;
所述处理模块2802,还用于与每个所述目标音频设备建立Wi-Fi连接。
可选的,所述组网模式包括:
第一组网模式;在所述第一组网模式中,所述电子设备与1个目标音频设备组建立体声,所述1个目标音频设备的声道为重低音声道;
第二组网模式;在所述第二组网模式中,所述电子设备与2个目标音频设备组建立体声,所述2个目标音频设备的声道分别为左声道和右声道;
第三组网模式;在所述第三组网模式中,所述电子设备与2个目标音频设备组建立体声,所述2个目标音频设备的声道分别为左环绕声道和右环绕声道;
第四组网模式;在所述第四组网模式中,所述电子设备与4个目标音频设备组建立体声,所述4个目标音频设备的声道分别为左声道、右声道、左环绕声道和右环绕声道。
可选的,所述处理模块2802用于:
获取所述用户输入的所述目标组网模式;
根据所述目标组网模式确定所述目标音频设备的个数和所述至少一个目标音频设备 的预设确认顺序;
向所述第二音频设备发送待组网通知信息;所述待组网通知信息用于通知所述第二音频设备检测所述用户是否对所述第二音频设备上的目标按键进行预设操作;
显示第一音频设备识别界面;所述第一音频设备识别界面用于引导所述用户按照所述预设确认顺序依次在所述至少一个目标音频设备上对所述目标按键进行所述预设操作;
接收至少一个所述第二音频设备按照所述预设确认顺序依次发送的设备识别信息;所述设备识别信息用于指示所述第二音频设备为所述目标音频设备;
根据所述设备识别信息确定所述至少一个目标音频设备,并根据所述预设确认顺序确定每个所述目标音频设备对应的声道。
可选的,所述预设确认顺序包括下列中的任一项:
所述目标音频设备为2个时,依次确认左声道和右声道的目标音频设备;
所述目标音频设备为2个时,依次确认左环绕声道和右环绕声道的目标音频设备;
所述目标音频设备为4个时,依次确认左声道、右声道、左环绕声道和右环绕声道的目标音频设备。
可选的,所述处理模块2802还用于:
输出第一提示信息;所述第一提示信息用于指示所述电子设备成功确定所述至少一个目标音频设备。
可选的,所述处理模块2802用于:
向所述第二音频设备发送待组网通知信息;所述待组网通知信息用于通知所述第二音频设备检测所述用户是否对所述第二音频设备上的目标按键进行预设操作;
显示第二音频设备识别界面;所述第二音频设备识别界面用于引导所述用户在所述第二音频设备上对所述目标按键进行所述预设操作;
接收至少一个所述第二音频设备分别发送的设备识别信息;所述设备识别信息用于指示所述第二音频设备为所述目标音频设备;
根据所述设备识别信息确定所述至少一个目标音频设备,并确定每个所述目标音频设备对应的声道。
可选的,所述处理模块2802用于:
若所述目标音频设备的个数为1个,确定所述目标音频设备对应重低音声道;
若所述目标音频设备的个数大于1,通过定位技术确定每个所述目标音频设备与所述电子设备之间的位置关系,根据所述位置关系确定每个所述目标音频设备对应的声道。
可选的,所述处理模块2802用于:
向所述目标音频设备发送超声检测信息;
接收所述目标音频设备发送的超声信号;
根据所述超声信号确定所述目标音频设备与所述电子设备之间的位置关系。
可选的,所述根据所述设备识别信息确定所述至少一个目标音频设备之后,所述处理模块2802还用于:
输出第二提示信息;所述第二提示信息用于指示所述电子设备成功确定所述至少一个目标音频设备。
可选的,还包括发送模块2804,所述发送模块2804用于:
向所述第二音频设备发送BLE广播消息,所述BLE广播消息包括所述待组网通知信息。
可选的,所述目标按键为下列中的任意一个:静音按键、播放按键或暂停按键。
可选的,还包括发送模块2804;
所述发送模块2804,用于在显示立体声组建弹框之前,向所述第二音频设备发送第一超声信号;
所述第一接收模块2801,还用于接收所述第二音频设备中的至少一个第三音频设备发送的第二超声信号。
可选的,所述处理模块2802还用于:
根据所述第二超声信号确定所述第三音频设备与所述电子设备之间的位置关系。
可选的,所述处理模块2802用于:
显示第三音频设备识别界面;所述第三音频设备识别界面包括所述至少一个第三音频设备,所述第三音频设备识别界面用于引导所述用户确认所述第三音频设备是否为所述目标音频设备;
接收所述用户输入的反馈指令,所述反馈指令用于确认所述第三音频设备是否为所述目标音频设备;
根据所述反馈指令确定所述至少一个目标音频设备,并确定每个所述目标音频设备对应的声道。
可选的,所述第三音频设备识别界面还用于指示所述至少一个第三音频设备与所述电子设备之间的位置关系。
可选的,所述处理模块2802用于:
若所述目标音频设备的个数为1个,确定所述目标音频设备对应重低音声道;
若所述目标音频设备的个数大于1,获取每个所述目标音频设备与所述电子设备之间的位置关系,根据所述位置关系确定每个所述目标音频设备对应的声道。
可选的,所述处理模块2802用于:
获取所述用户输入的所述目标组网模式。
可选的,所述处理模块2802用于:
若所述目标音频设备的个数为1个,确定所述目标组网模式为第一组网模式;其中,在所述第一组网模式中,所述目标音频设备的声道为重低音声道;
若所述目标音频设备的个数大于1,根据每个所述目标音频设备与所述电子设备之间的位置关系确定所述目标组网模式。
可选的,所述处理模块2802,还用于显示声道确认界面;所述声道确认界面用于引导所述用户确定所述目标音频设备对应的声道是否正确;
所述第二接收模块2803,还用于接收所述用户输入的声道确认指令,所述声道确认指令用于确定所述目标音频设备对应的声道是否正确。
可选的,所述处理模块2802还用于:在与每个所述目标音频设备建立Wi-Fi连接之前,当确定所述目标音频设备未配置WLAN网络,则为所述目标音频设备配置目标WLAN网络;所述目标WLAN网络为所述电子设备已配置的WLAN网络。
可选的,所述处理模块2802用于:
显示音频设备网络配置界面,所述音频设备网络配置界面用于为所述目标音频设备配置所述目标WLAN网络;
接收所述用户的连接网络操作;
响应于所述连接网络操作,控制所述目标音频设备接入所述目标WLAN网络。
可选的,所述蓝牙广播消息包括组网标识信息、组网指示信息和音频设备的产品型号,所述组网标识信息用于指示所述音频设备是否已组建立体声,所述组网指示信息用于指示是否允许所述音频设备组建立体声。
可选的,所述处理模块2802用于:
若所述蓝牙广播消息中的所述组网指示信息指示允许所述音频设备组建立体声,确定存在所述第二音频设备。
可选的,所述处理模块2802还用于:在确定存在所述第二音频设备之前,确定所述蓝牙广播消息的信号强度大于预设阈值。
可选的,所述处理模块2802还用于:在确定存在所述第二音频设备之前,确定所述电子设备当前未进行投屏业务。
可选的,所述蓝牙广播消息还包括配网信息,所述配网信息用于指示所述音频设备是否已配置WLAN网络。
本实施例提供的装置,用于实现上述方法实施例提供的立体声组网方法中电子设备执行的操作,技术原理和技术效果相似,此处不再赘述。
图29为本申请实施例提供的装置的另一种结构示意图。所述装置可以应用于音频设备中。如图29所示,所述装置包括:
处理模块2902,用于生成蓝牙广播消息;所述蓝牙广播消息用于指示音频设备是否已组建立体声以及是否允许所述音频设备组建立体声;
发送模块2901,用于向电子设备发送所述蓝牙广播消息。
可选的,所述处理模块2902还用于:与所述电子设备建立Wi-Fi连接。
可选的,还包括接收模块2903;
所述接收模块2903,用于在与所述电子设备建立Wi-Fi连接之前,接收所述电子设备发送的待组网通知信息;所述待组网通知信息用于通知检测用户是否对目标按键进行预设操作;
所述发送模块2901,还用于若检测到所述用户对所述目标按键进行所述预设操作,向所述电子设备发送设备识别信息;所述设备识别信息用于指示所述音频设备为与所述电子设备组建立体声的目标音频设备。
可选的,所述发送模块2901用于:接收所述电子设备发送的BLE广播消息,所述BLE广播消息包括所述待组网通知信息。
可选的,所述目标按键为下列中的任意一个:静音按键、播放按键或暂停按键。
可选的,还包括接收模块2903;
所述接收模块2903,用于在与所述电子设备建立Wi-Fi连接之前,接收所述电子设备发送的超声检测信息;
所述发送模块2901,还用于向所述电子设备发送超声信号。
可选的,还包括接收模块2903;
所述接收模块2903,用于在与所述电子设备建立Wi-Fi连接之前,接收所述电子设备发送的第一超声信号;
所述发送模块2901,还用于向所述电子设备发送第二超声信号。
可选的,所述蓝牙广播消息包括组网标识信息、组网指示信息和音频设备的产品型号,所述组网标识信息用于指示所述音频设备是否已组建立体声,所述组网指示信息用于指示是否允许所述音频设备组建立体声。
可选的,所述蓝牙广播消息还包括配网信息,所述配网信息用于指示所述音频设备是否已配置WLAN网络。
本实施例提供的装置,用于实现上述方法实施例提供的立体声组网方法中音频设备执行的操作,技术原理和技术效果相似,此处不再赘述。
请参考图30,其示出了本申请实施例提供的设备的一种结构,设备可以为电子设备或音频设备。该设备包括:处理器3001、接收器3002、发射器3003、存储器3004和总线3005。处理器3001包括一个或者多个处理核心,处理器3001通过运行软件程序以及模块,从而执行各种功能的应用以及信息处理。接收器3002和发射器3003可以实现为一个通信组件,该通信组件可以是一块基带芯片。存储器3004通过总线3005和处理器3001相连。存储器3004可用于存储至少一个程序指令,处理器3001用于执行至少一个程序指令,以实现上述实施例的技术方案。其实现原理和技术效果与上述方法相关实施例类似,此处不再赘述。
当设备开机后,处理器可以读取存储器中的软件程序,解释并执行软件程序的指令,处理软件程序的数据。当需要通过天线发送数据时,处理器对待发送的数据进行基带处理后,输出基带信号至控制电路中的控制电路,控制电路将基带信号进行射频处理后将射频信号通过天线以电磁波的形式向外发送。当有数据发送到设备时,控制电路通过天线接收到射频信号,将射频信号转换为基带信号,并将基带信号输出至处理器,处理器将基带信号转换为数据并对该数据进行处理。
本领域技术人员可以理解,为了便于说明,图30仅示出了一个存储器和处理器。在实际的设备中,可以存在多个处理器和存储器。存储器也可以称为存储介质或者存储设备等,本申请实施例对此不做限制。
作为一种可选的实现方式,处理器可以包括基带处理器和中央处理器,基带处理器主要用于对通信数据进行处理,中央处理器主要用于执行软件程序,处理软件程序的数据。本领域技术人员可以理解,基带处理器和中央处理器可以集成在一个处理器中,也可以是各自独立的处理器,通过总线等技术互联。本领域技术人员可以理解,设备可以包括多个基带处理器以适应不同的网络制式,设备可以包括多个中央处理器以增强其处理能力,设备的各个部件可以通过各种总线连接。该基带处理器也可以表述为基带处理电路或者基带处理芯片。该中央处理器也可以表述为中央处理电路或者中央处理芯片。对通信协议以及通信数据进行处理的功能可以内置在处理器中,也可以以软件程序的形式存储在存储器中,由处理器执行软件程序以实现基带处理功能。该存储器可以集成在处理器中,也可以独立在处理器之外。该存储器包括高速缓存Cache,可以存放频繁访问的数据/指令。
在本申请实施例中,处理器可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。
在本申请实施例中,存储器可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SS)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,不限于此。
本申请实施例中的存储器还可以是电路或者其它任意能够实现存储功能的装置,用于存储程序指令和/或数据。本申请各实施例提供的方法中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、网络设备、用户设备或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机可以存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘(digital video disc,DWD)、或者半导体介质(例如,SSD)等。
本申请实施例提供一种计算机程序产品,当所述计算机程序产品在设备运行时,使得所述设备执行上述实施例中的技术方案。其实现原理和技术效果与上述相关实施例类似,此处不再赘述。所述设备可以为电子设备或音频设备。
本申请实施例提供一种计算机可读存储介质,其上存储有程序指令,所述程序指令被设备执行时,使得所述设备执行上述实施例的技术方案。其实现原理和技术效果与上述相关实施例类似,此处不再赘述。所述设备可以为电子设备或音频设备。
综上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (39)

  1. 一种立体声组网方法,应用于电子设备,其特征在于,包括:
    接收至少一个音频设备分别发送的蓝牙广播消息;所述蓝牙广播消息用于指示所述音频设备是否已组建立体声以及是否允许所述音频设备组建立体声;
    当根据至少一个所述蓝牙广播消息确定所述至少一个音频设备中存在可用于组建立体声的第二音频设备时,显示立体声组建弹框;所述立体声组建弹框用于向用户询问所述电子设备是否组建立体声或重新组建立体声。
  2. 根据权利要求1所述的方法,其特征在于,还包括:
    接收所述用户输入的立体声组建指令;所述立体声组建指令用于指示所述电子设备组建立体声或重新组建立体声;
    确定目标组网模式、至少一个目标音频设备和每个所述目标音频设备对应的声道;所述目标音频设备为所述用户在所述第二音频设备中确认的与所述电子设备组建立体声的音频设备,所述目标组网模式为所述电子设备和所述至少一个目标音频设备组建立体声的组网模式;
    与每个所述目标音频设备建立无线保真Wi-Fi连接。
  3. 根据权利要求2所述的方法,其特征在于,所述组网模式包括:
    第一组网模式;在所述第一组网模式中,所述电子设备与1个目标音频设备组建立体声,所述1个目标音频设备的声道为重低音声道;
    第二组网模式;在所述第二组网模式中,所述电子设备与2个目标音频设备组建立体声,所述2个目标音频设备的声道分别为左声道和右声道;
    第三组网模式;在所述第三组网模式中,所述电子设备与2个目标音频设备组建立体声,所述2个目标音频设备的声道分别为左环绕声道和右环绕声道;
    第四组网模式;在所述第四组网模式中,所述电子设备与4个目标音频设备组建立体声,所述4个目标音频设备的声道分别为左声道、右声道、左环绕声道和右环绕声道。
  4. 根据权利要求2或3所述的方法,其特征在于,所述确定目标组网模式、至少一个目标音频设备和每个所述目标音频设备对应的声道,包括:
    获取所述用户输入的所述目标组网模式;
    根据所述目标组网模式确定所述目标音频设备的个数和所述至少一个目标音频设备的预设确认顺序;
    向所述第二音频设备发送待组网通知信息;所述待组网通知信息用于通知所述第二音频设备检测所述用户是否对所述第二音频设备上的目标按键进行预设操作;
    显示第一音频设备识别界面;所述第一音频设备识别界面用于引导所述用户按照所述预设确认顺序依次在所述至少一个目标音频设备上对所述目标按键进行所述预设操作;
    接收至少一个所述第二音频设备按照所述预设确认顺序依次发送的设备识别信息;所述设备识别信息用于指示所述第二音频设备为所述目标音频设备;
    根据所述设备识别信息确定所述至少一个目标音频设备,并根据所述预设确认顺序确定每个所述目标音频设备对应的声道。
  5. 根据权利要求4所述的方法,其特征在于,所述预设确认顺序包括下列中的任一项:
    所述目标音频设备为2个时,依次确认左声道和右声道的目标音频设备;
    所述目标音频设备为2个时,依次确认左环绕声道和右环绕声道的目标音频设备;
    所述目标音频设备为4个时,依次确认左声道、右声道、左环绕声道和右环绕声道的目标音频设备。
  6. 根据权利要求4所述的方法,其特征在于,还包括:
    输出第一提示信息;所述第一提示信息用于指示所述电子设备成功确定所述至少一个目标音频设备。
  7. 根据权利要求2或3所述的方法,其特征在于,确定至少一个目标音频设备和每个所述目标音频设备对应的声道,包括:
    向所述第二音频设备发送待组网通知信息;所述待组网通知信息用于通知所述第二音频设备检测所述用户是否对所述第二音频设备上的目标按键进行预设操作;
    显示第二音频设备识别界面;所述第二音频设备识别界面用于引导所述用户在所述第二音频设备上对所述目标按键进行所述预设操作;
    接收至少一个所述第二音频设备分别发送的设备识别信息;所述设备识别信息用于指示所述第二音频设备为所述目标音频设备;
    根据所述设备识别信息确定所述至少一个目标音频设备,并确定每个所述目标音频设备对应的声道。
  8. 根据权利要求7所述的方法,其特征在于,所述确定每个所述目标音频设备对应的声道,包括:
    若所述目标音频设备的个数为1个,确定所述目标音频设备对应重低音声道;
    若所述目标音频设备的个数大于1,通过定位技术确定每个所述目标音频设备与所述电子设备之间的位置关系,根据所述位置关系确定每个所述目标音频设备对应的声道。
  9. 根据权利要求8所述的方法,其特征在于,所述通过定位技术确定每个所述目标音频设备与所述电子设备之间的位置关系,包括:
    向所述目标音频设备发送超声检测信息;
    接收所述目标音频设备发送的超声信号;
    根据所述超声信号确定所述目标音频设备与所述电子设备之间的位置关系。
  10. 根据权利要求7所述的方法,其特征在于,所述根据所述设备识别信息确定所述至少一个目标音频设备之后,还包括:
    输出第二提示信息;所述第二提示信息用于指示所述电子设备成功确定所述至少一个目标音频设备。
  11. 根据权利要求4-10中任一项所述的方法,其特征在于,所述向所述第二音频设备发送待组网通知信息,包括:
    向所述第二音频设备发送蓝牙低功耗BLE广播消息,所述BLE广播消息包括所述待组网通知信息。
  12. 根据权利要求4-10中任一项所述的方法,其特征在于,所述目标按键为下列中的任意一个:静音按键、播放按键或暂停按键。
  13. 根据权利要求2或3所述的方法,其特征在于,所述显示立体声组建弹框之前,还包括:
    向所述第二音频设备发送第一超声信号;
    接收所述第二音频设备中的至少一个第三音频设备发送的第二超声信号。
  14. 根据权利要求13所述的方法,其特征在于,还包括:
    根据所述第二超声信号确定所述第三音频设备与所述电子设备之间的位置关系。
  15. 根据权利要求13或14所述的方法,其特征在于,确定至少一个目标音频设备和每个所述目标音频设备对应的声道,包括:
    显示第三音频设备识别界面;所述第三音频设备识别界面包括所述至少一个第三音频设备,所述第三音频设备识别界面用于引导所述用户确认所述第三音频设备是否为所述目标音频设备;
    接收所述用户输入的反馈指令,所述反馈指令用于确认所述第三音频设备是否为所述目标音频设备;
    根据所述反馈指令确定所述至少一个目标音频设备,并确定每个所述目标音频设备对应的声道。
  16. 根据权利要求15所述的方法,其特征在于,所述第三音频设备识别界面还用于指示所述至少一个第三音频设备与所述电子设备之间的位置关系。
  17. 根据权利要求15所述的方法,其特征在于,所述确定每个所述目标音频设备对应的声道,包括:
    若所述目标音频设备的个数为1个,确定所述目标音频设备对应重低音声道;
    若所述目标音频设备的个数大于1,获取每个所述目标音频设备与所述电子设备之间的位置关系,根据所述位置关系确定每个所述目标音频设备对应的声道。
  18. 根据权利要求7-17中任一项所述的方法,其特征在于,所述确定目标组网模式,包括:
    获取所述用户输入的所述目标组网模式。
  19. 根据权利要求8-9、17中任一项所述的方法,其特征在于,所述确定目标组网模式,包括:
    若所述目标音频设备的个数为1个,确定所述目标组网模式为第一组网模式;其中,在所述第一组网模式中,所述目标音频设备的声道为重低音声道;
    若所述目标音频设备的个数大于1,根据每个所述目标音频设备与所述电子设备之间的位置关系确定所述目标组网模式。
  20. 根据权利要求7-19中任一项所述的方法,其特征在于,还包括:
    显示声道确认界面;所述声道确认界面用于引导所述用户确定所述目标音频设备对应的声道是否正确;
    接收所述用户输入的声道确认指令,所述声道确认指令用于确定所述目标音频设备对应的声道是否正确。
  21. 根据权利要求2-20中任一项所述的方法,其特征在于,所述与每个所述目标音频设备建立Wi-Fi连接之前,还包括:
    当确定所述目标音频设备未配置无线局域网WLAN网络,则为所述目标音频设备配置目标WLAN网络;所述目标WLAN网络为所述电子设备已配置的WLAN网络。
  22. 根据权利要求21所述的方法,其特征在于,所述为所述目标音频设备配置目标WLAN网络,包括:
    显示音频设备网络配置界面,所述音频设备网络配置界面用于为所述目标音频设备配置所述目标WLAN网络;
    接收所述用户的连接网络操作;
    响应于所述连接网络操作,控制所述目标音频设备接入所述目标WLAN网络。
  23. 根据权利要求1-22中任一项所述的方法,其特征在于,所述蓝牙广播消息包括组网标识信息、组网指示信息和音频设备的产品型号,所述组网标识信息用于指示所述音频设备是否已组建立体声,所述组网指示信息用于指示是否允许所述音频设备组建立体声。
  24. 根据权利要求23所述的方法,其特征在于,所述根据至少一个所述蓝牙广播消息确定所述至少一个音频设备中存在可用于组建立体声的第二音频设备,包括:
    若所述蓝牙广播消息中的所述组网指示信息指示允许所述音频设备组建立体声,确定存在所述第二音频设备。
  25. 根据权利要求23所述的方法,其特征在于,所述确定存在所述第二音频设备之前,还包括:
    确定所述蓝牙广播消息的信号强度大于预设阈值。
  26. 根据权利要求23所述的方法,其特征在于,所述确定存在所述第二音频设备之前,还包括:
    确定所述电子设备当前未进行投屏业务。
  27. 根据权利要求1-26中任一项所述的方法,其特征在于,所述蓝牙广播消息还包括配网信息,所述配网信息用于指示所述音频设备是否已配置WLAN网络。
  28. 一种立体声组网方法,应用于音频设备,其特征在于,包括:
    生成蓝牙广播消息;所述蓝牙广播消息用于指示所述音频设备是否已组建立体声以及是否允许所述音频设备组建立体声;
    向电子设备发送所述蓝牙广播消息。
  29. 根据权利要求28所述的方法,其特征在于,还包括:
    与所述电子设备建立无线保真Wi-Fi连接。
  30. 根据权利要求29所述的方法,其特征在于,所述与所述电子设备建立Wi-Fi连接之前,还包括:
    接收所述电子设备发送的待组网通知信息;所述待组网通知信息用于通知检测用户是否对目标按键进行预设操作;
    若检测到所述用户对所述目标按键进行所述预设操作,向所述电子设备发送设备识别信息;所述设备识别信息用于指示所述音频设备为与所述电子设备组建立体声的目标音频设备。
  31. 根据权利要求30所述的方法,其特征在于,所述接收所述电子设备发送的待组网通知信息,包括:
    接收所述电子设备发送的蓝牙低能耗BLE广播消息,所述BLE广播消息包括所述待组网通知信息。
  32. 根据权利要求30或31所述的方法,其特征在于,所述目标按键为下列中的任意一个:静音按键、播放按键或暂停按键。
  33. 根据权利要求29所述的方法,其特征在于,所述与所述电子设备建立Wi-Fi连接 之前,还包括:
    接收所述电子设备发送的超声检测信息;
    向所述电子设备发送超声信号。
  34. 根据权利要求29所述的方法,其特征在于,所述与所述电子设备建立Wi-Fi连接之前,还包括:
    接收所述电子设备发送的第一超声信号;
    向所述电子设备发送第二超声信号。
  35. 根据权利要求28-34中任一项所述的方法,其特征在于,所述蓝牙广播消息包括组网标识信息、组网指示信息和音频设备的产品型号,所述组网标识信息用于指示所述音频设备是否已组建立体声,所述组网指示信息用于指示是否允许所述音频设备组建立体声。
  36. 根据权利要求28-34中任一项所述的方法,其特征在于,所述蓝牙广播消息还包括配网信息,所述配网信息用于指示所述音频设备是否已配置无线局域网WLAN网络。
  37. 一种电子设备,其特征在于,所述电子设备包括处理器,所述处理器用于与存储器耦合,并读取存储器中的指令并根据所述指令使得所述电子设备执行如权利要求1-27中任一项所述的方法。
  38. 一种音频设备,其特征在于,所述音频设备包括处理器,所述处理器用于与存储器耦合,并读取存储器中的指令并根据所述指令使得所述音频设备执行如权利要求28-36中任一项所述的方法。
  39. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机指令,当所述计算机指令在设备上运行时,使得所述设备执行如权利要求1-27中任一项所述的方法,或执行如权利要求28-36所述的方法。
PCT/CN2022/107641 2021-07-28 2022-07-25 立体声组网方法、电子设备、音频设备和存储介质 WO2023005881A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP22848486.1A EP4358559A1 (en) 2021-07-28 2022-07-25 Stereo networking method, and electronic device, audio device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110859206.X 2021-07-28
CN202110859206.XA CN115696282A (zh) 2021-07-28 2021-07-28 立体声组网方法、电子设备、音频设备和存储介质

Publications (1)

Publication Number Publication Date
WO2023005881A1 true WO2023005881A1 (zh) 2023-02-02

Family

ID=85057976

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/107641 WO2023005881A1 (zh) 2021-07-28 2022-07-25 立体声组网方法、电子设备、音频设备和存储介质

Country Status (3)

Country Link
EP (1) EP4358559A1 (zh)
CN (1) CN115696282A (zh)
WO (1) WO2023005881A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100197347A1 (en) * 2009-01-30 2010-08-05 Kwang Wee Lee System and method for remotely operating a wireless device using a server and client architecture
CN105023593A (zh) * 2014-04-18 2015-11-04 联想移动通信科技有限公司 一种终端音频播放方法、装置及终端
CN110191442A (zh) * 2019-04-18 2019-08-30 华为技术有限公司 一种蓝牙连接方法、设备及系统
CN112020045A (zh) * 2019-05-31 2020-12-01 苹果公司 到多个无线音频输出设备的并发音频流式传输

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100197347A1 (en) * 2009-01-30 2010-08-05 Kwang Wee Lee System and method for remotely operating a wireless device using a server and client architecture
CN105023593A (zh) * 2014-04-18 2015-11-04 联想移动通信科技有限公司 一种终端音频播放方法、装置及终端
CN110191442A (zh) * 2019-04-18 2019-08-30 华为技术有限公司 一种蓝牙连接方法、设备及系统
CN112020045A (zh) * 2019-05-31 2020-12-01 苹果公司 到多个无线音频输出设备的并发音频流式传输

Also Published As

Publication number Publication date
EP4358559A1 (en) 2024-04-24
CN115696282A (zh) 2023-02-03

Similar Documents

Publication Publication Date Title
US20210194974A1 (en) Systems, Methods, Apparatus, and Articles of Manufacture to Provide Automatic Wireless Configuration
KR102422270B1 (ko) 오디오 응답 재생
US11356777B2 (en) Playback transitions
EP3186974B1 (en) Wireless speaker system
US8929816B2 (en) Multiple apparatus selection via touch
US10681479B2 (en) Methods, devices and systems for bluetooth audio transmission
US9973872B2 (en) Surround sound effects provided by cell phones
EP3312730B1 (en) Control terminal device, audio system, and audio system control method
CN105812906B (zh) 一种播放设备的通信控制方法和装置
WO2005060308A1 (en) Dynamic sweet spot tracking
JP6451596B2 (ja) オーディオ装置およびオーディオ機器
CN105846865B (zh) 用于蓝牙音频传输的方法、设备和系统
WO2020063062A1 (zh) 设备连接方法、装置、电子设备及计算机可读介质
KR20230074234A (ko) 재생 장치에 대한 지능적 셋업
JP5019597B2 (ja) 無線通信デバイス、無線通信システムおよびネットワーク制御方法
WO2017029947A1 (ja) オーディオシステム、オーディオ機器、及び、オーディオ信号再生方法
US9723406B2 (en) System and method for changing a channel configuration of a set of audio output devices
WO2023005881A1 (zh) 立体声组网方法、电子设备、音频设备和存储介质
CN105828253A (zh) 音频播放系统中的无线连接控制方法及装置
US20200233635A1 (en) Playing Media Content in Response to Detecting Items Having Corresponding Media Content Associated Therewith
WO2023151423A1 (zh) 设备连接方法、装置、设备及存储介质
CN114915511B (zh) 一种分体设备的控制方法及装置
CN108337715A (zh) 无线网络连接方法、装置、终端设备及存储介质
CN105682010A (zh) 音频播放系统中的蓝牙连接控制方法、装置及播放设备
CN115708390A (zh) 一种设备管理系统、方法和主控设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22848486

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022848486

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 18292196

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2022848486

Country of ref document: EP

Effective date: 20240117

NENP Non-entry into the national phase

Ref country code: DE