CN114612242A - Data management method and device based on multi-value chain collaborative mapping block chain - Google Patents

Data management method and device based on multi-value chain collaborative mapping block chain Download PDF

Info

Publication number
CN114612242A
CN114612242A CN202210262828.9A CN202210262828A CN114612242A CN 114612242 A CN114612242 A CN 114612242A CN 202210262828 A CN202210262828 A CN 202210262828A CN 114612242 A CN114612242 A CN 114612242A
Authority
CN
China
Prior art keywords
business
blockchain
data
value chain
alliance
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
CN202210262828.9A
Other languages
Chinese (zh)
Other versions
CN114612242B (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.)
Sichuan University
Original Assignee
Sichuan University
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 Sichuan University filed Critical Sichuan University
Priority to CN202210262828.9A priority Critical patent/CN114612242B/en
Publication of CN114612242A publication Critical patent/CN114612242A/en
Application granted granted Critical
Publication of CN114612242B publication Critical patent/CN114612242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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/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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

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

Abstract

本发明基于多价值链协同映射区块链的数据管理方法和装置,涉及汽车制造技术领域。包括:确定价值链协作联盟的总体信息,基于总体信息,映射形成区块链联盟;其中,基于每条价值链的类型,映射形成区块链联盟中的通道;基于每条价值链的业务环节,映射形成区块链联盟中的节点;基于业务环节对应的业务数据,映射形成区块链联盟中的统一数据;基于企业的业务操作人员,映射形成区块链联盟中的用户。本发明利用了区块链形成业务数据的统一,打破数据孤立状态,便捷实现了数据共享、资源协调、价值传递与交换以及业务流程合作,同时实现业务数据的不可篡改、可追溯等需求,更好的服务于广泛的汽车制造核心企业以及相关企业,具有较高的实用性。

Figure 202210262828

The invention discloses a data management method and device based on multi-value chain collaborative mapping block chain, and relates to the technical field of automobile manufacturing. Including: determining the overall information of the value chain collaboration alliance, and mapping to form a blockchain alliance based on the overall information; wherein, based on the type of each value chain, mapping to form a channel in the blockchain alliance; based on the business links of each value chain , which are mapped to form the nodes in the blockchain alliance; based on the business data corresponding to the business links, the unified data in the blockchain alliance is mapped; based on the business operators of the enterprise, the users in the blockchain alliance are mapped. The invention utilizes the blockchain to form the unification of business data, breaks the data isolation state, conveniently realizes data sharing, resource coordination, value transfer and exchange, and business process cooperation, and at the same time realizes the requirements of non-tampering and traceability of business data. Good service for a wide range of core automobile manufacturing enterprises and related enterprises, with high practicability.

Figure 202210262828

Description

基于多价值链协同映射区块链的数据管理方法和装置Data management method and device based on multi-value chain collaborative mapping of blockchain

技术领域technical field

本发明涉及汽车制造技术领域,特别是基于多价值链协同映射区块链的数据管理方法和装置。The invention relates to the technical field of automobile manufacturing, in particular to a data management method and device based on a multi-value chain collaborative mapping block chain.

背景技术Background technique

由于目前汽车产业价值链之间的联系逐渐增强,多链间的业务发展日益密切,价值链之间的业务协作不仅需要以核心制造企业为主与其上下游企业间的纵向协作,还需要多条链式价值链的横向跨链协作,形成包含纵向与横向协同关系的网状结构的价值链协作联盟。Due to the increasing connection between the value chains of the automobile industry and the increasingly close business development between multiple chains, business collaboration between value chains not only requires vertical collaboration between core manufacturing enterprises and their upstream and downstream enterprises, but also requires multiple The horizontal and cross-chain collaboration of the chain value chain forms a value chain collaboration alliance with a network structure that includes vertical and horizontal collaborative relationships.

但目前网状结构的多价值链协作联盟中,价值链之间的数据孤立,不能很好的实现数据共享、资源协调、价值传递与交换以及业务流程合作,尤其是多价值链数据在实现上述目标的过程中,数据易泄露,导致数据被篡改、无法追溯等问题,进一步加深了数据孤立。However, in the current multi-value chain collaboration alliance with mesh structure, the data between the value chains is isolated, and data sharing, resource coordination, value transfer and exchange, and business process cooperation cannot be well realized. In the process of targeting, data is easily leaked, resulting in problems such as data being tampered with and unable to be traced, further deepening data isolation.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,本发明提供一种基于多价值链协同映射区块链的数据管理方法和装置,可以有效提高数据安全性,打破数据孤立状态。In view of the above problems, the present invention provides a data management method and device based on a multi-value chain collaborative mapping block chain, which can effectively improve data security and break the data isolation state.

本发明实施例提供了一种基于多价值链协同映射区块链的数据管理方法,所述多价值链协同是指企业的多条价值链上以及之间的业务协同,形成包含纵向与横向协同关系网状结构的价值链协作联盟,所述数据管理方法包括:The embodiment of the present invention provides a data management method based on multi-value chain collaboration mapping blockchain, the multi-value chain collaboration refers to business collaboration on and between multiple value chains of an enterprise, forming a vertical and horizontal collaboration A value chain collaboration alliance with a relationship network structure, the data management method includes:

确定所述价值链协作联盟的总体信息,所述总体信息包括:每条价值链的类型、对应的业务环节、业务环节对应的业务数据,以及企业的业务操作人员;Determine the overall information of the value chain collaboration alliance, and the overall information includes: the type of each value chain, the corresponding business link, the business data corresponding to the business link, and the business operators of the enterprise;

基于所述总体信息,映射形成区块链联盟;Based on the overall information, mapping to form a blockchain alliance;

其中,基于所述每条价值链的类型,映射形成所述区块链联盟中的通道;Wherein, based on the type of each value chain, mapping to form the channel in the blockchain alliance;

基于所述每条价值链的业务环节,映射形成所述区块链联盟中的节点;Based on the business links of each value chain, map the nodes in the blockchain alliance;

基于所述业务环节对应的业务数据,映射形成所述区块链联盟中的统一数据;Based on the business data corresponding to the business links, the unified data in the blockchain alliance is formed by mapping;

基于企业的业务操作人员,映射形成所述区块链联盟中的用户。Based on the business operators of the enterprise, the users in the blockchain alliance are mapped.

可选地,基于所述总体信息,映射形成区块链联盟,包括:Optionally, based on the overall information, mapping to form a blockchain consortium, including:

将所述价值链协作联盟的总体信息,通过一个五元组进行表示,以映射形成所述区块链联盟,所述区块链联盟U对应的五元组如下:The overall information of the value chain collaboration alliance is represented by a quintuple to map to form the blockchain alliance, and the quintuple corresponding to the blockchain alliance U is as follows:

U={Uid,Uname,UE,UA,UC}U={U id , U name , U E , U A , U C }

其中,Uid是所述区块链联盟的唯一标识符,Uname是所述区块链联盟的名称,UE是所述区块链联盟内的通道集合,即对应的价值链集合,UA是所述区块链联盟内的通道管理员集合,UC是所述区块链联盟的协作条件,所述协作条件包括:每个价值链的准入条件、合作申明、隐私申明,所述区块链联盟包括:Fabric联盟。Wherein, U id is the unique identifier of the blockchain consortium, U name is the name of the blockchain consortium, U E is the channel set in the blockchain consortium, that is, the corresponding value chain set, U A is the set of channel administrators in the blockchain consortium, U C is the cooperation condition of the blockchain consortium, and the collaboration conditions include: access conditions, cooperation declarations, and privacy declarations of each value chain. The blockchain alliances mentioned above include: Fabric Alliance.

可选地,基于所述每条价值链的类型,映射形成所述区块链联盟中的通道,包括:Optionally, based on the type of each value chain, mapping to form a channel in the blockchain consortium, including:

所述每条价值链,映射为所述区块链联盟的一条通道,所述多价值链中所有价值链映射的通道形成所述通道集合;Each value chain is mapped to a channel of the blockchain alliance, and the channels mapped by all value chains in the multi-value chain form the channel set;

对于每一条通道Ei通过一个六元组进行表示如下:For each channel Ei is represented by a six-tuple as follows:

Ei={Eid,Ename,Etype,Eorg,Enode,Euser}E i ={E id ,E name ,E type ,E org ,E node ,E user }

其中,Eid是通道Ei的唯一标识符,Ename是通道Ei的名字,Etype是通道Ei的类型,即价值链的类型,Eorg是通道Ei的组织集合,即对应价值链中的企业集合,Enode是通道Ei的节点集合,即对应价值链的企业业务环节集合和该通道的功能环节集合,Euser是通道Ei的用户集合,即对应价值链的企业业务操作人员集合。Among them, E id is the unique identifier of the channel E i , E name is the name of the channel E i , E type is the type of the channel E i , that is, the type of the value chain, E org is the organization set of the channel Ei, that is, the corresponding value chain E node is the set of nodes of channel E i , that is, the set of enterprise business links corresponding to the value chain and the set of functional links of the channel, E user is the set of users of channel Ei, that is, the enterprise business operators corresponding to the value chain gather.

可选地,基于企业的业务操作人员,映射形成所述区块链联盟中的用户,包括:Optionally, based on the business operators of the enterprise, the users in the blockchain alliance are mapped, including:

将所述企业的业务操作人员,映射为所述区块链联盟中的用户,并通过所述区块链联盟的用户管理模块对所述用户进行信息管理和权限控制;Map the business operators of the enterprise to users in the blockchain alliance, and perform information management and authority control on the users through the user management module of the blockchain alliance;

每一个所述区块链联盟中的用户Usri通过一个四元组进行表示如下:Each user Usri in the blockchain consortium is represented by a quadruple as follows:

Usri={Usrid,Eid,Usrauthority,Enode}Usr i ={Usr id ,E id ,Usr authority ,E node }

其中,Usrid表示用户Usri的唯一标识,Eid表示用户Usri所在的企业,Usrauthority表示用户Usri的权限集合,Enode表示与用户Usri相关的业务环节集合,所述用户管理模块基于该四元组对所述用户进行业务活动方面的权限控制。Wherein, Usrid represents the unique identifier of the user Usri, E id represents the enterprise where the user Usri is located, Usrauthority represents the authority set of the user Usri , E node represents the set of business links related to the user Usri , and the user management module is based on The four-tuple performs permission control on the user in terms of business activities.

可选地,基于所述每条价值链的业务环节,映射形成所述区块链联盟中的节点,包括:Optionally, based on the business links of each value chain, the nodes in the blockchain alliance are mapped, including:

将所述业务环节映射为所述区块链联盟中的节点,其中所述业务操作人员按照各自的职能参与到所述业务环节中;mapping the business links to nodes in the blockchain consortium, wherein the business operators participate in the business links according to their respective functions;

通过所述区块链联盟的节点管理模块来实现业务管理,包括:所述节点的准入控制、创建与删除、部署与下线;Business management is realized through the node management module of the blockchain alliance, including: admission control, creation and deletion, deployment and offline of the node;

通过所述区块链联盟的交易管理来推动所述业务环节的业务流程,所述业务环节包括:采购、仓储、配送、加工、生产、销售、维修、保养以及结算;Promote the business process of the business link through the transaction management of the blockchain alliance, and the business link includes: procurement, warehousing, distribution, processing, production, sales, repair, maintenance, and settlement;

每一个业务环节对应一种类型的业务处理,所述业务处理包括:协同业务和简单业务,一个业务环节Si通过一个五元组进行表示如下:Each business link corresponds to one type of business processing, and the business processing includes: collaborative business and simple business. One business link Si is represented by a quintuple as follows:

Si={Sid,Sname,Snode,Suser,Stask}S i = {S id , S name , S node , S user , S task }

其中,Sid是业务环节Si的唯一标识符,Sname是业务环节Si的名称,Snode是业务环节Si的相关节点集合,Suser是业务环节Si的参与用户集,Stask是业务环节Si的业务交付条件,仅在满足交付条件的情况下,业务环节才可正常执行。Among them, S id is the unique identifier of the business link Si , S name is the name of the business link Si, S node is the set of related nodes of the business link Si, S user is the set of participating users of the business link Si, and S task It is the business delivery condition of the business link Si , and the business link can be executed normally only when the delivery conditions are met.

可选地,所述区块链联盟将所述业务处理以背书的方式进行交易和记录所述业务处理的结果;Optionally, the blockchain consortium conducts transactions and records the results of the business processing by means of endorsement;

所述简单业务需申请非转让背书,所述非转让背书是将特定的资产权利授予所述用户行使,包括:资产使用背书和抵押背书;The simple business needs to apply for a non-transferable endorsement, and the non-transferable endorsement is to grant specific asset rights to the user to exercise, including: asset use endorsement and mortgage endorsement;

所述协同业务需申请转让背书,所述转让背书是将资产人的权利转让给其他用户,包括:资产转移背书。The collaborative business needs to apply for a transfer endorsement, and the transfer endorsement is to transfer the rights of the asset owner to other users, including: asset transfer endorsement.

可选地,基于所述业务环节对应的业务数据,映射形成所述区块链联盟中的统一数据,包括:Optionally, based on the business data corresponding to the business links, the unified data in the blockchain alliance is formed by mapping, including:

将所述业务环节对应的业务数据,通过对应的价值链标识、企业标识以及数据标识,进行区分管理和唯一识别,以将所述业务环节对应的业务数据统一表示;Differentiate management and unique identification of the business data corresponding to the business links through the corresponding value chain identifiers, enterprise identifiers and data identifiers, so as to uniformly represent the business data corresponding to the business links;

所述业务数据Di通过一个七元组进行表示如下:The service data D i is represented by a seven-tuple as follows:

Di={Did,DUid,DEid,Meta,I,O,Dsig}D i ={D id ,D Uid ,D Eid ,Meta,I,O,D sig }

其中,Did是业务数据Di的唯一标识符,Duid是业务数据Di所属协作联盟的唯一标识,DEid是业务数据Di所属企业的唯一标识,Meta是业务数据Di与统一数据表示结构的映射关系;Among them, D id is the unique identifier of the business data Di, D uid is the unique identifier of the collaboration alliance to which the business data Di belongs, D Eid is the unique identifier of the enterprise to which the business data Di belongs, and Meta is the business data Di and the unified data representation The mapping relationship of the structure;

所述Meta用一个五元组的元数据模型表示,记作Meta:<T,E,V,O,R>;The Meta is represented by a five-tuple metadata model, denoted as Meta:<T,E,V,O,R>;

I={I1,I2,…,In}是业务数据Di输入接口的集合,该式中n是输入属性参数的数量;I={I 1 , I 2 ,...,I n } is the set of business data D i input interfaces, where n is the number of input attribute parameters;

O={O1,O2,…,On}是业务数据Di输出接口的集合,该式中n是输出属性参数的数量;O={O 1 ,O 2 ,...,On } is the set of business data D i output interfaces, where n is the number of output attribute parameters;

Dsig={Dsig1,Dsig2,…,Dsigm}是业务数据Di的签名集合,用于确定数据的权限归属,该式中m是签名的数量。D sig ={D sig1 ,D sig2 ,...,D sigm } is the signature set of the service data Di, used to determine the authority ownership of the data, where m is the number of signatures.

可选地,所述业务数据Di中任一种数据实体都用本体概念化定义,所述数据实体包括:数据实体的类别、属性以及关系;Optionally, any data entity in the business data D i is defined by ontology conceptualization, and the data entity includes: the category, attribute and relationship of the data entity;

基于上述定义,建立所述Meta的元数据模型,其中,T是原子术语集,其包括:原子类术语C和原子属性术语P,则T=<C,P>;Based on the above definition, establish the metadata model of the Meta, wherein, T is the atomic term set, which includes: atomic class term C and atomic attribute term P, then T=<C, P>;

E是术语解释集,其引用现成的词汇库来定义和解释术语;E is a term interpretation set, which refers to an off-the-shelf vocabulary to define and explain terms;

V是术语值集;V is the term value set;

O是数据实体集,其通过术语集T和术语值集V的笛卡尔积来描述,则T*V→O;O is the data entity set, which is described by the Cartesian product of the term set T and the term value set V, then T*V→O;

R是数据实体的关系集,描述数据实体间的二元关系。R is a relational set of data entities, describing the binary relation between data entities.

可选地,所述企业中的每个企业,基于自身所在的价值链协作联盟的总体信息,映射形成区块链联盟的具体方法包括:Optionally, each enterprise in the enterprise, based on the overall information of the value chain collaboration alliance in which it is located, maps and forms the specific method of the blockchain alliance including:

利用所述每个企业各自的主体,形成与区块链本体概念的映射关系;Using the respective subject of each enterprise to form a mapping relationship with the blockchain ontology concept;

对于每个企业均有:For every business there are:

基于企业的基本信息,映射形成类别为区块链的组织,所述企业的基本信息包括:企业编号、企业名称、企业类型、企业地点、企业价值链集合,所述企业价值链包括:对应的价值链编号和对应的价值链;Based on the basic information of the enterprise, an organization with the type of block chain is formed by mapping. The basic information of the enterprise includes: enterprise number, enterprise name, enterprise type, enterprise location, and enterprise value chain set. The enterprise value chain includes: corresponding Value chain number and corresponding value chain;

基于企业的业务环节的基本信息,映射形成类别为区块链节点的本体,所述业务环节的基本信息包括:业务环节编号、业务环节名称、业务环节类型、参与业务环节的部门,所述业务环节类型包括:采购、仓储、配送、加工、生产、销售、维修、保养、结算;Based on the basic information of the business link of the enterprise, the ontology of the type of blockchain node is formed by mapping. The basic information of the business link includes: the business link number, the business link name, the business link type, the department participating in the business link, and the business link. Link types include: procurement, warehousing, distribution, processing, production, sales, repair, maintenance, settlement;

基于企业的业务数据,映射形成类别为业务数据的本体;Based on the business data of the enterprise, the mapping forms an ontology whose category is the business data;

基于企业的资产数据,映射形成类别为资产数据的本体;Based on the asset data of the enterprise, the mapping forms an ontology whose category is asset data;

基于企业涉及的价值链,映射形成类别为区块链的本体,其中一条价值链映射为一条区块链;Based on the value chain involved in the enterprise, the mapping forms an ontology with the category of blockchain, and one of the value chains is mapped to a blockchain;

基于企业涉及的多价值链协同,映射形成类别为区块链联盟的本体。Based on the multi-value chain collaboration involved in the enterprise, the mapping forms the ontology of the blockchain alliance.

本发明实施例还提供了一种基于多价值链协同映射区块链的数据管理装置,所述多价值链协同是指企业的多条价值链上以及之间的业务协同,形成包含纵向与横向协同关系网状结构的价值链协作联盟,所述数据管理装置包括:The embodiment of the present invention also provides a data management device based on multi-value chain collaboration mapping blockchain, the multi-value chain collaboration refers to the business collaboration on and between multiple value chains of an enterprise, forming a vertical and horizontal A value chain collaboration alliance with a collaborative relationship network structure, the data management device includes:

确定总体信息模块,用于确定所述价值链协作联盟的总体信息,所述总体信息包括:每条价值链的类型、对应的业务环节、业务环节对应的业务数据,以及企业的业务操作人员;determining the overall information module, used to determine the overall information of the value chain collaboration alliance, the overall information includes: the type of each value chain, the corresponding business link, the business data corresponding to the business link, and the business operator of the enterprise;

映射模块,用于基于所述总体信息,映射形成区块链联盟;a mapping module, used for mapping to form a blockchain alliance based on the overall information;

其中,所述映射模块包括:Wherein, the mapping module includes:

映射通道子模块,用于基于所述每条价值链的类型,映射形成所述区块链联盟中的通道;A mapping channel sub-module, used for mapping to form a channel in the blockchain alliance based on the type of each value chain;

映射节点子模块,用于基于所述每条价值链的业务环节,映射形成所述区块链联盟中的节点;A node mapping submodule, used for mapping the nodes in the blockchain alliance based on the business links of each value chain;

映射统一数据子模块,用于基于所述业务环节对应的业务数据,映射形成所述区块链联盟中的统一数据;The mapping unified data submodule is used to map the unified data in the blockchain alliance based on the business data corresponding to the business links;

映射用户子模块,用于基于企业的业务操作人员,映射形成所述区块链联盟中的用户。The user mapping submodule is used for enterprise-based business operators to map the users in the blockchain alliance.

可选地,所述映射模块具体用于:Optionally, the mapping module is specifically used for:

将所述价值链协作联盟的总体信息,通过一个五元组进行表示,以映射形成所述区块链联盟,所述区块链联盟U对应的五元组如下:The overall information of the value chain collaboration alliance is represented by a quintuple to map to form the blockchain alliance, and the quintuple corresponding to the blockchain alliance U is as follows:

U={Uid,Uname,UE,UA,UC}U={U id , U name , U E , U A , U C }

其中,Uid是所述区块链联盟的唯一标识符,Uname是所述区块链联盟的名称,UE是所述区块链联盟内的通道集合,即对应的价值链集合,UA是所述区块链联盟内的通道管理员集合,UC是所述区块链联盟的协作条件,所述协作条件包括:每个价值链的准入条件、合作申明、隐私申明,所述区块链联盟包括:Fabric联盟。Wherein, U id is the unique identifier of the blockchain consortium, U name is the name of the blockchain consortium, U E is the channel set in the blockchain consortium, that is, the corresponding value chain set, U A is the set of channel administrators in the blockchain consortium, U C is the cooperation condition of the blockchain consortium, and the collaboration conditions include: access conditions, cooperation declarations, and privacy declarations of each value chain. The blockchain alliances mentioned above include: Fabric Alliance.

可选地,所述映射通道子模块具体用于:Optionally, the mapping channel submodule is specifically used for:

所述每条价值链,映射为所述区块链联盟的一条通道,所述多价值链中所有价值链映射的通道形成所述通道集合;Each value chain is mapped to a channel of the blockchain alliance, and the channels mapped by all value chains in the multi-value chain form the channel set;

对于每一条通道Ei通过一个六元组进行表示如下:For each channel Ei is represented by a six-tuple as follows:

Ei={Eid,Ename,Etype,Eorg,Enode,Euser}E i ={E id ,E name ,E type ,E org ,E node ,E user }

其中,Eid是通道Ei的唯一标识符,Ename是通道Ei的名字,Etype是通道Ei的类型,即价值链的类型,Eorg是通道Ei的组织集合,即对应价值链中的企业集合,Enode是通道Ei的节点集合,即对应价值链的企业业务环节集合和该通道的功能环节集合,Euser是通道Ei的用户集合,即对应价值链的企业业务操作人员集合。Among them, E id is the unique identifier of the channel Ei, E name is the name of the channel E i , E type is the type of the channel E i , that is, the type of the value chain, E org is the organization set of the channel E i , that is, the corresponding value chain E node is the node set of channel E i , that is, the set of enterprise business links corresponding to the value chain and the set of functional links of the channel, E user is the set of users of channel E i , that is, the enterprise business operation corresponding to the value chain Personnel collection.

可选地,所述映射用户子模块具体用于:Optionally, the mapping user submodule is specifically used for:

将所述企业的业务操作人员,映射为所述区块链联盟中的用户,并通过所述区块链联盟的用户管理模块对所述用户进行信息管理和权限控制;Map the business operators of the enterprise to users in the blockchain alliance, and perform information management and authority control on the users through the user management module of the blockchain alliance;

每一个所述区块链联盟中的用户Usri通过一个四元组进行表示如下:Each user Usri in the blockchain consortium is represented by a quadruple as follows:

Usri={Usrid,Eid,Usrauthority,Enode}Usr i ={Usr id ,E id ,Usr authority ,E node }

其中,Usrid表示用户Usri的唯一标识,Eid表示用户Usri所在的企业,Usrauthority表示用户Usri的权限集合,Enode表示与用户Usri相关的业务环节集合,所述用户管理模块基于该四元组对所述用户进行业务活动方面的权限控制。Wherein, Usrid represents the unique identifier of the user Usri , E id represents the enterprise where the user Usri is located, Usrauthority represents the authority set of the user Usri , E node represents the set of business links related to the user Usri , and the user management module Based on the four-tuple, the user is subjected to permission control in terms of business activities.

可选地,所述映射节点子模块具体用于:Optionally, the mapping node submodule is specifically used for:

将所述业务环节映射为所述区块链联盟中的节点,其中所述业务操作人员按照各自的职能参与到所述业务环节中;mapping the business links to nodes in the blockchain consortium, wherein the business operators participate in the business links according to their respective functions;

通过所述区块链联盟的节点管理模块来实现业务管理,包括:所述节点的准入控制、创建与删除、部署与下线;Business management is realized through the node management module of the blockchain alliance, including: admission control, creation and deletion, deployment and offline of the node;

通过所述区块链联盟的交易管理来推动所述业务环节的业务流程,所述业务环节包括:采购、仓储、配送、加工、生产、销售、维修、保养以及结算;Promote the business process of the business link through the transaction management of the blockchain alliance, and the business link includes: procurement, warehousing, distribution, processing, production, sales, repair, maintenance, and settlement;

每一个业务环节对应一种类型的业务处理,所述业务处理包括:协同业务和简单业务,一个业务环节Si通过一个五元组进行表示如下:Each business link corresponds to one type of business processing, and the business processing includes: collaborative business and simple business. One business link Si is represented by a quintuple as follows:

Si={Sid,Sname,Snode,Suser,Stask}S i = {S id , S name , S node , S user , S task }

其中,Sid是业务环节Si的唯一标识符,Sname是业务环节Si的名称,Snode是业务环节Si的相关节点集合,Suser是业务环节Si的参与用户集,Stask是业务环节Si的业务交付条件,仅在满足交付条件的情况下,业务环节才可正常执行。Among them, S id is the unique identifier of the business link Si , S name is the name of the business link Si, S node is the set of related nodes of the business link Si, S user is the set of participating users of the business link Si, and S task It is the business delivery condition of the business link Si , and the business link can be executed normally only when the delivery conditions are met.

可选地,所述映射统一数据子模块具体用于:Optionally, the mapping unified data submodule is specifically used for:

将所述业务环节对应的业务数据,通过对应的价值链标识、企业标识以及数据标识,进行区分管理和唯一识别,以将所述业务环节对应的业务数据统一表示;Differentiate management and unique identification of the business data corresponding to the business links through the corresponding value chain identifiers, enterprise identifiers and data identifiers, so as to uniformly represent the business data corresponding to the business links;

所述业务数据Di通过一个七元组进行表示如下:The service data D i is represented by a seven-tuple as follows:

Di={Did D i = {D id

其中,Did是业务数据Di的唯一标识符,Duid是业务数据Di所属协作联盟的唯一标识,DEid是业务数据Di所属企业的唯一标识,Meta是业务数据Di与统一数据表示结构的映射关系;Among them, D id is the unique identifier of the business data D i , D uid is the unique identifier of the collaboration alliance to which the business data D i belongs, D Eid is the unique identifier of the enterprise to which the business data D i belongs, and Meta is the business data D i and unified data Represents the mapping relationship of the structure;

所述Meta用一个五元组的元数据模型表示,记作Meta:<T,E,V,O,R>;The Meta is represented by a five-tuple metadata model, denoted as Meta:<T,E,V,O,R>;

I={I1,I2,…,In}是业务数据Di输入接口的集合,该式中n是输入属性参数的数量;I={I 1 , I 2 ,...,I n } is the set of business data D i input interfaces, where n is the number of input attribute parameters;

O={O1,O2,…,On}是业务数据Di输出接口的集合,该式中n是输出属性参数的数量;O={O 1 ,O 2 ,...,On } is the set of business data D i output interfaces, where n is the number of output attribute parameters;

Dsig={Dsig1,Dsig2,…,Dsigm}是业务数据Di的签名集合,用于确定数据的权限归属,该式中m是签名的数量。D sig ={D sig1 ,D sig2 ,...,D sigm } is the signature set of the service data Di, used to determine the authority ownership of the data, where m is the number of signatures.

与现有技术相比,本发明提供的基于多价值链协同映射区块链的数据管理方法,建立多价值链与区块链联盟的映射关系模型,首先确定价值链协作联盟的总体信息,以每条价值链的类型,作为区块链联盟的通道,以企业中的业务操作人员作为区块链联盟的用户,以多价值链中每条价值链的业务环节,作为区块链联盟的节点;将业务环节中涉及的业务数据,通过对应的价值链标识、企业标识以及数据标识,进行区分管理和唯一识别,以将业务数据统一表示。Compared with the prior art, the present invention provides a data management method based on multi-value chain collaborative mapping of blockchains, establishes a mapping relationship model between multi-value chains and blockchain alliances, first determines the overall information of the value chain collaboration alliance, and The type of each value chain serves as the channel of the blockchain alliance, with the business operators in the enterprise as the users of the blockchain alliance, and the business links of each value chain in the multi-value chain as the nodes of the blockchain alliance ; Differentiate management and unique identification of the business data involved in the business process through the corresponding value chain identification, enterprise identification and data identification, so as to uniformly represent the business data.

本发明创造性的将目前的多价值链协同包含的所有内容映射到区块链联盟中,不但利用了区块链形成了业务数据的统一,打破数据孤立状态,便捷实现了数据共享、资源协调、价值传递与交换以及业务流程合作,同时基于区块链的特性,实现了业务数据的不可篡改、可追溯等需求,更好的服务于广泛的汽车制造核心企业以及相关企业。The invention creatively maps all the content contained in the current multi-value chain collaboration to the blockchain alliance, which not only utilizes the blockchain to form the unification of business data, breaks the data isolation state, and conveniently realizes data sharing, resource coordination, Value transfer and exchange and business process cooperation, based on the characteristics of blockchain, realize the requirements of non-tampering and traceability of business data, and better serve a wide range of core automobile manufacturing enterprises and related enterprises.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:

图1是目前一个简单的价值链协作联盟示意图;Figure 1 is a schematic diagram of a simple value chain collaboration alliance at present;

图2是本发明实施例的基于多价值链协同映射区块链的数据管理方法的流程图;2 is a flowchart of a data management method based on a multi-value chain collaborative mapping blockchain according to an embodiment of the present invention;

图3是本发明实施例的基于多价值链协同映射区块链的数据管理装置的框图。FIG. 3 is a block diagram of a data management apparatus based on a multi-value chain collaborative mapping blockchain according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。应当理解,此处所描述的具体实施例仅用以解释本发明,仅仅是本发明一部分实施例,而不是全部的实施例,并不用于限定本发明。In order to make the above objects, features and advantages of the present invention more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, only a part of the embodiments of the present invention, but not all of the embodiments, and are not used to limit the present invention.

本发明提出的基于多价值链协同映射区块链的数据管理方法,所谓多价值链协同是指企业的多条价值链上以及之间的业务协同,形成包含纵向与横向协同关系网状结构的价值链协作联盟。The data management method based on the multi-value chain collaboration mapping blockchain proposed by the present invention, the so-called multi-value chain collaboration refers to the business collaboration on and between multiple value chains of an enterprise, forming a network structure including vertical and horizontal collaboration relationships Value Chain Collaboration Alliance.

例如,以图1所示的一个简单的价值链协作联盟示意图为例,其中,T1、T2、T3、T4、T5表示不同的上游原材料供应商或者企业。M1、M2、M3、M4表示不同的中游零部件供应商或者企业。G1、G2、G3表示不同的核心制造企业。B1、B2…Bn表示不同的下游营销商或者服务商或者企业。以下全文为了描述的简洁,均以“企业”一词涵盖所有汽车产业涉及的商户或者企业,不再单独说明。For example, take a simple schematic diagram of a value chain collaboration alliance shown in FIG. 1 as an example, wherein T 1 , T 2 , T 3 , T 4 , and T 5 represent different upstream raw material suppliers or enterprises. M1, M2, M3, and M4 represent different midstream parts suppliers or enterprises. G 1 , G 2 , and G 3 represent different core manufacturing companies. B 1 , B 2 . . . B n represent different downstream marketers or service providers or enterprises. For the sake of brevity of description, the following full text uses the word "enterprise" to cover all businesses or enterprises involved in the automobile industry, and will not be described separately.

由图1可知,T1~T5之间,任意两者或者任意几者之间,均可能有数据共享或者业务协作。T1~T5可以将价值传递至M1~M4,再由M1~M4价值传递给G1~G3。当然也可能T1~T5直接价值传递至G1~G3。最终再由G1~G3价值传递至B1~Bn。其以核心制造企业为主的纵向价值链,以及纵向价值链之间的横向跨链协作组成了价值链协同,最终形成网状的多价值链。As can be seen from FIG. 1 , between T 1 to T 5 , or between any two or any of them, there may be data sharing or business cooperation. T 1 ˜T 5 can pass the value to M 1 ˜M 4 , and then M1 ˜M 4 can pass the value to G 1 ˜G 3 . Of course, it is also possible that T 1 -T 5 directly transfer the value to G 1 -G 3 . Finally, the value of G1 - G3 is transferred to B1 - Bn . Its vertical value chain dominated by core manufacturing enterprises, and the horizontal cross-chain collaboration between vertical value chains constitute value chain collaboration, and finally form a multi-value chain network.

这种多价值链协作联盟,同一层级之间可能有数据共享或者业务协作,但不同层级之间并没有数据共享或者业务协作。这是由于不同层级之间,以及不同单价值链之间的业务数据并不统一,再加上纵向价值链或者横向价值链之间进行数据交互时,没有安全可靠的保护方式,极易发生数据泄露,因此造成目前的价值链之间数据孤立。In this multi-value chain collaboration alliance, there may be data sharing or business collaboration at the same level, but there is no data sharing or business collaboration between different levels. This is because the business data between different levels and between different single value chains is not unified. In addition, when data is exchanged between vertical value chains or horizontal value chains, there is no safe and reliable protection method, and data is prone to occur. Leakage, thus causing data siloed across the current value chain.

基于上述问题,参照图2所示的本发明实施例提出的基于多价值链协同映射区块链的数据管理方法的流程图,包括:Based on the above problems, referring to the flowchart of the data management method based on the multi-value chain collaborative mapping block chain proposed by the embodiment of the present invention shown in FIG. 2, it includes:

步骤201:确定价值链协作联盟的总体信息,总体信息包括:每条价值链的类型、对应的业务环节、业务环节对应的业务数据,以及企业的业务操作人员。Step 201 : Determine the overall information of the value chain collaboration alliance, the overall information includes: the type of each value chain, the corresponding business link, the business data corresponding to the business link, and the business operators of the enterprise.

基于目前的价值链协作联盟,如何将其映射到区块链系统中,是一个核心的问题。为此,需要针对价值链协作联盟所包括的所有信息,以其中比较核心的信息为总体信息,建立一个映射模型。价值链协作联盟的总体信息包括:每条价值链的类型、对应的业务环节、业务环节对应的业务数据,以及企业的业务操作人员。Based on the current value chain collaboration alliance, how to map it into the blockchain system is a core issue. To this end, it is necessary to establish a mapping model for all the information included in the value chain collaboration alliance, taking the core information as the overall information. The overall information of the value chain collaboration alliance includes: the type of each value chain, the corresponding business link, the business data corresponding to the business link, and the business operators of the enterprise.

所谓价值链的类型,是指该条价值链对应的核心功能。例如:供应链、营销链、服务链等。通俗理解,供应链可以理解为向其它企业出售设备物资或者购买其它企业设备物资所形成的一种关系链。营销链可以理解为营销售卖产品所形成的一种关系链。服务链可以理解为产品卖出后续所形成的一种关系链。The so-called type of value chain refers to the core functions corresponding to the value chain. For example: supply chain, marketing chain, service chain, etc. In layman's terms, a supply chain can be understood as a relationship chain formed by selling equipment and materials to other companies or purchasing equipment and materials from other companies. Marketing chain can be understood as a relationship chain formed by selling and selling products. The service chain can be understood as a relationship chain formed after the product is sold.

对于每条价值链,根据其类型的不同,对应的业务环节肯定不同,业务环节不同,则对应的业务数据肯定也不同,而相关的业务操作人员肯定也不同。例如:供应链对应的业务环节可能包括:生产、采购,生产和采购是两个完全不同的业务环节,则生产对应的业务数据与采购对应的业务数据不同,对应生产的业务操作人员与对应采购的业务操作人员也不同。For each value chain, depending on its type, the corresponding business links must be different, the business links must be different, the corresponding business data must be different, and the relevant business operators must also be different. For example, the business links corresponding to the supply chain may include: production, procurement, production and procurement are two completely different business links, then the business data corresponding to production is different from the business data corresponding to procurement, and the business operators corresponding to production and the corresponding procurement The business operators are also different.

步骤202:基于总体信息,映射形成区块链联盟;其中,基于每条价值链的类型,映射形成区块链联盟中的通道;基于每条价值链的业务环节,映射形成区块链联盟中的节点;基于业务环节对应的业务数据,映射形成区块链联盟中的统一数据;基于企业的业务操作人员,映射形成区块链联盟中的用户。Step 202: Based on the overall information, map to form a blockchain consortium; wherein, based on the type of each value chain, map to form a channel in the blockchain consortium; based on the business links of each value chain, map to form a blockchain consortium. Based on the business data corresponding to the business links, the unified data in the blockchain alliance is formed by mapping; based on the business operators of the enterprise, the users in the blockchain alliance are formed by mapping.

基于上述价值链协作联盟,在映射区块链时,以区块链联盟的形式映射是一个较优的选择,而作为区块链联盟,除了比较核心的总体信息之外,还需要结合其它信息,才可最终将价值链协作联盟映射形成区块链联盟。Based on the above-mentioned value chain collaboration alliance, when mapping the blockchain, it is a better choice to map in the form of a blockchain alliance. As a blockchain alliance, in addition to comparing the core overall information, it is also necessary to combine other information , the value chain collaboration alliance can finally be mapped to form a blockchain alliance.

基于这个考虑,将价值链协作联盟的总体信息,通过一个五元组进行表示,以映射形成区块链联盟,该区块链联盟U对应的五元组如下:Based on this consideration, the overall information of the value chain collaboration alliance is represented by a quintuple to map to form a blockchain alliance. The quintuple corresponding to the blockchain alliance U is as follows:

U={Uid,Uname,UE,UA,UC}U={U id , U name , U E , U A , U C }

其中,Uid是区块链联盟的唯一标识符,以区别于其它区块链联盟。Uname是区块链联盟的名称,UE是区块链联盟内的通道集合,通道对应价值链,通道集合即对应价值链的集合。Among them, U id is the unique identifier of the blockchain alliance to distinguish it from other blockchain alliances. U name is the name of the blockchain alliance, U E is the channel set in the blockchain alliance, the channel corresponds to the value chain, and the channel set is the set of the corresponding value chain.

UA是区块链联盟内的通道管理员集合,一般情况下,由于通道有多条,而每条通道都可能包含多个业务操作人员,为了方便通道的管理,选取其中部分业务操作人员作为通道管理员,具有较高权限,以对通道进行管理、维护等操作。U A is the set of channel administrators in the blockchain alliance. Generally, because there are multiple channels, each channel may contain multiple business operators. In order to facilitate the management of channels, some of the business operators are selected as the The channel administrator has high authority to manage and maintain the channel.

UC是区块链联盟的协作条件,所谓协作条件包括:每个价值链的准入条件、合作申明、隐私申明,每个需要加入区块链联盟的价值链,需要满足协作条件才可加入。区块链联盟可以有多种选择,一种较优的选择包括:Fabric联盟。 UC is the cooperation condition of the blockchain alliance. The so-called cooperation conditions include: the access conditions, cooperation declaration, and privacy declaration of each value chain. Each value chain that needs to join the blockchain alliance must meet the cooperation conditions before joining. . There are many options for blockchain alliances, and a better option includes: Fabric alliance.

对于每条价值链和每条通道之间:每条价值链映射为区块链联盟的一条通道,多价值链中所有价值链映射的通道形成通道集合UEFor between each value chain and each channel: each value chain is mapped as a channel of the blockchain alliance, and the channels mapped by all value chains in the multi-value chain form a channel set U E .

对于每一条通道Ei可以通过一个六元组进行表示如下:For each channel E i can be represented by a six-tuple as follows:

Ei={Eid,Ename,Etype,Eorg,Enode,Euser}E i ={E id ,E name ,E type ,E org ,E node ,E user }

其中,Eid是通道Ei的唯一标识符,以区别于其它通道。Ename是通道Ei的名字,Etype是通道Ei的类型,即价值链的类型,例如前述的供应链、营销链、服务链等。假如供应链有两条:供应链1和供应链2,则对应的通道也有两条。需要说明的是的,区块链是一个数据、运算量十分庞大的整体系统,基于目前硬件设备性能的限制,区块链系统的运算能力根据硬件设备的性能决定。因此为了提升区块链系统的运算效率,可以规定一个企业只能加入同一类型通道的其中一个。即对于每个企业,假设其加入了供应链1的对应的通道,则不能再加入供应链2对应的通道,加入了供应链2对应的通道,则不能再加入供应链1的对应的通道。当然,在运算能力完全够用的情况下,则可以不做限制。Among them, E id is the unique identifier of the channel E i to distinguish it from other channels. E name is the name of the channel E i , and E type is the type of the channel E i , that is, the type of the value chain, such as the aforementioned supply chain, marketing chain, service chain, and so on. If there are two supply chains: supply chain 1 and supply chain 2, there are also two corresponding channels. It should be noted that the blockchain is an overall system with a huge amount of data and computation. Based on the limitations of the current hardware device performance, the computing power of the blockchain system is determined by the performance of the hardware device. Therefore, in order to improve the computing efficiency of the blockchain system, it can be stipulated that an enterprise can only join one of the channels of the same type. That is, for each enterprise, if it joins the corresponding channel of supply chain 1, it cannot join the channel corresponding to supply chain 2, and if it joins the channel corresponding to supply chain 2, it cannot join the corresponding channel of supply chain 1. Of course, in the case where the computing power is completely sufficient, there is no need to impose restrictions.

Eorg是通道Ei的组织集合,即对应价值链中的企业集合,同一条通道可能包括多个企业。Enode是通道Ei的节点集合,即对应价值链的企业业务环节集合和该通道的功能环节集合,即多个企业都有相同的业务环节,这些相同的业务环节形成业务环节结合。Euser是通道Ei的用户集合,即对应价值链的企业业务操作人员集合。E org is the organization set of channel E i , that is, the set of enterprises in the corresponding value chain, and the same channel may include multiple enterprises. E node is the node set of channel E i , that is, the set of enterprise business links corresponding to the value chain and the set of functional links of the channel, that is, multiple enterprises have the same business links, and these same business links form the combination of business links. E user is the user set of the channel E i , that is, the set of enterprise business operators corresponding to the value chain.

对于业务操作人员和区块链联盟用户之间:将企业的业务操作人员,映射为区块链联盟中的用户,并通过区块链联盟的用户管理模块对用户进行信息管理和权限控制。For business operators and users of the blockchain alliance: map the business operators of the enterprise to users in the blockchain alliance, and perform information management and permission control for users through the user management module of the blockchain alliance.

每一个区块链联盟中的用户Usri通过一个四元组进行表示如下:The user Usri in each blockchain consortium is represented by a quadruple as follows:

Usri={Usrid,Eid,Usrauthority,Enode}Usr i ={Usr id ,E id ,Usr authority ,E node }

其中,Usrid表示用户Usri的唯一标识,Eid表示用户Usri所在的企业,这两者结合可将所有的业务操作人员区分开。Among them, Usrid represents the unique identifier of the user Usri , and E id represents the enterprise where the user Usri is located. The combination of the two can distinguish all business operators.

Usrauthority表示用户Usri的权限集合,该权限可以包括:区块链管理权限、企业行政管理权限,Enode表示与用户Usri相关的业务环节集合,用户管理模块基于该四元组对用户进行业务活动方面的权限控制。U srauthority represents the authority set of the user Usri , the authority may include: blockchain management authority, enterprise administrative management authority, E node indicates the set of business links related to the user Usri , and the user management module performs user actions based on the quadruple. Permission control for business activities.

对于业务环节与区块链联盟节点之间:将业务环节映射为区块链联盟中的节点,其中业务操作人员按照各自的职能参与到业务环节中;通过区块链联盟的节点管理模块来实现业务管理,包括:节点的准入控制、创建与删除、部署与下线;通过区块链联盟的交易管理来推动业务环节的业务流程,业务环节包括:采购、仓储、配送、加工、生产、销售、维修、保养以及结算。当然可以理解的是,还可以有其它业务环节,本发明实施例不做一一说明,可以根据实际的业务环节增加或者删除。For between business links and blockchain alliance nodes: map the business links to nodes in the blockchain alliance, in which business operators participate in the business links according to their respective functions; through the node management module of the blockchain alliance to achieve Business management, including: access control, creation and deletion, deployment and offline of nodes; through the transaction management of the blockchain alliance to promote the business process of business links, business links include: procurement, warehousing, distribution, processing, production, Sales, repairs, maintenance and settlement. Of course, it can be understood that there may also be other business links, which are not described one by one in this embodiment of the present invention, and may be added or deleted according to actual business links.

每一个业务环节对应一种类型的业务处理,业务处理包括:协同业务和简单业务,一个业务环节Si通过一个五元组进行表示如下:Each business link corresponds to one type of business processing. The business processing includes: collaborative business and simple business. One business link Si is represented by a quintuple as follows:

Si={Sid,Sname,Snode,Suser,Stask}S i = {S id , S name , S node , S user , S task }

其中,Sid是业务环节Si的唯一标识符,Sname是业务环节Si的名称,Snode是业务环节Si的相关节点集合,Suser是业务环节Si的参与用户集,Stask是业务环节Si的业务交付条件,仅在满足交付条件的情况下,业务环节才可正常执行。Among them, S id is the unique identifier of the business link Si, S name is the name of the business link Si, S node is the related node set of the business link Si, S user is the participating user set of the business link Si, and Stask is the set of participating users of the business link Si . The business delivery conditions of the business link Si , only when the delivery conditions are met, the business link can be executed normally.

区块链联盟将业务处理以背书的方式进行交易和记录业务处理的结果;其中,简单业务需申请非转让背书,非转让背书是将特定的资产权利授予用户行使,包括:资产使用背书和抵押背书。可以理解为,简单业务是一个企业内的业务,不与其它企业发生业务关系,例如:仓储、加工等。The blockchain alliance conducts transactions and records the results of business processing by means of endorsement; among them, simple business needs to apply for non-transferable endorsement, and non-transferable endorsement is to grant specific asset rights to users to exercise, including: asset use endorsement and mortgage endorsement. It can be understood that a simple business is a business within an enterprise and does not have business relationships with other enterprises, such as warehousing, processing, etc.

协同业务需申请转让背书,转让背书是将资产人的权利转让给其他用户,包括:资产转移背书。可以理解为,协同业务是一个企业与其它企业发生业务关系,例如采购、销售等。Collaborative business needs to apply for transfer endorsement. Transfer endorsement is to transfer the rights of the asset owner to other users, including: asset transfer endorsement. It can be understood that a collaborative business is a business relationship between an enterprise and other enterprises, such as purchasing and sales.

实现上,可以采用智能合约,针对每一种业务类型(也称为业务环节)创建一个业务智能合约(在Fabric联盟中称为链码),并将其命名为`xxxCC.go`。该业务智能合约文件封装了对资产状态进行相关业务操作的函数集,比如增、删、查、改函数。在Fabric联盟中,无论是读写业务还是资产转移业务,都需要发起交易和调用链码。In terms of implementation, smart contracts can be used to create a business smart contract (called chain code in the Fabric Alliance) for each business type (also called business link), and name it `xxxCC.go`. The business smart contract file encapsulates a set of functions that perform related business operations on asset status, such as adding, deleting, checking, and changing functions. In the Fabric Alliance, whether it is a read-write business or an asset transfer business, it is necessary to initiate transactions and call chain codes.

对于业务环节对应的业务数据与区块链联盟的统一数据之间:将业务环节对应的业务数据,通过对应的价值链标识、企业标识以及数据标识,进行区分管理和唯一识别,以将业务环节对应的业务数据统一表示。For the business data corresponding to the business link and the unified data of the blockchain alliance: the business data corresponding to the business link is managed and uniquely identified through the corresponding value chain identification, enterprise identification and data identification, so as to distinguish the business link The corresponding business data is represented uniformly.

业务数据Di通过一个七元组进行表示如下:The business data D i is represented by a seven-tuple as follows:

Di={Did,DUid,DEid,Meta,I,O,Dsig}D i ={D id ,D Uid ,D Eid ,Meta,I,O,D sig }

其中,Did是业务数据Di的唯一标识符,Duid是业务数据Di所属协作联盟的唯一标识,DEid是业务数据Di所属企业的唯一标识,Meta是业务数据Di与统一数据表示结构的映射关系。Among them, D id is the unique identifier of the business data D i , D uid is the unique identifier of the collaboration alliance to which the business data D i belongs, D Eid is the unique identifier of the enterprise to which the business data D i belongs, and Meta is the business data D i and unified data Represents the mapping relationship of the structure.

其中Meta用一个五元组的元数据模型表示,记作Meta:<T,E,V,O,R>;Meta is represented by a five-tuple metadata model, denoted as Meta:<T,E,V,O,R>;

I={I1,I2,…,In}是业务数据Di输入接口的集合,该式中n是输入属性参数的数量;I={I 1 , I 2 ,...,I n } is the set of business data D i input interfaces, where n is the number of input attribute parameters;

O={O1,O2,…,On}是业务数据Di输出接口的集合,该式中n是输出属性参数的数量;O={O 1 ,O 2 ,...,On } is the set of business data D i output interfaces, where n is the number of output attribute parameters;

Dsig={Dsig1,Dsig2,…,Dsigm}是业务数据Di的签名集合,用于确定数据的权限归属,该式中m是签名的数量。D sig ={D sig1 ,D sig2 ,...,D sigm } is the signature set of the service data Di, used to determine the authority ownership of the data, where m is the number of signatures.

业务数据Di中任一种数据实体都用本体概念化定义,所述数据实体包括:数据实体的类别、属性以及关系。Any data entity in the business data D i is conceptually defined with an ontology, and the data entity includes: the category, attribute and relationship of the data entity.

基于上述定义,建立Meta的元数据模型,其中,T是原子术语集,其包括:原子类术语C和原子属性术语P,则T=<C,P>;E是术语解释集,其引用现成的词汇库来定义和解释术语;V是术语值集;O是数据实体集,其通过术语集T和术语值集V的笛卡尔积来描述,则T*V→O;R是数据实体的关系集,描述数据实体间的二元关系。Based on the above definition, establish the metadata model of Meta, where T is the atomic term set, which includes: atomic term C and atomic attribute term P, then T=<C, P>; E is the term interpretation set, whose references are ready-made vocabulary to define and explain terms; V is the term value set; O is the data entity set, which is described by the Cartesian product of the term set T and the term value set V, then T*V→O; R is the data entity's A relationship set, which describes the binary relationship between data entities.

在每个企业具体的映射上,考虑到企业自身的架构,可以利用企业主体将企业中的部门、业务、资产等概念映射到区块链概念上,并为之建立设计对应的实体。实体间通过交易建立关系。考虑到汽车行业数据通常是结构化或半结构化数据,设计关系数据表示与本体数据表示的映射关系。一般而言,一张关系表可对应一个本体类别,每个本体的实例(实体)通过属性描述实体画像。In the specific mapping of each enterprise, taking into account the structure of the enterprise itself, the enterprise entity can be used to map concepts such as departments, businesses, and assets in the enterprise to the blockchain concept, and establish and design corresponding entities for it. Relationships are established between entities through transactions. Considering that automotive industry data is usually structured or semi-structured data, the mapping relationship between relational data representation and ontology data representation is designed. Generally speaking, a relation table can correspond to an ontology category, and each ontology instance (entity) describes the entity portrait through attributes.

对于每个企业均有:For every business there are:

基于企业的基本信息,映射形成类别为区块链的组织,企业的基本信息包括:企业编号、企业名称、企业类型、企业地点、企业价值链,企业价值链包括:对应的价值链编号和对应的价值链;Based on the basic information of the enterprise, it is mapped to form an organization with the category of blockchain. The basic information of the enterprise includes: enterprise number, enterprise name, enterprise type, enterprise location, and enterprise value chain. The enterprise value chain includes: the corresponding value chain number and corresponding value chain;

基于企业的业务环节的基本信息,映射形成类别为区块链节点的本体,业务环节的基本信息包括:业务环节编号、业务环节名称、业务环节类型、参与业务环节的部门,业务环节类型包括:采购、仓储、配送、加工、生产、销售、维修、保养、结算;Based on the basic information of the business link of the enterprise, the mapping forms the ontology of the blockchain node. The basic information of the business link includes: business link number, business link name, business link type, and departments participating in the business link. The business link type includes: Purchasing, warehousing, distribution, processing, production, sales, repair, maintenance, settlement;

基于企业的业务数据,映射形成类别为业务数据的本体;Based on the business data of the enterprise, the mapping forms an ontology whose category is the business data;

基于企业的资产数据,映射形成类别为资产数据的本体;Based on the asset data of the enterprise, the mapping forms an ontology whose category is asset data;

基于企业涉及的价值链,映射形成类别为区块链的本体,其中一条价值链映射为一条区块链;Based on the value chain involved in the enterprise, the mapping forms an ontology with the category of blockchain, and one of the value chains is mapped to a blockchain;

基于企业涉及的多价值链协同,映射形成类别为区块链联盟的本体。Based on the multi-value chain collaboration involved in the enterprise, the mapping forms the ontology of the blockchain alliance.

企业主体与区块链本体概念的映射关系可以用下表做更清楚的理解:The mapping relationship between the enterprise subject and the blockchain ontology concept can be more clearly understood with the following table:

Figure BDA0003551275630000141
Figure BDA0003551275630000141

Figure BDA0003551275630000151
Figure BDA0003551275630000151

Figure BDA0003551275630000161
Figure BDA0003551275630000161

Figure BDA0003551275630000171
Figure BDA0003551275630000171

通过上述数据管理方法,即可将目前的任一一个价值链协作联盟映射形成区块链联盟。Through the above data management method, any current value chain collaboration alliance can be mapped to form a blockchain alliance.

基于上述管理方法,本发明实施例还提出基于多价值链协同映射区块链的数据管理装置,参照图3所示的装置框图,所述多价值链协同是指企业的多条价值链上以及之间的业务协同,形成包含纵向与横向协同关系网状结构的价值链协作联盟,所述数据管理装置包括:Based on the above management method, an embodiment of the present invention also proposes a data management device based on multi-value chain collaborative mapping of blockchain. Referring to the device block diagram shown in FIG. 3 , the multi-value chain collaboration refers to multiple value chains of an enterprise and The business collaboration between them forms a value chain collaboration alliance including a network structure of vertical and horizontal collaboration relationships, and the data management device includes:

确定总体信息模块310,用于确定所述价值链协作联盟的总体信息,所述总体信息包括:每条价值链的类型、对应的业务环节、业务环节对应的业务数据,以及企业的业务操作人员;The overall information determination module 310 is used to determine the overall information of the value chain collaboration alliance, the overall information includes: the type of each value chain, the corresponding business link, the business data corresponding to the business link, and the business operators of the enterprise ;

映射模块320,用于基于所述总体信息,映射形成区块链联盟;a mapping module 320, configured to map and form a blockchain alliance based on the overall information;

其中,所述映射模块320包括:Wherein, the mapping module 320 includes:

映射通道子模块3201,用于基于所述每条价值链的类型,映射形成所述区块链联盟中的通道;The mapping channel sub-module 3201 is used to map the channels in the blockchain alliance based on the type of each value chain;

映射节点子模块3202,用于基于所述每条价值链的业务环节,映射形成所述区块链联盟中的节点;The mapping node sub-module 3202 is used to map the nodes in the blockchain alliance based on the business links of each value chain;

映射统一数据子模块3203,用于基于所述业务环节对应的业务数据,映射形成所述区块链联盟中的统一数据;The mapping unified data submodule 3203 is used to map and form the unified data in the blockchain alliance based on the business data corresponding to the business links;

映射用户子模块3204,用于基于企业的业务操作人员,映射形成所述区块链联盟中的用户。The user mapping sub-module 3204 is used to map the users in the blockchain alliance based on the business operators of the enterprise.

可选地,所述映射模块320具体用于:Optionally, the mapping module 320 is specifically used for:

将所述价值链协作联盟的总体信息,通过一个五元组进行表示,以映射形成所述区块链联盟,所述区块链联盟U对应的五元组如下:The overall information of the value chain collaboration alliance is represented by a quintuple to map to form the blockchain alliance, and the quintuple corresponding to the blockchain alliance U is as follows:

U={Uid,Uname,UE,UA,UC}U={U id , U name , U E , U A , U C }

其中,Uid是所述区块链联盟的唯一标识符,Uname是所述区块链联盟的名称,UE是所述区块链联盟内的通道集合,即对应的价值链集合,UA是所述区块链联盟内的通道管理员集合,UC是所述区块链联盟的协作条件,所述协作条件包括:每个价值链的准入条件、合作申明、隐私申明,所述区块链联盟包括:Fabric联盟。Wherein, U id is the unique identifier of the blockchain consortium, U name is the name of the blockchain consortium, U E is the channel set in the blockchain consortium, that is, the corresponding value chain set, U A is the set of channel administrators in the blockchain consortium, U C is the cooperation condition of the blockchain consortium, and the collaboration conditions include: access conditions, cooperation declarations, and privacy declarations of each value chain. The blockchain alliances mentioned above include: Fabric Alliance.

可选地,所述映射通道子模块3201具体用于:Optionally, the mapping channel submodule 3201 is specifically used for:

所述每条价值链,映射为所述区块链联盟的一条通道,所述多价值链中所有价值链映射的通道形成所述通道集合;Each value chain is mapped to a channel of the blockchain alliance, and the channels mapped by all value chains in the multi-value chain form the channel set;

对于每一条通道Ei通过一个六元组进行表示如下:For each channel Ei is represented by a six-tuple as follows:

Ei={Eid,Ename,Etype,Eorg,Enode,Euser}E i ={E id ,E name ,E type ,E org ,E node ,E user }

其中,Eid是通道Ei的唯一标识符,Ename是通道Ei的名字,Etype是通道Ei的类型,即价值链的类型,Eorg是通道Ei的组织集合,即对应价值链中的企业集合,Enode是通道Ei的节点集合,即对应价值链的企业业务环节集合和该通道的功能环节集合,Euser是通道Ei的用户集合,即对应价值链的企业业务操作人员集合。Among them, E id is the unique identifier of the channel E i , E name is the name of the channel E i , E type is the type of the channel E i , that is, the type of the value chain, E org is the organization set of the channel E i , that is, the corresponding value The set of enterprises in the chain, E node is the set of nodes of the channel E i , that is, the set of enterprise business links corresponding to the value chain and the set of functional links of the channel, and E user is the set of users of the channel E i , that is, the enterprise business corresponding to the value chain. Operator collection.

可选地,所述映射用户子模块3204具体用于:Optionally, the mapping user submodule 3204 is specifically used for:

将所述企业的业务操作人员,映射为所述区块链联盟中的用户,并通过所述区块链联盟的用户管理模块对所述用户进行信息管理和权限控制;Map the business operators of the enterprise to users in the blockchain alliance, and perform information management and authority control on the users through the user management module of the blockchain alliance;

每一个所述区块链联盟中的用户Usri通过一个四元组进行表示如下:Each user Usri in the blockchain consortium is represented by a quadruple as follows:

Usri={Usrid,Eid,Usrauthority,Enode}Usr i ={Usr id ,E id ,Usr authority ,E node }

其中,Usrid表示用户Usri的唯一标识,Eid表示用户Usri所在的企业,Usrauthority表示用户Usri的权限集合,Enode表示与用户Usri相关的业务环节集合,所述用户管理模块基于该四元组对所述用户进行业务活动方面的权限控制。Wherein, Usrid represents the unique identifier of the user Usri , E id represents the enterprise where the user Usri is located, Usrauthority represents the authority set of the user Usri , E node represents the set of business links related to the user Usri , and the user management module Based on the four-tuple, the user is subjected to permission control in terms of business activities.

可选地,所述映射节点子模块3202具体用于:Optionally, the mapping node submodule 3202 is specifically used for:

将所述业务环节映射为所述区块链联盟中的节点,其中所述业务操作人员按照各自的职能参与到所述业务环节中;mapping the business links to nodes in the blockchain consortium, wherein the business operators participate in the business links according to their respective functions;

通过所述区块链联盟的节点管理模块来实现业务管理,包括:所述节点的准入控制、创建与删除、部署与下线;Business management is realized through the node management module of the blockchain alliance, including: admission control, creation and deletion, deployment and offline of the node;

通过所述区块链联盟的交易管理来推动所述业务环节的业务流程,所述业务环节包括:采购、仓储、配送、加工、生产、销售、维修、保养以及结算;Promote the business process of the business link through the transaction management of the blockchain alliance, and the business link includes: procurement, warehousing, distribution, processing, production, sales, repair, maintenance, and settlement;

每一个业务环节对应一种类型的业务处理,所述业务处理包括:协同业务和简单业务,一个业务环节Si通过一个五元组进行表示如下:Each business link corresponds to one type of business processing, and the business processing includes: collaborative business and simple business. One business link Si is represented by a quintuple as follows:

Si={Sid,Sname,Snode,Suser,Stask}S i = {S id , S name , S node , S user , S task }

其中,Sid是业务环节Si的唯一标识符,Sname是业务环节Si的名称,Snode是业务环节Si的相关节点集合,Suser是业务环节Si的参与用户集,Stask是业务环节Si的业务交付条件,仅在满足交付条件的情况下,业务环节才可正常执行。Among them, S id is the unique identifier of the business link Si, S name is the name of the business link Si, S node is the set of related nodes of the business link Si, S user is the set of participating users of the business link Si, and S task is the set of participating users of the business link Si . The business delivery conditions of the business link Si , only when the delivery conditions are met, the business link can be executed normally.

可选地,所述映射统一数据子模块3203具体用于:Optionally, the mapping unified data submodule 3203 is specifically used for:

将所述业务环节对应的业务数据,通过对应的价值链标识、企业标识以及数据标识,进行区分管理和唯一识别,以将所述业务环节对应的业务数据统一表示;Differentiate management and unique identification of the business data corresponding to the business links through the corresponding value chain identifiers, enterprise identifiers and data identifiers, so as to uniformly represent the business data corresponding to the business links;

所述业务数据Di通过一个七元组进行表示如下:The service data D i is represented by a seven-tuple as follows:

Di={Did,DUid,DEid,Meta,I,O,Dsig}D i ={D id ,D Uid ,D Eid ,Meta,I,O,D sig }

其中,Did是业务数据Di的唯一标识符,Duid是业务数据Di所属协作联盟的唯一标识,DEid是业务数据Di所属企业的唯一标识,Meta是业务数据Di与统一数据表示结构的映射关系;Among them, D id is the unique identifier of the business data D i , D uid is the unique identifier of the collaboration alliance to which the business data D i belongs, D Eid is the unique identifier of the enterprise to which the business data D i belongs, and Meta is the business data D i and unified data Represents the mapping relationship of the structure;

所述Meta用一个五元组的元数据模型表示,记作Meta:<T,E,V,O,R>;The Meta is represented by a five-tuple metadata model, denoted as Meta:<T,E,V,O,R>;

I={I1,I2,…,In}是业务数据Di输入接口的集合,该式中n是输入属性参数的数量;I={I 1 , I 2 ,...,I n } is the set of business data D i input interfaces, where n is the number of input attribute parameters;

O={O1,O2,…,On}是业务数据Di输出接口的集合,该式中n是输出属性参数的数量;O={O 1 ,O 2 ,...,On } is the set of business data D i output interfaces, where n is the number of output attribute parameters;

Dsig={Dsig1,Dsig2,…,Dsigm}是业务数据Di的签名集合,用于确定数据的权限归属,该式中m是签名的数量。D sig ={D sig1 ,D sig2 ,...,D sigm } is the signature set of the service data Di, used to determine the authority ownership of the data, where m is the number of signatures.

本发明创造性的将目前的多价值链协同包含的所有内容映射到区块链联盟中,不但利用了区块链形成了业务数据的统一,打破数据孤立状态,便捷实现了数据共享、资源协调、价值传递与交换以及业务流程合作,同时基于区块链的特性,实现了业务数据的不可篡改、可追溯等需求,更好的服务于广泛的汽车制造核心企业以及相关企业,具有较高的实用性。The invention creatively maps all the content contained in the current multi-value chain collaboration to the blockchain alliance, which not only utilizes the blockchain to form the unification of business data, breaks the data isolation state, and conveniently realizes data sharing, resource coordination, Value transfer and exchange and business process cooperation, and based on the characteristics of blockchain, it realizes the requirements of non-tampering and traceability of business data, better serving a wide range of core automobile manufacturing enterprises and related enterprises, and has high practicality. sex.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the scope of protection of the present invention and the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (10)

1.基于多价值链协同映射区块链的数据管理方法,其特征在于,所述多价值链协同是指企业的多条价值链上以及之间的业务协同,形成包含纵向与横向协同关系网状结构的价值链协作联盟,所述数据管理方法包括:1. A data management method based on multi-value chain collaboration mapping blockchain, characterized in that the multi-value chain collaboration refers to business collaboration on and between multiple value chains of an enterprise, forming a network including vertical and horizontal collaboration relationships A value chain collaboration alliance with a shape structure, the data management method includes: 确定所述价值链协作联盟的总体信息,所述总体信息包括:每条价值链的类型、对应的业务环节、业务环节对应的业务数据,以及企业的业务操作人员;Determine the overall information of the value chain collaboration alliance, and the overall information includes: the type of each value chain, the corresponding business link, the business data corresponding to the business link, and the business operators of the enterprise; 基于所述总体信息,映射形成区块链联盟;Based on the overall information, mapping to form a blockchain alliance; 其中,基于所述每条价值链的类型,映射形成所述区块链联盟中的通道;Wherein, based on the type of each value chain, mapping to form the channel in the blockchain alliance; 基于所述每条价值链的业务环节,映射形成所述区块链联盟中的节点;Based on the business links of each value chain, map the nodes in the blockchain alliance; 基于所述业务环节对应的业务数据,映射形成所述区块链联盟中的统一数据;Based on the business data corresponding to the business links, the unified data in the blockchain alliance is formed by mapping; 基于企业的业务操作人员,映射形成所述区块链联盟中的用户。Based on the business operators of the enterprise, the users in the blockchain alliance are mapped. 2.根据权利要求1所述的数据管理方法,其特征在于,基于所述总体信息,映射形成区块链联盟,包括:2. The data management method according to claim 1, wherein, based on the overall information, mapping to form a blockchain alliance, comprising: 将所述价值链协作联盟的总体信息,通过一个五元组进行表示,以映射形成所述区块链联盟,所述区块链联盟U对应的五元组如下:The overall information of the value chain collaboration alliance is represented by a quintuple to map to form the blockchain alliance, and the quintuple corresponding to the blockchain alliance U is as follows: U={Uid,Uname,UE,UA,UC}U={U id , U name , U E , U A , U C } 其中,Uid是所述区块链联盟的唯一标识符,Uname是所述区块链联盟的名称,UE是所述区块链联盟内的通道集合,即对应的价值链集合,UA是所述区块链联盟内的通道管理员集合,UC是所述区块链联盟的协作条件,所述协作条件包括:每个价值链的准入条件、合作申明、隐私申明,所述区块链联盟包括:Fabric联盟。Wherein, U id is the unique identifier of the blockchain consortium, U name is the name of the blockchain consortium, U E is the channel set in the blockchain consortium, that is, the corresponding value chain set, U A is the set of channel administrators in the blockchain consortium, U C is the cooperation condition of the blockchain consortium, and the collaboration conditions include: access conditions, cooperation declarations, and privacy declarations of each value chain. The blockchain alliances mentioned above include: Fabric Alliance. 3.根据权利要求2所述的数据管理方法,其特征在于,基于所述每条价值链的类型,映射形成所述区块链联盟中的通道,包括:3. The data management method according to claim 2, characterized in that, based on the type of each value chain, mapping to form a channel in the blockchain consortium, comprising: 所述每条价值链,映射为所述区块链联盟的一条通道,所述多价值链中所有价值链映射的通道形成所述通道集合;Each value chain is mapped to a channel of the blockchain alliance, and the channels mapped by all value chains in the multi-value chain form the channel set; 对于每一条通道Ei通过一个六元组进行表示如下:For each channel E i is represented by a six-tuple as follows: Ei={Eid,Ename,Etype,Eorg,Enode,Euser}E i = {E id , E name , E type , E org , E node , E user } 其中,Eid是通道Ei的唯一标识符,Ename是通道Ei的名字,Etype是通道Ei的类型,即价值链的类型,Eorg是通道Ei的组织集合,即对应价值链中的企业集合,Enode是通道Ei的节点集合,即对应价值链的企业业务环节集合和该通道的功能环节集合,Euser是通道Ei的用户集合,即对应价值链的企业业务操作人员集合。Among them, E id is the unique identifier of the channel E i , E name is the name of the channel E i , E type is the type of the channel E i , that is, the type of the value chain, E org is the organization set of the channel Ei, that is, the corresponding value chain E node is the set of nodes of channel E i , that is, the set of enterprise business links corresponding to the value chain and the set of functional links of the channel, E user is the set of users of channel Ei, that is, the enterprise business operators corresponding to the value chain gather. 4.根据权利要求3所述的数据管理方法,其特征在于,基于企业的业务操作人员,映射形成所述区块链联盟中的用户,包括:4. The data management method according to claim 3, characterized in that, based on the business operators of the enterprise, mapping the users in the blockchain alliance, comprising: 将所述企业的业务操作人员,映射为所述区块链联盟中的用户,并通过所述区块链联盟的用户管理模块对所述用户进行信息管理和权限控制;Map the business operators of the enterprise to users in the blockchain alliance, and perform information management and authority control on the users through the user management module of the blockchain alliance; 每一个所述区块链联盟中的用户Usri通过一个四元组进行表示如下:Each user Usri in the blockchain consortium is represented by a quadruple as follows: Usri={usrid,Eid,Usrauthority,Enode}Usr i = {usr id , E id , Usr authority , E node } 其中,Usrid表示用户Usri的唯一标识,Eid表示用户Usri所在的企业,Usrauthority表示用户Usri的权限集合,Enode表示与用户Usri相关的业务环节集合,所述用户管理模块基于该四元组对所述用户进行业务活动方面的权限控制。Wherein, Usrid represents the unique identifier of the user Usri, E id represents the enterprise where the user Usri is located, Usrauthority represents the authority set of the user Usri , E node represents the set of business links related to the user Usri , and the user management module is based on The four-tuple performs permission control on the user in terms of business activities. 5.根据权利要求4所述的数据管理方法,其特征在于,基于所述每条价值链的业务环节,映射形成所述区块链联盟中的节点,包括:5. The data management method according to claim 4, characterized in that, based on the business links of each value chain, mapping the nodes in the blockchain alliance, comprising: 将所述业务环节映射为所述区块链联盟中的节点,其中所述业务操作人员按照各自的职能参与到所述业务环节中;mapping the business links to nodes in the blockchain consortium, wherein the business operators participate in the business links according to their respective functions; 通过所述区块链联盟的节点管理模块来实现业务管理,包括:所述节点的准入控制、创建与删除、部署与下线;Business management is realized through the node management module of the blockchain alliance, including: admission control, creation and deletion, deployment and offline of the node; 通过所述区块链联盟的交易管理来推动所述业务环节的业务流程,所述业务环节包括:采购、仓储、配送、加工、生产、销售、维修、保养以及结算;Promote the business process of the business link through the transaction management of the blockchain alliance, and the business link includes: procurement, warehousing, distribution, processing, production, sales, repair, maintenance, and settlement; 每一个业务环节对应一种类型的业务处理,所述业务处理包括:协同业务和简单业务,一个业务环节Si通过一个五元组进行表示如下:Each business link corresponds to one type of business processing, and the business processing includes: collaborative business and simple business. One business link Si is represented by a quintuple as follows: Si={Sid,Sname,Snode,Suser,Stask}S i ={S id , S name , S node , S user , S task } 其中,Sid是业务环节Si的唯一标识符,Sname是业务环节Si的名称,Snode是业务环节Si的相关节点集合,Suser是业务环节Si的参与用户集,Stask是业务环节Si的业务交付条件,仅在满足交付条件的情况下,业务环节才可正常执行。Among them, S id is the unique identifier of the business link Si, S name is the name of the business link Si, S node is the set of related nodes of the business link Si, S user is the set of participating users of the business link Si, and S task is the set of participating users of the business link Si . The business delivery conditions of the business link Si , only when the delivery conditions are met, the business link can be executed normally. 6.根据权利要求5所述的数据管理方法,其特征在于,所述区块链联盟将所述业务处理以背书的方式进行交易和记录所述业务处理的结果;6. The data management method according to claim 5, characterized in that, the blockchain consortium conducts transactions and records the results of the business processing by means of endorsement; 所述简单业务需申请非转让背书,所述非转让背书是将特定的资产权利授予所述用户行使,包括:资产使用背书和抵押背书;The simple business needs to apply for a non-transferable endorsement, and the non-transferable endorsement is to grant specific asset rights to the user to exercise, including: asset use endorsement and mortgage endorsement; 所述协同业务需申请转让背书,所述转让背书是将资产人的权利转让给其他用户,包括:资产转移背书。The collaborative business needs to apply for a transfer endorsement, and the transfer endorsement is to transfer the rights of the asset owner to other users, including: asset transfer endorsement. 7.根据权利要求4所述的数据管理方法,其特征在于,基于所述业务环节对应的业务数据,映射形成所述区块链联盟中的统一数据,包括:7. The data management method according to claim 4, characterized in that, based on the business data corresponding to the business links, mapping to form unified data in the blockchain alliance, comprising: 将所述业务环节对应的业务数据,通过对应的价值链标识、企业标识以及数据标识,进行区分管理和唯一识别,以将所述业务环节对应的业务数据统一表示;Differentiate management and unique identification of the business data corresponding to the business links through the corresponding value chain identifiers, enterprise identifiers and data identifiers, so as to uniformly represent the business data corresponding to the business links; 所述业务数据Di通过一个七元组进行表示如下:The service data D i is represented by a seven-tuple as follows: Di={Did,DUid,DEid,Meta,I,O,Dsig}D i ={D id , D Uid , D Eid , Meta, I, O, D sig } 其中,Did是业务数据Di的唯一标识符,Duid是业务数据Di所属协作联盟的唯一标识,DEid是业务数据Di所属企业的唯一标识,Meta是业务数据Di与统一数据表示结构的映射关系;Among them, D id is the unique identifier of the business data Di, D uid is the unique identifier of the collaboration alliance to which the business data Di belongs, D Eid is the unique identifier of the enterprise to which the business data Di belongs, and Meta is the business data Di and the unified data representation The mapping relationship of the structure; 所述Meta用一个五元组的元数据模型表示,记作Meta:<T,E,V,O,R>;The Meta is represented by a five-tuple metadata model, denoted as Meta: <T, E, V, O, R>; I={I1,I2,…,In}是业务数据Di输入接口的集合,该式中n是输入属性参数的数量;I={I 1 , I 2 , . . . , I n } is the set of business data Di input interfaces, where n is the number of input attribute parameters; O={O1,O2,…,On}是业务数据Di输出接口的集合,该式中n是输出属性参数的数量;O={O 1 , O 2 , ..., On } is the set of business data Di output interfaces, where n is the number of output attribute parameters; Dsig={Dsig1,Dsig2,…,Dsigm}是业务数据Di的签名集合,用于确定数据的权限归属,该式中m是签名的数量。 Dsig ={ Dsig1 , Dsig2 , . 8.根据权利要求7所述的数据管理方法,其特征在于,所述业务数据Di中任一种数据实体都用本体概念化定义,所述数据实体包括:数据实体的类别、属性以及关系;8. The data management method according to claim 7, wherein any data entity in the business data D i is defined by ontology conceptualization, and the data entity comprises: category, attribute and relationship of the data entity; 基于上述定义,建立所述Meta的元数据模型,其中,T是原子术语集,其包括:原子类术语C和原子属性术语P,则T=<C,P>;Based on the above definition, establish the metadata model of the Meta, wherein, T is the atomic term set, which includes: the atomic class term C and the atomic attribute term P, then T=<C, P>; E是术语解释集,其引用现成的词汇库来定义和解释术语;E is a term interpretation set, which refers to an off-the-shelf vocabulary to define and explain terms; V是术语值集;V is the term value set; O是数据实体集,其通过术语集T和术语值集V的笛卡尔积来描述,则T*V→O;O is the data entity set, which is described by the Cartesian product of the term set T and the term value set V, then T*V→O; R是数据实体的关系集,描述数据实体间的二元关系。R is a relational set of data entities, describing the binary relation between data entities. 9.根据权利要求7所述的数据管理方法,其特征在于,所述企业中的每个企业,基于自身所在的价值链协作联盟的总体信息,映射形成区块链联盟的具体方法包括:9. The data management method according to claim 7, wherein each enterprise in the enterprise, based on the overall information of the value chain collaboration alliance in which it is located, maps and forms the specific method of the blockchain alliance comprising: 利用所述每个企业各自的主体,形成与区块链本体概念的映射关系;Using the respective subject of each enterprise to form a mapping relationship with the blockchain ontology concept; 对于每个企业均有:For every business there are: 基于企业的基本信息,映射形成类别为区块链的组织,所述企业的基本信息包括:企业编号、企业名称、企业类型、企业地点、企业价值链集合,所述企业价值链包括:对应的价值链编号和对应的价值链;Based on the basic information of the enterprise, an organization with the type of block chain is formed by mapping. The basic information of the enterprise includes: enterprise number, enterprise name, enterprise type, enterprise location, and enterprise value chain set. The enterprise value chain includes: corresponding Value chain number and corresponding value chain; 基于企业的业务环节的基本信息,映射形成类别为区块链节点的本体,所述业务环节的基本信息包括:业务环节编号、业务环节名称、业务环节类型、参与业务环节的部门,所述业务环节类型包括:采购、仓储、配送、加工、生产、销售、维修、保养、结算;Based on the basic information of the business link of the enterprise, the ontology of the type of the blockchain node is formed by mapping. The basic information of the business link includes: the business link number, the business link name, the business link type, the department participating in the business link, the Link types include: procurement, warehousing, distribution, processing, production, sales, repair, maintenance, settlement; 基于企业的业务数据,映射形成类别为业务数据的本体;Based on the business data of the enterprise, the mapping forms an ontology whose category is the business data; 基于企业的资产数据,映射形成类别为资产数据的本体;Based on the asset data of the enterprise, the mapping forms an ontology whose category is asset data; 基于企业涉及的价值链,映射形成类别为区块链的本体,其中一条价值链映射为一条区块链;Based on the value chain involved in the enterprise, the mapping forms an ontology with the category of blockchain, and one of the value chains is mapped to a blockchain; 基于企业涉及的多价值链协同,映射形成类别为区块链联盟的本体。Based on the multi-value chain collaboration involved in the enterprise, the mapping forms the ontology of the blockchain alliance. 10.基于多价值链协同映射区块链的数据管理装置,其特征在于,所述多价值链协同是指企业的多条价值链上以及之间的业务协同,形成包含纵向与横向协同关系网状结构的价值链协作联盟,所述数据管理装置包括:10. A data management device for mapping blockchain based on multi-value chain collaboration, characterized in that the multi-value chain collaboration refers to business collaboration on and between multiple value chains of an enterprise, forming a network including vertical and horizontal collaboration relationships A value chain collaboration alliance with a shape structure, the data management device includes: 确定总体信息模块,用于确定所述价值链协作联盟的总体信息,所述总体信息包括:每条价值链的类型、对应的业务环节、业务环节对应的业务数据,以及企业的业务操作人员;determining the overall information module, used to determine the overall information of the value chain collaboration alliance, the overall information includes: the type of each value chain, the corresponding business link, the business data corresponding to the business link, and the business operator of the enterprise; 映射模块,用于基于所述总体信息,映射形成区块链联盟;a mapping module, used for mapping to form a blockchain alliance based on the overall information; 其中,所述映射模块包括:Wherein, the mapping module includes: 映射通道子模块,用于基于所述每条价值链的类型,映射形成所述区块链联盟中的通道;A mapping channel sub-module, used for mapping to form a channel in the blockchain alliance based on the type of each value chain; 映射节点子模块,用于基于所述每条价值链的业务环节,映射形成所述区块链联盟中的节点;A submodule for mapping nodes, used for mapping the nodes in the blockchain alliance based on the business links of each value chain; 映射统一数据子模块,用于基于所述业务环节对应的业务数据,映射形成所述区块链联盟中的统一数据;The mapping unified data submodule is used to map the unified data in the blockchain alliance based on the business data corresponding to the business links; 映射用户子模块,用于基于企业的业务操作人员,映射形成所述区块链联盟中的用户。The user mapping sub-module is used for enterprise-based business operators to map the users in the blockchain alliance.
CN202210262828.9A 2022-03-17 2022-03-17 Data management method and device based on multi-value chain collaborative mapping block chain Active CN114612242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210262828.9A CN114612242B (en) 2022-03-17 2022-03-17 Data management method and device based on multi-value chain collaborative mapping block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210262828.9A CN114612242B (en) 2022-03-17 2022-03-17 Data management method and device based on multi-value chain collaborative mapping block chain

Publications (2)

Publication Number Publication Date
CN114612242A true CN114612242A (en) 2022-06-10
CN114612242B CN114612242B (en) 2023-06-16

Family

ID=81864694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210262828.9A Active CN114612242B (en) 2022-03-17 2022-03-17 Data management method and device based on multi-value chain collaborative mapping block chain

Country Status (1)

Country Link
CN (1) CN114612242B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115130013A (en) * 2022-07-01 2022-09-30 西南交通大学 Multi-enterprise value chain hyperchain fusion cooperation method
CN115130014A (en) * 2022-07-01 2022-09-30 西南交通大学 A method and system for inter-enterprise data cross-chain interaction
CN115146963A (en) * 2022-07-01 2022-10-04 西南交通大学 A method and system for multi-chain linkage collaboration based on a third-party cloud platform
CN115242250A (en) * 2022-09-21 2022-10-25 成都工业学院 Multi-value chain data element allocation single-full mapping encoding and decoding method

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101922565B1 (en) * 2018-05-23 2018-11-27 (주)에스씨씨 Alliance block chain system that enables sharing of data between different block chains
CN111210339A (en) * 2019-12-31 2020-05-29 航天信息股份有限公司 Enterprise credit transfer method and device based on block chain electronic invoice
CN111260473A (en) * 2020-01-17 2020-06-09 深圳前海点金保理有限公司 Supply chain financial platform system based on block chain technology
CN111294339A (en) * 2020-01-16 2020-06-16 北京航空航天大学 Isomorphic alliance chain cross-chain method and device based on Fabric architecture
CN111445264A (en) * 2020-02-17 2020-07-24 江苏荣泽信息科技股份有限公司 Food supply chain traceability system based on block chain and implementation method
CN111598531A (en) * 2020-04-27 2020-08-28 傲林科技有限公司 Multi-block chain service cooperation method and device and electronic equipment
CN112396385A (en) * 2021-01-20 2021-02-23 四川文轩宝湾供应链有限公司 Supply chain information collaborative sharing-based transaction method and system
CN112613722A (en) * 2020-11-30 2021-04-06 北京理工大学 Supply chain system service distribution method based on block chain by means of reinforcement learning
CN112685766A (en) * 2020-12-15 2021-04-20 广西大学 Enterprise credit investigation management method and device based on block chain, computer equipment and storage medium
CN113239409A (en) * 2021-06-03 2021-08-10 北京电信规划设计院有限公司 Block chain-based steel structure traceability system and method
CN113239399A (en) * 2021-05-18 2021-08-10 中国信息通信研究院 Supply chain data supervision method based on block chain, electronic equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101922565B1 (en) * 2018-05-23 2018-11-27 (주)에스씨씨 Alliance block chain system that enables sharing of data between different block chains
CN111210339A (en) * 2019-12-31 2020-05-29 航天信息股份有限公司 Enterprise credit transfer method and device based on block chain electronic invoice
CN111294339A (en) * 2020-01-16 2020-06-16 北京航空航天大学 Isomorphic alliance chain cross-chain method and device based on Fabric architecture
CN111260473A (en) * 2020-01-17 2020-06-09 深圳前海点金保理有限公司 Supply chain financial platform system based on block chain technology
CN111445264A (en) * 2020-02-17 2020-07-24 江苏荣泽信息科技股份有限公司 Food supply chain traceability system based on block chain and implementation method
CN111598531A (en) * 2020-04-27 2020-08-28 傲林科技有限公司 Multi-block chain service cooperation method and device and electronic equipment
CN112613722A (en) * 2020-11-30 2021-04-06 北京理工大学 Supply chain system service distribution method based on block chain by means of reinforcement learning
CN112685766A (en) * 2020-12-15 2021-04-20 广西大学 Enterprise credit investigation management method and device based on block chain, computer equipment and storage medium
CN112396385A (en) * 2021-01-20 2021-02-23 四川文轩宝湾供应链有限公司 Supply chain information collaborative sharing-based transaction method and system
CN113239399A (en) * 2021-05-18 2021-08-10 中国信息通信研究院 Supply chain data supervision method based on block chain, electronic equipment and storage medium
CN113239409A (en) * 2021-06-03 2021-08-10 北京电信规划设计院有限公司 Block chain-based steel structure traceability system and method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
YOUNESS TRIBIS 等: "Supply chain management baesd on blockchain: A systematic mapping study", vol. 200, pages 1 - 8 *
YUNKE SHEN 等: "Research on Collaboration between Automotive Industry Value Chain and Blockchain Technology", pages 477 - 480 *
崔慧敏: "基于区块链技术的企业价值链体系重构研究", no. 24, pages 150 - 156 *
龙萍 等: "基于区块链的物流价值链数据安全共享技术", vol. 39, no. 12, pages 13 - 18 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115130013A (en) * 2022-07-01 2022-09-30 西南交通大学 Multi-enterprise value chain hyperchain fusion cooperation method
CN115130014A (en) * 2022-07-01 2022-09-30 西南交通大学 A method and system for inter-enterprise data cross-chain interaction
CN115146963A (en) * 2022-07-01 2022-10-04 西南交通大学 A method and system for multi-chain linkage collaboration based on a third-party cloud platform
CN115130013B (en) * 2022-07-01 2023-04-25 西南交通大学 Multi-enterprise value chain super-chain fusion coordination method
CN115130014B (en) * 2022-07-01 2023-05-02 西南交通大学 Inter-enterprise data cross-link interaction method
CN115242250A (en) * 2022-09-21 2022-10-25 成都工业学院 Multi-value chain data element allocation single-full mapping encoding and decoding method

Also Published As

Publication number Publication date
CN114612242B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN114612242A (en) Data management method and device based on multi-value chain collaborative mapping block chain
Wen et al. A blockchain-based data sharing scheme in the supply chain by IIoT
Karjoth et al. Platform for enterprise privacy practices: Privacy-enabled management of customer data
Zhang et al. Beyond the block: A novel blockchain-based technical model for long-term care insurance
Choobineh et al. Management of information security: Challenges and research directions
US8276192B2 (en) System and method for security planning with hard security constraints
EP1710741A1 (en) Comparing and contrasting models of business
CN107657411B (en) Fourth logistics information platform management method and system based on block chain technology
US11954233B2 (en) Chaining, triggering, and enforcing entitlements
CN108038617A (en) A kind of intellectual property operating service plateform system
WO2022051007A1 (en) Enforcement flow for pipelines that include entitlements
Dumas et al. Blockchain technology for collaborative information systems (dagstuhl seminar 18332)
CN113220762A (en) Method, device, processor and storage medium for realizing general record processing of key service field change in big data application
US20230214398A1 (en) Data Privacy Management &amp; Compliance Using Distributed Ledger Technology
Yang et al. The conditional limitation of relational governance: the moderating role of project complexity
CN114598707B (en) Alliance chain supervision system
Barati et al. Design and verification of privacy patterns for business process models
Hasan et al. CIDaTa: an ontology-based framework for international data transfers and GDPR compliance
Falkenthal et al. Requirements and enforcement points for policies in industrial data sharing scenarios
Lu et al. From data flows to privacy issues: a user-centric semantic model for representing and discovering privacy issues
Xiong et al. Delegate contract signing mechanism based on smart contract
Opriel et al. Data Sovereignty in Inter-organizational Information Systems: Findings from Demand and Capacity Management in the Automotive Industry
Shanmugam et al. Aspects of data cataloguing for enterprise data platforms
Yu et al. A secure model for electronic contract enactment, monitoring and management
Gayness Clark et al. Security and privacy governance: Criteria for systems design

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
GR01 Patent grant