WO2021008113A1 - 基于区块链的数据存证方法、数据校验方法及相关装置 - Google Patents

基于区块链的数据存证方法、数据校验方法及相关装置 Download PDF

Info

Publication number
WO2021008113A1
WO2021008113A1 PCT/CN2020/071672 CN2020071672W WO2021008113A1 WO 2021008113 A1 WO2021008113 A1 WO 2021008113A1 CN 2020071672 W CN2020071672 W CN 2020071672W WO 2021008113 A1 WO2021008113 A1 WO 2021008113A1
Authority
WO
WIPO (PCT)
Prior art keywords
target file
chain
data
encrypted data
information
Prior art date
Application number
PCT/CN2020/071672
Other languages
English (en)
French (fr)
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 US16/848,503 priority Critical patent/US11088828B2/en
Publication of WO2021008113A1 publication Critical patent/WO2021008113A1/zh
Priority to US17/392,871 priority patent/US11563560B2/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/602Providing cryptographic facilities or services
    • 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/6272Protecting 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 by registering files or documents with a third party

Definitions

  • the embodiments of the present application relate to the field of data processing technology, and in particular, to a blockchain-based data storage method, data verification method, and related devices.
  • the current data storage method is that the service user uploads the irreversibly encrypted data of the file to the blockchain for recording. After the recording is successful, the blockchain will feedback the on-chain certificate information of the irreversibly encrypted data to the service user.
  • the irreversibly encrypted data is calculated based on the data content of the file. Once the data content of the file changes, the calculated irreversibly encrypted data will also change accordingly. Therefore, the subsequent service user can retrieve the irreversibly encrypted data calculated from the original data content of the file from the blockchain based on the on-chain deposit information to verify the current data content of the file.
  • the service user separately keeps the on-chain certification information.
  • the service user needs to build a mapping relationship between the file and the on-chain certification information, and once the file needs to be transferred, It is necessary to consider how to process the on-chain credential information; on the other hand, when verifying the data content of the file, the corresponding on-chain credential information needs to be matched and found. This process is relatively cumbersome, and if the document Information is not stored in the same physical storage medium, which can also cause unnecessary trouble.
  • how to implement data storage certification services and data verification services more conveniently is currently an urgent technical problem to be solved.
  • the purpose of the embodiments of the present application is to provide a blockchain-based data storage method, data verification method, and related devices, which can implement data storage verification services and data verification services more conveniently.
  • the first aspect provides a data storage method based on blockchain, including:
  • a data verification method based on blockchain including:
  • the data content of the target file is verified; wherein the data content of the target file does not include the on-chain attestation information.
  • a data storage device for blockchain including:
  • the encryption module performs irreversible encryption processing on the data content of the target file to obtain the irreversibly encrypted data of the target file;
  • the on-chain module initiates an on-chain operation on the irreversibly encrypted data, so as to store the irreversibly encrypted data in the attestation blockchain, and obtain the on-chain attestation information of the irreversibly encrypted data;
  • An implantation module to implant the on-chain certificate information into the target file
  • the storage module stores the target file embedded with the on-chain certification information.
  • an electronic device including: a memory, a processor, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor:
  • a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
  • a data verification device based on blockchain including:
  • the parsing module when preparing to verify the data content of the target file, obtains the on-chain certification information embedded in the target file in advance;
  • the forensic module based on the on-chain certificate information, obtains the irreversibly encrypted data of the target file recorded in the certificate blockchain;
  • the verification module verifies the data content of the target file based on the irreversibly encrypted data; wherein, the data content of the target file does not include the on-chain attestation information.
  • an electronic device including: a memory, a processor, and a computer program stored on the memory and capable of being run on the processor, the computer program being executed by the processor:
  • the data content of the target file is verified; wherein the data content of the target file does not include the on-chain attestation information.
  • a computer-readable storage medium is provided, and a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, the following steps are implemented:
  • the data content of the target file is verified; wherein the data content of the target file does not include the on-chain attestation information.
  • the upload certificate information of the irreversibly encrypted data is implanted into the target file, so that the upload certificate information is kept together with the target file.
  • it reduces the difficulty of maintaining the on-chain certificate information and is not easy to lose; on the other hand, when the data content of the target file needs to be verified by the on-chain certificate information, it can be directly extracted from the target file , which greatly improves the convenience of operation.
  • FIG. 1 is a schematic flowchart of a data storage method provided by an embodiment of the application.
  • FIG. 2 is a schematic flowchart of a data verification method provided by an embodiment of the application.
  • Figure 3 is a schematic structural diagram of a data storage device provided by an embodiment of the application.
  • FIG. 4 is a schematic structural diagram of a data verification device provided by an embodiment of the application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • the service user separately keeps the on-chain certification information.
  • the user needs to construct the mapping relationship between the file and the on-chain certificate information, and once the file needs to be transferred, how to process the on-chain certificate information must be considered; on the other hand, when verifying the data content of the file, matching and searching are required
  • the process of getting the corresponding on-chain credential information is relatively cumbersome, and if the file and the on-chain credential information are not stored in the same physical storage medium, it will cause unnecessary trouble.
  • this application aims to provide a more convenient technical solution for realizing data storage and verification services.
  • Figure 1 is a flowchart of a blockchain-based data storage method according to an embodiment of the present application. The method shown in Figure 1 can be executed by the following corresponding devices, including:
  • Step S102 Perform irreversible encryption processing on the data content of the target file to obtain irreversibly encrypted data of the target file.
  • the embodiment of the present application does not specifically limit the method of irreversible encryption processing.
  • the data content of the target file can be hashed based on the hash algorithm (such as message digest algorithm, cyclic redundancy check, etc.) to obtain the summary information of the target file, which can be used as the irreversible encryption of the target file data.
  • the hash algorithm such as message digest algorithm, cyclic redundancy check, etc.
  • Step S104 Initiate an on-chain operation on the irreversibly encrypted data, so as to store the irreversibly encrypted data in the attestation blockchain, and obtain the on-chain attestation information of the irreversibly encrypted data.
  • the transaction carrying irreversibly encrypted data can be submitted to the attestation block chain through the block link port, so that the attestation block chain records the irreversible encryption according to the existing process of uploading the data in the transaction. data.
  • Step S106 embed the on-chain certificate information into the target file.
  • the embodiment of the present application does not specifically limit the method of implanting the on-chain deposit information.
  • the on-chain certificate information can be converted into a digital watermark.
  • the digital watermark of the on-chain certificate information is implanted into the target file.
  • Step S108 storing the target file with the on-chain certificate information implanted.
  • the method of the embodiment of the present application utilizes the distributed data storage technology of blockchain decentralization, loss prevention, and tamper resistance to realize the recording and query of irreversibly encrypted data of the target file.
  • the on-chain certification information is implanted into the target file based on the watermark implantation technology, so that the on-chain certification information can accompany the target file for unified storage.
  • the watermark is not easy to detect, so the implanted irreversibly encrypted data will not affect the normal use of the original carrier target file, and it is also not easy to be detected and destroyed by others.
  • the main process of applying the embodiment method includes:
  • Step 1 When the service user needs to store the target file, it hashes the data content of the target file based on the irreversible hash algorithm to obtain the summary information of the target file (ie, irreversibly encrypted data).
  • Step 2 The service user submits the transaction carrying the summary information to the deposit certificate block chain through the block link port, and obtains the deposit certificate information of the summary information on the chain.
  • the on-chain deposit certificate information may include the block identifier of the block in the deposit certificate blockchain where the irreversibly encrypted data is stored. It should be understood that the service user can find the corresponding block from the attestation blockchain based on the block identifier, so as to extract the irreversibly encrypted data of the deblocking record.
  • Step 3 After obtaining the on-chain certificate information, the service user generates a digital watermark of the on-chain certificate information, and implants the digital watermark of the on-chain certificate information into the target file based on the watermark implantation technology.
  • the digital watermark can be embedded into the target file in an implicit manner.
  • the presentation content of the target file on the digital device may be divided into blocks to obtain at least one content block.
  • the discrete cosine transform (DCT, DCT for Discrete Cosine Transform) calculation is performed on the content blocks to obtain the frequency coefficients corresponding to each content block.
  • the frequency coefficient can reflect the energy of the content block in the presentation interface.
  • the human eye is more sensitive to the low frequency part than to the high frequency part. If the digital watermark is embedded in the low frequency part, it is easy to be noticed, and it affects the normal display of the target file.
  • the digital watermark in order to realize the imperceptibility of the digital watermark, it is necessary to split the digital watermark into the content block with a larger frequency coefficient. For example, split the digital watermark into content blocks whose frequency coefficient is greater than a preset standard; or, sort the digital watermark into the content blocks whose frequency coefficients are from largest to smallest. in.
  • this step can also adopt an explicit way to embed the digital watermark into the target file.
  • the target file is presented in a layered manner on a digital device.
  • the digital watermark can be implanted in other display layers above the display layer of the original content of the target file.
  • Step 4 The service consumer stores the target file with the on-chain certificate information implanted.
  • Fig. 2 is a flowchart of a blockchain-based data verification method according to an embodiment of the present application. The method shown in Figure 2 can be executed by the following corresponding devices, including:
  • Step S202 when preparing to verify the data content of the target file, obtain the on-chain certificate information pre-embedded in the target file.
  • Step S204 Obtain irreversibly encrypted data of the target file recorded in the deposit certificate blockchain based on the upload certificate information.
  • the on-chain deposit information can be submitted to the deposit certificate blockchain through the block link port to obtain the irreversibly encrypted data of the target file previously recorded in the deposit certificate blockchain.
  • Step S206 the data content of the target file is verified based on the irreversibly encrypted data; wherein the data content of the target file does not include the on-chain certificate information.
  • the data content of the target file is irreversibly encrypted to obtain the locally generated irreversibly encrypted data of the target file, and then the locally generated irreversibly encrypted data is compared with the irreversibly encrypted data obtained from the attestation blockchain . If the two are consistent, the verification is passed; if the two are not consistent, the verification fails.
  • the target file is embedded with the on-chain deposit information of the irreversibly encrypted data calculated based on its data content.
  • the on-chain certificate information can be directly parsed from the target file, and the irreversible information used for verification can be transferred to the certificate blockchain according to the on-chain certificate information. Encrypt data. Because the operation is more convenient, the program has higher practical value.
  • the trusted deposit application programming interface can be called through the personal device to hash the data content of the target file based on the trusted deposit application. Get the original summary information TxHash of the target file.
  • the user uses a personal device to access the block link port of the deposit certificate blockchain and submit a transaction carrying TxHash to the deposit certificate blockchain.
  • the deposit certificate blockchain triggers a pre-deployed smart contract, initiates the chaining process for the TxHash in the transaction, and after the TxHash is successfully connected to the chain, the corresponding chain deposit information is fed back to the user's personal device.
  • the user uses his personal device to convert the on-chain certification information fed back by the certification blockchain into a digital watermark, and implant it into the target file for unified storage. It should be understood that the normal editing of the data content of the target file will not cause changes to the embedded on-chain deposit information.
  • the target file can be sent to the verification platform through a personal device, and the verification platform is responsible for verification (the verification process can also be performed on the user's personal device side, this article No more examples).
  • the verification platform After receiving the target file, the verification platform parses the target file and extracts the on-chain certificate information in the target file. After that, the verification platform submits the parsed on-chain deposit information to the deposit certificate blockchain through the block link port, so as to retrieve the TxHash recorded in the deposit certificate blockchain.
  • the verification platform will also perform a hash calculation on the current data content of the target file to obtain the current summary information TxHash* of the target file.
  • the verification platform After obtaining TxHash and TxHash*, the verification platform compares TxHash and TxHash*. If the two are consistent, the verification passes; if the two are inconsistent, the verification fails.
  • the verification platform feeds back the verification result of the target file to the user's personal device.
  • an embodiment of the present application also provides a blockchain-based data storage device 300, including:
  • the encryption module 310 performs irreversible encryption processing on the data content of the target file to obtain irreversibly encrypted data of the target file;
  • the on-chain module 320 initiates an on-chain operation on the irreversibly encrypted data, so as to store the irreversibly encrypted data in the attestation blockchain, and obtain the on-chain attestation information of the irreversibly encrypted data;
  • the implantation module 330 implants the on-chain certificate information into the target file
  • the storage module 340 stores the target file implanted with the on-chain certification information.
  • the up-chain module 320 when executed, it specifically submits the transaction carrying the irreversibly encrypted data to the deposit certificate blockchain through the block link port.
  • the on-chain attestation information includes a block identifier of a block in the attestation blockchain where the irreversibly encrypted data is stored.
  • the encryption module 310 performs a hash calculation on the data content of the target file based on an irreversible hash algorithm to obtain the file hash of the target file.
  • the irreversibly encrypted data includes the file hash. hope.
  • the implant module 330 when executed, it specifically generates a digital watermark of the on-chain certificate information. Then, based on the watermark implantation technology, the digital watermark of the on-chain certificate information is implanted into the presentation content of the target file on the digital device.
  • the data storage certification device of the embodiment of the present application can be used as the execution subject of the data storage method shown in FIG. 1, so the data storage device can realize the functions implemented by the data storage method in FIG. Since the principle is the same, this article will not repeat them.
  • an embodiment of the present application further provides a blockchain-based data verification device 400, including:
  • the parsing module 410 when preparing to verify the data content of the target file, obtains the on-chain certification information pre-embedded in the target file;
  • the forensic module 420 based on the on-chain certification information, obtains the irreversibly encrypted data of the target file recorded in the certification blockchain;
  • the verification module 430 verifies the data content of the target file based on the irreversibly encrypted data; wherein, the data content of the target file does not include the on-chain attestation information.
  • the data verification device of the embodiment of the present application can be used as the execution body of the data verification method shown in FIG. 2 above, so the data verification device can realize the functions of the data verification method in FIG. 2. Since the principle is the same, this article will not repeat it.
  • Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the electronic device includes a processor, and optionally an internal bus, a network interface, and a memory.
  • the memory may include memory, such as high-speed random access memory (Random-Access Memory, RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.
  • RAM random access memory
  • non-volatile memory such as at least one disk storage.
  • the electronic device may also include hardware required for other services.
  • the processor, network interface, and memory can be connected to each other through an internal bus.
  • the internal bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnection standard) bus or an EISA (Extended) bus. Industry Standard Architecture, extended industry standard structure) bus, etc.
  • the bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one bidirectional arrow is used to indicate in FIG. 5, but it does not mean that there is only one bus or one type of bus.
  • the program may include program code, and the program code includes computer operation instructions.
  • the memory may include memory and non-volatile memory, and provide instructions and data to the processor.
  • the processor reads the corresponding computer program from the non-volatile memory to the memory and then runs, forming a data storage device on the logical level.
  • the processor executes the program stored in the memory, and is specifically used to perform the following operations:
  • An on-chain operation is initiated on the irreversibly encrypted data to store the irreversibly encrypted data in the attestation blockchain, and to obtain the on-chain attestation information of the irreversibly encrypted data.
  • the processor reads the corresponding computer program from the non-volatile memory to the memory and then runs it to form a data verification device on a logical level.
  • the processor executes the program stored in the memory, and is specifically used to perform the following operations:
  • the data content of the target file is verified; wherein the data content of the target file does not include the on-chain attestation information.
  • the above-mentioned data storage method disclosed in the embodiment shown in FIG. 1 of this application, or the above-mentioned data verification method disclosed in the embodiment shown in FIG. 2 of this application may be applied to a processor or implemented by a processor.
  • the processor may be an integrated circuit chip with signal processing capabilities.
  • the steps of the above method can be completed by hardware integrated logic circuits in the processor or instructions in the form of software.
  • the above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (DSP), a dedicated Circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • the electronic equipment of this application does not exclude other implementations, such as logic devices or a combination of software and hardware, etc. That is to say, the execution body of the following processing flow is not limited to each logic unit. It can also be a hardware or logic device.
  • embodiments of the present application also propose a computer-readable storage medium that stores one or more programs, and the one or more programs include instructions.
  • the portable electronic device when the instruction is executed by a portable electronic device including multiple application programs, the portable electronic device can execute the method of the embodiment shown in FIG. 1, and is specifically used to execute the following method:
  • the instruction when executed by a portable electronic device including multiple application programs, it can cause the portable electronic device to execute the method of the embodiment shown in FIG. 2, and is specifically used to execute the following method:
  • the data content of the target file is verified; wherein the data content of the target file does not include the on-chain attestation information.
  • the above-mentioned data storage device can realize the functions of the embodiment shown in FIG. 1, or can enable the above-mentioned data
  • the teaching and research device realizes the functions of the embodiment shown in FIG. 2. Since the principle is the same, this article will not repeat them.
  • this specification can be provided as methods, systems or computer program products. Therefore, this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Storage Device Security (AREA)

Abstract

本申请实施例提供一种基于区块链的数据存证方法、数据校验方法及相关装置。数据存证方法包括:对目标文件的数据内容进行不可逆加密处理,得到目标文件的不可逆加密数据;对不可逆加密数据发起上链操作,以将不可逆加密数据存储到存证区块链,并得到不可逆加密数据的上链存证信息;将上链存证信息植入至所述目标文件并存储。数据校验方法包括:在准备对目标文件的数据内容进行校验时,获取预先植入在目标文件的上链存证信息;基于上链存证信息,获取存证区块链中记录的目标文件的不可逆加密数据;基于不可逆加密数据,对目标文件的数据内容进行校验;其中,目标文件的数据内容不包含上链存证信息。

Description

基于区块链的数据存证方法、数据校验方法及相关装置 技术领域
本申请实施例涉及数据处理技术领域,尤其涉及一种基于区块链的数据存证方法、数据校验方法及相关装置。
背景技术
随着区块链技术的发展,基于区块链实现的应用也越来越多,其中就包括数据存证服务。目前的数据存证方法是服务使用端将文件的不可逆加密数据上传至区块链中以进行记录。在记录成功后,区块链会向服务使用端反馈不可逆加密数据的上链存证信息。这里,不可逆加密数据是基于文件的数据内容所计算得到的,文件的数据内容一旦发生改变,则计算出的不可逆加密数据也会随之改变。因此,后续服务使用端可以基于上链存证信息从区块链中调取出由文件原始数据内容所计算得的不可逆加密数据,以对文件当前数据内容进行校验。
现有技术中,服务使用端是单独对上链存证信息进行保管的,一方面,不易于维护,比如服务使用端需要构建文件与上链存证信息的映射关系,且文件一旦需要转移,必须考虑到上链凭证信息如何进行处理;另一方面,在对文件的数据内容进行校验时,需要匹配查找到相应的上链凭证信息,这个过程较为繁琐,且如果文件和上链存证信息不在同一个物理存储介质中保存,还会带来不必要的麻烦。有鉴于此,如何更加便捷地实现数据存证服务以及数据校验服务,是当前亟待解决的技术问题。
发明内容
本申请实施例目的是提供一种基于区块链的数据存证方法、数据校验方法及相关装置,能够更加便捷地实现数据存证服务以及数据校验服务。
为了实现上述目的,本申请实施例是这样实现的:
第一方面,提供一种基于区块链的数据存证方法,包括:
对目标文件的数据内容进行不可逆加密处理,得到所述目标文件的不可逆加密数据;
对所述不可逆加密数据发起上链操作,以将所述不可逆加密数据存储到存证区块链,并得到所述不可逆加密数据的上链存证信息;
将所述上链存证信息植入至所述目标文件;
存储植入有所述上链存证信息的目标文件。
第二方面,提供一种基于区块链的数据校验方法,包括:
在准备对目标文件的数据内容进行校验时,获取预先植入在所述目标文件的上链存证信息;
基于所述上链存证信息,获取存证区块链中记录的所述目标文件的不可逆加密数据;
基于所述不可逆加密数据,对所述目标文件的数据内容进行校验;其中,所述目标文件的数据内容不包含所述上链存证信息。
第三方面,提供一种区块链的数据存证装置,包括:
加密模块,对目标文件的数据内容进行不可逆加密处理,得到所述目标文件的不可逆加密数据;
上链模块,对所述不可逆加密数据发起上链操作,以将所述不可逆加密数据存储到存证区块链,并得到所述不可逆加密数据的上链存证信息;
植入模块,将所述上链存证信息植入至所述目标文件;
存储模块,存储植入有所述上链存证信息的目标文件。
第四方面,提供一种电子设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行:
对目标文件的数据内容进行不可逆加密处理,得到所述目标文件的不可逆加密数据;
对所述不可逆加密数据发起上链操作,以将所述不可逆加密数据存储到存证区块链,并得到所述不可逆加密数据的上链存证信息;
将所述上链存证信息植入至所述目标文件;
存储植入有所述上链存证信息的目标文件。
第五方面,提供一种算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:
对目标文件的数据内容进行不可逆加密处理,得到所述目标文件的不可逆加密数据;
对所述不可逆加密数据发起上链操作,以将所述不可逆加密数据存储到存证区块链, 并得到所述不可逆加密数据的上链存证信息;
将所述上链存证信息植入至所述目标文件;
存储植入有所述上链存证信息的目标文件。
第六方面,提供一种基于区块链的数据校验装置,包括:
解析模块,在准备对目标文件的数据内容进行校验时,获取预先植入在所述目标文件的上链存证信息;
取证模块,基于所述上链存证信息,获取存证区块链中记录的所述目标文件的不可逆加密数据;
校验模块,基于所述不可逆加密数据,对所述目标文件的数据内容进行校验;其中,所述目标文件的数据内容不包含所述上链存证信息。
第七方面,提供一种电子设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行:
在准备对目标文件的数据内容进行校验时,获取预先植入在所述目标文件的上链存证信息;
基于所述上链存证信息,获取存证区块链中记录的所述目标文件的不可逆加密数据;
基于所述不可逆加密数据,对所述目标文件的数据内容进行校验;其中,所述目标文件的数据内容不包含所述上链存证信息。
第八方面,提供一种算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:
在准备对目标文件的数据内容进行校验时,获取预先植入在所述目标文件的上链存证信息;
基于所述上链存证信息,获取存证区块链中记录的所述目标文件的不可逆加密数据;
基于所述不可逆加密数据,对所述目标文件的数据内容进行校验;其中,所述目标文件的数据内容不包含所述上链存证信息。
本申请实施例的方案在对目标文件不可逆加密数据进行上链后,将该不可逆加密数据的上链存证信息植入至目标文件中,从而使得上链存证信息伴随目标文件被一起保管。一方面,降低了上链存证信息的维护难度,且不易发生丢失;另一方面,在需要使用上 链存证信息对目标文件的数据内容进行校验时,可直接从目标文件中提取获得,极大提高了操作的便捷性。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请实施例中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的数据存证方法的流程示意图。
图2为本申请实施例提供的数据校验方法的流程示意图。
图3为本申请实施例提供的数据存证装置的结构示意图。
图4为本申请实施例提供的数据校验装置的结构示意图。
图5为本申请实施例提供的电子设备的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
如前所述,现有的基于区块链实现数据存证的方案中,服务使用端是单独对上链存证信息进行保管的,一方面,不易对上链存证信息进行维护,比如服务使用端需要构建文件与上链存证信息的映射关系,且文件一旦需要转移,必须考虑到上链凭证信息如何进行处理;另一方面,在对文件的数据内容进行校验时,需要匹配查找到相应的上链凭证信息,这个过程较为繁琐,且如果文件和上链存证信息不在同一个物理存储介质中保存,还会带来不必要的麻烦。
针对上述问题,本申请旨在提供一种更加便捷地实现数据存证服务以及数据校验服务的技术方案。
图1是本申请实施例基于区块链的数据存证方法的流程图。图1所示的方法可以由下文相对应的装置执行,包括:
步骤S102,对目标文件的数据内容进行不可逆加密处理,得到目标文件的不可逆加密数据。
其中,本申请实施例对不可逆加密处理的方法不作具体限定。
作为示例性介绍:
本步骤可以基于哈希算法(如消息摘要算法、循环冗余校验等),对目标文件的数据内容进行哈希计算,得到目标文件的摘要信息,该摘要信息即可作为目标文件的不可逆加密数据。
步骤S104,对不可逆加密数据发起上链操作,以将不可逆加密数据存储到存证区块链中,并得到不可逆加密数据的上链存证信息。
具体地,本步骤可以通过区块链接口将携带有不可逆加密数据的交易提交到存证区块链中,使得存证区块链按照已有的对交易中数据的上链流程,记录不可逆加密数据。
步骤S106,将上链存证信息植入至目标文件。
其中,本申请实施例对上链存证信息的植入方法不作具体限定。
作为示例性介绍:
本步骤可以将上链存证信息转换为数字水印。之后,基于水印植入技术,将上链存证信息的数字水印植入至目标文件。
步骤S108,存储植入有上链存证信息的目标文件。
应理解,上链存证信息会一直伴随目标文件,不会因目标文件的正常使用时,发生改动或破坏。
基于图1所示的数据存证方法可以知道,本申请实施例的方案在对目标文件不可逆加密数据进行上链后,将该不可逆加密数据的上链存证信息植入至目标文件中,从而使得上链存证信息伴随目标文件被一起保管。一方面,降低了上链存证信息的维护难度,且不易发生丢失;另一方面,在需要使用上链存证信息对目标文件的数据内容进行校验时,可直接从目标文件中提取获得,极大提高了操作的便捷性。
下面对申请实施例的方法进行详细介绍。
具体地,本申请实施例的方法利用区块链去中心化、防丢失、防篡改的分布式数据存储技术,实现对目标文件的不可逆加密数据的记录和查询。在不可逆加密数据成功上链后,基于水印植入技术将上链存证信息植入至目标文件,使得上链存证信息可以伴随目标文件以被统一保管。水印具有不易于探知的特点,因此植入的不可逆加密数据不会影响原载体目标文件的正常使用,此外也不易被他人察觉而遭到破坏。
其中,申请实施例方法的主要流程包括:
步骤一,服务使用端在需要对目标文件进行存证时,基于不可逆的哈希算法,对目标文件的数据内容进行哈希计算,得到目标文件的摘要信息(即不可逆加密数据)。
步骤二,服务使用端通过区块链接口,将携带有摘要信息的交易提交到存证区块链中,并得到摘要信息的上链存证信息。
其中,上链存证信息可以包括存证区块链中存储有该不可逆加密数据的区块的区块标识。应理解,服务使用端可以基于区块标识,从存证区块链中找到出相对应的区块,从而提取该去区块记录的不可逆加密数据。
步骤三,服务使用端在获得上链存证信息后,生成上链存证信息的数字水印,并将基于水印植入技术,将上链存证信息的数字水印植入至目标文件中。
其中,本步骤可以采用隐性方式将数字水印植入至目标文件中。作为示例性介绍:可以先对目标文件在数字设备上的呈现内容进行分块处理,得到至少一个内容分块。之后,对内容分块进行离散余弦变化(DCT,DCT for Discrete Cosine Transform)的计算,得到各内容分块对应的频率系数。其中,频率系数可以反映内容分块在呈现界面中的能量。人眼对低频部分比对高频部分更加敏感,数字水印若植入到低频部分则易于被察觉,且影响了目标文件的正常显示。因此,为了实现数字水印的不易感知性,需要将数字水印拆分植入至频率系数较大的内容分块中。比如,将数字水印拆分植入至频率系数大于预设标准的内容分块中;或者,按照频率系数由大到小的排序,将数字水印拆分植入至前预设比例的内容分块中。
此外,本步骤也可以采用显性方式将数字水印植入至目标文件中。作为示例性介绍:目标文件在数字设备上以分层方式进行呈现,本步骤可以将数字水印植入至目标文件原本内容的显示图层上方的其他显示图层中。
步骤四,服务使用端存储植入有上链存证信息的目标文件。
应理解,上链存证信息会一直伴随目标文件,因此服务使用端不需要在额外配置目 标文件与上链存证信息的映射关系,且后续如果需要对目标文件进行转移,也不用再考虑上链存证信息如何处理,使得维护变得更加简单,具有较高的实用性。
图2是本申请实施例基于区块链的数据校验方法的流程图。图2所示的方法可以由下文相对应的装置执行,包括:
步骤S202,在准备对目标文件的数据内容进行校验时,获取预先植入在目标文件的上链存证信息。
步骤S204,基于上链存证信息,获取存证区块链中记录的目标文件的不可逆加密数据。
在本步骤中,可以通过区块链接口向存证区块链提交上链存证信息,以获得之前在存证区块链中记录的目标文件的不可逆加密数据。
步骤S206,基于不可逆加密数据,对目标文件的数据内容进行校验;其中,目标文件的数据内容不包含上链存证信息。
在本步骤中,对目标文件的数据内容进行不可逆加密处理,得到本地生成的目标文件的不可逆加密数据,之后将本地生成的不可逆加密数据与从存证区块链中获取的不可逆加密数据进行对比。如果两者一致,则校验通过,如果两者一不致,则校验失败。
基于图2所示的数据校验方法可以知道,本申请实施例的方案中,目标文件植入有基于其数据内容所计算得到的不可逆加密数据的上链存证信息。在需要对目标文件的数据内容进行校验时,可以直接从目标文件中解析得到该上链存证信息,并根据上链存证信息向存证区块链调取出用于校验的不可逆加密数据。由于操作更加便捷,因此方案具有较高的实用价值。
下个以结合实际的应用场景,对上述数据存证方法和数据校验方法进行详细介绍。
在本应用场景中,假设用户需要将目标文件进行存证,可以通过个人设备调用可信存证的应用程序编程接口,以基于可信存证应用,对目标文件的数据内容进行哈希计算,得到目标文件原始的摘要信息TxHash。
之后,用户使用个人设备接入存证区块链的区块链接口以,向存证区块链提交携带有TxHash的交易。
存证区块链基于上述交易,触发预先部署的智能合约,对交易中的TxHash发起上链流程,并在TxHash成功上链后,将对应的上链存证信息反馈给用户的个人设备。
之后,用户通过个人设备,将存证区块链反馈的上链存证信息转换为数字水印,并植入至目标文件中以进行统一保管。应理解,对目标文件的数据内容的正常编辑,不会对植入的上链存证信息产生变化。
假设后续用户希望对目标文件的数据内容进行校验,则可以通过个人设备将目标文件发送至校验平台,由校验平台负责进行校验(检验过程也可以在用户的个人设备侧执行,本文不再举例赘述)。
校验平台在接收到目标文件后面,对目标文件进行解析,提取目标文件中的上链存证信息。之后,校验平台通过区块链接口向存证区块链提交解析获得的上链存证信息,从而调取存证区块链中记录的TxHash。
同时,校验平台还会对目标文件当前的数据内容进行哈希计算,得到目标文件当前的摘要信息TxHash*。
在获得TxHash和TxHash*后,校验平台对TxHash和TxHash*进行比对,如果两者一致,则校验通过;如果两者不一致,则校验失败。
之后,校验平台将目标文件的校验结果反馈至用户的个人设备。
以上是对本申请实施例的方法的介绍。应理解,在不脱离本文上述原理基础之上,还可以进行适当的变化,这些变化也应视为本申请实施例的保护范围。
与上述数据存证方法相对应地,如图3所示,本申请实施例还提供一种基于区块链的数据存证装置300,包括:
加密模块310,对目标文件的数据内容进行不可逆加密处理,得到所述目标文件的不可逆加密数据;
上链模块320,对所述不可逆加密数据发起上链操作,以将所述不可逆加密数据存储到存证区块链中,并得到所述不可逆加密数据的上链存证信息;
植入模块330,将所述上链存证信息植入至所述目标文件;
存储模块340,存储植入有所述上链存证信息的目标文件。
基于图3所示的数据存证装置可以知道,本申请实施例的方案在对目标文件不可逆加密数据进行上链后,将该不可逆加密数据的上链存证信息植入至目标文件中,从而使得上链存证信息伴随目标文件被一起保管。一方面,降低了上链存证信息的维护难度,且不易发生丢失;另一方面,在需要使用上链存证信息对目标文件的数据内容进行 校验时,可直接从目标文件中提取获得,极大提高了操作的便捷性。
可选地,上链模块320在执行时,具体通过区块链接口将携带有所述不可逆加密数据的交易提交到存证区块链中。
可选地,所述上链存证信息包括所述存证区块链中存储有所述不可逆加密数据的区块的区块标识。
可选地,加密模块310在执行时,具体基于不可逆的哈希算法,对目标文件的数据内容进行哈希计算,得到所述目标文件的文件哈希,所述不可逆加密数据包括所述文件哈希。
可选地,植入模块330在执行时,具体生成所述上链存证信息的数字水印。之后基于水印植入技术,将所述上链存证信息的数字水印植入至所述目标文件在数字设备上的呈现内容中。
显然,本申请实施例的数据存证装置可以作为上述图1所示的数据存证方法的执行主体,因此该数据存证装置能够实现数据存证方法在图1所实现的功能。由于原理相同,本文不再赘述。
与上述数据校验方法相对应地,如图4所示,本申请实施例还提供一种基于区块链的数据校验装置400,包括:
解析模块410,在准备对目标文件的数据内容进行校验时,获取预先植入在所述目标文件的上链存证信息;
取证模块420,基于所述上链存证信息,获取存证区块链中记录的所述目标文件的不可逆加密数据;
校验模块430,基于所述不可逆加密数据,对所述目标文件的数据内容进行校验;其中,所述目标文件的数据内容不包含所述上链存证信息。
基于图4所示的数据校验装置可以知道,本申请实施例的方案在需要对目标文件的数据内容进行校验时,可以直接从目标文件中解析出上链存证信息,并根据上链存证信息向存证区块链调取出用于校验的不可逆加密数据。由于操作更加便捷,因此方案具有较高的实用价值。
显然,本申请实施例的数据校验装置可以作为上述图2所示的数据校验方法的执行主体,因此该数据校验装置能够实现数据校验方法在图2所实现的功能。由于原理 相同,本文不再赘述。
图5是本申请的一个实施例电子设备的结构示意图。请参考图5,在硬件层面,该电子设备包括处理器,可选地还包括内部总线、网络接口、存储器。其中,存储器可能包含内存,例如高速随机存取存储器(Random-Access Memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器等。当然,该电子设备还可能包括其他业务所需要的硬件。
处理器、网络接口和存储器可以通过内部总线相互连接,该内部总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。
存储器,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器可以包括内存和非易失性存储器,并向处理器提供指令和数据。
处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成数据存证装置。处理器,执行存储器所存放的程序,并具体用于执行以下操作:
对目标文件的数据内容进行不可逆加密处理,得到所述目标文件的不可逆加密数据;
对所述不可逆加密数据发起上链操作,以将所述不可逆加密数据存储到存证区块链中,并得到所述不可逆加密数据的上链存证信息。
将所述上链存证信息植入至所述目标文件。
存储植入有所述上链存证信息的目标文件。
或者,处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成数据校验装置。处理器,执行存储器所存放的程序,并具体用于执行以下操作:
在准备对目标文件的数据内容进行校验时,获取预先植入在所述目标文件的上链存证信息;
基于所述上链存证信息,获取存证区块链中记录的所述目标文件的不可逆加密 数据;
基于所述不可逆加密数据,对所述目标文件的数据内容进行校验;其中,所述目标文件的数据内容不包含所述上链存证信息。
上述如本申请图1所示实施例揭示的数据存证方法,或者,上述如本申请图2所示实施例揭示的数据校验方法均可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
应理解,本申请实施例的电子设备可以实现上述装置在图1和图2所示的实施例的功能,本文不再赘述。
当然,除了软件实现方式之外,本申请的电子设备并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。
此外,本申请实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令。
其中,该指令当被包括多个应用程序的便携式电子设备执行时,能够使该便携式电子设备执行图1所示实施例的方法,并具体用于执行以下方法:
对目标文件的数据内容进行不可逆加密处理,得到所述目标文件的不可逆加密数据;
对所述不可逆加密数据发起上链操作,以将所述不可逆加密数据存储到存证区块链中,并得到所述不可逆加密数据的上链存证信息;
将所述上链存证信息植入至所述目标文件;
存储植入有所述上链存证信息的目标文件。
或者,该指令当被包括多个应用程序的便携式电子设备执行时,能够使该便携式电子设备执行图2所示实施例的方法,并具体用于执行以下方法:
在准备对目标文件的数据内容进行校验时,获取预先植入在所述目标文件的上链存证信息;
基于所述上链存证信息,获取存证区块链中记录的所述目标文件的不可逆加密数据;
基于所述不可逆加密数据,对所述目标文件的数据内容进行校验;其中,所述目标文件的数据内容不包含所述上链存证信息。
应理解,上述指令当被包括多个应用程序的便携式电子设备执行时,能够使上文所述的数据存证装置实现图1所示实施例的功能,或者,能够使上文所述的数据教研装置实现图2所示实施例的功能。由于原理相同,本文不再赘述。
本领域技术人员应明白,本说明书的实施例可提供为方法、系统或计算机程序产品。因此,本说明书可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
以上仅为本说明书的实施例而已,并不用于限制本说明书。对于本领域技术人员来说,本说明书可以有各种更改和变化。凡在本说明书的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书的权利要求范围之内。

Claims (12)

  1. 一种基于区块链的数据存证方法,包括:
    对目标文件的数据内容进行不可逆加密处理,得到所述目标文件的不可逆加密数据;
    对所述不可逆加密数据发起上链操作,以将所述不可逆加密数据存储到存证区块链中,并得到所述不可逆加密数据的上链存证信息;
    将所述上链存证信息植入至所述目标文件;
    存储植入有所述上链存证信息的目标文件。
  2. 根据权利要求1所述的方法,
    对所述不可逆加密数据发起上链操作,包括:
    通过区块链接口将携带有所述不可逆加密数据的交易提交到存证区块链中。
  3. 根据权利要求1所述的方法,
    所述上链存证信息包括所述存证区块链中存储有所述不可逆加密数据的区块的区块标识。
  4. 根据权利要求1所述的方法,
    对目标文件的数据内容进行不可逆加密处理,包括:
    基于不可逆的哈希算法,对目标文件的数据内容进行哈希计算,得到所述目标文件的文件哈希,所述不可逆加密数据包括所述文件哈希。
  5. 根据权利要求1所述的方法,
    将所述上链存证信息植入至所述目标文件,包括:
    生成所述上链存证信息的数字水印;
    基于水印植入技术,将所述上链存证信息的数字水印植入至所述目标文件在数字设备上的呈现内容中。
  6. 一种基于区块链的数据校验方法,包括:
    在准备对目标文件的数据内容进行校验时,获取预先植入在所述目标文件的上链存证信息;
    基于所述上链存证信息,获取存证区块链中记录的所述目标文件的不可逆加密数据;
    基于所述不可逆加密数据,对所述目标文件的数据内容进行校验;其中,所述目标文件的数据内容不包含所述上链存证信息。
  7. 一种区块链的数据存证装置,包括:
    加密模块,对目标文件的数据内容进行不可逆加密处理,得到所述目标文件的不可逆加密数据;
    上链模块,对所述不可逆加密数据发起上链操作,以将所述不可逆加密数据存储到存证区块链中,并得到所述不可逆加密数据的上链存证信息;
    植入模块,将所述上链存证信息植入至所述目标文件;
    存储模块,存储植入有所述上链存证信息的目标文件。
  8. 一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行:
    对目标文件的数据内容进行不可逆加密处理,得到所述目标文件的不可逆加密数据;
    对所述不可逆加密数据发起上链操作,以将所述不可逆加密数据存储到存证区块链中,并得到所述不可逆加密数据的上链存证信息;
    将所述上链存证信息植入至所述目标文件;
    存储植入有所述上链存证信息的目标文件。
  9. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:
    对所述不可逆加密数据发起上链操作,以将所述不可逆加密数据存储到存证区块链中,并得到所述不可逆加密数据的上链存证信息;
    将所述上链存证信息植入至所述目标文件;
    存储植入有所述上链存证信息的目标文件。
  10. 一种基于区块链的数据校验装置,包括:
    解析模块,在准备对目标文件的数据内容进行校验时,获取预先植入在所述目标文件的上链存证信息;
    取证模块,基于所述上链存证信息,获取存证区块链中记录的所述目标文件的不可逆加密数据;
    校验模块,基于所述不可逆加密数据,对所述目标文件的数据内容进行校验;其中,所述目标文件的数据内容不包含所述上链存证信息。
  11. 一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行:
    在准备对目标文件的数据内容进行校验时,获取预先植入在所述目标文件的上链存证信息;
    基于所述上链存证信息,获取存证区块链中记录的所述目标文件的不可逆加密数据;
    基于所述不可逆加密数据,对所述目标文件的数据内容进行校验;其中,所述目标文件的数据内容不包含所述上链存证信息。
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:
    在准备对目标文件的数据内容进行校验时,获取预先植入在所述目标文件的上链存证信息;
    基于所述上链存证信息,获取存证区块链中记录的所述目标文件的不可逆加密数据;
    基于所述不可逆加密数据,对所述目标文件的数据内容进行校验;其中,所述目标文件的数据内容不包含所述上链存证信息。
PCT/CN2020/071672 2019-07-18 2020-01-13 基于区块链的数据存证方法、数据校验方法及相关装置 WO2021008113A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/848,503 US11088828B2 (en) 2019-07-18 2020-04-14 Blockchain-based data evidence storage method and apparatus
US17/392,871 US11563560B2 (en) 2019-07-18 2021-08-03 Blockchain-based data evidence storage method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910651420.9A CN110427774B (zh) 2019-07-18 2019-07-18 基于区块链的数据存证方法、数据校验方法及相关装置
CN201910651420.9 2019-07-18

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/848,503 Continuation US11088828B2 (en) 2019-07-18 2020-04-14 Blockchain-based data evidence storage method and apparatus

Publications (1)

Publication Number Publication Date
WO2021008113A1 true WO2021008113A1 (zh) 2021-01-21

Family

ID=68411138

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/071672 WO2021008113A1 (zh) 2019-07-18 2020-01-13 基于区块链的数据存证方法、数据校验方法及相关装置

Country Status (2)

Country Link
CN (1) CN110427774B (zh)
WO (1) WO2021008113A1 (zh)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948355A (zh) * 2021-03-05 2021-06-11 湖北央中巨石信息技术有限公司 一种分布式网络数据的销毁方法及系统及装置及介质
CN113434909A (zh) * 2021-06-25 2021-09-24 湖北央中巨石信息技术有限公司 一种基于区块链的数据按需存证方法
CN113505125A (zh) * 2021-06-11 2021-10-15 支付宝(杭州)信息技术有限公司 数据上链的方法及上链代理装置
CN113886101A (zh) * 2021-09-27 2022-01-04 华南理工大学 基于区块链技术的大数据共享并存证的方法
CN114168218A (zh) * 2021-11-30 2022-03-11 深圳市名竹科技有限公司 数据处理方法、装置、计算机设备和存储介质
CN114205109A (zh) * 2021-09-30 2022-03-18 徐敏 一种车联网信息管理方法及芯片
CN114266331A (zh) * 2021-12-24 2022-04-01 北京华瑞网研科技有限公司 一种对物品编码信息进行查询并验证的方法和系统
CN114661657A (zh) * 2022-03-15 2022-06-24 深圳海规网络科技有限公司 物证管理方法、装置、计算机设备及存储介质
WO2024060390A1 (zh) * 2022-09-22 2024-03-28 金蝶软件(中国)有限公司 基于区块链的存证数据生成方法、装置和计算机设备

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11088828B2 (en) 2019-07-18 2021-08-10 Advanced New Technologies Co., Ltd. Blockchain-based data evidence storage method and apparatus
CN110427774B (zh) * 2019-07-18 2021-01-12 创新先进技术有限公司 基于区块链的数据存证方法、数据校验方法及相关装置
CN111429250A (zh) * 2020-03-16 2020-07-17 普洛斯科技(重庆)有限公司 一种货押贷款场景中的数据管理方法和装置
CN111680330A (zh) * 2020-04-17 2020-09-18 航天云网科技发展有限责任公司 一种基于区块链数据交换的溯源系统及溯源方法
CN112052292B (zh) * 2020-09-14 2024-06-18 中钞信用卡产业发展有限公司杭州区块链技术研究院 一种网络内容存证方法、装置、设备及存储介质
CN112383737B (zh) * 2020-11-11 2023-05-30 从法信息科技有限公司 多人在线内容同屏的视频处理验证方法、装置和电子设备
EP4066139A4 (en) * 2020-11-25 2022-11-23 Alipay (Hangzhou) Information Technology Co., Ltd. TRUSTED BLOCKCHAIN-BASED PLATFORM
CN112804217B (zh) * 2020-12-31 2022-11-01 山东数字能源交易有限公司 一种基于区块链技术的存证方法和装置
CN113285801A (zh) * 2021-05-25 2021-08-20 中国联合网络通信集团有限公司 基于区块链的数据传输方法和装置
CN113792349A (zh) * 2021-09-17 2021-12-14 上海万向区块链股份公司 基于区块链的数据存证校验方法及系统
CN116166736B (zh) * 2023-04-20 2023-07-07 中国信息通信研究院 基于应用程序接口的区块链数据上链方法、装置和介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3379440A1 (en) * 2017-03-24 2018-09-26 Telefonica Digital España, S.L.U. A computer implemented method for automatically certifying documents with integrity and authenticity guarantees and computer programs thereof
CN109740316A (zh) * 2018-12-27 2019-05-10 北京三未信安科技发展有限公司 一种动态水印嵌入、验证方法及系统和动态水印处理系统
CN109740384A (zh) * 2019-01-11 2019-05-10 众安信息技术服务有限公司 基于区块链的数据存证方法和装置
CN110427774A (zh) * 2019-07-18 2019-11-08 阿里巴巴集团控股有限公司 基于区块链的数据存证方法、数据校验方法及相关装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145768B (zh) * 2016-03-01 2021-02-12 华为技术有限公司 版权管理方法和系统
US9967096B2 (en) * 2016-05-23 2018-05-08 Accenture Global Solutions Limited Rewritable blockchain
CN106897348B (zh) * 2016-08-19 2020-10-27 创新先进技术有限公司 一种数据存储、数据校验、数据溯源方法和设备
CN107545181B (zh) * 2017-08-16 2021-04-27 上海策赢网络科技有限公司 程序运行方法、终端及计算机可读存储介质
CN107819777B (zh) * 2017-11-17 2020-07-24 利姆斯(北京)区块链技术有限公司 一种基于区块链技术的数据存证方法及系统
CN109711836A (zh) * 2018-11-15 2019-05-03 远光软件股份有限公司 一种交易的存储方法、存储网络和电子设备
CN109711120A (zh) * 2018-12-17 2019-05-03 浙江大学 一种基于区块链数字水印的数字资源侵权追踪方法与系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3379440A1 (en) * 2017-03-24 2018-09-26 Telefonica Digital España, S.L.U. A computer implemented method for automatically certifying documents with integrity and authenticity guarantees and computer programs thereof
CN109740316A (zh) * 2018-12-27 2019-05-10 北京三未信安科技发展有限公司 一种动态水印嵌入、验证方法及系统和动态水印处理系统
CN109740384A (zh) * 2019-01-11 2019-05-10 众安信息技术服务有限公司 基于区块链的数据存证方法和装置
CN110427774A (zh) * 2019-07-18 2019-11-08 阿里巴巴集团控股有限公司 基于区块链的数据存证方法、数据校验方法及相关装置

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948355B (zh) * 2021-03-05 2022-07-12 湖北央中巨石信息技术有限公司 一种分布式网络数据的销毁方法及系统及装置及介质
CN112948355A (zh) * 2021-03-05 2021-06-11 湖北央中巨石信息技术有限公司 一种分布式网络数据的销毁方法及系统及装置及介质
CN113505125A (zh) * 2021-06-11 2021-10-15 支付宝(杭州)信息技术有限公司 数据上链的方法及上链代理装置
CN113434909A (zh) * 2021-06-25 2021-09-24 湖北央中巨石信息技术有限公司 一种基于区块链的数据按需存证方法
CN113434909B (zh) * 2021-06-25 2023-12-29 湖北央中巨石信息技术有限公司 一种基于区块链的数据按需存证方法
CN113886101B (zh) * 2021-09-27 2023-04-21 华南理工大学 基于区块链技术的大数据共享并存证的方法
CN113886101A (zh) * 2021-09-27 2022-01-04 华南理工大学 基于区块链技术的大数据共享并存证的方法
CN114205109A (zh) * 2021-09-30 2022-03-18 徐敏 一种车联网信息管理方法及芯片
CN114168218A (zh) * 2021-11-30 2022-03-11 深圳市名竹科技有限公司 数据处理方法、装置、计算机设备和存储介质
CN114168218B (zh) * 2021-11-30 2024-03-29 深圳市名竹科技有限公司 数据处理方法、装置、计算机设备和存储介质
CN114266331A (zh) * 2021-12-24 2022-04-01 北京华瑞网研科技有限公司 一种对物品编码信息进行查询并验证的方法和系统
CN114661657A (zh) * 2022-03-15 2022-06-24 深圳海规网络科技有限公司 物证管理方法、装置、计算机设备及存储介质
WO2024060390A1 (zh) * 2022-09-22 2024-03-28 金蝶软件(中国)有限公司 基于区块链的存证数据生成方法、装置和计算机设备

Also Published As

Publication number Publication date
CN110427774A (zh) 2019-11-08
CN110427774B (zh) 2021-01-12

Similar Documents

Publication Publication Date Title
WO2021008113A1 (zh) 基于区块链的数据存证方法、数据校验方法及相关装置
US11563560B2 (en) Blockchain-based data evidence storage method and apparatus
CN110912955B (zh) 容器镜像下载、上传方法及装置
US20170134162A1 (en) System and process for verifying digital media content authenticity
TWI670621B (zh) 資訊加密、解密方法及裝置
US9773118B1 (en) Data deduplication with encryption
US8032759B2 (en) Verifying signatures for multiple encodings
CN105262589B (zh) 数据安全校验方法、装置及校验设备
CN110958319B (zh) 一种基于区块链的侵权存证管理方法及装置
US9571287B2 (en) Secure proofs of storage for deduplication
US8819361B2 (en) Retaining verifiability of extracted data from signed archives
KR101989813B1 (ko) 특정 포맷을 가지는 대체 데이터의 생성 및 검증
US20120036366A1 (en) Secure and verifiable data handling
WO2018001082A1 (zh) 升级文件的制作方法、升级方法、装置及设备
US11449584B1 (en) Generating authenticable digital content
US20200195447A1 (en) Communication method of client device, issuing device and server
WO2022095574A1 (zh) 一种基于区块链的资源共享的方法及装置
US20210099432A1 (en) Data consistency verification method, and data uploading and downloading device
CN108431819B (zh) 保护客户端访问视频播放器的drm代理的服务的方法和系统
US20190362051A1 (en) Managing access to a media file
CN110991358A (zh) 一种基于区块链的文本比对方法及装置
WO2007065341A1 (fr) Procede et appareil de verification de fichier image
CN110457954B (zh) 合同管理装置与方法
US20240007302A1 (en) Data verification system
TWI693816B (zh) 數位資料防偽裝置及方法

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

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

Country of ref document: EP

Kind code of ref document: A1