CN106067071B - Multi-state model management method based on segmented coding - Google Patents
Multi-state model management method based on segmented coding Download PDFInfo
- Publication number
- CN106067071B CN106067071B CN201610364805.3A CN201610364805A CN106067071B CN 106067071 B CN106067071 B CN 106067071B CN 201610364805 A CN201610364805 A CN 201610364805A CN 106067071 B CN106067071 B CN 106067071B
- Authority
- CN
- China
- Prior art keywords
- planning
- power grid
- model
- case
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
- G06Q10/043—Optimisation of two dimensional placement, e.g. cutting of clothes or wood
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/18—Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/36—Circuit design at the analogue level
- G06F30/367—Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/06—Electricity, gas or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Geometry (AREA)
- Tourism & Hospitality (AREA)
- Health & Medical Sciences (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Operations Research (AREA)
- Game Theory and Decision Science (AREA)
- Computational Mathematics (AREA)
- Development Economics (AREA)
- Pure & Applied Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Quality & Reliability (AREA)
- Entrepreneurship & Innovation (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The invention discloses a polymorphic model management method based on segmented coding, which comprises the following steps: 1) establishing a power grid model management root directory; 2) creating a basic power grid model, wherein a power grid planning model data management service creates a reference version directory under the power grid model management root directory created in the step 1), creates a basic state directory under the reference version directory, and stores the created basic power grid model into the basic state directory; 3) creating a planning case by taking the basic power grid model created in the step 2) as a reference, and then creating an annual plan in the planning case; coding the reference version, the basic state and the planning state information which the planning case depends on according to the planning case coding rule to obtain the power grid planning case code; 4) analyzing the power grid planning case codes in the power grid planning model access request, and then inquiring power grid planning model data in the instance pool through corresponding service instances according to the analyzed result.
Description
Technical Field
The invention belongs to the sub-field of data management in computer science and technology, and relates to a polymorphic model management method based on segmented coding.
Background
In the power automation system, a power grid model is used as a data structure for describing an actual power grid structure and is core data of the power automation system, and in the field of power grid planning application, a power grid planning researcher reflects the planning design of a power grid architecture in a computer system or designs power grid model data. At present, an existing power grid planning system is generally designed based on a set of basic power grid model data to generate a set of planned power grid models, each power grid plan corresponds to a set of power grid model data, if different sets of power grid planning data need to be analyzed and researched, the power grid model data corresponding to the power grid plan needs to be reloaded, only one set of power grid model data can be loaded each time, and the access requirements of multiple sets of power grid planning research on multiple sets of power grid model data cannot be met simultaneously.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a polymorphic model management method based on segmented coding, which can simultaneously realize access query of multiple groups of power grid planning model data.
In order to achieve the purpose, the polymorphic model management method based on segmented coding comprises the following steps:
1) establishing a power grid model management root directory;
2) creating a basic power grid model, wherein a power grid planning model data management service creates a reference version directory under the power grid model management root directory created in the step 1), creates a basic state directory under the reference version directory, and stores the created basic power grid model into the basic state directory;
3) creating a planning case by taking the basic power grid model created in the step 2) as a reference, and then creating annual plans in the planning case, wherein each annual plan corresponds to a planning state model; extracting the reference version, the basic state and the planning state information which the planning case depends on, then coding the reference version, the basic state and the planning state information which the planning case depends on according to a planning case coding rule to obtain a power grid planning case code, and taking the power grid planning case code as a unique identifier of the planning case;
4) when the power grid planning model data management service receives an access request of a power grid planning model, analyzing a power grid planning case code in the power grid planning model access request, then determining planning state model service positioning information corresponding to the planning case according to a reference version, a basic state, the planning case and planning state information of the power grid planning model corresponding to the analyzed accessed power grid planning case, routing the planning state model service positioning information to a corresponding service instance, inquiring planning state model data by the service instance, and then returning an inquiry result.
The power grid planning case code is composed of a reference version, a basic state, a planning case and planning state information of a basic state power grid model which represents the planning case to depend on in sequence.
The multi-state model data service instance pool automatically manages the life cycle of a plurality of planning state model access service instances, and when the time that any one service instance is not inquired is greater than or equal to a preset value, the service instance is deleted.
The invention has the following beneficial effects:
when the multi-state model management method based on the segmented coding is specifically operated, each planning case is sequentially stored, then the basic version, the basic state and the planning state information which the planning case depends on are coded to obtain the power grid planning case code, the power grid planning case code is used as the unique identifier of the planning case, and in the query process, the service example corresponding to the code can be searched and positioned only by analyzing the power grid planning case code in the power grid planning model access request, so that the access query of multiple groups of power grid planning model data is realized, the operation is simple, the flexibility and the availability of the application of the power grid planning data are greatly improved, and the efficiency of data access is ensured.
Drawings
FIG. 1 is a schematic structural view of the present invention;
fig. 2 is a schematic structural diagram of power grid planning case coding in the present invention.
Detailed Description
The invention is described in further detail below with reference to the accompanying drawings:
referring to fig. 1, the polymorphic model management method based on segmented coding according to the present invention includes the following steps:
1) establishing a power grid model management root directory;
2) creating a basic power grid model, wherein a power grid planning model data management service creates a reference version directory under the power grid model management root directory created in the step 1), creates a basic state directory under the reference version directory, and stores the created basic power grid model into the basic state directory;
3) creating a planning case by taking the basic power grid model created in the step 2) as a reference, and then creating annual plans in the planning case, wherein each annual plan corresponds to a planning state model; extracting the reference version, the basic state and the planning state information which the planning case depends on, then coding the reference version, the basic state and the planning state information which the planning case depends on according to a planning case coding rule to obtain a power grid planning case code, and taking the power grid planning case code as a unique identifier of the planning case;
4) when the power grid planning model data management service receives an access request of a power grid planning model, analyzing a power grid planning case code in the power grid planning model access request, then determining planning state model service positioning information corresponding to the planning case according to a reference version, a basic state, the planning case and planning state information of the power grid planning model corresponding to the analyzed accessed power grid planning case, routing the planning state model service positioning information to a corresponding service instance, inquiring planning state model data by the service instance, and then returning an inquiry result.
The power grid planning case code is composed of a reference version, a basic state, a planning case and planning state information of a basic state power grid model which represents the planning case to depend on in sequence.
The invention also comprises a multi-state model data service instance pool, wherein the multi-state model data service instance pool automatically manages the life cycle of a plurality of planning state model access service instances, and when the time that any one service instance is not inquired is more than or equal to a preset value, the service instance is deleted.
The power grid planning model data management service comprises a model data access engine, model instance management and a model access route; the model data access engine mainly realizes an access mechanism aiming at the model data file, persists the added and deleted model data into the model data file, and simultaneously provides a data access function based on the model data file; the planning model instance management module is responsible for managing planning cases, one planning case corresponds to one planning state model (including a basic state model), a memory file mapping mechanism is adopted to map model data files to a shared memory, an external access request for a power grid planning model is received, access of the planning case corresponding to the power grid planning model data is provided through a model data access engine, and an operation result is returned; the planning model access route is mainly responsible for analyzing the coding rules of the power grid planning case, providing coding services of the reference version, the basic state and the planning state information depended by the planning case, analyzing and positioning the model data instance corresponding to the planning case according to the coding rules of the power grid planning case, forwarding the access request of the power grid planning model to the service instance corresponding to the planning case, and realizing the access to any planning state model data.
The power grid planning case segmented coding rule is used as one of the cores of the invention, the basic version information, the basic state information and the planning state information which are depended by the planning case are coded according to a uniform rule, and the mapping relation between the power grid planning case coding and a power grid planning model is established, wherein the power grid planning case coding format is shown in figure 1 and comprises the following contents: the power grid planning case code is composed of four sectional codes, and sequentially represents basic version information, basic state information, planning case information and planning state information which are relied by a planning case and is used as indexes of different model states, and the power grid planning model management service automatically positions model data corresponding to the planning case through analysis codes and provides access service.
Claims (1)
1. A polymorphic model management method based on segmented coding is characterized by comprising the following steps:
1) establishing a power grid model management root directory;
2) creating a basic power grid model, wherein a power grid planning model data management service creates a reference version directory under the power grid model management root directory created in the step 1), creates a basic state directory under the reference version directory, and stores the created basic power grid model into the basic state directory;
3) creating a planning case by taking the basic power grid model created in the step 2) as a reference, and then creating annual plans in the planning case, wherein each annual plan corresponds to a planning state model; extracting the reference version, the basic state and the planning state information which the planning case depends on, then coding the reference version, the basic state and the planning state information which the planning case depends on according to a planning case coding rule to obtain a power grid planning case code, and taking the power grid planning case code as a unique identifier of the planning case;
4) when the power grid planning model data management service receives an access request of a power grid planning model, analyzing a power grid planning case code in the power grid planning model access request, then determining planning state model service positioning information corresponding to the planning case according to a reference version, a basic state, the planning case and planning state information of the power grid planning model corresponding to the analyzed accessed power grid planning case, routing the planning state model service positioning information to a corresponding service instance, inquiring planning state model data by the service instance, and then returning an inquiry result;
the power grid planning case code sequentially consists of a reference version, a basic state, a planning case and planning state information of a basic state power grid model which represents the dependence of the planning case;
the multi-state model data service instance pool automatically manages the life cycle of a plurality of planning state model access service instances, and when the time that any one service instance is not inquired is greater than or equal to a preset value, the service instance is deleted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610364805.3A CN106067071B (en) | 2016-05-27 | 2016-05-27 | Multi-state model management method based on segmented coding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610364805.3A CN106067071B (en) | 2016-05-27 | 2016-05-27 | Multi-state model management method based on segmented coding |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106067071A CN106067071A (en) | 2016-11-02 |
CN106067071B true CN106067071B (en) | 2020-01-10 |
Family
ID=57420798
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610364805.3A Expired - Fee Related CN106067071B (en) | 2016-05-27 | 2016-05-27 | Multi-state model management method based on segmented coding |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106067071B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108736465B (en) | 2017-04-24 | 2021-09-03 | 中国电力科学研究院 | Future-state power grid model construction method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102646222A (en) * | 2012-02-17 | 2012-08-22 | 中国电力科学研究院 | All-data management method of power grid |
CN102855271A (en) * | 2012-07-05 | 2013-01-02 | 中国电力科学研究院 | Storage and traceable management method for multi-version power grid model |
CN105447175A (en) * | 2015-12-09 | 2016-03-30 | 中国电力科学研究院 | Power grid model sharing method applicable to distributed computation of power system |
-
2016
- 2016-05-27 CN CN201610364805.3A patent/CN106067071B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102646222A (en) * | 2012-02-17 | 2012-08-22 | 中国电力科学研究院 | All-data management method of power grid |
CN102855271A (en) * | 2012-07-05 | 2013-01-02 | 中国电力科学研究院 | Storage and traceable management method for multi-version power grid model |
CN105447175A (en) * | 2015-12-09 | 2016-03-30 | 中国电力科学研究院 | Power grid model sharing method applicable to distributed computation of power system |
Also Published As
Publication number | Publication date |
---|---|
CN106067071A (en) | 2016-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105069033B (en) | A kind of method and device for creating database table model | |
CN106528786B (en) | Method and system of the multi-source heterogeneous power grid big data of fast transferring to HBase | |
CN102750406A (en) | Multi-version management method for model set and difference model-based power grid model | |
CN101908176A (en) | Method for modeling on basis of power information data and applying metadata management | |
CN104090889A (en) | Method and system for data processing | |
CN105183834A (en) | Ontology library based transportation big data semantic application service method | |
CN107016084A (en) | A kind of place name address quickly positions the method with inquiry | |
CN103744960A (en) | Metadata indexing module and method based on cloud platform | |
CN102999524B (en) | A kind of document associations search method and system | |
CN104573022A (en) | Data query method and device for HBase | |
CN107590749A (en) | A kind of processing method and system with electricity consumption data | |
CN105787808A (en) | IEC61968 standard document generation system and method based on generic programming and reflection mechanism | |
CN102253975A (en) | Automatic switching system and method for database | |
CN107870949A (en) | Data analysis job dependence relation generation method and system | |
CN110851511A (en) | Data synchronization method and device | |
CN110928878A (en) | HDFS-based point cloud data processing method and device | |
CN106067071B (en) | Multi-state model management method based on segmented coding | |
CN107704585A (en) | One kind inquiry HDFS data methods and system | |
CN110069392A (en) | A kind of acquisition methods reflecting data center's information technoloy equipment efficiency feature | |
CN103258047A (en) | Data organization method of data warehouse for controlling operation cost of medicine enterprise | |
CN111581187B (en) | Data management method, device, computer equipment and storage medium for intelligent park | |
CN102520959A (en) | Reused code matching inquiry method based on meaning | |
CN105447064A (en) | Electronic map data making method and using method and apparatus therefor | |
CN104714956A (en) | Comparison method and device for isomerism record sets | |
CN103699627A (en) | Dummy file parallel data block positioning method based on Hadoop cluster |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200110 Termination date: 20200527 |