CN115563212A - Supply chain data management method, device, equipment and storage medium under cloud chain cooperation - Google Patents

Supply chain data management method, device, equipment and storage medium under cloud chain cooperation Download PDF

Info

Publication number
CN115563212A
CN115563212A CN202211164952.8A CN202211164952A CN115563212A CN 115563212 A CN115563212 A CN 115563212A CN 202211164952 A CN202211164952 A CN 202211164952A CN 115563212 A CN115563212 A CN 115563212A
Authority
CN
China
Prior art keywords
data
enterprise
chain
original data
transaction
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.)
Withdrawn
Application number
CN202211164952.8A
Other languages
Chinese (zh)
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.)
Suzhou Ronglian Digital Technology Co ltd
Original Assignee
Suzhou Ronglian Digital 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 Suzhou Ronglian Digital Technology Co ltd filed Critical Suzhou Ronglian Digital Technology Co ltd
Priority to CN202211164952.8A priority Critical patent/CN115563212A/en
Publication of CN115563212A publication Critical patent/CN115563212A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Tourism & Hospitality (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Game Theory and Decision Science (AREA)
  • Computing Systems (AREA)
  • Educational Administration (AREA)
  • Data Mining & Analysis (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention belongs to the technical field of supply chain management, and discloses a supply chain data management method, device, equipment and storage medium under cloud chain cooperation. The method comprises the following steps: acquiring enterprise information in a target food supply chain, determining a target enterprise, and distributing identity identification information; acquiring enterprise original data of target enterprises, establishing a global demand prediction model, and determining demand data of each target enterprise; encrypting the original enterprise data to generate enterprise encrypted data, and storing the enterprise encrypted data in a cloud database; extracting inventory record data, and storing the inventory record data and the demand data to a block chain; when an access request of an enterprise is received, acquiring enterprise identity information, and allowing the enterprise to access inventory record data and demand data in a block chain when the identity information is met, so that the enterprise can adjust production and transaction strategies. By the method, the food supply chain data are managed by the cloud service and the block chain in a coordinated mode, the information communication effect among enterprises is improved, and the global property of the supply chain is improved.

Description

Supply chain data management method, device, equipment and storage medium under cloud chain cooperation
Technical Field
The invention relates to the technical field of supply chain management, in particular to a supply chain data management method, device, equipment and storage medium under the coordination of a cloud chain.
Background
As computer technology has developed, more and more businesses have begun to modify their demand responses with resource information from other businesses, which have evolved into a supply chain from suppliers to manufacturers to customers throughout the production process. However, due to mutual trust between enterprises, information islands exist even on the supply chain for the confidentiality of core data of the enterprises. As such, information conflicts between upstream and downstream enterprises frequently occur in the supply chain, resulting in poor communication between parties in formulating production and purchase needs.
In order to solve an information isolated island existing on a supply chain, an enterprise can upload data to be shared to a cloud end and can designate a user to obtain the shared data, but data leakage in the using process is a problem of endless cloud service.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for supply chain data management under cloud chain cooperation, and aims to solve the technical problems that data leakage is easy to occur when cloud services are used for supply chain data management in the prior art, and searching efficiency is low and information communication between enterprises is influenced because big data are stored by using a block chain.
In order to achieve the above object, the present invention provides a supply chain data management method under cloud chain coordination, which includes the following steps:
acquiring enterprise information in a target food supply chain, determining a target enterprise, and distributing identity identification information for the target enterprise;
acquiring enterprise original data of the target enterprise, and establishing a global demand prediction model according to the enterprise original data, wherein the enterprise original data comprises production original data, inventory original data, transaction original data and logistics original data;
determining demand data of each target enterprise according to the global demand forecasting model;
encrypting the enterprise original data to generate enterprise encrypted data, and storing the enterprise encrypted data to a cloud database;
extracting stock record data in the stock original data, and storing the stock record data and the demand data to a block chain network;
when an access request sent by an enterprise is received, acquiring identity information of the enterprise, and when the identity information accords with the identity identification information, allowing the enterprise to access inventory record data and demand data in the block chain network, so that the enterprise adjusts a production strategy and a transaction strategy according to the inventory record data and the demand data.
Optionally, the obtaining of the enterprise raw data of the target enterprise and establishing a global demand prediction model according to the enterprise raw data include:
acquiring production original data, inventory original data, transaction original data and logistics original data of the target enterprise;
determining an initial demand prediction model according to the current state of the target food supply chain;
training the initial demand prediction model according to the production original data, the stock original data, the transaction original data and the logistics original data to obtain a demand prediction model of each target enterprise;
and establishing a global demand forecasting model according to the demand forecasting model of each target enterprise.
Optionally, the encrypting the enterprise raw data to generate enterprise encrypted data, and storing the enterprise encrypted data in a cloud database includes:
determining the corresponding relation between the original data and the encrypted data according to a preset symmetric encryption strategy;
obtaining production encrypted data, stock encrypted data, transaction encrypted data and logistics encrypted data according to production original data, stock original data, transaction original data and logistics original data between the original data and the encrypted data;
obtaining enterprise encrypted data of each target enterprise according to the production encrypted data, the inventory encrypted data, the transaction encrypted data and the logistics encrypted data;
and storing the enterprise encryption data of each target enterprise to a cloud database.
Optionally, after extracting the stock record data in the stock raw data and storing the stock record data and the demand data in a blockchain network, the method further includes:
when a data request sent by a management end is received, acquiring verification information of the management end;
when the verification information accords with the preset authority information, allowing the management terminal to acquire the original enterprise data;
acquiring an initial key according to the preset symmetric encryption strategy;
encrypting the initial key to obtain an encryption key;
and sending the encryption key to the management end so that the management end decrypts the encrypted data in the cloud database according to the encryption key to obtain the enterprise original data.
Optionally, the encrypting the initial key to obtain an encryption key includes:
sending a public key request to the management terminal so that the management terminal generates public key information and private key information according to a preset asymmetric encryption strategy;
and acquiring the public key information, and encrypting the initial key according to the public key information to obtain an encryption key.
Optionally, the sending the encryption key to the management end to enable the management end to decrypt the encrypted data in the cloud database according to the encryption key to obtain the enterprise raw data includes:
and sending the encryption key to the management end so that the management end decrypts the encryption key according to the private key information to obtain an initial key, and decrypts the encrypted data in the cloud database according to the initial key to obtain the production original data, the stock original data, the transaction original data and the logistics original data.
Optionally, after extracting the stock record data in the stock raw data and storing the stock record data and the demand data in a blockchain network, the method further includes:
and extracting transaction record data in the transaction original data, and storing the transaction record data in a blockchain network for safe storage so as to enable the target enterprise to trace the source of the transaction according to the transaction record data.
In addition, to achieve the above object, the present invention further provides a supply chain data management apparatus under cloud chain coordination, where the supply chain data management apparatus under cloud chain coordination includes:
the acquisition module is used for acquiring enterprise information in a target food supply chain, determining a target enterprise and distributing identity identification information for the target enterprise;
the acquisition module is further used for acquiring enterprise original data of the target enterprise and establishing a global demand prediction model according to the enterprise original data, wherein the enterprise original data comprises production original data, stock original data, transaction original data and logistics original data;
the acquisition module is further used for determining the demand data of each target enterprise according to the global demand prediction model;
the storage module is used for encrypting the enterprise original data to generate enterprise encrypted data and storing the enterprise encrypted data to a cloud database;
the storage module is further configured to extract inventory record data in the inventory raw data, and store the inventory record data and the demand data to a block chain network;
and the management module is used for acquiring the identity information of the enterprise when receiving an access request sent by the enterprise, and allowing the enterprise to access the inventory record data and the demand data in the block chain network when the identity information accords with the identity identification information, so that the enterprise adjusts a production strategy and a transaction strategy according to the inventory record data and the demand data.
In addition, to achieve the above object, the present invention further provides a supply chain data management device under cloud chain cooperation, where the supply chain data management device under cloud chain cooperation includes: the system comprises a memory, a processor and a cloud-chain under-coordination supply chain data management program which is stored on the memory and can run on the processor, wherein the cloud-chain under-coordination supply chain data management program is configured to realize the steps of the cloud-chain under-coordination supply chain data management method.
In addition, to achieve the above object, the present invention further provides a storage medium, where a cloud-chain coordinated lower supply chain data management program is stored, and when executed by a processor, the cloud-chain coordinated lower supply chain data management program implements the steps of the cloud-chain coordinated lower supply chain data management method as described above.
The method comprises the steps of obtaining enterprise information in a target food supply chain, determining a target enterprise, distributing identity identification information to the target enterprise, obtaining enterprise original data of the target enterprise, establishing a global demand forecasting model according to the enterprise original data, determining demand data of each target enterprise according to the global demand forecasting model, carrying out encryption processing on the enterprise original data to generate enterprise encrypted data, storing the enterprise encrypted data into a cloud database, extracting stock record data in the stock original data, storing the stock record data and the demand data into a block chain network, obtaining identity information of the enterprise when an access request sent by the enterprise is received, and allowing the enterprise to access the stock record data and the demand data in the block chain network when the identity information accords with the identity identification information so as to enable the enterprise to generate a production strategy and a transaction strategy according to the stock record data and the demand data. Compared with the prior art that data leakage is easy to occur when cloud service is used for managing supply chain data, and retrieval efficiency is low when block chain is used for managing supply chain data, the cloud service and the block chain are used for cooperatively managing the supply chain data, data islands of enterprises on the upstream and downstream of a food supply chain are broken through, big data of each enterprise in the supply chain are stored in the cloud, information required by the enterprise is stored in the block chain, and therefore the authorized enterprise can acquire corresponding data to adjust production strategies and transaction strategies of the authorized enterprise, information safety is guaranteed, information communication effects among the enterprises are improved, and the global property of the supply chain is improved.
Drawings
Fig. 1 is a schematic structural diagram of a supply chain data management device under cloud chain coordination of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a supply chain data management method under cloud chain coordination according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a supply chain data management method under cloud chain coordination according to a second embodiment of the present invention;
fig. 4 is a schematic flowchart of a supply chain data management method under cloud chain cooperation according to a third embodiment of the present invention;
fig. 5 is a block diagram illustrating a first embodiment of a supply chain data management apparatus under coordination of a cloud chain according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a supply chain data management device under cloud chain coordination in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the cloud chain cooperating with the lower supply chain data management device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a definition of a supply chain data management device under cloud chain coordination, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a cloud-chain coordinated supply chain data management program.
In the supply chain data management device under the coordination of the cloud chain shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the cloud chain coordinated supply chain data management apparatus may be arranged in the cloud chain coordinated supply chain data management apparatus, and the cloud chain coordinated supply chain data management apparatus calls the cloud chain coordinated supply chain data management program stored in the memory 1005 through the processor 1001 and executes the cloud chain coordinated supply chain data management method provided by the embodiment of the present invention.
An embodiment of the present invention provides a supply chain data management method under cloud chain coordination, and referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of a supply chain data management method under cloud chain coordination according to the present invention.
In this embodiment, the supply chain data management method under the cloud chain cooperation includes the following steps:
step S10: acquiring enterprise information in a target food supply chain, determining a target enterprise, and distributing identity identification information for the target enterprise.
It should be noted that the main execution body of this embodiment is a food supply chain service platform, and the cloud chain provided in the platform cooperates with a lower supply chain data management program to manage enterprise data in a food supply chain, and link upstream and downstream enterprises.
It can be understood that the target food supply chain is a food supply chain currently served by a food supply chain service platform, and the enterprise information is related information of all enterprises upstream and downstream in the target food supply chain, including an enterprise name, an enterprise business scope, and the like, which is not limited in this embodiment, and the target enterprise is an enterprise that needs data management, for example: raw material manufacturing enterprises, semi-finished product processing enterprises, finished product processing enterprises and the like are not limited in the embodiment, the identification information is identification information of enterprise identities, can be an Identity (ID), and can also be other ways capable of identifying identities, the embodiment is not limited in the embodiment, and the identification information distributed for target enterprises is equivalent to the authority of the enterprises for acquiring data.
In the specific implementation, the related information of all enterprises in the upstream and downstream of the food supply chain is obtained, the target enterprises needing data management are determined according to the information such as the enterprise names and the enterprise operating ranges, and corresponding identity identifications are distributed to the target enterprises for the subsequent authority verification.
Step S20: and acquiring enterprise original data of the target enterprise, and establishing a global demand prediction model according to the enterprise original data, wherein the enterprise original data comprises production original data, inventory original data, transaction original data and logistics original data.
It should be understood that the enterprise raw data is enterprise data related to the supply chain, including production raw data, inventory raw data, transaction raw data, and logistics raw data, and the production raw data is data in the enterprise production process, such as: the production quantity, the production speed, the production mode, and the like, which is not limited in this embodiment, the stock raw data is data related to an enterprise stock, for example: the product inventory, the product warehousing quantity, the product ex-warehouse quantity, and the like, which are not limited in this embodiment, and the transaction original data is data obtained by inter-enterprise transactions, for example: the present embodiment does not limit the transaction cost, the transaction profit, the transaction amount, and the like, and the logistics original data is the logistics situation between enterprises, for example: the transport speed, the transport route, and the number of transports, which the embodiment does not limit. The global demand forecasting model is a demand model established by integrating all enterprise data in a food supply chain.
Further, the step S20 includes: the method comprises the steps of obtaining production original data, inventory original data, transaction original data and logistics original data of target enterprises, determining an initial demand prediction model according to the current state of a target food supply chain, training the initial demand prediction model according to the production original data, the inventory original data, the transaction original data and the logistics original data to obtain a demand prediction model of each target enterprise, and establishing a global demand prediction model according to the demand prediction model of each target enterprise.
It should be noted that the current state is a situation between production and demand in the target food supply chain, for example: the method includes the steps that conditions of supply shortage, supply excess, supply and demand are proper and the like are determined according to actual conditions, the initial demand prediction model is an original demand prediction model, can be a neural network model, and can also use other models. The demand forecasting model of each target enterprise is a demand forecasting model established according to data of each target enterprise, and each target enterprise is provided with a corresponding demand forecasting model.
In the specific implementation, the current state of a target food supply chain is determined according to the relation between production and demand among enterprises, a proper initial demand prediction model is determined, a demand prediction model of each target enterprise is established according to production related data, inventory related data, transaction related data and logistics related data in the supply chain, then a global demand prediction model of the supply chain is established according to the demand prediction model of each target enterprise, all related data in the supply chain are considered, and the accuracy and the global performance of the prediction model are improved. The whole process uses a federal learning algorithm, fusion and processing of data are realized under the condition that the data are not local, and the safety of supply chain data in management is improved.
Step S30: and determining the demand data of each target enterprise according to the global demand forecasting model.
It can be understood that the demand data is the demand of the target enterprise for other enterprises to produce products, such as: the requirement of the semi-finished product processing enterprise on the production raw material of the raw material production enterprise, the requirement of the finished product processing enterprise on the semi-finished product production of the semi-finished product processing enterprise, and the like, which is not limited in this embodiment.
In specific implementation, according to the established global demand prediction model, the production, inventory, transaction and logistics situations of all enterprises are integrated, the demand of each target enterprise relative to the whole food supply chain can be obtained, and the demand data of a global angle is obtained.
Step S40: and encrypting the enterprise original data to generate enterprise encrypted data, and storing the enterprise encrypted data to a cloud database.
Further, the step S40 includes: according to a preset symmetric encryption strategy, determining a corresponding relation between original data and encrypted data, obtaining production encrypted data, inventory encrypted data, transaction encrypted data and logistics encrypted data according to production original data, inventory original data, transaction original data and logistics original data between the original data and the encrypted data, obtaining enterprise encrypted data of each target enterprise according to the production encrypted data, the inventory encrypted data, the transaction encrypted data and the logistics encrypted data, and storing the enterprise encrypted data of each target enterprise to a cloud database.
It should be understood that the preset symmetric Encryption policy is an Encryption algorithm used when the enterprise original data is encrypted, and is a symmetric Encryption algorithm, in this embodiment, an AES (Advanced Encryption Standard) algorithm is used, and other symmetric Encryption algorithms may also be used. The enterprise encrypted data are encrypted enterprise original data, including production encrypted data, stock encrypted data, transaction encrypted data and logistics encrypted data, and the production encrypted data, the stock encrypted data, the transaction encrypted data and the logistics encrypted data are respectively encrypted production original data, encrypted stock original data, encrypted transaction original data and encrypted logistics original data.
In specific implementation, enterprise original data in a video supply chain are symmetrically encrypted according to a preset symmetric encryption mode to obtain enterprise encrypted data of each target enterprise, the obtained enterprise encrypted data are uploaded to a cloud end to be stored, and the data are encrypted to improve the safety in data storage.
Step S50: and extracting the inventory record data in the inventory original data, and storing the inventory record data and the demand data to a block chain network.
It should be noted that the inventory record data is data related to inventory entry and exit records, and includes the current inventory quantity, the warehousing quantity, and the ex-warehousing quantity.
In a specific implementation, data related to inventory records are extracted from enterprise raw data, and the inventory record data and the previously obtained demand data are stored into a block chain, where the block chain in this embodiment is a federation chain and is managed by all target enterprises together.
Step S60: when an access request sent by an enterprise is received, acquiring identity information of the enterprise, and when the identity information accords with the identity identification information, allowing the enterprise to access inventory record data and demand data in the block chain network, so that the enterprise generates a production strategy and a transaction strategy according to the inventory record data and the demand data.
It can be understood that the access request is a request for acquiring inventory record data and demand data in a blockchain network, and the identity information is information representing an enterprise identity, and is of the same type as the identity information, for example: when the Identity information is an Identity ID (Identity document), the obtained enterprise Identity information is also in the form of the Identity ID and is used for judging whether the enterprise has a corresponding data obtaining authority, and only a target enterprise in a supply chain has the authority. The production strategy is a general planning layout of enterprise production, including daily production quantity and the like, which is not limited in this embodiment, and the transaction strategy is a planning layout of transactions with other enterprises, including transaction quantity, transaction objects and the like, which is not limited in this embodiment.
In specific implementation, if an enterprise requests a platform to acquire inventory record data and demand data in a block chain network, whether the enterprise has authority or not is judged according to identity information of the enterprise, when the identity information accords with identity identification information, the enterprise is considered to be a target enterprise in a supply chain, the enterprise is allowed to acquire the inventory record data and the demand data stored in the block chain, and after the enterprise acquires the data, subsequent production plans and transaction plans of the enterprise can be adjusted according to inventory and demands of other enterprises, so that the information safety is ensured, and the global nature of supply chain data management is improved.
In the embodiment, a target enterprise is determined by obtaining enterprise information in a target food supply chain, identity identification information is distributed to the target enterprise, enterprise raw data of the target enterprise is obtained, a global demand prediction model is established according to the enterprise raw data, demand data of each target enterprise is determined according to the global demand prediction model, the enterprise raw data is encrypted to generate enterprise encrypted data, the enterprise encrypted data is stored in a cloud database, stock record data in the stock raw data is extracted, the stock record data and the demand data are stored in a block chain network, when an access request sent by the enterprise is received, the identity information of the enterprise is obtained, and when the identity information accords with the identity identification information, the enterprise is allowed to access the stock record data and the demand data in the block chain network, so that the enterprise generates a production strategy and a transaction strategy according to the stock record data and the demand data. According to the embodiment, the supply chain data is cooperatively managed by using the cloud service and the block chain, data islands of upstream and downstream enterprises in the food supply chain are broken through, big data of each enterprise in the supply chain are stored in the cloud, and information required by the enterprise is stored in the block chain, so that the authorized enterprises acquire corresponding data to adjust the production strategy and the transaction strategy of the authorized enterprises, the information communication effect among the enterprises is improved while the information security is ensured, and the global property of the supply chain is improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of a second embodiment of a supply chain data management method under cloud chain coordination according to the present invention.
Based on the first embodiment, the supply chain data management method under the coordination of the cloud chain in this embodiment further includes:
step S701: and when a data request sent by a management end is received, acquiring the verification information of the management end.
It should be noted that the data request is a request for obtaining enterprise encrypted data, the management end is a manager for managing data in the food supply chain, and may be any target enterprise or a designated manager of the target enterprise, and may be negotiated and determined by all target enterprises in the food supply chain, which is not limited in this embodiment, and the verification information is information for verifying an identity of the manager, such as a verification password, a management end ID, a management end IP (Internet Protocol) address, and the like, and may also be in other forms, which is not limited in this embodiment.
In a specific implementation, if a manager requests to access the enterprise encryption information in the cloud database, the identity of the manager needs to be verified.
Step S702: and when the verification information accords with the preset authority information, allowing the management terminal to acquire the original enterprise data.
It can be understood that the preset authority information is information which has authority to acquire the encrypted data of the enterprise, and the form of the preset authority information is consistent with the form of the acquired verification information.
In specific implementation, the administrator needs to be authenticated to verify whether the administrator has authority management data currently, and the enterprise encrypted data is allowed to be acquired only when the administrator has the ownership right, so that the security of data management in the food supply chain is improved.
Step S703: and acquiring an initial key according to the preset symmetric encryption strategy.
It should be understood that the initial key is the key used by the preset symmetric encryption policy.
Step S704: and encrypting the initial key to obtain an encryption key.
Further, the step S704 includes: and sending a public key request to the management terminal so that the management terminal generates public key information and private key information according to a preset asymmetric encryption strategy to obtain the public key information, and encrypting the initial key according to the public key information to obtain an encryption key.
It should be noted that the public key request is a request for obtaining a public key of a ciphertext receiver, the preset asymmetric encryption policy is an asymmetric encryption algorithm used when encrypting a secret key, and may be set in a supply chain data management program under the coordination of a cloud chain, in this embodiment, an RSA encryption algorithm is used, and other algorithms may also be used.
In the specific implementation, the management terminal generates a corresponding public key and a corresponding private key according to an RSA encryption algorithm, the public key is sent to the platform, and the platform encrypts the initial key by using the public key, so that information leakage caused by direct transmission of the key is avoided, and the safety of data management in a food supply chain is further improved.
Step S705: and sending the encryption key to the management end so that the management end decrypts the encrypted data in the cloud database according to the encryption key to obtain the enterprise original data.
Further, the step S705 includes: and sending the encryption key to the management end so that the management end decrypts the encryption key according to the private key information to obtain an initial key, and decrypts the encrypted data in the cloud database according to the initial key to obtain the enterprise production original data, the stock original data, the transaction original data and the logistics original data.
In specific implementation, the encrypted initial key is sent to the management end, the management end decrypts the encrypted key by using a private key to obtain the initial key, and then decrypts the enterprise encrypted data in the cloud database by using the initial key to obtain enterprise production, inventory, transaction and logistics data, and manages the data.
In this embodiment, when a data request sent by a management end is received, verification information of the management end is obtained, when the verification information conforms to preset authority information, the management end is allowed to obtain enterprise original data, an initial key is obtained according to a preset symmetric encryption strategy, the initial key is encrypted to obtain an encryption key, and the encryption key is sent to the management end, so that the management end decrypts the encrypted data in a cloud database according to the encryption key to obtain the enterprise original data. In the embodiment, the identity of the management terminal requesting to acquire the enterprise data is verified, and the data acquisition is allowed to be managed only after verification, so that the safety of information storage is ensured, and the security of data management in a food supply chain is further improved by encrypting and transmitting the key by using an asymmetric encryption algorithm.
Referring to fig. 4, fig. 4 is a schematic flowchart of a third embodiment of a supply chain data management method under cloud chain coordination according to the present invention.
Based on the first embodiment and the second embodiment, the supply chain data management method under the coordination of the cloud chain further includes:
step S80: and extracting transaction record data in the transaction original data, and storing the transaction record data in a blockchain network for safe storage so as to enable the target enterprise to trace the source of the transaction according to the transaction record data.
It should be noted that the transaction record data is a record of the transaction between the enterprises, and includes records of the transaction time, the transaction amount, the transaction parties, and the like, which is not limited in this embodiment. And storing the transaction records among the target enterprises in a block chain, allowing the target enterprises in the food supply chain to inquire, and realizing transaction tracing.
In this embodiment, the transaction record in the enterprise original data is extracted, the transaction data in the food supply chain is safely stored by using the non-falsifiable characteristic of the block chain, and the target enterprise in the food supply chain is allowed to use the transaction record for transaction tracing, so that the information communication effect between enterprises is improved.
In addition, an embodiment of the present invention further provides a storage medium, where a cloud-chain-collaborative-lower-supply-chain data management program is stored on the storage medium, and when executed by a processor, the cloud-chain-collaborative-lower-supply-chain data management program implements the steps of the cloud-chain-collaborative-lower-supply-chain data management method described above.
Referring to fig. 5, fig. 5 is a block diagram illustrating a first embodiment of a supply chain data management device under the coordination of a cloud chain according to the present invention.
As shown in fig. 5, the supply chain data management apparatus under the coordination of the cloud chain according to the embodiment of the present invention includes:
the acquisition module 10 is configured to acquire enterprise information in a target food supply chain, determine a target enterprise, and assign identification information to the target enterprise.
The obtaining module 10 is further configured to obtain enterprise raw data of the target enterprise, and establish a global demand prediction model according to the enterprise raw data, where the enterprise raw data includes production raw data, inventory raw data, transaction raw data, and logistics raw data.
The obtaining module 10 is further configured to determine demand data of each target enterprise according to the global demand prediction model.
The storage module 20 is configured to encrypt the enterprise raw data to generate enterprise encrypted data, and store the enterprise encrypted data 30 in a cloud database.
The storage module 20 is further configured to extract inventory record data in the inventory raw data, and store the inventory record data and the demand data in a block chain network.
And the management module is used for acquiring the identity information of the enterprise when receiving an access request sent by the enterprise, and allowing the enterprise to access the inventory record data and the demand data in the block link network when the identity information conforms to the identity identification information so as to enable the enterprise to adjust a production strategy and a transaction strategy according to the inventory record data and the demand data.
In the embodiment, a target enterprise is determined by obtaining enterprise information in a target food supply chain, identity identification information is distributed to the target enterprise, enterprise raw data of the target enterprise is obtained, a global demand prediction model is established according to the enterprise raw data, demand data of each target enterprise is determined according to the global demand prediction model, the enterprise raw data is encrypted to generate enterprise encrypted data, the enterprise encrypted data is stored in a cloud database, stock record data in the stock raw data is extracted, the stock record data and the demand data are stored in a block chain network, when an access request sent by the enterprise is received, the identity information of the enterprise is obtained, and when the identity information accords with the identity identification information, the enterprise is allowed to access the stock record data and the demand data in the block chain network, so that the enterprise generates a production strategy and a transaction strategy according to the stock record data and the demand data. According to the embodiment, the cloud service and the block chain are used for cooperatively managing the supply chain data, an upstream enterprise data island and a downstream enterprise data island of the food supply chain are broken through, big data of each enterprise in the supply chain are stored in the cloud, information required by the enterprise is stored in the block chain, the authorized enterprise obtains corresponding data to adjust the production strategy and the transaction strategy of the authorized enterprise, the information security is guaranteed, the information communication effect among the enterprises is improved, and the global property of the supply chain is improved.
In an embodiment, the obtaining module 10 is further configured to obtain production raw data, inventory raw data, transaction raw data, and logistics raw data of the target enterprise;
determining an initial demand prediction model according to the current state of the target food supply chain;
training the initial demand prediction model according to the production original data, the stock original data, the transaction original data and the logistics original data to obtain a demand prediction model of each target enterprise;
and establishing a global demand forecasting model according to the demand forecasting model of each target enterprise.
In an embodiment, the storage module 20 is further configured to determine a corresponding relationship between the original data and the encrypted data according to a preset symmetric encryption policy;
obtaining production encrypted data, stock encrypted data, transaction encrypted data and logistics encrypted data according to production original data, stock original data, transaction original data and logistics original data between the original data and the encrypted data;
obtaining enterprise encrypted data of each target enterprise according to the production encrypted data, the inventory encrypted data, the transaction encrypted data and the logistics encrypted data;
and storing the enterprise encryption data of each target enterprise to a cloud database.
In an embodiment, the management module 30 is further configured to obtain, when receiving a data request sent by a management end, verification information of the management end;
when the verification information accords with the preset authority information, allowing the management terminal to acquire the original enterprise data;
acquiring an initial key according to the preset symmetric encryption strategy;
encrypting the initial key to obtain an encryption key;
and sending the encryption key to the management end so that the management end decrypts the encrypted data in the cloud database according to the encryption key to obtain the enterprise original data.
In an embodiment, the management module 30 is further configured to send a public key request to the management end, so that the management end generates public key information and private key information according to a preset asymmetric encryption policy;
and acquiring the public key information, and encrypting the initial key according to the public key information to obtain an encryption key.
In an embodiment, the management module 30 is further configured to send the encryption key to the management end, so that the management end decrypts the encryption key according to the private key information to obtain an initial key, and decrypts the encrypted data in the cloud database according to the initial key to obtain the production raw data, the inventory raw data, the transaction raw data, and the logistics raw data.
In an embodiment, the management module 30 is further configured to extract transaction record data in the transaction original data, and store the transaction record data in a blockchain network for secure storage, so that the target enterprise performs transaction tracing according to the transaction record data.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may be referred to a supply chain data management method under cloud chain coordination provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A supply chain data management method under cloud chain coordination is characterized by comprising the following steps:
acquiring enterprise information in a target food supply chain, determining a target enterprise, and distributing identity identification information for the target enterprise;
acquiring enterprise original data of the target enterprise, and establishing a global demand prediction model according to the enterprise original data, wherein the enterprise original data comprises production original data, inventory original data, transaction original data and logistics original data;
determining demand data of each target enterprise according to the global demand prediction model;
encrypting the enterprise original data to generate enterprise encrypted data, and storing the enterprise encrypted data to a cloud database;
extracting inventory record data in the inventory original data, and storing the inventory record data and the demand data to a block chain network;
when an access request sent by an enterprise is received, acquiring identity information of the enterprise, and when the identity information accords with the identity identification information, allowing the enterprise to access inventory record data and demand data in the block chain network, so that the enterprise adjusts a production strategy and a transaction strategy according to the inventory record data and the demand data.
2. The method of claim 1, wherein said obtaining enterprise raw data for the target enterprise, and building a global demand forecasting model based on the enterprise raw data, comprises:
acquiring production original data, inventory original data, transaction original data and logistics original data of the target enterprise;
determining an initial demand prediction model according to the current state of the target food supply chain;
training the initial demand prediction model according to the production original data, the stock original data, the transaction original data and the logistics original data to obtain a demand prediction model of each target enterprise;
and establishing a global demand forecasting model according to the demand forecasting model of each target enterprise.
3. The method of claim 1, wherein the encrypting the enterprise raw data to generate enterprise encrypted data and storing the enterprise encrypted data in a cloud database comprises:
determining the corresponding relation between the original data and the encrypted data according to a preset symmetric encryption strategy;
obtaining production encrypted data, stock encrypted data, transaction encrypted data and logistics encrypted data according to production original data, stock original data, transaction original data and logistics original data between the original data and the encrypted data;
obtaining enterprise encrypted data of each target enterprise according to the production encrypted data, the inventory encrypted data, the transaction encrypted data and the logistics encrypted data;
and storing the enterprise encryption data of each target enterprise to a cloud database.
4. The method of claim 3, wherein after extracting the stock record data from the stock raw data and storing the stock record data and the demand data in a blockchain network, further comprising:
when a data request sent by a management end is received, acquiring verification information of the management end;
when the verification information accords with preset authority information, allowing the management terminal to acquire original enterprise data;
acquiring an initial key according to the preset symmetric encryption strategy;
encrypting the initial key to obtain an encryption key;
and sending the encryption key to the management end so that the management end decrypts the encrypted data in the cloud database according to the encryption key to obtain the enterprise original data.
5. The method of claim 4, wherein said encrypting the initial key to obtain an encryption key comprises:
sending a public key request to the management terminal so that the management terminal generates public key information and private key information according to a preset asymmetric encryption strategy;
and acquiring the public key information, and encrypting the initial key according to the public key information to obtain an encryption key.
6. The method of claim 5, wherein the sending the encryption key to the management end to enable the management end to decrypt encrypted data in the cloud database according to the encryption key to obtain the enterprise raw data comprises:
and sending the encryption key to the management end so that the management end decrypts the encryption key according to the private key information to obtain an initial key, and decrypts the encrypted data in the cloud database according to the initial key to obtain the production original data, the stock original data, the transaction original data and the logistics original data.
7. The method as claimed in any one of claims 1 to 6, wherein after extracting the stock record data from the stock raw data and storing the stock record data and the demand data in the blockchain network, the method further comprises:
and extracting transaction record data in the transaction original data, and storing the transaction record data in a blockchain network for safe storage so as to enable the target enterprise to trace the source of the transaction according to the transaction record data.
8. A supply chain data management device under cloud chain coordination is characterized in that the supply chain data management device under cloud chain coordination comprises:
the acquisition module is used for acquiring enterprise information in a target food supply chain, determining a target enterprise and distributing identity identification information for the target enterprise;
the acquisition module is further used for acquiring enterprise original data of the target enterprise and establishing a global demand prediction model according to the enterprise original data, wherein the enterprise original data comprises production original data, stock original data, transaction original data and logistics original data;
the acquisition module is further used for determining the demand data of each target enterprise according to the global demand prediction model;
the storage module is used for encrypting the enterprise original data to generate enterprise encrypted data and storing the enterprise encrypted data to a cloud database;
the storage module is further configured to extract inventory record data in the inventory raw data, and store the inventory record data and the demand data to a block chain network;
and the management module is used for acquiring the identity information of the enterprise when receiving an access request sent by the enterprise, and allowing the enterprise to access the inventory record data and the demand data in the block chain network when the identity information accords with the identity identification information, so that the enterprise adjusts a production strategy and a transaction strategy according to the inventory record data and the demand data.
9. A supply chain data management device under cloud chain coordination, the device comprising: a memory, a processor, and a cloud-chain coordinated supply chain data management program stored on the memory and executable on the processor, the cloud-chain coordinated supply chain data management program configured to implement the steps of the cloud-chain coordinated supply chain data management method of any of claims 1 to 7.
10. A storage medium, wherein a cloud-chain under-coordination supply-chain data management program is stored on the storage medium, and when executed by a processor, the cloud-chain under-coordination supply-chain data management program implements the steps of the cloud-chain under-coordination supply-chain data management method according to any one of claims 1 to 7.
CN202211164952.8A 2022-09-23 2022-09-23 Supply chain data management method, device, equipment and storage medium under cloud chain cooperation Withdrawn CN115563212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211164952.8A CN115563212A (en) 2022-09-23 2022-09-23 Supply chain data management method, device, equipment and storage medium under cloud chain cooperation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211164952.8A CN115563212A (en) 2022-09-23 2022-09-23 Supply chain data management method, device, equipment and storage medium under cloud chain cooperation

Publications (1)

Publication Number Publication Date
CN115563212A true CN115563212A (en) 2023-01-03

Family

ID=84741400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211164952.8A Withdrawn CN115563212A (en) 2022-09-23 2022-09-23 Supply chain data management method, device, equipment and storage medium under cloud chain cooperation

Country Status (1)

Country Link
CN (1) CN115563212A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116523477A (en) * 2023-07-04 2023-08-01 深圳千岸科技股份有限公司 Supply chain management method and related device based on product sales information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116523477A (en) * 2023-07-04 2023-08-01 深圳千岸科技股份有限公司 Supply chain management method and related device based on product sales information

Similar Documents

Publication Publication Date Title
CN111914269B (en) Data security sharing method and system in blockchain and cloud storage environment
CN110377239B (en) Data signature method, device, server, system and storage medium
CN109274652B (en) Identity information verification system, method and device and computer storage medium
CN107645486B (en) login authentication method and device
JP6054457B2 (en) Private analysis with controlled disclosure
CN108537046A (en) A kind of online contract signature system and method based on block chain technology
CN105871786B (en) A kind of verification method of user information, device and system
JP2006344156A (en) Personal information distribution management system, personal information distribution management method, personal information providing program and personal information using program
CN109003207B (en) Residence permit information processing method and platform based on block chain
US20190005258A1 (en) A method for encrypting data and a method for decrypting data
CN101977184A (en) Multi-identity selection landing device and service system
CN116527372B (en) Internet-based data security interaction system and method
CN111767551A (en) Browsing permission control method and system based on block chain
CN115563212A (en) Supply chain data management method, device, equipment and storage medium under cloud chain cooperation
CN111597060B (en) Data calling method and device, computer equipment and storage medium
CN113642239A (en) Method and system for modeling federated learning
US20150081429A1 (en) Method and system for integrating audience data with a social media site
CN113129008A (en) Data processing method and device, computer readable medium and electronic equipment
CN112783847A (en) Data sharing method and device
KR20160040399A (en) Personal Information Management System and Personal Information Management Method
JP5112153B2 (en) Approver selection method, system, apparatus, and program
CN112559976B (en) Product authorization method and system
CN113821811B (en) Block chain-based data acquisition method and system, electronic equipment and storage medium
CN111131227B (en) Data processing method and device
CN111125734B (en) Data processing method and system

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20230103

WW01 Invention patent application withdrawn after publication