WO2022073225A1 - Dna storage-based incremental information management method and device - Google Patents

Dna storage-based incremental information management method and device Download PDF

Info

Publication number
WO2022073225A1
WO2022073225A1 PCT/CN2020/120151 CN2020120151W WO2022073225A1 WO 2022073225 A1 WO2022073225 A1 WO 2022073225A1 CN 2020120151 W CN2020120151 W CN 2020120151W WO 2022073225 A1 WO2022073225 A1 WO 2022073225A1
Authority
WO
WIPO (PCT)
Prior art keywords
incremental
file
information
dna
storage
Prior art date
Application number
PCT/CN2020/120151
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 中国科学院深圳先进技术研究院
Priority to PCT/CN2020/120151 priority Critical patent/WO2022073225A1/en
Publication of WO2022073225A1 publication Critical patent/WO2022073225A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices

Abstract

A DNA storage-based incremental information management method and device. The method comprises: step A. on the basis of a Merkle-DAG incremental storage model structure, positioning DNA storage data file blocks according to a file index; step B. reorganizing the DNA storage data file blocks, and obtaining an initial file before performing an incremental operation and using same as a reorganized file; step C. linking a reorganized incremental information file on the basis of a Merkle-DAG incremental storage structure; step D. reading and executing each incremental operation in the reorganized incremental information file in sequence until all of the incremental operations are completed, and obtaining the current latest version file of DNA storage information and using same as a final file; and step E. performing a read operation on the final file. On the basis of an incremental storage model structure, a DNA information update state machine is introduced. Moreover, by means of a series of processes and methods, such as tracing a file index, linking a reorganized file, executing incremental information, and restoring the data form, DNA storage data is efficiently read.

Description

一种基于DNA存储的增量信息管理方法和设备A DNA storage-based incremental information management method and device 技术领域technical field
本发明涉及数据处理技术领域,特别涉及一种基于DNA存储的增量信息管理方法和设备。The invention relates to the technical field of data processing, in particular to a method and device for incremental information management based on DNA storage.
背景技术Background technique
DNA存储被认为是一种具有巨大应用前景的信息存储技术,不论在存储密度、保存寿命及资源消耗上对比传统存储介质都有着巨大的优势,具备更低的存储成本及维护成本。但传统对DNA存储信息进行数据管理时,需要重复执行基因编辑操作,修改信息时需对相关全部数据进行重新编辑,从而导致修改信息效率低下且成本高昂的问题。DNA storage is considered to be an information storage technology with great application prospects. It has huge advantages over traditional storage media in terms of storage density, storage life and resource consumption, and has lower storage costs and maintenance costs. However, in the traditional data management of DNA storage information, the gene editing operation needs to be performed repeatedly, and all relevant data need to be re-edited when the information is modified, which leads to the problem of low efficiency and high cost of modifying the information.
具体的,传统DNA存储信息在进行数据管理时,存在两大缺陷:一方面,修改信息效率低下,成本高昂;另一方面,仅可满足单一参与方场景下的DNA存储需求,缺乏多方参与场景下的权限管控机制,在数据安全共享方面存在巨大隐患。Specifically, traditional DNA storage information has two major defects in data management: on the one hand, the modification of information is inefficient and costly; There are huge hidden dangers in the security sharing of data.
由此,目前需要有一种更好的方法来解决上述技术问题。Therefore, there is currently a need for a better method to solve the above-mentioned technical problems.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明提出了一种基于DNA存储的增量信息管理方法和设备,具体的,本发明提出了以下具体的实施例:In view of this, the present invention proposes a method and device for incremental information management based on DNA storage. Specifically, the present invention proposes the following specific embodiments:
本发明实施例提出了一种基于DNA存储的增量信息管理方法,包括以下步骤:The embodiment of the present invention proposes a DNA storage-based incremental information management method, comprising the following steps:
步骤A、基于Merkle-DAG的增量存储模型结构,根据文件索引定位DNA存储数据文件块;Step A, based on the incremental storage model structure of Merkle-DAG, locate the DNA storage data file block according to the file index;
步骤B、将所述DNA存储数据文件块进行重组,得到进行增量操作前 的初始文件作为重组文件;Step B, the DNA storage data file block is reorganized, and the initial file before the incremental operation is obtained as the reorganized file;
步骤C、基于Merkle-DAG的增量存储结构链接重组增量信息文件;Step C, based on the incremental storage structure link reorganization of Merkle-DAG incremental information file;
步骤D、读取并按序执行重组增量信息文件中的每一个增量操作,直到所有增量操作全部执行完毕得到DNA存储信息当前最新的版本文件作为最终文件;Step D, read and execute each incremental operation in the reorganization incremental information file in sequence, until all incremental operations are fully executed to obtain the current latest version file of the DNA storage information as the final file;
步骤E、在所述最终文件上进行读取操作。Step E, performing a read operation on the final file.
在一个具体的实施例中,在步骤A之前,该方法还包括:步骤F,进行身份认证,并在所述身份认证通过后获取读取权限。In a specific embodiment, before step A, the method further includes: step F, performing identity authentication, and obtaining a read permission after the identity authentication is passed.
在一个具体的实施例中,所述步骤F,具体包括:通过分层确定性秘钥索引进行身份认证,并在所述身份认证通过后获取读取权限;其中,所述分层确定性秘钥索引采用多层授权机制;多层授权机制中层数越高的节点,对应的授权权限越低,最低层的节点对应有最高授权权限;相邻两层的节点中,较低层的节点对较高层的节点进行身份认证后,为所述较高层的节点提高授权认证。In a specific embodiment, the step F specifically includes: performing identity authentication through a hierarchical deterministic key index, and obtaining a read permission after the identity authentication is passed; wherein, the hierarchical deterministic secret key The key index adopts a multi-layer authorization mechanism; in the multi-layer authorization mechanism, the higher the number of layers, the lower the corresponding authorization authority. After the identity authentication of the higher-level nodes is performed, the authorization authentication is enhanced for the higher-level nodes.
在一个具体的实施例中,所述增量操作包括:增加信息的操作、删除信息的操作、修改信息的操作、查询信息的操作。In a specific embodiment, the incremental operation includes: an operation of adding information, an operation of deleting information, an operation of modifying information, and an operation of querying information.
在一个具体的实施例中,所述步骤C具体包括:In a specific embodiment, the step C specifically includes:
基于Merkle-DAG的增量存储结构追溯Merkle-DAG的哈希索引,根据所述Merkle-DAG的哈希索引定位并链接重组增量信息文件。Based on the incremental storage structure of the Merkle-DAG, the hash index of the Merkle-DAG is traced back, and the incremental information files are located and linked and reorganized according to the hash index of the Merkle-DAG.
在一个具体的实施例中,所述步骤D具体包括:In a specific embodiment, the step D specifically includes:
通过DNA信息更新状态机读取并按序执行重组增量信息文件中的每一个增量操作,直到所有增量操作全部执行完毕得到DNA存储信息当前最新的版本文件作为最终文件。Read and execute each incremental operation in the recombined incremental information file in sequence through the DNA information update state machine, until all incremental operations are completed to obtain the current latest version file of the DNA storage information as the final file.
本发明实施例提出了一种基于DNA存储的增量信息管理设备,包括以 下模块:The embodiment of the present invention proposes a DNA-based incremental information management device, comprising the following modules:
定位模块,用于基于Merkle-DAG的增量存储模型结构,根据文件索引定位DNA存储数据文件块;The positioning module is used to locate the DNA storage data file block according to the file index based on the incremental storage model structure of Merkle-DAG;
重组模块,用于将所述DNA存储数据文件块进行重组,得到进行增量操作前的初始文件作为重组文件;A reorganization module, for reorganizing the DNA storage data file block, and obtaining the initial file before the incremental operation as a reorganization file;
链接模块,用于基于Merkle-DAG的增量存储结构链接重组增量信息文件;The link module is used to link and reorganize incremental information files based on the incremental storage structure of Merkle-DAG;
执行模块,用于读取并按序执行重组增量信息文件中的每一个增量操作,直到所有增量操作全部执行完毕得到DNA存储信息当前最新的版本文件作为最终文件;The execution module is used to read and execute each incremental operation in the reorganized incremental information file in sequence, until all the incremental operations are executed to obtain the current latest version file of the DNA storage information as the final file;
读取模块,用于在所述最终文件上进行读取操作。A reading module, configured to perform a reading operation on the final file.
在一个具体的实施例中,还包括:权限模块,用于进行身份认证,并在所述身份认证通过后获取读取权限。In a specific embodiment, it further includes: a permission module, configured to perform identity authentication, and obtain read permission after the identity authentication is passed.
在一个具体的实施例中,所述权限模块,具体用于:通过分层确定性秘钥索引进行身份认证,并在所述身份认证通过后获取读取权限;其中,所述分层确定性秘钥索引采用多层授权机制;多层授权机制中层数越高的节点,对应的授权权限越低,最低层的节点对应有最高授权权限;相邻两层的节点中,较低层的节点对较高层的节点进行身份认证后,为所述较高层的节点提高授权认证。In a specific embodiment, the authority module is specifically configured to: perform identity authentication through a hierarchical deterministic key index, and obtain a read permission after the identity authentication is passed; wherein the hierarchical deterministic The key index adopts a multi-layer authorization mechanism; in the multi-layer authorization mechanism, the higher the number of layers, the lower the corresponding authorization authority, and the lowest-level node corresponds to the highest authorization authority; among the nodes of the two adjacent layers, the lower-layer node has the lower authorization authority. After the node performs identity authentication on the node of the higher layer, it improves the authorization authentication for the node of the higher layer.
在一个具体的实施例中,所述增量操作包括:增加信息的操作、删除信息的操作、修改信息的操作、查询信息的操作。In a specific embodiment, the incremental operation includes: an operation of adding information, an operation of deleting information, an operation of modifying information, and an operation of querying information.
以此,本发明实施例相较于现有技术,具有以下效果:In this way, compared with the prior art, the embodiment of the present invention has the following effects:
本方案针对DNA存储信息多方编辑及共享过程中存在的安全性问题,本发明通过引入分层确定性密钥索引对操作者进行身份认证及权限管理, 实现DNA存储数据的安全共享。针对DNA存储信息处理中的效率问题,本发明基于增量存储模型结构,引入DNA信息更新状态机,通过追溯文件索引、链接重组文件、执行增量信息和还原数据形态等系列流程、方法,实现对DNA存储数据的高效率读取。Aiming at the security problems existing in the multi-party editing and sharing of DNA storage information, the present invention implements the security sharing of DNA storage data by introducing a hierarchical deterministic key index to perform identity authentication and authority management on operators. Aiming at the efficiency problem in the processing of DNA storage information, the present invention is based on the incremental storage model structure, and introduces a DNA information update state machine. Efficient reading of DNA storage data.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1为本发明实施例提出的一种基于DNA存储的增量信息管理方法的流程示意图;1 is a schematic flowchart of a DNA storage-based incremental information management method proposed in an embodiment of the present invention;
图2为本发明实施例提出的一种基于DNA存储的增量信息管理方法的具体流程示意图;Fig. 2 is a specific flowchart of a DNA storage-based incremental information management method proposed in an embodiment of the present invention;
图3为本发明实施例提出的一种基于DNA存储的增量信息管理方法中分层确定性密钥索引的流程示意图;3 is a schematic flowchart of a hierarchical deterministic key index in a DNA storage-based incremental information management method proposed by an embodiment of the present invention;
图4为本发明实施例提出的一种基于DNA存储的增量信息管理方法中DNA信息更新状态机的示意图;4 is a schematic diagram of a DNA information update state machine in a DNA storage-based incremental information management method proposed by an embodiment of the present invention;
图5为本发明实施例提出的一种基于DNA存储的增量信息管理设备的结构示意图。FIG. 5 is a schematic structural diagram of a DNA storage-based incremental information management device according to an embodiment of the present invention.
具体实施方式Detailed ways
在下文中,将更全面地描述本公开的各种实施例。本公开可具有各种实施例,并且可在其中做出调整和改变。然而,应理解:不存在将本公开 的各种实施例限于在此公开的特定实施例的意图,而是应将本公开理解为涵盖落入本公开的各种实施例的精神和范围内的所有调整、等同物和/或可选方案。Hereinafter, various embodiments of the present disclosure will be described more fully. The present disclosure is capable of various embodiments, and adaptations and changes may be made therein. It should be understood, however, that there is no intention to limit the various embodiments of the present disclosure to the specific embodiments disclosed herein, but the present disclosure should be construed to cover various embodiments falling within the spirit and scope of the present disclosure. All adjustments, equivalents and/or alternatives.
在本公开的各种实施例中使用的术语仅用于描述特定实施例的目的并且并非意在限制本公开的各种实施例。如在此所使用,单数形式意在也包括复数形式,除非上下文清楚地另有指示。除非另有限定,否则在这里使用的所有术语(包括技术术语和科学术语)具有与本公开的各种实施例所属领域普通技术人员通常理解的含义相同的含义。所述术语(诸如在一般使用的词典中限定的术语)将被解释为具有与在相关技术领域中的语境含义相同的含义并且将不被解释为具有理想化的含义或过于正式的含义,除非在本公开的各种实施例中被清楚地限定。The terminology used in the various embodiments of the present disclosure is for the purpose of describing particular embodiments only and is not intended to limit the various embodiments of the present disclosure. As used herein, the singular is intended to include the plural as well, unless the context clearly dictates otherwise. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of this disclosure belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized or overly formal meaning, unless explicitly defined in various embodiments of the present disclosure.
实施例1Example 1
本发明实施例1公开了一种基于DNA存储的增量信息管理方法,如图1所示,包括以下步骤:Embodiment 1 of the present invention discloses a DNA storage-based incremental information management method, as shown in FIG. 1 , including the following steps:
步骤A、基于Merkle-DAG的增量存储模型结构,根据文件索引定位DNA存储数据文件块;Step A, based on the incremental storage model structure of Merkle-DAG, locate the DNA storage data file block according to the file index;
步骤B、将所述DNA存储数据文件块进行重组,得到进行增量操作前的初始文件作为重组文件;Step B, the DNA storage data file block is reorganized, and the initial file before the incremental operation is obtained as the reorganized file;
步骤C、基于Merkle-DAG的增量存储结构链接重组增量信息文件;Step C, based on the incremental storage structure link reorganization of Merkle-DAG incremental information file;
步骤D、读取并按序执行重组增量信息文件中的每一个增量操作,直到所有增量操作全部执行完毕得到DNA存储信息当前最新的版本文件作为最终文件;Step D, read and execute each incremental operation in the reorganization incremental information file in sequence, until all incremental operations are fully executed to obtain the current latest version file of the DNA storage information as the final file;
步骤E、在所述最终文件上进行读取操作。Step E, performing a read operation on the final file.
在一个具体的实施例中,在步骤A之前,该方法还包括:步骤F,进 行身份认证,并在所述身份认证通过后获取读取权限。In a specific embodiment, before step A, the method further includes: step F, performing identity authentication, and obtaining a read permission after the identity authentication is passed.
具体的,如图2所示,本方案可以分为7个步骤:1)通过分层确定性秘钥索引,进行身份认证,获取读取权限;2)追溯Merkle-DAG的哈希索引,链接文件信息;3)通过文件索引链接信息,重组文件;4)追溯Merkle-DAG的哈希索引链接增量信息;5)通过DNA信息更新状态机,逐步在重组文件上执行增量操作;6)还原得到DNA存储信息最终形态,即终态文件;7)在终态文件上进行读取操作。Specifically, as shown in Figure 2, this scheme can be divided into 7 steps: 1) Perform identity authentication through hierarchical deterministic secret key index to obtain read permission; 2) Trace the hash index of Merkle-DAG, link File information; 3) Reorganize the file through the file index link information; 4) Trace the hash index link incremental information of Merkle-DAG; 5) Update the state machine through the DNA information, and gradually perform incremental operations on the reorganized file; 6) The final form of DNA storage information is obtained by restoration, that is, the final state file; 7) The read operation is performed on the final state file.
通过以上7个步骤,即可完成一次对DNA存储信息的读取。由此,本方案的方案通过引入身份认证及权限管控机制,解决多方编辑场景下DNA存储信息读取的安全性问题;通过对原始文件的索引链接、重组及DNA信息更新状态机,完成对DNA存储信息的高效读取。Through the above 7 steps, the reading of DNA storage information can be completed once. Therefore, the solution of this scheme solves the security problem of reading DNA storage information in the multi-party editing scenario by introducing identity authentication and authority control mechanisms; through the index link of the original file, reorganization and DNA information update state machine, complete the DNA information Efficient reading of stored information.
具体的,所述步骤F,具体包括:通过分层确定性秘钥索引进行身份认证,并在所述身份认证通过后获取读取权限;其中,所述分层确定性秘钥索引采用多层授权机制;多层授权机制中层数越高的节点,对应的授权权限越低,最低层的节点对应有最高授权权限;相邻两层的节点中,较低层的节点对较高层的节点进行身份认证后,为所述较高层的节点提高授权认证。如图3所示,在对DNA存储信息进行初次读取操作时,需先通过分层确定性密钥索引进行身份认证,获取读取权限。密钥索引使用多层授权机制,如图1所示,以三层结构为例,第一层L1根节点拥有最高授权权限,对第二层L2各机构进行身份认证,L2经过根节点身份认证后可以为L3机构子节点提供授权认证。Specifically, the step F specifically includes: performing identity authentication through a hierarchical deterministic key index, and obtaining a read permission after the identity authentication is passed; wherein, the hierarchical deterministic key index adopts a multi-layered deterministic key index. Authorization mechanism; in the multi-layer authorization mechanism, the higher the number of layers, the lower the corresponding authorization authority, and the lowest level node corresponds to the highest authorization authority; among the nodes of two adjacent layers, the lower layer node has the highest authorization authority to the higher layer node. After the identity authentication is performed, the authorization authentication is improved for the nodes of the higher layer. As shown in Figure 3, when the DNA storage information is read for the first time, it is necessary to perform identity authentication through the hierarchical deterministic key index to obtain the read permission. The key index uses a multi-layer authorization mechanism, as shown in Figure 1. Taking the three-layer structure as an example, the root node of the first layer L1 has the highest authorization authority, and authenticates the organizations of the second layer L2, and the L2 is authenticated by the root node. Afterwards, authorization and authentication can be provided for the L3 institution sub-nodes.
在一个具体的实施例中,所述增量操作包括:增加信息的操作、删除信息的操作、修改信息的操作、查询信息的操作。In a specific embodiment, the incremental operation includes: an operation of adding information, an operation of deleting information, an operation of modifying information, and an operation of querying information.
进一步的,步骤A具体是基于Merkle-DAG的增量存储模型结构追溯Merkle-DAG的哈希索引,进而根据Merkle-DAG的哈希索引定位DNA存储数据文件块。Further, step A specifically traces the hash index of the Merkle-DAG based on the incremental storage model structure of the Merkle-DAG, and then locates the DNA storage data file block according to the hash index of the Merkle-DAG.
如图4所示,步骤B具体包括:每次根据索引定位DNA存储数据文件块后,将该文件块依序重组。重组完成后,该重组文件即为增量操作前的初始文件。As shown in FIG. 4 , step B specifically includes: after each time locating the DNA storage data file block according to the index, reorganizing the file block in sequence. After the reorganization is completed, the reorganized file is the original file before the incremental operation.
所述步骤C具体包括:基于Merkle-DAG的增量存储结构追溯Merkle-DAG的哈希索引,根据所述Merkle-DAG的哈希索引定位并链接重组增量信息文件。The step C specifically includes: tracing back the hash index of the Merkle-DAG based on the incremental storage structure of the Merkle-DAG, and locating and linking and reorganizing the incremental information file according to the hash index of the Merkle-DAG.
具体的,与步骤A以及步骤B类似,所述步骤C时基于Merkle-DAG的增量存储结构,根据索引定位并链接重组增量信息文件。Specifically, similar to step A and step B, step C is based on the incremental storage structure of Merkle-DAG, and the incremental information file is located and linked and reorganized according to the index.
所述步骤D具体包括:通过DNA信息更新状态机读取并按序执行重组增量信息文件中的每一个增量操作,直到所有增量操作全部执行完毕得到DNA存储信息当前最新的版本文件作为最终文件。The step D specifically includes: reading and sequentially executing each incremental operation in the reorganization incremental information file through the DNA information update state machine, until all the incremental operations are completed to obtain the current latest version file of the DNA storage information as the file. final file.
具体的如图4所示,读取并按序执行增量文件中的每一个增量操作:Specifically, as shown in Figure 4, each incremental operation in the incremental file is read and executed sequentially:
1.设重组文件F,其初始状态为S0,记为(F,S0);1. Set the reorganized file F, its initial state is S0, denoted as (F, S0);
2.读取对应的增量信息文件,获取第一条增量信息M1(增、删、改或查);2. Read the corresponding incremental information file and obtain the first incremental information M1 (add, delete, modify or check);
3.对(F,S0)进行M1增量操作,操作完成后F状态为S1,即(F,S1);3. Perform M1 incremental operation on (F, S0), after the operation is completed, the state of F is S1, namely (F, S1);
4.获取下一条增量信息M2,对(F,S1)进行M2操作,得到(F,S2);4. Obtain the next incremental information M2, and perform the M2 operation on (F, S1) to obtain (F, S2);
5.以此类推,重复操作直到增量信息全部执行完毕,得到最终文件(F,Sn)。最终文件F’=(F,Sn)即为所求待读取文件的当前最新版本。5. By analogy, repeat the operation until all the incremental information is executed, and the final file (F, Sn) is obtained. The final file F'=(F, Sn) is the current latest version of the requested file to be read.
后续在文件F’上完成读取操作。Subsequent read operations are completed on file F'.
本发明提出的基于DNA存储信息增量管理的读取模型,相对于传统DNA存储信息的优势如下:The read model based on the incremental management of DNA storage information proposed by the present invention has the following advantages over traditional DNA storage information:
1.针对DNA存储信息多方编辑及共享过程中存在的安全性问题,本 发明通过引入分层确定性密钥索引对操作者进行身份认证及权限管理,实现DNA存储数据的安全共享。1. In view of the security problems existing in the multi-party editing and sharing process of DNA storage information, the present invention implements the safe sharing of DNA storage data by introducing a hierarchical deterministic key index to perform identity authentication and authority management on operators.
2.针对DNA存储信息处理中的效率问题,本发明基于增量存储模型结构,引入DNA信息更新状态机,通过追溯文件索引、链接重组文件、执行增量信息和还原数据形态等系列流程、方法,实现对DNA存储数据的高效读取。2. Aiming at the efficiency problem in the processing of DNA storage information, the present invention is based on the incremental storage model structure, introduces a DNA information update state machine, and traces back a file index, links a reorganized file, executes incremental information, and restores a series of processes and methods such as data form. , to achieve efficient reading of DNA storage data.
实施例2Example 2
为了对本申请的方案进行进一步的说明,本发明实施例2还公开了一种基于DNA存储的增量信息管理设备,如图5所示,包括以下模块:In order to further illustrate the solution of this application, Embodiment 2 of the present invention also discloses a DNA storage-based incremental information management device, as shown in Figure 5, including the following modules:
定位模块201,用于基于Merkle-DAG的增量存储模型结构,根据文件索引定位DNA存储数据文件块;The positioning module 201 is used to locate the DNA storage data file block according to the file index based on the incremental storage model structure of Merkle-DAG;
重组模块202,用于将所述DNA存储数据文件块进行重组,得到进行增量操作前的初始文件作为重组文件;The reorganization module 202 is used to reorganize the DNA storage data file block, and obtain the initial file before the incremental operation as the reorganized file;
链接模块203,用于基于Merkle-DAG的增量存储结构链接重组增量信息文件;The linking module 203 is used to link and reorganize the incremental information file based on the incremental storage structure of Merkle-DAG;
执行模块204,用于读取并按序执行重组增量信息文件中的每一个增量操作,直到所有增量操作全部执行完毕得到DNA存储信息当前最新的版本文件作为最终文件;The execution module 204 is used to read and execute each incremental operation in the reorganization incremental information file in sequence, until all the incremental operations are completely executed to obtain the current latest version file of the DNA storage information as the final file;
读取模块205,用于在所述最终文件上进行读取操作。The reading module 205 is configured to perform a reading operation on the final file.
在一个具体的实施例中,如图所示,还包括:权限模块206,用于进行身份认证,并在所述身份认证通过后获取读取权限。In a specific embodiment, as shown in the figure, it further includes: a permission module 206, configured to perform identity authentication, and obtain a read permission after the identity authentication is passed.
在一个具体的实施例中,所述权限模块206,具体用于:通过分层确定性秘钥索引进行身份认证,并在所述身份认证通过后获取读取权限;其中,所述分层确定性秘钥索引采用多层授权机制;多层授权机制中层数越 高的节点,对应的授权权限越低,最低层的节点对应有最高授权权限;相邻两层的节点中,较低层的节点对较高层的节点进行身份认证后,为所述较高层的节点提高授权认证。In a specific embodiment, the permission module 206 is specifically configured to: perform identity authentication through a hierarchical deterministic key index, and obtain a read permission after the identity authentication is passed; wherein, the hierarchical determination The key index adopts a multi-layer authorization mechanism; in the multi-layer authorization mechanism, the higher the number of layers, the lower the corresponding authorization authority, and the node at the lowest level corresponds to the highest authorization authority; After the node of the higher layer performs identity authentication on the node of the higher layer, the authorization authentication is improved for the node of the higher layer.
在一个具体的实施例中,所述增量操作包括:增加信息的操作、删除信息的操作、修改信息的操作、查询信息的操作。In a specific embodiment, the incremental operation includes: an operation of adding information, an operation of deleting information, an operation of modifying information, and an operation of querying information.
在一个具体的实施例中,所述链接模块203,用于:In a specific embodiment, the linking module 203 is used for:
基于Merkle-DAG的增量存储结构追溯Merkle-DAG的哈希索引,根据所述Merkle-DAG的哈希索引定位并链接重组增量信息文件。Based on the incremental storage structure of the Merkle-DAG, the hash index of the Merkle-DAG is traced back, and the incremental information files are located and linked and reorganized according to the hash index of the Merkle-DAG.
在一个具体的实施例中,所述执行模块204,用于:In a specific embodiment, the execution module 204 is configured to:
通过DNA信息更新状态机读取并按序执行重组增量信息文件中的每一个增量操作,直到所有增量操作全部执行完毕得到DNA存储信息当前最新的版本文件作为最终文件。Read and execute each incremental operation in the recombined incremental information file in sequence through the DNA information update state machine, until all incremental operations are completed to obtain the current latest version file of the DNA storage information as the final file.
本领域技术人员可以理解附图只是一个优选实施场景的示意图,附图中的模块或流程并不一定是实施本发明所必须的。Those skilled in the art can understand that the accompanying drawing is only a schematic diagram of a preferred implementation scenario, and the modules or processes in the accompanying drawing are not necessarily necessary to implement the present invention.
本领域技术人员可以理解实施场景中的装置中的模块可以按照实施场景描述进行分布于实施场景的装置中,也可以进行相应变化位于不同于本实施场景的一个或多个装置中。上述实施场景的模块可以合并为一个模块,也可以进一步拆分成多个子模块。Those skilled in the art can understand that the modules in the device in the implementation scenario may be distributed in the device in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the implementation scenario with corresponding changes. The modules of the above implementation scenarios may be combined into one module, or may be further split into multiple sub-modules.
上述本发明序号仅仅为了描述,不代表实施场景的优劣。The above serial numbers of the present invention are only for description, and do not represent the pros and cons of the implementation scenarios.
以上公开的仅为本发明的几个具体实施场景,但是,本发明并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护范围。The above disclosures are only a few specific implementation scenarios of the present invention, however, the present invention is not limited thereto, and any changes that can be conceived by those skilled in the art should fall within the protection scope of the present invention.

Claims (10)

  1. 一种基于DNA存储的增量信息管理方法,其特征在于,包括以下步骤:A kind of incremental information management method based on DNA storage, is characterized in that, comprises the following steps:
    步骤A、基于Merkle-DAG的增量存储模型结构,根据文件索引定位DNA存储数据文件块;Step A, based on the incremental storage model structure of Merkle-DAG, locate the DNA storage data file block according to the file index;
    步骤B、将所述DNA存储数据文件块进行重组,得到进行增量操作前的初始文件作为重组文件;Step B, the DNA storage data file block is reorganized, and the initial file before the incremental operation is obtained as the reorganized file;
    步骤C、基于Merkle-DAG的增量存储结构链接重组增量信息文件;Step C, based on the incremental storage structure link reorganization of Merkle-DAG incremental information file;
    步骤D、读取并按序执行重组增量信息文件中的每一个增量操作,直到所有增量操作全部执行完毕得到DNA存储信息当前最新的版本文件作为最终文件;Step D, read and execute each incremental operation in the reorganization incremental information file in sequence, until all incremental operations are fully executed to obtain the current latest version file of the DNA storage information as the final file;
    步骤E、在所述最终文件上进行读取操作。Step E, performing a read operation on the final file.
  2. 如权利要求1所述的方法,其特征在于,在步骤A之前,该方法还包括:步骤F,进行身份认证,并在所述身份认证通过后获取读取权限。The method according to claim 1, characterized in that, before step A, the method further comprises: step F, performing identity authentication, and obtaining a read permission after the identity authentication is passed.
  3. 如权利要求2所示的方法,其特征在于,所述步骤F,具体包括:通过分层确定性秘钥索引进行身份认证,并在所述身份认证通过后获取读取权限;其中,所述分层确定性秘钥索引采用多层授权机制;多层授权机制中层数越高的节点,对应的授权权限越低,最低层的节点对应有最高授权权限;相邻两层的节点中,较低层的节点对较高层的节点进行身份认证后,为所述较高层的节点提高授权认证。The method according to claim 2, wherein the step F specifically includes: performing identity authentication through a hierarchical deterministic key index, and obtaining a read permission after the identity authentication is passed; wherein, the The hierarchical deterministic key index adopts a multi-layer authorization mechanism; the higher the number of layers in the multi-layer authorization mechanism, the lower the corresponding authorization authority; After the node of the lower layer authenticates the node of the higher layer, the authorization authentication is improved for the node of the higher layer.
  4. 如权利要求1所述的方法,其特征在于,所述增量操作包括:增加信息的操作、删除信息的操作、修改信息的操作、查询信息的操作。The method according to claim 1, wherein the increment operation comprises: an operation of adding information, an operation of deleting information, an operation of modifying information, and an operation of querying information.
  5. 如权利要求1所述的方法,其特征在于,所述步骤C具体包括:The method of claim 1, wherein the step C specifically comprises:
    基于Merkle-DAG的增量存储结构追溯Merkle-DAG的哈希索引,根据所述Merkle-DAG的哈希索引定位并链接重组增量信息文件。Based on the incremental storage structure of the Merkle-DAG, the hash index of the Merkle-DAG is traced back, and the incremental information file is located and linked and reorganized according to the hash index of the Merkle-DAG.
  6. 如权利要求1所述的方法,其特征在于,所述步骤D具体包括:The method of claim 1, wherein the step D specifically comprises:
    通过DNA信息更新状态机读取并按序执行重组增量信息文件中的每一个增量操作,直到所有增量操作全部执行完毕得到DNA存储信息当前最新的版本文件作为最终文件。Read and execute each incremental operation in the recombined incremental information file in sequence through the DNA information update state machine, until all incremental operations are completed to obtain the current latest version file of the DNA storage information as the final file.
  7. 一种基于DNA存储的增量信息管理设备,其特征在于,包括以下模块:A DNA-based incremental information management device, characterized in that it includes the following modules:
    定位模块,用于基于Merkle-DAG的增量存储模型结构,根据文件索引定位DNA存储数据文件块;The positioning module is used to locate the DNA storage data file block based on the incremental storage model structure of Merkle-DAG according to the file index;
    重组模块,用于将所述DNA存储数据文件块进行重组,得到进行增量操作前的初始文件作为重组文件;a reorganization module for reorganizing the DNA storage data file block, and obtaining the initial file before the incremental operation as a reorganization file;
    链接模块,用于基于Merkle-DAG的增量存储结构链接重组增量信息文件;The link module is used to link and reorganize incremental information files based on the incremental storage structure of Merkle-DAG;
    执行模块,用于读取并按序执行重组增量信息文件中的每一个增量操作,直到所有增量操作全部执行完毕得到DNA存储信息当前最新的版本文件作为最终文件;The execution module is used to read and execute each incremental operation in the reorganized incremental information file in sequence, until all the incremental operations are executed to obtain the current latest version file of the DNA storage information as the final file;
    读取模块,用于在所述最终文件上进行读取操作。A reading module, configured to perform a reading operation on the final file.
  8. 如权利要求7所述的设备,其特征在于还包括:权限模块,用于进行身份认证,并在所述身份认证通过后获取读取权限。The device according to claim 7, further comprising: a permission module, configured to perform identity authentication, and obtain read permission after the identity authentication is passed.
  9. 如权利要求8所示的设备,其特征在于,所述权限模块,具体用于:通过分层确定性秘钥索引进行身份认证,并在所述身份认证通过后获取读取权限;其中,所述分层确定性秘钥索引采用多层授权机制;多层授权机制中层数越高的节点,对应的授权权限越低,最低层的节点对应有最高授权权限;相邻两层的节点中,较低层的节点对较高层的节点进行身份认证后,为所述较高层的节点提高授权认证。The device according to claim 8, wherein the permission module is specifically configured to: perform identity authentication through a hierarchical deterministic key index, and obtain a read permission after the identity authentication is passed; wherein, the The hierarchical deterministic key index adopts a multi-layer authorization mechanism; the higher the number of layers in the multi-layer authorization mechanism, the lower the corresponding authorization authority, the lowest level node corresponds to the highest authorization authority; the nodes in the adjacent two layers , after the node of the lower layer performs identity authentication on the node of the higher layer, the authorization authentication is improved for the node of the higher layer.
  10. 如权利要求7所述的设备,其特征在于,所述增量操作包括:增加信息的操作、删除信息的操作、修改信息的操作、查询信息的操作。The device according to claim 7, wherein the increment operation comprises: an operation of adding information, an operation of deleting information, an operation of modifying information, and an operation of querying information.
PCT/CN2020/120151 2020-10-10 2020-10-10 Dna storage-based incremental information management method and device WO2022073225A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/120151 WO2022073225A1 (en) 2020-10-10 2020-10-10 Dna storage-based incremental information management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/120151 WO2022073225A1 (en) 2020-10-10 2020-10-10 Dna storage-based incremental information management method and device

Publications (1)

Publication Number Publication Date
WO2022073225A1 true WO2022073225A1 (en) 2022-04-14

Family

ID=81125617

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/120151 WO2022073225A1 (en) 2020-10-10 2020-10-10 Dna storage-based incremental information management method and device

Country Status (1)

Country Link
WO (1) WO2022073225A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850760A (en) * 2015-03-27 2015-08-19 苏州泓迅生物科技有限公司 Artificially synthesized DNA storage medium with coding information, storage reading method for information, and applications
WO2017214765A1 (en) * 2016-06-12 2017-12-21 深圳大学 Multi-thread fast storage lossless compression method and system for fastq data
CN109491962A (en) * 2018-11-06 2019-03-19 深圳市网心科技有限公司 A kind of file directory tree management method and relevant apparatus
CN110569974A (en) * 2018-06-06 2019-12-13 天津大学 DNA storage layered representation and interweaving coding method capable of containing artificial base
CN111091876A (en) * 2019-12-16 2020-05-01 中国科学院深圳先进技术研究院 DNA storage method, system and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850760A (en) * 2015-03-27 2015-08-19 苏州泓迅生物科技有限公司 Artificially synthesized DNA storage medium with coding information, storage reading method for information, and applications
WO2017214765A1 (en) * 2016-06-12 2017-12-21 深圳大学 Multi-thread fast storage lossless compression method and system for fastq data
CN110569974A (en) * 2018-06-06 2019-12-13 天津大学 DNA storage layered representation and interweaving coding method capable of containing artificial base
CN109491962A (en) * 2018-11-06 2019-03-19 深圳市网心科技有限公司 A kind of file directory tree management method and relevant apparatus
CN111091876A (en) * 2019-12-16 2020-05-01 中国科学院深圳先进技术研究院 DNA storage method, system and electronic equipment

Similar Documents

Publication Publication Date Title
CN110784463B (en) File storage and access method based on block chain
CN108985934B (en) Block chain modification method and device
US8874951B1 (en) Private peer-to-peer network platform for secure collaborative production and management of digital assets
CN112835612A (en) Electronic document version management method and device based on block chain
CN112559448B (en) Data state migration method and device, computer equipment and storage medium
CN104123126A (en) Method and device for generating merge conflict record list
CN113902384B (en) Tracing method and system based on RFID and intelligent contract
CN111461751A (en) Block chain-based house property information chain organization method, historical state tracing method and device
CN112149073B (en) Cone blockchain management method and system
CN112597544A (en) Block chain-based industrial internet data security management system and method
CN111260470A (en) Mixed block chain architecture system and processing method
CN113986143A (en) Block chain log storage-oriented high-reliability low-overhead data storage method
Wang et al. Ess: An efficient storage scheme for improving the scalability of bitcoin network
WO2022073225A1 (en) Dna storage-based incremental information management method and device
Wang et al. Research on multi-person collaborative design of BIM drawing based on blockchain
CN107392042A (en) Electric network data monitoring method and device
CN112162952B (en) Incremental information management method and device based on DNA storage
CN111402104B (en) Block chain-based public security data management platform and method
Ceresnak et al. Increasing security of database during car monitoring
CN105303122B (en) The method that the locking of sensitive data high in the clouds is realized based on reconfiguration technique
CN115203327A (en) Accident tracing method and system for block chain safety control system
CN105677249A (en) Data block partitioning method, device and system
Chakraborty A Prototype For Quantum Database in Hybrid Quantum
CN106598659A (en) Data file construction method, method and device for updating application program
CN113489692B (en) Block chain access control model method based on main side chain cooperation

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: 20956540

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20956540

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20956540

Country of ref document: EP

Kind code of ref document: A1