Method, device and system for establishing home theater

By receiving device capability information and ultrasonic signals, it automatically recommends and configures home theater equipment placement and sound channels, solving the problem of high complexity in setting up a home theater in the existing technology, and improving user experience and ease of operation.

WO2024131460A9PCT designated stage expired Publication Date: 2024-08-29HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/134491
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-12-20
Filing Date
2023-11-27
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

The existing process of setting up a home theater is complex, requiring users to perform complex manual configurations or professionals to provide on-site guidance, which is time-consuming and cumbersome and affects the user experience.

Method used

Provide a method and device to receive capability information of multiple devices, determine whether their placement meets preset conditions, display recommended placement, automatically configure sound channels, and use ultrasonic signals and short-range communication technology to simplify user operations , reduce manual operations.

Benefits of technology

It simplifies the process of setting up a home theater, improves the user experience, reduces the complexity of user operations, automatically completes equipment placement and channel configuration, and reduces the complexity of the set-up.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023134491_29082024_PF_FP_ABST
    Figure CN2023134491_29082024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of terminals. Provided are a method, device and system for establishing a home theater, which can simplify operations of a user during the process of establishing a home theater, thereby improving the user experience. The method comprises: receiving m pieces of first capability information from m second devices, acquiring placement positions of the m second devices, and according to the placement positions of the m second devices and the m pieces of first capability information, determining whether the placement positions of the m second devices meet a preset condition; if the preset condition is not met, displaying a first interface; and if the preset condition is met, displaying a second interface, wherein each of the m pieces of first capability information is used for indicating a sound channel, which is supported by a corresponding second device, m being an integer not less than 1; and the preset condition comprises the placement positions of the second devices, which support different sound channels, in the establishment of a home theater, the first interface comprises recommendation 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

Method, device and system for building a home theater

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on December 20, 2022, with application number 202211644507.1 and application name “A method, device and system for building a home theater”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of terminal technology, and in particular to a method, device, and system for building a home theater. Background Art

[0003] With the rapid development of smart homes (such as smart screens and speakers), more and more users are building home theater systems (hereinafter referred to as home theaters) that include multiple devices in their homes, allowing them to enjoy a superior audio-visual experience at home. However, the existing process of building a home theater is very complicated, requiring users to perform complex manual configuration or require professional installation guidance. This is time-consuming and tedious, causing inconvenience to users and affecting the user experience.

[0004] Summary of the Invention

[0005] The present application provides a method, device, and system for building a home theater, which can simplify user operations during the process of building a home theater and improve user experience.

[0006] To achieve the above objectives, this application adopts the following technical solutions:

[0007] 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, chip, or chip system of the first device. It can also be implemented by a logic module or software that implements all or part of the functions of the first device. The method includes: receiving m pieces of first capability information from m second devices, obtaining placement positions of the m second devices, and determining whether the placement positions of the m second devices meet preset conditions based on the placement positions of the m second devices and the m pieces of first capability information. If the placement positions of the m second devices are determined to not meet the preset conditions, a first interface is displayed. If the placement positions of the m second devices are determined to meet the preset conditions, a second interface is displayed. Each piece of first capability information in the m pieces of first capability information indicates the channels supported by the corresponding second device, where m is an integer not less than 1. The preset conditions include placement positions for second devices supporting different channels when setting up a home theater. The first interface includes recommended placement information for at least one of the m second devices, and the second interface includes information indicating successful placement.

[0008] Based on the method provided in the first aspect, the first device determines whether the placement positions of the m second devices meet the preset conditions based on the channels and placement positions respectively supported by the m second devices. If so, the second interface is displayed, and the second interface includes information for prompting successful placement. If not, the first interface is displayed, and the placement position of at least one of the m second devices is recommended to the user. Compared with the user confirming the placement position and measuring the placement position through the manual or the on-site guidance of professionals, it can help the user to place the second device in the home theater simply and quickly, without the user having to perform complex manual operations, which can simplify user operations and thus improve user experience.

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

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

[0011] In one possible implementation, the method provided in the first aspect may further include: after determining that the placement positions of the m second devices meet a preset condition, determining the channel types of the m second devices based on the placement positions of the m second devices; and sending channel configuration information to the m second devices. The channel configuration information indicates the channel type.

[0012] In this implementation, after the user successfully places the second device, the first device can automatically allocate channels for m second devices. Compared with the user configuring channels for the second device through buttons or applications, or professional on-site guidance, this can help the user complete the channel configuration simply and quickly without the need for manual operation, which can further improve the user experience.

[0013] In a possible implementation, the method provided in the first aspect may further include: after determining that the placement positions of the m second devices obtained again meet the preset conditions, determining the channel types of the m second devices according to the placement positions of the m second devices obtained again. Sending channel configuration information to the m second devices. The channel configuration information is used to indicate the channel type. In this implementation, after the user successfully places the second device, the first device can automatically allocate channels to the m second devices. Compared with the user configuring channels for the second device through buttons or applications, or professional on-site guidance, this can help the user complete the channel configuration simply and quickly, without the need for the user to perform manual operations, and can further improve the user experience.

[0014] In one possible implementation, before displaying the first interface based on the first capability information and preset conditions of the m second devices, the method provided in the first aspect may further include: broadcasting an ultrasonic signal. The ultrasonic signal includes an ultrasonic identifier. Broadcasting a first message, wherein the first message includes an ultrasonic identifier. According to the first condition, n second devices in the same room as the first device are obtained, where n is an integer not less than 1, and n is not less than m. The first condition includes: receiving a second message. In this way, the first device can exclude the second device that is not in the same room as the first device, obtain the second device in the same room as the first device, and recommend the placement position of the second device in the same room as the first device, which can improve the accuracy of setting up a home theater.

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

[0016] In one possible implementation, obtaining, based on the first condition, n second devices located in the same room as the first device may include: if the first condition is met, determining that the second device sending the second message is located in the same room as the first device. For example, if the second message is received, determining that the second device sending the second message is located in the same room as the first device.

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

[0018] The first condition also 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 the first threshold, and the signal strength of the first message is greater than or equal to the second threshold.

[0019] Alternatively, the first condition also 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 distance corresponding to the signal strength of the ultrasonic signal is less than or equal to the third threshold, and the distance corresponding to the signal strength of the first message is less than or equal to the fourth threshold.

[0020] That is, the first device can also determine whether the first device and the second device are in the same room through the ultrasonic identifier included 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.

[0021] In one possible implementation, after obtaining n second devices located in the same room as the first device based on the first condition, the method provided in the first aspect may further include: obtaining m second devices from the n second devices based on the first capability information of the n second devices and the second condition. The first capability information of the m second devices satisfies the second condition, and the second condition is a condition for establishing a home theater. In other words, m second devices can be selected from the n second devices located in the same room as the first device that meet the condition for establishing a home theater, for example, where m is an integer less than or equal to n.

[0022] Optionally, the first device may receive first capability information from n second devices, where the n second devices include m second devices. In other words, in addition to receiving first capability information from m second devices, the first device may also receive first capability information from mn second devices.

[0023] In one possible implementation, the method provided in the first aspect may further include: determining whether a newly added second device in the room where the first device is located can join an already established home theater system, where the already established home theater system is composed of the first device and 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 already established home theater system, a fifth interface is displayed based on the m first capability information, the second capability information of the newly added second device, and preset conditions, and the fifth interface includes information for prompting the 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 already established home theater system, a sixth interface is displayed, and the sixth interface includes information for prompting that the newly added second device cannot join the already established home theater system.

[0024] In this way, after a second device is added to an already established home theater, the large-screen device can automatically discover the newly added second device and automatically complete the networking (establishing a home theater) without the need for user operation. Compared with the user having to manually configure the networking every time he buys a second device, this can reduce the complexity of adding a new second device to an already established home theater, thereby improving the user experience.

[0025] In one possible implementation, the above-mentioned determination of whether a newly added second device in the room where the first device is located can join the established home theater system may include: determining whether the newly added second device can join the established home theater system based on the first capability information of the m second devices, the second capability information of the newly added second device and the second condition, where the second condition is the condition for establishing a home theater.

[0026] In a second aspect, a first device is provided, comprising: a processing unit, a display unit, and a transceiver unit.

[0027] Among them, the transceiver unit is used to receive m first capability information from m second devices. The processing unit is used to obtain the placement positions of the m second devices. The processing unit is also used to determine whether the placement positions of the m second devices meet the preset conditions based on the placement positions of the m second devices and the m first capability information. The display unit is used to determine that the placement positions of the m second devices do not meet the preset conditions and display the first interface. The display unit is also used to determine that the placement positions of the m second devices meet the preset conditions and display the second interface. Among them, each first capability information in the m first capability information is used to indicate the channels supported by the corresponding second device, and m is an integer not less than 1. The preset conditions include the placement positions of second devices supporting different channels when forming a home theater, the first interface includes recommended information on the placement position of at least one of the m second devices, and the second interface includes information for prompting successful placement.

[0028] In one possible implementation, the processing unit is further configured to obtain the placement positions of the m second devices again. The processing unit is further configured to determine whether the placement positions of the m second devices obtained again meet preset conditions based on the placement positions of the m second devices obtained again and the m first capability information. The display unit is further configured to determine whether the placement positions of the m second devices obtained again meet the preset conditions, and to display a third interface including recommended placement information for at least one of the m second devices. Upon determining that the placement positions of the m second devices obtained again meet the preset conditions, a fourth interface is displayed, and the fourth interface includes information indicating successful placement.

[0029] In one possible implementation, the processing unit is further configured to, after determining that the placement positions of the m second devices meet a preset condition, determine the channel types of the m second devices based on the placement positions of the m second devices. The transceiver unit is further configured to send channel configuration information to the m second devices. The channel configuration information indicates the channel type.

[0030] In one possible implementation, the processing unit is further configured to, after determining that the placement positions of the m second devices obtained again meet a preset condition, determine the channel types of the m second devices based on the placement positions of the m second devices obtained again. The transceiver unit is further configured to send channel configuration information to the m second devices. The channel configuration information indicates the channel type.

[0031] In one possible implementation, the transceiver unit is further configured to broadcast an ultrasonic signal. The ultrasonic signal includes an ultrasonic identifier. The transceiver unit is further configured to broadcast a first message, wherein the first message includes the ultrasonic identifier. The processing unit is further configured to obtain, based on a first condition, n second devices located in the same room as the first device, where n is an integer not less than 1 and not less than m. The first condition includes receiving the second message.

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

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

[0034] The first condition also 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 the first threshold, and the signal strength of the first message is greater than or equal to the second threshold.

[0035] Alternatively, the first condition also 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 distance corresponding to the signal strength of the ultrasonic signal is less than or equal to the third threshold, and the distance corresponding to the signal strength of the first message is less than or equal to the fourth threshold.

[0036] In one possible implementation, the processing unit is further configured to obtain m second devices from the n second devices based on the first capability information of the n second devices and a second condition, wherein the first capability information of the m second devices satisfies the second condition, and the second condition is a condition for establishing a home theater.

[0037] In one possible implementation, the processing unit is further configured to determine whether a second device newly added to the room where the first device is located can join an already established home theater system, where the already established home theater system is composed of the first device and m second devices. The display unit is further configured to, if the second device newly added to the room where the first device is located can join the already established home theater system, display a fifth interface based on the m pieces of first capability information, the second capability information of the newly added second device, and preset conditions. The fifth interface includes information indicating the placement location of the newly added second device. The display unit is further configured to determine that the second device newly added to the room where the first device is located cannot join the already established home theater system, and display a sixth interface including information indicating that the newly added second device cannot join the already established home theater system.

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

[0039] It should be noted that the transceiver unit can be provided separately (eg, a receiving unit and a sending unit), or can be integrated into one module, namely, the transceiver unit. This application does not make any specific restrictions on the specific implementation of the transceiver unit.

[0040] Optionally, the first device described in the second aspect may further include a storage unit, wherein the storage unit stores a program or instruction. When the processing unit executes the program or instruction, the first device described in the second aspect may execute the method described in the first aspect.

[0041] It should be noted that the first device described in the second aspect can be a large-screen device, etc., or it can be a chip (system) or other parts or components that can be set on a large-screen device, etc. This application does not limit this.

[0042] In addition, the technical effects of the first device described in the second aspect can refer to the technical effects of the method described in any possible implementation method of the first aspect, and will not be repeated here.

[0043] In a third aspect, a first device is provided, which includes: a display screen, one or more processors; one or more memories; the memories store one or more programs, and when the one or more programs are executed by one or more processors, the first device executes a method as in any possible implementation of the first aspect.

[0044] In a fourth aspect, an embodiment of the present application provides a circuit system, the circuit system including a processing circuit, and the processing circuit is configured to execute a method as in any one of the implementation methods in the first aspect.

[0045] In a fifth aspect, a communication system is provided, comprising the first device described in the second aspect and a second device. Alternatively, the communication system comprises the first device described in the second aspect for implementing the method described in the first aspect and a second device. The second device is configured to send first capability information to the first device, the first capability information indicating the channels supported by the second device. Optionally, the number of second devices may be one or more.

[0046] In a sixth aspect, a readable storage medium is provided, which includes a program. When the program is run on a device, the device executes the method in any possible implementation manner of the first aspect.

[0047] In a seventh aspect, a chip system is provided, comprising a processor and a memory, wherein the memory stores a program; when the program is executed by the processor, the processor implements the method of any possible implementation of the first aspect. The chip system may be composed of a chip alone, or may include a chip and other discrete components.

[0048] In an eighth aspect, a program product is provided, which, when executed on a computer or device, enables the computer or device to implement the method in any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] FIG1 is a schematic diagram of a communication system for applying a method for building a home theater according to an embodiment of the present application;

[0050] FIG2 is a schematic diagram of the hardware structure of a large-screen device and a speaker provided in an embodiment of the present application;

[0051] FIG3 is a software structure block diagram of a large-screen device and a speaker provided in an embodiment of the present application;

[0052] FIG4 is a schematic diagram of a flow chart of a method for building a home theater according to an embodiment of the present application;

[0053] FIG5 is a schematic diagram of a scenario for building a home theater according to an embodiment of the present application;

[0054] FIG6 is a schematic diagram of another scenario of building a home theater according to an embodiment of the present application;

[0055] FIG7A is a schematic diagram of another scenario of building a home theater according to an embodiment of the present application;

[0056] FIG7B is a schematic diagram of another scenario of building a home theater according to an embodiment of the present application;

[0057] FIG8 is a flow chart of another method for building a home theater according to an embodiment of the present application;

[0058] FIG9 is a flow chart of another method for building a home theater according to an embodiment of the present application;

[0059] FIG10A is a schematic diagram of sending a first ultrasonic signal and a second ultrasonic signal according to an embodiment of the present application;

[0060] FIG10B is a waveform diagram of a frequency modulated continuous wave provided in an embodiment of the present application;

[0061] FIG10C is a schematic diagram of another embodiment of the present application for sending a first ultrasonic signal and a second ultrasonic signal;

[0062] FIG11 is a schematic diagram of a bilateral two-way ranging method provided in an embodiment of the present application;

[0063] FIG12A is a schematic diagram of another scenario of building a home theater according to an embodiment of the present application;

[0064] FIG12B is a schematic diagram of another scenario of building a home theater according to an embodiment of the present application;

[0065] FIG13 is a schematic diagram of a flow chart of another method for building a home theater according to an embodiment of the present application;

[0066] FIG14 is a schematic diagram of another scenario of building a home theater according to an embodiment of the present application;

[0067] FIG15 is a schematic structural diagram of a device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two).

[0069] References to "one embodiment" or "some embodiments" etc. described in this specification mean that the specific features, structures or characteristics described in conjunction with the embodiment are included in one or more embodiments of the present application. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in another way. The term "connected" includes direct and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.

[0070] In the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.

[0071] For example, FIG1 is a schematic diagram of a communication system for applying a method for building a home theater provided in an embodiment of the present application.

[0072] The method for building a home theater provided in the embodiment of the present application is applied to a communication system (also referred to as a home theater system). As shown in FIG1 , the communication system includes a first device 100 and at least one second device 200 .

[0073] 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, an audio and video disc player, etc. The embodiment of the present application does not impose any special restrictions on the specific form of the first device 100. The operating system installed on the first device 100 includes but is not limited to This application does not limit the specific type of the first device 100 or the installed operating system.

[0074] The second device 200 includes but is not limited to audio devices such as speakers, speakers, or smart speakers. The embodiment of the present application does not impose any special restrictions on 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. This application does not limit the specific type of the second device 200 or the operating system installed. In some examples, the first device 100 can prompt the placement of at least one second device 200, and the first device 100 can allocate channels for at least one second device 200.

[0075] In some examples, the first device 100 may also be an audio device such as a speaker, a speaker, or a smart speaker. For example, the communication system may include at least two speakers, one of which may prompt a user to determine the placement of each speaker in the communication system and assign channels to each speaker. Optionally, the communication system may also include, but is not limited to, a mobile phone, a smart screen, a television, a smart projector, a smart display, or an audio and video playback device such as a DVD player or a video disc player.

[0076] Optionally, 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 wireless fidelity (Wi-Fi) networks), Zigbee, frequency modulation (FM), infrared (IR), ultra wideband (UWB), etc.

[0077] In some embodiments, both the first device 100 and the second device 200 support a proximity discovery function. For example, when 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, or a UWB connection. Wireless communication connections supported by future connection technologies can also be established.

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

[0079] Optionally, the first device 100 and the second device 200 may also establish a 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, etc.

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

[0081] In one example, the communication system further includes a server (e.g., a cloud server). For example, a routing device or a gateway can send information (e.g., placement rules, etc.) in the server to the first device 100 or the second device 200. The server can also store one or more ultrasound algorithm models, or a portion of an ultrasound algorithm model can be stored, and the other portion of the ultrasound algorithm model can be deployed in the first device 100 or the second device 200. The ultrasound algorithm model is used to identify and parse ultrasound signals. After the server uses the ultrasound algorithm model to parse the ultrasound signal, the information obtained after parsing can be sent to the first device 100 and / or the second device 200 via the routing device or the gateway.

[0082] The above contents are only some descriptions of the method for building a home theater provided by the embodiment of the present application. It should be noted that in each example or each optional method described above, any content can be freely combined, and the combined content is also within the scope of the present application.

[0083] For example, taking the case where the first device 100 is a large-screen device and the second device 200 is a speaker, FIG2 is a schematic diagram of a hardware structure of the large-screen device and the speaker provided in an embodiment of the present application.

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

[0085] The speaker may include a processor 210, a memory 220, a power module 240, a wireless communication module 250, an audio module 260, a speaker 260A, a receiver 260B, and a microphone 260C, etc. Optionally, the speaker may also include an interface 230 and a display screen 270, etc.

[0086] It is understandable that the structure illustrated in 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 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components can be implemented in hardware, software, or a combination of software and hardware. In addition, the interface connection relationship between the modules illustrated in Figure 2 is only a schematic illustration 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 may also adopt an interface connection method different from that shown in Figure 2, or a combination of multiple interface connection methods.

[0087] The processor 210 may include one or more processing units. For example, the processor 210 may 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. The different processing units may be independent devices or integrated into one or more processors.

[0088] The memory 220 can be used to store executable program code, which includes instructions. For example, the memory 220 can also store data processed by the processor 210. In addition, the memory 220 can include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, etc. The processor 210 executes various functional applications and data processing of the speaker or large-screen device by running the instructions stored in the memory 220 and / or the instructions stored in the memory provided in the processor.

[0089] The interface 230 may be an interface that complies with the USB standard, specifically a Mini USB interface, a Micro USB interface, a USB Type-C interface, etc. The interface 230 may be used to connect a charger to charge the speaker or large-screen device, and may also be used to transmit data between the speaker or large-screen device and peripheral devices.

[0090] The power module 240 is used to supply power to various components of the speaker or large-screen device, such as the processor 210 and the memory 220.

[0091] The wireless communication module 250 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), ZigBee, etc., which can be used in speakers or large-screen devices. The wireless communication module 250 can be one or more devices that integrate at least one communication processing module. The wireless communication module 250 receives electromagnetic waves via an antenna, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 250 can also receive the signal to be sent from the processor 210, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna.

[0092] The speaker or large screen device can implement audio functions such as audio playback and recording through the audio module 260, the speaker 260A, the receiver 260B, the microphone 260C, and the application processor.

[0093] 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.

[0094] 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.

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

[0096] 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.

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

[0098] 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.

[0099] For example, the software architecture of the terminal can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture, etc. FIG3 shows 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.

[0100] As shown in (a) of Figure 3, 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.

[0101] As shown in (b) of Figure 3, the speaker 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 backconnection management module 305b and a communication management module 306b.

[0102] The network management module 301a is used to implement the control of the networking logic of large-screen devices (also known as building a home theater) and call each module to complete the entire networking process.

[0103] The networking management module 301b is used to implement the control of the speaker networking (also known as building a home theater) logic and call each module to complete the entire networking process.

[0104] The device discovery module 302a is used to implement device discovery and the ability to be discovered of the large-screen device. For example, the device discovery module 302a can be used to discover speakers.

[0105] The device discovery module 302b is used to implement device discovery and the ability to be discovered by the speaker. For example, the device discovery module 302b can be used to broadcast a discovery packet so that the speaker can be discovered by the large-screen device.

[0106] The ultrasonic processing module 303a is used to process the ultrasonic signals received or sent by the large-screen device.

[0107] The ultrasonic processing module 303b is used to process the ultrasonic signal received or sent by the speaker.

[0108] The ultrasonic transceiver module 304a is used to receive ultrasonic signals through the microphone of the large-screen device and to play ultrasonic signals through the speaker of the large-screen device.

[0109] The ultrasonic transceiver module 304b is configured to receive ultrasonic signals through the microphone of the speaker box and to play ultrasonic signals through the speaker of the speaker box.

[0110] The reconnection management module 305a is used to trigger the restoration of the communication connection between the large-screen device and the speaker when the large-screen device is turned on after the communication connection between the large-screen device and the speaker is disconnected.

[0111] The reconnection management module 305b is used to restore the communication connection between the speaker and the large-screen device when the large-screen device is turned on after the communication connection between the speaker and the large-screen device is disconnected.

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

[0113] The communication management module 306b is used to manage the communication connections of the speaker, such as managing wireless communication connections such as Wi-Fi, UWB, NFC, and Bluetooth.

[0114] For example, taking a large-screen device and a speaker including an Android system with a layered architecture as an example, the operating system of the large-screen device and the speaker can include an application layer, an application framework layer, a system library, an Android runtime, and a kernel layer. For example, the above-mentioned network management module 301a, device discovery module 302a, ultrasonic processing module 303a, ultrasonic transceiver module 304a, back-connection management module 305a, and communication management module 306a can be located in the application framework layer of the operating system of the large-screen device. The network management module 301b, device discovery module 302b, ultrasonic processing module 303b, ultrasonic transceiver module 304b, back-connection management module 305b, and communication management module 306b can be located in the application framework layer of the operating system of the speaker. Among them, the application framework layer can provide an application programming interface (API) and a programming framework for the applications of the application layer. For a detailed introduction to the operating system and each layer (such as the application layer, application framework layer, system library, Android runtime, and kernel layer of the Android system, etc.), reference can be made to the explanations and descriptions in conventional technology, and the embodiments of this application will not be repeated.

[0115] It can be understood that the software modules included in the first device and the second device shown in Figure 3 are only one possible division method. They may also include more or fewer modules, or have other division methods. This application does not limit this.

[0116] The technical solutions involved in the following embodiments can all be implemented in a device having the structure shown in FIG. 2 and / or FIG. 3 .

[0117] It is understood that in the embodiments of the present application, the first device 100 or the second device 200 can perform some or all of the steps in the embodiments of the present application. These steps or operations are merely examples, and the embodiments of the present application can also perform other operations or variations of various operations. In addition, the various steps can be performed in a different order than those presented in the embodiments of the present application, and it is possible that not all operations in the embodiments of the present application need to be performed.

[0118] The following describes the method provided in the embodiment of the present application using the example of the first device 100 being a large-screen device and the second device 200 being a speaker. The method provided in the embodiment of the present application is also applicable to the scenario where the first device 100 is other devices, such as a speaker, and the second device 200 is a speaker. The main speaker (e.g., a center speaker) can perform the functions corresponding to the large-screen device in the following embodiments.

[0119] The method for building a home theater provided by the embodiment of the present application will be described in detail below with reference to Figures 4 to 14.

[0120] For example, Figure 4 is a flowchart illustrating a method for setting up a home theater provided in an embodiment of the present application. Figure 4 depicts a scenario in which a large-screen device detects speakers located in the same room as the large-screen device. The number of speakers can be one or more, and the same room can refer to the same space, the same room, or the same waiting hall. A room can refer to a living room, bedroom, study, or waiting hall, for example. This embodiment of the present application uses the same room as an example. As shown in Figure 4, the method includes the following steps.

[0121] S401, the large-screen device monitors the broadcast message.

[0122] Optionally, the broadcast message may be sent by the speaker using wireless communication technology (or short-range communication technology), such as WLAN, Wi-Fi P2P, UWB, or Bluetooth. Correspondingly, the large screen monitoring the broadcast message from the speaker may include: the large screen device may monitor WLAN (such as Wi-Fi) broadcasts, perform WLAN scanning, monitor UWB broadcasts, or perform Bluetooth scanning.

[0123] For example, the large-screen device can continuously (eg, periodically) monitor broadcast messages, thereby ensuring that the first broadcast message sent by the speaker described in S402 below is monitored.

[0124] As an implementation method, the device discovery module 302a and the communication management module 306a of the large-screen device can support the large-screen device to monitor broadcast messages from the speaker.

[0125] S402: The speaker sends a first broadcast message.

[0126] Exemplarily, the first broadcast message may be used by a large-screen device to discover a speaker.

[0127] Optionally, the first broadcast message includes capability information of the speaker (also referred to as first capability information), where the capability information indicates the channels supported by the speaker. For example, the capability information of the speaker includes, but is not limited to, one or more of the following: support for being a left speaker, support for being a right speaker, support for being a center speaker, support for being a left surround speaker, support for being a right surround speaker, and support for being a subwoofer.

[0128] For example, if the speaker capability information includes: supporting as a left speaker and a right speaker, and supporting as a left surround speaker and a right surround speaker, it may implicitly indicate that the speaker does not support as a center speaker and does not support as a subwoofer, which is not elaborated in this application.

[0129] Optionally, the first broadcast message may further include an identifier of the speaker. For example, the identifier of the speaker may be a product serial number (SN), etc. The large-screen device receives the identifier and capability information of the speaker and may obtain capability information corresponding to the speaker.

[0130] Optionally, the first broadcast message may be a Wi-Fi broadcast message, a beacon frame, a UWB broadcast message, or a Bluetooth (such as BLE) broadcast message, etc. The speaker may use wireless communication technologies such as WLAN, Wi-Fi P2P, UWB, or Bluetooth to send the first broadcast message.

[0131] For example, the number of speakers may be one or more, and the capability information of different speakers may be different. When there are multiple speakers, all of the speakers may execute S402 to send a first broadcast message to the large-screen device. The large-screen device may receive the first broadcast messages from the multiple speakers. In this way, the large-screen device may discover the speakers around the large-screen device by monitoring the broadcast messages from the speakers.

[0132] As an implementation manner, the speaker may send the first broadcast message through the device discovery module 302b and the communication management module 306b.

[0133] S403: The large-screen device starts detecting whether the speakers discovered by the large-screen device are in the same room as the large-screen device according to the first broadcast message.

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

[0135] Optionally, the large-screen device can listen for broadcast messages for a period of time, and upon receiving the first broadcast message, start detecting whether the speakers discovered by the large-screen device are in the same room as the large-screen device. In this way, the large-screen device can only start detecting whether the speakers discovered by the large-screen device are in the same room after receiving broadcast messages from all surrounding speakers. This can prevent the detection of whether the speakers discovered by the large-screen device are in the same room as the large-screen device after receiving the first broadcast message from a single speaker, thereby improving the accuracy of setting up a home theater.

[0136] In some embodiments, the large-screen device displays a first assembly decision interface based on the first broadcast message, and starts detecting whether the speakers discovered by the large-screen device are in the same room as the large-screen device based on the user's operation of confirming the assembly of a home theater performed on the first assembly decision interface.

[0137] 5 , after receiving the first broadcast message from speakers 1 to 4, the large-screen device displays a first setup decision interface 501. After detecting that the user has clicked the "Yes" control 51, the large-screen device initiates a check to see if the speakers detected by the large-screen device are in the same room as the large-screen device. After detecting that the user has clicked the "No" control 52, the large-screen device skips the step of determining if the speakers detected by the large-screen device are in the same room as the large-screen device, and the home theater setup process ends.

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

[0139] Exemplarily, the ultrasonic signal includes an ultrasonic identifier. For example, the ultrasonic identifier can be a random code or an ultrasonic pattern. In other words, the ultrasonic signal can be identified by the random code or the ultrasonic pattern.

[0140] Optionally, the large-screen device may periodically send ultrasonic signals.

[0141] For example, in combination with FIG2 , taking the first device 100 as a large-screen device as an example, the speaker 260A of the large-screen device broadcasts an ultrasonic signal.

[0142] As an implementation method, in combination with Figures 2 and 3, the large-screen device can control the speaker 260A to broadcast ultrasonic signals through the ultrasonic transceiver module 304a.

[0143] S405: The large-screen device sends a second broadcast message.

[0144] Exemplarily, the second broadcast message includes an ultrasonic identifier, and the second broadcast message may also be referred to as the first message.

[0145] 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 use wireless communication technologies such as WLAN, Wi-Fi P2P, UWB, or Bluetooth to send the second broadcast message.

[0146] Optionally, the large-screen device may periodically send the second broadcast message.

[0147] For example, in conjunction with FIG2 , the wireless communication module 250 of the large-screen device broadcasts a second broadcast message.

[0148] As an implementation method, in conjunction with FIG3 , the large-screen device may broadcast the second broadcast message through the communication management module 306a.

[0149] It should be noted that this application does not limit the order of S404 and S405.

[0150] S406: The speaker sends a third broadcast message according to the ultrasonic signal and the second broadcast message.

[0151] Exemplarily, the third broadcast message (also referred to as the second message) includes an ultrasonic identifier, and may also include, but is not limited to, one or more of the following: an identifier of a speaker, first signal strength indication information, and second signal strength indication information.

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

[0153] 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 may be a received signal strength indicator (RSSI) of the ultrasonic signal.

[0154] 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 may be the RSSI of the second broadcast message.

[0155] 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 speaker can use wireless communication technologies such as WLAN, Wi-Fi P2P, UWB, or Bluetooth to send the third broadcast message.

[0156] In some embodiments, the speaker analyzes the ultrasonic signal and the second broadcast message to obtain the ultrasonic identifier. The speaker receives the ultrasonic signal, measures the signal strength of the ultrasonic signal, and obtains the first signal strength indication information. The speaker receives the second broadcast message, measures the signal strength of the second broadcast message, and obtains the second signal strength indication information.

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

[0158] In some embodiments, if the speaker receives the ultrasonic signal and the second broadcast message, the third broadcast message is sent; otherwise, the third broadcast message is not sent.

[0159] For example, if the speaker receives the second broadcast message but does not receive the ultrasonic signal, the third broadcast message is not broadcast. This can improve the accuracy of the large-screen device in determining the speaker in the same room as the large-screen device.

[0160] For example, ultrasound (ultrasonic signals) cannot penetrate obstacles, so the speakers in the neighbor's home (user B's home) cannot receive the ultrasonic signal sent by the large-screen device (user A's home). The second broadcast message (such as a Bluetooth signal, UWB signal, Wi-Fi signal, or beacon frame, etc.) can penetrate obstacles, so the neighbor's speakers can receive the second broadcast message broadcast by the large-screen device. If a speaker receives the second broadcast message but does not receive the ultrasonic signal, it means that the speaker is not in the same room as the large-screen device and may be a neighbor's speaker. In this case, the third broadcast message will not be broadcast.

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

[0162] As shown in Figure 6, the large-screen device in User A's home broadcasts an ultrasonic signal and a second broadcast message. Speaker 1 in User A's home receives the ultrasonic signal and the second broadcast message and then broadcasts a third broadcast message. Because ultrasonic signals cannot penetrate walls, Speaker 2 in User B's home only receives the second broadcast message, not the ultrasonic signal, and therefore does not send the third broadcast message. This eliminates the possibility of speakers in rooms other than the large-screen device.

[0163] In some embodiments, if the speaker 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.

[0164] Exemplarily, if the ultrasonic identifier in the ultrasonic signal is consistent with (or matches) the ultrasonic identifier in the second broadcast message, this indicates that the ultrasonic identifier in the ultrasonic signal is identical to the ultrasonic identifier in the second broadcast message or identifies the same ultrasonic signal. For example, if the ultrasonic identifier in the ultrasonic signal is a random code and the ultrasonic identifier in the second broadcast message is an ultrasonic model, the third broadcast message is sent if the random code and the ultrasonic model identify the same ultrasonic signal; otherwise, the third broadcast message is not sent.

[0165] For example, assuming that the speaker receives an ultrasonic signal and a broadcast message, if the ultrasonic signal and / or the broadcast message does not include an ultrasonic identifier, 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.

[0166] 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 received by the speaker and the second broadcast message are sent by the same device, eliminating the scenario where the large-screen device fails to detect the speaker in the same room as the large-screen device, avoiding the speaker from mistakenly feeding back the third broadcast message, and further improving the accuracy of the large-screen device in detecting the speaker in the same room as the large-screen device.

[0167] Exemplarily, the number of speakers can be one or more. When the number of speakers is multiple, multiple speakers can execute S406 and send a third broadcast message based on the ultrasonic signal and the second broadcast message. The large-screen device can receive the third broadcast message from multiple speakers.

[0168] The method shown in FIG4 takes the case where no communication connection is established between the large-screen device and the speakers as an example. The large-screen device and the speakers exchange information through ultrasonic signals and broadcast messages without establishing a communication connection, which can save time in establishing a communication connection and thus improve the efficiency of setting up a home theater.

[0169] Of course, before S401, a communication connection may have already been established between the large-screen device and the speaker. Corresponding to S402, the speaker transmits its capability information and its identification to the large-screen device via the communication connection. Corresponding to S405, the large-screen device transmits a message including the ultrasonic identification to the speaker via the communication connection. Corresponding to S406, the speaker transmits a message to the large-screen device via the communication connection. Information included in the message can be found in the third broadcast message.

[0170] S407: The large-screen device determines information of speakers in the same room according to at least one third broadcast message.

[0171] Exemplarily, the same-room speaker information is used to indicate the speakers in the same room as the large-screen device.

[0172] Exemplarily, the large-screen device determines whether the corresponding speaker and the large-screen device are in the same room based on the third broadcast message. If the speaker and the large-screen device are in the same room, the speaker is included in the speakers indicated by the speaker information in the same room.

[0173] In some embodiments, if the first condition is met, the large-screen device determines that the speaker and the large-screen device are in the same room; otherwise, it determines that the speaker and the large-screen device are not in the same room.

[0174] For example, the first condition includes: the large-screen device receives the third broadcast message from the speaker. In other words, if the large-screen device receives the third broadcast message, it is considered that the speaker corresponding to the third broadcast message is in the same room as the large-screen device.

[0175] For example, the large-screen device discovers some speakers, such as speaker a and speaker b, based on the first broadcast message (see S402). If the large-screen device receives the third broadcast message of speaker a but does not receive the third broadcast message of speaker b, it is confirmed that speaker a and the large-screen device are in the same room, and speaker b and the large-screen device are in different rooms.

[0176] Optionally, the first condition may further include: the ultrasonic identifier included in the third broadcast message is consistent with (or matches) 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 may further include: the ultrasonic identifier included in the third broadcast message is consistent with (or matches) 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.

[0177] That is to say, the large-screen device can also determine whether the speaker and the large-screen device are in the same room through the ultrasonic identifier included in the third broadcast message and / or the distance between the large-screen device and the speaker.

[0178] Exemplarily, the ultrasonic identifier included in the third broadcast message is consistent with (or matches) 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.

[0179] For example, if 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, then the speaker and the large-screen device are considered to be in different rooms (for example, the third broadcast message may be an interference broadcast). If they are consistent, then the speaker and the large-screen device are considered to be in the same room.

[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 it sends is greater than or equal to a first threshold. If so, it is considered that the speaker and the large-screen device are in the same room; otherwise, it is considered that the speaker 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 it sends is greater than or equal to a second threshold. If so, it is considered that the speaker and the large-screen device are in the same room; otherwise, it is considered that the speaker and the large-screen device are in different rooms.

[0181] Optionally, the first threshold and the second threshold may be pre-set or configurable. For example, the user may configure the first threshold and the second threshold in the interface of the large-screen device based on the size of the room, or the large-screen device may determine the first threshold and the second threshold based on the room size input by the user. The correspondence between different room sizes and the first threshold and the second threshold may be pre-configured in the large-screen device or in the server (which the large-screen device obtains from the server). The values ​​of the first threshold and the second threshold may be the same or different.

[0182] For example, the third broadcast message includes the first signal strength indication information. The large-screen device determines whether the distance corresponding to the signal strength of the ultrasonic signal it sends is less than or equal to the third threshold based on the first signal strength indication information and the first correspondence. If so, it is considered that the speaker and the large-screen device are in the same room; otherwise, it is considered that the speaker and the large-screen device are in different rooms.

[0183] Similarly, the third broadcast message includes second signal strength indication information. The large-screen device determines whether the distance corresponding to the signal strength of the second broadcast message is less than or equal to the fourth threshold based on the second signal strength indication information and the first correspondence. If so, it is considered that the speaker and the large-screen device are in the same room; otherwise, it is considered that the speaker and the large-screen device are in different rooms.

[0184] Optionally, the first correspondence may include: a correspondence between ultrasonic signal strength and distance, and / or a correspondence between the signal strength and distance of the second broadcast message. Assuming that the second broadcast message is a Bluetooth broadcast message, the correspondence between the signal strength and distance of the second broadcast message may be: a correspondence between the signal strength and distance of the Bluetooth broadcast message, which is not detailed here.

[0185] In some embodiments, the large-screen device obtains the distance corresponding to the signal strength of the ultrasonic signal it sends, that is, the distance between the large-screen device and the speaker, from the correspondence between the ultrasonic signal strength and the distance based on the first signal strength indication information, and then determines the relationship between the distance and the third threshold.

[0186] Similarly, the large-screen device obtains the distance corresponding to the signal strength of the second broadcast message it sends, that is, the distance between the large-screen device and the speaker, from the correspondence between the signal strength and distance of the second broadcast message based on the second signal strength indication information, and then determines the relationship between the distance and the fourth threshold.

[0187] Exemplarily, the first corresponding relationship may be pre-configured in the large-screen device or the server (the large-screen device obtains it from the server).

[0188] For example, before the large-screen device leaves the factory, the first correspondence is measured and saved in the large-screen device. For example, taking an ultrasonic signal as an example, after measuring the signal strength y (a plurality of different distances can be selected for measurement) of the ultrasonic signal sent by the large-screen device at a distance of x meters (or centimeters, etc.) from the speaker, the correspondence between the signal strength y and the distance x is saved in the large-screen device.

[0189] Optionally, the large-screen device may store first correspondences corresponding to N speakers, where N is an integer greater than or equal to 1. Due to speaker hardware issues (e.g., different speakers may have different antennas), when the large-screen device sends a signal at the same distance, different speakers (e.g., different models of speakers) may receive different signal strengths, and thus the first correspondences for different speakers may be different. The large-screen device may obtain the first correspondence corresponding to the speaker based on the speaker's identifier.

[0190] For example, similar to the first and second thresholds, the third and fourth thresholds can be pre-set or configurable. For example, the user can configure the third and fourth thresholds in the large-screen device interface based on the room size, or the large-screen device can determine the third and fourth thresholds based on the room size input by the user. The correspondence between different room sizes and the third and fourth thresholds can be pre-configured in the large-screen device or in the server (the large-screen device obtains the values ​​from the server). The values ​​of the third and fourth thresholds can be the same or different.

[0191] S408: The large-screen device determines whether the large-screen device and the speakers in the same room as the large-screen device can form a home theater based on the speaker capability information and the information of the speakers in the same room.

[0192] Optionally, the capability information of the speaker may be received by the large-screen device through the first broadcast message, or may be received through the third broadcast message (the above-mentioned third broadcast message may also include the capability information of the speaker), or may be received through other messages. For example, the speaker sends the capability information of the speaker to the large-screen device through a separate broadcast message, so that the large-screen device receives the capability information of the speaker before S408.

[0193] For example, the large-screen device can determine whether the large-screen device and the speakers in the same room as the large-screen device can form a home theater by determining whether (at least one) speaker in the same room as the large-screen device meets the conditions for forming a home theater (also referred to as the second condition). If so, it is determined that the large-screen device and the speakers 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 speakers in the same room as the large-screen device cannot form a home theater.

[0194] Optionally, the conditions for establishing a home theater include, but are not limited to, one or more of the following: the speakers indicated by the speaker information in the same room include both a left speaker and a right speaker, the speakers indicated by the speaker information in the same room include both a left surround speaker and a right surround speaker, the speakers indicated by the speaker information in the same room include a center speaker, or the speakers indicated by the speaker information in the same room include a subwoofer. If the large-screen device determines that the speakers in the same room as the large-screen device meet at least one of the conditions for establishing a home theater, then the large-screen device and the speakers in the same room as the large-screen device are capable of establishing a home theater.

[0195] It should be noted that this application does not limit the conditions for building a home theater. The conditions for building a home theater can be adjusted according to the type of speakers, and can also include building conditions corresponding to future speaker types.

[0196] For example, if the speakers in the same room as the large-screen device only include one of the left speaker, right speaker, left surround speaker, or right surround speaker, the conditions for setting up a home theater are not met. If the speakers in the same room as the large-screen device include both the left speaker and the right speaker, the conditions for setting up a home theater are met. If the speakers in the same room as the large-screen device include both the left surround speaker and the right surround speaker, the conditions for setting up a home theater are met. If the speakers in the same room as the large-screen device include a center speaker, the conditions for setting up a home theater are met. If the speakers in the same room as the large-screen device include a subwoofer, the conditions for setting up a home theater are met.

[0197] For example, assuming that the speakers indicated by the speaker information in the same room include speaker a and speaker b, if speaker a can be used as a left speaker and a left surround speaker, and speaker b can be used as a right surround speaker, then the conditions for setting up a home theater are met (speaker a is used as a left surround speaker). Alternatively, if speaker a can be used as a left speaker and a left surround speaker, and speaker b can be used as a left surround speaker, then the conditions for setting up a home theater are not met. Alternatively, if speaker a can be used as a left speaker and a left surround speaker, and speaker b can be used as a center speaker, then the conditions for setting up a home theater are met (speaker a can be omitted when setting up a home theater, and speaker b can be used with a large-screen device to set up a home theater). Alternatively, if speaker a can be used as a subwoofer speaker, and speaker b can be used as a subwoofer speaker, then the conditions for setting up a home theater are met (one of speaker a and speaker b can be used when setting up a home theater). Alternatively, if speaker a can be used as a center speaker and speaker b can be used as a center speaker, the conditions for building a home theater are met (one of speaker a and speaker b can be used when building a home theater). This application does not list them one by one.

[0198] 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 form a home theater, the large-screen device performs S409 below to form the home theater. Otherwise, the large-screen device continues to monitor the broadcast message from the speakers, and the specific implementation can refer to S401 above, or the home theater formation is terminated.

[0199] In 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 form a home theater, the large-screen device displays a second formation decision interface. Otherwise, the large-screen device continues to monitor the broadcast message from the speakers, or ends the home theater formation.

[0200] For example, with reference to FIG7A , if the large-screen device determines that speakers 1 to 4 can be combined with the large-screen device to form a home theater, a second formation decision interface 701 as shown in FIG7A is displayed. The user can decide whether to continue to form the home theater by selecting (e.g., selecting through a remote control device, or clicking (the display screen of the large-screen device is a touch screen) a yes control 71 or a no control 72 in the second formation decision interface 701.

[0201] Optionally, the large-screen device can also display a list of speakers that can be used to build a home theater.

[0202] In conjunction with Figure 7A, the second building decision interface 701 displayed by the large-screen device includes a speaker list control 73. After the large-screen device detects that the user selects the speaker list control 73, it displays an interface 702 as shown in Figure 7B. The user can view the list of speakers that can be used to build a home theater (referred to as the speaker list) detected by the large-screen device through interface 702, and the user can decide whether to build a home theater based on the speaker list.

[0203] FIG. 7A and FIG. 7B are merely examples and should not constitute any limitation to the embodiments of the present application.

[0204] S409, large screen equipment and speakers complete the home theater.

[0205] 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 form a home theater, then the home theater is started to be formed.

[0206] In other embodiments, after the large-screen device determines that the large-screen device and the speakers in the same room as the large-screen device can form a home theater, the home theater is formed with the speakers based on the user's confirmation of the home theater formation operation. With reference to FIG7A , the large-screen device begins forming the home theater after detecting that the user selects the yes control 71 on the second formation decision interface 701. If the large-screen device detects that the user selects the no control 72 on the second formation decision interface 701, the home theater formation ends.

[0207] Based on the method shown in Figure 4, compared to the prior art where users bind large-screen devices to speakers through an application to ensure that the speakers used to build a home theater are the speakers in their own home, which is time-consuming and cumbersome, in this application, the large-screen device automatically completes the detection of speakers in the same room based on ultrasonic technology and short-range communication technology, which can simplify the number of manual operations for users and thus improve the user experience. In addition, in this application, the large-screen device determines whether a home theater can be built in the same room. Compared with the existing solution where users need to check the instructions for building a home theater and the instructions for the speakers, the difficulty of building a home theater is greatly reduced, and the user experience is better.

[0208] For example, Figure 8 is a flowchart illustrating another method for establishing a home theater system according to an embodiment of the present application. Figure 8 illustrates establishing a temporary Wi-Fi P2P connection between a large-screen device and a speaker. The methods shown in Figure 4 and Figure 8 can be used separately or in combination.

[0209] When the method shown in FIG4 is used in combination with the method shown in FIG8, when executing the corresponding function in the method shown in FIG4, 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), a temporary Wi-Fi P2P connection is established with the speaker through the method shown in FIG8. The speaker in FIG8 can be the speaker in the same room as the large-screen device determined by the large-screen device in S407 above. 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 in the conventional technology, and the embodiments of this application will not be repeated.

[0210] As shown in FIG8 , the method includes the following steps.

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

[0212] 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.

[0213] 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.

[0214] 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 P2P GCs.

[0215] For example, the P2P GO, as the manager of inter-device communication, can serve as an access point (AP) for the P2P GC to access and can also determine the channel used for inter-device communication (e.g., the channel currently used by the P2P GO). The P2P GC, as the managed device of inter-device communication, treats the P2P GO as an access point (AP) and connects to the device serving as the P2P GO. After the connection is successful, the devices can communicate directly. Optionally, after the P2P GO determines the channel for inter-device communication, it sends the channel information to the P2P GC, and the P2P GC and the P2P GO can use the channel to communicate. If the P2P GO has not determined the channel for inter-device communication, the P2P GC can perform a full channel scan on the working frequency band supported by the P2P GC to determine the channel for communication between the P2P GC and the P2P GO.

[0216] In some embodiments, the large-screen device and at least one speaker negotiate with each other to determine that the large-screen device serves as the P2P GO and the speaker serves as the P2P GC. Alternatively, P2P GO negotiation may not be performed and the large-screen device may be directly used as the P2P GO.

[0217] In some embodiments, if the large-screen device determines that the large-screen device and speakers in the same room as the large-screen device can form a home theater, unencrypted P2PGO is initiated. Alternatively, after the large-screen device determines that the large-screen device and speakers in the same room as the large-screen device can form a home theater, unencrypted P2PGO is initiated based on the user's confirmation of forming a home theater.

[0218] For example, when the method shown in FIG4 is used in combination with the method shown in FIG8, after the large-screen device determines that the conditions for setting up a home theater are met, or after the large-screen device determines that the conditions for setting up a home theater are met and the user confirms the setting, unencrypted P2PGO is started.

[0219] S802: The large-screen device broadcasts a first connection message.

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

[0221] Exemplarily, the first connection message includes a GO name and may also include channel indication information, wherein the GO name is the name of the access point, and the channel indication information is used to indicate a channel for communication, for example, including a channel identifier.

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

[0223] S803: The speaker sends a first request message according to the first connection message.

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

[0225] Exemplarily, after the speaker receives the first connection message, the speaker sends a first request message to the large-screen device that has P2PGO enabled (or has a P2P GO role) according to the GO name.

[0226] Optionally, the speaker sends a first request message to the large-screen device that enables P2PGO on the channel indicated by the channel indication information.

[0227] For example, the first request message may be broadcast by the speaker using a wireless communication technology such as WLAN, Wi-Fi P2P, UWB, or Bluetooth.

[0228] S804: An unencrypted Wi-Fi P2P connection is established between the large-screen device and the speaker.

[0229] Exemplarily, after receiving the first request message, the large-screen device establishes an unencrypted Wi-Fi P2P connection with the speaker according to the first request message; otherwise, no unencrypted Wi-Fi P2P connection is established.

[0230] Optionally, the large-screen device establishes an unencrypted Wi-Fi P2P connection with the speaker based on the first request message and information about the speaker in the same room.

[0231] Exemplarily, the same-room speaker information is used to indicate the speakers in the same room as the large-screen device. If the speaker sending the first request message belongs to any of the speakers indicated by the same-room speaker information, the large-screen device establishes a Wi-Fi P2P connection with the speaker. Otherwise, an unencrypted Wi-Fi P2P connection is not established.

[0232] There is at least one speaker in the same room as the large-screen device. When there are multiple speakers in the same room as the large-screen device, each of the multiple speakers can send a 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 the multiple speakers.

[0233] S805, security authentication for large-screen devices and speakers.

[0234] In one example, the large-screen device and the speaker are connected via an unencrypted Wi-Fi P2P connection for security authentication to improve security.

[0235] 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.

[0236] 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.

[0237] Exemplarily, Figure 9 is a flow chart of another method for building a home theater provided by an embodiment of the present application. Figure 9 illustrates how the large-screen device recommends the placement of speakers to the user and allocates channels to the speakers. The method shown in Figure 4, the method shown in Figure 8, and / or the method shown in Figure 9 can be used separately or in combination. When used in combination, the large-screen device executes the method shown in Figure 9 after determining that a home theater can be built (S408) (or after establishing a short-range communication connection with the speakers (Figure 8)). The speakers in the method shown in Figure 9 can be speakers determined by the large-screen device to be in the same room as the large-screen device.

[0238] As shown in FIG9 , the method includes the following steps.

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

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

[0241] 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.

[0242] 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.

[0243] 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.

[0244] As shown in (a) of Figure 10A, 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.

[0245] As shown in (b) of Figure 10A, taking the frequency division method 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 speakers obtain the first and second ultrasonic signals through filtering.

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

[0247] FIG10B(a) shows the waveform of the FMCW signal, and FIG10B(b) shows the frequency spectrum of the FMCW signal.

[0248] Combined with Figure 10B (a), from the time domain, the signal period of the FMCW waveform changes over time. Combined with Figure 10B (b), from the frequency domain, the frequency of the FMCW waveform changes linearly with time. Because the frequency of the FMCW waveform changes continuously over time, it is easy to determine the direct signal based on the starting frequency, reducing the impact of the reflected path on the measurement. Therefore, FMCW signals are suitable for use in enclosed indoor environments and complex multipath environments, which can improve measurement accuracy.

[0249] 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.

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

[0251] 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.

[0252] For example, the angle between the large-screen device and the speaker may refer to the angle of the speaker relative to the large-screen device, such as the angle between the connecting line between the speaker and the large-screen device and the reference line, where the reference line may be the y-axis shown in FIG10C below.

[0253] 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.

[0254] 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.).

[0255] 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.

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

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

[0258] 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.

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

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

[0261] 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.

[0262] 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.

[0263] As shown in Figure 10C, 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.

[0264] Combined with (a) in Figure 10A and Figure 10C, if the first ultrasonic signal and the second ultrasonic signal are sent in a time-division manner, the arrival time difference is t2-t1-Δt, and the speaker calculates the angle α of the speaker relative to the large screen based on the arrival time difference t2-t1-Δt.

[0265] Combined with (b) in Figure 10A and Figure 10C, if the first ultrasonic signal and the second ultrasonic signal are sent using frequency division, the speaker obtains the first ultrasonic signal and the second ultrasonic signal through filtering, and records the time t1 when the first ultrasonic signal is received and the time t2 when the second ultrasonic signal is received. The arrival time difference is t2-t1, and the speaker calculates the angle α of the speaker relative to the large screen based on the arrival time difference t2-t1.

[0266] Alternatively, the speaker can determine the angle between the speaker and the large-screen device based on the arrival time difference, the transmission rate of the ultrasonic signal in the medium, and the distance between the two speakers. The transmission rate of the ultrasonic signal in the medium is generally selected to be the speed of light.

[0267] For example, the way in which the speaker obtains the angle between the speaker and the large-screen device is not limited to this, and it is sufficient to use ultrasonic technology to determine the angle between the speaker and the large-screen device.

[0268] As an implementation method, the speaker can determine the angle between the speaker and the large-screen device through the ultrasonic processing module 303b.

[0269] Alternatively, the angle between the speaker (the speaker sends the arrival time difference to the large-screen device) and the large-screen device may be determined by the arrival time difference of the large-screen device.

[0270] In some embodiments, the angle between the speakers can be determined by sending ultrasonic signals between the speakers. The specific implementation is similar to the above-mentioned determination of the angle between the speakers and the large-screen device, and will not be repeated in this application. Optionally, after the speakers obtain the angle between the speakers, they can send the obtained angle to the large-screen device so that the large-screen device can recommend a placement position.

[0271] It should be noted that this application does not limit the method of determining the angle between the speaker and the large-screen device (or determining the angle between the speakers). Ultrasonic technology can be used to determine the angle between the speaker and the large-screen device. UWB technology, millimeter wave technology, Wi-Fi positioning technology, and Bluetooth positioning technology can also be used to measure the angle between the speaker and the large-screen device. Details will not be given.

[0272] S907: The speaker sends the first measurement result to the large-screen device.

[0273] Exemplarily, the first measurement result includes the angle between the speaker and the large-screen device.

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

[0275] Alternatively, illustratively, the first measurement result includes an arrival time difference between the first ultrasonic signal and the second ultrasonic signal, or the first measurement result includes an arrival time of the first ultrasonic signal and an arrival time of the second ultrasonic signal.

[0276] For example, the angle between the speaker and the large-screen device is determined by the large-screen device, and the speaker sends information for measuring the angle between the speaker and the large-screen device (the arrival time difference between the first ultrasonic signal and the second ultrasonic signal, or the arrival time of the first ultrasonic signal and the arrival time of the second ultrasonic signal) to the large-screen device, and the large-screen device measures the angle between the speaker and the large-screen device. The specific implementation method can be referred to the above S906 and will not be repeated here.

[0277] As an implementation method, the large-screen device can determine the angle between the speaker and the large-screen device through the ultrasonic processing module 303a.

[0278] Optionally, all speakers in the same room as the large-screen device send the first measurement result to the large-screen device (execute S904-S907). After the large-screen device obtains the first measurement results corresponding to all speakers, it stops periodically broadcasting the first ultrasonic signal and the second ultrasonic signal.

[0279] Exemplarily, the speaker sends the first measurement result to the large-screen device via a short-range communication connection.

[0280] S908: The large-screen device sends second measurement instruction information to the speaker.

[0281] Exemplarily, the second measurement indication information is used to instruct the speaker to measure the distance between the large-screen device and the speaker.

[0282] Optionally, the large-screen device sends a second measurement instruction message to each of the speakers 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 distance between the large-screen device and the speaker, or to start a distance measurement process. After receiving the ultrasonic signal, the speaker starts the distance measurement process.

[0283] Exemplarily, the large-screen device sends the second measurement indication information to the speaker via a short-range communication connection.

[0284] It should be noted that this application does not limit the order of measuring the angle between the speaker and the large-screen device and measuring the distance between the speaker and the large-screen device. The distance measurement can be performed before or after the above-mentioned angle measurement.

[0285] S909: The large-screen device obtains the distance between the large-screen device and the speaker by interacting with the speaker.

[0286] Exemplarily, the distance L between the large-screen device and the speaker can be obtained as follows: the large-screen device can use a two-way ranging method to measure the distance L between the large-screen device and the speaker. The two-way ranging method includes single-sided two-way ranging (SS-TWR) and double-sided two-way ranging (DS-TWR). Compared with the SS-TWR method, the DS-TWR method increases the response time but reduces the ranging error.

[0287] The following describes how to obtain the distance between the large-screen device and the speaker using SS-TWR as an example in conjunction with Figure 11.

[0288] As shown in FIG11 , the large-screen device sends a third ultrasonic signal and records the time T at which the third ultrasonic signal is sent. s1 , the speaker receives the third ultrasonic signal and records the time when the third ultrasonic signal reaches the speaker T r1 After receiving the third ultrasonic signal, the speaker sends a fourth ultrasonic signal and records the time when the fourth ultrasonic signal is sent. s2 , the large-screen device receives the fourth ultrasonic signal and records the time when the fourth ultrasonic signal arrives at the large-screen device T r2 .

[0289] Therefore, the transmission time t of the ultrasonic signal between the two devices can be calculated using the following formula (1), and the distance L between the large-screen device and the speaker can be calculated using formula (2). L=c×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 between the clock of the speaker and the clock of the large screen device (hereinafter referred to as the clock error). Combined with Figure 11, assuming that the clock error is N, the clock of the speaker is N faster than the clock of the large screen device, 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] Exemplarily, in conjunction with 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 an ultrasonic signal (such as a third ultrasonic signal), and then continuously monitors the microphone 260C to receive an ultrasonic signal (such as a 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 ultrasonic signals (such as the third ultrasonic signal and the fifth ultrasonic signal), and controls the speaker 260A to play an 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 method, the processor 210 is required to control the speaker 260A to play the ultrasonic signal with a smaller delay so that the speaker 260A receives the information instructing it to play the ultrasonic signal as soon as possible, so that the count value of the timer is more accurate and the ranging accuracy is higher.

[0298] As another example, in conjunction 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, controls the speaker 260A to play the ultrasonic signal, and then continuously monitors the microphone 260C for receiving the ultrasonic signal. Similarly, the processor 210 of the speaker starts recording according to the second measurement indication information, continuously monitors the microphone 260C for receiving the ultrasonic signal, and controls the speaker 260A to play the ultrasonic signal. Among them, the recording information obtained by the large-screen device includes the ultrasonic signal sent by itself and the ultrasonic signal received. The large-screen device processes the recording information and can detect T ro1 and T re2 Similarly, the speaker processes the recorded information it obtains and can detect T re1 and T ro1 .

[0299] For example, a large screen device can ro1 and T re2 Send it to the speaker, and the speaker will respond according to T ro1 、T re2 、T re1 and T ro1 Get the distance between the large screen device and the speaker. Alternatively, the speaker can re1and T ro1 Send it to the large screen device, which will process it based on T ro1 、 T re2 、T re1 and T ro1 Get the distance between the large-screen device and the speaker.

[0300] The above S909 is performed between the speakers and the large-screen device in the same room as the large-screen device to measure the distance between each speaker and the large-screen device.

[0301] In some embodiments, the distance between the speakers can be determined based on a two-way distance measurement method. The specific implementation is similar to the above-mentioned determination of the distance between the speakers and the large-screen device, and will not be repeated in this application. Optionally, after the speakers obtain the distance between the speakers, they can send the obtained distance to the large-screen device so that the large-screen device can recommend a placement position.

[0302] It should be noted that this application does not limit the method used for distance measurement. Ultrasonic technology can be used for distance measurement, and UWB technology, millimeter wave technology, Wi-Fi positioning technology, and Bluetooth positioning technology can also be used to achieve distance measurement.

[0303] S910, large-screen devices display a placement recommendation interface based on the speaker's capability information and the first rule.

[0304] Exemplarily, the first rule (also referred to as a preset condition) includes the placement of speakers supporting different channels when building a home theater. For example, the first rule includes, but is not limited to, one or more of the following: the distance between the left speaker and the right speaker and the large screen device is between 0 meters and 2 meters, the angle between the left speaker and the right speaker and the large screen device is between -10 degrees and 15 degrees, the positions of the left speaker and the right speaker are substantially symmetrical with respect to the large screen device, the distance between the left surround speaker and the left speaker is between 2 meters and 7 meters, the distance between the right surround speaker and the right speaker is between 2 meters and 7 meters, the angle between the left surround speaker and the right surround speaker and the large screen device is between 8 degrees and 63 degrees, the distance between the left surround speaker and the right surround speaker is between 2 meters and 8 meters, the positions of the left surround speaker and the right surround speaker are substantially symmetrical with respect to the large screen device, the center speaker is placed 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 the server. The server maintains the first rule. When a new type of speaker is added, the designer can update the first rule in the server. After the large-screen device obtains the updated first rule, it determines the placement of the speaker according to the updated first rule.

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

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

[0308] As shown in (a) of FIG12A , 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. In combination with the first rule, the large-screen device displays a 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] As shown in (b) of Figure 12A, the large-screen device displays a 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 refers to the above description of (a) of Figure 12A. 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. Combined with the position information of speakers 1 to 4 and the first rule, a placement position 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 between speakers that require adjustment and speakers that do not. For example, as shown in (b) of Figure 12A, the placement of speaker 2 meets the first criterion and does not require adjustment, while 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 (a) in FIG. 12A and (b) in FIG. 12A are merely examples, and more or fewer elements may be displayed in the placement position recommendation interface. For example, the relevant images of angles of 8 degrees and 63 degrees may not be displayed in the placement position recommendation interface 1201b.

[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 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 steps S901-S909 again and, based on the speaker's location information, capability information, and the first rule, comprehensively determines whether the speaker's current position is appropriate. If so, it displays a placement recommendation interface 1202, indicating that the placement is successful, as shown in FIG12B . Optionally, the large-screen device displays speakers 1 through 4 in green. If not, the user may be prompted to adjust the speaker's placement again, displaying an interface similar to placement recommendation interface 1201a or placement recommendation interface 1201b.

[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 position recommendation interface can also be used by the user to confirm whether the speaker placement adjustment is complete. In conjunction with (a) in Figure 12A, after the user sees the placement position recommended by the large-screen device's placement position recommendation interface 1201a, they adjust the speaker's position. After completing the adjustment, they select the next control 121. After the large-screen device detects the user's selection of the next control 121 in the placement position recommendation interface, it again obtains the position information of speakers 1 to 4. Figure 12A (a) is merely an example. The placement position recommendation interface 1201b shown in Figure 12A (b) can also display the next control (not shown in Figure 12A (b)), which will not be described in detail here.

[0318] Alternatively, for example, the large-screen device may execute the above S901-S909 again after displaying the placement position recommendation interface for a period of time to obtain the position information of the speaker again.

[0319] For example, by default, a large-screen device displays the placement recommendation interface for a period of time (such as 40 seconds). The user has completed adjusting the placement of the speaker according to the placement recommendation interface. After a period of time (such as 40 seconds), the speaker position information is automatically detected again, which can reduce user operations and further improve user experience.

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

[0321] In this way, using large-screen devices to intelligently recommend speaker placement in a home theater can help users quickly and easily place speakers in their home theater, rather than relying on manual instructions to confirm placement and measure the speaker positions, or relying on professional on-site guidance. This eliminates the need for complex manual operations and simplifies user experience, thereby improving the user experience. Furthermore, accurate speaker placement allows for optimal sound field calibration, further enhancing the user experience.

[0322] S911: The large-screen device allocates channels to the speakers and determines the channel configuration information.

[0323] For example, the channel configuration information is used to indicate the channel type of the speaker, such as the channel type including 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 channel configuration information based on the placement of the speakers. For example, the large-screen device may assign channels to the speakers based on the speaker positions adjusted by the user in S910 (the large-screen device successfully determines the user placement). That is, the large-screen device first determines the speaker placement and then assigns channels to the speakers. S911 is executed after S910.

[0325] Optionally, the large-screen device can also determine channel configuration information based on the speaker's capability information. This can improve the accuracy of placement and channel assignment. In other words, the large-screen device can assign channels to the speakers based on the speaker's placement and capability information.

[0326] This application does not limit the order in which the large-screen device determines the position of the speakers and allocates channels to the speakers. It is sufficient to recommend the placement of the speakers to the user and allocate channels to the speakers.

[0327] In conjunction with Figure 12B, the large-screen device will assign the channel type of speaker 1 placed on the left side of the user and close to the large-screen device when the user is facing the large-screen device as the left channel, the channel type of speaker 2 placed on the right side of the user and close to the large-screen device when the user is facing the large-screen device as the right channel, the channel type of speaker 3 placed on the left side of the user and away from the large-screen device when the user is facing the large-screen device as the left surround, and the channel type of speaker 4 placed on the right side of the user and away from the large-screen device when the user is facing the large-screen device as the right surround.

[0328] In some embodiments, the large-screen device may periodically detect the position of the speakers. If the position of the speakers changes, it is determined whether the channels need to be readjusted and the roles (channels) of the speakers are reassigned.

[0329] S912: The large-screen device sends channel configuration information to the speaker.

[0330] Optionally, the large-screen device sends channel configuration information to the speakers via a short-range communication connection.

[0331] 12B , the large-screen device sends channel configuration information 1 to speaker 1. Channel configuration information 1 indicates that speaker 1's channel type is the left channel. The large-screen device sends channel configuration information 2 to speaker 2. Channel configuration information 2 indicates that speaker 2's channel type is the right channel. The large-screen device sends channel configuration information 3 to speaker 3. Channel configuration information 3 indicates that speaker 3's channel type is left surround. The large-screen device sends channel configuration information 4 to speaker 4. Channel configuration information 4 indicates that speaker 4's channel type is right surround. Speakers 1 to 4 receive channel configuration information 1 to 4, respectively.

[0332] S913: The speaker sends a channel configuration response to the large-screen device.

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

[0334] For example, the speaker receives the channel configuration information and configures the channel according to the channel configuration information. After the configuration is completed, the speaker sends a channel configuration response to the large-screen device.

[0335] Optionally, the speaker sends a channel configuration response to the large-screen device via a short-range communication connection.

[0336] In this way, allocating channels for speakers through large-screen devices can help users complete the channel configuration of speakers simply and quickly, without the need for users to perform manual operations, compared to users configuring channels for speakers through buttons or applications, or with on-site guidance from professionals. This improves the user experience.

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

[0338] S914, large-screen devices enable encrypted P2P GO.

[0339] For example, Encrypted GO means that other devices need a password to establish a Wi-Fi P2P connection with the large-screen device, thereby ensuring the security of the Wi-Fi P2P connection.

[0340] S915: The large-screen device sends a second connection message.

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

[0342] Exemplarily, the second connection message includes a GO name and verification information, and may also include channel indication information.

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

[0344] For example, the channel indication information is used to indicate a channel used for communication. For example, the channel indication information may include an identifier of the channel.

[0345] Optionally, the large-screen device sends a second connection message to the speaker via a short-range communication connection.

[0346] S916: The speaker sends a second request message to the large-screen device based on the second connection message.

[0347] Exemplarily, 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: verification information.

[0349] Exemplarily, after the speaker receives the second connection message, the speaker sends a second request message to the large-screen device that has P2P GO enabled according to the GO name.

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

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

[0352] S917: The large-screen device establishes an encrypted Wi-Fi P2P connection with the speaker according to the second request message.

[0353] Exemplarily, the large-screen device verifies the speaker according to the verification information in the second request message, and if the verification is successful, an encrypted Wi-Fi P2P connection is established with the speaker. 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 speaker. Otherwise, the Wi-Fi P2P connection fails.

[0355] In this way, each speaker in the same room as the large-screen device can execute S914-S917 above and the large-screen device to establish a Wi-Fi P2P connection. The secure and stable Wi-Fi P2P connection between the large-screen device and the speakers is established, completing the networking process between the large-screen device and the speakers.

[0356] In one possible design, the method shown in FIG4 , the method shown in FIG8 , and the method shown in FIG9 are also applicable to the scenario of adding new speakers to an already established home theater. Assume that after the first speaker (one or more) and the large-screen device perform the corresponding functions of the methods shown in FIG4 , FIG8 and / or FIG9 above, a home theater is successfully established. Afterwards, a second speaker is added to the room without manual operation by the user. The large-screen device and the second speaker automatically perform the corresponding functions of the methods shown in FIG4 , FIG8 and / or FIG9 above, thereby adding the second speaker to the established home theater or refusing the second speaker to join the established home theater. For specific implementation, refer to the description of FIG13 below.

[0357] For example, FIG13 is a flow chart of another method for building a home theater provided by an embodiment of the present application. The method shown in FIG13 is applicable to the scenario where a new speaker is added to an already built home theater. The communication connection (Wi-Fi P2P connection) between the first speaker and the large-screen device is normal, the number of the first speakers can be one or more, the second speaker is a newly added speaker, and the number of the second speakers can be one or more. After the second speaker is turned on, it can be added to the already built home theater through the method shown in FIG13.

[0358] As shown in FIG13 , the method includes the following steps.

[0359] S1301: The large-screen device monitors the broadcast message.

[0360] S1302: The second speaker sends a first broadcast message.

[0361] Exemplarily, the first broadcast message includes capability information of the second speaker. The capability information of the second speaker may also be referred to as second capability information, and the second capability information is used to indicate the channels supported by the second speaker.

[0362] S1303: The large-screen device starts detecting whether the speakers discovered by the large-screen device are in the same room as the large-screen device 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 speaker sends a third broadcast message according to the ultrasonic signal and the second broadcast message.

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

[0367] S1307: The large-screen device determines whether the second speaker and the large-screen device are in the same room based on the third broadcast message.

[0368] The specific implementation of the above S1307 can refer to the above S407, which will not be repeated here.

[0369] S1308: The large-screen device determines whether the second speaker can be added to the established home theater based on the capability information of the second speaker and the capability information of the first speaker.

[0370] For example, the large screen device determines whether the capability information of the second speaker and the capability information of the first speaker meet the conditions for building a home theater. The conditions for building a home theater can refer to the corresponding description in FIG4 above.

[0371] Assume that speaker 5 is added to the home theater scenario already configured in Figure 12B, as shown in Figure 14. Assume that speaker 5's capability information includes support for use as a subwoofer or center speaker. Since speakers 1 to 4 are the left speaker, right speaker, left surround speaker, and right surround speaker, respectively, the large-screen device determines that the second speaker can join the current home theater network. If speaker 5's capability information includes support for use as both the left and right speakers, since the current home theater network already has left and right speakers, the large-screen device determines that the second speaker cannot join the current home theater network.

[0372] In some embodiments, if the large-screen device determines that the second speaker can be added to the established home theater, the following S1309 is executed, and the large-screen device adds the second speaker to the established home theater.

[0373] In other embodiments, if the large-screen device determines that the second speaker can be added to the already assembled home theater, the large-screen device displays a second assembly decision interface. Specific implementations can refer to the description of the large-screen device displaying the second assembly decision interface in S408 above.

[0374] In some embodiments, if the large-screen device determines that the second speaker cannot be added to the established home theater, the large-screen device may refuse to allow the second speaker to be added to the established home theater, or the large-screen device may display a third establishment decision interface (also referred to as a sixth interface). The third establishment decision interface is used to prompt the user that the second speaker cannot be added to the established home theater and may also prompt the reason for the inability to establish the home theater.

[0375] Optionally, when the large-screen device determines that the second speaker cannot join the established home theater, the large-screen speaker can mark the second speaker and no longer receive the speaker's joining request (such as the first broadcast message) when the current home theater network does not change.

[0376] S1309, large screen device adds a second speaker to the already built home theater.

[0377] In some embodiments, if 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.

[0378] In other embodiments, after the large-screen device determines that the second speaker can be added to the already configured home theater, it adds the second speaker to the already configured home theater based on the user's confirmation of home theater setup. For example, if the large-screen device detects that the user has selected a "yes" control on the second setup decision interface, the second speaker is added to the already configured home theater. If the large-screen device detects that the user has selected a "no" control on the second setup decision interface, the second speaker is denied from being added to the already configured home theater. The specific implementation of S1309 can be found in S409 above and will not be further described here.

[0379] It should be noted that the method shown in FIG13 may also include a process of establishing a short-range communication connection between the large-screen device and the second speaker. The specific implementation is as described above with reference to the method shown in FIG4 and will not be repeated here. The speaker in FIG4 is replaced with the second speaker. And / or, the method shown in FIG13 may also include a process of the large-screen device recommending a placement position for the second speaker to the user and allocating channels to the second speaker. The specific implementation is as described above with reference to the method shown in FIG9 and will not be repeated here. The speaker in FIG9 is replaced 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] The input method provided by the embodiment of the present application is described in detail above in conjunction with Figures 4 to 14. The first device and the second device provided by the embodiment of the present application are described in detail below in conjunction with Figure 15.

[0383] FIG15 is a schematic diagram of the structure of a device provided in an embodiment of the present application. For example, the device may be a first device or a second device. As shown in FIG15 , device 1500 may include a transceiver unit 1501, 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 used to support the first device to perform any transceiver function in Figures 4 to 14.

[0386] Optionally, the processing unit 1502 is used to support the first device to perform any processing function in Figures 4 to 14.

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

[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 contents of each step involved in the above method embodiments can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, they are not repeated here.

[0389] Optionally, the device 1500 shown in FIG15 may further include a storage unit (not shown in FIG15 ) storing a program or instruction. When the transceiver unit 1501, the processing unit 1502, and the display unit 1503 execute the program or instruction, the device 1500 shown in FIG15 may execute the method described in the above method embodiment.

[0390] The technical effects of the device 1500 shown in FIG15 may 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 used to support the second device to perform any transceiver function in Figures 4 to 14.

[0394] Optionally, the processing unit 1502 is used to support the second device to perform any processing function in Figures 4 to 14.

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

[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 contents of each step involved in the above method embodiments can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, they are not repeated here.

[0397] Optionally, the device 1500 shown in FIG15 may further include a storage unit (not shown in FIG15 ) storing a program or instruction. When the transceiver unit 1501, the processing unit 1502, and the display unit 1503 execute the program or instruction, the device 1500 shown in FIG15 may execute the method described in the above method embodiment.

[0398] The technical effects of the device 1500 shown in FIG15 may 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] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.

[0403] Optionally, there may be one or more processors in the chip system. The processor may be implemented in hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

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

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

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

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

[0408] The embodiments of the present application also provide a program product. When the program product is run on a computer or device, the computer or device executes the above-mentioned related steps to implement the method in the above-mentioned embodiment.

[0409] In addition, embodiments of the present application further provide a device. The device may be a component or module, and may include one or more processors and a memory connected to each other. The memory is used to store a program. When the program is executed by one or more processors, the device performs the method described in each of the above method embodiments.

[0410] The devices, readable storage media, program products, or chips provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0411] The steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, read-only compact discs (CD-ROMs), or any other form of storage medium 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 a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).

[0412] Through the description of the above embodiments, those skilled in the art will clearly understand that for the sake of convenience and brevity, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed; that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0413] In the several embodiments provided in this application, it should be understood that the disclosed methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules or units, which can be electrical, mechanical or other forms.

[0414] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0415] The readable storage medium includes but is not limited to any of the following: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media that can store program codes.

[0416] The above is only a specific embodiment of the present application, but the scope of protection of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for building a home theater, characterized in that: Applied to a first device, comprising: Receiving m pieces of first capability information from m second devices, where each piece of first capability information is used to indicate a channel supported by the corresponding second device, and m is an integer not less than 1; Obtaining placement positions of the m second devices; Determining, 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, wherein the preset condition includes the placement positions of the second devices supporting different sound channels when forming a home theater; Determining that the placement positions of the m second devices do not meet the preset condition, displaying a first interface, wherein the first interface includes recommendation information on the placement position of at least one second device among the m second devices; Determine that the placement positions of the m second devices meet the preset conditions, display a second interface, and the second interface includes information for prompting successful placement.

2. The method according to claim 1, characterized in that: The method further comprises: Obtaining the placement positions of the m second devices again; Determining whether the placement positions of the m second devices obtained again meet the preset condition according to the placement positions of the m second devices obtained again and the m first capability information; Determining that the placement positions of the m second devices obtained again do not meet the preset condition, displaying a third interface, the third interface including recommendation information of the placement position of at least one second device among the m second devices; Determine whether the placement positions of the m second devices obtained again meet the preset conditions, and display a fourth interface, wherein the fourth interface includes information for prompting successful placement.

3. The method according to claim 1, characterized in that The method further comprises: After determining that the placement positions of the m second devices meet the preset condition, determining the channel types of the m second devices according to the placement positions of the m second devices; Channel configuration information is sent to the m second devices, where the channel configuration information is used to indicate a channel type.

4. The method according to claim 2, characterized in that: The method further comprises: After determining that the placement positions of the m second devices obtained again meet the preset condition, determining the channel types of the m second devices according to the placement positions of the m second devices obtained again; Channel configuration information is sent to the m second devices, where the channel configuration information is used to indicate a channel type.

5. The method according to any one of claims 1 to 4, characterized in that Before obtaining the placement positions of the m second devices, the method further includes: broadcasting an ultrasonic signal, wherein the ultrasonic signal includes an ultrasonic identifier; broadcasting a first message, wherein the first message includes the ultrasonic identifier; According to a first condition, n second devices in the same room as the first device are obtained, where n is an integer not less than 1 and n is not less than m, and the first condition includes: receiving a second message.

6. The method according to claim 5, characterized in that The obtaining, according to the first condition, n second devices located in the same room as the first device comprises: If the first condition is met, it is determined that the 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: an ultrasonic identifier, a signal strength of the ultrasonic signal, and a signal strength of the first message; 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; or, The first condition also 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 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.

8. The method according to any one of claims 5 to 7, characterized in that: After obtaining n second devices located in the same room as the first device according to the first condition, the method further includes: According to the first capability information and the second condition of the n second devices, the m second devices are obtained from the n second devices, the first capability information of the m second devices meets the second condition, and the second condition is a condition for building a home theater.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: Determine whether a second device newly added in the room where the first device is located can join an established home theater system, where the established home theater system is established by the first device and the m second devices; Determining that a newly added second device in the room where the first device is located can be added to the established home theater system, then displaying a fifth interface according to the m first capability information, the second capability information of the newly added second device and the preset condition, the fifth interface including information for prompting the placement position of the newly added second device; It is determined that a newly added second device in the room where the first device is located cannot join the established home theater system, and a sixth interface is displayed, wherein the sixth interface includes information for prompting that the newly added second device cannot join the established home theater system.

10. The method according to claim 9, characterized in that The determining whether a second device newly added to the room where the first device is located can be added to the established home theater system includes: 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, it is determined whether the newly added second device can join the established home theater system, wherein the second condition is a condition for establishing a home theater.

11. A first device, characterized in that: The first device comprises: Display screen; one or more processors; one or more memories; The memory stores one or more programs, and when the one or more programs are executed by the one or more processors, the first device executes the method according to any one of claims 1 to 10.

12. A communication system, characterized in that: The communication system comprises: The first device as claimed in claim 11; and A second device; wherein the second device is used to send first capability information to the first device, and the first capability information is used to indicate the channels supported by the second device.

13. A readable storage medium, characterized in that: The readable storage medium includes a program, and when the program is executed on a device, the device is caused to execute the method according to any one of claims 1 to 10.