Automatic data platform upgrading method and system for expandable power model

Through the method of automated comparison and upgrade of the power model data platform, the problem of low manual upgrade efficiency in the upgrade of old substations is solved, the automatic upgrade of the model library and objects is realized, the workload and error rate are reduced, and the upgrade efficiency is improved.

CN118733078APending Publication Date: 2024-10-01NANJING GUODIAN NANZI POWER GRID AUTOMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410731203.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

During the upgrade process of old substations, the manual upgrade of model libraries and instances has problems such as heavy workload and high error rate, and it is difficult to automatically migrate different versions of the system, resulting in low upgrade efficiency.

Method used

By obtaining the platform data of the target and the power model data platform to be upgraded, analyze and compare the model library and object tree, upgrade the model library and migration object tree based on the comparison results, automatically add missing object types and attributes, adjust link relationships, and update user objects properties to achieve automated upgrades.

Benefits of technology

It reduces the manual workload and misoperation rate, improves the upgrade efficiency, and realizes the automatic upgrade of the substation model library and objects to meet the needs of upgrade and transformation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733078A_ABST
    Figure CN118733078A_ABST
Patent Text Reader

Abstract

The invention discloses a data platform automatic upgrading method and system for an expandable power model, and relates to the technical field of intelligent substations, and the method comprises the steps: respectively obtaining platform data of a target power model data platform and a to-be-upgraded power model data platform; the platform data comprises a model library and an object tree; analyzing and comparing a first model library of the to-be-upgraded power model data platform with a second model library of the target power model data platform to obtain a first analysis and comparison result; upgrading the first model library based on the first analysis comparison result; analyzing and comparing the first object tree of the to-be-upgraded power model data platform with the second object tree of the target power model data platform to obtain a second analysis and comparison result; and migrating the second object tree to the first object tree based on the second analysis comparison result. According to the invention, the technical problems of large workload and high error rate in the manual upgrading process depending on personnel in the prior art are relieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart substations, and in particular to a method and system for automatically upgrading a data platform for an extensible power model. Background Art

[0002] With the development of power automation systems, substation equipment monitoring systems have changed from traditional equipment monitoring systems to new-generation equipment monitoring systems. The new-generation equipment monitoring systems have made many improvements in terms of security, functions, performance, and graphics, and are quite different from the old equipment monitoring systems that have been deployed. Therefore, in the process of upgrading old stations, in addition to replacing and verifying programs and configuration files, it is also necessary to compare and migrate the equipment monitoring models and objects in the system data platform. If the model library and instances are upgraded manually, there will be problems such as large workload and high error rate. At the same time, the system versions in different old stations may also be different, and it is difficult for manufacturers to upgrade different versions by training engineering personnel. Therefore, manual upgrades are not suitable for large-scale renovation of old stations.

[0003] At present, in order to solve the problem of transformation of old substations in China, each manufacturer has its own upgrade plan for its own equipment monitoring system. Generally, the data of the new and old equipment monitoring systems are collected and compared first, and then the new data is migrated to the old monitoring system. However, the scope of data collection and comparison needs to be specified. If the new and old data are heterogeneous, automatic migration may not be possible, and manual screening and modification are required to complete the data upgrade, which results in technical problems such as high workload and error rate. Summary of the invention

[0004] The purpose of the present invention is to provide a method and system for automatically upgrading a data platform for an extensible power model in order to solve at least one of the above technical problems.

[0005] In the first aspect, an embodiment of the present invention provides a method for automatically upgrading a data platform for an extensible power model, comprising: respectively acquiring platform data of a target power model data platform and a power model data platform to be upgraded; the platform data comprising a model library and an object tree; analyzing and comparing a first model library of the power model data platform to be upgraded and a second model library of the target power model data platform to obtain a first analysis and comparison result; upgrading the first model library based on the first analysis and comparison result; analyzing and comparing a first object tree of the power model data platform to be upgraded and a second object tree of the target power model data platform to obtain a second analysis and comparison result; and migrating the second object tree to the first object tree based on the second analysis and comparison result.

[0006] Furthermore, the first model library of the power model data platform to be upgraded and the second model library of the target power model data platform are analyzed and compared to obtain a first analysis and comparison result, including: comparing the object type tables of the first model library and the second model library to obtain the object types that are missing in the first model library compared to the second model library; respectively comparing the object type attributes of each object type in the first model library and the second model library to obtain the object type attributes that are missing in the first model library compared to the second model library; respectively comparing the value range of each object type attribute of the first model library and the second model library to obtain the object type attribute value range comparison result.

[0007] Furthermore, upgrading the first model library based on the first analysis and comparison result includes: adding the object types that are lacking in the first model library compared to the second model library to the first model library; adding the object type attributes that are lacking in the first model library compared to the second model library to the first model library; and updating the value domain of the object type attribute in the first model library based on the comparison result of the object type attribute value domain.

[0008] Furthermore, the first object tree of the power model data platform to be upgraded and the second object tree of the target power model data platform are analyzed and compared to obtain a second analysis and comparison result, including: based on a tree-based hierarchical traversal method, traversing the subtrees of the first object tree and the subtrees of the second object tree in turn, and determining whether the nodes are the same based on the object names of the tree nodes; in the process of traversal and comparison, determining the tree nodes that exist in the second object tree but do not exist in the first object tree as the root nodes of the subtrees to be copied, and determining the tree nodes that do not exist in the second object tree but exist in the first object tree as the root nodes of the subtrees to be deleted.

[0009] Furthermore, based on the second analysis and comparison result, the second object tree is migrated to the first object tree, including: traversing the subtree path of the subtree root node to be copied, finding the corresponding subtree root node in the second object tree, recursively copying the corresponding subtree root node and its child nodes in the second object tree to the corresponding position of the first object tree, and recording the ID of the subtree root node to be copied in the first object tree; adjusting the link relationship of the object attribute in the first object tree to be a linked data type.

[0010] Furthermore, it also includes: updating the object instance of the power model data platform to be upgraded; including: updating the password ciphertext attribute and permission attribute of the user object of the power model data platform to be upgraded.

[0011] In the second aspect, an embodiment of the present invention also provides an automatic upgrade system for a data platform for an extensible power model, comprising: an acquisition module, a first analysis and comparison module, a first upgrade module, a second analysis and comparison module, and a second upgrade module; wherein the acquisition module is used to respectively acquire the platform data of the target power model data platform and the power model data platform to be upgraded; the platform data includes a model library and an object tree; the first analysis and comparison module is used to analyze and compare the first model library of the power model data platform to be upgraded and the second model library of the target power model data platform to obtain a first analysis and comparison result; the first upgrade module is used to upgrade the first model library based on the first analysis and comparison result; the second analysis and comparison module is used to analyze and compare the first object tree of the power model data platform to be upgraded and the second object tree of the target power model data platform to obtain a second analysis and comparison result; the second upgrade module is used to migrate the second object tree to the first object tree based on the second analysis and comparison result.

[0012] Furthermore, it also includes: a third upgrade module, which is used to update the object instance of the power model data platform to be upgraded; the third upgrade module is also used to update the password ciphertext attribute and permission attribute of the user object of the power model data platform to be upgraded.

[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.

[0014] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method described in the first aspect is implemented.

[0015] The present invention provides a method and system for automatic upgrading of a data platform for an extensible power model, which can complete the automatic upgrading of a substation model library and objects based on the extensibility of the extensible power model, meet the upgrading and transformation needs of the substation, reduce manual workload and error rate, improve upgrading efficiency, and alleviate the technical problems of large workload and high error rate in the process of manual upgrading relying on personnel in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 A flow chart of a method for automatically upgrading a data platform for an extensible power model provided by an embodiment of the present invention;

[0018] Figure 2 A schematic diagram of a data platform automatic upgrade system for an extensible power model provided by an embodiment of the present invention;

[0019] Figure 3 A schematic diagram of another data platform automatic upgrade system for an extensible power model provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0020] 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.

[0021] Embodiment 1

[0022] Figure 1 1 is a flow chart of a method for automatically upgrading a data platform for an extensible power model provided according to an embodiment of the present invention. Figure 1 As shown, the method specifically comprises the following steps:

[0023] Step S102, respectively obtaining the platform data of the target power model data platform and the power model data platform to be upgraded; the platform data includes a model library and an object tree.

[0024] The target power model data platform is a new generation of equipment monitoring system, and the power model data platform to be upgraded is an old equipment monitoring system that has been deployed, that is, the power model data platform to be upgraded becomes the target power model data platform after upgrading. Specifically, both the target power model data platform and the power model data platform to be upgraded are extensible power model libraries.

[0025] Step S104, analyzing and comparing the first model library of the power model data platform to be upgraded and the second model library of the target power model data platform to obtain a first analysis and comparison result.

[0026] Step S106, updating the first model library based on the first analysis and comparison result.

[0027] Step S108, analyzing and comparing the first object tree of the power model data platform to be upgraded and the second object tree of the target power model data platform to obtain a second analysis and comparison result.

[0028] Step S110: Migrate the second object tree to the first object tree based on the second analysis and comparison result.

[0029] In an embodiment of the present invention, the extensible power model library mainly includes multiple object types, such as: switch, busbar, transformer winding, etc.; each object type includes multiple attributes, for example: the switch type includes voltage level, opening and closing status, parent object link, child object list, etc.; each attribute has a value range, for example: the device status attribute of the IED device type is an enumeration data type, including: disabled, running, debugging, maintenance and other enumeration values. The model library maintains all object type information, object attribute information, and object attribute value range information. The data platform builds object instances based on the model library, and maintains the parent-child relationship of each object instance to form an object tree.

[0030] Specifically, step S104 also includes the following steps:

[0031] Step S1041, comparing the object type tables of the first model library and the second model library to obtain the object types that are missing from the first model library compared to the second model library.

[0032] Step S1042, respectively compare the object type attributes of each object type in the first model library and the second model library to obtain the object type attributes that the first model library lacks compared to the second model library.

[0033] Step S1043, respectively compare the value range of each object type attribute of the first model library and the second model library to obtain the object type attribute value range comparison result.

[0034] Specifically, step S106 also includes the following steps:

[0035] Step S1061: add the object types that are missing from the first model library compared to the second model library to the first model library.

[0036] Step S1063: Add the object type attributes that are missing from the first model library compared to the second model library to the first model library.

[0037] Step S1063: based on the comparison result of the object type attribute value range, the value range of the object type attribute in the first model library is updated. Specifically, the value range of the object type attribute is compared, and especially for the attribute of the enumerated data type, the enumeration value in the first model library is updated.

[0038] Specifically, step S108 also includes the following steps:

[0039] Step S1081, based on the tree level traversal method, traverse the subtree of the first object tree and the subtree of the second object tree in turn, and determine whether the nodes are the same based on the object name of the tree node.

[0040] Step S1082, during the traversal and comparison process, the tree nodes that exist in the second object tree but not in the first object tree are determined as the root nodes of the subtree to be copied, and the tree nodes that do not exist in the second object tree but exist in the first object tree are determined as the root nodes of the subtree to be deleted.

[0041] Specifically, first load and parse the object tree comparison configuration file; then, according to the configured "subtree root path that needs to be compared", start to compare the subtrees of the first object tree and the second object tree in turn; wherein, the process of comparing the subtree of the first object tree and the subtree of the second object tree is to use a tree hierarchical traversal method to traverse the subtree nodes of the two object trees in turn, and determine whether the nodes are the same based on the object name of the tree node; then, according to the configured "subtree root path that does not need to be compared", skip some subtrees during the subtree traversal of the two object trees.

[0042] During the traversal and comparison process, the tree nodes that exist in the subtree of the second object tree but do not exist in the subtree of the first object tree are recorded as subtree root nodes that need to be copied; the tree nodes that do not exist in the subtree of the second object tree but exist in the subtree of the first object tree are recorded as subtree root nodes that need to be deleted.

[0043] Finally, after the comparison is completed, the difference results are automatically displayed, showing the subtrees that need to be copied and the subtrees that need to be deleted; the difference results after comparison are saved, and the difference results are stored in an XML format file. The copy_item node is used to store the path of the subtree that needs to be copied in the second object tree, and the delete_item node is used to store the path of the subtree that needs to be deleted in the first object tree, and the nodes that do not need to be saved are filtered out according to the configuration file.

[0044] Specifically, step S110 also includes the following steps:

[0045] Step S1101, traverse the subtree path of the subtree root node to be copied, find the corresponding subtree root node in the second object tree, recursively copy the corresponding subtree root node and its child nodes in the second object tree to the corresponding position of the first object tree, and record the ID of the subtree root node to be copied in the first object tree.

[0046] Step S1102: adjusting the link relationship of the object attribute in the first object tree which is a link data type.

[0047] Specifically, all newly copied object nodes are traversed, and when the attribute of object A is a link data type, the path of the link object of the attribute in the second object tree is found, and object B in the first object tree is found according to the path, and the link object of the attribute of object A is modified to object B;

[0048] When the type of object A is a screen type, the corresponding screen file is obtained, and the linked object ID is searched in the screen file. Then, the paths of the objects in the two object trees are located, and object B in the first object tree is found based on the paths. Finally, the object ID in the screen file is changed to the ID of object B.

[0049] The method provided by the embodiment of the present invention also includes: updating the object instance of the power model data platform to be upgraded; including: updating the password ciphertext attribute and permission attribute of the user object of the power model data platform to be upgraded.

[0050] Specifically, if the encryption method of user passwords in the new system changes, the password ciphertext attribute of the user object needs to be modified; if the user permissions in the new system change, the permission attributes of the user and role objects need to be modified.

[0051] From the above description, it can be seen that an embodiment of the present invention provides a method for automatic upgrading of a data platform for an extensible power model. By updating the model library, object tree and object instance respectively, it can complete the automatic upgrade of the substation model library and objects based on the extensibility of the extensible power model, meet the needs of substation upgrades and renovations, reduce manual workload and error rate, improve upgrade efficiency, and alleviate the technical problems of high workload and high error rate in the prior art process that relies on manual upgrades by personnel.

[0052] Embodiment 2

[0053] Figure 2 Schematic diagram of a data platform automatic upgrade system for an extensible power model provided according to an embodiment of the present invention. Figure 2 As shown, the system includes: an acquisition module 10, a first analysis and comparison module 20, a first upgrade module 30, a second analysis and comparison module 40 and a second upgrade module 50.

[0054] Specifically, the acquisition module 10 is used to respectively acquire the platform data of the target power model data platform and the power model data platform to be upgraded; the platform data includes a model library and an object tree.

[0055] The first analysis and comparison module 20 is used to analyze and compare the first model library of the power model data platform to be upgraded and the second model library of the target power model data platform to obtain a first analysis and comparison result.

[0056] Specifically, the first analysis and comparison module 20 is also used to: compare the object type tables of the first model library and the second model library to obtain the object types that are missing in the first model library compared to the second model library; respectively compare the object type attributes of each object type in the first model library and the second model library to obtain the object type attributes that are missing in the first model library compared to the second model library; respectively compare the value range of each object type attribute of the first model library and the second model library to obtain the object type attribute value range comparison result.

[0057] The first upgrading module 30 is used to upgrade the first model library based on the first analysis and comparison result.

[0058] Specifically, the first upgrade module 30 is also used to: add the object types that are missing from the first model library compared to the second model library to the first model library; add the object type attributes that are missing from the first model library compared to the second model library to the first model library; and update the value domain of the object type attribute in the first model library based on the comparison result of the object type attribute value domain.

[0059] The second analysis and comparison module 40 is used to analyze and compare the first object tree of the power model data platform to be upgraded and the second object tree of the target power model data platform to obtain a second analysis and comparison result.

[0060] Specifically, the second analysis and comparison module 40 is also used to: based on the tree hierarchical traversal method, traverse the subtrees of the first object tree and the subtrees of the second object tree in turn, and determine whether the nodes are the same based on the object names of the tree nodes; in the traversal and comparison process, determine the tree nodes that exist in the second object tree and do not exist in the first object tree as the root nodes of the subtree to be copied, and determine the tree nodes that do not exist in the second object tree but exist in the first object tree as the root nodes of the subtree to be deleted.

[0061] The second upgrading module 50 is used to migrate the second object tree to the first object tree based on the second analysis and comparison result.

[0062] Specifically, the second upgrade module 50 is also used to: traverse the subtree path of the subtree root node to be copied, find the corresponding subtree root node in the second object tree, recursively copy the corresponding subtree root node and its child nodes in the second object tree to the corresponding position of the first object tree, and record the ID of the subtree root node to be copied in the first object tree; adjust the link relationship of the object attribute in the first object tree to be a linked data type.

[0063] Specifically, Figure 2 As shown, the system further includes: a third upgrading module 60, which is used to update the object instance of the power model data platform to be upgraded;

[0064] The third upgrade module 60 is further used to update the password ciphertext attribute and the authority attribute of the user object of the power model data platform to be upgraded.

[0065] Embodiment 3

[0066] Figure 3 FIG. 1 is a schematic diagram of another data platform automatic upgrade system for an extensible power model provided according to an embodiment of the present invention. Figure 3 As shown, the system includes:

[0067] The upgrade step management module 31 is used to parse the upgrade step configuration file; call each upgrade main step and the detailed steps corresponding to the main step; display the execution status of the main step and the detailed step; and provide the interface required for interaction during the step execution process;

[0068] The model comparison and upgrade module 32 is used to compare the data of the new and old model libraries, and to complete the missing object types, object attributes, and attribute value ranges (for example, enumeration values ​​of enumeration type attributes) in the old model library;

[0069] The object tree comparison module 33 is used to compare the differences between the new and old object trees, compare the subtree differences between the two object trees according to the "subtree root paths to be compared" and "subtree root paths not to be compared" configured in the comparison configuration file, and display and save the difference results;

[0070] The object subtree migration module 34 is used to migrate the subtrees existing in the new object tree but not existing in the old object tree to the old object tree according to the difference result file between the new and old object trees, and adjust the link relationship in the object attributes;

[0071] A user object update and upgrade module 35, used to update the ciphertext attributes of the user object and update the permission attributes of the user and role objects;

[0072] The Shell calling general module 36 is used to call shell scripts or commands, so that the complicated tasks such as file checking, copying, and modifying can be completed through the scripts or commands.

[0073] Specifically, Shell calls the general module 36, including:

[0074] Shell calls configuration to load the parsing component. The configuration includes: the path of the Shell script or command, the input parameters for execution, the parameters that need to be input during execution, and the output key information after successful execution. The parameters that need to be input during execution need to be configured whether to be automatically input. If not, they need to be manually input during Shell execution;

[0075] The Shell execution interaction component is used to execute Shell scripts or commands, display the output during Shell execution, and provide an interface for users to input parameters during Shell execution.

[0076] In the embodiment of the present invention, the data platform automatic upgrade system is set in the equipment monitoring system database server. When the engineer triggers the start upgrade button, the system automatically executes the main steps and corresponding detailed steps registered in the step manager. The status of each main step and the corresponding detailed step is displayed during the execution process. Once a step fails to execute, the upgrade is stopped. Only when all steps are executed successfully in sequence will the execution success be prompted.

[0077] An embodiment of the present invention further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method in the above-mentioned embodiment 1 when executing the computer program.

[0078] An embodiment of the present invention further provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by a processor, the method in the above-mentioned embodiment 1 is implemented.

[0079] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

[0080] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A data platform automatic upgrade method for an extensible power model, characterized in that: include: Respectively obtaining platform data of a target power model data platform and a power model data platform to be upgraded; the platform data includes a model library and an object tree; Analyze and compare the first model library of the power model data platform to be upgraded and the second model library of the target power model data platform to obtain a first analysis and comparison result; Updating the first model library based on the first analysis and comparison result; Analyze and compare the first object tree of the power model data platform to be upgraded and the second object tree of the target power model data platform to obtain a second analysis and comparison result; Based on the second analysis and comparison result, the second object tree is migrated to the first object tree.

2. The method according to claim 1, characterized in that: Analyzing and comparing the first model library of the power model data platform to be upgraded and the second model library of the target power model data platform to obtain a first analysis and comparison result, including: Compare the object type tables of the first model library and the second model library to obtain the object types that are missing from the first model library compared to the second model library; Compare the object type attributes of each object type in the first model library and the second model library respectively to obtain the object type attributes that the first model library lacks compared to the second model library; The value range of each object type attribute of the first model library and the second model library are respectively compared to obtain an object type attribute value range comparison result.

3. The method according to claim 2, characterized in that: Updating the first model library based on the first analysis and comparison result includes: Adding object types that are missing from the first model library compared to the second model library to the first model library; Adding the object type attributes that are missing from the first model library compared to the second model library to the first model library; Based on the comparison result of the object type attribute value range, the value range of the object type attribute in the first model library is updated.

4. The method according to claim 1, characterized in that: Analyzing and comparing the first object tree of the power model data platform to be upgraded and the second object tree of the target power model data platform to obtain a second analysis and comparison result, including: Based on the tree level traversal method, traverse the subtree of the first object tree and the subtree of the second object tree in turn, and determine whether the nodes are the same based on the object names of the tree nodes; During the traversal and comparison process, the tree nodes that exist in the second object tree but not in the first object tree are determined as the root nodes of the subtree to be copied, and the tree nodes that do not exist in the second object tree but exist in the first object tree are determined as the root nodes of the subtree to be deleted.

5. The method according to claim 4, characterized in that: Based on the second analysis and comparison result, migrating the second object tree to the first object tree includes: Traverse the subtree path of the subtree root node to be copied, find the corresponding subtree root node in the second object tree, recursively copy the corresponding subtree root node and its child nodes in the second object tree to the corresponding position of the first object tree, and record the ID of the subtree root node to be copied in the first object tree; Adjusting the object attributes in the first object tree is a link relationship of a link data type.

6. The method according to claim 1, characterized in that: Also includes: The object instance of the power model data platform to be upgraded is updated; including: updating the password ciphertext attribute and the authority attribute of the user object of the power model data platform to be upgraded.

7. A data platform automatic upgrade system for an extensible power model, characterized in that: include: Acquisition module, first analysis and comparison module, first upgrade module, second analysis and comparison module and second upgrade module; wherein, The acquisition module is used to respectively acquire the platform data of the target power model data platform and the power model data platform to be upgraded; the platform data includes a model library and an object tree; The first analysis and comparison module is used to analyze and compare the first model library of the power model data platform to be upgraded and the second model library of the target power model data platform to obtain a first analysis and comparison result; The first upgrading module is used to upgrade the first model library based on the first analysis and comparison result; The second analysis and comparison module is used to analyze and compare the first object tree of the power model data platform to be upgraded and the second object tree of the target power model data platform to obtain a second analysis and comparison result; The second upgrading module is used to migrate the second object tree to the first object tree based on the second analysis and comparison result.

8. The system according to claim 7, characterized in that: Also includes: A third upgrading module, used for updating the object instance of the power model data platform to be upgraded; The third upgrade module is also used to update the password ciphertext attribute and permission attribute of the user object of the power model data platform to be upgraded.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 6 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.