Movatterモバイル変換


[0]ホーム

URL:


CN113239399B - Supply chain data supervision method based on block chain, electronic equipment and storage medium - Google Patents

Supply chain data supervision method based on block chain, electronic equipment and storage medium
Download PDF

Info

Publication number
CN113239399B
CN113239399BCN202110539364.7ACN202110539364ACN113239399BCN 113239399 BCN113239399 BCN 113239399BCN 202110539364 ACN202110539364 ACN 202110539364ACN 113239399 BCN113239399 BCN 113239399B
Authority
CN
China
Prior art keywords
blockchain
regulatory
supervision
nodes
node
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
CN202110539364.7A
Other languages
Chinese (zh)
Other versions
CN113239399A (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.)
China Academy of Information and Communications Technology CAICT
Original Assignee
China Academy of Information and Communications Technology CAICT
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 China Academy of Information and Communications Technology CAICTfiledCriticalChina Academy of Information and Communications Technology CAICT
Priority to CN202110539364.7ApriorityCriticalpatent/CN113239399B/en
Publication of CN113239399ApublicationCriticalpatent/CN113239399A/en
Application grantedgrantedCritical
Publication of CN113239399BpublicationCriticalpatent/CN113239399B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application discloses a supply chain data supervision method based on a block chain, electronic equipment and a storage medium, wherein the supply chain data supervision method based on the block chain comprises the following steps: acquiring a supervision request of a target supervision block link point in a plurality of supervision block link nodes for a target enterprise; transmitting the supervision request to other supervision block link points in the plurality of supervision block link nodes so that the other supervision block link points feed back supervision comments to the target supervision block link points based on supervision reasons and supervision contents; and if the supervision block chain nodes which agree to supervision in the feedback supervision opinion of the other supervision block chain nodes meet the first preset quantity requirement, passing the supervision request. The application not only ensures that the private data of enterprises can not be obtained by competitors and other irrelevant parties, but also meets the supervision demands of government departments, and simultaneously enables the full-chain supervision block chain nodes to jointly supervise the whole data acquisition process through the common identification process of a plurality of supervision block chain nodes.

Description

Translated fromChinese
基于区块链的供应链数据监管方法、电子设备及存储介质Supply chain data supervision method, electronic device and storage medium based on blockchain

技术领域Technical Field

本申请涉及区块链技术领域,具体涉及一种基于区块链的供应链数据监管方法、电子设备及存储介质。The present application relates to the field of blockchain technology, and specifically to a supply chain data supervision method, electronic device and storage medium based on blockchain.

背景技术Background Art

近年来,随着区块链技术的不断深化发展以及政策端的大力支持,区块链技术应用已从最初的数字货币、金融领域逐步拓展到政务协助、产业链管理、工业制造等很多领域。我国十三五规划已经将区块链、量子通信、人工智能等都作为重大项目进行,区块链是“新一代的信息技术”。它凭借去中心化、开放性、匿名性、安全性、不可篡改等技术特性,保障了去信任背景下数据的多方共享、防止隐私泄露、记录可追溯,最大程度降低了不同业务参与者之间的信任成本,提高了工作效率。In recent years, with the continuous deepening of blockchain technology and strong support from the policy side, the application of blockchain technology has gradually expanded from the initial digital currency and financial fields to many fields such as government assistance, industrial chain management, and industrial manufacturing. my country's 13th Five-Year Plan has already included blockchain, quantum communication, artificial intelligence, etc. as major projects. Blockchain is a "new generation of information technology." With its technical characteristics such as decentralization, openness, anonymity, security, and non-tamperability, it ensures multi-party sharing of data, prevents privacy leakage, and keeps records traceable in a trustless environment, which minimizes the trust cost between different business participants and improves work efficiency.

在工业互联网高速发展的大背景下,产品追溯和供应链管理成为区块链技术应用的重要焦点之一。得益于去中心化、不可篡改、不可抵赖等特性,区块链可以解决传统数据库中数据不真实、不可靠的问题,与工业互联网标识解析体系相结合,可以构建产业链各环节的互联互通、资源共享,实现产业链与价值链全要素全连接的工业生产、制造、服务体系。Under the background of the rapid development of industrial Internet, product traceability and supply chain management have become one of the important focuses of blockchain technology application. Thanks to the characteristics of decentralization, non-tampering and non-repudiation, blockchain can solve the problem of untrue and unreliable data in traditional databases. Combined with the industrial Internet identification resolution system, it can build interconnection and resource sharing of all links in the industrial chain, and realize the industrial production, manufacturing and service system with full connection of all elements of the industrial chain and value chain.

供应链管理一直是一门高深的科学。供应链管理系统的用户主要可分为三类:消费者、政府监管机构、企业。消费者希望通过它实现对于购买的产品的全生命周期追溯,从而降低买到假冒伪劣产品的风险,保证产品质量,同时也了解同类产品有价格差异的原因。企业则希望通过它加快产品创新周期,保持敏感性,对相关政策及消费者需求变化做出快速反应,并且形成有效的库存管理方案。最后,政府监管部门希望有效监管供应链各个环节,并且在产品质量事件或相关纠纷发生时,快速确责、追责,一旦发现产品问题,可以第一时间召回以减少损失。Supply chain management has always been a profound science. The users of supply chain management systems can be divided into three main categories: consumers, government regulators, and enterprises. Consumers hope to use it to trace the entire life cycle of the products they purchase, thereby reducing the risk of buying counterfeit and inferior products, ensuring product quality, and also understanding the reasons for price differences among similar products. Enterprises hope to use it to speed up the product innovation cycle, maintain sensitivity, respond quickly to changes in relevant policies and consumer demand, and form an effective inventory management plan. Finally, government regulators hope to effectively supervise all links in the supply chain, and quickly identify and hold accountable when product quality incidents or related disputes occur. Once product problems are discovered, they can be recalled as soon as possible to reduce losses.

传统的系统设计并没有办法很好地满足用户对于产品全生命周期追溯和供应链管理的需求,尤其是“监管难”的问题十分突出,同时,从企业视角来说,中心化数据库容易造成参与主体之间各自为政,不利于数据共享,这就使得企业无法及时得到产品反馈(销售状况、消费者需求变化),难以对市场需求快速反应。Traditional system designs cannot meet users’ needs for product traceability and supply chain management throughout the entire life cycle, especially the problem of “difficult supervision” is very prominent. At the same time, from the perspective of enterprises, centralized databases easily lead to each participant acting independently, which is not conducive to data sharing. This makes it impossible for enterprises to obtain timely product feedback (sales status, changes in consumer demand) and it is difficult to respond quickly to market demand.

供应链的数据共享方面始终存在一个不可回避的问题,就是政府监管要求信息高披露与企业要求隐私保护之间的矛盾。一些区块链设计给予政府节点最高权限,可随意查阅链上所有数据,但是,这也使得企业对于自身商业机密是否能够得到有效保护产生疑问。There is always an unavoidable problem in data sharing in the supply chain, which is the contradiction between government regulatory requirements for high information disclosure and corporate requirements for privacy protection. Some blockchain designs give government nodes the highest authority and can freely access all data on the chain, but this also makes companies question whether their own business secrets can be effectively protected.

当前大多数与产品溯源和供应链管理的区块链系统都选择只将普通信息上链,涉及机密的信息则不上链。这显然非长久之计,简单的产品信息很难满足企业通过供应链优化管理的需求,亦无法满足监管者的监管要求,但是如果将产品交易详情全部上链,对于企业隐私保护造成很大的挑战。Currently, most blockchain systems related to product traceability and supply chain management choose to only upload general information to the chain, and not confidential information. This is obviously not a long-term solution. Simple product information can hardly meet the needs of enterprises to optimize supply chain management, nor can it meet the regulatory requirements of regulators. However, if all product transaction details are uploaded to the chain, it will pose a great challenge to corporate privacy protection.

发明内容Summary of the invention

本申请实施例提供一种基于区块链的供应链数据监管方法、电子设备及存储介质,通过多个监管区块链节点的共识过程,既保证企业的隐私数据不会被竞争对手和其它无关方得到,又满足了政府部门的监管需求,同时可以使得全链的监管区块链节点共同监督整个数据获取过程。The embodiments of the present application provide a supply chain data supervision method, electronic device and storage medium based on blockchain. Through the consensus process of multiple supervision blockchain nodes, it not only ensures that the company's privacy data will not be obtained by competitors and other unrelated parties, but also meets the supervision needs of government departments. At the same time, it can enable the supervision blockchain nodes of the entire chain to jointly supervise the entire data acquisition process.

一方面,本申请提供一种基于区块链的供应链数据监管方法,应用于区块链系统,所述区块链系统中包括多个区块链节点,所述多个区块链节点中包括多个监管区块链节点,企业区块链节点和用户区块链节点,所述监管区块链节点的权限大于所述企业区块链节点和用户区块链节点,所述企业区块链节点的权限大于所述用户区块链节点;所述基于区块链的供应链数据监管方法包括:On the one hand, the present application provides a supply chain data supervision method based on blockchain, which is applied to a blockchain system, wherein the blockchain system includes multiple blockchain nodes, wherein the multiple blockchain nodes include multiple supervision blockchain nodes, enterprise blockchain nodes, and user blockchain nodes, wherein the authority of the supervision blockchain node is greater than that of the enterprise blockchain node and the user blockchain node, and the authority of the enterprise blockchain node is greater than that of the user blockchain node; the supply chain data supervision method based on blockchain includes:

获取所述多个监管区块链节点中目标监管区块链节点针对目标企业的监管请求,所述监管请求中包括监管原因和监管内容;Obtaining a regulatory request of a target regulatory blockchain node from among the multiple regulatory blockchain nodes for a target enterprise, wherein the regulatory request includes a regulatory reason and regulatory content;

将所述监管请求向所述多个监管区块链节点中其他监管区块链节点进行传播,以使得所述其他监管区块链节点基于所述监管原因和监管内容,向所述目标监管区块链节点反馈监管意见;Propagate the regulatory request to other regulatory blockchain nodes among the multiple regulatory blockchain nodes, so that the other regulatory blockchain nodes feed back regulatory opinions to the target regulatory blockchain node based on the regulatory reasons and regulatory contents;

若所述各所述其他监管区块链节点反馈监管意见中为同意监管的监管区块链节点达到第一预设数量要求,则通过所述监管请求。If the number of regulatory blockchain nodes that agree to supervision in the regulatory opinions fed back by the other regulatory blockchain nodes reaches a first preset number requirement, the regulatory request is approved.

在本申请一些实施方案中,在通过所述监管请求之后,所述方法还包括:In some embodiments of the present application, after passing the regulatory request, the method further includes:

向所述目标企业对应的目标企业区块链节点发送监管通知,以使得所述目标企业区块节点通过预设的公钥加密算法提交待提交监管资料,所述监管通知中包括与所述监管内容关联的待提交监管资料和提交期限;Sending a supervision notice to the target enterprise blockchain node corresponding to the target enterprise, so that the target enterprise block node submits the supervision information to be submitted through a preset public key encryption algorithm, wherein the supervision notice includes the supervision information to be submitted and the submission deadline associated with the supervision content;

若所述目标企业区块链节点未在所述提交期限内提交所述待提交监管资料,则对所述目标企业区块链节点进行处理。If the target enterprise blockchain node fails to submit the regulatory information to be submitted within the submission period, the target enterprise blockchain node will be processed.

在本申请一些实施方案中,所述方法还包括:In some embodiments of the present application, the method further comprises:

若所述目标企业区块链节点未在所述提交期限内,但通过预设的公钥加密算法提交了待提交监管资料,则所述目标监管区块链节点通过预先获取的私钥解密所述待提交监管资料;If the target enterprise blockchain node has not submitted the regulatory information to be submitted within the submission period, but has submitted the regulatory information to be submitted through a preset public key encryption algorithm, the target regulatory blockchain node decrypts the regulatory information to be submitted through a pre-acquired private key;

若确定所述待提交监管资料符合要求,向所述其他监管区块链节点发布资料符合要求的确认信息。If it is determined that the regulatory information to be submitted meets the requirements, confirmation information that the information meets the requirements is issued to the other regulatory blockchain nodes.

在本申请一些实施方案中,所述方法还包括:In some embodiments of the present application, the method further comprises:

获取第一区块链节点加入区块链系统的第一注册请求,所述第一注册请求为监管区块链节点的注册请求;Obtaining a first registration request of a first blockchain node to join the blockchain system, where the first registration request is a registration request for supervising the blockchain node;

将所述第一注册请求转发到所述多个监管区块链节点,以使得所述多个监管区块链节点反馈第一注册意见;Forwarding the first registration request to the multiple regulatory blockchain nodes so that the multiple regulatory blockchain nodes feedback the first registration opinion;

若所述各所述多个监管区块链节点反馈的第一注册意见中为同意注册的监管区块链节点达到第二预设数量要求,则通过所述第一注册请求。If the number of regulatory blockchain nodes that agree to register in the first registration opinions fed back by each of the multiple regulatory blockchain nodes reaches a second preset number requirement, the first registration request is approved.

在本申请一些实施方案中,所述方法还包括:In some embodiments of the present application, the method further comprises:

获取第二区块链节点加入区块链系统的第二注册请求,所述第二注册请求为企业区块链节点的注册请求;Obtaining a second registration request for a second blockchain node to join the blockchain system, where the second registration request is a registration request for an enterprise blockchain node;

将所述第二注册请求转发到所述多个监管区块链节点,以使得所述多个监管区块链节点反馈第二注册意见;Forwarding the second registration request to the multiple regulatory blockchain nodes so that the multiple regulatory blockchain nodes feedback the second registration opinion;

若所述各所述多个监管区块链节点反馈的第二注册意见中为同意注册的监管区块链节点达到第三预设数量要求,则通过所述第二注册请求。If the number of regulatory blockchain nodes that agree to register in the second registration opinions fed back by each of the multiple regulatory blockchain nodes reaches a third preset number requirement, the second registration request is approved.

另一方面,本申请提供一种基于区块链的供应链数据监管装置,应用于区块链系统,所述区块链系统中包括多个区块链节点,所述多个区块链节点中包括多个监管区块链节点,企业区块链节点和用户区块链节点,所述监管区块链节点的权限大于所述企业区块链节点和用户区块链节点,所述企业区块链节点的权限大于所述用户区块链节点;所述基于区块链的供应链数据监管装置包括:On the other hand, the present application provides a supply chain data supervision device based on blockchain, which is applied to a blockchain system, wherein the blockchain system includes multiple blockchain nodes, wherein the multiple blockchain nodes include multiple supervision blockchain nodes, enterprise blockchain nodes, and user blockchain nodes, wherein the authority of the supervision blockchain node is greater than that of the enterprise blockchain node and the user blockchain node, and the authority of the enterprise blockchain node is greater than that of the user blockchain node; the supply chain data supervision device based on blockchain includes:

获取模块,用于获取所述多个监管区块链节点中目标监管区块链节点针对目标企业的监管请求,所述监管请求中包括监管原因和监管内容;An acquisition module is used to obtain a supervision request of a target supervision blockchain node among the multiple supervision blockchain nodes for a target enterprise, wherein the supervision request includes a supervision reason and supervision content;

传播模块,用于将所述监管请求向所述多个监管区块链节点中其他监管区块链节点进行传播,以使得所述其他监管区块链节点基于所述监管原因和监管内容,向所述目标监管区块链节点反馈监管意见;A propagation module, used to propagate the regulatory request to other regulatory blockchain nodes among the multiple regulatory blockchain nodes, so that the other regulatory blockchain nodes feedback regulatory opinions to the target regulatory blockchain node based on the regulatory reasons and regulatory contents;

共识模块,用于若所述各所述其他监管区块链节点反馈监管意见中为同意监管的监管区块链节点达到第一预设数量要求,则通过所述监管请求。The consensus module is used to approve the supervision request if the number of supervisory blockchain nodes that agree to the supervision in the supervisory opinions fed back by the other supervisory blockchain nodes reaches a first preset number requirement.

在本申请一些实施方案中,所述装置还包括:In some embodiments of the present application, the device further comprises:

发送模块,用于在通过所述监管请求之后,向所述目标企业对应的目标企业区块链节点发送监管通知,以使得所述目标企业区块节点通过预设的公钥加密算法提交待提交监管资料,所述监管通知中包括与所述监管内容关联的待提交监管资料和提交期限;A sending module, configured to send a supervision notice to the target enterprise blockchain node corresponding to the target enterprise after the supervision request is passed, so that the target enterprise block node submits the supervision information to be submitted through a preset public key encryption algorithm, wherein the supervision notice includes the supervision information to be submitted and the submission deadline associated with the supervision content;

处理模块,用于若所述目标企业区块链节点未在所述提交期限内提交所述待提交监管资料,则对所述目标企业区块链节点进行处理。A processing module is used to process the target enterprise blockchain node if the target enterprise blockchain node fails to submit the regulatory information to be submitted within the submission period.

在本申请一些实施方案中,所述装置还包括:In some embodiments of the present application, the device further comprises:

解密模块,用于若所述目标企业区块链节点未在所述提交期限内,但通过预设的公钥加密算法提交了待提交监管资料,则所述目标监管区块链节点通过预先获取的私钥解密所述待提交监管资料;A decryption module, used for, if the target enterprise blockchain node has not submitted the regulatory information to be submitted within the submission period but has submitted the regulatory information to be submitted through a preset public key encryption algorithm, the target regulatory blockchain node decrypts the regulatory information to be submitted through a pre-acquired private key;

确认模块,用于若确定所述待提交监管资料符合要求,向所述其他监管区块链节点发布资料符合要求的确认信息。The confirmation module is used to issue confirmation information that the information meets the requirements to the other regulatory blockchain nodes if it is determined that the regulatory information to be submitted meets the requirements.

在本申请一些实施方案中,所述装置还包括:In some embodiments of the present application, the device further comprises:

第一注册模块,用于获取第一区块链节点加入区块链系统的第一注册请求,所述第一注册请求为监管区块链节点的注册请求;将所述第一注册请求转发到所述多个监管区块链节点,以使得所述多个监管区块链节点反馈第一注册意见;若所述各所述多个监管区块链节点反馈的第一注册意见中为同意注册的监管区块链节点达到第二预设数量要求,则通过所述第一注册请求。The first registration module is used to obtain a first registration request for a first blockchain node to join the blockchain system, wherein the first registration request is a registration request for a regulatory blockchain node; forward the first registration request to the multiple regulatory blockchain nodes so that the multiple regulatory blockchain nodes provide feedback on first registration opinions; if the number of regulatory blockchain nodes that agree to register in the first registration opinions provided by each of the multiple regulatory blockchain nodes reaches a second preset number requirement, the first registration request is approved.

在本申请一些实施方案中,所述装置还包括:In some embodiments of the present application, the device further comprises:

第二注册模块,用于获取第二区块链节点加入区块链系统的第二注册请求,所述第二注册请求为企业区块链节点的注册请求;将所述第二注册请求转发到所述多个监管区块链节点,以使得所述多个监管区块链节点反馈第二注册意见;若所述各所述多个监管区块链节点反馈的第二注册意见中为同意注册的监管区块链节点达到第三预设数量要求,则通过所述第二注册请求。The second registration module is used to obtain a second registration request for a second blockchain node to join the blockchain system, where the second registration request is a registration request for an enterprise blockchain node; forward the second registration request to the multiple regulatory blockchain nodes so that the multiple regulatory blockchain nodes provide feedback on second registration opinions; if the number of regulatory blockchain nodes that agree to register in the second registration opinions provided by each of the multiple regulatory blockchain nodes reaches a third preset number requirement, the second registration request is approved.

另一方面,本申请还提供一种电子设备,所述电子设备包括:On the other hand, the present application also provides an electronic device, the electronic device comprising:

一个或多个处理器;one or more processors;

存储器;以及Memory; and

一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行以实现第一方面中任一项所述的基于区块链的供应链数据监管方法。One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the blockchain-based supply chain data supervision method described in any one of the first aspects.

第四方面,本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器进行加载,以执行第一方面任一项所述的基于区块链的供应链数据监管方法中的步骤。In a fourth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is loaded by a processor to execute the steps in the blockchain-based supply chain data supervision method described in any one of the first aspects.

本申请实施例中监管部门对应的监管区块链节点可以在必要的时候访问区块链系统中的数据,以保证能够及时取证、确责、追责,同时结合链上链下存储机制和共识机制,监管区块链节点可在必要时候申请访问链上任何企业数据,通过多个监管区块链节点的共识过程,既保证企业的隐私数据不会被竞争对手和其它无关方得到,又满足了政府部门的监管需求,存证上链保证了本地存储的信息不可被随意篡改,实现了政府访问供应链数据的最高权限。另外,该监管共识机制可以保证企业数据安全不会因为某一个或少数几个监管区块链节点出现腐败、被攻击、故障等问题而受到威胁。提出访问企业敏感数据的申请必须达到预设数量要求的监管区块链节点确认,提出申请的监管部门才能获得相应的数据,使得全链的监管区块链节点共同监督整个数据获取过程。In the embodiment of the present application, the supervisory blockchain node corresponding to the supervisory department can access the data in the blockchain system when necessary to ensure timely evidence collection, confirmation of responsibility, and accountability. At the same time, combined with the on-chain and off-chain storage mechanisms and consensus mechanisms, the supervisory blockchain node can apply for access to any enterprise data on the chain when necessary. Through the consensus process of multiple supervisory blockchain nodes, it is not only guaranteed that the privacy data of the enterprise will not be obtained by competitors and other unrelated parties, but also meets the supervision needs of government departments. The evidence storage chain ensures that the locally stored information cannot be tampered with at will, and realizes the highest authority for the government to access supply chain data. In addition, the supervisory consensus mechanism can ensure that the security of enterprise data will not be threatened by corruption, attacks, failures, etc. in one or a few supervisory blockchain nodes. The application for access to sensitive enterprise data must be confirmed by the supervisory blockchain nodes that meet the preset number of requirements, and the supervisory department that applies can obtain the corresponding data, so that the supervisory blockchain nodes of the entire chain jointly supervise the entire data acquisition process.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

图1是本申请实施例提供的区块链系统的场景示意图;FIG1 is a schematic diagram of a blockchain system provided in an embodiment of the present application;

图2是本申请实施例中提供的基于区块链的供应链数据监管方法的一个实施例流程示意图;FIG2 is a flow chart of an embodiment of a supply chain data supervision method based on blockchain provided in an embodiment of the present application;

图3是本申请实施例中步在图1基础上基于区块链的供应链数据监管方法的一个实施例流程示意图;FIG3 is a flowchart of an embodiment of a supply chain data supervision method based on blockchain based on FIG1 in the first step of the embodiment of the present application;

图4是本申请实施例中在图1基础上基于区块链的供应链数据监管方法的一个实施例流程示意图;FIG4 is a schematic diagram of an embodiment of a supply chain data supervision method based on blockchain in an embodiment of the present application based on FIG1 ;

图5是本申请实施例中在图1基础上基于区块链的供应链数据监管方法的一个实施例流程示意图;FIG5 is a schematic diagram of an embodiment of a supply chain data supervision method based on blockchain in an embodiment of the present application based on FIG1 ;

图6是本申请实施例中区块链系统数据流的一个场景示意图;FIG6 is a schematic diagram of a scenario of a blockchain system data flow in an embodiment of the present application;

图7是本申请实施例中提供的基于区块链的供应链数据监管装置的一个实施例结构示意图;FIG7 is a schematic diagram of the structure of an embodiment of a supply chain data supervision device based on blockchain provided in an embodiment of the present application;

图8是本申请实施例中提供的电子设备的一个实施例结构示意图。FIG. 8 is a schematic diagram of the structure of an embodiment of an electronic device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

在本申请的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

在本申请中,“示例性”一词用来表示“用作例子、例证或说明”。本申请中被描述为“示例性”的任何实施例不一定被解释为比其它实施例更优选或更具优势。为了使本领域任何技术人员能够实现和使用本申请,给出了以下描述。在以下描述中,为了解释的目的而列出了细节。应当明白的是,本领域普通技术人员可以认识到,在不使用这些特定细节的情况下也可以实现本申请。在其它实例中,不会对公知的结构和过程进行详细阐述,以避免不必要的细节使本申请的描述变得晦涩。因此,本申请并非旨在限于所示的实施例,而是与符合本申请所公开的原理和特征的最广范围相一致。In this application, the word "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any technician in the field to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other instances, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.

下面首先对本申请实施例中涉及到的一些基本概念进行介绍:The following first introduces some basic concepts involved in the embodiments of the present application:

DHT(Distributed Hash Table)技术,中文名为分布式哈希表,是一种对分布式资源进行组织、管理与发现服务的技术。采用DHT技术的网络中每一个节点均负责一小部分路由和储存一部分数据,在没有中性化服务器场景中使用特定的查找机制在各节点接力协助下最终获取到特定的存储资源。相应地,DHT技术也可以将特定的资源通过某种映射机制存储的对应的网络节点上。DHT技术有很多P2P协议实现,著名的有CAN,Chord,Pastry,Tapestry,Kademlia。DHT (Distributed Hash Table) technology, also known as distributed hash table in Chinese, is a technology for organizing, managing and discovering services for distributed resources. In a network using DHT technology, each node is responsible for a small part of routing and storing a part of data. In a scenario without a neutral server, a specific search mechanism is used to finally obtain specific storage resources with the assistance of each node. Correspondingly, DHT technology can also store specific resources on the corresponding network nodes through a certain mapping mechanism. There are many P2P protocols to implement DHT technology, the famous ones are CAN, Chord, Pastry, Tapestry, and Kademlia.

区块链是一个信息技术领域的术语。从本质上讲,它是一个共享数据库,存储于其中的数据或信息,具有“不可伪造”“全程留痕”“可以追溯”“公开透明”“集体维护”等特征。基于这些特征,区块链技术奠定了坚实的“信任”基础,创造了可靠的“合作”机制,具有广阔的运用前景。Blockchain is a term in the field of information technology. In essence, it is a shared database, and the data or information stored in it has the characteristics of "unforgeable", "full traceability", "traceability", "openness and transparency", and "collective maintenance". Based on these characteristics, blockchain technology has laid a solid foundation of "trust", created a reliable "cooperation" mechanism, and has broad application prospects.

区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),是比特币的一个重要概念,它本质上是一个去中心化的数据库,同时作为比特币的底层技术,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次比特币网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is an important concept of Bitcoin. It is essentially a decentralized database. At the same time, as the underlying technology of Bitcoin, it is a string of data blocks generated by cryptographic methods. Each data block contains a batch of Bitcoin network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block.

区块链节点(Node):节点是区块链分布式系统中的网络节点,是通过网络连接的服务器、计算机、电话等,针对不同性质的区块链,成为节点的方式也会有所不同,以比特币为例,参与交易或挖矿即构成一个节点。Blockchain node: A node is a network node in a blockchain distributed system. It is a server, computer, phone, etc. connected through a network. For blockchains of different natures, the way to become a node will also be different. Taking Bitcoin as an example, participating in transactions or mining constitutes a node.

智能合约:是一套以数字形式定义、传播、验证或执行的约定,包括合约参与方可以在上面执行这些约定的协议。智能合约允许在没有第三方的情况下进行可信交易,这些交易可追踪且不可逆转。在区块链中智能合约用作管理交易,是以脚本代码为主的一组逻辑规则。程序会在执行交易时读取合约代码,执行并处理结果。智能合约的性质不但可以限于特定于某个应用程序的代码,也可以用于将协议的条款和条件编入交易流程中。Smart Contract: A set of digitally defined, propagated, verified or executed agreements, including protocols on which the parties can execute these agreements. Smart contracts allow for trusted transactions without a third party, which are traceable and irreversible. Smart contracts are used to manage transactions in blockchains and are a set of logical rules based on script code. The program reads the contract code when executing transactions, executes it and processes the results. The nature of smart contracts can not only be limited to code specific to a certain application, but can also be used to weave the terms and conditions of the agreement into the transaction process.

创世块:区块链账本里第一个区块数据,作为区块链的首区块。Genesis block: The first block of data in the blockchain ledger, which is the first block of the blockchain.

联盟链:只针对特定某个群体的成员和有限的第三方,内部指定多个预选的节点为记账人,每个块的生成由所有的预选节点共同决定,其他接入节点可以参与交易,但不过问记账过程,其他第三方可以通过该区块链开放的API进行限定查询。为了获得更好的性能,联盟链对于共识或验证节点的配置和网络环境有一定要求。有了准入机制,可以使得交易性能更容易提高,避免由参次不齐的参与者产生的一些问题。联盟链的维护治理,一般由联盟成员进行,通常采用选举制度,容易进行权限控制,代码一般部分开源或定向开源,主要由成员团队进行开发,或采取厂家定制产品。Consortium chain: only for members of a specific group and limited third parties, multiple pre-selected nodes are designated as bookkeepers. The generation of each block is jointly determined by all pre-selected nodes. Other access nodes can participate in transactions, but do not ask about the bookkeeping process. Other third parties can make limited queries through the open API of the blockchain. In order to obtain better performance, the consortium chain has certain requirements for the configuration and network environment of consensus or verification nodes. With the access mechanism, transaction performance can be more easily improved and some problems caused by uneven participants can be avoided. The maintenance and governance of the consortium chain is generally carried out by the consortium members, usually using an election system, which is easy to control permissions. The code is generally partially open source or targeted open source, mainly developed by the member team, or customized by the manufacturer.

PBFT:Practical Byzantine Fault Tolerance的缩写,即:实用拜占庭容错算法,是联盟币的共识算法的基础。实现了在有限个节点的情况下的拜占庭问题,有3f+1的容错性,并同时保证一定的性能。该算法是Miguel Castro(卡斯特罗)和Barbara Liskov(利斯科夫)在1999年提出来的,解决了原始拜占庭容错算法效率不高的问题,算法的时间复杂度是O(n^2),使得在实际系统应用中可以解决拜占庭容错问题。PBFT: Practical Byzantine Fault Tolerance, that is, practical Byzantine fault tolerance algorithm, is the basis of the consensus algorithm of Union Coin. It realizes the Byzantine problem under the condition of limited nodes, has 3f+1 fault tolerance, and guarantees certain performance at the same time. The algorithm was proposed by Miguel Castro and Barbara Liskov in 1999, which solved the problem of low efficiency of the original Byzantine fault tolerance algorithm. The time complexity of the algorithm is O(n^2), which makes it possible to solve the Byzantine fault tolerance problem in actual system applications.

本申请实施例提供一种基于区块链的供应链数据监管方法、电子设备及存储介质,以下分别进行详细说明。The embodiments of the present application provide a supply chain data supervision method, electronic device, and storage medium based on blockchain, which are described in detail below.

请参阅图1,图1为本申请实施例所提供的区块链系统的场景示意图,该区块链系统为基于区块链的供应链系统,该区块链系统中包括多个区块链节点,所述多个区块链节点中包括多个监管区块链节点,企业区块链节点和用户区块链节点,所述监管区块链节点的权限大于所述企业区块链节点和用户区块链节点,所述企业区块链节点的权限大于所述用户区块链节点。如图1所示,监管区块链节点可以是政府节点,企业区块链节点即图1中企业节点,用户区块链节点即消费者节点。Please refer to Figure 1, which is a scene diagram of the blockchain system provided in the embodiment of the present application. The blockchain system is a supply chain system based on blockchain. The blockchain system includes multiple blockchain nodes, including multiple regulatory blockchain nodes, enterprise blockchain nodes and user blockchain nodes. The authority of the regulatory blockchain node is greater than that of the enterprise blockchain node and the user blockchain node, and the authority of the enterprise blockchain node is greater than that of the user blockchain node. As shown in Figure 1, the regulatory blockchain node can be a government node, the enterprise blockchain node is the enterprise node in Figure 1, and the user blockchain node is the consumer node.

本申请实施例中方法可以是其中某个区块链节点对应的电子设备,该电子设备主要用于获取所述多个监管区块链节点中目标监管区块链节点针对目标企业的监管请求,所述监管请求中包括监管原因和监管内容;将所述监管请求向所述多个监管区块链节点中其他监管区块链节点进行传播,以使得所述其他监管区块链节点基于所述监管原因和监管内容,向所述目标监管区块链节点反馈监管意见;若所述各所述其他监管区块链节点反馈监管意见中为同意监管的监管区块链节点达到第一预设数量要求,则通过所述监管请求。In the embodiment of the present application, the method can be an electronic device corresponding to one of the blockchain nodes, and the electronic device is mainly used to obtain a regulatory request from a target regulatory blockchain node among the multiple regulatory blockchain nodes for a target enterprise, wherein the regulatory request includes regulatory reasons and regulatory content; the regulatory request is propagated to other regulatory blockchain nodes among the multiple regulatory blockchain nodes, so that the other regulatory blockchain nodes, based on the regulatory reasons and regulatory content, provide feedback of regulatory opinions to the target regulatory blockchain node; if the number of regulatory blockchain nodes that agree to the supervision in the regulatory opinions fed back by each of the other regulatory blockchain nodes reaches a first preset number requirement, the regulatory request is approved.

本申请实施例中,区块链节点可以为电子设备,例如用户终端或服务器,其中,服务器可以是独立的服务器,也可以是服务器组成的服务器网络或服务器集群,例如,本申请实施例中所描述的服务器,其包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云服务器。其中,云服务器由基于云计算(Cloud Computing)的大量计算机或网络服务器构成。本申请的实施例中,服务器与用户终端之间可通过任何通信方式实现通信,包括但不限于,基于第三代合作伙伴计划(3rd GenerationPartnership Project,3GPP)、长期演进(Long Term Evolution,LTE)、全球互通微波访问(Worldwide Interoperability for Microwave Access,WiMAX)的移动通信,或基于TCP/IP协议族(TCP/IP Protocol Suite,TCP/IP)、用户数据报协议(User Datagram Protocol,UDP)协议的计算机网络通信等。In the embodiment of the present application, the blockchain node can be an electronic device, such as a user terminal or a server, wherein the server can be an independent server, or a server network or server cluster composed of servers, for example, the server described in the embodiment of the present application includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a plurality of servers. Cloud servers. Among them, cloud servers are composed of a large number of computers or network servers based on cloud computing (Cloud Computing). In the embodiment of the present application, communication between the server and the user terminal can be achieved by any communication method, including but not limited to, mobile communications based on the third generation partnership project (3rd Generation Partnership Project, 3GPP), long term evolution (Long Term Evolution, LTE), Worldwide Interoperability for Microwave Access (Worldwide Interoperability for Microwave Access, WiMAX), or computer network communications based on TCP/IP protocol suite (TCP/IP Protocol Suite, TCP/IP), User Datagram Protocol (User Datagram Protocol, UDP) protocol, etc.

可以理解的是,本申请实施例中所使用的用户终端既包括接收和发射硬件的设备,即具有能够在双向通信链路上,执行双向通信的接收和发射硬件的设备。这种用户终端设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备。具体的用户终端具体可以是台式终端或移动终端,用户终端具体可以手机、平板电脑、笔记本电脑等中的一种。It is to be understood that the user terminal used in the embodiments of the present application includes both receiving and transmitting hardware devices, that is, devices with receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such user terminal devices may include: cellular or other communication devices having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. The specific user terminal may be a desktop terminal or a mobile terminal, and the user terminal may be one of a mobile phone, a tablet computer, a laptop computer, etc.

本领域技术人员可以理解,图1中示出的应用环境,仅仅是与本申请方案一种应用场景,并不构成对本申请方案应用场景的限定,其他的应用环境还可以包括比图1中所示更多或更少的区块链节点,例如图1中仅示出一部分企业区块链节点,政府节点和消费者节点,可以理解的,该区块链系统还可以包括更多的区块链节点,具体此处不作限定。Those skilled in the art will understand that the application environment shown in FIG. 1 is merely one application scenario of the present application scheme and does not constitute a limitation on the application scenario of the present application scheme. Other application environments may also include more or fewer blockchain nodes than those shown in FIG. 1 . For example, FIG. 1 only shows a portion of enterprise blockchain nodes, government nodes, and consumer nodes. It is understandable that the blockchain system may also include more blockchain nodes, which are not specifically limited here.

需要说明的是,图1所示的区块链系统的场景示意图仅仅是一个示例,本申请实施例描述的区块链系统以及场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着区块链系统的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It should be noted that the scenario diagram of the blockchain system shown in Figure 1 is only an example. The blockchain system and scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of the blockchain system and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

由于传统的监管系统设计并没有办法很好地满足用户对于产品全生命周期追溯和供应链管理的需求,尤其是“监管难”的问题十分突出,主要体现在以下四个方面:The traditional regulatory system design cannot well meet the needs of users for product life cycle traceability and supply chain management. In particular, the problem of "difficulty in supervision" is very prominent, which is mainly reflected in the following four aspects:

(1)一个工业产品的全生命周期通常时间较长,中间涉及复杂的流程和很多的参与者。在这个过程中,中心化系统无法保证数据在输入、传递、交互过程中始终保持真实可靠。(1) The entire life cycle of an industrial product is usually long, involving complex processes and many participants. In this process, the centralized system cannot guarantee that the data remains authentic and reliable during input, transmission, and interaction.

(2)中心化系统容易受到“单点故障”的影响,一旦中心数据库受到腐败问题、恶意攻击或意外故障的影响,整个供应链都可能会蒙受损失。(2) Centralized systems are susceptible to “single point failures”. Once the central database is affected by corruption, malicious attacks, or unexpected failures, the entire supply chain may suffer losses.

(3)不同监管部门之间难以实现实时数据共享,容易造成“数据孤岛”,进而制约监管工作的协同。(3) It is difficult to achieve real-time data sharing among different regulatory departments, which can easily lead to “data islands” and thus restrict the coordination of regulatory work.

(4)在整个供应链涉及诸多参与主体时,产品难以被全程追溯,直接造成监管部门确责难、追责难。而且,一旦产品发生问题,无法做到第一时间召回以减少损失。(4) When the entire supply chain involves many participants, it is difficult to trace the product throughout the entire process, which directly makes it difficult for regulatory authorities to determine and hold accountable. Moreover, once a product has a problem, it is impossible to recall it in the first place to reduce losses.

基于上述问题,本申请提出一种基于区块链的供应链数据监管方案,主要目的就是克服监管方(如政府)对于数据监管的高披露要求和企业需要保护涉及商业机密的隐私数据之间的矛盾。Based on the above problems, this application proposes a blockchain-based supply chain data supervision solution, the main purpose of which is to overcome the contradiction between the high disclosure requirements of regulators (such as the government) for data supervision and the need for enterprises to protect privacy data involving commercial secrets.

区块链技术核心是当前链上的所有参与节点之间共同维护链上存储的交易信息,使得交易信息基于密码学原理而不是基于信任,无需第三方参与。区块链技术具有去中心化、不可篡改、开放透明、机器自治等重要特征,以此可以解决交易过程中的信任和安全问题,保证数据在传输和存储过程中的安全可靠。同时,去中心化的系统可以解决“单点故障”问题,打破数据孤岛,实现链上全节点联动和协同。The core of blockchain technology is that all participating nodes on the current chain jointly maintain the transaction information stored on the chain, so that the transaction information is based on cryptographic principles rather than trust, and no third party participation is required. Blockchain technology has important features such as decentralization, immutability, openness, transparency, and machine autonomy, which can solve the trust and security issues in the transaction process and ensure the security and reliability of data during transmission and storage. At the same time, the decentralized system can solve the "single point failure" problem, break the data island, and realize the linkage and coordination of all nodes on the chain.

为了保证系统的高性能以及监管要求,本申请实施例中区块链系统采用基于PBFT共识机制的联盟链形式。由政府监管节点作为政府(Delegates)节点,负责收集网络中的交易,验证交易并将其打包进区块,广播区块,并在经过验证之后完成上链。这种监管机制十分适合政府监管节点要求数据访问最高权限的区块链系统。政府节点的权限本身高于一般节点,这使得其可以更好地保证系统正常运行,同时便于监管部门开展监管工作。此外,这种共识机制有效的避免了竞争出块的时间和计算成本浪费,保证了出块过程快速、稳定。In order to ensure the high performance and regulatory requirements of the system, the blockchain system in the embodiment of the present application adopts the form of a consortium chain based on the PBFT consensus mechanism. The government regulatory node serves as the government (Delegates) node, which is responsible for collecting transactions in the network, verifying transactions and packaging them into blocks, broadcasting blocks, and completing the chain after verification. This regulatory mechanism is very suitable for blockchain systems where government regulatory nodes require the highest authority to access data. The authority of the government node itself is higher than that of the general node, which makes it better to ensure the normal operation of the system and facilitate the regulatory authorities to carry out regulatory work. In addition, this consensus mechanism effectively avoids the waste of time and computing costs in competing for blocks, and ensures that the block process is fast and stable.

在这种系统模式中,共识过程受到预选节点(政府部门节点)的控制,因此其属于联盟链,具有弱中心化、数据及系统可控性较强、交易速度快等优势。In this system model, the consensus process is controlled by pre-selected nodes (government department nodes), so it belongs to a consortium chain and has the advantages of weak centralization, strong data and system controllability, and fast transaction speed.

由上可知,区块链系统主要针对监管方(如政府节点)、企业、消费者三类用户,且其对功能需求各不相同。因此,为了方便管理,区块链系统对于不同类型的节点权限进行分级。As can be seen above, the blockchain system is mainly aimed at three types of users: regulators (such as government nodes), enterprises, and consumers, and their functional requirements are different. Therefore, in order to facilitate management, the blockchain system classifies the permissions of different types of nodes.

政府节点拥有最高权限,轮流担任PBFT共识的主节点,负责出块和系统管理。政府节点可因监管需求向系统提出查阅任意一条交易信息的申请,须在申请中阐明原因(如监管事件立案编号)以及需要查询的涉事企业相关交易编号,申请需要有超过三分之二的政府节点确认通过才可获取数据。Government nodes have the highest authority and take turns to serve as the master node of PBFT consensus, responsible for block generation and system management. Government nodes can apply to the system to access any transaction information due to regulatory needs. The application must state the reason (such as the case filing number of the regulatory event) and the transaction number of the company involved that needs to be queried. The application needs to be confirmed by more than two-thirds of the government nodes before the data can be obtained.

企业节点的权限次于政府节点,其在注册时需要提交相应的企业资质认证,在通过三分之二以上的政府节点认证之后才能成功。企业节点可在系统中发起交易,并且有披露交易基本信息(涉及消费者追溯需要的数据)和永久存储详细交易信息并将存证上链的义务。The authority of enterprise nodes is lower than that of government nodes. Enterprise nodes need to submit corresponding enterprise qualification certification when registering, and can only succeed after passing the certification of more than two-thirds of government nodes. Enterprise nodes can initiate transactions in the system and have the obligation to disclose basic transaction information (involving data required for consumer tracing) and permanently store detailed transaction information and store it on the chain.

消费者节点的权限是最小的,其只能查阅链上基本数据,追溯产品全生命周期和基本信息变化。The permissions of consumer nodes are minimal, and they can only access basic data on the chain and trace the entire life cycle of the product and changes in basic information.

节点权限在注册时即确定,任意节点需要更改权限,需要在系统中提出申请,在申请中说明更改原因,补充相应类型节点需要的资质材料,经过预设数量(如三分之二以上)的政府节点认证之后才能完成更改。在这个流程中,所有的信息全链公开,所有节点均可监督。Node permissions are determined at the time of registration. If any node needs to change permissions, it needs to apply in the system, explain the reason for the change in the application, and supplement the qualification materials required for the corresponding type of node. The change can only be completed after being certified by a preset number of government nodes (such as more than two-thirds). In this process, all information is open to the public and all nodes can be supervised.

基于上述内容,本申请实施例中首先提供一种基于区块链的供应链数据监管方法,该基于区块链的供应链数据监管方法的执行主体为基于区块链的供应链数据监管装置,该基于区块链的供应链数据监管装置应用于电子设备,该基于区块链的供应链数据监管方法包括:获取所述多个监管区块链节点中目标监管区块链节点针对目标企业的监管请求,所述监管请求中包括监管原因和监管内容;将所述监管请求向所述多个监管区块链节点中其他监管区块链节点进行传播,以使得所述其他监管区块链节点基于所述监管原因和监管内容,向所述目标监管区块链节点反馈监管意见;若所述各所述其他监管区块链节点反馈监管意见中为同意监管的监管区块链节点达到第一预设数量要求,则通过所述监管请求。Based on the above content, in an embodiment of the present application, a supply chain data supervision method based on blockchain is first provided, and the executor of the supply chain data supervision method based on blockchain is a supply chain data supervision device based on blockchain, and the supply chain data supervision device based on blockchain is applied to electronic devices, and the supply chain data supervision method based on blockchain includes: obtaining a supervision request of a target supervision blockchain node among the multiple supervision blockchain nodes for a target enterprise, and the supervision request includes a supervision reason and a supervision content; propagating the supervision request to other supervision blockchain nodes among the multiple supervision blockchain nodes, so that the other supervision blockchain nodes, based on the supervision reason and the supervision content, feedback supervision opinions to the target supervision blockchain node; if the number of supervision blockchain nodes that agree to supervision in the supervision opinions fed back by each of the other supervision blockchain nodes reaches a first preset number requirement, the supervision request is passed.

如图2所示,为本申请实施例中基于区块链的供应链数据监管方法的一个实施例流程示意图,该基于区块链的供应链数据监管方法包括如下步骤201~203:As shown in FIG. 2 , it is a flow chart of an embodiment of a supply chain data supervision method based on blockchain in an embodiment of the present application. The supply chain data supervision method based on blockchain includes the following steps 201 to 203:

201、获取所述多个监管区块链节点中目标监管区块链节点针对目标企业的监管请求。201. Obtain a regulatory request from a target regulatory blockchain node among the multiple regulatory blockchain nodes for a target enterprise.

例如,当某个政府节点对于某个企业有监管审查需要时(如企业的产品发生质量安全事件或被举报),该政府节点作为监管区块链节点,需要在区块链系统中提出监管请求,其中,该监管请求中包括监管原因和监管内容,例如,监管请求中包含希望访问的涉事交易编号及发起监管审查的原因,每次审查发起会形成其对应的唯一的审查事件编号,便于后续跟进。For example, when a government node needs to conduct a regulatory review of a certain enterprise (such as when a quality and safety incident occurs in the enterprise's product or the enterprise is reported), the government node, as a regulatory blockchain node, needs to submit a regulatory request in the blockchain system. The regulatory request includes the regulatory reason and regulatory content. For example, the regulatory request includes the transaction number involved that you wish to access and the reason for initiating the regulatory review. Each review initiated will generate a corresponding unique review event number to facilitate subsequent follow-up.

202、将所述监管请求向所述多个监管区块链节点中其他监管区块链节点进行传播,以使得所述其他监管区块链节点基于所述监管原因和监管内容,向所述目标监管区块链节点反馈监管意见。202. Propagate the regulatory request to other regulatory blockchain nodes among the multiple regulatory blockchain nodes, so that the other regulatory blockchain nodes provide regulatory feedback to the target regulatory blockchain node based on the regulatory reasons and regulatory contents.

其中,各监管区块链节点反馈的监管意见为同意监管或者不同意监管。Among them, the regulatory opinions fed back by each regulatory blockchain node are either agreement or disagreement with the regulation.

203、若所述各所述其他监管区块链节点反馈监管意见中为同意监管的监管区块链节点达到第一预设数量要求,则通过所述监管请求。203. If the number of regulatory blockchain nodes that agree to the supervision in the regulatory opinions fed back by the other regulatory blockchain nodes reaches a first preset number requirement, the regulatory request is approved.

具体的,可以收集到其他监管区块链节点所有的监管意见,可以统计监管意见中同意监管和不同意监管的数量,若所述各所述其他监管区块链节点反馈监管意见中为同意监管的监管区块链节点达到第一预设数量要求,则通过所述监管请求。Specifically, all regulatory opinions of other regulatory blockchain nodes can be collected, and the number of regulatory opinions that agree and disagree with the regulation can be counted. If the number of regulatory blockchain nodes that agree to the regulation in the regulatory opinions fed back by the other regulatory blockchain nodes reaches a first preset number requirement, the regulatory request is approved.

其中,第一预设数量要求可以是比例要求,例如所有监管区块链节点的2/3。即表示同意监管的监管区块链节点达到所有监管区块链节点的2/3,则通过所述监管请求。The first preset quantity requirement may be a ratio requirement, such as 2/3 of all regulatory blockchain nodes. This means that if the regulatory blockchain nodes that agree to be regulated reach 2/3 of all regulatory blockchain nodes, the regulatory request is approved.

本申请实施例中监管部门对应的监管区块链节点可以在必要的时候访问区块链系统中的数据,以保证能够及时取证、确责、追责,同时结合链上链下存储机制和共识机制,监管区块链节点可在必要时候申请访问链上任何企业数据,通过多个监管区块链节点的共识过程,既保证企业的隐私数据不会被竞争对手和其它无关方得到,又满足了政府部门的监管需求,存证上链保证了本地存储的信息不可被随意篡改,实现了政府访问供应链数据的最高权限。另外,该监管共识机制可以保证企业数据安全不会因为某一个或少数几个监管区块链节点出现腐败、被攻击、故障等问题而受到威胁。提出访问企业敏感数据的申请必须达到预设数量要求的监管区块链节点确认,提出申请的监管部门才能获得相应的数据,使得全链的监管区块链节点共同监督整个数据获取过程。In the embodiment of the present application, the supervisory blockchain node corresponding to the supervisory department can access the data in the blockchain system when necessary to ensure that it can obtain evidence, confirm responsibility, and pursue responsibility in a timely manner. At the same time, combined with the storage mechanism and consensus mechanism on and off the chain, the supervisory blockchain node can apply for access to any enterprise data on the chain when necessary. Through the consensus process of multiple supervisory blockchain nodes, it is not only guaranteed that the privacy data of the enterprise will not be obtained by competitors and other unrelated parties, but also meets the supervision needs of government departments. The evidence storage chain ensures that the locally stored information cannot be tampered with at will, and realizes the highest authority for the government to access supply chain data. In addition, the supervisory consensus mechanism can ensure that the security of enterprise data will not be threatened by corruption, attacks, failures, etc. in one or a few supervisory blockchain nodes. The application for access to sensitive enterprise data must be confirmed by the supervisory blockchain nodes that meet the preset number of requirements, and the supervisory department that applies can obtain the corresponding data, so that the supervisory blockchain nodes of the entire chain jointly supervise the entire data acquisition process.

对于上述的区块链系统,实现政府部门的最高权限是最主要的目的之一。最高权限主要是指在必要的时候(如质量安全恶性事件发生时),政府相关部门可以因监管需要而获取到区块链上的任意数据,包括涉及企业隐私的敏感数据。要实现这一目标首先需要克服两个问题:For the above blockchain system, achieving the highest authority of government departments is one of the main purposes. The highest authority mainly means that when necessary (such as when a quality and safety incident occurs), the relevant government departments can obtain any data on the blockchain for regulatory purposes, including sensitive data involving corporate privacy. To achieve this goal, we must first overcome two problems:

(1)基于保护企业隐私的前提,敏感数据只能在必要时候,让特定的监管部门访问。(1) Based on the premise of protecting corporate privacy, sensitive data can only be accessed by specific regulatory departments when necessary.

(2)要避免因链上某个政府节点受到腐败问题、意外故障、恶意攻击等影响而造成企业隐私数据泄露。(2) Avoid leakage of corporate privacy data due to corruption, accidental failure, malicious attack, etc. on a government node on the chain.

针对这两个问题,本申请提出一个多方联合控制机密数据的方案,该方案核心在于必须经过多方共识才能获取相应数据,且不会因为某一方密码丢失造成信息永久丢失。这样一来,没有任意一方可以私自获取数据就保证了数据不会因为某一方发生问题而泄露。多方相互监督、相互牵制,使得需要访问敏感信息的节点必须在需要时提出合理申请,通过多方确认的共识过程,才可访问数据。这样也将访问记录留在了区块链上,链上所有节点均可监督。In response to these two problems, this application proposes a solution for multi-party joint control of confidential data. The core of this solution is that the corresponding data can only be obtained through multi-party consensus, and the information will not be permanently lost due to the loss of the password of one party. In this way, no one party can obtain the data privately, which ensures that the data will not be leaked due to problems with one party. Multiple parties supervise and restrain each other, so that nodes that need to access sensitive information must make reasonable applications when necessary, and can access the data only through a consensus process confirmed by multiple parties. This also leaves the access records on the blockchain, which can be supervised by all nodes on the chain.

因此,在本申请一些实施方案中,在通过所述监管请求之后,如图3所示,所述方法还包括301~302:Therefore, in some embodiments of the present application, after the supervision request is passed, as shown in FIG3 , the method further includes 301 to 302:

301、向所述目标企业对应的目标企业区块链节点发送监管通知,以使得所述目标企业区块节点通过预设的公钥加密算法提交待提交监管资料,所述监管通知中包括与所述监管内容关联的待提交监管资料和提交期限。301. Send a supervision notice to the target enterprise blockchain node corresponding to the target enterprise, so that the target enterprise block node submits the supervision information to be submitted through a preset public key encryption algorithm, and the supervision notice includes the supervision information to be submitted and the submission deadline associated with the supervision content.

302、若所述目标企业区块链节点未在所述提交期限内提交所述待提交监管资料,则对所述目标企业区块链节点进行处理。302. If the target enterprise blockchain node fails to submit the regulatory information to be submitted within the submission period, the target enterprise blockchain node is processed.

其中,目标企业区块节点会通过预设公钥加密提交给相应的监管区块链节点,既保证数据对其它各方不可见,又能使得全链共同监督整个过程。企业在交易完成时上链的隐私数据的存证可以保证企业无法肆意篡改材料,一旦其提交给监管部门的材料与存证记录不符,企业需要承担相应的责任和处罚。Among them, the target enterprise block node will be submitted to the corresponding regulatory blockchain node through the preset public key encryption, which not only ensures that the data is invisible to other parties, but also enables the entire chain to jointly supervise the entire process. The storage of private data on the chain when the transaction is completed can ensure that the enterprise cannot arbitrarily tamper with the materials. Once the materials submitted to the regulatory department are inconsistent with the storage records, the enterprise needs to bear the corresponding responsibilities and penalties.

进一步的,所述方法还包括:若所述目标企业区块链节点未在所述提交期限内,但通过预设的公钥加密算法提交了待提交监管资料,则所述目标监管区块链节点通过预先获取的私钥解密所述待提交监管资料;若确定所述待提交监管资料符合要求,向所述其他监管区块链节点发布资料符合要求的确认信息。Furthermore, the method also includes: if the target enterprise blockchain node has not submitted the regulatory information to be submitted within the submission period, but has submitted the regulatory information to be submitted through a preset public key encryption algorithm, the target regulatory blockchain node decrypts the regulatory information to be submitted through a pre-acquired private key; if it is determined that the regulatory information to be submitted meets the requirements, a confirmation information that the information meets the requirements is issued to the other regulatory blockchain nodes.

这样多方相互监督、相互牵制,使得需要访问敏感信息的节点必须在需要时提出合理申请,通过多方确认的共识过程,才可访问数据,在访问数据后同时还公布给其他监管区块链节点,进一步相互监督,降低敏感数据泄密风险。In this way, multiple parties supervise and check each other, so that nodes that need to access sensitive information must make reasonable applications when needed and can access the data only after a consensus process confirmed by multiple parties. After accessing the data, it is also announced to other regulatory blockchain nodes for further mutual supervision and reducing the risk of sensitive data leakage.

另外,在区块链节点加入区块链网络时,用户区块链节点无需注册即可加入,但其只有访问产品追溯信息的权限,监管区块链节点与企业区块链节点均需注册,保证高权限的区块链节点的身份认证安全。In addition, when a blockchain node joins a blockchain network, the user blockchain node can join without registration, but it only has access to product traceability information. Both regulatory blockchain nodes and enterprise blockchain nodes must be registered to ensure the identity authentication security of high-authority blockchain nodes.

具体的,针对监管区块链节点的注册流程,如图4所示,所述方法还可以包括如下步骤401~403:Specifically, with respect to the registration process of the regulatory blockchain node, as shown in FIG4 , the method may further include the following steps 401 to 403:

401、获取第一区块链节点加入区块链系统的第一注册请求,所述第一注册请求为监管区块链节点的注册请求。401. Obtain a first registration request for a first blockchain node to join a blockchain system, where the first registration request is a registration request for supervising a blockchain node.

402、将所述第一注册请求转发到所述多个监管区块链节点,以使得所述多个监管区块链节点反馈第一注册意见。402. Forward the first registration request to the multiple regulatory blockchain nodes so that the multiple regulatory blockchain nodes provide feedback on the first registration opinion.

403、若所述各所述多个监管区块链节点反馈的第一注册意见中为同意注册的监管区块链节点达到第二预设数量要求,则通过所述第一注册请求。403. If the number of regulatory blockchain nodes that agree to register in the first registration opinions fed back by each of the multiple regulatory blockchain nodes reaches a second preset number requirement, the first registration request is approved.

具体的,针对企业区块链节点的注册流程,如图5所示,所述方法还包括如下步骤501~503:Specifically, for the registration process of the enterprise blockchain node, as shown in FIG5 , the method further includes the following steps 501 to 503:

501、获取第二区块链节点加入区块链系统的第二注册请求,所述第二注册请求为企业区块链节点的注册请求;501. Obtain a second registration request for a second blockchain node to join the blockchain system, where the second registration request is a registration request for an enterprise blockchain node;

502、将所述第二注册请求转发到所述多个监管区块链节点,以使得所述多个监管区块链节点反馈第二注册意见;502. Forward the second registration request to the multiple regulatory blockchain nodes, so that the multiple regulatory blockchain nodes feedback the second registration opinion;

503、若所述各所述多个监管区块链节点反馈的第二注册意见中为同意注册的监管区块链节点达到第三预设数量要求,则通过所述第二注册请求。503. If the number of regulatory blockchain nodes that agree to register in the second registration opinions fed back by each of the multiple regulatory blockchain nodes reaches a third preset number requirement, the second registration request is approved.

其中,第一预设数量和第二预设数量可以相同,例如都是2/3比例对应的区块链节点数值,进一步的,由于监管区块链节点比企业区块链节点更加重要,更加影响数据安全性,因此,第二预设数量可以大于第三预设数量,即监管区块链节点的注册可以设置需要更多的监管区块链节点的同意注册,才能通过注册,进一步提高系统的安全性。Among them, the first preset number and the second preset number can be the same, for example, both are blockchain node values corresponding to a ratio of 2/3. Furthermore, since regulatory blockchain nodes are more important than enterprise blockchain nodes and have a greater impact on data security, the second preset number can be greater than the third preset number, that is, the registration of regulatory blockchain nodes can be set to require the consent of more regulatory blockchain nodes to register before registration can be passed, thereby further improving the security of the system.

如下表1所示,为本申请区块链系统中涉及的事件说明:As shown in Table 1 below, the events involved in the blockchain system of this application are described:

表1Table 1

当区块链系统中区块链为联盟链,监管区块链节点为政府节点,用户区块链节点为消费者节点,企业区块链节点为企业节点时,如图6所示,为区块链系统中,政府节点、消费者节点和企业节点的系统数据流示意图,下面结合一个简单流程对节点注册进行简单说明,具体如下:When the blockchain in the blockchain system is a consortium chain, the regulatory blockchain node is a government node, the user blockchain node is a consumer node, and the enterprise blockchain node is an enterprise node, as shown in Figure 6, it is a schematic diagram of the system data flow of the government node, consumer node and enterprise node in the blockchain system. The following is a simple description of node registration in combination with a simple process, as follows:

(1)发起注册申请,注册申请中包含注册的节点类型以及相应的申请信息与证明材料。(1) Initiate a registration application, which includes the node type to be registered and the corresponding application information and supporting materials.

(2)政府节点会验证其信息并通过共识过程决定是否批准加入,如果审核通过,政府节点会发布其注册申请通过的信息,该节点可以加入系统并被自动授予相关权限。(2) The government node will verify its information and decide whether to approve its joining through a consensus process. If the review is passed, the government node will publish information that its registration application has been approved. The node can join the system and be automatically granted relevant permissions.

注册之后的企业节点可通过系统进行交易,基本的交易流程如下:After registration, the enterprise node can trade through the system. The basic transaction process is as follows:

企业节点A向全网发起一个交易请求,请求信息主要包含产品当前的基本溯源信息、请求交易类型、以及唯一的交易编号。交易类型根据需求不同可分为三类:销售、运输、包装。Enterprise node A initiates a transaction request to the entire network. The request information mainly includes the current basic traceability information of the product, the requested transaction type, and the unique transaction number. Transaction types can be divided into three categories according to different needs: sales, transportation, and packaging.

企业节点B可为A提供服务,其会在与A谈妥条款之后,向全网发出对应的交易响应,其需要对A之前在申请中发出的产品基本溯源信息进行确认。交易响应信息还需要包括此次交易相关的智能合约编号(对应哈希值)、产生的财务现金流水以及交易相关的其它重要说明材料的本地存证。Enterprise node B can provide services for A. After negotiating the terms with A, it will send a corresponding transaction response to the entire network. It needs to confirm the basic product traceability information previously sent by A in the application. The transaction response information also needs to include the smart contract number (corresponding to the hash value) related to the transaction, the generated financial cash flow, and the local storage of other important explanatory materials related to the transaction.

在收到交易响应之后,企业节点A还需要再向全网发一个交易确认信息,通过计算信息哈希值来确定B上传的数据本地存证是否正确。After receiving the transaction response, enterprise node A needs to send a transaction confirmation message to the entire network to determine whether the local storage of the data uploaded by B is correct by calculating the information hash value.

至此,一笔简单的交易进行结束,为了有效保护企业隐私数据并且减少区块链系统的存储压力,系统使用线上线下相结合的存储方式,具体如下:At this point, a simple transaction is completed. In order to effectively protect corporate privacy data and reduce the storage pressure of the blockchain system, the system uses a combination of online and offline storage methods, as follows:

交易请求信息主要涉及产品追溯信息,会被频繁访问,因此直接存储在链上。而且,这类信息是严格结构化的文本信息,易于压缩,占用存储空间相对较小。Transaction request information mainly involves product traceability information, which will be frequently accessed, so it is directly stored on the chain. Moreover, this type of information is strictly structured text information, which is easy to compress and occupies relatively little storage space.

交易响应信息主要包含对产品追溯信息的确认、交易相关的智能合约编码、交易产生的现金流水、以及配合监管调查的其它相关材料等信息。对于产品追溯信息的确认和相关智能合约的编码,可直接存储在链上。但是,交易流水和其它配合监管调查的材料可能包含发票、照片、以及大量的非结构化文本材料,这些数据直接上链不仅会给系统带来极大的存储压力,而且容易因系统受到攻击而造成信息泄露。因此,系统结合链下存储结构,将这部分信息直接存在企业节点本地,只将其存证(对应文件哈希值)上链。交易确认信息结构简单,也可直接上链存储。The transaction response information mainly includes the confirmation of product traceability information, the smart contract code related to the transaction, the cash flow generated by the transaction, and other relevant materials for regulatory investigation. The confirmation of product traceability information and the code of related smart contracts can be stored directly on the chain. However, transaction flow and other materials for regulatory investigation may include invoices, photos, and a large amount of unstructured text materials. The direct upload of these data to the chain will not only bring great storage pressure to the system, but also easily cause information leakage due to system attacks. Therefore, the system combines the off-chain storage structure to store this part of information directly in the enterprise node, and only uploads its evidence (corresponding to the file hash value) to the chain. The transaction confirmation information structure is simple and can also be directly stored on the chain.

这样的存储设计主要出于三个方面的考虑:This storage design is mainly based on three considerations:

首先是减少链上存储压力,图片及其它非结构化的文本数据相对于结构化的文本数据来说,会占用更多的存储空间,也更不易于压缩保存。The first is to reduce the storage pressure on the chain. Compared with structured text data, pictures and other unstructured text data will take up more storage space and are more difficult to compress and save.

其次是最大程度上保护企业隐私,如果涉及企业隐私的数据直接上链,那么信息保护则完全依赖于系统和加密算法的安全性,一旦系统被攻击或密钥泄露,信息就会被泄露。而如果信息存储在本地,只有存证上链,那么即使信息泄露,攻击者看到的也只能是信息的哈希值,没有任何实际意义。同时,因为涉及自身利益,企业对于相关信息的存储一定会慎之又慎。Secondly, it is necessary to protect corporate privacy to the greatest extent possible. If data involving corporate privacy is directly uploaded to the chain, then information protection is completely dependent on the security of the system and encryption algorithm. Once the system is attacked or the key is leaked, the information will be leaked. If the information is stored locally and only the evidence is uploaded to the chain, then even if the information is leaked, the attacker can only see the hash value of the information, which has no practical significance. At the same time, because it involves their own interests, companies will be very cautious about the storage of relevant information.

最后,系统中产品追溯相关的信息预计会被频繁查询,直接存储在链上可以减少每次访问加载时间,提高访问效率和用户体验。Finally, product traceability-related information in the system is expected to be frequently queried, and storing it directly on the chain can reduce the loading time for each access, improve access efficiency and user experience.

本申请实施例中统筹区块链系统中所有企业与政府节点的本地存储资源,涉及交易具体的图片和其它与基础产品追溯功能无关非结构化数据存储在企业本地数据库,只将其存证上链;同样,在监管事件发生时,相应的政府部门会将详细的证据资料和事件记录存储在本地数据库,只将存证上链。这些数据被访问到的频率会远远低于产品追溯相关的基础数据,因此将它们存储在节点本地数据库中,有访问需求时再相应调取,大大减少了链上数据存储压力。In the embodiment of the present application, the local storage resources of all enterprises and government nodes in the blockchain system are coordinated, and the specific pictures of transactions and other unstructured data unrelated to the basic product traceability function are stored in the enterprise local database, and only the evidence is stored on the chain; similarly, when a regulatory event occurs, the corresponding government department will store detailed evidence and event records in the local database, and only the evidence is stored on the chain. The frequency of access to these data will be much lower than the basic data related to product traceability, so they are stored in the node local database and retrieved accordingly when there is an access demand, which greatly reduces the pressure on data storage on the chain.

另外,考虑到基础的产品追溯数据会被包括众多消费者节点在内的各种用户频繁查询,所以将其直接存储在链上,可大大节约每次查询的时间,提高用户体验。In addition, considering that basic product traceability data will be frequently queried by various users including numerous consumer nodes, storing it directly on the chain can greatly save the time of each query and improve the user experience.

为了更好实施本申请实施例中基于区块链的供应链数据监管方法,在基于区块链的供应链数据监管方法基础之上,本申请实施例中还提供一种基于区块链的供应链数据监管装置,该基于区块链的供应链数据监管装置应用于区块链系统,所述区块链系统中包括多个区块链节点,所述多个区块链节点中包括多个监管区块链节点,企业区块链节点和用户区块链节点,所述监管区块链节点的权限大于所述企业区块链节点和用户区块链节点,所述企业区块链节点的权限大于所述用户区块链节点;如图7所示,该基于区块链的供应链数据监管装置700包括:In order to better implement the supply chain data supervision method based on blockchain in the embodiment of the present application, on the basis of the supply chain data supervision method based on blockchain, a supply chain data supervision device based on blockchain is also provided in the embodiment of the present application. The supply chain data supervision device based on blockchain is applied to a blockchain system, wherein the blockchain system includes multiple blockchain nodes, wherein the multiple blockchain nodes include multiple supervision blockchain nodes, enterprise blockchain nodes and user blockchain nodes, wherein the authority of the supervision blockchain node is greater than that of the enterprise blockchain node and the user blockchain node, and the authority of the enterprise blockchain node is greater than that of the user blockchain node; as shown in FIG7 , the supply chain data supervision device 700 based on blockchain includes:

获取模块701,用于获取所述多个监管区块链节点中目标监管区块链节点针对目标企业的监管请求,所述监管请求中包括监管原因和监管内容;An acquisition module 701 is used to obtain a supervision request of a target supervision blockchain node among the multiple supervision blockchain nodes for a target enterprise, wherein the supervision request includes a supervision reason and supervision content;

传播模块702,用于将所述监管请求向所述多个监管区块链节点中其他监管区块链节点进行传播,以使得所述其他监管区块链节点基于所述监管原因和监管内容,向所述目标监管区块链节点反馈监管意见;A propagation module 702 is used to propagate the supervision request to other supervision blockchain nodes among the multiple supervision blockchain nodes, so that the other supervision blockchain nodes feedback supervision opinions to the target supervision blockchain node based on the supervision reasons and supervision contents;

共识模块703,用于若所述各所述其他监管区块链节点反馈监管意见中为同意监管的监管区块链节点达到第一预设数量要求,则通过所述监管请求。The consensus module 703 is used to approve the supervision request if the number of supervisory blockchain nodes that agree to the supervision in the supervisory opinions fed back by the other supervisory blockchain nodes reaches a first preset number requirement.

本申请实施例中监管部门对应的监管区块链节点可以在必要的时候访问区块链系统中的数据,以保证能够及时取证、确责、追责,同时结合链上链下存储机制和共识机制,监管区块链节点可在必要时候申请访问链上任何企业数据,通过多个监管区块链节点的共识过程,既保证企业的隐私数据不会被竞争对手和其它无关方得到,又满足了政府部门的监管需求,存证上链保证了本地存储的信息不可被随意篡改,实现了政府访问供应链数据的最高权限。另外,该监管共识机制可以保证企业数据安全不会因为某一个或少数几个监管区块链节点出现腐败、被攻击、故障等问题而受到威胁。提出访问企业敏感数据的申请必须达到预设数量要求的监管区块链节点确认,提出申请的监管部门才能获得相应的数据,使得全链的监管区块链节点共同监督整个数据获取过程。In the embodiment of the present application, the supervisory blockchain node corresponding to the supervisory department can access the data in the blockchain system when necessary to ensure timely evidence collection, confirmation of responsibility, and accountability. At the same time, combined with the on-chain and off-chain storage mechanisms and consensus mechanisms, the supervisory blockchain node can apply for access to any enterprise data on the chain when necessary. Through the consensus process of multiple supervisory blockchain nodes, it is not only guaranteed that the privacy data of the enterprise will not be obtained by competitors and other unrelated parties, but also meets the supervision needs of government departments. The evidence storage chain ensures that the locally stored information cannot be tampered with at will, and realizes the highest authority for the government to access supply chain data. In addition, the supervisory consensus mechanism can ensure that the security of enterprise data will not be threatened by corruption, attacks, failures, etc. in one or a few supervisory blockchain nodes. The application for access to sensitive enterprise data must be confirmed by the supervisory blockchain nodes that meet the preset number of requirements, and the supervisory department that applies can obtain the corresponding data, so that the supervisory blockchain nodes of the entire chain jointly supervise the entire data acquisition process.

在本申请一些实施方案中,所述装置还包括:In some embodiments of the present application, the device further comprises:

发送模块,用于在通过所述监管请求之后,向所述目标企业对应的目标企业区块链节点发送监管通知,以使得所述目标企业区块节点通过预设的公钥加密算法提交待提交监管资料,所述监管通知中包括与所述监管内容关联的待提交监管资料和提交期限;A sending module, configured to send a supervision notice to the target enterprise blockchain node corresponding to the target enterprise after the supervision request is passed, so that the target enterprise block node submits the supervision information to be submitted through a preset public key encryption algorithm, wherein the supervision notice includes the supervision information to be submitted and the submission deadline associated with the supervision content;

处理模块,用于若所述目标企业区块链节点未在所述提交期限内提交所述待提交监管资料,则对所述目标企业区块链节点进行处理。A processing module is used to process the target enterprise blockchain node if the target enterprise blockchain node fails to submit the regulatory information to be submitted within the submission period.

在本申请一些实施方案中,所述装置还包括:In some embodiments of the present application, the device further comprises:

解密模块,用于若所述目标企业区块链节点未在所述提交期限内,但通过预设的公钥加密算法提交了待提交监管资料,则所述目标监管区块链节点通过预先获取的私钥解密所述待提交监管资料;A decryption module, used for, if the target enterprise blockchain node has not submitted the regulatory information to be submitted within the submission period but has submitted the regulatory information to be submitted through a preset public key encryption algorithm, the target regulatory blockchain node decrypts the regulatory information to be submitted through a pre-acquired private key;

确认模块,用于若确定所述待提交监管资料符合要求,向所述其他监管区块链节点发布资料符合要求的确认信息。The confirmation module is used to issue confirmation information that the information meets the requirements to the other regulatory blockchain nodes if it is determined that the regulatory information to be submitted meets the requirements.

在本申请一些实施方案中,所述装置还包括:In some embodiments of the present application, the device further comprises:

第一注册模块,用于获取第一区块链节点加入区块链系统的第一注册请求,所述第一注册请求为监管区块链节点的注册请求;将所述第一注册请求转发到所述多个监管区块链节点,以使得所述多个监管区块链节点反馈第一注册意见;若所述各所述多个监管区块链节点反馈的第一注册意见中为同意注册的监管区块链节点达到第二预设数量要求,则通过所述第一注册请求。The first registration module is used to obtain a first registration request for a first blockchain node to join the blockchain system, wherein the first registration request is a registration request for a regulatory blockchain node; forward the first registration request to the multiple regulatory blockchain nodes so that the multiple regulatory blockchain nodes provide feedback on first registration opinions; if the number of regulatory blockchain nodes that agree to register in the first registration opinions provided by each of the multiple regulatory blockchain nodes reaches a second preset number requirement, the first registration request is approved.

在本申请一些实施方案中,所述装置还包括:In some embodiments of the present application, the device further comprises:

第二注册模块,用于获取第二区块链节点加入区块链系统的第二注册请求,所述第二注册请求为企业区块链节点的注册请求;将所述第二注册请求转发到所述多个监管区块链节点,以使得所述多个监管区块链节点反馈第二注册意见;若所述各所述多个监管区块链节点反馈的第二注册意见中为同意注册的监管区块链节点达到第三预设数量要求,则通过所述第二注册请求。The second registration module is used to obtain a second registration request for a second blockchain node to join the blockchain system, where the second registration request is a registration request for an enterprise blockchain node; forward the second registration request to the multiple regulatory blockchain nodes so that the multiple regulatory blockchain nodes provide feedback on second registration opinions; if the number of regulatory blockchain nodes that agree to register in the second registration opinions provided by each of the multiple regulatory blockchain nodes reaches a third preset number requirement, the second registration request is approved.

本申请实施例还提供一种电子设备,其集成了本申请实施例所提供的任一种基于区块链的供应链数据监管装置,所述电子设备包括:The embodiment of the present application further provides an electronic device, which integrates any blockchain-based supply chain data supervision device provided in the embodiment of the present application, and the electronic device includes:

一个或多个处理器;one or more processors;

存储器;以及Memory; and

一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行上述基于区块链的供应链数据监管方法实施例中任一实施例中所述的基于区块链的供应链数据监管方法中的步骤。One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor in the steps of the blockchain-based supply chain data supervision method described in any of the above-mentioned blockchain-based supply chain data supervision method embodiments.

本申请实施例还提供一种电子设备,其集成了本申请实施例所提供的任一种基于区块链的供应链数据监管装置。如图8所示,其示出了本申请实施例所涉及的电子设备的结构示意图,具体来讲:The embodiment of the present application also provides an electronic device, which integrates any blockchain-based supply chain data supervision device provided in the embodiment of the present application. As shown in Figure 8, it shows a schematic diagram of the structure of the electronic device involved in the embodiment of the present application, specifically:

该电子设备可以包括一个或者一个以上处理核心的处理器801、一个或一个以上计算机可读存储介质的存储器802、电源803和输入单元804等部件。本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The electronic device may include components such as a processor 801 with one or more processing cores, a memory 802 with one or more computer-readable storage media, a power supply 803, and an input unit 804. Those skilled in the art will appreciate that the electronic device structure shown in FIG8 does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:

处理器801是该电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器802内的软件程序和/或模块,以及调用存储在存储器802内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器801可包括一个或多个处理核心;优选的,处理器801可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器801中。The processor 801 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and/or modules stored in the memory 802, and calling data stored in the memory 802, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 801.

存储器802可用于存储软件程序以及模块,处理器801通过运行存储在存储器802的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器802可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器802可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器802还可以包括存储器控制器,以提供处理器801对存储器802的访问。The memory 802 can be used to store software programs and modules. The processor 801 executes various functional applications and data processing by running the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 802 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 with access to the memory 802.

电子设备还包括给各个部件供电的电源803,优选的,电源803可以通过电源管理系统与处理器801逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源803还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The electronic device also includes a power supply 803 for supplying power to each component. Preferably, the power supply 803 can be logically connected to the processor 801 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 803 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

该电子设备还可包括输入单元804,该输入单元804可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。The electronic device may further include an input unit 804, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

尽管未示出,电子设备还可以包括显示单元等,在此不再赘述。具体在本实施例中,电子设备中的处理器801会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器802中,并由处理器801来运行存储在存储器802中的应用程序,从而实现各种功能,如下:Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 801 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 802 according to the following instructions, and the processor 801 will run the application programs stored in the memory 802, thereby realizing various functions, as follows:

获取多个监管区块链节点中目标监管区块链节点针对目标企业的监管请求;将监管请求向多个监管区块链节点中其他监管区块链节点进行传播,以使得其他监管区块链节点基于监管原因和监管内容,向目标监管区块链节点反馈监管意见;若各其他监管区块链节点反馈监管意见中为同意监管的监管区块链节点达到第一预设数量要求,则通过所述监管请求。Obtain a regulatory request from a target regulatory blockchain node among multiple regulatory blockchain nodes for a target enterprise; propagate the regulatory request to other regulatory blockchain nodes among the multiple regulatory blockchain nodes, so that other regulatory blockchain nodes provide feedback of regulatory opinions to the target regulatory blockchain node based on regulatory reasons and regulatory contents; if the number of regulatory blockchain nodes that agree to the supervision in the regulatory opinions fed back by other regulatory blockchain nodes reaches a first preset number requirement, the regulatory request is approved.

本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

为此,本申请实施例提供一种计算机可读存储介质,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。其上存储有计算机程序,所述计算机程序被处理器进行加载,以执行本申请实施例所提供的任一种基于区块链的供应链数据监管方法中的步骤。例如,所述计算机程序被处理器进行加载可以执行如下步骤:To this end, the embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any of the blockchain-based supply chain data supervision methods provided in the embodiment of the present application. For example, the computer program can be loaded by a processor to execute the following steps:

获取多个监管区块链节点中目标监管区块链节点针对目标企业的监管请求;将监管请求向多个监管区块链节点中其他监管区块链节点进行传播,以使得其他监管区块链节点基于监管原因和监管内容,向目标监管区块链节点反馈监管意见;若各其他监管区块链节点反馈监管意见中为同意监管的监管区块链节点达到第一预设数量要求,则通过所述监管请求。Obtain a regulatory request from a target regulatory blockchain node among multiple regulatory blockchain nodes for a target enterprise; propagate the regulatory request to other regulatory blockchain nodes among the multiple regulatory blockchain nodes, so that other regulatory blockchain nodes provide feedback of regulatory opinions to the target regulatory blockchain node based on regulatory reasons and regulatory contents; if the number of regulatory blockchain nodes that agree to the supervision in the regulatory opinions fed back by other regulatory blockchain nodes reaches a first preset number requirement, the regulatory request is approved.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对其他实施例的详细描述,此处不再赘述。In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.

具体实施时,以上各个单元或结构可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元或结构的具体实施可参见前面的方法实施例,在此不再赘述。In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.

以上各个操作的具体实施可参见前面的实施例,在此不再赘述。The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

以上对本申请实施例所提供的一种基于区块链的供应链数据监管方法、电子设备及存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above is a detailed introduction to a blockchain-based supply chain data supervision method, electronic device and storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims (5)

Translated fromChinese
1.一种基于区块链的供应链数据监管方法,其特征在于,应用于区块链系统,所述区块链系统中包括多个区块链节点,所述多个区块链节点中包括多个监管区块链节点,企业区块链节点和用户区块链节点,所述监管区块链节点的权限大于所述企业区块链节点和用户区块链节点,所述企业区块链节点的权限大于所述用户区块链节点;所述基于区块链的供应链数据监管方法包括:1. A supply chain data supervision method based on blockchain, characterized in that it is applied to a blockchain system, wherein the blockchain system includes multiple blockchain nodes, wherein the multiple blockchain nodes include multiple supervision blockchain nodes, enterprise blockchain nodes and user blockchain nodes, wherein the authority of the supervision blockchain node is greater than that of the enterprise blockchain node and the user blockchain node, and the authority of the enterprise blockchain node is greater than that of the user blockchain node; the supply chain data supervision method based on blockchain includes:获取所述多个监管区块链节点中目标监管区块链节点针对目标企业的监管请求,所述监管请求中包括监管原因和监管内容;Obtaining a regulatory request of a target regulatory blockchain node from among the multiple regulatory blockchain nodes for a target enterprise, wherein the regulatory request includes a regulatory reason and regulatory content;将所述监管请求向所述多个监管区块链节点中其他监管区块链节点进行传播,以使得所述其他监管区块链节点基于所述监管原因和监管内容,向所述目标监管区块链节点反馈监管意见;Propagate the regulatory request to other regulatory blockchain nodes among the multiple regulatory blockchain nodes, so that the other regulatory blockchain nodes feed back regulatory opinions to the target regulatory blockchain node based on the regulatory reasons and regulatory contents;若所述各所述其他监管区块链节点反馈监管意见中为同意监管的监管区块链节点达到第一预设数量要求,则通过所述监管请求;If the number of regulatory blockchain nodes that agree to supervise in the regulatory opinions fed back by the other regulatory blockchain nodes reaches a first preset number requirement, the regulatory request is approved;在通过所述监管请求之后,所述方法还包括:After passing the supervision request, the method further includes:向所述目标企业对应的目标企业区块链节点发送监管通知,以使得所述目标企业区块节点通过预设的公钥加密算法提交待提交监管资料,所述监管通知中包括与所述监管内容关联的待提交监管资料和提交期限;Sending a supervision notice to the target enterprise blockchain node corresponding to the target enterprise, so that the target enterprise block node submits the supervision information to be submitted through a preset public key encryption algorithm, wherein the supervision notice includes the supervision information to be submitted and the submission deadline associated with the supervision content;若所述目标企业区块链节点未在所述提交期限内提交所述待提交监管资料,则对所述目标企业区块链节点进行处理;If the target enterprise blockchain node fails to submit the regulatory information to be submitted within the submission period, the target enterprise blockchain node is processed;所述方法还包括:The method further comprises:若所述目标企业区块链节点未在所述提交期限内,但通过预设的公钥加密算法提交了待提交监管资料,则所述目标监管区块链节点通过预先获取的私钥解密所述待提交监管资料;If the target enterprise blockchain node has not submitted the regulatory information to be submitted within the submission period, but has submitted the regulatory information to be submitted through a preset public key encryption algorithm, the target regulatory blockchain node decrypts the regulatory information to be submitted through a pre-acquired private key;若确定所述待提交监管资料符合要求,向所述其他监管区块链节点发布资料符合要求的确认信息;If it is determined that the regulatory information to be submitted meets the requirements, a confirmation message that the information meets the requirements is issued to the other regulatory blockchain nodes;所述方法还包括:The method further comprises:获取第一区块链节点加入区块链系统的第一注册请求,所述第一注册请求为监管区块链节点的注册请求;Obtaining a first registration request of a first blockchain node to join the blockchain system, where the first registration request is a registration request for supervising the blockchain node;将所述第一注册请求转发到所述多个监管区块链节点,以使得所述多个监管区块链节点反馈第一注册意见;Forwarding the first registration request to the multiple regulatory blockchain nodes so that the multiple regulatory blockchain nodes feedback the first registration opinion;若所述各所述多个监管区块链节点反馈的第一注册意见中为同意注册的监管区块链节点达到第二预设数量要求,则通过所述第一注册请求。If the number of regulatory blockchain nodes that agree to register in the first registration opinions fed back by each of the multiple regulatory blockchain nodes reaches a second preset number requirement, the first registration request is approved.2.根据权利要求1所述的基于区块链的供应链数据监管方法,其特征在于,所述方法还包括:2. The blockchain-based supply chain data supervision method according to claim 1, characterized in that the method further comprises:获取第二区块链节点加入区块链系统的第二注册请求,所述第二注册请求为企业区块链节点的注册请求;Obtaining a second registration request for a second blockchain node to join the blockchain system, where the second registration request is a registration request for an enterprise blockchain node;将所述第二注册请求转发到所述多个监管区块链节点,以使得所述多个监管区块链节点反馈第二注册意见;Forwarding the second registration request to the multiple regulatory blockchain nodes so that the multiple regulatory blockchain nodes feedback the second registration opinion;若所述各所述多个监管区块链节点反馈的第二注册意见中为同意注册的监管区块链节点达到第三预设数量要求,则通过所述第二注册请求。If the number of regulatory blockchain nodes that agree to register in the second registration opinions fed back by each of the multiple regulatory blockchain nodes reaches a third preset number requirement, the second registration request is approved.3.一种基于区块链的供应链数据监管装置,其特征在于,应用于区块链系统,所述区块链系统中包括多个区块链节点,所述多个区块链节点中包括多个监管区块链节点,企业区块链节点和用户区块链节点,所述监管区块链节点的权限大于所述企业区块链节点和用户区块链节点,所述企业区块链节点的权限大于所述用户区块链节点;所述基于区块链的供应链数据监管装置包括:3. A supply chain data supervision device based on blockchain, characterized in that it is applied to a blockchain system, wherein the blockchain system includes multiple blockchain nodes, wherein the multiple blockchain nodes include multiple supervision blockchain nodes, enterprise blockchain nodes and user blockchain nodes, wherein the authority of the supervision blockchain node is greater than that of the enterprise blockchain node and the user blockchain node, and the authority of the enterprise blockchain node is greater than that of the user blockchain node; the supply chain data supervision device based on blockchain includes:获取模块,用于获取所述多个监管区块链节点中目标监管区块链节点针对目标企业的监管请求,所述监管请求中包括监管原因和监管内容;An acquisition module is used to obtain a supervision request of a target supervision blockchain node among the multiple supervision blockchain nodes for a target enterprise, wherein the supervision request includes a supervision reason and supervision content;传播模块,用于将所述监管请求向所述多个监管区块链节点中其他监管区块链节点进行传播,以使得所述其他监管区块链节点基于所述监管原因和监管内容,向所述目标监管区块链节点反馈监管意见;A propagation module, used to propagate the regulatory request to other regulatory blockchain nodes among the multiple regulatory blockchain nodes, so that the other regulatory blockchain nodes feedback regulatory opinions to the target regulatory blockchain node based on the regulatory reasons and regulatory contents;共识模块,用于若所述各所述其他监管区块链节点反馈监管意见中为同意监管的监管区块链节点达到第一预设数量要求,则通过所述监管请求;A consensus module, configured to approve the supervision request if the number of supervision blockchain nodes that agree to the supervision in the supervision opinions fed back by the other supervision blockchain nodes reaches a first preset number requirement;所述装置还包括:The device also includes:发送模块,用于在通过所述监管请求之后,向所述目标企业对应的目标企业区块链节点发送监管通知,以使得所述目标企业区块节点通过预设的公钥加密算法提交待提交监管资料,所述监管通知中包括与所述监管内容关联的待提交监管资料和提交期限;A sending module, configured to send a supervision notice to the target enterprise blockchain node corresponding to the target enterprise after the supervision request is passed, so that the target enterprise block node submits the supervision information to be submitted through a preset public key encryption algorithm, wherein the supervision notice includes the supervision information to be submitted and the submission deadline associated with the supervision content;处理模块,用于若所述目标企业区块链节点未在所述提交期限内提交所述待提交监管资料,则对所述目标企业区块链节点进行处理;A processing module, configured to process the target enterprise blockchain node if the target enterprise blockchain node fails to submit the regulatory information to be submitted within the submission period;所述装置还包括:The device also includes:解密模块,用于若所述目标企业区块链节点未在所述提交期限内,但通过预设的公钥加密算法提交了待提交监管资料,则所述目标监管区块链节点通过预先获取的私钥解密所述待提交监管资料;A decryption module, used for, if the target enterprise blockchain node has not submitted the regulatory information to be submitted within the submission period but has submitted the regulatory information to be submitted through a preset public key encryption algorithm, the target regulatory blockchain node decrypts the regulatory information to be submitted through a pre-acquired private key;确认模块,用于若确定所述待提交监管资料符合要求,向所述其他监管区块链节点发布资料符合要求的确认信息。The confirmation module is used to issue confirmation information that the information meets the requirements to the other regulatory blockchain nodes if it is determined that the regulatory information to be submitted meets the requirements.4.一种电子设备,其特征在于,所述电子设备包括:4. An electronic device, characterized in that the electronic device comprises:一个或多个处理器;one or more processors;存储器;以及Memory; and一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行以实现权利要求1所述的基于区块链的供应链数据监管方法。One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the blockchain-based supply chain data supervision method of claim 1.5.一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器进行加载,以执行权利要求1所述的基于区块链的供应链数据监管方法中的步骤。5. A computer-readable storage medium, characterized in that a computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the blockchain-based supply chain data supervision method described in claim 1.
CN202110539364.7A2021-05-182021-05-18Supply chain data supervision method based on block chain, electronic equipment and storage mediumActiveCN113239399B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110539364.7ACN113239399B (en)2021-05-182021-05-18Supply chain data supervision method based on block chain, electronic equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110539364.7ACN113239399B (en)2021-05-182021-05-18Supply chain data supervision method based on block chain, electronic equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN113239399A CN113239399A (en)2021-08-10
CN113239399Btrue CN113239399B (en)2024-06-14

Family

ID=77134910

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110539364.7AActiveCN113239399B (en)2021-05-182021-05-18Supply chain data supervision method based on block chain, electronic equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN113239399B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114140138B (en)*2021-12-032023-02-03西华大学Market supervision consistency checking method based on block chain technology
CN114510535B (en)*2022-02-142025-08-22深圳市联合创造科技有限公司 A data processing method based on blockchain
CN114612242B (en)*2022-03-172023-06-16四川大学Data management method and device based on multi-value chain collaborative mapping block chain
CN115544154A (en)*2022-12-012022-12-30煤炭科学技术研究院有限公司Coal mine safety supervision method and device based on block chain and electronic equipment
CN116776305B (en)*2023-06-152023-12-15南京理工大学 An operating method of a blockchain smart contract system for industrial scenarios
CN118395474A (en)*2024-05-102024-07-26北京创汇鑫链科技有限公司Privacy calculation enhanced blockchain solving system for safe circulation of supply chain data
CN120069818A (en)*2025-04-292025-05-30温州职业技术学院Supply chain data supervision method and equipment based on block chain

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10419446B2 (en)*2017-07-102019-09-17Cisco Technology, Inc.End-to-end policy management for a chain of administrative domains
CN108615185A (en)*2018-04-242018-10-02北京罗格数据科技有限公司A kind of silver-colored tax interaction systems construction method based on block chain
CN108647968A (en)*2018-05-102018-10-12阿里巴巴集团控股有限公司A kind of block chain data processing method, device, processing equipment and system
CN109919764A (en)*2019-01-312019-06-21中国互联网络信息中心 Blockchain-based domain name transaction supervision method and device
CN109961287A (en)*2019-02-122019-07-02众安信息技术服务有限公司A kind of monitoring and managing method and supervisory systems of block chain
CN111008365A (en)*2019-11-272020-04-14山东爱城市网信息技术有限公司Block chain-based electronic academic work copyright management system, equipment and medium
CN112134864B (en)*2020-09-142023-02-03广州大学Evidence chain platform based on double-block chain structure and implementation method thereof
CN112184264A (en)*2020-09-302021-01-05微医云(杭州)控股有限公司Block chain-based drug supervision method, device, server and medium
CN112269838B (en)*2020-11-182023-07-25网易(杭州)网络有限公司Blockchain-based supervision method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Software Evolution Algorithm and Application Study Based on Fabric Blockchain;Jing Sun等;《2021 IEEE 4th Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC)》;第846-855页*

Also Published As

Publication numberPublication date
CN113239399A (en)2021-08-10

Similar Documents

PublicationPublication DateTitle
CN113239399B (en)Supply chain data supervision method based on block chain, electronic equipment and storage medium
AU2020261982B2 (en)Extracting data from a blockchain network
JP7479393B2 (en) SYSTEM AND METHOD FOR A VIRTUAL DISTRIBUTED LEDGER NETWORK
CN112003858B (en)Block chain-based platform docking method, electronic device and storage medium
CN110717825B (en)Distributed data transaction accounting system based on block chain
CN120086900A (en) Computer-implemented systems and methods for managing transactions on a blockchain network
CN110335147A (en) A blockchain-based digital asset information exchange system and method
CN111108521A (en)Implementing a blockchain based workflow
CN114445010B (en)Block chain-based multi-mode intermodal system and method
US10693646B2 (en)Event execution using a blockchain approach
CN107464118A (en)A kind of data trade method based on block chain intelligence contract
US20230039643A1 (en)Cross-chain collaborative governance system, method and device and storage medium
CN108269064A (en)A kind of Collaborative Manufacturing information sharing method based on intelligent contract
CN108306873A (en)A kind of intelligent contract data interactive system based on manufacture block chain
CN113300853B (en) Financial credit information management method, device, electronic device and storage medium
CN113987080A (en) Blockchain incentive method, device and related products based on reputation consensus
CN108346110A (en)A kind of information interaction system based on manufacture block chain
Lin et al.A Blockchain-enabled decentralized settlement model for IoT data exchange services
CN115456773A (en) Block chain-based payment control method, device, equipment and medium
Qin et al.A secure and effective construction scheme for blockchain networks
CN115801288A (en)Verification method, system and equipment based on block chain and zero knowledge proof
Liu et al.Application of blockchain technology in electric vehicle charging piles based on electricity Internet of Things
Zhu[Retracted] Research on Real‐Time Tracking Algorithm of E‐Commerce Logistics Information Based on Blockchain Technology
CN115375305A (en)Ship data credible tracing method based on block chain
CN118898447A (en) Warehouse management system, blockchain consensus method and electronic equipment based on PBFT

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp