CN115562788B - Component association method, display method, system and device of graphical interface - Google Patents

Component association method, display method, system and device of graphical interface Download PDF

Info

Publication number
CN115562788B
CN115562788B CN202211318734.5A CN202211318734A CN115562788B CN 115562788 B CN115562788 B CN 115562788B CN 202211318734 A CN202211318734 A CN 202211318734A CN 115562788 B CN115562788 B CN 115562788B
Authority
CN
China
Prior art keywords
variable
monitoring
current
equipment model
target
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
CN202211318734.5A
Other languages
Chinese (zh)
Other versions
CN115562788A (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 CN202211318734.5A priority Critical patent/CN115562788B/en
Publication of CN115562788A publication Critical patent/CN115562788A/en
Application granted granted Critical
Publication of CN115562788B publication Critical patent/CN115562788B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0267Fault communication, e.g. human machine interface [HMI]
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention discloses a method, a system and a device for associating components of a graphical interface, wherein the method for associating the components of the graphical interface comprises the steps of creating a first equipment model comprising a first monitoring variable and creating a second equipment model comprising a second monitoring variable, wherein the first monitoring variable and the second monitoring variable are used for transmitting different equipment data, and the first monitoring variable and the second monitoring variable are in one-to-one correspondence; associating a first monitored variable in the first device model with a monitoring component in the graphical interface; and creating a switching component, wherein when the switching component receives a switching instruction, the variable associated with the monitoring component is switched from the first monitoring variable to the second monitoring variable according to the corresponding relation between the first monitoring variable and the second monitoring variable. The development workload is small.

Description

Component association method, display method, system and device of graphical interface
Technical Field
The invention relates to the field of equipment monitoring, in particular to a method, a display method, a system and a device for associating components of a graphical interface.
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 acquire the operation data of the equipment and display the operation data of the equipment through the graphical interface so as to facilitate monitoring personnel to monitor the equipment. Wherein the graphical interface may include one or more components. The components may be rectangles, text, pictures, buttons, etc. These components may be associated with the monitoring items of the device and present data of the associated monitoring items, as such, to enable presentation of operational data of the device via a graphical interface.
At present, if monitoring items associated with a plurality of graphical interfaces are different, it is necessary to develop each of the graphical interfaces even if the components included in the graphical interfaces and the positional relationships among the components are the same. For example, assuming that the components included in the graphical interfaces a and B and the positional relationships between the components are all the same, but the device monitoring items associated with the components in the two graphical interfaces are different, it is necessary to develop the two graphical interfaces separately for associating different device monitoring items. This results in a significant amount of development effort for the graphical interface.
Disclosure of Invention
In view of this, embodiments of the present invention provide a component association method of a graphical interface, a presentation method of a graphical interface, a component association system, a presentation system, a computer program product, an electronic device, and a computer-readable storage medium, which can reduce development effort.
In one aspect, the present invention provides a method for associating components of a graphical interface, where the method includes:
creating a first equipment model comprising a first monitoring variable and creating a second equipment model comprising a second monitoring variable, wherein the first monitoring variable and the second monitoring variable are used for transmitting different equipment data, and the first monitoring variable and the second monitoring variable are in one-to-one correspondence;
associating the first monitored variable in the first device model with a monitoring component in the graphical interface; a kind of electronic device with high-pressure air-conditioning system
And creating a switching component, wherein when the switching component receives a switching instruction, the variable associated with the monitoring component is switched from the first monitoring variable to the second monitoring variable according to the corresponding relation between the first monitoring variable and the second monitoring variable.
The invention also provides a display method of the graphical interface, which comprises the following steps:
receiving a switching instruction, and determining a target equipment model to which the equipment model associated with the graphical interface is to be switched according to the switching instruction;
detecting an association relationship between a monitoring component in the graphical interface and a current monitoring variable in the current equipment model based on the current equipment model currently associated with the graphical interface; a kind of electronic device with high-pressure air-conditioning system
And switching the current monitoring variable associated with the monitoring component into a target monitoring variable in the target equipment model according to the corresponding relation of the monitoring variable between the current equipment model and the target equipment model, so that the monitoring component displays the data transmitted by the target monitoring variable or receives the data transmitted to the target monitoring variable.
In another aspect, the present invention provides a component association system, including:
the model creation module is used for creating a first equipment model comprising a first monitoring variable and creating a second equipment model comprising a second monitoring variable, wherein the first monitoring variable and the second monitoring variable are used for transmitting different equipment data, and the first monitoring variable and the second monitoring variable are in one-to-one correspondence;
a variable association module for associating the first monitored variable in the first device model with a monitoring component in the graphical interface; a kind of electronic device with high-pressure air-conditioning system
The variable switching module is used for creating a switching component and setting the switching component to switch the variable associated with the monitoring component from the first monitoring variable to the second monitoring variable according to the corresponding relation between the first monitoring variable and the second monitoring variable when a switching instruction is received.
In another aspect, the present invention provides a display system, the system comprising:
the instruction receiving module is used for receiving a switching instruction and determining a target equipment model to which the equipment model associated with the graphical interface is to be switched according to the switching instruction;
the detection module is used for detecting the association relation between the monitoring component in the graphical interface and the current monitoring variable in the current equipment model based on the current equipment model currently associated with the graphical interface;
and the switching module is used for switching the current monitoring variable associated with the monitoring component into the target monitoring variable in the target equipment model according to the corresponding relation of the monitoring variable between the current equipment model and the target equipment model, so that the monitoring component displays the data transmitted by the target monitoring variable or receives the data transmitted to the target monitoring variable.
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 an electronic 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 the technical solutions of some embodiments of the present application, different device data are transferred through different device models, a switching instruction is received through a switching component, and when the switching instruction is received, according to the corresponding relationship of monitoring variables between different device models, the monitoring variables associated with the components in the graphical interface are switched, so that different monitoring variables can be associated through the same graphical interface, and further different device data can be displayed through the graphical interface. Therefore, the graphical interfaces can be not required to be developed for different monitoring variables, and the aim of reducing the development workload is achieved.
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 illustrates a flow diagram of a method for component association of a graphical interface provided by one embodiment of the present application;
FIG. 5 illustrates a schematic diagram of the structural relationships between components, device models, and database variables provided by one embodiment of the present application;
FIG. 6 is a flow chart of a graphical interface presentation method according to an embodiment of the present application;
FIG. 7 illustrates a block diagram of a component association system provided by one embodiment of the present application;
FIG. 8 shows a block diagram of a display system provided by an embodiment of the present application;
fig. 9 shows a schematic diagram of an electronic 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 monitoring software in the application can monitor and control equipment in the industrial process. Before describing the scheme of the present application, the related concepts related to the present application and the principles of the monitoring software will be described.
Various variables (e.g., monitoring variables, database variables) in this application may characterize the storage space. Variables may be used to communicate data. In short, data can be written or read in the storage space characterized by the variable, so that data transmission is realized. The graphical interface in this application may also be referred to as a monitoring window, which is an interface for monitoring or controlling a device.
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. These components may be associated with monitoring items of the device, present data of the associated monitoring items, or receive control instructions for the device.
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 for associating different monitoring items of equipment and displaying data of different monitoring items of equipment, such as component 1 can be used for displaying voltage magnitude of equipment, component 2 can be used for displaying current magnitude of equipment, component 3 can be used for displaying power magnitude of equipment, and component 4 can be used for displaying 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 in the monitoring software, the data of the same monitoring item may also be presented in different data presentation forms through 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.
In addition, in the monitoring software, when the monitoring window does not run, the components in the monitoring window can not display the related monitoring item data, and receive no control instruction, and a developer can adjust the components included in the monitoring window, the monitoring items related to the components, the position relationship among the components and the like. When the monitoring window runs, the components in the monitoring window can display the data of the related monitoring items or receive the control instruction aiming at the equipment so as to facilitate monitoring personnel to monitor or control the equipment.
At present, the method for associating the components with the monitoring items is realized by the following steps:
database variables are created in the database, which can communicate device operating data or control instructions issued to the device by the monitoring software. The components in the monitoring window are associated with the database variables and display the data transmitted by the database variables, or receive the control instructions issued by the monitoring software to the equipment and assign values to the database variables so as to transmit the control instructions to the equipment through the database variables. In the method for associating the components with the monitoring items, if the database variables associated with the components in the two monitoring windows are different, even if the components in the two monitoring windows and the position relations among the components are completely consistent, development needs to be performed on the two monitoring windows respectively, and the development workload is large.
In view of this, please refer to fig. 4, which is a flow chart illustrating a method for associating components of a graphical interface according to an embodiment of the present application. The component association method can be applied to the monitoring software or the 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. In fig. 4, the component association method of the graphical interface includes the following steps:
in step S41, a first device model including a first monitored variable is created, and a second device model including a second monitored variable is created, where the first monitored variable and the second monitored variable are used to transfer different device data, and the first monitored variable and the second monitored variable are in one-to-one correspondence.
In this embodiment, the device data may include device operation data collected by the monitoring software, and a control instruction issued by the monitoring software to the device. The first device model and the second device model may be models created for different monitoring purposes. For example, the monitored variables in the first device model may be used to communicate normal operation data of the device, the monitored variables in the second device model may be used to communicate fault operation data of the device, or the monitored variables in the first device model may be used to communicate real-time operation data of the device, and the monitored variables in the second device model may be used to communicate historical operation data of the device. The first device model and the second device model may each include one or more monitoring variables, different monitoring variables being available for communicating different device data.
Meanwhile, the device data transmitted by the first monitoring variable in the first device model and the device data transmitted by the second monitoring variable in the second device model can be displayed in a switching mode through the same graphical interface.
For example, assuming that the number of the first monitoring variables included in the first device model is the same as the number of the second monitoring variables included in the second device model, and the data of each monitoring variable is displayed through one component, the number of components required in the graphical interfaces corresponding to the two device models is the same, and the graphical interfaces corresponding to the first device model can also be used for displaying the device data transmitted by the second monitoring variables in the second device model, that is, the data transmitted by the monitoring variables in the two device models can be displayed through switching through the same graphical interface.
However, assuming that the number of the first monitoring variables included in the first equipment model is different from the number of the second monitoring variables included in the second equipment model, and meanwhile, the data of each monitoring variable needs to be displayed through one component, if the number of the components needed in the corresponding graphical interfaces of the two equipment models is different, the data transmitted by the monitoring variables in the two equipment models can be considered to be displayed in a switching way through the same graphical interface.
In some embodiments, the first monitored variable in the first device model and the second monitored variable in the second device model may be in one-to-one correspondence according to the variable identification. The first monitored variable and the corresponding second monitored variable may have the same variable identification. Wherein the variable identification includes, but is not limited to, a variable name or a variable ID.
Step S42, associating the first monitoring variable in the first device model with the monitoring component in the graphical interface.
Before describing step S42, please refer to fig. 5, which is a schematic diagram illustrating a structural relationship among components, device models and database variables according to an embodiment of the present application. The device model may be located between the component and the database variables. The database variables are located in the database and are used for transmitting the equipment operation data acquired by the monitoring software or the control instructions sent to the equipment by the monitoring software. According to the equipment data required to be transferred by the monitoring variable in the equipment model, the monitoring variable in the equipment model can be associated with the corresponding database variable. For example, a monitoring variable in the monitoring model is used to communicate data representing the magnitude of the device current and is then associated with a database variable that communicates the magnitude of the device current data. In this application, database variables are associated with components through monitoring variables in the device model, and may not need to be directly associated with monitoring components.
Based on the structure shown in fig. 5, in the present embodiment, after the first device model and the second device model are created, a first monitored variable may be associated with a first database variable for data transfer through the first database variable, and a second monitored variable may be associated with a second database variable for data transfer through the second database variable, wherein the first database variable and the second database variable are used for transferring different device data.
At the same time, a first monitored variable in the first device model is associated with a monitoring component in the graphical interface. Therefore, when the graphical interface operates, the device data transmitted by the first device model can be displayed, or a control instruction is issued to the device through the first device model. Here, since the second device model is not associated with the monitoring component in the graphical interface, the device data communicated by the second device model has not been presented in the graphical interface.
Step S43, creating a switching component, where when the switching component receives a switching instruction, according to a corresponding relationship between the first monitored variable and the second monitored variable, the variable associated with the monitoring component is switched from the first monitored variable to the second monitored variable.
Wherein, when the graphical interface operates, the switching component can be triggered (such as clicked) by a monitoring person. And the monitoring personnel can send a switching instruction by triggering the switching component so as to control the monitoring software to switch the first equipment model associated with the graphical interface into the second equipment model. Thus, the graphical interface may present the device data communicated by the second device model.
In this embodiment, the switching component may bind the first device model and the second device model. And each time the switching component is triggered, the monitoring software switches the equipment model associated with the graphical interface once. For the handover procedure, see the relevant description of fig. 6, which is not repeated here.
Referring to fig. 6, a flowchart of a method for displaying a graphical interface according to an embodiment of the present application is shown. The display method can be applied to the monitoring software or the 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. In fig. 6, the method for displaying a graphical interface may include the following steps:
step S61, receiving a switching instruction, and determining a target equipment model to which the equipment model associated with the graphical interface is to be switched according to the switching instruction.
As described in step S43 above, when the graphical interface is running, the monitoring personnel may send a switching instruction by triggering the switching component. In some embodiments, the monitoring software may determine a current device model with which the graphical interface is currently associated and a target device model to be switched to based on the number of times the switching component is triggered. For example, when the number of times the switching component is triggered is an odd number, it may indicate that the current device model currently associated with the graphical interface is a first device model, and the target device model to be switched to is a second device model; when the number of times the switching component is triggered is even, it may indicate that the current device model currently associated with the graphical interface is the second device model, and the target device model to be switched to is the first device model. In other embodiments, the switching component may include a selection button by which a monitoring person may select a target device model to which the graphical interface is to be switched.
Step S62, based on the current equipment model currently associated with the graphical interface, detecting the association relationship between the monitoring component in the graphical interface and the current monitoring variable in the current equipment model.
Specifically, considering that components in the graphical interface are not only related to monitoring variables in the device model, for example, some components are assumed to be used for displaying statistical operation data of devices, and the data displayed by the devices are data obtained by operating collected operation data of the devices. These components may also bind intermediate variables in order to perform the operation. In view of this, all the variables bound to each component in the graphical interface can be traversed to detect the association between the monitoring component in the graphical interface and the current monitoring variable in the current device model.
In this embodiment, the association relationship between the monitoring component and the current monitoring variable is detected by the following method:
detecting variable types of all variables in variables associated with a monitoring component, wherein the variable types represent whether the variables belong to a device model or not;
if the variable belongs to the equipment model, detecting whether the model name of the equipment model to which the variable belongs is the same as the model name of the current equipment model, if so, determining that the variable is the current monitoring variable in the current equipment model and is associated with the monitoring component.
The variable type of the variable and the model name of the equipment model to which the variable belongs may be that the variable is set when the equipment model is created. For example, when a device model is created, a variable is created in the device model, and the variable type of the variable may be set to belong to the device model, and the model name of the device model to which the variable belongs is identified. It will be appreciated that for variables that are not used in the device model, the variable types of these variables may then be model names that do not belong to the device model and do not have the device model to which they belong.
Therefore, the association relationship between the monitoring component and the current monitoring variable can be conveniently detected from all the variables bound by each component.
Step S63, according to the corresponding relation of the monitoring variable between the current equipment model and the target equipment model, the current monitoring variable associated with the monitoring component is switched to the target monitoring variable in the target equipment model, so that the monitoring component displays the data transmitted by the target monitoring variable or receives the data transmitted to the target monitoring variable.
The corresponding relationship of the monitoring variables between the current device model and the target device model may be described in step S41, which is not repeated here.
In this embodiment, switching the current monitoring variable associated with the monitoring component to the target monitoring variable in the target device model includes:
detecting a current variable identifier of a current monitoring variable associated with the monitoring component;
searching a target monitoring variable with the same variable identifier as the current variable identifier in the target equipment model, and switching the monitoring variable associated with the monitoring component into the searched target monitoring variable.
Therefore, the current monitoring variable associated with each monitoring component is switched to the target monitoring variable, so that the monitoring components can display the data transmitted by the target monitoring variable, the same graphical interface is realized, and different equipment data can be switched and displayed.
In some embodiments, if the target monitored variable with the same variable identification as the current variable identification is not found in the target device model, the monitoring component may be controlled to continue to associate the current monitored variable. Therefore, the problem of abnormal display of the graphical interface caused by failure in searching the target monitoring variable can be prevented. Specifically, if the target monitoring variable fails to find, the corresponding monitoring component cannot associate the monitoring variable, and further cannot display data on the graphical interface. In this case, abnormal display of the graphical interface is caused. In order to avoid bad experience caused by abnormal display to a user, the monitoring component can be controlled to continuously correlate the current monitoring variable, so that the monitoring component displays the data transmitted by the current monitoring variable, the display of the graphical interface is attractive, and the user experience is improved.
In some embodiments, to prompt the monitoring personnel to deal with such a handover failure, an alarm of a variable lookup failure may be generated to prompt the monitoring personnel of the graphical interface to deal with. The alarm modes include, but are not limited to, sending alarm information by means of short messages and the like, displaying alarm information by means of pages, and recording alarm information by means of logs.
In summary, in the technical solutions of some embodiments of the present application, different device data are transferred through different device models, a switching command is received through a switching component, and when the switching command is received, the monitored variables associated with the components in the graphical interface are switched according to the corresponding relationship of the monitored variables between the different device models, so that different monitored variables can be associated through the same graphical interface, and further different device data can be displayed through the graphical interface. Therefore, the graphical interfaces can be not required to be developed for different monitoring variables, and the aim of reducing the development workload is achieved.
Referring to fig. 7, a schematic block diagram of a component association system according to an embodiment of the present application is provided. The component association system includes:
the model creation module is used for creating a first equipment model comprising a first monitoring variable and creating a second equipment model comprising a second monitoring variable, wherein the first monitoring variable and the second monitoring variable are used for transmitting different equipment data, and the first monitoring variable and the second monitoring variable are in one-to-one correspondence;
a variable association module for associating the first monitored variable in the first equipment model with a monitoring component in a graphical interface; a kind of electronic device with high-pressure air-conditioning system
The variable switching module is used for creating a switching component and setting the switching component to switch the variable associated with the monitoring component from the first monitoring variable to the second monitoring variable according to the corresponding relation between the first monitoring variable and the second monitoring variable when a switching instruction is received.
Referring to fig. 8, a schematic block diagram of a display system according to an embodiment of the present application is provided. The display system comprises:
the instruction receiving module is used for receiving the switching instruction and determining a target equipment model to which the equipment model associated with the graphical interface is to be switched according to the switching instruction;
the detection module is used for detecting the association relation between the monitoring component in the graphical interface and the current monitoring variable in the current equipment model based on the current equipment model currently associated with the graphical interface;
and the switching module is used for switching the current monitoring variable associated with the monitoring component into the target monitoring variable in the target equipment model according to the corresponding relation of the monitoring variable between the current equipment model and the target equipment model, so that the monitoring component displays the data transmitted by the target monitoring variable or receives the data transmitted to the target monitoring variable.
Referring to fig. 9, a schematic diagram of an electronic device according to an embodiment of the present application is provided. The electronic device comprises a processor and a memory for storing a computer program which, when executed by the processor, implements the 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 above-described method.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the 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 (5)

1. A method for displaying a graphical interface, the method comprising:
receiving a switching instruction, and determining a target equipment model to which the equipment model associated with the graphical interface is to be switched according to the switching instruction;
detecting an association relationship between a monitoring component in the graphical interface and a current monitoring variable in the current equipment model based on the current equipment model currently associated with the graphical interface; a kind of electronic device with high-pressure air-conditioning system
According to the corresponding relation of the monitoring variable between the current equipment model and the target equipment model, switching the current monitoring variable associated with the monitoring component into the target monitoring variable in the target equipment model, so that the monitoring component displays the data transmitted by the target monitoring variable or receives the data transmitted to the target monitoring variable; the step of switching the current monitoring variable associated with the monitoring component to the target monitoring variable in the target equipment model comprises the following steps:
detecting a current variable identifier of a current monitoring variable associated with the monitoring component;
searching a target monitoring variable with the same variable identifier as the current variable identifier in the target equipment model, and switching the monitoring variable associated with the monitoring component into the searched target monitoring variable;
if the target monitoring variable with the variable identifier identical to the current variable identifier is not found in the target equipment model, the method further comprises:
controlling the monitoring component to continuously correlate the current monitoring variable; and/or
And generating an alarm of failure in variable searching so as to remind monitoring personnel of the graphical interface to process.
2. The method of claim 1, wherein the association between the monitoring component and the current monitored variable is detected by:
detecting variable types of the variables in the variables associated with the monitoring component, wherein the variable types represent whether the variables belong to the variables included by the equipment model or not;
if the variable belongs to the variable included in the equipment model, detecting whether the model name of the equipment model to which the variable belongs is the same as the model name of the current equipment model, if so, determining that the variable is the current monitoring variable in the current equipment model and is associated with the monitoring component.
3. A display system, the system comprising:
the instruction receiving module is used for receiving a switching instruction and determining a target equipment model to which the equipment model associated with the graphical interface is to be switched according to the switching instruction;
the detection module is used for detecting the association relation between the monitoring component in the graphical interface and the current monitoring variable in the current equipment model based on the current equipment model currently associated with the graphical interface;
the switching module is used for switching the current monitoring variable associated with the monitoring component into the target monitoring variable in the target equipment model according to the corresponding relation of the monitoring variable between the current equipment model and the target equipment model, so that the monitoring component displays the data transmitted by the target monitoring variable or receives the data transmitted to the target monitoring variable;
the switching module is specifically configured to:
detecting a current variable identifier of a current monitoring variable associated with the monitoring component;
searching a target monitoring variable with the same variable identifier as the current variable identifier in the target equipment model, and switching the monitoring variable associated with the monitoring component into the searched target monitoring variable; and
if the target monitoring variable with the variable identification identical to the current variable identification is not found in the target equipment model, controlling the monitoring component to continuously correlate with the current monitoring variable; and/or generating an alarm of failure in variable lookup to remind a monitoring person of the graphical interface to process.
4. A computer readable storage medium for storing a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 2.
5. An electronic device 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 2.
CN202211318734.5A 2022-10-26 2022-10-26 Component association method, display method, system and device of graphical interface Active CN115562788B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211318734.5A CN115562788B (en) 2022-10-26 2022-10-26 Component association method, display method, system and device of graphical interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211318734.5A CN115562788B (en) 2022-10-26 2022-10-26 Component association method, display method, system and device of graphical interface

Publications (2)

Publication Number Publication Date
CN115562788A CN115562788A (en) 2023-01-03
CN115562788B true CN115562788B (en) 2023-07-28

Family

ID=84768660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211318734.5A Active CN115562788B (en) 2022-10-26 2022-10-26 Component association method, display method, system and device of graphical interface

Country Status (1)

Country Link
CN (1) CN115562788B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062152A (en) * 2018-07-26 2018-12-21 中国核动力研究设计院 A kind of Loacl variable on-line monitoring method that logic-based configuration generates

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5245938B2 (en) * 2009-03-12 2013-07-24 オムロン株式会社 3D recognition result display method and 3D visual sensor
CN103150198B (en) * 2013-02-22 2016-05-11 三一重工股份有限公司 A kind of display methods of configuration software
US9317538B1 (en) * 2013-09-10 2016-04-19 Ca, Inc. Methods for generating data sets using catalog entries
CN106406910B (en) * 2016-10-24 2018-06-22 北京亚控科技发展有限公司 Configuration method and device
CN108153214A (en) * 2017-12-27 2018-06-12 海南立昇净水科技实业有限公司 Apparatus monitoring method, equipment monitoring apparatus and computer equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062152A (en) * 2018-07-26 2018-12-21 中国核动力研究设计院 A kind of Loacl variable on-line monitoring method that logic-based configuration generates

Also Published As

Publication number Publication date
CN115562788A (en) 2023-01-03

Similar Documents

Publication Publication Date Title
CN110209639B (en) Information processing method, device and system
CN104808504A (en) Smart home background monitoring and management system
CN102662369A (en) System integration comprehensive management control system
CN113037545A (en) Network simulation method, device, equipment and storage medium
CN111800454A (en) Visual data display system and visual page screen projection method
CN111158806B (en) Interface display method, device, computer equipment and storage medium
CN116089228A (en) Equipment state information processing method, device, equipment and storage medium
US20220239523A1 (en) Universal virtual remote control for smart devices
CN108471442A (en) A kind of seismic network operation management system based on wechat platform
CN109977260B (en) Video acquisition method, device, system, electronic equipment and storage medium
CN115562788B (en) Component association method, display method, system and device of graphical interface
CN115657625B (en) Monitoring method, program product, system, device and readable storage medium
KR100334651B1 (en) Network based remote control system and method of refrigerator
CN115499327A (en) Method, apparatus, medium, and program product for three-dimensional visualization data center management
CN115629683B (en) Variable management method, program product, system, device and storage medium
US11729266B2 (en) Method and device for preventing data misdeletion, storage medium, and product
CN109634943B (en) Air conditioner data transmission method and device for screening data and computer equipment
CN109684525B (en) Document display method and device, storage medium and test equipment
CN106528121A (en) Data collection system applied to software development platform
CN112667868A (en) Data detection method and device
JP7246215B2 (en) Plant monitoring server, plant monitoring system, plant monitoring method and plant monitoring program
CN117812277B (en) Equipment monitoring method, device, electronic equipment and computer readable storage medium
CN110824993A (en) Equipment display control method and controller
JPH08129474A (en) Screen display device
JP2017120472A (en) Plant monitoring control system

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