A method, apparatus and system for assembling a home theater

By receiving the capability information of the second device through the first device, determining its placement and automatically configuring the channels, the complex problem of setting up a home theater in the prior art is solved, and the effect of simplifying operation and improving user experience is achieved.

CN118233692BActive Publication Date: 2025-10-24HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211644507.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-20
Publication Date
2025-10-24
Estimated Expiration
2042-12-20

AI Technical Summary

Technical Problem

The existing process of building a home theater is complicated, requiring users to perform complex manual configuration or professional on-site guidance, which affects the user experience.

Method used

The first device receives the capability information of the second device, determines whether its placement meets the preset conditions, and provides an interface to guide the user to adjust the position and automatically configure the channels, simplifying user operations.

Benefits of technology

Users can simply and quickly place and configure devices in their home theater, improving the efficiency of setting up a home theater and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118233692B_ABST
    Figure CN118233692B_ABST
Patent Text Reader

Abstract

The application provides a method, device and system for assembling a home theater, relates to the technical field of terminals, and can simplify the operation of a user in the process of assembling the home theater, thereby improving user experience. The method comprises the following steps: receiving m first capability information from m second devices, acquiring the placement positions of the m second devices, and determining whether the placement positions of the m second devices meet preset conditions according to the placement positions of the m second devices and the m first capability information. If the preset conditions are not met, a first interface is displayed. If the preset conditions are met, a second interface is displayed. Each of the m first capability information is used to indicate a sound channel supported by a corresponding second device, and m is an integer greater than or equal to 1. The preset conditions comprise the placement positions of the second devices supporting different sound channels when the home theater is assembled. The first interface comprises recommended information of the placement positions of the m second devices, and the second interface comprises information for prompting successful placement.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of terminal, and in particular, to a method, device and system for setting up a home theater. BACKGROUND

[0002] With the rapid development of smart home (such as smart screen and sound box, etc.), more and more users set up a home theater system (hereinafter referred to as home theater) including multiple devices in the home and other places, so that the users can enjoy a good audio-visual experience at home. However, the existing process of setting up a home theater is very complex, which requires the user to perform complex manual configuration or requires professional personnel to guide the installation, which is time-consuming and cumbersome, and brings inconvenience to the user and affects the user experience. SUMMARY

[0003] The present application provides a method, device and system for setting up a home theater, which can simplify the user operation in the process of setting up a home theater and improve the user experience.

[0004] To achieve the above object, the present application adopts the following technical solutions:

[0005] In a first aspect, a method for setting up a home theater is provided, which is applied to a first device. The method can be executed by the first device, or by a component of the first device, such as a processor, a chip, or a chip system of the first device, or by a logic module or software capable of realizing all or part of the functions of the first device. The method comprises: receiving m first capability information from m second devices, obtaining the placement positions of the m second devices, and determining whether the placement positions of the m second devices meet a preset condition according to the placement positions of the m second devices and the m first capability information. If it is determined that the placement positions of the m second devices do not meet the preset condition, a first interface is displayed. If it is determined that the placement positions of the m second devices meet the preset condition, a second interface is displayed. Each of the m first capability information indicates a supported channel of a corresponding second device, and m is an integer not less than 1. The preset condition includes the placement positions of the second devices supporting different channels when setting up the home theater. The first interface includes recommended information of the placement position of at least one of the m second devices, and the second interface includes information for prompting a successful placement.

[0006] According to the method provided in the first aspect, the first device determines whether the placement positions of the m second devices meet preset conditions according to the sound channels and the placement positions supported by the m second devices respectively, and if yes, displays a second interface including information for prompting successful placement, and if not, displays the first interface and recommends the placement positions of at least one of the m second devices to the user. Compared with confirming the placement positions by the user through the instruction manual and measuring the placement positions or guiding the user on site by a professional, the method can help the user to simply and quickly place the second devices in the home theater, does not require the user to perform complex manual operations, can simplify the user operation, and thus improves the user experience.

[0007] In a possible implementation, the method provided in the first aspect can further include: reacquiring the placement positions of the m second devices, and determining whether the reacquired placement positions of the m second devices meet the preset conditions according to the reacquired placement positions of the m second devices and the m first capability information. If it is determined that the reacquired placement positions of the m second devices do not meet the preset conditions, a third interface is displayed, the third interface including recommendation information of the placement positions of at least one of the m second devices. If it is determined that the reacquired placement positions of the m second devices meet the preset conditions, a fourth interface is displayed, the fourth interface including information for prompting successful placement.

[0008] In this way, after the user adjusts the placement positions, the first device can continue to determine whether the adjusted placement positions meet the preset conditions until the positions of all the second devices are successfully placed.

[0009] In a possible implementation, the method provided in the first aspect can further include: after it is determined that the placement positions of the m second devices meet the preset conditions, determining sound channel types of the m second devices according to the placement positions of the m second devices, and sending sound channel configuration information to the m second devices. The sound channel configuration information is used to indicate the sound channel types.

[0010] In this implementation, after the user successfully places the second devices, the first device can automatically assign sound channels to the m second devices. Compared with configuring the sound channels for the second devices by the user through a key or an application program or by a professional on site, the method can help the user to simply and quickly complete the configuration of the sound channels, does not require the user to perform manual operations, and thus further improves the user experience.

[0011] In a possible implementation, the method provided by the first aspect further includes: determining the sound channel types of the m second devices according to the re-acquired placement positions of the m second devices after determining that the re-acquired placement positions of the m second devices meet the preset condition; and sending sound channel configuration information to the m second devices, wherein the sound channel configuration information is used to indicate the sound channel types. In this implementation, after the user successfully places the second devices, the first device can automatically assign sound channels to the m second devices, which can help the user to simply and quickly complete the configuration of the sound channels, does not require manual operation of the user, and can further improve the user experience.

[0012] In a possible implementation, before displaying the first interface according to the first capability information of the m second devices and the preset condition, the method provided by the first aspect further includes: broadcasting an ultrasonic signal, wherein the ultrasonic signal includes an ultrasonic identifier; and broadcasting a first message, wherein the first message includes the ultrasonic identifier. According to the first condition, n second devices in the same room as the first device are obtained, n is an integer greater than or equal to 1, and n is greater than or equal to m. The first condition includes: receiving a second message. In this way, the first device can exclude the second devices that are not in the same room as the first device, obtain the second devices in the same room as the first device, and recommend the placement positions of the second devices in the same room as the first device, which can improve the accuracy of setting up a home theater.

[0013] Optionally, the same room can refer to the same space, the same room, or the same waiting hall, etc. The room can refer to a living room, a bedroom, a study, or a waiting hall, etc.

[0014] In a possible implementation, the above obtaining, according to the first condition, the n second devices in the same room as the first device can include: if the first condition is met, determining that the second device that sends the second message is in the same room as the first device. For example, if the second message is received, it is determined that the second device that sends the second message is in the same room as the first device.

[0015] In a possible implementation, the second message includes one or more of the following: the ultrasonic identifier, the signal strength of the ultrasonic signal, and the signal strength of the first message.

[0016] The first condition further includes one or more of the following: the ultrasonic identifier included in the second message is consistent with the ultrasonic identifier sent by the first device, the signal strength of the ultrasonic signal is greater than or equal to a first threshold, and the signal strength of the first message is greater than or equal to a second threshold.

[0017] Alternatively, the first condition further comprises one or more of the following: the ultrasonic identifier comprised in the second message is consistent with the ultrasonic identifier sent by the first device, the distance corresponding to the signal strength of the ultrasonic signal is less than or equal to a third threshold value, and the distance corresponding to the signal strength of the first message is less than or equal to a fourth threshold value.

[0018] That is, the first device can further determine whether the first device and the second device are in the same room through the ultrasonic identifier comprised in the second message, the distance between the first device and the second device, and / or the strength of the signal (ultrasonic signal and / or first message) between the first device and the second device.

[0019] In a possible implementation, after obtaining n second devices in the same room as the first device according to the first condition, the method provided by the first aspect can further comprise: obtaining m second devices from the n second devices according to the first capability information of the n second devices and a second condition. The first capability information of the m second devices satisfies the second condition, and the second condition is a condition for setting up a home theater. That is, the second devices that satisfy the condition for setting up a home theater, such as m, can be selected from the n second devices in the same room as the first device, and m is an integer less than or equal to n.

[0020] Optionally, the first device can receive the first capability information from the n second devices, and the n second devices include the m second devices. That is, the first device can receive the first capability information of the m-n second devices in addition to the first capability information of the m second devices.

[0021] In a possible implementation, the method provided by the first aspect can further comprise: determining whether a newly added second device in the room where the first device is located can join the home theater system that has been set up, the home theater system that has been set up being set up by the first device and the m second devices. If it is determined that the newly added second device in the room where the first device is located can join the home theater system that has been set up, a fifth interface is displayed according to the m first capability information, second capability information of the newly added second device, and a preset condition, the fifth interface comprising information for prompting a placement position of the newly added second device. If it is determined that the newly added second device in the room where the first device is located cannot join the home theater system that has been set up, a sixth interface is displayed, the sixth interface comprising information for prompting that the newly added second device cannot join the home theater system that has been set up.

[0022] In this way, after a second device is newly added to the home theater that has been set up, the large-screen device can automatically discover the newly added second device and automatically complete networking (set up a home theater) without the need for user operation, which can reduce the complexity of the newly added second device joining the home theater that has been set up, thereby improving user experience.

[0023] In a possible implementation, the determining whether the added second device in the room where the first device is located can join the built home theater system can include: determining, according to the first capability information of the m second devices, the second capability information of the added second device, and a second condition, whether the added second device can join the built home theater system, the second condition being a condition for building the home theater.

[0024] In a second aspect, a first device is provided, which includes: a processing unit, a display unit, and a transceiver unit.

[0025] The transceiver unit is configured to receive m first capability information from m second devices. The processing unit is configured to obtain the placement positions of the m second devices. The processing unit is further configured to determine, according to the placement positions of the m second devices and the m first capability information, whether the placement positions of the m second devices meet a preset condition. The display unit is configured to display a first interface when it is determined that the placement positions of the m second devices do not meet the preset condition. The display unit is further configured to display a second interface when it is determined that the placement positions of the m second devices meet the preset condition. Each of the m first capability information is used to indicate a supported channel of a corresponding second device, and m is an integer greater than or equal to 1. The preset condition includes a placement position of a second device supporting different channels when building a home theater. The first interface includes recommendation information of the placement position of at least one of the m second devices, and the second interface includes information for prompting a successful placement.

[0026] In a possible implementation, the processing unit is further configured to re-obtain the placement positions of the m second devices. The processing unit is further configured to determine, according to the re-obtained placement positions of the m second devices and the m first capability information, whether the re-obtained placement positions of the m second devices meet the preset condition. The display unit is further configured to display a third interface when it is determined that the re-obtained placement positions of the m second devices do not meet the preset condition, the third interface including the recommendation information of the placement position of at least one of the m second devices. The display unit is further configured to display a fourth interface when it is determined that the re-obtained placement positions of the m second devices meet the preset condition, the fourth interface including the information for prompting the successful placement.

[0027] In a possible implementation, the processing unit is further configured to determine, according to the placement positions of the m second devices, a channel type of the m second devices after it is determined that the placement positions of the m second devices meet the preset condition. The transceiver unit is further configured to send channel configuration information to the m second devices, the channel configuration information being used to indicate the channel type.

[0028] In a possible implementation, the processing unit is further configured to determine the sound channel types of the m second devices according to the re-acquired placement positions of the m second devices, after determining that the re-acquired placement positions of the m second devices meet the preset condition. The transceiving unit is further configured to send the sound channel configuration information to the m second devices. The sound channel configuration information is used to indicate the sound channel types.

[0029] In a possible implementation, the transceiving unit is further configured to broadcast the ultrasonic signal. The ultrasonic signal comprises an ultrasonic identifier. The transceiving unit is further configured to broadcast the first message, wherein the first message comprises the ultrasonic identifier. The processing unit is further configured to obtain n second devices in the same room as the first device according to a first condition, n being an integer greater than or equal to 1 and n being greater than or equal to m. The first condition comprises receiving the second message.

[0030] In a possible implementation, the processing unit is further configured to determine that the second device sending the second message is in the same room as the first device if the first condition is met.

[0031] In a possible implementation, the second message comprises one or more of the following: the ultrasonic identifier, the signal strength of the ultrasonic signal, and the signal strength of the first message.

[0032] The first condition further comprises one or more of the following: the ultrasonic identifier comprised in the second message is consistent with the ultrasonic identifier sent by the first device, the signal strength of the ultrasonic signal is greater than or equal to a first threshold, and the signal strength of the first message is greater than or equal to a second threshold.

[0033] Alternatively, the first condition further comprises one or more of the following: the ultrasonic identifier comprised in the second message is consistent with the ultrasonic identifier sent by the first device, the distance corresponding to the signal strength of the ultrasonic signal is less than or equal to a third threshold, and the distance corresponding to the signal strength of the first message is less than or equal to a fourth threshold.

[0034] In a possible implementation, the processing unit is further configured to obtain the m second devices from the n second devices according to the first capability information of the n second devices and a second condition. The first capability information of the m second devices meets the second condition, and the second condition is a condition for setting up a home theater.

[0035] In a possible implementation, the processing unit is further configured to determine whether the added second device in the room where the first device is located can join the established home theater system, the established home theater system being established by the first device and the m second devices. The display unit is further configured to determine that the added second device in the room where the first device is located can join the established home theater system, and display a fifth interface according to the m first capability information, the second capability information of the added second device, and a preset condition, the fifth interface including information for prompting a placement position of the added second device. The display unit is further configured to determine that the added second device in the room where the first device is located cannot join the established home theater system, and display a sixth interface, the sixth interface including information for prompting that the added second device cannot join the established home theater system.

[0036] In a possible implementation, the processing unit is further configured to determine whether the added second device can join the established home theater system according to the first capability information of the m second devices, the second capability information of the added second device, and a second condition. The second condition is a condition for establishing a home theater.

[0037] It should be noted that the transceiver unit can be separately arranged (for example, a receiving unit and a sending unit), or can be integrated in one module, that is, the transceiver unit. The specific implementation of the transceiver unit is not limited in the present application.

[0038] Optionally, the first device of the second aspect can further include a storage unit, which stores a program or an instruction. When the processing unit executes the program or the instruction, the first device of the second aspect can execute the method of the first aspect.

[0039] It should be noted that the first device of the second aspect can be a large-screen device, or can be a chip (system) or other components or assemblies that can be arranged in a large-screen device, and the present application does not limit this.

[0040] In addition, the technical effects of the first device of the second aspect can refer to the technical effects of the method of any one of the possible implementation manners of the first aspect, which will not be repeated here.

[0041] In a third aspect, a first device is provided, which includes a display screen, one or more processors, one or more memories, and the memory stores one or more programs. When the one or more programs are executed by the one or more processors, the first device executes the method in any one of the possible implementation manners of the first aspect.

[0042] In a fourth aspect, an embodiment of the present application provides a circuit system, the circuit system comprising a processing circuit configured to perform the method according to any one of the embodiments of the first aspect.

[0043] In a fifth aspect, a communication system is provided, the communication system comprising a first device according to the second aspect, and a second device. Alternatively, the communication system comprises a first device for implementing the method according to the first aspect, and a second device according to the second aspect. The second device is configured to send the first capability information to the first device, the first capability information being used to indicate the supported channels of the second device. Optionally, the number of the second devices can be one or more.

[0044] In a sixth aspect, a readable storage medium is provided, the readable storage medium comprising a program, which when executed on a device, causes the device to perform the method according to any one of the embodiments of the first aspect.

[0045] In a seventh aspect, a chip system is provided, the chip system comprising a processor and a memory, the memory storing a program; the program being executed by the processor, causes the processor to implement the method according to any one of the embodiments of the first aspect. The chip system can be composed of a chip, or can comprise a chip and other discrete devices.

[0046] In an eighth aspect, a program product is provided, which when executed on a computer or a device, causes the computer or the device to implement the method according to any one of the embodiments of the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0047] Figure 1 A schematic diagram of a communication system for a home theater method application provided by an embodiment of the present application;

[0048] Figure 2 A hardware structure schematic diagram of a large screen device and a sound box provided by an embodiment of the present application;

[0049] Figure 3 A software structure block diagram of a large screen device and a sound box provided by an embodiment of the present application;

[0050] Figure 4 A flowchart of a home theater method provided by an embodiment of the present application;

[0051] Figure 5 A scene schematic diagram of a home theater provided by an embodiment of the present application;

[0052] Figure 6 Another scene schematic diagram of a home theater provided by an embodiment of the present application;

[0053] Figure 7AAnother scene diagram for setting up a home theater provided by an embodiment of the present application;

[0054] Figure 7B Another scene diagram for setting up a home theater provided by an embodiment of the present application;

[0055] Figure 8 A flow diagram of another method for setting up a home theater provided by an embodiment of the present application;

[0056] Figure 9 A flow diagram of another method for setting up a home theater provided by an embodiment of the present application;

[0057] Figure 10A A diagram of sending a first ultrasonic signal and a second ultrasonic signal provided by an embodiment of the present application;

[0058] Figure 10B A waveform diagram of a frequency-modulated continuous wave provided by an embodiment of the present application;

[0059] Figure 10C Another diagram of sending a first ultrasonic signal and a second ultrasonic signal provided by an embodiment of the present application;

[0060] Figure 11 A diagram of a double-lateral two-way ranging method provided by an embodiment of the present application;

[0061] Figure 12A Another scene diagram for setting up a home theater provided by an embodiment of the present application;

[0062] Figure 12B Another scene diagram for setting up a home theater provided by an embodiment of the present application;

[0063] Figure 13 A flow diagram of another method for setting up a home theater provided by an embodiment of the present application;

[0064] Figure 14 Another scene diagram for setting up a home theater provided by an embodiment of the present application;

[0065] Figure 15 A structural diagram of a device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0066] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing the specific embodiments and are not intended to be limiting on the present application. As used in the specification and the appended claims of the present application, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that “at least one” and “one or more” as used in the embodiments herein indicates one or two or more (including two).

[0067] In this specification, the reference to “one embodiment” or “some embodiments” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in additional embodiments,” and so on, in various places in the specification are not necessarily all referring to the same embodiment, unless otherwise specifically stated. The terms “comprising,” “including,” “having,” and the like, mean “including but not limited to,” unless otherwise specifically indicated. The term “connected” means either directly connected or indirectly connected unless otherwise specifically indicated. The terms “first,” “second,” and the like, are used merely for description and are not intended to indicate or imply relative importance or an order of magnitude.

[0068] In the embodiments of the present application, the words “exemplary” and “for example” are used to mean serving as an example, instance, or illustration. Any implementation described herein as “exemplary” or “for example” is not necessarily to be construed as preferred or advantageous over other implementations. Rather, the exemplary or example implementations are intended to convey the substance of the implementations in a word manner.

[0069] Exemplarily, Figure 1 A schematic diagram of a communication system to which a home cinema method provided by the embodiments of the present application is applied.

[0070] The home cinema method provided by the embodiments of the present application is applied to a communication system (which can also be referred to as a home cinema system). As shown in the figure, Figure 1 The communication system includes a first device 100 and at least one second device 200.

[0071] The first device 100 includes, but is not limited to, a large-screen device, a smart screen, a television, a smart projector, a smart display, or a digital versatile disc player, a video and audio disc player, and the like. Embodiments of the present application do not specially limit the specific form of the first device 100. The operating system installed on the first device 100 includes, but is not limited to or other operating systems. The present application does not limit the specific type of the first device 100 or the operating system installed thereon.

[0072] The second device 200 includes, but is not limited to, a sound, a sound box, or a smart sound box, and the like. Embodiments of the present application do not specially limit the specific form of the second device 200. The operating system installed on the second device 200 includes, but is not limited to or other operating systems. The present application does not limit the specific type of the second device 200 or the operating system installed thereon. In some examples, the first device 100 can prompt the placement position of at least one second device 200, and the first device 100 can assign a sound channel to at least one second device 200, and the like.

[0073] In some examples, the first device 100 can also be a sound, a sound box, or a smart sound box, and the like. For example, the communication system can include at least two sound boxes, one of which can prompt a user to place each sound box in the communication system and assign a sound channel to each sound box, and the like. Alternatively, the communication system can also include, but is not limited to, a mobile phone, a smart screen, a television, a smart projector, a smart display, or a digital versatile disc player, a video and audio disc player, and the like.

[0074] Alternatively, the first device 100 and the second device 200 can establish a communication connection through wireless or wired communication technology. The wireless communication technology includes, but is not limited to, at least one of the following: near field communication (NFC), Bluetooth (BT) (for example, traditional Bluetooth or Bluetooth low energy (BLE)), wireless local area networks (WLAN) (such as a wireless fidelity (Wi-Fi) network), Zigbee, frequency modulation (FM), infrared (IR), ultra wideband (UWB), and the like.

[0075] In some embodiments, both the first device 100 and the second device 200 support the proximity discovery function. For example, after the first device 100 approaches the second device 200, the first device 100 and the second device 200 can discover each other, and then establish a wireless communication connection such as a Wi-Fi peer to peer (P2P) connection, a Bluetooth connection, a UWB connection, or a wireless communication connection supported by a future connection technology.

[0076] Optionally, the first device 100 and the second device 200 establish the wireless communication connection through a local area network. For example, the first device 100 and the second device 200 are connected to the same router and can discover each other to establish the wireless communication connection.

[0077] Optionally, the first device 100 and the second device 200 can also establish the communication connection through a third-party device in the local area network, such as a router, a gateway, a smart device controller, a server, a wireless access point (AP) device, or the like.

[0078] In an example, the communication system further includes a routing device (such as a router). The routing device is used to connect a local area network or the Internet. For example, a home theater deploys one or more routers to form a local area network or access the local area network or the Internet. The first device 100 or the second device 200 accesses the router and performs data transmission with a device in the local area network or a device in the Internet through a Wi-Fi channel established by the router.

[0079] In an example, the communication system further includes a server (such as a cloud server). For example, the routing device or the gateway can send information (such as a placement rule) in the server to the first device 100 or the second device 200. The server can also store one or more ultrasonic algorithm models, or can store a part of an ultrasonic algorithm model, and another part of the ultrasonic algorithm model can be deployed in the first device 100 or the second device 200. The ultrasonic algorithm model is used to identify and analyze ultrasonic signals. After the server analyzes the ultrasonic signals by using the ultrasonic algorithm model, the server can send the information obtained after the analysis to the first device 100 and / or the second device 200 through the routing device or the gateway.

[0080] The above is only a description of the method for assembling a home theater provided by the embodiments of the present application. It should be noted that any content in the above-described examples or optional manners can be freely combined, and the combined content is also within the scope of the present application.

[0081] For example, the first device 100 is a large-screen device, and the second device 200 is a sound box. Figure 2A hardware structure schematic diagram of a large-screen device and a sound box provided by an embodiment of the present application.

[0082] As shown in Figure 2 , the large-screen device can include a processor 210, a memory 220, a power module 240, a wireless communication module 250, an audio module 260, a loudspeaker 260A, a microphone 260C, and a display screen 270, etc. Optionally, the large-screen device can further include an interface 230 and a receiver 260B, etc.

[0083] The sound box can include a processor 210, a memory 220, a power module 240, a wireless communication module 250, an audio module 260, a loudspeaker 260A, a receiver 260B, and a microphone 260C, etc. Optionally, the sound box can further include an interface 230 and a display screen 270, etc.

[0084] It can be understood that the structure illustrated by the embodiment of the present application does not constitute a specific limitation on the first device 100 and the second device 200. In other embodiments of the present application, the first device 100 and the second device 200 can include more or fewer components than the illustration, or combine certain components, or split certain components, or different component arrangements. The illustrated components can be implemented in hardware, software, or a combination of software and hardware. In addition, Figure 2 The interface connection relationship between the illustrated modules is only illustrative and does not constitute a structural limitation on the first device 100 and the second device 200. In other embodiments of the present application, the first device 100 and the second device 200 can also use different interface connection modes, or a combination of multiple interface connection modes. Figure 2

[0085] The processor 210 can include one or more processing units, for example: the processor 210 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a video codec, a digital signal processor (DSP), etc. Among them, different processing units can be independent devices, or can be integrated in one or more processors.

[0086] ​The memory 220 can be configured to store executable program codes including instructions. For example, the memory 220 can also store data processed by the processor 210. In addition, the memory 220 can include a high-speed random access memory, and can also include a nonvolatile memory such as at least one disk memory device, a flash memory device, etc. The processor 210 performs various functional applications and data processing of the sound box or large-screen device by running the instructions stored in the memory 220 and / or the instructions stored in the memory arranged in the processor.

[0087] The interface 230 can be an interface conforming to the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The interface 230 can be configured to connect a charger to charge the sound box or large-screen device, and can also be configured to transmit data between the sound box or large-screen device and a peripheral device.

[0088] The power module 240 can be configured to supply power to various components of the sound box or large-screen device, such as the processor 210, the memory 220, etc.

[0089] The wireless communication module 250 can provide a wireless communication solution including wireless local area networks (WLAN) (such as a wireless fidelity (Wi-Fi) network), Bluetooth (BT), a global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), ZigBee, etc. The wireless communication module 250 can be one or more devices integrated with at least one communication processing module. The wireless communication module 250 receives electromagnetic waves via an antenna, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 250 can also receive signals to be sent from the processor 210, perform frequency modulation, amplification, and convert the signals to electromagnetic wave radiation via an antenna.

[0090] The sound box or large-screen device can implement audio functions through the audio module 260, the speaker 260A, the receiver 260B, the microphone 260C, the application processor, etc. For example, audio playback, recording, etc.

[0091] The audio module 260 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 260 can also be used to encode and decode audio signals. In some embodiments, the audio module 260 can be provided in the processor 210, or some functional modules of the audio module 260 can be provided in the processor 210.

[0092] Speaker 260A, also known as a "horn," converts electrical audio signals into sound signals. Speakers or large-screen devices can listen to audio through speaker 260A. Speaker 260A can also be used to transmit ultrasonic audio signals (hereinafter referred to as "ultrasonic signals"). Ultrasonic waves have a lower frequency limit greater than the upper limit of human hearing and are therefore inaudible to the human ear.

[0093] The receiver 260B, also called a "handset", is used to convert audio electrical signals into sound signals.

[0094] Microphone 260C, also known as a "microphone" or "speaker," converts sound signals into electrical signals. A user can place their mouth close to microphone 260C to input the sound signal into microphone 260C. Speaker 260A can also receive ultrasonic signals, completing ultrasonic sound pickup.

[0095] The display screen 270 is used to display images, videos, text, etc. The display screen 270 includes a display panel.

[0096] It is understood that the above examples are merely illustrative of the structure of the first device 100 or the second device 200 in the embodiments of the present application, and do not constitute a limitation on the structure or form of the first device 100 or the second device 200. The embodiments of the present application do not limit the structure or form of the first device 100 or the second device 200.

[0097] Exemplarily, the software architecture of the terminal may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a microservice architecture, or a cloud architecture, etc. Figure 3 A software structure block diagram of a first device 100 (such as a large-screen device) and a second device 200 (such as a speaker) provided in an embodiment of the present application is shown.

[0098] like Figure 3 As shown in (a), the large-screen device includes but is not limited to one or more of the following software modules: a networking management module 301a, a device discovery module 302a, an ultrasonic processing module 303a, an ultrasonic transceiver module 304a, a backconnection management module 305a, and a communication management module 306a.

[0099] like Figure 3As shown in (b) of FIG. 1, the sound box includes, but is not limited to, one or more of the following software modules: a networking management module 301b, a device discovery module 302b, an ultrasonic processing module 303b, an ultrasonic transceiver module 304b, a reconnection management module 305b, and a communication management module 306b.

[0100] The networking management module 301a is configured to implement control of the networking (also referred to as home theater setup) logic of the large-screen device, and to invoke various modules to complete the entire networking process.

[0101] The networking management module 301b is configured to implement control of the networking (also referred to as home theater setup) logic of the sound box, and to invoke various modules to complete the entire networking process.

[0102] The device discovery module 302a is configured to implement device discovery and discovery capability of the large-screen device. For example, the device discovery module 302a can be used to discover the sound box.

[0103] The device discovery module 302b is configured to implement device discovery and discovery capability of the sound box. For example, the device discovery module 302b can be used to broadcast a discovery packet so that the sound box is discovered by the large-screen device.

[0104] The ultrasonic processing module 303a is configured to process the received or transmitted ultrasonic signals of the large-screen device.

[0105] The ultrasonic processing module 303b is configured to process the received or transmitted ultrasonic signals of the sound box.

[0106] The ultrasonic transceiver module 304a is configured to receive ultrasonic signals through the microphone of the large-screen device, and to play ultrasonic signals through the loudspeaker of the large-screen device.

[0107] The ultrasonic transceiver module 304b is configured to receive ultrasonic signals through the microphone of the sound box, and to play ultrasonic signals through the loudspeaker of the sound box.

[0108] The reconnection management module 305a is configured to, after the communication connection between the large-screen device and the sound box is disconnected, trigger the large-screen device and the sound box to restore the communication connection when the large-screen device is powered on.

[0109] The reconnection management module 305b is configured to, after the communication connection between the large-screen device and the sound box is disconnected, cause the sound box and the large-screen device to restore the communication connection when the large-screen device is powered on.

[0110] The communication management module 306a is configured to manage the communication connection of the large-screen device, such as managing Wi-Fi, UWB, NFC, and Bluetooth wireless communication connections.

[0111] The communication management module 306b is configured to manage the communication connection of the sound box, for example, to manage the wireless communication connection such as Wi-Fi, UWB, NFC, and Bluetooth.

[0112] For example, the large-screen device and the sound box including the layered architecture can include an application layer, an application framework layer, a system library, an Android runtime, and a kernel layer. For example, the networking management module 301a, the device discovery module 302a, the ultrasonic processing module 303a, the ultrasonic transceiver module 304a, the back connection management module 305a, and the communication management module 306a can be located in the application framework layer of the operating system of the large-screen device. The networking management module 301b, the device discovery module 302b, the ultrasonic processing module 303b, the ultrasonic transceiver module 304b, the back connection management module 305b, and the communication management module 306b can be located in the application framework layer of the operating system of the sound box. The application framework layer can provide an application programming interface (API) and a programming framework for the application in the application layer. For the specific introduction of the operating system and each layer (such as the application layer, the application framework layer, the system library, the Android runtime, and the kernel layer of the Android system), refer to the explanation and description in the conventional technology, and the embodiments of the present application will not be repeated.

[0113] It can be understood that Figure 3 It can be understood that the first device and the second device shown in the figure include only a possible division manner, and can include more or less modules, and can have other division manners, which are not limited by the present application.

[0114] The technical solutions involved in the following embodiments can be implemented in a device with a structure as shown in Figure 2 , and / or Figure 3 The technical solutions involved in the following embodiments can be implemented in a device with a structure as shown in

[0115] It can be understood that the first device 100 or the second device 200 can perform some or all of the steps in the embodiments of the present application, and these steps or operations are only examples, and the embodiments of the present application can also perform other operations or variations of various operations. In addition, each step can be executed in a different order as presented in the embodiments of the present application, and it is possible that not all operations in the embodiments of the present application are executed.

[0116] The following takes the first device 100 as a large-screen device and the second device 200 as a sound box as an example to describe the method provided by the embodiments of the present application. The method provided by the embodiments of the present application is also applicable to the scenario where the first device 100 is another device, such as a sound box, and the second device 200 is a sound box. The main sound box (for example, a center sound box) can perform the functions corresponding to the large-screen device in the following embodiments.

[0117] The following will be described in combination with Figures 4-14 The method for building a home theater provided by the embodiments of the present application will be described in detail.

[0118] Exemplarily, Figure 4 A flowchart of the method for building a home theater provided by the embodiments of the present application. Figure 4 It is described that the large-screen device detects the sound box in the same room as the large-screen device. The number of sound boxes can be one or more. The same room can refer to the same space, the same room, or the same waiting hall, etc. The room can refer to a living room, a bedroom, a study, or a waiting hall, etc. The embodiments of the present application take the same room as an example for description. As shown in Figure 4 The method includes the following steps.

[0119] S401, the large-screen device listens to a broadcast message.

[0120] Optionally, the broadcast message can be sent by the sound box using a wireless communication technology (or referred to as a short-distance communication technology), such as broadcasted through WLAN, Wi-Fi P2P, UWB, or Bluetooth, etc. Correspondingly, the large-screen listening to the broadcast message from the sound box can include that the large-screen device can listen to WLAN (such as Wi-Fi) broadcast, perform WLAN scanning, listen to UWB broadcast or perform Bluetooth scanning, etc.

[0121] For example, the large-screen device can continuously (for example, periodically) listen to the broadcast message, so that the first broadcast message sent by the sound box described in the following S402 can be guaranteed to be listened to.

[0122] As an implementation manner, the device discovery module 302a and the communication management module 304a of the large-screen device can support the large-screen device listening to the broadcast message from the sound box.

[0123] S402, the sound box sends a first broadcast message.

[0124] Exemplarily, the first broadcast message can be used for the large-screen device to discover the sound box.

[0125] Optionally, the first broadcast message comprises capability information (may also be referred to as first capability information) of the sound bar, and the capability information is used to indicate sound channels supported by the sound bar. For example, the capability information of the sound bar comprises one or more of the following, but is not limited to: supporting as a left sound bar, supporting as a right sound bar, supporting as a center sound bar, supporting as a left surround sound bar, supporting as a right surround sound bar, and supporting as a subwoofer.

[0126] For example, if the capability information of the sound bar comprises: supporting as a left sound bar and a right sound bar, and supporting as a left surround sound bar and a right surround sound bar, it is implicitly indicated that the sound bar does not support as a center sound bar and does not support as a subwoofer. The present application does not elaborate one by one.

[0127] Optionally, the first broadcast message can also comprise an identifier of the sound bar. For example, the identifier of the sound bar can be a product serial number (SN) or the like. After the large-screen device receives the identifier and the capability information of the sound bar, the capability information corresponding to the sound bar can be obtained.

[0128] Optionally, the first broadcast message can be a Wi-Fi broadcast message, a beacon frame, a UWB broadcast message, or a Bluetooth (such as BLE) broadcast message, etc. The sound bar can send the first broadcast message by using wireless communication technologies such as WLAN, Wi-Fi P2P, UWB, or Bluetooth.

[0129] For example, the number of sound bars can be one or more, and the capability information of different sound bars can be different. When the number of sound bars is multiple, the multiple sound bars can all execute S402 to send the first broadcast message to the large-screen device. The large-screen device can receive the first broadcast messages of the multiple sound bars, so that the large-screen device can discover the sound bars around the large-screen device by listening to the broadcast messages of the sound bars.

[0130] As an implementation manner, the sound bar can send the first broadcast message by using the device discovery module 302b and the communication management module 304b.

[0131] S403, the large-screen device starts to detect whether the sound bar discovered by the large-screen device and the large-screen device are in the same room according to the first broadcast message.

[0132] For example, after the large-screen device receives the first broadcast message of the sound bar around the large-screen device, the large-screen device starts to detect whether the sound bar discovered by the large-screen device and the large-screen device are in the same room (such as starting to execute S404 and the steps after S404), and determines whether the sound bar discovered by the large-screen device and the large-screen device are in the same room.

[0133] Optionally, the large-screen device can listen to the broadcast message for a period of time, and after receiving the first broadcast message, start detecting whether the sound box discovered by the large-screen device and the large-screen device are in the same room. In this way, the large-screen device can receive the broadcast message of all sound boxes around it before starting to detect whether the sound box discovered by the large-screen device and the large-screen device are in the same room, which can prevent the large-screen device from starting to detect whether the sound box discovered by the large-screen device and the large-screen device are in the same room after receiving the first broadcast message of a sound box, and can improve the accuracy of building a home theater.

[0134] In some embodiments, the large-screen device displays a first building decision interface according to the first broadcast message, and starts to detect whether the sound box discovered by the large-screen device and the large-screen device are in the same room according to the operation of confirming to build a home theater performed by the user on the first building decision interface.

[0135] In combination Figure 5 , the large-screen device displays a first building decision interface 501 after receiving the first broadcast message of the sound box 1 to the sound box 4. After detecting the operation of the user clicking the Yes control 51, the large-screen device starts to detect whether the sound box discovered by the large-screen device and the large-screen device are in the same room. After detecting the operation of the user clicking the No control 52, the large-screen device does not perform the step of determining to start to detect whether the sound box discovered by the large-screen device and the large-screen device are in the same room, and ends the building of the home theater.

[0136] S404, the large-screen device sends an ultrasonic signal.

[0137] For example, the ultrasonic signal includes an ultrasonic identifier. For example, the ultrasonic identifier can be a random code or an ultrasonic model, etc. That is, the ultrasonic signal can be identified by a random code or an ultrasonic model.

[0138] Optionally, the large-screen device can periodically send the ultrasonic signal.

[0139] For example, in combination Figure 2 , taking the first device 100 as the large-screen device as an example, the loudspeaker 260A of the large-screen device broadcasts the ultrasonic signal.

[0140] As an implementation manner, in combination Figure 2 and Figure 3 , the large-screen device can control the loudspeaker 260A to broadcast the ultrasonic signal through the ultrasonic transceiver module 301a.

[0141] S405, the large-screen device sends a second broadcast message.

[0142] For example, the second broadcast message includes an ultrasonic identifier, and the second broadcast message can also be called a first message.

[0143] Similar to the first broadcast message, the second broadcast message can be a Wi-Fi broadcast message, a beacon frame, a UWB broadcast message, or a Bluetooth broadcast message, etc. The large-screen device can send the second broadcast message by using wireless communication technologies such as WLAN, Wi-Fi P2P, UWB, or Bluetooth.

[0144] Optionally, the large-screen device can periodically send the second broadcast message.

[0145] For example, in combination with Figure 2 The wireless communication module 250 of the large-screen device broadcasts the second broadcast message.

[0146] As an implementation manner, in combination with Figure 3 The large-screen device can broadcast the second broadcast message by using the communication management module 304a.

[0147] It should be noted that the present application does not limit the sequence of S404 and S405.

[0148] S406, the sound box sends a third broadcast message according to the ultrasonic signal and the second broadcast message.

[0149] For example, the third broadcast message (also referred to as the second message) includes the ultrasonic identifier, and can further include but not limited to one or more of the following: the identifier of the sound box, the first signal strength indication information, and the second signal strength indication information.

[0150] The ultrasonic identifier included in the third broadcast message is the ultrasonic identifier carried in the ultrasonic signal and the second broadcast message.

[0151] The first signal strength indication information is used to indicate the signal strength of the ultrasonic signal. For example, the first signal strength indication information can be the received signal strength indicator (RSSI) of the ultrasonic signal.

[0152] The second signal strength indication information is used to indicate the signal strength of the second broadcast message. For example, the second signal strength indication information can be the RSSI of the second broadcast message.

[0153] Similar to the first broadcast message, the third broadcast message can be a Wi-Fi broadcast message, a beacon frame, a UWB broadcast message, or a Bluetooth broadcast message, etc. The sound box can send the third broadcast message by using wireless communication technologies such as WLAN, Wi-Fi P2P, UWB, or Bluetooth.

[0154] In some embodiments, the sound box parses the ultrasonic signal and the second broadcast message to obtain the ultrasonic identifier. The sound box receives the ultrasonic signal, measures the signal strength of the ultrasonic signal, and obtains the first signal strength indication information. The sound box receives the second broadcast message, measures the signal strength of the second broadcast message, and obtains the second signal strength indication information.

[0155] The application does not limit the order of obtaining the first signal strength indication information and the second signal strength indication information.

[0156] In some embodiments, if the sound box receives the ultrasonic signal and the second broadcast message, the third broadcast message is sent, otherwise, the third broadcast message is not sent.

[0157] For example, if the sound box receives the second broadcast message but does not receive the ultrasonic signal, the third broadcast message is not broadcasted. The accuracy of the large screen device determining the sound box in the same room as the large screen device can be improved.

[0158] For example, the ultrasonic wave (ultrasonic signal) cannot penetrate the obstacle, and the sound box in the neighbor's house (user B's house) cannot receive the ultrasonic signal sent by the large screen device in user A's house. The second broadcast message (such as a Bluetooth signal, a UWB signal, a Wi-Fi signal, or a beacon frame) can penetrate the obstacle, and the sound box in the neighbor's house can receive the second broadcast message broadcasted by the large screen device. If the sound box receives the second broadcast message but does not receive the ultrasonic signal, it indicates that the sound box is not in the same room as the large screen device, which may be the sound box in the neighbor's house, and the third broadcast message is not broadcasted.

[0159] For example, if the sound box receives the ultrasonic signal but does not receive the second broadcast message, the third broadcast message is not broadcasted. The ultrasonic signal may be an interference signal sent by other ultrasonic sources, and the large screen device is not detecting the sound box in the same room as the large screen device (such as not performing the same room detection), and the sound box does not need to send the third broadcast message, which can improve the accuracy of the large screen device determining the sound box in the same room as the large screen device.

[0160] As shown in Figure 6 The large screen device in user A's house broadcasts the ultrasonic signal and the second broadcast message. The sound box 1 in user A's house receives the ultrasonic signal and the second broadcast message, and broadcasts the third broadcast message. Since the ultrasonic signal cannot penetrate the wall, the sound box 2 in user B's house only receives the second broadcast message and does not receive the ultrasonic signal, and does not send the third broadcast message, so that the sound box not in the same room as the large screen device can be excluded.

[0161] In some embodiments, if the sound box receives the ultrasonic signal and the second broadcast message, and the ultrasonic identifier in the ultrasonic signal is consistent with the ultrasonic identifier in the second broadcast message, the third broadcast message is sent, otherwise, the third broadcast message is not sent.

[0162] For example, the ultrasonic identifier in the ultrasonic signal is consistent (or matches) with the ultrasonic identifier in the second broadcast message, indicating that the ultrasonic identifier in the ultrasonic signal is the same as the ultrasonic identifier in the second broadcast message or identifies the same ultrasonic signal. If the ultrasonic identifier in the ultrasonic signal is randomly coded and the ultrasonic identifier in the second broadcast message is an ultrasonic model, if the randomly coded and the ultrasonic model identify the same ultrasonic signal, the third broadcast message is sent, otherwise, the third broadcast message is not sent.

[0163] For example, assuming that the sound box receives the ultrasonic signal and the broadcast message, if the ultrasonic identifier is not included in the ultrasonic signal and / or the broadcast message, or the ultrasonic identifier in the ultrasonic signal is inconsistent with the ultrasonic identifier in the broadcast message, the third broadcast message is not sent.

[0164] In this way, by determining whether the ultrasonic identifier in the ultrasonic signal is consistent with the ultrasonic identifier in the second broadcast message, it can be ensured that the ultrasonic signal and the second broadcast message received by the sound box are sent by the same device, excluding the scenario that the large screen device does not perform detection on the sound box in the same room as the large screen device, avoiding the sound box from mistakenly feeding back the third broadcast message, and further improving the accuracy of the large screen device detecting the sound box in the same room as the large screen device.

[0165] For example, the number of sound boxes can be one or more. When the number of sound boxes is multiple, the multiple sound boxes can all perform S406, send the third broadcast message according to the ultrasonic signal and the second broadcast message, and the large screen device can receive the third broadcast message of the multiple sound boxes.

[0166] Figure 4 The method shown takes the large screen device and the sound box not establishing a communication connection as an example. The large screen device and the sound box exchange information through ultrasonic signals and broadcast messages. Without establishing a communication connection, the time for establishing a communication connection can be saved, thereby improving the efficiency of setting up a home theater.

[0167] Of course, before S401, the large screen device and the sound box can have already established a communication connection. Corresponding to S402, the sound box sends the capability information of the sound box to the large screen device through the communication connection, and can also send the identifier of the sound box. Corresponding to S405, the large screen device sends the message including the ultrasonic identifier to the sound box through the communication connection. Corresponding to S406, the sound box sends the message to the large screen device through the communication connection. The information included in the message can refer to the third broadcast message.

[0168] S407, the large screen device determines the in-room sound box information according to at least one third broadcast message.

[0169] For example, the in-room sound box information is used to indicate the sound box in the same room as the large screen device.

[0170] For example, the large-screen device determines, according to the third broadcast message, whether the corresponding sound box is in the same room as the large-screen device. If the sound box is in the same room as the large-screen device, the sound box indicated by the in-room sound box information includes the sound box.

[0171] In some embodiments, if the first condition is met, the large-screen device determines that the sound box is in the same room as the large-screen device, otherwise, it is determined that the sound box is not in the same room as the large-screen device.

[0172] For example, the first condition includes that the large-screen device receives the third broadcast message from the sound box. That is, if the large-screen device receives the third broadcast message, it is considered that the sound box corresponding to the third broadcast message is in the same room as the large-screen device.

[0173] For example, the large-screen device discovers some sound boxes such as sound box a and sound box b according to the first broadcast message (see S402). If the large-screen device receives the third broadcast message of sound box a and does not receive the third broadcast message of sound box b, it is determined that sound box a is in the same room as the large-screen device and sound box b is in a different room from the large-screen device.

[0174] Alternatively, the first condition can also include that the ultrasonic identifier included in the third broadcast message is consistent (or matches) with the ultrasonic identifier included in the ultrasonic signal, the signal strength of the ultrasonic signal is greater than or equal to a first threshold, and / or the signal strength of the second broadcast message is greater than or equal to a second threshold. Alternatively, the first condition can also include that the ultrasonic identifier included in the third broadcast message is consistent (or matches) with the ultrasonic identifier included in the ultrasonic signal, the distance corresponding to the signal strength of the ultrasonic signal is less than or equal to a third threshold, and / or the distance corresponding to the signal strength of the second broadcast message is less than or equal to a fourth threshold.

[0175] That is, the large-screen device can also determine whether the sound box is in the same room as the large-screen device through the ultrasonic identifier included in the third broadcast message and / or the distance between the large-screen device and the sound box.

[0176] For example, the ultrasonic identifier included in the third broadcast message is consistent (or matches) with the ultrasonic identifier included in the ultrasonic signal, which means that the ultrasonic identifier included in the third broadcast message is the same as the ultrasonic identifier included in the ultrasonic signal, or identifies the same ultrasonic signal.

[0177] For example, the third broadcast message includes an ultrasonic identifier. If the ultrasonic identifier in the ultrasonic signal is inconsistent with the ultrasonic identifier in the third broadcast message, it is considered that the sound box is in a different room from the large-screen device (for example, the third broadcast message can be an interference broadcast). If it is consistent, it is considered that the sound box is in the same room as the large-screen device.

[0178] For example, the third broadcast message includes first signal strength indication information, and the large-screen device determines whether the signal strength of the ultrasonic signal sent by the large-screen device is greater than or equal to a first threshold value. If yes, it is considered that the sound box and the large-screen device are in the same room, otherwise, it is considered that the sound box and the large-screen device are in different rooms. Similarly, the third broadcast message includes second signal strength indication information, and the large-screen device determines whether the signal strength of the second broadcast message sent by the large-screen device is greater than or equal to a second threshold value. If yes, it is considered that the sound box and the large-screen device are in the same room, otherwise, it is considered that the sound box and the large-screen device are in different rooms.

[0179] Optionally, the first threshold value and the second threshold value can be pre-set or configurable. For example, a user can configure the first threshold value and the second threshold value in the interface of the large-screen device according to the size of the room, or the large-screen device can determine the first threshold value and the second threshold value according to the room size input by the user. The correspondence between different room sizes and the first threshold value and the second threshold value can be pre-configured in the large-screen device or a server (the large-screen device obtains the correspondence from the server). The value of the first threshold value and the value of the second threshold value can be the same or different.

[0180] For example, the third broadcast message includes first signal strength indication information, and the large-screen device determines whether the signal strength of the ultrasonic signal sent by the large-screen device is greater than or equal to a first threshold value. If yes, it is considered that the sound box and the large-screen device are in the same room, otherwise, it is considered that the sound box and the large-screen device are in different rooms. Similarly, the third broadcast message includes second signal strength indication information, and the large-screen device determines whether the signal strength of the second broadcast message sent by the large-screen device is greater than or equal to a second threshold value. If yes, it is considered that the sound box and the large-screen device are in the same room, otherwise, it is considered that the sound box and the large-screen device are in different rooms.

[0181] Similarly, the third broadcast message includes second signal strength indication information, and the large-screen device determines whether the signal strength of the second broadcast message sent by the large-screen device is greater than or equal to a second threshold value. If yes, it is considered that the sound box and the large-screen device are in the same room, otherwise, it is considered that the sound box and the large-screen device are in different rooms.

[0182] Optionally, the first corresponding relationship can include: a corresponding relationship between the ultrasonic signal strength and the distance, and / or a corresponding relationship between the signal strength of the second broadcast message and the distance. Assuming that the second broadcast message is a Bluetooth broadcast message, the corresponding relationship between the signal strength of the second broadcast message and the distance can be: a corresponding relationship between the signal strength of the Bluetooth broadcast message and the distance, which will not be described in detail.

[0183] In some embodiments, the large-screen device obtains the distance corresponding to the signal strength of the ultrasonic signal sent by the large-screen device, i.e., the distance between the large-screen device and the sound box, from the corresponding relationship between the ultrasonic signal strength and the distance according to the first signal strength indication information, and then determines the relationship between the distance and the third threshold value.

[0184] Similarly, the large-screen device obtains, according to the second signal strength indication information, a distance corresponding to a signal strength of the second broadcast message sent by the large-screen device from the signal strength-distance correspondence of the second broadcast message, that is, a distance between the large-screen device and the sound box, and further determines a relationship between the distance and the fourth threshold.

[0185] For example, the first correspondence can be pre-configured in the large-screen device or a server (obtained by the large-screen device from the server).

[0186] For example, before the large-screen device is shipped, the first correspondence is measured and saved in the large-screen device. For example, taking an ultrasonic signal as an example, after measuring a signal strength y of an ultrasonic signal sent by the large-screen device at a distance x (or centimeters, etc.) from the sound box (a plurality of different distances can be measured), the correspondence between the signal strength y and the distance x is saved in the large-screen device.

[0187] Optionally, the large-screen device can store N first correspondences corresponding to N sound boxes, where N is an integer greater than or equal to 1. Due to hardware reasons of the sound box (such as different antennas of different sound boxes), the signal strength obtained by different sound boxes (such as different models of sound boxes) may be different when the large-screen device sends a signal at the same distance, so the first correspondences of different sound boxes can be different. The large-screen device can obtain the first correspondence corresponding to the sound box according to the identification of the sound box.

[0188] For example, similar to the first threshold and the second threshold, the third threshold and the fourth threshold can be pre-set or configurable. For example, a user configures the third threshold and the fourth threshold in an interface of the large-screen device according to the size of the room, or the large-screen device determines the third threshold and the fourth threshold according to the size of the room input by the user, and a correspondence between different room sizes and the third threshold and the fourth threshold can be pre-configured in the large-screen device or a server (obtained by the large-screen device from the server). The value of the third threshold and the value of the fourth threshold can be the same or different.

[0189] S408, the large-screen device determines whether the large-screen device and the sound box in the same room can form a home theater according to the capability information of the sound box and the in-room sound box information.

[0190] Optionally, the capability information of the sound box can be received by the large-screen device through the first broadcast message, or can be received through the third broadcast message (the third broadcast message can also include the capability information of the sound box), or can be received through other messages, for example, the sound box sends the capability information of the sound box to the large-screen device through a separate broadcast message, and the large-screen device receives the capability information of the sound box before S408.

[0191] Exemplarily, the large-screen device can determine whether the large-screen device and the (at least one) sound box in the same room as the large-screen device can form a home theater by determining whether the (at least one) sound box in the same room as the large-screen device meets a condition for forming a home theater (also referred to as a second condition). If yes, it is determined that the large-screen device and the sound box in the same room as the large-screen device can form a home theater; otherwise, it is determined that the large-screen device and the sound box in the same room as the large-screen device cannot form a home theater.

[0192] Optionally, the condition for forming a home theater includes, but is not limited to, one or more of the following conditions: the sound boxes indicated by the in-room sound box information simultaneously include a left sound box and a right sound box, the sound boxes indicated by the in-room sound box information simultaneously include a left surround sound box and a right surround sound box, the sound boxes indicated by the in-room sound box information include a center sound box, or the sound boxes indicated by the in-room sound box information include a subwoofer sound box. If the large-screen device determines that the sound boxes in the same room as the large-screen device meet at least one of the conditions for forming a home theater, it is determined that the large-screen device and the sound boxes in the same room as the large-screen device can form a home theater.

[0193] It should be noted that the present application does not limit the condition for forming a home theater, and the condition for forming a home theater can be adjusted according to the type of sound box, such as a condition for forming a home theater corresponding to a sound box type suitable for the future.

[0194] Exemplarily, if the sound boxes in the same room as the large-screen device only include one of a left sound box, a right sound box, a left surround sound box, or a right surround sound box, the condition for forming a home theater is not met. If the sound boxes in the same room as the large-screen device include both a left sound box and a right sound box, the condition for forming a home theater is met. If the sound boxes in the same room as the large-screen device include both a left surround sound box and a right surround sound box, the condition for forming a home theater is met. If the sound boxes in the same room as the large-screen device include a center sound box, the condition for forming a home theater is met. If the sound boxes in the same room as the large-screen device include a subwoofer sound box, the condition for forming a home theater is met.

[0195] For example, assuming the same-room speaker information indicates that the speakers include speaker a and speaker b, if speaker a can be used as a left-positioned speaker and a left-surround speaker, and speaker b can be used as a right-surround speaker, the condition for setting up a home theater is met (speaker a is used as a left-surround speaker). Or, if speaker a can be used as a left-positioned speaker and a left-surround speaker, and speaker b can be used as a left-surround speaker, the condition for setting up a home theater is not met. Or, if speaker a can be used as a left-positioned speaker and a left-surround speaker, and speaker b can be used as a center-positioned speaker, the condition for setting up a home theater is met (speaker a can not be used when setting up a home theater, and speaker b and the large-screen device are used to set up a home theater). Or, if speaker a can be used as a subwoofer, and speaker b can be used as a subwoofer, the condition for setting up a home theater is met (one of speaker a and speaker b can be used when setting up a home theater). Or, if speaker a can be used as a center-positioned speaker, and speaker b can be used as a center-positioned speaker, the condition for setting up a home theater is met (one of speaker a and speaker b can be used when setting up a home theater). The present application does not list all the conditions.

[0196] In some embodiments, if the large-screen device determines that the large-screen device and the speakers in the same room as the large-screen device can set up a home theater, the large-screen device sets up a home theater, and the process proceeds to S409. Otherwise, the large-screen device continues to listen to the broadcast message from the speakers, which can be implemented with reference to S401, or ends the setting up of a home theater.

[0197] In some other embodiments, if the large-screen device determines that the large-screen device and the speakers in the same room as the large-screen device can set up a home theater, the large-screen device displays a second setup decision interface. Otherwise, the large-screen device continues to listen to the broadcast message from the speakers, or ends the setting up of a home theater.

[0198] For example, in combination with Figure 7A the large-screen device determines that speaker 1 to speaker 4 can set up a home theater with the large-screen device, the large-screen device displays a second setup decision interface 701 as shown in FIG. 7B. Figure 7A The user can decide whether to continue setting up a home theater by selecting (for example, by selecting a control 71 or a control 72 in the second setup decision interface 701 through a remote control device, or by clicking the control 71 or the control 72 if the display screen of the large-screen device is a touch screen).

[0199] Optionally, the large-screen device can also display a list of speakers that can set up a home theater.

[0200] For example, in combination with Figure 7A the large-screen device displays a second setup decision interface 701 including a speaker list control 73, and the large-screen device displays a list of speakers that can set up a home theater after detecting that the user selects the speaker list control 73. Figure 7BThe interface 702 shown, the user can view the list of sound boxes (referred to as the sound box list) that can be assembled into a home theater by the large-screen device through the interface 702, and the user can decide whether to assemble a home theater according to the sound box list.

[0201] Figure 7A And Figure 7B Only for example, should not constitute any limitation on the embodiments of the present application.

[0202] S409, the large-screen device and the sound box complete the assembly of the home theater.

[0203] In some embodiments, if the large-screen device determines that the large-screen device and the sound box in the same room can assemble a home theater, the assembly of the home theater is started.

[0204] In some embodiments, if the large-screen device determines that the large-screen device and the sound box in the same room can assemble a home theater, the assembly of the home theater is started. Figure 7A The large-screen device detects that the user selects the control 71 of the second assembly decision interface 701, and starts the assembly of the home theater. If the large-screen device detects that the user selects the no control 72 of the second assembly decision interface 701, the assembly of the home theater is ended.

[0205] Based on Figure 4 The method shown, compared with the prior art, the user binds the large-screen device and the sound box through the application program to ensure that the sound box assembled into a home theater is the sound box in the user's home, which leads to time-consuming and tedious. Compared with the present application, the large-screen device automatically completes the detection of the sound box in the same room based on ultrasonic technology and short-distance communication technology, which can simplify the number of manual operations of the user, thereby improving the user experience. In addition, in the present application, the large-screen device determines whether the sound box in the same room can be assembled into a home theater, which greatly reduces the difficulty of assembling a home theater compared with the user needing to check the assembly instructions of the home theater and the instructions of the sound box, and the user experience is better.

[0206] Exemplary, Figure 8 Another flowchart of the method for assembling a home theater provided by the embodiments of the present application is shown. Figure 8 The establishment of the temporary Wi-Fi P2P connection between the large-screen device and the sound box is described. Figure 4 The method shown Figure 8 The method shown can be used separately or in combination.

[0207] Figure 4 The method shown Figure 8 When the method shown is used in combination, the establishment of the temporary Wi-Fi P2P connection between the large-screen device and the sound box is performed. Figure 4When the corresponding function of the method shown in the figure is used, the large-screen device and the speaker have not established a communication connection. After the large-screen device determines that the speaker in the same room as the large-screen device can form a home theater (S408), the large-screen device Figure 8 The method shown establishes a temporary Wi-Fi P2P connection with the speaker. Figure 8 The speaker in the above-mentioned S407 can be the speaker determined by the large-screen device in the same room as the large-screen device. Of course, the large-screen device and the speaker can also establish other short-range communication connections, such as UWB connection or Bluetooth connection. The corresponding specific implementation can refer to the explanation and description of conventional technology, and will not be described in detail in this embodiment of the application.

[0208] like Figure 8 As shown, the method includes the following steps.

[0209] S801, the large-screen device starts an unencrypted P2P group server (group owner, GO).

[0210] For example, unencrypted P2PGO means that other devices can establish a Wi-Fi P2P connection with the large-screen device without a key. A temporary Wi-Fi P2P connection can be quickly established.

[0211] For example, Wi-Fi P2P (also known as Wi-Fi Direct) is a Wi-Fi-based technology that allows direct device-to-device connections, enabling one-to-one or one-to-many communication without the need for a local area network or access point (AP). This technology has numerous applications, including file transfers, screen sharing (miracast), and even online gaming, as long as the device supports the Wi-Fi P2P protocol.

[0212] The Wi-Fi P2P architecture defines P2P devices, P2P GOs, and P2P group clients (GCs). A P2P device is a device that supports the Wi-Fi P2P protocol. A P2P device is an entity that performs the two roles of P2P GO and P2P GC. Any device that does not become a P2P GO or P2P GC is considered a "P2P device." A P2P GO, also known as a GO, is a role in the Wi-Fi P2P protocol, equivalent to an AP. There is only one P2P GO in a group. A P2P GC, also known as a GC, is another role in the Wi-Fi P2P protocol. There can be multiple P2P GCs in a group. For example, in a system consisting of a large-screen device and at least one speaker, only one device can serve as the P2P GO, and all other devices serve as P2PGCs.

[0213] For example, the P2P GO serves as a manager of the inter-device communication, and can serve as an access point (AP) for the P2P GC to access, and can determine a channel (e.g., a channel currently used by the P2P GO) for the inter-device communication. The P2P GC serves as a managed device of the inter-device communication, and connects to the device as the P2P GO as an AP, and after the connection is successful, the devices can directly communicate with each other. Alternatively, after the P2P GO determines the channel for the inter-device communication, the P2P GO sends information of the channel to the P2P GC, and the P2P GC and the P2P GO can communicate using the channel. In the case where the P2P GO does not determine the channel for the inter-device communication, the P2P GC can perform full channel scanning on a working frequency band supported by the P2P GC to determine a channel for the P2P GC and the P2P GO to communicate.

[0214] In some embodiments, the large-screen device and the at least one sound box negotiate with each other to determine that the large-screen device serves as the P2P GO and the sound box serves as the P2P GC, or the large-screen device can directly serve as the P2P GO without P2P GO negotiation.

[0215] In some embodiments, the large-screen device determines that the large-screen device and the sound box in the same room can form a home theater, and then starts the unencrypted P2P GO. Alternatively, the large-screen device determines that the large-screen device and the sound box in the same room can form a home theater, and then starts the unencrypted P2P GO according to an operation of the user confirming formation of the home theater.

[0216] For example, Figure 4 The method shown in combination with Figure 8 The method shown in combination with

[0217] S802, the large-screen device broadcasts a first connection message.

[0218] For example, the first connection message is used to instruct to establish an unencrypted Wi-Fi P2P connection with the large-screen device.

[0219] For example, the first connection message includes a GO name, and can also include channel indication information. The GO name is the name of an access point, and the channel indication information is used to indicate a channel for communication. For example, the channel indication information includes an identifier of the channel.

[0220] For example, the first connection message can be broadcast by the large-screen device using a wireless communication technology such as WLAN, Wi-Fi P2P, UWB, or Bluetooth.

[0221] S803, the sound box sends a first request message according to the first connection message.

[0222] For example, the first request message is used to request to establish an unencrypted Wi-Fi P2P connection with the large-screen device.

[0223] For example, after receiving the first connection message, the sound box sends the first request message to the large-screen device which starts the P2P GO (or is the P2P GO role) according to the GO name.

[0224] Optionally, the sound box sends the first request message to the large-screen device which starts the P2P GO on the channel indicated by the channel indication information.

[0225] For example, the first request message can be broadcast by the sound box using wireless communication technologies such as WLAN, Wi-Fi P2P, UWB, or Bluetooth.

[0226] S804, the large-screen device establishes an unencrypted Wi-Fi P2P connection with the sound box.

[0227] For example, after receiving the first request message, the large-screen device establishes an unencrypted Wi-Fi P2P connection with the sound box according to the first request message, otherwise, it does not establish an unencrypted Wi-Fi P2P connection.

[0228] Optionally, the large-screen device establishes an unencrypted Wi-Fi P2P connection with the sound box according to the first request message and the in-room sound box information.

[0229] For example, the in-room sound box information is used to indicate the sound boxes in the same room as the large-screen device. If the sound box sending the first request message belongs to any of the sound boxes indicated by the in-room sound box information, the large-screen device establishes a Wi-Fi P2P connection with the sound box, otherwise, it does not establish an unencrypted Wi-Fi P2P connection.

[0230] The number of sound boxes in the same room as the large-screen device is at least one. When the number of sound boxes in the same room as the large-screen device is multiple, multiple sound boxes can send the first request message to the large-screen device after receiving the first connection message, and the large-screen device can establish an unencrypted Wi-Fi P2P connection with multiple sound boxes.

[0231] S805, the large-screen device and the sound box perform security authentication.

[0232] In one example, the large-screen device and the sound box perform security authentication through the unencrypted Wi-Fi P2P connection, improving security.

[0233] For example, when there are multiple speakers in the same room as the large-screen device, the large-screen device can be connected to the multiple speakers through an unencrypted Wi-Fi P2P connection and perform security authentication in parallel to improve authentication efficiency.

[0234] Regarding the method of security authentication of large-screen devices and speakers, you can refer to the security authentication method in conventional technology, which will not be described in detail in the embodiments of this application.

[0235] For example, Figure 9 A flowchart of another method for building a home theater provided in an embodiment of the present application. Figure 9 Recommend speaker placement to users for large-screen devices and explain how to allocate channels to the speakers. Figure 4 The method shown, Figure 8 The method shown, and / or Figure 9 The methods shown can be used separately or in combination. When used in combination, after the large screen device determines that it can form a home theater (S408) (or establishes a short-range communication connection with the speaker ( Figure 8 )After)Execute Figure 9 The method shown, Figure 9 The speakers in the method shown may be speakers determined by the large-screen device and located in the same room as the large-screen device.

[0236] like Figure 9 As shown, the method includes the following steps.

[0237] S901: The large-screen device broadcasts a first ultrasonic signal.

[0238] S902: The large-screen device broadcasts a second ultrasonic signal.

[0239] Exemplarily, the first ultrasonic signal and the second ultrasonic signal may be respectively sent by two speakers of the large-screen device. For example, the left speaker (the speaker arranged on the left side of the large-screen device) and the right speaker of the large-screen device respectively send the first ultrasonic signal and the second ultrasonic signal.

[0240] Optionally, the large-screen device may periodically broadcast the first ultrasonic signal and the second ultrasonic signal so that speakers in the same room as the large-screen device can receive the first ultrasonic signal and the second ultrasonic signal.

[0241] In some embodiments, the large-screen device may transmit the first ultrasonic signal and the second ultrasonic signal using a time division method or a frequency division method. This ensures that the first ultrasonic signal and the second ultrasonic signal received by the speaker are emitted by different speakers of the large-screen device, thereby determining the angle between the speaker and the large-screen device.

[0242] like Figure 10AAs shown in (a) in the figure, take the time division method as an example. The left speaker of the large-screen device first sends the first ultrasonic signal. After a period of time Δt, the right speaker of the large-screen device sends the second ultrasonic signal. The first ultrasonic signal and the second ultrasonic signal occupy the same frequency band range. If the large-screen device periodically sends the first ultrasonic signal and the second ultrasonic signal, the period of the first ultrasonic signal is greater than Δt, and the period of the second ultrasonic signal is greater than Δt. In this way, the speaker can ensure that the two adjacent ultrasonic signals it receives are emitted by different speakers of the large-screen device.

[0243] like Figure 10A As shown in (b) of the figure, using frequency division as an example, the left and right speakers of the large-screen device use different frequency bands at the same time to transmit the first and second ultrasonic signals, respectively. After receiving the ultrasonic signals, the speaker obtains the first and second ultrasonic signals through filtering.

[0244] For example, the first ultrasonic signal and the second ultrasonic signal may be, but are not limited to, frequency modulated continuous wave (FMCW) signals.

[0245] Figure 10B (a) shows the waveform of the FMCW signal. Figure 10B (b) in FIG. 1 shows the frequency spectrum of the FMCW signal.

[0246] Combine Figure 10B In (a), from the time domain, the signal period of the FMCW waveform changes with time. Figure 10B In the frequency domain, (b) shows that the frequency of an FMCW signal varies linearly with time. Because the frequency of an FMCW signal changes continuously over time, it is easy to determine the direct signal based on the starting frequency, reducing the impact of reflections on the measurement. Therefore, FMCW signals are suitable for use in enclosed indoor environments and complex multipath environments, improving measurement accuracy.

[0247] As an implementation method, the large-screen device can send the first ultrasonic signal and the second ultrasonic signal respectively through the ultrasonic transceiver module 301a.

[0248] S903: The large-screen device sends first measurement instruction information to the speaker.

[0249] Exemplarily, the first measurement indication information is used to instruct the speaker to measure the angle between the large-screen device and the speaker, or the first measurement indication information is used to instruct the speaker to receive an ultrasonic signal.

[0250] For example, the angle between the large screen device and the speaker can refer to the angle of the speaker relative to the large screen device, such as the angle between the line between the speaker and the large screen device and the reference line. The reference line can be as follows:Figure 10C The y-axis shown in .

[0251] Optionally, the large-screen device sends first measurement instruction information to each speaker in the same room as the large-screen device, instructing the speakers in the same room as the large-screen device to start measuring the angle between the large-screen device and the speakers.

[0252] Exemplarily, the large-screen device sends the first measurement indication information to the speaker through a short-range communication connection (such as an unencrypted Wi-Fi P2P connection, a UWB connection, or a Bluetooth connection, etc.).

[0253] This application does not limit the execution order of S903 and S901. The large-screen device may send the first measurement indication information before or after sending the first ultrasonic signal and the second ultrasonic signal.

[0254] S904: The speaker records the time when the first ultrasonic signal is received according to the first measurement instruction information.

[0255] S905: The speaker records the time when the second ultrasonic signal is received according to the first measurement instruction information.

[0256] Exemplarily, the speaker receives the first measurement indication information and starts measuring the angle between the large-screen device and the speaker according to the indication of the first measurement indication information. For example, the speaker receives the first ultrasonic signal and records the time t1 when the first ultrasonic signal is received, receives the second ultrasonic signal, and records the time t2 when the second ultrasonic signal is received.

[0257] For example, the speaker receives the first ultrasonic signal and the second ultrasonic signal through a microphone.

[0258] As an implementation manner, the speaker may receive the first ultrasonic signal and the second ultrasonic signal respectively through the ultrasonic transceiver module 301b.

[0259] S906: The speaker determines the angle between the speaker and the large-screen device according to the time when the first ultrasonic signal is received and the time when the second ultrasonic signal is received.

[0260] Exemplarily, the speaker calculates an arrival time difference based on the time when the first ultrasonic signal is received and the time when the second ultrasonic signal is received, and calculates the angle of the speaker relative to the large screen based on the arrival time difference.

[0261] like Figure 10C As shown, the left speaker of the large-screen device sends a first ultrasonic signal, the speaker receives the first ultrasonic signal, and records the time t1 when the first ultrasonic signal is received. The right speaker of the large-screen device sends a second ultrasonic signal, the speaker receives the second ultrasonic signal, and records the time t2 when the second ultrasonic signal is received.

[0262] Combine Figure 10A(a) and (b) in FIG. 6B Figure 10C If the first ultrasonic signal and the second ultrasonic signal are transmitted in a time-division manner, the time difference of arrival is t2-t1-Δt, and the sound box calculates the angle a of the sound box relative to the large screen according to the time difference of arrival t2-t1-Δt.

[0263] In combination with Figure 10A (b) and (c) in FIG. 6B Figure 10C If the first ultrasonic signal and the second ultrasonic signal are transmitted in a frequency-division manner, the sound box obtains the first ultrasonic signal and the second ultrasonic signal by filtering, records the time t1 of receiving the first ultrasonic signal and the time t2 of receiving the second ultrasonic signal, and the time difference of arrival is t2-t1, and the sound box calculates the angle a of the sound box relative to the large screen according to the time difference of arrival t2-t1.

[0264] Optionally, the sound box can determine the angle between the sound box and the large screen device according to the time difference of arrival, the transmission rate of the ultrasonic signal in the medium, and the distance between the two loudspeakers. Generally, the transmission rate of the ultrasonic signal in the medium is selected as the speed of light.

[0265] For example, the way in which the sound box obtains the angle between the sound box and the large screen device is not limited to this, and any ultrasonic technology that can determine the angle between the sound box and the large screen device can be used.

[0266] As an implementation manner, the sound box can determine the angle between the sound box and the large screen device through the ultrasonic processing module 303b.

[0267] Alternatively, the large screen device can also determine the angle between the sound box and the large screen device according to the time difference of arrival (the sound box sends the time difference of arrival to the large screen device).

[0268] In some embodiments, the sound boxes can obtain the angle between the sound boxes by transmitting ultrasonic signals, and the specific implementation is similar to the determination of the angle between the sound box and the large screen device, which will not be described herein. Optionally, after the sound box obtains the angle between the sound boxes, the sound box can send the obtained angle to the large screen device, so that the large screen device recommends the placement position.

[0269] It should be noted that the application does not limit the way in which the angle between the sound box and the large screen device (or the angle between the sound boxes) is determined. The angle between the sound box and the large screen device can be determined by ultrasonic technology, and the angle between the sound box and the large screen device can also be measured by UWB technology, millimeter wave technology, Wi-Fi positioning technology, and Bluetooth positioning technology, which will not be described in detail.

[0270] S907, the sound box sends the first measurement result to the large screen device.

[0271] For example, the first measurement result includes the angle between the sound box and the large screen device.

[0272] For example, the angle between the sound box and the large-screen device is determined by the sound box (S906), and the sound box sends the angle between the sound box and the large-screen device to the large-screen device.

[0273] Alternatively, the first measurement result includes the time difference of arrival of the first and second ultrasonic signals, or the first measurement result includes the time of arrival of the first ultrasonic signal and the time of arrival of the second ultrasonic signal.

[0274] For example, the angle between the sound box and the large-screen device is determined by the large-screen device, the sound box sends information (time difference of arrival of the first and second ultrasonic signals, or time of arrival of the first ultrasonic signal and time of arrival of the second ultrasonic signal) for measuring the angle between the sound box and the large-screen device to the large-screen device, the large-screen device measures the angle between the sound box and the large-screen device, and the specific implementation manner can refer to S906 described above, which will not be described here.

[0275] As an implementation manner, the large-screen device can determine the angle between the sound box and the large-screen device through the ultrasonic processing module 303a.

[0276] Alternatively, all sound boxes in the same room as the large-screen device send the first measurement result to the large-screen device (S904-S907 are performed), and the large-screen device stops periodically broadcasting the first and second ultrasonic signals after obtaining the first measurement result corresponding to all sound boxes.

[0277] For example, the sound box sends the first measurement result to the large-screen device through a short-distance communication connection.

[0278] S908, the large-screen device sends second measurement indication information to the sound box.

[0279] For example, the second measurement indication information is used to instruct the sound box to measure the distance between the large-screen device and the sound box.

[0280] Alternatively, the large-screen device sends the second measurement indication information to each of the sound boxes in the same room as the large-screen device, instructing the sound boxes in the same room as the large-screen device to start measuring the distance between the large-screen device and the sound box or starting the distance measurement process. After receiving the ultrasonic signal, the sound box starts the distance measurement process.

[0281] For example, the large-screen device sends the second measurement indication information to the sound box through a short-distance communication connection.

[0282] It should be noted that the present application does not limit the order of measuring the angle between the sound box and the large-screen device and measuring the distance between the sound box and the large-screen device, and the distance measurement can be performed before or after the angle measurement.

[0283] S909, the large-screen device obtains the distance between the large-screen device and the sound box through interaction with the sound box.

[0284] Exemplarily, the distance L between the large-screen device and the sound box can be obtained by the following way: the large-screen device can adopt a two-way ranging method to measure the distance L between the large-screen device and the sound box. The two-way ranging method includes single-sided two-way ranging (SS-TWR) and double-sided two-way ranging (DS-TWR). The DS-TWR method increases the response time compared with the SS-TWR method, but reduces the ranging error.

[0285] The following will be described in combination with Figure 11 The distance between the large-screen device and the sound box is described by taking the SS-TWR as an example.

[0286] As shown in Figure 11 , the large-screen device sends a third ultrasonic signal and records the time T s1 at which the third ultrasonic signal is sent. r1 The sound box receives the third ultrasonic signal and records the time T s2 at which the third ultrasonic signal arrives at the sound box. After receiving the third ultrasonic signal, the sound box sends a fourth ultrasonic signal and records the time T r2 at which the fourth ultrasonic signal is sent. The large-screen device receives the fourth ultrasonic signal and records the time T s1 at which the fourth ultrasonic signal arrives at the large-screen device.

[0287] Therefore, the transmission time t of the ultrasonic signal between the two devices can be calculated by the following formula (1), and the distance L between the large-screen device and the sound box can be calculated according to formula (2).

[0288]

[0289] L = c x t (2)

[0290] In the above formula (2), c is the transmission rate of the ultrasonic signal in the medium. c is generally selected as the speed of light.

[0291] The transmission time t calculated based on the above formula (1) eliminates the error (hereinafter referred to as clock error) between the clock of the sound box and the clock of the large-screen device. In combination with Figure 11 , it is assumed that the clock error is N, and the clock of the sound box is faster than the clock of the large-screen device by N, then T s1 +N+t = T r1 , T s2 -N+t = T r2 , according to T s1 +N+t = T r1 and T s2-N+t=T r2 Formula (1) is obtained, which can eliminate the error between the clock of the speaker and the clock of the large-screen device, and obtain more accurate transmission time.

[0292] Optionally, the third ultrasonic signal may be sent by a speaker; accordingly, the fourth ultrasonic signal may be sent by a large-screen device; accordingly, the fifth ultrasonic signal may be sent by a speaker. The large-screen device or the speaker may calculate L according to formulas (1) and (2).

[0293] It should be noted that the distance L between the large-screen device and the speaker can also be calculated by other methods, not limited to the methods listed above.

[0294] Optionally, the large-screen device or the speaker can play an ultrasonic signal (such as the third ultrasonic signal, the fourth ultrasonic signal, or the fifth ultrasonic signal, etc.) through its respective speakers (such as any speaker of the large-screen device or the speaker), and the ultrasonic signal can be an FMCW signal. The large-screen device or the speaker receives the ultrasonic signal through a microphone (such as any microphone of the large-screen device or the speaker).

[0295] In some embodiments, the large-screen device or speaker can record the time of sending and receiving ultrasonic signals through a timer or recording.

[0296] For example, combined Figure 2 After the processor 210 (such as a system on chip (SOC)) of the large-screen device starts the ranging process, the processor 210 (such as a DSP) of the large-screen device starts the timer and controls the speaker 260A to play the ultrasonic signal (such as the third ultrasonic signal), and then continuously monitors the microphone 260C to receive the ultrasonic signal (such as the fourth ultrasonic signal). The processor 210 (such as a DSP) of the speaker starts the timer according to the second measurement indication information, continuously monitors the microphone 260C to receive the ultrasonic signal (such as the third ultrasonic signal and the fifth ultrasonic signal), and controls the speaker 260A to play the ultrasonic signal (such as the fourth ultrasonic signal). The large-screen device obtains the time T from sending the third ultrasonic signal to receiving the fourth ultrasonic signal through the count value of the timer. ro1 , and the time T from receiving the fourth ultrasonic signal to sending the fifth ultrasonic signal re2 The speaker obtains the time T from receiving the fourth ultrasonic signal to sending the third ultrasonic signal through the count value of the timer. re1 , and the time T from sending the fourth ultrasonic signal to receiving the fifth ultrasonic signal ro1 .

[0297] Optionally, for the timer, the processor 210 needs to control the speaker 260A to play the ultrasonic signal with a small time delay, so that the speaker 260A receives the information indicating it to play the ultrasonic signal as soon as possible, so that the counting value of the timer is more accurate, and the ranging accuracy is higher.

[0298] For another example, in combination with Figure 2 , after the processor 210 of the large-screen device starts the ranging process, the processor 210 of the large-screen device starts recording and controls the speaker 260A to play the ultrasonic signal, and then continuously monitors the microphone 260C to receive the ultrasonic signal. Similarly, the processor 210 of the sound box starts recording according to the second measurement indication information, continuously monitors the microphone 260C to receive the ultrasonic signal, and controls the speaker 260A to play the ultrasonic signal. Among them, the recording information obtained by the large-screen device recording includes the ultrasonic signal sent by itself and the ultrasonic signal received by itself, and the large-screen device processes the recording information to detect T ro1 and T re2 . Similarly, the sound box processes the recording information obtained by itself to detect T re1 and T ro1 .

[0299] For example, the large-screen device can send T ro1 and T re2 to the sound box, and the sound box obtains the distance between the large-screen device and the sound box according to T ro1 , T re2 , T re1 and T ro1 . Alternatively, the sound box can send T re1 and T ro1 to the large-screen device, and the large-screen device obtains the distance between the large-screen device and the sound box according to T ro1 , T re2 , T re1 and T ro1 .

[0300] The sound boxes in the same room as the large-screen device perform the above S909 between the sound boxes and the large-screen device to measure and obtain the distance between each sound box and the large-screen device.

[0301] In some embodiments, the sound boxes can obtain the distance between the sound boxes according to the two-way ranging method, and the specific implementation is similar to the above-mentioned determination of the distance between the sound box and the large-screen device, which will not be described herein. Alternatively, after the sound boxes obtain the distance between the sound boxes, the obtained distance can be sent to the large-screen device so as to recommend the placement position by the large-screen device.

[0302] It should be noted that the application does not limit the way of ranging, which can be measured by ultrasonic technology, and can also be measured by UWB technology, millimeter wave technology, Wi-Fi positioning technology, and Bluetooth positioning technology.

[0303] S910, the large-screen device displays a placement position recommendation interface according to the capability information of the sound box and the first rule.

[0304] For example, the first rule (also referred to as a preset condition) includes the placement positions of sound boxes supporting different sound channels when a home theater is built. For example, the first rule includes one or more of the following, but is not limited to: the distance between the left sound box and the right sound box and the large-screen device is between 0 meters and 2 meters, the angle between the left sound box and the right sound box and the large-screen device is between -10 degrees and 15 degrees, the positions of the left sound box and the right sound box are substantially symmetrical about the large-screen device, the distance between the left surround sound box and the left sound box is between 2 meters and 7 meters, the distance between the right surround sound box and the right sound box is between 2 meters and 7 meters, the angle between the left surround sound box and the right surround sound box and the large-screen device is between 8 degrees and 63 degrees, the distance between the left surround sound box and the right surround sound box is between 2 meters and 8 meters, the positions of the left surround sound box and the right surround sound box are substantially symmetrical about the large-screen device, the placement position of the center sound box is above or behind the large-screen device, and the distance between the subwoofer and the wall is greater than 1 meter.

[0305] It should be noted that the first rule can be pre-set in the large-screen device, or the first rule can be obtained by the large-screen device from a server, the server maintains the first rule, when a new type of sound box is added, the designer can update the first rule in the server, and the large-screen device obtains the updated first rule, and determines the placement position of the sound box according to the updated first rule.

[0306] For example, the present application does not limit the specific content of the first rule, and the above is only an example provided by the present application, for example, the content of the first rule can be adjusted according to the size of the room and the house type.

[0307] In some embodiments, the large-screen device displays a placement position recommendation interface according to the capability information of at least one sound box (a sound box in the same room as the large-screen device) and the first rule. The above S901-S909 are optional steps. The placement position recommendation interface indicates the placement position of each sound box in the at least one sound box.

[0308] For example, the present application does not limit the specific content of the first rule, and the above is only an example provided by the present application, for example, the content of the first rule can be adjusted according to the size of the room and the house type. Figure 12AAs shown in (a) in the figure, the large-screen device displays a placement position recommendation interface 1201a based on the capability information of speakers 1 to 4 and the first rule. Assume that the capability information of speaker 1 includes support for being a left and right speaker, the capability information of speaker 2 includes support for being a right speaker, the capability information of speaker 3 includes support for being a left surround speaker and a right surround speaker, and the capability information of speaker 4 includes support for being a right surround speaker. Based on the capability information of speakers 1 to 4, the large-screen device uses speaker 1 as the left speaker, speaker 2 as the right speaker, speaker 3 as the left surround speaker, and speaker 4 as the right surround speaker, and in combination with the first rule, displays the placement position recommendation interface 1201a, prompting the user to place speakers 1 to 4 in the highlighted area (such as the dotted area) in the placement position recommendation interface 1201a.

[0309] In other embodiments, the large-screen device can directly determine whether the current position of the speaker is appropriate based on the position information, capability information and the first rule of at least one speaker. If adjustment is required, a placement position recommendation interface is displayed to prompt the user to make adjustments (it can also be a first interface that includes recommended information on the placement of at least one speaker). If adjustment is not required, a placement position recommendation interface is displayed to prompt that the placement is successful (it can also be a second interface that includes information for prompting successful placement).

[0310] Optionally, the position information of the speaker includes: the angle between the speaker and the large-screen device and the distance between the speaker and the large-screen device, and may also include: the angle between the speakers and / or the distance between the speakers.

[0311] like Figure 12A As shown in (b) of FIG, the large screen device displays the placement position recommendation interface 1201b based on the position information, capability information and first rule of speakers 1 to 4. Assume that the capability information of speakers 1 to 4 is as described above. Figure 12A The large-screen device uses the capability information of speakers 1 through 4 to configure speaker 1 as the left speaker, speaker 2 as the right speaker, speaker 3 as the left surround speaker, and speaker 4 as the right surround speaker. Based on the position information of speakers 1 through 4 and the first rule, a placement recommendation interface 1201b is displayed, prompting the user to move speaker 1 to area 1, speaker 3 to area 2, and speaker 4 to area 3.

[0312] Optionally, the large screen device can distinguish and display the speakers that need to be adjusted and the speakers that do not need to be adjusted. Figure 12AAs shown in (b), the placement of speaker 2 meets the first criterion and does not require adjustment. The placement of speakers 1, 3, and 4 does not meet the first criterion and requires adjustment. Speaker 2 is displayed in green to indicate that no adjustment is required; speakers 1, 3, and 4 are displayed in red to indicate that adjustment is required.

[0313] It should be noted that Figure 12A (a) and Figure 12A (b) is only an example, and the placement position recommendation interface may display more or fewer elements. For example, the placement position recommendation interface 1201b may not display the relevant images of angles 8 degrees and 63 degrees.

[0314] In some embodiments, the large-screen device may execute S901-S909 above again to obtain the position information of the speaker again. Then, the large-screen device comprehensively determines whether the current position of the speaker is appropriate based on the position information, capability information and the first rule of the speaker obtained again. If adjustment is required, the placement position recommendation interface is displayed to prompt the user to make adjustments (it may also be a third interface that includes recommended information on the placement position of at least one speaker). If adjustment is not required, the placement position recommendation interface is displayed to prompt that the placement is successful (it may also be a fourth interface that includes information for prompting successful placement).

[0315] For example, the large-screen device executes the above S901-S909 again, and comprehensively determines whether the current position of the speaker is appropriate based on the position information, capability information and the first rule of the speaker. If appropriate, the placement position recommendation interface 1202 is displayed, indicating that the placement position is successful. Figure 12B Optionally, the large screen device displays speakers 1 to 4 in green. If it is not suitable, the user may be prompted to adjust the placement of the speakers again, and an interface similar to the placement position recommendation interface 1201a or the placement position recommendation interface 1201b may be displayed.

[0316] For example, after detecting that the user has adjusted the placement of the speaker, the large-screen device may execute steps S901-S909 again to obtain the speaker's position information again. For example, the large-screen device may obtain the user's adjusted speaker placement based on the placement operation performed by the user on the placement recommendation interface.

[0317] For example, the placement recommendation interface can also be used by the user to confirm whether the speaker placement adjustment is complete. Figure 12A In (a), after the user sees the placement position recommended by the placement position recommendation interface 1201a of the large-screen device, he adjusts the position of the speaker. After completing the adjustment, he selects the next control 121. After the large-screen device detects that the user selects the next control 121 in the placement position recommendation interface, it obtains the position information of speakers 1 to 4 again.Figure 12A The (a) in (b) is only an example, Figure 12A The display position recommendation interface 1201b shown in (b) in (b) can also display a next step control (not shown in (b)) and will not be described again. Figure 12A

[0318] Alternatively, for example, the large-screen device can execute S901-S909 again after displaying the display position recommendation interface for a period of time, and obtain the position information of the sound bar again.

[0319] For example, the large-screen device can automatically detect the position information of the sound bar again after a period of time (such as 40 seconds) after displaying the display position recommendation interface by default, that is, the user has completed the adjustment of the display position of the sound bar according to the display recommendation interface. This can reduce the operation of the user and further improve the user experience.

[0320] In some embodiments, the large-screen device can periodically detect the position (angle and distance) of the sound bar, and if the position of the sound bar changes (is different from the angle and distance of the last time), it is determined whether it meets the first rule. If it does not meet the first rule, the user is prompted to adjust the position of the sound bar. In this way, when the sound bar is moved, the large-screen device can prompt the user to place the sound bar in a reasonable position in time.

[0321] In this way, the large-screen device intelligently recommends the display position of the sound bar in the home theater, which can help the user to simply and quickly complete the display of the sound bar in the home theater compared with confirming the display position by the user through the instruction manual and measuring the position of the sound bar or professional personnel on-site guidance. The user does not need to perform complex manual operations, and the user operation can be simplified, thereby improving the user experience. In addition, after accurately placing the position of the sound bar, the subsequent sound field calibration can achieve the optimal effect, thereby improving the user experience.

[0322] S911, the large-screen device assigns a sound channel to the sound bar and determines sound channel configuration information.

[0323] For example, the sound channel configuration information is used to indicate the sound channel type of the sound bar, such as but not limited to the following: left channel, right channel, left surround, right surround, center channel, or subwoofer.

[0324] In some embodiments, the large-screen device determines the sound channel configuration information according to the display position of the sound bar. For example, the large-screen device can assign a sound channel to the sound bar according to the position of the sound bar adjusted by the user (the large-screen device determines that the user successfully places the position) in S910. That is, the large-screen device first determines the display position of the sound bar, and then assigns a sound channel to the sound bar. S911 is executed after S910.

[0325] ​Optionally, the large-screen device can also determine the channel configuration information according to the capability information of the sound boxes. The accuracy of the placement position and the channel allocation can be improved. That is, the large-screen device can allocate channels to the sound boxes in combination with the placement position and the capability information of the sound boxes.

[0326] The present application does not limit the order of determining the position of the sound boxes and allocating channels to the sound boxes by the large-screen device. It is enough to recommend the placement position of the sound boxes and allocate channels to the sound boxes for the user.

[0327] In combination Figure 12B , the large-screen device allocates the channel type of the sound box 1 placed on the left side of the user close to the large-screen device when the user faces the large-screen device as the left channel, allocates the channel type of the sound box 2 placed on the right side of the user close to the large-screen device when the user faces the large-screen device as the right channel, allocates the channel type of the sound box 3 placed on the left side of the user far away from the large-screen device when the user faces the large-screen device as the left surround, and allocates the channel type of the sound box 4 placed on the right side of the user far away from the large-screen device when the user faces the large-screen device as the right surround.

[0328] In some embodiments, the large-screen device can periodically detect the position of the sound boxes. If the position of the sound boxes changes, it is determined whether it is necessary to readjust the channels and re-allocate the roles (channels) of the sound boxes.

[0329] S912, the large-screen device sends the channel configuration information to the sound boxes.

[0330] Optionally, the large-screen device sends the channel configuration information to the sound boxes through short-distance communication connection.

[0331] In combination Figure 12B , the large-screen device sends the channel configuration information 1 to the sound box 1, which is used to indicate that the channel type of the sound box 1 is the left channel. The large-screen device sends the channel configuration information 2 to the sound box 2, which is used to indicate that the channel type of the sound box 2 is the right channel. The large-screen device sends the channel configuration information 3 to the sound box 3, which is used to indicate that the channel type of the sound box 3 is the left surround. The large-screen device sends the channel configuration information 4 to the sound box 4, which is used to indicate that the channel type of the sound box 4 is the right surround. The sound boxes 1 to 4 respectively receive the channel configuration information 1 to 4.

[0332] S913, the sound boxes send the channel configuration response to the large-screen device.

[0333] For example, the channel configuration response is used to indicate that the channel configuration has been completed.

[0334] For example, the sound boxes receive the channel configuration information, configure the channels according to the channel configuration information, and send the channel configuration response to the large-screen device after the configuration is completed.

[0335] Optionally, the sound box sends the sound channel configuration response to the large-screen device through the short-distance communication connection.

[0336] In this way, the large-screen device allocates sound channels to the sound box, which helps the user to simply and quickly complete the sound channel configuration of the sound box, without manual operation, thereby improving the user experience, compared with the user configuring the sound channels of the sound box through the keys or the application program or the on-site guidance of the professional personnel.

[0337] In some embodiments, after the placement position of the sound box and the sound channel allocation are completed, a communication link for transmitting audio and video of the user between the large-screen device and the sound box can be established, such as a Wi-Fi P2P connection. For example, S914-S917 are described below.

[0338] S914, the large-screen device starts an encrypted P2P GO.

[0339] For example, the encrypted GO means that other devices need a password to establish a Wi-Fi P2P connection with the large-screen device. The security of the Wi-Fi P2P connection can be ensured.

[0340] S915, the large-screen device sends a second connection message.

[0341] For example, the second connection message is used to instruct the sound box to establish an encrypted Wi-Fi P2P connection with the large-screen device.

[0342] For example, the second connection message includes the GO name and the verification information, and can also include channel indication information.

[0343] For example, the verification information is used for security verification, such as the verification information including a key or a password, and the key can be a pre-shared key (PSK) or the like.

[0344] For example, the channel indication information is used to indicate the channel used for communication. For example, the channel indication information can include the identification of the channel.

[0345] Optionally, the large-screen device sends the second connection message to the sound box through the short-distance communication connection.

[0346] S916, the sound box sends a second request message to the large-screen device according to the second connection message.

[0347] For example, the second request message is used to request to establish an encrypted Wi-Fi P2P connection with the large-screen device.

[0348] Optionally, the second request message includes the verification information.

[0349] For example, after receiving the second connection message, the sound box sends the second request message to the large-screen device starting the P2P GO according to the GO name.

[0350] Optionally, the sound box sends a second request message to the large-screen device that opens the P2P GO on the channel indicated by the channel indication information.

[0351] Optionally, the sound box sends the second request message to the large-screen device through a short-range communication connection.

[0352] S917, the large-screen device establishes an encrypted Wi-Fi P2P connection with the sound box according to the second request message.

[0353] For example, the large-screen device verifies the sound box according to the verification information in the second request message, and if the verification is passed, the large-screen device establishes an encrypted Wi-Fi P2P connection with the sound box. Otherwise, the Wi-Fi P2P connection fails.

[0354] For example, if the second request message includes a PSK, the large-screen device verifies that the PSK in the second request message is the same as the PSK in the second connection message, and then establishes an encrypted Wi-Fi P2P connection with the sound box. Otherwise, the Wi-Fi P2P connection fails.

[0355] Thus, each sound box in the sound box in the same room as the large-screen device can perform the above S914-S917 with the large-screen device to establish a Wi-Fi P2P connection, and the secure and stable Wi-Fi P2P connection between the large-screen device and the sound box is established, and the networking process between the large-screen device and the sound box is completed.

[0356] In one possible design, Figure 4 The method shown, Figure 8 The method shown, and Figure 9 The method shown is also applicable to the scenario of adding a new sound box to an already established home theater. Assuming that the first sound box (one or more) and the large-screen device perform the above Figure 4 , Figure 8 and / or Figure 9 The method shown in the corresponding function, the successfully established home theater, then, the second sound box is added indoors, and the large-screen device and the second sound box automatically perform the above Figure 4 , Figure 8 and / or Figure 9 The method shown in the corresponding function, the second sound box joins the already established home theater, or refuses the second sound box to join the already established home theater. For specific implementation, refer to the description of Figure 13 .

[0357] For example, Figure 13 Another flowchart of a method for establishing a home theater provided by the embodiments of the present application is shown. Figure 13The method shown is suitable for the scene of adding new sound boxes in the assembled home theater. The communication connection (Wi-Fi P2P connection) between the first sound box and the large screen device is normal, the number of the first sound box can be one or more, the second sound box is a newly added sound box, and the number of the second sound box can be one or more. After the second sound box is turned on, the second sound box can be added to the assembled home theater through Figure 13 The method shown is suitable for the scene of adding new sound boxes in the assembled home theater.

[0358] As shown in the method. Figure 13 The method comprises the following steps.

[0359] S1301, the large screen device listens to the broadcast message.

[0360] S1302, the second sound box sends a first broadcast message.

[0361] Exemplarily, the first broadcast message comprises the capability information of the second sound box. The capability information of the second sound box can also be referred to as second capability information, and the second capability information is used to indicate the sound channels supported by the second sound box.

[0362] S1303, the large screen device starts to detect whether the sound box discovered by the large screen device and the large screen device are in the same room according to the first broadcast message.

[0363] S1304, the large screen device sends an ultrasonic signal.

[0364] S1305, the large screen device sends a second broadcast message.

[0365] S1306, the second sound box sends a third broadcast message according to the ultrasonic signal and the second broadcast message.

[0366] The specific implementation of S1301-S1306 can be referred to S401-S406 respectively, and will not be repeated here.

[0367] S1307, the large screen device determines whether the second sound box and the large screen device are in the same room according to the third broadcast message.

[0368] The specific implementation of S1307 can be referred to S407 respectively, and will not be repeated here.

[0369] S1308, the large screen device determines whether the second sound box can join the assembled home theater according to the capability information of the second sound box and the capability information of the first sound box.

[0370] Exemplarily, the large screen device determines whether the capability information of the second sound box and the capability information of the first sound box meet the conditions for assembling the home theater. The conditions for assembling the home theater can be referred to the corresponding description in the above Figure 4

[0371] It is assumed that in​Figure 12B A new sound bar 5 is added to the already formed home theater scene, as shown in Figure 14 Assuming the capability information of the sound bar 5 includes support for being a subwoofer sound bar or a center sound bar, since the sound bar 1 to the sound bar 4 are respectively a left sound bar, a right sound bar, a left surround sound bar and a right surround sound bar, the large-screen device determines that the second sound bar can join the current home theater networking. If the capability information of the sound bar 5 includes support for being a left sound bar and a right sound bar, since there are already a left sound bar and a right sound bar in the current home theater networking, the large-screen device determines that the second sound bar cannot join the current home theater networking.

[0372] In some embodiments, if the large-screen device determines that the second sound bar can join the already formed home theater, the following S1309 is performed, and the large-screen device adds the second sound bar to the already formed home theater.

[0373] In other embodiments, if the large-screen device determines that the second sound bar can join the already formed home theater, the large-screen device displays a second formation decision interface. The specific implementation can refer to the description of the large-screen device displaying the second formation decision interface in S408.

[0374] In some embodiments, if the large-screen device determines that the second sound bar cannot join the already formed home theater, the large-screen device can refuse the second sound bar to join the already formed home theater, or the large-screen device can display a third formation decision interface (also referred to as a sixth interface). The third formation decision interface is used to prompt the user that the second sound bar cannot join the already formed home theater, and can also prompt the reason why it cannot be formed.

[0375] Optionally, in the case that the large-screen device determines that the second sound bar cannot join the already formed home theater, the large-screen sound bar can mark the second sound bar, and no longer receive the joining request (such as the first broadcast message) of the sound bar in the case that the current home theater networking does not change.

[0376] S1309, the large-screen device adds the second sound bar to the already formed home theater.

[0377] In some embodiments, if the large-screen device determines that the second sound bar can join the already formed home theater, the second sound bar is added to the already formed home theater.

[0378] In other embodiments, after the large-screen device determines that the second speaker can be added to the established home theater, the second speaker is added to the established home theater based on the user's confirmation operation for establishing the home theater. For example, after the large-screen device detects that the user selects the "yes" control on the second establishment decision interface, the second speaker is added to the established home theater. If the large-screen device detects that the user selects the "no" control on the second establishment decision interface, the second speaker is denied from being added to the established home theater. The specific implementation of S1309 above can be referred to in detail in S409 above and will not be further described here.

[0379] It should be noted that Figure 13 The method shown may also include a process of establishing a short-distance communication connection between the large-screen device and the second speaker. The specific implementation is as described above. Figure 4 The method shown in the figure will not be described here. Figure 4 Replace the speaker in the box with a second speaker. And / or, Figure 13 The method shown may also include a process in which the large-screen device recommends to the user the placement position of the second speaker and allocates a channel to the second speaker. The specific implementation is as described above. Figure 9 The method shown in the figure will not be described here. Figure 9 Replace the speaker in the main unit with the second speaker.

[0380] In this way, when new speakers are added to an already established home theater, the large-screen device can automatically discover the speakers and automatically complete the networking without any user operation. Compared with the user manually configuring the networking every time they buy a device, this can reduce the complexity of adding new speakers to an already established home theater, thereby improving the user experience.

[0381] In this application, unless otherwise specified, the same or similar parts between the various embodiments can refer to each other. In the various embodiments in this application, and the various implementation methods / implementation methods / implementation methods in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. In each example or each optional method described in the above embodiments, any content can be freely combined, and the combined content is also within the scope of this application. The above-described implementation methods of this application do not constitute a limitation on the scope of protection of this application.

[0382] Combination of the above Figures 4-14 The input method provided by the embodiment of the present application is described in detail. Figure 15The first device and the second device provided in the embodiments of the present application are described in detail.

[0383] Figure 15 This is a schematic diagram of a device provided in an embodiment of the present application. For example, the device may be a first device or a second device. Figure 15 As shown, the device 1500 may include: a transceiver unit 1501 , and may also include a processing unit 1502 and / or a display unit 1503 .

[0384] In one possible design, device 1500 is a first device, and device 1500 can be used to implement the functions of the first device or large-screen device involved in the above method embodiment.

[0385] Optionally, the transceiver unit 1501 is configured to support the first device to execute Figures 4-14 Any of the sending and receiving functions.

[0386] Optionally, the processing unit 1502 is configured to support the first device to execute Figures 4-14 Any processing function in .

[0387] Optionally, the display unit 1503 is used to support the first device to execute Figures 4-14 Any display function and / or touch function.

[0388] The transceiver unit 1501 may include a receiving unit and a transmitting unit, and may be implemented by a transceiver or transceiver-related circuit components, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the device 1500 are respectively to implement the corresponding processes of the methods described in the above method embodiments. All relevant content of each step involved in the above method embodiments can be referenced to the functional description of the corresponding functional unit, and for the sake of brevity, they are not repeated here.

[0389] Optionally, Figure 15 The device 1500 shown may also include a storage unit ( Figure 15 (not shown), the storage unit stores a program or instruction. When the transceiver unit 1501, the processing unit 1502 and the display unit 1503 execute the program or instruction, Figure 15 The device 1500 shown can execute the methods described in the above method embodiments.

[0390] Figure 15 The technical effects of the device 1500 shown can refer to the technical effects of the methods described in the above method embodiments, and will not be repeated here.

[0391] In addition to being in the form of device 1500, the technical solution provided in this application may also be a functional unit or chip in the first device, or a device used in conjunction with the first device.

[0392] In another possible design, device 1500 is a second device, and device 1500 can be used to implement the functions of the second device or speaker involved in the above method embodiment.

[0393] Optionally, the transceiver unit 1501 is configured to support the second device to execute Figures 4-14 Any of the sending and receiving functions.

[0394] Optionally, the processing unit 1502 is configured to support the second device to execute Figures 4-14 Any processing function in .

[0395] Optionally, the display unit 1503 is used to support the second device to execute Figures 4-14 Any display function in .

[0396] The transceiver unit 1501 may include a receiving unit and a transmitting unit, and may be implemented by a transceiver or transceiver-related circuit components, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the device 1500 are respectively to implement the corresponding processes of the methods described in the above method embodiments. All relevant content of each step involved in the above method embodiments can be referenced to the functional description of the corresponding functional unit, and for the sake of brevity, they are not repeated here.

[0397] Optionally, Figure 15 The device 1500 shown may also include a storage unit ( Figure 15 (not shown), the storage unit stores a program or instruction. When the transceiver unit 1501, the processing unit 1502 and the display unit 1503 execute the program or instruction, Figure 15 The device 1500 shown can execute the methods described in the above method embodiments.

[0398] Figure 15 The technical effects of the device 1500 shown can refer to the technical effects of the methods described in the above method embodiments, and will not be repeated here.

[0399] In addition to being in the form of device 1500, the technical solution provided in this application may also be a functional unit or chip in a second device, or an apparatus used in conjunction with the second device.

[0400] An embodiment of the present application also provides an input system, including: a first device and a second device.

[0401] Optionally, each device in the input system provided by the embodiment of the present application can execute the method described in the above method embodiment. The technical effects of the input system can refer to the technical effects of the method described in the above method embodiment, and will not be repeated here.

[0402] The chip system according to the embodiments of the present application can also include a processor coupled with a memory, wherein the memory is configured to store programs or instructions, and when the programs or instructions are executed by the processor, the chip system implements the method in any of the method embodiments described above.

[0403] Optionally, the processor in the chip system can be one or more. The processor can be implemented by hardware or software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor which is configured to read software codes stored in the memory.

[0404] Optionally, the memory in the chip system can also be one or more. The memory can be integrated with the processor or set separately from the processor, and the embodiments of the present application do not limit the memory. For example, the memory can be a non-transient processor such as a read-only memory (ROM), which can be integrated on the same chip as the processor or set on different chips, and the embodiments of the present application do not limit the type of the memory or the setting mode of the memory and the processor.

[0405] For example, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0406] It should be understood that each step in the above method embodiments can be completed by the integrated logic circuit of the hardware in the processor or the instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as hardware processor execution or executed by the combination of hardware and software modules in the processor.

[0407] The embodiment of the present application further provides a readable storage medium, which stores a program. When the program is run on a computer or device, the computer or device executes the related steps to realize the method in the above embodiment.

[0408] The embodiment of the present application further provides a program product. When the program product is run on a computer or device, the computer or device executes the related steps to realize the method in the above embodiment.

[0409] In addition, the embodiment of the present application further provides an apparatus. The apparatus can be specifically a component or a module, and the apparatus can include one or more processors and memories connected thereto. The memories are used to store programs. When the programs are executed by the one or more processors, the apparatus executes the method in the above method embodiments.

[0410] The apparatus, the readable storage medium, the program product or the chip provided by the embodiment of the present application are used to execute the corresponding method provided above. Therefore, the beneficial effects achieved by the apparatus, the readable storage medium, the program product or the chip can refer to the beneficial effects of the corresponding method provided above, which will not be described here.

[0411] The steps of the method or algorithm described in connection with the embodiment of the present application can be implemented in the form of hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable ROM (EPROM), an electrically EPROM (EEPROM), a register, a hard disk, a mobile hard disk, a compact disk (CD-ROM) or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).

[0412] Those skilled in the art can clearly understand the technical personnel, for the convenience and brevity of the description, only above the functional module division is illustrated by example. In practical applications, the above-mentioned functions can be completed by different functional modules according to the needs; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0413] In several embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. The above-described device embodiments are only illustrative. For example, the division of the modules or units is only a logical function division, and actual implementation can have another division manner; for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be through some interface, indirect coupling or communication connection between the modules or units, which can be electrical, mechanical or other forms.

[0414] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of software functional unit.

[0415] The readable storage medium includes, but is not limited to, any one of the following: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and various program code storage media.

[0416] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited to this. Any change or replacement within the technical scope disclosed in the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method of assembling a home theater system, comprising: The method is applied to a first device, and comprises: receiving m first capability information from m second devices, each of the m first capability information indicating a supported channel of a corresponding second device, m being an integer not less than 1; obtaining a placement position of the m second devices; determining, according to the placement position of the m second devices and the m first capability information, whether the placement position of the m second devices meets a preset condition, the preset condition including a placement position of a second device supporting different channels when a home theater is set up; determining that the placement position of the m second devices does not meet the preset condition, and displaying a first interface, the first interface including recommended information of the placement position of at least one of the m second devices; determining that the placement position of the m second devices meets the preset condition, and displaying a second interface, the second interface including information for prompting a successful placement.

2. The method of claim 1, wherein, The method further comprises: obtaining again the placement position of the m second devices; determining, according to the obtained again placement position of the m second devices and the m first capability information, whether the obtained again placement position of the m second devices meets the preset condition; determining that the obtained again placement position of the m second devices does not meet the preset condition, and displaying a third interface, the third interface including recommended information of the placement position of at least one of the m second devices; determining that the obtained again placement position of the m second devices meets the preset condition, and displaying a fourth interface, the fourth interface including information for prompting a successful placement.

3. The method of claim 1, wherein, The method further comprises: after determining that the placement position of the m second devices meets the preset condition, determining a channel type of the m second devices according to the placement position of the m second devices; sending channel configuration information to the m second devices, the channel configuration information being used for indicating the channel type.

4. The method of claim 2, wherein, The method further comprises: after determining that the obtained again placement position of the m second devices meets the preset condition, determining a channel type of the m second devices according to the obtained again placement position of the m second devices; sending channel configuration information to the m second devices, the channel configuration information being used for indicating the channel type.

5. The method according to any one of claims 1-4, characterized in that, Before the obtaining the placement position of the m second devices, the method further comprises: broadcasting an ultrasonic signal, the ultrasonic signal including an ultrasonic identifier; broadcasting a first message, the first message including the ultrasonic identifier; obtaining n second devices in a same room as the first device according to a first condition, n being an integer not less than 1 and n not less than m, the first condition including receiving a second message.

6. The method of claim 5, wherein, The obtaining n second devices in a same room as the first device according to the first condition comprises: if the first condition is met, determining that a second device sending the second message is in the same room as the first device.

7. The method according to claim 5 or 6, characterized in that, The second message includes one or more of the following: the ultrasonic identifier, a signal strength of the ultrasonic signal, and a signal strength of the first message; The first condition further comprises one or more of: the ultrasonic identifier comprised in the second message is consistent with the ultrasonic identifier sent by the first device, the signal strength of the ultrasonic signal is greater than or equal to a first threshold, and the signal strength of the first message is greater than or equal to a second threshold; or, The first condition further comprises one or more of: the ultrasonic identifier comprised in the second message is consistent with the ultrasonic identifier sent by the first device, the signal strength of the ultrasonic signal corresponds to a distance less than or equal to a third threshold, and the signal strength of the first message corresponds to a distance less than or equal to a fourth threshold.

8. The method according to any one of claims 5-7, characterized in that, After the n second devices in the same room as the first device are obtained according to the first condition, the method further comprises: According to the first capability information of the n second devices and a second condition, the m second devices are obtained from the n second devices, the first capability information of the m second devices satisfying the second condition, and the second condition being a condition for setting up a home theater.

9. The method according to any one of claims 1-8, characterized in that, The method further comprises: determining whether a newly added second device in the room where the first device is located can join the set-up home theater system, the set-up home theater system being set up by the first device and the m second devices; determining that the newly added second device in the room where the first device is located can join the set-up home theater system, displaying a fifth interface according to the m first capability information, second capability information of the newly added second device, and the preset condition, the fifth interface comprising information for prompting a placement position of the newly added second device; determining that the newly added second device in the room where the first device is located cannot join the set-up home theater system, displaying a sixth interface, the sixth interface comprising information for prompting that the newly added second device cannot join the set-up home theater system.

10. The method of claim 9, wherein, The determination of whether the newly added second device in the room where the first device is located can join the set-up home theater system comprises: determining whether the newly added second device can join the set-up home theater system according to the first capability information of the m second devices, the second capability information of the newly added second device, and a second condition, the second condition being a condition for setting up a home theater.

11. A first device, comprising: The first device comprises: a display screen; one or more processors; one or more memories; The memory stores one or more programs, when the one or more programs are executed by the one or more processors, the first device executes the method of any one of claims 1-10.

12. A communication system, characterized by The communication system comprises: The first device of claim 11; and, a second device; wherein the second device is configured to send first capability information to the first device, the first capability information being used to indicate a sound channel supported by the second device.

13. A readable storage medium, characterized by, The readable storage medium comprises a program, when the program is run on a device, the device executes the method of any one of claims 1-10. The readable storage medium comprises a program, when the program is run on a device, the device executes the method of any one of claims 1-10.

Citation Information

Patent Citations

  • Method and system for realizing wireless multichannel home theater based on UWB

    CN112738693A

  • Configuration method of combined sound box, sound box and electronic equipment

    CN114268896A