A multi-window collaboration method

By proxying communication between rendering modules through the management center and utilizing sequential pipeline services to achieve multi-window collaboration, the information display and interactivity issues of the centralized control system in complex monitoring scenarios are resolved, and synchronous display and seamless switching of information at the same level are achieved, ensuring data consistency and system efficiency.

CN119356904BActive Publication Date: 2025-09-16CHINA RESOURCES POWER TECH RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411384477.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-09-16
Estimated Expiration
2044-09-30

AI Technical Summary

Technical Problem

When faced with complex and diverse monitoring scenarios, the existing centralized control system has limited information display and monitoring vision, lacks interactivity and flexibility, and is difficult to achieve multi-tasking. In addition, the existing collaborative control method increases the complexity of management and synchronization, making it difficult to ensure data consistency.

Method used

The management center is used to proxy the communication between rendering modules. Through the cooperation of the first sequential pipeline service, the second sequential pipeline service and the central sequential pipeline service, sequential pipeline communication is established to achieve synchronous display and seamless switching of the same level information in different windows, reduce synchronization complexity and ensure data consistency.

Benefits of technology

It achieves the security and efficiency of multi-window collaboration in complex monitoring scenarios, reduces the system's computing overhead, and is suitable for centralized monitoring scenarios with multiple signal quantities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119356904B_ABST
    Figure CN119356904B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-window collaboration method, which relates to the field of multi-window system communication. The method includes: a first rendering module writes several communication messages to a first sequential pipeline service, and / or a second rendering module writes several communication messages to a second sequential pipeline service, the first sequential pipeline service responds and / or the second sequential pipeline service responds, and sends a communication message to a central sequential pipeline service based on the communication pipeline corresponding to a specific message category; the central sequential pipeline service responds to the communication message, triggering the management center to write a communication message to the central sequential pipeline service; the central sequential pipeline service responds, and sends a communication message to the second sequential pipeline service and / or to the first sequential pipeline service; the second sequential pipeline service and / or the first sequential pipeline service respond, triggering the second rendering module and / or the first rendering module to perform business processing. Compared with the prior art, the present invention reduces collaboration complexity, ensures data consistency, has low computational overhead, and is suitable for complex centralized monitoring scenarios with multiple signal quantities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multi-window system communication, and more particularly, to a multi-window collaboration method. Background Art

[0002] Currently, the most common centralized power monitoring system (hereinafter referred to as the centralized control system) adopts a hierarchical structure, connecting power plants and regional management centers. Its construction goals are "centralized control, regional management, intelligent operation and maintenance, and efficient power generation," enabling intelligent management and promoting efficient energy utilization. The centralized control system's client is deployed in the regional centralized control center and primarily consists of two architectures: browser / server and client / server. It receives and displays real-time production data transmitted from power plants, enabling real-time monitoring, data analysis, fault warning, and remote control of plant equipment.

[0003] Most existing centralized control systems are based on single-window application design, which can cope with environments with relatively simple monitoring requirements. However, when faced with complex and diverse monitoring scenarios, their limitations under multiple signal quantities are highlighted: information display and monitoring field of view are limited by screen space, making it difficult to accommodate rich monitoring data and visual elements at the same time; interactivity and flexibility are insufficient, and frequent interface switching is still required for multi-tasking, which reduces operational efficiency and may cause errors.

[0004] Prior art uses message queues and shared memory to provide remote transmission and achieve collaborative control. Message queues store linked lists of messages in memory, maintained by the kernel. Receivers can independently receive data structures containing different data types, supporting asynchronous communication and allowing for temporary message storage, but this increases management and synchronization complexity. Shared memory, on the other hand, is a full-duplex communication method that directly shares data segments in memory, making it suitable for exchanging large amounts of data. However, shared memory lacks synchronization mechanisms, making it difficult to ensure data consistency. Summary of the Invention

[0005] In order to overcome the defect of high difficulty in multi-window collaboration in the above-mentioned prior art, the present invention provides a multi-window collaboration method.

[0006] In order to solve the above technical problems, the technical solutions of the present invention are as follows:

[0007] In a first aspect, a multi-window collaboration method is applied to a centralized monitoring system, the centralized monitoring system comprising a management center, a first rendering module, and at least one second rendering module: wherein the management center is used to call system resources and proxy communication between the first rendering module and the second rendering module; the first rendering module and the second rendering module are used to perform business processing and render the business processing results in corresponding windows; the management center, the first rendering module, and the second rendering module are respectively registered with a central sequential pipeline service, a first sequential pipeline service, and a second sequential pipeline service to implement sequential pipeline communication, and the central sequential pipeline service, the first sequential pipeline service, and the second sequential pipeline service create corresponding end-to-end communication pipelines according to communication message categories;

[0008] The method comprises:

[0009] The first rendering module performs a first write action to write a plurality of communication messages specifying a first communication direction and a specific message category to the first sequential pipeline service, and / or the second rendering module performs a second write action to write a plurality of communication messages specifying a second communication direction and a specific message category to the second sequential pipeline service;

[0010] The first sequential pipe service responds to the first write action and / or the second sequential pipe service responds to the second write action, sending the communication message to the central sequential pipe service based on the communication pipe corresponding to the specific message category;

[0011] In response to the communication message, the central sequential pipeline service triggers the management center to perform a central write action, and writes the communication message specifying the first communication direction and / or the second communication direction to the central sequential pipeline service based on the communication pipeline corresponding to the specific message category;

[0012] In response to the central write action, the central sequential pipe service sends the communication message to the second sequential pipe service along the first communication direction and / or to the first sequential pipe service along the second communication direction;

[0013] The second sequential pipeline service and / or the first sequential pipeline service triggers the second rendering module and / or the first rendering module to perform business processing in response to the received communication message.

[0014] In a second aspect, a computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the method described in the first aspect.

[0015] In a third aspect, a computer program product comprises a computer program or computer executable instructions, wherein when the computer program or computer executable instructions are executed by a processor, the method of the first aspect is implemented.

[0016] Compared with the prior art, the beneficial effects of the technical solution of the present invention are:

[0017] The present invention discloses a multi-window collaboration method and proposes a multi-window collaboration architecture. By managing the communication between rendering modules through a management center agent, the system security is guaranteed and the synchronization complexity and difficulty are reduced. At the same time, through the cooperation between the first sequential pipeline service, the second sequential pipeline service and the central sequential pipeline service, sequential-based pipeline communication is established, which can realize the synchronous display and seamless switching of the same level of information in different windows, ensure data consistency, and have low computing overhead, which is suitable for complex centralized monitoring scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a schematic diagram of the architecture of the centralized monitoring system described in Example 1 of the present application;

[0019] Figure 2 Schematic diagram of the process of the multi-window collaboration method described in Example 1 of the present application;

[0020] Figure 3 This is a schematic diagram of an application scenario of the multi-window collaboration method described in Example 1 of the present application;

[0021] Figure 4 This is a schematic diagram of the process of initializing the centralized monitoring system described in Example 1 of the present application;

[0022] Figure 5 This is a schematic diagram of the pipeline communication process based on sequence in Example 1 of the present application;

[0023] Figure 6 This is a schematic diagram of the sequential-based pipeline communication architecture in Example 1 of the present application. DETAILED DESCRIPTION

[0024] The terms "first", "second" etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable in appropriate circumstances, and this is merely a way of distinguishing the objects of the same attribute when describing them in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment. The term "determine" widely covers various actions, may include obtaining, calculating, computing, processing, deriving, investigating, searching (for example, searching in a table, a database or other data structure), ascertaining and similar actions, may also include receiving (for example, receiving information), accessing (for example, accessing data in a memory) and similar actions, may also include generating, creating, establishing and similar actions, and parsing, selecting, selecting and similar actions etc. The relevant definitions of other terms will be provided in the following description.

[0025] The accompanying drawings are for illustrative purposes only and are not to be construed as limiting this patent;

[0026] In order to better illustrate this embodiment, some parts in the drawings may be omitted, enlarged, or reduced, and do not represent the actual product size;

[0027] It is understandable to those skilled in the art that some well-known structures and descriptions thereof may be omitted in the drawings.

[0028] The technical solution of the present invention is further described below with reference to the accompanying drawings and embodiments.

[0029] Example 1

[0030] This embodiment provides a multi-window collaboration method for use in a centralized monitoring system. Figure 1 The centralized monitoring system includes a management center (module), a first rendering module, and at least one second rendering module: wherein the management center is used to call system resources (such as system resources of a service host, including but not limited to screen information, file system, and notification sending), and to proxy the communication between the first rendering module and the second rendering module; the first rendering module and the second rendering module are used to perform business processing and render the business processing results in the corresponding window; the management center, the first rendering module, and the second rendering module are respectively registered with a central sequential pipeline service, a first sequential pipeline service, and a second sequential pipeline service to implement sequential pipeline communication, and the central sequential pipeline service, the first sequential pipeline service, and the second sequential pipeline service create corresponding end-to-end communication pipelines according to the communication message category;

[0031] See Figure 2 , the method comprising:

[0032] The first rendering module performs a first write action to write a plurality of communication messages (i.e., coordination signals) specifying a first communication direction (i.e., starting from the first rendering module and ending at the second rendering module) and a specific message category (i.e., a specified communication message category) to the first sequential pipeline service, and / or the second rendering module performs a second write action to write a plurality of communication messages specifying a second communication direction (i.e., starting from the second rendering module and ending at the first rendering module) and a specific message category to the second sequential pipeline service;

[0033] The first sequential pipe service responds to the first write action and / or the second sequential pipe service responds to the second write action, sending the communication message to the central sequential pipe service based on the communication pipe corresponding to the specific message category;

[0034] In response to the communication message, the central sequential pipeline service triggers the management center to perform a central write action, and writes the communication message specifying the first communication direction and / or the second communication direction to the central sequential pipeline service based on the communication pipeline corresponding to the specific message category;

[0035] In response to the central write action, the central sequential pipe service sends the communication message to the second sequential pipe service along the first communication direction and / or to the first sequential pipe service along the second communication direction;

[0036] The second sequential pipeline service and / or the first sequential pipeline service triggers the second rendering module and / or the first rendering module to perform business processing in response to the received communication message.

[0037] It should be noted that in this embodiment, the rendering module and the management center can transmit communication messages of various message categories (semaphores, such as window semaphores, alarm semaphores, layer synchronization semaphores, data semaphores, etc.). Each communication message corresponds to a communication channel. Each communication channel has two endpoints (identifying a sending end and a receiving end) and can complete endpoint-to-endpoint data reception and transmission. Those skilled in the art will understand that all communication channels share the underlying communication channel.

[0038] It should be understood that there is a mapping relationship between the communication message categories and the communication pipes, and a specific message category is transmitted by a specific communication pipe.

[0039] In this embodiment, a multi-window collaborative architecture is proposed, which ensures the security of the system and reduces the complexity and difficulty of collaboration by managing the communication between the central proxy rendering modules. At the same time, through the cooperation between the first sequential pipeline service, the second sequential pipeline service and the central sequential pipeline service, sequential pipeline communication is established, which can achieve synchronous display and seamless switching of the same level information in different windows, ensure data consistency, and have low computational overhead, which is suitable for complex centralized monitoring scenarios with multiple signal quantities.

[0040] In some specific implementations, the centralized monitoring system is implemented based on a computer program.

[0041] Exemplarily, the centralized monitoring system is deployed in a centralized or decentralized manner on at least one service host, and the service host is connected to a display device (display screen) located at one side of a regional centralized control center (remote end).

[0042] In some preferred embodiments, the management center is provided with a central sender and a central listener; wherein the central sender is used to write the communication message to the central sequential pipeline service, and the central listener is used to monitor the central sequential pipeline service to obtain and parse the communication message; triggering the management center to perform the central write action includes:

[0043] In response to the received communication message, the central sequential pipeline service triggers the central listener to parse the communication message and determine the next communication pipeline and communication direction of the communication message;

[0044] After determining the next communication channel and communication direction of the communication message, the central sender is triggered to write the communication message to the central sequential pipe service.

[0045] In some preferred embodiments, the first rendering module creates a first sender and a first listener; wherein the first sender is used to write the communication message to the first sequential pipeline service, and the first listener is used to listen to the first sequential pipeline service to obtain the communication message and parse it; and

[0046] The second rendering module creates a second transmitter and a second listener; wherein the second transmitter is used to write the communication message to the second sequential pipeline service, and the second listener is used to listen to the second sequential pipeline service to obtain the communication message and parse it.

[0047] In some specific implementations, the rendering module R x and the rendering module R YTo define the collaborative process, the communication signal is classified as Class A (i.e., a specific message category). The management center C0 acts as the message agent during the entire communication process, and messages are delivered layer by layer:

[0048] S10. Set rendering module R x Specify the rendering module R Y Sending Class A signals;

[0049] S20, rendering module R x The sender writes a message to its sequence pipe service;

[0050] S30, rendering module R x The sequential pipeline service of the center C0 identifies the message type and uses the communication pipeline A to send the message to the sequential pipeline service of the management center C0;

[0051] S40, the sequential pipeline service of the management center C0 receives the message, identifies the message, and uses the communication channel A to pass it to the listener of C0 for analysis, determines the next communication direction and communication channel, and specifies the rendering module R Y Sending Class A signals;

[0052] S50, triggering the sender of the management center C0 to write a message to its sequential pipeline service;

[0053] S60, the sequential channel service of the management center C0 identifies the message type and uses the communication channel A to send a signal to the rendering module R Y The sequential pipeline service sends messages;

[0054] S70, Rendering Module R Y The sequential pipeline service receives the message, identifies the message, and passes it to R using the communication pipeline A. Y Listener parsing;

[0055] S80, Rendering Module R Y Perform subsequent specific business function processing in response to the received message.

[0056] In some preferred embodiments, the centralized monitoring system is further registered with a window service, and the initialization process of the centralized monitoring system includes:

[0057] In response to the acquired first screen parameter information, the management center calls the window service to create a first application window and binds it to the first rendering module;

[0058] After the binding is completed, the first rendering module requests the management center to create a second application window;

[0059] In response to the request to create the second application window, the management center obtains second screen parameter information, calls the window service to create a second application window according to the second screen parameter information, and binds the second application window to the second rendering module.

[0060] It should be understood that the window service is registered by the management center on demand. In some examples, the window service provides functions such as creation, destruction, and deletion of application windows.

[0061] Exemplarily, the first screen parameter information / second screen parameter information includes but is not limited to screen position parameters, length, width parameters, etc.

[0062] In some optional embodiments, window binding is performed between the first application window and the first rendering module, and between the second application window and the second rendering module based on a routing address.

[0063] In some specific implementations, the method is run based on three display devices and a service host, see Figure 3 , where the display device in the middle is marked as the main screen S0, which is used to display the main window of the system (i.e., the first application window), with a length and width of W0 and H0 respectively, and a position of P0; the display device on the left is marked as the first sub-screen S1, which displays the left window of the system (i.e., the second application window), with a length and width of W1 and H1 respectively, and a position of P1; the display device on the right is marked as the second sub-screen S2, which displays the right window of the system (i.e., another second application window), with a length and width of W2 and H2 respectively, and a position of P2;

[0064] The system is started for the first time and the adaptive three-screen distribution is completed correctly. Figure 4 :

[0065] S1. When started for the first time, it is set that the main application window is created by the management center C0 and displayed on the main screen S0. The main application window is bound to the rendering module R0 through the routing address, that is, the main application window is specified to load the routing address corresponding to the rendering module R0; the steps for creating the main application window are: first obtain the position P0, width W0, and height H0 of the main screen S0, specify the routing address U0 loaded by the window, and pass the parameters to the management center C0 to call the window service.

[0066] The application windows corresponding to the first and second sub-screens S2, S1, and S2 are triggered by the main rendering module R0 (i.e., the first rendering module). The main rendering module R0 sends two create window signals to the management center C0, obtains the screen parameters, creates the left and right application windows respectively, and binds them to the left rendering module R1 (i.e., the second rendering module) and the right rendering module R2 (i.e., another second rendering module), and loads the corresponding routing addresses.

[0067] More specifically, in the first application window displayed on the main screen S0, the main rendering module is responsible for providing interactive functions such as equipment listing and remote control and an overview of monitoring indicators; in the second application window displayed on the first sub-screen S1, the left rendering module is responsible for displaying indicator statistical information; in the second application window displayed on the second sub-screen S2, the right rendering module R2 is responsible for displaying alarm information.

[0068] In some optional embodiments, the centralized monitoring system adopts a context isolation strategy to limit direct communication between the first application window and the second application window, thereby enhancing the security and stability of communication.

[0069] Furthermore, the centralized monitoring system further includes a preloaded management center interface preloadBridge, and the management center communicates with the first rendering module and the second rendering module through the preloaded management center interface.

[0070] Furthermore, the preloaded management center interface preloadBridge is a module preloaded before each rendering module is started, so as to safely expand the functional interface that the management center C0 needs to expose to the rendering module (including the first rendering module and the second rendering module) and provide it to the rendering module for calling.

[0071] In some preferred embodiments, see Figure 5 , the communication message carries priority information; in the central sequential pipeline service, the first sequential pipeline service and the second sequential pipeline service, the sequential pipeline communication implementation steps include:

[0072] Taking Δt as a time period, obtain N communication messages to be sent, traverse the communication messages at time Δt and create N structure objects Message, each of which contains a message body V, control information Ident, priority Pri, and a timestamp Time;

[0073] Create a message list and initialize the head pointer Head to empty;

[0074] Traverse the Message object: for the i-th Message object M i , start traversing from the head pointer position, and compare M i With the priority Pri of each node, if M i Higher priority, M i Insert it before the current traversal node; if the priority is the same, compare the timestamp Time and insert M i Insert to the first one greater than M i The previous position of the node with the timestamp; otherwise, M i Insert into the last node of the linked list;

[0075] After the traversal of the Message objects is completed, a strongly ordered message list is formed with Head as the head pointer;

[0076] Traverse the message list, extract the communication channel that the message body depends on based on the control information Ident, and complete the communication message sending: for the i-th Message object M i , specify the communication channel, send message data, and delete the current node.

[0077] Those skilled in the art will appreciate that the message body V is the valid data that actually needs to be transmitted. It should also be noted that the control information Ident includes the communication information category channel, the sender address s, and the receiver address r (a routing address identifier may be used).

[0078] In some specific implementations, the time period Δt is set to 2 ms.

[0079] In some specific implementations, the establishment and order management of the message list are implemented by the order management module on the message sending side, such as Figure 6 shown.

[0080] It should be understood that the priority level is determined by those skilled in the art based on actual circumstances. In some specific implementations, the priority level Pri among notification messages may be that window-related messages (such as window creation and destruction) are higher than alarm notification messages, alarm notification messages are higher than interactive notification messages (such as layer switching and carousel), and alarm notification messages are higher than data messages (such as data returned by the server).

[0081] It should also be understood that the timestamp Time can be recorded by the rendering module on the message sending side according to the sending time, or can be recorded by the rendering module on the management center or the final receiving side of the message according to the message arrival time.

[0082] Example 2

[0083] This embodiment provides a computer-readable storage medium, on which is stored at least one instruction, at least one program, code set, or instruction set. The at least one instruction, at least one program, code set, or instruction set is loaded and executed by a processor, so that the processor performs some or all steps of the method provided in Example 1 of the present application.

[0084] It is understood that the storage medium may be transient or non-transient. Exemplarily, the storage medium includes, but is not limited to, a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, among other media capable of storing program code.

[0085] Exemplarily, the processor may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).

[0086] Exemplarily, the read-only memory includes but is not limited to MASK ROM, PROM, EPROM, EEPROM, Flash, etc.

[0087] Exemplarily, the random access memory includes but is not limited to DRAM, SRAM, SDRAM, DDR SDRAM, etc.

[0088] In some examples, a computer program product is provided, which can be implemented in hardware, software, or a combination thereof. As a non-limiting example, the computer program product can be embodied as the storage medium, or as a software product, such as an SDK (Software Development Kit).

[0089] As a non-limiting example, a computer program product is provided, comprising a computer program or computer-executable instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer program or computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform some or all of the steps of the method described in the embodiments of the present application.

[0090] In some examples, a computer program is provided, comprising a computer-readable code. When the computer-readable code is run in a computer device, a processor in the computer device executes the code to implement part or all of the steps in the method.

[0091] This embodiment also proposes an electronic device, including a memory and a processor, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and when the processor executes the at least one instruction, at least one program, code set or instruction set, it implements part or all of the steps of the method described in Example 1.

[0092] In some examples, a hardware entity of the electronic device is provided, including: a processor, a memory and a communication interface; wherein the processor generally controls the overall operation of the electronic device; the communication interface is used to enable the electronic device to communicate with other terminals or servers through a network; the memory is configured to store instructions and applications executable by the processor, and can also cache data to be processed or processed by the processor and various modules in the electronic device (including but not limited to image data, audio data, voice communication data and video communication data), which can be implemented by flash memory (FLASH), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) or random access memory (RAM).

[0093] A processor may include one or more processing elements. Thus, a processor may include one or more integrated circuits (ICs) configured to perform the functions of the processor. Furthermore, each integrated circuit may include circuits (e.g., a first circuit, a second circuit, and other circuits) configured to perform the functions of the processor.

[0094] Furthermore, data may be transmitted between the processor, the communication interface and the memory via a bus, which may include any number of interconnected buses and bridges, connecting various circuits of one or more processors and memories.

[0095] It can be understood that the options in the above embodiment 1 are also applicable to this embodiment, so they will not be described again here.

[0096] The same or similar reference numerals correspond to the same or similar components;

[0097] The terms used in the drawings to describe positional relationships are for illustrative purposes only and are not to be construed as limiting the present application.

[0098] It should be noted that, unless there is any conflict, the embodiments and features in the embodiments of this application can be combined with each other.

[0099] In different specific implementations, the method or system described in this application can be implemented in software, hardware or a combination thereof. In addition, the order of the steps of the method can be changed, and various elements can be added, reordered, combined, omitted, modified, etc.

[0100] Obviously, the above embodiments of the present application are merely examples for clearly illustrating the present application, and are not intended to limit the implementation methods of the present application, and are not intended to limit the present application. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. Each discrete structural / functional module or unit can be integrated together to form an independent part, or each module can exist alone, or two or more modules can be integrated to form an independent part, and the structure and function of the discrete components can be implemented as a combined structure or component. It is not necessary and impossible to enumerate all the implementation methods here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of protection of the claims of the present application.

Claims

1. A multi-window collaboration method, characterized in that: The invention is applied to a centralized monitoring system, comprising a management center, a first rendering module, and at least one second rendering module. The management center is used to call system resources and proxy communication between the first rendering module and the second rendering module. The first rendering module and the second rendering module are used to perform business processing and render the business processing results in corresponding windows. The management center, the first rendering module, and the second rendering module are respectively registered with a central sequential pipeline service, a first sequential pipeline service, and a second sequential pipeline service to implement sequential pipeline communication. The central sequential pipeline service, the first sequential pipeline service, and the second sequential pipeline service create corresponding end-to-end communication pipelines according to communication message categories. The method comprises: The first rendering module performs a first write action to write a plurality of communication messages specifying a first communication direction and a message category to the first sequential pipeline service, and / or the second rendering module performs a second write action to write a plurality of communication messages specifying a second communication direction and a message category to the second sequential pipeline service; The first sequential pipe service responds to the first write action and / or the second sequential pipe service responds to the second write action, sending the communication message to the central sequential pipe service based on the communication pipe corresponding to the message category; The central sequential pipeline service triggers the management center to perform a central write action in response to the communication message, and writes the communication message specifying the first communication direction and / or the second communication direction to the central sequential pipeline service based on the communication pipeline corresponding to the message category; In response to the central write action, the central sequential pipe service sends the communication message to the second sequential pipe service along the first communication direction and / or to the first sequential pipe service along the second communication direction; The second sequential pipeline service and / or the first sequential pipeline service triggers the second rendering module and / or the first rendering module to perform business processing in response to the received communication message; The centralized monitoring system is also registered with a window service, and the initialization process of the centralized monitoring system includes: In response to the acquired first screen parameter information, the management center calls the window service to create a first application window and binds it to the first rendering module; After the binding is completed, the first rendering module requests the management center to create a second application window; In response to the request to create a second application window, the management center obtains second screen parameter information, calls a window service to create a second application window according to the second screen parameter information, and binds the second application window to a second rendering module; Furthermore, the centralized monitoring system adopts a context isolation strategy to limit direct communication between the first application window and the second application window.

2. A multi-window collaboration method according to claim 1, characterized in that: The management center is provided with a central sender and a central listener; wherein the central sender is used to write the communication message to the central sequential pipeline service, and the central listener is used to monitor the central sequential pipeline service to obtain the communication message and parse it; triggering the management center to perform the central write action includes: In response to the received communication message, the central sequential pipeline service triggers the central listener to parse the communication message and determine the next communication pipeline and communication direction of the communication message; After determining the next communication channel and communication direction of the communication message, the central sender is triggered to write the communication message to the central sequential pipe service.

3. The multi-window collaboration method according to claim 1, wherein: The first rendering module creates a first sender and a first listener; wherein the first sender is used to write the communication message to the first sequential pipeline service, and the first listener is used to listen to the first sequential pipeline service to obtain the communication message and parse it; and The second rendering module creates a second transmitter and a second listener; wherein the second transmitter is used to write the communication message to the second sequential pipeline service, and the second listener is used to listen to the second sequential pipeline service to obtain the communication message and parse it.

4. The multi-window collaboration method according to claim 1, wherein: The first application window and the first rendering module, as well as the second application window and the second rendering module, are both bound based on a routing address.

5. The multi-window collaboration method according to claim 1, wherein: The centralized monitoring system further includes a preloaded management center interface, and the management center communicates with the first rendering module and the second rendering module through the preloaded management center interface.

6. A multi-window collaboration method according to any one of claims 1 to 5, characterized in that: The communication message carries priority information; in the central sequential pipeline service, the first sequential pipeline service and the second sequential pipeline service, the sequential pipeline communication implementation steps include: by For the time period, get the N The communication messages, traverse the communication messages and create N A structure object, wherein the structure object includes a message body, control information, priority and timestamp; Create a message list and initialize the head pointer Head is empty; Traversing the structure object: for the structure objects , start traversing from the head pointer position, and compare the structure objects With the priority of each node, if the structure objects Higher priority, structure objects Insert before the currently traversed node; if the priorities are the same, compare the timestamps and insert the structure objects Insert to the first greater than The previous position of the node with the timestamp; otherwise, structure objects Insert into the last node of the linked list; After the traversal of the structure object is completed, the message linked list with strong order is formed; Traverse the message list, extract the communication channel that the message body depends on based on the control information, and complete the communication message sending: structure objects , specify the communication channel, send message data, and delete the current node.

7. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instruction is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Multi-screen collaborative rendering method and device, equipment and medium

    CN117008796A

  • Real-time interaction method based on multi-screen collaboration and related device

    CN117201862A