CN111176912A - Relay protection device hardware configuration information management system and method - Google Patents

Relay protection device hardware configuration information management system and method Download PDF

Info

Publication number
CN111176912A
CN111176912A CN201911201267.6A CN201911201267A CN111176912A CN 111176912 A CN111176912 A CN 111176912A CN 201911201267 A CN201911201267 A CN 201911201267A CN 111176912 A CN111176912 A CN 111176912A
Authority
CN
China
Prior art keywords
hardware
configuration
file
hardware library
information
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.)
Withdrawn
Application number
CN201911201267.6A
Other languages
Chinese (zh)
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.)
Nanjing SAC Automation Co Ltd
Original Assignee
Nanjing SAC Automation 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 Nanjing SAC Automation Co Ltd filed Critical Nanjing SAC Automation Co Ltd
Priority to CN201911201267.6A priority Critical patent/CN111176912A/en
Publication of CN111176912A publication Critical patent/CN111176912A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test

Abstract

The invention discloses a system and a method for managing hardware configuration information of a relay protection device, wherein the system comprises a hardware library configuration terminal, a management server and a hardware library application terminal; the hardware library configuration terminal receives external hardware configuration information to generate a corresponding hardware library file, and then issues and submits the generated hardware library file to the management server; the management server archives the hardware library file to enable the hardware library file to have a unique path, and updates the hardware library version according to the hardware configuration information and the path information of the hardware library file; and the hardware library application terminal downloads a corresponding hardware library file in the current hardware library version from the management server, instantiates the hardware library, and further generates a configuration file of the relay protection device based on the instantiated hardware configuration information. The invention can improve the configuration efficiency, customization capability, expandability and response capability to demand change of the hardware information of the relay protection device and realize cross-platform work.

Description

Relay protection device hardware configuration information management system and method
Technical Field
The invention relates to the technical field of relay protection device management, in particular to a system and a method for managing relay protection device hardware configuration information.
Background
The relay protection device is used as a core component for ensuring the stable operation of a power system and the reliable power utilization of users, and has strong complexity and abstraction. However, the hardware information configuration of the device is the basis and guarantee of development and testing of the relay protection and measurement and control device, and therefore, how to improve the efficiency and management process of the relay protection device in the hardware information configuration becomes especially important and challenging.
Currently, the transfer efficiency and quality of hardware information configuration of a relay protection device are low for the following reasons:
firstly, the hardware configuration information quantity of the relay protection and measurement and control device is large, the configuration efficiency is low due to the lack of professional configuration software at present, and many manufacturers even use Excel or traditional paper files for management;
secondly, the front-end and back-end transmission of the hardware configuration information is difficult, and because a hardware developer and a hardware user are often not one person and lack of a professional hardware information configuration and management system, the hardware user cannot obtain comprehensive and effective hardware information from the hardware developer;
thirdly, the relay protection and measurement and control devices have a plurality of hardware models and lack a process management tool, so that the selection, creation and modification of hardware configuration become abnormal and complicated;
fourth, application developers cannot obtain hardware configuration information in an early stage, so that software and hardware resource development cannot be performed in parallel, and the device development and test efficiency is low.
Disclosure of Invention
The invention aims to provide a system and a method for managing hardware configuration information of a relay protection device, which can improve the configuration efficiency of a main wiring diagram of the relay protection device.
The technical scheme adopted by the invention is as follows:
on one hand, the invention provides a relay protection device hardware configuration information management system, which comprises a hardware library configuration terminal, a management server and a hardware library application terminal;
the hardware library configuration terminal responds to hardware configuration information input from the outside, receives corresponding information and generates a corresponding hardware library file, and then responds to an external issuing instruction and issues and submits the generated hardware library file to the management server;
the management server responds to the input of a hardware library file by the hardware library configuration terminal, files the received hardware library file according to a preset rule, enables the hardware library file to have a unique path on the management server, and updates the hardware library version according to the hardware configuration information carried by the hardware library file and the path information of the hardware library file;
and the hardware library application terminal downloads a corresponding hardware library file in the current hardware library version from the management server according to the external hardware library file downloading request, instantiates the hardware library based on the downloaded hardware library file, and further generates a configuration file of the relay protection device based on the instantiated hardware configuration information.
Optionally, the hardware library configuration terminal includes a configuration interface module, an analysis module, a packaging module, and a publishing module;
the configuration interface module provides a visual hardware configuration information and instruction input interface for a user, and receives and stores the hardware configuration information input by the user;
the analysis module analyzes the saved hardware configuration information, generates an XML file and saves the XML file;
the packaging module compiles and packages the generated hardware library XML file to generate a hardware library file in a binary format;
and the issuing module responds to an issuing instruction input by a user through the configuration interface module and issues and submits the hardware library file in the binary format to the management server.
The hardware configuration information includes the model, size, port type, voltage, current and frequency information of the hardware, and hardware-related configuration information thereof.
Optionally, when the publishing module publishes the hardware library file, the name of the hardware library, the hardware type and the file uploading time are spliced into a unique file path, a corresponding folder is created in the management server, and then the hardware library file is published under the corresponding file path of the server.
For example, the name (Lib _ XXX. xml), hardware type (CPU plug-in) and file upload time (9/2/2019) of the hardware library, the corresponding generated unique shelf name is Lib _ XXX _ CPU plug-in 2019_9_2, and the unique path of the hardware library file on the management server is { server }/Lib _ XXX _ CPU plug-in 2019_9_ 2/Lib _ XXX.
Optionally, the management server includes a management interface module, a service logic module, and a database management module;
the management interface module provides a visual hardware library file query, management and editing interface for a user;
the business logic module receives a hardware library file issued by the hardware library configuration terminal, files the hardware library file to a path-designated position, updates the version information of the hardware library according to the hardware configuration information carried by the hardware library file and the path information of the hardware library file, and then pushes the version update information to the application terminal of the hardware library; the business logic module is also provided with an inquiry interface for a user to inquire the current version information;
the database management module stores the archive address of the hardware library file and the information submitted by the hardware library in a LIB _ VERSION (VERSION information) table of the MYSQL database.
Optionally, the information in the LIB _ VERSION table includes: ID (table primary key), LibName (hardware library name), LibType (hardware library type), LibPath (hardware library path), LibTime (hardware library time), LibDes (hardware library description), and libauth (hardware library author). By the aid of the information, the time, type, name, description, author and use of submission of the hardware library can be accurately located, and screening is facilitated when the hardware library is downloaded.
Each functional module in the management server can be customized and developed on the Tomcat server by using JAVA and JavaScript languages.
Optionally, the hardware library application terminal includes a configuration interface module, a file import module, a complete machine configuration module, and a compiling module;
the configuration interface module provides a hardware library application configuration interface for a user;
the file import module acquires a current hardware library file from the management server in response to receiving hardware library version updating information sent by the management server, and analyzes the acquired hardware library file into usable memory information;
the whole machine configuration module performs instantiation of hardware library information based on the analyzed hardware library file information, and further performs whole machine configuration in response to a configuration operation instruction input by a user through the configuration interface module based on the instantiated hardware information;
and the compiling module checks whether the configuration error and the logic error exist in the configuration of the whole machine, and in response to the configuration being correct, serializes the configuration file of the whole machine obtained by the configuration of the whole machine to generate the configuration file of the relay protection device.
The instantiation of the hardware library refers to the process of creating a customized backup message from the configuration information in the selected hardware library file to the configuration file of the relay protection device, and is similar to the process of creating an object by using classes in object-oriented programming.
The device configuration file comprises a hardware configuration file, a software configuration file and a software and hardware resource association relation. The compiling module serializes the XML configuration file through the serialization function to generate a binary file, and accidental modification can be avoided.
All functional modules of the application terminal of the hardware library can be developed based on QT and C + + technologies.
In a second aspect, the present invention provides a method for managing hardware configuration information of a relay protection device based on the system for managing hardware configuration information of a relay protection device in the first aspect, where the method is executed by a hardware library configuration terminal, and the method includes:
responding to hardware configuration information input from the outside, receiving corresponding information and generating a corresponding hardware library file;
responding to an external release request, releasing and submitting the generated hardware library file to a management server according to a set path rule, and filing the received hardware library file by the management server according to a corresponding path, so that the hardware library file has a unique path on the management server.
In a third aspect, the present invention provides a method for managing hardware configuration information of a relay protection device based on the system for managing hardware configuration information of a relay protection device in the first aspect, where the method is executed by a management server, and the method includes:
receiving a hardware library file issued by a hardware library configuration terminal, and filing the hardware library file to a path folder designated when the hardware library configuration terminal issues the hardware library file;
updating the version information of the hardware library according to the hardware configuration information carried by the hardware library file and the path information of the hardware library file, and then pushing the version updating information to the application terminal of the hardware library;
and storing the filing address of the hardware library file and the submitted information of the hardware library in an LIB _ VERSION (VERSION information) table of the MYSQL database.
The method further comprises the following steps: and responding to the version inquiry request input from the outside, and outputting the current hardware library version information.
In a fourth aspect, the present invention provides a relay protection device hardware configuration information management method based on the relay protection device hardware configuration information management system in the first aspect, where the method is executed by a hardware library application terminal, and the method includes:
in response to receiving hardware library version updating information sent by a management server, acquiring a current hardware library file from the management server, and analyzing the acquired hardware library file into usable memory information;
instantiating the hardware library information based on the analyzed hardware library file information, and further responding to a configuration operation instruction input by a user to perform complete machine configuration based on the instantiated hardware information;
and checking whether the configuration error and the logic error exist in the configuration of the whole machine, and in response to the correct configuration, serializing the configuration file of the whole machine obtained by the configuration of the whole machine to generate the configuration file of the relay protection device.
Advantageous effects
The system and the method can improve the safety, the uniformity and the reusability of the hardware information by packaging the hardware configuration information into the library. Because the full-process management capacity of hardware library configuration and use is provided, the system can independently run and form a system in three parts of hardware library configuration, management and application, and can be integrated into a complete solution, thereby realizing the perfection of the management system of hardware configuration. Meanwhile, the system can provide a hardware library configuration and management interface for relay protection with graphical display, stronger man-machine interaction and more reasonable design, and hardware developers can input hardware configuration information synchronously through the hardware library configuration module interface provided by the invention while designing and developing hardware, so that the efficiency of hardware configuration is improved, the possibility of parallel development of software and hardware is further realized, the efficiency bottleneck of traditional serial development of software and hardware is solved, and the development and test efficiency of the relay protection and measurement and control device is greatly improved. The practical operation and test results show the feasibility, correctness and usability of the scheme.
Drawings
FIG. 1 is a block diagram of a system according to an embodiment of the present invention;
FIG. 2 is a cross-platform application example architecture diagram of the present invention;
FIG. 3 is a diagram illustrating instantiation of a hardware library.
Detailed Description
The following further description is made in conjunction with the accompanying drawings and the specific embodiments.
Example 1
The present embodiment is a system for managing hardware configuration information of a relay protection device, and as shown in fig. 1, the system includes a hardware library configuration terminal, a management server, and a hardware library application terminal;
the hardware library configuration terminal responds to hardware configuration information input from the outside, receives corresponding information and generates a corresponding hardware library file, and then responds to an external issuing instruction and issues and submits the generated hardware library file to the management server;
the management server responds to the input of a hardware library file by the hardware library configuration terminal, files the received hardware library file according to a preset rule, enables the hardware library file to have a unique path on the management server, and updates the hardware library version according to the hardware configuration information carried by the hardware library file and the path information of the hardware library file;
and the hardware library application terminal downloads a corresponding hardware library file in the current hardware library version from the management server according to the external hardware library file downloading request, instantiates the hardware library based on the downloaded hardware library file, and further generates a configuration file of the relay protection device based on the instantiated hardware configuration information.
When the method is applied, a hardware developer can input hardware configuration information to a hardware library configuration terminal while designing and developing hardware, so that the hardware design development and the hardware information configuration can be completed synchronously, and the efficiency of hardware configuration is improved.
Examples 1 to 1
Based on embodiment 1, referring to fig. 1, a hardware library configuration terminal (hardware library configuration module), a management server, and a hardware library application terminal (hardware library application module) are respectively described in detail in this embodiment.
The hardware library configuration terminal comprises a configuration interface module, an analysis module, a packaging module and a release module;
the configuration interface module provides a visual hardware configuration information and instruction input interface, namely a man-machine interface, for a user, and receives and stores the hardware configuration information input by the user;
the analysis module analyzes the saved hardware configuration information, generates an XML file and saves the XML file;
the packaging module compiles and packages the generated hardware library XML file to generate a binary hardware library file in an XML format;
and the issuing module responds to an issuing instruction input by a user through the configuration interface module, and issues and submits the binary hardware library file in the XML format to the management server.
The hardware configuration information includes the model, size, port type, voltage, current and frequency information of the hardware, and hardware-related configuration information thereof.
When the publishing module publishes the hardware library file, the name, the hardware type and the file uploading time of the hardware library are spliced into a unique file path, a corresponding folder is created in the management server, and then the hardware library file is published under the corresponding file path of the server.
The management server comprises a management interface module, a service logic module and a database management module;
the management interface module provides a visual hardware library file query, management and editing interface for a user;
the business logic module receives a hardware library file issued by the hardware library configuration terminal, files the hardware library file to a path-designated position, updates the version information of the hardware library according to the hardware configuration information carried by the hardware library file and the path information of the hardware library file, and then pushes the version update information to the application terminal of the hardware library; the business logic module is also provided with an inquiry interface for a user to inquire the current version information;
the database management module stores the archive address of the hardware library file and the information submitted by the hardware library in a LIB _ VERSION (VERSION information) table of the MYSQL database.
Each functional module in the management server can be customized and developed on the Tomcat server by using JAVA and JavaScript languages.
The hardware library application terminal comprises a configuration interface module, a file import module, a complete machine configuration module and a compiling module;
the configuration interface module provides a hardware library application configuration interface for a user;
the file import module acquires a current hardware library file from the management server in response to receiving hardware library version updating information sent by the management server, and analyzes the acquired hardware library file into usable memory information;
the whole machine configuration module performs instantiation of hardware library information based on the analyzed hardware library file information, and further performs whole machine configuration in response to a configuration operation instruction input by a user through the configuration interface module based on the instantiated hardware information;
and the compiling module checks whether the configuration error and the logic error exist in the configuration of the whole machine, and in response to the configuration being correct, serializes the configuration file of the whole machine obtained by the configuration of the whole machine to generate the configuration file of the relay protection device.
The instantiation of the hardware library refers to the process of creating a customized backup message from the configuration information in the selected hardware library file to the configuration file of the relay protection device, and is similar to the process of creating an object by using classes in object-oriented programming.
The device configuration file comprises a hardware configuration file, a software configuration file and a software and hardware resource association relation. The compiling module serializes the XML configuration file through the serialization function to generate a binary file, and accidental modification can be avoided.
All functional modules of the application terminal of the hardware library can be developed based on QT and C + + technologies.
Examples 1 to 2
In this embodiment, a hardware library configuration terminal, a management server, and a hardware library application terminal are respectively described in a popular description manner.
Hardware library configuration terminal (hardware configuration module): and providing a visual and humanized hardware library configuration module interface to synchronously input hardware configuration information, storing the hardware configuration information as a hardware library file, and supporting the submission and the release of the hardware library file to a management server module. It includes four core components:
(1) configuration UI component (configuration interface module): the component is mainly used for graphically displaying, loading, editing and storing hardware configuration information;
(2) parsing component (parsing module): the component is mainly used for processing a storage file of a hardware library, supporting the analysis, the loading, the mapping into an internal memory, the modification and the storage into an XML file;
(3) package assembly (package module): the component is mainly used for compiling and packaging the storage file in the XML format of the hardware library to generate a binary library file for downstream use. The hardware library file occupies smaller memory space, has better encapsulation and confidentiality, and can support the high-efficiency and quick introduction and use of downstream software;
(4) publishing component (publishing module): the component is mainly used for submitting the binary hardware library file to the management server according to the release rule, and the subsequent hardware library application module can obtain the hardware library information from the server module. The publishing rule of the invention means that the name, the hardware type and the file uploading time of the hardware library are spliced into a unique file path, the folder is created in the server, and then the hardware library file is stored under the file path of the server. For example, the name (Lib _ XXX. xml), hardware type (CPU plug-in) and file upload time (9/2/2019) of the hardware library, the corresponding generated unique shelf name is Lib _ XXX _ CPU plug-in 2019_9_2, and the unique path of the hardware library file on the server is { server }/Lib _ XXX _ CPU plug-in 2019_9_ 2/Lib _ XXX. xml.
A management server: the method is mainly used for managing, submitting, recording, archiving, publishing and pushing the hardware library files. The management server is mainly composed of 3 core components:
(1) management UI component (management interface module): this assembly has mainly the following 2 functions: firstly, the hardware library file is inquired, managed and corrected through a UI interface, and the archive position and version information of the hardware library file is inquired, managed and corrected. Secondly, the download quantity of different hardware library files can be tracked and inquired;
(2) business logic component (business logic module): this assembly has mainly the following 3 functions: firstly, a hardware library file submitted and issued by a hardware configuration module is received through an issuing interface. Second, the hardware library file is archived by administrative logic to a specified location and the hardware library version information is persisted to the database component. Thirdly, providing downstream query version information and push version update information to a hardware library application module through a query interface;
(3) database component (database management module): the component is mainly used for storing the filing address of the hardware library file and the information submitted by the hardware library in the LIB _ VERSION table of the MYSQL database. The LIB _ VERSION table contains key information such as ID (table primary key), LibName (hardware library name), LibType (hardware library name), LibPath (hardware library name), LibTime (hardware library name), LibDes (hardware library description), and libauth (hardware library name). By the aid of the information, the time, type, name, description, author and use of submission of the hardware library can be accurately located, and screening is facilitated when the hardware library is downloaded.
Hardware library application module (hardware library application terminal): the method is mainly used for downloading and importing the hardware library files, the instantiated hardware library information, the complete machine information configuration and the compiling generated device side files on the management server. It mainly comprises following 4 core components:
(1) configuration UI component (configuration interface module): this assembly has mainly the following 3 functions: firstly, a UI is provided for selecting, downloading and importing a hardware library file. And secondly, providing a UI (user interface) to support instantiation operation of a hardware library, software resource configuration and complete machine configuration. Thirdly, providing a UI (user interface) to support verification and compiling complete machine configuration and generating a final device file;
(2) import component (file import module): this assembly has mainly the following 3 functions: firstly, actively inquiring or periodically receiving the version updating information of the hardware library file by calling an inquiry interface of the management server. Second, select, download and import hardware library files. Thirdly, analyzing the obtained hardware library file into usable memory information;
(3) complete machine configuration assembly (complete machine configuration module): this assembly has mainly the following 3 functions: first, the ability to instantiate hardware library information is provided. Second, the ability to configure software resources is provided based on instantiated hardware information. Thirdly, the capability of complete machine configuration and distribution is provided;
(4) compiling component (compiling module): this assembly has mainly the following 2 functions: firstly, checking whether the configuration of the whole machine has configuration errors and logic errors. Secondly, compiling the complete machine configuration file and generating a final device file in a serialization way.
Referring to fig. 2, in the system of the present invention, a hardware library configuration terminal is mainly developed based on QT and C + + technologies, a management server is mainly developed on a Tomcat server in a customized manner using JAVA and JavaScript languages, and a hardware library application module is mainly developed based on QT and C + + technologies. As long as the platform supports QT and XML technologies, the hardware library configuration terminal and the hardware library application terminal can be realized, so that the cross-platform development design can be realized. The current mainstream programming languages, such as Java, C + +, QT, C # and the like, all support the parsing of XML files, and the invention can be seamlessly matched with the programming languages for use. The server module of the invention adopts Tomcat server and JAVA language development, and can be deployed on any mainstream server, such as Windows and Linux.
The management method of the hardware configuration information management system using the relay protection device of the embodiment mainly comprises the following steps:
step 1, while designing and developing hardware, hardware developers synchronously input hardware configuration information through a visual and humanized hardware library configuration module interface provided by the invention and store the information as a hardware library file. The hardware configuration information is mainly used for specifically comprising the following steps: firstly, inputting hardware configuration information such as the type, size, port type, voltage, current, frequency information and the like of hardware through a hardware library configuration module interface; secondly, saving the input hardware configuration information into a hardware library file corresponding to binary serialization, wherein the syntax of the hardware library file adopts an XML format.
And 2, submitting and releasing the hardware library file to the management server module by the hardware developer through the visual and humanized hardware library configuration module interface provided by the invention. The management server module is mainly developed on the Tomcat server in a customized manner by using JAVA and JavaScript languages.
And 3, the management server module files the hardware library file to a specified path of the server according to the name, the hardware type and the file uploading time of the hardware library, and persists the information and the path information uploaded by the hardware library file into the LIB _ VERSION table of the MYSQL database provided by the invention. This step contains the following key information: firstly, the name, the hardware type and the file uploading time of the hardware library are spliced into a unique file path, the folder is created in the server, and then the hardware library file is stored under the file path of the server. For example, the name (Lib _ XXX. xml), hardware type (CPU plug-in) and file upload time (9/2/2019) of the hardware library, the corresponding generated unique shelf name is Lib _ XXX _ CPU plug-in 2019_9_2, and the unique path of the hardware library file on the server is { server }/Lib _ XXX _ CPU plug-in 2019_9_ 2/Lib _ XXX. xml. Second, the MYSQL database LIB _ VERSION table contains key information such as ID (table primary key), LibName (hardware library name), LibType (hardware library name), LibPath (hardware library name), LibTime (hardware library name), LibDes (hardware library description), and LibAuther (hardware library name). By the aid of the information, the time, type, name, description, author and use of submission of the hardware library can be accurately located, and screening is facilitated when the hardware library is downloaded.
And 4, selecting, downloading and importing the required hardware library file by the relay protection software application developer through the visual and humanized hardware library application module interface provided by the invention, and instantiating the corresponding hardware library. This step contains the following key information: first, the criteria and conditions under which a software application developer screens a hardware library depend on the information recorded in the LIB _ VERSION table. Secondly, instantiation of the hardware library refers to creating a customized backup message from the configuration message in the selected hardware library file to the configuration file of the relay protection device, and similarly to object-oriented programming, the process of creating an object by using classes is called.
And 5, further developing the association relation between the software resource configuration file and the software and hardware resources by the application personnel through the visual and humanized software resource configuration interface provided by the invention based on the instantiated hardware configuration information, and verifying and compiling to generate a final device configuration file. This step contains several key information: first, device configuration files are associated with hardware configuration files, software configuration files, and software and hardware resources. Second, compiling the device configuration file means serializing the XML configuration file through a serialization function to generate a binary file, thereby avoiding accidental modification beyond the present invention.
Example 2
The present embodiment is a relay protection device hardware configuration information management method executed by a hardware library configuration terminal based on the relay protection device hardware configuration information management system in embodiment 1, and the method includes:
responding to hardware configuration information input from the outside, receiving corresponding information and generating a corresponding hardware library file;
responding to an external release request, releasing and submitting the generated hardware library file to a management server according to a set path rule, and filing the received hardware library file by the management server according to a corresponding path, so that the hardware library file has a unique path on the management server.
Example 3
The present embodiment is a relay protection device hardware configuration information management method executed by a management server based on the relay protection device hardware configuration information management system in embodiment 1, and the method includes:
receiving a hardware library file issued by a hardware library configuration terminal, and filing the hardware library file to a path folder designated when the hardware library configuration terminal issues the hardware library file;
updating the version information of the hardware library according to the hardware configuration information carried by the hardware library file and the path information of the hardware library file, and then pushing the version updating information to the application terminal of the hardware library;
and storing the filing address of the hardware library file and the submitted information of the hardware library in an LIB _ VERSION (VERSION information) table of the MYSQL database.
The method further comprises the following steps: and responding to the version inquiry request input from the outside, and outputting the current hardware library version information.
Example 4
The present embodiment is a relay protection device hardware configuration information management method executed by a hardware library application terminal based on the relay protection device hardware configuration information management system in embodiment 1, and the method includes:
in response to receiving hardware library version updating information sent by a management server, acquiring a current hardware library file from the management server, and analyzing the acquired hardware library file into usable memory information;
instantiating the hardware library information based on the analyzed hardware library file information, and further responding to a configuration operation instruction input by a user to perform complete machine configuration based on the instantiated hardware information;
and checking whether the configuration error and the logic error exist in the configuration of the whole machine, and in response to the correct configuration, serializing the configuration file of the whole machine obtained by the configuration of the whole machine to generate the configuration file of the relay protection device.
The solutions of the above embodiments 2 to 4 can be independently operated in corresponding hardware architectures to respectively implement the hardware library configuration terminal, the management server and the hardware library application terminal in the system described in embodiment 1.
In summary, compared with the prior art, the present invention is improved in the following aspects:
firstly, the system can package the hardware configuration information into a library, so that the safety, the uniformity and the reusability of the hardware information are improved;
secondly, the system provides a relay protection hardware library configuration and management interface which is displayed graphically, has stronger human-computer interaction and is more reasonable in design;
thirdly, the system provides the full-process management capability of the configuration and the use of the hardware library and perfects the management system of the hardware configuration;
fourthly, the three modules of the system can independently run to form a system, and can also be integrated together to form a set of complete solution;
and fifthly, the system realizes the possibility of parallel development of software and hardware, solves the efficiency bottleneck of the traditional serial development of software and hardware, and greatly improves the development and test efficiency of the relay protection and measurement and control device. The practical operation and test results show the feasibility, correctness and usability of the scheme.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A relay protection device hardware configuration information management system is characterized by comprising a hardware library configuration terminal, a management server and a hardware library application terminal;
the hardware library configuration terminal responds to hardware configuration information input from the outside, receives corresponding information and generates a corresponding hardware library file, and then responds to an external issuing instruction and issues and submits the generated hardware library file to the management server;
the management server responds to the input of a hardware library file by the hardware library configuration terminal, files the received hardware library file according to a preset rule, enables the hardware library file to have a unique path on the management server, and updates the hardware library version according to the hardware configuration information carried by the hardware library file and the path information of the hardware library file;
and the hardware library application terminal downloads a corresponding hardware library file in the current hardware library version from the management server according to the external hardware library file downloading request, instantiates the hardware library based on the downloaded hardware library file, and further generates a configuration file of the relay protection device based on the instantiated hardware configuration information.
2. The relay protection device hardware configuration information management system according to claim 1, wherein the hardware library configuration terminal includes a configuration interface module, an analysis module, a packaging module, and a publishing module;
the configuration interface module provides a visual hardware configuration information and instruction input interface for a user, and receives and stores the hardware configuration information input by the user;
the analysis module analyzes the saved hardware configuration information, generates an XML file and saves the XML file;
the packaging module compiles and packages the generated hardware library XML file to generate a hardware library file in a binary format;
and the issuing module responds to an issuing instruction input by a user through the configuration interface module and issues and submits the hardware library file in the binary format to the management server.
3. The relay protection device hardware configuration information management system according to claim 1 or 2, wherein the publishing module splices the name of the hardware library, the hardware type and the file uploading time into a unique file path when publishing the hardware library file, creates a corresponding folder in the management server, and then publishes the hardware library file to the corresponding file path of the server.
4. The relay protection device hardware configuration information management system according to claim 1, wherein the management server includes a management interface module, a service logic module, and a database management module;
the management interface module provides a visual hardware library file query, management and editing interface for a user;
the business logic module receives a hardware library file issued by the hardware library configuration terminal, files the hardware library file to a path-designated position, updates the version information of the hardware library according to the hardware configuration information carried by the hardware library file and the path information of the hardware library file, and then pushes the version update information to the application terminal of the hardware library; the business logic module is also provided with an inquiry interface for a user to inquire the current version information;
the database management module stores the filing address of the hardware library file and the information submitted by the hardware library in the LIB _ VERSION table of the MYSQL database.
5. The relay protection device hardware configuration information management system of claim 4, wherein the information in the LIB _ VERSION table includes: ID (table primary key), LibName (hardware library name), LibType (hardware library type), LibPath (hardware library path), LibTime (hardware library time), LibDes (hardware library description), and libauth (hardware library author).
6. The relay protection device hardware configuration information management system of claim 1, wherein the hardware library application terminal comprises a configuration interface module, a file import module, a complete machine configuration module and a compiling module;
the configuration interface module provides a hardware library application configuration interface for a user;
the file import module acquires a current hardware library file from the management server in response to receiving hardware library version updating information sent by the management server, and analyzes the acquired hardware library file into usable memory information;
the whole machine configuration module performs instantiation of hardware library information based on the analyzed hardware library file information, and further performs whole machine configuration in response to a configuration operation instruction input by a user through the configuration interface module based on the instantiated hardware information;
and the compiling module checks whether the configuration error and the logic error exist in the configuration of the whole machine, and in response to the configuration being correct, serializes the configuration file of the whole machine obtained by the configuration of the whole machine to generate the configuration file of the relay protection device.
7. The relay protection device hardware configuration information management system according to claim 6, wherein the device configuration file includes a hardware configuration file, a software configuration file, and a software and hardware resource association relationship.
8. A relay protection device hardware configuration information management method based on the relay protection device hardware configuration information management system according to any one of claims 1 to 7, executed by a hardware library configuration terminal, characterized by comprising:
responding to hardware configuration information input from the outside, receiving corresponding information and generating a corresponding hardware library file;
responding to an external release request, releasing and submitting the generated hardware library file to a management server according to a set path rule, and enabling the management server to archive the received hardware library file according to a corresponding path, so that the hardware library file has a unique path on the management server.
9. A relay protection device hardware configuration information management method based on the relay protection device hardware configuration information management system according to any one of claims 1 to 7, executed by a management server, characterized by comprising:
receiving a hardware library file issued by a hardware library configuration terminal, and filing the hardware library file to a path folder designated when the hardware library configuration terminal issues the hardware library file;
updating the version information of the hardware library according to the hardware configuration information carried by the hardware library file and the path information of the hardware library file, and then pushing the version updating information to the application terminal of the hardware library;
and storing the filing address of the hardware library file and the information submitted by the hardware library in an LIB _ VERSION table of the MYSQL database.
10. A relay protection device hardware configuration information management method based on the relay protection device hardware configuration information management system according to any one of claims 1 to 7, executed by a hardware library application terminal, characterized by comprising:
in response to receiving hardware library version updating information sent by a management server, acquiring a current hardware library file from the management server, and analyzing the acquired hardware library file into usable memory information;
instantiating the hardware library information based on the analyzed hardware library file information, and further responding to a configuration operation instruction input by a user to perform complete machine configuration based on the instantiated hardware information;
and checking whether the configuration error and the logic error exist in the configuration of the whole machine, and in response to the correct configuration, serializing the configuration file of the whole machine obtained by the configuration of the whole machine to generate the configuration file of the relay protection device.
CN201911201267.6A 2019-11-29 2019-11-29 Relay protection device hardware configuration information management system and method Withdrawn CN111176912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911201267.6A CN111176912A (en) 2019-11-29 2019-11-29 Relay protection device hardware configuration information management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911201267.6A CN111176912A (en) 2019-11-29 2019-11-29 Relay protection device hardware configuration information management system and method

Publications (1)

Publication Number Publication Date
CN111176912A true CN111176912A (en) 2020-05-19

Family

ID=70657160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911201267.6A Withdrawn CN111176912A (en) 2019-11-29 2019-11-29 Relay protection device hardware configuration information management system and method

Country Status (1)

Country Link
CN (1) CN111176912A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629968A (en) * 2022-03-03 2022-06-14 南京国电南自电网自动化有限公司 Communication keep-alive system and method of relay protection device
CN117075885A (en) * 2023-10-18 2023-11-17 东方电子股份有限公司 Visual task execution method of relay protection equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629968A (en) * 2022-03-03 2022-06-14 南京国电南自电网自动化有限公司 Communication keep-alive system and method of relay protection device
CN117075885A (en) * 2023-10-18 2023-11-17 东方电子股份有限公司 Visual task execution method of relay protection equipment
CN117075885B (en) * 2023-10-18 2024-01-30 东方电子股份有限公司 Visual task execution method of relay protection equipment

Similar Documents

Publication Publication Date Title
US10740093B2 (en) Advanced packaging techniques for improving work flows
US10042903B2 (en) Automating extract, transform, and load job testing
US9489184B2 (en) Adaptive selection of programming language versions for compilation of software programs
US9329841B2 (en) Software asset packaging and consumption
US20100070961A1 (en) Supplying Software Updates Synchronously
Gruening et al. Recommendations for the packaging and containerizing of bioinformatics software
CN109542459A (en) Application program packaging method and device, computer installation and computer storage medium
CN111399840A (en) Module development method and device
CN111176912A (en) Relay protection device hardware configuration information management system and method
CN114115838A (en) Data interaction method and system based on distributed components and cloud platform
CN112000334A (en) Page development method, device, server and storage medium
CN105373384B (en) A kind of software development methodology and device
US20230004477A1 (en) Providing a pseudo language for manipulating complex variables of an orchestration flow
CN114721647B (en) Object-oriented programming method based on codeless application development
US7721279B1 (en) Packaging information integration applications
US11789712B2 (en) Data configuration deployment framework
US20220413843A1 (en) Combining model-driven applications and canvas-type applications with application lifecycle management
CN111142848A (en) Software program compiling method, software program executing method and software program compiling device
US10958514B2 (en) Generating application-server provisioning configurations
CN114003257A (en) Upgrading method and device
CN113901025A (en) Database management method, device, equipment and storage medium
CN113778421A (en) Method and equipment for generating service code
US11775293B1 (en) Deploying a static code analyzer based on program synthesis from input-output examples
CN109814912A (en) Application program packaging method and system
CN116991355B (en) Method, system and device for supporting LED driving chip by modifying and iterating script

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200519