WO2018036440A1 - Data cyclic writing method and system based on block chain - Google Patents

Data cyclic writing method and system based on block chain Download PDF

Info

Publication number
WO2018036440A1
WO2018036440A1 PCT/CN2017/098232 CN2017098232W WO2018036440A1 WO 2018036440 A1 WO2018036440 A1 WO 2018036440A1 CN 2017098232 W CN2017098232 W CN 2017098232W WO 2018036440 A1 WO2018036440 A1 WO 2018036440A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
blockchain
hash
new
data block
Prior art date
Application number
PCT/CN2017/098232
Other languages
French (fr)
Chinese (zh)
Inventor
杨鹏
Original Assignee
杨鹏
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杨鹏 filed Critical 杨鹏
Publication of WO2018036440A1 publication Critical patent/WO2018036440A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Storage Device Security (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A data cyclic writing method and system based on a block chain. The method comprises: before new data is written into a data block chain, determining whether a preset cyclic writing triggering condition is satisfied (S101), and if the cyclic writing condition is satisfied, writing the new data block into the data block chain to overwrite an original data block, otherwise, directly writing the new data block, and not overwriting the original data block (S102), so that the volume of the block chain is effectively controlled while useless data can be destroyed. Data is stored into a block chain database to ensure that the data is not tampered with and can be securely stored, in addition, the cyclic writing method allows the volume of the block chain database to be effectively controlled, data satisfying a preset triggering condition is not displayed in a block chain system and is not destroyed by new data, and accordingly privacy and confidentiality are good; the storage of a hash value corresponding to a data block can also ensure that correctness of downloaded data is verified, and accordingly the cyclic writing method and system are secure and convenient and have high practicality.

Description

一种基于区块链的数据循环写入方法及系统Data loop writing method and system based on blockchain 技术领域Technical field
本发明涉及计算机技术领域,具体涉及一种基于区块链的数据循环写入方法及系统。The present invention relates to the field of computer technologies, and in particular, to a data loop writing method and system based on a blockchain.
背景技术Background technique
现有的区块链系统均为链式区块链,写入的所有数据均永久保留在数据库中,每一个拥有网络访问权限的人,都可以无条件的访问、下载这些永久的数据。这种永久保留的链式区块链系统存在以下两个问题:1、所需存储的数据随着时间的推移越来越多,区块数据库会越来越大,不方便保存,但是并不是所有的数据均需要永久保存,有些数据只需要在相应年限内保留即可,超过年限的数据可以删除;2、存储的某些机密文件或者个人的隐私信息也有一定的保存时限要求,到达一定时限后,需要根据实际情况进行销毁;3、现有的区块链系统均为透明公开系统,其数据提供给所有人公开访问,其隐私性和控制权限没有得到有效的控制。The existing blockchain systems are chained blockchains. All the data written is permanently stored in the database. Everyone who has access to the network can access and download these permanent data unconditionally. This permanently reserved chain blockchain system has the following two problems: 1. The data to be stored is more and more over time, the block database will become larger and larger, and it is not convenient to save, but it is not All data needs to be saved permanently. Some data only need to be retained within the corresponding years. The data exceeding the age can be deleted. 2. Some confidential documents or personal privacy information stored have certain retention time requirements, and reach a certain time limit. After that, it needs to be destroyed according to the actual situation; 3. The existing blockchain system is a transparent and open system, and its data is provided to everyone for public access, and its privacy and control rights are not effectively controlled.
另外,当存储数据的区块链数据库无法再写入数据时,没有备份的区块链数据库会导致数据无法及时写入。In addition, when the blockchain database storing data can no longer write data, the blockchain database without backup will cause data to be written in time.
发明内容Summary of the invention
本发明所要解决的技术问题是提供一种基于区块链的数据循环写入方法及系统,能够使区块链数据库的体积得到有效控制,满足预设的触发条件的数据将不再显示在区块链系统中,被新的数据覆盖销毁,隐私性和保密性较好,同时因为采用了多条互为备份的区块链存储数据,可以保证不会因为 某条区块链失效,导致所需存储的数据无法及时存储的情况发生,数据保存连续性和安全性较好。The technical problem to be solved by the present invention is to provide a data chain writing method and system based on blockchain, which can effectively control the volume of the blockchain database, and the data satisfying the preset trigger condition will no longer be displayed in the zone. In the blockchain system, it is destroyed by new data coverage, and the privacy and confidentiality are better. At the same time, because multiple blockchains that are backed up each other are used to store data, it can be guaranteed that it will not be because If a blockchain fails, the data to be stored cannot be stored in time, and the data storage continuity and security are better.
本发明解决上述技术问题的技术方案如下:The technical solution of the present invention to solve the above technical problems is as follows:
依据本发明的一个方面,提供了一种基于区块链的数据循环写入方法,所述方法包括:According to an aspect of the present invention, a method for data loop writing based on a blockchain is provided, the method comprising:
S101、在向数据区块链中写入新的数据块之前,判断是否满足预设的循环写入触发条件;S101. Before writing a new data block to the data blockchain, determining whether a preset cyclic write trigger condition is met;
S102、若满足所述循环写入条件,则在数据区块链中将写入的新的数据块覆盖原有的数据块,否则直接写入新的数据块,不对原有的数据块进行覆盖。S102. If the cyclic write condition is met, the new data block to be written in the data block chain overwrites the original data block, otherwise the new data block is directly written, and the original data block is not overwritten. .
本发明的有益效果:本发明提供的一种基于区块链的数据循环写入方法,能够在区块链中写入新的数据之前,判断区块链数据库中已经存储的数据是否满足预设的触发条件,并在满足预设条件的情况下,写入新的数据来覆盖销毁原有数据,在使区块链的体积得到有效控制的同时还能够销毁无用的数据。本发明将数据存储至区块链数据库,保证了数据不会被篡改,存储安全,并且采用循环写入的方法使区块链数据库的体积得到有效控制,满足预设的触发条件的数据将不再显示在区块链系统中,被新的数据覆盖销毁,隐私性和保密性较好,安全方便,实用性较强。Advantageous Effects of the Invention: The present invention provides a blockchain-based data loop writing method capable of determining whether data already stored in a blockchain database satisfies a preset before writing new data in a blockchain. The trigger condition, and when the preset condition is met, the new data is written to overwrite the original data, and the volume of the block chain can be effectively controlled while destroying useless data. The invention stores data into the blockchain database, ensures that the data is not falsified, stores the security, and adopts the method of cyclic writing to effectively control the volume of the blockchain database, and the data satisfying the preset trigger condition will not be It is displayed in the blockchain system and is destroyed by new data coverage. It has better privacy and confidentiality, is safe and convenient, and has strong practicability.
进一步的,所述S101中所述循环写入触发条件具体包括时间触发条件、主数据区块链的存储容量触发条件或者事件触发条件。Further, the cyclic write trigger condition in the S101 specifically includes a time trigger condition, a storage capacity trigger condition of the main data blockchain, or an event trigger condition.
采用上述进一步方案的有益效果:根据实际情况来设置触发条件,以适用于各种实际情况。The beneficial effect of adopting the above further solution: setting the trigger condition according to the actual situation, so as to be applicable to various practical situations.
进一步的,还包括:在向所述数据区块链中写入新的数据块时,还将新的数据块生成的hash值写入hash区块链中;Further, the method further includes: when writing a new data block into the data block chain, writing a hash value generated by the new data block into the hash block chain;
若满足所述循环写入条件,则在hash区块链中写入新的数据块生成的 hash值并覆盖原有的数据块生成的hash值,否则直接写入新的数据块生成的hash值,不对原有的数据块生成的hash值进行覆盖。If the cyclic write condition is satisfied, a new data block is generated in the hash block chain. The hash value overrides the hash value generated by the original data block. Otherwise, the hash value generated by the new data block is directly written, and the hash value generated by the original data block is not overwritten.
采用上述进一步方案的有益效果:每个数据块都会生成一个hash值,并进行存储,便于在下载或者备份时,验证下载或者备份的数据是否被拦截篡改,保证数据的真实性,因为数据比较多,验证较麻烦,只验证hash值更加方便快捷。The beneficial effect of adopting the above further solution is that each data block generates a hash value and stores it, so that it is convenient to verify whether the downloaded or backed up data is intercepted and falsified during downloading or backup, thereby ensuring the authenticity of the data, because the data is relatively large. , verification is more troublesome, only verifying the hash value is more convenient and quick.
进一步的,所述S102之后还包括:Further, after the S102, the method further includes:
对所述数据区块链中的数据进行下载,并验证下载的数据中的各个数据块生成的hash值是否与所述hash区块链中对应的数据块的hash值相同,若相同,则验证下载的数据未被拦截篡改,若不同,则再次进行下载直到验证相同。And downloading data in the data block chain, and verifying whether a hash value generated by each data block in the downloaded data is the same as a hash value of a corresponding data block in the hash block chain, and if the same, verifying The downloaded data has not been intercepted and falsified. If it is different, download again until the verification is the same.
采用上述进一步方案的有益效果:保证了下载下来的数据的真实性,避免被错误的数据误导。The beneficial effect of using the above further solution is to ensure the authenticity of the downloaded data and avoid being misled by the wrong data.
进一步的,还包括:Further, it also includes:
所述数据区块链设置有两个,两个所述数据区块链互为备份;The data blockchain is provided with two, and the two data block chains are mutually backed up;
所述hash区块链设置有两个,两个所述hash区块链互为备份。There are two hash block chains, and the two hash block chains are backups of each other.
采用上述进一步方案的有益效果:对数据进行备份保证,在某一个区块链失效时,保证可以在另一个区块链中写入数据。The beneficial effect of using the above further solution is that the backup of the data ensures that when a certain blockchain fails, it is guaranteed that data can be written in another blockchain.
进一步的,还包括:Further, it also includes:
两个互为备份的所述数据区块链分别对应设置的区块链算法和通信通道不同;The blockchain algorithm corresponding to the two data block chains that are mutually backed up is different from the communication channel;
两个互为备份的所述hash区块链分别对应设置的区块链算法和通信通道不同。The blockchain algorithm corresponding to the two hash block chains that are mutually backed up is different from the communication channel.
采用上述进一步方案的有益效果:保证在某一个区块链的区块链算法或者通信通道出现问题时,采用不同区块链算法或者通信通道的另一个区块链 能够正常工作。The beneficial effect of using the above further solution is to ensure that when a blockchain algorithm or a communication channel of a certain blockchain has a problem, another blockchain algorithm or another blockchain of the communication channel is used. It works fine.
进一步的,还包括:Further, it also includes:
在其中一个数据区块链失效时,将未失效的数据区块链中的数据备份至一个新的区块链,并将该新的区块链作为新的数据区块链;When one of the data blockchains fails, the data in the unexpired data blockchain is backed up to a new blockchain, and the new blockchain is used as a new data blockchain;
计算所述新的数据区块链中各个数据块对应的hash值,然后验证所述hash值是否与所述hash区块链中的hash值相同,若不同,则重新进行备份直至相同。Calculating a hash value corresponding to each data block in the new data block chain, and then verifying whether the hash value is the same as the hash value in the hash block chain. If they are different, the backup is performed again until the same.
采用上述进一步方案的有益效果:在有一个数据区块链出现问题时,备份一个新的区块链成为新的数据区块链,并在备份之后采用hash值验证备份数据是否正确,避免在备份过程中被拦截篡改。The beneficial effect of using the above further solution is: when there is a problem in the data block chain, back up a new blockchain to become a new data blockchain, and use the hash value after the backup to verify whether the backup data is correct and avoid the backup. The process was intercepted and tampered with.
进一步的,还包括:Further, it also includes:
在其中一个hash区块链失效时,将未失效的hash区块链中的hash值备份至一个新的区块链,并将该新的区块链作为新的hash区块链;When one of the hash blockchains fails, the hash value in the unfailed hash block chain is backed up to a new blockchain, and the new blockchain is used as a new hash blockchain;
验证所述新的hash区块链中的hash值是否与未失效的hash区块链中的hash值相同,若不同,则重新进行备份直至相同。Verify that the hash value in the new hash blockchain is the same as the hash value in the non-failed hash blockchain. If they are different, back up again until the same.
采用上述进一步方案的有益效果:在有一个hash区块链出现问题时,备份一个新的区块链成为新的hash区块链,并在备份之后采用hash值验证备份数据是否正确,避免在备份过程中被拦截篡改。The beneficial effect of using the above further solution is: when there is a problem with a hash blockchain, back up a new blockchain to become a new hash blockchain, and use the hash value after the backup to verify whether the backup data is correct and avoid the backup. The process was intercepted and tampered with.
依据本发明的另一个方面,提供一种基于区块链的数据循环写入系统,包括:According to another aspect of the present invention, a blockchain based data loop writing system is provided, comprising:
判断单元,用于在向数据区块链中写入新的数据块之前,判断是否满足预设的循环写入触发条件;a determining unit, configured to determine whether a preset cyclic write trigger condition is met before writing a new data block to the data blockchain;
数据写入单元,用于若满足所述循环写入条件,则在数据区块链中将写入的新的数据块覆盖原有的数据块,否则直接写入新的数据块,不对原有的数据块进行覆盖。 a data writing unit, configured to overwrite the original data block in the data blockchain if the cyclic write condition is satisfied, or directly write a new data block, instead of The data block is overwritten.
本发明有益效果:本发明提供的一种基于区块链的数据循环写入系统,能够在区块链中写入新的数据之前,判断区块链数据库中已经存储的数据是否满足预设的触发条件,并在满足预设条件的情况下,写入新的数据来覆盖销毁原有数据,在使区块链的体积得到有效控制的同时还能够销毁无用的数据。本发明将数据存储至区块链数据库,保证了数据不会被篡改,存储安全,并且采用循环写入的方法使区块链数据库的体积得到有效控制,满足预设的触发条件的数据将不再显示在区块链系统中,被新的数据覆盖销毁,隐私性和保密性较好,安全方便,实用性较强。Advantageous Effects of Invention: The present invention provides a blockchain-based data loop writing system capable of determining whether data already stored in a blockchain database satisfies a preset before writing new data in a blockchain. Trigger conditions, and when the preset conditions are met, new data is written to overwrite the original data, and the volume of the blockchain can be effectively controlled while destroying useless data. The invention stores data into the blockchain database, ensures that the data is not falsified, stores the security, and adopts the method of cyclic writing to effectively control the volume of the blockchain database, and the data satisfying the preset trigger condition will not be It is displayed in the blockchain system and is destroyed by new data coverage. It has better privacy and confidentiality, is safe and convenient, and has strong practicability.
进一步的,还包括:Hash写入单元,用于在向所述数据区块链中写入新的数据块时,还将新的数据块生成的hash值写入hash区块链中;Further, the method further includes: a Hash write unit, configured to write a hash value generated by the new data block into the hash block chain when the new data block is written into the data block chain;
若满足所述循环写入条件,则在hash区块链中写入新的数据块生成的hash值并覆盖原有的数据块生成的hash值,否则直接写入新的数据块生成的hash值,不对原有的数据块生成的hash值进行覆盖。If the cyclic write condition is satisfied, the hash value generated by the new data block is written in the hash block chain and the hash value generated by the original data block is overwritten; otherwise, the hash value generated by the new data block is directly written. , does not overwrite the hash value generated by the original data block.
采用上述进一步方案的有益效果:每个数据块都会生成一个hash值,并进行存储,便于在下载或者备份时,验证下载或者备份的数据是否被拦截篡改,保证数据的真实性,因为数据比较多,验证较麻烦,只验证hash值更加方便快捷。The beneficial effect of adopting the above further solution is that each data block generates a hash value and stores it, so that it is convenient to verify whether the downloaded or backed up data is intercepted and falsified during downloading or backup, thereby ensuring the authenticity of the data, because the data is relatively large. , verification is more troublesome, only verifying the hash value is more convenient and quick.
进一步的,还包括:Further, it also includes:
下载验证单元,用于对所述数据区块链中的数据进行下载,并验证下载的数据中的各个数据块生成的hash值是否与所述hash区块链中对应的数据块的hash值相同,若相同,则验证下载的数据未被拦截篡改,若不同,则再次进行下载直到验证相同。a downloading verification unit, configured to download data in the data blockchain, and verify whether a hash value generated by each data block in the downloaded data is the same as a hash value of a corresponding data block in the hash blockchain If the same, verify that the downloaded data has not been intercepted and falsified. If it is different, download again until the verification is the same.
采用上述进一步方案的有益效果:保证了下载下来的数据的真实性,避免被错误的数据误导。The beneficial effect of using the above further solution is to ensure the authenticity of the downloaded data and avoid being misled by the wrong data.
进一步的,还包括: Further, it also includes:
数据备份单元,用于在其中一个数据区块链失效时,将未失效的数据区块链中的数据备份至一个新的区块链,并将该新的区块链作为新的数据区块链;a data backup unit for backing up data in an unfailed data block chain to a new blockchain when one of the data blockchains fails, and using the new blockchain as a new data block chain;
计算验证单元,用于计算所述新的数据区块链中各个数据块对应的hash值,然后验证所述hash值是否与所述hash区块链中的hash值相同,若不同,则转至所述数据备份单元直至验证相同。a calculation verification unit, configured to calculate a hash value corresponding to each data block in the new data blockchain, and then verify whether the hash value is the same as a hash value in the hash blockchain, and if not, go to The data backup unit is until the verification is the same.
采用上述进一步方案的有益效果:在有一个数据区块链出现问题时,备份一个新的区块链成为新的数据区块链,并在备份之后采用hash值验证备份数据是否正确,避免在备份过程中被拦截篡改。The beneficial effect of using the above further solution is: when there is a problem in the data block chain, back up a new blockchain to become a new data blockchain, and use the hash value after the backup to verify whether the backup data is correct and avoid the backup. The process was intercepted and tampered with.
进一步的,还包括:Further, it also includes:
Hash备份单元,用于在其中一个hash区块链失效时,将未失效的hash区块链中的hash值备份至一个新的区块链,并将该新的区块链作为新的hash区块链;The Hash backup unit is configured to back up the hash value in the un-failed hash block chain to a new blockchain when the hash block chain fails, and use the new blockchain as a new hash zone. Blockchain
验证单元,用于验证所述新的hash区块链中的hash值是否与未失效的hash区块链中的hash值相同,若不同,则转至hash备份单元直至验证相同。The verification unit is configured to verify whether the hash value in the new hash block chain is the same as the hash value in the non-failed hash block chain, and if not, go to the hash backup unit until the verification is the same.
采用上述进一步方案的有益效果:在有一个hash区块链出现问题时,备份一个新的区块链成为新的hash区块链,并在备份之后采用hash值验证备份数据是否正确,避免在备份过程中被拦截篡改。The beneficial effect of using the above further solution is: when there is a problem with a hash blockchain, back up a new blockchain to become a new hash blockchain, and use the hash value after the backup to verify whether the backup data is correct and avoid the backup. The process was intercepted and tampered with.
附图说明DRAWINGS
图1为本发明实施例一的一种基于区块链的数据循环写入方法流程图;1 is a flowchart of a method for writing a data loop based on a blockchain according to Embodiment 1 of the present invention;
图2为本发明实施例二的一种基于区块链的数据循环写入系统示意图。2 is a schematic diagram of a data loop writing system based on a blockchain according to a second embodiment of the present invention.
具体实施方式detailed description
以下结合附图对本发明的原理和特征进行描述,所举实例只用于解释本 发明,并非用于限定本发明的范围。The principles and features of the present invention are described below in conjunction with the accompanying drawings. The invention is not intended to limit the scope of the invention.
实施例一、一种基于区块链的数据循环写入方法。下面结合图1对本实施例提供的方法进行详细说明。Embodiment 1 A data loop writing method based on a blockchain. The method provided in this embodiment will be described in detail below with reference to FIG. 1.
参见图1,S101、在向数据区块链中写入新的数据块之前,判断是否满足预设的循环写入触发条件。Referring to FIG. 1, S101 determines whether a preset cyclic write trigger condition is satisfied before writing a new data block to the data blockchain.
具体的,在区块链数据中写入新的数据之前,判断区块链数据库中原有的数据是否满足预设的触发条件,其中所述触发条件具体包括时间触发条件、区块链数据库中的存储容量触发条件或者具体事件触发条件。Specifically, before the new data is written in the blockchain data, it is determined whether the original data in the blockchain database satisfies a preset trigger condition, where the trigger condition specifically includes a time trigger condition and a blockchain database. Storage capacity trigger condition or specific event trigger condition.
S102、若满足所述循环写入条件,则在数据区块链中将写入的新的数据块覆盖原有的数据块,否则直接写入新的数据块,不对原有的数据块进行覆盖。S102. If the cyclic write condition is met, the new data block to be written in the data block chain overwrites the original data block, otherwise the new data block is directly written, and the original data block is not overwritten. .
具体的,若区块链数据库中原有的数据满足预设的触发条件,比如满足时间触发条件或者容量触发条件或者具体事件触发条件,则在写入新的数据时,采用循环写入的方法覆盖掉已经写入的数据,用新的数据覆盖销毁掉原有的数据,在覆盖销毁原有的数据时,一般是先覆盖时间久远的数据;如果不满足预设的触发条件,则直接在区块链数据库中写入新的数据,不会覆盖原有的数据。Specifically, if the original data in the blockchain database satisfies a preset trigger condition, such as meeting a time trigger condition or a capacity trigger condition or a specific event trigger condition, when a new data is written, a cyclic write method is used to cover The data that has been written is destroyed, and the original data is destroyed by the new data. When the original data is overwritten, the data that covers the time is generally covered first; if the preset trigger condition is not met, the area is directly in the area. New data is written in the blockchain database and does not overwrite the original data.
例如,现有的执法记录仪或者其他采证设备所采集的音视频信息一般不是存储在区块链中的,所以存在后期被人恶意编辑篡改的可能,而存储在区块链数据库中的内容则不存在被篡改的可能。在向所述执法记录仪中的区块链数据库中写入新的数据之前,首先要判断执法记录仪中区块链存储的数据的记录时间是否超过预设时间期限,或者执法记录仪中的存储的数据容量是否超过预设存储容量。若所述记录时间超过所述预设时间期限,或者所述数据容量超过所述预设存储容量,则在写入新的数据时,会按照时间顺序覆盖已经存储的数据,时间久远的数据会先被覆盖;若所述记录时间没有超过所 述预设时间期限,并且所述数据容量没有超过所述预设存储容量,则直接写入新的数据,无需覆盖原有的数据。具体的,例如以存储容量作为判断条件,如果执法记录仪的存储容量为16G,假设每段音视频为10M,可以连续录取1600段小视屏,当16G存储满了以后,就从最早的时间开始覆盖。For example, audio and video information collected by an existing law enforcement recorder or other authentication device is generally not stored in a blockchain, so there is a possibility that it may be maliciously edited later, and the content stored in the blockchain database is stored. There is no possibility of being tampered with. Before writing new data to the blockchain database in the law enforcement recorder, it is first necessary to determine whether the recording time of the data stored in the blockchain in the law enforcement recorder exceeds a preset time period, or in the law enforcement recorder. Whether the stored data capacity exceeds the preset storage capacity. If the recording time exceeds the preset time limit, or the data capacity exceeds the preset storage capacity, when the new data is written, the already stored data is overwritten in time sequence, and the data that is too long will be First covered; if the recording time does not exceed When the preset time limit is described, and the data capacity does not exceed the preset storage capacity, the new data is directly written without overwriting the original data. Specifically, for example, the storage capacity is used as a judgment condition. If the storage capacity of the law enforcement recorder is 16G, assuming that each piece of audio and video is 10M, 1600 segments of small video can be continuously recorded. When the 16G storage is full, the earliest time begins. cover.
例如,对于征信机构,在向征信机构的区块链数据库中写入新的数据之前,判断区块链数据库中记录的用户的信用记录是否出现不良记录,不良记录具体是指用户出现拖欠还款,不按时发货、不履行合同,不履行合约、不履行契约的情况。For example, for the credit reporting institution, before writing new data to the blockchain database of the credit reporting agency, it is judged whether the credit record of the user recorded in the blockchain database has a bad record, and the bad record specifically refers to the user's default. Repayment, failure to deliver goods on time, failure to perform contracts, failure to perform contracts, failure to perform contracts.
具体的,若未出现不良记录,则在预设的循环时间内循环覆盖写入用户新的信用记录,具体的,区块链数据库只记录最近的设定时间,比如最近三年的个人信用记录,并标识为优,区块链数据库不断循环覆盖三年的个人信用记录。Specifically, if no bad record occurs, the user writes a new credit record in a predetermined cycle time. Specifically, the blockchain database only records the latest set time, such as the personal credit record of the last three years. And identified as excellent, the blockchain database continuously circulates over three years of personal credit records.
若出现不良记录时,将不良信用记录持续保留,具体的,当用户开始归还欠款时,区块链数据库将这段不良信用记录的持续保留五年,五年后之后开始循环覆盖,写入用户新的信用记录将不良信用记录覆盖掉。征信也可以按照需求设定自己的触发和循环条件。In the event of a bad record, the bad credit record is kept. Specifically, when the user starts to return the arrears, the blockchain database keeps the bad credit record for five years. After five years, the loop coverage begins and is written. The user's new credit history overwrites the bad credit history. Credit information can also set its own trigger and loop conditions as required.
例如,对于一些机密数据,按照相关要求只需要在特定的时间内进行展示,到达设定的时间之后,就需要销毁掉,但在保留期间内要保证信息的安全可靠性。采用区块链数据库存储机密数据,能够保证机密数据不被篡改。For example, for some confidential data, it only needs to be displayed in a specific time according to the relevant requirements. After reaching the set time, it needs to be destroyed, but the information is guaranteed to be safe and reliable during the retention period. The use of blockchain databases to store confidential data ensures that confidential data is not tampered with.
具体的,若区块链数据库中存储的机密数据未到达所述时间限制,则继续进行保留,若到达所述时间限制,则直接写入新的其他信息将对所述机密数据进行覆盖销毁。Specifically, if the confidential data stored in the blockchain database does not reach the time limit, the reservation is continued, and if the time limit is reached, directly writing the new other information will overwrite the confidential data.
另外,存储在区块链数据库中的机密数据可以加密之后再存储到区块链数据库中,只提供给相关人员查看。In addition, the confidential data stored in the blockchain database can be encrypted and then stored in the blockchain database for viewing by relevant personnel.
还可以将普通资料保存在区块链数据中,并同样设置保存时限,对于超 过保存时限的普通资料,可以按照预定的触发条件,进行循环覆盖。You can also save the general data in the blockchain data and set the save time limit as well. General data that has been saved for a period of time can be cyclically covered according to a predetermined trigger condition.
另外,可以对区块链数据库中的内容按照要求循环写入,比如定期循环写入。例如一些高等级安全系统的权限,应该定期清理和重新写入授权信息。采用循环式的可覆盖的区块链数据库,可以解决可信和安全的问题。In addition, the contents of the blockchain database can be cyclically written as required, such as periodically cyclically written. For example, the permissions of some high-level security systems should periodically clean up and rewrite authorization information. Trusted and secure problems can be solved with a circular, blockable blockchain database.
本实施例提供的方案还包括,在向所述数据区块链中写入新的数据块时,还将新的数据块生成的hash值写入hash区块链中。具体的,若满足所述循环写入条件,则在hash区块链中写入新的数据块生成的hash值并覆盖原有的数据块生成的hash值,否则直接写入新的数据块生成的hash值,不对原有的数据块生成的hash值进行覆盖。具体的,采用预定算法对数据块进行计算得到该数据块对应的hash值。The solution provided by this embodiment further includes: when writing a new data block into the data block chain, the hash value generated by the new data block is also written into the hash block chain. Specifically, if the cyclic write condition is met, the hash value generated by the new data block is written in the hash block chain and the hash value generated by the original data block is overwritten, otherwise the new data block is directly written. The hash value does not override the hash value generated by the original data block. Specifically, the data block is calculated by using a predetermined algorithm to obtain a hash value corresponding to the data block.
在对所述数据区块链中的数据进行下载时,为了保证下载下来的数据的真实性,可以在对所述数据区块链中的数据进行下载后,验证下载的数据中的各个数据块生成的hash值是否与所述hash区块链中对应的数据块的hash值相同,若相同,则验证下载的数据未被拦截篡改,若不同,则再次进行下载直到验证相同。When downloading the data in the data blockchain, in order to ensure the authenticity of the downloaded data, each data block in the downloaded data may be verified after downloading the data in the data blockchain. Whether the generated hash value is the same as the hash value of the corresponding data block in the hash block chain. If they are the same, the verified downloaded data is not intercepted and falsified. If different, the download is performed again until the verification is the same.
另外,可以将所述数据区块链设置有两个,两个所述数据区块链互为备份;所述hash区块链设置有两个,两个所述hash区块链互为备份。两个互为备份的所述数据区块链分别对应设置的区块链算法和通信通道不同。两个互为备份的所述hash区块链分别对应设置的区块链算法和通信通道不同。In addition, the data blockchain may be set to two, and the two data blockchains are backed up by each other; the hash blockchain is provided with two, and the two hash blockchains are mutually backed up. The blockchain algorithm corresponding to the two data blockchains that are mutually backed up is different from the communication channel. The blockchain algorithm corresponding to the two hash block chains that are mutually backed up is different from the communication channel.
在其中一个数据区块链失效时,将未失效的数据区块链中的数据备份至一个新的区块链,并将该新的区块链作为新的数据区块链;计算所述新的数据区块链中各个数据块对应的hash值,然后验证所述hash值是否与所述hash区块链中的hash值相同,若不同,则重新进行备份直至相同。所述新的数据区块链和未失效的数据区块链互为备份。区块链失效具体是指区块链没有人维护,无法再向里面写入数据,或者区块链对应的区块链算法被人破 坏了。When one of the data blockchains fails, the data in the unexpired data blockchain is backed up to a new blockchain, and the new blockchain is used as a new data blockchain; the new The hash value corresponding to each data block in the data block chain, and then verify whether the hash value is the same as the hash value in the hash block chain. If they are different, the backup is performed again until the same. The new data blockchain and the non-failed data blockchain are mutually backed up. The blockchain failure specifically means that the blockchain is not maintained by anyone, and data cannot be written to the inside, or the blockchain algorithm corresponding to the blockchain is broken. broken.
在其中一个hash区块链失效时,将未失效的hash区块链中的hash值备份至一个新的区块链,并将该新的区块链作为新的hash区块链;验证所述新的hash区块链中的hash值是否与未失效的hash区块链中的hash值相同,若不同,则重新进行备份直至相同。所述新的hash区块链和未失效的hash区块链互为备份。When one of the hash blockchains fails, the hash value in the un-failed hash block chain is backed up to a new blockchain, and the new blockchain is used as a new hash blockchain; Whether the hash value in the new hash blockchain is the same as the hash value in the un-failed hash blockchain. If they are different, the backup is repeated until the same. The new hash blockchain and the non-failed hash blockchain are mutually backed up.
实施例二、一种基于区块链的数据循环写入系统。下面结合图2对本实施例提供的系统进行详细说明。Embodiment 2 A data chain writing system based on a blockchain. The system provided in this embodiment will be described in detail below with reference to FIG.
参见图2,本实施例提供的系统包括判断单元、数据写入单元、Hash写入单元、下载验证单元、数据备份单元、计算验证单元、Hash备份单元以及验证单元。Referring to FIG. 2, the system provided in this embodiment includes a determining unit, a data writing unit, a Hash writing unit, a download verification unit, a data backup unit, a calculation verification unit, a Hash backup unit, and a verification unit.
判断单元,用于在向数据区块链中写入新的数据块之前,判断是否满足预设的循环写入触发条件。The determining unit is configured to determine whether the preset cyclic write trigger condition is met before writing the new data block to the data blockchain.
数据写入单元,用于若满足所述循环写入条件,则在数据区块链中将写入的新的数据块覆盖原有的数据块,否则直接写入新的数据块,不对原有的数据块进行覆盖。a data writing unit, configured to overwrite the original data block in the data blockchain if the cyclic write condition is satisfied, or directly write a new data block, instead of The data block is overwritten.
Hash写入单元,用于在向所述数据区块链中写入新的数据块时,还将新的数据块生成的hash值写入hash区块链中。The Hash write unit is configured to write a hash value generated by the new data block into the hash block chain when the new data block is written into the data block chain.
具体的,Hash写入单元,用于若满足所述循环写入条件,则在hash区块链中写入新的数据块生成的hash值并覆盖原有的数据块生成的hash值,否则直接写入新的数据块生成的hash值,不对原有的数据块生成的hash值进行覆盖。Specifically, the Hash write unit is configured to: if the cyclic write condition is met, write a hash value generated by the new data block in the hash block chain and overwrite the hash value generated by the original data block, otherwise directly The hash value generated by the new data block is written, and the hash value generated by the original data block is not overwritten.
下载验证单元,用于对所述数据区块链中的数据进行下载,并验证下载的数据中的各个数据块生成的hash值是否与所述hash区块链中对应的数据块的hash值相同,若相同,则验证下载的数据未被拦截篡改,若不同,则 再次进行下载直到验证相同。a downloading verification unit, configured to download data in the data blockchain, and verify whether a hash value generated by each data block in the downloaded data is the same as a hash value of a corresponding data block in the hash blockchain If the same, verify that the downloaded data has not been intercepted and falsified, if different, then Download again until the verification is the same.
数据备份单元,用于在其中一个数据区块链失效时,将未失效的数据区块链中的数据备份至一个新的区块链,并将该新的区块链作为新的数据区块链。a data backup unit for backing up data in an unfailed data block chain to a new blockchain when one of the data blockchains fails, and using the new blockchain as a new data block chain.
计算验证单元,用于计算所述新的数据区块链中各个数据块对应的hash值,然后验证所述hash值是否与所述hash区块链中的hash值相同,若不同,则转至所述数据备份单元直至验证相同。a calculation verification unit, configured to calculate a hash value corresponding to each data block in the new data blockchain, and then verify whether the hash value is the same as a hash value in the hash blockchain, and if not, go to The data backup unit is until the verification is the same.
Hash备份单元,用于在其中一个hash区块链失效时,将未失效的hash区块链中的hash值备份至一个新的区块链,并将该新的区块链作为新的hash区块链。The Hash backup unit is configured to back up the hash value in the un-failed hash block chain to a new blockchain when the hash block chain fails, and use the new blockchain as a new hash zone. Blockchain.
验证单元,用于验证所述新的hash区块链中的hash值是否与未失效的hash区块链中的hash值相同,若不同,则转至hash备份单元直至验证相同。The verification unit is configured to verify whether the hash value in the new hash block chain is the same as the hash value in the non-failed hash block chain, and if not, go to the hash backup unit until the verification is the same.
本发明提供的一种基于区块链的数据循环写入方法及系统,能够在区块链中写入新的数据之前,判断区块链数据库中已经存储的数据是否满足预设的触发条件,并在满足预设条件的情况下,写入新的数据来覆盖销毁原有数据,在使区块链的体积得到有效控制的同时还能够销毁无用的数据。本发明中存储在区块链数据库中的数据不会被篡改,存储安全,并使区块链数据库的体积得到有效控制,满足预设的触发条件的数据将不再显示在区块链系统中,被新的数据覆盖销毁,隐私性和保密性较好,还能验证下载的数据是否正确,另外,并设置有备份区块链,保证在一个区块链失效不能写入数据时,还有备份区块链进行数据的写入,安全方便,实用性较强。The invention provides a blockchain-based data loop writing method and system, which can determine whether the data already stored in the blockchain database satisfies a preset trigger condition before writing new data in the blockchain. And when the preset conditions are met, new data is written to overwrite the original data, and the volume of the blockchain can be effectively controlled while destroying useless data. In the present invention, the data stored in the blockchain database is not tampered with, the storage is safe, and the volume of the blockchain database is effectively controlled, and the data satisfying the preset trigger condition is no longer displayed in the blockchain system. It is destroyed by new data coverage, and it has better privacy and confidentiality. It can also verify whether the downloaded data is correct. In addition, it has a backup blockchain to ensure that when a blockchain fails to write data, The backup blockchain performs data writing, which is safe and convenient, and has strong practicability.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims (13)

  1. 一种基于区块链的数据循环写入方法,其特征在于,所述方法包括:A method for writing a data loop based on a blockchain, the method comprising:
    S101、在向数据区块链中写入新的数据块之前,判断是否满足预设的循环写入触发条件;S101. Before writing a new data block to the data blockchain, determining whether a preset cyclic write trigger condition is met;
    S102、若满足所述循环写入条件,则在数据区块链中将写入的新的数据块覆盖原有的数据块,否则直接写入新的数据块,不对原有的数据块进行覆盖。S102. If the cyclic write condition is met, the new data block to be written in the data block chain overwrites the original data block, otherwise the new data block is directly written, and the original data block is not overwritten. .
  2. 如权利要求1所述的一种基于区块链的数据循环写入方法,其特征在于,所述S101中所述循环写入触发条件具体包括时间触发条件、数据区块链的存储容量触发条件或者事件触发条件。The blockchain-based data cyclic writing method according to claim 1, wherein the cyclic write triggering condition in the S101 specifically includes a time triggering condition and a storage capacity triggering condition of the data blockchain. Or an event trigger condition.
  3. 如权利要求2所述的一种基于区块链的数据循环写入方法,其特征在于,还包括:The blockchain-based data loop writing method according to claim 2, further comprising:
    在向所述数据区块链中写入新的数据块时,还将新的数据块生成的hash值写入hash区块链中;When a new data block is written into the data block chain, the hash value generated by the new data block is also written into the hash block chain;
    若满足所述循环写入条件,则在hash区块链中写入新的数据块生成的hash值并覆盖原有的数据块生成的hash值,否则直接写入新的数据块生成的hash值,不对原有的数据块生成的hash值进行覆盖。If the cyclic write condition is satisfied, the hash value generated by the new data block is written in the hash block chain and the hash value generated by the original data block is overwritten; otherwise, the hash value generated by the new data block is directly written. , does not overwrite the hash value generated by the original data block.
  4. 如权利要求3所述的一种基于区块链的数据循环写入方法,其特征在于,所述S102之后还包括:The blockchain-based data loop writing method according to claim 3, further comprising:
    对所述数据区块链中的数据进行下载,并验证下载的数据中的各个数据块生成的hash值是否与所述hash区块链中对应的数据块的hash值相同,若相同,则验证下载的数据未被拦截篡改,若不同,则再次进行下载直到验证相同。And downloading data in the data block chain, and verifying whether a hash value generated by each data block in the downloaded data is the same as a hash value of a corresponding data block in the hash block chain, and if the same, verifying The downloaded data has not been intercepted and falsified. If it is different, download again until the verification is the same.
  5. 如权利要求4所述的一种基于区块链的数据循环写入方法,其特征 在于,还包括:A blockchain-based data loop writing method according to claim 4, characterized in that It also includes:
    所述数据区块链设置有两个,两个所述数据区块链互为备份;The data blockchain is provided with two, and the two data block chains are mutually backed up;
    所述hash区块链设置有两个,两个所述hash区块链互为备份。There are two hash block chains, and the two hash block chains are backups of each other.
  6. 如权利要求5所述的一种基于区块链的数据循环写入方法,其特征在于,还包括:The blockchain-based data loop writing method of claim 5, further comprising:
    两个互为备份的所述数据区块链分别对应设置的区块链算法和通信通道不同;The blockchain algorithm corresponding to the two data block chains that are mutually backed up is different from the communication channel;
    两个互为备份的所述hash区块链分别对应设置的区块链算法和通信通道不同。The blockchain algorithm corresponding to the two hash block chains that are mutually backed up is different from the communication channel.
  7. 如权利要求6所述的一种基于区块链的数据循环写入方法,其特征在于,还包括:A blockchain-based data loop writing method according to claim 6, further comprising:
    在其中一个数据区块链失效时,将未失效的数据区块链中的数据备份至一个新的区块链,并将该新的区块链作为新的数据区块链;When one of the data blockchains fails, the data in the unexpired data blockchain is backed up to a new blockchain, and the new blockchain is used as a new data blockchain;
    计算所述新的数据区块链中各个数据块对应的hash值,然后验证所述hash值是否与所述hash区块链中的hash值相同,若不同,则重新进行备份直至相同。Calculating a hash value corresponding to each data block in the new data block chain, and then verifying whether the hash value is the same as the hash value in the hash block chain. If they are different, the backup is performed again until the same.
  8. 如权利要求7所述的一种基于区块链的数据循环写入方法,其特征在于,还包括:A blockchain-based data loop writing method according to claim 7, further comprising:
    在其中一个hash区块链失效时,将未失效的hash区块链中的hash值备份至一个新的区块链,并将该新的区块链作为新的hash区块链;When one of the hash blockchains fails, the hash value in the unfailed hash block chain is backed up to a new blockchain, and the new blockchain is used as a new hash blockchain;
    验证所述新的hash区块链中的hash值是否与未失效的hash区块链中的hash值相同,若不同,则重新进行备份直至相同。Verify that the hash value in the new hash blockchain is the same as the hash value in the non-failed hash blockchain. If they are different, back up again until the same.
  9. 一种基于区块链的数据循环写入系统,其特征在于,所述系统包括:A blockchain-based data loop writing system, characterized in that the system comprises:
    判断单元,用于在向数据区块链中写入新的数据块之前,判断是否满足预设的循环写入触发条件; a determining unit, configured to determine whether a preset cyclic write trigger condition is met before writing a new data block to the data blockchain;
    数据写入单元,用于若满足所述循环写入条件,则在数据区块链中将写入的新的数据块覆盖原有的数据块,否则直接写入新的数据块,不对原有的数据块进行覆盖。a data writing unit, configured to overwrite the original data block in the data blockchain if the cyclic write condition is satisfied, or directly write a new data block, instead of The data block is overwritten.
  10. 如权利要求9所述的一种基于区块链的数据循环写入系统,其特征在于,还包括:A blockchain-based data loop writing system according to claim 9, further comprising:
    Hash写入单元,用于在向所述数据区块链中写入新的数据块时,还将新的数据块生成的hash值写入hash区块链中;a Hash write unit, configured to: when writing a new data block into the data block chain, write a hash value generated by the new data block into the hash block chain;
    若满足所述循环写入条件,则在hash区块链中写入新的数据块生成的hash值并覆盖原有的数据块生成的hash值,否则直接写入新的数据块生成的hash值,不对原有的数据块生成的hash值进行覆盖。If the cyclic write condition is satisfied, the hash value generated by the new data block is written in the hash block chain and the hash value generated by the original data block is overwritten; otherwise, the hash value generated by the new data block is directly written. , does not overwrite the hash value generated by the original data block.
  11. 如权利要求10所述的一种基于区块链的数据循环写入系统,其特征在于,还包括:A blockchain-based data loop writing system according to claim 10, further comprising:
    下载验证单元,用于对所述数据区块链中的数据进行下载,并验证下载的数据中的各个数据块生成的hash值是否与所述hash区块链中对应的数据块的hash值相同,若相同,则验证下载的数据未被拦截篡改,若不同,则再次进行下载直到验证相同。a downloading verification unit, configured to download data in the data blockchain, and verify whether a hash value generated by each data block in the downloaded data is the same as a hash value of a corresponding data block in the hash blockchain If the same, verify that the downloaded data has not been intercepted and falsified. If it is different, download again until the verification is the same.
  12. 如权利要求11所述的一种基于区块链的数据循环写入系统,其特征在于,还包括:A blockchain-based data loop writing system according to claim 11, further comprising:
    数据备份单元,用于在其中一个数据区块链失效时,将未失效的数据区块链中的数据备份至一个新的区块链,并将该新的区块链作为新的数据区块链;a data backup unit for backing up data in an unfailed data block chain to a new blockchain when one of the data blockchains fails, and using the new blockchain as a new data block chain;
    计算验证单元,用于计算所述新的数据区块链中各个数据块对应的hash值,然后验证所述hash值是否与所述hash区块链中的hash值相同,若不同,则转至所述数据备份单元直至验证相同。a calculation verification unit, configured to calculate a hash value corresponding to each data block in the new data blockchain, and then verify whether the hash value is the same as a hash value in the hash blockchain, and if not, go to The data backup unit is until the verification is the same.
  13. 如权利要求12所述的一种基于区块链的数据循环写入系统,其特 征在于,还包括:A blockchain-based data loop writing system according to claim 12 The levy also includes:
    Hash备份单元,用于在其中一个hash区块链失效时,将未失效的hash区块链中的hash值备份至一个新的区块链,并将该新的区块链作为新的hash区块链;The Hash backup unit is configured to back up the hash value in the un-failed hash block chain to a new blockchain when the hash block chain fails, and use the new blockchain as a new hash zone. Blockchain
    验证单元,用于验证所述新的hash区块链中的hash值是否与未失效的hash区块链中的hash值相同,若不同,则转至hash备份单元直至验证相同。 The verification unit is configured to verify whether the hash value in the new hash block chain is the same as the hash value in the non-failed hash block chain, and if not, go to the hash backup unit until the verification is the same.
PCT/CN2017/098232 2016-08-26 2017-08-21 Data cyclic writing method and system based on block chain WO2018036440A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610741281.5 2016-08-26
CN201610741281.5A CN106446705A (en) 2016-08-26 2016-08-26 Cyclic writing method and system of data on the basis of block chain

Publications (1)

Publication Number Publication Date
WO2018036440A1 true WO2018036440A1 (en) 2018-03-01

Family

ID=58181711

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098232 WO2018036440A1 (en) 2016-08-26 2017-08-21 Data cyclic writing method and system based on block chain

Country Status (2)

Country Link
CN (1) CN106446705A (en)
WO (1) WO2018036440A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596682A (en) * 2020-12-28 2021-04-02 郝东东 Storage device and storage method for block chain
CN113961149A (en) * 2021-10-29 2022-01-21 国网江苏省电力有限公司营销服务中心 Multi-state data storage system and storage method for power information system

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446705A (en) * 2016-08-26 2017-02-22 杨鹏 Cyclic writing method and system of data on the basis of block chain
CN107124444B (en) * 2017-03-28 2020-08-04 丽水北斗区块链科技有限责任公司 Method and device for synchronizing block chain data
CN107193490B (en) * 2017-05-16 2020-04-17 北京中星仝创科技有限公司 Distributed data storage system and method based on block chain
CN107368259B (en) 2017-05-25 2020-07-10 创新先进技术有限公司 Method and device for writing service data into block chain system
CN109391643B (en) * 2017-08-03 2020-08-07 中国移动通信有限公司研究院 Block chain lightweight processing method, block chain node and storage medium
CN107749848B (en) * 2017-10-23 2020-04-07 中国联合网络通信集团有限公司 Internet of things data processing method and device and Internet of things system
CN108009445B (en) * 2017-11-30 2021-05-11 成都蓝海贝信息技术有限公司 Semi-centralized trusted data management system
CN108519985B (en) * 2018-02-09 2020-09-11 北京欧链科技有限公司 Bidirectional block chain, data processing method and device
CN108520410B (en) * 2018-02-09 2020-09-11 北京欧链科技有限公司 Feedback processing method and device in block chain
CN109492049B (en) * 2018-09-21 2021-05-04 上海点融信息科技有限责任公司 Data processing, block generation and synchronization method for block chain network
CN109361952A (en) * 2018-12-14 2019-02-19 司马大大(北京)智能系统有限公司 Video management method, apparatus, system and electronic equipment
CN109447530B (en) * 2018-12-25 2020-11-13 北京食安链科技有限公司 Automatic analysis and risk early warning system and method for food safety
CN111385511B (en) * 2018-12-28 2022-11-25 杭州海康威视数字技术股份有限公司 Video data processing method and device and video recording equipment
CN112486944B (en) * 2019-09-12 2024-04-26 戴科冕 Block chain-based data verification method
CN111538785A (en) * 2020-04-23 2020-08-14 北京海益同展信息科技有限公司 Data writing method, device and system of block chain and electronic equipment
CN111950843A (en) * 2020-06-19 2020-11-17 湖南拓比科技有限公司 Ecological environment development method and system based on block chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794294A (en) * 2010-01-08 2010-08-04 李钢 Method for realizing circular file in media file
CN101894161A (en) * 2010-07-22 2010-11-24 北京天融信科技有限公司 Recurring event access method and device for real-time monitoring
CN102169420A (en) * 2011-04-18 2011-08-31 杭州海康威视系统技术有限公司 Method and device for circularly reading and writing in buffer zone
US20160202320A1 (en) * 2015-01-09 2016-07-14 Samsung Electronics Co., Ltd. Low-overhead debug architecture using a speculative, concurrent & distributed data capture and propagation scheme
CN106446705A (en) * 2016-08-26 2017-02-22 杨鹏 Cyclic writing method and system of data on the basis of block chain

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105761143B (en) * 2016-02-01 2019-04-05 上海凭安网络科技有限公司 A method of the credit record of building together in many ways based on block chain
CN105871855B (en) * 2016-04-11 2019-09-13 杨鹏 The method and system that a kind of electronic equipment identification code is generated, stores and identified

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794294A (en) * 2010-01-08 2010-08-04 李钢 Method for realizing circular file in media file
CN101894161A (en) * 2010-07-22 2010-11-24 北京天融信科技有限公司 Recurring event access method and device for real-time monitoring
CN102169420A (en) * 2011-04-18 2011-08-31 杭州海康威视系统技术有限公司 Method and device for circularly reading and writing in buffer zone
US20160202320A1 (en) * 2015-01-09 2016-07-14 Samsung Electronics Co., Ltd. Low-overhead debug architecture using a speculative, concurrent & distributed data capture and propagation scheme
CN106446705A (en) * 2016-08-26 2017-02-22 杨鹏 Cyclic writing method and system of data on the basis of block chain

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596682A (en) * 2020-12-28 2021-04-02 郝东东 Storage device and storage method for block chain
CN113961149A (en) * 2021-10-29 2022-01-21 国网江苏省电力有限公司营销服务中心 Multi-state data storage system and storage method for power information system
CN113961149B (en) * 2021-10-29 2024-01-26 国网江苏省电力有限公司营销服务中心 Polymorphic data storage system and method for electric power information system

Also Published As

Publication number Publication date
CN106446705A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
WO2018036440A1 (en) Data cyclic writing method and system based on block chain
CN103262090B (en) Protecting data integrity with storage leases
US8812875B1 (en) Virtual self-destruction of stored information
US7509683B2 (en) System and method for authenticating digital content
US7716509B2 (en) Storage and access control method for storage
CN109255251A (en) File data based on block chain technology protects system and method
US20030236992A1 (en) Method and system for providing secure logging for intrusion detection
US8732482B1 (en) Incremental encryption of stored information
US20090287942A1 (en) Clock roll forward detection
FR2852413A1 (en) Computer data storing method, involves integrating data storage peripheral and input-output controller in device, and protecting device against duplication by internal secret identifier and perimetric protection enclosure
US11809543B2 (en) Validation of software residing on remote computing devices
KR20120087128A (en) Secure storage of temporary secrets
CN103632080A (en) Mobile data application safety protection system and mobile data application safety protection method based on USBKey
JP2007510209A (en) How to ensure the integrity of a data record set
CN111581659B (en) Method and device for calling electronic evidence
TWI711940B (en) Device, system, and method for secure snapshot management for data storage devices
US20160188894A1 (en) Retention management in a facility with multiple trust zones and encryption based secure deletion
US11861027B2 (en) Enhanced securing of data at rest
CN109190401A (en) A kind of date storage method, device and the associated component of Qemu virtual credible root
US20220269807A1 (en) Detecting unauthorized encryptions in data storage systems
CN104580083A (en) System and method for providing safety protection for financial system
CN111125776A (en) Operation data tamper-proofing method based on block chain
US10754979B2 (en) Information management terminal device
CN101655893B (en) Manufacture method of intelligent blog lock, Blog access control method and system thereof
US20150220754A1 (en) Document Security in Enterprise Content Management Systems

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17842863

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26.07.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17842863

Country of ref document: EP

Kind code of ref document: A1