CN116010015A - Method, device, equipment and storage medium for generating right key menu of monitoring picture - Google Patents

Method, device, equipment and storage medium for generating right key menu of monitoring picture Download PDF

Info

Publication number
CN116010015A
CN116010015A CN202310300732.1A CN202310300732A CN116010015A CN 116010015 A CN116010015 A CN 116010015A CN 202310300732 A CN202310300732 A CN 202310300732A CN 116010015 A CN116010015 A CN 116010015A
Authority
CN
China
Prior art keywords
menu item
menu
list
clicked
primitive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310300732.1A
Other languages
Chinese (zh)
Other versions
CN116010015B (en
Inventor
胡波
柳曦
张津
潘乐
张昇
贾泽冰
张勇
邱起瑞
李心怡
杨柳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Thermal Power Research Institute Co Ltd
Original Assignee
Xian Thermal Power Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Thermal Power Research Institute Co Ltd filed Critical Xian Thermal Power Research Institute Co Ltd
Priority to CN202310300732.1A priority Critical patent/CN116010015B/en
Publication of CN116010015A publication Critical patent/CN116010015A/en
Application granted granted Critical
Publication of CN116010015B publication Critical patent/CN116010015B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to the technical field of computers, and particularly discloses a method, a device, equipment and a storage medium for generating a right-click menu of a monitoring picture, wherein a user-defined menu item configuration file is read, all menu items of an industrial control system which are user-defined and attribute value configurations thereof are obtained according to the user-defined menu item configuration file, and all menu items form a system menu item list; capturing a clicked graphic element after a right click action occurs in a current monitoring picture, traversing the system menu item list to check the validity of the menu item according to the type of the clicked graphic element and the system menu item list, and generating an effective menu item list of the clicked graphic element; traversing the data source list of the clicked primitive, generating a right-key display menu item list corresponding to the data source list of the clicked primitive according to the effective menu item list, calculating the position of the right-key display menu item list according to the picture coordinates of the clicked primitive, and completing display.

Description

Method, device, equipment and storage medium for generating right key menu of monitoring picture
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating a right key menu of a monitoring screen.
Background
In an industrial control system, a monitoring picture is mainly used for real-time system monitoring and control command issuing by on-site operation and maintenance personnel, the monitoring picture is formed by configuring various industrial control system graphic elements, the graphic elements are generally associated with a data source and bear important functions of receiving user operation and carrying out operation feedback and data display. The left key of the graphic primitive is generally operated by default control command, while the right key of the graphic primitive is generally operated by other graphic primitive operations, including but not limited to "data browsing", "data query", "real-time/history curve comparison", "function jump", etc., so that the verification and generation of the menu item of the right key of the graphic primitive is a relatively important ring in the monitoring picture of the industrial control system. At present, most of right-key menus of monitoring pictures of industrial control systems are classified only by the types of the graphics primitives, have no user-defined setting and related menu item checking functions, have low flexibility, and have low degree of agreement with the operation characteristics and the data characteristics of the monitoring pictures of the industrial control systems.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a method, a device, equipment and a storage medium for generating a right key menu of a monitoring picture.
In order to achieve the above purpose, the invention adopts the following technical scheme:
the method for generating the right key menu of the monitoring picture is applied to the monitoring picture of the industrial control system and comprises the following steps:
s1: reading a user-defined menu item configuration file, acquiring configuration of all menu items and attribute values of all menu items of the user-defined industrial control system according to the user-defined menu item configuration file, wherein all menu items form a system menu item list, and executing S2;
s2: capturing a clicked graphic element after a right click action occurs in a current monitoring picture, traversing the system menu item list to perform menu item validity check according to the type of the clicked graphic element and the system menu item list in S1, generating an effective menu item list of the clicked graphic element, and executing S3;
s3: traversing the data source list of the clicked primitive in S2, generating a right-key display menu item list corresponding to the data source list of the clicked primitive according to the effective menu item list generated in S2, calculating the position of the right-key display menu item list according to the picture coordinates of the clicked primitive, and completing display.
Further, in step S1, the user-defined menu item configuration file is used to complete the configuration of all the attribute values of the menu items, and each row of the user-defined menu item configuration file defines the configuration of all the attribute values of one menu item.
Further, all attribute values of the menu items include: menu item validity, screen application name, screen name, foreground type, menu function, operation identification, operation role, permission check, database class name, database domain name, screen type, and permission function name.
Further, the method comprises the steps of,
step S2, traversing a system menu item list to check the validity of the menu item, and specifically comprises the following steps:
s21: operation authority verification
If the authority check attribute value of the current menu item is false, executing S22; otherwise, inquiring a permission database, acquiring a current user operation role and a permission function list possessed by the user operation role, and if the permission functions possessed by the current user operation role and the user operation role do not pass the validity check of the operation role and the permission function name in the attribute value of the current menu item, setting the menu validity of the current menu item to be false, and ending the round of traversal; otherwise, S22 is executed:
s22: picture information verification
Reading a picture database, obtaining picture information of a current monitoring picture, wherein the picture information comprises a picture application name, a picture name and a picture type, and if the picture information does not pass the validity check of the picture application name, the picture name and the picture type in the attribute value of the current menu item, setting the menu validity of the current menu item to be false, and ending the round of traversal; otherwise, S23 is performed;
s23: database information verification
Acquiring a data source associated with the clicked graphic element, if the database class name and the database domain name of the data source do not pass the validity check of the database class name and the database domain name in the attribute value of the current menu item, setting the menu validity of the current menu item as false, and ending the round of traversal; otherwise, executing S24;
s24: primitive foreground type checking
Acquiring the foreground type of the clicked primitive, if the clicked primitive meets one of preset conditions, setting the menu validity of the current menu item as false, and ending the round of traversal; otherwise, executing S25;
s25: and the current menu item passes the verification, the menu validity of the current menu item is set to be true, and the current menu item is added into the valid menu item list of the clicked graphic element.
Further, the preset conditions are specifically:
(1.1) the primitive template of the clicked primitive is invalid;
(1.2) the data source data type associated with the clicked primitive is an enumeration type, and the operation identification of the current menu item is a bit operation;
(1.3) the foreground type of the clicked primitive is inconsistent with the foreground type in the current menu item attribute value.
Further, the validity check in S21-S23 specifically comprises the following steps: the menu item attribute value consists of a logic operator and an attribute value, if the checked attribute value is a subset of the logic operation result of the menu item attribute value, the check is successful, otherwise, the check is failed.
Further, S3 specifically includes the following steps:
s31: traversing a data source list of the clicked primitive, inquiring a measuring point database according to the identifier of the current data source, and if the identifier of the current data source is invalid or the inquiring fails, indicating that the current data source is invalid; otherwise, the current data source is indicated to be valid, and the current data source is added into a valid data source list; after completing the traversal of the data source list of the primitive, executing S32;
s32: traversing the effective data source list in S31, generating right-key menu items which can be operated one by one, taking the measuring point names of the current effective data sources as prefixes, respectively carrying out character string combination with the operation identifiers of the effective menu items in the effective menu item list in S2 to serve as menu item names, and adding the menu item names into the right-key display menu item list; after the effective data source list traversal is completed, executing S33;
s33: and calculating the position of the right-key display menu item list according to the click position of the mouse, and displaying the right-key display menu item list.
The right key menu generating device of the monitoring picture is applied to the monitoring picture of the industrial control system and comprises:
a system menu item list generation module: the method comprises the steps of reading a user-defined menu item configuration file, and acquiring all menu items and attribute value configurations thereof of an industrial control system which are user-defined according to the user-defined menu item configuration file, wherein all menu items form a system menu item list;
and the primitive valid menu item checking module is used for: after right click action occurs in the current monitoring picture, capturing a clicked graphic element, traversing the system menu item list to check the validity of the menu item according to the type of the clicked graphic element and the system menu item list, and generating an effective menu item list of the clicked graphic element;
the primitive right key menu item list display module: the method comprises the steps of traversing a data source list of a clicked primitive in a primitive effective menu item checking module, generating a right-key display menu item list corresponding to the data source list of the clicked primitive according to the effective menu item list, calculating the position of the right-key display menu item list according to the picture coordinates of the clicked primitive, and completing display.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the monitor screen right-key menu generation method when the computer program is executed.
A computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the monitor screen right-key menu generation method.
Compared with the prior art, the invention has the following beneficial technical effects:
the invention supports the user to customize menu items, and the user can customize the menu items in the configuration file, so that the invention can meet the diversity requirements of different field industrial control systems on the right key menu items of the monitoring picture, greatly improves the flexibility of the composition of the right key menu items, and has extremely high configuration freedom and convenient operation.
Furthermore, each user-defined menu item can be associated with a plurality of attribute values through a logic operator, so that validity verification is performed through a logic operation result, flexibility of menu verification is improved, and complex and changeable operation limits of an industrial control system are met; meanwhile, the invention checks identifiers of all data sources in the graphic primitive and generates effective menu items, which is fit for the complexity of the graphic primitive data sources of the monitoring picture of the industrial control system.
Furthermore, according to the characteristics of the monitoring picture of the industrial control system, the invention respectively carries out validity matching verification on menu items and clicked picture elements from multiple dimensions such as operation authority, monitoring picture information, database information, picture element foreground types and the like, and is matched with the operation flow and the data characteristics of the industrial control system and the monitoring picture, thereby guaranteeing the high-efficiency generation and the menu practicability of a picture element right key menu list.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention.
FIG. 1 is a flow chart of a method for generating a right key menu of a monitoring picture according to the present invention;
fig. 2 is a block diagram of a right-key menu generating device for a monitoring screen according to the present invention.
Detailed Description
The invention will be described in further detail with reference to the accompanying drawings and specific examples.
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
The invention provides a method for generating a right key menu of a monitoring picture, which is applied to an industrial control system monitoring picture, and comprises the following steps of:
s1: reading a user-defined menu item configuration file, acquiring configuration of all menu items and attribute values of all menu items of the user-defined industrial control system according to the user-defined menu item configuration file, wherein all menu items form a system menu item list, and executing S2;
s2: capturing a clicked graphic element after a right click action occurs in a current monitoring picture, traversing the system menu item list to perform menu item validity check according to the type of the clicked graphic element and the system menu item list in S1, generating an effective menu item list of the clicked graphic element, and executing S3;
s3: traversing the data source list of the clicked primitive in S2, generating a right-key display menu item list corresponding to the data source list of the clicked primitive according to the effective menu item list generated in S2, calculating the position of the right-key display menu item list according to the picture coordinates of the clicked primitive, and completing display.
The custom menu item configuration file in step S1 is used for completing configuration of all attribute values of menu items, each row of the custom menu item configuration file defines configuration of all attribute values of one menu item, and all attribute values of the menu item include: the method comprises the steps of effectively selecting a menu item, applying a picture, selecting a picture name, a foreground type, a menu function, an operation identifier, an operation role, a permission check, a database class name, a database domain name, a picture type and a permission function name, wherein all attribute values of the menu item are limited for the available range of the menu item, and are used for verifying the validity of the clicked primitive in S2.
Step S2, traversing a system menu item list to check the validity of the menu item, and comprising the following steps:
s21: and (5) checking operation authority. If the authority check attribute value of the current menu item is false, indicating that the operation authority check is not performed, and executing S22; otherwise, inquiring a permission database, acquiring a current user operation role and a permission function list possessed by the user operation role, and if the permission functions possessed by the current user operation role and the user operation role do not pass the validity check of the operation role and the permission function name in the attribute value of the current menu item, setting the menu validity of the current menu item to be false, and ending the round of traversal; otherwise, executing S22;
s22: and checking the picture information. Reading a picture database, obtaining picture information of a current monitoring picture, wherein the picture information comprises a picture application name, a picture name and a picture type, and if the picture information does not pass the validity check of the picture application name, the picture name and the picture type in the attribute value of the current menu item, setting the menu validity of the current menu item to be false, and ending the round of traversal; otherwise, S23 is performed;
s23: and checking database information. Acquiring a data source associated with the clicked graphic element, if the database class name and the database domain name of the data source do not pass the validity check of the database class name and the database domain name in the attribute value of the current menu item, setting the menu validity of the current menu item as false, and ending the round of traversal; otherwise, executing S24;
s24: and (5) checking the primitive foreground type. Acquiring the foreground type of the clicked primitive, if the clicked primitive meets one of preset conditions, setting the menu validity of the current menu item as false, and ending the round of traversal; otherwise, executing S25;
the preset conditions are as follows:
(1.1) the primitive template of the clicked primitive is invalid;
(1.2) the data source data type associated with the clicked primitive is an enumeration type, and the operation identification of the current menu item is a bit operation;
(2.3) foreground type of clicked primitive (numerical quantity/state quantity/control/NULL) foreground type in the current menu item attribute value is inconsistent.
S25: and the current menu item passes the verification, the menu validity of the current menu item is set to be true, and the current menu item is added into the valid menu item list of the clicked graphic element.
The validity check in S21 to S23 is specifically a check whether the checked attribute value is a subset of the logical operation result of the attribute value corresponding to the menu item. The menu item attribute value consists of a logical operator and nor (& gt, |) and attribute values, if the checked attribute value is a subset of the logical operation result of the menu item attribute value, the check is successful, otherwise, the verification fails, for example, a menu item attribute value (| a & | B) indicates that the menu item is neither a nor B, and if the verified attribute value is a or B, the verification fails, otherwise, the verification is successful.
The step S3 specifically comprises the following steps:
s31: traversing a data source list of the clicked primitive, inquiring a measuring point database according to the identifier of the current data source, and if the identifier of the current data source is invalid or the inquiring fails, indicating that the current data source is invalid; otherwise, the current data source is indicated to be valid, and the current data source is added into a valid data source list; after completing the traversal of the data source list of the primitive, executing S32;
s32: traversing the effective data source list in S31, generating right-key menu items which can be operated one by one, taking the measuring point names of the current effective data sources as prefixes, respectively carrying out character string combination with the operation identifiers of the effective menu items in the effective menu item list in S2 to serve as menu item names, and adding the menu item names into the right-key display menu item list; after the effective data source list traversal is completed, executing S33;
s33: and calculating the position of the right-key display menu item list according to the click position of the mouse, and displaying the right-key display menu item list.
Example two
The invention also provides a device for generating the right key menu of the monitoring picture, which is applied to the monitoring picture of the industrial control system, and referring to fig. 2, the device comprises:
a system menu item list generation module: the method comprises the steps of reading a user-defined menu item configuration file, and obtaining configuration of all menu items and attribute values of all menu items of an industrial control system user-defined according to the user-defined menu item configuration file, wherein all menu items form a system menu item list;
and the primitive valid menu item checking module is used for: after right click action occurs in the current monitoring picture, capturing a clicked graphic element, traversing the system menu item list to check the validity of the menu item according to the type of the clicked graphic element and the system menu item list, and generating an effective menu item list of the clicked graphic element;
the primitive right key menu item list display module: the method comprises the steps of traversing a data source list of a clicked primitive in a primitive effective menu item checking module, generating a right-key display menu item list corresponding to the data source list of the clicked primitive according to the effective menu item list, calculating the position of the right-key display menu item list according to the picture coordinates of the clicked primitive, and completing display.
Example III
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the monitor screen right-key menu generation method when the computer program is executed.
Example IV
A computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the monitor screen right-key menu generation method.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the foregoing embodiments are merely for illustrating the technical aspects of the present invention and not for limiting the scope thereof, and although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that various changes, modifications or equivalents may be made to the specific embodiments of the present invention after reading the present invention, and these changes, modifications or equivalents are within the scope of the invention as defined in the appended claims.

Claims (10)

1. The method for generating the right key menu of the monitoring picture is characterized by being applied to the monitoring picture of the industrial control system and comprising the following steps of:
s1: reading a user-defined menu item configuration file, acquiring configuration of all menu items and attribute values of all menu items of the user-defined industrial control system according to the user-defined menu item configuration file, wherein all menu items form a system menu item list, and executing S2;
s2: capturing a clicked graphic element after a right click action occurs in a current monitoring picture, traversing the system menu item list to perform menu item validity check according to the type of the clicked graphic element and the system menu item list in S1, generating an effective menu item list of the clicked graphic element, and executing S3;
s3: traversing the data source list of the clicked primitive in S2, generating a right-key display menu item list corresponding to the data source list of the clicked primitive according to the effective menu item list generated in S2, calculating the position of the right-key display menu item list according to the picture coordinates of the clicked primitive, and completing display.
2. The method for generating a right-click menu on a monitor screen according to claim 1, wherein in step S1, a user-defined menu item configuration file is used to complete configuration of all attribute values of menu items, and each row of the user-defined menu item configuration file defines configuration of all attribute values of a menu item.
3. The method for generating a right-click menu of a monitor screen according to claim 2, wherein all attribute values of the menu items include: menu item validity, screen application name, screen name, foreground type, menu function, operation identification, operation role, permission check, database class name, database domain name, screen type, and permission function name.
4. The method for generating a right-click menu on a monitor screen according to claim 3, wherein the step S2 of traversing the system menu item list to verify the validity of the menu item comprises:
s21: operation authority verification
If the authority check attribute value of the current menu item is false, executing S22; otherwise, inquiring a permission database, acquiring a current user operation role and a permission function list possessed by the user operation role, and if the permission functions possessed by the current user operation role and the user operation role do not pass the validity check of the operation role and the permission function name in the attribute value of the current menu item, setting the menu validity of the current menu item to be false, and ending the round of traversal; otherwise, S22 is executed:
s22: picture information verification
Reading a picture database, obtaining picture information of a current monitoring picture, wherein the picture information comprises a picture application name, a picture name and a picture type, and if the picture information does not pass the validity check of the picture application name, the picture name and the picture type in the attribute value of the current menu item, setting the menu validity of the current menu item to be false, and ending the round of traversal; otherwise, S23 is performed;
s23: database information verification
Acquiring a data source associated with the clicked graphic element, if the database class name and the database domain name of the data source do not pass the validity check of the database class name and the database domain name in the attribute value of the current menu item, setting the menu validity of the current menu item as false, and ending the round of traversal; otherwise, executing S24;
s24: primitive foreground type checking
Acquiring the foreground type of the clicked primitive, if the clicked primitive meets one of preset conditions, setting the menu validity of the current menu item as false, and ending the round of traversal; otherwise, executing S25;
s25: and the current menu item passes the verification, the menu validity of the current menu item is set to be true, and the current menu item is added into the valid menu item list of the clicked graphic element.
5. The method for generating a right-click menu on a monitor screen according to claim 4, wherein the preset condition is specifically:
(1.1) the primitive template of the clicked primitive is invalid;
(1.2) the data source data type associated with the clicked primitive is an enumeration type, and the operation identification of the current menu item is a bit operation;
(1.3) the foreground type of the clicked primitive is inconsistent with the foreground type in the current menu item attribute value.
6. The method for generating the right key menu of the monitoring picture according to claim 4, wherein the validity check in S21 to S23 specifically comprises: the menu item attribute value consists of a logic operator and an attribute value, if the checked attribute value is a subset of the logic operation result of the menu item attribute value, the check is successful, otherwise, the check is failed.
7. The method for generating a right-click menu of a monitor screen according to claim 1, wherein S3 specifically comprises the steps of:
s31: traversing a data source list of the clicked primitive, inquiring a measuring point database according to the identifier of the current data source, and if the identifier of the current data source is invalid or the inquiring fails, indicating that the current data source is invalid; otherwise, the current data source is indicated to be valid, and the current data source is added into a valid data source list; after completing the traversal of the data source list of the primitive, executing S32;
s32: traversing the effective data source list in S31, generating right-key menu items which can be operated one by one, taking the measuring point names of the current effective data sources as prefixes, respectively carrying out character string combination with the operation identifiers of the effective menu items in the effective menu item list in S2 to serve as menu item names, and adding the menu item names into the right-key display menu item list; after the effective data source list traversal is completed, executing S33;
s33: and calculating the position of the right-key display menu item list according to the click position of the mouse, and displaying the right-key display menu item list.
8. The right key menu generating device of the monitoring picture is characterized by being applied to an industrial control system monitoring picture and comprising:
a system menu item list generation module: the method comprises the steps of reading a user-defined menu item configuration file, and obtaining configuration of all menu items and attribute values of all menu items of an industrial control system user-defined according to the user-defined menu item configuration file, wherein all menu items form a system menu item list;
and the primitive valid menu item checking module is used for: after right click action occurs in the current monitoring picture, capturing a clicked graphic element, traversing the system menu item list to check the validity of the menu item according to the type of the clicked graphic element and the system menu item list, and generating an effective menu item list of the clicked graphic element;
the primitive right key menu item list display module: the method comprises the steps of traversing a data source list of a clicked primitive in a primitive effective menu item checking module, generating a right-key display menu item list corresponding to the data source list of the clicked primitive according to the effective menu item list, calculating the position of the right-key display menu item list according to the picture coordinates of the clicked primitive, and completing display.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method for generating a right key menu of a monitor screen according to any one of claims 1 to 7 when the computer program is executed by the processor.
10. A computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the monitoring screen right-key menu generating method according to any one of claims 1 to 7.
CN202310300732.1A 2023-03-27 2023-03-27 Method, device, equipment and storage medium for generating right key menu of monitoring picture Active CN116010015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310300732.1A CN116010015B (en) 2023-03-27 2023-03-27 Method, device, equipment and storage medium for generating right key menu of monitoring picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310300732.1A CN116010015B (en) 2023-03-27 2023-03-27 Method, device, equipment and storage medium for generating right key menu of monitoring picture

Publications (2)

Publication Number Publication Date
CN116010015A true CN116010015A (en) 2023-04-25
CN116010015B CN116010015B (en) 2023-07-11

Family

ID=86032181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310300732.1A Active CN116010015B (en) 2023-03-27 2023-03-27 Method, device, equipment and storage medium for generating right key menu of monitoring picture

Country Status (1)

Country Link
CN (1) CN116010015B (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007097526A1 (en) * 2006-02-20 2007-08-30 Sun-Kwon Kim Method for providing hierarchical ring menu for graphic user interface and apparatus thereof
CN101071361A (en) * 2007-05-31 2007-11-14 腾讯科技(深圳)有限公司 Method and system for self-defining right-clickmenu
CN101676850A (en) * 2008-09-16 2010-03-24 联想(北京)有限公司 System for self-defining right click menu and method for calling right click menu
CN101923431A (en) * 2010-06-18 2010-12-22 北京神州泰岳软件股份有限公司 Method and system for dynamically generating context menu of topological graph node
CN102073452A (en) * 2010-12-29 2011-05-25 北京锐安科技有限公司 Method for customizing flex right-click menu
CN103345348A (en) * 2013-06-13 2013-10-09 深圳Tcl新技术有限公司 Method and device for controlling display menu
CN103425482A (en) * 2012-05-17 2013-12-04 索尼公司 Customization of menus
CN103902258A (en) * 2012-12-25 2014-07-02 腾讯科技(深圳)有限公司 Method and device for displaying self-defined menu in webpage
CN104424205A (en) * 2013-08-21 2015-03-18 腾讯科技(深圳)有限公司 Context menu implementing method and device of page-embedded client
CN104461260A (en) * 2014-11-27 2015-03-25 武汉大学 Method for customizing mouse right-click menu for SVG
CN105278939A (en) * 2014-07-04 2016-01-27 普天信息技术有限公司 Method and device for manufacturing control on the basis of DotNet Framework class library
CN106527873A (en) * 2016-10-10 2017-03-22 国网新疆电力公司经济技术研究院 xml-based man-machine interactive interface customization method
CN109343763A (en) * 2018-09-03 2019-02-15 沈阳工业大学 Intelligent polygon right-click menu method
CN109901764A (en) * 2019-01-29 2019-06-18 深圳点猫科技有限公司 A kind of code editor right-click menu function realizing method and electronic equipment
CN110162720A (en) * 2019-04-16 2019-08-23 平安科技(深圳)有限公司 Webpage loading method, device, computer equipment and storage medium
CN110716905A (en) * 2019-10-16 2020-01-21 同辉佳视(北京)信息技术股份有限公司 Menu generation method and device, storage medium and electronic equipment
CN111104109A (en) * 2018-10-29 2020-05-05 北京数聚鑫云信息技术有限公司 Method, system, medium and computer equipment for processing right-click menu on WEB page
CN111124215A (en) * 2019-12-27 2020-05-08 威创集团股份有限公司 Method and system for controlling application of spliced wall right-click menu
CN114297155A (en) * 2021-12-23 2022-04-08 珠海豹好玩科技有限公司 Right-click menu display method and device, electronic equipment and storage medium
JP2022082201A (en) * 2020-11-20 2022-06-01 株式会社リコー Electronic apparatus, display program, method for display, and display system

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007097526A1 (en) * 2006-02-20 2007-08-30 Sun-Kwon Kim Method for providing hierarchical ring menu for graphic user interface and apparatus thereof
CN101071361A (en) * 2007-05-31 2007-11-14 腾讯科技(深圳)有限公司 Method and system for self-defining right-clickmenu
CN101676850A (en) * 2008-09-16 2010-03-24 联想(北京)有限公司 System for self-defining right click menu and method for calling right click menu
CN101923431A (en) * 2010-06-18 2010-12-22 北京神州泰岳软件股份有限公司 Method and system for dynamically generating context menu of topological graph node
CN102073452A (en) * 2010-12-29 2011-05-25 北京锐安科技有限公司 Method for customizing flex right-click menu
CN103425482A (en) * 2012-05-17 2013-12-04 索尼公司 Customization of menus
CN103902258A (en) * 2012-12-25 2014-07-02 腾讯科技(深圳)有限公司 Method and device for displaying self-defined menu in webpage
CN103345348A (en) * 2013-06-13 2013-10-09 深圳Tcl新技术有限公司 Method and device for controlling display menu
CN104424205A (en) * 2013-08-21 2015-03-18 腾讯科技(深圳)有限公司 Context menu implementing method and device of page-embedded client
CN105278939A (en) * 2014-07-04 2016-01-27 普天信息技术有限公司 Method and device for manufacturing control on the basis of DotNet Framework class library
CN104461260A (en) * 2014-11-27 2015-03-25 武汉大学 Method for customizing mouse right-click menu for SVG
CN106527873A (en) * 2016-10-10 2017-03-22 国网新疆电力公司经济技术研究院 xml-based man-machine interactive interface customization method
CN109343763A (en) * 2018-09-03 2019-02-15 沈阳工业大学 Intelligent polygon right-click menu method
CN111104109A (en) * 2018-10-29 2020-05-05 北京数聚鑫云信息技术有限公司 Method, system, medium and computer equipment for processing right-click menu on WEB page
CN109901764A (en) * 2019-01-29 2019-06-18 深圳点猫科技有限公司 A kind of code editor right-click menu function realizing method and electronic equipment
CN110162720A (en) * 2019-04-16 2019-08-23 平安科技(深圳)有限公司 Webpage loading method, device, computer equipment and storage medium
CN110716905A (en) * 2019-10-16 2020-01-21 同辉佳视(北京)信息技术股份有限公司 Menu generation method and device, storage medium and electronic equipment
CN111124215A (en) * 2019-12-27 2020-05-08 威创集团股份有限公司 Method and system for controlling application of spliced wall right-click menu
JP2022082201A (en) * 2020-11-20 2022-06-01 株式会社リコー Electronic apparatus, display program, method for display, and display system
CN114297155A (en) * 2021-12-23 2022-04-08 珠海豹好玩科技有限公司 Right-click menu display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN116010015B (en) 2023-07-11

Similar Documents

Publication Publication Date Title
CN110928772B (en) Test method and device
US10698702B1 (en) Automating interactions with software user interface
US9171025B2 (en) Test data generation and scale up for database testing using unique common factor sequencing
CN104391797A (en) GUI (graphical user interface) widget identification method and device
CN107547262A (en) Generation method, device and the Network Management Equipment of alarm level
CN104657274B (en) software interface test method and device
CN104423961B (en) A kind of method and system for generating test script
CN106293891B (en) Multidimensional investment index monitoring method
CN105095088A (en) Calculator automatic test method and test system based on uiautomator test framework
CN105302717A (en) Detection method and apparatus for big data platform
EP2891976B1 (en) Software workstation and method for employing appended metadata in industrial automation software
CN106155769A (en) A kind of workflow processing method, device and workflow engine
CN107016016A (en) A kind of method and device of data processing
CN108319858A (en) For the data dependence graph construction method and device of uneasy total function
WO2023134134A1 (en) Method and apparatus for generating association viewing model, and computer device and storage medium
CN104408118A (en) Database establishing method and device
CN107357721B (en) Method and device for testing system
CN110851123A (en) WebGIS power grid visualization framework construction method, system and device based on SpringMVC
CN105164647A (en) Generating a fingerprint representing a response of an application to a simulation of a fault of an external service
CN116010015B (en) Method, device, equipment and storage medium for generating right key menu of monitoring picture
US20120117117A1 (en) Aiding report construction based on inference of implicit application level relationships
CN115965000A (en) Electronic product production line data management method, system, equipment and medium
CN111126961B (en) Full life cycle digital main line service system for complex products
US20180129822A1 (en) Pattern-less private data detection on data sets
CN110780852A (en) Method, device, equipment and medium for determining data source

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant