Monitoring picture template primitive reference retrieval method, system and equipment and storage medium

The use of template element reference hash tables solves the problem of difficult tracking of template element references in industrial control systems, enables real-time monitoring of screen information management, and ensures system stability and resource utilization efficiency.

CN118733805AInactive Publication Date: 2024-10-01XIAN THERMAL POWER RES INST CO LTD +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411231130.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing industrial control system lacks a template element reference retrieval method, resulting in users being unable to understand their reference status in real time when adding, deleting or modifying template elements, which may lead to unexpected loss or modification of the monitoring screen, affecting the real-time monitoring of the system.

Method used

The template element reference hash table is used for retrieval. By obtaining the template element information to be retrieved, the preset template element reference hash table is queried, and all monitoring screen names of the template element are obtained, and the cycle is performed before the operation. Updated regularly to ensure the accuracy of search results.

Benefits of technology

Users can obtain the reference status of template elements in real time before performing operations on template elements to avoid mistakenly changing the monitoring screen, ensuring the system's real-time monitoring capabilities, improving the utilization efficiency of system resources, and avoiding calculation delays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733805A_ABST
    Figure CN118733805A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of industrial control systems, and provides a monitoring picture template primitive reference retrieval method, system and device and a storage medium, the monitoring picture template primitive reference retrieval method comprises the following steps: obtaining information of a to-be-retrieved template primitive; according to the information of the template primitive and a preset template primitive reference hash table, obtaining picture names of all monitoring pictures referencing the template primitive; wherein the template primitive reference hash table stores a picture name of a monitoring picture referencing the template primitive, and association information between the picture name and the referenced template primitive. According to the method provided by the invention, a user can obtain all picture names quoting the template primitive in real time before carrying out conventional operations of adding, deleting and changing on the template primitive, so that the situation that picture monitoring cannot be carried out normally due to the fact that a monitoring picture outside a plan is changed by mistake is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of industrial control systems, and relates to a monitoring screen template element reference retrieval method, system, equipment and storage medium. Background Art

[0002] The monitoring screen of the industrial control system is composed of various graphic elements. Among them, template graphic elements are used frequently due to their reusability. They are mostly used by on-site operation and maintenance personnel to monitor the real-time system status and issue control commands. Therefore, adding, deleting and modifying template graphic elements is one of the most frequent operations in the screen configuration process.

[0003] At present, most industrial control systems lack methods for retrieving template element references, so users cannot quickly obtain information about whether a certain template element is referenced by a monitoring screen. As a result, after deleting or modifying a certain template element, it is possible that the template elements of multiple monitoring screens are accidentally lost or modified, thereby affecting the real-time monitoring of the industrial control system. Summary of the invention

[0004] In order to solve the problems of the above-mentioned prior art, the present invention provides a monitoring screen template element reference retrieval method, system, device and storage medium. Before the user performs routine operations of adding, deleting and modifying the template element, the user can obtain all the screen names that reference the template element in real time, thereby avoiding unplanned monitoring screens from being accidentally modified, resulting in the inability to monitor the monitoring screen normally.

[0005] The present invention is achieved through the following technical solutions: A monitoring screen template element reference retrieval method, comprising: Get the information of the template element to be retrieved; According to the information of the template graphic element, the screen names of all monitoring screens that reference the template graphic element are retrieved in a preset template graphic element reference hash table; The template element reference hash table stores the screen name of the monitoring screen that references the template element, the keyword corresponding to the referenced template element, and the association information between the screen name and the keyword corresponding to the referenced template element.

[0006] Preferably, the information of the template element is the ID number of the template element.

[0007] Further, according to the information of the template primitive, the screen names of all monitoring screens that reference the template primitive are retrieved in a preset template primitive reference hash table, specifically: According to the ID number of the template element, query the preset template element database to obtain the template element name of the template element; use the template element name as a keyword to query the preset template element reference hash table to obtain the screen names of all monitoring screens that reference the template element.

[0008] Preferably, specifically including: S1: Obtain information of the template element to be retrieved, generate a request message according to the information of the template element, and send it to the template element reference calculation process; S2: The template primitive reference calculation process parses the request message in S1 to obtain information of the template primitive, and according to the information of the template primitive, retrieves the screen names of all monitoring screens that reference the template primitive in a preset template primitive reference hash table, taking all the obtained screen names as the retrieval results, and generates a retrieval result message; S3: Parse the search result message described in S2 and generate a search result table.

[0009] Preferably, the template primitive references a hash table for periodic updating, and the updating method specifically includes: (1) pre-establishing an update screen list, a deletion screen list, and a new screen list, and using the new screen list formed by the last round of update as the original screen list for this update, wherein each list includes screen information items, and the attributes of the screen information items include: screen name and last update time; (2) Query the pre-set screen database to obtain the screen names and last updated time of all monitoring screens in the current industrial control system, and generate screen information items one by one, and form a new screen list with all screen information items; (3) Traverse the original screen list and the new screen list in step (2), and for screen information items with the same screen name in the original screen list and the new screen list, compare the last update time in the screen information item; if the last update time in the screen information item in the new screen list is later than the last update time in the screen information item in the original screen list, copy the screen information item in the new screen list and add it to the updated screen list; for screen information items with the same screen name that cannot be found in the original screen list in the new screen list, copy the screen information item in the new screen list and add it to the added screen list; for screen information items with the same screen name that cannot be found in the new screen list in the original screen list, copy the screen information item in the original screen list and add it to the deleted screen list; set the new screen list as the original screen list for the next update; (4) traversing the screen information items in the update screen list, deleting the screen name in the current screen information item in the template primitive reference hash table and the association information between the screen name and the keyword corresponding to the referenced template primitive; (5) traverse the screen information items in the screen list, delete the screen name in the current screen information item in the template primitive reference hash table, and delete the association information between the screen name and the keyword corresponding to the referenced template primitive; (6) Traversing the screen information items in the newly added screen list, adding the screen name in the current screen information item and the association information between the screen name and the keyword corresponding to the referenced template primitive to the template primitive reference hash table; (7) Traverse the screen information items in the update screen list, and add the screen name in the current screen information item and the association information between the screen name and the keyword corresponding to the referenced template primitive to the template primitive reference hash table.

[0010] Furthermore, in step (4) and step (5), the deletion of the picture name in the current picture information item in the template primitive reference hash table and the association information between the picture name and the keyword corresponding to the referenced template primitive are specifically: Traverse the keywords corresponding to all template primitives in the template primitive reference hash table. If the current keyword is associated with the screen name in the current screen information item, delete the screen name in the current screen information item in the template primitive reference hash table and the association information between the screen name and the keyword corresponding to the referenced template primitive.

[0011] Furthermore, in step (6) and step (7), the adding of the picture name in the current picture information item and the association information between the picture name and the keyword corresponding to the referenced template primitive in the template primitive reference hash table is specifically: Read the picture file corresponding to the picture name in the current picture information item, traverse all the graphics elements in the picture file, if the current graphics element is a template graphics element, query the graphics element template reference hash table according to the keyword corresponding to the template graphics element, if there is no keyword corresponding to the template graphics element in the graphics element template reference hash table, then add the keyword corresponding to the template graphics element, the picture name in the current picture information item and the association information between the picture name and the keyword corresponding to the template graphics element to the graphics element template reference hash table, otherwise add the picture name of the current picture information item to the graphics element template reference hash table, and establish the association information between the picture name of the current picture information item and the keyword corresponding to the template graphics element.

[0012] A monitoring screen template element reference retrieval system, comprising: An acquisition module, used to acquire information of the template element to be retrieved; A retrieval module, used to retrieve the screen names of all monitoring screens that reference the template graphic element in a preset template graphic element reference hash table according to the information of the template graphic element; The template element reference hash table stores the screen name of the monitoring screen that references the template element, the keyword corresponding to the referenced template element, and the association information between the screen name and the keyword corresponding to the referenced template element.

[0013] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the monitoring screen template primitive reference retrieval method as described above are implemented.

[0014] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the monitoring screen template primitive reference retrieval method are implemented.

[0015] Compared with the prior art, the present invention has the following beneficial effects: The monitoring screen template element reference retrieval method described in the present invention can retrieve the reference status of the monitoring screen to the template element. Before the user performs routine operations of adding, deleting and modifying the template element, the user can obtain all the screen names that reference the template element in real time, thereby avoiding unplanned monitoring screens being accidentally modified, resulting in the inability to monitor the monitoring screen normally.

[0016] Furthermore, the method of the present invention adopts inter-process message communication, so the template primitive reference calculation process with large computational load can be run on nodes with sufficient computing power such as the server of the industrial control system, thereby ensuring the real-time nature of the calculation results. For a relatively large industrial control system, the number of monitoring screens is relatively large, so this method can achieve efficient use of system resources and avoid calculation delays caused by insufficient node computing power. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 The present invention is a flow chart of the method. DETAILED DESCRIPTION

[0019] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention.

[0020] It should be noted that the process equipment or devices not specifically specified in the following embodiments are all conventional equipment or devices in the art.

[0021] It should be noted that the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. Moreover, unless otherwise specified, the numbering of each method step is only a convenient tool for identifying each method step, and is not intended to limit the order of arrangement of each method step or to define the scope of the present invention. Changes or adjustments in their relative relationships should also be regarded as the scope of the present invention without substantially changing the technical content.

[0022] like Figure 1 As shown, the monitoring screen template element reference retrieval method of the present invention includes: Get the information of the template element to be retrieved; According to the information of the template graphic element, the screen names of all monitoring screens that reference the template graphic element are retrieved in a preset template graphic element reference hash table; The template element reference hash table stores the screen name of the monitoring screen that references the template element, the keyword corresponding to the referenced template element, and the association information between the screen name and the keyword corresponding to the referenced template element.

[0023] The template graphic element described in the present invention is a type of graphic element in the monitoring screen of the industrial control system and can be reused in the monitoring screen.

[0024] The identity number (ID) of the template element is a unique identifier of the template element, so the information of the template element in the present invention preferably uses the ID number of the template element.

[0025] In some specific embodiments of the present invention, the template primitive reference hash table uses the template primitive name as a keyword and is associated with the screen names of all monitoring screens that reference the template primitive corresponding to the template primitive name.

[0026] In some specific embodiments of the present invention, according to the information of the template element, the screen names of all monitoring screens that reference the template element are retrieved in a pre-set template element reference hash table, specifically: according to the ID number of the template element, a pre-set template element database is queried to obtain the template element name of the template element; with the template element name as the keyword, a pre-set template element reference hash table is queried to obtain the screen names of all monitoring screens that reference the template element.

[0027] In some specific embodiments of the present invention, the monitoring screen template primitive reference retrieval method specifically includes: S1: Obtain information of the template element to be retrieved, generate a request message according to the information of the template element, and send it to the template element reference calculation process; S2: The template primitive reference calculation process parses the request message in S1 to obtain information about the template primitive, and searches for screen names of all monitoring screens that reference the template primitive in a preset template primitive reference hash table according to the information about the template primitive, taking all the obtained screen names as search results, generating a search result message and returning it; S3: Parse the search result message described in S2 and generate a search result table.

[0028] In the present invention, the template primitive reference hash table is periodically updated according to all monitoring screens in the industrial control system, thereby ensuring the accuracy of the retrieval result.

[0029] Specifically, for deleted monitoring screens, the associated information related to them is deleted in the template primitive reference hash table; for added monitoring screens, the associated information related to them is added in the template primitive reference hash table; for updated monitoring screens, the associated information related to them is updated in the template primitive reference hash table.

[0030] Example The monitoring screen template element reference retrieval method of the present invention is applied to the monitoring screen of the industrial control system, and the specific implementation process includes the following steps: S1: The main process obtains the ID number of the template element to be retrieved, generates a request message according to the ID number of the template element, and sends it to the template element reference calculation process; S2: The template element reference calculation process parses the request message described in S1, obtains the ID number of the template element, queries the preset template element database according to the ID number of the template element, and obtains the template element name of the template element; uses the template element name as a keyword to query the preset template element reference hash table, obtains the screen names of all monitoring screens that reference the template element, uses all the obtained screen names as the search results, generates a search result message and returns it to the main process that sends the request message in S1; S3: The main process parses the search result message described in S2 and generates a search result table, and the template element reference search is completed.

[0031] The template primitive reference hash table in the embodiment of the present invention is periodically updated by a reference calculation module in the template primitive reference calculation process. Each calculation by the reference calculation module involves five lists, namely, a new screen list, an original screen list, an updated screen list, a deleted screen list, and a newly added screen list. The above lists are all composed of screen information items, and the attributes of the screen information items include: screen name, version number, and last update time.

[0032] The reference calculation module of the present invention implements the update of the template primitive reference hash table through the following calculation method: (1) Pre-establishing an update screen list, a deletion screen list, and a new screen list, and using the new screen list formed by the previous round of update as the original screen list for this update, wherein each list includes screen information items, and the attributes of the screen information items include: screen name, version number, and last update time; (2) Query the screen database to obtain the screen name, version number, and last update time of all monitoring screens in the current industrial control system, and generate screen information items one by one, and form a new screen list with all screen information items; (3) Traverse the original screen list and the new screen list in step (2), and for screen information items with the same screen name in the two lists, compare the last update time in the screen information item; if the last update time in the screen information item in the new screen list is later than the last update time in the screen information item in the original screen list, copy the screen information item in the new screen list and add it to the updated screen list; for screen information items with the same screen name that cannot be found in the original screen list in the new screen list, copy the screen information item in the new screen list and add it to the added screen list; for screen information items with the same screen name that cannot be found in the new screen list in the original screen list, copy the screen information item in the original screen list and add it to the deleted screen list; finally, set the new screen list as the original screen list in the next calculation of the reference calculation module; (4) traversing the screen information items in the update screen list, deleting the screen name in the current screen information item in the template primitive reference hash table and the association information between the screen name and the keyword corresponding to the referenced template primitive; (5) traverse the screen information items in the screen list, delete the screen name in the current screen information item in the template primitive reference hash table, and delete the association information between the screen name and the keyword corresponding to the referenced template primitive; (6) Traversing the screen information items in the newly added screen list, adding the screen name in the current screen information item and the association information between the screen name and the keyword corresponding to the referenced template primitive to the template primitive reference hash table; (7) Traverse the screen information items in the update screen list, and add the screen name in the current screen information item and the association information between the screen name and the keyword corresponding to the referenced template primitive to the template primitive reference hash table.

[0033] The step (4) and (5) of the present invention specifically refers to the following steps: deleting the screen name in the current screen information item in the template graphic element reference hash table and the association information between the screen name and the keyword corresponding to the referenced template graphic element; traversing all template graphic element names in the template graphic element reference hash table; if the current template graphic element name is associated with the screen name in the current screen information item, deleting the screen name in the current screen information item in the template graphic element reference hash table and the association information between the screen name and the referenced template graphic element name.

[0034] In the above steps (6) and (7) of the present invention, "adding the association information between the screen name in the current screen information item and the keyword corresponding to the referenced template element in the template element reference hash table" specifically refers to: reading the screen file corresponding to the screen name in the current screen information item, traversing all the elements in the screen file, if the current element is a template element, querying the element template reference hash table with the template element name of the template element as the keyword; if the template element name is not included in all the keywords in the element template reference hash table, using the template element name as the new keyword, adding the new keyword, the screen name of the currently traversed screen information item and the association information between the two to the element template reference hash table; otherwise, directly adding the screen name of the current screen information item and the association information between the screen name and the template element name of the current template element to the element template reference hash table.

[0035] The following are device embodiments of the present invention, which can be used to perform method embodiments of the present invention. For details not disclosed in the device embodiments, please refer to the method embodiments of the present invention.

[0036] In yet another embodiment of the present invention, a monitoring screen template element reference retrieval system is provided, which is characterized by comprising: An acquisition module, used to acquire information of the template element to be retrieved; A retrieval module, used to retrieve the screen names of all monitoring screens that reference the template graphic element in a preset template graphic element reference hash table according to the information of the template graphic element; The template element reference hash table stores the screen name of the monitoring screen that references the template element, the keyword corresponding to the referenced template element, and the association information between the screen name and the keyword corresponding to the referenced template element.

[0037] The retrieval module is a template primitive reference calculation process, and the template primitive reference calculation process runs on an industrial control system server. The template primitive reference calculation process includes a reference calculation module, and the reference calculation module is used to update a template primitive reference hash table.

[0038] In another embodiment of the present invention, a computer device is provided, the computer device includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used to monitor the operation of the picture template primitive reference retrieval method.

[0039] In another embodiment of the present invention, the present invention further provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the reference retrieval method of the monitoring screen template element in the above embodiment.

[0040] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0041] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0042] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0043] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0044] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A monitoring screen template element reference retrieval method, characterized in that: include: Get the information of the template element to be retrieved; According to the information of the template graphic element, the screen names of all monitoring screens that reference the template graphic element are retrieved in a preset template graphic element reference hash table; The template element reference hash table stores the screen name of the monitoring screen that references the template element, the keyword corresponding to the referenced template element, and the association information between the screen name and the keyword corresponding to the referenced template element.

2. The monitoring screen template primitive reference retrieval method according to claim 1, characterized in that: The information of the template element is the ID number of the template element.

3. The monitoring screen template primitive reference retrieval method according to claim 2, characterized in that: According to the information of the template primitive, the screen names of all monitoring screens that reference the template primitive are retrieved in a preset template primitive reference hash table, specifically: According to the ID number of the template element, query the preset template element database to obtain the template element name of the template element; use the template element name as a keyword to query the preset template element reference hash table to obtain the screen names of all monitoring screens that reference the template element.

4. The monitoring screen template primitive reference retrieval method according to claim 1, characterized in that: Specifically include: S1: Obtain information of the template element to be retrieved, generate a request message according to the information of the template element, and send it to the template element reference calculation process; S2: The template primitive reference calculation process parses the request message in S1 to obtain information of the template primitive, and according to the information of the template primitive, retrieves the screen names of all monitoring screens that reference the template primitive in a preset template primitive reference hash table, taking all the obtained screen names as the retrieval results, and generates a retrieval result message; S3: Parse the search result message described in S2 and generate a search result table.

5. The monitoring screen template primitive reference retrieval method according to claim 1, characterized in that: The template primitive references the hash table for periodic updating, and the updating method specifically includes: (1) pre-establishing an update screen list, a deletion screen list, and a new screen list, and using the new screen list formed by the last round of update as the original screen list for this update, wherein each list includes screen information items, and the attributes of the screen information items include: screen name and last update time; (2) Query the pre-set screen database to obtain the screen names and last updated time of all monitoring screens in the current industrial control system, and generate screen information items one by one, and form a new screen list with all screen information items; (3) Traverse the original screen list and the new screen list in step (2), and for screen information items with the same screen name in the original screen list and the new screen list, compare the last update time in the screen information item; if the last update time in the screen information item in the new screen list is later than the last update time in the screen information item in the original screen list, copy the screen information item in the new screen list and add it to the updated screen list; for screen information items with the same screen name that cannot be found in the original screen list in the new screen list, copy the screen information item in the new screen list and add it to the added screen list; for screen information items with the same screen name that cannot be found in the new screen list in the original screen list, copy the screen information item in the original screen list and add it to the deleted screen list; set the new screen list as the original screen list for the next update; (4) traversing the screen information items in the update screen list, deleting the screen name in the current screen information item in the template primitive reference hash table and the association information between the screen name and the keyword corresponding to the referenced template primitive; (5) traverse the screen information items in the screen list, delete the screen name in the current screen information item in the template primitive reference hash table, and delete the association information between the screen name and the keyword corresponding to the referenced template primitive; (6) Traversing the screen information items in the newly added screen list, adding the screen name in the current screen information item and the association information between the screen name and the keyword corresponding to the referenced template primitive to the template primitive reference hash table; (7) Traverse the screen information items in the update screen list, and add the screen name in the current screen information item and the association information between the screen name and the keyword corresponding to the referenced template primitive to the template primitive reference hash table.

6. The monitoring screen template primitive reference retrieval method according to claim 5, characterized in that: In step (4) and step (5), the deletion of the picture name in the current picture information item in the template primitive reference hash table and the association information between the picture name and the keyword corresponding to the referenced template primitive are specifically: Traverse the keywords corresponding to all template primitives in the template primitive reference hash table. If the current keyword is associated with the screen name in the current screen information item, delete the screen name in the current screen information item in the template primitive reference hash table and the association information between the screen name and the keyword corresponding to the referenced template primitive.

7. The monitoring screen template primitive reference retrieval method according to claim 5, characterized in that: In step (6) and step (7), the step of adding the picture name in the current picture information item and the association information between the picture name and the keyword corresponding to the referenced template primitive to the template primitive reference hash table is specifically: Read the picture file corresponding to the picture name in the current picture information item, traverse all the graphics elements in the picture file, if the current graphics element is a template graphics element, query the graphics element template reference hash table according to the keyword corresponding to the template graphics element, if there is no keyword corresponding to the template graphics element in the graphics element template reference hash table, then add the keyword corresponding to the template graphics element, the picture name in the current picture information item and the association information between the picture name and the keyword corresponding to the template graphics element to the graphics element template reference hash table; otherwise, add the picture name of the current picture information item to the graphics element template reference hash table, and establish the association information between the picture name of the current picture information item and the keyword corresponding to the template graphics element.

8. A monitoring screen template element reference retrieval system, characterized in that: include: An acquisition module, used to acquire information of the template element to be retrieved; A retrieval module, used to retrieve the screen names of all monitoring screens that reference the template graphic element in a preset template graphic element reference hash table according to the information of the template graphic element; The template element reference hash table stores the screen name of the monitoring screen that references the template element, the keyword corresponding to the referenced template element, and the association information between the screen name and the keyword corresponding to the referenced template element.

9. Computer device, characterized in that It comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the monitoring screen template element reference retrieval method as claimed in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the monitoring screen template primitive reference retrieval method as claimed in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method of generating template graphics

    CN106649452A

  • Implementation method of massive electrical equipment quick search service

    CN107609190A

  • DCS monitoring picture measuring point positioning method and system, equipment and storage medium

    CN113747127A

  • Data retrieval method, device and equipment and machine readable storage medium

    CN114647658A

  • Method and system for generating plant station process level physical loop diagram

    CN115828826A