Digital signage synchronous playing system and method based on hierarchical control and hybrid communication
The digital signage synchronization system, which utilizes hierarchical control and hybrid communication, solves the problems of asynchronous playback and unstable networks in large-scale supermarkets, achieving efficient synchronization and stable control, and improving the marketing effectiveness and customer experience of supermarkets.
Patent Information
- Application Number
- CN202511762602.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-27
- Publication Date
- 2026-02-06
AI Technical Summary
Existing digital signage network control systems suffer from problems such as playback asynchrony, network latency, jitter, bandwidth imbalance, and inconsistent device clocks in large-scale distributed scenarios, leading to playback abnormalities and impacting brand image, making it difficult to meet the synchronization control needs of supermarkets and shopping malls.
The system adopts a hierarchical control architecture, using a hybrid communication method that combines a cloud control layer, a wide area network transmission layer, and a store LAN control layer. The main device acts as the authoritative source of the LAN clock, enabling efficient synchronization and time calibration within the LAN. It also performs video distribution and area trigger control within the LAN, ensuring system stability and flexibility.
It enables efficient synchronous playback on screens in different areas, optimizes the customer viewing experience, ensures the timeliness of information dissemination and the stability of the system, supports the deployment needs of large-scale supermarkets, and enhances the marketing flexibility and immediacy of supermarkets.
Smart Images

Figure CN121486418A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of digital signage synchronous playback technology, specifically relating to a digital signage synchronous playback system and method based on hierarchical control and hybrid communication. Background Technology
[0002] Currently, physical supermarkets remain important shopping destinations for consumers. As the retail industry flourishes towards digitalization and intelligence, digital signage within supermarkets, as a key medium for information dissemination and marketing, is widely used in numerous scenarios such as product display, promotional advertising, brand exposure, and public information dissemination.
[0003] In practical applications, the number of digital signage devices deployed in supermarkets and shopping malls is large and widely distributed, mostly connected to the central control system via a wide area network (WAN). However, WANs suffer from drawbacks such as network latency, jitter, and uneven bandwidth. These problems cause screens in different areas to play content asynchronously, with significant time differences when content is updated or switched, severely disrupting the overall visual continuity and affecting the customer viewing experience. When the network fluctuates or is interrupted, some signs may experience playback abnormalities or even service interruptions, negatively impacting brand image and the timeliness of information dissemination.
[0004] Currently, existing digital signage network control mainly adopts two types of architectures: centralized control architecture and distributed synchronous architecture. The centralized control architecture uses a cloud server to uniformly manage the content and playback sequence of all playback terminals. The cloud sends playback instructions and content data directly to each digital signage device via a wide area network (WAN). While this architecture is simple in structure and easy to deploy, it has many shortcomings in large-scale distributed scenarios. For example, WAN latency and jitter can lead to inconsistent playback times across different terminals, resulting in significant synchronization deviations in cross-store or multi-screen splicing scenarios. Playback control is easily affected when the WAN connection is interrupted or bandwidth is limited, causing some devices to stop playing or experience stuttering. Cloud control has a high load and poor scalability, making it difficult to support the precise synchronous control needs of hundreds or even thousands of terminals. Due to differences in hardware and operating environments, the local clocks of devices within a store may be inconsistent (drifting), preventing simultaneous startup even when receiving the same time instruction.
[0005] Distributed synchronization architecture establishes point-to-point or multicast synchronization mechanisms between playback terminals through NTP time synchronization or multicast-based frame alignment algorithms, ensuring consistent playback within local areas. However, it also suffers from drawbacks such as the susceptibility of multicast or time synchronization mechanisms to wide area network latency fluctuations, the possibility of local desynchronization when playback tasks are uniformly distributed from the cloud, the lack of hierarchical control strategies requiring frequent communication between terminals and the cloud, increasing bandwidth consumption and system complexity, and difficulty in adapting to differences in network environments across different stores, making it challenging to guarantee stability and accuracy when deployed across regions. Summary of the Invention
[0006] To overcome the problems in the prior art, this invention proposes a digital signage synchronous playback system and method based on hierarchical control and hybrid communication.
[0007] The technical solution of the present invention to solve the above-mentioned technical problems is as follows: In a first aspect, the present invention provides a digital signage synchronous playback system based on hierarchical control and hybrid communication, including a cloud control layer, a wide area network transmission layer and a store local area network control layer; The cloud control layer is used to generate synchronous playback tasks or video distribution tasks, and send control commands to the main devices of each store through the wide area network transmission layer; it is also used to continuously receive heartbeat packets from each device, monitor network status and device health, and when the main device crashes or has communication abnormalities, it selects a new main device according to the data and priority rules of the heartbeat packets and issues a main device upgrade command. The wide area network transmission layer is connected to the cloud control layer and the store local area network control layer respectively; it communicates with the cloud control layer using a lightweight message queue protocol to transmit control information; and it communicates with each device using a lightweight MQTT protocol to transmit the heartbeat packets of each device and the main device upgrade instructions received from the cloud control layer. The store's local area network control layer includes a main device and multiple sub-devices. The main device is used to receive control commands and convert the received control commands into broadcast / multicast synchronization messages that can be recognized by the local area network. It is also used to download video content from the cloud control layer. The sub-devices are used to receive commands from the main device and execute synchronized playback, and to obtain video files from the main device for display.
[0008] Furthermore, the master device serves as the authoritative source of the LAN clock, providing a time reference for all devices within the local area network.
[0009] Furthermore, the main and sub-devices are also used to periodically send heartbeat packets to the cloud control layer to report their operational status.
[0010] Furthermore, the store LAN control layer is also used to divide the store into multiple content areas, and each device in each area implements local content playback control according to the trigger signal; the sub-device responds to the local manual trigger signal and sends the trigger signal into the store LAN; after receiving the trigger signal, the master device generates a regional trigger message within the LAN; the master device broadcasts the regional trigger message to the sub-devices in the corresponding area.
[0011] Furthermore, the master device provides a video distribution interface within the local area network to the slave device, and the slave device obtains video files through the video distribution interface.
[0012] Secondly, a method for synchronous playback of digital signage based on hierarchical control and hybrid communication is provided, employing the synchronous playback system for digital signage based on hierarchical control and hybrid communication described in the first aspect, including the following steps: Step 100: The cloud control layer generates a synchronized playback task or video distribution task and generates control commands; after receiving the control commands sent by the cloud control layer, the wide area network transmission layer forwards the control commands to the corresponding store master devices through the lightweight MQTT protocol according to the target master device information included in the control commands. Step 200: The master device performs detailed parsing of the control commands. Based on the video content information obtained from the parsing, the master device sends a video download request to the cloud control layer. After the video download is completed, the master device stores the video file in a local storage area and sends a video distribution command to the sub-devices in the form of broadcast or multicast within the local area network. After receiving the video distribution command sent by the master device, the sub-devices download the required video files from the master device according to the information in the video distribution command. Step 300: The master device determines the specific time point T for all sub-devices to play the target video, and sends a playback command to all sub-devices in the local area network in the form of broadcast or multicast; after receiving the playback command sent by the master device through the local area network communication module, the sub-devices parse the playback command to determine the video content to be played and the specific time of playback.
[0013] Furthermore, it also includes: sub-devices and master devices periodically sending heartbeat packets to the cloud control layer to report their operating status; the cloud control layer continuously receives heartbeat packets from each device, monitors the network status and device health, and when a master device crashes or experiences communication abnormalities, it selects a new master device based on the heartbeat packet data and priority rules, and issues a master device upgrade command.
[0014] Furthermore, it also includes: the sub-device responding to a local manual trigger signal and sending a trigger signal to the store's local area network; after receiving the trigger signal, the master device generates a regional trigger message within the local area network; and the master device broadcasts the regional trigger message to the sub-devices in the corresponding area.
[0015] Furthermore, it also includes: during the communication process between the sub-device and the master device, the sub-device periodically performs time synchronization calibration with the master device.
[0016] Furthermore, it also includes: the cloud control layer and the master device sending playback instructions to the sub-devices in advance; after receiving the playback instructions, the sub-devices obtain the current system time and calculate the difference between the current time and the time T based on the time T information in the playback instructions; the difference will be used to control the playback time of the video.
[0017] Compared with the prior art, the present invention has the following technical effects: (1) Through hierarchical control and hybrid communication, the master device converts the control commands of the cloud control layer into broadcast / multicast synchronization messages that can be recognized by the local area network, thereby achieving efficient synchronization within the local area network. At the same time, the master device, as the authoritative source of the LAN clock, periodically sends clock calibration packets to the sub-devices, and the sub-devices execute delay compensation algorithms to maintain clock consistency, effectively solving the problem of asynchronous playback on screens in different areas, making the playback more coherent, and greatly optimizing the customer viewing experience.
[0018] (2) This invention adopts a hybrid communication method. The wide area network transmission layer communicates with the cloud control layer using a lightweight message queue protocol, and communicates with each device using a lightweight MQTT protocol. The system can better cope with network fluctuations or interruptions. Moreover, the cloud control layer continuously monitors the network status and device health. When the master device crashes or communication is abnormal, it can select a new master device based on the heartbeat packet data and priority rules, and issue a master device upgrade command to ensure the continuous and stable operation of the system, guarantee the timeliness of information release, and avoid negative impacts on the brand image.
[0019] (3) This invention adopts a hierarchical control architecture. The cloud control layer is mainly responsible for generating tasks and sending control commands, while the main equipment of the store's local area network control layer undertakes a large amount of work such as video downloading, command conversion, and video distribution. Some control functions are delegated to the store's local area network, which greatly reduces the load on the cloud control layer. This hierarchical control method makes the system easier to expand, supports the access and precise synchronous control of more digital signage devices, and meets the deployment needs of large-scale supermarkets.
[0020] (4) In this invention, the store's local area network control layer can divide the store into multiple content areas, and each device in each area can control the playback of local content based on a trigger signal. The sub-device responds to the local manual trigger signal and sends a trigger signal into the store's local area network. After receiving the trigger signal, the master device generates a regional trigger message within the local area network and broadcasts the regional trigger message to the sub-devices in the corresponding area. This flexible regional control method enables supermarkets to adjust the playback content of different areas in a timely manner according to different marketing scenarios and needs, enhancing the immediacy and flexibility of store marketing and better meeting diverse marketing needs. Attached Figure Description
[0021] To more clearly illustrate the technical solutions and advantages 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, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1This is a schematic diagram of the structure of the present invention; Figure 2 This is a schematic diagram of the process of the present invention. Detailed Implementation
[0023] To further illustrate the technical means and effects adopted by the present invention to achieve its intended purpose, the specific implementation methods, structures, features, and effects of the technical solutions proposed according to the present invention are described in detail below with reference to the accompanying drawings and preferred embodiments. Specific features, structures, or characteristics in one or more embodiments may be combined in any suitable form. Unless otherwise defined, all technical and scientific terms used in this invention have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0024] The purpose of this invention is to provide a hierarchical, hybrid communication control architecture. By introducing a "master-sub-master" mode within the store, and combining a switchable master master mechanism, a hierarchical video distribution mechanism, and a regional trigger control mechanism, it achieves high-precision synchronized playback and flexible localized advertising control under large-scale distributed deployment. The system utilizes a stable local area network (LAN) and an efficient message queue (MQ) to achieve high-precision synchronization. Simultaneously, through unified management at the cloud control layer and a local human-machine trigger mechanism, it achieves real-time control and precise delivery of advertising content.
[0025] In this embodiment, refer to Figures 1-2 This provides a digital signage synchronous playback system based on hierarchical control and hybrid communication, including a cloud control layer, a wide area network transmission layer, and a store local area network control layer; The cloud control layer is used to generate synchronous playback tasks or video distribution tasks, and send control commands to the main devices of each store through the wide area network transmission layer; it is also used to continuously receive heartbeat packets from each device, monitor network status and device health, and when the main device crashes or has communication abnormalities, it selects a new main device according to the data and priority rules of the heartbeat packets and issues a main device upgrade command. The wide area network transmission layer is connected to the cloud control layer and the store local area network control layer respectively; it communicates with the cloud control layer using a lightweight message queue protocol to transmit control information; and it communicates with each device using a lightweight MQTT protocol to transmit the heartbeat packets of each device and the main device upgrade instructions received from the cloud control layer. The store's local area network control layer includes a main device and multiple sub-devices. The main device is used to receive instructions from the cloud control layer and convert the instructions into broadcast / multicast synchronization messages that can be recognized by the local area network. It is also used to download video content from the cloud control layer. The sub-devices are used to receive instructions from the main device and execute synchronized playback, and to obtain video files from the main device for display.
[0026] In this implementation, the cloud control layer is used to generate synchronous playback tasks or video distribution tasks, and send control commands to the main devices of each store through the wide area network transmission layer; it is also used to continuously receive heartbeat packets from each device, monitor network status and device health, and when the main device crashes or has communication abnormalities, it selects a new main device according to the data and priority rules of the heartbeat packets, and issues a main device upgrade command.
[0027] Specifically, the cloud control layer stores and categorizes massive amounts of video footage for rapid retrieval and access. Simultaneously, it generates corresponding synchronization tasks based on the needs and characteristics of different stores, providing strong support for subsequent accurate playback.
[0028] The cloud control layer sends lightweight Pub / Sub control commands to the main devices of each store via the wide area network (WAN), including video download and update notifications, playback time synchronization commands, main device switching control, and regional trigger task authorization.
[0029] Among these features, video download and update notifications promptly inform the main device which new video content needs to be acquired, ensuring that the information displayed in the store is always up-to-date; playback time synchronization instructions ensure that all devices are strictly synchronized when playing videos, avoiding the awkward situation of desynchronization and improving the overall visual effect; the main device switching control function can quickly select a new main device when the main device fails or needs to be upgraded, ensuring the stable operation of the system; and regional trigger task authorization gives devices in different regions the ability to flexibly play videos based on specific events.
[0030] In addition, the cloud control layer continuously receives heartbeat packets from various devices (master devices and sub-devices). These heartbeat packets reflect the network status and device health in real time. When a master device fails or experiences communication anomalies, the cloud control layer automatically selects a new master device based on the heartbeat packet data and preset priority rules, and issues a master device upgrade command to achieve automatic migration of the master control role, ensuring high availability and reliability of the system.
[0031] In this implementation, the wide area network transmission layer is connected to both the cloud control layer and the store local area network control layer; it communicates with the cloud control layer using a lightweight message queue protocol to transmit control information; and it communicates with each device using a lightweight MQTT protocol to transmit heartbeat packets from each device and receive master device upgrade instructions issued by the cloud control layer.
[0032] Specifically, the WAN transport layer, acting as a communication bridge between the cloud control layer and the store's main equipment, undertakes the crucial task of information transmission. It employs a lightweight message queuing protocol (Pub / Sub), which is highly efficient and flexible, ensuring the rapid and accurate transmission of control information over the WAN. The transmitted content contains only control information, including timestamps, content IDs, task IDs, and download commands, but not the media files themselves. This design significantly reduces data transmission volume, improves transmission efficiency, and lowers latency, enabling the cloud control layer to promptly deliver instructions to the store's main equipment while also alleviating bandwidth pressure on the WAN.
[0033] In addition to transmitting control information, the WAN transport layer also uses the lightweight MQTT protocol to communicate with devices. MQTT is a lightweight messaging protocol based on a publish / subscribe model, offering advantages such as low power consumption and low bandwidth usage, making it ideal for use in IoT environments. Through MQTT, the operational status (heartbeat packets) of each device can be uploaded to the cloud control layer in real time, allowing the cloud control layer to understand the device's operating status promptly. Simultaneously, the cloud control layer can also use MQTT to issue device upgrade commands to each device, enabling remote management and maintenance. This two-way communication mechanism ensures close collaboration and efficient operation between all parts of the system.
[0034] In this embodiment, the store LAN control layer includes a master device and multiple sub-devices; the master device is used to receive instructions from the cloud control layer and convert the instructions into broadcast / multicast synchronization messages recognizable by the LAN, and is also used to download video content from the cloud control layer; the sub-devices are used to receive instructions from the master device and execute synchronized playback, and obtain video files from the master device for display.
[0035] Specifically, the store's LAN control layer consists of a master device and multiple sub-devices, serving as a crucial link for synchronized control, video distribution, and area-triggered responses of digital signage within the store. The master device, as the core of the LAN, undertakes several important responsibilities. First, it receives instructions from the cloud control layer and converts these instructions into broadcast / multicast synchronization messages recognizable by the LAN, ensuring that sub-devices can accurately understand and execute them. Simultaneously, the master device is responsible for downloading video content from cloud storage and storing it locally to provide a video distribution interface within the LAN to sub-devices. Sub-devices can obtain the necessary video files from the master device through this interface, avoiding the bandwidth pressure and latency issues associated with directly downloading videos from the cloud control layer.
[0036] Regarding clock synchronization, the master device acts as the LAN Grandmaster, providing a precise time reference for all devices within the local area network (LAN), ensuring strict synchronization during video playback. Furthermore, the master device periodically sends heartbeat packets to report its operational status, allowing the cloud control layer and sub-devices to stay informed about its workings. Sub-devices are primarily responsible for receiving instructions from the master device and executing synchronized playback, retrieving video files from the master device for display. If the master device fails, a sub-device can automatically be upgraded to the new master device under the command of the cloud control layer, ensuring continuous and stable system operation. Simultaneously, sub-devices can respond to local manual trigger signals. For example, when a new product is completed in a certain area or a specific advertisement needs to be played, sales personnel can send a trigger signal to the LAN via physical input devices (such as wired / wireless keyboards, button panels, touch terminals, etc.). Upon receiving the signal, the sub-device will immediately execute the corresponding playback task. In addition, sub-devices also periodically send heartbeat packets to report their operational status, enabling timely detection and resolution of problems.
[0037] Furthermore, to achieve refined content control within the store, this invention adds a regional control mechanism to the local area network control layer. The system divides the store into multiple content areas, such as a cooked food area, a beverage area, and an entrance display area, each with its unique information display needs and characteristics. Devices in each area can control the playback of local content based on local events or manual commands. This flexible control method can better meet the actual operational needs of the store.
[0038] When fresh products are prepared in a certain area (e.g., the deli section), sales staff can send a trigger signal to the local area network (LAN) via a physical input device (sub-device). Upon receiving this signal, the main device immediately generates a LAN-wide trigger message, which includes key information such as the area ID, playback content ID, and time parameters. The main device then broadcasts the LAN-wide trigger message to the corresponding sub-devices within that area. Based on this message, the sub-devices within the area can immediately or after a pre-set delay start playing the corresponding advertising video. For example, when a new roast chicken is ready in the deli section, a salesperson presses the trigger button, the main device quickly generates and sends a trigger message, and the sub-devices in the deli section immediately play an advertisement for the roast chicken, attracting customer attention. This manually triggered, real-time LAN-wide advertising display method effectively improves the store's marketing results and enhances the customer's shopping experience.
[0039] Based on the same inventive concept, embodiments of the present invention also provide a method for synchronous playback of digital signage based on hierarchical control and hybrid communication. The solution provided by this method is similar to the solution described in the above system; therefore, the specific limitations in one or more system embodiments provided below can be found in the above-described limitations of a synchronous playback system for digital signage based on hierarchical control and hybrid communication, and will not be repeated here.
[0040] This implementation provides a method for synchronized playback of digital signage based on hierarchical control and hybrid communication, including the following steps: Step 100: The cloud control layer generates a synchronized playback task or video distribution task and generates control commands; after receiving the control commands sent by the cloud control layer, the wide area network transmission layer forwards the control commands to the corresponding store master devices through the lightweight MQTT protocol according to the target master device information included in the control commands. Step 200: The master device performs detailed parsing of the control commands. Based on the video content information obtained from the parsing, the master device sends a video download request to the cloud control layer. After the video download is completed, the master device stores the video file in a local storage area and sends a video distribution command to the sub-devices in the form of broadcast or multicast within the local area network. After receiving the video distribution command sent by the master device, the sub-devices download the required video files from the master device according to the information in the video distribution command. Step 300: The master device determines the specific time point T for all sub-devices to play the target video, and sends a playback command to all sub-devices in the local area network in the form of broadcast or multicast; after receiving the playback command sent by the master device through the local area network communication module, the sub-devices parse the playback command to determine the video content to be played and the specific time of playback.
[0041] The following is a detailed explanation of each of the above steps: Step 100: The cloud control layer generates a synchronized playback task or a video distribution task, and generates control commands; After receiving the control command sent by the cloud control layer, the WAN transport layer forwards the control command to the corresponding store master device through the lightweight MQTT protocol, based on the target master device information included in the control command.
[0042] The cloud control layer comprehensively stores massive amounts of video footage and meticulously categorizes them based on key factors such as video theme, type, and applicable scenario. For example, advertising videos are categorized by product type (e.g., food ads, clothing ads) or by style (e.g., cheerful and lively, calm and sophisticated, warm and comforting). This categorization facilitates quick retrieval and access to specific video footage.
[0043] We gain a deep understanding of the unique needs and characteristics of different stores, including their size, the types of goods they sell, their target customer base, and their marketing strategies. Based on this information, we tailor-make corresponding synchronized playback tasks or video distribution tasks for each store. For example, for a large supermarket, the task might include promotional advertising videos for various products, new product recommendation videos, etc.
[0044] The generated task information is encapsulated into lightweight Pub / Sub (publish / subscribe) control instructions, including video download and update notifications, which clearly inform the master device which new video content needs to be acquired, including the video name, number, version number, etc.; playback time synchronization instructions, which set the precise time point for each device to play the video, ensuring that all devices can play in strict synchronization; master device switching control instructions, which are used to designate a new master device when the master device fails or needs to be upgraded; and region-triggered task authorization instructions, which grant different region devices flexible playback permissions based on specific events.
[0045] Based on the specific requirements of the task, identify the main devices in each store that need to receive control commands. Use the system's internal device management module to obtain the unique identification information of each main device, such as device ID and IP address, to ensure that commands are accurately delivered to the target devices.
[0046] The encapsulated control commands are transmitted via the established connection according to the lightweight message queue protocol. During transmission, the commands are encrypted to ensure their security and integrity, preventing information leakage or tampering. Simultaneously, the transmission process is monitored in real time to ensure that the commands reach the wide area network transport layer quickly and accurately.
[0047] After receiving control commands from the cloud control layer, the WAN transport layer forwards the commands to the corresponding store master devices based on the target master device information contained in the commands. The lightweight MQTT protocol is used to ensure efficient command transmission over the WAN when communicating with various devices.
[0048] Step 200: The master device performs detailed parsing of the control commands. Based on the parsed video content information, the master device sends a video download request to the cloud control layer. After the video download is complete, the master device stores the video file in a locally designated storage area and sends a video distribution command to the sub-devices via broadcast or multicast within the local area network. After receiving the video distribution command from the master device, the sub-devices download the required video files from the master device according to the information in the video distribution command.
[0049] The store's main device receives control commands from the cloud control layer via the WAN transport layer. The communication module on the main device monitors the network port in real time, and immediately initiates a receiving operation upon detecting an incoming command. After receiving the control command, the main device performs detailed parsing, extracting key information such as the video content to be downloaded (video name, ID, storage path, etc.) and relevant requirements for the distribution task (distribution scope, distribution time, etc.). Through this control command parsing, the main device clarifies the specific tasks it needs to perform.
[0050] Based on the parsed video content information, the master device sends a video download request to the cloud control layer. The request includes the video's unique identifier so the cloud control layer can accurately locate and provide the corresponding video file. During the download process, the master device monitors the download progress in real time and obtains download status information through the communication interface with the cloud control layer. Simultaneously, it performs integrity verification on the downloaded video data to ensure that the downloaded video file is not corrupted or missing. If network interruptions or other abnormalities occur during the download, the master device can automatically resume the download, ensuring a complete download. After the video download is complete, the master device stores the video file in a designated local storage area and creates a corresponding file index for quick retrieval and access later. Furthermore, it backs up the video file to prevent loss due to hardware failures or other reasons.
[0051] Based on the parsed distribution task requirements, the master device formulates a detailed distribution plan. It determines the list of sub-devices that need to receive video files, and the video content segments each sub-device needs to acquire (if the video is large, it may need to be split into segments for distribution). Simultaneously, it sets the distribution task schedule to ensure that the distribution process does not disrupt the store's normal operations. The master device sends video distribution instructions to the sub-devices via broadcast or multicast within the local area network. The video distribution instructions contain key information such as the sub-device's identification information, the video file information to be downloaded (filename, storage location, etc.), and the start and end times of the distribution task.
[0052] After receiving a video distribution command from the master device, the sub-device downloads the required video file from the master device according to the information in the command. During the download process, the sub-device maintains real-time communication with the master device, providing timely feedback on download progress and status. If problems occur during the download, the sub-device can send an error report to the master device, which then takes appropriate action based on the report, such as resending the video segment. The sub-device stores the downloaded video file in a local cache for quick access when needed. Simultaneously, the local cache is managed, periodically clearing expired or no longer needed video files to free up storage space.
[0053] Step 300: The master device determines the specific time point T for all sub-devices to play the target video, and sends a playback command to all sub-devices in the local area network in the form of broadcast or multicast; after receiving the playback command sent by the master device through the local area network communication module, the sub-devices parse the playback command to determine the video content to be played and the specific time of playback.
[0054] Based on the task requirements generated by the cloud control layer and the actual operation of the store, the main device determines the specific time T at which all sub-devices will play the target video. This time point needs to take into account factors such as the store's business hours, peak customer traffic periods, and promotional activity times to ensure that the video playback achieves the best marketing effect.
[0055] The master device encapsulates the playback command, which includes the target video's identification information (video name, number, etc.), playback time T, and playback requirements (such as playback count, playback mode, etc.). Then, the master device sends the playback command to all sub-devices within the local area network via broadcast or multicast, ensuring that each sub-device receives the playback command.
[0056] After receiving the playback command from the master device via the local area network communication module, the sub-device parses the playback command and extracts key information, such as the target video identifier, playback time T, and playback requirements. Through command parsing, the sub-device determines the video content it needs to play and the specific playback time.
[0057] Upon receiving a playback command, the sub-device first checks its local cache for the target video file to be played. If the video file does not exist, the sub-device immediately sends a video request to the master device. The master device then resends the video file or instructs the sub-device to obtain the video from another available source. Simultaneously, the sub-device checks its own hardware and software systems to ensure it is functioning correctly and can play the video smoothly. For example, it checks if the display device's resolution and color settings meet the requirements, and if the playback software is up-to-date and functioning correctly.
[0058] During communication with the master device, the sub-device periodically performs time synchronization calibration with the master device. The master device, acting as the LAN Grandmaster, provides an accurate time reference for all devices within the local area network. The sub-device adjusts its own system time by receiving time synchronization messages from the master device to ensure consistency with the master's time.
[0059] The cloud control layer and the master device send playback commands to the sub-devices in advance. Upon receiving the playback command, the sub-device obtains the current system time and calculates the difference between the current time and time T based on the time T information in the playback command. This difference is used to control the video playback time, ensuring that the sub-device starts playing the video at the precise moment. For example, if the current time is 5 seconds earlier than time T, the sub-device will start playing the video after 5 seconds; if the current time has already exceeded time T, the sub-device will start playing the video immediately (if playback requirements allow) and record the time deviation for subsequent analysis and adjustment.
[0060] In some embodiments, the method further includes: the sub-device and the master device periodically sending heartbeat packets to the cloud control layer at preset time intervals, wherein the heartbeat packets include the current operating status information of the device, such as whether the device is operating normally and various performance index data.
[0061] The cloud control layer continuously receives heartbeat packets from various sub-devices and the master device. By analyzing the heartbeat packet data, the cloud control layer can monitor the connection status of the entire network and the health status of each device in real time.
[0062] When the cloud control layer detects that the master device has crashed (i.e., the master device stops sending heartbeat packets) or has communication abnormalities (such as abnormal heartbeat packet data, communication delay exceeding the threshold, etc.), the cloud control layer selects a new master device from many sub-devices based on the pre-set heartbeat packet data judgment criteria and priority rules.
[0063] After a new master device is selected, the cloud control layer issues a master device upgrade command to the new master device, enabling it to assume the responsibilities of the master device, including subsequent communication with the cloud control layer and management and control of sub-devices.
[0064] In some embodiments, the method further includes: during operation, the master device continuously monitors the WAN connection, specifically by continuously pinging the WAN DNS or cloud control layer server. A threshold N is set; when the master device fails to ping N times consecutively, it is determined that the master network has failed.
[0065] Once the main device determines that the main network is faulty, the system automatically switches to the built-in SIM card communication module and uses the 4G / 5G network as a backup channel to communicate with the cloud control layer.
[0066] When the master device sends a heartbeat packet to the cloud control layer via the SIM card, it explicitly indicates in the heartbeat packet that it is currently using a backup network. After receiving the heartbeat packet, the cloud control layer uses the network identification information to understand the current network connection status of the master device, so as to more accurately monitor and manage the device.
[0067] During the use of the backup network communication by the master device, it will still continuously attempt to restore the main network connection. When the master device detects that the main network has resumed normal operation (for example, it can successfully Ping the WAN DNS or the cloud control layer server), the system automatically switches back to the main network for communication and re-labels the use of the main network in the subsequent heartbeat packets sent.
[0068] In some embodiments, it further includes: at the store site, when a local manual operation triggers a relevant signal, such as pressing a specific button, etc., the slave device responds to this local manual trigger signal and sends the trigger signal within the store local area network.
[0069] After receiving the trigger signal sent by the slave device within the store local area network, the master device generates a regional trigger message within the local area network according to the content of the trigger signal and the preset rules. This regional trigger message clarifies the area where the slave device that needs to be联动 controlled is located and the specific联动 operation instructions.
[0070] The master device distributes the generated regional trigger message to each slave device within the corresponding area in a broadcast form. After receiving the regional trigger message, the slave device executes the corresponding operation according to the instructions in the message, thereby实现 the联动 control of the slave devices within the area.
[0071] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included within the protection scope of the present invention. It should be noted that there is an unclear term "联动" in the original text. You may need to check and clarify this term for a more accurate translation.
Claims
1. A digital signage synchronous playback system based on hierarchical control and hybrid communication, characterized in that, This includes the cloud control layer, the wide area network transmission layer, and the store's local area network control layer; The cloud control layer is used to generate synchronous playback tasks or video distribution tasks, and send control commands to the main devices of each store through the wide area network transmission layer; it is also used to continuously receive heartbeat packets from each device, monitor network status and device health, and when the main device crashes or has communication abnormalities, it selects a new main device according to the data and priority rules of the heartbeat packets and issues a main device upgrade command. The wide area network transmission layer is connected to the cloud control layer and the store local area network control layer, respectively. It communicates with the cloud control layer using a lightweight message queue protocol to transmit control information; and communicates with each device using a lightweight MQTT protocol to transmit heartbeat packets from each device and receive master device upgrade commands issued by the cloud control layer. The store's local area network control layer includes a main device and multiple sub-devices; The master device is used to receive control commands and convert the received control commands into broadcast / multicast synchronization messages that can be recognized by the local area network. It is also used to download video content from the cloud control layer. The sub-device is used to receive commands from the master device and execute synchronous playback, and to obtain video files from the master device for display.
2. The digital signage synchronous playback system based on hierarchical control and hybrid communication according to claim 1, characterized in that, The master device serves as the authoritative clock source for the LAN, providing a time reference for all devices within the local area network.
3. The digital signage synchronous playback system based on hierarchical control and hybrid communication according to claim 1, characterized in that, The main and sub-devices are also used to periodically send heartbeat packets to the cloud control layer to report their operational status.
4. The digital signage synchronous playback system based on hierarchical control and hybrid communication according to claim 1, characterized in that, The store LAN control layer is also used to divide the store into multiple content areas, and each device in each area implements local content playback control according to the trigger signal; the sub-device responds to the local manual trigger signal and sends the trigger signal to the store LAN, and after the master device receives the trigger signal, it generates the area trigger message inside the LAN; The master device broadcasts the area trigger message to the sub-devices within the corresponding area.
5. A digital signage synchronous playback system based on hierarchical control and hybrid communication according to claim 1, characterized in that, The master device provides a video distribution interface within the local area network to the slave device, and the slave device obtains video files through the video distribution interface.
6. A method for synchronous playback of digital signage based on hierarchical control and hybrid communication, employing a synchronous playback system for digital signage based on hierarchical control and hybrid communication as described in any one of claims 1-5, characterized in that... Includes the following steps: Step 100: The cloud control layer generates a synchronized playback task or a video distribution task, and generates control instructions; After receiving the control command sent by the cloud control layer, the WAN transport layer forwards the control command to the corresponding store master device through the lightweight MQTT protocol, based on the target master device information included in the control command. Step 200: The master device performs detailed analysis of the control commands and sends a video download request to the cloud control layer based on the video content information obtained from the analysis. After the video download is complete, the master device stores the video file in the local designated storage area and sends a video distribution command to the slave device in the form of broadcast or multicast within the local area network; after receiving the video distribution command sent by the master device, the slave device downloads the required video file from the master device according to the information in the video distribution command; Step 300: The master device determines the specific time point T for all sub-devices to play the target video, and sends a playback command to all sub-devices in the local area network in the form of broadcast or multicast; after receiving the playback command sent by the master device through the local area network communication module, the sub-devices parse the playback command to determine the video content to be played and the specific time of playback.
7. The method for synchronous playback of digital signage based on hierarchical control and hybrid communication according to claim 6, characterized in that, Also includes: Sub-devices and master devices periodically send heartbeat packets to the cloud control layer to report their operating status. The cloud control layer continuously receives heartbeat packets from each device, monitors the network status and device health, and when a master device crashes or experiences communication abnormalities, it selects a new master device based on the heartbeat packet data and priority rules, and issues a master device upgrade command.
8. A method for synchronous playback of digital signage based on hierarchical control and hybrid communication according to claim 6, characterized in that, Also includes: The sub-device responds to a local manual trigger signal and sends a trigger signal to the store's local area network; After receiving the trigger signal, the master device generates a local area trigger message within the local area network; The master device broadcasts the area trigger message to the sub-devices within the corresponding area.
9. A method for synchronous playback of digital signage based on hierarchical control and hybrid communication according to claim 6, characterized in that, Also includes: During communication with the master device, the sub-device periodically performs time synchronization calibration with the master device.
10. A method for synchronous playback of digital signage based on hierarchical control and hybrid communication according to claim 9, characterized in that, Also includes: The cloud control layer and the master device send playback instructions to the sub-devices in advance. After receiving the playback instructions, the sub-devices obtain the current system time and calculate the difference between the current time and the time T based on the time T information in the playback instructions. The difference will be used to control the playback time of the video.
Citation Information
Patent Citations
Method and device switching main and standby terminals, server and system for switching the main and standby terminals
CN110890980A
Store monitoring video playing method and device and video monitoring system
CN116418947A
Multi-screen video synchronization method and device based on smart television
CN116567324A
Information processing system, method, device and product
CN116708501A