Multi-room hybrid network formation method and apparatus, electronic device, and storage medium
By combining Wi-Fi and UWB networks, automatic networking and high-precision synchronization of audio devices in multiple rooms are achieved, solving the problems of poor synchronization and limited coverage in existing technologies and improving the user experience.
Patent Information
- Application Number
- PCT/CN2024/099887
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2025-12-26
AI Technical Summary
Existing multi-room audio device networking suffers from poor synchronization, limited coverage, and complex networking issues. In particular, the limitations of Bluetooth and Wi-Fi technologies affect the user experience.
A hybrid networking approach is adopted, combining Wi-Fi and UWB networks to achieve automatic discovery and networking of devices in multiple rooms. The low latency of UWB is used to achieve high-precision time synchronization, ensuring synchronized playback of audio data.
It improves the coverage and synchronization of multi-room audio devices, simplifies the networking process, and enhances the user experience.
Smart Images

Figure CN2024099887_26122025_PF_FP_ABST
Abstract
Description
Multi-room hybrid networking method and device, electronic device, and storage medium TECHNICAL FIELD
[0001] The present application relates to the technical field of data transmission, in particular to a multi-room hybrid networking method and device, an electronic device, and a storage medium. BACKGROUND
[0002] With the development of intelligent devices and the Internet, users' demand for multimedia services has also increased, and the application scenarios of playing the same audio file by multiple devices, especially multiple devices in multiple rooms, are increasing. Playing the same audio file by different devices can improve the playing effect and quality of the audio file. Usually, one device is selected as the master device from the multiple devices performing the cooperative playing operation, and the other devices are slave devices.
[0003] A common wireless audio transmission scheme is a multi-room audio device-based playing system based on Bluetooth technology. This type of system connects multiple audio devices through Bluetooth to achieve audio playing. Bluetooth technology has low latency and good sound quality in a short distance, but its transmission distance is limited and usually cannot cover multiple rooms, i.e., the coverage is limited. Meanwhile, Bluetooth technology has limitations in the number of connected devices, which makes it difficult to meet the audio transmission needs of a large range and multiple devices. To solve this problem, another wireless audio transmission scheme is a multi-room audio device-based playing system based on Wi-Fi technology. These systems connect multiple audio devices through a home Wi-Fi network, and users can control the audio devices in different rooms through a mobile application to select the same or different music content. The advantage of Wi-Fi technology is its wide coverage, which can support audio transmission in multiple rooms. However, Wi-Fi technology has obvious latency in audio synchronization between multiple devices, especially when multiple rooms need to play the same audio content simultaneously. This poor synchronization results in more obvious latency, which affects the user experience.
[0004] In addition, in the process of networking multiple-room audio devices, the existing technology usually needs to manually configure and connect between devices, which is complex and inconvenient, and the user experience is poor.
[0005] SUMMARY
[0006] In view of this, the present application provides a multi-room hybrid networking method and device, an electronic device, and a storage medium, which can improve the problems of poor synchronization, limited coverage, and complex networking in multi-room networking.
[0007] The multi-room hybrid networking method provided by the present application comprises the following steps:
[0008] In response to a networking request for multiple rooms, a first device in each room accessing a first transmission network is acquired;
[0009] A first transmission network between multiple first devices is configured;
[0010] Each second device in each room is scanned by each first device;
[0011] A second transmission network between the first device and the second device in each room is configured, and the transmission delay of the second transmission network is less than that of the first transmission network.
[0012] Optionally, the method further comprises:
[0013] A first device accessing the first transmission network is selected as a reference device from multiple first devices;
[0014] The clock of all first devices is corrected to be consistent with reference to the clock of the reference device;
[0015] The clock of all second devices is corrected to be consistent in each room with reference to the clock of the first device.
[0016] Optionally, the method further comprises:
[0017] Audio data is transmitted to one or more first devices through the first transmission network;
[0018] The audio data is transmitted between the first devices through the first transmission network, and / or the audio data is transmitted to the corresponding second device through the second transmission network by the first device.
[0019] Optionally, the first transmission network comprises a Wi-Fi network, and the second transmission network comprises a UWB network.
[0020] Optionally, the first device accessing the first transmission network in each room is acquired by:
[0021] S11: All devices accessing the first transmission network in a single room are acquired;
[0022] S12: One of the devices sends a broadcast packet including its own source address and communication parameters, but without a destination address;
[0023] S13: Based on the internal protocol of the second transmission network, after each of the remaining devices receives the broadcast packet, each of the remaining devices compares its current communication quality with the communication quality of the one device according to its current communication parameters and the communication parameters of the one device;
[0024] S14: If the current communication quality is worse than the communication quality of the one of the remaining devices, no broadcast packet is sent out for any of the remaining devices;
[0025] S15: If the current communication quality is better than the communication quality of the one of the remaining devices, a broadcast packet including a source address and communication parameters of the one of the remaining devices but without a destination address is sent out for any of the remaining devices;
[0026] The S12 to S15 are repeatedly executed until the remaining devices are only one;
[0027] A broadcast packet sent out by the last remaining device is received, and a source address is obtained from the broadcast packet, and the device corresponding to the source address is taken as the first device.
[0028] Optionally, the broadcast packet is provided with an identification code for recording a number of times of sending out the broadcast packet by the device up to the current time; and the method further comprises:
[0029] According to the identification code of the broadcast packet, it is determined whether the remaining devices are only one.
[0030] Optionally, the method further comprises:
[0031] A maximum time length is obtained from sending out a broadcast packet by a device to receiving the broadcast packet by another device;
[0032] When only one broadcast packet is received after a distance from a last time of receiving a broadcast packet exceeds the maximum time length, it is determined that the remaining devices are only one.
[0033] The application provides a multi-room hybrid networking device, comprising:
[0034] An obtaining unit is configured to obtain a first device accessing a first transmission network in each room in response to a networking request for multiple rooms;
[0035] A first configuring unit is configured to configure the first transmission network between multiple first devices;
[0036] A scanning unit is configured to scan a second device in a room where each first device is located by each first device;
[0037] A second configuring unit is configured to configure a second transmission network between the first device and the second device in each room.
[0038] The application provides an electronic device, comprising a memory and a processor, wherein the memory stores a multi-room hybrid networking program, and the multi-room hybrid networking program is executed by the processor to implement corresponding steps of the multi-room hybrid networking method.
[0039] The storage medium provided in the application stores a computer program, and the computer program performs corresponding steps of the multi-room hybrid networking method as described above when executed by a processor.
[0040] As described above, the application establishes a connection for the first device in multiple rooms through a first transmission network, establishes a connection between the first device and the second device in the room where the first device is located through a second transmission network, thereby networking the first device and the second device in multiple rooms, supporting the interconnection and transmission of multi-room devices, making the coverage range larger, including audio transmission; in addition, the devices can automatically discover and network, reducing the complexity of manual configuration and connection of the user, thereby simplifying the networking process and improving the convenience and ease of use of the system; and the transmission delay of the second transmission network is less than that of the first transmission network, for example, the first transmission network is a Wi-Fi network, and the second transmission network is a UWB network, which utilizes the characteristics of short-distance wireless high-speed data transmission of UWB technology, that is, utilizes advanced low-delay and high-precision technology to ensure that the devices in multiple rooms are as synchronized as possible, for example, synchronized audio playback in multiple rooms, reduces the delay in the audio transmission process, and has good synchronization, thereby improving the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0041] FIG. 1 is a flowchart of a first multi-room hybrid networking method provided by an embodiment of the application;
[0042] FIG. 2 is a schematic diagram of a multi-room hybrid networking architecture provided by an embodiment of the application;
[0043] FIG. 3 is a flowchart of a second multi-room hybrid networking method provided by an embodiment of the application;
[0044] FIG. 4 is a flowchart of a third multi-room hybrid networking method provided by an embodiment of the application;
[0045] FIG. 5 is a structural schematic diagram of a multi-room hybrid networking device provided by an embodiment of the application. DETAILED DESCRIPTION
[0046] In order to solve the above problems in the prior art, the application provides a multi-room hybrid networking method and device, an electronic device, and a storage medium. The several protection subjects are based on the same concept, the principles of solving problems are basically the same or similar, and the embodiments of each protection subject can be mutually referred to, and the repeated parts will not be described herein.
[0047] In order to make the purposes, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly described below in combination with specific embodiments and corresponding drawings. Obviously, the following described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. In the case of no conflict, each of the following embodiments and its technical features can be combined with each other, and also belong to the technical solutions of the present application.
[0048] Fig. 1 is a multi-room hybrid networking method provided by an embodiment of the present application, which can be referred to as a hybrid networking method or method in some places in this paper. The scenarios applicable to the present application include but are not limited to networking of multiple devices in multiple rooms, Internet of Things, etc. Taking multi-room networking as an example, multiple devices can form a system, and the number of devices contained can be adaptive according to actual needs. Transmission between devices is carried out through two network technologies, which can include direct communication between a device and one device, or direct communication between a device and multiple devices. However, regardless of which communication behavior, the connection and transmission between any two directly communicating devices are established through the corresponding internal protocol.
[0049] When performing different services, the role attribute of the same device can change, that is, the same device can act as a master device or a slave device. The so-called master device can be understood as a role that plays a role in deployment and management in a certain service, such as being responsible for sending audio data, and the master device can determine the slave device for this service. Correspondingly, the so-called slave device can be understood as a role that plays a role in data deployment and management in this communication transmission service, such as being responsible for receiving and playing audio data. These master devices and slave devices can be determined by the transmission demand of audio data to execute the method.
[0050] The execution subject of the method of the present application can be any device (which can be referred to as a master device or a user device) in the aforementioned system, and the specific forms of the device include but are not limited to at least one of the following: a sound box, a mobile phone, and other home devices; a communication device or a communication module corresponding to UWB and / or Wi-Fi functions.
[0051] Please refer to Fig. 1, the multi-room hybrid networking method at least includes the following S1 to S4.
[0052] S1: In response to a networking request for multiple rooms, a first device accessing a first transmission network in each room is obtained.
[0053] The networking request can be initiated by the subject of the method execution (which can be referred to as "execution device"), in combination with the method shown in FIG. 2, taking the first transmission network as a Wi-Fi network and the second transmission network as a UWB network as an example, first, all devices in all rooms that access the Wi-Fi network are obtained, these devices can be collectively referred to as first devices, then the user can select one of the devices as the subject to initiate the networking request according to the demand.
[0054] S2: Configure the first transmission network between the plurality of first devices.
[0055] The configuration in S2 includes but is not limited to at least one of the following: information of the first transmission network, such as the name of the Wi-Fi network, etc.; selecting a part of the first devices to execute the method of the present application; configuring the transmission path between each first device, such as which first devices in which rooms are responsible for the audio transmission, and the order and path of the audio transmission. For any technical feature, if it can be realized by two or more ways, they can be combined with each other without conflict.
[0056] After completing each configuration, the present example can determine the first device in real time and automatically according to the transmission demand, which can not need to be pre-set, and is more suitable for the actual scene demand. For example, once the devices for networking change, including but not limited to increase, decrease, and change in signal strength of the devices, the first devices for executing the audio transmission can be automatically determined without human intervention.
[0057] Each first device after configuration can be provided with a unique identifier, which can be a fixed identity written by the manufacturer of each device, or a unique identifier uniformly allocated by the management party when networking. The unique identifier of the same device is dynamically changed in different networking environments or when different transmission events are executed. For all first devices for networking, the distance between any two first devices is within the maximum transmission distance range based on the first transmission network technology.
[0058] S3: Scan the second devices in the room where each first device is located through each first device.
[0059] For any first device, the first device only scans the second devices in the same room as it, and even if it scans the devices in other rooms, it does not regard them as second devices. In an example, the first device can scan the second devices in the room through the internal protocol of the second transmission network.
[0060] S4: Configure the second transmission network between the first devices and the second devices in each room, and the transmission delay of the second transmission network is less than that of the first transmission network.
[0061] The configuration in S4 includes but is not limited to at least one of the following: information of the second transmission network, such as the name of the UWB network, etc.; selecting a part of the second devices to perform the method of the present application; configuring the transmission path between each second device, such as which second device is responsible for the audio transmission, and the order and path of the audio transmission.
[0062] In combination with FIG. 2, the present application can be taken as an execution subject by a routing device (such as a router or gateway) to perform the configuration in S2 and S4, and to be responsible for data transmission (such as distribution of audio data), subsequent clock correction to achieve time synchronization management, etc.
[0063] In view of the positioning function of UWB technology, optionally, the method further includes: displaying the relative positions of each first device and second device, and the corresponding transmission path on the execution subject device, which can be identified by icons and arrow lines as shown in FIG. 2. It should be understood that the icons of each first device and second device can be in specific forms according to the device type obtained based on the UWB internal protocol, such as a second device being a sound, which is displayed as a sound corresponding icon, a first device being a wearable device of a certain brand, which is displayed as a wearable device corresponding icon of the brand, and an execution subject device being a mobile phone of a certain brand, which is displayed as a mobile phone corresponding icon of the brand. In this way, the user can intuitively know the type information of each first device and second device from the execution subject device.
[0064] As described above, the present application establishes a connection between the first devices in multiple rooms through the first transmission network, and establishes a connection between the first devices and the second devices in the respective rooms through the second transmission network, thereby networking the first devices and the second devices in multiple rooms, supporting the interconnection and transmission of multi-room devices, and making the coverage range larger, including audio transmission. In addition, the devices can automatically discover and network, reducing the complexity of manual configuration and connection of the user, thereby simplifying the networking process and improving the convenience and ease of use of the system. Moreover, the transmission delay of the second transmission network is smaller than that of the first transmission network, such as the first transmission network being a Wi-Fi network and the second transmission network being a UWB network. The UWB technology can realize short-distance wireless high-speed data transmission, that is, by using advanced low-delay and high-precision technology, the devices in multiple rooms can be synchronized as much as possible, such as synchronized audio playback in multiple rooms, reducing the delay in the audio transmission process, and having good synchronization, thereby improving the user experience.
[0065] In the scenario of audio playback, in combination with FIG. 3, the method further includes S51 and S61.
[0066] S51: transmitting audio data to one or more first devices through the first transmission network.
[0067] S61: transmitting the audio data between the first devices through the first transmission network, and / or transmitting the audio data from the first devices to the corresponding second devices through the second transmission network.
[0068] In the S61, the first devices can transmit the audio data to the second devices in the same room as the first devices, for example, all the second devices.
[0069] In an example, the first devices can be the devices that establish connections with the execution subject of the method and the second devices, but the first devices do not necessarily have to be the devices that process the data (for example, audio data) transmitted between the execution subject and the second devices. For example, the data transmitted between the execution subject and the second devices is encrypted secret data, and each first device is only responsible for transmission, that is, each first device is only a relay node responsible for relay transmission, and cannot decrypt the secret data during relay transmission, so that the transmission security can be improved, and a larger network coverage can be achieved through the relay effect. For another example, the data transmitted between the execution subject and the second devices is video data, and the first devices as the relay nodes are only devices with receiving and transmitting functions, and cannot play the video data on the basis of the relay effect. In this regard, the selection of the first devices as the relay nodes can also be regarded as an example of the S2.
[0070] In combination with FIG. 4, the method further includes S52 to S72.
[0071] S52: selecting one of the first devices accessing the first transmission network as a reference device.
[0072] S62: correcting the clocks of all the first devices to be consistent with reference to the clock of the reference device.
[0073] S72: correcting the clocks of all the second devices to be consistent in each room with reference to the clock of the first device.
[0074] Taking the first transmission network as a Wi-Fi network and the second transmission network as a UWB network as an example, the time reference can be provided by the selected Wi-Fi device (that is, the first device), so as to ensure the time synchronization of all the Wi-Fi devices and the UWB devices (that is, the second devices). At this time, the transmission between the first devices and the second devices in the same room is also called UWB interaction. The Wi-Fi device not only receives the synchronization signal, but also transmits the synchronization information to the UWB devices in the same room through the UWB module of the Wi-Fi device (that is, the first device also has the function of accessing the second transmission network), so as to realize high-precision time synchronization and ensure the synchronous playback of the audio data in multiple rooms and the high-quality transmission of the audio data.
[0075] In the foregoing S1, each room can only obtain one first device, and for a room provided with multiple devices accessing the first transmission network, the application can select one device as the first device through the following S11 to S16.
[0076] S11: Obtain all devices accessing the first transmission network in a single room.
[0077] S12: Select one device to send a broadcast packet including a source address and communication parameters of the device but without a destination address.
[0078] S13: Based on the internal protocol of the second transmission network, after each of the remaining devices receives the broadcast packet, the device compares the current communication quality of the device with the communication quality of the one device according to the current communication parameters of the device and the communication parameters of the one device.
[0079] S14: For any device of the remaining devices, if the current communication quality is worse than the communication quality of the one device, the device does not send a broadcast packet.
[0080] S15: For any device of the remaining devices, if the current communication quality is better than the communication quality of the one device, the device sends a broadcast packet including a source address and communication parameters of the device but without a destination address.
[0081] The S12 to S15 are repeatedly executed until there is only one remaining device.
[0082] S16: Receive the broadcast packet sent by the last remaining device and obtain the source address from the broadcast packet, and take the device corresponding to the source address as the first device.
[0083] The communication parameters can include but are not limited to at least one of signal strength, transmission delay, and signal-to-noise ratio. For example, the greater the signal strength, the better the communication quality of the device. For example, the smaller the transmission delay, the better the communication quality of the device. For example, the greater the signal-to-noise ratio, the better the communication quality of the device.
[0084] The present example realizes adaptive comparison of communication quality between devices through broadcast packets, without user intervention, and realizes selection of the first device in each room.
[0085] The application determines whether there is only one remaining device in the following ways, which include but are not limited to the following way:
[0086] Way 1: The broadcast packet is provided with an identification code for recording the number of times the device sends a broadcast packet until the current time; before the S16, the method further includes S160: determining whether there is only one remaining device according to the identification code of the broadcast packet.
[0087] For example, for a room, the devices accessing the first transmission network include devices A, B, C, D and E, device A sends a broadcast packet 1, device A is the first device sending the broadcast packet, the number of times of sending the broadcast packet by device A is identified as zero, devices B, C, D and E receive the broadcast packet 1 to obtain the communication parameters of device A contained in the broadcast packet 1, and respectively compare the current communication parameters of devices B, C and D with the communication parameters of device A, if the communication quality of devices B and C is worse than that of device A, devices B and C do not send the broadcast packet, if the communication quality of devices D and E is better than that of device A, device D sends a broadcast packet 2 and device E sends a broadcast packet 3, at this time, the identification codes contained in the broadcast packet 2 and the broadcast packet 3 respectively represent the number of times of sending the broadcast packet by devices D and E, which is 1; device D receives the broadcast packet 3 and device E receives the broadcast packet 2, and respectively compares the communication quality, for example, the communication quality of device D is worse than that of device E, device E sends a broadcast packet 4 again, the identification code of the broadcast packet 4 represents the number of times of sending the broadcast packet by device E, which is 2, and device E corresponding to the largest number of times is selected as the first device in the room.
[0088] Mode 2: Before the S16, the method further includes S161: obtaining the maximum time length from sending a broadcast packet by a device to receiving the broadcast packet by another device; and S162: when the distance from the last time of receiving the broadcast packet exceeds the maximum time length, only one broadcast packet is received, and it is determined that the remaining devices are only one. Then, the source address contained in the one broadcast packet is used to determine the corresponding device as the first device.
[0089] In the scenario that the first transmission network is a Wi-Fi network and the second transmission network is a UWB network, the connection is established between the first devices in different rooms based on the Wi-Fi internal protocol, the first device and the second device in any room are connected based on the UWB internal protocol, the short-distance wireless high-speed data transmission is realized based on the UWB technology, the transmission distance between any two second devices is increased through the first device, thereby the signal attenuation and interference problems of the UWB transmission can be improved, and the transmission stability and quality when the signal is blocked can be ensured.
[0090] In addition, the application can have the following beneficial effects:
[0091] 1. Multi-room automatic networking technology: that is, Wi-Fi devices and UWB devices automatically discover and network; the application realizes efficient discovery and networking of multi-room audio devices through the combination of Wi-Fi and UWB technologies. First, taking advantage of the wide coverage of Wi-Fi technology, multi-room audio device networks are automatically discovered and initially established, simplifying user operations and enabling devices to automatically join the same network group. Subsequently, through UWB technology, higher-precision device discovery is performed within the same room, and UWB devices in each room are added to the previous network group, thereby realizing mixed networking of Wi-Fi and UWB devices in multiple rooms. Specifically, automatic networking includes: UWB devices under the same Wi-Fi network (multi-room) automatically discovering and establishing networks; UWB devices in different rooms establishing networks after discovering through Wi-Fi networks; multiple UWB devices in the same room automatically establishing networks according to the capabilities of the devices.
[0092] 2. Audio low-latency synchronous transmission: that is, mixed synchronization technology of Wi-Fi devices and UWB devices; a selected Wi-Fi device provides a time reference to ensure time synchronization of all Wi-Fi devices and UWB devices. The Wi-Fi device not only receives the synchronization signal, but also transmits synchronization information to UWB devices in the same room through the UWB module, realizing high-precision time synchronization and ensuring synchronized playback and high-quality transmission of multi-room audio signals. The application can also realize mixed dynamic synchronization of Wi-Fi devices and UWB devices: that is, a dynamic adjustment synchronization algorithm is provided, which adjusts the audio transmission path and synchronization strategy in real time according to the device location and network load, further optimizing transmission quality and synchronization accuracy.
[0093] 3. Flexible audio playback function: for example, the application supports different rooms playing different audio content independently, and users can select and control the audio played in different rooms according to their needs.
[0094] 4. Technology integration and optimization: that is, the combination of Wi-Fi and UWB technologies; make full use of the wide coverage of Wi-Fi and the high-precision low-latency characteristics of UWB, realize the effective combination of the two, and exert their respective advantages, to provide a better solution in multi-room audio transmission.
[0095] The embodiment of the application also provides a multi-room mixed networking device, as shown in FIG. 5, which includes:
[0096] The acquisition unit 51 is configured to acquire a first device accessing a first transmission network in each room in response to a networking request for multiple rooms.
[0097] The first configuration unit 52 is configured to configure the first transmission network between the multiple first devices.
[0098] The scanning unit 53 is configured to scan the second devices in the room where the first device is located by each first device.
[0099] The second configuring unit 54 is configured to configure the second transmission network between the first devices and the second devices in each room.
[0100] The specific implementation of each unit can refer to the above-mentioned embodiments of the multi-room hybrid networking method, and will not be repeated here. Therefore, the multi-room hybrid networking device can also have the beneficial effects of any of the above-mentioned multi-room hybrid networking methods.
[0101] The embodiments of the present application also provide an electronic device, including a memory and a processor, the memory stores a multi-room hybrid networking program, and the processor executes the multi-room hybrid networking program to implement the steps corresponding to the multi-room hybrid networking method of any of the above examples.
[0102] The electronic device can implement the role of the above-mentioned execution subject, and the specific form of the electronic device is not limited in the present application.
[0103] The embodiments of the present application also provide a storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps corresponding to the multi-room hybrid networking method of any of the above examples.
[0104] The storage medium can include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0105] Since the instructions stored in the storage medium can execute the steps in any of the multi-room hybrid networking methods provided by the embodiments of the present application, the beneficial effects of any of the multi-room hybrid networking methods provided by the embodiments of the present application can be achieved. Details are described in the above embodiments, and will not be repeated here.
[0106] The above only describes some embodiments of the present application, and does not limit the patent scope of the present application. For those skilled in the art, any equivalent structural transformation made by using the content of the specification and drawings is also included in the patent protection scope of the present application.
[0107] In this paper, step codes such as S1, S2, etc. are used, the purpose is to express the corresponding content more clearly and simply, and it does not constitute a substantial limitation on the order. Those skilled in the art may first perform S2 and then perform S1 in specific implementation, but these are all within the protection scope of the present application.
[0108] Although the terms "first", "second", etc. are used herein to describe various information, the information should not be limited to these terms. These terms are only used to distinguish one category of information from another category of information. In addition, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "or" and "and / or" are to be construed as inclusive and meant to mean either one or any combination. Only when components, functions, steps, or operations are inherently mutually exclusive are they represented with "only one of" language.
Claims
1. A multi-room hybrid networking method, characterized in that, The method includes: In response to a networking request for multiple rooms, a first device in each room that is connected to the first transmission network is obtained; Configure a first transmission network between multiple first devices; Each of the first devices scans the second devices in its respective room; Configure a second transmission network between the first device and the second device in each room, wherein the transmission delay of the second transmission network is less than that of the first transmission network.
2. The method according to claim 1, characterized in that, The method further includes: One of the multiple first devices connected to the first transmission network is selected as the reference device; The clocks of all first devices are aligned with the clock of the reference device. In each room, the clocks of all the second devices are calibrated to match the clocks of the first device.
3. The method according to claim 1, characterized in that, The method further includes: Audio data is transmitted to one or more of the first devices via the first transmission network; Audio data is transmitted between the first devices via the first transmission network, and / or the audio data is transmitted from the first device to a corresponding second device via the second transmission network.
4. The method according to any one of claims 1 to 3, characterized in that, The first transmission network includes a Wi-Fi network, and the second transmission network includes a UWB network.
5. The method according to claim 1, characterized in that, The first device for acquiring access to the first transmission network in each room includes: S11: Obtain all devices connected to the first transmission network within a single room; S12: Select one of the devices to send a broadcast packet that includes its own source address and communication parameters, but does not have a destination address; S13: Based on the internal protocol of the second transmission network, after each of the remaining devices receives the broadcast packet, it compares its current communication quality with that of one of the devices according to its own current communication parameters and the communication parameters of one of the devices. S14: For any of the remaining devices, if the current communication quality is worse than the communication quality of one of the devices, then no broadcast packet is sent; S15: For any of the remaining devices, if the current communication quality is better than the communication quality of one of the devices, a broadcast packet including its own source address and communication parameters, but without a destination address, is sent. Repeat steps S12 to S15 until only one device remains. Receive the broadcast packet sent by the last remaining device and obtain the source address from it, and take the device corresponding to the source address as the first device.
6. The method according to claim 5, characterized in that, The broadcast packet is equipped with an identification code to record the number of broadcast packets sent by the device up to the current time; The method further includes: Based on the identifier code of the broadcast packet, determine whether there is only one remaining device.
7. The method according to claim 5, characterized in that, The method further includes: Obtain the maximum time from when one device sends a broadcast packet to when another device receives the broadcast packet; If only one broadcast packet is received when the maximum time elapsed since the last received broadcast packet, it is determined that there is only one remaining device.
8. A multi-room hybrid networking device, characterized in that, include: The acquisition unit is used to acquire a first device in each room that is connected to the first transmission network in response to a networking request for multiple rooms; A first configuration unit is configured to configure a first transmission network among a plurality of the first devices; A scanning unit is used to scan the second devices in the room where each of the first devices is located; The second configuration unit is used to configure the second transmission network between the first device and the second device in each room.
9. An electronic device comprising a memory and a processor, characterized in that, The memory stores a multi-room hybrid networking program, which, when executed by the processor, implements the multi-room hybrid networking method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, implements the multi-room hybrid networking method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Audio synchronization output method and system
CN103338204A
Asset management method and system, network equipment and readable storage medium
CN111818193A
Mesh multi-scene fusion networking method and system and readable storage medium
CN115412581A
Multi-device networking method and device, storage medium and electronic device
CN117768926A
Networking method and electronic device
WO2024012343A1