Complete machine automatic upgrading method and system for relay protection test devices with different voltage grades
By analyzing and compressing the upgrade steps of the relay protection device, adapting to different hardware structures, and setting up a unified operating interface, the complexity of the upgrade steps of the relay protection device and the ease of interface are solved, and efficient automatic upgrade of the whole machine is achieved. Lower thresholds and costs.
Patent Information
- Application Number
- CN202411102016.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-12-27
AI Technical Summary
The upgrade steps of relay protection and control devices are complex and inconsistent, the traditional tool interface is poorly ease-of-use, and does not support cross-platform, resulting in high upgrade thresholds and increased complexity.
By analyzing and summarizing the upgrade steps of high-voltage, medium-voltage and low-voltage relay protection devices, compressing and communication adaptation, setting up a unified operating interface, realizing automatic upgrade of the entire machine of high-voltage, medium-voltage and low-voltage relay protection devices, simplifying operation Steps and adapt to different hardware structures.
It realizes a unified upgrade method of high, medium and low voltage relay protection devices, reduces operation difficulty and learning costs, improves the ease of use and efficiency of upgrade tools, simplifies interface operations, and reduces operation and maintenance costs.
Smart Images

Figure CN119201142A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of relay protection and detection devices, and in particular to a complete automatic upgrading method and system for relay protection and detection devices of different voltage levels. Background Art
[0002] Relay protection and control devices are equipment used to protect power systems. Their main function is to detect abnormal conditions in the power system and isolate faults and protect the stable operation of the system by controlling switches, circuit breakers and other equipment in the power system. Relay protection and control devices play a vital role in the safe operation of the power system. They ensure the stable operation of the power system, reduce fault losses, and improve the reliability and availability of the power system.
[0003] Due to the complexity of the architecture of the relay protection and control devices themselves and the requirements for operational stability, the following problems arise.
[0004] (1) There are many steps to upgrade relay protection and control devices, usually including more than a dozen steps, such as connecting the device, opening the upgrade package, upgrading the HMI plug-in BSP, restarting the device, upgrading the CPU plug-in BSP, restarting the device, upgrading the CPU application, upgrading the HMI application, restarting the device, version synchronization, initializing the setting area, and solidifying the setting area.
[0005] (2) The interface operations of the relay protection and control device upgrade steps are relatively complicated. For example, many options need to be selected to complete the operation of the current step, such as communication connection, version synchronization, initialization of setting area and solidification of setting area.
[0006] (3) The hardware structures of high, medium and low voltage relay protection and control devices are different, resulting in different upgrade methods for different devices. Usually, low voltage protection devices use a single plug-in dual computing chip hardware structure, while high and medium voltage devices use a multi-plug-in hardware structure, but each plug-in has only one computing chip. The hardware structures of different devices lead to inconsistent upgrade methods, which increases the threshold and complexity of device upgrades.
[0007] (4) The interface usability and human-computer interaction capabilities of traditional relay protection and control device upgrade tools are relatively poor.
[0008] (5) Traditional relay protection and control device upgrade tools do not support cross-platform and have poor compatibility. Summary of the invention
[0009] The purpose of the present invention is to solve at least one technical problem in the background technology and to provide a method and system for automatic upgrading of a relay protection and measurement device of different voltage levels.
[0010] To achieve the above object, the present invention provides a method for automatically upgrading a relay protection device of different voltage levels, comprising:
[0011] Analyze and summarize the upgrade steps of high-voltage, medium-voltage and low-voltage relay protection devices, and compress the upgrade steps;
[0012] Analyze the physical characteristics and hardware differences of high-voltage, medium-voltage and low-voltage relay protection devices, and adapt different upgrade steps to communicate with high-voltage, medium-voltage and low-voltage relay protection devices respectively according to the physical characteristics and hardware differences;
[0013] An operation interface for automatic upgrade of the whole machine of the relay protection device is set up, the operation interface information is planned and integrated, and a scheduling interface that can trace each upgrade step is added to the operation interface. The high-voltage, medium-voltage and low-voltage relay protection devices are uniformly upgraded through the operation interface and the scheduling interface.
[0014] According to one aspect of the present invention, the planning and integration of the operation interface information is as follows:
[0015] Integrate the operation interface information logic into active input information and default configuration information;
[0016] Among them, the actively input information includes device IP, device port, device type and login password;
[0017] The default configuration information includes the device name, plug-in type, slave serial number, whether to encrypt, whether to delete temporary files, and whether to display component information.
[0018] According to one aspect of the present invention, the steps of analyzing and summarizing the upgrading of high voltage, medium voltage and low voltage relay protection devices include:
[0019] The analysis and summary of low-voltage relay protection devices include 12 upgrade steps, which include: communication connection, opening the upgrade package, HMI plug-in BSP upgrade, restarting the device, CPU plug-in BSP upgrade, restarting the device, CPU application upgrade, HMI application upgrade, restarting the device, version synchronization, initializing the fixed value area and solidifying the fixed value area;
[0020] The analysis and summary of high-voltage and medium-voltage relay protection devices include 15 upgrade steps, which include: communication connection, opening upgrade package, HMI plug-in BSP upgrade, restarting device, upgrading HMI application, BSP upgrade of CPU plug-in 1, restarting device, application upgrade of CPU plug-in 1, BSP upgrade of CPU plug-in 2, restarting device, application upgrade of CPU plug-in 2, restarting device, version synchronization, initializing set value area and solidifying set value area.
[0021] According to one aspect of the present invention, the step of compressing the upgrading step includes:
[0022] The 12 upgrade steps of low-voltage relay protection devices are compressed into 3 upgrade steps, which are: communication connection, opening the upgrade package and whole device upgrade;
[0023] The 15 upgrade steps of high and medium voltage relay protection devices are compressed into 3 upgrade steps, which are: communication connection, opening the upgrade package and upgrading the whole device;
[0024] The whole machine upgrade is completed by setting a whole machine upgrade tool for automatically connecting, disconnecting and switching connections with different plug-ins of the relay protection device.
[0025] According to one aspect of the present invention, the communication adaptation of different upgrade steps with high voltage, medium voltage and low voltage relay protection devices respectively according to physical characteristics and hardware differences includes:
[0026] Autonomously adapt different upgrade steps to different hardware structures in high-voltage, medium-voltage and low-voltage relay protection devices, and interact with each hardware structure for all upgrade service communication messages;
[0027] Among them, the upgrade service includes communication Socket connection, file reading, file writing, upgrade verification, status update, device restart, version synchronization and fixed value area solidification.
[0028] To achieve the above object, the present invention also provides a method for automatically upgrading a relay protection device of different voltage levels, comprising:
[0029] Automatic upgrade module, which analyzes and summarizes the upgrade steps of high-voltage, medium-voltage and low-voltage relay protection devices and compresses the upgrade steps;
[0030] The communication agent module analyzes the physical characteristics and hardware differences of high-voltage, medium-voltage and low-voltage relay protection devices, and adapts different upgrade steps to the communication with high-voltage, medium-voltage and low-voltage relay protection devices according to the physical characteristics and hardware differences;
[0031] The human-computer interaction module is provided with an operation interface for automatic upgrade of the whole machine of the relay protection device, plans and integrates the operation interface information, and adds a scheduling interface on the operation interface that can trace each upgrade step, so as to uniformly upgrade the high-voltage, medium-voltage and low-voltage relay protection devices through the operation interface and the scheduling interface.
[0032] To achieve the above-mentioned purpose, the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the method for automatically upgrading the whole machine of the relay protection and measurement device of different voltage levels as described above is implemented.
[0033] To achieve the above objectives, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for automatically upgrading the entire relay protection device of different voltage levels as described above is implemented.
[0034] According to the solution of the present invention, the present invention supports automatic upgrading of the entire high, medium and low voltage relay protection device. The present invention simplifies some complex interface operations of the relay protection device.
[0035] The present invention can realize autonomous identification and adaptation of the hardware structure of high, medium and low voltage relay protection devices. Because the business logic of the high and medium voltage relay protection device is composed of 3 CPU plug-ins, each plug-in contains only one CPU chip, one of which is used to run the human-computer interaction interface (also called HMI plug-in), and the other two CPU plug-ins are responsible for business logic operations; the business logic of the low voltage relay protection device is composed of a CPU plug-in, but this CPU plug-in contains 2 CPU chips, one of which is used to run the human-computer interaction interface, and the other CPU chip is responsible for business logic operations. It can be seen that the hardware structure of different devices leads to inconsistent upgrade methods, which increases the threshold and complexity of device upgrades. The present invention can solve the problems of high threshold and complexity, help the device upgrade tool no longer distinguish the hardware structure of high, medium and low voltage relay protection devices, can perfectly adapt and connect high, medium and low voltage relay protection devices, and realize the unification of the connection method of high, medium and low voltage relay protection devices, which greatly simplifies the operation difficulty and reduces the learning cost and operation and maintenance cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A flowchart schematically showing a method for automatically upgrading a relay protection and detection device of different voltage levels according to an embodiment of the present invention;
[0037] Figure 2 This is a schematic diagram of the scheduling interface of Example 1;
[0038] Figure 3 This is a communication architecture diagram of the automatic upgrade module and the communication agent module of Example 1. DETAILED DESCRIPTION
[0039] The present invention will now be discussed with reference to exemplary embodiments. It should be understood that the embodiments discussed are only to enable those skilled in the art to better understand and thus implement the present invention, rather than implying any limitation on the scope of the present invention.
[0040] As used herein, the term “including” and variations thereof are to be interpreted as open-ended terms meaning “including, but not limited to.” The term “based on” is to be interpreted as “based, at least in part, on.” The terms “one embodiment” and “an embodiment” are to be interpreted as “at least one embodiment.”
[0041] Figure 1 A flowchart schematically shows a method for automatically upgrading a relay protection device of different voltage levels according to an embodiment of the present invention. Figure 1 As shown, in this embodiment, the method for automatically upgrading the whole machine of the relay protection and detection device of different voltage levels includes:
[0042] Analyze and summarize the upgrade steps of high-voltage, medium-voltage and low-voltage relay protection devices, and compress the upgrade steps;
[0043] Analyze the physical characteristics and hardware differences of high-voltage, medium-voltage and low-voltage relay protection devices, and adapt different upgrade steps to communicate with high-voltage, medium-voltage and low-voltage relay protection devices respectively according to the physical characteristics and hardware differences;
[0044] An operation interface for automatic upgrade of the whole machine of the relay protection device is set up, the operation interface information is planned and integrated, and a scheduling interface that can trace each upgrade step is added to the operation interface. The high-voltage, medium-voltage and low-voltage relay protection devices are uniformly upgraded through the operation interface and the scheduling interface.
[0045] Further, according to an embodiment of the present invention, the operation interface information is planned and integrated as follows:
[0046] Integrate the operation interface information logic into active input information and default configuration information;
[0047] Among them, the actively input information includes device IP, device port, device type and login password;
[0048] The default configuration information includes the device name, plug-in type, slave serial number, whether to encrypt, whether to delete temporary files, and whether to display component information.
[0049] Further, according to an embodiment of the present invention, the upgrade steps of high voltage, medium voltage and low voltage relay protection devices are analyzed and summarized, including:
[0050] The low voltage relay protection device includes 12 upgrade steps, including: communication connection, opening the upgrade package, HMI plug-in BSP upgrade, restarting the device, CPU plug-in BSP upgrade, restarting the device, CPU application upgrade, HMI application upgrade, restarting the device, version synchronization, initializing the setting area and solidifying the setting area;
[0051] The high-voltage and medium-voltage relay protection devices include 15 upgrade steps, which include: communication connection, opening the upgrade package, HMI plug-in BSP upgrade, restarting the device, upgrading the HMI application, BSP upgrade of CPU plug-in 1, restarting the device, application upgrade of CPU plug-in 1, BSP upgrade of CPU plug-in 2, restarting the device, application upgrade of CPU plug-in 2, restarting the device, version synchronization, initializing the set value area and solidifying the set value area.
[0052] Further, according to an embodiment of the present invention, the upgrade step is compressed, including:
[0053] The 12 upgrade steps of low-voltage relay protection devices are compressed into 3 upgrade steps, which are: communication connection, opening the upgrade package and whole device upgrade;
[0054] The 15 upgrade steps of high and medium voltage relay protection devices are compressed into 3 upgrade steps, which are: communication connection, opening the upgrade package and upgrading the whole device;
[0055] The whole machine upgrade is completed by setting a whole machine upgrade tool for automatically connecting, disconnecting and switching connections with different plug-ins of the relay protection device.
[0056] Further, according to an embodiment of the present invention, different upgrade steps are communicated and adapted with high voltage, medium voltage and low voltage relay protection devices respectively according to physical characteristics and hardware differences, including:
[0057] Autonomously adapt different upgrade steps to different hardware structures in high-voltage, medium-voltage and low-voltage relay protection devices, and interact with each hardware structure for all upgrade service communication messages;
[0058] Among them, the upgrade service includes communication Socket connection, file reading, file writing, upgrade verification, status update, device restart, version synchronization and fixed value area solidification.
[0059] Furthermore, in order to achieve the above-mentioned purpose, the present invention also provides a complete automatic upgrade system for relay protection and measurement devices of different voltage levels, comprising:
[0060] Automatic upgrade module, which analyzes and summarizes the upgrade steps of high-voltage, medium-voltage and low-voltage relay protection devices and compresses the upgrade steps;
[0061] The communication agent module analyzes the physical characteristics and hardware differences of high-voltage, medium-voltage and low-voltage relay protection devices, and adapts different upgrade steps to the communication with high-voltage, medium-voltage and low-voltage relay protection devices according to the physical characteristics and hardware differences;
[0062] The human-computer interaction module is provided with an operation interface for automatic upgrade of the whole machine of the relay protection device, plans and integrates the operation interface information, and adds a scheduling interface on the operation interface that can trace each upgrade step, so as to uniformly upgrade the high-voltage, medium-voltage and low-voltage relay protection devices through the operation interface and the scheduling interface.
[0063] Further, according to an embodiment of the present invention, the operation interface information is planned and integrated as follows:
[0064] Integrate the operation interface information logic into active input information and default configuration information;
[0065] Among them, the actively input information includes device IP, device port, device type and login password;
[0066] The default configuration information includes the device name, plug-in type, slave serial number, whether to encrypt, whether to delete temporary files, and whether to display component information.
[0067] Further, according to an embodiment of the present invention, the upgrade steps of high voltage, medium voltage and low voltage relay protection devices are analyzed and summarized, including:
[0068] The low voltage relay protection device includes 12 upgrade steps, including: communication connection, opening the upgrade package, HMI plug-in BSP upgrade, restarting the device, CPU plug-in BSP upgrade, restarting the device, CPU application upgrade, HMI application upgrade, restarting the device, version synchronization, initializing the setting area and solidifying the setting area;
[0069] The high-voltage and medium-voltage relay protection devices include 15 upgrade steps, which include: communication connection, opening the upgrade package, HMI plug-in BSP upgrade, restarting the device, upgrading the HMI application, BSP upgrade of CPU plug-in 1, restarting the device, application upgrade of CPU plug-in 1, BSP upgrade of CPU plug-in 2, restarting the device, application upgrade of CPU plug-in 2, restarting the device, version synchronization, initializing the set value area and solidifying the set value area.
[0070] Further, according to an embodiment of the present invention, the upgrade step is compressed, including:
[0071] The 12 upgrade steps of low-voltage relay protection devices are compressed into 3 upgrade steps, which are: communication connection, opening the upgrade package and whole device upgrade;
[0072] The 15 upgrade steps of high and medium voltage relay protection devices are compressed into 3 upgrade steps, which are: communication connection, opening the upgrade package and upgrading the whole device;
[0073] The whole machine upgrade is completed by setting a whole machine upgrade tool for automatically connecting, disconnecting and switching connections with different plug-ins of the relay protection device.
[0074] Further, according to an embodiment of the present invention, different upgrade steps are communicated and adapted with high voltage, medium voltage and low voltage relay protection devices respectively according to physical characteristics and hardware differences, including:
[0075] Autonomously adapt different upgrade steps to different hardware structures in high-voltage, medium-voltage and low-voltage relay protection devices, and interact with each hardware structure for all upgrade service communication messages;
[0076] Among them, the upgrade service includes communication Socket connection, file reading, file writing, upgrade verification, status update, device restart, version synchronization and fixed value area solidification.
[0077] Furthermore, to achieve the above-mentioned purpose, the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the method for automatically upgrading the whole machine of the relay protection and measuring device of different voltage levels as described above is implemented.
[0078] Furthermore, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for automatically upgrading the entire relay protection and measurement device of different voltage levels as described above is implemented.
[0079] According to the above scheme of the present invention, the present invention supports automatic upgrading of high, medium and low voltage relay protection devices.
[0080] The present invention simplifies some complicated interface operations of the relay protection device.
[0081] The present invention can realize autonomous identification and adaptation of the hardware structure of high, medium and low voltage relay protection devices. Because the business logic of the high and medium voltage relay protection device is composed of 3 CPU plug-ins, each plug-in contains only one CPU chip, one of which is used to run the human-computer interaction interface (also called HMI plug-in), and the other two CPU plug-ins are responsible for business logic operations; the business logic of the low voltage relay protection device is composed of a CPU plug-in, but this CPU plug-in contains 2 CPU chips, one of which is used to run the human-computer interaction interface, and the other CPU chip is responsible for business logic operations. It can be seen that the hardware structure of different devices leads to inconsistent upgrade methods, which increases the threshold and complexity of device upgrades. The present invention can solve the problems of high threshold and complexity, help the device upgrade tool no longer distinguish the hardware structure of high, medium and low voltage relay protection devices, can perfectly adapt and connect high, medium and low voltage relay protection devices, and realize the unification of the connection method of high, medium and low voltage relay protection devices, which greatly simplifies the operation difficulty and reduces the learning cost and operation and maintenance cost.
[0082] Furthermore, based on the above solution, the solution of the present invention is described in detail in the following in conjunction with the accompanying drawings in the form of a specific embodiment.
[0083] Example 1
[0084] The whole machine automatic upgrade system of relay protection and measurement devices of different voltage levels includes: a human-computer interaction module, an automatic upgrade module and a communication agent module developed based on C++ and XML languages.
[0085] The human-computer interaction module is mainly used to provide users with a humanized operation interface to automatically upgrade the relay protection device. In this embodiment, the module mainly improves the usability, stability and work efficiency through the following aspects.
[0086] Reduce the operation steps of complex operation interfaces. The traditional communication connection interface requires the user to select a drop-down box and an input box, which reduces the previous ten or so information inputs to three. The traditional single-step device upgrade tool connection operation requires input of the device name, device IP, device port, device type, plug-in type, slave serial number, encryption, login password, whether to delete temporary files, and whether to display component information. After logic integration and interface optimization in this embodiment, the whole machine automatic upgrade tool reduces the input to 3: device IP, device port, device type, and login password.
[0087] This embodiment adds a drop-down box linkage on the communication connection interface, and after logic integration and interface optimization, the input information and device type are automatically associated and selected, and the user no longer needs to manually select and input this information.
[0088] This embodiment adds a scheduling interface to perform a global scheduling display and tracking of all upgrade steps involved in the medium and high voltage relay protection devices, allowing users to understand the progress of the current step in the entire upgrade process and the specific execution status of each upgrade step in real time. Figure 2 As shown in the figure, in the scheduling interface, users can see that the entire upgrade process is divided into multiple steps, and each step has a corresponding progress bar and status indicator. When a step is completed, the progress bar will automatically move forward and display the execution result of the step. If a step fails, the progress bar will stop at the step and display an error message so that users can handle it in time. In addition, the scheduling interface also provides some other functions, such as pausing / resuming the upgrade, rolling back to the previous step, viewing the upgrade log, etc., to facilitate users to manage and control the upgrade process. By adding a scheduling interface, users can more intuitively understand the progress and execution of the upgrade process, thereby improving the transparency and controllability of the upgrade process. At the same time, users can also manage and control the upgrade process more conveniently, improving the reliability and stability of the upgrade process.
[0089] Automatic upgrade module, which mainly integrates all key upgrade steps of high, medium and low voltage relay protection devices to achieve the goal of automatic whole machine upgrade. These key steps include but are not limited to HMI plug-in BSP upgrade, restart device, CPU plug-in BSP upgrade, restart device again, CPU application upgrade, HMI application upgrade, restart device again, version synchronization, initialization of fixed value area and solidification of fixed value area, etc.
[0090] In this embodiment, it is analyzed that the upgrade of the low-voltage protection device needs to go through 12 steps, including communication connection, opening the upgrade package, HMI plug-in BSP upgrade, restart device, CPU plug-in BSP upgrade, restart device, CPU application upgrade, HMI application upgrade, restart device, version synchronization, initialization of fixed value area and solidification of fixed value area. The upgrade of medium and high voltage devices requires 15 steps, specifically communication connection, opening the upgrade package, HMI plug-in BSP upgrade, restart device, upgrade HMI application, BSP upgrade of CPU plug-in 1, restart device, application upgrade of CPU plug-in 1, BSP upgrade of CPU plug-in 2, restart device, application upgrade of CPU plug-in 2, restart device, version synchronization, initialization of fixed value area and solidification of fixed value area. Moreover, these steps need to be completed manually one by one, which is not only extremely time-consuming and labor-intensive, but also quite inefficient.
[0091] The excellence of the automatic upgrade module is that it successfully simplifies the 12 steps of low-voltage protection upgrade to only 3 steps: communication connection, opening the upgrade package, and upgrading the whole machine. Similarly, the 15 steps of medium and high voltage device upgrades have also been simplified to 3 steps: communication connection, opening the upgrade package, and upgrading the whole machine, thus greatly improving work efficiency.
[0092] Automated tools have replaced manual operations, which not only reduces the probability of operational errors, but also reduces the time required for operations. While work efficiency has been greatly improved, labor costs have also been significantly reduced.
[0093] The implementation principle is that after in-depth logical analysis and comprehensive summary, the device upgrade tool optimizes the upgrade steps into three core steps: communication connection, opening the upgrade package and upgrading the whole device. The upgrade steps for the low-voltage relay protection device include the previous HMI plug-in BSP upgrade, restarting the device, CPU plug-in BSP upgrade, restarting the device, CPU application upgrade, HMI application upgrade, restarting the device, version synchronization, initialization of the fixed value area and solidification of the fixed value area. The upgrade steps for the medium and high voltage relay protection device include the previous HMI plug-in BSP upgrade, restarting the device, upgrading the HMI application, CPU plug-in 1 BSP upgrade, restarting the device, CPU plug-in 1 application upgrade, CPU plug-in 2 BSP upgrade, restarting the device, CPU plug-in 2 application upgrade, restarting the device, version synchronization, initialization of the fixed value area and solidification of the fixed value area. The device upgrade tool successfully realizes the automatic connection, disconnection and switching connection between the device upgrade tool and different device plug-ins by encapsulating the business logic and realizing the switching management of the communication connection. As a result, the device upgrade tool can display a series of steps such as HMI plug-in BSP upgrade, restart device, CPU plug-in BSP upgrade, restart device, CPU application upgrade, HMI application upgrade, restart device, version synchronization, initialization of fixed value area and solidification of fixed value area as a unified step - whole machine upgrade. In terms of implementation effect, practical results show that after adopting the present invention, the upgrade efficiency of the production center production line device is improved by 30%, and it also helps to improve the efficiency of on-site engineering operation and maintenance by 25%.
[0094] The communication agent module is mainly used for the automatic upgrade module to autonomously adapt to the different hardware structures of high, medium and low voltage relay protection devices, and to interact with them through communication messages for all services. These services include communication socket connection, file reading, file writing, upgrade verification, status update, device restart, version synchronization, constant value area solidification, etc. At present, the hardware structures of mainstream medium and high voltage relay protection devices and low voltage relay protection devices are different. The business logic of medium and high voltage relay protection devices is composed of 3 CPU plug-ins, each of which contains only one CPU chip, one of which is used to run the human-computer interaction interface, and the other two CPU plug-ins are responsible for business logic operations; the business logic of low voltage relay protection devices is composed of a CPU plug-in, but this CPU plug-in contains 2 CPU chips, one of which is used to run the human-computer interaction interface, and the other is responsible for business logic operations.
[0095] Due to the hardware differences between low-voltage protection devices and medium- and high-voltage devices, the connection methods between tools and devices are also very different, resulting in higher learning costs and operating thresholds.
[0096] Implementation principle: Figure 3 As shown, the automatic upgrade module and the communication agent module interact with each other through the Socket method.
[0097] The communication agent module configures the IP mapping relationship inside the device through the link_setting.xml file, thereby ensuring that the automatic upgrade module can connect to plug-ins with different hardware structures inside the device (HMI plug-in, CPU1 plug-in, CPU2 plug-in, CPU plug-in core 0 and CPU plug-in core 1) through a network port. The link_setting.xml file structure is shown below, where Links is the root directory tag and Link is the connection mapping tag. Key attributes id (connection sequence number), sAddr (IP address of the network port of the automatic upgrade module connected to the device), sPort (port number of the network port of the automatic upgrade module connected to the device), cAddr (IP address mapped by the communication agent module), cPort (port number mapped by the communication agent module).
[0098] Through the IP address mapping and forwarding of the link_setting.xml file, the automatic upgrade module can connect to the required IP addresses of different hardware structures inside the device through one network port. Implementation effect: The communication agent module helps the device upgrade tool to no longer distinguish the hardware structure of high, medium and low voltage devices, and can perfectly adapt and connect high, medium and low voltage relay protection devices, realizing the unification of the connection method of high, medium and low voltage relay protection devices, greatly simplifying the operation difficulty and reducing the learning cost and operation and maintenance cost.
[0099] Those skilled in the art will appreciate that the modules and algorithm steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0100] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and equipment can refer to the corresponding processes in the aforementioned method implementation methods, and will not be repeated here.
[0101] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0102] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
[0103] In addition, each functional module in the embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0104] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the energy-saving signal sending / receiving method of each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0105] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other.
[0106] It should be understood that the size of the serial numbers of each step in the content of the invention and the implementation methods of the present invention does not absolutely mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the implementation methods of the present invention.
Claims
1. A method for automatically upgrading a relay protection device of different voltage levels, characterized in that: include: Analyze and summarize the upgrade steps of high-voltage, medium-voltage and low-voltage relay protection devices, and compress the upgrade steps; Analyze the physical characteristics and hardware differences of high-voltage, medium-voltage and low-voltage relay protection devices, and adapt different upgrade steps to communicate with high-voltage, medium-voltage and low-voltage relay protection devices respectively according to the physical characteristics and hardware differences; An operation interface for automatic upgrade of the whole machine of the relay protection device is set up, the operation interface information is planned and integrated, and a scheduling interface that can trace each upgrade step is added to the operation interface. The high-voltage, medium-voltage and low-voltage relay protection devices are uniformly upgraded through the operation interface and the scheduling interface.
2. The method for automatic upgrading of relay protection devices of different voltage levels according to claim 1 is characterized in that: The planning and integration of the operation interface information is as follows: Integrate the operation interface information logic into active input information and default configuration information; Among them, the actively input information includes device IP, device port, device type and login password; The default configuration information includes the device name, plug-in type, slave serial number, whether to encrypt, whether to delete temporary files, and whether to display component information.
3. The method for automatic upgrading of relay protection devices of different voltage levels according to claim 1 is characterized in that: The analysis summarizes the upgrade steps for high voltage, medium voltage and low voltage relay protection devices, including: The analysis and summary of low-voltage relay protection devices include 12 upgrade steps, which include: communication connection, opening the upgrade package, HMI plug-in BSP upgrade, restarting the device, CPU plug-in BSP upgrade, restarting the device, CPU application upgrade, HMI application upgrade, restarting the device, version synchronization, initializing the fixed value area and solidifying the fixed value area; The analysis and summary of high-voltage and medium-voltage relay protection devices include 15 upgrade steps, which include: communication connection, opening upgrade package, HMI plug-in BSP upgrade, restarting device, upgrading HMI application, BSP upgrade of CPU plug-in 1, restarting device, application upgrade of CPU plug-in 1, BSP upgrade of CPU plug-in 2, restarting device, application upgrade of CPU plug-in 2, restarting device, version synchronization, initializing set value area and solidifying set value area.
4. The method for automatic upgrading of relay protection devices of different voltage levels according to claim 1 is characterized in that: The step of compressing the upgrade step includes: The 12 upgrade steps of low-voltage relay protection devices are compressed into 3 upgrade steps, which are: communication connection, opening the upgrade package and whole device upgrade; The 15 upgrade steps of high and medium voltage relay protection devices are compressed into 3 upgrade steps, which are: communication connection, opening the upgrade package and upgrading the whole device; The whole machine upgrade is completed by setting a whole machine upgrade tool for automatically connecting, disconnecting and switching connections with different plug-ins of the relay protection device.
5. The method for automatic upgrading of relay protection and measurement devices of different voltage levels according to any one of claims 1 to 4, characterized in that: The communication adaptation of different upgrade steps with high voltage, medium voltage and low voltage relay protection devices respectively according to physical characteristics and hardware differences includes: Autonomously adapt different upgrade steps to different hardware structures in high-voltage, medium-voltage and low-voltage relay protection devices, and interact with each hardware structure for all upgrade service communication messages; Among them, the upgrade service includes communication Socket connection, file reading, file writing, upgrade verification, status update, device restart, version synchronization and fixed value area solidification.
6. The whole machine automatic upgrade system of relay protection and measurement devices of different voltage levels is characterized by: include: Automatic upgrade module, which analyzes and summarizes the upgrade steps of high-voltage, medium-voltage and low-voltage relay protection devices and compresses the upgrade steps; The communication agent module analyzes the physical characteristics and hardware differences of high-voltage, medium-voltage and low-voltage relay protection devices, and adapts different upgrade steps to the communication with high-voltage, medium-voltage and low-voltage relay protection devices according to the physical characteristics and hardware differences; The human-computer interaction module is provided with an operation interface for automatic upgrade of the whole machine of the relay protection device, plans and integrates the operation interface information, and adds a scheduling interface on the operation interface that can trace each upgrade step, so as to uniformly upgrade the high-voltage, medium-voltage and low-voltage relay protection devices through the operation interface and the scheduling interface.
7. An electronic device, characterized in that The invention comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, a method for automatically upgrading a whole-machine relay protection and measuring device of different voltage levels as described in any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for automatically upgrading the entire relay protection and measurement device of different voltage levels according to any one of claims 1 to 5 is implemented.