CN113239399A - 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
CN113239399A
CN113239399A CN202110539364.7A CN202110539364A CN113239399A CN 113239399 A CN113239399 A CN 113239399A CN 202110539364 A CN202110539364 A CN 202110539364A CN 113239399 A CN113239399 A CN 113239399A
Authority
CN
China
Prior art keywords
supervision
block chain
nodes
data
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.)
Granted
Application number
CN202110539364.7A
Other languages
Chinese (zh)
Other versions
CN113239399B (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 CAICT filed Critical China Academy of Information and Communications Technology CAICT
Priority to CN202110539364.7A priority Critical patent/CN113239399B/en
Publication of CN113239399A publication Critical patent/CN113239399A/en
Application granted granted Critical
Publication of CN113239399B publication Critical patent/CN113239399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Bioethics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Primary Health Care (AREA)
  • Educational Administration (AREA)
  • Medical Informatics (AREA)
  • Storage Device Security (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

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 chain node in a plurality of supervision block chain nodes for a target enterprise; the supervision request is transmitted to other supervision block chain nodes in the plurality of supervision block chain nodes, so that the other supervision block chain nodes feed back supervision opinions to the target supervision block chain node based on supervision reasons and supervision contents; and if the supervision block chain nodes agreeing to the supervision in the supervision opinions fed back by other supervision block chain nodes meet the first preset quantity requirement, the supervision request is passed. This application is through the consensus process of a plurality of supervise district block chain nodes, and both the privacy data of having guaranteed the enterprise can not obtained by competitor and other irrelevant parties, has satisfied government department's supervision demand again, can make the whole data acquisition process of supervise jointly of the district block chain node of whole chain simultaneously.

Description

Supply chain data supervision method based on block chain, electronic equipment and storage medium
Technical Field
The present application relates to the field of block chain technologies, and in particular, to a supply chain data monitoring method based on a block chain, an electronic device, and a storage medium.
Background
In recent years, with the development of the blockchain technology and the strong support of the policy side, the application of the blockchain technology has been gradually expanded from the initial fields of digital currency and finance to many fields of government affairs assistance, industrial chain management, industrial manufacturing and the like. Blockchains are a "new generation of information technology". By means of the technical characteristics of decentralization, openness, anonymity, safety, non-tampering and the like, the multi-party sharing of data in the trust removing background is guaranteed, privacy disclosure is prevented, records can be traced, trust cost among different service participants is reduced to the greatest extent, and working efficiency is improved.
In the large background of the rapid development of the industrial internet, product tracing and supply chain management become one of the important focuses of the application of block chain technology. The block chain can solve the problems of unreal and unreliable data in the traditional database by benefiting from the characteristics of decentralization, non-tampering, non-repudiation and the like, is combined with an industrial internet identification analysis system, can construct interconnection and intercommunication and resource sharing of each link of an industrial chain, and realizes an industrial production, manufacturing and service system with the industrial chain and all elements of a value chain in full connection.
Supply chain management has been a profound science. Users of supply chain management systems can be largely divided into three categories: consumers, government regulatory agencies, enterprises. Consumers hope to realize the full life cycle tracing of purchased products through the system, so that the risk of purchasing fake and shoddy products is reduced, the product quality is ensured, and meanwhile, the reason of price difference of similar products is also known. Enterprises desire to speed up product innovation cycles, maintain sensitivity, respond quickly to changes in relevant policies and consumer needs, and create an effective inventory management solution. Finally, government regulatory authorities want to effectively supervise each link of the supply chain, quickly confirm and pursue responsibility when a product quality event or a related dispute occurs, and once a product problem is found, the product problem can be recalled at the first time to reduce loss.
The traditional system design has no way to well meet the requirements of users on product full life cycle tracing and supply chain management, and particularly the problem of 'supervision difficulty' is very outstanding, meanwhile, from the enterprise perspective, a centralized database is easy to cause the participation of the main bodies, and is not beneficial to data sharing, so that the enterprise cannot obtain product feedback (sales conditions and consumer demand changes) in time, and is difficult to quickly respond to market demands.
The data sharing aspect of the supply chain always has an irrevocable problem, namely the contradiction between the requirement of high information disclosure of government regulation and the requirement of privacy protection of enterprises. Some blockchain designs give government nodes the highest authority to freely review all data on the chain, but this also raises questions about whether an enterprise can effectively protect its business secrets.
Most current blockchain systems with product provenance and supply chain management choose to only uplink normal information, and not to uplink confidential information. Obviously, for a long time, simple product information is difficult to meet the requirement of an enterprise for optimized management through a supply chain, and cannot meet the supervision requirement of a supervisor, but if all product transaction details are linked, great challenge is caused to enterprise privacy protection.
Disclosure of Invention
The embodiment of the application provides a supply chain data supervision method based on a block chain, electronic equipment and a storage medium, through the consensus process of a plurality of supervision area block chain nodes, the private data of an enterprise are guaranteed not to be obtained by competitors and other unrelated parties, the supervision requirements of government departments are met, and meanwhile the whole data acquisition process can be jointly supervised by the supervision area block chain nodes of the whole chain.
On one hand, the application provides a supply chain data supervision method based on a block chain, which is applied to a block chain system, wherein the block chain system comprises a plurality of block chain nodes, the plurality of block chain nodes comprise a plurality of monitoring area block chain nodes, enterprise block chain nodes and user block chain nodes, the authority of the monitoring area block chain nodes is greater than that of the enterprise block chain nodes and the user block chain nodes, and the authority of the enterprise block chain nodes is greater than that of the user block chain nodes; the block chain-based supply chain data supervision method comprises the following steps:
acquiring a supervision request of a target supervision block chain node in the plurality of supervision block chain nodes for a target enterprise, wherein the supervision request comprises a supervision reason and supervision content;
transmitting the supervision request to other supervision block chain nodes in the plurality of supervision block chain nodes, so that the other supervision block chain nodes feed back supervision opinions to the target supervision block chain node based on the supervision reasons and supervision contents;
and if the supervision block chain nodes agreeing to the supervision in the supervision opinions fed back by the other supervision block chain nodes meet a first preset quantity requirement, passing the supervision request.
In some embodiments of the present application, after passing the regulatory request, the method further comprises:
sending a supervision notice to a target enterprise block link point corresponding to the target enterprise so that the target enterprise block node submits supervision materials to be submitted through a preset public key encryption algorithm, wherein the supervision notice comprises the supervision materials to be submitted and a submission deadline related to the supervision content;
and if the target enterprise block link node does not submit the to-be-submitted supervision data within the submission deadline, processing the target enterprise block link node.
In some embodiments of the present application, the method further comprises:
if the target enterprise blockchain node is not within the submission deadline and the supervision data to be submitted is submitted through a preset public key encryption algorithm, the target supervision blockchain node decrypts the supervision data to be submitted through a pre-acquired private key;
and if the to-be-submitted supervision data are determined to meet the requirements, issuing confirmation information that the data meet the requirements to other supervision block link nodes.
In some embodiments of the present application, the method further comprises:
acquiring a first registration request for adding a first block chain link point into a block chain system, wherein the first registration request is a registration request of a monitoring block chain node;
forwarding the first registration request to the plurality of supervisor block chain nodes to cause the plurality of supervisor block chain nodes to feed back a first registration opinion;
and if the supervision block link nodes agreeing to be registered in the first registration opinions fed back by the plurality of supervision block link nodes reach a second preset quantity requirement, passing the first registration request.
In some embodiments of the present application, the method further comprises:
acquiring a second registration request for adding a second block chain link point into a block chain system, wherein the second registration request is a registration request of an enterprise block chain node;
forwarding the second registration request to the plurality of supervisor block chain nodes to cause the plurality of supervisor block chain nodes to feed back a second registration opinion;
and if the second registration opinions fed back by the plurality of the supervision area block link nodes are that the supervision area block link nodes which agree to register meet a third preset quantity requirement, passing the second registration request.
In another aspect, the present application provides a supply chain data monitoring apparatus based on a block chain, which is applied to a block chain system, where the block chain system includes a plurality of block chain nodes, and the plurality of block chain nodes include a plurality of supervisor block chain nodes, enterprise block chain nodes and user block chain nodes, where the authority of the supervisor block chain nodes is greater than that of the enterprise block chain nodes and that of the user block chain nodes, and the authority of the enterprise block chain nodes is greater than that of the user block chain nodes; the block chain based supply chain data supervision device comprises:
an obtaining module, configured to obtain a supervision request of a target enterprise from a target supervision block chain node of the multiple supervision block chain nodes, where the supervision request includes a supervision reason and supervision content;
a propagation module, configured to propagate the supervision request to other supervision block chain nodes in the multiple supervision block chain nodes, so that the other supervision block chain nodes feed back supervision opinions to the target supervision block chain node based on the supervision reason and the supervision content;
and the consensus module is used for passing the supervision request if the supervision block chain nodes agreeing to be supervised in the supervision opinions fed back by the other supervision block chain nodes meet a first preset quantity requirement.
In some embodiments of the present application, the apparatus further comprises:
a sending module, configured to send a supervision notification to a target enterprise block link point corresponding to the target enterprise after passing the supervision request, so that the target enterprise block node submits, through a preset public key encryption algorithm, to-be-submitted supervision data, where the supervision notification includes the to-be-submitted supervision data and a submission deadline associated with the supervision content;
and the processing module is used for processing the link node of the target enterprise block if the target enterprise block link node does not submit the to-be-submitted supervision data within the submission time limit.
In some embodiments of the present application, the apparatus further comprises:
the decryption module is used for decrypting the supervision material to be submitted by the target supervision area block chain node through a pre-obtained private key if the target enterprise block chain node is not in the submission deadline and the supervision material to be submitted is submitted through a preset public key encryption algorithm;
and the confirmation module is used for issuing confirmation information that the data meet the requirements to other supervision block link nodes if the supervision data to be submitted meet the requirements.
In some embodiments of the present application, the apparatus further comprises:
the system comprises a first registration module, a second registration module and a third registration module, wherein the first registration module is used for acquiring a first registration request of a first block chain link point added in a block chain system, and the first registration request is a registration request of a monitoring block chain node; forwarding the first registration request to the plurality of supervisor block chain nodes to cause the plurality of supervisor block chain nodes to feed back a first registration opinion; and if the supervision block link nodes agreeing to be registered in the first registration opinions fed back by the plurality of supervision block link nodes reach a second preset quantity requirement, passing the first registration request.
In some embodiments of the present application, the apparatus further comprises:
the second registration module is used for acquiring a second registration request of a second block chain node to join the block chain system, wherein the second registration request is a registration request of an enterprise block chain node; forwarding the second registration request to the plurality of supervisor block chain nodes to cause the plurality of supervisor block chain nodes to feed back a second registration opinion; and if the second registration opinions fed back by the plurality of the supervision area block link nodes are that the supervision area block link nodes which agree to register meet a third preset quantity requirement, passing the second registration request.
In another aspect, the present application further provides an electronic device, including:
one or more processors;
a 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 block chain based supply chain data policing method of any one of the first aspects.
In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, the computer program being loaded by a processor to perform the steps in the block chain based supply chain data supervision method according to any one of the first aspect.
The supervision department block chain node that supervision department corresponds in this application embodiment can visit the data in the block chain system when necessary, in order to guarantee can in time collect evidence, ensure to blame, catch up responsibility, combine simultaneously and link down storage mechanism and consensus mechanism, supervision department block chain node can wait to apply for any enterprise's data on the access chain as necessary, through the consensus process of a plurality of supervision department block chain nodes, both guaranteed that the privacy data of enterprise can not obtained by competitor and other irrelevant side, government department's supervision demand has been satisfied again, it can not be tampered at will to deposit the information of local storage to prove to link up chain, the highest authority of government's access supply chain data has been realized. In addition, the supervision consensus mechanism can ensure that the safety of the enterprise data is not threatened because one or a few supervision block chain nodes are attacked and failed. The supervision department who proposes the application can obtain corresponding data only by confirming the supervision area block chain nodes which have to meet the requirement of the preset number when the application for accessing the enterprise sensitive data is proposed, so that the supervision area block chain nodes of the whole chain supervise the whole data acquisition process together.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a block chain system according to an embodiment of the present disclosure;
FIG. 2 is a schematic block chain-based supply chain data policing method according to an embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating an embodiment of a block chain-based supply chain data supervision method based on FIG. 1 according to an embodiment of the present application;
FIG. 4 is a schematic flow chart diagram illustrating an embodiment of a block chain-based supply chain data supervision method based on FIG. 1 in an embodiment of the present application;
FIG. 5 is a schematic flow chart diagram illustrating an embodiment of a block chain-based supply chain data supervision method based on FIG. 1 in an embodiment of the present application;
FIG. 6 is a diagram illustrating a scenario of data flow in a blockchain system according to an embodiment of the present invention;
FIG. 7 is a block chain-based supply chain data policing apparatus in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an embodiment of an electronic device provided in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the referenced device or element must have a particular orientation, be constructed in a particular orientation, and be operated, and thus should not be considered as limiting the present application. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In this application, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the application. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present application may be practiced without these specific details. In other instances, well-known structures and processes are not set forth in detail in order to avoid obscuring the description of the present application with unnecessary detail. Thus, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
Some basic concepts involved in the embodiments of the present application are first described below:
dht (distributed Hash table) technology, known as a distributed Hash table in chinese, is a technology for organizing, managing, and discovering services on distributed resources. Each node in the network adopting the DHT technology is responsible for a small part of routing and storing a part of data, and a specific search mechanism is used in a scene without a neutralized server to finally acquire a specific storage resource under the relay assistance of each node. Accordingly, DHT techniques may also store particular resources on corresponding network nodes through some mapping mechanism. DHT technology is implemented by many P2P protocols, notably CAN, Chord, fashion, Tapestry, Kademlia.
Blockchains are a term of art in information technology. In essence, the system is a shared database, and the data or information stored in the shared database has the characteristics of 'unforgeability', 'whole-course trace', 'traceability', 'public transparency', 'collective maintenance', and the like. Based on the characteristics, the block chain technology lays a solid 'trust' foundation, creates a reliable 'cooperation' mechanism and has wide application prospect.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The Blockchain (Blockchain) is an important concept of the bitcoin, which is essentially a decentralized database, and is used as the underlying technology of the bitcoin, and is a series of data blocks which are generated by using a cryptographic method to be related, wherein each data block contains information of a batch of bitcoin network transactions, and the information is used for verifying the validity (anti-counterfeiting) of the information and generating the next block.
Block chain Node (Node): the nodes are network nodes in a block chain distributed system, are servers, computers, telephones and the like connected through a network, and have different modes of becoming the nodes aiming at block chains with different properties, and take bitcoin as an example, the nodes are involved in transaction or mine digging to form one node.
Intelligent contract: is a set of conventions that are defined, propagated, verified, or enforced digitally, including agreements on which contract participants may enforce these conventions. Smart contracts allow trusted transactions to be conducted without third parties, which transactions are traceable and irreversible. The intelligent contracts are used as a set of logical rules governing transactions in the blockchain, based on script code. The program will read the contract code when executing the transaction, execute and process the results. The nature of the smart contract may be limited to code specific to an application or may be used to program the terms and conditions of an agreement into the transaction flow.
Creating a new appearance block: the first block data in the block chain account book is used as the first block of the block chain.
Federation chain: only aiming at members of a certain group and limited third parties, a plurality of preselected nodes are internally designated as bookers, the generation of each block is jointly determined by all the preselected nodes, other access nodes can participate in transactions, but the billing process is not asked, and other third parties can carry out limited inquiry through the API opened by the block chain. To achieve better performance, the federation chain places certain requirements on the configuration and network environment of the consensus or authentication node. With the admission mechanism, the transaction performance can be improved more easily, and problems caused by the participants with uneven participation can be avoided. The maintenance and treatment of the alliance chain are generally carried out by alliance members, an election system is usually adopted, authority control is easy to carry out, codes are generally partially open or directionally open, and development is mainly carried out by member teams or products customized by manufacturers are adopted.
PBFT: abbreviations for Practical Byzantine Fault Tolerance, namely: the practical Byzantine fault-tolerant algorithm is the basis of the consensus algorithm of the union coins. The problem of Byzantine under the condition of a limited number of nodes is solved, the fault tolerance of 3f +1 is achieved, and meanwhile certain performance is guaranteed. The algorithm is provided by Miguel Castro (Carterol) and Barbara Liskov (Risk) in 1999, solves the problem that the original Byzantine fault-tolerant algorithm is low in efficiency, and the time complexity of the algorithm is O (n ^2), so that the Byzantine fault-tolerant problem can be solved in the application of an actual system.
The embodiment of the application provides a supply chain data supervision method based on a block chain, an electronic device and a storage medium, which are respectively described in detail below.
Referring to fig. 1, fig. 1 is a schematic view of a block chain system according to an embodiment of the present disclosure, where the block chain system is a supply chain system based on a block chain, the block chain system includes a plurality of block chain nodes, the plurality of block chain nodes include a plurality of supervisor block chain nodes, enterprise block chain nodes and user block chain nodes, the authority of the supervisor block chain nodes is greater than that of the enterprise block chain nodes and that of the user block chain nodes, and the authority of the enterprise block chain nodes is greater than that of the user block chain nodes. As shown in FIG. 1, the supervisor blockchain node may be a government node, an enterprise blockchain node, i.e., the enterprise node in FIG. 1, and a customer blockchain node, i.e., the customer node.
The method in the embodiment of the application may be an electronic device corresponding to a certain block link node, where the electronic device is mainly used to obtain a supervision request of a target supervision block link node in the multiple supervision block link nodes for a target enterprise, where the supervision request includes a supervision reason and supervision content; transmitting the supervision request to other supervision block chain nodes in the plurality of supervision block chain nodes, so that the other supervision block chain nodes feed back supervision opinions to the target supervision block chain node based on the supervision reasons and supervision contents; and if the supervision block chain nodes agreeing to the supervision in the supervision opinions fed back by the other supervision block chain nodes meet a first preset quantity requirement, passing the supervision request.
In this embodiment, the block link point may be an electronic device, such as a user terminal or a server, where the server may be an independent server, or may also be a server network or a server cluster composed of servers, for example, the server described in this embodiment includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets, or a cloud server composed of a plurality of servers. Among them, the Cloud server is constituted by a large number of computers or web servers based on Cloud Computing (Cloud Computing). In the embodiment of the present application, the server and the User terminal may implement communication through any communication manner, including but not limited to mobile communication based on the third Generation Partnership Project (3 GPP), Long Term Evolution (LTE), Worldwide Interoperability for Microwave Access (WiMAX), or computer network communication based on the TCP/IP Protocol Suite (TCP/IP), User Datagram Protocol (UDP) Protocol, and the like.
It will be appreciated that the user terminal used in the embodiments of the present application includes both receiving and transmitting hardware devices, i.e. devices having receiving and transmitting hardware capable of performing bi-directional communication over a bi-directional communication link. Such a user terminal device may include: a cellular or other communication device 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 notebook computer, and the like.
Those skilled in the art will appreciate that the application environment shown in fig. 1 is only one application scenario of the present application, and does not constitute a limitation to the application scenario of the present application, and that other application environments may further include more or less block link points than those shown in fig. 1, for example, only a part of enterprise block link nodes, government nodes and customer nodes are shown in fig. 1, and it is understood that the block link system may further include more block link points, which is not limited herein.
It should be noted that the scenario diagram of the blockchain system shown in fig. 1 is merely an example, and the blockchain system and the 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 form a limitation to the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows, with the evolution of the blockchain system and the occurrence of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
Because the traditional supervision system design has no way to well meet the requirements of users on product whole life cycle tracing and supply chain management, especially the problem of 'supervision difficulty' is very prominent, and the following four aspects are mainly embodied:
(1) the full life cycle of an industrial product is usually long, involving a complex process and many participants in the middle. In the process, the centralized system cannot ensure that the data is always true and reliable in the processes of input, transmission and interaction.
(2) Centralized systems are susceptible to "single point of failure," and once a central database is affected by a malicious attack or unexpected failure, the entire supply chain may suffer loss.
(3) Real-time data sharing is difficult to realize among different supervision departments, and a data isolated island is easily caused, so that the coordination of supervision work is restricted.
(4) When the whole supply chain involves a plurality of participating main bodies, the products are difficult to trace in the whole process, and the responsibility determination and responsibility pursuit of the supervision department are directly caused. Moreover, once a problem occurs in the product, a first recall cannot be made to reduce losses.
In view of the above problems, the present application proposes a block chain-based supply chain data administration scheme, and the main objective is to overcome the contradiction between the high disclosure requirement of the data administration by the administrator (such as government) and the need of protecting the privacy data related to business confidentiality of the enterprise.
The core of the blockchain technology is that transaction information stored in a chain is commonly maintained among all participating nodes in the current chain, so that the transaction information is based on a cryptology principle instead of trust, and a third party is not required to participate. The block chain technology has the important characteristics of decentralization, no tampering, openness and transparency, machine autonomy and the like, so that the trust and safety problems in the transaction process can be solved, and the safety and reliability of data in the transmission and storage processes are ensured. Meanwhile, the decentralized system can solve the problem of single-point failure, break a data island and realize linkage and cooperation of all nodes on a chain.
In order to ensure high performance and regulatory requirements of the system, the block chain system in the embodiment of the present application adopts a federation chain form based on a PBFT consensus mechanism. The government supervision node is used as a government (Delegates) node and is responsible for collecting transactions in the network, verifying the transactions and packaging the transactions into blocks, broadcasting the blocks and completing the uplink after verification. This kind of regulatory mechanism is well suited to the blockchain system where government regulatory nodes require the highest authority for data access. The authority of the government node is higher than that of a common node, so that the normal operation of the system can be better ensured, and meanwhile, the supervision work can be conveniently carried out by a supervision department. In addition, the consensus mechanism effectively avoids the waste of time and calculation cost for competing out the blocks, and ensures that the block-out process is rapid and stable.
In the system mode, the consensus process is controlled by the preselected nodes (government department nodes), so that the consensus process belongs to a alliance chain and has the advantages of weak centralization, strong controllability of data and systems, high transaction speed and the like.
As can be seen from the above, the blockchain system mainly targets three types of users, i.e. the supervisor (e.g. government node), the enterprise, and the consumer, and the requirements for functions thereof are different. Thus, for ease of management, the blockchain system ranks different types of node permissions.
The government nodes have the highest authority, and take the main node of PBFT consensus in turn to be responsible for block output and system management. The government node can provide an application for looking up any transaction information to the system due to the supervision requirement, the reason (such as supervision event proposal number) and the related transaction number of the enterprise related to the affairs which needs to be inquired are set forth in the application, and the application needs more than two thirds of government nodes to confirm that the data can be obtained.
The authority of the enterprise node is inferior to that of the government node, corresponding enterprise qualification certification needs to be submitted during registration, and the enterprise node can succeed after more than two-thirds of government node certification is passed. The enterprise node can initiate transactions in the system and has the obligation to reveal basic information about the transaction (data relating to the consumer's retrospective needs) and to permanently store detailed transaction information and to link it up with certificates.
The consumer node authority is minimal, and the consumer node can only look up basic data on the chain and trace back the whole life cycle of the product and the change of the basic information.
When the node authority is registered, it is determined that any node needs to change the authority, an application needs to be made in the system, the change reason is explained in the application, the qualification materials needed by the corresponding type of nodes are supplemented, and the change can be completed after the government nodes with the preset number (for example, more than two thirds) are authenticated. In the process, all information is disclosed in a full chain, and all nodes can supervise.
Based on the above, in the embodiment of the present application, there is first provided a supply chain data supervision method based on a block chain, where an execution subject of the supply chain data supervision method based on the block chain is a supply chain data supervision apparatus based on the block chain, and the supply chain data supervision apparatus based on the block chain is applied to an electronic device, and the supply chain data supervision method based on the block chain includes: acquiring a supervision request of a target supervision block chain node in the plurality of supervision block chain nodes for a target enterprise, wherein the supervision request comprises a supervision reason and supervision content; transmitting the supervision request to other supervision block chain nodes in the plurality of supervision block chain nodes, so that the other supervision block chain nodes feed back supervision opinions to the target supervision block chain node based on the supervision reasons and supervision contents; and if the supervision block chain nodes agreeing to the supervision in the supervision opinions fed back by the other supervision block chain nodes meet a first preset quantity requirement, passing the supervision request.
As shown in fig. 2, which is a schematic flow chart of an embodiment of a supply chain data supervision method based on a block chain in the embodiment of the present application, the supply chain data supervision method based on a block chain includes the following steps 201 to 203:
201. and acquiring a supervision request of a target supervision block chain node in the plurality of supervision block chain nodes for a target enterprise.
For example, when a certain government node needs a regulatory review for a certain enterprise (for example, a quality security event occurs in a product of the enterprise or is reported), the government node, as a regulatory block chain node, needs to make a regulatory request in the block chain system, where the regulatory request includes a regulatory reason and regulatory content, for example, the regulatory request includes a transaction number involved in the access and a reason for initiating the regulatory review, and each time the review initiation forms a corresponding unique review event number for subsequent follow-up.
202. And transmitting the supervision request to other supervision block chain nodes in the plurality of supervision block chain nodes, so that the other supervision block chain nodes feed back supervision opinions to the target supervision block chain node based on the supervision reasons and supervision contents.
And the supervision opinions fed back by each supervision block link node are approval supervision or disapproval supervision.
203. And if the supervision block chain nodes agreeing to the supervision in the supervision opinions fed back by the other supervision block chain nodes meet a first preset quantity requirement, passing the supervision request.
Specifically, all supervision opinions of other supervision block link nodes can be collected, the numbers of supervision agreeing and supervision disagreeing in the supervision opinions can be counted, and if the supervision opinions fed back by each of the other supervision block link nodes meet a first preset number requirement, the supervision request is passed.
Wherein the first predetermined number of requirements may be a proportional requirement, such as 2/3 for all supervisor block chain nodes. I.e., 2/3 indicating that the supervisor block chain node that agreed to supervise reached all the supervisor block chain nodes, the supervision request is passed.
The supervision department block chain node that supervision department corresponds in this application embodiment can visit the data in the block chain system when necessary, in order to guarantee can in time collect evidence, ensure to blame, catch up responsibility, combine simultaneously and link down storage mechanism and consensus mechanism, supervision department block chain node can wait to apply for any enterprise's data on the access chain as necessary, through the consensus process of a plurality of supervision department block chain nodes, both guaranteed that the privacy data of enterprise can not obtained by competitor and other irrelevant side, government department's supervision demand has been satisfied again, it can not be tampered at will to deposit the information of local storage to prove to link up chain, the highest authority of government's access supply chain data has been realized. In addition, the supervision consensus mechanism can ensure that the safety of the enterprise data is not threatened because one or a few supervision block chain nodes are attacked and failed. The supervision department who proposes the application can obtain corresponding data only by confirming the supervision area block chain nodes which have to meet the requirement of the preset number when the application for accessing the enterprise sensitive data is proposed, so that the supervision area block chain nodes of the whole chain supervise the whole data acquisition process together.
For the blockchain system described above, achieving the highest authority of the government department is one of the most important objectives. The highest authority mainly means that any data on the block chain can be acquired by relevant government departments according to the supervision requirement when necessary (such as the occurrence of a quality security malignant event), and the data comprises sensitive data related to enterprise privacy. To achieve this goal, two problems need to be overcome first:
(1) based on the premise of protecting enterprise privacy, sensitive data can be accessed by a specific supervision department only when necessary.
(2) The method is to avoid enterprise private data disclosure caused by the influence of unexpected faults, malicious attacks and the like on a certain government node on a chain.
Aiming at the two problems, the application provides a scheme for controlling confidential data in a multi-party combined mode, and the core of the scheme is that corresponding data can be obtained only through multi-party consensus, and information can not be lost permanently due to the fact that a password of one party is lost. Thus, no one party can privately obtain the data, and the data are guaranteed not to be leaked due to problems of one party. The multiple parties supervise and hold each other, so that the nodes which need to access the sensitive information need to propose reasonable applications when needed, and the data can be accessed only through the consensus process of the multiple parties. This also leaves the access record on the blockchain, which all nodes can supervise.
Thus, in some embodiments of the present application, after passing the regulatory request, as shown in FIG. 3, the method further comprises 301-302:
301. and sending a supervision notice to a target enterprise block link point corresponding to the target enterprise so that the target enterprise block node submits supervision materials to be submitted through a preset public key encryption algorithm, wherein the supervision notice comprises the supervision materials to be submitted and a submission deadline which are related to the supervision content.
302. And if the target enterprise block link node does not submit the to-be-submitted supervision data within the submission deadline, processing the target enterprise block link node.
The target enterprise block nodes are submitted to corresponding monitoring area block chain nodes through preset public key encryption, so that data are not visible to other parties, and the whole process can be supervised by the whole chain together. The evidence of the private data linked up by the enterprise can ensure that the enterprise cannot arbitrarily tamper with the materials when the transaction is completed, and once the materials submitted to the supervision department do not accord with the evidence storage record, the enterprise needs to undertake corresponding responsibility and penalty.
Further, the method further comprises: if the target enterprise blockchain node is not within the submission deadline and the supervision data to be submitted is submitted through a preset public key encryption algorithm, the target supervision blockchain node decrypts the supervision data to be submitted through a pre-acquired private key; and if the to-be-submitted supervision data are determined to meet the requirements, issuing confirmation information that the data meet the requirements to other supervision block link nodes.
Therefore, the multiple parties supervise and control each other, so that the nodes needing to access the sensitive information can access the data only by proposing a reasonable application when needed and through the consensus process of the multiple parties, and the data is also published to other supervision block chain nodes after being accessed, thereby further supervising each other and reducing the risk of leakage of the sensitive data.
In addition, when the block chain nodes are added into the block chain network, the user block chain nodes can be added without registration, but only have the authority of accessing the product tracing information, and the supervision block chain nodes and the enterprise block chain nodes are required to be registered, so that the identity authentication safety of the high-authority block chain nodes is ensured.
Specifically, for the registration process of the supervisor block chain node, as shown in fig. 4, the method may further include the following steps 401 to 403:
401. acquiring a first registration request of a first block chain link point joining a block chain system, wherein the first registration request is a registration request of a monitoring block chain node.
402. Forwarding the first registration request to the plurality of supervisor block chain nodes such that the plurality of supervisor block chain nodes feed back a first registration opinion.
403. And if the supervision block link nodes agreeing to be registered in the first registration opinions fed back by the plurality of supervision block link nodes reach a second preset quantity requirement, passing the first registration request.
Specifically, for the registration process of the enterprise blockchain node, as shown in fig. 5, the method further includes the following steps 501 to 503:
501. acquiring a second registration request for adding a second block chain link point into a block chain system, wherein the second registration request is a registration request of an enterprise block chain node;
502. forwarding the second registration request to the plurality of supervisor block chain nodes to cause the plurality of supervisor block chain nodes to feed back a second registration opinion;
503. and if the second registration opinions fed back by the plurality of the supervision area block link nodes are that the supervision area block link nodes which agree to register meet a third preset quantity requirement, passing the second registration request.
Wherein, first predetermined quantity and second predetermined quantity can be the same, for example all be the block chain link point value that the 2/3 proportion corresponds, and is further, because the block chain node of supervision is more important than the block chain node of enterprise, influences data security more, consequently, the second predetermined quantity can be greater than the third predetermined quantity, register agreeing that the block chain node of supervision that promptly registers can set up needs more block chain nodes of supervision registers, just can pass through the registration, further improve the security of system.
As shown in table 1 below, the description of the events involved in the blockchain system of the present application:
TABLE 1
Figure BDA0003071060020000151
Figure BDA0003071060020000161
When a blockchain in a blockchain system is an alliance chain, a supervision blockchain node is a government node, a user blockchain node is a consumer node, and an enterprise blockchain node is an enterprise node, as shown in fig. 6, a system data flow diagram of the government node, the consumer node, and the enterprise node in the blockchain system is shown, and a simple flow is combined to simply explain node registration, specifically as follows:
(1) and initiating a registration application, wherein the registration application comprises the registered node type and corresponding application information and certification material.
(2) The government node will verify its information and decide through a consensus process whether to approve the participation, and if the audit is passed, the government node will issue information that its registration application passes, and the node can participate in the system and be automatically granted the relevant authority.
The registered enterprise nodes can trade through the system, and the basic trading flow is as follows:
the enterprise node A initiates a transaction request to the whole network, and the request information mainly comprises the current basic traceability information, the request transaction type and the unique transaction number of the product. The transaction types can be divided into three types according to different requirements: selling, transporting and packaging.
Enterprise node B may provide a service to a that will issue a corresponding transaction response to the whole network after negotiating terms with a, which requires confirmation of the basic traceability information of the product that a previously issued in the application. The transaction response information also needs to include local deposits of the intelligent contract number (corresponding to the hash value) associated with the transaction, the financial cash flow produced, and other important descriptive material associated with the transaction.
After receiving the transaction response, the enterprise node a needs to send a transaction confirmation message to the whole network, and determines whether the local storage of the uploaded data by the node B is correct by calculating the hash value of the message.
To this end, a simple transaction is ended, in order to effectively protect enterprise private data and reduce the storage pressure of blockchain system, the system uses the online-offline storage mode that combines together, specifically as follows:
the transaction request information is mainly related to product tracing information, is frequently accessed and is therefore directly stored on the chain. Moreover, the information is strictly structured text information, is easy to compress and occupies relatively small storage space.
The transaction response information mainly comprises confirmation of product tracing information, intelligent contract codes related to transactions, cash flow generated by transactions, other related materials matched with supervision and investigation and the like. The confirmation of the product tracing information and the coding of the related intelligent contract can be directly stored on the chain. However, the trade flow and other materials matching with the supervision and investigation may include invoices, photos and a large amount of unstructured text materials, and the direct link of these data not only causes great storage pressure to the system, but also is easy to cause information leakage due to the system being attacked. Therefore, the system combines the link-down storage structure to store the part of information in the local of the enterprise node directly, and only stores the information (corresponding to the file hash value) in the chain. The transaction confirmation information has simple structure and can be directly linked for storage.
Such memory designs are primarily based on three considerations:
firstly, the storage pressure on the chain is reduced, and pictures and other unstructured text data occupy more storage space and are less prone to compression storage than structured text data.
Secondly, the enterprise privacy is protected to the greatest extent, if data related to the enterprise privacy is directly linked up, information protection completely depends on the security of a system and an encryption algorithm, and once the system is attacked or a secret key is leaked, information can be leaked. If the information is stored locally and only the chain is certified, even if the information is leaked, the attacker only sees the hash value of the information, and has no practical significance. Meanwhile, enterprises can be careful and careful about storing related information because of the interests of the enterprises.
Finally, the information related to product tracing in the system is expected to be frequently inquired, and the information is directly stored in the chain, so that the loading time of each access can be reduced, and the access efficiency and the user experience are improved.
In the embodiment of the application, local storage resources of all enterprises and government nodes in a block chain system are integrated, pictures related to specific transactions and other unstructured data which are irrelevant to the tracing function of basic products are stored in an enterprise local database, and only the pictures are linked up in a deposit certificate; similarly, when a regulatory event occurs, the corresponding government will store detailed evidence and event records in a local database, linking only the evidence. The frequency of accessing the data is far lower than that of basic data related to product tracing, so that the data are stored in a node local database and are called correspondingly when access is needed, and the data storage pressure on a chain is greatly reduced.
In addition, the basic product tracing data is directly stored on the chain in consideration of frequent inquiry of various users including a plurality of consumer nodes, so that the inquiry time of each time can be greatly saved, and the user experience is improved.
In order to better implement the block chain-based supply chain data supervision method in the embodiment of the present application, based on the block chain-based supply chain data supervision method, an embodiment of the present application further provides a block chain-based supply chain data supervision apparatus, where the block chain-based supply chain data supervision apparatus is applied to a block chain system, the block chain system includes a plurality of block chain nodes, the plurality of block chain nodes include a plurality of supervisor block chain nodes, enterprise block chain nodes, and user block chain nodes, the authority of the supervisor block chain nodes is greater than that of the enterprise block chain nodes and that of the user block chain nodes, and the authority of the enterprise block chain nodes is greater than that of the user block chain nodes; as shown in fig. 7, the block chain based supply chain data policing apparatus 700 includes:
an obtaining module 701, configured to obtain a supervision request of a target enterprise from a target supervision block chain node in the multiple supervision block chain nodes, where the supervision request includes a supervision reason and supervision content;
a propagation module 702, configured to propagate the supervision request to other supervision block chain nodes in the multiple supervision block chain nodes, so that the other supervision block chain nodes feed back supervision opinions to the target supervision block chain node based on the supervision reason and the supervision content;
a consensus module 703, configured to pass the supervision request if the supervision opinion fed back by each of the other supervision block link nodes indicates that the supervision block link nodes agree meet a first preset number requirement.
The supervision department block chain node that supervision department corresponds in this application embodiment can visit the data in the block chain system when necessary, in order to guarantee can in time collect evidence, ensure to blame, catch up responsibility, combine simultaneously and link down storage mechanism and consensus mechanism, supervision department block chain node can wait to apply for any enterprise's data on the access chain as necessary, through the consensus process of a plurality of supervision department block chain nodes, both guaranteed that the privacy data of enterprise can not obtained by competitor and other irrelevant side, government department's supervision demand has been satisfied again, it can not be tampered at will to deposit the information of local storage to prove to link up chain, the highest authority of government's access supply chain data has been realized. In addition, the supervision consensus mechanism can ensure that the safety of the enterprise data is not threatened because one or a few supervision block chain nodes are attacked and failed. The supervision department who proposes the application can obtain corresponding data only by confirming the supervision area block chain nodes which have to meet the requirement of the preset number when the application for accessing the enterprise sensitive data is proposed, so that the supervision area block chain nodes of the whole chain supervise the whole data acquisition process together.
In some embodiments of the present application, the apparatus further comprises:
a sending module, configured to send a supervision notification to a target enterprise block link point corresponding to the target enterprise after passing the supervision request, so that the target enterprise block node submits, through a preset public key encryption algorithm, to-be-submitted supervision data, where the supervision notification includes the to-be-submitted supervision data and a submission deadline associated with the supervision content;
and the processing module is used for processing the link node of the target enterprise block if the target enterprise block link node does not submit the to-be-submitted supervision data within the submission time limit.
In some embodiments of the present application, the apparatus further comprises:
the decryption module is used for decrypting the supervision material to be submitted by the target supervision area block chain node through a pre-obtained private key if the target enterprise block chain node is not in the submission deadline and the supervision material to be submitted is submitted through a preset public key encryption algorithm;
and the confirmation module is used for issuing confirmation information that the data meet the requirements to other supervision block link nodes if the supervision data to be submitted meet the requirements.
In some embodiments of the present application, the apparatus further comprises:
the system comprises a first registration module, a second registration module and a third registration module, wherein the first registration module is used for acquiring a first registration request of a first block chain link point added in a block chain system, and the first registration request is a registration request of a monitoring block chain node; forwarding the first registration request to the plurality of supervisor block chain nodes to cause the plurality of supervisor block chain nodes to feed back a first registration opinion; and if the supervision block link nodes agreeing to be registered in the first registration opinions fed back by the plurality of supervision block link nodes reach a second preset quantity requirement, passing the first registration request.
In some embodiments of the present application, the apparatus further comprises:
the second registration module is used for acquiring a second registration request of a second block chain node to join the block chain system, wherein the second registration request is a registration request of an enterprise block chain node; forwarding the second registration request to the plurality of supervisor block chain nodes to cause the plurality of supervisor block chain nodes to feed back a second registration opinion; and if the second registration opinions fed back by the plurality of the supervision area block link nodes are that the supervision area block link nodes which agree to register meet a third preset quantity requirement, passing the second registration request.
An embodiment of the present application further provides an electronic device, which integrates any one of the supply chain data monitoring apparatuses based on a block chain provided in the embodiment of the present application, where the electronic device includes:
one or more processors;
a 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 as steps in the block chain based supply chain data policing method as described in any of the above embodiments of the block chain based supply chain data policing method.
The embodiment of the present application further provides an electronic device, which integrates any one of the supply chain data supervision apparatuses based on the block chain provided by the embodiment of the present application. As shown in fig. 8, a schematic structural diagram of an electronic device according to an embodiment of the present application is shown, specifically:
the electronic device may include components such as a processor 801 of one or more processing cores, memory 802 of 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 configuration shown in fig. 8 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 801 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring of the electronic device. Alternatively, processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 801.
The memory 802 may be used to store software programs and modules, and the processor 801 executes various functional applications and data processing by operating 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 program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 802 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 access to the memory 802.
The electronic device further comprises a power supply 803 for supplying power to each component, and preferably, the power supply 803 can be logically connected with the processor 801 through a power management system, so that functions of charging, discharging, power consumption management and the like can be managed through the power management system. The power supply 803 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and any like components.
The electronic device may further include an input unit 804, and the input unit 804 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the electronic device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 801 in the electronic device loads an executable file corresponding to a process of one or more application programs into the memory 802 according to the following instructions, and the processor 801 runs the application programs stored in the memory 802, so as to implement various functions as follows:
acquiring a supervision request of a target supervision block chain node in a plurality of supervision block chain nodes for a target enterprise; the supervision request is transmitted to other supervision block chain nodes in the plurality of supervision block chain nodes, so that the other supervision block chain nodes feed back supervision opinions to the target supervision block chain node based on supervision reasons and supervision contents; and if the supervision block chain nodes agreeing to the supervision in the supervision opinions fed back by other supervision block chain nodes meet the first preset quantity requirement, the supervision request is passed.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like. Stored thereon, is a computer program, which is loaded by a processor to execute the steps in any block chain based supply chain data supervision method provided by the embodiments of the present application. For example, the computer program may be loaded by a processor to perform the steps of:
acquiring a supervision request of a target supervision block chain node in a plurality of supervision block chain nodes for a target enterprise; the supervision request is transmitted to other supervision block chain nodes in the plurality of supervision block chain nodes, so that the other supervision block chain nodes feed back supervision opinions to the target supervision block chain node based on supervision reasons and supervision contents; and if the supervision block chain nodes agreeing to the supervision in the supervision opinions fed back by other supervision block chain nodes meet the first preset quantity requirement, the supervision request is passed.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed descriptions of other embodiments, and are not described herein again.
In a specific implementation, each unit or structure may be implemented as an independent entity, or may be combined arbitrarily to be implemented as one or several entities, and the specific implementation of each unit or structure may refer to the foregoing method embodiment, which is not described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The above detailed description is given to a supply chain data supervision method, an electronic device, and a storage medium based on a block chain according to an embodiment of the present application, and a specific example is applied in the detailed description to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A supply chain data supervision method based on a block chain is characterized by being applied to a block chain system, wherein the block chain system comprises a plurality of block chain nodes, the plurality of block chain nodes comprise a plurality of monitoring block chain nodes, enterprise block chain nodes and user block chain nodes, the authority of the monitoring block chain nodes is greater than that of the enterprise block chain nodes and the user block chain nodes, and the authority of the enterprise block chain nodes is greater than that of the user block chain nodes; the block chain-based supply chain data supervision method comprises the following steps:
acquiring a supervision request of a target supervision block chain node in the plurality of supervision block chain nodes for a target enterprise, wherein the supervision request comprises a supervision reason and supervision content;
transmitting the supervision request to other supervision block chain nodes in the plurality of supervision block chain nodes, so that the other supervision block chain nodes feed back supervision opinions to the target supervision block chain node based on the supervision reasons and supervision contents;
and if the supervision block chain nodes agreeing to the supervision in the supervision opinions fed back by the other supervision block chain nodes meet a first preset quantity requirement, passing the supervision request.
2. The block chain based supply chain data policing method of claim 1, wherein after passing the policing request, the method further comprises:
sending a supervision notice to a target enterprise block link point corresponding to the target enterprise so that the target enterprise block node submits supervision materials to be submitted through a preset public key encryption algorithm, wherein the supervision notice comprises the supervision materials to be submitted and a submission deadline related to the supervision content;
and if the target enterprise block link node does not submit the to-be-submitted supervision data within the submission deadline, processing the target enterprise block link node.
3. The block chain based supply chain data policing method of claim 2, further comprising:
if the target enterprise blockchain node is not within the submission deadline and the supervision data to be submitted is submitted through a preset public key encryption algorithm, the target supervision blockchain node decrypts the supervision data to be submitted through a pre-acquired private key;
and if the to-be-submitted supervision data are determined to meet the requirements, issuing confirmation information that the data meet the requirements to other supervision block link nodes.
4. The block chain based supply chain data policing method of claim 1, further comprising:
acquiring a first registration request for adding a first block chain link point into a block chain system, wherein the first registration request is a registration request of a monitoring block chain node;
forwarding the first registration request to the plurality of supervisor block chain nodes to cause the plurality of supervisor block chain nodes to feed back a first registration opinion;
and if the supervision block link nodes agreeing to be registered in the first registration opinions fed back by the plurality of supervision block link nodes reach a second preset quantity requirement, passing the first registration request.
5. The block chain based supply chain data policing method of claim 1, further comprising:
acquiring a second registration request for adding a second block chain link point into a block chain system, wherein the second registration request is a registration request of an enterprise block chain node;
forwarding the second registration request to the plurality of supervisor block chain nodes to cause the plurality of supervisor block chain nodes to feed back a second registration opinion;
and if the second registration opinions fed back by the plurality of the supervision area block link nodes are that the supervision area block link nodes which agree to register meet a third preset quantity requirement, passing the second registration request.
6. A supply chain data supervision device based on a block chain is applied to a block chain system, the block chain system comprises a plurality of block chain nodes, the plurality of block chain nodes comprise a plurality of monitoring block chain nodes, enterprise block chain nodes and user block chain nodes, the authority of the monitoring block chain nodes is greater than that of the enterprise block chain nodes and the user block chain nodes, and the authority of the enterprise block chain nodes is greater than that of the user block chain nodes; the block chain based supply chain data supervision device comprises:
an obtaining module, configured to obtain a supervision request of a target enterprise from a target supervision block chain node of the multiple supervision block chain nodes, where the supervision request includes a supervision reason and supervision content;
a propagation module, configured to propagate the supervision request to other supervision block chain nodes in the multiple supervision block chain nodes, so that the other supervision block chain nodes feed back supervision opinions to the target supervision block chain node based on the supervision reason and the supervision content;
and the consensus module is used for passing the supervision request if the supervision block chain nodes agreeing to be supervised in the supervision opinions fed back by the other supervision block chain nodes meet a first preset quantity requirement.
7. The block chain based supply chain data policing apparatus of claim 6, further comprising:
a sending module, configured to send a supervision notification to a target enterprise block link point corresponding to the target enterprise after passing the supervision request, so that the target enterprise block node submits, through a preset public key encryption algorithm, to-be-submitted supervision data, where the supervision notification includes the to-be-submitted supervision data and a submission deadline associated with the supervision content;
and the processing module is used for processing the link node of the target enterprise block if the target enterprise block link node does not submit the to-be-submitted supervision data within the submission time limit.
8. The block chain based supply chain data policing apparatus of claim 6, further comprising:
the decryption module is used for decrypting the supervision material to be submitted by the target supervision area block chain node through a pre-obtained private key if the target enterprise block chain node is not in the submission deadline and the supervision material to be submitted is submitted through a preset public key encryption algorithm;
and the confirmation module is used for issuing confirmation information that the data meet the requirements to other supervision block link nodes if the supervision data to be submitted meet the requirements.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a 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 curation method of any one of claims 1 to 5.
10. A computer-readable storage medium, having stored thereon a computer program which is loaded by a processor to perform the steps in the block chain based supply chain data supervision method according to any of claims 1 to 5.
CN202110539364.7A 2021-05-18 2021-05-18 Supply chain data supervision method based on block chain, electronic equipment and storage medium Active CN113239399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110539364.7A CN113239399B (en) 2021-05-18 2021-05-18 Supply chain data supervision method based on block chain, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110539364.7A CN113239399B (en) 2021-05-18 2021-05-18 Supply chain data supervision method based on block chain, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113239399A true CN113239399A (en) 2021-08-10
CN113239399B CN113239399B (en) 2024-06-14

Family

ID=77134910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110539364.7A Active CN113239399B (en) 2021-05-18 2021-05-18 Supply chain data supervision method based on block chain, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113239399B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114140138A (en) * 2021-12-03 2022-03-04 西华大学 Market supervision consistency checking method based on block chain technology
CN114612242A (en) * 2022-03-17 2022-06-10 四川大学 Data management method and device based on multi-value chain collaborative mapping block chain
CN115544154A (en) * 2022-12-01 2022-12-30 煤炭科学技术研究院有限公司 Coal mine safety supervision method and device based on block chain and electronic equipment
CN116776305A (en) * 2023-06-15 2023-09-19 南京理工大学 Block chain intelligent contract architecture oriented to industrial scene and operation method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108615185A (en) * 2018-04-24 2018-10-02 北京罗格数据科技有限公司 A kind of silver-colored tax interaction systems construction method based on block chain
CN108647968A (en) * 2018-05-10 2018-10-12 阿里巴巴集团控股有限公司 A kind of block chain data processing method, device, processing equipment and system
US20190014124A1 (en) * 2017-07-10 2019-01-10 Cisco Technology, Inc. End-to-end policy management for a chain of administrative domains
CN109919764A (en) * 2019-01-31 2019-06-21 中国互联网络信息中心 Domain name transaction monitoring and managing method and device based on block chain
CN109961287A (en) * 2019-02-12 2019-07-02 众安信息技术服务有限公司 A kind of monitoring and managing method and supervisory systems of block chain
CN111008365A (en) * 2019-11-27 2020-04-14 山东爱城市网信息技术有限公司 Block chain-based electronic academic work copyright management system, equipment and medium
CN112134864A (en) * 2020-09-14 2020-12-25 广州大学 Evidence chain platform based on double-block chain structure and implementation method thereof
CN112184264A (en) * 2020-09-30 2021-01-05 微医云(杭州)控股有限公司 Block chain-based drug supervision method, device, server and medium
CN112269838A (en) * 2020-11-18 2021-01-26 网易(杭州)网络有限公司 Block chain-based supervision method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190014124A1 (en) * 2017-07-10 2019-01-10 Cisco Technology, Inc. End-to-end policy management for a chain of administrative domains
CN108615185A (en) * 2018-04-24 2018-10-02 北京罗格数据科技有限公司 A kind of silver-colored tax interaction systems construction method based on block chain
CN108647968A (en) * 2018-05-10 2018-10-12 阿里巴巴集团控股有限公司 A kind of block chain data processing method, device, processing equipment and system
CN109919764A (en) * 2019-01-31 2019-06-21 中国互联网络信息中心 Domain name transaction monitoring and managing method and device based on block chain
CN109961287A (en) * 2019-02-12 2019-07-02 众安信息技术服务有限公司 A kind of monitoring and managing method and supervisory systems of block chain
CN111008365A (en) * 2019-11-27 2020-04-14 山东爱城市网信息技术有限公司 Block chain-based electronic academic work copyright management system, equipment and medium
CN112134864A (en) * 2020-09-14 2020-12-25 广州大学 Evidence chain platform based on double-block chain structure and implementation method thereof
CN112184264A (en) * 2020-09-30 2021-01-05 微医云(杭州)控股有限公司 Block chain-based drug supervision method, device, server and medium
CN112269838A (en) * 2020-11-18 2021-01-26 网易(杭州)网络有限公司 Block chain-based supervision method and device, electronic equipment and storage medium

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
JING SUN等: "Software Evolution Algorithm and Application Study Based on Fabric Blockchain", 《2021 IEEE 4TH ADVANCED INFORMATION MANAGEMENT, COMMUNICATES, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (IMCEC)》, pages 846 - 855 *
宁梦月等: "基于区块链技术的数字知识产权保护方案研究", 《情报理论与实践》, vol. 43, no. 07, pages 148 - 154 *
张凯等: "区块链技术在银行反洗钱客户尽职调查中的应用", 《金融理论探索》, no. 05, pages 55 - 61 *
朱子丹: "证券市场行政监管措施研究", 《中国优秀硕士学位论文全文数据库》, pages 119 - 27 *
谢家贵: "区块链与工业互联网协同发展构建新基建的思考", 《信息通信技术与政策》, no. 12, pages 38 - 45 *
陈剑等: "国家顶级节点分布指导理论研究", 《信息通信技术与政策》, vol. 47, no. 04, pages 54 - 58 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114140138A (en) * 2021-12-03 2022-03-04 西华大学 Market supervision consistency checking method based on block chain technology
CN114612242A (en) * 2022-03-17 2022-06-10 四川大学 Data management method and device based on multi-value chain collaborative mapping block chain
CN114612242B (en) * 2022-03-17 2023-06-16 四川大学 Data management method and device based on multi-value chain collaborative mapping block chain
CN115544154A (en) * 2022-12-01 2022-12-30 煤炭科学技术研究院有限公司 Coal mine safety supervision method and device based on block chain and electronic equipment
CN116776305A (en) * 2023-06-15 2023-09-19 南京理工大学 Block chain intelligent contract architecture oriented to industrial scene and operation method thereof
CN116776305B (en) * 2023-06-15 2023-12-15 南京理工大学 Operation method of intelligent block chain contract system facing industrial scene

Also Published As

Publication number Publication date
CN113239399B (en) 2024-06-14

Similar Documents

Publication Publication Date Title
Niranjanamurthy et al. Analysis of Blockchain technology: pros, cons and SWOT
Du et al. An optimized consortium blockchain for medical information sharing
Farahani et al. The convergence of IoT and distributed ledger technologies (DLT): Opportunities, challenges, and solutions
Hasan et al. Proof of delivery of digital assets using blockchain and smart contracts
Dhar Dwivedi et al. Blockchain and artificial intelligence for 5G‐enabled Internet of Things: Challenges, opportunities, and solutions
Maroufi et al. On the convergence of blockchain and internet of things (iot) technologies
Heiss et al. From oracles to trustworthy data on-chaining systems
Alizadeh et al. A survey of secure internet of things in relation to blockchain
CN113239399A (en) Supply chain data supervision method based on block chain, electronic equipment and storage medium
He et al. On the consensus mechanisms of blockchain/dlt for internet of things
Zou et al. Integrated blockchain and cloud computing systems: A systematic survey, solutions, and challenges
Lu Implementing blockchain in information systems: A review
TWI717927B (en) Hybrid blockchain architecture with computing pool
KR102569409B1 (en) Systems and methods for virtual distributed ledger networks
Dahiya et al. A comprehensive analysis of blockchain and its applications in intelligent systems based on IoT, cloud and social media
Siris et al. Decentralized authorization in constrained IoT environments exploiting interledger mechanisms
Li et al. A decentralized and secure blockchain platform for open fair data trading
CN116250210A (en) Methods, apparatus, and computer readable media for authentication and authorization of networked data transactions
Hou et al. A resolution of sharing private charging piles based on smart contract
Kaur et al. Blockchain technology for convergence: an overview, applications, and challenges
Lin et al. A Blockchain-enabled decentralized settlement model for IoT data exchange services
Yin et al. A survey on privacy preservation techniques for blockchain interoperability
Qi et al. Truth: A blockchain-aided secure reputation system with genuine feedbacks
Lisi et al. Practical application and evaluation of atomic swaps for blockchain-based recommender systems
Fartitchou et al. Security on blockchain technology

Legal Events

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