CN115629683A - 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
CN115629683A
CN115629683A CN202211318767.XA CN202211318767A CN115629683A CN 115629683 A CN115629683 A CN 115629683A CN 202211318767 A CN202211318767 A CN 202211318767A CN 115629683 A CN115629683 A CN 115629683A
Authority
CN
China
Prior art keywords
variable
variables
component
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.)
Granted
Application number
CN202211318767.XA
Other languages
Chinese (zh)
Other versions
CN115629683B (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]

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 related to all 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 target variable which is not established in the variable management center exists in the variables associated with each component, triggering a variable establishment action, and establishing the target variable in the variable management center so as to manage the variables associated with each component through the variable management center. And 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 science and technology, equipment in the industrial process can be monitored or controlled and managed through some monitoring software, and 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 aiming at the equipment through the monitoring software. Currently, the operating data displayed by the monitoring software and the control instructions sent to the equipment are all 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 this, embodiments of the present invention provide a variable management method, a computer program product, a variable management system, a variable management apparatus, and a computer-readable storage medium, which can manage variables more conveniently.
One aspect of the present invention provides a variable management method, including:
monitoring whether a variable related to each component in a monitoring window is created in a variable management center in the monitoring window, wherein the variable is used for transmitting data, and the component is used for displaying the data transmitted by the variable or receiving the data transmitted to the variable; and
if the target variable which is not established in the variable management center exists in the variables associated with the components, triggering a variable establishing action, and establishing the target variable in the variable management center so as to manage the variables associated with the components through the variable management center.
In some embodiments, 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 creating instruction, and creating the target variable in the variable management center;
and if the target variable is a second type of variable, triggering to generate a variable creation prompt to remind the variable management center to create 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 under the condition that the variable to be deleted does not have the associated component; and/or
Sequencing at least part of variables of the variable management center in response to a variable sequencing instruction; and/or
Responding to a variable import and export instruction, exporting at least part of variables of the variable management center, or importing the variables to the variable management center; and/or
And responding to the variable retrieval instruction, and displaying the associated position of the variable to be retrieved.
In some embodiments, each variable created in the variable management center includes a variable attribute, and the variable attribute represents a condition of the variable when data transmission is performed; the method further comprises the following steps:
and when the monitoring window is triggered to run, 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.
In some embodiments, the variable attribute comprises a target user to which the variable is directed when data transfer is performed;
the controlling, according to the variable attribute corresponding to the variable associated with each component in the monitoring window, each component in the monitoring window to display data transmitted by the associated variable, or receiving data transmitted to the associated variable, includes:
and for any component in the monitoring window, if the user triggering the operation of the monitoring window is the target user of the variable associated with the component, controlling the component to display the data transmitted by the associated variable or receiving the data transmitted to the associated variable.
In some embodiments, the controlling, according to the variable attribute corresponding to the variable associated with each component in the monitoring window, each component in the monitoring window to display data transmitted by the associated variable 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 firstly when displaying the data transmitted by the associated variable; and if the variable attribute of the variable associated with the component comprises a display numerical range, controlling the component to display the data transmitted by the associated variable in the display numerical range.
In another aspect of the present invention, a variable management system is provided, where the system includes:
the device comprises a detection module, a processing module and a processing module, wherein the detection module is used for monitoring whether variables related to each component in a monitoring window are created in a variable management center 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 creating module is used for triggering a variable creating action if a target variable which is not created in the variable management center exists in the variables associated with the components, and creating the target variable in the variable management center so as to manage the variables associated with the components through the variable management center.
In another aspect, the present invention also provides a computer-readable storage medium for storing a computer program, which when executed by a processor implements the method as described above.
In another aspect, the present invention also provides a variable management apparatus, which includes a processor and a memory, where the memory is used to store a computer program, and the computer program implements the method as described above when executed by the processor.
In a further aspect of the invention, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the method as described above.
In the technical solutions of 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. Therefore, the variables associated with the components 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 not to be construed as limiting the invention in any way, and in which:
FIG. 1 is a schematic view of a monitoring flow of monitoring software;
FIG. 2 illustrates a schematic view of a monitoring window provided by an embodiment of the present application;
FIG. 3 illustrates a schematic view of a monitoring window provided by another embodiment of the present application;
FIG. 4 is a flow diagram illustrating a method for variable management provided by an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an interface of a variable management center provided by an embodiment of the application;
FIG. 6 illustrates a block diagram of a variable management system provided by an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a variable management apparatus according to an embodiment of the present application.
Detailed Description
In order to make 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 described clearly and completely with reference to the accompanying drawings of the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of the present invention.
The variable management method can be applied to monitoring software or electronic equipment for running the monitoring software. Electronic devices include, but are not limited to, desktop computers, notebook computers, tablet computers, and the like. The monitoring software can monitor and control the equipment in the industrial process. Before explaining the scheme of the application, the related principle of the monitoring software is explained.
Please refer to fig. 1, which is a schematic view of a monitoring process of monitoring software. In fig. 1, the monitoring software may be communicatively connected to the devices in the industrial process for collecting operational data of the devices and recording the collected operational data in a database. The operation data refers to data of each monitoring item of the equipment in the operation process of the equipment. Such as the current level, voltage level, switch closure status, and whether the device is in use.
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 conveniently monitor the equipment. Meanwhile, monitoring personnel can also issue a control instruction to the equipment through the monitoring software so as to control the equipment. In particular, one or more components may be included in the monitoring window. The monitoring software may utilize the components to present operational data of the device or receive control instructions.
For ease of understanding, reference is made to FIG. 2 in conjunction with a schematic illustration of a monitoring window provided in accordance with an embodiment of the present application. The example in fig. 2 includes 4 components. Wherein, different components can be used to show data of different monitoring items of the device, for example, component 1 can be used to show voltage magnitude of the device, component 2 can be used to show current magnitude of the device, component 3 can show power magnitude of the device, and component 4 can show temperature magnitude of the device. The presentation of data by these components may vary. For example, for the component 1, the height of the black rectangular area in the component 1 may vary with the voltage variation of the corresponding device. In this way, by looking at the height of the black rectangular area in the assembly 1, the voltage variation of the device can be seen. For the assembly 2, the color of the inner circle in the assembly 2 may change when the current magnitude of the device exceeds the upper limit value or falls below the lower limit value. Therefore, the range of the current of the equipment can be checked by checking the color of the inner circle. For the component 3, the white area of the component 3 may be used as a display area. In the presentation area, the power level of the device can be directly presented. For the component 4, the component 4 can show the temperature trend of the device in a curve manner.
It is to be understood that the data of the same monitoring item may also be presented in different data presentation forms through different components. For example, both the above-described module 1 and module 2 can be used to display the voltage level of the device. Of course, the data of different monitoring items can also be respectively shown through different components with the same data showing form. Such as voltage level, current level, power level, and temperature level of the device, can be displayed using the component 3.
Referring to fig. 3 in combination, a schematic view of a monitoring window is provided according to another embodiment of the present application. 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 monitoring software.
It should be noted that fig. 2 and 3 are only 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.
Currently, 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 also be read from the variable, so that data transmission can be realized through the variable. In the monitoring software, variables may include the following categories:
database variables: corresponding to the point parameters in the database. One point parameter may correspond to one monitoring item, and is 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 transmitted. The database variables and the corresponding point parameters may have the same field name, field type, field length, etc.
Intermediate variables: may be used to temporarily store data. For example, the database variable a and the database variable B need to be added and then output, and the result obtained by the addition can be stored in the intermediate variable C.
Indirect variables: there are three main cases. In one case, indirect variables may be used as pointers to other variables. 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 by the indirect variable, is operated on. After the indirect variable is replaced by other variables, the place where the indirect variable is referenced is equivalent to the place where the replaced variable is referenced. Alternatively, indirect variables may be used as normal variables. For example, in indiect = lic101.Pv, the INDIRECT variable indiect is a common variable. In yet another case, indirect variables may be used as arrays. The array function is realized through indirect variables, and the variables can be directly used without initialization.
Window intermediate variables: 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, with reference to fig. 4, a flowchart of a variable management method according to an embodiment of the present application is provided. In fig. 4, the variable management method includes the following steps:
step S41, in a monitoring window for monitoring the device, monitoring whether a variable associated with each component in the monitoring window is created in a variable management center, where the variable is used to transmit data, and the component is used to display data transmitted by the variable or receive data transmitted to the variable.
Based on the above-mentioned correlation description, each component may associate one or more of the database variables, intermediate variables, indirect variables, and window intermediate variables according to actual needs. These variables can be used to transmit the operating data of the equipment to be displayed in the monitoring window, and can also be used to transmit the control command issued to the equipment. When the variable is used for transmitting equipment operation data, the component related to the variable is used for showing the data transmitted by the variable. When the variable is used for transmitting the control instruction, the variable related component is used for receiving the control instruction needing variable transmission.
For ease of understanding, reference is made to fig. 2 and 3 in combination. In FIG. 2, each component may be associated with a variable and expose the data passed by the associated variable. In fig. 3, a monitoring person may click the start component in the monitoring window and issue a start control instruction. The startup control command is transmitted by the variables associated with the startup component and is sent to the device. Or the monitoring personnel can click the stopping component in the monitoring window to send a stopping control instruction. The stop control command is passed by a variable associated with the stop component and is subsequently 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 or a page in the monitoring software. The different types of variables may be sorted into records at a variable management center. Such as database variables, intermediate variables, indirect variables, and window intermediate variables. Thus, the view is convenient. Among the variables recorded by 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. Meanwhile, each variable may further include a variable attribute, respectively. The variable attribute represents the condition of the variable in data transmission.
In some embodiments, the variable attributes may include the target users to which the variable is directed for data transfer. The user here refers to a user who logs in 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 authorized to transmit data through the variable. In short, when the user who logs in the monitoring software is the target user corresponding to the variable, the variable is subjected to data transmission. At the same time, the component associated with the variable will either present the data passed by the variable or receive the data passed to the variable. On the contrary, if the user logging 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 receive the data transferred to the variable.
For example, suppose component 1 is associated with variable a and component 2 is associated with 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 and user 3. Then after user 1 logs into the monitoring software, both component 1 and component 2 can present the data transmitted by the associated variable or receive the data passed to the associated variable. After the user 2 logs in the monitoring software, the component 1 can display the data transmitted by the associated variable or receive the data transmitted to the associated variable, but the component 2 does not display the data transmitted by the associated variable or receive the data transmitted to the associated variable. Similarly, after the user 3 logs in the monitoring software, the component 1 will not display or receive the data transmitted to the associated variable, but the component 2 will display or receive the data transmitted to the associated variable.
In some embodiments, the variable attributes may also include an initial value or a numerical range at which the data passed by the variable is exposed.
In some embodiments, the variable attributes may also include the scope of the variable. Simply put, it is the variables that are within the specified scope of action that can be passed on. The scope may be a specific monitoring window or windows or may be the entire monitoring software.
In some embodiments, in order to prevent variable omission and ensure that the variables associated with each component are recorded in the variable management center, whether the associated variables have been created in the variable management center may be monitored while associating the variables for each component in the monitoring window, or whether the variables associated with the components in the monitoring window have been created in the variable management center may be monitored in the process of compiling the monitoring window.
And step S42, if the target variable which is not established in the variable management center exists in the variables related to each component, triggering a variable establishing action, and establishing the target variable in the variable management center so as to manage the variables related to each component through the variable management center.
In some embodiments, triggering the variable creation action to create the target variable at the variable management center may include:
if the target variable is the first type of variable, triggering to generate a variable creating instruction, and creating the target variable in a variable management center;
and if the target variable is the second type of variable, triggering to generate a variable creation prompt to remind a variable management center to create the target variable.
In particular, the first type of variable may be a database variable. Because the database variables correspond to the point parameters in the database, the related information (such as variable names, variable lengths, variable types and the like) of the variables to be created can be obtained based on the point parameter information (such as field names, field lengths, field types and the like) corresponding to the database variables, and therefore, the generation of the variable creation instruction can be directly triggered, and the database variables can be created in the variable management.
The second type of variable may be other than a database variable. The variables can be variables which are not defined yet and have no referenceable variable creation information (such as variable types, variable lengths are not defined and have no referenceable information), so that a variable creation prompt can be triggered to be generated to remind monitoring personnel to create the variables in a 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 in a compiling error reporting manner.
In some embodiments, after the variable management center creates the variable, the variable management method of the present application further includes:
in response to the variable deleting instruction, deleting the variable to be deleted in the variable management center under the condition that the variable to be deleted does not have the associated component; and/or
Sequencing at least part of variables of the variable management center in response to the variable sequencing instruction; and/or
Responding to a variable import and export instruction, exporting at least part of variables of the variable management center, or importing the variables into the variable management center; and/or
And responding to the variable retrieval instruction, and displaying the associated position of the variable to be retrieved.
Referring to fig. 5, an interface 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. Meanwhile, functional buttons for the operation of monitoring personnel are provided, such as buttons for adding variables, deleting variables and the like. The monitoring personnel can execute operations such as adding, deleting, importing and exporting variables in the variable management center by clicking the function button. Therefore, the variables are conveniently managed in a unified mode.
In some embodiments, based on the variables recorded by the variable management center, the variable management method of the present application further includes:
when the monitoring window is triggered to run, controlling each component in the monitoring window to display 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.
It should be noted here that, when the monitoring window is not triggered to run, the component in the monitoring window may not show the data passed by the variable and may not receive the data passed by the variable. And after the monitoring window is triggered to run, controlling the component to display the data transmitted by the variable or receive the data transmitted to the variable according to the variable attribute corresponding to the variable associated with each component in the monitoring window. In particular, in the monitoring software, a triggering key or a triggering menu for triggering the running of the monitoring window can be included. The monitoring personnel can trigger one or more monitoring windows to run by triggering a button or a menu.
In some embodiments, controlling each component in the monitoring window to display data transmitted by the associated variable or receive data transmitted to the associated variable according to a variable attribute corresponding to the variable associated with each component in the monitoring window includes:
for any component in the monitoring window, if the user triggering the operation of the monitoring window is the target user of the variable associated with the component, controlling the component to display the data transmitted by the associated variable or receiving the data transmitted to the associated variable.
Here, the user who triggers the operation of the monitoring window is the user who logs in the monitoring software. The target user, i.e. the user for which the variable is oriented when data transmission is performed, i.e. the user having the authority to transmit data through the variable. For the target user, refer to the related description of step S41, which is not repeated herein.
Based on the above description about the variable attribute in step S41, it can be understood that, in a monitoring window including a plurality of components, the target users corresponding to the variables associated with each component may be different. That is, different users log in the monitoring software, and the display data viewed by the same monitoring window may be different. The ratio monitoring window A comprises the components 1, 2 and 3, the user 1 is a target user of variables associated with the components 1, 2 and 3, the user 2 is a target user of the variables associated with the components 1 and 2, and the user 3 is a target user of the variables associated with the component 1, so that when the user 1 triggers the operation of the monitoring window A, the data displayed by the components 1, 2 and 3 can be seen, or control instructions are issued to equipment through the components 1, 2 and 3; when the user 2 triggers the operation monitoring window A, the data displayed by the components 1 and 2 can be seen, or a control instruction is issued to the equipment through the components 1 and 2; when the user 3 triggers the operation monitoring window A, the data displayed by the component 1 can be seen, or a control instruction is issued to the equipment through the component 1.
For components that the user does not have access to, these components may be displayed in a color (such as grey) that represents inoperable to prompt the user when the user logs into the monitoring software. Or the monitoring software may not display these components to avoid confusion to the user.
In some embodiments, controlling each component in the monitoring window to display data transmitted by the associated variable according to the variable attribute corresponding to the variable associated with each component in the monitoring window 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 firstly when displaying the data transmitted by the associated variable; and if the variable attribute of the variable associated with the component comprises a display numerical range, controlling the component to display the data transmitted by the associated variable in the display numerical range. In this way, the initial values and the value ranges of the data presented by the various components can be controlled.
Based on the above description, in the technical solution of some embodiments of the present application, variables associated with each component in a monitoring window are monitored, and all the variables associated with the component are created in a variable management center. Therefore, the variables associated with each component can be conveniently managed in a unified manner in the variable management center, and the problems of monitoring window operation errors and the like caused by undefined conditions and the like of the variables associated with the components are prevented.
Please refer to fig. 6, which is a block diagram illustrating a variable management system according to an embodiment of the present application. The variable management system includes:
the device comprises a detection module, a processing module and a processing module, wherein the detection module is used for monitoring whether variables related to each component in a monitoring window are created in a variable management center 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 creating module is used for triggering a variable creating action if a target variable which is not created in the variable management center exists in the variables associated with the components, and creating the target variable in the variable management center so as to manage the variables associated with the components through the variable management center.
Please refer to fig. 7, which is a diagram illustrating a variable management apparatus according to an embodiment of the present application. The variable management device comprises a processor and a memory, wherein the memory is used for storing a computer program, and the computer program realizes the variable management method when being executed by the processor.
The processor may be a Central Processing Unit (CPU). The Processor may also be other general purpose Processor, digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or a combination thereof.
The memory, which is 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 of the embodiments of the present invention. The processor executes various functional applications and data processing of the processor by executing non-transitory software programs, instructions and modules stored in the memory, that is, the method in the above method embodiment is realized.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor, and the like. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and such remote memory may be coupled to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
An embodiment of the present application further provides a computer-readable storage medium for storing a computer program, which 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 the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A method for variable management, the method comprising:
monitoring whether variables related to each component in a monitoring window are created 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 target variable which is not established in the variable management center exists in the variables associated with the components, triggering a variable establishing action to establish the target variable in the variable management center so as to manage the variables associated with the components through the variable management center.
2. The method of claim 1, wherein the triggering variable creation action, creating 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 creating instruction, and creating the target variable in the variable management center;
and if the target variable is a second type of variable, triggering to generate a variable creation prompt 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 deleting instruction, deleting the variable to be deleted in the variable management center under the condition that the variable to be deleted does not have the associated component; and/or
Sequencing at least part of variables of the variable management center in response to a variable sequencing instruction; and/or
Responding to a variable import and export instruction, exporting at least part of variables of the variable management center, or importing the variables to the variable management center; and/or
And responding to the variable retrieval instruction, and displaying the associated position of the variable to be retrieved.
4. The method of claim 1, wherein each variable created at the variable management center comprises a variable attribute that characterizes a condition under which the variable is data-passed; the method further comprises the following steps:
and when the monitoring window is triggered to run, 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.
5. The method of claim 4, wherein the variable attributes include a target user to which the variable is directed for data transfer;
the controlling, according to the variable attribute corresponding to the variable associated with each component in the monitoring window, each component in the monitoring window to display data transmitted by the associated variable, or receiving data transmitted to the associated variable, includes:
and for any component in the monitoring window, if the user triggering the operation of the monitoring window is the target user of the variable associated with the component, controlling the component to display the data transmitted by the associated variable or receiving the data transmitted to the associated variable.
6. The method of claim 4, wherein the controlling each component in the monitoring window to display data passed by the associated variable according to the variable attribute corresponding to the variable associated with each component in the monitoring window comprises:
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 firstly when displaying the data transmitted by the associated variable; and if the variable attribute of the variable associated with the component comprises a display numerical range, controlling the component to display the data transmitted by the associated variable in the display numerical range.
7. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method according to any one of claims 1 to 6.
8. A variable management system, the system comprising:
the device comprises a detection module, a processing module and a processing module, wherein the detection module is used for monitoring whether variables related to each component in a monitoring window are created in a variable management center 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 creating module is used for triggering a variable creating action if a target variable which is not created in the variable management center exists in the variables associated with the components, and creating the target variable in the variable management center so as to manage the variables associated with the components through the variable management center.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program which, when executed by a processor, implements the method of any one of claims 1 to 6.
10. A variable management apparatus, comprising a processor and a memory for storing a computer program which, when executed by the processor, implements the method of any of claims 1 to 6.
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 true CN115629683A (en) 2023-01-20
CN115629683B 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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080133740A1 (en) * 2005-01-27 2008-06-05 Microntel S.P.A. Access Monitoring and Management System, Related Method and Informatics Product
CN102073448A (en) * 2009-11-23 2011-05-25 费希尔-罗斯蒙特系统公司 Methods and apparatus to dynamically display data associated with a process control system
CN102520658A (en) * 2011-11-29 2012-06-27 深圳市合信自动化技术有限公司 Industrial human-computer interface configuration system and variable monitoring method thereof
CN105302055A (en) * 2015-11-09 2016-02-03 北京工业大学 Safety monitoring system for programmable logic controller in industrial control system and method thereof
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
US20200236162A1 (en) * 2018-12-20 2020-07-23 Atos Worldgrid Network of intelligent nodes for mesh distributed network adaptable to industrial or service applications
CN114428606A (en) * 2021-12-21 2022-05-03 浙江中控技术股份有限公司 Unit model analytic system based on EO variable

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080133740A1 (en) * 2005-01-27 2008-06-05 Microntel S.P.A. Access Monitoring and Management System, Related Method and Informatics Product
CN102073448A (en) * 2009-11-23 2011-05-25 费希尔-罗斯蒙特系统公司 Methods and apparatus to dynamically display data associated with a process control system
CN102520658A (en) * 2011-11-29 2012-06-27 深圳市合信自动化技术有限公司 Industrial human-computer interface configuration system and variable monitoring method thereof
CN105302055A (en) * 2015-11-09 2016-02-03 北京工业大学 Safety monitoring system for programmable logic controller in industrial control system and method thereof
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
US20200236162A1 (en) * 2018-12-20 2020-07-23 Atos Worldgrid Network of intelligent nodes for mesh distributed network adaptable to industrial or service applications
CN114428606A (en) * 2021-12-21 2022-05-03 浙江中控技术股份有限公司 Unit model analytic system based on EO variable

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ANJALI GUPTA; SANJAY MAURYA; AJAY KUMAR: "Smart Control and Monitoring of Bottle Filling System Based on SCADA", pages 2117 - 2119 *
潘维朱小杰: "基于PLC与组态软件的SCADA配电监控系统的设计", pages 94 - 96 *

Also Published As

Publication number Publication date
CN115629683B (en) 2023-06-20

Similar Documents

Publication Publication Date Title
US20220206889A1 (en) Automatic correlation of dynamic system events within computing devices
KR102525502B1 (en) Method and apparatus for storing auto-drive test data, electronic device, storage medium and program
EP3553678A1 (en) Systems and methods for accessing data items and aggregating data records
CN102110211A (en) Method and device for managing security events
US20120151396A1 (en) Rendering an optimized metrics topology on a monitoring tool
US20200228396A1 (en) Self-monitoring
US20140137242A1 (en) Automated security analytics platform with multi-level representation conversion for space efficiency and incremental persistence
CN103617055A (en) Browser and method and device of starting applications in browser
CN110717130B (en) Dotting method, dotting device, dotting terminal and storage medium
CN115629683B (en) Variable management method, program product, system, device and storage medium
US9430125B1 (en) Simplifying rules generation for an event-based analysis engine
CN111767269A (en) Health detection method, device and equipment of database instance and storage medium
US11181290B2 (en) Alarm processing devices, methods, and systems
US20220300609A1 (en) Risk-based alerting for computer security
CN113872921B (en) Webpage detection method, device, equipment and computer readable storage medium
CN113760856A (en) Database management method and device, computer readable storage medium and electronic device
CN114297657A (en) File behavior detection baseline determination and file behavior anomaly detection method and device
CN114119219A (en) Detection method and device for risk monitoring coverage
CN111163155A (en) Account checking file transmission method, account checking file transmission system, account checking file transmission server and storage medium
US11868200B1 (en) Method and device for reproducing an error condition
US11853282B2 (en) Gaining insights on database system table changes
CN115904572A (en) Template creating method, template calling method, program product, template system and template device
US20220261689A1 (en) Off-duty-cycle-robust machine learning for anomaly detection in assets with random down times
US10169136B2 (en) Dynamic monitoring and problem resolution
CN116185213A (en) Control system of Bluetooth handwriting pen

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