[go: up one dir, main page]

CN115629683B - Variable management method, program product, system, device and storage medium - Google Patents

Variable management method, program product, system, device and storage medium Download PDF

Info

Publication number
CN115629683B
CN115629683B CN202211318767.XA CN202211318767A CN115629683B CN 115629683 B CN115629683 B CN 115629683B CN 202211318767 A CN202211318767 A CN 202211318767A CN 115629683 B CN115629683 B CN 115629683B
Authority
CN
China
Prior art keywords
variable
component
variables
management center
monitoring window
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.)
Active
Application number
CN202211318767.XA
Other languages
Chinese (zh)
Other versions
CN115629683A (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.)
Beijing Likong Yuantong Technology Co ltd
Original Assignee
Beijing Likong Yuantong Technology 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 Beijing Likong Yuantong Technology Co ltd filed Critical Beijing Likong Yuantong Technology Co ltd
Priority to CN202211318767.XA priority Critical patent/CN115629683B/en
Publication of CN115629683A publication Critical patent/CN115629683A/en
Application granted granted Critical
Publication of CN115629683B publication Critical patent/CN115629683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • 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

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a variable management method, a program product, a system, a device and a storage medium, wherein the variable management method comprises the steps of monitoring whether variables associated with various components in a monitoring window are established in a variable management center or not in the monitoring window for monitoring equipment, wherein the variables are used for transmitting data, and the components are used for displaying the data transmitted by the variables or receiving the data transmitted to the variables; and if the variables associated with each component have target variables which are not created in the variable management center, triggering the variable creation action, and creating the target variables in the variable management center so as to manage the variables associated with each component through the variable management center. The variable management is more convenient.

Description

Variable management method, program product, system, device and storage medium
Technical Field
The present invention relates to the field of device monitoring, and in particular, to a variable management method, program product, system, apparatus, and storage medium.
Background
With the development of scientific technology, equipment in an industrial process can be monitored or controlled and managed through some monitoring software, so that the intelligent management level of the industrial process is greatly improved. The monitoring software can collect and display the operation data of the equipment so that monitoring personnel can monitor the operation condition of the equipment. Meanwhile, the monitoring personnel can also send control instructions for the equipment through the monitoring software. At present, the operation data displayed by the monitoring software and the control instructions sent to the equipment are transmitted through variables. In the case of a large number of variables, it is inconvenient to manage the variables.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a variable management method, a computer program product, a variable management system, a variable management device, and a computer-readable storage medium, which can manage variables more conveniently.
In one aspect, the present invention provides a variable management method, including:
in a monitoring window used for monitoring equipment, monitoring whether variables associated with various components in the monitoring window are created in a variable management center, wherein the variables are used for transmitting data, and the components are used for displaying the data transmitted by the variables or receiving the data transmitted to the variables; and
If the target variable which is not created in the variable management center exists in the variables associated with each component, triggering a variable creation action, and creating the target variable in the variable management center so as to manage the variables associated with each component through the variable management center.
In some embodiments, the triggering variable creation action creates the target variable at the variable management center, comprising:
if the target variable is a variable of a first type, triggering to generate a variable creation instruction, and creating the target variable in the variable management center;
and if the target variable is a variable of a second type, triggering to generate a variable creation prompt so as to remind the variable management center of creating the target variable.
In some embodiments, after the variable management center creates the variable, the method further comprises:
in response to a variable deletion instruction, deleting the variable to be deleted in the variable management center in the case that the variable to be deleted does not have an associated component; and/or
Sorting at least a portion of the variables of the variable management center in response to a variable sorting instruction; and/or
In response to a variable import export instruction, exporting at least a portion of variables of the variable management center or importing variables to the variable management center; and/or
And in response to the variable retrieval instruction, displaying the position where the variable to be retrieved is associated.
In some embodiments, each variable created at the variable management center includes a variable attribute that characterizes a condition of the variable when data is transferred; the method further comprises the steps of:
when the monitoring window is triggered to run, controlling each component in the monitoring window to display the data transmitted by the related variable or receive the data transmitted to the related variable according to the variable attribute corresponding to the variable related to each component in the monitoring window.
In some embodiments, the variable attributes include a target user to which the variable is directed when data is transferred;
and controlling each component in the monitoring window to display the data transmitted by the associated variable or receive the data transmitted to the associated variable according to the variable attribute corresponding to the variable associated with each component in the monitoring window, wherein the method comprises the following steps:
and for any component in the monitoring window, if the user triggering the operation of the monitoring window is a target user of the variable associated with the component, controlling the component to display the data transmitted by the associated variable or receive the data transmitted to the associated variable.
In some embodiments, the controlling each component in the monitoring window to display the data transferred by the associated variable according to the variable attribute corresponding to the variable associated with each component in the monitoring window includes:
for any component in the monitoring window, if the variable attribute of the variable associated with the component comprises an initial value, controlling the component to display the initial value when displaying the data transmitted by the associated variable; if the variable attribute of the variable associated with the component comprises a presentation value range, controlling the component to present the data transmitted by the variable associated with the component in the presentation value range.
In another aspect, the present invention also provides a variable management system, including:
the device comprises a detection module, a variable management center and a control module, wherein the detection module is used for monitoring whether variables associated with all components in a monitoring window are created in the variable management center or not in the monitoring window, the variables are used for transmitting data, and the components are used for displaying the data transmitted by the variables or receiving the data transmitted to the variables; and
And the variable creation module is used for triggering a variable creation action if a target variable which is not created in the variable management center exists in the variables associated with each component, and creating the target variable in the variable management center so as to manage the variables associated with each component through the variable management center.
In a further aspect the invention provides a computer readable storage medium for storing a computer program which, when executed by a processor, implements a method as described above.
In a further aspect the invention provides a variable management device comprising a processor and a memory for storing a computer program which, when executed by the processor, implements a method as described above.
In a further aspect the invention provides a computer program product comprising a computer program which, when executed by a processor, implements a method as described above.
In some embodiments of the present application, variables associated with each component in a monitoring window are monitored, and variables associated with all components are created in a variable management center. Thus, the variables associated with each component can be conveniently and uniformly managed in the variable management center.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and should not be construed as limiting the invention in any way, in which:
FIG. 1 shows a schematic diagram of a monitoring flow of monitoring software;
FIG. 2 illustrates a schematic diagram of a monitoring window provided by an embodiment of the present application;
FIG. 3 shows a schematic view of a monitoring window provided by another embodiment of the present application;
FIG. 4 shows a flow diagram of a variable management method provided by one embodiment of the present application;
FIG. 5 illustrates an interface schematic diagram of a variable management center provided by one embodiment of the present application;
FIG. 6 illustrates a block diagram of a variable management system provided by one embodiment of the present application;
fig. 7 shows a schematic diagram of a variable management device provided in an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, based on the embodiments of the invention, which a person skilled in the art would obtain without making any inventive effort, are within the scope of the invention.
The variable management method can be applied to monitoring software or electronic equipment running the monitoring software. The electronic device includes, but is not limited to, a desktop computer, a notebook computer, a tablet computer, and the like. The monitoring software can monitor and control equipment in the industrial process. Before describing the scheme of the application, the related principles of the monitoring software are described.
Fig. 1 is a schematic diagram of a monitoring flow of the monitoring software. In fig. 1, the monitoring software may be communicatively coupled to the devices in the industrial process for collecting operational data of the devices and recording the collected operational data in a database. Wherein, the operation data refer to the data of each monitoring item of the equipment in the operation process of the equipment. Such as the current level of the device, the voltage level, the switch closed state, whether the device is in use, etc.
Based on the collected operation data, the monitoring software can display the operation data of the equipment by operating one or more monitoring windows, so that monitoring personnel can monitor the equipment conveniently. Meanwhile, a monitoring person can also issue a control instruction to the equipment through the monitoring software so as to control the equipment. Specifically, one or more components may be included in the monitoring window. The monitoring software may utilize components to present operational data of the device or to receive control instructions.
For ease of understanding, referring to fig. 2 in combination, a schematic diagram of a monitoring window is provided for one embodiment of the present application. The example of fig. 2 includes 4 components. Wherein, different components can be used to display the data of different monitoring items of equipment, such as component 1 can be used to display the voltage level of equipment, component 2 can be used to display the current level of equipment, component 3 can be used to display the power level of equipment, and component 4 can be used to display the temperature level of equipment. The presentation of data by these components may vary. For example, for the assembly 1, the height of the black rectangular area in the assembly 1 may vary with the voltage of the corresponding device. Thus, by looking at the height of the black rectangular area in the assembly 1, the voltage change of the device can be checked. For the assembly 2, the color of the inner circle in the assembly 2 may change when the current level of the device exceeds an upper limit value or is below a lower limit value. Thus, by looking at the color of the inner circle, the range of the current magnitude of the device can be checked. For the component 3, the white area of the component 3 may be used as the display area. In the display area, the power level of the device may be displayed directly. For the component 4, the component 4 may show the temperature trend of the device in a curved manner.
It will be appreciated that the data of the same monitoring item may also be presented in different data presentation forms by different components. Both assemblies 1 and 2 described above can be used to display the voltage level of the device. Of course, the data of different monitoring items can also be presented separately by different components having the same data presentation form. Such as voltage level, current level, power level and temperature level of the device, can be shown separately using the assembly 3.
Referring to fig. 3 in combination, a schematic diagram of a monitoring window according to another embodiment of the present application is provided. In fig. 3, after the devices 1, 2, 3 there are corresponding start and stop buttons, respectively. The monitoring personnel can control the starting or stopping of the corresponding equipment by clicking the starting or stopping button. In this way, the device can be controlled by the monitoring software.
It should be noted that fig. 2 and 3 are schematic diagrams of two monitoring windows for easy understanding, and the actual monitoring window may be different from the monitoring windows shown in fig. 2 and 3.
At present, the operation data collected and displayed by the monitoring software and the issued control instruction are transmitted through variables. The variable can be a storage space, data can be written into the variable, and data can be read from the variable, so that data transmission can be realized through the variable. In monitoring software, variables may include the following classes:
database variables: corresponding to the point parameters in the database. One of the point parameters may correspond to one of the monitoring items, and the point parameter may be used to store data of the corresponding monitoring item. After the database variables correspond to the point parameters, the data of the point parameters (i.e., the data of the monitoring items) can be transferred. The database variables and the corresponding point parameters may have the same field name, field type, field length, etc.
Intermediate variables: can be used for temporarily storing data. For example, the database variable a and the database variable B need to be added and then output, and the result obtained by adding can be stored in the intermediate variable C.
Indirect variables: the method can be mainly divided into three cases. In one case, the indirect variable may be used as a pointer to another variable. In this case, an indirect variable is a variable that can be replaced by other variables while the system is running. After the indirect variable is used as a pointer of other variables, the indirect variable, namely the target variable pointed to by the indirect variable is operated. After the indirect variable is replaced by other variables, the place where the indirect variable is referred to is equivalent to the place where the replaced variable is referred to. In another case, an indirect variable may be used as a general variable. For example, in direct=lic101. Pv, the INDIRECT variable direct is a common variable. In yet another case, the indirect variables may be used as an array. By implementing the array function with indirect variables, the variables can be used directly without initialization.
Window intermediate variable: a variable created for one of the monitoring windows. Variables created in one monitoring window may not be used in other monitoring windows.
Based on the above description, referring to fig. 4 in combination, a flow chart of a variable management method according to an embodiment of the present application is provided. In fig. 4, the variable management method includes the steps of:
in step S41, in a monitoring window for monitoring the device, it is monitored whether variables associated with each component in the monitoring window are created in a variable management center, where the variables are used to transmit data, and the components are used to display the data transmitted by the variables or receive the data transmitted to the variables.
Based on the above-described related descriptions, each component may associate one or more of database variables, intermediate variables, indirect variables, and window intermediate variables, as desired. These variables may be used to communicate device operating data that is to be presented in a monitoring window, or may be used to communicate control instructions issued to the device. When a variable is used to communicate device operational data, the component with which the variable is associated is used to expose the data communicated by the variable. When a variable is used to pass control instructions, the component with which the variable is associated is used to receive control instructions that require variable pass.
For ease of understanding, reference is made to fig. 2 and 3 in combination. In FIG. 2, each component may associate a variable and present data passed by the associated variable. In fig. 3, a monitoring person may click on the start component in the monitoring window and issue a start control command. The start control command is transmitted by a variable associated with the start component and is issued to the device. Or the monitoring personnel can click on the stopping component in the monitoring window to issue a stopping control instruction. The stop control command is transmitted by a variable associated with the stop component and is issued to the device.
In this embodiment, the variable management center is configured to centrally record variables associated with components in each monitoring window. The variable management center may be a window in the monitoring software, or a page. Different types of variables may be categorized into records at a variable management center. For example, database variables, intermediate variables, indirect variables, and window intermediate variables, and classification records are performed. Thus, the display device is convenient to view. In the variables recorded in the variable management center, each variable may include a variable name, a variable length, and the like, which are conventional information known to those skilled in the art, respectively. Meanwhile, each variable may further include a variable attribute, respectively. Wherein the variable attribute characterizes conditions of the variable when data transfer is performed.
In some embodiments, the variable attributes may include the target users that the variable is facing when data is transferred. The user herein refers to a user who logs into the monitoring software. Each variable may have a respective target user. The target users corresponding to different variables may be different.
For any variable, the target user corresponding to the variable refers to a user who has authority to transfer data through the variable. In short, when a user logged in the monitoring software is a target user corresponding to the variable, the variable performs data transfer. At the same time, the component with which the variable is associated will either display the data passed by the variable or receive the data passed to the variable. Otherwise, if the user logged in the monitoring software is not the target user corresponding to the variable, the component associated with the variable may not display the data transferred by the variable or may not receive the data transferred to the variable.
For example, assuming that component 1 associates variable a, component 2 associates variable B, the target users of variable a may be user 1 and user 2, and the target users of variable B may be user 1, user 3. Then after user 1 logs into the monitoring software, both component 1 and component 2 can either present the data transmitted by the associated variable or receive the data passed to the associated variable. After the user 2 logs into the monitoring software, the component 1 may either present the data transmitted by the associated variable or receive the data transmitted to the associated variable, but the component 2 will not present the data transmitted by the associated variable or will not receive the data transmitted to the associated variable. Similarly, after user 3 logs into the monitoring software, component 1 will not present or receive data transmitted to the associated variable, but component 2 will present or receive data transmitted to the associated variable.
In some embodiments, the variable attributes may also include an initial value or range of values at which the data passed by the variable is presented.
In some embodiments, the variable attributes may also include the scope of the variable. In short, the variable can be transferred only in a specified scope. The scope may be a specific one or more monitoring windows or may be the entire monitoring software.
In some embodiments, to prevent variable omission, it is ensured that each component has its associated variable recorded at the variable management center, whether the associated variable has been created at the variable management center may be monitored while the variables are associated for each component in the monitoring window, or whether the variables associated with the components in the monitoring window have been created at the variable management center may be monitored during the compilation of the monitoring window.
In step S42, if there is a target variable not created in the variable management center among the variables associated with each component, a variable creation action is triggered, and the target variable is created in the variable management center so as to manage the variables associated with each component through the variable management center.
In some embodiments, triggering a variable creation action, creating a target variable at a variable management center may include:
if the target variable is a first type variable, triggering to generate a variable creation instruction, and creating the target variable in a variable management center;
and if the target variable is a second type variable, triggering to generate a variable creation prompt so as to remind the creation of the target variable in the variable management center.
In particular, the first type of variable may be a database variable. Because the database variable corresponds to the point parameter in the database, based on the point parameter information (such as the field name, the field length, the field type, etc. of the point parameter) corresponding to the database variable, the related information (such as the variable name, the variable length, the variable type, etc.) of the variable to be created can be obtained, so that the generation of the variable creation instruction can be directly triggered, and the database variable can be created in the variable management.
The second type of variable may be data other variables than library variables. These variables may be variables that have not yet been defined and have no referenceable variable creation information (e.g., variable type, variable length, and no referenceable information), and thus may trigger the generation of a variable creation prompt to alert monitoring personnel to create these variables at the variable management center. For example, in the compiling process of the monitoring window, if it is monitored that the variable associated with a certain component is not recorded in the variable management center, a monitoring person may be prompted to create the variable in the variable management center by means of compiling and reporting errors.
In some embodiments, after the variable management center creates the variable, the variable management method of the present application further includes:
in response to a variable deletion instruction, deleting the variable to be deleted in a variable management center in the case that the variable to be deleted does not have an associated component; and/or
Sorting at least a portion of the variables of the variable management center in response to the variable sorting instruction; and/or
In response to a variable import export instruction, exporting at least a portion of the variables of the variable management center or importing the variables to the variable management center; and/or
And in response to the variable retrieval instruction, displaying the position where the variable to be retrieved is associated.
Referring to fig. 5 in combination, an interface schematic diagram of a variable management center according to an embodiment of the present application is provided. In fig. 5, the variables associated with the components in each monitoring window are classified and recorded. At the same time, function buttons such as adding variable, deleting variable and the like are also provided for the monitoring personnel to operate. By clicking the function button, the monitoring personnel can execute operations such as adding, deleting, importing, exporting and the like of the variable in the variable management center. Thus, the variables are convenient to uniformly manage.
In some embodiments, the variable management method of the present application further comprises, based on the variables recorded by the variable management center:
when the monitoring window is triggered to run, each component in the monitoring window is controlled to display the data transmitted by the related variable or receive the data transmitted to the related variable according to the variable attribute corresponding to the variable related to each component in the monitoring window.
It should be noted here that, when the monitoring window is not triggered to run, the components in the monitoring window may not present the data transferred by the variable and not receive the data transferred to the variable. After the monitoring window is triggered to run, the control component displays the data transmitted by the variable or receives the data transmitted to the variable according to the variable attribute corresponding to the variable associated with each component in the monitoring window. Specifically, in the monitoring software, a trigger key or a trigger menu for triggering the operation of the monitoring window may be included. The monitoring personnel can trigger one or more monitoring windows to run through a trigger button or a trigger menu.
In some embodiments, according to the variable attribute corresponding to the variable associated with each component in the monitoring window, controlling each component in the monitoring window to display the data transferred by the associated variable or receive the data transferred to the associated variable, including:
for any component in the monitoring window, if the user triggering the operation of the monitoring window is a target user of the variable associated with the component, the component is controlled to display the data transmitted by the associated variable or receive the data transmitted to the associated variable.
Here, the user who triggers the operation of the monitoring window is the user who logs in to the monitoring software. The target user is the user facing the variable when the variable transmits the data, namely the user with authority to transmit the data through the variable. For the target user, see the relevant description of step S41, which is not repeated here.
Based on the description about the variable attribute in step S41 described above, it is understood that in a monitoring window including a plurality of components, the target user corresponding to the variable associated with each component may be different. That is, after different users log in the monitoring software, the display data seen may be different for the same monitoring window. The monitoring window A comprises components 1, 2 and 3, wherein a user 1 is a target user of a variable associated with the components 1, 2 and 3, a user 2 is a target user of a variable associated with the components 1 and 2, and a user 3 is a target user of a variable associated with the component 1, so that when the user 1 triggers the monitoring window A to operate, data displayed by the components 1, 2 and 3 can be seen, or a control instruction is issued to equipment through the components 1, 2 and 3; when the user 2 triggers the operation monitoring window A, the user can see the data displayed by the components 1 and 2 or issue a control instruction to the equipment through the components 1 and 2; when the user 3 triggers the operation monitoring window A, the user can see the data displayed by the component 1 or issue a control instruction to the device through the component 1.
For components that the user has no rights to use, these components may be displayed in a color (e.g., gray) that indicates no operability when the user logs into the monitoring software to prompt the user. Or the monitoring software may not display these components to avoid confusion for the user.
In some embodiments, according to the variable attribute corresponding to the variable associated with each component in the monitoring window, controlling each component in the monitoring window to display the data transferred by the associated variable may further include:
for any component in the monitoring window, if the variable attribute of the variable associated with the component comprises an initial value, controlling the component to display the initial value when displaying the data transmitted by the associated variable; if the variable attribute of the variable associated with the component includes a presentation value range, the component is controlled to present the data communicated by the associated variable within the presentation value range. In this way, the initial values and numerical ranges of the data presented by the various components can be controlled.
Based on the above description, in the technical solutions of some embodiments of the present application, variables associated with each component in the monitoring window are monitored, and variables associated with all components are created in the variable management center. Therefore, the variable management center can conveniently and uniformly manage the variables associated with each component, and the problems of operation errors of the monitoring window and the like caused by undefined conditions and the like of the variables associated with the components are prevented.
Referring to fig. 6, a schematic block diagram of a variable management system according to an embodiment of the present application is provided. The variable management system includes:
the device comprises a detection module, a variable management center and a control module, wherein the detection module is used for monitoring whether variables associated with all components in a monitoring window are created in the variable management center or not in the monitoring window, the variables are used for transmitting data, and the components are used for displaying the data transmitted by the variables or receiving the data transmitted to the variables; and
And the variable creation module is used for triggering a variable creation action if a target variable which is not created in the variable management center exists in the variables associated with each component, and creating the target variable in the variable management center so as to manage the variables associated with each component through the variable management center.
Referring to fig. 7, a schematic diagram of a variable management device according to an embodiment of the present application is provided. The variable management device comprises a processor and a memory for storing a computer program which, when executed by the processor, implements the variable management method described above.
The processor may be a central processing unit (Central Processing Unit, CPU). The processor may also be any other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules, corresponding to the methods in embodiments of the present invention. The processor executes various functional applications of the processor and data processing, i.e., implements the methods of the method embodiments described above, by running non-transitory software programs, instructions, and modules stored in memory.
The memory may include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store data created by the processor, etc. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some implementations, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One embodiment of the present application also provides a computer readable storage medium for storing a computer program that, when executed by a processor, implements the variable management method described above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the variable management method described above.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (9)

1. A method of variable management, the method comprising:
in a monitoring window used for monitoring equipment, monitoring whether variables associated with various components in the monitoring window are created in a variable management center, wherein the variables are used for transmitting data, and the components are used for displaying the data transmitted by the variables or receiving the data transmitted to the variables; and
If the target variable which is not created in the variable management center exists in the variables associated with each component, triggering a variable creation action to create the target variable in the variable management center so as to manage the variables associated with each component through the variable management center;
each variable created in the variable management center respectively comprises a variable attribute, the variable attribute represents the condition when the variable is subjected to data transmission, and when the monitoring window is triggered to run, each component in the monitoring window is controlled to display the data transmitted by the related variable or receive the data transmitted to the related variable according to the variable attribute corresponding to the variable related to each component in the monitoring window.
2. The method of claim 1, wherein the triggering a variable creation action to create the target variable at the variable management center comprises:
if the target variable is a variable of a first type, triggering to generate a variable creation instruction, and creating the target variable in the variable management center;
and if the target variable is a variable of a second type, triggering to generate a variable creation prompt so as to remind the variable management center of creating the target variable.
3. The method of claim 1, wherein after the variable management center creates a variable, the method further comprises:
in response to a variable deletion instruction, deleting the variable to be deleted in the variable management center in the case that the variable to be deleted does not have an associated component; and/or
Sorting at least a portion of the variables of the variable management center in response to a variable sorting instruction; and/or
In response to a variable import export instruction, exporting at least a portion of variables of the variable management center or importing variables to the variable management center; and/or
And in response to the variable retrieval instruction, displaying the position where the variable to be retrieved is associated.
4. The method of claim 1, wherein the variable attributes comprise a target user to whom the variable is directed when data is transferred;
and controlling each component in the monitoring window to display the data transmitted by the associated variable or receive the data transmitted to the associated variable according to the variable attribute corresponding to the variable associated with each component in the monitoring window, wherein the method comprises the following steps:
and for any component in the monitoring window, if the user triggering the operation of the monitoring window is a target user of the variable associated with the component, controlling the component to display the data transmitted by the associated variable or receive the data transmitted to the associated variable.
5. The method as set forth in claim 1, wherein controlling each component in the monitoring window to present the data transferred by the associated variable according to the variable attribute corresponding to the variable associated with each component in the monitoring window includes:
for any component in the monitoring window, if the variable attribute of the variable associated with the component comprises an initial value, controlling the component to display the initial value when displaying the data transmitted by the associated variable; if the variable attribute of the variable associated with the component comprises a presentation value range, controlling the component to present the data transmitted by the variable associated with the component in the presentation value range.
6. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 5.
7. A variable management system, the system comprising:
the device comprises a detection module, a variable management center and a control module, wherein the detection module is used for monitoring whether variables associated with all components in a monitoring window are created in the variable management center or not in the monitoring window, the variables are used for transmitting data, and the components are used for displaying the data transmitted by the variables or receiving the data transmitted to the variables; and
The variable creation module is used for triggering a variable creation action if a target variable which is not created in the variable management center exists in the variables associated with each component, and creating the target variable in the variable management center so as to manage the variables associated with each component through the variable management center;
each variable created in the variable management center respectively comprises a variable attribute, the variable attribute represents the condition when the variable is subjected to data transmission, and when the monitoring window is triggered to run, each component in the monitoring window is controlled to display the data transmitted by the related variable or receive the data transmitted to the related variable according to the variable attribute corresponding to the variable related to each component in the monitoring window.
8. A computer readable storage medium for storing a computer program which, when executed by a processor, implements the method of any one of claims 1 to 5.
9. A variable management device comprising a processor and a memory for storing a computer program which, when executed by the processor, implements the method of any one of claims 1 to 5.
CN202211318767.XA 2022-10-26 2022-10-26 Variable management method, program product, system, device and storage medium Active CN115629683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211318767.XA CN115629683B (en) 2022-10-26 2022-10-26 Variable management method, program product, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211318767.XA CN115629683B (en) 2022-10-26 2022-10-26 Variable management method, program product, system, device and storage medium

Publications (2)

Publication Number Publication Date
CN115629683A CN115629683A (en) 2023-01-20
CN115629683B true CN115629683B (en) 2023-06-20

Family

ID=84906180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211318767.XA Active CN115629683B (en) 2022-10-26 2022-10-26 Variable management method, program product, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN115629683B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428606A (en) * 2021-12-21 2022-05-03 浙江中控技术股份有限公司 Unit model analytic system based on EO variable

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ITTO20050047A1 (en) * 2005-01-27 2006-07-28 Microntel Spa SYSTEM FOR MONITORING AND MANAGEMENT OF ACCESS, RELATED PROCEDURE AND IT PRODUCT
US9285799B2 (en) * 2009-11-23 2016-03-15 Fisher-Rosemount Systems, Inc. Methods and apparatus to dynamically display data associated with a process control system
CN102520658B (en) * 2011-11-29 2014-07-23 深圳市合信自动化技术有限公司 Industrial human-computer interface configuration system and variable monitoring method thereof
CN105302055B (en) * 2015-11-09 2018-08-14 北京工业大学 The safety monitoring system and method for programmable logic controller (PLC) in a kind of industrial control system
CN106603681A (en) * 2016-12-21 2017-04-26 凯迈(洛阳)机电有限公司 Integrated use method of industrial equipment real-time monitoring software and information system
CN108052422A (en) * 2017-11-08 2018-05-18 北京旋极信息技术股份有限公司 A kind of fault filling method and system, control device and direct fault location management system
FR3090944B1 (en) * 2018-12-20 2023-01-06 Atos Worldgrid Network of intelligent nodes for distributed network according to a mesh adaptable to industrial or SERVICE applications

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428606A (en) * 2021-12-21 2022-05-03 浙江中控技术股份有限公司 Unit model analytic system based on EO variable

Also Published As

Publication number Publication date
CN115629683A (en) 2023-01-20

Similar Documents

Publication Publication Date Title
US11947556B1 (en) Computerized monitoring of a metric through execution of a search query, determining a root cause of the behavior, and providing a notification thereof
US12136174B1 (en) Generating extended reality overlays in an industrial environment
US11620300B2 (en) Real-time measurement and system monitoring based on generated dependency graph models of system components
US12147295B2 (en) Linking related events for various devices and services in computer log files on a centralized server
US11158143B2 (en) Vehicle diagnostic method and device, and computer readable storage medium
US11822597B2 (en) Geofence-based object identification in an extended reality environment
US20090064000A1 (en) SYSTEMS, METHODS AND COMPUTER PRODUCTS TO AUTOMATICALLY COMPLETE a GUI TASK
US11676345B1 (en) Automated adaptive workflows in an extended reality environment
CN110377569A (en) Log monitoring method, device, computer equipment and storage medium
CN112817817B (en) Buried point information query method, buried point information query device, computer equipment and storage medium
EP3553678A1 (en) Systems and methods for accessing data items and aggregating data records
CN104636240B (en) A kind of acquisition methods and terminal of information report
US20220004369A1 (en) Rule builder and simulator tool for creating complex event processing rules
CN111800454A (en) Visual data display system and visual page screen projection method
US11048760B1 (en) Techniques for placing content in and applying layers in an extended reality environment
CN115629683B (en) Variable management method, program product, system, device and storage medium
US9430125B1 (en) Simplifying rules generation for an event-based analysis engine
CN117234673A (en) Data processing method, system and electronic equipment
AU2017417179B2 (en) Alarm processing devices, methods, and systems
KR102613084B1 (en) Electronic apparatus for detecting intrusion and method thereof
CN113872921B (en) Webpage detection method, device, equipment and computer readable storage medium
CN110222070B (en) Report archiving method, report archiving device, report archiving medium and electronic equipment
CN115904572B (en) Template creation method, calling method, program product, system and device
US9354762B1 (en) Simplifying rules generation for an event-based analysis engine by allowing a user to combine related objects in a rule
US11586802B2 (en) Parameterized states for customized views of resources

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