Power grid terminal upgrading method and device, terminal equipment and storage medium
By calculating the upgrade evaluation value of the power grid terminal and automatically sending upgrade data packets, the time-consuming and labor-intensive problem of power grid terminal upgrade is solved, and efficient and safe terminal upgrade is achieved.
Patent Information
- Application Number
- CN202411402730.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-10-09
AI Technical Summary
In the prior art, power grid terminal upgrades usually use manual on-site operation, which is time-consuming and labor-intensive. Due to the wide distribution of terminals and large number, it is difficult to carry out efficiently.
By obtaining the data of each terminal in the power grid before the upgrade, the upgrade evaluation value is calculated, and based on the comparison between the evaluation value and the preset threshold, the target upgrade terminal is determined, and the upgrade data package is sent for automatic upgrade.
It realizes rapid upgrade of power grid terminals, reduces manual operation and maintenance operations, improves the safety and efficiency of upgrades, and can handle multiple widely distributed terminal upgrade tasks at the same time.
Smart Images

Figure CN119336354A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic data processing, 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 an important part of the power system, has continuously improved its automation and intelligence level. Grid terminal equipment is the key equipment for realizing grid automation. They are responsible for collecting and transmitting the operation data of the power grid, providing important support for the monitoring, control and management of the power system. However, due to the wide variety and different functions of grid terminal equipment, and with the continuous advancement of technology and changes in user needs, grid terminal equipment needs to be regularly upgraded and maintained. Traditional grid terminal upgrade methods usually use manual on-site operations, and are manual single-unit operation and maintenance methods, which is time-consuming and labor-intensive. At the same time, due to the wide distribution and large number of grid terminals, it is difficult to carry out the upgrade work efficiently. Therefore, how to achieve rapid upgrades of grid terminals has become an urgent problem to be solved. Summary of the invention
[0003] The embodiments of the present invention provide a power grid terminal upgrade method, apparatus, terminal equipment and storage medium, which can effectively solve the problem that power grid terminal upgrade in the prior art usually adopts manual on-site operation and is a manual single-unit operation and maintenance method, 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 before upgrading each terminal of the power grid;
[0006] Calculate the upgrade evaluation value of each terminal of the power grid according to the first upgraded version data, the first hardware version data, the first operation data, the initial version data, the second upgraded version data, the second hardware version data and the second operation data;
[0007] Comparing the upgrade evaluation value with a preset upgrade evaluation threshold, and taking 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] Further, the upgrade evaluation value of each terminal of the power grid is calculated according to the first upgraded version data, the first hardware version data, the first operation data, the initial version data, the second upgraded version data, the second hardware version data and the second operation data, including:
[0010] Inputting the first upgraded version data, the first hardware version data, the initial version data, the second upgraded version data and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each terminal of the power grid, and obtaining an upgrade difficulty score of each terminal of the power grid;
[0011] Inputting the first operation data and the second operation data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal of the power grid, and obtaining the upgrade impact degree score of each terminal of 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] Further, 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 of the power grid, and obtaining the upgrade difficulty score of each terminal of 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 the second sub-model to calculate the upgraded hardware matching value, and obtaining the upgraded hardware matching value of 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] Further, the first operation data includes: a first operation data type, a first operation data maximum value, and a first operation data minimum value;
[0019] The second operation data includes: a second operation data type, a second operation data maximum value, and a second operation data minimum value;
[0020] Inputting the first operation data and the second operation data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal of the power grid, and obtaining the upgrade impact degree score of each terminal of the power grid, includes:
[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] According to 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, the upgrade impact score of each terminal in the power grid is calculated.
[0023] Furthermore, the upgrade evaluation value of each terminal of the power grid is calculated by 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 alarm information according to the upgrade evaluation value corresponding to the abnormal upgrade terminal, and return the alarm information to the user interface.
[0029] As an improvement of 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 acquire the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the upgrade data packet, the second upgrade version data, the second hardware version data and the second operation data corresponding to the upgrade data packet before the upgrade of each power grid terminal;
[0031] an upgrade evaluation value calculation module, 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;
[0032] A target terminal determination module, used to compare the upgrade evaluation value with a preset upgrade evaluation threshold, and to take the power grid terminal corresponding to the upgrade evaluation value being less than the preset upgrade evaluation threshold as the target upgrade terminal;
[0033] The terminal upgrade module is used to send an upgrade data packet corresponding to a target upgrade terminal to a corresponding target upgrade terminal, so that the target upgrade terminal is upgraded according to the corresponding upgrade data packet.
[0034] Further, the upgrade evaluation value calculation module is used to calculate 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;
[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 operation data, the initial version data, the second upgraded version data, the second hardware version data, and the second operation data includes:
[0036] Inputting the first upgraded version data, the first hardware version data, the initial version data, the second upgraded version data and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each terminal of the power grid, and obtaining an upgrade difficulty score of each terminal of the power grid;
[0037] Inputting the first operation data and the second operation data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal of the power grid, and obtaining the upgrade impact degree score of each terminal of 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, and 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, wherein 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 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; compare the upgrade evaluation value with a preset upgrade evaluation threshold, and take 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, the upgrade evaluation value is calculated, and the upgrade evaluation value is compared with the preset upgrade evaluation threshold to determine the upgrade risk of each terminal in the power grid, improve the security of the upgrade of each terminal in the power grid, and uniformly calculate the upgrade evaluation value of each terminal in the power grid. It 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 evaluation threshold, and improve the efficiency of power grid terminal upgrade operation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a flowchart of a method for upgrading a power grid terminal provided by an embodiment of the present invention;
[0044] Figure 2 It is a structural schematic diagram of a power grid terminal upgrading device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are 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, the first hardware version data, the first operation data, the initial version data, the upgrade data packet, the second upgrade version data, the second hardware version data and the second operation data corresponding to the upgrade data packet of each power grid terminal before the upgrade;
[0048] S2. Calculate 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 operation data, the initial version data, the second upgraded version data, the second hardware version data and the second operation data;
[0049] S3, comparing the upgrade evaluation value with a preset upgrade evaluation threshold, and taking 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 upgraded version data indicates the upgraded version data of each power grid terminal before upgrading; the first hardware data indicates the hardware version data of each power grid terminal before upgrading; the first operation data indicates the operation data of each power grid terminal before upgrading, such as the terminal operation voltage and terminal operation current; the initial version data indicates 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 indicates the upgrade data packet required for this upgrade; the second upgraded version data indicates the upgraded version data of the terminal after upgrading using the upgrade data packet, and the upgrade data packet contains the upgraded version data after upgrading (the second upgraded version data), the upgraded hardware version data (the second hardware version data) and the upgraded operation data (the 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 together, and some terminal devices are not suitable for this upgrade. Forced upgrade will cause equipment damage. The upgrade evaluation value can find out the terminals that are not suitable for this upgrade, and directly upgrade the terminals that meet the upgrade evaluation value online, thereby improving the security of the power grid terminal upgrade.
[0052] In a preferred embodiment of the present invention, the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the upgrade data packet, the second upgrade version data, the second hardware version data and the second operation data corresponding to the upgrade data packet of each power grid terminal before the upgrade are first obtained; then, 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; then, the upgrade evaluation value is compared with the 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. Terminals that do not meet the upgrade conditions are quickly found, and terminals that meet the upgrade conditions are upgraded at the same time, reducing manual single-station operation and maintenance operations, and improving the safety and efficiency of the upgrade process.
[0053] In another preferred embodiment of the present invention, each software upgrade has a version, for example, the software is upgraded from version 1.0 to version 2.0, and the relevant version upgrade data and hardware version data can be obtained through the following code:
[0054]
[0055]
[0056]
[0057] Preferably, calculating the upgrade evaluation value of each terminal of the power grid according to the first upgraded version data, the first hardware version data, the first operation data, the initial version data, the second upgraded version data, the second hardware version data and the second operation data includes:
[0058] Inputting the first upgraded version data, the first hardware version data, the initial version data, the second upgraded version data and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each terminal of the power grid, and obtaining an upgrade difficulty score of each terminal of the power grid;
[0059] Inputting the first operation data and the second operation data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal of the power grid, and obtaining the upgrade impact degree score of each terminal of the power grid;
[0060] An upgrade evaluation value of each terminal in the power grid is calculated based on the upgrade difficulty score and the upgrade impact score.
[0061] In a preferred embodiment of the present invention, a preset upgrade difficulty analysis model can evaluate the difficulty of upgrading the power grid terminal and obtain an upgrade difficulty score; a preset upgrade impact degree analysis model can evaluate the impact degree of the upgrade of the power grid terminal and obtain an upgrade degree 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 and obtain the upgrade difficulty score of each power grid terminal; then the first operation data and the second operation data are input into the preset upgrade impact degree analysis model to calculate the upgrade impact degree of each power grid terminal and obtain the upgrade impact degree score of each power grid terminal; finally, according to the upgrade difficulty score and the upgrade impact degree score, the upgrade evaluation value of each power grid terminal is calculated. By evaluating the upgrade impact degree, the risks and problems that may occur during the upgrade process can be predicted and reduced to ensure the stability and security of the power grid; by comprehensively considering the upgrade difficulty and the upgrade impact degree, the upgrade requirements and priorities of each terminal can be more comprehensively evaluated to ensure the effective use of resources.
[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 of the power grid, and obtaining the upgrade difficulty score of each terminal of 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 the second sub-model to calculate the upgraded hardware matching value, and obtaining the upgraded hardware matching value of 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 the upgrade level value of each terminal of the power grid is obtained; the formula corresponding to the first sub-model is the upgrade level calculation formula: Among them, 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, and the upgraded hardware matching value of each terminal of the power grid is obtained; the formula corresponding to the second sub-model is the upgraded hardware matching value calculation formula: Wherein, P is the upgrade 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 of the power grid, and the upgrade difficulty score of each terminal of the power grid is obtained; 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 operation data includes: a first operation data type, a first operation data maximum value, and a first operation data minimum value;
[0072] The second operation data includes: a second operation data type, a second operation data maximum value, and a second operation data minimum value;
[0073] Inputting the first operation data and the second operation data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal of the power grid, and obtaining the upgrade impact degree score of each terminal of the power grid, includes:
[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] According to 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, the upgrade impact score of each terminal in the power grid is calculated.
[0076] In a preferred embodiment of the present invention, the first operating data is the voltage and current of the terminal before the upgrade, which can reflect the safe operation of the safety module in the terminal; the second operating data is the voltage and current of the terminal after the upgrade, which can reflect the safe operation of the safety module in the terminal. The first operating data and the second operating data are input 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; according to 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, the upgrade impact degree score of each terminal of the power grid is calculated. The upgrade impact degree score is calculated by the following formula: Among them, Yx is the upgrade impact score, N is the number of operating data types, a is the preset maximum value ratio, kjqz is the maximum value of the j-th second operating data standard range after the upgrade, kjhz is the minimum value of the j-th second operating data standard range after the upgrade, kjqa is the maximum value of the j-th first operating data standard range before the upgrade, and kjha is the minimum value of the j-th first operating data standard range before the upgrade.
[0077] Specifically, the upgrade evaluation value of each terminal of the power grid is calculated by the following formula:
[0078] YC=λNd + (1-λ)Yx
[0079] 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.
[0080] In a preferred embodiment of the present invention, the preset maximum value proportion coefficient, the preset upgrade difficulty proportion coefficient and the preset upgrade assessment threshold can be preset. For example, 500 sets of version data and operation data before the upgrade of each terminal of the power grid are obtained, and the upgraded version data and operation data of the upgrade data packet are obtained at the same time, and the upgraded version data and operation data of the upgrade data packet are imported into the upgrade abnormality analysis value calculation formula to calculate the upgrade abnormality analysis value, and the upgrade abnormality analysis value and the judgment result are imported into the fitting software, and the maximum value proportion coefficient, the upgrade difficulty proportion coefficient and the upgrade assessment threshold that meet the maximum judgment accuracy are output.
[0081] By implementing this embodiment, the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the upgrade data packet, the second upgrade version data corresponding to the upgrade data packet, the second hardware version data and the second operation data of each terminal in the power grid are obtained before the upgrade; then, the upgrade evaluation value of each terminal in the power grid 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; 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 taken 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, the upgrade evaluation value is calculated, and the upgrade evaluation value is compared with the preset upgrade evaluation threshold to determine the upgrade risk of each terminal in the power grid, improve the security of the upgrade of each terminal in the power grid, and uniformly calculate the upgrade evaluation value of each terminal in the power grid. It 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 evaluation threshold, and improve the efficiency of power grid terminal upgrade operation and maintenance.
[0082] See also Figure 2 , is a schematic diagram of the structure of a power grid terminal upgrading device provided by an embodiment of the present invention, comprising:
[0083] An upgrade data acquisition module is used to acquire the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the upgrade data packet, the second upgrade version data, the second hardware version data and the second operation data corresponding to the upgrade data packet before the upgrade of each power grid terminal;
[0084] an upgrade evaluation value calculation module, 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;
[0085] A target terminal determination module, used to compare the upgrade evaluation value with a preset upgrade evaluation threshold, and to take the power grid terminal corresponding to the upgrade evaluation value being less than the preset upgrade evaluation threshold as the target upgrade terminal;
[0086] The terminal upgrade module is used to send an upgrade data packet corresponding to a target upgrade terminal to a 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 used to calculate 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;
[0088] 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 operation data, the initial version data, the second upgraded version data, the second hardware version data, and the second operation data includes:
[0089] Inputting the first upgraded version data, the first hardware version data, the initial version data, the second upgraded version data and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each terminal of the power grid, and obtaining an upgrade difficulty score of each terminal of the power grid;
[0090] Inputting the first operation data and the second operation data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal of the power grid, and obtaining the upgrade impact degree score of each terminal of the power grid;
[0091] An upgrade evaluation value of each terminal in the power grid is calculated based on the upgrade difficulty score and the upgrade impact score.
[0092] The present invention provides a power grid terminal upgrading device, which obtains the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the upgrade data packet, the second upgrade version data corresponding to the upgrade data packet, the second hardware version data and the 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, the upgrade evaluation value is calculated, and the upgrade evaluation value is compared with the preset upgrade evaluation threshold to determine the upgrade risk of each terminal in the power grid, improve the security of the upgrade of each terminal in the power grid, and uniformly calculate the upgrade evaluation value of each terminal in the power grid. It 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 evaluation 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 schematic, 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 on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying 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 may understand and implement it without paying any creative 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 invention further 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 the processor implements a power grid terminal upgrade method as described in the above embodiment when executing the computer program. The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory.
[0096] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[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 the 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 for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device or other volatile solid-state storage device.
[0098] 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.
[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. Among them, 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.
[0100] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle 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 before upgrading each terminal of the power grid; Calculate the upgrade evaluation value of each terminal of the power grid according to the first upgraded version data, the first hardware version data, the first operation data, the initial version data, the second upgraded version data, the second hardware version data and the second operation data; Comparing the upgrade evaluation value with a preset upgrade evaluation threshold, and taking the power grid terminal corresponding to the upgrade evaluation value being less than the preset upgrade evaluation threshold as the target upgrade terminal; 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.
2. A method for upgrading a power grid terminal according to claim 1, characterized in that: 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 operation data, the initial version data, the second upgraded version data, the second hardware version data, and the second operation data includes: Inputting the first upgraded version data, the first hardware version data, the initial version data, the second upgraded version data and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each terminal of the power grid, and obtaining an upgrade difficulty score of each terminal of the power grid; Inputting the first operation data and the second operation data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal of the power grid, and obtaining the upgrade impact degree score of each terminal of 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.
3. A method for upgrading a power grid terminal according to claim 2, 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 terminal of the power grid, and obtaining an upgrade difficulty score of each terminal of the power grid, 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 the second sub-model to calculate the upgraded hardware matching value, and obtaining the upgraded hardware matching value of 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.
4. A method for upgrading a power grid terminal according to claim 2, characterized in that: The first operation data includes: a first operation data type, a first operation data maximum value, and a first operation data minimum value; The second operation data includes: a second operation data type, a second operation data maximum value, and a second operation data minimum value; Inputting the first operation data and the second operation data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal of the power grid, and obtaining the upgrade impact degree score of each terminal of the power grid, includes: 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; According to 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, the upgrade impact degree score of each terminal in the power grid is calculated.
5. A method for upgrading a power grid terminal according to claim 2, characterized in that: The upgrade assessment value of each terminal in the power grid is calculated by 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.
6. 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 alarm information according to the upgrade evaluation value corresponding to the abnormal upgrade terminal, and return the alarm information to the user interface.
7. A power grid terminal upgrading device, characterized in that: include: An upgrade data acquisition module is used to acquire the first upgrade version data, the first hardware version data, the first operation data, the initial version data, the upgrade data packet, the second upgrade version data, the second hardware version data and the second operation data corresponding to the upgrade data packet before the upgrade of each power grid terminal; an upgrade evaluation value calculation module, 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; A target terminal determination module, used to compare the upgrade evaluation value with a preset upgrade evaluation threshold, and to take the power grid terminal corresponding to the upgrade evaluation value being less than the preset upgrade evaluation threshold as the target upgrade terminal; The terminal upgrade module is used to send an upgrade data packet corresponding to a target upgrade terminal to a corresponding target upgrade terminal, so that the target upgrade terminal is upgraded according to the corresponding upgrade data packet.
8. A power grid terminal upgrading device as claimed in claim 7, characterized in that: The upgrade evaluation value calculation module is used to calculate 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; 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 operation data, the initial version data, the second upgraded version data, the second hardware version data, and the second operation data includes: Inputting the first upgraded version data, the first hardware version data, the initial version data, the second upgraded version data and the second hardware version data into a preset upgrade difficulty analysis model to calculate the upgrade difficulty of each terminal of the power grid, and obtaining an upgrade difficulty score of each terminal of the power grid; Inputting the first operation data and the second operation data into a preset upgrade impact degree analysis model to calculate the upgrade impact degree of each terminal of the power grid, and obtaining the upgrade impact degree score of each terminal of 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.
9. A terminal device, characterized in that: The invention 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 power grid terminal upgrading method as claimed in any one of claims 1 to 6 is implemented.
10. 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 a power grid terminal upgrading method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Version updating management method and device, computer equipment and readable storage medium
CN112035155A
Equipment version updating risk assessment method and device based on large model, electronic equipment, storage medium and computer program product
CN117952426A
Detection of supply chain-related security threats to software applications
US20220405397A1