(EN) A data verification method and apparatus, and a storage medium, which relate to the field of blockchain technology and are applied to a server. Said method comprises: performing collision comparison on a target block and a plurality of branches in a preset DAG network structure; if there is no collision between the target block and a plurality of blocks in the plurality of branches, adding a new branch for storing the target block; when performing MVCC verification, performing parallel verification on a target branch and the plurality of branches; if there is a collision between the target block and a block of at least one first branch of the plurality of branches, selecting one first branch from the at least one first branch as the target branch; and when performing MVCC verification, waiting for the completion of MVCC verification of the at least one first branch, and then performing MVCC verification on the target block. The method is beneficial for increasing the data verification efficiency.
(FR) L'invention concerne un procédé et un appareil de vérification de données, et un support de stockage, qui ont trait au domaine de la technologie des chaînes de blocs et sont appliqués à un serveur. Ledit procédé comprend : la réalisation d'une comparaison de collision sur un bloc cible et une pluralité de branches dans une structure de réseau DAG prédéfinie ; s'il n'y a pas de collision entre le bloc cible et une pluralité de blocs dans la pluralité de branches, l'ajout d'une nouvelle branche pour stocker le bloc cible ; lors de la réalisation d'une vérification MVCC, la réalisation d'une vérification parallèle sur une branche cible et la pluralité de branches ; s'il y a une collision entre le bloc cible et un bloc d'au moins une première branche de la pluralité de branches, la sélection d'une première branche parmi la ou les premières branches comme branche cible ; et lors de la réalisation d'une vérification MVCC, l'attente de l'achèvement d'une vérification MVCC de la ou des premières branches, puis la réalisation d'une vérification MVCC sur le bloc cible. Le procédé est avantageux pour augmenter l'efficacité de vérification de données.
(ZH) 一种数据验证方法、装置及存储介质,涉及区块链技术领域,应用于服务器,所述方法包括:将目标区块和预设DAG网络结构中的多个分支进行冲突比较;若该目标区块与多个分支中的多个区块之间不存在冲突,则新增一个分支,用于存储该目标区块;在进行MVCC验证时,将目标分支与多个分支并行验证;若目标区块与多个分支中至少一个第一分支的区块之间存在冲突,则从至少一个第一分支中选取一个第一分支为目标分支;在进行MVCC验证时,可等待至少一个第一分支完成MVCC验证,则对该目标区块进行MVCC验证。采用该方法有利于提高数据验证效率。