Hotel intelligent equipment networking method and networking system
Through dynamic QR code binding and intelligent network evaluation, combined with precise delay compensation, the problems of multi-device management and synchronous control in hotel smart device networking are solved, and the convenience and user experience of networking are improved.
Patent Information
- Application Number
- CN202510849902.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-24
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2045-06-24
AI Technical Summary
The networking of hotel smart equipment is facing complex multi-device management, limited cross-network screen projection, and insufficient network stability, resulting in poor user experience, especially when audio and video synchronization control, screen stuttering and audio and video out of synchronization.
Dynamic QR code binding, intelligent network evaluation and precise delay compensation mechanism are adopted to generate binding requests through dynamic QR codes, evaluate network status and set playback parameters to realize automatic device association and synchronization control.
Simplify the equipment binding process, improve networking convenience and security, avoid network overload, accurately adjust playback parameters to reduce the synchronization error of multi-device audio and video, and improve user experience.
Smart Images

Figure CN120455191A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of device networking, and in particular to a hotel intelligent device networking method and a networking system. Background Art
[0002] In smart hotels and other venues, the coordinated operation of multiple audio and video devices (such as TVs, projectors, speakers, and lighting systems) has become a core requirement for improving user experience. Current hotel smart device networking faces challenges such as complex multi-device management, limited cross-segment screen projection, and insufficient network stability. Traditional solutions require placing audio and video devices and mobile phones on the same network segment, relying on static IP addresses or manually configured MAC address binding. This results in decentralized wireless network management, high deployment costs, and cumbersome and error-prone user operations. Furthermore, when controlling multiple audio and video devices simultaneously, the lack of a dynamic end-to-end delay compensation mechanism leads to significant differences in audio and video stream transmission delay, which can easily lead to problems such as screen freezes and audio and video desynchronization. Furthermore, connection stability is poor when there is network jitter or uneven device load, making it difficult to guarantee a guaranteed user experience. Summary of the Invention
[0003] The purpose of the present invention is to provide a hotel smart device networking method and networking system, which solves the problems of complex multi-device management, limited cross-network screen projection and synchronous control through dynamic binding, intelligent network evaluation, precise delay compensation and efficient multicast communication, and significantly improves the collaborative efficiency, security and user experience of hotel smart devices.
[0004] In a first aspect, the present invention provides a hotel smart device networking method and networking system, comprising the steps of: Publish dynamic QR codes for binding smart devices; In response to a binding request generated by the client based on the dynamic QR code, evaluating whether the current network status allows the new client to access; if so, sending the binding request to each target device to associate the client with the target device; Determine the control authority end according to the control request, and set corresponding playback parameters according to the end-to-end delay between the control authority end and each target device; Control each target device according to the control request and playback parameters.
[0005] As a preferred solution of the present invention, the method of publishing a dynamic QR code for binding a smart device includes the following steps: Obtain unique device identifiers of several smart devices corresponding to the smart gateway in the hotel room; Generate a dynamic QR code and its corresponding dynamic key and validity period through an encryption algorithm; The mapping content is generated according to the preset URL field, the area identifier, the unique device identifiers of several smart devices, the dynamic key and the validity period, and the mapping content is associated with the dynamic QR code.
[0006] As a preferred solution of the present invention, the binding request is generated by the following steps: In response to the mapping content corresponding to the dynamic QR code, the client jumps to the binding interface according to the preset URL field; Select a target device from several smart devices corresponding to the smart gateway through the binding interface, and generate a binding request based on the user identity, the unique device identifier of the target device and the mapping content; Verify the validity of the binding request.
[0007] As a preferred solution of the present invention, after the dynamic QR code and its corresponding dynamic key and validity period are generated by the encryption algorithm, the following steps are also included: The dynamic QR code and its corresponding dynamic key and validity period are stored in the smart gateway; The binding request is verified to be valid by performing the following steps through the smart gateway: Obtain the user identity, the unique device identifier of the target device, the region identifier, the dynamic key, and the current timestamp according to the binding request; Send the region ID and user ID to the central server, and receive the access rights 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.
[0008] As a preferred solution of the present invention, the step of evaluating whether the current network environment allows access of a new device comprises the following steps: Calculate the remaining available bandwidth ratio through the current total network bandwidth and used bandwidth of the gateway device in real time; Measure the signal strength between the client and each target device through the Wi-Fi / Bluetooth module and obtain the current channel occupancy rate; Get the data throughput corresponding to the currently connected smart device; the smart gateway records the data throughput of each smart device in real time; Generate network environment evaluation indicators based on the remaining available bandwidth ratio, signal strength between the client and each target device, channel occupancy, number of interference sources, and data throughput; Determine whether to allow new devices to access based on network environment evaluation indicators and preset rules.
[0009] As a preferred solution of the present invention, the step of determining the control authority terminal according to the control request includes the following steps: Parse the control request to obtain the request source client and target device; If the request source client is the same as the control authority client, the process ends; If the request source client is inconsistent with the control authority, and the target device is in exclusive control, a permission error code is returned; If the request source client is inconsistent with the control authority, and the target device is in a shared control state, the request source client is used as the control authority, and a control switching notification is broadcast to all clients associated with the target device, and the current state of the target device is returned to the control authority.
[0010] As a preferred solution of the present invention, the end-to-end delay between the control authority end and each target device is obtained by the following steps: The control authority sends the detection data to the smart gateway and records the detection sending timestamp; The intelligent gateway forwards the detection data to each target device, and each target device records the detection reception timestamp; The target device sends response data to the smart gateway and records the response sending timestamp; The intelligent gateway sends the response data to the control authority, which records the response reception timestamp; The end-to-end delay is calculated based on the probe sending timestamp, probe receiving timestamp, response sending timestamp, and response receiving timestamp.
[0011] As a preferred solution of the present invention, the step of setting corresponding playback parameters according to the end-to-end delay between the control authority end and each target device includes the following steps: Get the playback timestamp of each target device according to the control request; Designate the target device with the lowest end-to-end latency as the benchmark device; Calculate the end-to-end latency difference between each target device and the baseline device; The sum of the target device's playback timestamp and the difference is used as the new playback timestamp.
[0012] As a preferred solution of the present invention, the method of controlling each target device according to the control request and the playback parameters includes the following steps: Divide each target device into multiple logical multicast groups based on the network segment to which it belongs, and assign an independent multicast address to each logical multicast group; The control instructions are encapsulated into several multicast data packets, and the multicast data packets are forwarded to various multicast addresses.
[0013] In a second aspect, the present invention further provides a hotel smart device networking system, including a QR code management module, a binding management module, a network evaluation module, a permission control module and a synchronization control module; The QR code management module is used to publish a dynamic QR code for binding a smart device; The binding management module is used to generate a binding request according to the dynamic QR code and send the binding request to each target device; The network evaluation module is used to evaluate whether the current network status allows new client access; The authority control module is used to determine the control authority end according to the control request; The synchronization control module is used to set corresponding playback parameters according to the end-to-end delay between the control authority end and each target device, and to control each target device according to the control request and the playback parameters.
[0014] The beneficial effects of the present invention are: The present invention simplifies the device binding process through the binding request generated by the dynamic QR code. The user can automatically associate the target device by scanning the code. At the same time, the dynamic key and timeliness verification effectively prevent the QR code from being stolen or tampered with, thereby improving the convenience and security of networking. By evaluating the current network status to determine whether to allow new client access, the access permission is dynamically decided, and network overload is avoided while supporting multi-device control. By setting the corresponding playback parameters according to the end-to-end delay between the control authority and each target device, accurate delay measurement and dynamic adjustment of the playback parameters are achieved, thereby reducing the audio and video synchronization error of multiple devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0017] Figure 1 A schematic diagram of a process for networking hotel smart devices according to an embodiment of the present invention; Figure 2 The figure is a flow chart of generating a binding request according to an embodiment of the present invention. DETAILED DESCRIPTION
[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0019] 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 position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0020] In addition, the descriptions of "first", "second", etc. in the present invention are for descriptive purposes only and should not be understood as indicating or implying their relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0021] In smart hotels and other venues, the coordinated operation of multiple audio and video devices (such as TVs, projectors, speakers, and lighting systems) has become a core requirement for improving user experience. Current hotel smart device networking faces challenges such as complex multi-device management, limited cross-segment screen projection, and insufficient network stability. Traditional solutions require placing audio and video devices and mobile phones on the same network segment, relying on static IP addresses or manually configured MAC address binding. This results in decentralized wireless network management, high deployment costs, and cumbersome and error-prone user operations. Furthermore, when controlling multiple audio and video devices simultaneously, the lack of a dynamic end-to-end delay compensation mechanism leads to significant differences in audio and video stream transmission delay, which can easily lead to problems such as screen freezes and audio and video desynchronization. Furthermore, connection stability is poor when there is network jitter or uneven device load, making it difficult to guarantee a guaranteed user experience.
[0022] Example 1 Please refer to Figure 1 The present invention provides a hotel intelligent device networking method, comprising the steps of: Publish dynamic QR codes for binding smart devices; In response to a binding request generated by the client based on the dynamic QR code, evaluating whether the current network status allows the new client to access; if so, sending the binding request to each target device to associate the client with the target device; Determine the control authority end according to the control request, and set corresponding playback parameters according to the end-to-end delay between the control authority end and each target device; Control each target device according to the control request and playback parameters.
[0023] The present invention simplifies the device binding process by generating a binding request through a dynamic QR code. Users can automatically associate the target device by scanning the code. At the same time, the dynamic key and timeliness verification effectively prevent the QR code from being stolen or tampered with, improving the convenience and security of networking. By evaluating the current network status to determine whether to allow new client access, the access permission is dynamically determined, supporting multi-device control while avoiding network overload. By setting corresponding playback parameters based on the end-to-end delay between the control end and each target device, accurate delay measurement and dynamic adjustment of playback parameters can be achieved to reduce the audio and video synchronization error of multiple devices.
[0024] Specifically, a hotel smart device networking method according to an embodiment of the present invention is described in detail through the following content: A hotel smart device networking method, comprising the steps of: S1. Publish a dynamic QR code for binding smart devices; In one embodiment, the method of publishing a dynamic QR code for binding a smart device includes the following steps: S11. Obtain unique device identifiers of several smart devices corresponding to the smart gateway in the hotel room; S12. Generate a dynamic QR code and its corresponding dynamic key and validity period through an encryption algorithm; S13. Generate mapping content according to the preset URL field, the region identifier, the unique device identifiers of several smart devices, the dynamic key and the validity period, and associate the mapping content with the dynamic QR code.
[0025] In this embodiment, each smart device (such as a TV or a stereo) is provided with a unique device identifier, which can be generated by a MAC address or a UUID. The area identifier can be a unique identifier corresponding to each hotel room.
[0026] Generating a dynamic QR code can be achieved using existing encryption algorithms, which output a dynamic key and validity period along with the dynamic QR code. It should be noted that based on the validity period, the smart gateway corresponding to each hotel room will request a refresh of the QR code from the hotel's central server to ensure that the old QR code automatically expires.
[0027] Based on the acquired area identifiers, the unique device identifiers of several smart devices, the dynamic key, and the validity period, a pre-formatted mapping content is generated. This mapping content is then associated with the dynamic QR code. When the client scans the dynamic QR code, the mapping content is retrieved, allowing for the generation of a binding request in subsequent steps. After associating the mapping content with the dynamic QR code, the dynamic QR code is published to a fixed display device, a supporting application, or a webpage within the hotel room.
[0028] S2. In response to a binding request generated by the client according to the dynamic QR code, evaluating whether the current network status allows access by the new client; if so, sending a binding request to each target device to associate the client with the target device; In one embodiment, please refer to Figure 2 , the binding request is generated by the following steps: In response to the mapping content corresponding to the dynamic QR code, the client jumps to the binding interface according to the preset URL field; Select a target device from several smart devices corresponding to the smart gateway through the binding interface, and generate a binding request based on the user identity, the unique device identifier of the target device and the mapping content; Verify the validity of the binding request.
[0029] Hotel room occupants use the client to scan the dynamic QR code provided by the display device, supporting application or web page, obtain the URL field in the mapping content, and then automatically jump to the binding interface based on the URL field in the mapping content. The binding interface is the binding interface of the hotel's dedicated application or web page. The "Please select the device to bind" prompt is displayed in the binding interface, and single or multiple selections of smart devices are supported in the device list; in addition, the smart gateway will perform real-time verification of the corresponding smart devices (identify online or offline). If the device is offline, it will be immediately deactivated and displayed as offline in the device list. After the user selects the device through the client, the interface highlights the device card and pops up a confirmation button (such as "Bind selected device").
[0030] The smart device selected by the user is recorded as the target device, and a binding request is generated based on the user identity, the unique device identifier corresponding to the target device, the region identifier, the dynamic key and the current timestamp, for example { "user_id": "guest_101", / / User ID "room_id": "101", / / Area ID "device_ids": ["TV-001", "Speaker-001"], / / List of unique device identifiers selected by the user "dynamic_key": "Dynamic key", "timestamp": 1625097600 / / Request timestamp} .
[0031] After the binding request is generated, it is sent to the smart gateway, which can perform a validity check based on the dynamic key and current timestamp in the binding request.
[0032] In one embodiment, after step S12, in which a dynamic QR code and its corresponding dynamic key and validity period are generated by an encryption algorithm, the following steps are further included: The dynamic QR code and its corresponding dynamic key and validity period are stored in the smart gateway; The binding request is verified to be valid by performing the following steps through the smart gateway: Obtain the user identity, the unique device identifier of the target device, the region identifier, the dynamic key, and the current timestamp according to the binding request; The area identifier and user identity are sent to the central server, and the central server returns the access permission verification result. When a user checks in, the user identity is associated with the corresponding area identifier. The user identity can be a check-in certificate or temporary token generated based on an ID card or mobile phone number. For example, if the area identifier of the user's room is 101, only devices within area identifier 101 are allowed to be bound. For situations where multiple users stay in a hotel room, multiple people use a conference room, or users use multiple clients, each area identifier can be bound to multiple user identities. The central server's access permission verification result is implemented through an access control list (ACL) or role-based access control (RBAC) model to reject cross-room binding requests.
[0033] 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.
[0034] This embodiment uses an encryption algorithm to generate a dynamic key, which is then bound to the device identifier, region information, and validity period to form a dynamic QR code. After scanning the code, the client is automatically redirected to the binding interface. This interface combines user authentication and digital signature technology to ensure the legitimacy and data integrity of the binding request, enhancing the security of device associations while preventing theft or tampering of the QR code.
[0035] In one embodiment, the step of evaluating whether the current network environment allows access of a new device includes the following steps: The gateway device uses the current total network bandwidth and used bandwidth in real time to calculate the remaining available bandwidth ratio. The smart gateway device obtains the total network bandwidth (for example, the total network bandwidth of the hotel room is 100Mbps) and the current used bandwidth (for example, 60Mbps is used) in real time through the SNMP protocol or API interface, and calculates that the remaining available bandwidth ratio is 40%.
[0036] The Wi-Fi / Bluetooth module measures the signal strength between the client and each target device and obtains the current channel occupancy. In this embodiment, hotel rooms can use Wi-Fi and / or Bluetooth modules. The Wi-Fi module evaluates signal strength (Received Signal Strength Indicator) by scanning the RSSI values between the client and target devices; the Bluetooth module uses the Link Quality Indicator (LQI) to evaluate signal strength. Furthermore, the gateway obtains Wi-Fi channel occupancy through spectrum analysis.
[0037] Get the data throughput corresponding to the currently connected smart device; the smart gateway records the data throughput of each smart device in real time, and the unit of data throughput is Mbps.
[0038] A network environment evaluation index is generated based on the remaining available bandwidth ratio, the signal strength between the client and each target device, the channel occupancy rate, the number of interference sources, and the data throughput. In one embodiment, the remaining available bandwidth ratio, the signal strength between the client and each target device, the channel occupancy rate, the number of interference sources, and the data throughput are converted into several standardized scores ranging from 0 to 100, and then a weighted average algorithm is used to process the several standardized scores to generate the network environment evaluation index.
[0039] Whether to allow new device access is determined based on network environment evaluation indicators and preset rules. In one embodiment, the preset rule can be a network environment evaluation indicator ≥ 70 points. Specific thresholds can be set for any of the network environment evaluation indicators, including the remaining available bandwidth ratio, signal strength between the client and each target device, channel occupancy, number of interference sources, and data throughput. For example, remaining bandwidth ≥ estimated new device demand and RSSI ≥ -80dBm can be used.
[0040] This embodiment monitors network bandwidth, signal strength, and channel status in real time, dynamically assessing remaining resources and deciding on new client access. Through load balancing and priority scheduling, network congestion is effectively avoided, ensuring connection stability and service quality in concurrent scenarios.
[0041] S3. Determine the control authority end according to the control request, and set corresponding playback parameters according to the end-to-end delay between the control authority end and each target device.
[0042] In one embodiment, determining the control authority terminal according to the control request includes the following steps: Parse the control request to obtain the request source client and target device; If the request source client is the same as the control authority client, the process ends; If the request source client is inconsistent with the control authority, and the target device is in exclusive control, a permission error code is returned; If the request source client is inconsistent with the control authority, and the target device is in a shared control state, the request source client is used as the control authority, and a control switching notification is broadcast to all clients associated with the target device, and the current state of the target device is returned to the control authority.
[0043] 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 notifications of state changes are broadcast, enabling smooth control transitions and multi-user collaboration.
[0044] To accurately measure the network transmission delay and processing delay between the control authority and each target device and provide a basis for adjusting playback parameters, the end-to-end delay between the control authority and each target device is obtained through the following steps: The control authority sends the detection data to the smart gateway and records the detection sending timestamp; The intelligent gateway forwards the detection data to each target device, and each target device records the detection reception timestamp; The target device sends response data to the smart gateway and records the response sending timestamp; The intelligent gateway sends the response data to the control authority, which records the response reception timestamp; The end-to-end delay is calculated based on the probe sending timestamp, probe receiving timestamp, response sending timestamp, and response receiving timestamp.
[0045] In this embodiment, the controller sends a probe packet (including the probe sending timestamp T1) to the target device via the intelligent gateway. Upon receiving the probe, the target device records the probe receiving timestamp T2 and immediately returns a response packet to the controller via the intelligent gateway (including T1, T2, and the response sending timestamp T3). The controller records the arrival time of the response data as the response receiving timestamp T4. Based on the above process, the uplink delay (client → device) is expressed as (T2 - T1), the downlink delay (device → client) is expressed as (T4 - T3), the total end-to-end delay is expressed as [(uplink delay + downlink delay) / 2], and the target device processing delay is expressed as (T3 - T2). It should be noted that the end-to-end delay between the controller and each target device is determined by performing a full probe upon initial connection. Subsequent probes can be triggered periodically (e.g., every 10 seconds) or upon changes in network status (e.g., packet loss rate > 5%).
[0046] Furthermore, the step of setting corresponding playback parameters according to the end-to-end delay between the control authority end and each target device includes the following steps: Get the playback timestamp of each target device according to the control request; Designate the target device with the lowest end-to-end latency as the benchmark device; Calculate the end-to-end latency difference between each target device and the baseline device; The sum of the target device's playback timestamp and the difference is used as the new playback timestamp.
[0047] This embodiment accurately calculates network transmission and device processing delays through bidirectional timestamp exchange, 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.
[0048] S4. Control each target device according to the control request and playback parameters.
[0049] Furthermore, the controlling of each target device according to the control request and the playback parameters comprises the steps of: Divide each target device into multiple logical multicast groups based on the network segment to which it belongs, and assign an independent multicast address to each logical multicast group; The control instructions are encapsulated into several multicast data packets, and the multicast data packets are forwarded to various multicast addresses.
[0050] This embodiment divides logical multicast groups according to the network segments to which devices belong, encapsulates instructions and forwards them in a targeted manner to isolate multi-client data streams, achieve efficient cross-segment communication and resource isolation, and improve system throughput and audio and video playback stability.
[0051] Example 2 The present invention also provides a hotel intelligent device networking system, including a QR code management module, a binding management module, a network evaluation module, a permission control module and a synchronization control module; The QR code management module is used to publish a dynamic QR code for binding a smart device; The binding management module is used to generate a binding request according to the dynamic QR code and send the binding request to each target device; The network evaluation module is used to evaluate whether the current network status allows new client access; The authority control module is used to determine the control authority end according to the control request; The synchronization control module is used to set corresponding playback parameters according to the end-to-end delay between the control authority end and each target device, and to control each target device according to the control request and the playback parameters.
[0052] The present invention simplifies the device binding process by generating a binding request through a dynamic QR code. Users can automatically associate the target device by scanning the code. At the same time, the dynamic key and timeliness verification effectively prevent the QR code from being stolen or tampered with, improving the convenience and security of networking. By evaluating the current network status to determine whether to allow new client access, the access permission is dynamically determined, supporting multi-device control while avoiding network overload. By setting corresponding playback parameters based on the end-to-end delay between the control end and each target device, accurate delay measurement and dynamic adjustment of playback parameters can be achieved to reduce the audio and video synchronization error of multiple devices.
[0053] 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 example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or component libraries can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules, which can be electrical, mechanical or other forms.
[0054] The modules described as separate components may or may not be physically separate, and 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 may be selected to achieve the purpose of this embodiment according to actual needs.
[0055] In addition, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The above-mentioned integrated modules may be implemented in the form of hardware or software functional modules.
[0056] If the integrated module is implemented in the form of 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, or the part that contributes to the existing technology, 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 for enabling a computer device (which can be a personal computer, server, or grid device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: USB flash drives, dynamic hard drives, read-only memories (ROM), random access memories (RAM), magnetic disks, optical disks, and other media that can store program code.
[0057] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present 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 present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A hotel intelligent device networking method and networking system, characterized by: Including steps: Publish dynamic QR codes for binding smart devices; In response to a binding request generated by a client based on a dynamic QR code, evaluating whether the current network status allows new client access; If allowed, a binding request is sent to each target device to associate the client with the target device; Determine the control authority end according to the control request, and set corresponding playback parameters according to the end-to-end delay between the control authority end and each target device; Control each target device according to the control request and playback parameters.
2. A hotel intelligent device networking method according to claim 1, characterized in that: The method of publishing a dynamic QR code for binding a smart device includes the following steps: Obtain unique device identifiers of several smart devices corresponding to the smart gateway in the hotel room; Generate a dynamic QR code and its corresponding dynamic key and validity period through an encryption algorithm; The mapping content is generated according to the preset URL field, the area identifier, the unique device identifiers of several smart devices, the dynamic key and the validity period, and the mapping content is associated with the dynamic QR code.
3. A hotel intelligent device networking method according to claim 2, characterized in that: The binding request is generated by the following steps: In response to the mapping content corresponding to the dynamic QR code, the client jumps to the binding interface according to the preset URL field; Select a target device from several smart devices corresponding to the smart gateway through the binding interface, and generate a binding request based on the user identity, the unique device identifier of the target device and the mapping content; Verify the validity of the binding request.
4. A hotel intelligent device networking method according to claim 3, characterized in that: After the dynamic QR code and its corresponding dynamic key and validity period are generated by the encryption algorithm, the following steps are also included: The dynamic QR code and its corresponding dynamic key and validity period are stored in the smart gateway; The binding request is verified to be valid by performing the following steps through the smart gateway: Obtain the user identity, the unique device identifier of the target device, the region identifier, the dynamic key, and the current timestamp according to the binding request; Send the region ID and user ID to the central server, and receive the access rights 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 hotel intelligent device networking method according to claim 1, characterized in that: The step of evaluating whether the current network environment allows new devices to access the network includes the following steps: Calculate the remaining available bandwidth ratio through the current total network bandwidth and used bandwidth of the gateway device in real time; Measure the signal strength between the client and each target device through the Wi-Fi / Bluetooth module and obtain the current channel occupancy rate; Get the data throughput corresponding to the currently connected smart device; The smart gateway records the data throughput of each smart device in real time; Generate network environment evaluation indicators based on the remaining available bandwidth ratio, signal strength between the client and each target device, channel occupancy, number of interference sources, and data throughput; Determine whether to allow new devices to access based on network environment evaluation indicators and preset rules.
6. A hotel intelligent device networking method according to claim 1, characterized in that: The method of determining the control authority terminal according to the control request includes the following steps: Parse the control request to obtain the request source client and target device; If the request source client is the same as the control authority client, the process ends; If the request source client is inconsistent with the control authority, and the target device is in exclusive control, a permission error code is returned; If the request source client is inconsistent with the control authority, and the target device is in a shared control state, the request source client is used as the control authority, and a control switching notification is broadcast to all clients associated with the target device, and the current state of the target device is returned to the control authority.
7. A hotel intelligent device networking method according to claim 1, characterized in that: The end-to-end delay between the control authority and each target device is obtained by the following steps: The control authority sends the detection data to the smart gateway and records the detection sending timestamp; The intelligent gateway forwards the detection data to each target device, and each target device records the detection reception timestamp; The target device sends response data to the smart gateway and records the response sending timestamp; The intelligent gateway sends the response data to the control authority, which records the response reception timestamp; The end-to-end delay is calculated based on the probe sending timestamp, probe receiving timestamp, response sending timestamp, and response receiving timestamp.
8. A hotel intelligent device networking method according to claim 1, characterized in that: The method of setting corresponding playback parameters according to the end-to-end delay between the control authority end and each target device comprises the steps of: Get the playback timestamp of each target device according to the control request; Designate the target device with the lowest end-to-end latency as the benchmark device; Calculate the end-to-end latency difference between each target device and the baseline device; The sum of the target device's playback timestamp and the difference is used as the new playback timestamp.
9. A hotel intelligent device networking method according to claim 1, characterized in that: The method of controlling each target device according to the control request and the playback parameters comprises the following steps: Divide each target device into multiple logical multicast groups based on the network segment to which it belongs, and assign an independent multicast address to each logical multicast group; The control instructions are encapsulated into several multicast data packets, and the multicast data packets are forwarded to various multicast addresses.
10. A hotel intelligent device networking system, characterized by: Used to implement a hotel smart device networking method as described in any one of claims 1 to 9; comprising a QR code management module, a binding management module, a network evaluation module, a permission control module and a synchronization control module; The QR code management module is used to publish a dynamic QR code for binding a smart device; The binding management module is used to generate a binding request according to the dynamic QR code and send the binding request to each target device; The network evaluation module is used to evaluate whether the current network status allows new client access; The authority control module is used to determine the control authority end according to the control request; The synchronization control module is used to set corresponding playback parameters according to the end-to-end delay between the control authority end and each target device, and to control each target device according to the control request and the playback parameters.
Citation Information
Patent Citations
Access management method, device and system of two-dimensional code scanning for intelligent display equipment
CN106792696A
User switching method for shared equipment
CN107659619A
Hotel multi-screen interactive dynamic management realizing system and method flow thereof
CN109660815A
Binding method and system based on two-dimensional code
CN112560529A
Method for binding intelligent gateway through binding code
CN118827749A