CN110069292B - Method for realizing third-party application support of power grid regulation and control system - Google Patents

Method for realizing third-party application support of power grid regulation and control system Download PDF

Info

Publication number
CN110069292B
CN110069292B CN201910233149.7A CN201910233149A CN110069292B CN 110069292 B CN110069292 B CN 110069292B CN 201910233149 A CN201910233149 A CN 201910233149A CN 110069292 B CN110069292 B CN 110069292B
Authority
CN
China
Prior art keywords
party application
plug
human
application plug
computer interface
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
CN201910233149.7A
Other languages
Chinese (zh)
Other versions
CN110069292A (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.)
NARI Group Corp
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
Original Assignee
NARI Group Corp
Nari Technology Co Ltd
NARI Nanjing Control System 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 NARI Group Corp, Nari Technology Co Ltd, NARI Nanjing Control System Co Ltd filed Critical NARI Group Corp
Priority to CN201910233149.7A priority Critical patent/CN110069292B/en
Publication of CN110069292A publication Critical patent/CN110069292A/en
Application granted granted Critical
Publication of CN110069292B publication Critical patent/CN110069292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for realizing third-party application support by a power grid regulation and control system, which comprises the steps of configuring third-party application plug-in loading information and plug-in standard format; acquiring a third-party application plug-in package and storing the third-party application plug-in package in a plug-in library; configuring an access interface interacting with a plug-in library in a human-computer interface frame structure, wherein the plug-in library accesses a data object and a view object in the human-computer interface frame structure through the access interface; configuring a third-party application plug-in number when a human-computer interface is started, and dynamically loading a required third-party application plug-in package according to the current third-party application plug-in number and application plug-in configuration information; after the third-party application plug-in package is loaded into the human-computer interface, an interface corresponding to the third-party application plug-in is called according to the received operation signal, request data are sent to the server side according to the general service protocol format, a data processing result fed back by the server side is received, and corresponding application operation is completed. The third-party application of the invention has the advantages that the separation of the client and the server is carried out, and the flexibility is high.

Description

Method for realizing third-party application support of power grid regulation and control system
Technical Field
The invention belongs to the technical field of electric power automation, and particularly relates to a method for realizing third-party application support by a power grid regulation and control system.
Background
The interaction between the human-computer interface and the application in the national grid intelligent power dispatching technical support system D5000 is mainly realized through a callback mechanism. In the prior art, the hierarchical structure of an application plug-in mode is complex, the coupling degree of a human-computer interface and application is high, and new functions (structures and interfaces) are added, such as specification, development, joint debugging and the like, are determined by two parties, namely when the interfaces change, the human-computer interface and the application need to be recompiled, otherwise, the normal use of the graph and the application is influenced. In addition, the third-party application in the prior art is a thick client side mode, and the lightweight human-computer interaction architecture of the power grid regulation and control system cannot be adapted to.
Disclosure of Invention
Aiming at the problems, the invention provides a method for realizing the third-party application support of a power grid regulation system, which can adapt to a lightweight human-computer interaction architecture mode of the power grid regulation system, reduce the coupling degree between a human-computer interface and an application component, is compatible with the mode of original graphics for supporting the application, keeps the structure of the existing interaction interface unchanged, and simultaneously expands the Callback support capability for the application.
In order to achieve the technical purpose and achieve the technical effects, the invention is realized by the following technical scheme:
a method for realizing third-party application support of a power grid regulation and control system comprises the following steps:
configuring third-party application plug-in loading information and a plug-in standard format;
acquiring a third-party application plug-in package compiled based on the plug-in standard format, and storing the third-party application plug-in package into a plug-in library;
configuring an access interface interacting with a plug-in library in a human-computer interface frame structure, wherein the plug-in library accesses a data object and a view object in the human-computer interface frame structure through the access interface;
configuring a third-party application plug-in number when a human-computer interface is started, and dynamically loading a required third-party application plug-in package according to the current third-party application plug-in number and application plug-in configuration information;
and after the third-party application plug-in package is loaded into a human-computer interface, calling an interface corresponding to the third-party application plug-in according to the received operation signal, sending request data to the server according to a universal service protocol format, receiving a data processing result fed back by the server, and completing corresponding application operation.
Preferably, the third party application plug-in loading information includes an application name and application plug-in package information corresponding to the application name.
Preferably, the third-party application plug-in provides a third-party application menu configuration interface for configuring an equipment menu list, and each menu configuration interface includes a menu name, an icon, and an operation ID to form an operation menu.
Preferably, after the third-party application plug-in is loaded into the human-computer interface, according to the received operation signal, an interface corresponding to the third-party application plug-in is called, according to a universal service protocol format, request data is sent to the server, and a data processing result fed back by the server is received, which specifically includes the following steps:
after the third-party application plug-in is loaded into the human-computer interface, monitoring an operation signal received by the human-computer interface, operating the operation menu, and organizing data to access the server side through the positioning of the universal service protocol.
Preferably, the plug-in specification format includes a common interface for operation and information presentation.
Preferably, the dynamically loading third-party application plug-in specifically includes:
and judging whether the third-party application plug-in package needs to be loaded, is loaded and fails to be loaded according to the configured loading information of the third-party application plug-in, and carrying out corresponding loading operation.
Preferably, the receiving of the data processing result fed back by the server completes the corresponding application operation, specifically:
and after receiving the data processing result fed back by the server, responding to the processing logic by the third-party application plug-in, and displaying through a human-computer interface or an interface of the third-party application plug-in.
Preferably, the processing logic includes sign setting, viewing curves and device information display.
Preferably, the data object is a data list object in a picture displayed by a human-computer interface, and required data information can be taken through the object; the view object is the current environment of a picture opened by a human-computer interface, and the current environment setting can be obtained through the view object; the human-computer interface framework structure defines data objects and view objects, and the human-computer interface is assigned when a third-party application plug-in package is loaded.
Compared with the prior art, the invention has the beneficial effects that:
the invention can adapt to a lightweight human-computer interaction architecture mode of a power grid regulation system, reduces the coupling degree between a human-computer interface and an application component, is compatible with the mode of original graphics for supporting application, keeps the structure of the existing interaction interface unchanged, and expands the Callback supporting capability for the application.
The man-machine interface opens the accessible data object and the view object, can take the data wanted by the man-machine interface through the data object and the view object, does not need to specify a data structure, realizes independent programming of graphs and applications, and has higher degree of freedom.
The invention realizes that the data is uniformly sent to the server according to the general service protocol specification and is analyzed and processed by the server, which is equivalent to the complete separation of the client and the server, and the flexibility is high.
Drawings
FIG. 1 is a schematic diagram of a data processing process of a client according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a data communication process between a client and a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the scope of the invention.
The following detailed description of the principles of the invention is provided in connection with the accompanying drawings.
As shown in fig. 1-2, the present invention provides a method for implementing third-party application support by a power grid regulation and control system, comprising the following steps:
(1) configuring third-party application plug-in loading information and a plug-in standard format;
in a specific embodiment of the present invention, the third-party application plug-in loading information includes an application name and application plug-in package information corresponding to the application name; the third-party application plug-in also provides a third-party application menu configuration interface for configuring an equipment menu list, each menu configuration interface comprises a menu name, an icon and an operation ID to form an operation menu, and in the actual application process, the method specifically comprises the following steps: popping up an equipment menu list by a right key on a graphical object displayed on a man-machine interface, and configuring a menu name, an icon, an operation ID and the like by using the equipment menu list, wherein the operation ID refers to an internal identification number of an application plug-in and can process corresponding operation according to the identification number; the plug-in specification format comprises general interfaces for operation and information display, such as an application operation specification interface and an application UI control specification interface;
(2) acquiring a third-party application plug-in package compiled based on the plug-in standard format, and storing the third-party application plug-in package into a plug-in library;
(3) configuring an access interface interacting with a plug-in library in a human-computer interface frame structure, wherein the plug-in library accesses a data object and a view object in the human-computer interface frame structure through the access interface; the data object is a data list object in a picture displayed by a human-computer interface, and required data information can be taken through the object; the view object is the current environment of a picture opened by a human-computer interface, and the current environment setting can be obtained through the view object; a data object and a view object are defined in the human-computer interface framework structure, and a value is assigned when a third-party application plug-in package is loaded on the human-computer interface;
(4) configuring a third-party application plug-in number when a human-computer interface is started, and dynamically loading a required third-party application plug-in package according to the current third-party application plug-in number and application plug-in configuration information;
in a specific embodiment of the present invention, the third-party application plug-in package required for dynamic loading specifically includes:
according to the configured third-party application plug-in loading information, judging whether a third-party application plug-in package needs to be loaded, is loaded or not, and is not loaded successfully, if the third-party application plug-in package is loaded, entering the next step, and if the third-party application plug-in package is not loaded, loading; loading is normal, the next step is carried out, and if the loading fails, the process returns;
(5) after the third-party application plug-in package is loaded into the human-computer interface, according to a received operation signal, calling an interface corresponding to the third-party application plug-in, according to a universal service protocol format, sending request data to a server, and receiving a data processing result fed back by the server, so as to complete corresponding application operation. After the third-party application plug-in is loaded into the human-computer interface, monitoring an operation signal received by the human-computer interface, operating the operation menu, and organizing data to position and access the server side through a universal service protocol; receiving a data processing result fed back by the server to complete corresponding application operation, specifically: after a data processing result fed back by the server side is received, the third-party application plug-in responds to a processing logic and displays the processing logic through a human-computer interface or an interface of the third-party application plug-in, wherein the processing logic comprises signboard setting, viewing curve and equipment information display;
(6) and (4) if the operation is needed to be continued, returning to the step (4).
As shown in fig. 2, the third-party application plug-in of the present invention follows the principle of lightweight separation of the client and the server, so that the client and the server of the third-party application plug-in are separated, and the client operates and displays to access the third-party service through the man-machine interaction network for data processing. The server side comprises service processing and platform service access, and the implementation steps are as follows:
(1) the human-computer interface provides a model object (namely a data object) and a view object, and a third-party application plug-in monitors human-computer interaction operation;
(2) the third-party application plug-in accesses the server through the man-machine interaction network, feeds back a data processing result to the local terminal (namely the client) after the server performs corresponding operation processing, and finally displays the data through a man-machine interface or an interface of the third-party application plug-in.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (8)

1. A method for realizing the support of a power grid regulation and control system to third-party application is characterized by comprising the following steps:
configuring third-party application plug-in loading information and a plug-in standard format;
acquiring a third-party application plug-in package compiled based on the plug-in standard format, and storing the third-party application plug-in package into a plug-in library;
configuring an access interface interacting with a plug-in library in a human-computer interface frame structure, wherein the plug-in library accesses a data object and a view object in the human-computer interface frame structure through the access interface;
configuring a third-party application plug-in number when a human-computer interface is started, and dynamically loading a required third-party application plug-in package according to the current third-party application plug-in number and application plug-in configuration information;
after the third-party application plug-in package is loaded into a human-computer interface, calling an interface corresponding to the third-party application plug-in according to a received operation signal, sending request data to a server according to a universal service protocol format, receiving a data processing result fed back by the server, and completing corresponding application operation;
the plug-in standard format comprises a general interface for operation and information display;
the data object is a data list object in a picture displayed by a human-computer interface, and required data information can be taken through the object;
the view object is the current environment of the picture opened by the human-computer interface, and the current environment setting can be obtained through the view object.
2. The method for realizing the support of the power grid regulation and control system on the third-party application according to claim 1, wherein the method comprises the following steps: the third-party application plug-in loading information comprises an application name and application plug-in package information corresponding to the application name.
3. The method for realizing the support of the power grid regulation and control system on the third-party application according to claim 2, wherein the method comprises the following steps: the third-party application plug-in provides third-party application menu configuration interfaces for configuring an equipment menu list, and each menu configuration interface comprises a menu name, an icon and an operation ID to form an operation menu.
4. The method for realizing the support of the power grid regulation and control system on the third-party application according to claim 3, wherein the method comprises the following steps: after the third-party application plug-in is loaded into the human-computer interface, according to the received operation signal, calling an interface corresponding to the third-party application plug-in, according to a general service protocol format, sending request data to a server, and receiving a data processing result fed back by the server, specifically comprising the following steps:
after the third-party application plug-in is loaded into the human-computer interface, monitoring an operation signal received by the human-computer interface, operating the operation menu, and organizing data to access the server side through the positioning of the universal service protocol.
5. The method for realizing the support of the power grid regulation and control system on the third-party application according to claim 1, wherein the method comprises the following steps: the dynamic loading of the third-party application plug-in specifically comprises:
and judging whether the third-party application plug-in package needs to be loaded, is loaded and fails to be loaded according to the configured loading information of the third-party application plug-in, and carrying out corresponding loading operation.
6. The method for realizing the support of the power grid regulation and control system on the third-party application according to claim 1, wherein the method comprises the following steps: and receiving a data processing result fed back by the server to complete corresponding application operation, specifically:
and after receiving the data processing result fed back by the server, responding to the processing logic by the third-party application plug-in, and displaying through a human-computer interface or an interface of the third-party application plug-in.
7. The method for realizing the support of the power grid regulation and control system on the third-party application according to claim 6, wherein the method comprises the following steps: the processing logic includes sign setting, viewing curves, and device information display.
8. The method for realizing the support of the power grid regulation and control system on the third-party application according to claim 1, wherein the method comprises the following steps: the human-computer interface framework structure defines data objects and view objects, and the human-computer interface is assigned when a third-party application plug-in package is loaded.
CN201910233149.7A 2019-03-26 2019-03-26 Method for realizing third-party application support of power grid regulation and control system Active CN110069292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910233149.7A CN110069292B (en) 2019-03-26 2019-03-26 Method for realizing third-party application support of power grid regulation and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910233149.7A CN110069292B (en) 2019-03-26 2019-03-26 Method for realizing third-party application support of power grid regulation and control system

Publications (2)

Publication Number Publication Date
CN110069292A CN110069292A (en) 2019-07-30
CN110069292B true CN110069292B (en) 2022-03-29

Family

ID=67366758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910233149.7A Active CN110069292B (en) 2019-03-26 2019-03-26 Method for realizing third-party application support of power grid regulation and control system

Country Status (1)

Country Link
CN (1) CN110069292B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303762A (en) * 2008-06-06 2008-11-12 北京四方继保自动化股份有限公司 Method for managing primitive of automatization system based on dynamically loading and plug-in unit technique
KR20090123587A (en) * 2008-05-28 2009-12-02 주식회사 인프라웨어 Method for ui using widgets
CN102591659A (en) * 2011-12-28 2012-07-18 中标软件有限公司 Implementation method for widget on main interface of mobile terminal and management method for widget
CN102646056A (en) * 2012-03-01 2012-08-22 宁波电业局 Function expansion method and device for grid GIS (geographic information system) platform based applications
CN104216738A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Operation method and operation device of application program
CN106257460A (en) * 2016-08-24 2016-12-28 天津天大求实电力新技术股份有限公司 Data base's general-purpose accessing implementation method for micro-capacitance sensor monitoring system
CN108667851A (en) * 2018-05-22 2018-10-16 国电南瑞科技股份有限公司 A kind of regulator control system lightweight man-machine interactive system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090123587A (en) * 2008-05-28 2009-12-02 주식회사 인프라웨어 Method for ui using widgets
CN101303762A (en) * 2008-06-06 2008-11-12 北京四方继保自动化股份有限公司 Method for managing primitive of automatization system based on dynamically loading and plug-in unit technique
CN102591659A (en) * 2011-12-28 2012-07-18 中标软件有限公司 Implementation method for widget on main interface of mobile terminal and management method for widget
CN102646056A (en) * 2012-03-01 2012-08-22 宁波电业局 Function expansion method and device for grid GIS (geographic information system) platform based applications
CN104216738A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Operation method and operation device of application program
CN106257460A (en) * 2016-08-24 2016-12-28 天津天大求实电力新技术股份有限公司 Data base's general-purpose accessing implementation method for micro-capacitance sensor monitoring system
CN108667851A (en) * 2018-05-22 2018-10-16 国电南瑞科技股份有限公司 A kind of regulator control system lightweight man-machine interactive system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
移动端的轻量级GIS组件的设计与实现;程伟华等;《电工文摘》;20170220(第01期);全文 *

Also Published As

Publication number Publication date
CN110069292A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
CN110888615B (en) Multi-input equipment interaction method, device and medium for double-screen different display of Android system
CN108512695B (en) Method and device for monitoring application blockage
CN109308241B (en) Method and device for monitoring starting process of application program, terminal equipment and storage medium
CN111309216B (en) List page display method and device, computer equipment and storage medium
EP3299954A1 (en) Method for communicating between views in android system
CN113285866B (en) Information sending method and device and electronic equipment
CN109582317B (en) Method and apparatus for debugging hosted applications
CN103647685A (en) Processing method for unloading and receiving test result information
CN112764563A (en) Multi-screen control method, device and system, electronic equipment and storage medium
WO2023124141A9 (en) Input method calling method and related device
CN114327087A (en) Input event processing method and device, electronic equipment and storage medium
CN114222003A (en) Service calling method, system, device, equipment and storage medium
CN110069292B (en) Method for realizing third-party application support of power grid regulation and control system
CN110264035B (en) Workflow configuration method, workflow configuration device, terminal and storage medium
CN114115673B (en) Control method of vehicle-mounted screen
CN102339221A (en) Method for processing application program interface based on Windows CE platform
CN113886070A (en) Device information management method, device and computer readable storage medium
CN107390981B (en) Global menu control method, device, equipment and storage medium
CN106681845B (en) Method and device for managing communication messages
CN114978786B (en) Method and device for converting third party interface into system standard interface
WO2024078306A1 (en) Banner notification message display method and electronic device
US20230014025A1 (en) Method and device for processing service using request, and computer readable storage medium
CN111142648B (en) Data processing method and intelligent terminal
CN110069723B (en) Graphic code identification method, device and storage medium
CN116599921A (en) Message refreshing method and device, computer equipment and storage medium

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