CN110209347B - Traceable data storage method - Google Patents

Traceable data storage method Download PDF

Info

Publication number
CN110209347B
CN110209347B CN201910269389.2A CN201910269389A CN110209347B CN 110209347 B CN110209347 B CN 110209347B CN 201910269389 A CN201910269389 A CN 201910269389A CN 110209347 B CN110209347 B CN 110209347B
Authority
CN
China
Prior art keywords
storage
data
information
target data
generating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910269389.2A
Other languages
Chinese (zh)
Other versions
CN110209347A (en
Inventor
刘丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Terminus Beijing Technology Co Ltd
Original Assignee
Terminus Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Terminus Beijing Technology Co Ltd filed Critical Terminus Beijing Technology Co Ltd
Priority to CN201910269389.2A priority Critical patent/CN110209347B/en
Publication of CN110209347A publication Critical patent/CN110209347A/en
Application granted granted Critical
Publication of CN110209347B publication Critical patent/CN110209347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • 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/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The application provides a traceable data storage method. Wherein the method comprises the following steps: acquiring target data to be stored; cutting the target data into a plurality of subdata and storing the subdata to a plurality of storage nodes in a storage network database; and storing the storage information of the target data to each node of the storage network database. Compared with the prior art, the data storage method provided by the application can effectively improve the safety and traceability of data storage.

Description

Traceable data storage method
Technical Field
The application relates to the technical field of data storage, in particular to a traceable data storage method.
Background
With the rapid development of internet technology and the arrival of the big data era, the importance of data is higher and higher, and correspondingly, the requirements on data storage technology are higher and higher, and especially, higher and higher requirements are provided for the authenticity, indelibility, non-tamper property and traceability of data storage.
At present, data storage is mainly realized by depending on a data server, which is a highly centralized storage mode, and after suffering from illegal events such as hacker intrusion, administrator tampering and the like, the data storage may be maliciously tampered without being perceived by a user, so that serious loss is brought to the user of the data.
In view of the foregoing, there is a need to provide a more secure traceable data storage solution.
Disclosure of Invention
In view of the foregoing, the present application provides a traceable data storage method, apparatus, terminal device and computer readable medium.
A first aspect of the present application provides a traceable data storage method, including:
acquiring target data to be stored;
cutting the target data into a plurality of subdata and storing the subdata to a plurality of storage nodes in a storage network database;
and storing the storage information of the target data to each node of the storage network database.
In some modified embodiments of the first aspect of the present application, the storing the target data into a plurality of storage nodes in a storage network database after the target data is cut into a plurality of sub-data includes:
selecting a plurality of storage nodes for storing the target data from a storage network database by adopting a consensus mechanism;
and cutting the target data into a plurality of subdata and storing the subdata into the plurality of storage nodes.
In some modified embodiments of the first aspect of the present application, the storing the storage information of the target data to each node of the storage network database includes:
generating storage information of the target data;
generating a data packet according to the storage information;
and storing the data packet to each node of the storage network database.
In some variations of the first aspect of the present application, the generating storage information of the target data includes:
generating fingerprint information of the sub data for each of the plurality of sub data;
determining node identifiers of storage nodes of the plurality of subdata;
and generating storage information of the target data according to the data identifier of the target data, the fingerprint information corresponding to each of the plurality of subdata and the node identifier of the storage node.
In some variations of the first aspect of the present application, the generating fingerprint information of the child data includes:
acquiring a data identifier of the subdata;
generating summary information of the subdata by adopting a message summary algorithm;
and generating fingerprint information of the subdata according to the data identification of the subdata and the summary information.
In some modified embodiments of the first aspect of the present application, the generating a data packet according to the storage information includes:
searching a historical storage data packet of the target data in the storage network database according to the data identifier or the abstract information of the target data;
generating abstract information of the historical storage data packet;
and generating a storage data packet according to the storage information and the abstract information of the historical storage data packet.
In some modified embodiments of the first aspect of the present application, the generating a data packet according to the storage information includes:
searching a data packet corresponding to the last storage event in the storage network database;
generating abstract information of a data packet corresponding to the last storage event;
and generating a storage data packet according to the storage information and the summary information of the data packet corresponding to the last storage event.
A second aspect of the present application provides a data storage device comprising:
the target data acquisition module is used for acquiring target data to be stored;
the target data storage module is used for cutting the target data into a plurality of subdata and storing the subdata into a plurality of storage nodes in a storage network database;
and the storage information distribution module is used for storing the storage information of the target data to each node of the storage network database.
In some variations of the second aspect of the subject application, the target data storage module comprises:
a storage node determination unit, configured to select, by using a consensus mechanism, a plurality of storage nodes for storing the target data from a storage network database;
and the target data storage unit is used for cutting the target data into a plurality of subdata and storing the subdata into the plurality of storage nodes.
In some modified embodiments of the second aspect of the present application, the storage information distribution module includes:
a storage information generating unit configured to generate storage information of the target data;
a data packet generating unit for generating a data packet according to the storage information;
and the data packet storage unit is used for storing the data packet to each node of the storage network database.
In some modified embodiments of the second aspect of the present application, the storage information generating unit includes:
a fingerprint generating subunit, configured to generate, for each of the plurality of sub data, fingerprint information of the sub data;
a node identifier determining subunit, configured to determine a node identifier of a storage node of each of the plurality of sub data;
and the storage information generating subunit is configured to generate storage information of the target data according to the data identifier of the target data, the fingerprint information corresponding to each of the plurality of sub-data, and the node identifier of the storage node.
In some modified embodiments of the second aspect of the present application, the fingerprint generation subunit includes:
a data identifier obtaining subunit, configured to obtain a data identifier of the sub-data;
the abstract information generating subunit is used for generating the abstract information of the subdata by adopting a message abstract algorithm;
and the fingerprint information generating subunit is used for generating the fingerprint information of the subdata according to the data identifier of the subdata and the summary information.
In some modified embodiments of the second aspect of the present application, the packet generation unit includes:
the historical data query subunit is used for searching a historical storage data packet of the target data in the storage network database according to the data identifier or the abstract information of the target data;
the historical data summarization subunit is used for generating summary information of the historical storage data packet;
and the first data generation subunit is used for generating a storage data packet according to the storage information and the summary information of the historical storage data packet.
In some modified embodiments of the second aspect of the present application, the packet generation unit includes:
the prior storage query subunit is used for searching a data packet corresponding to the last storage event in the storage network database;
the prior storage abstract subunit is used for generating abstract information of the data packet corresponding to the last storage event;
and the first data generation subunit is used for generating a storage data packet according to the storage information and the summary information of the data packet corresponding to the last storage event.
A third aspect of the present application provides a terminal device, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the computer program when executing the method according to the first aspect of the present application.
A fourth aspect of the present application provides a computer readable medium having stored thereon computer readable instructions executable by a processor to perform the method of the first aspect of the present application.
The data storage method provided by the first aspect of the application comprises the following steps: acquiring target data to be stored; cutting the target data into a plurality of subdata and storing the subdata to a plurality of storage nodes in a storage network database; and storing the storage information of the target data to each node of the storage network database. Compared with the prior art, the data storage method provided by the application abandons the existing highly centralized storage mode, but cuts the target data into a plurality of subdata and stores the subdata into a plurality of storage nodes in the storage network database, and the decentralized storage mode can effectively reduce the possibility that the target data is falsified by a server manager; in addition, the storage information of the target data is stored in each node of the storage network database, so that each node of the storage network database becomes a witness node for verifying the authenticity of the target data, and the traceability and the authenticity of the target data can be ensured because the storage information cannot be easily deleted or tampered; in conclusion, the data storage method provided by the application can effectively improve the safety and traceability of data storage.
The data storage apparatus provided by the second aspect of the present application, the terminal device provided by the third aspect of the present application, and the computer-readable medium provided by the fourth aspect of the present application have the same advantages and are based on the same inventive concept as the data storage method provided by the first aspect of the present application.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a data storage method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a data storage device provided in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a terminal device provided in an embodiment of the present application;
fig. 4 shows a schematic diagram of a computer-readable medium provided in an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in multiple embodiments of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The embodiment of the application provides a traceable data storage method and device, terminal equipment and a computer readable medium. Embodiments of the present application will be described below with reference to the drawings.
Referring to fig. 1, a flowchart of a traceable data storage method provided in an embodiment of the present application is shown, where the data storage method includes the following steps:
step S101: and acquiring target data to be stored.
Step S102: and cutting the target data into a plurality of subdata and storing the subdata to a plurality of storage nodes in a storage network database.
In the embodiment of the present application, the storage network database includes a network database dedicated for storing data, in the storage network database, target data may be stored in any one or more nodes of the storage network database, a node for storing the target data may be temporarily referred to as a storage node, and storage information of the target data may be stored in each node of the storage network database.
The target data may be divided into a plurality of sub-data by any data dividing method in the prior art, which is not limited in the embodiment of the present application.
In some embodiments, the cutting the target data into a plurality of sub-data and storing the sub-data into a plurality of storage nodes in a storage network database may include:
selecting a plurality of storage nodes for storing the target data from a storage network database by adopting a consensus mechanism;
and cutting the target data into a plurality of subdata and storing the subdata into the plurality of storage nodes.
The consensus mechanism can be implemented by using any consensus algorithm in the prior art, and the application is not limited. It should be noted that, in the embodiment of the present application, a plurality of storage nodes used for storing the target data need to be selected, and therefore, when the consensus algorithm is implemented, a plurality of storage nodes need to be selected, for example, for a consensus algorithm using computing power as consensus, a plurality of nodes with the computing power being the first may be determined as the storage nodes, and a person skilled in the art may use an existing consensus algorithm to implement the method directly or after modifying the existing consensus algorithm according to the above description of the embodiment of the present application, and details of the embodiment of the present application are not repeated.
Step S103: and storing the storage information of the target data to each node of the storage network database.
In some embodiments, the storing the storage information of the target data to each node of the storage network database may include:
generating storage information of the target data;
generating a data packet according to the storage information;
and storing the data packet to each node of the storage network database.
The above embodiments can be implemented by using a data processing technology, for example, generating a packet according to the storage information, where the packet may be a packet included in link information of other packets, so as to link the packets to form a set of packets, and ensure the non-tamper property and traceability of the storage information after storage.
In some embodiments, the generating the storage information of the target data may include:
generating fingerprint information of the sub data for each of the plurality of sub data;
determining node identifiers of storage nodes of the plurality of subdata;
and generating storage information of the target data according to the data identifier of the target data, the fingerprint information corresponding to each of the plurality of subdata and the node identifier of the storage node.
In some embodiments, the generating fingerprint information of the child data may include:
acquiring a data identifier of the subdata;
generating summary information of the subdata by adopting a message summary algorithm;
and generating fingerprint information of the subdata according to the data identification of the subdata and the summary information.
The fingerprint information of the child data may be generated by using an information digest algorithm, such as an MD5 algorithm, which is not limited in this embodiment of the application. In order to solve the above problems, in the embodiment of the present application, the target data is divided into a plurality of sub-data and then stored in a plurality of storage nodes in a network database, and then the storage information of the target data is stored in a full chain manner, because the size of the fingerprint information can be much smaller than the size of the target data, the size of the storage information can ensure that the storage information is stored in a full chain manner, and because the storage information contains the fingerprint information of each sub-data of the target data, the storage information can be effectively used for identifying the authenticity of the target data, thereby ensuring authenticity and traceability of the target data.
In summary, with the above embodiments, the fingerprint information can be used to implement full-link storage and verification of authenticity of target data with a small data size.
In some embodiments, the generating the data packet according to the storage information may include:
searching a historical storage data packet of the target data in the storage network database according to the data identifier or the abstract information of the target data;
generating abstract information of the historical storage data packet;
and generating a storage data packet according to the storage information and the abstract information of the historical storage data packet.
Through the embodiment, when the storage data packet is generated, the historical storage data packet of the target data is firstly inquired, and then the storage data packet is generated by using the storage information and the abstract information of the historical storage data packet, so that the current version and the historical version of the target data are associated to form the interlinked database, and the retroactive of the modification history of the target data is realized.
In some embodiments, the generating the data packet according to the storage information may include:
searching a data packet corresponding to the last storage event in the storage network database;
generating abstract information of a data packet corresponding to the last storage event;
and generating a storage data packet according to the storage information and the summary information of the data packet corresponding to the last storage event.
According to the above embodiment, when generating the storage data packet, first, the data packet corresponding to the last storage event in the storage network database is queried, and then the storage data packet is generated by using the storage information and the digest information of the data packet corresponding to the last storage event, so that the storage information of each storage event in the storage network database is associated to form a mutually linked database, thereby ensuring the tamper resistance and traceability of the storage information.
In the above, for the exemplary illustration of the data storage method for the payer client or the payee client provided by the embodiment of the present application, compared with the prior art, the data storage method provided by the embodiment of the present application abandons the existing highly centralized storage manner, but cuts the target data into a plurality of sub-data and stores the sub-data into a plurality of storage nodes in the storage network database, and the decentralized storage manner can effectively reduce the possibility that the target data is tampered by the server administrator; in addition, the storage information of the target data is stored in each node of the storage network database, so that each node of the storage network database becomes a witness node for verifying the authenticity of the target data, and the traceability and the authenticity of the target data can be ensured because the storage information cannot be easily deleted or tampered; in conclusion, the data storage method provided by the application can effectively improve the safety and traceability of data storage.
Corresponding to the data storage method for the payer client or the payee client, the application also provides a data storage device. The apparatus may include systems (including distributed systems), software (applications), modules, components, servers, clients, quantum computers, etc. that employ the data storage methods described herein, in combination with any suitable hardware for implementation. Based on the same innovative concept, the device in one embodiment provided by the present application is described in the following embodiment. Because the implementation scheme of the device for solving the problems is similar to that of the method, the implementation of the specific device in the present application can refer to the implementation of the method, and repeated details are not repeated. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Specifically, fig. 2 is a schematic block diagram of an embodiment of a data storage device provided in the present application, and as shown in fig. 2, the data storage device 10 may include:
a target data acquiring module 101, configured to acquire target data to be stored;
the target data storage module 102 is configured to cut the target data into a plurality of sub-data and store the sub-data into a plurality of storage nodes in a storage network database;
a storage information distribution module 103, configured to store the storage information of the target data to each node of the storage network database.
In some variations of the embodiments of the present application, the target data storage module 102 includes:
a storage node determination unit, configured to select, by using a consensus mechanism, a plurality of storage nodes for storing the target data from a storage network database;
and the target data storage unit is used for cutting the target data into a plurality of subdata and storing the subdata into the plurality of storage nodes.
In some variations of the embodiments of the present application, the storage information distribution module 103 includes:
a storage information generating unit configured to generate storage information of the target data;
a data packet generating unit for generating a data packet according to the storage information;
and the data packet storage unit is used for storing the data packet to each node of the storage network database.
In some modifications of the embodiments of the present application, the storage information generating unit includes:
a fingerprint generating subunit, configured to generate, for each of the plurality of sub data, fingerprint information of the sub data;
a node identifier determining subunit, configured to determine a node identifier of a storage node of each of the plurality of sub data;
and the storage information generating subunit is configured to generate storage information of the target data according to the data identifier of the target data, the fingerprint information corresponding to each of the plurality of sub-data, and the node identifier of the storage node.
In some variations of embodiments of the present application, the fingerprint generation subunit includes:
a data identifier obtaining subunit, configured to obtain a data identifier of the sub-data;
the abstract information generating subunit is used for generating the abstract information of the subdata by adopting a message abstract algorithm;
and the fingerprint information generating subunit is used for generating the fingerprint information of the subdata according to the data identifier of the subdata and the summary information.
In some modifications of the embodiments of the present application, the packet generation unit includes:
the historical data query subunit is used for searching a historical storage data packet of the target data in the storage network database according to the data identifier or the abstract information of the target data;
the historical data summarization subunit is used for generating summary information of the historical storage data packet;
and the first data generation subunit is used for generating a storage data packet according to the storage information and the summary information of the historical storage data packet.
In some modifications of the embodiments of the present application, the packet generation unit includes:
the prior storage query subunit is used for searching a data packet corresponding to the last storage event in the storage network database;
the prior storage abstract subunit is used for generating abstract information of the data packet corresponding to the last storage event;
and the first data generation subunit is used for generating a storage data packet according to the storage information and the summary information of the data packet corresponding to the last storage event.
The data storage device 10 provided in the embodiment of the present application has the same beneficial effects as the data storage method provided in the foregoing embodiment of the present application.
In the foregoing embodiments, a data storage method and apparatus are provided, and correspondingly, the present application also provides a terminal device, where the terminal device may be any electronic device with a storage function, and may be used as a node in a storage network database, for example, a server cluster, a desktop computer, a notebook computer, a smart phone, and the like. Referring to fig. 3, fig. 3 is a schematic diagram of a terminal device according to an embodiment of the present disclosure. As shown in fig. 3, the terminal device 20 includes: the system comprises a processor 200, a memory 201, a bus 202 and a communication interface 203, wherein the processor 200, the communication interface 203 and the memory 201 are connected through the bus 202; the memory 201 stores a computer program that can be executed on the processor 200, and the processor 200 executes any data storage method provided by the present application when executing the computer program.
The memory 201 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as a plurality of disk memories. The communication connection between the network element of the system and a plurality of other network elements is realized through a plurality of communication interfaces 203 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 202 can be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 201 is configured to store a program, and the processor 200 executes the program after receiving an execution instruction, and the data storage method disclosed in any of the foregoing embodiments of the present application may be applied to the processor 200, or implemented by the processor 200.
The processor 200 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 200. The Processor 200 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 201, and the processor 200 reads the information in the memory 201 and completes the steps of the method in combination with the hardware thereof.
The terminal device provided by the embodiment of the application and the data storage method provided by the embodiment of the application have the same beneficial effects from the same inventive concept.
Referring to fig. 4, the computer readable storage medium is an optical disc 30, and a computer program (i.e., a program product) is stored on the optical disc, and when the computer program is executed by a processor, the computer program performs the data storage method provided in any of the foregoing embodiments.
It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, or other optical and magnetic storage media, which are not described in detail herein.
The computer-readable storage medium provided by the embodiment of the application and the data storage provided by the embodiment of the application have the same inventive concept and the same beneficial effects.
It should be noted that the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present disclosure, and the present disclosure should be construed as being covered by the claims and the specification.

Claims (5)

1. A method of traceable data storage, comprising:
acquiring target data to be stored;
cutting the target data into a plurality of subdata and storing the subdata to a plurality of storage nodes in a storage network database;
storing the storage information of the target data to each node of the storage network database;
wherein the content of the first and second substances,
the storing the storage information of the target data to each node of the storage network database includes:
generating storage information of the target data;
generating a data packet according to the storage information;
storing the data packets to each node of the storage network database;
wherein the content of the first and second substances,
the storage information of the target data comprises a data identifier of the target data, fingerprint information corresponding to each of a plurality of subdata of the current version of the target data and a node identifier of a storage node;
the generating a data packet according to the storage information includes:
searching a historical storage data packet of the target data in the storage network database according to the data identifier or the summary information of the target data, wherein the historical storage data packet is a storage data packet of a historical version of the target data and comprises a data identifier of the target data, fingerprint information corresponding to each of a plurality of subdata of the historical version of the target data and a node identifier of a storage node;
generating summary information of the historical storage data packet, wherein the data volume of the summary information is smaller than that of the historical storage data packet;
and generating a storage data packet according to the storage information and the abstract information of the historical storage data packet.
2. The method of claim 1, wherein the cutting the target data into a plurality of sub-data and storing the sub-data into a plurality of storage nodes in a storage network database comprises:
selecting a plurality of storage nodes for storing the target data from a storage network database by adopting a consensus mechanism;
and cutting the target data into a plurality of subdata and storing the subdata into the plurality of storage nodes.
3. The method of claim 1, wherein the generating the storage information of the target data comprises:
generating fingerprint information of the sub data for each of the plurality of sub data;
determining node identifiers of storage nodes of the plurality of subdata;
and generating storage information of the target data according to the data identifier of the target data, the fingerprint information corresponding to each of the plurality of subdata and the node identifier of the storage node.
4. The method of claim 3, wherein the generating fingerprint information for the child data comprises:
acquiring a data identifier of the subdata;
generating summary information of the subdata by adopting a message summary algorithm;
and generating fingerprint information of the subdata according to the data identification of the subdata and the summary information.
5. The method of claim 1, wherein generating the data packet according to the stored information comprises:
searching a data packet corresponding to the last storage event in the storage network database;
generating abstract information of a data packet corresponding to the last storage event;
and generating a storage data packet according to the storage information and the summary information of the data packet corresponding to the last storage event.
CN201910269389.2A 2019-04-04 2019-04-04 Traceable data storage method Active CN110209347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910269389.2A CN110209347B (en) 2019-04-04 2019-04-04 Traceable data storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910269389.2A CN110209347B (en) 2019-04-04 2019-04-04 Traceable data storage method

Publications (2)

Publication Number Publication Date
CN110209347A CN110209347A (en) 2019-09-06
CN110209347B true CN110209347B (en) 2020-08-11

Family

ID=67785239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910269389.2A Active CN110209347B (en) 2019-04-04 2019-04-04 Traceable data storage method

Country Status (1)

Country Link
CN (1) CN110209347B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125783B (en) * 2019-12-24 2020-11-24 珠海大横琴科技发展有限公司 Managed data storage method and device, electronic equipment and storage medium
CN111238446B (en) * 2020-01-15 2021-09-28 湖北民族大学 Communication tower inclination monitoring system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563711A (en) * 2018-03-28 2018-09-21 山东昭元信息科技有限公司 A kind of time series data storage method based on timing node
CN108920908A (en) * 2018-06-28 2018-11-30 北京京东尚科信息技术有限公司 Date storage method, device and computer readable storage medium
CN109086140A (en) * 2018-08-21 2018-12-25 上海点融信息科技有限责任公司 The method, apparatus and storage medium of data processing are carried out in block chain
CN109271449A (en) * 2018-09-30 2019-01-25 山东超越数控电子股份有限公司 A kind of distributed storage inquiry system file-based and querying method
CN109284069A (en) * 2018-08-23 2019-01-29 郑州云海信息技术有限公司 A kind of distributed memory system and method for storing Backup Data

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10082985B2 (en) * 2015-03-27 2018-09-25 Pure Storage, Inc. Data striping across storage nodes that are assigned to multiple logical arrays
US9785369B1 (en) * 2016-05-23 2017-10-10 Accenture Global Solutions Limited Multiple-link blockchain
CN106534273B (en) * 2016-10-31 2022-04-15 中金云金融(北京)大数据科技股份有限公司 Block chain metadata storage system and storage method and retrieval method thereof
CN107395587B (en) * 2017-07-18 2020-01-03 北京微星优财网络科技有限公司 Data management method and system based on multipoint cooperation mechanism
CN107577427B (en) * 2017-08-31 2019-12-13 上海保险交易所股份有限公司 data migration method, device and storage medium for blockchain system
CN108062202A (en) * 2017-12-15 2018-05-22 中链科技有限公司 A kind of file block storage method and system
CN109324757B (en) * 2018-08-22 2021-05-21 深圳前海微众银行股份有限公司 Block chain data capacity reduction method and device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563711A (en) * 2018-03-28 2018-09-21 山东昭元信息科技有限公司 A kind of time series data storage method based on timing node
CN108920908A (en) * 2018-06-28 2018-11-30 北京京东尚科信息技术有限公司 Date storage method, device and computer readable storage medium
CN109086140A (en) * 2018-08-21 2018-12-25 上海点融信息科技有限责任公司 The method, apparatus and storage medium of data processing are carried out in block chain
CN109284069A (en) * 2018-08-23 2019-01-29 郑州云海信息技术有限公司 A kind of distributed memory system and method for storing Backup Data
CN109271449A (en) * 2018-09-30 2019-01-25 山东超越数控电子股份有限公司 A kind of distributed storage inquiry system file-based and querying method

Also Published As

Publication number Publication date
CN110209347A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN107395659B (en) Method and device for service acceptance and consensus
CN109040341B (en) Intelligent contract address generation method and device, computer equipment and readable storage medium
CN109831487B (en) Fragmented file verification method and terminal equipment
JP6804668B2 (en) Block data validation method and equipment
CN109889505B (en) Data consistency verification method and terminal equipment
US11303626B2 (en) Secure token passing via hash chains
US20180323974A1 (en) Optimal data storage configuration in a blockchain
US11171774B2 (en) System for synchronizing a cryptographic key state through a blockchain
CN110543448A (en) data synchronization method, device, equipment and computer readable storage medium
CN109032803B (en) Data processing method and device and client
US10637666B1 (en) Migrating data for decentralized applications between disparate backend storage providers
CN110209347B (en) Traceable data storage method
CN112001376B (en) Fingerprint identification method, device, equipment and storage medium based on open source component
CN111367923A (en) Data processing method, data processing device, node equipment and storage medium
CN113542405B (en) Block chain-based network communication system, method, equipment and storage medium
WO2022116761A1 (en) Self auditing blockchain
WO2021012732A1 (en) Blockchain-based information verification apparatus and method, and storage medium
CN110209727B (en) Data storage method, terminal equipment and medium
CN113051622B (en) Index construction method, device, equipment and storage medium
CN112862245B (en) Data exchange method and device and electronic equipment
CN111767481B (en) Access processing method, device, equipment and storage medium
CN110321384B (en) Block chain-based data recording method and device and electronic equipment
CN112650715A (en) Method, device and related product for storing data in block chain system
CN110209679B (en) data storage method and terminal equipment for improving access efficiency
US10262310B1 (en) Generating a verifiable download code

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant