CN109740022B - Method and device for recording power grid CIM model change - Google Patents

Method and device for recording power grid CIM model change Download PDF

Info

Publication number
CN109740022B
CN109740022B CN201811527941.5A CN201811527941A CN109740022B CN 109740022 B CN109740022 B CN 109740022B CN 201811527941 A CN201811527941 A CN 201811527941A CN 109740022 B CN109740022 B CN 109740022B
Authority
CN
China
Prior art keywords
power grid
change
cim model
starting
grid cim
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.)
Active
Application number
CN201811527941.5A
Other languages
Chinese (zh)
Other versions
CN109740022A (en
Inventor
杨强
田翔
马凯
谢善益
周刚
刘剑锋
陈冠缘
徐思尧
徐庆平
吴煜填
梁锦淮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Electric Power Research Institute of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Electric Power Research Institute of Guangdong Power Grid Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Power Grid Co Ltd, Electric Power Research Institute of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN201811527941.5A priority Critical patent/CN109740022B/en
Publication of CN109740022A publication Critical patent/CN109740022A/en
Application granted granted Critical
Publication of CN109740022B publication Critical patent/CN109740022B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The application discloses a method and a device for recording power grid CIM model change, wherein the method comprises the following steps: detecting the running state of a change module for changing the CIM model of the power grid in real time; when the operation of the change module is detected, the starting time of the operation of the change module, the change type of the operation and the change content are recorded. In the method, the recorded change information of the power grid CIM model is comprehensive, accurate and specific by detecting the change state of the power grid CIM model in real time and automatically recording, so that the technical problems that errors and omissions are easy to occur in the recording mode of the change information of the conventional power grid CIM model are solved.

Description

Method and device for recording power grid CIM model change
Technical Field
The application belongs to the technical field of electric power, and particularly relates to a method and a device for recording power grid CIM model change.
Background
Along with the rapid increase of the economy of China, the scale of the power system is also rapidly increased, and the corresponding power system model is also in continuous increase and change. In terms of technical means described in the power system, a common information model of the power system, TC57CIM, provided by the technical committee of International Electrotechnical Commission (IEC)57 (TC57) has been most widely used.
Recording the change process of a power system public information model (hereinafter referred to as a power grid CIM model) is beneficial to processing, tracing and the like of subsequent abnormity. The existing recording of the change information of the power grid CIM model is mainly a manual document recording mode or a regular full model backup mode, wherein the manual recording mode is easy to generate manual recording errors, manual recording is easy to omit, and the recording data of the regular full model backup mode is not comprehensive enough and can also omit.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for recording a change of a power grid CIM model, which are used for recording change information of the power grid CIM model, and solve the technical problems that an error and omission easily occur in a recording manner of the change information of the existing power grid CIM model.
The application provides a method for recording power grid CIM model change in a first aspect, which comprises the following steps:
detecting the running state of a change module for changing the CIM model of the power grid in real time;
when the operation of the change module is detected, the starting time of the operation of the change module, the change type of the operation and the change content are recorded.
Preferably, the method further comprises:
the method further comprises the following steps:
acquiring an inversion request of the change operation corresponding to the first starting moment;
loading a first change type and a first change content corresponding to the first starting time, and loading a power grid CIM (common information model) at a second starting time according to a preset loading mode, wherein the second starting time is the next starting time of the first starting time;
and executing the operation opposite to the first change type according to the first change content in the power grid CIM model at the second starting moment.
Preferably, the loading the power grid CIM model at the second starting time according to a preset loading manner includes:
and calculating the power grid CIM model at the second starting moment according to the power grid CIM model backed up at a preset time interval, each starting moment associated with the second starting moment, and the change type and the change content corresponding to each starting moment.
Preferably, the loading the power grid CIM model at the second starting time according to a preset loading manner includes:
and loading the power grid CIM model at the second starting moment according to the power grid CIM model stored at each starting moment.
Preferably, the method further comprises:
acquiring a playback request of the change operation corresponding to the third starting moment;
loading a third change type and a third change content corresponding to the third starting moment, and loading a power grid CIM model at the third starting moment according to a preset loading mode;
and executing the operation with the same type as the third change type in the power grid CIM model at the third starting time according to the third change content.
Preferably, the loading the power grid CIM model at the third starting time according to a preset loading manner specifically includes:
and calculating the power grid CIM model of the third starting moment according to the power grid CIM model backed up at a preset time interval, each starting moment associated with the third starting moment, and the change type and the change content corresponding to each starting moment.
Preferably, the loading the power grid CIM model at the third starting time according to a preset loading manner specifically includes:
and loading the power grid CIM model at the third starting moment according to the power grid CIM model stored at each starting moment.
Preferably, the method further comprises:
responding to the historical browsing request of the power grid CIM model, and loading all starting moments before the historical browsing request moment and the change types and the change contents corresponding to all the starting moments according to the historical browsing request;
and displaying all the starting moments, and the change types and the change contents corresponding to all the moments in all the moments according to the historical browsing requests.
Preferably, the change types include: newly building an object for the power grid CIM model, deleting the object in the power grid CIM model, modifying the value of the object in the power grid CIM model, newly building an association relationship between the objects in the power grid CIM model, and deleting the association relationship between the objects in the power grid CIM model.
The second aspect of the present application provides an apparatus for recording changes of a power grid CIM model, including:
the monitoring module is used for detecting the running state of a change module for changing the CIM model of the power grid in real time;
and the recording module is used for recording the starting time of the operation of the change module, the change type of the operation and the change content when the operation of the change module is detected.
According to the technical scheme, the embodiment of the application has the following advantages:
the application provides a method for recording power grid CIM model change, which comprises the following steps: and detecting the running state of a change module for changing the power grid CIM model in real time, and recording the starting time of starting running of the change module, the change type and the change content of the running change operation when the change module is detected to run. In the method, the recorded change information of the power grid CIM model is comprehensive, accurate and specific by detecting the change state of the power grid CIM model in real time and automatically recording, so that the technical problems that errors and omissions are easy to occur in the recording mode of the change information of the conventional power grid CIM model are solved.
Drawings
Fig. 1 is a schematic flowchart of a first embodiment of a method for recording a change of a power grid CIM model in an embodiment of the present application;
fig. 2 is a schematic flowchart of a second embodiment of a method for recording a change of a grid CIM model in an embodiment of the present application;
fig. 3 is a schematic flowchart of a third embodiment of a method for recording a change of a power grid CIM model in an embodiment of the present application;
fig. 4 is a schematic flowchart of a fourth embodiment of a method for recording a change of a power grid CIM model in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an embodiment of an apparatus for recording a change of a CIM model of a power grid in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a method and a device for recording the change of a power grid CIM model, which are used for recording the change information of the power grid CIM model and solving the technical problems that the recording mode of the change information of the existing power grid CIM model is easy to have errors and omit.
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, a flowchart of a first embodiment of a method for recording a change of a CIM model of a power grid in an embodiment of the present application includes:
and 101, detecting the running state of a change module for changing the CIM model of the power grid in real time.
The operation state of a change module for changing the power grid CIM model is detected in real time, when the change module is in operation, the change module is used for performing change operation on the power grid CIM model, and when the change module is not in operation, the change module is used for not performing change operation on the power grid CIM model.
And 102, when the operation of the change module is detected, recording the starting time of the operation of the change module, the change type of the operation and the change content.
When the operation of the change module is detected, that is, the change module performs a change operation on the power grid CIM model, the start time of the operation start of the change module, and the change type and the change content of the operation change operation are recorded.
Further, the types of alterations include, but are not limited to: newly building an object in the power grid CIM model, deleting the object in the power grid CIM model, modifying the value of the attribute of the object in the power grid CIM model, newly building an association relationship between the objects in the power grid CIM model, and deleting the association relationship between the objects in the power grid CIM model.
It can be understood that, when the change type is a new object to the power grid CIM model, the change content is a type name of the new object, a URI identifier of the new object, a valued attribute name in the new object, and values of each attribute; when the change type is deleting the object in the power grid CIM model, changing the type name of the deleted object, the URI identification of the deleted object, all the attribute names in the deleted object and the values of all the attributes; when the change type of the change operation is to modify the value of the attribute of the object in the power grid CIM model, the change content is specifically as follows: the type name of the modified object, the URI identification of the modified object, the modified attribute name of the modified object, the value of the attribute name before modification and the value of the attribute name after modification; when the change type is the incidence relation between the objects in the newly-built power grid CIM model, the change content is specifically as follows: the relationship name of the newly-created association relationship, the type name of the object related to the newly-added association relationship, the URI identification and the value are also required to be explained, and for the newly-added update of the many-to-one association relationship, if the deletion of the cascaded association relationship is caused, the deleted association relationship is recorded; when the change type is to delete the incidence relation between the objects in the power grid CIM model, the change content is specifically as follows: and the relationship name of the deleted association relationship, and the type name, URI identification and value of the object related to the deleted association relationship.
In the embodiment, the recorded change information of the power grid CIM model is comprehensive, accurate and specific by detecting and automatically recording the change state of the power grid CIM model in real time, so that the technical problems that errors and omissions are easy to occur in the recording mode of the change information of the conventional power grid CIM model are solved.
The above is a first embodiment of a method for recording a change of a CIM model of a power grid provided by an embodiment of the present application, and the following is a second embodiment of the method for recording a change of the CIM model of a power grid provided by an embodiment of the present application.
Referring to fig. 2, a flowchart of a method for recording a change of a CIM model of a power grid according to a second embodiment of the present disclosure includes:
step 201, detecting the running state of a change module for changing the power grid CIM model in real time.
It should be noted that, the content of step 201 is the same as that of step 101 in the first embodiment of the present application, and specific description may refer to the content of step 101 in the first embodiment, which is not described herein again.
Step 202, when detecting that the change module runs, recording the starting time when the change module starts running, and the change type and the change content of the running change operation.
It should be noted that, the content of step 202 is the same as that of step 102 in the first embodiment of the present application, and specific description may refer to the content of step 102 in the first embodiment, which is not described herein again.
And step 203, acquiring an inversion request of the change operation corresponding to the first starting moment.
And 204, loading a first change type and first change content corresponding to the first starting time, and loading the power grid CIM model at the second starting time according to a preset loading mode.
The second start time is a start time next to the first start time.
When the change information of the power grid CIM model is recorded, the change operation of the power grid CIM model can be inverted according to the change information, can research the practical needs of the power system development and provide effective reference for future power system planning, in particular to obtain the inversion request of the change operation corresponding to the first starting moment, and loading a first change type and a first change content corresponding to the first starting time and a power grid CIM model at the second starting time, for example, the obtaining request is the changing operation at the inversion starting time T, the changing type corresponding to the starting time T is a new object, the type name of the new object is A, the URI mark of the object A is a, each attribute name of 3 valued attributes included in the object A has values of b, c and d, and the object information of the object A and the power grid model Q' at the starting time T +1 are loaded. It can be understood that, when a request for deleting an object in the power grid CIM model, modifying a value of an attribute of the object in the power grid CIM model, newly building an association relationship between objects in the power grid CIM model, and deleting the association relationship between objects in the power grid CIM model is made, the loaded information is similar to that when the object is newly built, which is specifically referred to the above description, and is not repeated herein.
It should be noted that, according to a preset loading manner, the power grid CIM model at the second start time may be loaded such that at the start time of each change, the power grid CIM model is saved, during loading, the corresponding power grid CIM model is directly loaded according to the time of requesting for loading, that is, according to the power grid CIM model saved at each start time, the power grid CIM model at the second start time is loaded, and also, the power grid CIM model at the regular backup time may be used, and the power grid CIM model corresponding to the time of requesting for loading is calculated in a reverse or forward calculation manner, that is, according to the power grid CIM model backed up at a preset time interval, each start time associated with the second start time, and the change type and change content corresponding to each start time, the power grid CIM model at the second start time is calculated, for example, the power grid CIM model is backed up every 5min, and 3 changes are respectively increased by 1min within 0min, 2min is delete A and 3min is add B. At this time, the obtained inversion request corresponds to 2min, the power grid model at the next starting time of 2min, that is, 3min, can be calculated according to the power grid model corresponding to 0min in the forward direction, and the power grid model at the next starting time of 2min, that is, 3min, can also be calculated according to the power grid model corresponding to 5min in the reverse direction.
And step 205, executing the operation opposite to the first change type according to the first change content in the power grid CIM model at the second starting time.
After information required for the inversion change operation is loaded, the inversion is performed, that is, an operation opposite to the first change type is executed in the power grid CIM model at the second start time according to the first change content, for example, the change operation of inverting the new object a corresponding to step 203 in this embodiment is: and (3) related information of the object A in the power grid CIM model Q' (namely the type name of the object is A, the URI of the object A is marked as a, and each attribute name of 3 valued attributes included in the object A takes values of b, c and d respectively). It can be understood that the process of inversely deleting objects in the power grid CIM model, modifying values of attributes of the objects in the power grid CIM model, newly building an association relationship between the objects in the power grid CIM model, and deleting the association relationship between the objects in the power grid CIM model is similar to the above process, and details are not repeated here.
In the embodiment, the recorded change information of the power grid CIM model is comprehensive, accurate and specific by detecting and automatically recording the change state of the power grid CIM model in real time, so that the technical problems that errors and omissions are easy to occur in the recording mode of the change information of the conventional power grid CIM model are solved.
The above is a second embodiment of the method for recording the change of the CIM model of the power grid provided by the embodiment of the present application, and the following is a third embodiment of the method for recording the change of the CIM model of the power grid provided by the embodiment of the present application.
Referring to fig. 3, a flowchart of a third embodiment of a method for recording a change of a grid CIM model in an embodiment of the present application includes:
and 301, detecting the running state of a change module for changing the CIM model of the power grid in real time.
It should be noted that, the content of step 301 is the same as that of step 101 in the first embodiment of the present application, and specific description may refer to the content of step 101 in the first embodiment, which is not described herein again.
Step 302, when detecting that the change module runs, recording the starting time of the change module starting running, the running change type and the change content.
It should be noted that the content of step 302 is the same as that of step 102 in the first embodiment of the present application, and specific description may refer to the content of step 102 in the first embodiment, which is not described herein again.
And step 303, acquiring a playback request of the change operation corresponding to the third starting time.
The playback request of the change operation corresponding to the third start time is acquired.
And step 304, loading a third change type and a third change content corresponding to the third starting time, and loading the power grid CIM model at the third starting time according to a preset loading mode.
After the change information of the power grid CIM model is recorded, the change operation of the power grid CIM model can be played back according to the change information, and the practical requirement of power system development can be researched and effective reference can be provided for future power system planning. The method specifically includes acquiring a playback request of a change operation corresponding to a third start time, and loading a third change type and a third change content corresponding to a third running time, and a power grid CIM model at the third start time, where the acquisition request is a change operation at a playback start time T, the change type corresponding to the start time T is a new object, the type name of the new object is a, the URI of the object a is a, the attribute names of 3 valued attributes included in the object a are b, c, and d, and the related information of the object a (that is, the type name of the object is a, the URI of the object a is a, the attribute names of 3 valued attributes included in the object a are b, c, and d), and the power grid model Q at the start time T. It can be understood that, when playing back a request for deleting an object in the power grid CIM model, modifying a value of an attribute of the object in the power grid CIM model, newly building an association relationship between objects in the power grid CIM model, and deleting the association relationship between objects in the power grid CIM model, the loaded information is similar to that when the object is newly built, which is specifically referred to the above description, and is not repeated herein.
It should be noted that, according to a preset loading manner, the power grid CIM model at the third start time may be loaded such that the power grid CIM model is stored at the start time of each change, and during loading, the corresponding power grid CIM model is directly loaded according to the time of requesting for loading, that is, the power grid CIM model at the third start time is loaded according to the power grid CIM model stored at each start time, and also may be a power grid CIM model that is backed up periodically, and the power grid CIM model corresponding to the time of requesting for loading is calculated in a reverse or forward calculation manner, that is, the power grid CIM model at the third start time is calculated according to the power grid CIM model backed up at a preset time interval, each start time associated with the third start time, and the change type and change content corresponding to each start time. For specific application, refer to the description of step 204 in the second embodiment, which is not repeated herein.
And 305, executing the operation with the same type as the third change type in the power grid CIM model at the third starting time according to the third change content.
It should be noted that, after loading information required for replaying the change operation, the new object a is replayed, that is, the same operation as the third change type is executed according to the third change content in the power grid CIM model at the third start time, for example, the change operation of replaying the new object a corresponding to step 303 in this embodiment is: and (3) creating an object A in the power grid CIM model Q according to the related information of the object A (namely the type name of the object is A, the URI mark of the object A is a, each attribute name of 3 valued attributes included in the object A is b, c and d respectively). It can be understood that the process of replaying and deleting the objects in the power grid CIM model, modifying the values of the attributes of the objects in the power grid CIM model, newly building the association relationship between the objects in the power grid CIM model, and deleting the association relationship between the objects in the power grid CIM model is similar to the above process, and is not described herein again.
In the embodiment, the recorded change information of the power grid CIM model is comprehensive, accurate and specific by detecting and automatically recording the change state of the power grid CIM model in real time, so that the technical problems that errors and omissions are easy to occur in the recording mode of the change information of the conventional power grid CIM model are solved.
The foregoing is a third embodiment of the method for recording a change of the CIM model of the power grid provided by the embodiment of the present application, and the following is a fourth embodiment of the method for recording a change of the CIM model of the power grid provided by the embodiment of the present application.
Referring to fig. 4, a flowchart of a fourth embodiment of a method for recording a change of a grid CIM model in an embodiment of the present application includes:
step 401, detecting the running state of a change module for changing the power grid CIM model in real time.
It should be noted that the content of step 401 is the same as that of step 101 in the first embodiment of the present application, and specific description may refer to the content of step 101 in the first embodiment, which is not described herein again.
Step 402, when detecting that the change module runs, recording the starting time when the change module starts running, and the change type and the change content of the running change operation.
It should be noted that the content of step 402 is the same as that of step 102 in the first embodiment of the present application, and specific description may refer to the content of step 102 in the first embodiment, which is not described herein again.
And step 403, responding to the historical browsing request of the power grid CIM model, and loading all starting moments before the historical browsing request moment and the change types and the change contents corresponding to all the starting moments according to the historical browsing request.
It should be noted that, after the change information of the power grid CIM model is recorded, the change operation of the power grid CIM model can be browsed according to the change information, the actual need of power system development can be studied, and effective reference can be provided for future power system planning, specifically, a historical browsing request of the power grid CIM model is responded, all the starting times before the historical browsing request time and the change types and change contents corresponding to all the starting times are loaded according to the historical browsing request, for example, when the historical information of the browsing object a is received at the time T, a at all the starting times between the loading times T, the URI identifier of the object a, the attribute names of 3 valued attributes included in the object a are loaded, and the attribute names are b, c and d. It can be understood that, when a request for deleting an object in the power grid CIM model, modifying a value of an attribute of the object in the power grid CIM model, newly building an association relationship between objects in the power grid CIM model, and deleting the association relationship between objects in the power grid CIM model is made through historical browsing, the loaded information is similar to that when the object is newly built, which is specifically referred to the above description, and is not repeated herein.
And step 404, displaying all the starting time and the change type and the change content corresponding to each time in all the time according to the historical browsing request.
After loading the information required for the history browsing change operation, the history browsing is performed, that is, all the start times and the change types and change contents corresponding to the respective times in all the times are displayed according to the history browsing request, for example, the history browsing of the history browsing new object a corresponding to step 403 in this embodiment is: and displaying A at all starting moments between the moments T, the URI identification of the object A, and each attribute name of 3 valued attributes included in the object A, wherein the value of each attribute name is b, c and d. It can be understood that the process of deleting the objects in the power grid CIM model, modifying the values of the attributes of the objects in the power grid CIM model, creating the association relationship between the objects in the power grid CIM model, and deleting the association relationship between the objects in the power grid CIM model is similar to the above process, and is not repeated here.
In the embodiment, the recorded change information of the power grid CIM model is comprehensive, accurate and specific by detecting and automatically recording the change state of the power grid CIM model in real time, so that the technical problems that errors and omissions are easy to occur in the recording mode of the change information of the conventional power grid CIM model are solved.
The above is a fourth embodiment of the method for recording the change of the CIM model of the power grid according to the embodiment of the present application, and the following is an embodiment of the apparatus for recording the change of the CIM model of the power grid according to the embodiment of the present application.
Referring to fig. 5, a schematic structural diagram of an embodiment of an apparatus for recording a change of a CIM model of a power grid in an embodiment of the present application includes:
and the monitoring module 501 is configured to detect an operation state of a change module for changing the power grid CIM model in real time.
The recording module 502 is configured to record a start time when the change module starts to operate, and a change type and a change content of the operation when it is detected that the change module operates.
In the embodiment, the recorded change information of the power grid CIM model is comprehensive, accurate and specific by detecting and automatically recording the change state of the power grid CIM model in real time, so that the technical problems that errors and omissions are easy to occur in the recording mode of the change information of the conventional power grid CIM model are solved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (6)

1. A method for recording changes of a CIM (common information model) of a power grid is characterized by comprising the following steps:
detecting the running state of a change module for changing the CIM model of the power grid in real time;
when the change module is detected to run, recording the starting time of the change module starting to run, the running change type and the running change content;
the change types include: newly building an object for the power grid CIM model, deleting the object in the power grid CIM model, modifying the value of the object in the power grid CIM model, newly building an association relationship between the objects in the power grid CIM model, and deleting the association relationship between the objects in the power grid CIM model;
the method further comprises the following steps:
acquiring an inversion request of the change operation corresponding to the first starting moment;
loading a first change type and a first change content corresponding to the first starting time, and loading a power grid CIM (common information model) at a second starting time according to a preset loading mode, wherein the second starting time is the next starting time of the first starting time;
executing an operation opposite to the first change type according to the first change content in the power grid CIM model at the second starting moment;
the loading the power grid CIM model at the second starting moment according to a preset loading mode comprises the following steps:
and calculating the power grid CIM model at the second starting moment according to the power grid CIM model backed up at a preset time interval, each starting moment associated with the second starting moment, and the change type and the change content corresponding to each starting moment.
2. The method for recording changes of the CIM model of the power grid according to claim 1, further comprising:
acquiring a playback request of the change operation corresponding to the third starting moment;
loading a third change type and a third change content corresponding to the third starting moment, and loading a power grid CIM model at the third starting moment according to a preset loading mode;
and executing the operation with the same type as the third change type in the power grid CIM model at the third starting time according to the third change content.
3. The method for recording changes of the power grid CIM model according to claim 2, wherein the loading of the power grid CIM model at the third starting time according to a preset loading manner specifically comprises:
and calculating the power grid CIM model of the third starting moment according to the power grid CIM model backed up at a preset time interval, each starting moment associated with the third starting moment, and the change type and the change content corresponding to each starting moment.
4. The method for recording changes of the power grid CIM model according to claim 2, wherein the loading of the power grid CIM model at the third starting time according to a preset loading manner specifically comprises:
and loading the power grid CIM model at the third starting moment according to the power grid CIM model stored at each starting moment.
5. The method for recording changes of the CIM model of the power grid according to claim 1, further comprising:
responding to the historical browsing request of the power grid CIM model, and loading all starting moments before the historical browsing request moment and the change types and the change contents corresponding to all the starting moments according to the historical browsing request;
and displaying all the starting moments and the change types and the change contents corresponding to all the starting moments according to the historical browsing requests.
6. An apparatus for recording changes of a CIM model of a power grid, comprising:
the monitoring module is used for detecting the running state of a change module for changing the CIM model of the power grid in real time;
the recording module is used for recording the starting time of the operation of the change module, the change type of the operation and the change content when the operation of the change module is detected;
the change types include: newly building an object for the power grid CIM model, deleting the object in the power grid CIM model, modifying the value of the object in the power grid CIM model, newly building an association relationship between the objects in the power grid CIM model, and deleting the association relationship between the objects in the power grid CIM model;
the device further comprises:
the first acquisition module is used for acquiring an inversion request of the change operation corresponding to the first starting moment;
the first loading module is used for loading a first change type and a first change content corresponding to the first starting time, and loading a power grid CIM (common information model) at a second starting time according to a preset loading mode, wherein the second starting time is the next starting time of the first starting time;
the first execution module is used for executing the operation opposite to the first change type according to the first change content in the power grid CIM model at the second starting moment;
the loading the power grid CIM model at the second starting moment according to a preset loading mode comprises the following steps:
and calculating the power grid CIM model at the second starting moment according to the power grid CIM model backed up at a preset time interval, each starting moment associated with the second starting moment, and the change type and the change content corresponding to each starting moment.
CN201811527941.5A 2018-12-13 2018-12-13 Method and device for recording power grid CIM model change Active CN109740022B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811527941.5A CN109740022B (en) 2018-12-13 2018-12-13 Method and device for recording power grid CIM model change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811527941.5A CN109740022B (en) 2018-12-13 2018-12-13 Method and device for recording power grid CIM model change

Publications (2)

Publication Number Publication Date
CN109740022A CN109740022A (en) 2019-05-10
CN109740022B true CN109740022B (en) 2021-09-24

Family

ID=66359415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811527941.5A Active CN109740022B (en) 2018-12-13 2018-12-13 Method and device for recording power grid CIM model change

Country Status (1)

Country Link
CN (1) CN109740022B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765192A (en) * 2020-12-29 2021-05-07 广东电网有限责任公司电力科学研究院 CIM (common information model) data change notification method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150229525A1 (en) * 2008-05-26 2015-08-13 International Business Machines Corporation Registering a Common Information Model Provider to a Common Information Model Object Manager
CN107256443A (en) * 2017-04-18 2017-10-17 国网信通亿力科技有限责任公司 Line loss real-time computing technique based on business and data integration
CN108597340A (en) * 2018-05-15 2018-09-28 中国南方电网有限责任公司 A kind of electric network swim three-dimensional electronic sand table Real-time modeling set method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150229525A1 (en) * 2008-05-26 2015-08-13 International Business Machines Corporation Registering a Common Information Model Provider to a Common Information Model Object Manager
CN107256443A (en) * 2017-04-18 2017-10-17 国网信通亿力科技有限责任公司 Line loss real-time computing technique based on business and data integration
CN108597340A (en) * 2018-05-15 2018-09-28 中国南方电网有限责任公司 A kind of electric network swim three-dimensional electronic sand table Real-time modeling set method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于应用与时间维度的电网模型多版本构建与管理技术;石俊杰 等;《中国系统自动化》;20170525;第41卷(第10期);第106-111页 *

Also Published As

Publication number Publication date
CN109740022A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN110309218A (en) A kind of data exchange system and method for writing data
CN107340964A (en) The animation effect implementation method and device of a kind of view
CN110674125B (en) Filtering method and filtering device for data to be fused and readable storage medium
CN112817866A (en) Recording playback method, device, system, computer equipment and storage medium
CN109740022B (en) Method and device for recording power grid CIM model change
CN115391403B (en) Data integration method and data integration device based on rule engine
US20120191348A1 (en) Electronic device and method for detecting status of image measuring machine
CN114153822A (en) Data migration method and device, electronic equipment and storage medium
CN113761059A (en) Data processing method and device
CN114003172B (en) Storage capacity correction method, storage capacity correction device, computer equipment and storage medium
CN106933970B (en) A kind of fast writing data to EXT subregion method and apparatus
CN115470189A (en) Data query method and device and readable storage medium
CN106776607B (en) Method and device for processing operation behaviors of search engine
JP5868766B2 (en) Plant data storage device, plant data storage method, and plant data storage program
CN114661814A (en) Method, system, device and readable medium for realizing warehouse 3D visualization
CN113901352A (en) Webpage operation playback method, device, equipment and storage medium
JP2018109898A (en) Data migration system
CN110674214A (en) Big data synchronization method and device, computer equipment and storage medium
CN112199329A (en) Double-machine operation and maintenance data filing and cleaning method and equipment based on fortress machine
CN111399774A (en) Data processing method and device based on snapshot under distributed storage system
CN111209267A (en) Information providing method, system, device and storage medium
JP2020082364A (en) Management apparatus of monitor data for injection molding machine
JP5252012B2 (en) Data aggregation device and data aggregation program
CN113238742B (en) Direct current control page protection program modification playback method, device, terminal and medium
CN111914012B (en) Data extraction method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant