Control method and device of distributed display cluster system and related equipment
By dynamically determining the dominant node in the distributed display cluster system and switching in the event of failure, the scalability and stability problems caused by central server dependence are solved, and the system flexibility and efficient scheduling are achieved.
Patent Information
- Application Number
- CN202510332324.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-07-08
AI Technical Summary
In the prior art, distributed display cluster systems rely on fixed central servers, resulting in limited system scalability, inflexible resource allocation, and a single point of failure may cause the entire system to be paralyzed.
A distributed display cluster system is adopted to determine the dominant node from multiple display nodes, schedule the display tasks according to the working mode, and automatically switch to other nodes when the dominant node fails, ensuring the stability and flexibility of the system.
It improves the stability and flexibility of the system, avoids single point of failure, and can quickly adjust according to different needs to meet diverse application needs.
Smart Images

Figure CN120281778A_ABST
Abstract
Description
Background Art
[0002] When displaying remotely, a display cluster is usually constructed according to a specific mode and configuration, and relies on a fixed central server. The operation of the entire display cluster depends to a large extent on the status of this central server. For example, the transmission, processing, and management of data mostly pass through the central server.
[0003] However, the problem with the related technology is that it cannot be flexibly formed, cannot be quickly adjusted according to different requirements, and the dependence on a fixed central server limits the scalability of the system, the resource allocation is not flexible enough, and the diversity and convenience of use are restricted; the single-point failure problem is serious. Once the central server has a problem, the entire display cluster may be paralyzed.
[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure. Therefore, it may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention
[0005] The present disclosure provides a control method, device, and related equipment for a distributed display cluster system, which can avoid single-point failure and improve the flexibility of the distributed display cluster.
[0006] Other features and advantages of the present disclosure will become apparent through the following detailed description, or will be learned in part through the practice of the present disclosure.
[0007] According to one aspect of the present disclosure, a control method for a distributed display cluster system is provided. The distributed display cluster system includes: a plurality of display nodes, each display node including a processing unit and a display; determining a first leading node from the plurality of display nodes, wherein the first leading node schedules one or more display nodes to execute a display task according to the working mode of the distributed display cluster system; when the first leading node fails, determining a second leading node from the other display nodes except the first leading node among the plurality of display nodes, so that the second leading node schedules one or more display nodes to execute a display task according to the working mode of the distributed display cluster system.
[0008] In some embodiments, before determining the first leading node from the plurality of display nodes, the method further includes: in response to a display node joining request, broadcasting the display node joining request in the distributed display cluster system, and the display node obtaining the status information of other display nodes in the distributed display cluster system; the display node joining request is used to add one or more display nodes to the distributed display cluster system, and the display node joining request carries the status information of the display node.
[0009] In some embodiments, before determining the first leading node from the multiple display nodes, the method further includes: obtaining the load of the distributed display cluster system and a preset threshold; determining the first leading node from the multiple display nodes includes: when the load of the distributed display cluster system is less than the preset threshold, determining a first number of first leading nodes from the multiple display nodes; when the load of the distributed display cluster system is greater than or equal to the preset threshold, determining a second number of first leading nodes from the multiple display nodes; the second number is greater than the first number.
[0010] In some embodiments, scheduling one or more display nodes to execute display tasks according to the working mode of the distributed display cluster system includes: collecting status reports of each display node, and constructing a logically virtual large screen according to policies or requirements; allocating display tasks to relevant one or more display nodes according to the layout of the display nodes, the working mode, and the virtual display simulation of the virtual large screen.
[0011] In some embodiments, after allocating display tasks to relevant one or more display nodes according to the layout of the display nodes, the working mode, and the virtual display simulation of the virtual large screen, the method further includes: generating a task allocation table based on the allocated display tasks; sharing the task allocation table to all display nodes so that all display nodes save the task allocation table.
[0012] In some embodiments, when the working mode is the virtual large screen display mode, before allocating display tasks to each display node according to the working mode of the distributed display cluster system and the status information of each display node, the method further includes: obtaining display resources corresponding to the display tasks; allocating display tasks based on the working mode of the distributed display cluster system and the status information of the one or more display nodes includes: determining the screen layout corresponding to the display resources based on the virtual large screen display mode of the distributed display cluster system, the display resources corresponding to the display tasks, and the status information of the one or more display nodes; allocating display tasks according to the virtual large screen display mode of the distributed display cluster system, the screen layout of the display resources, and the status information of the one or more display nodes.
[0013] In some embodiments, scheduling one or more display nodes to execute a display task includes: the first master node or the second master node pre-distributing the resource file corresponding to the display task to each display node, so that the one or more display nodes execute the display task; and / or, each display node generates the resource file corresponding to the display task according to the display task, so that the one or more display nodes execute the display task; and / or, the first master node or the second master node dynamically distributes the resource file corresponding to the display task to each display node, so that the one or more display nodes execute the display task.
[0014] In some embodiments, each display node has the system metadata of the distributed display cluster system, and the system metadata includes one or more of configuration information, task assignment rules, display node status, and data distribution policies.
[0015] In some embodiments, the method further includes: determining at least one display node from the multiple display nodes as a management node, and the management node is used to configure the system metadata of the distributed display cluster system.
[0016] According to another aspect of the present disclosure, there is also provided a control device for a distributed display cluster system, the distributed display cluster system including: multiple display nodes, each display node including a processing unit and a display; the device includes: an election module, configured to determine a first master node from the multiple display nodes, and configured to determine a second master node from the other display nodes except the first master node among the multiple display nodes when the first master node fails; a task scheduling module, configured to enable the first master node or the second master node to schedule one or more display nodes to execute a display task according to the working mode of the distributed display cluster system.
[0017] According to another aspect of the present disclosure, there is also provided an electronic device, which includes: a processor; and a memory for storing the executable instructions of the processor; wherein, the processor is configured to execute the control method of the distributed display cluster system according to any one of the above through executing the executable instructions.
[0018] According to another aspect of the present disclosure, there is also provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the control method of the distributed display cluster system according to any one of the above.
[0019] According to another aspect of the present disclosure, there is also provided a computer program product, including: a computer program or instruction, which when executed by a processor, implements the control method of the distributed display cluster system in any one of the above.
[0020] The control method, device and related equipment of the distributed display cluster system provided in the embodiments of the present disclosure. The distributed display cluster system includes: a plurality of display nodes, each display node includes a processing unit and a display; the method includes: determining a first master node from the plurality of display nodes, wherein the first master node schedules one or more display nodes to execute display tasks according to the working mode of the distributed display cluster system. When the first master node fails, a second master node is determined from the other display nodes except the first master node among the plurality of display nodes, so that the second master node schedules one or more display nodes to execute display tasks according to the working mode of the distributed display cluster system. First, the first master node is determined to schedule one or more display nodes to execute display tasks. When the first master node fails, the second master node is determined from other nodes to continue scheduling. Since any node can become the leader, there will be no single point of failure situation where the entire system fails due to the failure of a specific node, thus enhancing the system stability. Moreover, its control method schedules display tasks according to the working mode, can be flexibly changed according to different scenario requirements, meets diverse application requirements, and improves the flexibility of the distributed display cluster system.
[0021] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.
[0023] Figure 1 The schematic diagram of the system architecture showing a control method of a distributed display cluster system in an embodiment of the present disclosure;
[0024] Figure 2 The flowchart showing a control method of a distributed display cluster system in an embodiment of the present disclosure;
[0025] Figure 3 The schematic diagram showing the structure of a distributed display cluster system in an embodiment of the present disclosure;
[0026] Figure 4The flowchart of a method for constructing a distributed display cluster system in an embodiment of the present disclosure is shown;
[0027] Figure 5 The flowchart of a method for determining a first leading node in an embodiment of the present disclosure is shown;
[0028] Figure 6 The flowchart of a method for scheduling a display node to execute a display task in an embodiment of the present disclosure is shown;
[0029] Figure 7 The flowchart of a method for implementing a virtual large screen in an embodiment of the present disclosure is shown;
[0030] Figure 8 The flowchart of a specific implementation method for a control method of a distributed display cluster system in an embodiment of the present disclosure is shown;
[0031] Figure 9 The schematic diagram of a control device for a distributed display cluster system in an embodiment of the present disclosure is shown;
[0032] Figure 10 The structural block diagram of an electronic device in an embodiment of the present disclosure is shown. Detailed implementation manners
[0033] Now, example embodiments will be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The features, structures, or characteristics described may be combined in any suitable manner in one or more embodiments.
[0034] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0035] For ease of understanding, before introducing the embodiments of the present disclosure, several terms involved in the embodiments of the present disclosure are explained as follows:
[0036] Multicast Domain Name System (mDNS), also known as Multicast Domain Name Resolution Service, is simply called Multicast DNS. Multicast DNS is a zero-configuration network technology. It sends DNS query and response messages through multicast addresses in the local network. Devices will announce information such as the types of services they provide on the network.
[0037] Raft is a distributed consensus algorithm. The core idea is to break down the consensus problem into several key components: The Raft protocol coordinates the operations of the entire system by electing a node as the leader. Each node is a Follower in the initial state. If a Follower does not receive a heartbeat signal from the leader within a certain period of time, a new election process will be triggered. During the election process, the node will become a Candidate and send voting requests to other nodes. If the Candidate receives support from a majority of nodes, it becomes the new leader. Once a leader is elected, it is responsible for receiving operation requests from clients and converting them into Log Entries. The leader broadcasts these Log Entries to other nodes and requests them to replicate these entries to maintain consistency. When a majority of nodes (roughly more than half) confirm successful replication, the leader commits the Log Entry and applies the result to the state machine. Then the leader notifies other nodes that the log has been committed, and other nodes can also apply it to the state machine. In this way, the entire system maintains data consistency. The Raft protocol ensures security by restricting the behavior of the leader. Before sending a log entry to other nodes, the leader must wait for a majority of nodes (including itself) to confirm that the previous log has been successfully replicated. This prevents an expired leader from overwriting new log entries.
[0038] The Paxos protocol is a distributed consensus protocol. Its core idea is to achieve consensus through message passing and voting in multiple stages. The following is the basic process of the Paxos protocol: Preparation stage (Prepare): The proposer selects a proposal number and sends a prepare request to multiple acceptors. After receiving the prepare request, if the received proposal number is greater than or equal to the previous highest proposal number, the acceptor returns a promise, which contains the highest proposal number accepted by the acceptor before and its corresponding proposal value. Acceptance stage (Accept): If the proposer receives promises returned by a majority of acceptors, it sends an accept request. The accept request contains the proposal number selected by the proposer and the proposal value determined based on the received promises. After receiving the accept request, if the received proposal number is greater than or equal to the previous highest proposal number promised, the acceptor accepts the request and returns an accepted reply. Learning stage (Learn): When the proposer receives accepted replies returned by a majority of acceptors, it knows that its proposal has been accepted by a majority of nodes. At this time, the proposer can send a learn request to broadcast the accepted proposal so that other nodes can learn and save the proposal. The Paxos protocol ensures consistency in an asynchronous network environment through the message passing and voting processes in phase one and phase two. The protocol requires that the proposer needs to obtain confirmation from a majority of acceptors to continue, to ensure the consistency of the system.
[0039] The following will describe in detail the specific implementation manners of the embodiments of the present disclosure with reference to the accompanying drawings.
[0040] Figure 1 An exemplary application system architecture diagram showing an application system to which the control method of the distributed display cluster system in the embodiments of the present disclosure can be applied is shown. As Figure 1 shown, the system architecture may include a terminal device 101, a network 102, and a server 103.
[0041] The network 102 is a medium for providing a communication link between the terminal device 101 and the server 103, and can be a wired network or a wireless network.
[0042] Optionally, the above-mentioned wireless network or wired network uses standard communication technologies and / or protocols. The network is usually the Internet, but can also be any network, including but not limited to any combination of a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or a virtual private network. In some embodiments, technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. are used to represent the data exchanged through the network. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPSec), etc. can be used to encrypt all or some of the links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above data communication technologies.
[0043] The terminal device 101 can be various electronic devices, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, smart speakers, smart watches, wearable devices, augmented reality devices, virtual reality devices, etc.
[0044] Optionally, the clients of the application programs installed in different terminal devices 101 are the same, or are clients of the same type of application program based on different operating systems. Depending on the different terminal platforms, the specific form of the client of the application program can also be different. For example, the client of the application program can be a mobile client, a PC client, etc.
[0045] The server 103 can be a server that provides various services, such as a background management server that supports the operations performed by the user using the terminal device 101. The background management server can analyze and process data such as requests received, and feedback the processing results to the terminal device.
[0046] Optionally, the server can be an independent physical server, a server cluster system or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0047] Those skilled in the art can understand that Figure 1 the numbers of the terminal devices, networks, and servers in are merely illustrative. According to actual needs, there can be any number of terminal devices, networks, and servers. The embodiments of the present disclosure do not limit this.
[0048] Under the above system architecture, an embodiment of the present disclosure provides a control method for a distributed display cluster system, and this method can be executed by any electronic device with computing and processing capabilities.
[0049] In some embodiments, the control method for the distributed display cluster system provided in the embodiments of the present disclosure can be executed by the terminal device of the above system architecture; in other embodiments, the control method for the distributed display cluster system provided in the embodiments of the present disclosure can be executed by the server in the above system architecture; in other embodiments, the control method for the distributed display cluster system provided in the embodiments of the present disclosure can be implemented by the terminal device and the server in the above system architecture through interaction.
[0050] Figure 2 shows a flowchart of a control method for a distributed display cluster system in an embodiment of the present disclosure. Combining Figure 2 as shown, the control method for the distributed display cluster system provided in the embodiments of the present disclosure includes the following steps:
[0051] S202, determine a first leading node from multiple display nodes, where the first leading node schedules one or more display nodes to execute display tasks according to the working mode of the distributed display cluster system.
[0052] In this embodiment, in the distributed display cluster system, the display nodes are the basic components of the system, and each of them has certain display capabilities. For example, it can be a computer with a display function or a dedicated display device. The first leading node is a special node among the many display nodes, playing a role of overall coordination. It will decide which display node or nodes will execute the display tasks according to factors such as the system's requirements and the status of each display node. The working modes of the distributed display cluster system include one or more of the mirror display mode, the independent display mode, and the virtual large screen display mode, etc.
[0053] Among them, the mirror display mode is a replicated presentation method for data or task status. Taking the display task as an example, the picture displayed by the leading node will be synchronized to other display nodes, so that the display content of other display nodes and the leading node is like a mirror image, and the two parts are mirror images of each other's display content, that is, the display content is exactly the same. The independent display mode means that each display node works relatively independently. For the display task, according to the functions and display requirements of each display node, each display node undertakes a part of the data processing for the computing task, and the control task can also make independent decisions and operations, so as to display different pictures in the distributed display cluster system. The virtual large screen display mode integrates the display resources of multiple display nodes to form a large virtual display area, and the computing task and the control task are reasonably allocated to each node according to the needs of the overall system to ensure the operation of the system. At the hardware level, the virtual large screen mode does not require a dedicated large physical screen to achieve large screen display, but splices the pictures of multiple small screens into a layout similar to a large screen.
[0054] Specifically, the distributed display cluster system includes: multiple display nodes, and each display node includes a processing unit and a display. Figure 3 The structural schematic diagram of a distributed display cluster system in an embodiment of the present disclosure is shown. In combination with Figure 3 As shown, the processing unit is integrated on the host or server. The distributed display cluster system includes display node a, display node b, display node m and central node c. Among them, display node a includes host a, display a1 and display a2, and display a1 and display a2 are directly connected to host a respectively; display node b includes host b, display b1 and display b2, and display b1 and display b2 are directly connected to host b respectively; display node m includes host m, display m1 and display m2, and display m1 and display m2 are directly connected to host m respectively; central node c includes server c, display c1 and display c2, and display c1 and display c2 are directly connected to server c respectively. It should be noted that Figure 3 the central node c in
[0055] In some embodiments, a display node can be directly formed by connecting a host and a display without adding additional devices. The host can be used to run certain computing tasks or control tasks. The architecture of the host is not limited and can be an Advanced RISC Machines (ARM), a Microprocessor without Interlocked Pipelined Stages (MIPS), a Reduced Instruction Set Computing-V (RISC–V), a Field-Programmable Gate Array (FPGA), etc. The host architectures of different display nodes can be different. Display nodes can be placed together or at different locations. It can be understood that each display node can display the same content, independent content, or different regions of the same picture or video simultaneously. After each display node host is started, it accesses the distributed display cluster system and obtains display tasks and corresponding resources from the central node for display on the screen.
[0056] In some embodiments, since the architecture of the host is not limited, to improve the compatibility of the distributed display cluster system, a cross-platform Software Development Kit (SDK) can be utilized to enable the distributed display cluster system to run on multiple operating systems (such as Linux, Windows, macOS) and hardware with different architectures, expanding the scope of application. Additionally, a cloud management interface can be provided, allowing users to remotely configure and monitor the distributed display cluster via the Internet, simplifying management and maintenance. Further, a standard Application Programming Interface (API) can be opened to facilitate the integration of third-party applications and services and promote the development of the ecosystem.
[0057] In some embodiments, to facilitate the management of the distributed display cluster system, an intuitive and easy-to-use graphical management tool can be developed to enable administrators to complete tasks such as configuration, status monitoring, and fault troubleshooting of the distributed display cluster system. An automated operation and maintenance script can also be provided to achieve automatic detection, update, and repair of nodes, reducing the need for manual intervention and improving operation and maintenance efficiency.
[0058] In some embodiments, the central node serves as the leading node in the distributed display cluster. Specifically, it can manage the joining and leaving of display nodes and wait for other nodes to connect after power-on. In the distributed display cluster system, the leading node can form a logically virtual screen from all the surviving nodes that have joined the cluster. A surviving node refers to a node that is currently operating normally and can participate in the cluster work. The virtual screen does not refer to a physical display screen but is an abstract concept that represents a logically unified processing platform jointly constituted by these surviving nodes.
[0059] Through logical integration, the distributed display cluster can more efficiently allocate display tasks and resources, improving the overall computing power and response speed. Each surviving node can see and process the tasks assigned to it on this virtual screen, thus achieving efficient collaborative work of the cluster. In different working modes, the leading node allocates display tasks. In the mirror display mode, each node can display the same picture; in the independent mode, each node can display different content. It should be noted that the leading node can also allocate computing tasks to each display node, so that other nodes use a certain amount of computing resources, calculate corresponding results according to certain rules, and report the calculation results to the leading node. It can also allocate control tasks to each display node, enabling each display node to execute its respective control tasks. This mechanism enables the cluster to work efficiently in collaboration, with each node having a clear division of labor and performing its respective functions according to the arrangement of the leading node to meet the overall display, computing, or control requirements.
[0060] S204. When the first leading node fails, determine a second leading node from the other display nodes except the first leading node among the multiple display nodes, so that the second leading node schedules one or more display nodes to execute display tasks according to the working mode of the distributed display cluster system.
[0061] In this embodiment, the first leading node is the node initially responsible for scheduling core functions such as display tasks. When the first leading node fails, a new node that can undertake a similar scheduling function to the first leading node is selected from the display nodes other than it.
[0062] Specifically, when the distributed display cluster system is working normally, the first leading node schedules display tasks to each display node. Once the first leading node fails, the system needs to quickly resume operation. At this time, a second leading node is selected from other display nodes. This selection process may be based on factors such as the performance and load conditions of the nodes. The determined second leading node reschedules one or more display nodes to execute the display tasks originally arranged by the first leading node according to the established working mode, ensuring that the entire display cluster system can work continuously and stably.
[0063] In some embodiments, each of the multiple display nodes has the system metadata of the distributed display cluster system, and the system metadata includes one or more of configuration information, task assignment rules, display node status, and data distribution strategies.
[0064] In this embodiment, the system metadata is information that describes and manages various data and resources in the distributed display cluster system. The configuration information records the setting parameters of the system, such as hardware configuration, software version, etc., which ensures that the system can operate in a predetermined manner. The task assignment rules clarify how different tasks are assigned to the corresponding display nodes in the distributed display cluster system to improve efficiency and resource utilization. The display node status enables the master node to understand the working conditions of each display node, such as whether it is running normally, how much load it has, etc. The data distribution strategy stipulates the storage and distribution methods of data in the distributed display cluster system, such as on which nodes the data is stored in the distributed system.
[0065] In this embodiment, each display node is not only responsible for display but also stores complete metadata such as configuration information and task assignment rules. This improves the fault tolerance of the system. When a certain node fails, other nodes can quickly take over its work because they have all the data, ensuring the uninterrupted operation of the system and enhancing the reliability and stability of the system. Additionally, since each display node stores complete metadata such as configuration information and task assignment rules, all display nodes can view the complete system status, increasing transparency and auditability.
[0066] In some embodiments, to further improve the reliability of the distributed display cluster system, redundant backups can also be set for important data and configuration information so that even if all display nodes fail, it can be quickly restored to ensure business continuity.
[0067] In some embodiments, to enhance the flexibility and controllability of the cluster, enable the system to be adjusted in a timely manner according to the actual situation, reduce unnecessary resource occupancy, and optimize the overall performance. At least one display node can also be determined from multiple display nodes as a management node, and the management node is used to configure the system metadata of the distributed display cluster system. In this embodiment, the management node is not always necessary in the distributed display cluster system and is only accessed under specific circumstances. This is because the main responsibilities of the management node are to execute a series of key management tasks. These tasks include setting the operating mode of the cluster to ensure efficient use of resources; pre-distributing resource files to make preparations in advance to improve the response speed; adjusting the relevant parameters of the virtual display screen to meet different display requirements; and setting display tasks to plan and guide the presentation method of information. It should be noted that the management node can be the first leading node or the second leading node determined by the distributed display cluster system, or other nodes other than the first leading node and the second leading node.
[0068] In some embodiments, scheduling one or more display nodes to execute a display task includes: the first leading node or the second leading node pre-distributes the resource files corresponding to the display task to each display node so that one or more display nodes execute the display task; and / or, each display node generates the resource files corresponding to the display task according to the display task so that one or more display nodes execute the display task; and / or, the first leading node or the second leading node dynamically distributes the resource files corresponding to the display task to each display node so that one or more display nodes execute the display task.
[0069] In this embodiment, in the distributed display cluster system, the leading node schedules one or more display nodes to execute a display task and has a resource interaction relationship with other non-leading display nodes. Pre-distribution: The first or second leading node will send the resource files required for the display task to each display node in advance. In this way, when the display task needs to be executed, the display node already has the required resources and can start working quickly. Node automatic generation: Each display node can also generate the required resource files according to the display task by itself, which increases flexibility. Dynamic distribution: In addition to pre-distribution, the leading node can also dynamically distribute resource files to the display node during the execution process. This method is suitable for situations where the resource requirements may change and can more flexibly respond to task requirements.
[0070] In this embodiment, each of these three methods has its own advantages. Pre-distribution can reduce the waiting time during task execution; dynamic generation saves the resource management pressure of the leading node; dynamic distribution can accurately meet the task requirements of different display nodes. In the actual application process, it can be applied as needed, and the embodiments of the present disclosure do not limit this.
[0071] In this embodiment, first, a first master node is determined to schedule one or more display nodes to execute display tasks. When the first master node fails, a second master node is determined from other nodes to continue the scheduling. Since any node can become the leader, there will be no single point of failure situation where the entire system crashes due to the failure of a specific node, thus enhancing the system stability. Moreover, its control method schedules display tasks according to the working mode (mirroring, independent, virtual large screen, etc.), which can be flexibly changed according to different scenario requirements, meeting diverse application needs and improving the flexibility of the distributed display cluster system.
[0072] Figure 4 The flowchart of a method for constructing a distributed display cluster system provided by an embodiment of the present disclosure is shown. In combination with Figure 4 As shown, before determining the first master node from multiple display nodes, the method further includes:
[0073] S201, in response to a display node joining request, broadcast the display node joining request in the distributed display cluster system, and the display node obtains the status information of other display nodes in the distributed display cluster system.
[0074] Among them, the display node joining request is used to add one or more display nodes to the distributed display cluster system, and the display node joining request carries the status information of the display node. In this embodiment, when each display node starts, it automatically broadcasts a presence notification, and at the same time, it is also listening for notifications from other nodes to understand other members in the network.
[0075] In some embodiments, in order to achieve self-discovery between display nodes, the display nodes use multicast DNS or a similar protocol to identify and find each other, and initially establish a distributed display cluster system. Specifically, multicast DNS allows devices to resolve hostnames to IP addresses on the local network without a traditional DNS server.
[0076] In some embodiments, in order to further enable a newly added display node to seamlessly join the distributed display cluster and synchronize the latest status to start collaborating, the following method can be adopted:
[0077] First, at the data storage level, if a distributed database is adopted, there will be a dedicated consistency protocol. For example, in the Raft protocol, when a new display node joins, it requests logs from other display nodes to synchronize the data to the latest state. For a message queue cluster, the new display node will obtain information such as the unprocessed message offsets from the existing display nodes, so as to know where to start receiving and processing messages. In a file storage system, a metadata server or a Distributed Hash Table (DHT) is used to determine the distribution location of the data. The new display node copies the missing data blocks from other display nodes to the local according to this information to achieve synchronization. In addition, the distributed display cluster system itself also has a management module for the joining of display nodes, which coordinates operations such as communication and data transmission between the new display node and other display nodes to ensure that the new display node quickly meets the requirements for collaborating with the cluster.
[0078] In this embodiment, each display node can establish a distributed display cluster system by automatically broadcasting and listening for notifications from other display nodes, improving the elasticity and flexibility of the distributed display cluster system.
[0079] In some embodiments, in order to achieve efficient utilization of resources and stable operation of the system. Figure 5 The flowchart of a method for determining a first leading node provided by an embodiment of the present disclosure is shown. In combination with Figure 5 As shown, determining the first leading node includes:
[0080] S502, obtain the load of the distributed display cluster system and a preset threshold.
[0081] The load refers to the workload currently borne by the distributed display cluster system, including the data processing volume, network transmission volume, occupancy of computing resources of nodes, etc. The preset threshold is a preset value used to measure whether the load of the distributed display cluster system is within a reasonable range.
[0082] S504, when the load of the distributed display cluster system is less than the preset threshold, determine a first number of first leading nodes from multiple display nodes.
[0083] In this embodiment, the load being less than the preset threshold means that the current workload of the distributed display cluster system has not reached the preset standard amount. For example, the system is expected to be able to process 100 display tasks simultaneously (this is the preset threshold), but now only 60 tasks are in progress. The first number is a certain number determined in advance, such as 3.
[0084] It should be noted that in this embodiment, a distributed consensus algorithm (such as Raft, Paxos) can be used to determine the first leading node, and one or more temporary leaders can be dynamically elected among the display nodes to schedule one or more display nodes to execute display tasks.
[0085] S506. When the load of the distributed display cluster system is greater than or equal to a preset threshold, determine a second number of first leading nodes from multiple display nodes.
[0086] In this embodiment, the second number is greater than the first number. When the load is equal to or greater than the preset threshold, it means that the current workload of the distributed display cluster system has reached the preset standard amount. For example, the distributed display cluster system is expected to be able to process 100 display tasks simultaneously (this is the preset threshold), and now there are 160 tasks in progress. The second number can be 5.
[0087] It should be noted that the above method for determining the first leading node is also applicable to determining the second leading node, and the embodiments of the present disclosure do not limit this.
[0088] In this embodiment, when the load is low, the number of leading nodes is reduced to save resources; when the load is high, the number of leading nodes is increased to improve processing capacity. Through dynamic adjustment, resource waste or performance degradation caused by insufficient resources is avoided, so that the distributed display cluster system can always be maintained in the best performance state and efficiently complete various display tasks.
[0089] In some embodiments, Figure 6 The flowchart of a method for scheduling display nodes to execute display tasks according to an embodiment of the present disclosure is shown. In combination with Figure 6 As shown, according to the working mode of the distributed display cluster system, scheduling one or more display nodes to execute display tasks may include:
[0090] S602. Collect status reports of each display node and construct a logically virtual large screen according to policies or requirements.
[0091] In this embodiment, the status reports of each display node are obtained by monitoring the broadcasts of each display node. The display node will regularly broadcast its own status, such as whether it is busy, resource occupancy, etc., so that the leading node can collect this information. The first leading node or the second leading node constructs a virtual large screen logically according to the collected status reports of each display node based on policies or requirements. For example, the first leading node integrates the information of each display node and determines which display nodes execute display tasks according to preset rules, such as factors like load balancing policies, node performance, or display task requirements.
[0092] S604. Allocate the display tasks to one or more relevant display nodes according to the layout of the display nodes, the working mode, and the virtual display simulation of the virtual large screen.
[0093] In this embodiment, the layout of the display nodes refers to the position arrangement and other situations of the display nodes in the overall display system. Different layouts will affect the allocation of display tasks. The working modes of the display nodes include mirror display mode, independent display mode, virtual large screen display mode, etc. The task allocation methods are different under different working modes. The virtual large screen is a logical concept of a large screen, not an actual physical large screen. The virtual display simulation is based on the concept of the virtual large screen, and simulates and allocates the display tasks. According to the layout and working mode of the display nodes, the display tasks are reasonably allocated to one or more display nodes to achieve an efficient display effect. For example, multiple display nodes display the same content, which is often used to display a unified picture, such as multiple screens in a meeting room playing a presentation synchronously; or each node displays different content, and different data or pictures can be displayed separately according to requirements; or multiple display nodes are combined into a large virtual screen to provide a larger display area and a more flexible layout.
[0094] In some embodiments, after allocating the display tasks to one or more relevant display nodes according to the layout of the display nodes, the working mode, and the virtual display simulation of the virtual large screen, it further includes: generating a task allocation table based on the allocated display tasks; sharing the task allocation table to all display nodes so that all display nodes can save the task allocation table.
[0095] In this embodiment, by sharing the task allocation table to other display nodes, the purpose is to enable all nodes to retain the latest task allocation information. When a failure occurs, such as the sudden failure of the first master node, the second master node can quickly take over the first master node by virtue of the saved task allocation table, ensuring that the entire display system can operate continuously and stably. Through this sharing and saving mechanism, a relationship of mutual cooperation and operation guarantee is formed among the nodes.
[0096] In some embodiments, Figure 7 Show a flowchart of a method for implementing a virtual large screen according to an embodiment of the present disclosure. As shown in combination with Figure 7 shown, implementing a virtual large screen according to an embodiment of the present disclosure may include:
[0097] S702. Obtain the display resources corresponding to the display tasks.
[0098] The display resources may include content to be displayed such as images and videos.
[0099] S704. Determine the screen layout corresponding to the display resource based on the virtual large - screen display mode of the distributed display cluster system, the display resources corresponding to the display task, and the status information of the one or more display nodes.
[0100] In this embodiment, the screen layout refers to how the entire display screen is divided. For example, different display nodes display different parts of a picture in sequence, and all display nodes jointly compose a picture. It can also be that in a video wall composed of multiple display nodes spliced together, the main screen shows the main picture, and the surrounding screens show auxiliary information. According to the screen layout, different contents such as images, videos, or data are assigned to the corresponding display nodes. If a certain area in the screen layout is defined as a specific function area (such as a dedicated area for a certain camera picture in a monitoring screen), the video stream of that camera will be assigned to the corresponding display node to ensure the orderly and efficient display of the picture.
[0101] S706. Allocate the display task according to the virtual large - screen display mode of the distributed display cluster system, the screen layout of the display resource, and the status information of the one or more display nodes.
[0102] Each node can work collaboratively according to the predetermined screen and mode, and jointly present a complete virtual large - screen picture.
[0103] Figure 8 Show the specific implementation method flowchart of a control method for a distributed display cluster system according to an embodiment of the present disclosure. Combining Figure 8 As shown, the control method of the distributed display cluster system may include:
[0104] S801. The display node starts.
[0105] In some embodiments, the display node can integrate dedicated hardware modules (such as GPU acceleration cards, FPGA modules) to improve the image processing ability and efficiency, which is particularly suitable for application scenarios that require high - performance graphics rendering.
[0106] In some embodiments, the display node includes a processor and a display. The processor and the display are communicatively connected, and the display nodes in the same distributed display cluster system are also communicatively connected. Wireless transmission technologies such as Wi - Fi 6 Enhanced (Wi - Fi 6 Extended, Wi - Fi 6E), 5th Generation New Radio (5G NR), etc. can be introduced to reduce the wiring complexity in and between display nodes, which is suitable for occasions with strong mobility or inconvenient wiring.
[0107] In some embodiments, edge computing functions can also be integrated on the display node, allowing local processing of some computing tasks, reducing the burden on the central node, and improving the response speed.
[0108] S802, the display node automatically broadcasts the existence notification.
[0109] S803, the display nodes use mDNS or related protocols to perform self-discovery between nodes to build a distributed display cluster.
[0110] In some embodiments, in order to improve security, the display node implements end-to-end encryption during the data interaction process, that is, the data is encrypted during the transmission process, and only the sender and the receiver can decrypt it, so that even if the data is intercepted, it is difficult to be read by a third party, thereby ensuring communication security. In addition, digital signature technology can be used to confirm that the message is indeed from the sender to prevent malicious nodes from forging messages. In addition, strict permission control can be implemented for sensitive operations, that is, access rights are set for important or sensitive operations, and only authorized users can perform them, further enhancing system security. In this embodiment, system security is guaranteed by encryption and identity authentication.
[0111] S804, display nodes reach consensus through the Raft distributed formula algorithm and select a leading node.
[0112] In this embodiment, the advantages of centralized and distributed architectures can be combined to elect a part of the dominant nodes as fixed dominant nodes and another part of the dominant nodes as non-fixed dominant nodes. Some tasks are handled by the fixed dominant nodes, while other tasks are handled by decentralized non-fixed dominant nodes, ensuring that the system is highly flexible and reliable.
[0113] S805, the display node sends status information to the dominant node.
[0114] S806, the leading node collects status information of all nodes and builds a logical virtual large screen.
[0115] S807, the leading node distributes display tasks to each display node according to the layout.
[0116] S808, the leading node and each display node save the latest task allocation table.
[0117] S809, the master node and each display node begin to execute the assigned tasks.
[0118] In this embodiment, the concept of distributed decentralized display nodes is introduced to improve the elasticity and flexibility of the system, which is suitable for application scenarios that require high autonomy and flexible deployment, such as large-scale distributed display systems, remote collaboration platforms, etc., further enhancing the system's adaptability and user experience.
[0119] Based on the same inventive concept, embodiments of the present disclosure also provide a control device for a distributed display cluster system, as described in the following embodiments. Since the principle of problem-solving in this device embodiment is similar to that of the above method embodiment, the implementation of this device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be elaborated.
[0120] Figure 9 The figure shows a schematic diagram of a control device for a distributed display cluster system in an embodiment of the present disclosure. The distributed display cluster system includes: a plurality of display nodes, and each display node includes a processing unit and a display; as Figure 9 shown, the device includes: an election module 91 and a task scheduling module 92;
[0121] The election module 91 is configured to determine a first master node from the plurality of display nodes, and when the first master node fails, determine a second master node from the other display nodes except the first master node among the plurality of display nodes;
[0122] The task scheduling module 92 is configured to enable the first master node or the second master node to schedule one or more display nodes to execute display tasks according to the working mode of the distributed display cluster system.
[0123] In some embodiments, the device further includes a joining module, which is configured to: in response to a display node joining request, broadcast the display node joining request in the distributed display cluster system, and the display node obtains the status information of other display nodes in the distributed display cluster system; the display node joining request is used to add one or more display nodes to the distributed display cluster system, and the display node joining request carries the status information of the display node.
[0124] In some embodiments, the election module 91 is configured to: obtain the load of the distributed display cluster system and a preset threshold; specifically, the election module 91 is configured to: when the load of the distributed display cluster system is less than the preset threshold, determine a first number of first master nodes from the plurality of display nodes; when the load of the distributed display cluster system is greater than or equal to the preset threshold, determine a second number of first master nodes from the plurality of display nodes; the second number is greater than the first number.
[0125] In some embodiments, the task scheduling module 92 is specifically configured to: collect status reports of each display node, construct a logically virtual large screen according to policies or requirements; and allocate display tasks to relevant one or more display nodes according to the layout, working mode of the display nodes and the virtual display simulation of the virtual large screen.
[0126] In some embodiments, the task scheduling module 92 is further configured to: generate a task allocation table based on the allocated display tasks; and share the task allocation table with all display nodes so that all display nodes save the task allocation table.
[0127] In some embodiments, when the working mode is the virtual large screen display mode, before allocating display tasks to each display node according to the working mode of the distributed display cluster system and the status information of each display node, the task scheduling module 92 is further configured to: obtain the display resources corresponding to the display tasks; the task scheduling module 92 is configured to: determine the screen layout corresponding to the display resources based on the virtual large screen display mode of the distributed display cluster system, the display resources corresponding to the display tasks, and the status information of the one or more display nodes; and allocate display tasks according to the virtual large screen display mode of the distributed display cluster system, the screen layout of the display resources, and the status information of the one or more display nodes.
[0128] In some embodiments, the task scheduling module 92 is specifically configured to: the first leading node or the second leading node pre-distributes the resource file corresponding to the display task to each display node so that the one or more display nodes execute the display task; and / or, each of the display nodes generates the resource file corresponding to the display task according to the display task so that the one or more display nodes execute the display task; and / or, the first leading node or the second leading node dynamically distributes the resource file corresponding to the display task to each display node so that the one or more display nodes execute the display task.
[0129] In some embodiments, each display node has the system metadata of the distributed display cluster system, and the system metadata includes one or more of configuration information, task allocation rules, display node status, and data distribution policies.
[0130] In some embodiments, the election module 91 is further configured to: determine at least one display node from the multiple display nodes as a management node, and the management node is used to configure the system metadata of the distributed display cluster system.
[0131] It should be noted here that the examples and application scenarios implemented by each module in the above device embodiments are the same as the corresponding steps in the method embodiments, but are not limited to the content disclosed in the above method embodiments. It should be noted that the above modules, as part of a device, can be executed in a computer system such as a set of computer executable instructions.
[0132] Those skilled in the art can understand that various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which can be collectively referred to as "circuit", "module" or "system" here.
[0133] Based on the same inventive concept, an electronic device is further provided in an embodiment of the present disclosure. The electronic device includes: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the control method of the distributed display cluster system in any one of the above through executing the executable instructions. Since the principle of solving problems in this embodiment of the electronic device is similar to that in the above method embodiment, the implementation of this embodiment of the electronic device can refer to the implementation of the above method embodiment, and the repeated parts will not be described again.
[0134] Next, refer to Figure 10 to describe the electronic device 1000 according to this embodiment of the present disclosure. Figure 10 The electronic device 1000 shown is only an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.
[0135] As Figure 10 shown, the electronic device 1000 is presented in the form of a general computing device. The components of the electronic device 1000 may include but are not limited to: at least one of the above processing units 1010, at least one of the above storage units 1020, and a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010).
[0136] Among them, the storage unit stores program codes, and the program codes can be executed by the processing unit 1010, so that the processing unit 1010 executes the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification. For example, the processing unit 1010 may execute the following steps of the above method embodiment: determine a first leading node from the multiple display nodes, wherein the first leading node schedules one or more display nodes to execute display tasks according to the working mode of the distributed display cluster system; when the first leading node fails, determine a second leading node from the other display nodes except the first leading node among the multiple display nodes, so that the second leading node schedules one or more display nodes to execute display tasks according to the working mode of the distributed display cluster system.
[0137] The storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 10201 and / or a cache storage unit 10202, and may further include a read-only storage unit (ROM) 10203.
[0138] The storage unit 1020 may also include a program / utilities 10204 having a set (at least one) of program modules 10205. Such program modules 10205 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment.
[0139] The bus 1030 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus structures.
[0140] The electronic device 1000 may also communicate with one or more external devices 1040 (such as a keyboard, a pointing device, a Bluetooth device, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1000, and / or may communicate with any device that enables the electronic device 1000 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication may be through an input / output (I / O) interface 1050. Also, the electronic device 1000 may communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 1060. As shown in the figure, the network adapter 1060 communicates with other modules of the electronic device 1000 through the bus 1030. It should be understood that although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0141] Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or can be implemented by a combination of software and necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
[0142] Based on the same inventive concept, embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the control method of the distributed display cluster system in any one of the above. Since the principle of solving problems in the embodiment of the computer-readable storage medium is similar to that of the above method embodiment, the implementation of the embodiment of the computer-readable storage medium can refer to the implementation of the above method embodiment, and the repeated parts will not be described again.
[0143] More specific examples of the computer-readable storage medium in the present disclosure may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0144] In the present disclosure, the computer-readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries the readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium may also be any readable medium other than the readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0145] Optionally, the program code contained on the computer-readable storage medium may be transmitted by any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination of the above.
[0146] In specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages. The programming languages include object-oriented programming languages such as Java, C++, etc., and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's device, executed as an independent software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (for example, by using an Internet service provider to connect through the Internet).
[0147] Based on the same inventive concept, embodiments of the present disclosure also provide a computer program product, including: a computer program or instruction, which when executed by a processor implements the control method of the distributed display cluster system in any one of the above method embodiments. Since the principle of solving problems in this computer program product embodiment is similar to that of the above method embodiment, the implementation of this computer program product embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be elaborated.
[0148] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of the two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0149] In addition, although the steps of the methods in the present disclosure are described in a specific order in the drawings, this does not require or imply that these steps must be executed in this specific order, or that all the steps shown must be executed to achieve the desired result. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution, etc.
[0150] From the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or by a combination of software and necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (such as a personal computer, server, mobile terminal, or network device, etc.) to execute the method according to the embodiments of the present disclosure.
[0151] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily conceive of other embodiments of the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the appended claims.
Claims
1. A control method for a distributed display cluster system, characterized in that The distributed display cluster system includes: a plurality of display nodes, each display node including a processing unit and a display; Determine a first leading node from the plurality of display nodes, wherein the first leading node schedules one or more display nodes to execute display tasks according to the working mode of the distributed display cluster system; When the first leading node fails, determine a second leading node from the other display nodes except the first leading node among the plurality of display nodes, so that the second leading node schedules one or more display nodes to execute display tasks according to the working mode of the distributed display cluster system.
2. The control method of the distributed display cluster system according to claim 1, wherein Before determining the first leading node from the plurality of display nodes, the method further includes: In response to a display node joining request, broadcast the display node joining request in the distributed display cluster system, and the display node obtains the status information of other display nodes in the distributed display cluster system; the display node joining request is used to add one or more display nodes to the distributed display cluster system, and the display node joining request carries the status information of the display node.
3. The control method of the distributed display cluster system according to claim 1, characterized in that Before determining the first leading node from the plurality of display nodes, it further includes: Obtain the load of the distributed display cluster system and a preset threshold; Determining the first leading node from the plurality of display nodes includes: When the load of the distributed display cluster system is less than the preset threshold, determine a first number of first leading nodes from the plurality of display nodes; When the load of the distributed display cluster system is greater than or equal to the preset threshold, determine a second number of first leading nodes from the plurality of display nodes; the second number is greater than the first number.
4. The control method of the distributed display cluster system according to claim 1, characterized in that Scheduling one or more display nodes to execute display tasks according to the working mode of the distributed display cluster system includes: Collect status reports of each display node, and construct a logically virtual large screen according to policies or requirements; Allocate display tasks to relevant one or more display nodes according to the layout, working mode of the display nodes and the virtual display simulation of the virtual large screen.
5. The control method of the distributed display cluster system according to claim 4, wherein After allocating display tasks to relevant one or more display nodes according to the layout, working mode of the display nodes and the virtual display simulation of the virtual large screen, it further includes: Generate a task allocation table based on the allocated display tasks; Share the task allocation table to all display nodes so that all display nodes save the task allocation table.
6. The control method of the distributed display cluster system according to claim 1, characterized in that, Scheduling one or more display nodes to execute display tasks includes: The first leading node or the second leading node pre-distributes the resource file corresponding to the display task to each display node, so that the one or more display nodes execute the display task; and / or, Each display node generates the resource file corresponding to the display task according to the display task, so that the one or more display nodes execute the display task; and / or, The first leading node or the second leading node dynamically distributes the resource file corresponding to the display task to each display node, so that the one or more display nodes execute the display task.
7. The control method of the distributed display cluster system according to claim 1, characterized in that, Each of the multiple display nodes has the system metadata of the distributed display cluster system, and the system metadata includes one or more of configuration information, task assignment rules, display node status, and data distribution policies.
8. The control method of the distributed display cluster system according to claim 1, wherein The method further includes: determining at least one display node from the multiple display nodes as a management node, and the management node is used to configure the system metadata of the distributed display cluster system.
9. A control device for a distributed display cluster system, characterized in that, The distributed display cluster system includes: multiple display nodes, each display node includes a processing unit and a display; the device includes: An election module, configured to determine a first leading node from the multiple display nodes, and when the first leading node fails, determine a second leading node from the other display nodes except the first leading node among the multiple display nodes; A task scheduling module, configured to enable the first leading node or the second leading node to schedule one or more display nodes to execute display tasks according to the working mode of the distributed display cluster system.
10. An electronic device, characterized in that, Including: A processor; And A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the control method of the distributed display cluster system according to any one of claims 1 to 8 by executing the executable instructions.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the control method of the distributed display cluster system according to any one of claims 1 to 8.
12. A computer program product, comprising: A computer program or instruction, characterized in that when the computer program or instruction is executed by a processor, it implements the control method of the distributed display cluster system according to any one of claims 1 to 8.