CN113268711A - Transformer substation relay protection device software version management method based on Git and block chain - Google Patents
Transformer substation relay protection device software version management method based on Git and block chain Download PDFInfo
- Publication number
- CN113268711A CN113268711A CN202110569421.6A CN202110569421A CN113268711A CN 113268711 A CN113268711 A CN 113268711A CN 202110569421 A CN202110569421 A CN 202110569421A CN 113268711 A CN113268711 A CN 113268711A
- Authority
- CN
- China
- Prior art keywords
- software
- file
- information
- relay protection
- version
- 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.)
- Granted
Links
- 238000007726 management method Methods 0.000 title claims abstract description 42
- 238000000034 method Methods 0.000 claims abstract description 24
- 230000005540 biological transmission Effects 0.000 claims description 8
- 125000004122 cyclic group Chemical group 0.000 claims description 6
- YTAHJIFKAKIKAV-XNMGPUDCSA-N [(1R)-3-morpholin-4-yl-1-phenylpropyl] N-[(3S)-2-oxo-5-phenyl-1,3-dihydro-1,4-benzodiazepin-3-yl]carbamate Chemical compound O=C1[C@H](N=C(C2=C(N1)C=CC=C2)C1=CC=CC=C1)NC(O[C@H](CCN1CCOCC1)C1=CC=CC=C1)=O YTAHJIFKAKIKAV-XNMGPUDCSA-N 0.000 claims description 3
- 230000007246 mechanism Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 5
- 230000008569 process Effects 0.000 abstract description 5
- 238000005516 engineering process Methods 0.000 abstract description 4
- 230000008859 change Effects 0.000 description 4
- 230000007547 defect Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000012550 audit Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- 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/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/105—Arrangements for software license management or administration, e.g. for managing licenses at corporate level
-
- 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/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Technology Law (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
A transformer substation relay protection device software version management method based on Git and a block chain is characterized in that a software module file in the updating process of the past software version of a relay protection device is stored based on Git, and updating information of the software version of the relay protection device is recorded by adopting a distributed account book through a block chain technology. For present traditional management mode, adopt SFTP and 103 stipulations respectively when communicating with the communication subject of difference, can conveniently and safely keep relay protection device software record information through the block chain account book, this patent adopts electron flow and block chain account book technique, has both solved the problem that record upgrading information makes mistakes easily and loses under traditional upgrade mode line, has solved the problem that software version upgrading failure is difficult to roll back again.
Description
Technical Field
The invention relates to a method for managing software versions of a transformer substation relay protection device based on Git and a block chain.
Background
The relay protection device is a device which can send out a warning signal to an operation attendant in time or directly send out a trip command to a controlled breaker to terminate the development of events when a fault occurs in a power element (such as a generator, a line and the like) in a power system or the power system per se, so that the power system is endangered in safe operation. The relay protection device plays an extremely important role in safe and stable operation of the transformer substation, so that the management work of software in the relay protection device is also extremely important to be enhanced.
In order to realize effective management of protection information and fault recording information in local and remote places, the protection and fault information management system consists of a main station (arranged in a main dispatching center and a provincial dispatching center of a power grid company), sub-stations (arranged in each directly-affiliated provincial dispatching center), sub-stations (each 200kV or above system transformer substation and a direct current transmission converter station). The substation is responsible for information acquisition of the relay protection device and the fault wave recording device of the substation and uploads the information to the main station and the substation through a network. The master station and the substation realize the operation management of all relay protection devices and fault recording devices in the local area.
The current work of the relay protection device in the aspect of software version management is mostly carried out in a manual mode, firstly, a relay protection device software version identification ledger needs to be established, and identification contents comprise a version number, a check code, generation time and the like. In the process of executing the upgrade of the software version of the relay protection device, the situation that the original software of the relay protection device has common defects and the new version and the old version are allowed to exist at the same time after the agreement of a scheduling department exists, so that the situation that the relay protection device is newly put into use, the old version is temporarily maintained by the original device and the computer-selective application upgrade occurs, the situation that different software versions of the relay protection device of the same type are manually maintained occurs, the operation is complicated in actual management and errors are easy to occur, and the situation that the data are inconsistent when a plurality of persons manage and maintain the machine account exists.
Disclosure of Invention
In order to overcome the defects of the technology, the invention provides a method for checking the upgrade record of the protection software according to the CRC code change record of the protection software and realizing the tracking, rollback and audit of the version change of the protection software according to the CRC code and the submission record of the Git version library.
The technical scheme adopted by the invention for overcoming the technical problems is as follows:
a transformer substation relay protection device software version management method based on Git and a block chain comprises the following steps:
a) establishing a system network which is connected through the Internet and consists of a workstation, a block chain host, a Git server, an information protection substation and an information protection main station;
b) the method comprises the steps that SFTP service is deployed and configured in a workstation, a directory for storing CRC codes of software upgrading files of the relay protection device is created, a CRC code is calculated once for each software module file of current relay protection device software, a csv file is generated, each csv file comprises a software module file name and the corresponding CRC code, and the csv file is stored in the directory set by the SFTP service;
c) acquiring a software module file to be upgraded from a relay protection device software developer, providing SFTP service for a protection substation by a workstation, generating CRC codes of the software module file to be upgraded by the workstation one by using a CRC algorithm, and recording file names and the CRC codes of the software module file into a temporary file one by one;
d) copying one copy of csv files in the directory set by the SFTP service by the workstation to the outside of the SFTP service directory to be used as a file copy, keeping the file name of each software module file in the step c) unchanged, updating the CRC code corresponding to each software module file into an upgraded CRC code, and keeping the corresponding CRC code unchanged if one software module file is not upgraded;
e) the workstation deletes the csv file in the directory set by the SFTP service, and copies the file copy of the csv file in the step d) to the directory set by the SFTP service;
f) the information protection substation accesses a directory set by SFTP service of the workstation according to a set time interval in an SFTP mode, and downloads a csv file containing a CRC code into a local designated directory;
g) the information protection substation compares the downloaded records in the csv file containing the CRC codes with the software names of the locally stored csv files containing the CRC codes one by one according to the file names of the software modules, and if the software names are consistent with the file names of the software modules and the corresponding CRC codes are not consistent, the step h) is not performed;
h) the working personnel download the new software module files to the relay protection device directory from the working station one by one, and the original old software module is replaced by the new software module until the software version upgrading of the protection software is completed;
i) the information protection substation uploads the version information of the protection software to the information protection main station end, submits a file to the workstation in an SFTP mode and informs the workstation of finishing the time of upgrading the version of the protection software and uploading the version information of the software;
j) the method comprises the steps that a workstation generates block chain data for protecting software version upgrading, and a block structure in a block chain comprises a block head and a block body;
k) the workstation broadcasts the block chain data to the network where the block chain host computer is located;
l) the workstation submits the software module file of the current relay protection device upgrading to the Git server to finish the current relay protection device software module upgrading.
Further, in step a), initializing the Git server, wherein the initializing step comprises: and configuring and creating a Git service in the Git server, wherein the Git service is used for tracing a farthest complete relay protection device software file as the first submission of a version warehouse, and sequentially submitting files related to the software versions of the past times to the Git version warehouse until the relay protection device software version stored in the version warehouse is consistent with the software version currently used by the current relay protection device.
Further, in step a), an initialization operation is performed on the blockchain server, where the initialization step includes: and finishing the deployment of a plurality of block chain servers to form a private block chain network, wherein the block chain submodule is used for storing information in the software version upgrading of the relay protection device in the past, and the information comprises the file name of the software module, the CRC (cyclic redundancy check) code of the file data of the software module and the upgrading time of the software module.
Further, in step e), if other SFTP clients can access the workstation, the file copy of the csv file is deleted.
Furthermore, the information protection substation uploads the version information of the protection software to the information protection main station end through an IEC60870-5-103 transmission protocol.
Further, the block header contains version number, signature information, and random number array, and the data structure in the block includes: the relay protection device updates the software module file and the corresponding CRC code of the software module file, and the time for the information protection substation to finish uploading the version information of the protection software to the information protection main station.
Further, the node on the block chain in step k) distributes the protection software version management information generated in step j), other nodes receive the information by broadcasting, the block chain system digitally signs the node identity of the broadcast information and the authenticity of data, if the broadcast node is a member node of the private chain, integrity check is carried out on the protection software version management information, if the check is successful, the protection software version management information is linked, if the broadcast node is a member node of the non-chain, each node in the block chain network achieves permission consensus through a consensus mechanism, if more than half of the node permissions in the private chain are obtained, the node information is added into the starting block and integrity check is carried out on the protection software version management information, if the check is successful, the protection software version management information is linked, if the broadcast node does not obtain the common consensus permission of the private chain or the information integrity check fails, the protection software version management information is not uplink.
The invention has the beneficial effects that: the git is used as a distributed version warehouse to manage the software module files of the relay protection device, so that the historical version data of each software module can be managed safely and conveniently; the block chain is used as a relay protection device software version data management machine account, so that the upgrading history of software versions in each relay protection device and the currently used software version number can be conveniently checked, and the data error and tamper attack resistance capability is greatly improved.
Drawings
FIG. 1 is a diagram of a network architecture of the present invention;
FIG. 2 is a system flow diagram of the present invention;
fig. 3 is a data structure diagram of a block broadcasted in a blockchain network according to the present invention.
Detailed Description
The invention will be further explained with reference to fig. 1, fig. 2 and fig. 3.
A transformer substation relay protection device software version management method based on Git and a block chain comprises the following steps:
a) and establishing a system network which is connected through the Internet and consists of a workstation, a block chain host, a Git server, an information protection substation and an information protection main station. The function of the workstation is: the client side serving as the Git version management system is responsible for submitting a relay protection software file and a configuration file updated and upgraded in the previous time to the Git server; the server side serving as the SFTP provides SFTP service for the information protection substation, and a certain directory is set to store a directory of CRC codes of the upgrading files of the relay protection software; and thirdly, providing a CRC code calculation function of a software updating and upgrading file of the relay protection device, and storing a final result in a set directory of an SFTP server of the machine in the form of a csv file. The function of the blockchain host is: the blockchain hosts serve as nodes in the blockchain network, and each blockchain host maintains one piece of blockchain data and is responsible for synchronizing the blockchain data with other blockchain hosts. The functions of the Git server are: and the server is used for the management control of the Git version, namely a remote warehouse of a Git version management system, and is used for realizing the file data sharing, operation management and tracking of the relay protection device software among users. If the relay protection device software is found to have verification defects in the upgrading process, the last stable version can be obtained from the Git server, and the relay protection device software version is returned to the last stable version. Git is used as an open-source and distributed version control system, management is convenient, logic is clear, a centralized server can ensure the integrity and unification of data, and a distributed workstation can provide a platform for cooperative work of multiple persons. The Git version warehouse is divided into a local warehouse and a remote warehouse, the local warehouse is stored on a machine where an operator is located, the remote warehouse is generally stored on a server, and file data sharing, operation control and tracking among users can be achieved through the remote warehouse. Therefore, version management of software module data files in the relay protection device can be combined with Git, management and tracing of the software version of the relay protection device are achieved, and safety, integrity and consistency of the files are controlled to the maximum extent. The function of the letter protection substation is as follows: in the system, the information protection substation is in charge of information acquisition of a relay protection device and a fault wave recording device of the substation, has the function of uploading information to the main station and the substation through a network, is also used as a client of the SFTP for inquiring software version updating information from the EWS workstation, and provides latest relay protection device software version information to the main station based on a 103 protocol after finishing version upgrading of relay protection device software. The function of the information-protecting main station is as follows: the information protection main station not only realizes the operation management of all relay protection devices and fault wave recording devices in a local area, but also realizes the acceptance of the version information of the relay protection device software reported by the information protection substation based on a 103 protocol.
b) The method comprises the steps of deploying and configuring SFTP service in a workstation, creating a directory for storing CRC (cyclic redundancy check) codes of software upgrading files of the relay protection device, calculating a CRC code once for each software module file of current relay protection device software, generating a csv file, wherein each csv file comprises a software module file name and the corresponding CRC code, and storing the csv file into the directory set by the SFTP service. Cyclic Redundancy Check (CRC) is a channel coding technique that generates a short fixed bit Check code based on data such as network data packets or computer files, and is mainly used to detect or Check errors that may occur after data transmission or storage. It uses the principle of division and remainder to detect the error. CRC can correct errors in the information transmission process in a high proportion, can finish the calculation of data check codes in a very short time and quickly finish the error correction process, greatly improves the communication speed of a computer in a data packet automatic retransmission mode, and provides guarantee for the communication efficiency and safety. The CRC algorithm has strong detection capability and low detection cost, so the CRC algorithm is widely used for detecting encoders and circuits. The error detection method has advantages over parity check methods in terms of accuracy, speed, cost and the like. Thus, CRC is the most common way of checking in the field of computer information communication. SFTP is an abbreviation for Secure File Transfer Protocol, a Secure File Transfer Protocol, and an SSH-inclusive Protocol, that is, SFTP can be used as long as sshd server is started, and its default port is 22 as SSH. SFTP has almost the same syntax and functionality as FTP. SFTP guarantees security of a transmission file by using an encryption/decryption technique, so the transmission efficiency of SFTP is lower than that of ordinary FTP, but SFTP has higher security than that of FTP, so SFTP is generally used in a scenario with higher security requirements.
c) The software module file needing to be upgraded is obtained from a relay protection device software developer, the workstation provides SFTP service for the information protection substation, and the workstation records the file name and the CRC code of the software module file into a temporary file after the software module file needing to be upgraded generates the CRC code of the software module file upgraded at this time by using a CRC algorithm one by one.
d) Copying one copy of csv files in the directory set by the SFTP service by the workstation to the outside of the SFTP service directory to be used as a file copy, keeping the file name of each software module file in the step c) unchanged, updating the CRC code corresponding to each software module file into an upgraded CRC code, and keeping the corresponding CRC code unchanged if one software module file is not upgraded.
e) And d), deleting the csv file in the directory set by the SFTP service by the workstation, and copying the file copy of the csv file in the step d) to the directory set by the SFTP service.
f) The sub-station accesses the directory set by the SFTP service of the workstation in the mode of SFTP according to the set time interval, and downloads the csv file containing the CRC code into the local designated directory.
g) And the information protection substation compares the downloaded records in the csv file containing the CRC codes with the software names of the locally stored csv files containing the CRC codes one by one according to the file names of the software modules, and if the software names are consistent with the file names of the software modules and the corresponding CRC codes are not consistent, the step h) is not performed.
h) And the working personnel download the new software module files to the relay protection device directory from the working station one by one, and replace the original old software module with the new software module until the software version upgrading of the protection software is completed.
i) The information protection substation uploads the version information of the protection software to the information protection main station end, and submits a file to the workstation in an SFTP mode to inform the workstation of the time for completing the version upgrading of the protection software and uploading the version information of the software.
j) The workstation generates blockchain data protecting the software version upgrade, and a blockstructure in the blockchain comprises a blockhead and a blockbody.
k) The workstation broadcasts the blockchain data to the network where the blockchain host is located.
l) the workstation submits the software module file of the current relay protection device upgrading to the Git server to finish the current relay protection device software module upgrading.
The method comprises the steps of storing software module files in the previous software version upgrading process of the relay protection device based on Git, recording the software version upgrading information of the relay protection device by adopting a distributed book through a block chain technology, bringing the software version of the relay protection device into management, adopting the mode of chaining the version upgrading information of the protection software, simultaneously submitting the data of the protection software to Git version library management, and taking a CRC (cyclic redundancy check) code after software updating every time as the submission information of a Git version library, so that the upgrading record of the protection software can be conveniently checked according to the CRC code change record of the protection software, and meanwhile, the purposes of tracking, returning and auditing the version change of the protection software can be realized according to the CRC code and the submission record of the Git version library. The SFTP protocol is adopted when the workstation communicates with the information protection substation, and the 103 protocol is adopted when the information protection substation communicates with the information protection main station. Through the block chain account book, the history recording information of the software of the relay protection device can be conveniently and safely stored, the technology of the electronic flow and the block chain account book is adopted, the problem that the recording and upgrading information is prone to error and loss in the traditional upgrading mode is solved, and the problem that the software version upgrading failure is difficult to return is solved.
Preferably, the method further comprises performing an initialization operation on the Git server in step a), wherein the initialization step comprises: and configuring and creating a Git service in the Git server, wherein the Git service is used for tracing a farthest complete relay protection device software file as the first submission of a version warehouse, and sequentially submitting files related to the software versions of the past times to the Git version warehouse until the relay protection device software version stored in the version warehouse is consistent with the software version currently used by the current relay protection device.
Preferably, the initialization operation is performed on the blockchain server in step a), and the initialization step includes: and finishing the deployment of a plurality of block chain servers to form a private block chain network, wherein the block chain submodule is used for storing information in the software version upgrading of the relay protection device in the past, and the information comprises the file name of the software module, the CRC (cyclic redundancy check) code of the file data of the software module and the upgrading time of the software module.
Through the initialization operation, node initialization configuration is carried out on each party participating in software version management of the relay protection device, each party signs a private chain contract to organize the nodes into a private chain, unique identification is carried out on each node in the private chain, network initial state parameters are added after the stored representation, the state parameters comprise the number of the nodes and the state of each node, new stored data are generated through structured processing of the nodes and serve as an initiation block and are broadcasted in the whole private chain range, all the nodes in the private chain range store the initiation block data, and a communication protocol based on the block chain is adopted. And finishing the initialization work of each node of the block chain network and the creation of the created blocks.
Preferably, in step e), if other SFTP clients can access the workstation, that is, other SFTP clients are guaranteed to be accessible, the file copy of the csv file is deleted after success.
Preferably, the information protection substation uploads the version information of the protection software to the information protection main station end through an IEC60870-5-103 transmission protocol.
Further, the block header contains version number, signature information, and random number array, and the data structure in the block includes: the relay protection device updates the software module file and the corresponding CRC code of the software module file, and the time for the information protection substation to finish uploading the version information of the protection software to the information protection main station.
Further, in step k), the node on the block chain distributes the management information of the protected software version generated in step j), other nodes receive the information by broadcasting, the block chain system digitally signs the node identity of the broadcast information and the authenticity of the data, if the broadcast node is a member node of the private chain, integrity check is performed on the management information of the protected software version, if the check is successful, the management information of the protected software version is linked up, if the broadcast node is a member node of the non-chain, each node in the block chain network achieves permission consensus through a consensus mechanism, if more than half of the nodes in the private chain are licensed (i.e. the verification information passes), the node information is added into the starting block, integrity check is performed on the management information of the protected software version, if the check is successful, the management information of the protected software version is linked up, if the broadcast node does not obtain the consensus permission of the private chain or the integrity check fails, the protection software version management information is not uplink.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (7)
1. A transformer substation relay protection device software version management method based on Git and a block chain is characterized by comprising the following steps:
a) establishing a system network which is connected through the Internet and consists of a workstation, a block chain host, a Git server, an information protection substation and an information protection main station;
b) the method comprises the steps that SFTP service is deployed and configured in a workstation, a directory for storing CRC codes of software upgrading files of the relay protection device is created, a CRC code is calculated once for each software module file of current relay protection device software, a csv file is generated, each csv file comprises a software module file name and the corresponding CRC code, and the csv file is stored in the directory set by the SFTP service;
c) acquiring a software module file to be upgraded from a relay protection device software developer, providing SFTP service for a protection substation by a workstation, generating CRC codes of the software module file to be upgraded by the workstation one by using a CRC algorithm, and recording file names and the CRC codes of the software module file into a temporary file one by one;
d) copying one copy of csv files in the directory set by the SFTP service by the workstation to the outside of the SFTP service directory to be used as a file copy, keeping the file name of each software module file in the step c) unchanged, updating the CRC code corresponding to each software module file into an upgraded CRC code, and keeping the corresponding CRC code unchanged if one software module file is not upgraded;
e) the workstation deletes the csv file in the directory set by the SFTP service, and copies the file copy of the csv file in the step d) to the directory set by the SFTP service;
f) the information protection substation accesses a directory set by SFTP service of the workstation according to a set time interval in an SFTP mode, and downloads a csv file containing a CRC code into a local designated directory;
g) the information protection substation compares the downloaded records in the csv file containing the CRC codes with the software names of the locally stored csv files containing the CRC codes one by one according to the file names of the software modules, and if the software names are consistent with the file names of the software modules and the corresponding CRC codes are not consistent, the step h) is not performed;
h) the working personnel download the new software module files to the relay protection device directory from the working station one by one, and the original old software module is replaced by the new software module until the software version upgrading of the protection software is completed;
i) the information protection substation uploads the version information of the protection software to the information protection main station end, submits a file to the workstation in an SFTP mode and informs the workstation of finishing the time of upgrading the version of the protection software and uploading the version information of the software;
j) the method comprises the steps that a workstation generates block chain data for protecting software version upgrading, and a block structure in a block chain comprises a block head and a block body;
k) the workstation broadcasts the block chain data to the network where the block chain host computer is located;
l) the workstation submits the software module file of the current relay protection device upgrading to the Git server to finish the current relay protection device software module upgrading.
2. The method for managing software versions of substation relay protection devices based on Git and block chains according to claim 1, wherein the Git server is initialized in step a), and the initialization step comprises: and configuring and creating a Git service in the Git server, wherein the Git service is used for tracing a farthest complete relay protection device software file as the first submission of a version warehouse, and sequentially submitting files related to the software versions of the past times to the Git version warehouse until the relay protection device software version stored in the version warehouse is consistent with the software version currently used by the current relay protection device.
3. The method for managing software versions of substation relay protection devices based on Git and blockchain according to claim 1, wherein the step of initializing the blockchain server in step a) comprises: and finishing the deployment of a plurality of block chain servers to form a private block chain network, wherein the block chain submodule is used for storing information in the software version upgrading of the relay protection device in the past, and the information comprises the file name of the software module, the CRC (cyclic redundancy check) code of the file data of the software module and the upgrading time of the software module.
4. The method for managing software versions of substation relay protection devices based on Git and block chains according to claim 1, wherein: and in step e), if other SFTP clients can access the workstation, deleting the file copy of the csv file.
5. The method for managing software versions of substation relay protection devices based on Git and block chains according to claim 1, wherein: the information protection substation uploads the version information of the protection software to the information protection main station end through an IEC60870-5-103 transmission protocol.
6. The method for managing software versions of substation relay protection devices based on Git and block chains according to claim 1, wherein: the block header contains version number, signature information, and random array, and the data structure in the block includes: the relay protection device updates the software module file and the corresponding CRC code of the software module file, and the time for the information protection substation to finish uploading the version information of the protection software to the information protection main station.
7. The method for managing software versions of substation relay protection devices based on Git and block chains according to claim 1, wherein: step k) the nodes in the block chain distribute the protection software version management information generated in step j), other nodes receive the information by broadcasting, the block chain system digitally signs the node identity of the broadcast information and the authenticity of data, if the broadcast node is a member node of the private chain, integrity check is carried out on the protection software version management information, if the check is successful, the protection software version management information is linked, if the broadcast node is a member node in the non-chain, each node in the block chain network achieves permission consensus through a consensus mechanism, if more than half of the nodes in the private chain are licensed, the node information is added into the starting block, integrity check is carried out on the protection software version management information, if the check is successful, the protection software version management information is linked, if the broadcast node does not obtain the common consensus license of the private chain or the information integrity check fails, the protection software version management information is not uplink.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110569421.6A CN113268711B (en) | 2021-05-25 | 2021-05-25 | Transformer substation relay protection device software version management method based on Git and block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110569421.6A CN113268711B (en) | 2021-05-25 | 2021-05-25 | Transformer substation relay protection device software version management method based on Git and block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113268711A true CN113268711A (en) | 2021-08-17 |
CN113268711B CN113268711B (en) | 2022-03-08 |
Family
ID=77232669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110569421.6A Active CN113268711B (en) | 2021-05-25 | 2021-05-25 | Transformer substation relay protection device software version management method based on Git and block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113268711B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113420039A (en) * | 2021-08-23 | 2021-09-21 | 中国电力科学研究院有限公司 | Model management method, system, equipment and medium for regulating and controlling cloud platform |
CN114465887A (en) * | 2021-12-23 | 2022-05-10 | 杭州溪塔科技有限公司 | Method and device for block chain configuration management based on git |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408108A (en) * | 2018-10-12 | 2019-03-01 | 天津理工大学 | A kind of Software Version data management system and method for building up based on block chain |
CN110750762A (en) * | 2019-10-21 | 2020-02-04 | 中国人民解放军国防科技大学 | Open source software right confirming method and system based on block chain |
CN111694592A (en) * | 2020-06-24 | 2020-09-22 | 深圳壹账通智能科技有限公司 | Management method and system for project version release |
CN111708554A (en) * | 2020-05-22 | 2020-09-25 | 南京国电南自电网自动化有限公司 | Monitoring platform software module trusted change method and system |
CN111782551A (en) * | 2020-08-04 | 2020-10-16 | 腾讯科技(深圳)有限公司 | Test method and device for block chain item and computer equipment |
CN111914019A (en) * | 2020-06-18 | 2020-11-10 | 国电南瑞科技股份有限公司 | Stable control data management system and method based on block chain technology |
CN112052033A (en) * | 2020-09-02 | 2020-12-08 | 江苏省电力试验研究院有限公司 | Power distribution automation master station version management method and system based on process and block chain |
-
2021
- 2021-05-25 CN CN202110569421.6A patent/CN113268711B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408108A (en) * | 2018-10-12 | 2019-03-01 | 天津理工大学 | A kind of Software Version data management system and method for building up based on block chain |
CN110750762A (en) * | 2019-10-21 | 2020-02-04 | 中国人民解放军国防科技大学 | Open source software right confirming method and system based on block chain |
CN111708554A (en) * | 2020-05-22 | 2020-09-25 | 南京国电南自电网自动化有限公司 | Monitoring platform software module trusted change method and system |
CN111914019A (en) * | 2020-06-18 | 2020-11-10 | 国电南瑞科技股份有限公司 | Stable control data management system and method based on block chain technology |
CN111694592A (en) * | 2020-06-24 | 2020-09-22 | 深圳壹账通智能科技有限公司 | Management method and system for project version release |
CN111782551A (en) * | 2020-08-04 | 2020-10-16 | 腾讯科技(深圳)有限公司 | Test method and device for block chain item and computer equipment |
CN112052033A (en) * | 2020-09-02 | 2020-12-08 | 江苏省电力试验研究院有限公司 | Power distribution automation master station version management method and system based on process and block chain |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113420039A (en) * | 2021-08-23 | 2021-09-21 | 中国电力科学研究院有限公司 | Model management method, system, equipment and medium for regulating and controlling cloud platform |
CN113420039B (en) * | 2021-08-23 | 2021-11-16 | 中国电力科学研究院有限公司 | Model management method, system, equipment and medium for regulating and controlling cloud platform |
CN114465887A (en) * | 2021-12-23 | 2022-05-10 | 杭州溪塔科技有限公司 | Method and device for block chain configuration management based on git |
CN114465887B (en) * | 2021-12-23 | 2024-01-23 | 杭州溪塔科技有限公司 | Block chain configuration management method and device based on git |
Also Published As
Publication number | Publication date |
---|---|
CN113268711B (en) | 2022-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110061838B (en) | Decentralized storage system for DNS resource records and implementation method thereof | |
CN113268711B (en) | Transformer substation relay protection device software version management method based on Git and block chain | |
US9912473B2 (en) | Methods and computer systems with provisions for high availability of cryptographic keys | |
CN110032545A (en) | File memory method, system and electronic equipment based on block chain | |
CN110784495B (en) | Block chain-based discovery and configuration information management method for big data cluster system | |
CN101217571B (en) | Write/read document operation method applied in multi-copy data grid system | |
CN110138588A (en) | Configuration file automatic management method and system, configuration management platform and client | |
CN104580395A (en) | Multi-cloud cooperative storage middleware system based on existing cloud storage platform | |
CN110569246B (en) | Block chain node information synchronization method and device, computer equipment and storage medium | |
CN102845043A (en) | Online secure device provisioning framework | |
CN111209262A (en) | Large-scale distributed safe storage system based on block chain | |
US20110264782A1 (en) | Systems and methods for improved multisite management of converged communication systems and computer systems | |
CN101689166A (en) | Use has the server process write request of global knowledge | |
CN106209754A (en) | Method and system to software kit automatic signature in version control system | |
CN117633843A (en) | Data encryption storage method and system based on blockchain | |
CN115695449A (en) | Block chain digital collection source file cross-platform synchronization and transfer method | |
CN113986143A (en) | Block chain log storage-oriented high-reliability low-overhead data storage method | |
CN110555783B (en) | Block chain-based electric power marketing data protection method and system | |
CN117522581A (en) | Distributed resource transaction platform based on blockchain | |
CN111832069A (en) | Multi-block chain on-chain data storage system and method based on cloud computing | |
KR20210086074A (en) | Block Chain Management System To Build Block Chain Network | |
CN113938491B (en) | Instruction data traceable tamper-proof method and system based on block chain technology | |
CN114661231A (en) | Storage synchronization method and device for parameter change records of power grid monitoring master station system | |
CN112989404A (en) | Log management method based on block chain and related equipment | |
CN116680665B (en) | Digital copyright protection method and system based on blockchain technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |