WO2020133963A1 - Procédé de stockage de données basé sur une chaîne de blocs, dispositif associé et support d'informations - Google Patents

Procédé de stockage de données basé sur une chaîne de blocs, dispositif associé et support d'informations Download PDF

Info

Publication number
WO2020133963A1
WO2020133963A1 PCT/CN2019/092088 CN2019092088W WO2020133963A1 WO 2020133963 A1 WO2020133963 A1 WO 2020133963A1 CN 2019092088 W CN2019092088 W CN 2019092088W WO 2020133963 A1 WO2020133963 A1 WO 2020133963A1
Authority
WO
WIPO (PCT)
Prior art keywords
block
token
target node
seed
node
Prior art date
Application number
PCT/CN2019/092088
Other languages
English (en)
Chinese (zh)
Inventor
唐银辉
Original Assignee
重庆小雨点小额贷款有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 重庆小雨点小额贷款有限公司 filed Critical 重庆小雨点小额贷款有限公司
Publication of WO2020133963A1 publication Critical patent/WO2020133963A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the update unit is specifically used for:
  • the update unit is specifically used for:
  • FIG. 1 is a schematic flowchart of a data storage method according to an embodiment of the present invention.
  • the method is applied to a blockchain system.
  • the blockchain system includes multiple nodes. As shown in FIG. 1, the method may include:
  • any node after any node stores the sequence number of a block, it can be based on The block number determines the block header corresponding to the block number, so that the corresponding block can be determined according to the block header, and whether the block data of the block has changed can be determined by comparing the block header.
  • the block header also includes the summary data of the block (such as the first block), so that even if the node (such as the above-mentioned target node) only stores the block header of the block, it can prevent the block data corresponding to the serial number from being tampered with .
  • the target node obtains a first token seed.
  • the target node determines the block header to store the first block or the first block based on the first token value of the target node, the serial number of the first block, and the first token seed.
  • the target node After the target node determines the sequence number of the newly generated first block, the first token seed corresponding to the blockchain system and the first token value of the target node, it can be based on the sequence number of the newly generated first block, the The first token seed corresponding to the blockchain system and the first token value of the target node perform a modulo operation, and the target node may determine to store the first block or store the first block according to the result of the modulo The block header of the block.
  • the modulo operation of the first block number and the first token seed may be performed to obtain a modulo result, so that the first token value of the target node and the modulo result may be matched, if If the first token value of the target node and the modulo result are the same, the target node determines to store the first block; if the first token value of the target node and the modulo result are different, the target node determines Store the block header of the first block.
  • the target node determines the block header to store the first block or the first block based on the first token value of the target node, the serial number of the first block, and the first token seed.
  • the target token of the node of the first block may be stored as needed Value and the first token value of the target node determine that the first block or the block header of the first block is stored in the target node, where the first token value of the target node and the target order are determined
  • the target token value needed to store the first node is the first token value of the target node
  • the target node determines to store the first block, or, after determining the target node’s If the value of the first token and the target token are different, it means that the current block needs to store the target token value of the first node is not the first token value of the target node, then the target node determines to store the The block header of a block.
  • the second token seed is generated based on the current number of nodes of the blockchain system when the update time arrives, and the token seed update time may be a preset time interval, assuming that the The set time interval is 2 weeks, then the target node obtains the second token seed every two weeks.
  • the token seed update time is set based on the update period, which is the time period between two adjacent token seed generations. When setting the token seed update time according to the update period, it can be based on the previous For the token period, set the token seed update time. The set token seed update time may be equal to the previous token period or not equal to the previous token period.
  • the second token seed can be generated by the blockchain system based on the changed number of nodes, and Broadcast the second token seed, so that the target node obtains the second token seed from the blockchain system.
  • the second token seed may also be generated by a node in the blockchain system, for example, the node that generates the first block.
  • step S205 may be performed to update the block stored in the target node.
  • the target node updates the first token value of the target node based on the second token seed
  • the first token value of the target node may be randomly taken based on the updated second token seed , To update the first token value of the target node, and use the random value result as the second token value of the target node.
  • the first token seed and the second token seed may be compared first, when When the first token seed is greater than the second token seed, the first token value of the target node and the second token seed are modulo, and a modulo result is obtained, so that the modulo result can be determined Is the second token value of the target node.
  • the first token seed and the second token seed are compared to determine that the first token seed is less than or equal to the second token seed, then according to the first token seed, the The second token seed and the token value before the update of the target node perform a random value operation, so that the second token value after the update of the target node can be determined based on the result of the random value operation.
  • the target node updates the block stored by the target node based on the target node's second token value and the target token value, the target node's second token value and the blockchain system's The serial number of each block determines the block to be stored and deleted by the target node, so that the block to be stored can be stored and the block to be deleted can be recorded.
  • the target node when the target node stores the block to be stored, the target node may send a block acquisition request to the first node included in the blockchain system, where the data acquisition request includes the target The node needs to store but not store the serial number of the block.
  • the first node is a node with a second token value different from the target node. After the first node receives the block acquisition request sent by the target node, it can The block acquisition request includes the sequence number of the target node that needs to be stored but not stored, and determines the block that the target node needs to store, so that the block that the target node needs to store but not stored is sent to the target node. After receiving the block that needs to be stored but not stored, the target node stores the block that needs to be stored but not stored.
  • the target node may acquire the sequence number of the newly generated first block broadcast in the blockchain system, and may acquire the first token seed, so that the target node is based on the target node's first
  • the token value, the serial number of the first block, and the first token seed determine the storage of the first block or the block header of the first block.
  • the updating unit 303 is configured to update the first token value based on the second token seed to obtain the second token value of the target node;
  • the update unit 303 is specifically used to:
  • the target node determines the block to be stored and the block to be deleted according to the second token value and the serial number of each block in the blockchain system
  • the target node sends a block acquisition request to the first node, the block acquisition request includes a sequence number that the target node needs to store but does not store a block, and the first node is a token in the blockchain system Any one of the node sets whose value is different from the second token value;
  • the device further includes a deletion unit 304.
  • the server in this embodiment may include: one or more processors 401; one or more network interfaces 402, and a memory 403.
  • the processor 401, the network interface 402, and the memory 403 are connected through a bus 404.
  • the memory 403 is used to store a computer program, and the computer program includes program instructions, and the processor 401 is used to execute the program instructions stored in the memory 403.
  • the processor 401 is configured to call the program instructions to execute:
  • the target node is any one of the plurality of nodes
  • the first block includes block data and block header
  • the block header includes the serial number of the first block
  • a block header to store the first block or store the first block is determined.
  • a block header storing the first block is determined.
  • the processor 401 is further configured to call the program instruction to execute:
  • the modulo result is determined to be the target token value of the node corresponding to the first block.
  • the processor 401 is further configured to call the program instruction to execute:
  • the target node When the token seed update time arrives, the target node obtains a second token seed, which is based on the current number of nodes in the blockchain system when the token seed update time arrives Generated;
  • the block stored by the target node is updated.
  • the processor 401 is further configured to call the program instruction to execute:
  • Receiving the target node that the first node sends based on the block acquisition request needs to store but not store the block;

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

L'invention se rapporte à un procédé de stockage de données basé sur une chaîne de blocs, à un dispositif associé et à un support d'informations. Le procédé comprend les étapes suivantes : un nœud cible acquiert le numéro de série d'un premier bloc récemment généré diffusé dans un système de chaîne de blocs, le nœud cible étant l'un quelconque d'une pluralité de nœuds, le premier bloc comprenant des données de bloc et une tête de bloc et la tête de bloc comprenant le numéro de série du premier bloc ; le nœud cible acquiert une première valeur de départ de jeton, la première valeur de départ de jeton étant générée en fonction du nombre de nœuds du système de chaîne de blocs ; et le nœud cible détermine le stockage du premier bloc ou le stockage de la tête de bloc du premier bloc sur la base d'une première valeur de jeton du nœud cible, du numéro de série du premier bloc et de la première valeur de départ de jeton de telle sorte que la pression de stockage de données du nœud cible dans le système de chaîne de blocs peut être efficacement atténuée.
PCT/CN2019/092088 2018-12-27 2019-06-20 Procédé de stockage de données basé sur une chaîne de blocs, dispositif associé et support d'informations WO2020133963A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811616617.0A CN109756566B (zh) 2018-12-27 2018-12-27 基于区块链的数据存储方法、相关设备及存储介质
CN201811616617.0 2018-12-27

Publications (1)

Publication Number Publication Date
WO2020133963A1 true WO2020133963A1 (fr) 2020-07-02

Family

ID=66403314

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/092088 WO2020133963A1 (fr) 2018-12-27 2019-06-20 Procédé de stockage de données basé sur une chaîne de blocs, dispositif associé et support d'informations

Country Status (2)

Country Link
CN (1) CN109756566B (fr)
WO (1) WO2020133963A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915454A (zh) * 2021-09-16 2022-08-16 中关村科学城城市大脑股份有限公司 数据获取方法、系统

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857805B (zh) * 2018-12-27 2020-10-02 重庆小雨点小额贷款有限公司 基于区块链的数据存储方法、相关设备及存储介质
CN109756566B (zh) * 2018-12-27 2020-01-03 重庆小雨点小额贷款有限公司 基于区块链的数据存储方法、相关设备及存储介质
CN112465554A (zh) * 2020-12-03 2021-03-09 广东工业大学 一种基于区块链的计算资源定价方法
CN113315826B (zh) * 2021-05-24 2023-03-24 网易(杭州)网络有限公司 区块链的管理方法、装置、管理服务节点及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160098730A1 (en) * 2014-10-01 2016-04-07 The Filing Cabinet, LLC System and Method for Block-Chain Verification of Goods
CN106506638A (zh) * 2016-11-04 2017-03-15 江苏通付盾科技有限公司 区块链中的区块存储方法及装置
CN107317672A (zh) * 2017-05-10 2017-11-03 广东网金控股股份有限公司 一种轻量终端机区块链系统
CN108810119A (zh) * 2018-05-31 2018-11-13 中国联合网络通信集团有限公司 区块链处理方法、装置及区块链节点
CN109756566A (zh) * 2018-12-27 2019-05-14 重庆小雨点小额贷款有限公司 基于区块链的数据存储方法、相关设备及存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EA201891823A1 (ru) * 2016-02-23 2019-02-28 Нчейн Холдингс Лимитед Полные по тьюрингу транзакции на основе агента, вводящие обратную связь в системе блокчейна
CN105975868A (zh) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 一种基于区块链的证据保全方法及装置
CN107079059B (zh) * 2016-12-21 2019-12-10 深圳前海达闼云端智能科技有限公司 区块链存储方法、装置及节点设备
US20180315072A1 (en) * 2017-05-01 2018-11-01 Greg Rubin Method and system of facilitating management of cryptocurrency based loyalty points associated with one or more of a product and a service
CN107332658A (zh) * 2017-08-11 2017-11-07 浙江赛佳控股有限公司 基于链式区块链技术的接口实现方法及装置
CN108462885A (zh) * 2018-05-09 2018-08-28 广东工业大学 一种基于区块链的视频存储方法、装置及介质
CN108984791A (zh) * 2018-08-02 2018-12-11 苏州市千尺浪信息科技服务有限公司 一种基于区块链大数据的存储系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160098730A1 (en) * 2014-10-01 2016-04-07 The Filing Cabinet, LLC System and Method for Block-Chain Verification of Goods
CN106506638A (zh) * 2016-11-04 2017-03-15 江苏通付盾科技有限公司 区块链中的区块存储方法及装置
CN107317672A (zh) * 2017-05-10 2017-11-03 广东网金控股股份有限公司 一种轻量终端机区块链系统
CN108810119A (zh) * 2018-05-31 2018-11-13 中国联合网络通信集团有限公司 区块链处理方法、装置及区块链节点
CN109756566A (zh) * 2018-12-27 2019-05-14 重庆小雨点小额贷款有限公司 基于区块链的数据存储方法、相关设备及存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915454A (zh) * 2021-09-16 2022-08-16 中关村科学城城市大脑股份有限公司 数据获取方法、系统

Also Published As

Publication number Publication date
CN109756566B (zh) 2020-01-03
CN109756566A (zh) 2019-05-14

Similar Documents

Publication Publication Date Title
WO2020133963A1 (fr) Procédé de stockage de données basé sur une chaîne de blocs, dispositif associé et support d'informations
CN110163006B (zh) 一种块链式账本中的签名验证方法、系统、装置及设备
US11057220B2 (en) Signature verification for a blockchain ledger
CN107395665A (zh) 一种区块链业务受理及业务共识方法及装置
CN108897628A (zh) 一种分布式锁的实现方法、装置及电子设备
CN109886693B (zh) 区块链系统的共识实现方法、装置、设备和介质
WO2017143957A1 (fr) Procédé et dispositif de redistribution de données
CN106354795B (zh) 一种分布式数据交换系统
EP2998862A1 (fr) Procédé, dispositif et système de gestion de mémoire
WO2020211493A1 (fr) Procédé, système, appareil et dispositif de vérification de données dans un livre de comptes à chaîne de blocs
CN106708608A (zh) 一种分布式锁服务方法、获取方法及相应装置
CN107040576A (zh) 信息推送方法及装置、通讯系统
WO2020133962A1 (fr) Procédé de stockage de données basé sur une chaîne de blocs, dispositif associé et support de stockage
CN103888424B (zh) 集群式数据加密系统及其数据处理方法
CN109656836A (zh) 一种数据处理方法及装置
CN115756955A (zh) 一种数据备份、数据恢复的方法、装置及计算机设备
CN111669434A (zh) 一种通信群组的建立方法、系统、装置及设备
CN109600254A (zh) 全链路日志的生成方法及相关系统
CN114969803A (zh) 一种数据存储方法、装置及存储介质
CN114157717B (zh) 一种微服务动态限流的系统及方法
CN112217740B (zh) 一种基于边缘计算网络的请求处理方法及装置
CN110717172B (zh) 一种块链式账本中的权限移交方法、装置及设备
US20200177390A1 (en) Providing data verification in a blockchain ledger
CN110471922B (zh) 记账节点的内容扩展方法、设备及计算机可读存储介质
CN105760431A (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: 19902101

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

Country of ref document: EP

Kind code of ref document: A1