A power grid terminal upgrading method and device, a terminal device, and a storage medium
By calculating the upgrade evaluation value of the power grid terminal and automatically sending the upgrade data packet, the time-consuming and labor-intensive problem of power grid terminal upgrade is solved, and efficient and secure terminal upgrade management is achieved.
Patent Information
- Application Number
- CN202411402730.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2044-10-09
AI Technical Summary
In the existing technology, power grid terminal upgrades usually use manual on-site operations, which is time-consuming and labor-intensive, and it is difficult to efficiently handle a large number of widely distributed terminal devices.
By obtaining the version data, hardware version data and operation data of the power grid terminal before and after the upgrade, the upgrade evaluation value is calculated and compared with the preset threshold, the target upgrade terminal is identified and the upgrade data packet is automatically sent for the upgrade.
It improves the safety and efficiency of power grid terminal upgrades, reduces manual operation and maintenance, and can handle upgrade tasks for a large number of terminals at the same time.
Smart Images

Figure CN119336354B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic data processing technology, and in particular to a power grid terminal upgrading method, device, terminal equipment and storage medium. Background Art
[0002] With the rapid development of power systems and the advancement of smart grid construction, the power grid, as a vital component of the power system, is experiencing increasing automation and intelligence. Grid terminal equipment is key to achieving grid automation. They collect and transmit grid operational data, providing crucial support for the monitoring, control, and management of the power system. However, due to the wide variety and diverse functions of grid terminal equipment, coupled with continuous technological advancements and evolving user needs, regular upgrades and maintenance are required. Traditional grid terminal upgrade methods typically rely on manual on-site operations and single-unit maintenance, which is time-consuming and labor-intensive. Furthermore, the widespread distribution and large number of grid terminals make efficient upgrades difficult. Therefore, achieving rapid upgrades of grid terminals has become a pressing issue. Summary of the Invention
[0003] The embodiments of the present invention provide a power grid terminal upgrade method, apparatus, terminal device and storage medium, which can effectively solve the problem in the prior art that power grid terminal upgrades usually adopt manual on-site operation and manual single-unit operation and maintenance, which is time-consuming and labor-intensive.
[0004] An embodiment of the present invention provides a method for upgrading a power grid terminal, comprising:
[0005] Obtaining first upgrade version data, first hardware version data, first operation data, initial version data, upgrade data packet, second upgrade version data, second hardware version data, and second operation data corresponding to the upgrade data packet of each power grid terminal before the upgrade;
[0006] Calculating an upgrade evaluation value of each terminal in the power grid according to the first upgraded version data, the first hardware version data, the first operating data, the initial version data, the second upgraded version data, the second hardware version data, and the second operating data;
[0007] Comparing the upgrade evaluation value with a preset upgrade evaluation threshold, and selecting the power grid terminal corresponding to the upgrade evaluation value being less than the preset upgrade evaluation threshold as the target upgrade terminal;
[0008] The upgrade data packet corresponding to the target upgrade terminal is sent to the corresponding target upgrade terminal, so that the target upgrade terminal is upgraded according to the corresponding upgrade data packet.
[0009] Furthermore, calculating an upgrade evaluation value of each terminal of the power grid based on the first upgraded version data, the first hardware version data, the first operating data, the initial version data, the second upgraded version data, the second hardware version data, and the second operating data includes:
[0010] Inputting the first upgrade version data, the first hardware version data, the initial version data, the second upgrade version data, and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each power grid terminal and obtain an upgrade difficulty score for each power grid terminal;
[0011] Inputting the first operating data and the second operating data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal in the power grid, and obtaining an upgrade impact degree score for each terminal in the power grid;
[0012] An upgrade evaluation value of each terminal in the power grid is calculated based on the upgrade difficulty score and the upgrade impact score.
[0013] Furthermore, the upgrade difficulty analysis model includes: a first sub-model for calculating the upgrade level, a second sub-model for calculating the upgrade hardware matching value, and a third sub-model for calculating the upgrade difficulty score;
[0014] Inputting the first upgrade version data, the first hardware version data, the initial version data, the second upgrade version data, and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each terminal in the power grid, and obtaining an upgrade difficulty score for each terminal in the power grid, including:
[0015] Inputting the first upgraded version data, the second upgraded version data, and the initial version data into the first sub-model to calculate the upgrade level, and obtaining the upgrade level value of each terminal of the power grid;
[0016] Inputting the first hardware version data and the second hardware version data into a second sub-model to calculate an upgraded hardware matching value, thereby obtaining an upgraded hardware matching value for each terminal of the power grid;
[0017] The upgrade level value and the upgrade hardware matching value are input into the third sub-model to calculate the upgrade difficulty of each terminal in the power grid, and obtain the upgrade difficulty score of each terminal in the power grid.
[0018] Furthermore, the first operating data includes: a first operating data type, a first operating data maximum value, and a first operating data minimum value;
[0019] The second operating data includes: a second operating data type, a second operating data maximum value, and a second operating data minimum value;
[0020] Inputting the first operating data and the second operating data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal in the power grid, and obtaining the upgrade impact degree score of each terminal in the power grid, including:
[0021] Inputting the first operating data and the second operating data into a preset upgrade impact degree analysis model to obtain the number of operating data types of the first operating data and the second operating data;
[0022] An upgrade impact score of each terminal in the power grid is calculated based on the number of operating data types, the maximum value of the first operating data, the minimum value of the first operating data, the maximum value of the second operating data, and the minimum value of the second operating data.
[0023] Furthermore, the upgrade evaluation value of each terminal in the power grid is calculated using the following formula:
[0024] YC=λNd + (1-λ)Yx
[0025] Among them, YC represents the upgrade evaluation value; λ represents the preset upgrade difficulty ratio; Nd represents the upgrade difficulty score; and Yx represents the upgrade impact score.
[0026] Furthermore, it also includes:
[0027] The power grid terminals corresponding to the upgrade evaluation values greater than or equal to the preset upgrade evaluation threshold are regarded as abnormal upgrade terminals;
[0028] Generate an alarm message based on the upgrade evaluation value corresponding to the abnormal upgrade terminal, and return the alarm message to the user interface.
[0029] As an improvement to the above solution, another embodiment of the present invention provides a power grid terminal upgrading device, including:
[0030] An upgrade data acquisition module is used to obtain the first upgrade version data, first hardware version data, first operation data, initial version data, upgrade data packet, and the second upgrade version data, second hardware version data, and second operation data corresponding to the upgrade data packet of each power grid terminal before the upgrade;
[0031] an upgrade evaluation value calculation module, configured to calculate an upgrade evaluation value of each terminal of the power grid based on the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the second upgrade version data, the second hardware version data, and the second operation data;
[0032] a target terminal determination module, configured to compare the upgrade evaluation value with a preset upgrade evaluation threshold, and select a power grid terminal corresponding to an upgrade evaluation value smaller than the preset upgrade evaluation threshold as a target upgrade terminal;
[0033] The terminal upgrade module is used to send an upgrade data packet corresponding to a target upgrade terminal to the corresponding target upgrade terminal, so that the target upgrade terminal is upgraded according to the corresponding upgrade data packet.
[0034] Furthermore, the upgrade evaluation value calculation module is configured to calculate an upgrade evaluation value of each terminal of the power grid based on the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the second upgrade version data, the second hardware version data, and the second operation data;
[0035] Calculating an upgrade evaluation value of each terminal of the power grid according to the first upgraded version data, the first hardware version data, the first operating data, the initial version data, the second upgraded version data, the second hardware version data, and the second operating data includes:
[0036] Inputting the first upgrade version data, the first hardware version data, the initial version data, the second upgrade version data, and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each power grid terminal and obtain an upgrade difficulty score for each power grid terminal;
[0037] Inputting the first operating data and the second operating data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal in the power grid, and obtaining an upgrade impact degree score for each terminal in the power grid;
[0038] An upgrade evaluation value of each terminal in the power grid is calculated based on the upgrade difficulty score and the upgrade impact score.
[0039] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a power grid terminal upgrade method as described in the above embodiment is implemented.
[0040] Another embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a power grid terminal upgrade method described in the above embodiment.
[0041] By implementing the present invention, at least the following beneficial effects are achieved:
[0042] The present invention provides a power grid terminal upgrade method, device, terminal equipment and storage medium. The method can obtain the first upgrade version data, first hardware version data, first operation data, initial version data, upgrade data packet, second upgrade version data corresponding to the upgrade data packet, second hardware version data and second operation data of each power grid terminal before the upgrade; then calculate the upgrade evaluation value of each power grid terminal based on the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the second upgrade version data, the second hardware version data and the second operation data; compare the upgrade evaluation value with a preset upgrade evaluation threshold, and use the power grid terminal corresponding to the upgrade evaluation value less than the preset upgrade evaluation threshold as the target upgrade terminal; finally, send the upgrade data packet corresponding to the target upgrade terminal to the corresponding target upgrade terminal, so that the target upgrade terminal is upgraded according to the corresponding upgrade data packet. By comprehensively analyzing the upgrade version data, hardware version data, and operation data before and after the upgrade, an upgrade assessment value is calculated, and the upgrade assessment value is compared with the preset upgrade assessment threshold to determine the upgrade risk of each terminal in the power grid, thereby improving the security of the upgrade of each terminal in the power grid. In addition, the upgrade assessment value of each terminal in the power grid is calculated uniformly, which can simultaneously handle the upgrade tasks of a large number of terminals that are widely distributed in the power grid, reduce manual operation and maintenance operations, determine the target upgrade terminals that meet the upgrade assessment threshold, and improve the efficiency of power grid terminal upgrade operation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 This is a flow chart of a method for upgrading a power grid terminal provided by one embodiment of the present invention;
[0044] Figure 2 It is a structural diagram of a power grid terminal upgrading device provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0046] See also Figure 1 , is a flow chart of a method for upgrading a power grid terminal provided by an embodiment of the present invention, comprising:
[0047] S1. Obtain the first upgrade version data, first hardware version data, first operation data, initial version data, upgrade data packet, second upgrade version data, second hardware version data, and second operation data corresponding to the upgrade data packet of each power grid terminal before the upgrade;
[0048] S2. Calculate an upgrade evaluation value for each terminal in the power grid based on the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the second upgrade version data, the second hardware version data, and the second operation data;
[0049] S3. Compare the upgrade evaluation value with a preset upgrade evaluation threshold, and select the power grid terminal corresponding to the upgrade evaluation value being less than the preset upgrade evaluation threshold as the target upgrade terminal;
[0050] S4. Sending the upgrade data packet corresponding to the target upgrade terminal to the corresponding target upgrade terminal, so that the target upgrade terminal is upgraded according to the corresponding upgrade data packet.
[0051] Specifically, the first upgrade version data represents the upgrade version data of each power grid terminal before the upgrade; the first hardware data represents the hardware version data of each power grid terminal before the upgrade; the first operation data represents the operation data of each power grid terminal before the upgrade, such as the terminal operation voltage and terminal operation current; the initial version data represents the version data used by the power grid terminal at the beginning (the power grid terminal has been upgraded before this upgrade, so the version data that has not been upgraded at the beginning can be regarded as the initial version data); the upgrade data packet represents the upgrade data packet required for this upgrade; the second upgrade version data represents the upgrade version data of the terminal after the upgrade using the upgrade data packet, and the upgrade data packet contains the upgraded upgrade version data (second upgrade version data), the upgraded hardware version data (second hardware version data), and the upgraded operation data (second operation data). The upgrade evaluation value indicates whether each power grid terminal is suitable for this upgrade. Because the online upgrade of the power grid terminal is to upgrade many hardware at the same time, some terminal devices are not suitable for this upgrade. Forcing the upgrade will cause damage to the equipment. The upgrade evaluation value can identify terminals that are not suitable for this upgrade and directly perform online upgrades on terminals that meet the upgrade evaluation value conditions, thereby improving the security of the power grid terminal upgrade.
[0052] In a preferred embodiment of the present application, first upgrade version data, first hardware version data, first running data, initial version data, upgrade data packet, second upgrade version data corresponding to the upgrade data packet, second hardware version data and second running data of each terminal of the power grid before upgrading are obtained; then, an upgrade evaluation value of each terminal of the power grid is calculated according to the first upgrade version data, the first hardware version data, the first running data, the initial version data, the second upgrade version data, the second hardware version data and the second running data; then, the upgrade evaluation value is compared with a preset upgrade evaluation threshold, and the terminal of the power grid corresponding to the upgrade evaluation value smaller than the preset upgrade evaluation threshold is taken as a target upgrade terminal; finally, the upgrade data packet corresponding to the target upgrade terminal is sent to the corresponding target upgrade terminal, so that the target upgrade terminal is upgraded according to the corresponding upgrade data packet. The terminals not meeting the upgrade condition are quickly found out, the terminals meeting the upgrade condition are upgraded at the same time, manual single-table operation and maintenance is reduced, and the safety and efficiency of the upgrading process are improved.
[0053] In another preferred embodiment of the present application, each software upgrade has a version, for example, the software is upgraded from version 1.0 to version 2.0, and the related version upgrade data and hardware version data can be obtained through the following code:
[0054]
[0055]
[0056]
[0057] Preferably, the upgrade evaluation value of each terminal of the power grid is calculated according to the first upgrade version data, the first hardware version data, the first running data, the initial version data, the second upgrade version data, the second hardware version data and the second running data, including:
[0058] The first upgrade version data, the first hardware version data, the initial version data, the second upgrade version data and the second hardware version data are input into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each terminal of the power grid, and an upgrade difficulty score of each terminal of the power grid is obtained;
[0059] The first running data and the second running data are input into a preset upgrade influence degree analysis model to calculate the upgrade influence degree of each terminal of the power grid, and an upgrade influence degree score of each terminal of the power grid is obtained;
[0060] The upgrade evaluation value of each terminal of the power grid is calculated according to the upgrade difficulty score and the upgrade influence degree score.
[0061] In a preferred embodiment of the present invention, a preset upgrade difficulty analysis model can assess the difficulty of upgrading power grid terminals, obtaining an upgrade difficulty score; a preset upgrade impact analysis model can assess the impact of the upgrade on power grid terminals, obtaining an upgrade impact score. First, the first upgrade version data, the first hardware version data, the initial version data, the second upgrade version data, and the second hardware version data are input into the preset upgrade difficulty analysis model to calculate the upgrade difficulty of each power grid terminal, obtaining an upgrade difficulty score for each power grid terminal. Then, the first operating data and the second operating data are input into the preset upgrade impact analysis model to calculate the upgrade impact of each power grid terminal, obtaining an upgrade impact score for each power grid terminal. Finally, based on the upgrade difficulty score and the upgrade impact score, an upgrade assessment value for each power grid terminal is calculated. By assessing the upgrade impact, risks and issues that may arise during the upgrade process can be predicted and reduced, ensuring the stability and security of the power grid. By comprehensively considering the upgrade difficulty and upgrade impact, the upgrade needs and priorities of each terminal can be more comprehensively assessed, ensuring efficient resource utilization.
[0062] Specifically, the upgrade difficulty analysis model includes: a first sub-model for calculating the upgrade level, a second sub-model for calculating the upgrade hardware matching value, and a third sub-model for calculating the upgrade difficulty score;
[0063] Inputting the first upgrade version data, the first hardware version data, the initial version data, the second upgrade version data, and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each terminal in the power grid, and obtaining an upgrade difficulty score for each terminal in the power grid, including:
[0064] Inputting the first upgraded version data, the second upgraded version data, and the initial version data into the first sub-model to calculate the upgrade level, and obtaining the upgrade level value of each terminal of the power grid;
[0065] Inputting the first hardware version data and the second hardware version data into a second sub-model to calculate an upgraded hardware matching value, thereby obtaining an upgraded hardware matching value for each terminal of the power grid;
[0066] The upgrade level value and the upgrade hardware matching value are input into the third sub-model to calculate the upgrade difficulty of each terminal in the power grid, and obtain the upgrade difficulty score of each terminal in the power grid.
[0067] Specifically, the first sub-model is used to calculate the upgrade level required for the terminal, the second sub-model is used to calculate the upgrade hardware matching degree and analyze whether the terminal hardware supports the upgrade, and the third sub-model is used to calculate the upgrade difficulty score.
[0068] The first upgraded version data, the second upgraded version data, and the initial version data are input into the first sub-model to calculate the upgrade level, and obtain the upgrade level value of each terminal of the power grid; the formula corresponding to the first sub-model is the upgrade level calculation formula: Where k is the upgrade level value, mq is the version level of the second upgraded version data, mr is the version level of the first upgraded version data, and mb is the version level of the initial version data;
[0069] The first hardware version data and the second hardware version data are input into the second sub-model to calculate the upgraded hardware matching value, thereby obtaining the upgraded hardware matching value of each terminal in the power grid. The formula corresponding to the second sub-model is the upgraded hardware matching value calculation formula: Where P is the upgraded hardware matching value, m() is the number of set elements in the brackets, c1 is the set consisting of the first hardware version data, c2 is the set consisting of the second hardware version data, ∩ is the intersection of the sets, and ∪ is the union of the sets;
[0070] The upgrade level value and the upgrade hardware matching value are input into the third sub-model to calculate the upgrade difficulty of each terminal in the power grid, and obtain the upgrade difficulty score of each terminal in the power grid; the formula corresponding to the third sub-model is the upgrade difficulty calculation formula: Among them, Nd is the upgrade difficulty score; exp() is the power of the natural constant e.
[0071] Preferably, the first operating data includes: a first operating data type, a first operating data maximum value, and a first operating data minimum value;
[0072] The second operating data includes: a second operating data type, a second operating data maximum value, and a second operating data minimum value;
[0073] Inputting the first operating data and the second operating data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal in the power grid, and obtaining the upgrade impact degree score of each terminal in the power grid, including:
[0074] Inputting the first operating data and the second operating data into a preset upgrade impact degree analysis model to obtain the number of operating data types of the first operating data and the second operating data;
[0075] An upgrade impact score of each terminal in the power grid is calculated based on the number of operating data types, the maximum value of the first operating data, the minimum value of the first operating data, the maximum value of the second operating data, and the minimum value of the second operating data.
[0076] In a preferred embodiment of the present application, the first operation data is the voltage, current and other data that can reflect the safe operation of the safety module in the terminal before upgrading; the second operation data is the voltage, current and other data that can reflect the safe operation of the safety module in the terminal after upgrading. The first operation data and the second operation data are input into a preset upgrading influence degree analysis model to obtain the operation data category number of the first operation data and the second operation data; according to the operation data category number, the maximum value of the first operation data, the minimum value of the first operation data, the maximum value of the second operation data and the minimum value of the second operation data, the upgrading influence degree score of each terminal of the power grid is calculated. The upgrading influence degree score is calculated by the following formula: wherein Yx is the upgrading influence degree score, N is the operation data category number, a is a preset maximum value proportion coefficient, kjqz is the maximum value of the jth second operation data standard range after upgrading, kjhz is the minimum value of the jth second operation data standard range after upgrading, kjqa is the maximum value of the jth first operation data standard range before upgrading, and kjha is the minimum value of the jth first operation data standard range before upgrading.
[0077] Specifically, the upgrading evaluation value of each terminal of the power grid is calculated by the following formula:
[0078] YC=λNd + (1-λ)Yx
[0079] wherein YC represents the upgrading evaluation value; λ represents a preset upgrading difficulty proportion coefficient; Nd represents the upgrading difficulty score; and Yx represents the upgrading influence degree score.
[0080] In a preferred embodiment of the present application, the preset maximum value proportion coefficient, the preset upgrading difficulty proportion coefficient and the preset upgrading evaluation threshold value can be preset. For example, 500 groups of version data and operation data of each terminal of the power grid before upgrading are obtained, and the version data and operation data after upgrading of the upgrading data package are obtained, the version data and operation data after upgrading of the upgrading data package are input into the upgrading abnormality analysis value calculation formula to calculate the upgrading abnormality analysis value, the upgrading abnormality analysis value and the judgment result are input into the fitting software, and the maximum value proportion coefficient, the upgrading difficulty proportion coefficient and the upgrading evaluation threshold value that meet the maximum judgment accuracy are output.
[0081] By implementing this embodiment, the first upgrade version data, first hardware version data, first operation data, initial version data, upgrade data packet, second upgrade version data corresponding to the upgrade data packet, second hardware version data and second operation data of each terminal in the power grid are obtained before the upgrade; then, based on the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the second upgrade version data, the second hardware version data and the second operation data, the upgrade evaluation value of each terminal in the power grid is calculated; the upgrade evaluation value is compared with a preset upgrade evaluation threshold, and the power grid terminal corresponding to the upgrade evaluation value less than the preset upgrade evaluation threshold is used as the target upgrade terminal; finally, the upgrade data packet corresponding to the target upgrade terminal is sent to the corresponding target upgrade terminal, so that the target upgrade terminal is upgraded according to the corresponding upgrade data packet. By comprehensively analyzing the upgrade version data, hardware version data, and operation data before and after the upgrade, an upgrade assessment value is calculated, and the upgrade assessment value is compared with the preset upgrade assessment threshold to determine the upgrade risk of each terminal in the power grid, thereby improving the security of the upgrade of each terminal in the power grid. In addition, the upgrade assessment value of each terminal in the power grid is calculated uniformly, which can simultaneously handle the upgrade tasks of a large number of terminals that are widely distributed in the power grid, reduce manual operation and maintenance operations, determine the target upgrade terminals that meet the upgrade assessment threshold, and improve the efficiency of power grid terminal upgrade operation and maintenance.
[0082] See also Figure 2 , is a schematic structural diagram of a power grid terminal upgrading device provided by one embodiment of the present invention, comprising:
[0083] An upgrade data acquisition module is used to obtain the first upgrade version data, first hardware version data, first operation data, initial version data, upgrade data packet, and the second upgrade version data, second hardware version data, and second operation data corresponding to the upgrade data packet of each power grid terminal before the upgrade;
[0084] an upgrade evaluation value calculation module, configured to calculate an upgrade evaluation value of each terminal of the power grid based on the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the second upgrade version data, the second hardware version data, and the second operation data;
[0085] a target terminal determination module, configured to compare the upgrade evaluation value with a preset upgrade evaluation threshold, and select a power grid terminal corresponding to an upgrade evaluation value smaller than the preset upgrade evaluation threshold as a target upgrade terminal;
[0086] The terminal upgrade module is used to send an upgrade data packet corresponding to a target upgrade terminal to the corresponding target upgrade terminal, so that the target upgrade terminal is upgraded according to the corresponding upgrade data packet.
[0087] Specifically, the upgrade evaluation value calculation module is configured to calculate an upgrade evaluation value of each terminal of the power grid according to the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the second upgrade version data, the second hardware version data, and the second operation data.
[0088] The calculation of the upgrade evaluation value of each terminal of the power grid according to the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the second upgrade version data, the second hardware version data, and the second operation data includes:
[0089] The first upgrade version data, the first hardware version data, the initial version data, the second upgrade version data, and the second hardware version data are input into a preset upgrade difficulty analysis model to calculate an upgrade difficulty of each terminal of the power grid, and an upgrade difficulty score of each terminal of the power grid is obtained.
[0090] The first operation data and the second operation data are input into a preset upgrade influence degree analysis model to calculate an upgrade influence degree of each terminal of the power grid, and an upgrade influence degree score of each terminal of the power grid is obtained.
[0091] The upgrade evaluation value of each terminal of the power grid is calculated according to the upgrade difficulty score and the upgrade influence degree score.
[0092] The present invention provides a power grid terminal upgrading device, which obtains the first upgrade version data, first hardware version data, first operation data, initial version data, upgrade data packet, second upgrade version data corresponding to the upgrade data packet, second hardware version data and second operation data of each power grid terminal before the upgrade according to the upgrade data acquisition module; in the upgrade evaluation value calculation module, the upgrade evaluation value of each power grid terminal is calculated according to the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the second upgrade version data, the second hardware version data and the second operation data; through the target terminal determination module, the upgrade evaluation value is compared with a preset upgrade evaluation threshold, and the power grid terminal corresponding to the upgrade evaluation value less than the preset upgrade evaluation threshold is used as the target upgrade terminal; finally, in the terminal upgrade module, the upgrade data packet corresponding to the target upgrade terminal is sent to the corresponding target upgrade terminal, so that the target upgrade terminal is upgraded according to the corresponding upgrade data packet. By comprehensively analyzing the upgrade version data, hardware version data, and operation data before and after the upgrade, an upgrade assessment value is calculated, and the upgrade assessment value is compared with the preset upgrade assessment threshold to determine the upgrade risk of each terminal in the power grid, thereby improving the security of the upgrade of each terminal in the power grid. In addition, the upgrade assessment value of each terminal in the power grid is calculated uniformly, which can simultaneously handle the upgrade tasks of a large number of terminals that are widely distributed in the power grid, reduce manual operation and maintenance operations, determine the target upgrade terminals that meet the upgrade assessment threshold, and improve the efficiency of power grid terminal upgrade operation and maintenance.
[0093] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art can understand and implement the present invention without inventive effort.
[0094] Those skilled in the art can clearly understand that, for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0095] Another embodiment of the present application also provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor implements the power grid terminal upgrading method as described in the above embodiment when executing the computer program. The terminal device can be a desktop computer, a notebook computer, a palm computer, a cloud server, and the like. The terminal device can include, but is not limited to, a processor and a memory.
[0096] The processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor and the like, and the processor is a control center of the terminal device, and connects all parts of the terminal device through various interfaces and lines.
[0097] The memory can be used to store the computer program, and the processor realizes various functions of the terminal device by running or executing the computer program stored in the memory and calling data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required by a function, and the like; and the data storage area can store data created according to the use of the terminal device, and the like. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, for example, a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state memory devices.
[0098] Another embodiment of the present application provides a computer readable storage medium, comprising a stored computer program, wherein the computer readable storage medium controls the device where the computer readable storage medium is located to execute the power grid terminal upgrading method as described in the above embodiment when the computer program is running.
[0099] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. The computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0100] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for upgrading a power grid terminal, characterized in that: include: Obtaining first upgrade version data, first hardware version data, first operation data, initial version data, upgrade data packet, second upgrade version data, second hardware version data, and second operation data corresponding to the upgrade data packet of each power grid terminal before the upgrade; Calculating an upgrade evaluation value of each terminal in the power grid according to the first upgraded version data, the first hardware version data, the first operating data, the initial version data, the second upgraded version data, the second hardware version data, and the second operating data; Comparing the upgrade evaluation value with a preset upgrade evaluation threshold, and selecting the power grid terminal corresponding to the upgrade evaluation value being less than the preset upgrade evaluation threshold as the target upgrade terminal; Sending the upgrade data packet corresponding to the target upgrade terminal to the corresponding target upgrade terminal, so that the target upgrade terminal is upgraded according to the corresponding upgrade data packet; Calculating an upgrade evaluation value of each terminal of the power grid according to the first upgraded version data, the first hardware version data, the first operating data, the initial version data, the second upgraded version data, the second hardware version data, and the second operating data includes: Inputting the first upgrade version data, the first hardware version data, the initial version data, the second upgrade version data, and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each power grid terminal and obtain an upgrade difficulty score for each power grid terminal; Inputting the first operating data and the second operating data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal in the power grid, and obtaining an upgrade impact degree score for each terminal in the power grid; An upgrade evaluation value of each terminal in the power grid is calculated based on the upgrade difficulty score and the upgrade impact score.
2. A method for upgrading a power grid terminal according to claim 1, characterized in that: The upgrade difficulty analysis model includes: a first sub-model for calculating the upgrade level, a second sub-model for calculating the upgrade hardware matching value, and a third sub-model for calculating the upgrade difficulty score; Inputting the first upgrade version data, the first hardware version data, the initial version data, the second upgrade version data, and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each power grid terminal and obtain an upgrade difficulty score for each power grid terminal, including: Inputting the first upgraded version data, the second upgraded version data, and the initial version data into the first sub-model to calculate the upgrade level, and obtaining the upgrade level value of each terminal of the power grid; Inputting the first hardware version data and the second hardware version data into a second sub-model to calculate an upgraded hardware matching value, thereby obtaining an upgraded hardware matching value for each terminal of the power grid; The upgrade level value and the upgrade hardware matching value are input into the third sub-model to calculate the upgrade difficulty of each terminal in the power grid, and obtain the upgrade difficulty score of each terminal in the power grid.
3. A method for upgrading a power grid terminal according to claim 1, characterized in that: The first operating data includes: a first operating data type, a first operating data maximum value, and a first operating data minimum value; The second operating data includes: a second operating data type, a second operating data maximum value, and a second operating data minimum value; Inputting the first operating data and the second operating data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal in the power grid, and obtaining the upgrade impact degree score of each terminal in the power grid, including: Inputting the first operating data and the second operating data into a preset upgrade impact degree analysis model to obtain the number of operating data types of the first operating data and the second operating data; An upgrade impact score of each terminal in the power grid is calculated based on the number of operating data types, the maximum value of the first operating data, the minimum value of the first operating data, the maximum value of the second operating data, and the minimum value of the second operating data.
4. A method for upgrading a power grid terminal according to claim 1, characterized in that: The upgrade assessment value of each terminal in the power grid is calculated using the following formula: YC=λNd + (1-λ)Yx Among them, YC represents the upgrade evaluation value; λ represents the preset upgrade difficulty ratio; Nd represents the upgrade difficulty score; and Yx represents the upgrade impact score.
5. A method for upgrading a power grid terminal according to claim 1, characterized in that: Also includes: The power grid terminals corresponding to the upgrade evaluation values greater than or equal to the preset upgrade evaluation threshold are regarded as abnormal upgrade terminals; Generate an alarm message based on the upgrade evaluation value corresponding to the abnormal upgrade terminal, and return the alarm message to the user interface.
6. A power grid terminal upgrading device, characterized in that: include: An upgrade data acquisition module is used to obtain the first upgrade version data, first hardware version data, first operation data, initial version data, upgrade data packet, and the second upgrade version data, second hardware version data, and second operation data corresponding to the upgrade data packet of each power grid terminal before the upgrade; an upgrade evaluation value calculation module, configured to calculate an upgrade evaluation value of each terminal of the power grid based on the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the second upgrade version data, the second hardware version data, and the second operation data; a target terminal determination module, configured to compare the upgrade evaluation value with a preset upgrade evaluation threshold, and select a power grid terminal corresponding to an upgrade evaluation value smaller than the preset upgrade evaluation threshold as a target upgrade terminal; The terminal upgrade module is used to send the upgrade data packet corresponding to the target upgrade terminal to the corresponding target upgrade terminal, so that the target upgrade terminal is upgraded according to the corresponding upgrade data packet; The upgrade evaluation value calculation module is configured to calculate an upgrade evaluation value of each terminal of the power grid based on the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the second upgrade version data, the second hardware version data, and the second operation data, including: Inputting the first upgrade version data, the first hardware version data, the initial version data, the second upgrade version data, and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each power grid terminal and obtain an upgrade difficulty score for each power grid terminal; Inputting the first operating data and the second operating data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal in the power grid, and obtaining an upgrade impact degree score for each terminal in the power grid; An upgrade evaluation value of each terminal in the power grid is calculated based on the upgrade difficulty score and the upgrade impact score.
7. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a grid terminal upgrading method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the power grid terminal upgrading method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Equipment version updating risk assessment method and device based on large model, electronic equipment, storage medium and computer program product
CN117952426A