CN115203876A - Red and black image updating method, device, equipment and medium - Google Patents

Red and black image updating method, device, equipment and medium Download PDF

Info

Publication number
CN115203876A
CN115203876A CN202210937870.6A CN202210937870A CN115203876A CN 115203876 A CN115203876 A CN 115203876A CN 202210937870 A CN202210937870 A CN 202210937870A CN 115203876 A CN115203876 A CN 115203876A
Authority
CN
China
Prior art keywords
graph
red
image
model data
black
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.)
Pending
Application number
CN202210937870.6A
Other languages
Chinese (zh)
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
Dongguan Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Dongguan Power Supply Bureau 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, Dongguan Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN202210937870.6A priority Critical patent/CN115203876A/en
Publication of CN115203876A publication Critical patent/CN115203876A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/04Power grid distribution networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computational Mathematics (AREA)
  • Bioethics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a red and black image updating method, a device, equipment and a medium. Wherein, the method comprises the following steps: acquiring on-site issued graph-mode data and determining a red graph corresponding to the graph-mode data; checking a red graph corresponding to the graph model data; and converting the red image into a black image according to the red image corresponding to the image mode data under the condition of passing the verification. According to the scheme, the manual updating method is replaced by the automatic updating method, the updating efficiency is improved, meanwhile, a large amount of labor is not required to be invested to update the red and black images, and the labor cost is reduced. Moreover, the method and the device can acquire the image mode data published on site in real time based on the scheme, and improve the real-time performance of updating the red and black images.

Description

Red and black image updating method, device, equipment and medium
Technical Field
The invention relates to the technical field of power distribution networks of power systems, in particular to a method, a device, equipment and a medium for updating a red and black image.
Background
The red and black graph is a dynamic change process of a power distribution network model, and not only relates to different versions of graphs, but also relates to expression of network topology and equipment life cycle management. Due to the rapid construction of cities, power distribution network models and topologies change every day, and therefore workers need to update red and black images.
In the prior art, a manual updating method is adopted to update the red and black images. The manual updating method has the defects of poor real-time performance, low efficiency and high labor cost.
Disclosure of Invention
The invention provides a red and black image updating method, a red and black image updating device, red and black image updating equipment and a red and black image updating medium, which are used for automatically updating a red and black image, improving the real-time property and updating efficiency of the red and black image and reducing the labor cost.
According to an aspect of the present invention, there is provided a red-black map updating method, including:
acquiring on-site issued graph-mode data and determining a red graph corresponding to the graph-mode data;
checking a red graph corresponding to the graph mode data;
and under the condition that the verification is passed, converting the red image corresponding to the graph mode data into a black image.
According to another aspect of the present invention, there is provided a red and black map updating apparatus, including:
the device comprises a red graph determining module, a red graph determining module and a red graph determining module, wherein the red graph determining module is used for acquiring graph model data published on site and determining a red graph corresponding to the graph model data;
the red image checking module is used for checking the red image corresponding to the graph mode data;
and the black image conversion module is used for converting the red image corresponding to the image model data into the black image under the condition of passing the verification.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the red and black map updating method according to any embodiment of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a red-black map updating method according to any embodiment of the present invention when the computer instructions are executed.
According to the red and black image updating scheme provided by the embodiment of the invention, the red image corresponding to the graph-mode data is determined by acquiring the graph-mode data published on the spot; checking a red graph corresponding to the graph mode data; and under the condition that the verification is passed, converting the red image corresponding to the graph mode data into a black image. According to the scheme, the manual updating method is replaced by the automatic updating method, the updating efficiency is improved, meanwhile, a large amount of labor is not required to be invested to update the red and black images, and the labor cost is reduced. Moreover, the method and the device can acquire the image mode data published on site in real time based on the scheme, and improve the real-time performance of updating the red and black images.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for updating a red-black map according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for updating a red-black map according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a red-black map updating apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device for implementing a red-black image updating method according to a fourth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above 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 invention described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, 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.
The red and black graph is a dynamic change process of a power distribution network model, and not only relates to different versions of graphs, but also relates to expression of network topology and equipment life cycle management.
The network topology structure describes the electrical connection relation of the whole power distribution network, and is the basis for network analysis and calculation and various applications. Specifically, the black graph state corresponds to a black topology of the feeder line, and the red graph state corresponds to a red topology of the feeder line.
The black topology is a running network topology structure, is formed by warehousing and splicing all feeder lines (including station diagrams) by single-line diagram black diagram nodes, and is a real model topology.
The red topology is a network topology structure at a future moment, is formed by putting and splicing all feeder line single line diagram red diagram nodes in a warehouse, and is a future model topology.
The topological relation between the black topology and the red topology is formed by node warehousing of the feeder line single line diagram. And the node warehousing result corresponds to a node number field in the equipment table. Since there are real models and future models, different node number domains are needed to represent different topologies. The node number field representing the real model topology is called a black node number, and the node number field representing the future model topology is called a red node number.
Wherein the equipment lifecycle includes equipment commissioning, equipment operation, and equipment decommissioning.
Example one
Fig. 1 is a flowchart of a red and black map updating method according to an embodiment of the present invention, where the method is applicable to a case of updating a red and black map, and the method can be executed by a red and black map updating apparatus, where the red and black map updating apparatus can be implemented in a form of hardware and/or software, and can be integrated in an electronic device that carries the red and black map updating method, such as: the grid Operation Control System (OCS).
Referring to fig. 1, the red-black map updating method includes:
s110, obtaining the graph-model data published on site, and determining a red graph corresponding to the graph-model data.
Wherein the graph-model data can be used to characterize data that can generate a corresponding red or black graph. Specifically, the graph model data may include devices in the power distribution network and connection relationships between the devices. Wherein the device may be represented by a model (or graph). In addition, data such as versions, identification information and types of the red or black images adjusted based on the devices are also included in the graph model data. The identification information may include a name and an address of a mode. Wherein the type may be a red or black image.
The red graph is a graph prepared for scheduling after the line reconstruction plan is implemented, and is a graph display of a future power distribution network structure.
The black graph is a graph of a scheduling site, and is a graph display of the current power distribution network structure and the current operation state.
Specifically, the process of acquiring the graph-model data published on the site may be: monitoring messages issued by a power distribution network system; receiving the issued message under the condition that the issued message has the message issued by the transaction; and acquiring the graph model data published on the spot according to the published information.
The messages issued by the transaction refer to messages of the power distribution network system structure change, specifically, the devices in the power distribution network change or the connection relationship between the devices changes. It should be noted that the messages issued by the transaction do not show the specific parts of the power distribution network system that have changed.
In an optional embodiment, the grid operation control System may interconnect with a Geographic Information System (GIS) in a RESTful (specification, constraint, and principle of an architecture) service manner. The geographic information system can release the special theme corresponding to each message according to the released message; the power grid operation control system can monitor the messages of the abnormal release of the power distribution network system in real time by subscribing the theme related to the abnormal release. When the information issued by the transaction exists, the graph-model data can be quickly acquired and timely imported into a database of the power grid operation control system, so that the graph-model data in the power grid operation control system is completely the same as the actual situation of the site.
It can be understood that the information issued by the power distribution network system is monitored, the graph and model data issued on site are acquired in time, the effect of 'consistent graph and model' is achieved, and the real-time performance of the acquired graph and model data is improved.
Specifically, according to the published message, the process of obtaining the graph-model data published on the spot may be: acquiring a graph model identifier published on site according to the published message; generating a graph model acquisition request according to the graph model identification; sending the pattern acquisition request to a power distribution network system; and receiving the graph-model data encrypted by the power distribution network system, and analyzing to obtain the graph-model data published on site.
The pattern model identifier can be used to characterize the pattern model to distinguish different pattern models.
Wherein, the graph mode obtaining request can be used for representing the request for obtaining the graph mode data.
Actually, the issued message is only used for representing that the scene has abnormal issuance, and does not contain the content of specific abnormal, and the abnormal content can be acquired by requesting from the power distribution network system.
Specifically, a situation that a power distribution network system simultaneously issues a plurality of messages exists, and a corresponding graph model identifier exists for any issued message; and generating a corresponding graph model acquisition request according to the graph model identification.
The power distribution network system encrypts the graph mode data when transmitting data, and can decrypt the received encrypted graph mode data by adopting a predetermined analysis mode so as to obtain the graph mode data.
It should be noted that, in the embodiment of the present invention, the encryption method and the parsing method are not limited at all, and may be selected by a technician according to experience or selected by a user according to needs. It can be understood that the selection of the encryption method and the parsing method should satisfy the condition that the encryption method and the parsing method can cooperate with each other.
In an optional embodiment, when the power grid operation control system sends the graph-model obtaining request to the power distribution network operation control system, the two parties perform identity verification, after the verification is passed, the power distribution network system sends encrypted graph-model data, and the power grid operation control system receives the encrypted graph-model data sent by the power distribution network system. The identity verification may include at least one of verifying whether the identity of the other party is correct, whether the other party can receive the information, whether the other party has a receiving qualification, and the like.
Further, after the power grid operation control system receives the encrypted graph-model data, the encrypted graph-model data is transmitted from the outermost region (e.g., three regions) of the power grid operation control system to the innermost region through the reverse physical isolation device. In the transmission process, in order to improve the security, the encrypted graph-mode data is encrypted for the second time. The innermost region (such as a region) of the power grid operation control system analyzes the graph-mode data subjected to secondary encryption.
It can be understood that the corresponding graph model obtaining request is generated according to the graph model identification, and the graph model data is obtained according to the graph model obtaining request, so that the accuracy of the obtained graph model data is improved; meanwhile, the graph mode data is encrypted, and the safety of the graph mode data in the transmission process is improved.
Specifically, a corresponding red image is generated according to the image model data acquired from the field.
And S120, checking the red image corresponding to the image model data.
And checking the red image, and checking the dimensions of the red image, such as feasibility, safety, function and the like. Specifically, the devices and the connection relationship between the devices in the red graph can be verified to ensure that the topology structure formed by the devices in the red graph is complete, the devices can normally operate, and the device has a basis for realizing functions.
Optionally, the red graph corresponding to the graph model data may be verified by a manual verification method.
Illustratively, the red graph corresponding to the graph data is sent to the user of the corresponding node, and the user checks feasibility, security and function of the device in the red graph in sequence. If the feasibility, the safety and the functions of the equipment in the red image meet the corresponding requirements after verification, the verification is passed; if not, the signal does not pass. The feasibility refers to verifying the equipment involved in the red image and the connection relation among the equipment; the safety refers to the safety of the equipment in the red chart in the use process, such as checking whether the load of the equipment in the red chart is overloaded or not; the functions refer to the purposes of use realized by the equipment in the red map, usually the power distribution network has power supply requirements, and the system in the red map has power supply capacity with corresponding requirements.
Or optionally, automatically checking the red graph corresponding to the graph-model data through a preset checking rule. It should be noted that, in the embodiment of the present invention, the preset verification rule is not limited at all, and may be set by a technician according to experience, or may be set by a user according to needs.
In an optional embodiment, the device attributes included in the cartographic model data are acquired, and the integrity of the device attributes is checked based on a preset check rule. If the equipment attribute is complete, the verification is passed; if not, the signal does not pass.
In an optional embodiment, the device attribute value and the associated attribute value contained in the cartographic model data are obtained, and the device attribute value and the associated attribute value are checked based on a preset checking rule. Specifically, checking a necessary attribute value in the device attribute values, and judging whether the necessary attribute value is null; and checking the associated attribute value, and judging whether the associated attribute value meets the assignment requirement. For example, the necessary attribute values may include a requirement identifier of the breaker-type device, a device name, and the like. The associated attribute values may include the affiliated station house, the affiliated feeder, and a reference voltage identifier. If the necessary attribute value is not null and the associated attribute value meets the assignment requirement, the verification is passed; if not, the signal does not pass.
In an alternative embodiment, the red and black graph management tool can be used to verify the red graph corresponding to the graph mode data.
In the embodiment of the invention, when the multi-step verification is carried out on the red graph corresponding to the graph mode data, the condition that the verification of a certain step is not passed may occur, and the updating of the red and black graph can be controlled by adopting a process rollback method or a version rollback method.
Specifically, multiple step checks are carried out on the red graph corresponding to the graph-mode data, and the red graph is returned to the previous step check of the target step under the condition that the target step check is not passed; and in the case that the step check fails for a plurality of times, updating the red image into the black image of the previous version. Wherein the target step can be used to characterize the current step of checking the red map.
In addition, a return interface can be additionally configured, and a user can call the return interface to realize the return step or the version.
It can be understood that when the verification is failed, the red graph of the wrong version is prevented from being converted into the black graph to be put into use by adopting a method of returning to the previous step or returning to the previous version, so that economic loss is avoided, and the real-time property of exception handling of red graph updating is improved.
It should be noted that, the red map that fails to pass the verification may be modified, and after the red map that passes the modification, the red map that passes the modification may be verified again.
And S130, converting the red image into a black image according to the image mode data under the condition that the verification is passed.
Specifically, if the check passes, it indicates that the red graph corresponding to the graph-mode data can be used, and the red graph corresponding to the graph-mode data is converted into a black graph.
For example, the process of converting the red map into the black map may be: and analyzing a feeder line contained in the red image corresponding to the graph-mode data and all equipment objects contained in the feeder line, comparing the feeder line with the same graph and equipment objects in the black image corresponding to the graph-mode data, and synchronizing the difference data into the black image in an incremental mode by taking the equipment objects as basic units, namely finishing the process of converting the red image into the black image.
According to the red and black image updating scheme provided by the embodiment of the invention, the red image corresponding to the graph-mode data is determined by acquiring the graph-mode data published on the spot; checking a red graph corresponding to the graph model data; and under the condition that the verification is passed, converting the red image corresponding to the graph mode data into a black image. According to the scheme, the manual updating method is replaced by the automatic updating method, the updating efficiency is improved, meanwhile, a large amount of labor is not required to be invested to update the red and black images, and the labor cost is reduced. Moreover, the method and the device can acquire the image mode data published on site in real time based on the scheme, and improve the real-time performance of updating the red and black images.
Example two
Fig. 2 is a flowchart of a red-black graph updating method according to a second embodiment of the present invention, and in this embodiment, based on the above embodiment, further, the operation of "obtaining graph-model data published on site and determining a red graph corresponding to the graph-model data" is refined into "generating a red graph corresponding to the graph-model data according to the graph-model data published on site; or extracting version and identification information from the graph-model data released on site; inquiring graphs corresponding to the versions and the identification information; and adjusting the corresponding graph according to the graph mode data, and converting the graph into a red graph corresponding to the graph mode data so as to perfect a red graph acquisition mechanism. It should be noted that, for parts not described in detail in the embodiments of the present invention, reference may be made to related descriptions of other embodiments, which are not described herein again.
Referring to fig. 2, the method for updating a red and black image includes:
S210A, generating a red graph corresponding to the graph-model data according to the graph-model data published on site.
Specifically, according to the graph-model data published on the spot, the red graph corresponding to the graph-model data is directly generated. At this time, the published graph-model data is used to generate a new red graph.
S210B, extracting version and identification information from the graph model data released on site; inquiring graphs corresponding to the versions and the identification information; and adjusting the corresponding graph according to the graph mode data, and converting the graph into a red graph corresponding to the graph mode data.
At this time, the published graph-model data is used to adjust the already generated red and black maps. Wherein, the graph can be a red graph or a black graph.
Specifically, according to the version and identification information extracted from the graph-model data published on site, a corresponding red graph or black graph is obtained through query; and adding the modified content to the corresponding part of the red image or the black image according to the graph mode data, and converting the modified content into the red image corresponding to the graph mode data. Wherein, the modified content may include at least one of newly added device, retired device, and line change.
Continuing the former example, the innermost region of the power grid operation control system respectively sends the red graph and the black graph corresponding to the analyzed graph model data to the corresponding graph guide machine. Such as: the black map is written into a system DSCADA (distribution scheduling automation) application (i.e., black map state), and the RED map is written into a system DSCADA _ RED application (i.e., RED map state, also called future state).
After the red image corresponding to the graph model data is determined, acquiring a version corresponding to the red image and updating the version; and determining the updated version as the version corresponding to the converted black image. The embodiment of the invention does not limit the display of the version and the display of the updated version at all, and can be set by a user according to the requirement. Illustratively, the display of the version may include at least one of a letter, a number, a letter, a special symbol, and the like; the updated version of the display may include changes in at least one of text, numbers, letters, special symbols, and the like. The embodiment of the present invention does not limit the type of the change at all, and may include at least one of increase, decrease, combination, and the like.
The types of version updates may include version overrides and version uploads. Wherein, the version coverage means that the updated version replaces the original version; the version uploading means that only the updated version is uploaded and the original version is reserved.
For example, when the version is updated to the version override type, the display of the version may be a number, and the display of the version is updated by a change in the number. Such as: if the display of the original version corresponding to the red map is 1, the display of the updated version is 2. Version(s)The display of (2) may also be alphabetical, with variations in the alphabetical, updated versions of the display. Such as: if the original version corresponding to the red map is displayed as a, the updated version is displayed as b. The display of the version may also be a combination of numbers and letters, with the display of the updated version being updated by a change in the numbers and/or letters. Such as: if the corresponding original version of the red chart is displayed as a 1 The updated version of the display may be a 2 Or the display of the updated version may be b 1 Or the updated version is b 2
For example, when the version is updated to the version upload type, the display of the version may be a number, and the display of the version is updated by a change in the number. Such as: the red map corresponds to the display of the original version as 1 and the uploaded updated version as 1.1. The display of the version may also be alphabetical, with variations in the alphabetical letters updating the display of the version. Such as: the display of the original version corresponding to the red map is a, and the display of the uploaded updated version is aa. The display of the version may also be a combination of numbers and letters, with the display of the updated version being changed by a change in the numbers and/or letters. Such as: the red map corresponds to the original version shown as a 1 The display of the uploaded updated version may be a 11 Or the display of the uploaded updated version may be aa 1
In an alternative embodiment, the updated red version may be written to the red bin; the original version of the preserved red image can be archived and stored locally. Wherein, the red library refers to a database for storing red pictures.
It can be understood that by updating versions, management of red and black image updating by workers is facilitated, and use by users is facilitated.
And S220, checking the red graph corresponding to the graph mode data.
And S230, converting the red image corresponding to the graph mode data into a black image under the condition that the verification is passed.
According to the red and black image updating scheme provided by the embodiment of the invention, the red image corresponding to the graph-model data is generated according to the graph-model data published on site; or extracting version and identification information from the graph-model data released on site; inquiring graphs corresponding to the versions and the identification information; adjusting the corresponding graph according to the graph mode data, and converting the graph into a red graph corresponding to the graph mode data; checking a red graph corresponding to the graph model data; and under the condition that the verification is passed, converting the red image corresponding to the graph mode data into a black image. According to the scheme, the red image is obtained through at least one method, the situation that the red image cannot be obtained when a single method is used for obtaining the red image is avoided, and the richness and diversity of the red image obtaining method are improved.
In an optional embodiment, the flows of obtaining the graph-model data, checking the red graph corresponding to the graph-model data, updating the version, and converting the red graph into the black graph may be reported to the master station, and meanwhile, the updated red graph and the converted black graph may also be reported to the master station. The master station can monitor the process, the updated red map and the converted black map.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a red-black map updating apparatus according to a third embodiment of the present invention. As shown in fig. 3, the red and black map updating apparatus includes: a red map determination module 310, a red map check module 320, and a black map conversion module 330. Wherein, the first and the second end of the pipe are connected with each other,
the red map determining module 310 is configured to obtain map-model data published on the site, and determine a red map corresponding to the map-model data;
the red map checking module 320 is used for checking a red map corresponding to the map-model data;
and the black image conversion module 330 is configured to convert the red image corresponding to the image model data into the black image in the case that the verification passes.
According to the red and black image updating scheme provided by the embodiment of the invention, the on-site issued graph-model data is obtained through the red image determining module, and the red image corresponding to the graph-model data is determined; checking a red image corresponding to the graph mode data through a red image checking module; and converting the red image corresponding to the image mode data into the black image by the black image conversion module under the condition that the verification passes. According to the scheme, the manual updating method is replaced by the automatic updating method, the updating efficiency is improved, meanwhile, a large amount of manpower is not required to be invested to update the red and black images, and the labor cost is reduced. Moreover, the method and the device can acquire the image mode data published on site in real time based on the scheme, and improve the real-time performance of updating the red and black images.
Optionally, the red map determining module 310 is specifically configured to:
generating a red graph corresponding to the graph-model data according to the graph-model data published on site; or
Extracting version and identification information from the graph-model data released on site;
inquiring graphs corresponding to the versions and the identification information;
and adjusting the corresponding graph according to the graph mode data, and converting the graph into a red graph corresponding to the graph mode data.
Optionally, the red chart checking module 320 includes:
and the first checking unit is used for checking the equipment involved in the red image and the connection relation among the equipment.
Optionally, the red map determining module 310 includes:
the message monitoring unit is used for monitoring messages issued by the power distribution network system;
the message receiving unit is used for receiving the issued message under the condition that the issued message has the message issued by the transaction;
and the graph mode data acquisition unit is used for acquiring the graph mode data published on the spot according to the published information.
Optionally, the graph-model data obtaining unit is specifically configured to:
acquiring a graph model identifier published on site according to the published message;
generating a graph model acquisition request according to the graph model identification;
sending the graph model acquisition request to a power distribution network system;
and receiving the graph-model data encrypted by the power distribution network system, and analyzing to obtain the graph-model data published on site.
Optionally, the red map determining module 310 is specifically configured to:
acquiring a version corresponding to the red image and updating the version;
and determining the updated version as the version corresponding to the converted black image.
Optionally, the red chart checking module 320 is specifically configured to:
checking a red graph corresponding to the graph mode data in multiple steps;
returning to the previous step verification of the target step under the condition that the target step verification fails;
and in the case that the step check fails for a plurality of times, updating the red image into the black image of the previous version.
The red and black image updating device provided by the embodiment of the invention can execute the red and black image updating method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing each red and black image updating method.
In the technical scheme of the invention, the collection, storage, use, processing, transmission, provision, disclosure and other processing of the related graph and model data and the like all accord with the regulations of related laws and regulations and do not violate the good custom of the public order.
Example four
Fig. 4 is a schematic structural diagram of an electronic device 10 for implementing a red-black map updating method according to a fourth embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 may also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The processor 11 performs the various methods and processes described above, such as the red-black map updating method.
In some embodiments, the red-black map updating method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the red-black map updating method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the red-black map updating method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server may be a cloud Server, which is also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the conventional physical host and VPS (Virtual Private Server) service.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A red and black image updating method is characterized by comprising the following steps:
acquiring on-site issued graph-mode data and determining a red graph corresponding to the graph-mode data;
checking a red graph corresponding to the graph model data;
and under the condition that the verification is passed, converting the red image corresponding to the graph mode data into a black image.
2. The method of claim 1, wherein the obtaining of the site-issued graph-model data and the determining of the red graph corresponding to the graph-model data comprises:
generating a red graph corresponding to the graph-model data according to the graph-model data published on site; or alternatively
Extracting version and identification information from the graph model data released on site;
inquiring the graph corresponding to the version and the identification information;
and adjusting the corresponding graph according to the graph mode data, and converting the graph into a red graph corresponding to the graph mode data.
3. The method according to claim 1, wherein the verifying the red map corresponding to the graph-model data comprises:
and verifying the devices involved in the red graph and the connection relation among the devices.
4. The method of claim 1, wherein said obtaining site-published graphic-model data comprises:
monitoring messages issued by a power distribution network system;
under the condition that the issued message has the message issued by the transaction, receiving the issued message;
and acquiring the image model data published on site according to the published message.
5. The method of claim 4, wherein said obtaining site published graphic-model data from said published message comprises:
acquiring a graph model identifier published on site according to the published message;
generating a graph model acquisition request according to the graph model identification;
sending the graph model acquisition request to the power distribution network system;
and receiving the graph-model data encrypted by the power distribution network system, and analyzing to obtain the graph-model data published on the spot.
6. The method of claim 2, further comprising:
acquiring a version corresponding to the red image, and updating the version;
and determining the updated version as the version corresponding to the converted black image.
7. The method according to claim 1, wherein the verifying the red map corresponding to the graph-model data comprises:
checking a red graph corresponding to the graph mode data in multiple steps;
returning to the previous step verification of the target step under the condition that the target step verification fails;
and in the case that the verification of the steps fails, updating the red image into a black image of a previous version.
8. A red and black image updating device is characterized by comprising:
the red image determining module is used for acquiring the image model data published on site and determining the red image corresponding to the image model data;
the red image checking module is used for checking the red image corresponding to the graph mode data;
and the black image conversion module is used for converting the red image corresponding to the image mode data into the black image under the condition of passing verification.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the red and black map updating method of any one of claims 1 to 7.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions for causing a processor to implement the red-black map updating method according to any one of claims 1-7 when executed.
CN202210937870.6A 2022-08-05 2022-08-05 Red and black image updating method, device, equipment and medium Pending CN115203876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210937870.6A CN115203876A (en) 2022-08-05 2022-08-05 Red and black image updating method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210937870.6A CN115203876A (en) 2022-08-05 2022-08-05 Red and black image updating method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115203876A true CN115203876A (en) 2022-10-18

Family

ID=83586856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210937870.6A Pending CN115203876A (en) 2022-08-05 2022-08-05 Red and black image updating method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115203876A (en)

Similar Documents

Publication Publication Date Title
US20200201314A1 (en) Method and system for determining system settings for an industrial system
CN107534570A (en) Virtualize network function monitoring
CN111159897B (en) Target optimization method and device based on system modeling application
CN113723810A (en) Graph database-based power grid modeling method
JP2022002099A (en) Data labeling method, device, electronic device, storage medium, and computer program
CN113076186B (en) Task processing method, device, electronic equipment and storage medium
CN116301978A (en) System upgrading method, device, equipment and storage medium
CN115203876A (en) Red and black image updating method, device, equipment and medium
CN114756301A (en) Log processing method, device and system
CN114070889A (en) Configuration method, traffic forwarding method, device, storage medium, and program product
CN114116288A (en) Fault processing method, device and computer program product
CN113691403A (en) Topological node configuration method, related device and computer program product
CN111159988A (en) Model processing method and device, computer equipment and storage medium
CN116915870B (en) Task creation request processing method, device, electronic equipment and readable medium
CN113449035B (en) Data synchronization method, device, computer equipment and readable storage medium
CN117076185B (en) Server inspection method, device, equipment and medium
CN116720300B (en) Drainage pipe network model system
CN115292081B (en) Information sending method, device, electronic equipment and medium
CN107800764A (en) Data sharing method, system, computer read/write memory medium and server
CN117668114A (en) Data synchronization method, device, equipment and medium
CN116843415A (en) Service order processing method, device, equipment and storage medium
CN117271104A (en) Resource arrangement method, device, electronic equipment and storage medium
CN115309728A (en) Method and device for determining missing data of equipment
CN115391376A (en) Power failure query method and device, electronic equipment and storage medium
CN114327393A (en) Data processing 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