技术领域technical field
本发明属于电力系统实时监控图形界面技术领域,具体涉及一种用于电力实时监控系统的图形界面控制方法。The invention belongs to the technical field of real-time monitoring graphical interfaces of electric power systems, and in particular relates to a graphical interface control method for real-time monitoring systems of electric power.
背景技术Background technique
在电力实时监控系统中,图形用户界面子系统承担着人机交互枢纽的职责。通过图形界面,运行人员可以监视现场设备的实时量测量和开关量,把握系统的运行工况,对现场设备进行控制和调节,还可以查询历史数据以了解特定条件下的系统发展趋势进而辅助分析和决策。这就要求在实时监控图形界面上采用合适形式展示和操作多种来源的不同性质的系统业务数据,将界面上的图形和业务数据对应起来的过程即为图形和业务数据关联。In the power real-time monitoring system, the graphical user interface subsystem assumes the responsibility of the human-computer interaction hub. Through the graphical interface, the operator can monitor the real-time measurement and switching of field equipment, grasp the operating conditions of the system, control and adjust the field equipment, and can also query historical data to understand the system development trend under specific conditions and assist in analysis and decision making. This requires that system business data of different natures from multiple sources be displayed and operated in an appropriate form on the real-time monitoring graphical interface. The process of matching the graphics on the interface with business data is the association between graphics and business data.
业务数据的来源是多样的,有实时数据库、关系型数据库、数据文件或者其他应用系统等,不同数据来源中的业务数据的访问方式和数据格式存在着很大差异。业务数据的性质是各异的,有实时量测量、实时开关量、控制量、历史序列数据之分,不同性质的业务数据有不同的数据属性和不同的动作行为,不同的数据属性又有各自的数据类型和表示形式,因此不同业务性质数据的界面展示和互操作的方式应有所区别。There are various sources of business data, such as real-time databases, relational databases, data files, or other application systems. The access methods and data formats of business data in different data sources are very different. The nature of business data is different, including real-time measurement, real-time switching, control, and historical sequence data. Business data of different natures have different data attributes and different action behaviors, and different data attributes have their own Therefore, the interface display and interoperability methods of different business nature data should be different.
图形界面上会产生界面操作事件,业务数据源或业务数据实例也会产生业务事件,把事件的发送者和接收者关联起来,事件发生时能够根据需要响应处理这些事件,这就构成了系统的动态运行机制的有机组成部分。Interface operation events will be generated on the graphical interface, and business data sources or business data instances will also generate business events. The sender and receiver of the event are associated, and when an event occurs, it can respond and process these events as needed, which constitutes the system. An integral part of the dynamic operating mechanism.
因此,由于业务数据源及数据的巨大差异,经常会出现图形对象和业务数据关联实现起来较为复杂,导致效率低下,无法快速灵活地构建电力实时监控界面的问题。Therefore, due to the huge differences in business data sources and data, it often occurs that the association between graphic objects and business data is complicated to implement, resulting in low efficiency and the inability to quickly and flexibly build a real-time power monitoring interface.
发明内容Contents of the invention
本发明的目的是提供一种用于电力实时监控系统的图形界面控制方法,以解决业务数据源及数据的巨大差异导致的实现图形业务数据关联的复杂性和低效率,无法快速灵活地构建电力实时监控界面的问题。The purpose of the present invention is to provide a graphical interface control method for a power real-time monitoring system to solve the complexity and low efficiency of realizing graphical business data association caused by huge differences in business data sources and data, and it is impossible to quickly and flexibly build power Problems with the real-time monitoring interface.
为了实现以上目的,本发明所采用的技术方案是:一种用于电力实时监控系统的图形界面控制方法,包括如下步骤:In order to achieve the above object, the technical solution adopted in the present invention is: a graphical interface control method for a power real-time monitoring system, comprising the following steps:
(1)根据业务数据源和不同类别业务数据的特点,将其属性、方法和事件信息封装成业务数据适配器模块;(1) According to the characteristics of business data sources and different types of business data, encapsulate its attributes, methods and event information into a business data adapter module;
(2)根据界面上每种图形的特点,将其属性、方法和事件信息封装成图形对象访问代理;(2) According to the characteristics of each graphic on the interface, its attributes, methods and event information are encapsulated into a graphic object access proxy;
(3)将图形对象访问代理和业务数据适配器模块按照属性、方法和事件关联起来,建立图形对象和业务数据之间的对应关系;(3) Associating the graphical object access agent with the business data adapter module according to the attributes, methods and events, and establishing the corresponding relationship between the graphical object and the business data;
(4)根据图形对象和业务数据之间的关联关系,使图形对象和业务数据之间互相访问属性、调用方法、传递和接收事件通知,完成实时监控图形界面上的数据展示和互操作。(4) According to the relationship between graphic objects and business data, the graphic objects and business data can access attributes, call methods, transmit and receive event notifications, and complete the real-time monitoring of data display and interoperability on the graphical interface.
所述步骤(1)中的业务数据源种类包括关系型数据库、实时数据库、内存数据、数据文件;业务数据类别,根据业务含义可分为量测量、开关量、控制量,根据时效性可分为实时数据和历史数据。The types of business data sources in the step (1) include relational databases, real-time databases, memory data, and data files; business data categories can be divided into quantity measurement, switch quantity, and control quantity according to business meanings, and can be divided according to timeliness For real-time data and historical data.
所述业务数据源和业务数据的属性、方法和事件信息是根据具体系统的应用需求选取确定的,业务数据源的属性信息包含数据源名称、访问方式,业务数据的属性信息与其数据类别相关,量测量的属性包括点号、当前值、采集值、时标、品质值,开关量的属性包括点号、当前状态值、时标、闭锁标志,控制量的属性包括点号、关联量测量、闭锁标志;方法是指业务数据源和业务数据对外提供的动作行为,包括数据源的连通、断开,业务数据上的业务处理;事件则是业务数据源和业务数据内部状态改变时的对外通知。The attribute, method and event information of the business data source and business data are selected and determined according to the application requirements of the specific system. The attribute information of the business data source includes the name of the data source and the access method, and the attribute information of the business data is related to its data category. The attributes of quantity measurement include point number, current value, collection value, time scale, and quality value; Blocking flag; method refers to the action behavior provided by the business data source and business data externally, including the connection and disconnection of the data source, and the business processing on the business data; the event is the external notification when the business data source and the internal state of the business data change .
所述步骤(2)中的界面图形种类包括直线、折线、弧线、矩形、圆形、扇形、多边形、文字、图片的基本形状以及由基本图形组合而成的复合形状。The types of interface graphics in the step (2) include the basic shapes of straight lines, broken lines, arcs, rectangles, circles, fan shapes, polygons, texts, pictures, and composite shapes composed of basic graphics.
所述界面图形的属性、方法和事件信息与图形种类相关,图形对象的属性信息包括位置、尺寸、颜色、可见性;方法信息是对其属性的修改,包括移动、放大、缩小、闪烁、显隐;事件信息是由鼠标、键盘的界面操作和系统事件触发的图形对象状态变更通知。The attribute, method and event information of the interface graphics are related to the type of graphics, the attribute information of the graphic object includes position, size, color, visibility; the method information is the modification of its attribute, including moving, zooming in, shrinking, flashing, display Implicit; the event information is the state change notification of the graphic object triggered by the mouse, keyboard interface operation and system event.
图形对象和业务数据之间的关联关系是根据应用场景的实际需要而定义的灵活的、多重的、双向的对应关系;一个图形对象与一项或多项业务数据存在关联关系,一项业务数据与一个或多个图形对象存在关联关系。The relationship between graphic objects and business data is a flexible, multiple, two-way correspondence defined according to the actual needs of the application scenario; a graphic object has an associated relationship with one or more business data, and a business data There is an associated relationship with one or more graphics objects.
图形对象访问代理用于对图形对象的属性、方法和事件信息进行访问控制,并屏蔽图形对象的内部实现细节,每一个图形对象都有且仅有一个访问代理。The graphic object access proxy is used to control the access to the properties, methods and event information of the graphic object, and shield the internal implementation details of the graphic object. Each graphic object has and only one access proxy.
实时监控图形界面上数据展示的一次刷新过程为:遍历界面上的全部图形对象,根据每个图形对象的图形业务数据关联配置信息,由图形对象访问代理从与此图形相关联的业务数据适配器模块中获取相应的业务数据属性信息,然后再由图形对象访问代理将该业务数据属性信息更新至图形对象的对应属性上,完成业务数据的一次界面展示。A refresh process of data display on the real-time monitoring graphical interface is as follows: traversing all graphical objects on the interface, according to the configuration information associated with the graphical business data of each graphical object, the graphical object access agent accesses the data from the business data adapter module associated with this graphic Obtain the corresponding business data attribute information, and then update the business data attribute information to the corresponding attribute of the graphic object by the graphic object access agent to complete an interface display of the business data.
实时监控图形界面上互操作的一次处理过程为:通过键盘或鼠标操作引起界面上对应图形对象发生状态变更,该图形对象产生事件通知,然后事件传递至其对应的访问代理,由图形对象访问代理调用指定的事件处理动作,执行相关业务功能,完成对事件的响应。A process of real-time monitoring of interoperability on the graphical interface is as follows: through keyboard or mouse operations, the state of the corresponding graphical object on the interface changes, the graphical object generates an event notification, and then the event is passed to its corresponding access agent, and the graphical object access agent Invoke the specified event processing action, execute related business functions, and complete the response to the event.
业务数据事件的一次处理过程为:业务数据内部状态变更产生了业务事件,该事件通知被传递至业务数据适配器模块,由适配器调用预先定义的事件响应动作,完成一次事件驱动的业务数据变更处理。One-time processing of business data events is as follows: a business event is generated by a change in the internal state of business data, and the event notification is passed to the business data adapter module, and the adapter invokes a predefined event response action to complete an event-driven business data change process.
本发明用于电力实时监控系统的图形界面控制方法将差异巨大的业务数据源及业务数据,通过业务数据适配器以一致的方式进行了封装,屏蔽了其访问方式和数据格式等内部细节,方便了界面图形对象对业务数据的访问。同样地,图形对象访问代理也以一致的方式封装了图形对象的属性、方法和事件信息。这种一致性以及伴随而来的直观性,使得图形对象和业务数据之间可以按照具体的业务应用需求进行灵活地关联,实现实时监控界面系统的数据展示和操作交互功能,解决了在监控界面中进行图形对象和业务数据的关联时所要面对的复杂局面问题。The graphical interface control method used in the power real-time monitoring system of the present invention encapsulates the business data sources and business data with huge differences in a consistent manner through the business data adapter, and shields its internal details such as access methods and data formats, which is convenient. The access of interface graphic objects to business data. Similarly, the graphics object access proxy also encapsulates the properties, methods and event information of the graphics object in a consistent manner. This consistency and the accompanying intuition make it possible to flexibly associate graphic objects and business data according to specific business application requirements, realize the data display and operation interaction functions of the real-time monitoring interface system, and solve the problems in the monitoring interface. The complex situation problems to be faced when the graphic objects and business data are associated in the database.
图形对象和业务数据封装的一致性,也使得两者的关联形式保持了逻辑上的相对稳定性,同时一方结构组织或者内部实现的调整不会影响到另一方,有效避免了硬编码方式可能引发的代码级的频繁修改。业务数据适配器采用模块化设计,可以随时根据实际需要进行扩充,使图形对象可以展示和操作更多类别的业务数据,便于扩展实时监控界面的功能;业务数据适配器模块可以根据应用场景的实际情况按需部署使用,从而节约有限的计算机系统资源;业务数据适配器模块可以直接或稍加修改后在新的应用中复用,减轻了系统开发和测试的工作量,有助于快速构建稳定性强的实时监控界面系统。The consistency of graphic objects and business data encapsulation also makes the relationship between the two maintain a relatively stable logic. At the same time, the adjustment of the structure organization or internal implementation of one party will not affect the other party, effectively avoiding the hard-coded way that may cause problems. Frequent modifications at the code level. The business data adapter adopts a modular design, which can be expanded at any time according to actual needs, so that graphic objects can display and operate more types of business data, which is convenient for expanding the functions of the real-time monitoring interface; the business data adapter module can be customized according to the actual situation of the application scene. It needs to be deployed and used, thereby saving limited computer system resources; the business data adapter module can be reused in new applications directly or after slight modification, which reduces the workload of system development and testing, and helps to quickly build a stable Real-time monitoring interface system.
附图说明Description of drawings
图1是图形对象与业务数据关联方式示意图;Fig. 1 is a schematic diagram of the way of associating graphic objects with business data;
图2是界面图形对象的业务数据刷新流程图;Fig. 2 is a flow chart of refreshing business data of interface graphic objects;
图3是界面图形对象的动态交互流程图。Fig. 3 is a flow chart of dynamic interaction of interface graphic objects.
具体实施方式Detailed ways
下面结合附图及具体的实施例对本发明进行进一步介绍。The present invention will be further introduced below in conjunction with the accompanying drawings and specific embodiments.
如图1所示为本发明图形对象与业务数据关联方式示意图,包含业务数据适配器模块、图形对象访问代理和图形业务数据关联模块。业务数据适配器模块对业务数据源及业务数据进行封装,提供了属性、方法和事件形式的业务数据访问方式。图形对象访问代理封装了界面上的图形对象,提供了对其属性、方法和事件信息的访问。图形业务数据关联模块的作用是建立图形对象访问代理和业务数据适配器之间的关联关系,从而实现实时监控界面的数据展示和业务操作功能。编辑图形时创建或者修改图形对象和业务数据的关联关系,浏览监控界面时根据这种关联关系建立数据刷新和互操作的动态信息流动通道,满足具体的实时监控需求。As shown in Fig. 1, it is a schematic diagram of the method of associating graphic objects and business data in the present invention, including a business data adapter module, a graphic object access agent and a graphic business data associating module. The business data adapter module encapsulates business data sources and business data, and provides business data access methods in the form of attributes, methods and events. The graphic object access agent encapsulates the graphic object on the interface, and provides access to its properties, methods and event information. The function of the graphical business data association module is to establish the association relationship between the graphical object access agent and the business data adapter, so as to realize the data display and business operation functions of the real-time monitoring interface. Create or modify the relationship between graphic objects and business data when editing graphics, and establish a dynamic information flow channel for data refresh and interoperability based on this relationship when browsing the monitoring interface to meet specific real-time monitoring needs.
本发明电力实时监控界面的图形业务数据关联系统中至少需设置一台普通PC主机,源程序存在于PC机中,软件的编译也是在PC机中进行,编译后的目标程序可以在PC中运行,也可以放到多台PC中运行。At least one ordinary PC mainframe needs to be installed in the graphic business data association system of the power real-time monitoring interface of the present invention, the source program exists in the PC, and the software compilation is also carried out in the PC, and the compiled target program can be run in the PC , and can also be put into multiple PCs to run.
本发明提供了一种用于电力实时监控系统的图形界面控制方法,包括如下步骤:The invention provides a graphical interface control method for a power real-time monitoring system, comprising the following steps:
(1)编写业务数据适配器模块:根据具体业务应用的需求,即业务数据源和不同类别业务数据的特点,将其属性、方法和事件信息封装成业务数据适配器模块,如把实时数据库封装成实时数据适配器模块,其中的实时量测量数据封装成量测业务对象。(1) Writing a business data adapter module: According to the requirements of specific business applications, that is, the characteristics of business data sources and different types of business data, encapsulate its attributes, methods and event information into a business data adapter module, such as encapsulating a real-time database into a real-time The data adapter module, in which the real-time measurement data is encapsulated into a measurement business object.
业务数据源种类有:关系型数据库、实时数据库、内存数据、数据文件、其它应用系统等;所述的业务数据类别,根据业务含义可分为量测量、开关量、控制量等,根据时效性可分为实时数据和历史数据。The types of business data sources include: relational database, real-time database, memory data, data files, other application systems, etc.; the business data category can be divided into quantity measurement, switch quantity, control quantity, etc. according to the business meaning; according to the timeliness It can be divided into real-time data and historical data.
业务数据源和业务数据都具有属性、方法和事件信息,是根据具体系统的应用需求选取确定的。业务数据源的属性信息包含数据源名称、访问方式等;业务数据的属性信息更多的则是与其数据类别相关,如量测量具有点号、当前值、采集值、时标、品质值等属性,开关量具有点号、当前状态值、时标、闭锁标志等属性,控制量具有点号、关联量测量、闭锁标志等属性;方法是指业务数据源和业务数据对外提供的动作行为,如数据源的连通、断开,业务数据上的业务处理;事件则是业务数据源和业务数据内部状态改变时的对外通知。Both business data sources and business data have attributes, methods and event information, which are selected and determined according to the application requirements of the specific system. The attribute information of the business data source includes the data source name, access method, etc.; the attribute information of the business data is more related to its data category, such as the quantity measurement has attributes such as point number, current value, collection value, time scale, and quality value , the switching quantity has attributes such as point number, current state value, time scale, and blocking flag, and the control variable has attributes such as point number, associated measurement, and blocking flag; the method refers to the action behavior provided by the business data source and business data, such as the data source Connection and disconnection of business data, business processing on business data; events are external notifications when business data sources and internal states of business data change.
业务数据适配器模块的作用是对界面系统屏蔽不同业务数据源及业务数据的差异,使前者可以采用统一的方式访问业务数据。它是从实际业务需求出发,在对具体的业务数据源和业务数据进行分析归纳的基础上而实现的。The function of the business data adapter module is to shield the difference between different business data sources and business data from the interface system, so that the former can access business data in a unified way. It starts from actual business needs and is realized on the basis of analyzing and summarizing specific business data sources and business data.
(2)编写界面上每类图形的访问代理:根据界面上每种图形的特点,将其属性、方法和事件信息封装成图形对象访问代理,图形对象访问代理主要与图形对象的种类相关,不会频繁变动。(2) Write the access agent for each type of graphics on the interface: according to the characteristics of each type of graphics on the interface, encapsulate its attributes, methods and event information into a graphic object access proxy. The graphic object access proxy is mainly related to the type of graphic object. Will change frequently.
界面图形种类有直线、折线、弧线、矩形、圆形、扇形、多边形、文字、图片等基本形状,以及由基本图形组合而成的复合形状。The types of interface graphics include basic shapes such as straight lines, polylines, arcs, rectangles, circles, sectors, polygons, text, and pictures, as well as compound shapes composed of basic graphics.
每种界面图形都有属性、方法和事件信息,这些信息由于主要与图形种类相关而保持了相对稳定。图形对象的属性信息包括位置、尺寸、颜色、可见性等;方法信息则主要是对其属性的修改,如移动、放大、缩小、闪烁、显隐;事件信息是由鼠标、键盘等界面操作(包括鼠标点击、鼠标双击、鼠标右键点击、获取焦点等通知)和定时器等系统事件触发的图形对象状态变更通知。Each interface graphic has attribute, method and event information, which remains relatively stable because it is mainly related to the graphic type. The attribute information of the graphics object includes position, size, color, visibility, etc.; the method information mainly refers to the modification of its attributes, such as moving, zooming in, zooming out, flashing, showing and hiding; the event information is operated by the mouse, keyboard and other interfaces ( Including mouse clicks, mouse double clicks, mouse right clicks, focus acquisition notifications, etc.) and graphical object state change notifications triggered by system events such as timers.
图形对象访问代理可以对图形对象的属性、方法和事件信息进行访问控制,还可以屏蔽图形对象的内部实现细节。每一个图形对象都有且仅有一个访问代理。The graphic object access agent can control the access to the properties, methods and event information of the graphic object, and can also shield the internal implementation details of the graphic object. Each graphics object has one and only one access proxy.
(3)将图形对象访问代理和业务数据适配器模块按照属性、方法和事件关联起来,建立图形对象和业务数据之间的对应关系。(3) Associating the graphic object access agent with the business data adapter module according to attributes, methods and events, and establishing the corresponding relationship between the graphic objects and business data.
根据具体业务应用功能的数据展示和互操作需求,绘制实时监控界面时,首先启动实时界面编辑工具,加载图形对象模板、所需的业务数据适配器模块和图形业务数据关联模块。在编辑工具中新建图形界面数据文件,使用图形模板绘制图形对象,通过图形业务数据关联模块把图形对象代理和业务数据适配器关联起来。According to the data display and interoperability requirements of specific business application functions, when drawing the real-time monitoring interface, first start the real-time interface editing tool, load the graphic object template, the required business data adapter module and the graphic business data association module. Create a graphical interface data file in the editing tool, use the graphical template to draw the graphical object, and associate the graphical object agent with the business data adapter through the graphical business data association module.
图形对象模板中包含了图形对象本体及其访问代理信息,绘图就是主要通过实例化各种图形模板实现的。界面上的图形对象本体信息会被保存到界面数据文件中。The graphic object template contains the graphic object ontology and its access agent information, and the drawing is mainly realized by instantiating various graphic templates. The graphic object ontology information on the interface will be saved to the interface data file.
图形业务数据关联模块的作用是在图形对象和业务数据的属性、方法和事件信息之间建立对应关系,这种对应具体表现为图形对象代理和业务数据适配器之间的关联关系。图形业务数据的关联关系信息,包括其中所涉及到的业务数据适配器模块的名称与配置等信息,会被保存到界面数据文件的相关图形对象中。The function of the graphic business data association module is to establish a corresponding relationship between the graphic object and the attribute, method and event information of the business data. This correspondence is embodied as the relationship between the graphic object proxy and the business data adapter. The association relationship information of the graphic business data, including the name and configuration of the business data adapter module involved therein, will be saved in the related graphic objects of the interface data file.
如图1所示,建立图形对象和业务数据的属性、方法和事件信息之间的特定对应关系,保存到图形对象信息中;修改已有的界面文件时,可以通过图形业务数据关联模块修改或者删除图形对象和业务数据之间的关联关系;在界面文件中删除某一图形对象时,其上的图形业务数据关联信息也会被同步删除。保存界面数据文件时,图形对象信息、业务数据适配器信息及图形对象与业务数据之间的关联信息会被保存到该文件中。As shown in Figure 1, establish the specific corresponding relationship between the attributes, methods and event information of the graphic object and business data, and save it in the graphic object information; when modifying the existing interface file, you can modify it through the graphic business data association module or Delete the association relationship between graphic objects and business data; when a graphic object is deleted in the interface file, the graphic business data association information on it will also be deleted synchronously. When saving the interface data file, the graphic object information, business data adapter information and the association information between the graphic object and business data will be saved in the file.
(4)根据图形对象和业务数据之间的关联关系,使图形对象和业务数据之间互相访问属性、调用方法、传递和接收事件通知,完成实时监控图形界面上的数据展示和互操作功能。(4) According to the relationship between graphic objects and business data, the graphic objects and business data can access attributes, call methods, transmit and receive event notifications, and complete the data display and interoperability functions on the real-time monitoring graphic interface.
使用图形界面系统进行实时监控时,启动实时监控界面程序,打开界面数据文件,创建其中定义的图形对象及其访问代理,在界面上根据图形对象的位置、尺寸、颜色等属性信息对其进行渲染;根据图形业务数据关联信息建立图形对象和业务数据之间的关联关系,加载其中引用的业务数据适配器模块,完成实时监控图形界面上的数据展示和互操作功能。When using the graphical interface system for real-time monitoring, start the real-time monitoring interface program, open the interface data file, create the graphic object and its access proxy defined in it, and render the graphic object on the interface according to its attribute information such as position, size, and color ; Establish the relationship between the graphic object and the business data according to the graphic business data association information, load the business data adapter module referenced therein, and complete the data display and interoperability functions on the real-time monitoring graphic interface.
图形对象和业务数据之间的关联关系是根据应用场景的实际需要而定义的灵活的、多重的、双向的对应关系。一个图形对象可以与一项或多项业务数据建立关联,反之亦然。图形对象的属性刷新和方法调用中可以访问业务数据的属性,图形对象的事件响应中也可以读取或者修改业务数据的属性、调用业务数据的方法来执行业务功能;同样地,业务数据的属性更新和方法调用中可以访问图形对象的属性,业务数据的事件处理中也可以操作图形对象的属性、调用图形对象的方法。The association relationship between graphic objects and business data is a flexible, multiple, two-way correspondence defined according to the actual needs of the application scenario. A graphic object can be associated with one or more business data, and vice versa. The attributes of business data can be accessed in the attribute refresh and method call of the graphic object, and the attribute of the business data can also be read or modified in the event response of the graphic object, and the method of calling the business data can be used to execute the business function; similarly, the attribute of the business data The properties of the graphic object can be accessed during updating and method calling, and the properties of the graphic object can also be manipulated and methods of the graphic object can be called during the event processing of business data.
电力系统的断路器设备有分合状态取值与控分、控合操作,在业务数据适配器模块中将两者分别封装成开关量和控制量业务对象;在实时监控界面上一般用矩形来表示断路器,该矩形对象可以和与此断路器相对应的开关量及控制量分别建立关联关系;该矩形的颜色属性对应开关量的当前状态值属性,红色表明断路器处于闭合状态,绿色表明断路器处于断开状态;根据断路器的当前状态,在矩形上可以通过鼠标双击调用控制量的控合、控分方法对其进行操作,使断路器设备在断开与闭合之间切换状态。The circuit breaker equipment in the power system has the value of the opening and closing state and the operation of controlling opening and closing. In the business data adapter module, the two are respectively packaged into the switching value and the control value business object; on the real-time monitoring interface, it is generally represented by a rectangle Circuit breaker, this rectangular object can establish an association relationship with the switching value and control value corresponding to the circuit breaker; the color attribute of the rectangle corresponds to the current state value attribute of the switching value, red indicates that the circuit breaker is in the closed state, and green indicates that the circuit is open According to the current state of the circuit breaker, double-clicking on the rectangle can call the control method of controlling the closing and opening of the control to operate it, so that the circuit breaker can switch between open and closed.
同一项业务数据可能需要在不同的界面上进行相同或者不同形式的展示,比如某一电压量测量可能需要在主接线图、间隔分图、运行指标图中以文本的形式展示其当前取值;而某一分支开关量,在接线图上需要使用彩色圆形来表示其当前状态值,在信号图上使用矩形光字牌来表示其当前状态值。The same business data may need to be displayed in the same or different forms on different interfaces. For example, a certain voltage measurement may need to display its current value in the form of text in the main wiring diagram, interval sub-diagram, and operation index diagram; As for the switching value of a certain branch, it is necessary to use a colored circle to represent its current state value on the wiring diagram, and to use a rectangular light plate on the signal diagram to represent its current state value.
界面数据文件的初始化过程为:实时监控界面程序首先创建文件中定义的图形对象,每个图形对象再创建各自的访问代理;接着程序遍历处理文件中每个图形对象的图形业务数据关联信息,根据每项关联信息中的业务数据信息,加载对应的业务数据适配器,并根据其中的图形对象和业务数据对应关系,建立图形对象访问代理和业务数据适配器之间的相互引用关联。The initialization process of the interface data file is as follows: the real-time monitoring interface program first creates the graphic objects defined in the file, and each graphic object creates its own access agent; then the program traverses and processes the graphic business data association information of each graphic object in the file, according to The business data information in each associated information loads the corresponding business data adapter, and establishes a mutual reference association between the graphic object access agent and the business data adapter according to the corresponding relationship between the graphic object and the business data.
如图2所示,实时监控图形界面上数据展示功能的一次刷新过程为:界面程序遍历界面上的全部图形对象,根据每个图形对象的图形业务数据关联配置信息,由图形对象访问代理从与此图形相关联的业务数据适配器中获取相应的业务数据属性信息,由业务数据适配器执行具体的数据访问操作获取该业务数据属性,然后再由图形对象访问代理将该业务数据属性信息更新至图形对象的对应属性上,重新渲染图形对象,完成业务数据的一次界面展示。As shown in Figure 2, the refresh process of the data display function on the real-time monitoring graphical interface is as follows: the interface program traverses all the graphical objects on the interface, and according to the configuration information associated with the graphical business data of each graphical object, the graphical object access agent accesses the data from the The corresponding business data attribute information is obtained from the business data adapter associated with this graph, and the business data adapter performs specific data access operations to obtain the business data attribute, and then the graphic object access agent updates the business data attribute information to the graphic object Re-render the graphic object on the corresponding attribute, and complete an interface display of business data.
如图3所示,实时监控图形界面上互操作的一次处理过程为:通过键盘或鼠标操作某一界面图形对象时,引起其发生状态变更,该图形对象产生事件通知,然后事件传递至其访问代理,由图形对象访问代理调用指定的事件处理动作,访问业务数据属性,调用业务数据方法,执行相关业务功能,完成对事件的响应。As shown in Figure 3, the first process of interoperability on the real-time monitoring graphical interface is as follows: when a certain interface graphical object is operated by keyboard or mouse, it causes a state change, the graphical object generates an event notification, and then the event is passed to its access Agent, the graphic object access agent invokes the specified event processing action, accesses business data attributes, invokes business data methods, executes related business functions, and completes the response to events.
业务数据事件的一次处理过程为:业务数据内部状态变更产生了业务事件,该事件通知被传递至业务数据适配器,由适配器调用预先定义的事件响应动作,比如修改图形对象的属性、调用图形对象的方法,完成一次事件驱动的业务数据变更处理。One-time processing of business data events is as follows: a business event is generated when the internal state of business data changes, and the event notification is passed to the business data adapter, and the adapter invokes a predefined event response action, such as modifying the properties of the graphic object, calling the method to complete an event-driven business data change processing.
以上实施例仅用于帮助理解本发明的核心思想,不能以此限制本发明,对于本领域的技术人员,凡是依据本发明的思想,对本发明进行修改或者等同替换,在具体实施方式及应用范围上所做的任何改动,均应包含在本发明的保护范围之内。The above embodiments are only used to help understand the core idea of the present invention, and cannot limit the present invention with this. For those skilled in the art, any modification or equivalent replacement of the present invention based on the idea of the present invention, in the specific implementation mode and application scope Any changes made above should be included within the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510181382.7ACN104765843B (en) | 2015-04-16 | 2015-04-16 | A kind of Graphic Interface Control method for electric power real-time monitoring system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510181382.7ACN104765843B (en) | 2015-04-16 | 2015-04-16 | A kind of Graphic Interface Control method for electric power real-time monitoring system |
| Publication Number | Publication Date |
|---|---|
| CN104765843A CN104765843A (en) | 2015-07-08 |
| CN104765843Btrue CN104765843B (en) | 2018-11-09 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510181382.7AActiveCN104765843B (en) | 2015-04-16 | 2015-04-16 | A kind of Graphic Interface Control method for electric power real-time monitoring system |
| Country | Link |
|---|---|
| CN (1) | CN104765843B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105242922A (en)* | 2015-09-25 | 2016-01-13 | 卡斯柯信号有限公司 | Property tag based data display method |
| CN106095471A (en)* | 2016-08-22 | 2016-11-09 | 国家电网公司 | The graphic configuration method and system of on-line monitoring |
| WO2018076946A1 (en)* | 2016-10-24 | 2018-05-03 | 北京亚控科技发展有限公司 | Method and system for displaying physical object based on configuration, and computer program and storage medium |
| CN107577709B (en)* | 2017-07-31 | 2020-08-25 | 国网安徽省电力公司信息通信分公司 | A Graphical Management Method of Information System Resource Model |
| CN109857448A (en)* | 2018-12-30 | 2019-06-07 | 贝壳技术有限公司 | A kind of multi-data source cut-in method and device |
| CN111724499B (en)* | 2020-05-14 | 2022-09-20 | 中国铁道科学研究院集团有限公司电子计算技术研究所 | Method and device for rapidly displaying monitoring information of urban rail transit equipment in batches |
| CN112612989A (en)* | 2020-12-30 | 2021-04-06 | 深圳我家云网络科技有限公司 | Data display method and device, computer equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1728133A (en)* | 2004-07-27 | 2006-02-01 | 武征 | Object oriented information server, preparation method and browser |
| CN101923549A (en)* | 2009-07-29 | 2010-12-22 | 北京航天理想科技有限公司 | User-defined visual intelligent track clue analytical system and establishing method |
| CN102509198A (en)* | 2011-12-26 | 2012-06-20 | 余姚市供电局 | Method and system for monitoring low-voltage power grid equipment |
| CN102722375A (en)* | 2012-06-08 | 2012-10-10 | 四川川大智胜软件股份有限公司 | Implementation method for recording and replaying images based on X protocol |
| CN102930403A (en)* | 2012-11-13 | 2013-02-13 | 广东电网公司 | Full network diagram data system based on windows presentation foundation (WPF) technology |
| CN103631847A (en)* | 2012-08-23 | 2014-03-12 | 国际商业机器公司 | Method and system for context-based search for a data store related to a graph node |
| CN103744846A (en)* | 2013-08-13 | 2014-04-23 | 北京航空航天大学 | Multidimensional dynamic local knowledge map and constructing method thereof |
| CN103825956A (en)* | 2014-03-13 | 2014-05-28 | 江苏省电力公司 | Realizing method of remote regulation and control technology based on agency service |
| CN104090769A (en)* | 2014-07-18 | 2014-10-08 | 北京锐安科技有限公司 | Graphic displaying method and device for service data |
| CN104142897A (en)* | 2013-05-06 | 2014-11-12 | 沈阳中科博微自动化技术有限公司 | Visual configuration method for integrated circuit production line monitoring system |
| CN104346174A (en)* | 2014-11-19 | 2015-02-11 | 北京大学 | Method for describing and reproducing on-line vector diagram modeling process |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7249180B2 (en)* | 2000-09-14 | 2007-07-24 | International Business Machines Corporation | Method and system for marketplace social proxies |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1728133A (en)* | 2004-07-27 | 2006-02-01 | 武征 | Object oriented information server, preparation method and browser |
| CN101923549A (en)* | 2009-07-29 | 2010-12-22 | 北京航天理想科技有限公司 | User-defined visual intelligent track clue analytical system and establishing method |
| CN102509198A (en)* | 2011-12-26 | 2012-06-20 | 余姚市供电局 | Method and system for monitoring low-voltage power grid equipment |
| CN102722375A (en)* | 2012-06-08 | 2012-10-10 | 四川川大智胜软件股份有限公司 | Implementation method for recording and replaying images based on X protocol |
| CN103631847A (en)* | 2012-08-23 | 2014-03-12 | 国际商业机器公司 | Method and system for context-based search for a data store related to a graph node |
| CN102930403A (en)* | 2012-11-13 | 2013-02-13 | 广东电网公司 | Full network diagram data system based on windows presentation foundation (WPF) technology |
| CN104142897A (en)* | 2013-05-06 | 2014-11-12 | 沈阳中科博微自动化技术有限公司 | Visual configuration method for integrated circuit production line monitoring system |
| CN103744846A (en)* | 2013-08-13 | 2014-04-23 | 北京航空航天大学 | Multidimensional dynamic local knowledge map and constructing method thereof |
| CN103825956A (en)* | 2014-03-13 | 2014-05-28 | 江苏省电力公司 | Realizing method of remote regulation and control technology based on agency service |
| CN104090769A (en)* | 2014-07-18 | 2014-10-08 | 北京锐安科技有限公司 | Graphic displaying method and device for service data |
| CN104346174A (en)* | 2014-11-19 | 2015-02-11 | 北京大学 | Method for describing and reproducing on-line vector diagram modeling process |
| Publication number | Publication date |
|---|---|
| CN104765843A (en) | 2015-07-08 |
| Publication | Publication Date | Title |
|---|---|---|
| CN104765843B (en) | A kind of Graphic Interface Control method for electric power real-time monitoring system | |
| CN110007917B (en) | Visual page generation and browsing method based on browser | |
| CN107220064B (en) | A kind of digital control system interface configuration development approach | |
| US20050091664A1 (en) | Method and system for associating parameters of containers and contained objects | |
| US20100023140A1 (en) | Field device management apparatus and field device management system | |
| CN101567028A (en) | Modularized hardware elementary diagram automatic generating method | |
| CN102662651A (en) | Generation method and generation modules for visual component | |
| CN104503769B (en) | A kind of character pattern liquid crystal interface implementation method based on XML configuration file | |
| CN105976322A (en) | Power grid comprehensive information monitoring graph generation system and method | |
| CN114398071A (en) | A method and system for realizing control logic configuration of a control system | |
| CN115495069A (en) | Model-driven coal industry software flow implementation method, device and equipment | |
| CN103593188B (en) | System and method for managing what-you-see-is-what-you-get menus of instrument | |
| CN105573769B (en) | Method and device for remote monitoring and visualization configuration of cement production | |
| US12032358B2 (en) | SCADA web HMI system | |
| CN108733441A (en) | A kind of rendering method for visualizing and system suitable for large scale electric network symbolic device | |
| CN115311416A (en) | A method of creating a 3D scene | |
| CN117033420B (en) | Visual display method and device for entity data under same concept of knowledge graph | |
| CN101788977A (en) | Method for implementing editing and modifying of medical examination report | |
| CN104391965A (en) | Method for graphically displaying ICD [IED (intelligent electronic device) capability description] virtual terminals of intelligent substations | |
| CN103809973B (en) | Graphic control interface design system and graphic control interface design operation method thereof | |
| CN116707127A (en) | A visual quick configuration system of man-machine interface for substation digital monitoring system | |
| US9015653B2 (en) | Aeronautical software application development workbench comprising a structured functional description language | |
| CN115981625A (en) | Extensible power system wiring diagram interface modeling method and system | |
| CN113220278A (en) | Page construction method, system, medium and device suitable for multiple scenes | |
| CN112070858A (en) | Method for realizing electronic chart representation library conforming to S-52 specification |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |