Multi-window collaboration method
Through the introduction of management centers and rendering modules in the control system, and using orderly pipeline services to achieve pipeline communication, the problem of high windows in the existing technologies is difficult to collaborate in the existing technology, and the synchronous display and seamless switching of information in different windows are realized. Suitable for complex monitoring scenarios.
Patent Information
- Application Number
- CN202411384477.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-09-30
AI Technical Summary
When facing complex and diverse monitoring scenarios, the existing centralized control system has limited information display and monitoring vision under multiple semaphores, insufficient interactivity and flexibility, making it difficult to achieve multi-window collaboration.
By introducing management centers, first rendering modules, and second rendering modules in the centralized monitoring system, the center -order pipeline services, first order pipeline services and second order pipeline services are used to achieve orderly channel -based pipeline communications. Ensure the communication agent and synchronization between the rendering module.
It realizes the synchronous display and seamless switching of the same level of information in different windows, reduces the complexity and difficulty of synchronization, ensures the consistency of data, and is suitable for complex centralized monitoring scenarios.
Smart Images

Figure CN119356904A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of multi-window system communication, and more specifically, to a multi-window collaboration method. Background Art
[0002] At present, the common power centralized monitoring system (hereinafter referred to as the centralized control system) is a hierarchical structure of power station-regional management center, with the construction goal of "centralized control, regional management, intelligent operation and maintenance, and efficient power generation" to achieve intelligent management and promote efficient use of energy. The client of the centralized control system is deployed in the regional centralized control center, mainly including browser / server and client / server architectures, receiving and displaying real-time production data transmitted by power stations, and realizing real-time monitoring, data analysis, fault warning and remote control of station equipment.
[0003] Most of the 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 signals 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; there is a lack of interactivity and flexibility, and frequent interface switching is still required for multi-tasking, which reduces operational efficiency and may cause errors.
[0004] In the prior art, message queues and shared memory have been used to provide remote transmission and achieve collaborative control. Among them, the message queue is a linked list of messages stored in the memory, which is maintained by the kernel. The receiver can independently receive data structures containing different data types, support asynchronous communication, and allow message temporary storage, but it increases the complexity of management and synchronization; while shared memory is a full-duplex communication method that directly shares data segments in the memory, which is suitable for large data volume exchange, but shared memory does not provide a synchronization mechanism, and it is difficult to ensure data consistency. Summary of the invention
[0005] In order to overcome the defect of high difficulty in multi-window collaboration described 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 solution of the present invention is as follows:
[0007] In a first aspect, a multi-window collaboration method is applied to a centralized monitoring system, wherein the centralized monitoring system includes 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 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 communication message categories;
[0008] The method comprises:
[0009] The first rendering module performs a first writing 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 writing 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, and sends the communication message to the central sequential pipe service based on the communication pipe corresponding to the specific message category;
[0011] 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 specific message category;
[0012] 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 in response to the central write action;
[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, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an 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 described in the first aspect is implemented.
[0016] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[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 central proxy, the security of the system is guaranteed and the complexity and difficulty of synchronization 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 the consistency of data, 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 This is a flowchart 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 sequence. It should be understood that the terms used in this way can be interchanged in appropriate cases, which is only to describe the distinction mode adopted by the objects of the same attributes in the embodiments of the present application when describing. 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 containing 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, and may include acquisition, calculation, calculation, processing, derivation, investigation, search (for example, search in a table, database or other data structure), ascertainment, and similar actions, and may also include reception (for example, receiving information), access (for example, accessing data in a memory) and similar actions, and may also include generation, creation, establishment and similar actions, as well as parsing, selection, selection and similar actions, etc. The relevant definitions of other terms will be given in the following description.
[0025] The drawings are for illustrative purposes only and should not be construed as limiting the present patent;
[0026] In order to better illustrate the present embodiment, some parts in the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product;
[0027] It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.
[0028] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0029] Example 1
[0030] This embodiment provides a multi-window collaboration method, which is applied to 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 sending notifications), 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 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;
[0031] See also Figure 2 , the method comprising:
[0032] The first rendering module performs a first writing action to write a number 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 writing action to write a number 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, and sends the communication message to the central sequential pipe service based on the communication pipe corresponding to the specific message category;
[0034] 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 specific message category;
[0035] 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 in response to the central write action;
[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, communication messages of various communication message categories (semaphores, such as window semaphores, alarm semaphores, level synchronization semaphores, data semaphores, etc.) can be transmitted between the rendering module and the management center. One communication message corresponds to one communication pipeline, and each communication pipeline contains two endpoints (identifying the sending end and the receiving end), which can complete the data reception and transmission from endpoint to endpoint. Those skilled in the art should understand that all communication pipelines 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, a sequential pipeline communication is established, which can realize the synchronous display and seamless switching of the same level information in different windows, ensure data consistency, and have low computing 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 creates 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 listen to the central sequential pipeline service to obtain the communication message and parse it; the triggering of the management center to perform the central write action includes:
[0043] The central sequential pipeline service responds to the received communication message, triggers the central listener to parse the communication message, and determines 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 description, the communication message category of the communication signal is Class A (i.e., a specific message category). The entire communication process uses the management center C0 as the message agent and transmits messages layer by layer:
[0048] S10. Set rendering module R x Assign to the rendering module R Y Sending Class A signal;
[0049] S20, rendering module R x The sender writes the message to its sequence pipe service;
[0050] S30, rendering module R x The sequential pipe service of the center C0 identifies the message type and uses the communication pipe A to send the message to the sequential pipe service of the management center C0;
[0051] S40, the sequential pipeline service of the management center C0 receives the message, identifies the message, uses the communication pipeline A to pass it to the listener of C0 for parsing, determines the next communication direction and communication pipeline, and specifies the rendering module R Y Sending Class A signal;
[0052] S50, triggering the sender of the management center C0 to write a message to its sequential pipe 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 also registered with a window service, and the initialization process of the centralized monitoring system includes:
[0057] The management center, in response to the acquired first screen parameter information, 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 the second screen parameter information, calls the window service to create the 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 executed 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 in the main screen S0. The main application window is bound to the rendering module R0 through the routing address, that is, the routing address corresponding to the rendering module R0 is specified to load the main application window; the steps to create 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 sub-screen S2, the first sub-screen S1 and the second sub-screen S2 are triggered to be created by the main rendering module R0 (i.e., the first rendering module). The main rendering module R0 sends two window creation signals to the management center C0, obtains the parameters of the screen, 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 respectively.
[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 also 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, obtaining N communication messages to be sent, traversing the communication messages at time Δt and creating N structure objects Message, wherein the structure objects include a message body V, control information Ident, a priority Pri and a timestamp Time;
[0073] Create a message list and initialize the head pointer Head to empty;
[0074] Traverse Message objects: 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 currently traversed node; if the priorities are the same, compare the timestamps Time and insert M i Insert to the first value greater than M i The previous position of the node with the timestamp; otherwise, M i Insert to 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 should understand 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 is implemented by an order management module on the message sending side, such as Figure 6 shown.
[0080] It should be understood that the priority is set by those skilled in the art according to actual conditions. In some specific implementations, the priority Pri between notification messages can 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 level switching, carousel, etc.), and alarm notification messages are higher than data messages (data returned by the server, etc.).
[0081] It should also be understood that the timestamp Time may be recorded by the rendering module of the message sending side according to the sending time, or may be recorded by the rendering module of 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, and 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 executes part or all of the 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 disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[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, the computer program product includes a computer program or a computer executable instruction, the computer program or the computer executable instruction is stored in a computer-readable storage medium. A processor of an electronic device reads the computer program or the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the electronic device performs some or all steps of the method described in the embodiment of the present application.
[0090] In some examples, a computer program is provided, comprising a computer-readable code, and when the computer-readable code is run in a computer device, a processor in the computer device executes a 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, a code set or an instruction set, and when the processor executes the at least one instruction, at least one program, a code set or an 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] The processor may include one or more processing elements. Thus, the processor may include one or more integrated circuits (ICs) configured to perform the functions of the processor. In addition, each integrated circuit may include a circuit (e.g., a first circuit, a second circuit, and other circuits, etc.) 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, and the bus connects various circuits of one or more processors and memories together.
[0095] It can be understood that the options in the above-mentioned 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 to describe the positional relationship in the drawings are only used for illustrative purposes and should not be construed as limiting the present application;
[0098] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.
[0099] In different specific implementations, the method or system described in the present 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-mentioned 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 of ordinary skill in the art, other different forms of changes or modifications can be made based on the above description. Each discrete structure / function module or unit can be integrated together to form an independent part, or each module can exist separately, 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, improvements, etc. 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: Applied to a centralized monitoring system, the centralized monitoring system includes 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 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 realize 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; The method comprises: The first rendering module performs a first writing 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 writing action to write a plurality of communication messages specifying a second communication direction and a specific 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, and sends the communication message to the central sequential pipe service based on the communication pipe corresponding to the specific 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 specific message category; 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 in response to the central write action; 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.
2. A multi-window collaboration method according to claim 1, characterized in that: The management center is created 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 listen to the central sequential pipeline service to obtain the communication message and parse it; the triggering of the management center to perform the central write action includes: The central sequential pipeline service responds to the received communication message, triggers the central listener to parse the communication message, and determines 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. A multi-window collaboration method according to claim 1, characterized in that: The first rendering module creates a first transmitter and a first listener; wherein the first transmitter 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, characterized in that: The centralized monitoring system is also registered with a window service, and the initialization process of the centralized monitoring system includes: The management center, in response to the acquired first screen parameter information, 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 the second application window, the management center obtains the second screen parameter information, calls the window service to create the second application window according to the second screen parameter information, and binds the second application window to the second rendering module.
5. A multi-window collaboration method according to claim 4, characterized in that: The first application window and the first rendering module, as well as the second application window and the second rendering module, are both bound to each other based on a routing address.
6. A multi-window collaboration method according to claim 4, characterized in that: The centralized monitoring system adopts a context isolation strategy to limit direct communication between the first application window and the second application window.
7. A multi-window collaboration method according to claim 6, characterized in that: 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.
8. A multi-window collaboration method according to any one of claims 1 to 7, 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: Taking Δt as a time period, obtaining N communication messages to be sent, traversing the communication messages at time Δt and creating N structure objects Message, wherein the structure objects include a message body V, control information Ident, a priority Pri and a timestamp Time; Create a message list and initialize the head pointer Head to empty; Traverse Message objects: 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 currently traversed node; if the priorities are the same, compare the timestamps Time and insert M i Insert to the first value greater than M i The previous position of the node with the timestamp; otherwise, M i Insert to the last node of the linked list; After the traversal of the Message objects is completed, a strongly ordered message list is formed with Head as the head pointer; 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.
9. A computer-readable storage medium, characterized in that: The 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 the processor to implement the method as described in any one of claims 1-8.
10. A computer program product comprising a computer program or computer executable instructions, characterized in that: When the computer program or computer executable instructions are executed by a processor, the method according to any one of claims 1 to 8 is 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
Fine oil reservoir description cooperation method and system equipment medium based on flat section linkage
CN118228334A
Rendering windows having transparent properties from a remote desktop environment
US20150121243A1
Multi-window architecture and data communication for a remote access application session
US20180121217A1