CN115496626B - Identification processing method and identification processing system for distribution network pattern transaction - Google Patents
Identification processing method and identification processing system for distribution network pattern transaction Download PDFInfo
- Publication number
- CN115496626B CN115496626B CN202211304241.6A CN202211304241A CN115496626B CN 115496626 B CN115496626 B CN 115496626B CN 202211304241 A CN202211304241 A CN 202211304241A CN 115496626 B CN115496626 B CN 115496626B
- Authority
- CN
- China
- Prior art keywords
- pattern data
- change
- distribution network
- distribution line
- distribution
- 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
Links
- 238000012545 processing Methods 0.000 title claims abstract description 27
- 238000003672 processing method Methods 0.000 title abstract description 6
- 230000008859 change Effects 0.000 claims abstract description 193
- 230000005540 biological transmission Effects 0.000 claims description 71
- 238000000034 method Methods 0.000 claims description 22
- 238000007792 addition Methods 0.000 claims description 10
- 230000004048 modification Effects 0.000 claims description 9
- 238000012986 modification Methods 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 7
- 238000012217 deletion Methods 0.000 claims description 6
- 230000037430 deletion Effects 0.000 claims description 6
- 230000026676 system process Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 6
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004040 coloring Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Resources & Organizations (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Bioethics (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Engineering & Computer Science (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a recognition processing method and a recognition processing system for pattern transaction of a distribution network, wherein the recognition processing method comprises the following steps: generating a change list of the distribution network pattern data; receiving a change list from a system, identifying distribution line pattern data corresponding to distribution line names recorded in the change list from the system in stored distribution network pattern data, identifying and obtaining difference pattern data between distribution line change contents and the distribution line pattern data based on the distribution line change contents and the distribution line pattern data recorded in the change list, and adding the difference pattern data into the stored distribution network pattern data from the system; when the time for changing the distribution network pattern data of the main system is reached, acquiring the aggregate of all the difference pattern data of the slave system in the time period from the last time of changing the distribution network pattern data of the main system to the current time of changing the distribution network pattern data of the main system, and modifying the distribution network pattern data stored by the main system.
Description
Technical Field
The invention belongs to the technical field of data identification, and particularly relates to an identification processing method and an identification processing system for pattern transaction of a distribution network.
Background
The distribution network pattern data is changed in the master system, for example, the master system may be a device operation and maintenance management system (PMS), the change of the network pattern data of the master system should be recognized by the slave system, and the change of the network pattern data of the master system should be performed in the slave system, for example, the slave system may be a distribution network regulation and control system (DMS) and a scheduling management system (OMS), if the network pattern data of the master system is inconsistent with the network pattern data of the slave system, the judgment of a dispatcher is interfered in the process of processing a network fault and monitoring the network, and even potential safety hazards are brought, so the network pattern data of the master system and the network pattern data of the slave system should be strictly kept consistent, however, in the prior art, because the master system generally stores the network pattern data with a larger data volume, the change of the network pattern data of the master system needs to be performed at a larger cost, and frequent change of the network pattern data of the master system also causes no small pressure on the master system, so that the identification processing method and the identification processing system of the distribution network pattern data are less existed in the prior art to solve the technical problem.
Disclosure of Invention
According to the change order of the distribution network pattern data, the difference pattern data between the change order and the distribution network pattern data are identified from the system, meanwhile, the distribution network pattern data of the slave system are modified by using the difference pattern data, and when the time for changing the distribution network pattern data of the master system is reached, the distribution network pattern data of the master system are modified based on the integration of all the difference pattern data of the slave system, so that the problem caused by the frequent modification of the distribution network pattern data by the master system is solved.
In order to achieve the above object, a method for identifying and processing the pattern transaction of a distribution network is provided, which mainly comprises the following steps:
generating a change list related to distribution network pattern data, wherein the content of the change list at least comprises distribution line names, distribution line change reasons, distribution line change types and distribution line change contents in the distribution network pattern data, and sending the change list to a corresponding slave system;
receiving the change list from a system, identifying and obtaining distribution line pattern data corresponding to distribution line names recorded in the change list from distribution network pattern data stored by the system, identifying and obtaining difference pattern data between distribution line change contents recorded in the change list and the distribution line pattern data based on the distribution line change contents recorded in the change list, adding the difference pattern data into the distribution network pattern data stored by the system, and performing visualized pre-change marks for the difference pattern data;
when the time for changing the distribution network pattern data of the main system is reached, acquiring a set of all the difference pattern data of the slave system in a time period from the distribution network pattern data of the main system which is changed last time to the distribution network pattern data of the main system which is changed this time, identifying and obtaining the content which needs to be modified on the distribution network pattern data stored by the master system based on the set of all the difference pattern data, modifying the distribution network pattern data stored by the master system, sending notification information to the slave system after the distribution network pattern data of the master system is modified, receiving the notification information from the slave system, and modifying the visualized pre-change mark of the difference pattern data in the distribution network pattern data stored by the master system into a visualized changed mark.
As a preferable technical scheme of the invention, the distribution network pattern data stored in the slave system is at least a part of the distribution network pattern data stored in the master system, and the frequency of updating the distribution network pattern data stored in the slave system is more than or equal to the frequency of updating the distribution network pattern data stored in the master system.
As a preferred technical scheme of the invention, when a plurality of change orders containing the same distribution line names are received from a system at the same time, firstly, obtaining distribution line change reasons recorded in the plurality of change orders, wherein the distribution line change reasons comprise field change and pattern change, the priority of the field change is higher than that of the pattern change, secondly, obtaining distribution line change types recorded in the plurality of change orders, wherein the distribution line change types comprise modification, addition and deletion, the priority of the modification is higher than that of the addition, the priority of the addition is higher than that of the deletion, and the system only processes one change order with the highest priority at the same time.
As a preferable mode of the present invention, after each processing of one change order by the slave system, the change order processed and the difference map data corresponding to the change order processed are transmitted to the master system.
As a preferred technical solution of the present invention, the transmission data including the change order and the difference map data is sent from the system to the main system, including the steps of:
generating an encryption key from the system, and for each bit of transmission data, performing encryption processing by using the following calculation formula to obtain an encryption result of each bit of transmission data:
wherein ,ci E is the encryption result of the transmission data of the ith bit i For transmission data of the ith bit, n is the total number of bits of the transmission data, s is an encryption key generated from the system, and is an odd number, x and k are random numbers;
encryption result c of transmission data based on 1 st bit to nth bit from system 1 ~c n Respectively and sequentially calculating the sum m of encryption results of transmission data of two adjacent bits r ,r∈[1,n-1]Simultaneously, the sum m of the encryption results of the transmission data with adjacent bits calculated from the system r And an encryption key s generated from the system, and transmission data e of any one bit i Together to the host system;
the master system stores the sum m of encryption results of transmission data from bit pairs adjacent to each other of the slave system 1 ~m n-1 Encryption key s generated from system, and transmission data e of arbitrary bit i And the transmission data of each bit is obtained by performing decryption processing, and the encryption key in the calculation formula is updated when the transmission data is transmitted from the system to the host system next time.
As a preferable technical scheme of the invention, the main system obtains the transmission data of each bit by decryption processing, and the method comprises the following steps:
the main system sequentially decrypts the sum m of encryption results of transmission data adjacent to each other bit by bit based on the encryption key s generated by the slave system 1 ~m n-1 To obtain the adjacent transmission numbers of each bitAccording to the sum (e) 1 +e 2 )~(e n-1 +e n );
The host system transmits data e from the arbitrary bit of the system i Substituting the sum (e) of bit-by-bit adjacent transmission data obtained after decryption 1 +e 2 )~(e n-1 +e n ) And the corresponding position of each bit is calculated.
The invention also provides a recognition processing system of the distribution network graph model transaction, which comprises the following modules:
the change application module is used for generating a change list related to the distribution network pattern data, wherein the content of the change list at least comprises distribution line names, distribution line change reasons, distribution line change types and distribution line change contents in the distribution network pattern data, and the change list is used for sending the change list to a corresponding slave system;
the slave system changing module is used for receiving the change list, identifying and obtaining distribution line pattern data corresponding to the distribution line names recorded in the change list from distribution network pattern data stored in the slave system, identifying and obtaining difference pattern data between the distribution line change content and the distribution line pattern data recorded in the change list based on the distribution line change content and the distribution line pattern data, adding the difference pattern data into the distribution network pattern data stored in the slave system, and carrying out visualized pre-change marks on the difference pattern data, and is also used for encrypting and sending the processed change list and the difference pattern data to the master system when the slave system completes one change list every time;
the main system changing module is used for acquiring the total difference pattern data aggregate of the slave system in the time period from the last change of the distribution network pattern data of the main system to the current change of the distribution network pattern data of the main system when the time of changing the distribution network pattern data of the main system is reached, modifying the distribution network pattern data stored in the main system based on the total difference pattern data aggregate, sending notification information to the slave system, and modifying the visualized pre-change mark of the difference pattern data in the distribution network pattern data stored in the slave system into the visualized changed mark.
Compared with the prior art, the invention has the following beneficial effects:
1. firstly, generating a change list of distribution network pattern data; secondly, receiving a change list from the system, identifying and obtaining distribution line pattern data corresponding to distribution line names recorded in the change list from the system in stored distribution network pattern data, identifying and obtaining difference pattern data between the distribution line change content and the distribution line pattern data based on the distribution line change content and the distribution line pattern data recorded in the change list, and adding the difference pattern data into the stored distribution network pattern data from the system; finally, when the time for changing the distribution network pattern data of the main system is reached, acquiring a collection of all the difference pattern data of the slave system in the time period from the last time of changing the distribution network pattern data of the main system to the current time of changing the distribution network pattern data of the main system, and modifying the distribution network pattern data stored by the main system;
2. the invention can not only ensure that the distribution network diagram data stored by the master system and the slave system are strictly consistent, but also solve the problems of high changing cost and high system pressure caused by frequently changing the distribution network diagram data of the master system in the prior art.
Drawings
FIG. 1 is a flow chart of steps of a method for identifying and processing pattern transitions of a distribution network according to the present invention;
FIG. 2 is a block diagram of a system for identifying and handling pattern transactions in a distribution network according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another element. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of the present application.
Referring to fig. 1, the invention provides a method for identifying and processing pattern transaction of a distribution network, which is realized by executing the following steps:
generating a change list related to distribution network pattern data, wherein the content of the change list at least comprises distribution line names, distribution line change reasons, distribution line change types and distribution line change contents in the distribution network pattern data, and transmitting the change list to a corresponding slave system;
specifically, the distribution network diagram data refers to model data of the distribution network and graphic data of the distribution network, and the distribution network diagram data may be divided according to different distribution lines, where the different distribution line diagram data includes a distribution line topology, various distribution devices on the distribution lines, and specific parameters thereof, so when generating a change order for the distribution network diagram data, it is necessary to specify a distribution line name, a distribution line change reason, a distribution line change type, and distribution line change content for performing the distribution network diagram data change, where the distribution line change content includes a change for the distribution line topology, or a change for the distribution devices on the distribution lines.
Step two, receiving the change list from the system, identifying and obtaining distribution line pattern data corresponding to the distribution line names recorded in the change list from distribution network pattern data stored by the system, identifying and obtaining difference pattern data between the distribution line pattern data and the distribution line pattern data based on distribution line change contents recorded in the change list, adding the difference pattern data into the distribution network pattern data stored by the system, and performing visualized pre-change marks for the difference pattern data; the specific way of performing the visualized pre-change mark may be to use different colors to perform coloring treatment on the differential graph mode data and the distribution line graph mode data, so as to clearly and intuitively represent the differential graph mode data and the distribution line graph mode data, and meanwhile, perform the visualized pre-change mark on the differential graph mode data, which represents that no corresponding distribution line graph mode data is changed in the main system.
Further, the distribution network pattern data stored in the slave system is at least a part of the distribution network pattern data stored in the master system, the frequency of the slave system for updating the self-stored distribution network pattern data is greater than or equal to the frequency of the master system for updating the self-stored distribution network pattern data, meanwhile, the number of the master system is one, and the number of the slave systems is at least two;
specifically, the inventor considers that in an actual application scenario, compared with a slave system, a master system generally stores more complete distribution network pattern data with larger data volume, for example, the master system stores distribution network pattern data of a whole city, while the slave system may only need to store distribution network pattern data of a part of the master system, for example, the slave system only stores distribution network pattern data of a certain area of the city, in this case, because the body volume of the master system is larger, one change of the distribution network pattern data of the master system will cost more than that of the slave system, so in order to avoid overlarge pressure of the master system caused by frequently changing the distribution network pattern data of the master system, the frequency of changing the distribution network pattern data of the master system should be reduced as much as possible, for example, when the slave system receives a change list, for example, the distribution network pattern data of the slave system is changed once, and each week of the master system is set to change the distribution network pattern data of the slave system once;
further, when a plurality of change orders containing the same distribution line names are received from the system at the same time, firstly acquiring distribution line change reasons recorded in the plurality of change orders, wherein the distribution line change reasons comprise field change and pattern change, the priority of the field change is higher than that of the pattern change, secondly acquiring distribution line change types recorded in the plurality of change orders, the distribution line change types comprise modification, addition and deletion, the priority of the modification is higher than that of the addition, the priority of the addition is higher than that of the deletion, and the system only processes one change order with the highest priority at the same time; in particular, the inventor also considers that when the slave system changes the stored distribution network diagram module data according to the received change list, in order to ensure that no error occurs in the process of changing the distribution network diagram module data, the inventor should set the change list about the same distribution line, and the slave system can only process one distribution network diagram module at the same time;
further, each time the slave system processes one of the change orders, the slave system transmits the processed change order and the difference map module data corresponding to the processed change order to the master system;
specifically, in the prior art, when the distribution network pattern data in the master system needs to be changed each time, the distribution network pattern data in the slave system is changed, then the distribution network pattern data in the master system is changed frequently, so that the change cost and the system pressure of the master system are increased, in contrast, when the distribution network pattern data need to be changed each time in the embodiment, the distribution network pattern data in the corresponding slave system is changed first, the change cost of the slave system is low, the change can be completed quickly, the normal use of the slave system is not easily influenced, the distribution network pattern data is completed each time the slave system is changed, a change list and corresponding difference pattern data are sent to the master system, and after the slave system is changed for a plurality of times, the master system synchronizes the repeated changes of the slave system to the distribution network pattern data to avoid frequent changes; when the slave system sends the change list and the difference pattern data to the master system, the encryption transmission mode is adopted to protect the safety of the transmission data and avoid the leakage of the transmission data;
further, the slave system transmits transmission data including the change order and the difference map module data to the master system, and the method comprises the following steps:
the first step, generating an encryption key from a system, and for each bit of transmission data, performing encryption processing by using the following calculation formula to obtain an encryption result of each bit of transmission data:
wherein ,ci E is the encryption result of the transmission data of the ith bit i For transmission data of the ith bit, n is the total number of bits of the transmission data, s is an encryption key generated from the system, and is an odd number, x and k are random numbers;
a second step of encrypting the result c of the transmission data from the system based on the 1 st bit to the nth bit 1 ~c n Respectively and sequentially calculating the sum m of encryption results of transmission data of two adjacent bits r ,r∈[1,n-1]Simultaneously, the sum m of the encryption results of the transmission data with adjacent bits calculated from the system r And an encryption key s generated from the system, and transmission data e of any one bit i Together to the host system;
third, the master system stores the sum m of the encryption results of the transmission data from the slave system with bit pairs adjacent to each other 1 ~m n-1 Encryption key s generated from system, and transmission data e of arbitrary bit i The transmission data of each bit is obtained through decryption processing, and the encryption key in the calculation formula is updated when the transmission data is sent to the main system next time from the system;
in particular, the inventor considers that when encryption transmission is performed between a sender and a receiver in the prior art, and meanwhile, transmission data is shared between the sender and the receiver, then the sender needs to send an encryption result and also needs to send a decryption key to the receiver, so that the receiver can decrypt the received encryption result, and thus the transmission data is shared, but in the encryption transmission mode, the encryption result and the decryption key can be illegally stolen, the encryption result can be decrypted based on the decryption key, thus causing leakage of the transmission data.
When the time for changing the distribution network pattern data of the main system is reached, acquiring a set of all the difference pattern data of the slave system in a time period from the distribution network pattern data of the last time for changing the main system to the distribution network pattern data of the current time for changing the main system, identifying and obtaining contents needing to modify the self-stored distribution network pattern data by the main system based on the set of all the difference pattern data, modifying the self-stored distribution network pattern data, sending notification information to the slave system after the distribution network pattern data of the main system is modified, receiving the notification information by the slave system, and modifying the visualized pre-change mark of the difference pattern data in the self-stored distribution network pattern data into a visualized changed mark;
specifically, when the time for changing the distribution network pattern data of the master system is reached, that is, after the slave system has changed the distribution network pattern data for multiple times, the master system decrypts the encryption result from the slave system to obtain transmission data including the difference pattern data, so that the distribution network pattern data stored by the master system is changed based on the aggregate of all the difference pattern data of the slave system, and after the change is completed, the slave system is notified to change the visualized pre-change mark of the difference pattern data in the distribution network pattern data into the visualized changed mark, which represents that the corresponding change of the distribution line pattern data in the master system is already performed, that is, the distribution network pattern data of the master system and the slave system are consistent, for example, red difference pattern data is modified to be black consistent with the distribution line pattern data;
further, the main system obtains the transmission data of each bit by performing decryption processing, including the following steps:
the first step, the main system decrypts the sum m of the encryption results of the transmission data adjacent to each other bit by bit based on the encryption key s generated by the slave system 1 ~m n-1 To obtain the sum (e) 1 +e 2 )~(e n-1 +e n );
The second step, the main system transmits data e from any bit of the system i Substituting the sum (e) of bit-by-bit adjacent transmission data obtained after decryption 1 +e 2 )~(e n-1 +e n ) Calculating the corresponding position of each bit to obtain the transmission data of each bit;
specifically, since the above calculation formula for encrypting the transmission data of each bit has the same consistency of addition, decrypting the sum of the encryption results of the transmission data of two adjacent bits will correspondingly obtain the sum of the transmission data of two adjacent bits, for facilitating understanding of the decryption process of the main system, for example, the total bit number of the transmission data is 4, and the encryption result of the transmission data of each bit is c 1 ,c 2 ,c 3 ,c 4 The sum of encryption results of transmission data of two adjacent bits is m 1 ,m 2 ,m 3, wherein ,m1 =c 1 +c 2 ,m 2 =c 2 +c 3 ,m 3 =c 3 +c 4 By the method of m 1 ,m 2 ,m 3 Decryption processing is carried out, and thenRespectively obtaining the sum e of the transmission data of two adjacent bits 1 +e 2 ,e 2 +e 3 ,e 3 +e 4 If the transmission data of any bit sent from the slave system to the master system is e 2 Then first e 2 Substituted into e 1 +e 2 Namely, e can be obtained 1 And then e 2 Substituted into e 2 +e 3 Namely, e can be obtained 3 Finally, e 3 Substituted into e 3 +e 4 Namely, e can be obtained 4 The host system in turn obtains the transmission data for each bit.
Referring to fig. 2, the present invention further provides a system for identifying and processing a distribution network graph module transaction, which is used for implementing a method for identifying and processing a distribution network graph module transaction as described above, and specifically, the functions of each module are described as follows:
the change application module is used for generating a change list related to the distribution network pattern data, wherein the content of the change list at least comprises distribution line names, distribution line change reasons, distribution line change types and distribution line change contents in the distribution network pattern data, and the change list is used for sending the change list to a corresponding slave system;
the slave system changing module is used for receiving the change list, identifying and obtaining distribution line pattern data corresponding to the distribution line names recorded in the change list from distribution network pattern data stored in the slave system, identifying and obtaining difference pattern data between the distribution line change content and the distribution line pattern data recorded in the change list based on the distribution line change content and the distribution line pattern data, adding the difference pattern data into the distribution network pattern data stored in the slave system, and carrying out visualized pre-change marks on the difference pattern data, and is also used for encrypting and sending the processed change list and the difference pattern data to the master system when the slave system completes one change list every time;
the main system changing module is used for acquiring the total difference pattern data aggregate of the slave system in the time period from the last change of the distribution network pattern data of the main system to the current change of the distribution network pattern data of the main system when the time of changing the distribution network pattern data of the main system is reached, modifying the distribution network pattern data stored in the main system based on the total difference pattern data aggregate, sending notification information to the slave system, and modifying the visualized pre-change mark of the difference pattern data in the distribution network pattern data stored in the slave system into the visualized changed mark.
In summary, the present invention firstly generates a change list of the distribution network pattern data; secondly, receiving a change list from the system, identifying and obtaining distribution line pattern data corresponding to distribution line names recorded in the change list from the system in stored distribution network pattern data, identifying and obtaining difference pattern data between the distribution line change content and the distribution line pattern data based on the distribution line change content and the distribution line pattern data recorded in the change list, and adding the difference pattern data into the stored distribution network pattern data from the system; finally, when the time for changing the distribution network pattern data of the main system is reached, acquiring a collection of all the difference pattern data of the slave system in the time period from the last time of changing the distribution network pattern data of the main system to the current time of changing the distribution network pattern data of the main system, and modifying the distribution network pattern data stored by the main system; the invention can not only ensure that the distribution network diagram data stored by the master system and the slave system are strictly consistent, but also solve the problems of high changing cost and high system pressure caused by frequently changing the distribution network diagram data of the master system in the prior art.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of computer programs, which may be stored on a non-transitory computer readable storage medium, and which, when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and for brevity, all of the possible combinations of the technical features of the above embodiments are not described, however, they should be considered as the scope of the description of the present specification as long as there is no contradiction between the combinations of the technical features.
The foregoing examples have been presented to illustrate only a few embodiments of the invention and are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.
Claims (6)
1. The method for identifying and processing the pattern transaction of the distribution network is characterized by comprising the following steps of:
generating a change list related to distribution network pattern data, wherein the content of the change list at least comprises distribution line names, distribution line change reasons, distribution line change types and distribution line change contents in the distribution network pattern data, and sending the change list to a corresponding slave system;
receiving the change list from a system, identifying and obtaining distribution line pattern data corresponding to distribution line names recorded in the change list from distribution network pattern data stored by the system, identifying and obtaining difference pattern data between distribution line change contents recorded in the change list and the distribution line pattern data based on the distribution line change contents recorded in the change list, adding the difference pattern data into the distribution network pattern data stored by the system, and performing visualized pre-change marks for the difference pattern data;
when the time for changing the distribution network pattern data of the main system is reached, acquiring a set of all the difference pattern data of the slave system in a time period from the distribution network pattern data of the main system which is changed last time to the distribution network pattern data of the main system which is changed this time, identifying and obtaining the content which needs to be modified on the self-stored distribution network pattern data by the main system based on the set of all the difference pattern data, modifying the self-stored distribution network pattern data, sending notification information to the slave system after the distribution network pattern data of the main system is modified, receiving the notification information from the system, and modifying the visualized pre-change mark of the difference pattern data in the self-stored distribution network pattern data into a visualized changed mark;
the distribution network pattern data stored in the slave system is at least a part of the distribution network pattern data stored in the master system, and the frequency of updating the distribution network pattern data stored in the slave system is greater than or equal to the frequency of updating the distribution network pattern data stored in the master system.
2. The method according to claim 1, wherein when a plurality of change orders containing the same distribution line name are received from the system at the same time, firstly, the reason for the distribution line change recorded in the plurality of change orders is obtained, the reason for the distribution line change includes a site change and a pattern change, the priority of the site change is higher than the priority of the pattern change, secondly, the distribution line change type recorded in the plurality of change orders is obtained, the distribution line change type includes modification, addition and deletion, the priority of the modification is higher than the priority of the addition, and the priority of the addition is higher than the priority of the deletion, and only one change order with the highest priority is processed from the system at the same time.
3. The method for recognizing and processing a pattern change of a distribution network according to claim 1, wherein each time the slave system processes one of the change orders, the processed change order and the difference pattern data corresponding to the processed change order are transmitted to the master system.
4. A method for identifying and handling a pattern transaction in a distribution network according to claim 3, wherein the method comprises the steps of:
generating an encryption key from the system, and for each bit of transmission data, performing encryption processing by using the following calculation formula to obtain an encryption result of each bit of transmission data:
wherein ,encryption result for transmission data of the ith bit,/->For transmission data of the ith bit, n is the total number of bits of the transmission data, s is an encryption key generated from the system, and is an odd number, x and k are random numbers;
encryption result of transmission data based on 1 st bit to nth bit from systemRespectively calculating the sum of encryption results of transmission data of two adjacent bits in turn>,/>Simultaneously adding up the encryption results of the transmission data of adjacent bit pairs calculated from the system>And an encryption key s generated from the system, and transmission data of any one bit +.>Together to the host system;
the master system stores the sum of encryption results from transmission data adjacent to each other in bits from the slave systemEncryption key s generated from the system, and transmission data of any one bit +.>And the transmission data of each bit is obtained by performing decryption processing, and the encryption key in the calculation formula is updated when the transmission data is transmitted from the system to the host system next time.
5. The method for recognizing and processing pattern transaction of distribution network according to claim 4, wherein the main system obtains the transmission data of each bit by performing decryption processing, comprising the steps of:
the main system sequentially decrypts the sum of encryption results of transmission data adjacent to each other bit by bit based on the encryption key s generated by the slave systemTo obtain the sum of the transmission data adjacent to each other;
6. An identification processing system for distribution network pattern transaction, which is used for implementing the method as claimed in any one of claims 1 to 5, and is characterized by comprising the following modules:
the change application module is used for generating a change list related to the distribution network pattern data, wherein the content of the change list at least comprises distribution line names, distribution line change reasons, distribution line change types and distribution line change contents in the distribution network pattern data, and the change list is used for sending the change list to a corresponding slave system;
the slave system changing module is used for receiving the change list, identifying and obtaining distribution line pattern data corresponding to the distribution line names recorded in the change list from distribution network pattern data stored in the slave system, identifying and obtaining difference pattern data between the distribution line change content and the distribution line pattern data recorded in the change list based on the distribution line change content and the distribution line pattern data, adding the difference pattern data into the distribution network pattern data stored in the slave system, and carrying out visualized pre-change marks on the difference pattern data, and is also used for encrypting and sending the processed change list and the difference pattern data to the master system when the slave system completes one change list every time;
the main system changing module is used for acquiring the total difference pattern data aggregate of the slave system in the time period from the last change of the distribution network pattern data of the main system to the current change of the distribution network pattern data of the main system when the time of changing the distribution network pattern data of the main system is reached, modifying the distribution network pattern data stored in the main system based on the total difference pattern data aggregate, sending notification information to the slave system, and modifying the visualized pre-change mark of the difference pattern data in the distribution network pattern data stored in the slave system into the visualized changed mark.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211304241.6A CN115496626B (en) | 2022-10-24 | 2022-10-24 | Identification processing method and identification processing system for distribution network pattern transaction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211304241.6A CN115496626B (en) | 2022-10-24 | 2022-10-24 | Identification processing method and identification processing system for distribution network pattern transaction |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115496626A CN115496626A (en) | 2022-12-20 |
CN115496626B true CN115496626B (en) | 2023-05-16 |
Family
ID=84474302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211304241.6A Active CN115496626B (en) | 2022-10-24 | 2022-10-24 | Identification processing method and identification processing system for distribution network pattern transaction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115496626B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105550810A (en) * | 2015-12-10 | 2016-05-04 | 国网四川省电力公司成都供电公司 | Operation and alteration management method for power grid equipment |
CN108763557A (en) * | 2018-06-01 | 2018-11-06 | 广东电网有限责任公司 | A kind of power distribution automation artwork intelligence management-control method |
CN114579895A (en) * | 2022-03-08 | 2022-06-03 | 广东电网有限责任公司 | Distribution network master station graph model multi-system synchronous updating method and related device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000152501A (en) * | 1998-11-12 | 2000-05-30 | Nippon Kouatsu Electric Co | Transmission and distribution line diagram information preparing system and failure point orienting system |
GB0116016D0 (en) * | 2001-06-29 | 2001-08-22 | Simoco Digital Systems Ltd | Communications systems |
US8180048B2 (en) * | 2004-09-14 | 2012-05-15 | Prahlad P. Singanamala | Method and system for computational transformation |
CN105447611A (en) * | 2014-11-21 | 2016-03-30 | 国家电网公司 | OMS equipment transaction management and control information system supported by GID platform |
CN105956772A (en) * | 2016-05-03 | 2016-09-21 | 国网新疆电力公司昌吉供电公司 | Equipment transaction analysis method based on power distribution network model data |
CN106777220B (en) * | 2016-12-23 | 2019-12-17 | 积成电子股份有限公司 | processing method for continuous abnormal change of power distribution network graph model |
-
2022
- 2022-10-24 CN CN202211304241.6A patent/CN115496626B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105550810A (en) * | 2015-12-10 | 2016-05-04 | 国网四川省电力公司成都供电公司 | Operation and alteration management method for power grid equipment |
CN108763557A (en) * | 2018-06-01 | 2018-11-06 | 广东电网有限责任公司 | A kind of power distribution automation artwork intelligence management-control method |
CN114579895A (en) * | 2022-03-08 | 2022-06-03 | 广东电网有限责任公司 | Distribution network master station graph model multi-system synchronous updating method and related device |
Non-Patent Citations (1)
Title |
---|
郭敏等.基于多任务异步处理的电力系统序网络拓扑分析.《电测与仪表》,2016,第53卷第22-27+41页. * |
Also Published As
Publication number | Publication date |
---|---|
CN115496626A (en) | 2022-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11552935B2 (en) | Distributed key secret for rewritable blockchain | |
EP1903469B1 (en) | Tag privacy protecting method, tag device, programs therefor and recording medium carrying such programs in storage | |
US11790094B2 (en) | Evaluation of a monitoring function | |
CN105635144A (en) | Cloud-platform-server-based data processing method and system | |
US20190278912A1 (en) | Method and apparatus for performing firmware programming on microcontroller chip, and associated microcontroller chip | |
CN111079153A (en) | Security modeling method and device, electronic equipment and storage medium | |
CN111666558A (en) | Key alternation method, key alternation device, computer equipment and storage medium | |
CN115496626B (en) | Identification processing method and identification processing system for distribution network pattern transaction | |
CN106341384A (en) | Methods for facilitating secure communication | |
CN115687368B (en) | Data storage method, device and system and storage medium | |
CN111858467A (en) | File data processing method, device, equipment and medium based on artificial intelligence | |
CN111835742A (en) | Data security management system and method based on distributed copy storage | |
CN113645183B (en) | Data encryption transmission method, system, computer equipment and storage medium | |
CN113746642A (en) | Method and system for communication between computers | |
CN114124469A (en) | Data processing method, device and equipment | |
CN115665341B (en) | Encryption method and encryption system for image data | |
CN111506914B (en) | Big data encryption method, device, server and readable storage medium | |
CN115766889B (en) | Data frame structure and data communication method | |
CN116108474B (en) | Big data system password service method and system | |
CN115189962B (en) | Geographic data point-by-point transmission method and system based on SM4 algorithm | |
CN113872753B (en) | Encryption transmission method and device based on SHA256 sequence form data | |
CN116800492A (en) | Network security management method and system | |
CN117827884A (en) | Batch data query method and device | |
CN117633830A (en) | Data output method, system and storage medium for secret-related review system | |
CN117009136A (en) | Internet of things platform data processing method and system |
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 | ||
CB03 | Change of inventor or designer information |
Inventor after: Chen Lei Inventor after: Tan Ming Inventor after: Yang Yang Inventor after: Xu Tao Inventor after: Yang Xinyu Inventor before: Chen Lei |
|
CB03 | Change of inventor or designer information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |