Hotel intelligent device networking method and networking system

By using dynamic QR code binding and intelligent network assessment, the complexities of device management and synchronization control in hotel smart device networking are solved, enabling automatic device association and latency adjustment, improving networking convenience and user experience, and ensuring network stability and audio-visual synchronization.

CN120455191BActive Publication Date: 2026-02-24GUANGZHOU RISHUN ELECTRONICS TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510849902.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-24
Publication Date
2026-02-24
Estimated Expiration
2045-06-24

AI Technical Summary

Technical Problem

Hotel smart device networking faces challenges such as complex multi-device management, limited cross-network segment screen projection, and insufficient network stability, resulting in a poor user experience. Furthermore, traditional solutions are cumbersome to operate and prone to errors, with significant differences in audio and video stream transmission latency, leading to issues such as screen stuttering and audio-visual asynchrony.

Method used

Employing dynamic QR code binding, intelligent network assessment, and precise latency compensation mechanisms, the binding request is generated via dynamic QR code, the network status is assessed, the control terminal is determined, and playback parameters are set, enabling automatic device association and latency adjustment, simplifying the device binding process, and improving security and synchronous control efficiency.

Benefits of technology

Simplify the device binding process, improve the convenience and security of network setup, dynamically decide on access permissions, avoid network overload, achieve accurate audio and video synchronization across multiple devices, and enhance user experience and network stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120455191B_ABST
    Figure CN120455191B_ABST
Patent Text Reader

Abstract

The application provides a hotel intelligent device networking method and a networking system, and relates to the technical field of device networking. The method comprises the following steps: a dynamic two-dimensional code for binding intelligent devices is published; in response to a binding request generated by a client according to the dynamic two-dimensional code, it is evaluated whether the current network state allows a new client to access; if so, the binding request is sent to each target device to associate the client with the target device; a control right end is determined according to a control request, and corresponding playing parameters are set according to the end-to-end delay between the control right end and each target device; and each target device is controlled according to the control request and the playing parameters. The application improves the convenience and security of networking through the binding request generated by the dynamic two-dimensional code; dynamically decides access permission, supports multi-device control while avoiding network overload; and sets playing parameters according to the end-to-end delay between the control right end and each target device to realize the reduction of multi-device audio and video synchronization errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of device networking technology, specifically to a method and system for networking intelligent devices in a hotel. Background Technology

[0002] In smart hotels and similar venues, the collaborative operation of multiple audio-visual devices (such as TVs, projectors, audio systems, and lighting systems) has become a core requirement for enhancing user experience. Currently, hotel smart device networking faces challenges such as complex multi-device management, limited cross-network segment projection, and insufficient network stability. Traditional solutions require placing audio-visual devices and mobile phones on the same network segment, relying on static IPs or manual MAC address configuration, resulting in fragmented wireless network management, high deployment costs, and cumbersome and error-prone user operations. Furthermore, when controlling multiple audio-visual devices synchronously, the lack of an end-to-end dynamic latency compensation mechanism leads to significant differences in audio and video stream transmission latency, easily causing issues such as video stuttering and audio-visual asynchrony. Connection stability is also poor under network jitter or uneven device load, making it difficult to guarantee a good user experience. Summary of the Invention

[0003] The purpose of this invention is to provide a method and system for networking smart devices in hotels. By using dynamic binding, intelligent network assessment, accurate latency compensation, and efficient multicast communication, it solves the problems of complex multi-device management, limited cross-network segment projection, and synchronous control, significantly improving the collaborative efficiency, security, and user experience of smart devices in hotels.

[0004] In a first aspect, the present invention provides a method and system for networking smart devices in a hotel, comprising the following steps:

[0005] Release dynamic QR codes for binding smart devices;

[0006] In response to the binding request generated by the client based on the dynamic QR code, the system assesses whether the current network status allows the new client to access the network; if so, the binding request is sent to each target device to associate the client with the target device.

[0007] The control terminal is determined based on the control request, and the corresponding playback parameters are set based on the end-to-end delay between the control terminal and each target device.

[0008] Control each target device according to the control request and playback parameters.

[0009] As a preferred embodiment of the present invention, the step of publishing a dynamic QR code for binding a smart device includes the following steps:

[0010] Obtain the unique device identifiers of several smart devices corresponding to the smart gateway in the hotel room;

[0011] A dynamic QR code, its corresponding dynamic key, and validity period are generated using an encryption algorithm;

[0012] The mapping content is generated based on the preset URL field, the region identifier, the unique device identifier of several smart devices, the dynamic key, and the validity period, and then the mapping content is associated with the dynamic QR code.

[0013] As a preferred embodiment of the present invention, the binding request is generated through the following steps:

[0014] In response to the mapping content corresponding to the dynamic QR code, the client is redirected to the binding interface according to the preset URL field;

[0015] Through the binding interface, select the target device from several smart devices corresponding to the smart gateway, and generate a binding request based on the user identity, the unique device identifier of the target device, and the mapping content;

[0016] Perform a validity check on the binding request.

[0017] As a preferred embodiment of the present invention, after generating the dynamic QR code and its corresponding dynamic key and validity period through the encryption algorithm, the method further includes the following steps:

[0018] Store the dynamic QR code, its corresponding dynamic key, and validity period in the smart gateway;

[0019] The legality verification of the binding request is performed through the smart gateway by the following steps:

[0020] Based on the binding request, obtain the user's identity identifier, the target device's unique device identifier, the region identifier, the dynamic key, and the current timestamp;

[0021] Send the region identifier and user identity identifier to the central server, and receive the access permission verification result returned by the central server;

[0022] Determine whether the dynamic key in the binding request is consistent with the stored value, and perform a timeliness check based on the current timestamp and the validity period of the dynamic QR code.

[0023] As a preferred embodiment of the present invention, the step of assessing whether the current network environment allows the new device to access includes the following steps:

[0024] Calculate the remaining available bandwidth percentage by using the gateway device to monitor the current total network bandwidth and used bandwidth in real time.

[0025] The signal strength between the client and each target device is measured using a Wi-Fi / Bluetooth module, and the current channel occupancy rate is obtained.

[0026] Get the data throughput of currently connected smart devices; the smart gateway records the data throughput of each smart device in real time.

[0027] Network environment assessment indicators are generated based on the remaining available bandwidth ratio, signal strength of clients and target devices, channel occupancy, number of interference sources, and data throughput.

[0028] Whether to allow new devices to connect is determined based on network environment assessment indicators and preset rules.

[0029] As a preferred embodiment of the present invention, the step of determining the controlling end according to the control request includes the following steps:

[0030] Parse the control request to obtain the request source client and target device;

[0031] If the requesting client and the client in control are the same, the process ends.

[0032] If the requesting client and the controlling client are not the same, and the target device is in exclusive control state, a permission error code will be returned.

[0033] If the requesting client and the controlling client are not the same, and the target device is in a shared control state, then the requesting client will be designated as the controlling client, and a control switch notification will be broadcast to all clients associated with the target device. The current state of the target device will then be returned to the controlling client.

[0034] As a preferred embodiment of the present invention, the end-to-end delay between the control terminal and each target device is obtained through the following steps:

[0035] The controlling end sends probe data to the smart gateway and records the probe sending timestamp;

[0036] The smart gateway forwards the probe data to each target device, and each target device records the probe reception timestamp;

[0037] The target device sends response data to the smart gateway and records the response sending timestamp;

[0038] The smart gateway sends the response data to the control terminal, which records the response reception timestamp.

[0039] The end-to-end delay is calculated based on the probe send timestamp, probe receive timestamp, response send timestamp, and response receive timestamp.

[0040] As a preferred embodiment of the present invention, the step of setting corresponding playback parameters based on the end-to-end delay between the control terminal and each target device includes the following steps:

[0041] Obtain the playback timestamp of each target device based on the control request;

[0042] The target device with the lowest end-to-end latency is designated as the reference device.

[0043] Calculate the end-to-end delay difference between each target device and the reference device;

[0044] The new playback timestamp is the sum of the playback timestamp of the target device and the difference.

[0045] As a preferred embodiment of the present invention, the step of controlling each target device according to the control request and playback parameters includes the following steps:

[0046] Based on the network segment to which the target device belongs, each target device is divided into multiple logical multicast groups, and an independent multicast address is assigned to each logical multicast group;

[0047] The control commands are encapsulated into several multicast data packets, and the multicast data packets are forwarded to various multicast addresses.

[0048] Secondly, the present invention also provides a hotel smart device networking system, including a QR code management module, a binding management module, a network evaluation module, an access control module, and a synchronization control module;

[0049] The QR code management module is used to publish dynamic QR codes for binding smart devices;

[0050] The binding management module is used to generate binding requests based on dynamic QR codes and send the binding requests to each target device.

[0051] The network evaluation module is used to evaluate whether the current network status allows new clients to access the network.

[0052] The access control module is used to determine the control authority based on the control request;

[0053] The synchronization control module is used to set corresponding playback parameters based on the end-to-end delay between the control terminal and each target device, and to control each target device based on the control request and playback parameters.

[0054] The beneficial effects of this invention are as follows:

[0055] This invention simplifies the device binding process by generating binding requests using dynamic QR codes. Users can automatically associate with target devices simply by scanning the code. Simultaneously, dynamic keys and timeliness verification effectively prevent QR code theft or tampering, improving the convenience and security of network setup. By assessing the current network status to determine whether to allow new client access, it dynamically decides access permissions, supporting multi-device control while avoiding network overload. Furthermore, by setting corresponding playback parameters based on the end-to-end latency between the control terminal and each target device, it achieves accurate latency measurement and dynamic adjustment of playback parameters, thereby reducing audio and video synchronization errors across multiple devices. Attached Figure Description

[0056] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0057] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0058] Figure 1 This is a flowchart illustrating a method for networking smart devices in a hotel, according to an embodiment of the present invention.

[0059] Figure 2 This is a schematic diagram of the process for generating a binding request according to an embodiment of the present invention. Detailed Implementation

[0060] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0061] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indication will also change accordingly.

[0062] Furthermore, the use of terms such as "first" and "second" in this invention is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" and "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this invention.

[0063] In smart hotels and similar venues, the collaborative operation of multiple audio-visual devices (such as TVs, projectors, audio systems, and lighting systems) has become a core requirement for enhancing user experience. Currently, hotel smart device networking faces challenges such as complex multi-device management, limited cross-network segment projection, and insufficient network stability. Traditional solutions require placing audio-visual devices and mobile phones on the same network segment, relying on static IPs or manual MAC address configuration, resulting in fragmented wireless network management, high deployment costs, and cumbersome and error-prone user operations. Furthermore, when controlling multiple audio-visual devices synchronously, the lack of an end-to-end dynamic latency compensation mechanism leads to significant differences in audio and video stream transmission latency, easily causing issues such as video stuttering and audio-visual asynchrony. Connection stability is also poor under network jitter or uneven device load, making it difficult to guarantee a good user experience.

[0064] Example 1

[0065] Please refer to Figure 1 This invention provides a method for networking smart devices in a hotel, comprising the following steps:

[0066] Release dynamic QR codes for binding smart devices;

[0067] In response to the binding request generated by the client based on the dynamic QR code, the system assesses whether the current network status allows the new client to access the network; if so, the binding request is sent to each target device to associate the client with the target device.

[0068] The control terminal is determined based on the control request, and the corresponding playback parameters are set based on the end-to-end delay between the control terminal and each target device.

[0069] Control each target device according to the control request and playback parameters.

[0070] This invention simplifies the device binding process by generating binding requests using dynamic QR codes. Users can automatically associate with target devices simply by scanning the code. At the same time, dynamic keys and timeliness verification effectively prevent QR code theft or tampering, improving the convenience and security of network setup. By assessing the current network status to determine whether to allow new clients to access, the invention dynamically decides whether to grant access permission, supporting multi-device control while avoiding network overload.

[0071] By setting corresponding playback parameters based on the end-to-end delay between the control terminal and each target device, the delay can be accurately measured and the playback parameters can be dynamically adjusted, thereby reducing the audio and video synchronization error of multiple devices.

[0072] Specifically, the following content provides a detailed description of a hotel smart device networking method according to an embodiment of the present invention:

[0073] A method for networking smart devices in a hotel, comprising the following steps:

[0074] S1. Publish a dynamic QR code for binding smart devices;

[0075] In one embodiment, the step of issuing a dynamic QR code for binding a smart device includes the following steps:

[0076] S11. Obtain the unique device identifiers of several smart devices corresponding to the smart gateway in the hotel room;

[0077] S12. Generate a dynamic QR code and its corresponding dynamic key and validity period using an encryption algorithm;

[0078] S13. Generate mapping content based on the preset URL field, region identifier, unique device identifier of several smart devices, dynamic key and validity period, and associate the mapping content with the dynamic QR code.

[0079] In this embodiment, each smart device (such as a TV or audio device) has a unique device identifier, which can be generated using a MAC address or UUID. The area identifier can be a unique identifier corresponding to each hotel room.

[0080] Generating dynamic QR codes can be achieved using existing encryption algorithms, outputting a dynamic key and validity period along with the QR code. It should be noted that, based on the validity period, the smart gateway corresponding to each hotel room will request a QR code refresh from the hotel's central server to ensure that the old QR code automatically expires.

[0081] Based on the obtained area identifier, unique device identifiers of several smart devices, dynamic keys, and validity periods, a preset format of mapping content can be generated. This mapping content is then associated with a dynamic QR code, allowing the client to obtain the mapping content when scanning the dynamic QR code, thus generating a binding request in subsequent steps. After associating the mapping content with the dynamic QR code, the dynamic QR code is published to fixed display devices, accompanying applications, or web pages within the hotel rooms.

[0082] S2. In response to the binding request generated by the client based on the dynamic QR code, assess whether the current network status allows the new client to access; if so, send the binding request to each target device to associate the client with the target device;

[0083] In one embodiment, please refer to Figure 2 The binding request is generated through the following steps:

[0084] In response to the mapping content corresponding to the dynamic QR code, the client is redirected to the binding interface according to the preset URL field;

[0085] Through the binding interface, select the target device from several smart devices corresponding to the smart gateway, and generate a binding request based on the user identity, the unique device identifier of the target device, and the mapping content;

[0086] Perform a validity check on the binding request.

[0087] Hotel room guests use a client app to scan a dynamic QR code provided by the display device, accompanying application, or webpage to obtain the URL field in the mapping content. Based on the URL field, they are automatically redirected to the binding interface. The binding interface is the binding interface of the hotel's dedicated application or webpage. The binding interface displays the prompt "Please select the device to bind," and supports single or multiple selection of smart devices from the device list. Furthermore, the smart gateway performs real-time verification on the corresponding smart devices (identifying online or offline status). If a device is offline, it is immediately deactivated and displayed as offline in the device list. After the user selects a device through the client app, the device card is highlighted on the interface, and a confirmation button (such as "Bind Selected Device") pops up.

[0088] The user-selected smart device is designated as the target device. A binding request is generated based on the user's identity, the unique device identifier corresponding to the target device, the region identifier, the dynamic key, and the current timestamp. For example, {

[0089] "user_id": "guest_101", / / User ID

[0090] "room_id": "101", / / Area identifier

[0091] "device_ids": ["TV-001", "Speaker-001"], / / List of unique device identifiers selected by the user

[0092] "dynamic_key": "dynamic key",

[0093] "timestamp": 1625097600 / / Request timestamp}

[0094] After the binding request is generated, it is sent to the smart gateway, which can verify the validity of the binding request based on the dynamic key and the current timestamp.

[0095] In one embodiment, after generating the dynamic QR code and its corresponding dynamic key and validity period through the encryption algorithm in step S12, the method further includes the following steps:

[0096] Store the dynamic QR code, its corresponding dynamic key, and validity period in the smart gateway;

[0097] The legality verification of the binding request is performed through the smart gateway by the following steps:

[0098] Based on the binding request, obtain the user's identity identifier, the target device's unique device identifier, the region identifier, the dynamic key, and the current timestamp;

[0099] The system sends the area identifier and user identity identifier to the central server and receives the access permission verification result returned by the central server. When a user checks in, the user identity identifier is associated with the corresponding area identifier. The user identity identifier can be a check-in credential generated based on an ID card or mobile phone number, or a temporary token. For example, if the area identifier for a user's room number is 101, then only devices within area identifier 101 are allowed to be bound. For situations where multiple users check into a hotel room, multiple users use a meeting room, or users use multiple clients, each area identifier can be bound to multiple user identity identifiers. The central server's access permission verification result is implemented through Access Control Lists (ACLs) or Role-Based Access Control (RBAC) models to reject cross-room binding requests.

[0100] Determine whether the dynamic key in the binding request is consistent with the stored value, and perform a timeliness check based on the current timestamp and the validity period of the dynamic QR code.

[0101] This embodiment generates a dynamic key through an encryption algorithm and binds it to the device identifier, region information, and validity period to form a dynamic QR code. After the client scans the code, it is automatically redirected to the binding interface. Combining user authentication and digital signature technology, the legitimacy of the binding request and data integrity are ensured to improve the security of device association and prevent QR code theft or tampering.

[0102] In one embodiment, assessing whether the current network environment allows a new device to access the network includes the following steps:

[0103] The gateway device calculates the remaining available bandwidth percentage by using the real-time total network bandwidth and used bandwidth. The smart gateway device obtains the total network bandwidth (e.g., 100Mbps for a hotel room network) and the currently used bandwidth (e.g., 60Mbps used) in real time through the SNMP protocol or API interface, and calculates the remaining available bandwidth percentage as 40%.

[0104] The signal strength between the client and each target device is measured using a Wi-Fi / Bluetooth module, and the current channel occupancy is obtained. In this embodiment, Wi-Fi and / or Bluetooth modules are available in the hotel room. The Wi-Fi module evaluates the signal strength (Received Signal Strength Indicator) by scanning the RSSI values ​​of the client and target devices; the Bluetooth module uses the LQI (Link Quality Indicator) to evaluate the signal strength. Furthermore, the gateway obtains the Wi-Fi channel occupancy through spectrum analysis.

[0105] Get the data throughput of the currently connected smart devices; the smart gateway records the data throughput of each smart device in real time, and the unit of data throughput is Mbps.

[0106] Network environment assessment indicators are generated based on the remaining available bandwidth ratio, signal strength of the client and each target device, channel occupancy, number of interference sources, and data throughput. In one embodiment, the remaining available bandwidth ratio, signal strength of the client and each target device, channel occupancy, number of interference sources, and data throughput are converted into several standardized scores from 0 to 100, and then a weighted average algorithm is used to process the several standardized scores to generate network environment assessment indicators.

[0107] Whether to allow new devices to access the network is determined based on network environment assessment indicators and preset rules. In one embodiment, the preset rules can be a network environment assessment indicator ≥ 70 points, and specific thresholds can be set for any of the network environment assessment indicators generated for the remaining available bandwidth ratio, signal strength of the client and each target device, channel occupancy rate, number of interference sources, and data throughput, such as remaining bandwidth ≥ estimated demand of new devices, RSSI ≥ -80dBm.

[0108] This embodiment dynamically assesses remaining resources and decides on new client access by monitoring network bandwidth, signal strength, and channel status in real time. Through load balancing and priority scheduling, it effectively avoids network congestion and ensures connection stability and service quality in concurrent scenarios.

[0109] S3. Determine the control terminal based on the control request, and set the corresponding playback parameters based on the end-to-end delay between the control terminal and each target device.

[0110] In one embodiment, determining the controlling end based on the control request includes the following steps:

[0111] Parse the control request to obtain the request source client and target device;

[0112] If the requesting client and the client in control are the same, the process ends.

[0113] If the requesting client and the controlling client are not the same, and the target device is in exclusive control state, a permission error code will be returned.

[0114] If the requesting client and the controlling client are not the same, and the target device is in a shared control state, then the requesting client will be designated as the controlling client, and a control switch notification will be broadcast to all clients associated with the target device. The current state of the target device will then be returned to the controlling client.

[0115] This embodiment intelligently determines control ownership based on device status (exclusive / shared) and user permissions. In exclusive mode, conflicting requests are blocked; in shared mode, control is dynamically switched, and status change notifications are broadcast, achieving smooth control transition and multi-user collaborative operation.

[0116] To accurately measure the network transmission and processing latency between the control terminal and each target device, and to provide a basis for adjusting playback parameters, the end-to-end latency between the control terminal and each target device is obtained through the following steps:

[0117] The controlling end sends probe data to the smart gateway and records the probe sending timestamp;

[0118] The smart gateway forwards the probe data to each target device, and each target device records the probe reception timestamp;

[0119] The target device sends response data to the smart gateway and records the response sending timestamp;

[0120] The smart gateway sends the response data to the control terminal, which records the response reception timestamp.

[0121] The end-to-end delay is calculated based on the probe send timestamp, probe receive timestamp, response send timestamp, and response receive timestamp.

[0122] In this embodiment, the control terminal sends a probe packet (including probe sending timestamp T1) to the target device through the smart gateway. Upon receiving the packet, the target device records the probe receiving timestamp T2 and immediately returns a response packet to the control terminal (including T1, T2, and response sending timestamp T3) through the smart gateway. The control terminal records the arrival time of the response data as the response receiving timestamp T4. Based on the above process, the uplink latency (client → device) is represented as (T2 - T1), the downlink latency (device → client) is represented as (T4 - T3), the total end-to-end latency is represented as [(uplink latency + downlink latency) / 2], and the target device processing latency is represented as (T3 - T2). It should be noted that the end-to-end latency between the control terminal and each target device is determined by performing a full probe during the initial connection. Subsequent probes can be triggered at fixed intervals (e.g., every 10 seconds) or according to network status changes (e.g., packet loss rate > 5%).

[0123] Furthermore, the step of setting corresponding playback parameters based on the end-to-end delay between the control terminal and each target device includes the following steps:

[0124] Obtain the playback timestamp of each target device based on the control request;

[0125] The target device with the lowest end-to-end latency is designated as the reference device.

[0126] Calculate the end-to-end delay difference between each target device and the reference device;

[0127] The new playback timestamp is the sum of the playback timestamp of the target device and the difference.

[0128] This embodiment uses bidirectional timestamp exchange to accurately calculate network transmission and device processing latency, and dynamically adjusts the playback timestamps of each target device to ensure audio and video synchronization accuracy and smoothness, adapting to the real-time needs of complex network environments.

[0129] S4. Control each target device according to the control request and playback parameters.

[0130] Furthermore, the step of controlling each target device according to the control request and playback parameters includes the following steps:

[0131] Based on the network segment to which the target device belongs, each target device is divided into multiple logical multicast groups, and an independent multicast address is assigned to each logical multicast group;

[0132] The control commands are encapsulated into several multicast data packets, and the multicast data packets are forwarded to various multicast addresses.

[0133] This embodiment divides logical multicast groups according to the network segment to which the device belongs, encapsulates instructions and forwards them in a targeted manner to isolate data streams from multiple clients, achieves efficient cross-network segment communication and resource isolation, and improves system throughput and the stability of audio and video playback.

[0134] Example 2

[0135] The present invention also provides a hotel smart device networking system, including a QR code management module, a binding management module, a network evaluation module, an access control module, and a synchronization control module;

[0136] The QR code management module is used to publish dynamic QR codes for binding smart devices;

[0137] The binding management module is used to generate binding requests based on dynamic QR codes and send the binding requests to each target device.

[0138] The network evaluation module is used to evaluate whether the current network status allows new clients to access the network.

[0139] The access control module is used to determine the control authority based on the control request;

[0140] The synchronization control module is used to set corresponding playback parameters based on the end-to-end delay between the control terminal and each target device, and to control each target device based on the control request and playback parameters.

[0141] This invention simplifies the device binding process by generating binding requests using dynamic QR codes. Users can automatically associate with target devices simply by scanning the code. At the same time, dynamic keys and timeliness verification effectively prevent QR code theft or tampering, improving the convenience and security of network setup. By assessing the current network status to determine whether to allow new clients to access, the invention dynamically decides whether to grant access permission, supporting multi-device control while avoiding network overload.

[0142] By setting corresponding playback parameters based on the end-to-end delay between the control terminal and each target device, the delay can be accurately measured and the playback parameters can be dynamically adjusted, thereby reducing the audio and video synchronization error of multiple devices.

[0143] In the embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or component libraries may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between modules may be electrical, mechanical, or other forms.

[0144] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple grid modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0145] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0146] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or grid device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, dynamic hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0147] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method and system for networking intelligent devices in a hotel, characterized in that: Including the following steps: Release dynamic QR codes for binding smart devices; In response to the client's binding request generated based on the dynamic QR code, assess whether the current network status allows the new client to access; If permitted, a binding request will be sent to each target device to associate the client with the target device; The control terminal is determined based on the control request, and the corresponding playback parameters are set based on the end-to-end delay between the control terminal and each target device. Control each target device according to the control request and playback parameters; The end-to-end delay between the control terminal and each target device is obtained through the following steps: The controlling end sends probe data to the smart gateway and records the probe sending timestamp; The smart gateway forwards the probe data to each target device, and each target device records the probe reception timestamp; The target device sends response data to the smart gateway and records the response sending timestamp; The smart gateway sends the response data to the control terminal, which records the response reception timestamp. Calculate the end-to-end delay based on the probe transmission timestamp, probe reception timestamp, response transmission timestamp, and response reception timestamp; The step of setting corresponding playback parameters based on the end-to-end delay between the control terminal and each target device includes the following steps: Obtain the playback timestamp of each target device based on the control request; The target device with the lowest end-to-end latency is designated as the reference device. Calculate the end-to-end delay difference between each target device and the reference device; The new playback timestamp is the sum of the playback timestamp of the target device and the difference.

2. The hotel intelligent device networking method according to claim 1, characterized in that: The process of publishing a dynamic QR code for binding a smart device includes the following steps: Obtain the unique device identifiers of several smart devices corresponding to the smart gateway in the hotel room; A dynamic QR code, its corresponding dynamic key, and validity period are generated using an encryption algorithm; The mapping content is generated based on the preset URL field, the region identifier, the unique device identifier of several smart devices, the dynamic key, and the validity period, and then the mapping content is associated with the dynamic QR code.

3. The hotel intelligent device networking method according to claim 2, characterized in that: The binding request is generated through the following steps: In response to the mapping content corresponding to the dynamic QR code, the client is redirected to the binding interface according to the preset URL field; Through the binding interface, select the target device from several smart devices corresponding to the smart gateway, and generate a binding request based on the user identity, the unique device identifier of the target device, and the mapping content; Perform a validity check on the binding request.

4. The hotel intelligent device networking method according to claim 3, characterized in that: After generating the dynamic QR code, its corresponding dynamic key, and validity period through the encryption algorithm, the process further includes the following steps: Store the dynamic QR code, its corresponding dynamic key, and validity period in the smart gateway; The legality verification of the binding request is performed through the smart gateway by the following steps: Based on the binding request, obtain the user's identity identifier, the target device's unique device identifier, the region identifier, the dynamic key, and the current timestamp; Send the region identifier and user identity identifier to the central server, and receive the access permission verification result returned by the central server; Determine whether the dynamic key in the binding request is consistent with the stored value, and perform a timeliness check based on the current timestamp and the validity period of the dynamic QR code.

5. A method for networking intelligent hotel devices according to claim 1, characterized in that: The assessment of whether the current network environment allows new devices to access includes the following steps: Calculate the remaining available bandwidth percentage by using the gateway device to monitor the current total network bandwidth and used bandwidth in real time. The signal strength between the client and each target device is measured using a Wi-Fi / Bluetooth module, and the current channel occupancy rate is obtained. Get the data throughput of currently connected smart devices; The smart gateway records the data throughput of each smart device in real time; Network environment assessment indicators are generated based on the remaining available bandwidth ratio, signal strength of clients and target devices, channel occupancy, number of interference sources, and data throughput. Whether to allow new devices to connect is determined based on network environment assessment indicators and preset rules.

6. A method for networking intelligent hotel devices according to claim 1, characterized in that: The step of determining the controlling end based on the control request includes the following steps: Parse the control request to obtain the request source client and target device; If the requesting client and the client in control are the same, the process ends. If the requesting client and the controlling client are not the same, and the target device is in exclusive control state, a permission error code will be returned. If the requesting client and the controlling client are not the same, and the target device is in a shared control state, then the requesting client will be designated as the controlling client, and a control switch notification will be broadcast to all clients associated with the target device. The current state of the target device will then be returned to the controlling client.

7. A method for networking intelligent hotel devices according to claim 1, characterized in that: The process of controlling each target device according to the control request and playback parameters includes the following steps: Based on the network segment to which the target device belongs, each target device is divided into multiple logical multicast groups, and an independent multicast address is assigned to each logical multicast group; The control commands are encapsulated into several multicast data packets, and the multicast data packets are forwarded to various multicast addresses.

8. A hotel intelligent device networking system, characterized in that: This method is used to implement a hotel smart device networking method as described in any one of claims 1-7; it includes a QR code management module, a binding management module, a network evaluation module, an access control module, and a synchronization control module. The QR code management module is used to publish dynamic QR codes for binding smart devices; The binding management module is used to generate binding requests based on dynamic QR codes and send the binding requests to each target device. The network evaluation module is used to evaluate whether the current network status allows new clients to access the network. The access control module is used to determine the control authority based on the control request; The synchronization control module is used to set corresponding playback parameters based on the end-to-end delay between the control terminal and each target device, and to control each target device based on the control request and playback parameters.

Citation Information

Patent Citations

  • Method for binding intelligent gateway through binding code

    CN118827749A

  • Method, system and equipment for gateway configuration

    CN120090894A