CN112149077B - Supply chain billing method, system and computer equipment based on block chain technology - Google Patents

Supply chain billing method, system and computer equipment based on block chain technology Download PDF

Info

Publication number
CN112149077B
CN112149077B CN202011083357.2A CN202011083357A CN112149077B CN 112149077 B CN112149077 B CN 112149077B CN 202011083357 A CN202011083357 A CN 202011083357A CN 112149077 B CN112149077 B CN 112149077B
Authority
CN
China
Prior art keywords
bill
data
request
supply chain
authority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011083357.2A
Other languages
Chinese (zh)
Other versions
CN112149077A (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.)
Beijing Yunlianqulian Digital Technology Co ltd
Hangzhou Yunxiang Network Technology Co Ltd
Original Assignee
Beijing Yunlianqulian Digital Technology Co ltd
Hangzhou Yunxiang Network Technology Co Ltd
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 Beijing Yunlianqulian Digital Technology Co ltd, Hangzhou Yunxiang Network Technology Co Ltd filed Critical Beijing Yunlianqulian Digital Technology Co ltd
Priority to CN202011083357.2A priority Critical patent/CN112149077B/en
Publication of CN112149077A publication Critical patent/CN112149077A/en
Application granted granted Critical
Publication of CN112149077B publication Critical patent/CN112149077B/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/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • 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/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
    • 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/04Billing or invoicing

Abstract

The application relates to a supply chain billing method, system, computer device and storage medium based on blockchain technology. The method comprises the following steps: the method comprises the steps of receiving an issuing request of a supply chain bill, obtaining bill data and a bill issuing party according to the issuing request, adding the bill issuing party in an authority identifier corresponding to the bill data, and storing the bill data to a block chain through consensus. By adopting the method, the distributed storage of the supply chain bills can be carried out through the block chain, and the authority management is carried out through the block chain, so that the continuity and the reliability of the supply chain bill system are improved.

Description

Supply chain billing method, system and computer equipment based on block chain technology
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a supply chain billing method and system, a computer device, and a storage medium based on blockchain technology.
Background
At present, more and more core enterprises rely on the internet technology to provide online supply chain financial services for suppliers, distributors and financial institutions, and once transaction disputes occur, responsibility division is needed. Therefore, it is desirable to ensure that the full life cycle of the original transaction record is traceable, ensuring that the original transaction data has not been tampered with. In order to improve the authority of the data, the platform usually needs to be witnessed by a third party authority such as a notarization department, but the mode inevitably increases the transaction cost, affects the efficiency and has poor operability. Therefore, at present, most supply chain financial platforms adopt a centralized C/S or B/S architecture, and system applications, transaction data and account data of the supply chain financial platforms adopt centralized storage and are independently maintained by enterprises. The centralized storage mode has great data safety hidden danger, the risk of whole platform paralysis caused by data loss or attack easily occurs, and the continuity and reliability of system service are influenced.
Aiming at the problem of poor continuity and reliability of a supply chain bill system in the related art, an effective solution is not provided at present.
Disclosure of Invention
In view of the above, it is necessary to provide a supply chain bill processing method, system, computer device and storage medium based on block chain technology.
In a first aspect, an embodiment of the present application provides a supply chain bill processing method based on a blockchain technology, where the method includes:
receiving an issuing request of a supply chain bill, and acquiring bill data and a bill issuing party according to the issuing request;
and adding the bill issuing party in the authority identification corresponding to the bill data, and storing the bill data to a block chain through consensus.
In one embodiment, after receiving an issuance request for a supply chain ticket, the method comprises:
generating and storing an encryption key, and sending the encryption key to the bill issuing party;
and receiving the bill data encrypted by the encryption key, adding the bill issuing party to the authority identifier corresponding to the bill data, and storing the bill data to a block chain through consensus.
In one embodiment, after storing the ticket data on the blockchain by consensus, the method further comprises:
receiving an authorization request, and determining the bill data and a bill user corresponding to the authorization request;
and adding the bill users in the authority identification corresponding to the bill data, wherein the bill users comprise a collector of the supply chain bill, a circulation collector of the supply chain bill and a querier of the supply chain bill.
In one embodiment, before receiving the request for authorization from the ticket issuer, the method further comprises:
receiving an authority request, determining the bill data corresponding to the authority request, and acquiring the authority identification corresponding to the bill data;
and the bill issuing party acquires the bill data according to the authority identifier, and sends the authority request to the bill issuing party.
In one embodiment, after adding the ticket user to the authority identifier corresponding to the ticket data, the method includes:
receiving a use request of the supply chain bill, determining the bill data and a data requester corresponding to the use request, and acquiring the authority identification corresponding to the bill data, wherein the use request comprises a bill signing request, a bill circulation request, a bill showing request and a bill query request;
and under the condition that the authority identification comprises the data requester, feeding back the bill data to the data requester.
In one embodiment, after receiving an issuance request for a supply chain ticket and acquiring ticket data and a data owner according to the issuance request, the method further comprises:
acquiring the identity information of the bill issuing party, and verifying the identity information;
and under the condition that the identity information is successfully verified, adding the bill issuing party in the authority identifier corresponding to the bill data, and storing the bill data to a block chain through consensus.
In a second aspect, the present application further provides a supply chain bill processing system based on the block chain technology, where the system includes an intelligent contract layer and a data storage layer,
the intelligent contract layer is used for receiving an issuing request of a supply chain bill, acquiring bill data and a bill issuing party according to the issuing request, adding an authority identifier corresponding to the bill issuing party on the bill data, and the data storage layer is used for storing the bill data to a block chain through consensus.
In one embodiment, the intelligent contract layer is further configured to receive an authorization request of the ticket issuer, and obtain the ticket data and the ticket user according to the authorization request; and adding an authority identifier corresponding to the bill user to the bill data, wherein the bill user comprises a collector of the supply chain bill, a circulation collector of the supply chain bill and a querier of the supply chain bill.
In one embodiment, the system further comprises a user interface layer for interfacing with a ticket issuer including the corporate company and the core enterprise and a ticket consumer including the supplier and the bank.
In a third aspect, the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the processor implements the supply chain bill processing method based on the block chain technology.
In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the supply chain bill processing method based on the block chain technology.
According to the supply chain bill method, the supply chain bill system, the computer equipment and the storage medium based on the block chain technology, the issuing request of the supply chain bill is received, the bill data and the bill issuing party are obtained according to the issuing request, the bill issuing party is added to the authority identification corresponding to the bill data, the bill data are stored on the block chain through consensus, the supply chain bill is stored in a distributed mode through the block chain, the authority management is conducted through the block chain, and the continuity and the reliability of the supply chain bill system are improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flow chart of a method for supply chain ticket processing based on blockchain technology in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart of encryption in a supply chain ticket processing method based on block chain technology in an embodiment of the invention;
FIG. 3 is a flow chart of data authorization in a supply chain bill handling method based on blockchain technology according to an embodiment of the invention;
FIG. 4 is a flow chart of data usage in a supply chain ticket processing method based on blockchain techniques in an embodiment of the invention;
FIG. 5 is a block chain technology based supply chain bill handling system according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a supply chain document processing system based on blockchain technology in accordance with a preferred embodiment of the present invention;
fig. 7 is a schematic diagram of a supply chain bill handling platform based on block chain technology in accordance with a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
In one embodiment, fig. 1 is a flowchart of a supply chain bill processing method based on a blockchain technology in an embodiment of the present invention, and as shown in fig. 1, there is provided a supply chain bill processing method based on a blockchain technology, including the following steps:
step S110, the block chain receives an issuing request of the supply chain bill, and acquires the bill data and the bill issuing party according to the issuing request. The computer device to which the data owner corresponds may run any suitable computing system that enables it to access the blockchain network as a node in the blockchain network. The computer device may be any electronic device, such as a server, a mobile phone, a computer, a tablet computer, and the like. It will be appreciated that the computer device, when acting as a node of a blockchain network, may communicate with any node on the blockchain network. After receiving the issuing request of the supply chain bill, the block link acquires the bill data in the issuing request and the issuer of the bill. The ticket issuer may be a predetermined interfacing user of a company, an enterprise, etc., for example, when the enterprise user a issues a single supply chain ticket data, the enterprise user a has ownership of the ticket data.
And step S120, adding a bill issuing party in the authority identifier corresponding to the bill data by the block chain, and storing the bill data to the block chain through consensus. After the issued bill data is acquired, the intelligent contract in the block chain manages the bill data according to the preset business management logic. For example, the service data is identified as owned by the enterprise user a and stored to each node of the blockchain through consensus, and the platform side or the blockchain has the storage right of the service data. Optionally, when the ticket data is linked, the authority identifier corresponding to the ticket data is initialized, and a unique identifier of the ticket issuer, such as a public key, is added to the authority identifier and stored in the data authority identifier to identify ownership of the ticket data. In some embodiments, the authority identification may also be used to record the user nodes that are authorized to access during the data access process.
In the process of storing the bill data into the block chain, the block chain is mainly divided into two types of data, namely structured data and unstructured data as the digital information stored in the distributed database. The structured data stores the key index fields of data index information such as serial numbers, dates and times and the like into the intelligent contract according to the structured characteristics, and the evidence storing information irrelevant to the business calculation index can be stored into the transaction information relevant to the current transaction information and the block transaction information. The unstructured data is mainly stored outside a chain in the storage process according to the unstructured characteristics, and the file integrity is endorsed through a block chain. The out-of-chain storage mode can be realized by providing two modes of distributed storage and shared storage. The distributed storage can provide high availability of the unstructured files, the retrieval efficiency of the unstructured data is improved, and the file loss can be greatly saved by shared storage.
By the supply chain bill processing method based on the blockchain technology, once the supply chain bill data is stored in the blockchain, tampering and revocation operations cannot be performed, and based on the data storage specification of the distributed account book, when a certain node encounters a network problem, a hardware fault or is attacked, the operation of the whole system of other nodes cannot be influenced. In the block chain network, each participating node needs to follow the same accounting rule which is performed based on a cryptographic algorithm and codes instead of a traditional trust mechanism, so that the system does not need to depend on a centralized mechanism, and the continuity and reliability of the supply chain bill system are improved.
In one embodiment, fig. 2 is a flow chart of encryption in a supply chain ticket processing method based on the block chain technology in an embodiment of the present invention, and as shown in fig. 2, after receiving an issuance request of a supply chain ticket and acquiring ticket data and a ticket issuer according to the issuance request, the method further includes:
in step S210, the block chain generates and stores an encryption key, and sends the encryption key to the ticket issuing party. Optionally, a cryptographic contract is included in the smart contracts in the blockchain, the cryptographic contract being used to randomly generate an irreversible cryptographic key for distribution to the user. And after encrypting the bill data by using the encryption key, the user calls the service contract to carry out service data chaining.
Step S220, receiving the ticket data encrypted by the encryption key, adding a ticket issuing party to the authority identifier corresponding to the ticket data, and storing the ticket data in the block chain by consensus. The bill data encryption comprises symmetric encryption and asymmetric encryption, wherein the symmetric encryption refers to encryption by using a secret key and decryption by using the same secret key. The symmetric encryption uses the scenes of encrypting data and inquiring the encrypted data by a data owner, a secret key is generated by a specific encryption contract, the secret key is invisible, and a bill issuer in a supply chain bill system calls a service contract to encrypt the bill data by using the secret key and then stores the bill data in a contract account book. When the subsequent data owner inquires the data, the data plaintext is returned to the data owner after the contract is decrypted by the symmetric key. Asymmetric encryption refers to that a pair of public and private keys is encrypted by the public key and then decrypted by the private key, and the asymmetric encryption is used in a point-to-point data authorization query scene. All transaction data in the system can be encrypted, and the ownership of the data is owned by a data producer, namely a bill issuer, so that the privacy of supply chain bills can be improved.
In one embodiment, fig. 3 is a flowchart of data authorization in a supply chain bill processing method based on the blockchain technology according to an embodiment of the present invention, and after the bill data is stored on the blockchain by consensus, as shown in fig. 3, the method further includes:
step S310, receiving the authorization request, and determining the bill data and the bill user corresponding to the authorization request. The data issuer can perform access authorization on the bill data as an owner of the bill data, the block link receives an authorization request of the data issuer, and the authorized bill data and the bill user are confirmed according to the authorization request.
And step S320, adding a ticket user in the authority identifier corresponding to the ticket data. After determining the management bill using party, the blockchain adds the bill using party in the authority identification corresponding to the authorized cheating data, wherein the bill using party comprises a supply chain bill signing party, a supply chain bill forwarding party and a supply chain bill inquiring party.
In steps S310 to S320, after the data is linked, the ticket issuer may dynamically maintain the authority list of the data, add or delete the data authority, and optionally, may also set the time limit of the data authority, and dynamically modify the authority of the data. Optionally, asymmetric encryption may be used in the data authorization query scenario, and at the business system level, the encrypted data stored in the contract ledger by the user a is authorized to be viewed by the user B. On the corresponding technical implementation level, the contract stores the public key of the user B into a user authorization list corresponding to the data, when the user B initiates data query operation, the contract decrypts the encrypted data symmetrically, the public key of the user B is used for encryption and then returns the encrypted data to the user B, and the user B uses the private key of the user B for decryption and then obtains the data plaintext. The asymmetric encryption ensures that the data can be decrypted only by using the corresponding private key after being encrypted by the public key, thereby ensuring the data security. The issuing party of the bill has the ownership of the bill, and the processes of signing and inquiring the bill and the like have authorized authority, so that the privacy protection can be better performed on the bill.
In one embodiment, before receiving the request for authorization from the ticket issuer, the method further comprises: receiving an authority request, determining bill data corresponding to the authority request, and acquiring an authority identifier corresponding to the bill data; and the bill issuing party acquires the bill data according to the authority identifier and sends an authority request to the bill issuing party. In this embodiment, the ticket user can make an authority request for the supply chain ticket according to the requirement, optionally, the intelligent contract on the block chain can perform identity verification on the ticket user, then accept the authority request of the ticket user, determine the requested ticket data according to the authority request, and obtain the authority identifier corresponding to the ticket data, so that the issuer of the ticket data can be determined, and thus send the authority request to the ticket issuer, and the ticket issuer can send the authorization request according to the authority request. In the implementation, besides the active authorization of the bill issuing party, the bill using party can also make a permission request according to the use requirement of the bill using party, so that the permission management of the supply chain bills is more flexible.
In one embodiment, fig. 4 is a flowchart of data usage in a supply chain ticket processing method based on the blockchain technology in an embodiment of the present invention, and as shown in fig. 4, after adding a ticket user to a rights identifier corresponding to the ticket data, the method further includes:
step S410, receiving a use request of the supply chain bill, determining bill data and a data requester corresponding to the use request, and acquiring an authority identifier corresponding to the bill data. The use request comprises a bill signing request, a bill circulation request, a bill pasting request and a bill query request. The block link ticket receiving method comprises the steps that a user uses a use request of a ticket user, such as a supplier, a depository institution, a security company, a bank and the like, ticket data which need to be inquired or used by the ticket user and the requester are determined, and authority identification corresponding to the ticket data is obtained.
Step S420, feeding back the ticket data to the data requester when the authority identifier includes the data requester. And inquiring whether the authority identifier corresponding to the bill data comprises a user, if so, indicating that the data requester has the authority to inquire and use the bill data, and feeding the bill data back to the requester by the block chain.
Through steps S410 to S420, the blockchain may manage the query and use process of the ticket data according to the authority identifier, and optionally, the authority identifier of the intelligent contract may be subdivided into three data modules: data ID, user ID, token. The mapping relation of the three is a forward tree model, and structured information such as index and ID of the privacy-protected bill data is recorded in the data ID; the user ID records a user list which has the right to access the bill data, and account information related to the user is in the list; the token records the access authority range of the user ID to the ticket data, such as the access period, the access times, the data range and other information. The three-layer data model is used for protecting the private data, so that the private data can be maintained and updated in real time, and the authority management and the privacy protection of the bill data are improved.
In some embodiments, the blockchain is a blockchain private chain or a blockchain alliance, so that a corresponding principal of the blockchain network node, such as a computer device, needs to complete registration on the blockchain platform in advance, and obtain a corresponding public key and a corresponding private key as identity information for performing identity authentication. When acquiring a request for issuing a bill of a supply chain, a block chain firstly determines that the identity of a bill issuing party is credible and then allows the bill issuing party to develop the related business for issuing the bill. Optionally, the above-mentioned authentication process may also be used for authentication of each supply chain bill participant, for example, a preset supply chain bill circulation participant is established through an intelligent contract, only the preset participant can participate in the circulation flow of the supply chain bill through authentication. The safety of the supply chain bills and the circulation process thereof is improved.
According to another aspect of the present invention, fig. 5 is a schematic structural diagram of a supply chain bill processing system based on a block chain technology according to an embodiment of the present invention, and as shown in fig. 5, the system includes a contract layer 52 and a data storage layer 54, the intelligent contract layer is configured to receive an issuance request of a supply chain bill, obtain bill data and a bill issuer according to the issuance request, add an authority identifier corresponding to the bill issuer to the bill data, and the data storage layer is configured to store the bill data on a block chain through consensus.
In one embodiment, intelligent contract layer 52 is further configured to receive an authorization request from a ticket issuer, and obtain ticket data and a ticket consumer according to the authorization request; and adding authority identification corresponding to a bill user on the bill data, wherein the bill user comprises a collector of the supply chain bill, a distributor of the supply chain bill and a querier of the supply chain bill.
For specific definition of the supply chain bill processing system based on the blockchain technology, reference may also be made to the above definition of the supply chain bill processing method based on the blockchain technology, and details are not described here again. The various modules in the supply chain note processing system based on block chain technology described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In a preferred embodiment, FIG. 6 is a schematic diagram of a blockchain technology-based supply chain document processing system in accordance with a preferred embodiment of the present invention, as shown in FIG. 6, including an intelligent contract layer 62 and a data store layer 64.
The supply chain ticket processing system 60 based on the blockchain technology can provide data uplink service, data query service and data privacy protection and authorization service for application foreground of different business systems. The meaning chain upgrades the traditional data storage into distributed storage, and simultaneously, based on the encrypted storage and the non-tamper property of the bottom layer of the block chain, the requirements of ensuring data authenticity, data privacy protection, data tracing and high-efficiency data synchronization in different business systems are met.
The intelligent contract layer includes various contract types such as cryptographic contracts, business contracts, ledger encryption, data encryption and decryption, data authorization and the like. The encryption contract is used to randomly generate an irreversible encryption key for distribution to the user. And after the user encrypts the data by using the encryption key, calling the service contract to carry out service data chaining. The service contract is used for presetting rules in advance according to different service logics, and comprises the management of a user key, the service logic processing, the mapping of contract data and information on a chain and the like. The account book encryption is used for starting encryption configuration on the account book when the intelligent contract account book is initialized. The data encryption and decryption contract comprises symmetric encryption and decryption and asymmetric encryption and decryption. The data grant is used for data uplink time grant and data link dynamic grant. The authorization during data uplink refers to initializing a permission list of data during data uplink, and storing unique identifiers of all data authorizers in the data permission list to limit access permissions of the data. The dynamic authorization on the data link refers to that after the data is linked, a permission list of the data can be dynamically maintained, a data permission party is added or deleted, and the time effectiveness of the data permission can be set to dynamically modify the data permission.
The data storage layer is used for storing structured data storage and unstructured data storage, and the storage mode is different due to different data types. The structured data stores key index fields of data index information such as serial numbers, date and time, service key information and the like into the intelligent contract according to the structured characteristics, and the evidence storing information irrelevant to the service calculation index can be stored into the transaction information relevant to the current transaction information and the block transaction information. The unstructured data is mainly stored outside a chain in the storage process according to the unstructured characteristics, and the file integrity is endorsed through a block chain. The out-of-chain storage mode can be realized by providing two modes of distributed storage and shared storage. The distributed storage can provide high availability of the unstructured files and improve the retrieval efficiency of the unstructured data. And file loss can be greatly saved by sharing storage.
In an embodiment, fig. 7 is a schematic diagram of a supply chain bill processing platform based on the blockchain technology in a preferred embodiment of the present invention, and as shown in fig. 7, a supply chain bill processing platform building body based on the blockchain technology includes a system support layer, a business function layer, a user use layer, and other external supports. The system support layer comprises a user system, an enterprise authentication layer, an account system, an electronic signature layer, a message system and the like. The first part of the business function layer is a front-end user, wherein the business function layer comprises corresponding functions of users with different identities, for example, a core enterprise comprises functions of 'my signing, issuing and auditing', 'my bill' and 'my account', a supplier comprises functions of 'my signing, signing and auditing', 'my bill' and 'my account', and a depository organization comprises functions of 'standardized bill list', 'project asset list' and 'asset screening'. Meanwhile, functional processing such as 'electric ticket auditing' of part of platform operators is included; the second part is for platform operator, and mainly comprises basic configuration of core functions such as user management, authority management, white list management, bill query and the like. The user layer comprises asset parties and fund parties of various levels such as group companies, core enterprises, suppliers, banks and the like which are in butt joint with the financial platform of the supply chain. Other external support includes basic service bases, such as short message platforms, email platforms, etc.; external systems such as invoice verification, OCR, etc.; and CA authentication, bank interface docking and the like are also included.
The supply chain bill processing system and the supply chain bill processing platform based on the blockchain technology have the advantages that the supply chain bill processing system and the supply chain bill processing platform are not capable of being tampered and revoked, and once supply chain bill data are stored on the blockchain, the supply chain bill data cannot be tampered and revoked. The reliability of supply chain bill data is strong, and based on the data storage specification of the distributed account book, when a certain node encounters a network problem, a hardware fault or is attacked, the operation of the whole system of other nodes is not influenced. In the distributed decentralized centralization of the block chain, each participating node needs to follow the same accounting rule, and the accounting rule is carried out based on a cryptographic algorithm and codes instead of a traditional trust mechanism, so that the operation of the system does not need to depend on a centralization mechanism. All transaction data in the system can be encrypted, the ownership of the data is owned by a data producer, the consumption behavior of the data depends on an intelligent contract to carry out authorization operation, and privacy protection measures are carried out on the data. And based on a data storage mechanism of the block chain, each transaction data on the block chain can be subjected to source tracing operation, services and data sharing among different alliance chains are carried out, a service intercommunication bridge is built among different alliance chains by taking the letter chain as a relay chain, and data sharing service among different alliance chains is realized.
The scheme is mainly based on the technical characteristics of the block chain, a supply chain bill opening service solution is conceived, the functions of enterprise information registration, bill issuing, bill signing, bill circulation, bill showing, bill information query and the like are realized through the block chain, and a supply chain bill opening service application scene based on the block chain is explored. The method mainly realizes block chain connection of the supply chain bill open service full-flow information.
A supply chain bill platform is built based on the block chain technology, functions of enterprise information registration, bill issuing, bill signing, bill circulation, bill showing, bill information query and the like are achieved, and outward expansion is achieved under the condition that conditions are met. By combining the block chain technology, the problem of a trust mechanism of centralized data is solved, the problem that data cannot be shared in real time among different enterprises, banks, investment institutions and the like is solved, and the data transmission efficiency is improved through real-time synchronization of data among the block chain nodes. Through the distributed account book and the consensus mechanism, data sharing among enterprises is realized, and data authenticity is guaranteed. By the intelligent contract technology, operations such as data authorization, data encryption and decryption, data sharing, contracts and the like are automated. Through the traceability characteristic of the block chain, the whole link traceability of the data is realized, and the data manageability is improved.
It should be understood that, although the steps in the flowcharts of fig. 1 to 4 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for supply chain ticket processing based on block chain technology. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
receiving an issuing request of a supply chain bill, and acquiring bill data and a bill issuing party according to the issuing request;
and adding a bill issuing party in the authority identification corresponding to the bill data, and storing the bill data to the block chain through consensus.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
generating and storing an encryption key, and sending the encryption key to the bill issuing party;
and receiving the bill data encrypted by the encryption key, adding a bill issuing party in the authority identifier corresponding to the bill data, and storing the bill data to the block chain through consensus.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving an authorization request, and determining bill data and a bill user corresponding to the authorization request;
and adding bill users in the authority identification corresponding to the bill data, wherein the bill users comprise a collector of the supply chain bill, a distributor of the supply chain bill and a querier of the supply chain bill.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving an authority request, determining bill data corresponding to the authority request, and acquiring an authority identifier corresponding to the bill data;
and the bill issuing party acquires the bill data according to the authority identifier and sends the authority request to the bill issuing party.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving a use request of a supply chain bill, determining bill data and a data requester corresponding to the use request, and acquiring an authority identifier corresponding to the bill data, wherein the use request comprises a bill signing request, a bill circulation request, a bill showing request and a bill query request;
and under the condition that the authority identification comprises the data requester, feeding back the bill data to the data requester.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring identity information of a bill issuing party, and verifying the identity information;
and under the condition that the identity information is successfully verified, adding a bill issuing party in the authority identifier corresponding to the bill data, and storing the bill data to the block chain through consensus.
According to the supply chain bill computer equipment based on the block chain technology, the issuing request of the supply chain bill is received, the bill data and the bill issuing party are obtained according to the issuing request, the bill issuing party is added to the authority identification corresponding to the bill data, the bill data are stored on the block chain through consensus, the distributed storage of the supply chain bill is carried out through the block chain, the authority management is carried out through the block chain, and the continuity and the reliability of a supply chain bill system are improved.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving an issuing request of a supply chain bill, and acquiring bill data and a bill issuing party according to the issuing request;
and adding a bill issuing party in the authority identification corresponding to the bill data, and storing the bill data to the block chain through consensus.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
generating and storing an encryption key, and sending the encryption key to the bill issuing party;
and receiving the bill data encrypted by the encryption key, adding a bill issuing party in the authority identifier corresponding to the bill data, and storing the bill data to the block chain through consensus.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving an authorization request, and determining bill data and a bill user corresponding to the authorization request;
and adding bill users in the authority identification corresponding to the bill data, wherein the bill users comprise a collector of the supply chain bill, a distributor of the supply chain bill and a querier of the supply chain bill.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving an authority request, determining bill data corresponding to the authority request, and acquiring an authority identifier corresponding to the bill data;
and the bill issuing party acquires the bill data according to the authority identifier and sends the authority request to the bill issuing party.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving a use request of a supply chain bill, determining bill data and a data requester corresponding to the use request, and acquiring an authority identifier corresponding to the bill data, wherein the use request comprises a bill signing request, a bill circulation request, a bill showing request and a bill query request;
and under the condition that the authority identification comprises the data requester, feeding back the bill data to the data requester.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring identity information of a bill issuing party, and verifying the identity information;
and under the condition that the identity information is successfully verified, adding a bill issuing party in the authority identifier corresponding to the bill data, and storing the bill data to the block chain through consensus.
According to the supply chain bill storage medium based on the block chain technology, the issuing request of the supply chain bill is received, the bill data and the bill issuing party are obtained according to the issuing request, the bill issuing party is added to the authority identification corresponding to the bill data, the bill data are stored on the block chain through consensus, the distributed storage of the supply chain bill is carried out through the block chain, the authority management is carried out through the block chain, and the continuity and the reliability of a supply chain bill system are improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. A supply chain bill processing method based on a block chain technology is characterized by comprising the following steps:
receiving an issuing request of a supply chain bill, and acquiring bill data and a bill issuing party according to the issuing request;
adding the bill issuing party to the authority identification corresponding to the bill data, and storing the bill data to a block chain through consensus;
receiving an authorization request, and determining the bill data and a bill user corresponding to the authorization request;
and adding the bill users in the authority identification corresponding to the bill data, wherein the bill users comprise a collector of the supply chain bill, a circulation collector of the supply chain bill and a querier of the supply chain bill.
2. The method of claim 1, wherein after receiving an issuance request for a supply chain ticket, the method comprises:
generating and storing an encryption key, and sending the encryption key to the bill issuing party;
and receiving the bill data encrypted by the encryption key, adding the bill issuing party to the authority identifier corresponding to the bill data, and storing the bill data to a block chain through consensus.
3. The method of claim 1, wherein prior to receiving the request for authorization by the ticket issuer, the method further comprises:
receiving an authority request, determining the bill data corresponding to the authority request, and acquiring the authority identification corresponding to the bill data;
and the bill issuing party acquires the bill data according to the authority identifier, and sends the authority request to the bill issuing party.
4. The method according to claim 1, wherein after adding the ticket consumer to the authority identifier corresponding to the ticket data, the method comprises:
receiving a use request of the supply chain bill, determining the bill data and a data requester corresponding to the use request, and acquiring the authority identification corresponding to the bill data, wherein the use request comprises a bill signing request, a bill circulation request, a bill showing request and a bill query request;
and under the condition that the authority identification comprises the data requester, feeding back the bill data to the data requester.
5. The method of claim 1, wherein after said receiving an issuance request for a supply chain ticket and obtaining ticket data and a data owner from said issuance request, said method further comprises:
acquiring the identity information of the bill issuing party, and verifying the identity information;
and under the condition that the identity information is successfully verified, adding the bill issuing party in the authority identifier corresponding to the bill data, and storing the bill data to a block chain through consensus.
6. A supply chain bill processing system based on block chain technology is characterized in that the system comprises an intelligent contract layer and a data storage layer,
the intelligent contract layer is used for receiving an issuing request of a supply chain bill, acquiring bill data and a bill issuing party according to the issuing request, adding an authority identifier corresponding to the bill issuing party on the bill data, and the data storage layer is used for storing the bill data to a block chain through consensus;
the intelligent contract layer is also used for receiving an authorization request of the bill issuing party and acquiring the bill data and the bill using party according to the authorization request; and adding an authority identifier corresponding to the bill user to the bill data, wherein the bill user comprises a collector of the supply chain bill, a circulation collector of the supply chain bill and a querier of the supply chain bill.
7. The system of claim 6, further comprising a user interface layer for interfacing a ticket issuer comprising a corporate company and a core enterprise and a ticket consumer comprising a supplier and a bank.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 5 are implemented when the computer program is executed by the processor.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN202011083357.2A 2020-10-12 2020-10-12 Supply chain billing method, system and computer equipment based on block chain technology Active CN112149077B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011083357.2A CN112149077B (en) 2020-10-12 2020-10-12 Supply chain billing method, system and computer equipment based on block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011083357.2A CN112149077B (en) 2020-10-12 2020-10-12 Supply chain billing method, system and computer equipment based on block chain technology

Publications (2)

Publication Number Publication Date
CN112149077A CN112149077A (en) 2020-12-29
CN112149077B true CN112149077B (en) 2022-03-25

Family

ID=73951429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011083357.2A Active CN112149077B (en) 2020-10-12 2020-10-12 Supply chain billing method, system and computer equipment based on block chain technology

Country Status (1)

Country Link
CN (1) CN112149077B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301018B (en) * 2021-04-22 2022-05-24 浙江数秦科技有限公司 Data sharing method based on alliance chain
CN113205346A (en) * 2021-04-24 2021-08-03 上海赛可出行科技服务有限公司 Depocenter encryption authentication and authentication method capable of canceling bill
CN113590636A (en) * 2021-09-29 2021-11-02 昆山炫生活信息技术股份有限公司 Online transaction system and method based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2767178Y (en) * 2004-07-27 2006-03-29 林加国 Duplicate gathering bill for tax evasion prevention
CN108961030A (en) * 2018-08-15 2018-12-07 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, system, medium and equipment
CN110224833A (en) * 2019-05-20 2019-09-10 深圳壹账通智能科技有限公司 Bill data processing method and system
CN111311259A (en) * 2020-01-22 2020-06-19 腾讯科技(深圳)有限公司 Bill processing method, device, terminal and computer readable storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140304828A1 (en) * 2000-12-07 2014-10-09 Micosoft Corporation System and Method for Securing Information Distribution via eMail
CN109191219B (en) * 2018-08-13 2023-09-26 深圳市智税链科技有限公司 Data processing method, device, storage medium and equipment for electronic bill
CN110599137A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill data processing method and device and computer equipment
CN110599270A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill generation method and device and computer equipment
CN110633963B (en) * 2019-09-16 2023-12-12 腾讯科技(深圳)有限公司 Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device
CN110599266B (en) * 2019-09-16 2021-07-06 腾讯科技(深圳)有限公司 Electronic bill data processing method and device, computer equipment and storage medium
CN110866755A (en) * 2019-11-19 2020-03-06 腾讯科技(深圳)有限公司 Processing method, equipment and medium for bill data
CN111026789B (en) * 2019-11-29 2020-12-15 蚂蚁区块链科技(上海)有限公司 Block chain-based electronic bill query method and device and electronic equipment
CN111369338B (en) * 2020-02-28 2023-12-19 腾讯科技(深圳)有限公司 Data processing method and device based on block chain
CN111369332A (en) * 2020-02-28 2020-07-03 腾讯科技(深圳)有限公司 Data processing method and device based on block chain
CN111475841B (en) * 2020-04-07 2023-04-14 腾讯科技(深圳)有限公司 Access control method, related device, equipment, system and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2767178Y (en) * 2004-07-27 2006-03-29 林加国 Duplicate gathering bill for tax evasion prevention
CN108961030A (en) * 2018-08-15 2018-12-07 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, system, medium and equipment
CN110224833A (en) * 2019-05-20 2019-09-10 深圳壹账通智能科技有限公司 Bill data processing method and system
CN111311259A (en) * 2020-01-22 2020-06-19 腾讯科技(深圳)有限公司 Bill processing method, device, terminal and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
信息系统安全的若干关键问题研究;文铁华;《信息科技》;20040415(第04期);I136-14 *

Also Published As

Publication number Publication date
CN112149077A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
US11314891B2 (en) Method and system for managing access to personal data by means of a smart contract
CN108418680B (en) Block chain key recovery method and medium based on secure multi-party computing technology
CN111600908B (en) Data processing method, system, computer device and readable storage medium
JP6524347B2 (en) Information sharing system
CN112003858B (en) Block chain-based platform docking method, electronic device and storage medium
CN112149077B (en) Supply chain billing method, system and computer equipment based on block chain technology
CN112215608A (en) Data processing method and device
CN108830733A (en) A kind of information processing method, block scm cluster and system
CN110881063A (en) Storage method, device, equipment and medium of private data
CN115296838B (en) Block chain-based data sharing method, system and storage medium
WO2022206453A1 (en) Method and apparatus for providing cross-chain private data
CN113255014B (en) Data processing method based on block chain and related equipment
CN113610528A (en) Block chain-based management system, method, device and storage medium
CN113011974A (en) Transaction information evidence storing method and system based on block chain
CN115705571A (en) Protecting privacy of auditable accounts
CN115147224A (en) Transaction data sharing method and device based on alliance chain
CN115242383A (en) Block chain-based data right multiparty sharing management method
Alexander et al. Cybersecurity, information assurance, and big data based on blockchain
CN114679473B (en) Financial account management system and method based on distributed digital identity
CN115048672A (en) Data auditing method and device based on block chain, processor and electronic equipment
CN111431880B (en) Information processing method and device
CN114329512A (en) Encrypted data asset right confirming, managing and using method and device based on block chain
CN111080274B (en) Payment method and system based on Corda database
CN114331437A (en) Block chain-based digital seal using method and device
CN112199694A (en) Standardized bill processing method and device, electronic device and storage medium

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