Power grid micro-model management system, method and device, computer equipment, readable storage medium and program product
Through the directory management, indexing and warehouse management modules of the grid micro model management system, the grid micro model is grouped, cataloged and updated indexed, solving the problems of low reuse and high maintenance costs of traditional data warehouse models, and achieving high efficiency micro-model management.
Patent Information
- Application Number
- CN202411552990.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-18
AI Technical Summary
There are problems in traditional data warehouse models with low reuse and high maintenance costs, making it difficult to achieve efficient management of grid micro models.
Provide a grid micro-model management system, including directory management module, index module and library management module, through which micro-models are grouped, model directories are established, indexed information is added, and model directories are updated when importing new micro-models. and index information.
It improves the management efficiency of the grid micro model, realizes dynamic, rapid and flexible assembly of the model, reduces maintenance costs, and solves the problem of low degree of reuse of traditional models.
Smart Images

Figure CN119476819A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power engineering technology, and in particular to a power grid micromodel management system, method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] With the development of power engineering technology, grid micromodels, an important tool for power system analysis and management, have emerged. They are usually used to simulate, analyze and optimize the operation and control of power grids, which can improve the operating efficiency and reliability of power grids and are crucial to the intelligent development of modern power systems.
[0003] In traditional data management systems, shared data marts built based on micro-model patterns are usually used to manage model libraries and develop, verify, implement and maintain basic subject models in production domains. This leads to low reuse of data warehouse models and high maintenance costs, and it is urgent to develop a dedicated management system to achieve efficient management. Summary of the invention
[0004] Based on this, it is necessary to provide a power grid micromodel management system, method, device, computer equipment, computer-readable storage medium and computer program product to address the above technical problems.
[0005] In a first aspect, the present application provides a power grid micro-model management system, the system comprising: a directory management module, an index module and a storage management module; the directory management module is respectively connected to the index module and the storage management module in communication;
[0006] The catalog management module is used to obtain basic model information of each micro model in the micro model library, group and sort each micro model according to the basic model information, and establish a model catalog according to the grouped micro models;
[0007] The index module is used to add index information corresponding to the model directory according to the grouped micro-models;
[0008] The warehousing management module is used to publish a new group in the model directory when a new micro model of a new type is imported into the micro model library, organize the model data of the new micro model according to a preset micro model warehousing template to obtain a data model file, and import the data model file into the new group;
[0009] The directory management module is further used to update the model directory according to the new grouping; the index module is further used to update the index information according to the updated model directory.
[0010] In one embodiment, the storage management module is further used to select an existing group in the model directory when importing an old type of target new micro model into the micro model library, sort the model data of the target new micro model according to the micro model storage template to obtain a target data model file, and import the target data model file into the existing group;
[0011] The index module is further used to update the index information according to the updated existing groups.
[0012] In one embodiment, the system further includes: a dimension management module and an attribute management module, wherein the dimension management module and the attribute management module are respectively connected to the directory management module for communication;
[0013] The dimension management module is used to create and maintain the dimension feature information of each micro-model in the micro-model library, and provide query and edit functions for the dimension feature information; the dimension feature information includes the attributes and hierarchical structure of the dimension;
[0014] The attribute management module is used to create and maintain the attribute feature information of each micro-model in the micro-model library, and provide query and editing functions for the attribute feature information; the attribute feature information includes input parameters and output parameters of each micro-model;
[0015] The attribute management module is further used to extract the applicable input object of each micro-model and the attribute information of the applicable input object, and record the attribute information.
[0016] In one embodiment, the system further comprises: a detail management module and an index management module, wherein the detail management module and the index management module are respectively connected to the catalog management module for communication;
[0017] The detail management module is used to generate detail information according to the model basic information of each micro-model, and provide query and editing functions for the detail information; the detail information includes micro-model association information, micro-model sharing information, micro-model service information, chart classification information, data source configuration information, data set configuration information, data source classification information, chart instantiation information, and chart instance and data set association information;
[0018] The indicator management module is used to generate indicator information according to the basic model information of each micro-model, and provide query and editing functions for the indicator information; the indicator information includes basic indicator information, indicator classification, indicator business domain, micro-model and indicator association relationship, and indicator dimension definition.
[0019] In one embodiment, the system further comprises: a version management module and a model search module, wherein the version management module and the model search module are respectively connected to the directory management module for communication;
[0020] The version management module is used to manage and publish different versions of the same micro model, generate basic version information of the micro model library according to the current version of the micro model, and provide query and edit functions for the basic version information and comparison functions between two versions of the same micro model;
[0021] The model search module is used to obtain search condition information sent by the terminal, match navigation information in the index information according to the search condition information, and obtain model search results according to the navigation information.
[0022] In a second aspect, the present application further provides a power grid micro-model management method, which is applied to a power grid micro-model management system, and the method comprises:
[0023] Obtaining basic model information of each existing micro-model in the micro-model library, grouping and arranging each micro-model according to the basic model information, and establishing a model catalog according to the grouped micro-models;
[0024] According to the grouped micro-models, adding index information corresponding to the model directory;
[0025] When a new micro model of a new type is imported into the micro model library, a new group is published in the model directory, the model data of the new micro model is sorted according to a preset micro model library template to obtain a data model file, and the data model file is imported into the new group;
[0026] The model catalog is updated according to the new grouping, and the index information is updated according to the updated model catalog.
[0027] In a third aspect, the present application further provides a power grid micro-model management device, comprising:
[0028] A catalog building unit is used to obtain basic model information of each micro model in the micro model library, group and sort each micro model according to the basic model information, and establish a model catalog according to the grouped micro models;
[0029] An index adding unit, used for adding index information corresponding to the model directory according to the grouped micro-models;
[0030] a storage management unit, for publishing a new group in the model directory when a new micro model of a new type is imported into the micro model library, arranging the model data of the new micro model according to a preset micro model storage template to obtain a data model file, and importing the data model file into the new group;
[0031] An information updating unit is used to update the model catalog according to the new grouping, and to update the index information according to the updated model catalog.
[0032] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0033] The basic model information of each micromodel already in the micromodel library is obtained, and each micromodel is grouped and sorted according to the basic model information, and a model directory is established according to the grouped micromodels; according to the grouped micromodels, index information corresponding to the model directory is added; when a new micromodel of a new type is imported into the micromodel library, a new group is published in the model directory, and the model data of the new micromodel is sorted according to a preset micromodel storage template to obtain a data model file, and the data model file is imported into the new group; according to the new group, the model directory is updated, and according to the updated model directory, the index information is updated.
[0034] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0035] The basic model information of each micromodel already in the micromodel library is obtained, and each micromodel is grouped and sorted according to the basic model information, and a model directory is established according to the grouped micromodels; according to the grouped micromodels, index information corresponding to the model directory is added; when a new micromodel of a new type is imported into the micromodel library, a new group is published in the model directory, and the model data of the new micromodel is sorted according to a preset micromodel storage template to obtain a data model file, and the data model file is imported into the new group; according to the new group, the model directory is updated, and according to the updated model directory, the index information is updated.
[0036] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0037] The basic model information of each micromodel already in the micromodel library is obtained, and each micromodel is grouped and sorted according to the basic model information, and a model directory is established according to the grouped micromodels; according to the grouped micromodels, index information corresponding to the model directory is added; when a new micromodel of a new type is imported into the micromodel library, a new group is published in the model directory, and the model data of the new micromodel is sorted according to a preset micromodel storage template to obtain a data model file, and the data model file is imported into the new group; according to the new group, the model directory is updated, and according to the updated model directory, the index information is updated.
[0038] The above-mentioned power grid micromodel management system, method, device, computer equipment, computer-readable storage medium and computer program product first obtain the basic model information of each micromodel already in the micromodel library through the directory management module, group and organize each micromodel according to the basic model information, and establish a model directory according to the grouped micromodels, and then add index information corresponding to the model directory according to the grouped micromodels through the index module. Finally, when a new micromodel of a new type is imported into the micromodel library through the warehousing management module, a new group is published in the model directory, and the model data of the new micromodel is organized according to the preset micromodel warehousing template to obtain a data model file, and the data model file is imported into the new group. The present application implements model development and verification tasks such as multiple topic models for production domain reliability analysis, multiple topic models for production team personnel work analysis, multiple topic models for power outage analysis, and multiple topic models for asset retirement and scrapping analysis under the power grid micromodel management system, realizes and precipitates micromodel development such as indicators, dimensions, detailed data, and analysis object attributes of corresponding topics, and verifies the ability to dynamically, quickly and flexibly assemble models according to production analysis application requirements, thereby solving the problems of low reuse and high maintenance costs in traditional data warehouse models, thereby improving the management efficiency of power grid micromodels. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0040] FIG1 is a block diagram of a power grid micromodel management system according to an embodiment;
[0041] FIG2 is a block diagram of a power grid micromodel management system in another embodiment;
[0042] FIG3 is a structural block diagram of a power grid micromodel management system in yet another embodiment;
[0043] FIG4 is a structural block diagram of a power grid micromodel management system in yet another embodiment;
[0044] Figure 5 A schematic diagram of a flow chart of a power grid micromodel management method in one embodiment;
[0045] Figure 6 is a structural block diagram of a power grid micro-model management device in one embodiment;
[0046] FIG. 7 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] In one embodiment, as shown in FIG. 1 , a power grid micromodel management system 100 is provided, the system comprising: a directory management module 101, an index module 102 and a storage management module 103, the directory management module 101 is respectively connected to the index module 102 and the storage management module 103 in communication;
[0049] The catalog management module 101 is used to obtain basic model information of each micro model in the micro model library, group and sort each micro model according to the basic model information, and establish a model catalog according to the grouped micro models;
[0050] An index module 102, used to add index information corresponding to the model directory according to the grouped micro-models;
[0051] The storage management module 103 is used to publish a new group in the model directory when a new micro model of a new type is imported into the micro model library, organize the model data of the new micro model according to the preset micro model storage template, obtain a data model file, and import the data model file into the new group;
[0052] The catalog management module 101 is further used to update the model catalog according to the new grouping; the index module 102 is further used to update the index information according to the updated model catalog.
[0053] Specifically, referring to FIG1, the storage management module 103 is used to provide background operation commands to store micro models and update the micro model library information; when the storage management function provides the release model, the user can choose to fill in the new group name; when publishing as a new group, the user can also organize the new data model according to the micro model storage template and import the micro model into the model library for management, including the process of uploading, verifying and storing the model; the user can select the data model file to be stored through the upload interface, and the system will add it to the corresponding model library after verification and storage, and then the corresponding model library can be created. The directory management module 101 is used to classify and organize various models in the micro model library, establish a model directory, and facilitate users to browse and find the required model; provide basic information and dimensions such as model name, model type, performance index, etc. of all models to establish a directory structure; when the user browses the directory, he can browse level by level according to the directory structure, or use the search function to find the required model. The basic information of the model will be displayed in the directory, and the user can click on the model to learn more details as needed. The index module 102 adds, updates and deletes the index information of the model, including keywords, tags and descriptions, so that the system can perform full-text retrieval and matching.
[0054] In the above-mentioned power grid micromodel management system, the basic model information of each micromodel already in the micromodel library is first obtained through the directory management module 101, and each micromodel is grouped and sorted according to the basic model information, and a model directory is established according to the grouped micromodels. Then, the index module 102 adds index information corresponding to the model directory according to the grouped micromodels. Finally, when a new micromodel of a new type is imported into the micromodel library through the storage management module 103, a new group is published in the model directory, and the model data of the new micromodel is sorted according to the preset micromodel storage template to obtain a data model file, and the data model file is imported into the new group. This application implements model development and verification tasks such as up to 50 topic models for production domain reliability analysis, up to 60 topic models for production team work analysis, up to 20 topic models for power outage analysis, and up to 30 topic models for asset retirement and scrapping analysis under the power grid micromodel management system, realizes and precipitates micromodel development such as indicators, dimensions, detailed data and analysis object attributes of corresponding topics, and verifies the ability to dynamically, quickly and flexibly assemble models according to production analysis application requirements, thereby solving the problems of low reuse and high maintenance costs in traditional data warehouse models, thereby improving the management efficiency of power grid micromodels.
[0055] In one embodiment, as shown in FIG1 , the warehousing management module 103 is also used to select an existing group in the model directory when importing an old type of target new micromodel into the micromodel library, organize the model data of the target new micromodel according to the micromodel warehousing template, obtain the target data model file, and import the target data model file into the existing group; the index module 102 is also used to update the index information according to the updated existing group.
[0056] Specifically, referring to FIG1 , the storage management module 103 is used to provide background operation commands to store micro models and update the micro model library information; when the storage management function provides the release model, the user can select the existing grouping, and organize the new data model according to the micro model storage template and import the micro model into the model library for management, including the process of uploading, verifying and storing the model; the user can select the data model file to be stored through the upload interface, and the system will verify and store it and add it to the corresponding model library to create the corresponding model library. The index module 102 updates the index information by adding, updating and deleting the index information of the model.
[0057] In one embodiment, as shown in FIG2 , the power grid micromodel management system 100 further includes: a dimension management module 104 and an attribute management module 105, which are respectively communicated with the directory management module 101; the dimension management module 104 is used to create and maintain the dimension feature information of each micromodel in the micromodel library, and provide query and edit functions for the dimension feature information; the dimension feature information includes the attributes and hierarchical structure of the dimension; the attribute management module 105 is used to create and maintain the attribute feature information of each micromodel in the micromodel library, and provide query and edit functions for the attribute feature information; the attribute feature information includes the input parameters and output parameters of each micromodel; the attribute management module 105 is also used to extract the applicable input objects of each micromodel and the attribute information of the applicable input objects, and record the attribute information.
[0058] Specifically, referring to FIG2 , the dimension management module 104 is used to maintain and manage the dimension information in the data model, including the attributes and hierarchical structure of the dimension, and provides information viewing functions; users can create, edit and delete dimensions, and define the attributes and hierarchies of the dimensions. The attribute management module 105 is used for operations such as adding, deleting, modifying and querying model attributes. Model attributes provide the following information: provide users with feature information about model attributes, so that users can use the model correctly and make correct judgments on the calculation results of the model; guide users to quickly and accurately find relevant models and understand the relevant information of the model and its input and output parameters; provide users with relevant information for modifying the source code and executable code of the newly added model and calling the model.
[0059] In one embodiment, as shown in FIG3 , the power grid micromodel management system 100 further includes: a detail management module 106 and an index management module 107, wherein the detail management module 106 and the index management module 107 are respectively connected to the directory management module 101 in communication; the detail management module 106 is used to generate detail information according to the basic model information of each micromodel, and provide query and edit functions for the detail information; the detail information includes micromodel association information, micromodel sharing information, micromodel service information, chart classification information, data source configuration information, data set configuration information, data source classification information, chart instantiation information, and chart instance and data set association information; the index management module 107 is used to generate index information according to the basic model information of each micromodel, and provide query and edit functions for the index information; the index information includes basic index information, index classification, index business domain, micromodel and index association relationship, and index dimension definition.
[0060] Specifically, the detail management module 106 provides users with detailed information on sub-model association relationships, micro-model sharing information, micro-model service information, chart classification information, data source configuration information, data set configuration information, data source classification information, chart instantiation information, and chart instance and data set association information; the indicator management module 107 provides management functions for indicator information such as basic indicator information, indicator classification, indicator business domain, micro-model and indicator association relationship, and indicator dimension definition, which can be used to define, maintain and manage indicator information in the data model, including the name, type, and calculation logic of the indicator; the key functions of indicator management include: indicator definition, indicator display, indicator search, and indicator data management; users can add, edit, and delete indicator information of the model, define the attributes and calculation methods of the indicator, and perform related indicator management operations.
[0061] In one embodiment, as shown in FIG4 , the power grid micromodel management system 100 further includes: a version management module 108 and a model search module 109, the version management module 108 and the model search module 109 are respectively connected to the directory management module 101 in communication; the version management module 108 is used to manage and publish different versions of the same micromodel, generate basic version information of the micromodel library according to the current version of the micromodel, and provide query and editing functions for the basic version information and comparison functions between two versions of the same micromodel; the model search module 109 is used to obtain search condition information sent by the terminal, match navigation information in the index information according to the search condition information, and obtain model search results according to the navigation information.
[0062] Specifically, the version management module 108 can provide basic information for maintaining the uniqueness of the model, manage and publish different versions of the same model, and provide basic functions such as "add", "modify" and "delete". Users can view the basic information of the corresponding model library version, and can add, modify and delete the basic information of the model library version accordingly; it also provides a comparison function for two versions of the model. Select two model versions to be compared, click the "Compare" button, and you can view the comparison differences between the tables and fields of the two model versions, and you can also export the difference details. Through the model search module 109, users can search for models in the model library by micro-model catalog classification, keywords or attribute conditions, so as to quickly find models that meet the needs. Users can enter keywords or select attribute conditions in the search box to quickly navigate to or find each object that meets the search conditions you specify in the search conditions and search types. Many different types of searches are built-in through settings, and users are supported to create their own detailed and specific searches. Users can also export and share their favorite searches. After obtaining the results of the model search, users can select and further perform a series of operations on them based on the search results.
[0063] In one embodiment, the power grid micro-model management system 100 also includes: a model dynamic assembly module and a model sharing service function module; the model dynamic assembly module can be used to create sub-directories to further classify and organize models to better manage model resources, provide dynamic association between micro-models and directories, and users can dynamically assemble models according to needs; the model sharing service function provided by the model sharing service function module supports multiple models to be stored in the model library, allowing users to share the models they created or discovered with other users without exporting each model file separately, so as to promote model sharing and reuse. Users can choose to set their own models to a shared state, or browse models shared by other users, and perform related sharing, downloading or commenting operations to better meet the needs of model reuse and sharing.
[0064] In one embodiment, Figure 5 As shown, a power grid micromodel management method is provided, which is described by taking the method applied to the power grid micromodel management system 100 in FIG. 1 as an example, and includes the following steps:
[0065] Step S501, obtaining basic model information of each existing micro model in the micro model library, grouping and arranging each micro model according to the basic model information, and establishing a model catalog according to the grouped micro models.
[0066] Step S502: adding index information corresponding to the model directory according to the grouped micro-models.
[0067] Step S503, when a new micro model of a new type is imported into the micro model library, a new group is published in the model directory, the model data of the new micro model is sorted according to the preset micro model library template to obtain a data model file, and the data model file is imported into the new group.
[0068] Step S504: update the model catalog according to the new grouping, and update the index information according to the updated model catalog.
[0069] Specifically, the power grid micromodel management system obtains the basic model information of each micromodel already in the micromodel library, groups and organizes each micromodel according to the basic model information, and establishes a model directory according to the grouped micromodels; the power grid micromodel management system adds index information corresponding to the model directory according to the grouped micromodels; when the power grid micromodel management system imports a new type of new micromodel into the micromodel library, it publishes a new group in the model directory, organizes the model data of the new micromodel according to a preset micromodel storage template, obtains a data model file, and imports the data model file into the new group; the power grid micromodel management system updates the model directory according to the new group, and updates the index information according to the updated model directory.
[0070] For specific definitions of the above steps, please refer to the relevant embodiments of the power grid micro-model management system, which will not be described in detail here.
[0071] In the above-mentioned power grid micromodel management method, the basic model information of each micromodel already in the micromodel library is first obtained through the directory management module, and each micromodel is grouped and sorted according to the basic model information, and a model directory is established according to the grouped micromodels. Then, the index module is used to add index information corresponding to the model directory according to the grouped micromodels. Finally, when a new micromodel of a new type is imported into the micromodel library through the warehousing management module, a new group is published in the model directory, and the model data of the new micromodel is sorted according to the preset micromodel warehousing template to obtain the data model file, and the data model file is imported into the new group, thereby solving the problems of low reuse and high maintenance cost existing in the traditional data warehouse model, thereby improving the management efficiency of the power grid micromodel.
[0072] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0073] Based on the same inventive concept, the embodiment of the present application also provides a power grid micro-model management device for implementing the power grid micro-model management method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more power grid micro-model management device embodiments provided below can refer to the limitations of the power grid micro-model management method above, and will not be repeated here.
[0074] In an exemplary embodiment, Figure 6 As shown, a power grid micro-model management device is provided, comprising:
[0075] The catalog construction unit 601 is used to obtain basic model information of each micro model in the micro model library, group and sort each micro model according to the basic model information, and establish a model catalog according to the grouped micro models.
[0076] The index adding unit 602 is used to add index information corresponding to the model directory according to the grouped micro-models.
[0077] The warehousing management unit 603 is used to publish a new group in the model directory when a new micro model of a new type is imported into the micro model library, organize the model data of the new micro model according to the preset micro model warehousing template to obtain a data model file, and import the data model file into the new group.
[0078] The information updating unit 604 is used to update the model catalog according to the new grouping, and update the index information according to the updated model catalog.
[0079] For the specific definition of the power grid micro-model management device, please refer to the definition of the micro-grid automatic control method above, which will not be repeated here. Each module in the above-mentioned power grid micro-model management device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0080] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG7. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for the basic information of the model of each micro-model. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a power grid micro-model management method is implemented.
[0081] Those skilled in the art will understand that the structure shown in FIG. 7 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0082] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0083] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0084] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0085] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0086] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0087] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0088] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A power grid micro-model management system, characterized in that: The system comprises: a catalog management module, an index module and a storage management module; the catalog management module is respectively connected to the index module and the storage management module for communication; The catalog management module is used to obtain basic model information of each micro model in the micro model library, group and sort each micro model according to the basic model information, and establish a model catalog according to the grouped micro models; The index module is used to add index information corresponding to the model directory according to the grouped micro-models; The warehousing management module is used to publish a new group in the model directory when a new micro model of a new type is imported into the micro model library, organize the model data of the new micro model according to a preset micro model warehousing template to obtain a data model file, and import the data model file into the new group; The directory management module is further used to update the model directory according to the new grouping; and the index module is further used to update the index information according to the updated model directory.
2. The system according to claim 1, characterized in that The storage management module is further used to select an existing group in the model directory when importing an old type of target new micro model into the micro model library, sort the model data of the target new micro model according to the micro model storage template to obtain a target data model file, and import the target data model file into the existing group; The index module is further used to update the index information according to the updated existing grouping.
3. The system according to claim 1, characterized in that The system further comprises: a dimension management module and an attribute management module, wherein the dimension management module and the attribute management module are respectively connected to the directory management module for communication; The dimension management module is used to create and maintain the dimension feature information of each micro-model in the micro-model library, and provide query and edit functions for the dimension feature information; the dimension feature information includes the attributes and hierarchical structure of the dimension; The attribute management module is used to create and maintain the attribute feature information of each micro-model in the micro-model library, and provide query and editing functions for the attribute feature information; the attribute feature information includes input parameters and output parameters of each micro-model; The attribute management module is further used to extract the applicable input object of each micro-model and the attribute information of the applicable input object, and record the attribute information.
4. The system according to claim 1, characterized in that The system further comprises: a detail management module and an index management module, wherein the detail management module and the index management module are respectively connected to the catalog management module for communication; The detail management module is used to generate detail information according to the model basic information of each micro-model, and provide query and editing functions for the detail information; the detail information includes micro-model association information, micro-model sharing information, micro-model service information, chart classification information, data source configuration information, data set configuration information, data source classification information, chart instantiation information, and chart instance and data set association information; The indicator management module is used to generate indicator information according to the basic model information of each micro-model, and provide query and editing functions for the indicator information; the indicator information includes basic indicator information, indicator classification, indicator business domain, micro-model and indicator association relationship, and indicator dimension definition.
5. The system according to any one of claims 1 to 4, characterized in that: The system further comprises: a version management module and a model search module, wherein the version management module and the model search module are respectively connected to the directory management module for communication; The version management module is used to manage and publish different versions of the same micro model, generate basic version information of the micro model library according to the current version of the micro model, and provide query and edit functions for the basic version information and comparison functions between two versions of the same micro model; The model search module is used to obtain search condition information sent by the terminal, match navigation information in the index information according to the search condition information, and obtain model search results according to the navigation information.
6. A power grid micromodel management method, characterized in that: Applied to a power grid micro-model management system, the method comprises: Obtaining basic model information of each existing micro-model in the micro-model library, grouping and arranging each micro-model according to the basic model information, and establishing a model catalog according to the grouped micro-models; According to the grouped micro-models, adding index information corresponding to the model directory; When a new micro model of a new type is imported into the micro model library, a new group is published in the model directory, the model data of the new micro model is sorted according to a preset micro model library template to obtain a data model file, and the data model file is imported into the new group; The model catalog is updated according to the new grouping, and the index information is updated according to the updated model catalog.
7. A power grid micromodel management device, characterized in that: The device comprises: A catalog building unit is used to obtain basic model information of each micro model in the micro model library, group and sort each micro model according to the basic model information, and establish a model catalog according to the grouped micro models; An index adding unit, used for adding index information corresponding to the model directory according to the grouped micro-models; a storage management unit, for publishing a new group in the model directory when a new micro model of a new type is imported into the micro model library, arranging the model data of the new micro model according to a preset micro model storage template to obtain a data model file, and importing the data model file into the new group; An information updating unit is used to update the model catalog according to the new grouping, and to update the index information according to the updated model catalog.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to claim 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to claim 6 are implemented.