Embodiments of this application relate to the field of communication technologies, and in particular, to a stereo networking method, an electronic device, an audio device, and a storage medium.
As a Wireless Fidelity (wireless fidelity, Wi-Fi) technology is widely applied, a Wi-Fi network access function is added to devices such as a smartphone, a speaker, and a television. Wi-Fi speakers are obtained by combining the Wi-Fi technology with conventional speakers.
Currently, an electronic device and a Wi-Fi speaker may establish stereo by using a Wi-Fi router, to implement different sound effects. When the electronic device and the Wi-Fi speaker establish stereo, the electronic device and the Wi-Fi speaker need to access a same wireless local area network established by the Wi-Fi router, the electronic device and the Wi-Fi speaker use a same user account, and the Wi-Fi router can forward packets between the electronic device and the Wi-Fi speaker. Conditions for the electronic device and the Wi-Fi speaker to establish stereo are harsh and do not facilitate establishment of the stereo.
Embodiments of this application provide a stereo networking method, an electronic device, an audio device, and a storage medium, to implement higher flexibility and efficiency of stereo networking and improve user experience.
According to a first aspect, a stereo networking method is provided. The method is applied to an electronic device. The method includes: receiving a Bluetooth broadcast message separately sent by at least one audio device, where the Bluetooth broadcast message indicates whether the audio device has established stereo and whether the audio device is allowed to establish stereo; and when determining, based on the at least one Bluetooth broadcast message, that a second audio device available for establishing stereo exists in the at least one audio device, displaying a stereo establishment pop-up box, where the stereo establishment pop-up box is used to ask a user whether to allow the electronic device to establish stereo or re-establish stereo.
According to the stereo networking method provided in the first aspect, the electronic device and the audio device may perform short-range communication. Based on short-range communication, the electronic device may directly and automatically discover an audio device available for establishing stereo, ask the user whether to establish stereo, and establish stereo with the audio device based on a user requirement. According to the stereo networking method provided in an embodiment of this application, it is not required that the electronic device and the audio device access a same local area network and have a same user account. In a configuration process of stereo networking, operations of configuring a network for the electronic device and the audio device in advance and configuring a combination of a plurality of audio devices are omitted. This simplifies a user configuration step, implements higher flexibility and efficiency of networking, and improves user experience.
In a possible implementation, the method further includes: receiving a stereo establishment instruction input by the user, where the stereo establishment instruction instructs the electronic device to establish stereo or re-establish stereo; determining a target networking mode, at least one target audio device, and a sound channel corresponding to each target audio device, where the target audio device is an audio device that is determined by the user in the second audio device and that establishes stereo with the electronic device, and the target networking mode is a networking mode in which the electronic device and the at least one target audio device establish stereo; and establishing a Wi-Fi connection to each target audio device.
In this implementation, when the user determines that the electronic device establishes stereo or re-establishes stereo, the target networking mode and the to-be-networked target audio device determined by the user are determined, and the Wi-Fi connection to the target audio device is established to establish stereo. Because the target audio device is determined by the user, the electronic device and the target audio device determined by the user establish the Wi-Fi connection in compliance with an intention and a requirement of the user. This avoids that a Wi-Fi connection to another audio device affects proper operation of the another audio device. This improves stereo networking accuracy.
In a possible implementation, the networking mode includes: a first networking mode, where in the first networking mode, the electronic device establishes stereo with one target audio device, and a sound channel of the one target audio device is a heavy bass sound channel; a second networking mode, where in the second networking mode, the electronic device establishes stereo with two target audio devices, and sound channels of the two target audio devices are a left sound channel and a right sound channel respectively; a third networking mode, where in the third networking mode, the electronic device establishes stereo with two target audio devices, and sound channels of the two target audio devices are a left surround sound channel and a right surround sound channel respectively; and a fourth networking mode, where in the fourth networking mode, the electronic device establishes stereo with four target audio devices, and sound channels of the four target audio devices are a left sound channel, a right sound channel, a left surround sound channel, and a right surround sound channel respectively.
In a possible implementation, the determining a target networking mode, at least one target audio device, and a sound channel corresponding to each target audio device includes: obtaining the target networking mode input by the user; determining a quantity of the target audio devices and a preset determining sequence of the at least one target audio device based on the target networking mode; sending to-be-networked notification information to the second audio device, where the to-be-networked notification information indicates the second audio device to detect whether the user performs a preset operation on a target button on the second audio device; displaying a first audio device identification screen, where the first audio device identification screen is used to guide the user to sequentially perform, according to the preset determining sequence, the preset operation on the target button on the at least one target audio device; receiving device identification information sequentially sent by the at least one second audio device according to the preset determining sequence, where the device identification information indicates that the second audio device is the target audio device; and determining the at least one target audio device based on the device identification information, and determining, according to the preset determining sequence, the sound channel corresponding to each target audio device.
In this implementation, the user inputs the target networking mode. The electronic device displays the first audio device identification screen, to guide the user to sequentially perform, according to the preset determining sequence, the preset operation on the target button on the at least one target audio device, to determine the target audio device networked with the electronic device. The user performs an operation on the audio device to determine that the audio device is the target audio device. This improves accuracy of determining the target audio device by the user, further improves accuracy of networking between the electronic device and the target audio device, and avoids incorrect networking. When the electronic device is networked with a plurality of target audio devices, the target audio devices are sequentially determined by the user according to the preset determining sequence. This is a simple implementation.
In a possible implementation, the preset determining sequence includes any one of the following: when there are two target audio devices, sequentially determining the target audio devices of the left sound channel and the right sound channel; when there are two target audio devices, sequentially determining the target audio devices of the left surround sound channel and the right surround sound channel; or when there are four target audio devices, sequentially determining the target audio devices of the left sound channel, the right sound channel, the left surround sound channel, and the right surround sound channel.
In a possible implementation, the method further includes: outputting first prompt information, where the first prompt information indicates that the electronic device successfully determines the at least one target audio device.
In a possible implementation, the determining at least one target audio device and a sound channel corresponding to each target audio device includes: sending to-be-networked notification information to the second audio device, where the to-be-networked notification information indicates the second audio device to detect whether the user performs a preset operation on a target button on the second audio device; displaying a second audio device identification screen, where the second audio device identification screen is used to guide the user to perform the preset operation on the target button on the second audio device; receiving device identification information separately sent by the at least one second audio device, where the device identification information indicates that the second audio device is the target audio device; and determining the at least one target audio device based on the device identification information, and determining the sound channel corresponding to each target audio device.
In this implementation, the user performs an operation on the audio device to determine that the audio device is the target audio device. However, a sequence of user operations on the audio device is not limited. The electronic device determines a location relationship between a plurality of target audio devices and the electronic device by using a positioning technology, and then determines the sound channel corresponding to the target audio device. This reduces a limitation on the sequence of the user operations, provides a flexible implementation, and improves user experience.
In a possible implementation, the determining a sound channel corresponding to each target audio device includes: if the quantity of the target audio devices is one, determining that the target audio device corresponds to a heavy bass sound channel; or if the quantity of the target audio devices is greater than one, determining the location relationship between each target audio device and the electronic device by using the positioning technology, and determining, based on the location relationship, the sound channel corresponding to each target audio device.
In a possible implementation, the determining the location relationship between each target audio device and the electronic device by using the positioning technology includes: sending ultrasonic detection information to the target audio device; receiving an ultrasonic signal sent by the target audio device; and determining the location relationship between the target audio device and the electronic device based on the ultrasonic signal.
In this implementation, the location relationship between each target audio device and the electronic device is determined by using an ultrasonic positioning technology.
In a possible implementation, after the determining the at least one target audio device based on the device identification information, the method further includes: outputting second prompt information, where the second prompt information indicates that the electronic device successfully determines the at least one target audio device.
In a possible implementation, the sending to-be-networked notification information to the second audio device includes: sending a BLE broadcast message to the second audio device, where the BLE broadcast message includes the to-be-networked notification information.
In this implementation, a BLE connection may not be established between the electronic device and the second audio device. This saves a message process.
In a possible implementation, the target button is any one of the following: a mute button, a play button, or a pause button.
In this implementation, the user may reuse an existing button on the audio device to determine that the audio device is the target audio device. This avoids modification of the audio device.
In a possible implementation, before the displaying a stereo establishment pop-up box, the method further includes: sending a first ultrasonic signal to the second audio device; and receiving a second ultrasonic signal sent by at least one third audio device in the second audio device.
In this implementation, before the electronic device asks the user whether to establish stereo, a second audio device that is discovered by the electronic device and not in a same room as the electronic device and that is in the second audio device available for establishing stereo may be filtered out by using a same-room detection mechanism. This further improves accuracy and rationality of establishing stereo by the electronic device and the audio device.
In a possible implementation, the method further includes: determining a location relationship between the third audio device and the electronic device based on the second ultrasonic signal.
In a possible implementation, the determining at least one target audio device and a sound channel corresponding to each target audio device includes: displaying a third audio device identification screen, where the third audio device identification screen includes the at least one third audio device, and the third audio device identification screen is used to guide the user to determine whether the third audio device is the target audio device; receiving a feedback instruction input by the user, where the feedback instruction is used to determine whether the third audio device is the target audio device; and determining the at least one target audio device according to the feedback instruction, and determining the sound channel corresponding to each target audio device.
In this implementation, the user does not need to perform an operation on the audio device to determine that the audio device is the target audio device. The electronic device displays the third audio device identification screen, and displays the third audio device located in a same space as the electronic device, to guide the user to determine whether the third audio device is the target audio device. This simplifies user operations and improves user experience.
In a possible implementation, the third audio device identification screen further indicates the location relationship between the at least one third audio device and the electronic device.
In this implementation, the location relationship between the third audio device and the electronic device may be displayed on the third audio device identification screen, and the user may visually and intuitively compare an actual environment with the third audio device identification screen. This helps the user determine whether the third audio device is the target audio device. This further improves user experience.
In a possible implementation, the determining a sound channel corresponding to each target audio device includes: if the quantity of the target audio devices is one, determining that the target audio device corresponds to a heavy bass sound channel; or if the quantity of the target audio devices is greater than one, obtaining a location relationship between each target audio device and the electronic device, and determining, based on the location relationship, the sound channel corresponding to each target audio device.
In a possible implementation, the determining a target networking mode includes: obtaining the target networking mode input by the user.
In a possible implementation, the determining a target networking mode includes: if the quantity of the target audio devices is one, determining that the target networking mode is the first networking mode, where in the first networking mode, the sound channel of the target audio device is the heavy bass sound channel; or if the quantity of the target audio devices is greater than one, determining the target networking mode based on the location relationship between each target audio device and the electronic device.
In a possible implementation, the method further includes: displaying a sound channel determining screen, where the sound channel determining screen is used to guide the user to determine whether the sound channel corresponding to the target audio device is correct; and receiving a sound channel determining instruction input by the user, where the sound channel determining instruction is used to determine whether the sound channel corresponding to the target audio device is correct.
In this implementation, the sound channel determining screen is displayed to the user, so that a location and the sound channel that are of the target audio device and that are determined by the electronic device by using the positioning technology are further determined by the user. This improves stereo establishment accuracy. This avoids a stereo establishment error caused by an error in positioning the audio device by the electronic device.
In a possible implementation, before the establishing a Wi-Fi connection to each target audio device, the method further includes: when determining that no WLAN is configured for the target audio device, configuring a target WLAN for the target audio device, where the target WLAN is a WLAN that has been configured for the electronic device.
In this implementation, if no WLAN is configured for the target audio device, the electronic device may configure a network for the target audio device, so that the target audio device and the electronic device access the same WLAN, to facilitate subsequent communication.
In a possible implementation, the configuring a target WLAN for the target audio device includes: displaying an audio device network configuration screen, where the audio device network configuration screen is used to configure the target WLAN for the target audio device; receiving a network connection operation of the user; and controlling, in response to the network connection operation, the target audio device to access the target WLAN.
In a possible implementation, the Bluetooth broadcast message includes networking identification information, networking indication information, and a product model of the audio device, the networking identification information indicates whether the audio device has established stereo, and the networking indication information indicates whether the audio device is allowed to establish stereo.
In a possible implementation, the determining, based on the at least one Bluetooth broadcast message, that a second audio device available for establishing stereo exists in the at least one audio device includes: if the networking indication information in the Bluetooth broadcast message indicates that the audio device is allowed to establish stereo, determining that the second audio device exists.
In a possible implementation, before the determining that the second audio device exists, the method further includes: determining that a signal strength of the Bluetooth broadcast message is greater than a preset threshold.
In this implementation, if the signal strength of the Bluetooth broadcast message is greater than the preset threshold, it indicates that the audio device and the electronic device are in a short distance and can establish stereo. The signal strength of the Bluetooth broadcast message is determined, so that accuracy of discovering the second electronic device by the electronic device can be improved. This helps properly and successfully establish stereo.
In a possible implementation, before the determining that the second audio device exists, the method further includes: determining that the electronic device does not currently perform a projection service.
In a possible implementation, the Bluetooth broadcast message further includes network configuration information, and the network configuration information indicates whether a WLAN has been configured for the audio device.
According to a second aspect, a stereo networking method is provided. The method is applied to an audio device. The method includes: generating a Bluetooth broadcast message, where the Bluetooth broadcast message indicates whether the audio device has established stereo and whether the audio device is allowed to establish stereo; and sending the Bluetooth broadcast message to an electronic device.
According to the stereo networking method provided in the second aspect, the electronic device and the audio device may perform short-range communication, and the audio device sends the Bluetooth broadcast message to the electronic device. Therefore, based on short-range communication, the electronic device may directly and automatically discover, based on the Bluetooth broadcast message, an audio device available for establishing stereo, and ask the user whether to establish stereo. According to the stereo networking method provided in an embodiment of this application, it is not required that the electronic device and the audio device access a same local area network and have a same user account. This implements higher flexibility and efficiency of networking and improves user experience.
In a possible implementation, the method further includes: establishing a Wi-Fi connection to the electronic device.
In a possible implementation, before the establishing a Wi-Fi connection to the electronic device, the method further includes: receiving to-be-networked notification information sent by the electronic device, where the to-be-networked notification information indicates to detect whether a user performs a preset operation on a target button; and if detecting that the user performs the preset operation on the target button, sending device identification information to the electronic device, where the device identification information indicates that the audio device is a target audio device that establishes stereo with the electronic device.
In a possible implementation, the receiving to-be-networked notification information sent by the electronic device includes: receiving a BLE broadcast message sent by the electronic device, where the BLE broadcast message includes the to-be-networked notification information.
In a possible implementation, the target button is any one of the following: a mute button, a play button, or a pause button.
In a possible implementation, before the establishing a Wi-Fi connection to 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.
In a possible implementation, before the establishing a Wi-Fi connection to the electronic device, the method further includes: receiving a first ultrasonic signal sent by the electronic device; and sending a second ultrasonic signal to the electronic device.
In a possible implementation, the Bluetooth broadcast message includes networking identification information, networking indication information, and a product model of the audio device, the networking identification information indicates whether the audio device has established stereo, and the networking indication information indicates whether the audio device is allowed to establish stereo.
In a possible implementation, the Bluetooth broadcast message further includes network configuration information, and the network configuration information indicates whether a WLAN has been configured for the audio device.
According to a third aspect, an apparatus is provided. The apparatus includes: a first receiving module, configured to receive a Bluetooth broadcast message separately sent by at least one audio device, where the Bluetooth broadcast message indicates whether the audio device has established stereo and whether the audio device is allowed to establish stereo; and a processing module, configured to: when determining, based on the at least one Bluetooth broadcast message, that a second audio device available for establishing stereo exists in the at least one audio device, display a stereo establishment pop-up box, where the stereo establishment pop-up box is used to ask a user whether to allow the electronic device to establish stereo or re-establish stereo.
In a possible implementation, the apparatus further includes a second receiving module. The second receiving module is configured to receive a stereo establishment instruction input by the user, where the stereo establishment instruction instructs the electronic device to establish stereo or re-establish stereo. The processing module is further configured to determine a target networking mode, at least one target audio device, and a sound channel corresponding to each target audio device, where the target audio device is an audio device that is determined by the user in the second audio device and that establishes stereo with the electronic device, and the target networking mode is a networking mode in which the electronic device and the at least one target audio device establish stereo. The processing module is further configured to establish a Wi-Fi connection to each target audio device.
In a possible implementation, the networking mode includes: a first networking mode, where in the first networking mode, the electronic device establishes stereo with one target audio device, and a sound channel of the one target audio device is a heavy bass sound channel; a second networking mode, where in the second networking mode, the electronic device establishes stereo with two target audio devices, and sound channels of the two target audio devices are a left sound channel and a right sound channel respectively; a third networking mode, where in the third networking mode, the electronic device establishes stereo with two target audio devices, and sound channels of the two target audio devices are a left surround sound channel and a right surround sound channel respectively; and a fourth networking mode, where in the fourth networking mode, the electronic device establishes stereo with four target audio devices, and sound channels of the four target audio devices are a left sound channel, a right sound channel, a left surround sound channel, and a right surround sound channel respectively.
In a possible implementation, the processing module is configured to: obtain the target networking mode input by the user; determine a quantity of the target audio devices and a preset determining sequence of the at least one target audio device based on the target networking mode; send to-be-networked notification information to the second audio device, where the to-be-networked notification information indicates the second audio device to detect whether the user performs a preset operation on a target button on the second audio device; display a first audio device identification screen, where the first audio device identification screen is used to guide the user to sequentially perform, according to the preset determining sequence, the preset operation on the target button on the at least one target audio device; receive device identification information sequentially sent by the at least one second audio device according to the preset determining sequence, where the device identification information indicates that the second audio device is the target audio device; and determine the at least one target audio device based on the device identification information, and determine, according to the preset determining sequence, the sound channel corresponding to each target audio device.
In a possible implementation, the preset determining sequence includes any one of the following: when there are two target audio devices, sequentially determining the target audio devices of the left sound channel and the right sound channel; when there are two target audio devices, sequentially determining the target audio devices of the left surround sound channel and the right surround sound channel; or when there are four target audio devices, sequentially determining the target audio devices of the left sound channel, the right sound channel, the left surround sound channel, and the right surround sound channel.
In a possible implementation, the processing module is further configured to: output first prompt information, where the first prompt information indicates that the electronic device successfully determines the at least one target audio device.
In a possible implementation, the processing module is configured to: send to-be-networked notification information to the second audio device, where the to-be-networked notification information indicates the second audio device to detect whether the user performs a preset operation on a target button on the second audio device; display a second audio device identification screen, where the second audio device identification screen is used to guide the user to perform the preset operation on the target button on the second audio device; receive device identification information separately sent by the at least one second audio device, where the device identification information indicates that the second audio device is the target audio device; and determine the at least one target audio device based on the device identification information, and determine the sound channel corresponding to each target audio device.
In a possible implementation, the processing module is configured to: if the quantity of the target audio devices is one, determine that the target audio device corresponds to a heavy bass sound channel; or if the quantity of the target audio devices is greater than one, determine a location relationship between each target audio device and the electronic device by using a positioning technology, and determine, based on the location relationship, the sound channel corresponding to each target audio device.
In a possible implementation, the processing module is configured to: send ultrasonic detection information to the target audio device; receive an ultrasonic signal sent by the target audio device; and determine the location relationship between the target audio device and the electronic device based on the ultrasonic signal.
In a possible implementation, after the determining the at least one target audio device based on the device identification information, the processing module is further configured to: output second prompt information, where the second prompt information indicates that the electronic device successfully determines the at least one target audio device.
In a possible implementation, the apparatus further includes a sending module. The sending module is configured to: send a BLE broadcast message to the second audio device, where the BLE broadcast message includes the to-be-networked notification information.
In a possible implementation, the target button is any one of the following: a mute button, a play button, or a pause button.
In a possible implementation, the apparatus further includes a sending module. The sending module is configured to: before the displaying a stereo establishment pop-up box, send a first ultrasonic signal to the second audio device. The first receiving module is further configured to receive a second ultrasonic signal sent by at least one third audio device in the second audio device.
In a possible implementation, the processing module is further configured to: determine a location relationship between the third audio device and the electronic device based on the second ultrasonic signal.
In a possible implementation, the processing module is configured to: display a third audio device identification screen, where the third audio device identification screen includes the at least one third audio device, and the third audio device identification screen is used to guide the user to determine whether the third audio device is the target audio device; receive a feedback instruction input by the user, where the feedback instruction is used to determine whether the third audio device is the target audio device; and determine the at least one target audio device according to the feedback instruction, and determine the sound channel corresponding to each target audio device.
In a possible implementation, the third audio device identification screen further indicates the location relationship between the at least one third audio device and the electronic device.
In a possible implementation, the processing module is configured to: if the quantity of the target audio devices is one, determine that the target audio device corresponds to a heavy bass sound channel; or if the quantity of the target audio devices is greater than one, obtain a location relationship between each target audio device and the electronic device, and determine, based on the location relationship, the sound channel corresponding to each target audio device.
In a possible implementation, the processing module is configured to: obtain the target networking mode input by the user.
In a possible implementation, the processing module is configured to: if the quantity of the target audio devices is one, determine that the target networking mode is the first networking mode, where in the first networking mode, the sound channel of the target audio device is the heavy bass sound channel; or if the quantity of the target audio devices is greater than one, determine the target networking mode based on the location relationship between each target audio device and the electronic device.
In a possible implementation, the processing module is further configured to display a sound channel determining screen, where the sound channel determining screen is used to guide the user to determine whether the sound channel corresponding to the target audio device is correct. The second receiving module is further configured to receive a sound channel determining instruction input by the user, where the sound channel determining instruction is used to determine whether the sound channel corresponding to the target audio device is correct.
In a possible implementation, the processing module is further configured to: before the establishing a Wi-Fi connection to each target audio device, when determining that no WLAN is configured for the target audio device, configure a target WLAN for the target audio device, where the target WLAN is a WLAN that has been configured for the electronic device.
In a possible implementation, the processing module is configured to: display an audio device network configuration screen, where the audio device network configuration screen is used to configure the target WLAN for the target audio device; receive a network connection operation of the user; and control, in response to the network connection operation, the target audio device to access the target WLAN.
In a possible implementation, the Bluetooth broadcast message includes networking identification information, networking indication information, and a product model of the audio device, the networking identification information indicates whether the audio device has established stereo, and the networking indication information indicates whether the audio device is allowed to establish stereo.
In a possible implementation, the processing module is configured to: if the networking indication information in the Bluetooth broadcast message indicates that the audio device is allowed to establish stereo, determine that the second audio device exists.
In a possible implementation, the processing module is further configured to: before the determining that the second audio device exists, determine that a signal strength of the Bluetooth broadcast message is greater than a preset threshold.
In a possible implementation, the processing module is further configured to: before the determining that the second audio device exists, determine that the electronic device does not currently perform a projection service.
In a possible implementation, the Bluetooth broadcast message further includes network configuration information, and the network configuration information indicates whether a WLAN has been configured for the audio device.
According to a fourth aspect, an apparatus is provided. The apparatus includes: a processing module, configured to generate a Bluetooth broadcast message, where the Bluetooth broadcast message indicates whether an audio device has established stereo and whether the audio device is allowed to establish stereo; and a sending module, configured to send the Bluetooth broadcast message to an electronic device.
In a possible implementation, the processing module is further configured to: establish a Wi-Fi connection to the electronic device.
In a possible implementation, the apparatus further includes a receiving module. The receiving module is configured to: before the establishing a Wi-Fi connection to an electronic device, receive to-be-networked notification information sent by the electronic device, where the to-be-networked notification information indicates to detect whether a user performs a preset operation on a target button. The sending module is further configured to: if detecting that the user performs the preset operation on the target button, send device identification information to the electronic device, where the device identification information indicates that the audio device is a target audio device that establishes stereo with the electronic device.
In a possible implementation, the sending module is configured to: receive a BLE broadcast message sent by the electronic device, where the BLE broadcast message includes the to-be-networked notification information.
In a possible implementation, the target button is any one of the following: a mute button, a play button, or a pause button.
In a possible implementation, the apparatus further includes a receiving module. The receiving module is configured to: before the establishing a Wi-Fi connection to an electronic device, receive ultrasonic detection information sent by the electronic device. The sending module is further configured to send an ultrasonic signal to the electronic device.
In a possible implementation, the apparatus further includes a receiving module. The receiving module is configured to: before the establishing a Wi-Fi connection to an electronic device, receive a first ultrasonic signal sent by the electronic device. The sending module is further configured to send a second ultrasonic signal to the electronic device.
In a possible implementation, the Bluetooth broadcast message includes networking identification information, networking indication information, and a product model of the audio device, the networking identification information indicates whether the audio device has established stereo, and the networking indication information indicates whether the audio device is allowed to establish stereo.
In a possible implementation, the Bluetooth broadcast message further includes network configuration information, and the network configuration information indicates whether a WLAN has been configured for the audio device.
According to a fifth aspect, an electronic device is provided. The electronic device includes a processor. The processor is configured to: couple to a memory, read instructions in the memory, and enable, according to the instructions, the electronic device to perform the method provided in the first aspect.
According to a sixth aspect, an audio device is provided. The audio device includes a processor. The processor is configured to: couple to a memory, read instructions in the memory, and enable, according to the instructions, the audio device to perform the method provided in the second aspect.
According to a seventh aspect, a program is provided. When being executed by a processor, the program is used to perform the method provided in any one of the foregoing aspects.
According to an eighth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions. When the instructions are run on a computer or a processor, the method provided in any one of the foregoing aspects is implemented.
According to a ninth aspect, a program product is provided. The program product includes a computer program. The computer program is stored in a readable storage medium. At least one processor of a device may read the computer program from the readable storage medium. The at least one processor executes the computer program to enable the device to implement the method according to any of the foregoing aspects.
The following describes embodiments of this application with reference to accompanying drawings.
A stereo networking method provided in embodiments of this application is applicable to a scenario in which an electronic device and an audio device perform stereo networking. Names and types of the electronic device and the audio device are not limited in embodiments of this application. For example, examples of some electronic devices are: a smart screen, a television, a projection device, and the like. Examples of some audio devices are: a speaker, a wireless headset, and the like.
For ease of description, in embodiments of this application, an example in which the electronic device is a smart screen and the audio device is a speaker is used.
First, concepts in embodiments of this application are described.
Stereo networking is also referred to as networking or stereo establishment, and means that the electronic device uses the audio device to play a sound, or uses the audio device and a local horn of the electronic device to play a sound together, to implement different sound playing effects.
The stereo networking mode is also referred to as a networking mode. The networking mode varies with a quantity and/or locations of audio devices in stereo networking. The following describes examples of four types of networking modes, but does not limit the networking mode. A name of each networking mode is not limited in embodiments of this application.
This networking mode is also referred to as a single speaker networking mode or a subwoofer networking mode.
In this mode, the electronic device establishes stereo with one audio device, and the audio device enhances a bass band to improve sound playback effect of heavy bass. A sound channel corresponding to the audio device may be referred to as a heavy bass sound channel. For example, refer to
This networking mode is also referred to as a front dual-speaker networking mode, a front mode, or a left and right sound channel networking mode.
In this mode, the electronic device establishes stereo with two audio devices. Sound channels corresponding to the two audio devices are referred to as a left sound channel and a right sound channel respectively. Sounds in left and right directions are used to create stereo effect.
Optionally, the two audio devices are located on left and right sides of the electronic device respectively. For example, refer to
Optionally, models of the two audio devices are the same.
This networking mode is also referred to as a rear dual-speaker networking mode, a rear mode, or a left and right surround sound channel networking mode.
In this mode, the electronic device establishes stereo with two audio devices. The two audio devices are located near a seat of a listener. Corresponding sound channels are referred to as a left surround sound channel and a right surround sound channel respectively. The listener feels surrounded by sounds in left and right directions.
Optionally, the two audio devices are located on left and right sides of the seat of the listener respectively. For example, refer to
Optionally, models of the two audio devices are the same.
This networking mode is also referred to as a four-speaker networking mode.
In this mode, the electronic device establishes stereo with four audio devices. Two audio devices are configured as a left sound channel and a right sound channel respectively, and the other two audio devices are configured as a left surround sound channel and a right surround sound channel respectively. For example, refer to
Optionally, models of the two audio devices configured as the left and right sound channels are the same, and models of the two audio devices configured as the left and right surround sound channels are the same.
Optionally, models of the four audio devices are the same.
Networking includes networking of the electronic device and networking of the audio device. Networking of the electronic device means that an account and a password of a wireless local area network (wireless local area network, WLAN) are configured for the electronic device, so that the electronic device can access the WLAN. Similarly, networking of the audio device means that an account and a password of a WLAN are configured for the audio device, so that the audio device can access the WLAN.
Optionally, in embodiments of this application, the electronic device may configure the WLAN for the audio device, so that the audio device can be connected to a router, and the electronic device and the audio device can access a same WLAN, to facilitate communication. Optionally, after the audio device cuts off a Wi-Fi connection to the electronic device, the audio device may be connected to the router.
After the electronic device and the audio device successfully establish stereo, the electronic device and the audio device locally store stereo networking records that are also referred to as networking records. Content of the networking records separately stored by the electronic device and the audio device is not limited in embodiments of this application. When the electronic device is powered on again, the electronic device may attempt to establish stereo with the audio device based on the locally stored networking record. This process is referred to as reconnection. Similarly, when the audio device is powered on again, the audio device may attempt to reconnect to the electronic device based on the locally stored networking record. For example, a smart screen X establishes stereo with a speaker a and a speaker b. When the smart screen X, the speaker a, and the speaker b are powered on again, the smart screen X, the speaker a, and the speaker b attempt to reconnect.
For ease of description, the networking record in the electronic device may be referred to as the first networking record, and the networking record in the audio device may be referred to as the second network record.
The self-networking function is a function in which the electronic device can automatically discover an audio device available for establishing stereo and establish stereo with the audio device. For example, when the electronic device establishes stereo with the audio device for the first time, or when another audio device available for establishing stereo is discovered after the electronic device and the audio device fail in reconnection, or when another audio device available for establishing stereo is discovered after the electronic device and the audio device successfully establish stereo, the electronic device may perform a self-networking process to implement the self-networking function.
A name of the self-networking function is not limited in embodiments of this application. For example, the self-networking function is also referred to as an automatic stereo establishment function.
Optionally, a function switch may be disposed on the electronic device, to set whether to enable or support the self-networking function in the electronic device. The function switch is set, so that a user is provided with a choice possibility, and flexibility of stereo networking is improved.
In embodiments of this application, for ease of description, an audio device that is discovered by the electronic device and that can be used for performing reconnection is referred to as the first audio device. An audio device that is discovered by the electronic device and that can be used for establishing stereo is referred to as the second audio device. An audio device that is discovered by the electronic device and located in a same room as the electronic device and that can be used for establishing stereo is referred to as the third audio device. An audio device that is determined by the user and that establishes stereo sound with the electronic device is referred to as the target audio device.
In embodiments of this application, for ease of description, a networking mode in the first networking record stored in the electronic device is referred to as the historical networking mode, and a networking mode used when the electronic device performs the self-networking process is referred to as the target networking mode.
The following describes an implementation in which an electronic device and an audio device perform stereo networking.
For example,
The speaker a is used as an example. The speaker a may access a server on the internet (internet) by using the router H, and obtain audio data from the server and play the audio data. Alternatively, the speaker a obtains audio data from the smart screen X by using the router H, and plays the audio data. Alternatively, after establishing stereo with the smart screen X, the speaker a obtains audio data from the smart screen X and plays the audio data.
The smart screen Y is used as an example. The smart screen Y may send audio data to the speaker b and the speaker c by using the router H. Alternatively, the smart screen Y establishes stereo with the speaker b and the speaker c, and then sends audio data to the speaker b and the speaker c.
For example, a configuration process of a user is described by using an example in which the smart screen Y initially establishes stereo with the speaker b and the speaker c in
The user may configure an account and a password of the WLAN on a related screen displayed on the smart screen Y, so that the smart screen Y accesses the WLAN established by the router H.
The user can configure the user account on the related screen displayed on the smart screen Y. The user account is also referred to as a login account. After the user uses the user account to log in to the smart screen Y, the smart screen Y can obtain permission of related functions or services and provide related functions for the user. Different users may use a same user account to log in to the smart screen Y, or different users may use respective user accounts to log in to the smart screen Y.
The user may configure accounts and passwords of the WLANs of the speaker b and the speaker c on a related screen displayed by a related device, so that the speaker b and the speaker c access the WLAN established by the router H. The speaker b and the speaker c may perform short-range communication with the related device, for example, Bluetooth communication or Wi-Fi communication. An application (application, APP) for managing the audio devices may be installed on the related device. Examples of some related devices may be: a mobile phone, a tablet computer, and the like. For example,
The user may configure the user accounts of the speaker b and the speaker c on the related screen displayed on the mobile phone. Different users may use a same user account to log in to a speaker, or different users may use respective user accounts to log in to a speaker.
The two speakers that have the same user account and access the same local area network are configured by the user as the speaker combination on the related screen of the APP displayed on the mobile phone. For example, in this example, the speaker b and the speaker c are configured as the speaker combination, and left and right sound channels in the speaker combination are set.
A sequence of configuring the WLANs of the speakers in step 2 and configuring the speaker combination in step 3 is not limited.
Optionally, in an implementation, after the user configures a network for the speaker b on the mobile phone, and after the mobile phone discovers the speaker c, the APP first asks the user whether to establish stereo by using the newly discovered speaker c and the existing speaker b. After the user determines to establish stereo, the APP asks the user to determine configurations of the left and right sound channels. Then, the mobile phone configures a network for the speaker c.
Optionally, in another implementation, after configuring respective networks for the speaker b and the speaker c, the user may select the speaker b and the speaker c in the APP to establish stereo.
When the smart screen Y, the speaker b, and the speaker c have a same user account, and all access the WLAN established by the router H, that is, when the smart screen Y, the speaker b, and the speaker c have a same user account and access a same local area network, the router H can forward a packet between the smart screen and the speakers. Based on a discovery mechanism in a local area network, the smart screen Y can discover a speaker or a speaker combination that has a same user account and accesses a same local area network. The discovered speaker or the discovered speaker combination is displayed on the related screen of the smart screen Y. For example, in this example, the speaker combination including the speaker b and the speaker c is displayed on the related screen of the smart screen Y. Correspondingly, the user performs an operation on the related screen displayed on the smart screen Y, and establishes stereo by using the smart screen Y and the speaker combination. The smart screen Y establishes a terminal-to-terminal (peer-to-peer, P2P) connection to the speaker b and the speaker c. Subsequently, audio data or control information or both between the smart screen and the speakers are carried on the P2P connection, and do not need to be transferred by using the router H.
The smart screen Y and the related screen displayed by the mobile phone are not limited.
It may be learned that, in the system shown in
An embodiment of this application provides a stereo networking method. The electronic device and the audio device may perform short-range communication. Based on short-range communication, the electronic device may directly and automatically discover an audio device available for establishing stereo or performing reconnection, and the electronic device may ask the user whether to establish stereo, and establish stereo with the audio device based on a user requirement. According to the stereo networking method provided in this embodiment of this application, it is not required that the electronic device and the audio device access a same local area network and have a same user account. In a configuration process of stereo networking, operations of configuring a network for the electronic device and the audio device in advance and configuring a combination of a plurality of audio devices are omitted. This simplifies a user configuration step, implements higher flexibility and efficiency of networking, and improves user experience.
For example,
Optionally, the electronic device and the audio device may access a WLAN established by the routing device. The electronic device and the audio device may access a same WLAN, or may access different WLANs. For example, in
Optionally, the electronic device and the audio device may have a same user account or different user accounts.
It should be noted that
The following describes application scenarios and networking modes in which an electronic device and an audio device establish stereo.
An initial state of the electronic device after delivery is an unnetworked state, and the electronic device has not established stereo with the audio device. Then, in different application scenarios, the electronic device establishes stereo with the audio device for the first time, and the electronic device stores a first networking record. Similarly, an initial state of the audio device after delivery is an unnetworked state. Then, in different application scenarios, the audio device may establish stereo with the electronic device for the first time, and the audio device stores a second networking record. Optionally, after successfully establishing stereo, the electronic device or the audio device may attempt to reconnect when being powered on again. If reconnection succeeds, the electronic device and the audio device operate based on a historical networking mode. If reconnection fails, the electronic device and the audio device may re-establish stereo according to an actual situation of the application scenario, and update a local networking record when re-establishment succeeds.
For example, description is made with reference to
Optionally, in a scenario, refer to
Optionally, in another scenario, refer to
Optionally, in still another scenario, refer to
Optionally, in still another scenario, refer to
Optionally, in still another scenario, refer to
Optionally, in still another scenario, refer to
Optionally, in still another scenario, refer to
Optionally, in still another scenario, refer to
Optionally, in still another scenario, refer to
Optionally, in still another scenario, refer to
The following briefly describes, by using
As shown in
When the user performs a selection operation on the tab 111, the smart screen displays the “Select a WLAN speaker” screen 12 in response to the operation of the user, as shown in
Optionally, the screen 12 may further include a “My device” function option that indicates one of the following: a speaker or a speaker combination currently connected to the smart screen, or a speaker or a speaker combination most recently connected to the smart screen before a current time point. If the smart screen currently establishes no stereo or has no stereo networking record, the screen 12 may not display the “My device” function option, or may display the “My device” function option that includes no record. If the smart screen currently establishes a stereo or has a stereo networking record, the “My device” function option includes one record. Optionally, a current networking mode or a historical networking mode may be further indicated. For example, in
Optionally, the screen 12 may further include an “Other devices” function option that indicates another audio device discovered by the electronic device based on a discovery mechanism in a local area network. If the electronic device does not discover another audio device, the screen 12 may not display the “Other devices” function option, or may display the “Other devices” function option that includes no record. If the electronic device discovers another audio device, the “Other devices” function option includes at least one record.
Optionally, the screen 12 may further include guide information 122 that assists the user in performing selection. For example, the guide information 122 is “Connect to a single speaker, heavy bass is more expressive. Connect to a speaker combination, speakers and a smart screen will jointly play a sound, and you will enjoy better sound effect”.
It should be noted that the speaker combination in this embodiment of this application has different meanings from the speaker combination shown in
In this embodiment of this application, the user may perform an operation to implement any one of the following: manually deleting the audio device networked with the electronic device, manually disconnecting the audio device networked with the electronic device, or manually connecting the audio device networked with the electronic device. Deleting the audio device networked with the electronic device means that a networking relationship between the electronic device and the audio device is removed, and the electronic device may be networked with another audio device. Disconnecting the audio device networked with the electronic device means that a communication connection between the electronic device and the audio device is cut off, but the networking relationship is not removed, and subsequently, the electronic device and the audio device may be reconnected.
Optionally, in a scenario, as shown in
Optionally, in an implementation, the user may select a speaker in “Other devices” in
Optionally, before the smart screen displays the screen 13, the smart screen may further display a pop-up box in the screen 12, to prompt the user to make a selection. For example, as shown in
Optionally, in another implementation, the user may perform an operation on the speaker combination in “My device” in
Optionally, in another scenario, as shown in
Optionally, in an implementation, the user may select a speaker in “Other devices” on the screen 17, to manually delete a locally stored historical networking relationship of the smart screen, and perform stereo networking on the smart screen and the selected speaker. Refer to the related descriptions in
Optionally, in another implementation, the user may perform an operation on the speaker combination in “My device” on the screen 17, to manually delete the networking relationship of the smart screen and the speaker combination, or manually connect the smart screen to the speaker combination. Correspondingly, in response to the operation of the user, the smart screen displays a pop-up box 18 on the screen 17, as shown in
Specific embodiments are used below to describe in detail the technical solutions of this application. The following embodiments may be combined with each other, and a same or similar concept or process may not be described repeatedly in some embodiments.
The terms “first”, “second”, “third”, “fourth”, and the like (if any) in embodiments of this application are intended to distinguish between similar objects but do not necessarily indicate a specific order or sequence.
In the descriptions of embodiments of this application, unless otherwise stated, “/” means “or”, for example, A/B may represent A or B. The term “and/or” in this specification describes only an association relationship between associated objects, and indicates that three relationships may exist. For example, A and/or B may represent three cases: Only A exists, both A and B exist, and only B exists.
In the descriptions of embodiments of this application, unless otherwise stated, “a plurality of” means two or more than two.
It should be noted that, in embodiments of this application, operations performed by a user on a related screen displayed by an electronic device include but are not limited to at least one of the following: a touch operation performed by the user on a display of the electronic device, an operation performed by the user on the related screen by using an intermediate control device like a remote control, and an operation performed by the user on the related screen through voice control.
It should be noted that, in embodiments of this application, the related screen may include guide information, prompt information, reminder information, or the like, to assist in and guide the user operation, notify the user of a current progress, and improve user experience. A form and content of the guide information, the prompt information, or the reminder information are not limited in embodiments of this application. For example, the guide information, the prompt information, or the reminder information includes but is not limited to at least one of the following: text, a picture, or an animation.
S1501: The audio device sends a Bluetooth broadcast message, where the Bluetooth broadcast message includes networking identification information, networking indication information, and a product model of the audio device.
Correspondingly, the electronic device receives the Bluetooth broadcast message separately sent by the at least one audio device in the system.
The networking identification information may indicate whether the audio device has historically established stereo. Optionally, a value of the networking identification information is within a preset range. This is not limited in this embodiment. For example, the preset range is from 0 to 65535. An invalid value may be preset within the preset range. For example, the value is 0. Each value in the preset range other than the invalid value may uniquely distinguish a networking relationship between the audio device and the electronic device.
Optionally, in an implementation, if the audio device has never established stereo, the networking identification information is the preset invalid value. If the audio device has established stereo, the value of the networking identification information is a value of networking identification information corresponding to latest stereo established by the audio device.
Optionally, in another implementation, if the audio device has never established stereo, or the networking relationship between the audio device and the electronic device is terminated after the audio device establishes stereo last time, for example, in the delete operation shown in
The networking indication information indicates whether the audio device and the electronic device are allowed to establish stereo. Generally, if a speaker locally stores a second network record, the speaker attempts to reconnect after being powered on. Before reconnection of the speaker timed out or before the speaker succeeds in reconnection, the speaker is not allowed to establish stereo with another electronic device. In this case, the value of the networking indication information indicates that the audio device and the electronic device are not allowed to establish stereo. If the speaker fails in reconnection, the speaker is allowed to establish stereo with the another electronic device. In this case, a value of the networking indication information indicates that the audio device and the electronic device are allowed to establish stereo. If a speaker does not locally have a second network record, or a speaker has never been networked, the speaker is allowed to establish stereo with another electronic device.
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 establishing stereo. Optionally, in a scenario in which a plurality of audio devices exist, the Bluetooth broadcast message is further used by the electronic device to determine whether the electronic device is allowed to establish stereo with the plurality of audio devices.
With reference to
In
In
Optionally, the Bluetooth broadcast message may further include at least one of the following: network configuration information or audio device button information.
The network configuration information indicates whether a WLAN has been configured for the audio device. According to the network configuration information, the audio device may notify the electronic device whether the WLAN has been configured, so that the electronic device subsequently determines whether a network needs to be configured for the audio device. For details, refer to the related descriptions in S1606.
The audio device button information may include identification information of each button of the audio device, and the identification information is used to uniquely distinguish different buttons. The audio device button information is sent to the electronic device, so that the electronic device subsequently implements a specific function by using the button of the audio device.
It should be noted that a type of the Bluetooth broadcast message and a compliant Bluetooth protocol version are not limited in this embodiment. For example, the Bluetooth broadcast message is a Bluetooth low energy (Bluetooth low energy, BLE) broadcast message.
S1502: The electronic device determines, based on the received Bluetooth broadcast message separately sent by the at least one audio device, whether a to-be-reconnected first audio device exists, and whether a quantity of first audio devices is the same as a quantity in a locally stored first networking record.
Optionally, the first networking record includes networking identification information and a historical networking mode. For the networking identification information, refer to the related descriptions in S1501. Details are not described herein again. A different historical networking mode indicates a different quantity of first audio devices. For example, in the networking mode 1, there is one first audio device. In the networking mode 2 or the networking mode 3, there are two first audio devices. In the networking mode 4, there are four first audio devices.
The electronic device may determine, based on whether the locally stored networking identification information is the same as the networking identification information carried in the Bluetooth broadcast message sent by the audio device, whether the audio device is the first audio device.
If it is determined that the first audio device exists and the quantity of first audio devices is the same as the quantity in the first networking record, it indicates that the electronic device has discovered all the to-be-reconnected first audio devices. In this case, S1503 and S1504 are performed.
If it is determined that the first audio device does not exist, or if the first audio device exists but the quantity of first audio devices is different from the quantity in the first networking record, it indicates that the electronic device does not discover all the to-be-reconnected first audio devices. In this case, reconnection is not performed, and a reconnection process ends. Optionally, if the electronic device enables a self-networking function, a self-networking process may be performed. Refer to the embodiment shown in
For example, the scenarios shown in
In
In
S1503: The electronic device sends Wi-Fi connection information to the first audio device.
Correspondingly, 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 the following: a service set identifier (service set identifier, SSID), a network name, a network password, a Wi-Fi access frequency band, and the like.
Optionally, in an implementation, the electronic device sends the BLE broadcast message to the first audio device, where the BLE broadcast message includes the Wi-Fi connection information. In this implementation, a BLE connection may not be established between the electronic device and the audio device. This saves a message process.
Optionally, in another implementation, if the electronic device has established a BLE connection to the first audio device, the electronic device may send the Wi-Fi connection information to the first audio device through the BLE connection.
Optionally, in still another implementation, if the electronic device does not establish a BLE connection to the first audio device, the electronic device may establish the BLE connection to the first audio device, and send the Wi-Fi connection information to the first audio device through the BLE connection.
Optionally, in still another implementation, both the electronic device and the first audio device are connected to a same wireless local area network established by a routing device. For example, the electronic device may determine based on the network configuration 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. Correspondingly, after receiving, through the routing device, the Wi-Fi connection information sent by the electronic device, the first audio device may cut off a Wi-Fi connection to the routing device, and establish a Wi-Fi connection to the electronic device based on the Wi-Fi connection information. In this implementation, the electronic device may establish the Wi-Fi connection to the first audio device without using a BLE technology.
S1504: The electronic device establishes the Wi-Fi connection to the first audio device based on the Wi-Fi connection information.
Optionally, if the first audio device does not currently establish the Wi-Fi connection, the first audio device establishes the Wi-Fi connection to the electronic device based on the Wi-Fi connection information.
Optionally, if the first audio device has currently established a Wi-Fi connection to another device (for example, the routing device), the first audio device may cut off the Wi-Fi connection to the another device after receiving the Wi-Fi connection information, and then establish the Wi-Fi connection to the electronic device based on the Wi-Fi connection information.
It may be learned that, according to the stereo networking method provided in this embodiment, the audio device sends the Bluetooth broadcast message, and after receiving the Bluetooth broadcast message sent by the audio device, the electronic device may directly and automatically discover, based on the Bluetooth broadcast message, the to-be-reconnected audio device, to establish stereo with the to-be-reconnected audio device. It is not required that the electronic device and the audio device access a same local area network and have a same user account. This implements higher flexibility and efficiency of networking and improves user experience.
Optionally, the stereo networking method provided in this embodiment may further include:
S1505: The electronic device determines whether all the first audio devices succeed in reconnection.
If all the first audio devices establish Wi-Fi connections to the electronic device, it indicates that all the first audio devices succeed in reconnection. In this case, S1506 is performed. For example, in the scenario shown in
If some or all of the first audio devices fail in reconnection, optionally, if the electronic device enables the self-networking function, the self-networking process may be performed. Refer to the embodiment shown in
S1506: The electronic device and the first audio device operate in the historical networking mode.
S1601: When determining, based on a received Bluetooth broadcast message separately sent by at least one audio device, that a second audio device available for establishing stereo exists, the electronic device pops up a stereo establishment pop-up box on a current display screen, where the stereo establishment pop-up box is used to ask a user whether to establish stereo or re-establish stereo.
Specifically, the Bluetooth broadcast message includes networking identification information, networking indication information, and a product model of the audio device. The electronic device may determine, based on the networking indication information and the product model of the audio device, whether the audio device can establish stereo, to directly and automatically discover the second audio device.
Optionally, the electronic device may further determine whether the audio device is the second audio device based on whether a signal strength of the Bluetooth broadcast message is greater than a preset threshold. Optionally, the signal strength may be a received signal strength indication (received signal strength indication, RSSI).
Generally, the audio device for establishing stereo is located near the electronic device. A longer distance between the audio device and the electronic device indicates a lower signal strength of the Bluetooth broadcast message. Conversely, a shorter distance between the audio device and the electronic device indicates a higher signal strength of the Bluetooth broadcast message. If the signal strength of the Bluetooth broadcast message is greater than the preset threshold, it indicates that the audio device and the electronic device are in a short distance and can establish stereo. The signal strength of the Bluetooth broadcast message is determined, so that accuracy of discovering the second electronic device by the electronic device can be improved. This helps properly and successfully establish stereo.
A value of the preset threshold is not limited in this embodiment.
Optionally, before the stereo establishment pop-up box is popped up on the current display screen, the electronic device determines that no screen projection service is currently performed. The screen projection service includes but is not limited to: displaying, by the electronic device as a projection device, to-be-displayed data on another device; or displaying, by the electronic device as a display device, to-be-displayed data of another device.
This embodiment does not limit the current display screen, and does not limit page content and page layout of the stereo establishment pop-up box. It may be understood that, when a current networking status of the electronic device and a quantity, a model, a location, or the like of the second audio devices are different, the stereo establishment pop-up box may be different.
The current networking status of the electronic device includes: unnetworked and networked. The unnetworked includes but is not limited to the following cases: The electronic device has never been networked or has no first networking record, for example, in the scenarios shown in
With reference to the scenarios shown in
Optionally, in a first implementation, the electronic device is not currently networked, and is applicable to the scenarios shown in
As shown in
Optionally, the user may perform an operation on the confirm button 212 to input a stereo establishment instruction. Correspondingly, the smart screen X determines, in response to the stereo establishment instruction, that the user establishes stereo or re-establishes stereo, and performs a subsequent step of the self-networking process.
Optionally, the user may perform an operation on the control 211, and indicate, by using a display status of the control 211, whether to disable the self-networking function. For example, when the user performs a selection operation on the control 211, in response to the operation of the user, the smart screen X updates the pop-up box 21 to a pop-up box 22, as shown in
Optionally, the pop-up box 21 further includes a cancel button 213. The user may perform an operation on the cancel button 213 to input a stereo establishment cancel instruction. Correspondingly, the smart screen X cancels, in response to the stereo establishment cancel instruction, stereo establishment of the smart screen X and a speaker in a current screen-on process of the smart screen X. That is, in the current screen-on process of the smart screen X, the electronic device no longer uses a pop-up box to ask the user whether to establish stereo or re-establish stereo. It may be understood that after the smart screen X is turned off and then on, or after the smart screen X is powered off and then powered on again, the self-networking process may be performed again, and the stereo establishment pop-up box is popped up to ask the user. Optionally, countdown time, for example, 60 s, is displayed on the cancel button 213. If the user does not perform any operation within the countdown time, and the smart screen X does not receive any instruction before timeout, stereo establishment of the smart screen X and the speaker is canceled, and the pop-up box 21 is closed.
In this implementation, the stereo establishment pop-up box has high universality, and the stereo establishment pop-up box is applicable to different quantities of second audio devices. Subsequently, a quantity of second audio devices required by the user to establish stereo and a networking mode may be further determined by using a man-machine interaction process between the electronic device and the user.
Optionally, in a second implementation, the electronic device is not currently networked. When quantities of second audio devices discovered by the electronic device are different, the stereo establishment pop-up box may reflect the quantity of second audio devices. In this implementation, the electronic device provides a more precise selection for the user. The user may directly determine, in the stereo establishment pop-up box, a quantity of audio devices for establishing stereo and/or a target networking mode. The user makes a clearer selection. This facilitates the operation of the user.
Optionally, a quantity of second audio devices discovered by the electronic device is one, for example, in the scenario shown in
Optionally, the electronic device discovers more than one and less than four second audio devices, for example, in the scenarios shown in
Optionally, in an implementation, as shown in
Optionally, in another implementation, as shown in
Optionally, a quantity of second audio devices discovered by the electronic device is greater than or equal to four, for example, in the scenario shown in
Optionally, in a third implementation, the electronic device is currently networked. The stereo establishment pop-up box may reflect whether a current networking mode can be changed and whether to re-establish stereo, to effectively guide the user to perform an operation. The stereo establishment pop-up box may be adjusted based on the foregoing first implementation and the foregoing second implementation. For example,
Optionally, in
Optionally, for the stereo establishment pop-up box, the user may perform a return operation by using an intermediate control device like a remote control or through voice control, to cancel stereo establishment. Correspondingly, in response to the operation of the user, the electronic device ends a stereo establishment process and closes the stereo establishment pop-up box. Optionally, before closing the stereo establishment pop-up box, the electronic device may display reminder information, where the reminder information is used to notify the user that the stereo establishment process is to end. The reminder information is displayed, so that the user further determines whether to end the stereo establishment process. This improves operation accuracy and avoids a misoperation.
It should be noted that
S1602: The electronic device receives the stereo establishment instruction input by the user, where the stereo establishment instruction instructs the electronic device to establish stereo or re-establish stereo.
S1603: The electronic device determines the target networking mode, and determines a to-be-networked target audio device determined by the user and a sound channel corresponding to the target audio device.
For ease of description, an audio device that is determined by the user and that is networked with the electronic device is referred to as the target audio device. Because the target audio device is determined by the user, the electronic device establishes stereo in compliance with an intention and a requirement of the user. This improves stereo establishment accuracy.
Optionally, the electronic device may determine the target networking mode based on the operation of the user or the instruction input by the user. For example, refer to the related descriptions in
Optionally, the electronic device may locate the target audio device, and determine the target networking mode based on a quantity of target audio devices and a location relationship between the target audio devices and the electronic device.
Optionally, if the target networking mode is the networking mode 1, S1604 is performed.
Optionally, if the target networking mode is the networking mode 2 or the networking mode 3, there are two target audio devices. The method further includes: The electronic device determines whether product models of the two target audio devices are the same. If the product models of the two target audio devices are the same, S1604 is performed. If the product models of the two target audio devices are different, the self-networking process ends. Optionally, the electronic device outputs reminder information, where the reminder information indicates that the models of the audio devices for establishing stereo are different.
Optionally, if the target networking mode is the networking mode 4, there are four target audio devices. The method further includes: The electronic device determines whether models of two target audio devices configured as left and right sound channels are the same, and determines whether models of two target audio devices configured as left and right surround sound channels are the same. If the models of the two target audio devices configured as the left and right sound channels are the same, and the models of the two target audio devices configured as the left and right surround sound channels are the same, S1604 is performed. If the models of the two target audio devices configured as the left and right sound channels are different, or the models of the two target audio devices configured as the left and right surround sound channels are different, the self-networking process ends. Optionally, the electronic device outputs reminder information, where the reminder information indicates that the models of the audio devices for establishing stereo are different.
S1604: The electronic device sends Wi-Fi connection information to the target audio device.
Correspondingly, the target audio device receives the Wi-Fi connection information sent by the electronic device.
For the Wi-Fi connection information and a transmission manner of the Wi-Fi connection information, refer to S1503. Principles are similar, and details are not described herein again.
S1605: The electronic device establishes a Wi-Fi connection to the target audio device based on the Wi-Fi connection information.
Optionally, if the target audio device does not currently establish the Wi-Fi connection, the target audio device establishes the Wi-Fi connection to the electronic device based on the Wi-Fi connection information.
Optionally, if the target audio device has currently established a Wi-Fi connection to another device (for example, a routing device), the target audio device may cut off the Wi-Fi connection to the another device after receiving the Wi-Fi connection information, and then establish the Wi-Fi connection to the electronic device based on the Wi-Fi connection information.
After establishing the Wi-Fi connection to the target audio device, the electronic device may perform stereo-related configuration. This process is not limited in this embodiment. For example, the electronic device configures the sound channel for the target audio device. After the electronic device and the target audio device establish stereo, the electronic device outputs prompt information, where the prompt information indicates that stereo establishment succeeds. The electronic device and the target audio device play test audio, so that the user can feel stereo sound effect. The electronic device synchronizes configuration information to ensure that a setting menu of the electronic device is consistent with an actual networking state. For example, on the screen 12 shown in
It may be learned that, according to the stereo networking method provided in this embodiment, the audio device sends the Bluetooth broadcast message, and after receiving the Bluetooth broadcast message sent by the audio device, the electronic device may directly and automatically discover, based on the Bluetooth broadcast message, the audio device available for establishing stereo, and pop up to ask the user whether to establish stereo or change the current networking mode to re-establish stereo. After the user determines to establish stereo, the target networking mode and the to-be-networked target audio device determined by the user are determined, and the Wi-Fi connection to the target audio device is established to establish stereo. In this embodiment, because the target audio device is determined by the user, the electronic device and the target audio device determined by the user establish the Wi-Fi connection in compliance with an intention and a requirement of the user. This avoids that a Wi-Fi connection to another audio device affects proper operation of the another audio device. This improves stereo networking accuracy. According to the stereo networking method provided in this embodiment, it is not required that the electronic device and the audio device access a same local area network and have a same user account. This implements higher flexibility and efficiency of networking. In addition, user operations of configuring a network for the electronic device and the audio device in advance and configuring a combination of a plurality of audio devices are omitted, a user configuration step is simplified, and user experience is improved.
Optionally, before S1604, the stereo networking method provided in this embodiment may further include the following step.
S1606: If determining that no WLAN is configured for the target audio device, the electronic device configures a WLAN for the target audio device.
Specifically, the Bluetooth broadcast message may include network configuration information. The electronic device may determine, based on the network configuration information, whether a WLAN has been configured for the target audio device. If no WLAN is configured for the target audio device, the electronic device may configure a network for the target audio device, so that the target audio device and the electronic device access the same WLAN, to facilitate subsequent communication.
Optionally, that the electronic device configures a WLAN for the target audio device may include:
The electronic device displays an audio device network configuration screen, where the audio device network configuration screen is used to configure the WLAN for the target audio device.
The electronic device receives a network connection operation of the user.
The electronic device controls, in response to the network connection operation, the target audio device to access the WLAN.
Specific content and layout of the audio device network configuration screen are not limited in this embodiment.
For example,
Optionally, in an implementation, the electronic device may obtain a name and a password of the WLAN, and pre-fill the name and the password in the network name input box 311 and the password input box 312. In this manner, the user does not need to manually fill in the information, and user experience is improved.
Optionally, in another implementation, the user may input a name and a password of the WLAN in the network name input box 311 and the password input box 312 respectively. In this manner, the user needs to manually input the information, to further determine that the target audio device and the electronic device access the same WLAN.
Optionally, the user may tap the control 313 to display or hide the password.
Optionally, the user may perform an operation on the skip button 314 to input a network configuration cancel instruction. Correspondingly, the electronic device ends, in response to the network configuration cancel instruction, the process of setting the WLAN for the target audio device.
Optionally, the user may perform an operation on the confirm button 315 to input a network connection instruction. Correspondingly, the electronic device controls, in response to the network connection instruction, the target audio device to access the WLAN.
It may be understood that, in a process in which the electronic device controls the target audio device to access the WLAN, information interaction may exist between the electronic device and the target audio device. Therefore, the target audio device may obtain the name and the password of the WLAN, and access the WLAN.
Optionally, if there are a plurality of target audio devices that require network configuration, the audio device network configuration screen 31 may include icons of the plurality of target audio devices and prompt information. The prompt information may indicate a network configuration progress and a network configuration result of each target audio device. A sequence in which the electronic device controls the plurality of target audio devices to access the WLAN is not limited in embodiments of this application.
Based on the embodiment shown in
As shown in
S1901: The electronic device obtains the target networking mode input by the user.
For example, refer to the related descriptions in
In S1603, that the electronic device determines a to-be-networked target audio device determined by the user and a sound channel corresponding to the target audio device may include the following steps.
S1902: The electronic device determines a quantity of target audio devices and a preset determining sequence of the target audio devices based on the target networking mode.
If the target networking mode is the networking mode 1, there is one target audio device, and the preset determining sequence of the target audio devices is: determining the one target audio device.
If there are a plurality of target audio devices, the preset determining sequence is not limited in this embodiment.
Optionally, if the target networking mode is the networking mode 2, there are two target audio devices, and the preset determining sequence may be: determining a target audio device of a left sound channel, and then determining a target audio device of a right sound channel.
Optionally, if the target networking mode is the networking mode 3, there are two target audio devices, and the preset determining sequence may be: determining a target audio device of a left surround sound channel, and then determining a target audio device of a right surround sound channel.
Optionally, if the target networking mode is the networking mode 4, there are four target audio devices, and the preset determining sequence may be: determining a target audio device of a left sound channel, determining a target audio device of a right sound channel, determining a target audio device of a left surround sound channel, and finally determining a target audio device of a right surround sound channel.
S1903: The electronic device sends to-be-networked notification information to the second audio device. Correspondingly, the second audio device receives the to-be-networked notification information sent by the electronic device.
The to-be-networked notification information indicates the second audio device to detect whether the user performs a preset operation on a target button on the second audio device, to determine that the second audio device is the target audio device.
Optionally, in an implementation, the electronic device and the audio device agree on the target button and the preset operation in advance. In this way, the to-be-networked notification information serves as notification. This reduces an information size of the to-be-networked notification information, and reduces an amount of data transmitted over an air interface.
Optionally, in another implementation, the to-be-networked notification information may include identification information and button operation information of the target button, and the button operation information is used to describe the preset operation performed by the user on the target button. In this implementation, the target button and the preset operation are more flexible.
It should be noted that the target button and the preset operation are not limited in this embodiment. Optionally, the target button may be a newly added button on the audio device. Optionally, to reduce modification of the audio device, the target button may be an existing button on the audio device. For example, the target button is a mute button or a play button. In this case, the to-be-networked notification information indicates the second audio device to modify the meaning of the target button for preset duration, so that the user performs the preset operation on the target button. A unit and a value of the preset duration are not limited in this embodiment. For example, the unit of the preset duration is second.
For a manner of sending the to-be-networked notification information, optionally, in an implementation, the electronic device sends a BLE broadcast message to the second audio device, where the BLE broadcast message includes the to-be-networked notification information. In this implementation, a BLE connection may not be established between the electronic device and the second audio device. This saves a message process.
Optionally, in another implementation, if the electronic device has established a BLE connection to the second audio device, the electronic device may send the to-be-networked notification information to the second audio device through the BLE connection.
Optionally, in still another implementation, if the electronic device does not establish a BLE connection to the second audio device, the electronic device may establish the BLE connection to the second audio device, and send the to-be-networked notification information to the second audio device through the BLE connection.
Optionally, in still another implementation, both the electronic device and the second audio device are connected to a same wireless local area network established by the routing device. For example, the electronic device may determine based on the network configuration information in the Bluetooth broadcast message. The electronic device may forward the to-be-networked notification information to the second audio device through the routing device. Correspondingly, the second audio device receives, through the routing device, the to-be-networked notification information sent by the electronic device.
S1904: The electronic device displays an audio device identification screen. The audio device identification screen is used to guide the user to perform, according to the preset determining sequence, the preset operation on the target button on the second audio device, to determine that the second audio device is the target audio device.
Generally, a quantity of buttons on the audio device is limited, and all buttons have preset functions, for example, a play button, a pause button, a previous button, a next button, and the like. The existing button is reused, so that the user can determine to establish stereo with the electronic device by pressing the button on the audio device. This avoids adding a new button to the audio device, and implementation is simple.
Different target networking modes indicate different quantities of target audio devices and different implementations of the audio device identification screen. The following uses an example for description.
Optionally, if the target networking mode is the networking mode 1, there is one target audio device, and the audio device identification screen is used to guide the user to determine the one target audio device.
For example, as shown in
As shown in
Optionally, in a process in which the user presses a button to determine the target audio device, the user may perform an operation on the cancel button 414 to input a device identification cancel instruction. Correspondingly, the smart screen ends the self-networking process in response to the device identification cancel instruction.
Optionally, if the target networking mode is the networking mode 2, the preset determining sequence is: determining the target audio device of the left sound channel, and then determining the target audio device of the right sound channel.
For example,
The electronic device first displays an audio device identification screen 44 shown in
After the user double-taps a pause button on the target audio device on the left side, the electronic device determines the target audio device of the left sound channel. The electronic device displays an audio device identification screen 45 shown in
S1905: When detecting that the user performs the preset operation on the target button, the second audio device (the target audio device) sends device identification information to the electronic device, where the device identification information indicates that the second audio device is the target audio device.
Specifically, after receiving the to-be-networked notification information, the second audio device detects whether the user performs the preset operation on the target button. When detecting that the user performs the preset operation on the target button, the second audio device is determined as the target audio device, needs to be networked with the electronic device, and sends the device identification information to the electronic device.
Optionally, in an implementation, the second audio device sends the BLE broadcast message to the electronic device, where the BLE broadcast message includes the device identification information. In this implementation, a BLE connection may not be established between the electronic device and the second audio device. This saves a message process. Optionally, the device identification information may be a specific bit in the BLE broadcast message, and a value of the specific bit is modified to indicate that the second audio device is the target audio device.
Optionally, in another implementation, if the electronic device has established a BLE connection to the second audio device, the second audio device may send the device identification information to the electronic device through the BLE connection.
Optionally, in still another implementation, both the electronic device and the second audio device are connected to a same wireless local area network established by the routing device. For example, the second audio device receives, through the routing device, the to-be-networked notification information sent by the electronic device. The second audio device may forward the device identification information to the electronic device through the routing device.
Optionally, the second audio device may further send to the electronic device at least one of the following items: the identification information or the button operation information of the target button.
S1906: The electronic device determines the target audio device based on the device identification information, and determines, according to the preset determining sequence, the sound channel corresponding to the target audio device.
Specifically, because the electronic device guides, according to the preset determining sequence, the user to sequentially press the button on the target audio device, sound channels corresponding to different target audio devices may be determined according to a sequence of receiving the device identification information and the preset determining sequence. For example, in the networking mode 2, a target audio device corresponding to first received device identification information is determined as a left sound channel audio device, and a target audio device corresponding to later received device identification information is determined as a right sound channel audio device.
It may be learned that, according to the stereo networking method provided in this embodiment, the user presses the button on the audio device to determine that the audio device is networked with the electronic device. This improves accuracy of determining a to-be-networked audio device. When there are a plurality of target audio devices, the electronic device guides, according to the preset determining sequence, the user to sequentially press the button on each target audio device. Accuracy of determining the target audio device is high. This is a simple implementation.
Optionally, after S1906, the stereo networking method provided in this embodiment may further include:
The electronic device outputs prompt information, where the prompt information indicates that the electronic device successfully determines the target audio device.
For example, the prompt information is described by using the networking mode 1 as an example. The smart screen displays the audio device identification screen 41 shown in
Optionally, the prompt information may further include a pattern 415, to notify the user that the smart screen successfully determines the target speaker.
Optionally, the audio device identification screen 43 further includes a next button 416. The user may perform an operation on the next button 416 to continue the self-networking process.
Optionally, before S1906, the stereo networking method provided in this embodiment may further include:
The electronic device outputs prompt information, where the prompt information indicates that the electronic device is determining the target audio device.
The prompt information may be used to explicitly notify the user that the electronic device is currently determining the target audio device, and prompt the user to wait. This improves user experience.
For example, the prompt information is described by using the networking mode 1 as an example. Still refer to
Optionally, before S1903, the stereo networking method provided in this embodiment may further include the following step.
S1907: 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 non-music playing state.
The reminder information is output, to ensure that the target audio device is in the non-music playing state and information can be transmitted between the target audio device and the electronic device. This improves accuracy of determining the target audio device by the user.
Optionally, after the second audio device detects that the user performs the preset operation on the target button in S1905, the stereo networking method provided in this embodiment may further include the following step.
S1908: The second audio device controls an indicator to blink or to be normally on.
Optionally, the second audio device may control the indicator to blink for a preset quantity of times or for preset duration, or control the indicator to be normally on for preset duration.
The second audio device can visually prompt, by controlling the indicator to blink or to be normally on, the user that the preset operation on the target button takes effect, and determine to be networked with the electronic device. This improves user experience.
Based on the embodiment shown in
As shown in
S2101: The electronic device sends to-be-networked notification information to the second audio device. Correspondingly, the second audio device receives the to-be-networked notification information sent by the electronic device.
Refer to S1903. Principles are similar, and details are not described herein again.
S2102: The electronic device displays an audio device identification screen, where the audio device identification screen is used to guide the user to perform a preset operation on a target button on the second audio device, to determine that the second audio device is the target audio device.
A quantity of target audio devices and a sequence in which the user presses buttons to determine the target audio devices are not limited in this embodiment.
Content and layout of the audio device identification screen are not limited in this embodiment.
Optionally, if the electronic device obtains the target networking mode, the quantity of target audio devices may be determined based on the target networking mode, and the audio device identification screen may be related to the quantity of target audio devices. The following uses an example for description.
Optionally, if the target networking mode is the networking mode 1, there is one target audio device, and the audio device identification screen is used to guide the user to determine the one target audio device. For the audio device identification screen, refer to
Optionally, if the target networking mode is the networking mode 2, there are two target audio devices, and the audio device identification screen is used to guide the user to determine the two target audio devices. For example, for the audio device identification screen, refer to
As shown in
Optionally, the user may perform an operation on the cancel button 514 to input a device identification cancel instruction. Correspondingly, the smart screen ends the self-networking process in response to the device identification cancel instruction.
After the user double-taps a pause button on a 1st speaker, the electronic device determines a 1st target audio device. The audio device identification screen 51 is changed to an audio device identification screen 52, as shown in
Optionally, if the electronic device does not obtain the target networking mode or does not determine the quantity of target audio devices, the audio device identification screen is applicable to all different quantities of target audio devices. For example, for the audio device identification screen, refer to
As shown in
Optionally, in a process in which the user presses a button to determine the target audio device, the user may perform an operation on the cancel button 514 to input a device identification cancel instruction. Correspondingly, the smart screen ends the self-networking process in response to the device identification cancel instruction.
Optionally, in a process in which the user presses a button to determine the target audio device, the user may perform an operation on the next button 518 to input a device identification determining instruction. Correspondingly, the smart screen determines the quantity of target audio devices in response to the device identification determining instruction, and continues the self-networking process. For example, the user uses the smart screen and one speaker to establish stereo. After the user presses a button on a speaker, the smart screen determines one speaker. In this case, as shown in
Optionally, after the smart screen receives the device identification determining instruction input by the user, or does not receive the device identification information sent by the second audio device within preset duration, the smart screen may display prompt information to notify the user of a current quantity of determined target audio devices, and ask whether to continue to establish stereo.
S2103: When detecting that the user performs the preset operation on the target button, the second audio device (the target audio device) sends device identification information to the electronic device, where the device identification information indicates that the second audio device is the target audio device.
Refer to S1905. Principles are similar, and details are not described herein again.
S2104: The electronic device determines the target audio device based on the device identification information.
Then, S2105 or S2106 is performed.
S2105: If a quantity of target audio devices is one, the electronic device determines the sound channel corresponding to the target audio device.
S2106: If a quantity of target audio devices is greater than one, the electronic device determines a location relationship between the plurality of target audio devices and the electronic device by using a positioning technology, and determines, based on the location relationship, a sound channel corresponding to each target audio device.
Optionally, the location relationship includes but is not limited to a distance or an angle between the target audio device and the electronic device.
Generally, when location of the target audio device relative to the electronic device are different, corresponding sound channels are different. Refer to the foregoing descriptions of the networking modes. In this embodiment, the electronic device determines the location relationship between the plurality of target audio devices and the electronic device by using the positioning technology, and then determines the sound channel corresponding to each target audio device. This avoids that the user presses buttons on the target audio device in a specific order, and improves user experience.
Optionally, when there are two target audio devices, in an implementation, the positioning technology may be used for one target audio device to determine a location relationship between the target audio device and the electronic device.
In this implementation, there are two target audio devices, and the two target audio devices usually use the networking mode 2 or the networking mode 3. Therefore, when a location of one target audio device is determined, a location of the other target audio device is determined by default. This reduces a calculation amount. For example, if one electronic device is located on a left side of the electronic device, the other target audio device is located on a right side of the electronic device by default, and the two target audio devices use the networking mode 2.
Optionally, when there are two target audio devices, in an implementation, the positioning technology may be used for the two target audio device to determine a location relationship between the target audio devices and the electronic device. In this implementation, the location relationship is determined more accurately.
The positioning technology is not limited in this embodiment, for example, an ultra wide band (Ultra Wide Band, UWB) positioning technology, a Bluetooth positioning technology, an ultrasonic positioning technology, or the like.
The ultrasonic positioning technology is described below. That the electronic device determines a location relationship between the plurality of target audio devices and the electronic device by using the ultrasonic positioning technology may include:
The electronic device establishes a BLE connection to the target audio device.
The electronic device sends ultrasonic detection information to the target audio device through the BLE connection. Correspondingly, the target audio device receives the ultrasonic detection information sent by the electronic device. The ultrasonic detection information is a related parameter in ultrasonic positioning detection, and specific content is not limited in this embodiment.
The target audio device simultaneously sends ultrasonic signals by using a plurality of horns on the target audio device. Correspondingly, the electronic device receives the ultrasonic signals simultaneously sent by the target audio device by using the plurality of horns.
The electronic device determines the location relationship between the target audio device and the electronic device based on the plurality of received ultrasonic signals.
Specifically, there are the plurality of horns on the target audio device, and locations and/or directions of the plurality of horns are different. The plurality of horns simultaneously send the ultrasonic signals. Correspondingly, the electronic device performs ranging and/or angle measurement based on the plurality of received ultrasonic signals, to determine the location relationship between the target audio device and the electronic device. For example, it is determined that the target audio device is located on the left side or the right side of the electronic device, or it is determined that the target audio device is located in front of or on a side of the electronic device.
It may be learned that, according to the stereo networking method provided in this embodiment, the user presses the button on the audio device to determine that the audio device is networked with the electronic device. This improves accuracy of determining a to-be-networked audio device. When there are a plurality of target audio devices, a sequence of buttons pressed by the user is not limited, and the electronic device determines locations of the plurality of target audio devices, and then determines the sound channel corresponding to each target audio device. The implementation is more flexible, and user experience is improved.
Optionally, after S2106, the stereo networking method provided in this embodiment may further include the following steps.
S2107: The electronic device displays a sound channel determining screen, where the sound channel determining screen is used to guide the user to determine the sound channel corresponding to the target audio device.
S2108: The electronic device receives a sound channel determining instruction input by the user, where the sound channel determining instruction is used to determine whether the sound channel corresponding to the target audio device is correct.
The sound channel determining screen is displayed to the user, so that a location and the sound channel that are of the target audio device and that are determined by the electronic device by using the positioning technology are further determined by the user. This improves stereo establishment accuracy. This avoids a stereo establishment error caused by an error in positioning the audio device by the electronic device.
The following uses the networking mode 2 as an example to describe the sound channel determining screen with reference to
As shown in
In an actual environment, if the speaker located on the left side of the smart screen is currently lit on, the user may tap the button 615 to input a sound channel determining instruction, and determine that the left sound channel corresponding to the left speaker is correct. In an actual environment, if the speaker located on the right side of the smart screen is currently lit on, the user may tap the button 616 to input a sound channel determining instruction, and determine that the right speaker corresponds to the left sound channel, so that the electronic device performs sound channel adjustment.
Optionally, if there are two target audio devices, in an implementation, the electronic device may determine, by using the sound channel determining screen, a sound channel corresponding to one target audio device, and further determine, by default, a sound channel corresponding to the other target audio device.
In another implementation, the electronic device may determine, by using the sound channel determining screen, sound channels corresponding to the two target audio devices. This improves accuracy. For example, as shown in
It may be understood that, in a process in which the electronic device displays the sound channel determining screen to guide the user to determine the sound channel corresponding to the target audio device, information interaction exists between the electronic device and the target audio device, so that the electronic device can control the audio device to perform a corresponding action, for example, an indicator-on operation shown in
Optionally, after S2104, the stereo networking method provided in this embodiment may further include:
The electronic device outputs prompt information, where the prompt information indicates that the electronic device successfully determines the target audio device.
For example, for the prompt information, refer to the text “Identification succeeded” in dashed boxes in
Optionally, before S2104, the stereo networking method provided in this embodiment may further include:
The electronic device outputs prompt information, where the prompt information indicates that the electronic device is determining the target audio device.
For example, for the prompt information, refer to the text “Identifying . . . ” in dashed boxes in
Optionally, before S2101, the stereo networking method provided in this embodiment may further 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 non-music playing state.
Refer to S1907. Principles are similar, and details are not described herein again.
Optionally, after the second audio device detects that the user performs the preset operation on the target button in S2103, the stereo networking method provided in this embodiment may further include:
The second audio device controls an indicator to blink or to be normally on.
Refer to S1908. Principles are similar, and details are not described herein again.
The following describes an implementation in which the electronic device determines the target networking mode in S1603.
Optionally, in an implementation, that the electronic device determines the target networking mode may include:
The electronic device obtains the target networking mode input by the user.
For example, refer to the related descriptions in
In this implementation, a sequence of performing this step and S2101 to S2108 is not limited.
Optionally, in another implementation, that the electronic device determines the target networking mode is performed after S2106. That the electronic device determines the target networking mode includes:
If the quantity of target audio devices is one, the electronic device determines that the target networking mode is the networking mode 1.
If the quantity of target audio devices is greater than one, after S2106, the electronic device determines the target networking mode based on the location relationship. In this implementation, the electronic device determines the locations of the plurality of target audio devices by using the positioning technology, and the locations of the target audio devices are different in different networking modes. Refer to the foregoing descriptions of the networking modes. Therefore, the electronic device may determine the target networking mode based on the quantity of target audio devices and a distance and/or an angle between the target audio device and the electronic device.
Optionally, based on the foregoing embodiment, in still another embodiment of this application, a co-room detection mechanism is provided. The same-room detection mechanism is used to determine whether the electronic device and the audio device are in a same room. This improves rationality and accuracy of establishing stereo by the electronic device and the audio device, and avoids incorrect networking. In a scenario in which the electronic device and the audio device are reconnected, a first audio device that is discovered by the electronic device and not in a same room as the electronic device and that is in the to-be-reconnected first audio device may be filtered out by using the same-room detection mechanism. Similarly, in the self-networking process, a second audio device that is discovered by the electronic device and not in a same room as the electronic device and that is in a second audio device available for establishing stereo may be filtered out by using the same-room detection mechanism.
In the same-room detection mechanism, propagation characteristics of different types of signals for different obstacles may be considered, and whether the electronic device and the audio device are in a same room may be determined based on a sent or received signal. For example, different rooms are usually separated by walls, and wall-penetrating capabilities of different types of signals can be considered. A type of a signal is not limited in this embodiment, for example, an ultrasonic signal, a Bluetooth signal, or a UWB signal.
That the same-room detection mechanism is implemented by using the ultrasonic signal is described below.
Optionally, in the reconnection scenario shown in
S2401: The electronic device sends a first ultrasonic signal to the audio device. Correspondingly, the audio device receives the first ultrasonic signal sent by the electronic device.
Specifically, in the reconnection scenario, the audio device is the first audio device. In the self-networking process, the audio device is the second audio device.
S2402: If the audio device receives the first ultrasonic signal sent by the electronic device, send a second ultrasonic signal to the electronic device.
Correspondingly, the electronic device receives the second ultrasonic signal sent by the audio device.
Optionally, the method may further include the following step.
S2403: The electronic device determines a location relationship between the audio device and the electronic device based on the received second ultrasonic signal.
Specifically, a wall-penetrating capability of the ultrasonic signal is weak. When the electronic device and the audio device are located in a same room, the audio device may receive the first ultrasonic signal sent by the electronic device, and the electronic device may receive the second ultrasonic signal sent by the audio device. When the electronic device and the audio device are not in a same room, the audio device usually cannot receive the first ultrasonic signal sent by the electronic device. Certainly, the audio device does not perform S2402. Therefore, based on propagation characteristics of the ultrasonic signal, the electronic device may determine, based on whether the second ultrasonic signal is received, whether the electronic device and the audio device are in a same room. In addition, when the audio device transmits the ultrasonic signal, a current playing action is stopped, for example, a currently played song is stopped. The electronic device first sends the first ultrasonic signal, and the audio device replies with the second ultrasonic signal. This avoids disturbance to the audio device located in a different room. Further, after receiving the second ultrasonic signal which the audio device replies with, the electronic device may determine the location relationship between the audio device and the electronic device based on the second ultrasonic signal.
A manner of sending the ultrasonic signal by the electronic device or the audio device is not limited in this embodiment. For example, the signal may be sent by using one horn, or may be simultaneously sent by using a plurality of horns.
Optionally, in another implementation in which the same-room detection mechanism is implemented by using the ultrasonic signal, the electronic device may send interaction information to the audio device, to instruct the audio device to send the ultrasonic signal. If the electronic device receives the ultrasonic signal sent by the audio device, it is determined that the electronic device and the audio device are located in a same room. If the electronic device does not receive the ultrasonic signal sent by the audio device, it is determined that the electronic device and the audio device are not in a same room. Content and a transmission manner of the interaction information are not limited in this implementation. For example, the information may be transmitted by using the Bluetooth broadcast message or the routing device.
Optionally, based on the foregoing same-room detection mechanism, another embodiment of this application provides an implementation in S1603: The electronic device determines the target networking mode, and determines a to-be-networked target audio device determined by the user and a sound channel corresponding to the target audio device. In this embodiment, the electronic device may determine, by using the same-room detection mechanism, a second audio device that is in a same room as the electronic device and that can be used for establishing stereo. For ease of description, the second audio device that is in a same room as the electronic device and that can be used for establishing stereo is referred to as a third audio device. The electronic device displays the third audio device by using the man-machine interaction process with the user, to guide the user to determine whether the third audio device is the target audio device. The user does not need to press a button on the audio device. This simplifies user operations and improves user experience. When the electronic device is networked with a plurality of target audio devices, the electronic device automatically determines the sound channel corresponding to the target audio device based on the location relationship between the plurality of target audio devices and the electronic device. This provides a flexible implementation and improves user experience.
As shown in
S2501: The electronic device displays an audio device identification screen, where the audio device identification screen includes at least one third audio device, and the audio device identification screen is used to guide the user to determine whether the third audio device is the target audio device.
Content and layout of the audio device identification screen are not limited in this embodiment. Optionally, if a quantity or locations of the third audio devices are different, manners of determining whether the third audio device is the target audio device are different, and audio device identification screens may be different.
S2502: The electronic device receives a feedback instruction input by the user, where the feedback instruction is used to determine whether the third audio device is the target audio device.
With reference to the scenario shown in
Optionally, in an example, the at least one third audio device on the audio device identification screen is sequentially lit, and the user sequentially determines whether the indicator-on third audio device is the target audio device.
As shown in
Optionally, the user may perform an operation on the cancel button 717 to input a device identification cancel instruction. Correspondingly, the smart screen ends the self-networking process in response to the device identification cancel instruction.
It is assumed that the current indicator-on speaker is the speaker c, and the user determines not to establish stereo with the smart screen. The user may tap the no button 716 to input a feedback instruction, indicating that the current indicator-on speaker is not the target audio device. Correspondingly, the smart screen determines, according to the feedback instruction, that the current indicator-on speaker is not the target audio device. The audio device identification screen 71 is changed to an audio device identification screen 72, as shown in
It is assumed that the current indicator-on speaker is changed to the speaker a, and the user determines to establish stereo with the smart screen. The user may tap the yes button 715 to input a feedback instruction, indicating that the current indicator-on speaker is the target audio device. Correspondingly, the smart screen determines a 1st target audio device according to the feedback instruction. The audio device identification screen 72 is changed to an audio device identification screen 73, as shown in
Optionally, the audio device identification screen 72 includes a next button 718. The user may perform an operation on the next button 718 to input a device identification determining instruction. Correspondingly, the smart screen determines the quantity of target audio devices in response to the device identification determining instruction, and continues the self-networking process.
As shown in
In the foregoing process, if there is one third audio device, the electronic device sends indicator-on indication information to the third audio device. If there are a plurality of third audio devices, the electronic device sequentially sends indicator-on indication information to the third audio devices. A sequence of sending the indicator-on indication information to the plurality of third audio devices is not limited in this embodiment. The indicator-on indication information indicates the third audio device to turn on an indicator. Optionally, the indicator-on indication information may be sent by using the Bluetooth broadcast message or the BLE connection.
Optionally, after the electronic device determines each target audio device, the method may further include:
The electronic device outputs prompt information, where the prompt information indicates whether the electronic device successfully determines the target audio device.
For example, for the prompt information, refer to the text in dashed boxes in
Optionally, in another example, because the electronic device may learn of a location of the third audio device by using the same-room detection mechanism, the audio device identification screen may display the location relationship between the third audio device and the electronic device. The electronic device controls the third audio devices to turn on the indicators. For a non-target audio device in the third audio device, the user may perform an operation on the audio device identification screen to light off the non-target audio device, to determine whether the third audio device is the target audio device.
As shown in
In the scenario shown in
It may be understood that, in the foregoing process, before displaying the audio device identification screen, the electronic device sends the indicator-on indication information to the third audio device, to light on the third audio device. After receiving the feedback instruction input by the user, the electronic device sends indicator-off indication information to the third audio device corresponding to the feedback instruction, to light off the third audio device. Optionally, the indicator-on indication information or the indicator-off indication information may be sent by using the Bluetooth broadcast message or the BLE connection.
Optionally, the user may perform an operation on the cancel button 817 to input a device identification cancel instruction. Correspondingly, the smart screen ends the self-networking process in response to the device identification cancel instruction.
Optionally, the user may perform an operation on the next button 816 to input a device identification determining instruction. Correspondingly, the smart screen determines the quantity of target audio devices in response to the device identification determining instruction, and continues the self-networking process.
S2503: If the quantity of target audio devices is one, the electronic device determines the sound channel corresponding to the target audio device.
S2504: If the quantity of target audio devices is greater than one, the electronic device obtains the location relationship between the plurality of target audio devices and the electronic device, and determines, based on the location relationship, a sound channel corresponding to each target audio device.
Optionally, in an implementation, the electronic device may determine a location relationship between each third audio device and the electronic device in the same-room detection mechanism, to further obtain the location relationship between the target audio device and the electronic device. For example, refer to S2403.
Optionally, in another implementation, in S2106, the electronic device determines the location relationship between the plurality of target audio devices and the electronic device by using a positioning technology. Principles are similar, and details are not described herein again.
It should be noted that, in this embodiment, when the electronic device guides the user to determine whether the third audio device is the target audio device, the electronic device may control the third audio device to perform another action. This is not limited in this embodiment. For example, the third audio device may be controlled to play a sound.
Optionally, after S2504, the stereo networking method provided in this embodiment may further include:
The electronic device displays a sound channel determining screen, where the sound channel determining screen is used to guide the user to determine the sound channel corresponding to the target audio device.
The electronic device receives a sound channel determining instruction input by the user, where the sound channel determining instruction is used to determine whether the sound channel corresponding to the target audio device is correct.
Refer to S2107 and S2108 in the embodiment shown in
For an implementation in which the electronic device determines the target networking mode in S1603, refer to the related descriptions in the embodiment shown in
It may be understood that, to implement the foregoing functions, the electronic device and the audio device include corresponding hardware and/or software modules for performing each function. Algorithm steps in the examples described with reference to embodiments disclosed in this specification can be implemented by hardware or a combination of hardware and computer software in this application. Whether a function is performed by hardware or hardware driven by computer software depends on a particular application and a design constraint of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application with reference to embodiments, but it should not be considered that the implementation goes beyond the scope of this application.
In embodiments of this application, the electronic device and the audio device may be divided into functional modules based on the foregoing method examples. For example, each functional module may be obtained through division based on each corresponding function, or two or more functions may be integrated into one module. It should be noted that, in embodiments of this application, division into the modules is an example and is merely for logical functions, and may be division otherwise in practice. It should be noted that names of the modules in embodiments of this application are examples, and the modules can be named without limitation in practice.
Optionally, the apparatus further includes a second receiving module 2803.
The second receiving module 2803 is configured to receive a stereo establishment instruction input by the user, where the stereo establishment instruction instructs 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 sound channel corresponding to each target audio device, where the target audio device is an audio device that is determined by the user in the second audio device and that establishes stereo with the electronic device, and the target networking mode is a networking mode in which the electronic device and the at least one target audio device establish stereo.
The processing module 2802 is further configured to establish a Wi-Fi connection to each target audio device.
Optionally, the networking mode includes:
Optionally, the processing module 2802 is configured to:
Optionally, the preset determining sequence includes any one of the following:
Optionally, the processing module 2802 is further configured to:
Optionally, the processing module 2802 is configured to:
Optionally, the processing module 2802 is configured to:
Optionally, the processing module 2802 is configured to:
Optionally, after the determining the at least one target audio device based on the device identification information, the processing module 2802 is further configured to:
Optionally, the apparatus further includes a sending module 2804. The sending module 2804 is configured to:
Optionally, the target button is any one of the following: a mute button, a play button, or a pause button.
Optionally, the apparatus further includes a sending module 2804.
The sending module 2804 is configured to: before the displaying a stereo establishment pop-up box, send a first ultrasonic signal to the second audio device.
The first receiving module 2801 is further configured to receive a second ultrasonic signal sent by at least one third audio device in the second audio device.
Optionally, the processing module 2802 is further configured to:
Optionally, the processing module 2802 is configured to:
Optionally, the third audio device identification screen further indicates the location relationship between the at least one third audio device and the electronic device.
Optionally, the processing module 2802 is configured to:
Optionally, the processing module 2802 is configured to:
Optionally, the processing module 2802 is configured to:
Optionally, the processing module 2802 is further configured to display a sound channel determining screen, where the sound channel determining screen is used to guide the user to determine whether the sound channel corresponding to the target audio device is correct.
The second receiving module 2803 is further configured to receive a sound channel determining instruction input by the user, where the sound channel determining instruction is used to determine whether the sound channel corresponding to the target audio device is correct.
Optionally, the processing module 2802 is further configured to: before the establishing a Wi-Fi connection to each target audio device, when determining that no WLAN is configured for the target audio device, configure a target WLAN for the target audio device, where the target WLAN is a WLAN that has been configured for the electronic device.
Optionally, the processing module 2802 is configured to:
Optionally, the Bluetooth broadcast message includes networking identification information, networking indication information, and a product model of the audio device, the networking identification information indicates whether the audio device has established stereo, and the networking indication information indicates whether the audio device is allowed to establish stereo.
Optionally, the processing module 2802 is configured to:
Optionally, the processing module 2802 is further configured to: before the determining that the second audio device exists, determine that a signal strength of the Bluetooth broadcast message is greater than a preset threshold.
Optionally, the processing module 2802 is further configured to: before the determining that the second audio device exists, determine that the electronic device does not currently perform a projection service.
Optionally, the Bluetooth broadcast message further includes network configuration information, and the network configuration information indicates whether a WLAN has been configured for the audio device.
The apparatus provided in this embodiment is configured to implement operations performed by the electronic device in the stereo networking method provided in the foregoing method embodiment. Technical principles and technical effects are similar, and details are not described herein again.
Optionally, the processing module 2902 is further configured to establish a Wi-Fi connection to the electronic device.
Optionally, the apparatus further includes a receiving module 2903.
The receiving module 2903 is configured to: before establishing the Wi-Fi connection to the electronic device, receive to-be-networked notification information sent by the electronic device, where the to-be-networked notification information indicates to detect whether a user performs a preset operation on a target button.
The sending module 2901 is configured to: if detecting that the user performs the preset operation on the target button, send device identification information to the electronic device, where the device identification information indicates that the audio device is a target audio device that establishes stereo with the electronic device.
Optionally, the sending module 2901 is configured to: receive a BLE broadcast message sent by the electronic device, where the BLE broadcast message includes the to-be-networked notification information.
Optionally, the target button is any one of the following: a mute button, a play button, or a pause button.
Optionally, the apparatus further includes a receiving module 2903.
The receiving module 2903 is configured to: before establishing the Wi-Fi connection to the electronic device, receive ultrasonic detection information sent by the electronic device.
The sending module 2901 is further configured to send an ultrasonic signal to the electronic device.
Optionally, the apparatus further includes a receiving module 2903.
The receiving module 2903 is configured to: before establishing the Wi-Fi connection to the electronic device, receive a first ultrasonic signal sent by the electronic device.
The sending module 2901 is further configured to send a second ultrasonic signal to the electronic device.
Optionally, the Bluetooth broadcast message includes networking identification information, networking indication information, and a product model of the audio device, the networking identification information indicates whether the audio device has established stereo, and the networking indication information indicates whether the audio device is allowed to establish stereo.
Optionally, the Bluetooth broadcast message further includes network configuration information, and the network configuration information indicates whether a WLAN has been configured for the audio device.
The apparatus provided in this embodiment is configured to implement operations performed by the audio device in the stereo networking method provided in the foregoing method embodiment. Technical principles and technical effects are similar, and details are not described herein again.
After the device is powered on, the processor may read the software program in the memory, interpret and execute instructions of the software program, and process the data of the software program. When the processor needs to send data through the antenna, after performing baseband processing on the to-be-sent data, the processor outputs a baseband signal to a control circuit in the control circuit. The control circuit performs radio frequency processing on the baseband signal and then sends a radio frequency signal to the outside in the form of electromagnetic wave by using the antenna. When data is sent to the device, the control circuit receives a radio frequency signal by using the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor. The processor converts the baseband signal into data, and processes the data.
A person skilled in the art may understand that for ease of description,
In an optional implementation, the processor may include a baseband processor and a central processing unit. The baseband processor is mainly configured to process communication data, and the central processing unit is mainly configured to execute a software program and process data of the software program. A person skilled in the art may understand that the baseband processor and the central processing unit may be integrated into one processor, or may be independent processors, and are connected through a bus or the like. A person skilled in the art may understand that the device may include a plurality of baseband processors to adapt to different network standards, and the device may include a plurality of central processing units to enhance processing capabilities of the device, and components of the device may be connected through various buses. The baseband processor may alternatively be expressed as a baseband processing circuit or a baseband processing chip. The central processing unit may alternatively be expressed as a central processing circuit or a central processing chip. The function of processing the communication protocol and the communication data may be built in the processor, or may be stored in the memory in a form of software program, and the processor executes the software program to implement a baseband processing function. The memory may be integrated into the processor, or may be independent of the processor. The memory includes a cache Cache, and may store frequently accessed data/instructions.
In embodiments of this application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or another programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logical block diagrams disclosed in embodiments of this application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed with reference to embodiments of this application may be directly performed by a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
In embodiments of this application, the memory may be a non-volatile memory, for example, a hard disk drive (hard disk drive, HDD) or a solid-state drive (solid-state drive, SSD), or may be a volatile memory (volatile memory), for example, a random access memory (random access memory, RAM). The memory is any other medium that can be configured to carry or store expected program code in a form of instruction or data structure and that can be accessed by a computer, but is not limited thereto.
The memory in embodiments of this application may alternatively be a circuit or any other apparatus that can implement a storage function, and is configured to store program instructions and/or data. All or some of the methods provided in embodiments of this application may be performed by using software, hardware, firmware, or any combination thereof. When software is used to implement the embodiments, all or some of embodiments may be implemented in a form of computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or some procedures or functions in embodiments of this application are generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, a network device, user equipment, or another programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or may be transmitted from a 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 to another website, computer, server, or data center in a wired manner (for example, a coaxial cable, an optical fiber, or a digital subscriber line (digital subscriber line, DSL)) or a wireless manner (for example, infrared, radio, and microwave). The computer-readable storage medium may be any usable medium accessible by the computer, or a data storage device like a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk drive, or a magnetic tape), an optical medium (for example, a digital video disc (digital video disc, DVD)), a semiconductor medium (for example, the SSD), or the like.
An embodiment of this application provides a computer program product. When the computer program product runs on a device, the device is enabled to perform the technical solutions in the foregoing embodiments. Implementation principles and technical effects thereof are similar to those of the foregoing related embodiments, and details are not described herein again. The device may be an electronic device or an audio device.
An embodiment of this application provides a computer-readable storage medium. The computer-readable storage medium stores program instructions. When the program instructions are executed by a device, the device is enabled to perform the technical solutions in the foregoing embodiments. Implementation principles and technical effects thereof are similar to those of the foregoing related embodiments, and details are not described herein again. The device may be an electronic device or an audio device.
In conclusion, the foregoing embodiments are merely intended for describing the technical solutions of this application instead of limiting this application. Although this application is described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some technical features thereof, without departing from the scope of the technical solutions of embodiments of this application.
Number | Date | Country | Kind |
---|---|---|---|
202110859206.X | Jul 2021 | CN | national |
This application is a National Stage of International Application No. PCT/CN2022/107641, filed on Jul. 25, 2022, which claims priority to Chinese Patent Application No. 202110859206.X, filed on Jul. 28, 2021, both of which are hereby incorporated by reference in their entireties.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2022/107641 | 7/25/2022 | WO |