Coal storage and transportation base material management system based on blockchain
Through blockchain technology and smart contract templates, the material confusion and environmental compliance issues in material management of coal storage and transportation bases have been solved, transparency and privacy protection of coal transactions have been achieved, and the transparency and security of the supply chain have been improved.
Patent Information
- Application Number
- CN202411087404.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2044-08-09
AI Technical Summary
Coal storage and transportation bases face material confusion, quality misjudgment and environmental compliance monitoring problems in material management, resulting in trust crises and transaction disputes, and lack of transparency and efficient management.
Adopt a two-layer chain structure based on blockchain, combining the Internet of Things and edge computing, and deploy smart contract templates for coal logistics management, quality verification, automatic settlement and environmental compliance verification to achieve data transparency and privacy protection.
It improves information transparency and transaction transparency, ensures that every link of coal transactions can be traced and verified, reduces transaction risks, improves overall transparency and security of the supply chain, and reduces manual intervention and operational errors.
Smart Images

Figure CN118627996B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of logistics management, and in particular to a material management system for a coal storage and transportation base based on blockchain. Background Art
[0002] In the vast field of bulk cargo logistics management, the storage and transportation management of bulk materials such as coal and ore always faces complex and unique challenges due to their special physical properties and market value. These materials are not only large in size and diverse in variety, but their inherent quality (such as the calorific value of coal and the grade of ore) directly determines their market value and transaction price, so any slight mistake in the management process may cause huge economic losses and a crisis of trust.
[0003] At present, although measures such as regional division management have been taken in the actual operation of coal storage and transportation bases, material confusion still occurs frequently due to the high similarity of materials and management loopholes. This not only increases the difficulty of identification and tracking, but may also lead to quality misjudgment and transaction disputes, seriously damaging customer trust and market order. In addition, environmental compliance monitoring is also an important part of bulk material storage and transportation management that cannot be ignored. How to achieve real-time monitoring and compliance verification of environmental data while ensuring efficient operations is also an important challenge currently faced.
[0004] Therefore, there is an urgent need for a coal storage and transportation base material management system that can improve information transparency, multi-customer collaborative management, quality control, and environmental compliance. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a coal storage and transportation base material management system based on blockchain, aiming to solve at least one of the above-mentioned technical problems.
[0006] The technical solution of the present invention to solve the above technical problems is as follows:
[0007] This application provides a coal storage and transportation base material management system based on blockchain, which adopts the following technical solutions:
[0008] A coal storage and transportation base material management system based on blockchain, comprising a blockchain composed of a public chain and a private chain and an Internet of Things and edge computing module; a plurality of smart contract templates are deployed on the private chain, and the plurality of smart contract templates at least include a coal logistics management template, a coal quality verification template, an automatic settlement template, an environmental compliance verification template and a breach of contract processing template;
[0009] The Internet of Things and edge computing module is used to collect the logistics status information of the coal corresponding to the coal transaction during the storage and transportation process for each coal transaction, and upload the logistics status information to the public chain; and detect the environmental parameters and quality parameters of the coal corresponding to the coal transaction during the storage and transportation process, and upload the environmental parameters and the quality parameters to the private chain;
[0010] The public chain is used to store the logistics status information corresponding to each coal transaction; and for any of the coal transactions, when the logistics status of the coal corresponding to the coal transaction changes, the target logistics status corresponding to the change in the logistics status is sent to the private chain;
[0011] The private chain is used to store transaction information in each coal transaction process, and the transaction information includes contract information, transaction terms information, identity information of participants, environmental parameters and quality parameters of coal; and for each coal transaction, the corresponding smart contract template is started according to the target material status corresponding to the coal transaction.
[0012] The beneficial effects of the present invention are as follows: the double-layer chain structure cleverly balances the needs of transparency and privacy protection by separating public data from private data. Through the public chain, all relevant parties can view the logistics dynamics in real time, so that every link of the coal transaction can be tracked and verified, and the overall transparency of the supply chain and multiple customers in the coal yard is improved. The private chain is limited to the transaction parties and relevant authorized agencies to access, ensuring the privacy protection of transaction data. This method effectively isolates the public view and maintains the business secrets and competitive advantages between customers. At the same time, the decentralized nature of the blockchain makes the data difficult to be tampered with, further enhancing the security of the system. Through the cross-chain communication mechanism, the public information on the public chain and the private data on the private chain can be securely exchanged, which not only meets the transparency requirements of the supply chain, but also protects the privacy of the transaction.
[0013] The smart contract template customized and developed on the private chain not only includes the full process management and automatic settlement logic of coal logistics, but also integrates environmental compliance verification, supports multi-user concurrent transactions, significantly improves transaction processing speed and instant settlement capabilities, and ensures the privacy of transaction data. Through the immutability of blockchain, transparent management of the entire process from material receipt, storage, transportation to delivery is achieved, ensuring that coal transactions are open and transparent to the supply chain and multiple customers, thereby achieving a perfect combination of transparency in supply chain management and privacy protection, and providing an efficient and secure solution for the bulk material logistics industry.
[0014] Based on the above technical solution, the present invention can also be improved as follows.
[0015] Further, if the smart contract template corresponding to the target material state is the coal quality verification template, the coal quality verification template is specifically used for:
[0016] For each of the coal transactions, obtaining quality parameters of the coal corresponding to the coal transaction, the quality parameters including time, weight, moisture, calorific value and ash content;
[0017] For each of the coal transactions, verify the quality parameters of the coal corresponding to the coal transaction based on the preset standard parameters of the coal quality to obtain a verification result;
[0018] For each of the coal transactions, sending the verification result corresponding to the coal transaction to the authorized customer related to the coal transaction;
[0019] If the smart contract template corresponding to the target material status is the environmental compliance verification template, the environmental compliance verification template is specifically used for:
[0020] When the environmental parameters of any batch of coal are obtained, environmental index information is obtained from a preset environmental regulations database, wherein the environmental parameters include at least one of energy consumption parameters, carbon emissions and air quality;
[0021] For any batch of coal, the environmental parameters of the coal are compared with the environmental protection index information to determine whether the environmental parameters of the coal are in compliance;
[0022] For any batch of coal, if the environmental parameters of the coal are not in compliance, an alarm message is generated and sent to relevant customers.
[0023] The beneficial effect of adopting the above further solution is that the coal quality verification template embeds coal quality standard parameters to automatically verify coal quality, including but not limited to key indicators such as calorific value, ash content, and moisture. Once the coal test data is uploaded to the blockchain, the smart contract is immediately activated, and the preset standards are compared to automatically determine whether the coal meets the quality requirements specified in the sales contract or by each customer. The authenticity and integrity of the quality data are ensured through the immutability of the blockchain, and it also provides a favorable support basis for each customer to trace their supply chain.
[0024] The environmental compliance verification template reduces manual inspection steps, provides instant feedback on coal quality results, speeds up the commodity acceptance process, and reduces disputes caused by quality discrepancies. The instant execution of smart contracts ensures the accuracy and fairness of quality verification.
[0025] The coal quality verification template and environmental compliance verification template not only improve the efficiency of the coal supply chain, but also reduce the risks caused by operational errors and subjective judgments by reducing manual intervention, setting an efficient and transparent operation model for the bulk material logistics industry. By closely integrating smart contracts with all aspects of the coal supply chain and multiple customers, automated and intelligent material management is achieved, transparency between the supply chain and multiple customers is improved, compliance with coal quality and transportation processes is ensured, transaction risks are reduced, and overall operational efficiency is improved.
[0026] Furthermore, if the smart contract template corresponding to the target material status is the automatic settlement template, the automatic settlement template is specifically used for:
[0027] defining settlement trigger conditions, wherein the settlement trigger conditions include confirmation of successful delivery of coal to a designated location, verification of passing a preset quality inspection standard, confirmation of environmental compliance, and confirmation of extracted information; generating settlement information based on each of the settlement trigger conditions and a preset settlement algorithm corresponding to each of the settlement trigger conditions;
[0028] If the smart contract template corresponding to the target material status is the breach of contract processing template, the breach of contract processing template is specifically used for:
[0029] defining and storing the terms of each coal transaction, each of which includes but is not limited to at least one of payment time, payment amount, delivery time, quality standard and corresponding breach of contract handling rules; and
[0030] Monitor the transaction data of each transaction node in the storage and transportation process of each coal transaction, and compare each transaction data with the preset terms in real time to determine whether there is a breach of contract, each transaction data includes one or more of a payment voucher, a delivery notice, a quality verification result and an environmental verification result; if there is a breach of contract, execute the preset penalty measures on the customer who has breached the contract, and the penalty measures include any one of deducting money from the account of the breaching party, paying liquidated damages and terminating the contract.
[0031] The beneficial effects of adopting the above further solution are: the automatic settlement template predefines a series of settlement trigger conditions, including successful delivery of coal to the designated location, passing quality inspection, environmental compliance confirmation, etc. When all conditions are met, the smart contract automatically activates the settlement process without human intervention, achieving instant settlement. The automatic execution of smart contracts significantly shortens the settlement cycle and accelerates the flow of funds in the supply chain. The automatic settlement template ensures zero errors in the settlement process and eliminates human errors. All settlement details are uploaded to the chain, which is completely transparent to all participants, enhancing the trust of the supply chain and reducing disputes caused by information asymmetry.
[0032] The default handling template can monitor various transaction nodes in the coal storage and transportation process, such as payment and delivery. Once a default is found, such as failure to pay or deliver on time, the preset penalty measures will be automatically executed, such as deductions and liquidated damages, to reduce legal disputes and improve execution efficiency. Through the instant response of smart contracts, defaults can be quickly identified and handled, reducing transaction risks and improving the overall efficiency and reliability of the supply chain.
[0033] Furthermore, the system further includes a smart contract transaction priority management module, and the smart contract transaction priority management module includes:
[0034] An acquisition submodule is used to acquire multiple coal resource transaction request information on the blockchain, wherein the coal resource transaction request information includes coal batch, demand urgency and demand quantity;
[0035] A judgment submodule, for obtaining historical transaction information of each of the customers on the private chain when multiple customers make transaction requests for the same coal batch, each of the historical transaction information including the historical transaction times, historical transaction quantity and transaction reputation information for the coal batch;
[0036] A customer priority analysis submodule, for determining the priority of each customer based on the coal resource transaction request information, historical transaction information and a preset priority sorting algorithm of each customer;
[0037] The transaction proposal submodule is used to start the transaction smart contract template of the private chain according to the priority of each of the customers, and send transaction proposal information to the relevant customers based on the transaction smart contract template.
[0038] The beneficial effect of adopting the above further scheme is: in a multi-customer environment, when multiple customers compete for the same batch of coal, the principle of fairness and transparency is followed, and the priority of the transaction is automatically determined according to the customer's historical transaction reputation, the urgency of demand and other parameters through the priority sorting algorithm, avoiding human bias and ensuring equal trading opportunities for all customers. All transaction terms, prices, and execution status are recorded on the blockchain to ensure that all participants can trace them at any time, effectively avoiding transaction disputes and enhancing the credibility of the transaction. Automatically processing transaction requests through smart contracts and initiating transaction proposals based on customer priority sorting can significantly reduce manual intervention and decision-making time, thereby speeding up transaction processing and improving overall transaction efficiency. In a multi-customer, multi-variable coal trading environment, the intelligent matching of supply and demand and the fairness and transparency of the transaction process are realized.
[0039] Furthermore, the customer priority analysis submodule is specifically used for:
[0040] Determining a first score value for each of the customers according to the urgency of the needs of each of the customers;
[0041] Determining a second score value for each of the customers according to the demand of each of the customers;
[0042] Determine a third score value for each of the customers according to the historical transaction times of each of the customers;
[0043] Determine a fourth score value for each of the customers according to the historical transaction quantity of each of the customers;
[0044] Determining a fifth score value for each of the customers according to the transaction reputation information of each of the customers;
[0045] sorting all the customers based on the first score value, the second score value, the third score value, the fourth score value and the fifth score value of each of the customers to obtain a sorting result;
[0046] Based on the ranking result, the priority of each of the customers is determined.
[0047] The beneficial effect of adopting the above further solution is that by comprehensively considering the urgency of the customer's needs, the demand volume, the number of historical transactions, the number of each historical transaction, and the transaction reputation information, the needs and background of each customer can be comprehensively and carefully evaluated. This multi-dimensional evaluation method helps to more accurately reflect the real situation and priority of the customer. By giving priority to meeting the needs of high-priority customers, the system can make more efficient use of limited coal resources. Ensure that resources can flow to those customers who need it most and have the highest value first, thereby optimizing resource allocation efficiency.
[0048] Furthermore, the system further comprises a matching module, wherein the matching module comprises:
[0049] The storage matching submodule is used to obtain the storage information of the customer corresponding to each coal transaction, wherein the storage information includes coal quality, coal quantity and expected storage time; based on the storage information and the storage information of the storage and transportation base stored on the blockchain, assign an identification code and a storage location to the coal to be stored, and based on the identification code, the storage location and the storage information, update the storage information on the blockchain, wherein the storage information includes storage capacity, quality requirements, storage unit price and storage parameters of each batch of coal;
[0050] An extraction request matching submodule is used to receive a coal extraction request from a customer, the coal extraction request including the quantity and quality of the required coal; based on a preset matching algorithm and the coal extraction request, determine a selected target coal batch in the blockchain; based on the storage parameters of the target coal batch and the coal extraction request, generate extraction information, send the extraction information to relevant users, and update the storage parameters of the target coal batch on the blockchain;
[0051] The settlement matching submodule is used to start the automatic settlement template for each coal extraction request based on the storage time and extraction quantity of the target coal batch corresponding to the coal extraction request.
[0052] The beneficial effect of adopting the above further scheme is that the warehousing matching submodule obtains the customer's warehousing information and matches it based on the storage information of the storage and transportation base on the blockchain, so that the system can manage the warehousing process of coal more accurately. Assigning a unique identification code and storage location to each coal to be stored not only facilitates tracking and management, but also reduces confusion and errors in the storage process. The application of blockchain technology makes the warehousing, storage and distribution process of coal more transparent. All participants can view storage information in real time, including storage capacity, quality requirements, storage unit price, etc., thereby improving the transparency and credibility of transactions.
[0053] The extraction request matching submodule determines the target coal batch in the blockchain through a preset matching algorithm. This greatly shortens the response time and improves customer satisfaction.
[0054] The settlement matching submodule is able to automatically start the settlement template based on the storage time and extraction quantity of the target coal batch. This realizes the automation and standardization of the settlement process and improves settlement efficiency.
[0055] Furthermore, the process of determining the selected target coal batch in the blockchain based on the preset matching algorithm and the coal extraction request is as follows:
[0056] Based on the coal withdrawal request, determine in the blockchain all coal batches of the customer's stored coal;
[0057] For each coal batch of the customer, determining a first matching score of the coal batch based on the quality in the coal extraction request and the incoming quality of the coal batch;
[0058] For each coal batch of the customer, determining a second matching score of the coal batch based on the quantity in the coal extraction request and the storage quantity of the coal batch;
[0059] Based on the first matching scores and the second matching scores corresponding to each coal batch of the customer, the selected target coal batch is determined.
[0060] The beneficial effect of adopting the above further solution is: by comprehensively considering the quality and quantity requirements in the coal extraction request, and comparing them with the storage quality and quantity of each coal batch recorded in the blockchain, a first matching score and a second matching score are calculated. This multi-dimensional matching method can more accurately reflect the fit between the coal batch and the extraction request, thereby improving the matching accuracy.
[0061] Furthermore, the system further includes an intelligent scheduling module, which is specifically used to:
[0062] Based on the extraction information and preset bucket wheel machine dispatching rules, dispatching to the bucket wheel machine for material extraction;
[0063] After the bucket wheel machine takes the material, obtaining the material taking information, wherein the material taking information includes the material taking amount, the material taking quality, the material taking coal batch and the identification code corresponding to the material taking coal batch;
[0064] The material collection information is compared with the warehousing information corresponding to the extraction information to obtain a comparison result, and the comparison result is stored in the blockchain.
[0065] The beneficial effect of adopting the above further solution is that when coal needs to be delivered, the intelligent scheduling module guides the bucket wheel reclaimer to ensure accurate reclaiming on demand. The reclaiming information is compared with the original storage information to ensure consistency, and the data is uploaded to the chain in real time to ensure the accuracy of the delivery information.
[0066] Furthermore, the system further includes a coal pricing prediction module and a currency and coal value conversion module, wherein the coal pricing prediction module is specifically used to:
[0067] Obtain all historical coal transaction information in a preset time period, as well as coal futures prices, supply-demand ratios, and international energy price trend information obtained through external market data interfaces;
[0068] Predicting price change information based on all the historical coal transaction information, the coal futures price, the supply-demand ratio, the international energy price trend information, and a preset coal price change model, wherein the preset coal price change model is trained based on a machine learning model and a historical training set;
[0069] Based on the price change information and the storage parameters of coal corresponding to each customer, generate coal storage recommendation information corresponding to each customer, and send each of the coal storage recommendation information to the corresponding customer respectively;
[0070] The currency and coal value conversion module is specifically used to determine the price of the coal in different currency units based on the price of the coal and a built-in real-time exchange rate conversion mechanism.
[0071] The beneficial effect of adopting the above further solution is that by comprehensively considering multi-dimensional data such as historical coal trading information, coal futures prices, supply and demand ratios, and international energy price trends, and combining machine learning models for prediction, it can more accurately reflect price changes in the coal market. Coal storage recommendation information generated based on price change information and coal storage parameters can provide customers with scientific inventory management recommendations. This helps customers avoid inventory backlogs or shortages, optimize resource allocation, and reduce operating costs.
[0072] The system has a built-in real-time exchange rate conversion mechanism to track international exchange rate changes and ensure that the value of coal in cross-border transactions is accurately converted into the currency unit agreed upon by both parties.
[0073] Furthermore, the Internet of Things and edge computing module includes:
[0074] A plurality of positioning devices, for detecting, for each of the coal transactions, a plurality of location information of the coal corresponding to the coal transaction during the storage and transportation process, and sending each of the location information to the edge computing device;
[0075] At least one weight sensor, configured to detect, for each coal transaction, weight information of the coal corresponding to the coal transaction at each coal storage and transportation node, and send each weight information to an edge computing device;
[0076] At least one environmental monitoring sensor, configured to detect, for each coal transaction, environmental parameters of the coal corresponding to the coal transaction at each coal environmental detection node, and send each of the environmental parameters to an edge computing device;
[0077] at least one XRF spectrometer, configured to detect, for each coal transaction, quality parameters of the coal corresponding to the coal transaction at each coal quality detection node, and send each of the quality parameters to an edge computing device;
[0078] At least one edge computing device is used to encrypt, for each coal transaction, the location information, weight information, environmental information and quality parameters of the coal corresponding to the coal transaction, and upload the encrypted data to the blockchain.
[0079] The beneficial effect of adopting the above further solution is that when the coal arrives at the port or railway station, the IoT sensors (such as RFID tags, weight sensors) automatically record the arrival time, weight, and preliminary quality data (such as moisture content) of the coal. This information is encrypted and processed by the edge computing device and then uploaded to the blockchain private chain to ensure data security and privacy, while achieving transparency and traceability of coal logistics information. Through environmental monitoring sensors, environmental parameters and coal quality are continuously monitored, and data is transmitted to the blockchain in real time through the Internet of Things to ensure full visualization of logistics status and real-time updating of data. The quality of coal is regularly sampled and analyzed through the integrated XRF spectrometer, and the results are uploaded to the blockchain to ensure that the quality of the coal meets the contract requirements, while warning of potential quality problems to reduce economic losses for customers.
[0080] All data from every key link of coal receiving, storage, transportation to delivery is recorded on the blockchain, and its tamper-proof characteristics are used to ensure the authenticity and integrity of logistics information. Even in the case of multiple transfers of coal, the continuity and traceability of data can be ensured, which improves the transparency and trust of the supply chain. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Figure 1 A structural block diagram of a coal storage and transportation material management system based on blockchain provided by the present invention. DETAILED DESCRIPTION
[0082] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0083] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0084] The present application embodiment provides a coal storage and transportation base material management system based on blockchain, such as Figure 1As shown, a coal storage and transportation base material management system 200 based on blockchain includes a blockchain and an Internet of Things and edge computing module 201 composed of a public chain 202 and a private chain 203, and a plurality of smart contract templates are deployed on the private chain 203, and the plurality of smart contract templates include at least a coal logistics management template, a coal quality verification template, an automatic settlement template, an environmental compliance verification template, and a default processing template;
[0085] The Internet of Things and edge computing module 201 is used to collect the logistics status information of the coal corresponding to the coal transaction during the storage and transportation process for each coal transaction, and upload the logistics status information to the public chain 202; and detect the environmental parameters and quality parameters of the coal corresponding to the coal transaction during the storage and transportation process, and upload the environmental parameters and the quality parameters to the private chain 203;
[0086] The public chain 202 is used to store the logistics status information corresponding to each coal transaction; and for any of the coal transactions, when the logistics status of the coal corresponding to the coal transaction changes, the target logistics status corresponding to the change in the logistics status is sent to the private chain 203;
[0087] The private chain 203 is used to store transaction information in each coal transaction process, and the transaction information includes contract information, transaction terms information, identity information of participants, environmental parameters and quality parameters of coal; and for each coal transaction, the corresponding smart contract template is started according to the target material status corresponding to the coal transaction.
[0088] Blockchain is essentially a ledger that maintains public data, which can be understood as a specially designed database or distributed database. Its decentralized or multi-centralized approach enables the consistency of the ledger data of blockchain nodes through a consensus algorithm. In the embodiment of the present application, the double-layer chain structure is deeply integrated through Hyperledger Fabric and Ethereum technology.
[0089] The double-layer chain structure of the present invention cleverly balances the needs of transparency and privacy protection by separating public data from private data. Through the public chain 202, all relevant parties can view the logistics dynamics in real time, so that every link of the coal transaction can be tracked and verified, and the overall transparency of the supply chain and multiple customers in the coal yard is improved. The private chain 203 is limited to the transaction parties and relevant authorized agencies to access, ensuring the privacy protection of transaction data. This method effectively isolates the public view and maintains the business secrets and competitive advantages between customers. At the same time, the decentralized nature of the blockchain makes the data difficult to be tampered with, further enhancing the security of the system. Through the cross-chain communication mechanism, the public information on the public chain 202 and the private data on the private chain 203 can be securely exchanged, which not only meets the transparency requirements of the supply chain, but also protects the privacy of the transaction.
[0090] The smart contract template customized and developed on the private chain 203 not only includes the full process management of coal logistics and automatic settlement logic, but also integrates environmental compliance verification, supports multi-user concurrent transactions, significantly improves transaction processing speed and instant settlement capabilities, and ensures the privacy of transaction data. Through the immutability of blockchain, transparent management of the entire process from material receipt, storage, transportation to delivery is achieved, ensuring that coal transactions are open and transparent to the supply chain and multiple customers, thereby achieving a perfect combination of transparency in supply chain management and privacy protection, and providing an efficient and secure solution for the bulk material logistics industry.
[0091] In the embodiment of the present application, the Internet of Things and edge computing module 201 includes:
[0092] Multiple positioning devices are used to detect multiple location information of the coal corresponding to each coal transaction during the storage and transportation process, and send each location information to the edge computing device; the positioning device is an RFID tag or a GPS positioning device, or a GPS positioning device with an RFID tag.
[0093] At least one weight sensor, configured to detect, for each coal transaction, weight information of the coal corresponding to the coal transaction at each coal storage and transportation node, and send each weight information to an edge computing device;
[0094] At least one environmental monitoring sensor, configured to detect, for each coal transaction, environmental parameters of the coal corresponding to the coal transaction at each coal environmental detection node, and send each of the environmental parameters to an edge computing device;
[0095] at least one XRF spectrometer, configured to detect, for each coal transaction, quality parameters of the coal corresponding to the coal transaction at each coal quality detection node, and send each of the quality parameters to an edge computing device;
[0096] At least one edge computing device is used to encrypt, for each coal transaction, the location information, weight information, environmental information and quality parameters of the coal corresponding to the coal transaction, and upload the encrypted data to the blockchain.
[0097] In the above implementation, the use of railway transportation as a coal storage and transportation node is used as an example. For any coal transaction, before the coal is loaded, each carriage or each batch of coal is affixed with an RFID tag. These tags store basic information about the coal, such as origin, batch number, estimated weight, and coal quality. When the coal arrives at the port, the RFID reader automatically identifies and records the arrival time of each batch of coal without manual intervention, greatly improving efficiency. A high-precision weight sensor is installed on the unloading platform of the port. When the coal is unloaded, the sensor measures and records the actual weight of each batch of coal in real time. Infrared spectrometers, humidity sensors and other equipment installed in the unloading area preliminarily detect key quality indicators such as moisture content and ash content of the coal.
[0098] Take the process of coal being transported from the unloading area to the transfer station through a belt conveyor as an example of a coal environment detection node. A variety of environmental monitoring sensors are deployed in the coal environment detection node, such as temperature, humidity monitors, dust concentration monitors, coal composition analyzers and pollution emission monitoring sensors. When coal is transported from the unloading area to the transfer station through a belt conveyor, the environment is detected through temperature, humidity monitors and dust concentration monitors to obtain environmental parameters. Real-time monitoring of carbon emissions and other pollutant emissions during transportation, and real-time upload of data to the blockchain to ensure data transparency and immutability.
[0099] The coal yard is another coal storage and transportation node. When the coal arrives at the yard, GPS positioning and RFID tags accurately locate the position of the coal, and the information is uploaded to the chain in real time.
[0100] The above is an example of the full-process management of coal logistics. The above environmental parameters, coal quality parameters and the location information of coal at each node are encrypted by edge computing devices and uploaded to the blockchain. The edge computing devices use enhanced hash software and timestamp technology to ensure that the data is securely uploaded to the blockchain, thereby achieving data integrity and immutability.
[0101] In an embodiment of the present application, if the smart contract template corresponding to the target material state is the coal quality verification template, the coal quality verification template is specifically used for:
[0102] For each of the coal transactions, obtaining quality parameters of the coal corresponding to the coal transaction, the quality parameters including time, weight, moisture, calorific value and ash content;
[0103] For each of the coal transactions, verify the quality parameters of the coal corresponding to the coal transaction based on the preset standard parameters of the coal quality to obtain a verification result;
[0104] For each of the coal transactions, the verification result corresponding to the coal transaction is sent to the authorized customer related to the coal transaction.
[0105] In the above implementation, when the smart contract detects that the coal quality parameters are uploaded to the coal quality detection node, it immediately compares the preset standard parameters of the coal quality and automatically determines whether the coal meets the quality requirements specified in the sales contract or by each customer. The immutability of the blockchain ensures the authenticity and integrity of the quality data, and also provides a favorable support basis for each customer to trace their supply chain.
[0106] In an embodiment of the present application, if the smart contract template corresponding to the target material state is the environmental compliance verification template, the environmental compliance verification template is specifically used for:
[0107] When the environmental parameters of any batch of coal are obtained, the environmental index information is obtained from a preset environmental regulations database, wherein the environmental parameters include at least one of energy consumption parameters, carbon emissions and air quality; the preset environmental regulations database is updated according to the latest environmental policies;
[0108] For any batch of coal, the environmental parameters of the coal are compared with the environmental protection index information to determine whether the environmental parameters of the coal are in compliance;
[0109] For any batch of coal, if the environmental parameters of the coal are not in compliance, an alarm message is generated and sent to relevant customers.
[0110] It should be noted that the preset environmental protection regulations database is connected to this system through an API interface, so that the smart contract can call the environmental protection indicator information in the environmental protection regulations database in real time. And when the laws and regulations in the environmental protection regulations database change, the system automatically updates the verification logic to ensure the timeliness of environmental compliance audits.
[0111] By making use of the immutability of blockchain, the coal supplier information and initial environmental impact assessment are recorded from the source to ensure that the source of each batch of coal can be traced. At the same time, the energy consumption and emission data during transportation are also recorded on the chain, forming a complete environmental footprint and providing detailed data for subsequent environmental audits.
[0112] In an embodiment of the present application, if the smart contract template corresponding to the target material state is the automatic settlement template, the automatic settlement template is specifically used to: define settlement trigger conditions, the settlement trigger conditions include confirmation of successful delivery of coal to a designated location, verification of passing a preset quality inspection standard, confirmation of environmental compliance, and confirmation of extracted information; generate settlement information based on each of the settlement trigger conditions and a preset settlement algorithm corresponding to each of the settlement trigger conditions;
[0113] The automatic settlement template enables instant settlement without human intervention. The automatic execution of smart contracts significantly shortens the settlement cycle and accelerates the flow of funds in the supply chain. The automatic settlement template ensures zero errors in the settlement process and eliminates human errors. All settlement details are uploaded to the chain, which is completely transparent to all participants, enhancing the trust of the supply chain and reducing disputes caused by information asymmetry.
[0114] In the embodiment of the present application, if the smart contract template corresponding to the target material state is the default processing template, the default processing template is specifically used for:
[0115] Defining and storing the terms of each coal transaction, each of which includes but is not limited to at least one of payment time, payment amount, delivery time, quality standard and corresponding breach of contract handling rules;
[0116] Furthermore, the transaction data of each transaction node in the storage and transportation process corresponding to each coal transaction is monitored, and each transaction data is compared with the preset terms in real time to determine whether there is a breach of contract, and each transaction data includes one or more of a payment voucher, a delivery notice, a quality verification result, and an environmental verification result; if there is a breach of contract, the preset penalty measures are executed on the customer who has breached the contract, and the penalty measures include any one of deducting money from the account of the breaching party, paying liquidated damages, and terminating the contract.
[0117] It should be noted that the penalty for breach of contract includes penalties for environmental violations, quality violations, and transaction violations, but is not limited to these. When an environmental violation actually occurs, the smart contract will automatically execute the preset penalty measures, such as automatically deducting the deposit, suspending specific operation permissions, etc. The violation information is also recorded on the blockchain to ensure the traceability of the violation, increase the cost of the violation, and effectively suppress the motivation for violation.
[0118] By automatically triggering the default handling mechanism and responding quickly to default behaviors, the time and cost of legal intervention are reduced, and the response speed and trust of the supply chain are improved. The automatic execution of smart contracts reduces human intervention and improves the overall efficiency and reliability of the supply chain.
[0119] As an optional implementation in the embodiment of the present application, the system further includes a smart contract transaction priority management module, and the smart contract transaction priority management module includes:
[0120] An acquisition submodule is used to acquire multiple coal resource transaction request information on the blockchain, wherein the coal resource transaction request information includes coal batch, demand urgency and demand quantity;
[0121] A judgment submodule, for obtaining historical transaction information of each of the customers on the private chain 203 when multiple customers make transaction requests for the same coal batch, each of the historical transaction information including the historical transaction times, historical transaction quantity and transaction reputation information for the coal batch;
[0122] A customer priority analysis submodule, for determining the priority of each customer based on the coal resource transaction request information, historical transaction information and a preset priority sorting algorithm of each customer;
[0123] The transaction proposal submodule is used to start the transaction smart contract template of the private chain 203 according to the priority of each of the customers, and send transaction proposal information to the relevant customers based on the transaction smart contract template.
[0124] In the above implementation, when multiple customers make transaction requests for the same coal batch, transaction proposals are automatically pushed to the matched purchaser and customer for the matched suppliers and customers, including detailed information such as price, specifications and delivery date.
[0125] The transaction smart contract template contains the specific terms of the transaction, such as price, specifications, delivery time, etc. The system automatically sends transaction proposals containing these details to relevant customers according to the priority order. Customers can trigger the execution of the smart contract and complete the transaction process by viewing the proposal and confirming their acceptance.
[0126] Optionally, the customer priority analysis submodule is specifically used to:
[0127] Determining a first score value for each of the customers according to the urgency of the needs of each of the customers;
[0128] Determining a second score value for each of the customers according to the demand of each of the customers;
[0129] Determine a third score value for each of the customers according to the historical transaction times of each of the customers;
[0130] Determine a fourth score value for each of the customers according to the historical transaction quantity of each of the customers;
[0131] Determining a fifth score value for each of the customers according to the transaction reputation information of each of the customers;
[0132] sorting all the customers based on the first score value, the second score value, the third score value, the fourth score value and the fifth score value of each of the customers to obtain a sorting result;
[0133] Based on the ranking result, the priority of each of the customers is determined.
[0134] In the above implementation, a first sorting is performed according to the urgency of the needs of each of the customers, and a first score value of each of the customers is determined based on the first sorting result; a second sorting is performed according to the demand of each of the customers, and a second score value of each of the customers is determined based on the second sorting result. Similarly, the third score value, the fourth score value, and the fifth score value are determined in the same manner as above, and will not be described in detail here.
[0135] The first score value of each customer can also be calculated by matching the first weight corresponding to the urgency of the customer's needs, and the second score value of each customer can be calculated by matching the second weight corresponding to the demand of each customer, and so on, which will not be repeated here.
[0136] In a multi-client environment, the priority sorting algorithm automatically determines the transaction priority based on the customer's historical transaction reputation, demand urgency and other parameters to avoid human bias and ensure equal trading opportunities for all customers. All transaction terms, prices and execution status are recorded on the blockchain to ensure that all participants can trace them at any time, effectively avoiding transaction disputes and enhancing the credibility of transactions.
[0137] As an optional implementation in the embodiment of the present application, the system further includes a matching module, the matching module including:
[0138] The storage matching submodule is used to obtain the storage information of the customer corresponding to each coal transaction, wherein the storage information includes coal quality, coal quantity and expected storage time; based on the storage information and the storage information of the storage and transportation base stored on the blockchain, assign an identification code and a storage location to the coal to be stored, and based on the identification code, the storage location and the storage information, update the storage information on the blockchain, wherein the storage information includes storage capacity, quality requirements, storage unit price and storage parameters of each batch of coal;
[0139] An extraction request matching submodule is used to receive a coal extraction request from a customer, the coal extraction request including the quantity and quality of the required coal; based on a preset matching algorithm and the coal extraction request, determine a selected target coal batch in the blockchain; based on the storage parameters of the target coal batch and the coal extraction request, generate extraction information, send the extraction information to relevant users, and update the storage parameters of the target coal batch on the blockchain;
[0140] The settlement matching submodule is used to start the automatic settlement template for each coal extraction request based on the storage time and extraction quantity of the target coal batch corresponding to the coal extraction request.
[0141] The process of determining the selected target coal batch in the blockchain based on the preset matching algorithm and the coal extraction request is as follows:
[0142] Based on the coal withdrawal request, determine in the blockchain all coal batches of the customer's stored coal;
[0143] For each coal batch of the customer, determining a first matching score of the coal batch based on the quality in the coal extraction request and the incoming quality of the coal batch;
[0144] For each coal batch of the customer, determining a second matching score of the coal batch based on the quantity in the coal extraction request and the storage quantity of the coal batch;
[0145] Based on the first matching scores and the second matching scores corresponding to each coal batch of the customer, the selected target coal batch is determined.
[0146] It should be noted that if there is a target coal batch with the same sum of the first matching score and the second matching score, then the third matching score of each target coal batch is further determined based on the storage time of each target coal batch, and the final target coal batch is determined based on the third matching scores of each target coal batch.
[0147] By comprehensively considering the quality and quantity requirements in the coal extraction request and comparing them with the storage quality and quantity of each coal batch recorded in the blockchain, the first matching score and the second matching score are calculated. This multi-dimensional matching method can more accurately reflect the fit between the coal batch and the extraction request, thereby improving the matching accuracy.
[0148] Furthermore, the system further includes an intelligent scheduling module, which is specifically used to:
[0149] Based on the extraction information and preset bucket wheel machine dispatching rules, dispatching to the bucket wheel machine for material extraction;
[0150] After the bucket wheel machine takes the material, obtaining the material taking information, wherein the material taking information includes the material taking amount, the material taking quality, the material taking coal batch and the identification code corresponding to the material taking coal batch;
[0151] The material collection information is compared with the warehousing information corresponding to the extraction information to obtain a comparison result, and the comparison result is stored in the blockchain.
[0152] In the above implementation, the preset bucket wheel machine scheduling rule is to select bucket wheel machines based on the current status, position, priority, and load capacity of all bucket wheel machines. Specifically, based on the status of all bucket wheel machines, it is determined whether there is an idle bucket wheel machine. If so, the bucket wheel machine to be scheduled is selected based on the position, priority, and load capacity of each idle bucket wheel machine.
[0153] After that, the dispatching instruction is sent to the corresponding bucket wheel machine, which should include detailed information such as the specific location, quantity, quality requirements, etc. of the material to be taken. The material taking information is compared in detail with the corresponding storage information in the previously received extraction information. If the comparison result is abnormal, the intelligent dispatching module automatically triggers the abnormality handling mechanism, including notifying relevant personnel to conduct inspections, adjust the dispatching plan, or take other remedial measures.
[0154] As an optional implementation in the embodiment of the present application, the system further includes a coal pricing prediction module and a currency and coal value conversion module, and the coal pricing prediction module is specifically used to:
[0155] Obtain all historical coal transaction information in a preset time period, as well as coal futures prices, supply-demand ratios, and international energy price trend information obtained through external market data interfaces;
[0156] Based on all the historical coal transaction information, the coal futures price, the supply-demand ratio, the international energy price trend information and a preset coal price change model, price change information is predicted, wherein the preset coal price change model is trained based on a machine learning model and a historical training set; usually, when the coal price is low, it is recommended that customers start to store coal;
[0157] Based on the pricing change information and the storage parameters of the coal corresponding to each customer, generating coal storage recommendation information corresponding to each customer, and sending each of the coal storage recommendation information to the corresponding customer respectively;
[0158] The currency and coal value conversion module is specifically used to determine the price of coal in different currency units based on the price of coal and the built-in real-time exchange rate conversion mechanism. The system has a built-in real-time exchange rate query interface to obtain the latest exchange rate information from reliable exchange rate data sources (such as OANDA, XE.com, etc.) regularly (such as every hour). When converting, the coal price is converted from one currency unit to another currency unit according to the current exchange rate.
[0159] The system has a built-in coal quality coefficient table, which sets different unit price adjustment coefficients for coal of different qualities based on quality indicators such as the calorific value and impurity content of the coal.
[0160] When converting value, the unit price of coal is dynamically adjusted according to its quality coefficient to ensure the rationality of the value conversion.
[0161] In the above implementation, specifically, the process of generating the coal storage recommendation information corresponding to each customer based on the supply and demand change information and the coal storage parameters corresponding to each customer is as follows:
[0162] Based on the historical coal storage of each customer in the first set time period, determining the storage trend of each customer in the first set time period; the first set time period is a period from the current time node to the previous first historical time node;
[0163] determining an extraction trend for each customer during the first set time period based on the historical coal extraction of each customer during the first set time period;
[0164] Analyze whether the storage trend and extraction trend of each customer in the first set time period are the same as the historical storage trend and historical extraction trend in the corresponding time period of the previous year;
[0165] If they are the same, then based on the coal storage plans of each customer in the future time period after the corresponding set time period in the previous year and the pricing change information, generate the corresponding coal storage recommendation information for each customer. The coal storage recommendation information includes the recommended coal storage quantity and the recommended purchase time, etc. If the storage trend indicates that the customer may face supply shortages in the future and the coal price is lower than the historical coal price, it is recommended to increase the coal storage quantity and purchase in advance to cope with potential market fluctuations. If the extraction trend shows that the customer's demand for coal has decreased, it is recommended to optimize the inventory structure and reduce unnecessary inventory backlogs to reduce storage costs.
[0166] If they are not the same, based on the historical coal storage and historical extraction of each customer in the second set time period, the coal demand information of each customer in the future time period is predicted, and based on the coal demand information of each customer, the current coal storage of each customer and the pricing change information, the coal storage recommendation information corresponding to each customer is generated. The second set time period is a period from the current time node to the previous second historical time node, and the second time node is earlier than the first time node.
[0167] By comprehensively considering multi-dimensional data such as historical coal trading information, coal futures prices, supply and demand ratios, and international energy price trends, and combining machine learning models for prediction, it is possible to more accurately reflect changes in coal prices in the coal market. Coal storage recommendation information generated based on price change information and coal storage parameters can provide customers with scientific inventory management recommendations. This helps customers avoid inventory backlogs or shortages, optimize resource allocation, and reduce operating costs.
[0168] The system has a built-in real-time exchange rate conversion mechanism to track international exchange rate changes and ensure that the value of coal in cross-border transactions is accurately converted into the currency unit agreed upon by both parties.
[0169] In one example, the module in any of the above devices can be one or more integrated circuits configured to implement the above methods, such as: one or more application specific integrated circuits (ASICs), or, one or more digital signal processors (DSPs), or, one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0170] For another example, when the modules in the device can be implemented in the form of a processing element scheduling program, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0171] Various objects such as various messages / information / equipment / network elements / systems / devices / actions / operations / processes / concepts that may appear in this application are named. It can be understood that these specific names do not constitute a limitation on the relevant objects. The names assigned may change with factors such as scenarios, contexts or usage habits. The understanding of the technical meaning of the technical terms in this application should be mainly determined from the functions and technical effects embodied / executed in the technical scheme.
[0172] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0173] The terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not expressly listed, or also includes elements inherent to such process, method, article, or apparatus.
[0174] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.
Claims
1. A coal storage and transportation base material management system based on blockchain, characterized in that: It includes a blockchain composed of a public chain and a private chain, and an Internet of Things and edge computing module; a plurality of smart contract templates are deployed on the private chain, and the plurality of smart contract templates at least include a coal logistics management template, a coal quality verification template, an automatic settlement template, an environmental compliance verification template, and a default processing template; The Internet of Things and edge computing module is used to collect the logistics status information of the coal corresponding to each coal transaction during the storage and transportation process, and upload the logistics status information to the public chain; and detecting the environmental parameters and quality parameters of the coal corresponding to the coal transaction during the storage and transportation process, and uploading the environmental parameters and the quality parameters to the private chain; The public chain is used to store the logistics status information corresponding to each coal transaction; and for any of the coal transactions, when the logistics status of the coal corresponding to the coal transaction changes, the target logistics status corresponding to the change in the logistics status is sent to the private chain; The private chain is used to store transaction information in each coal transaction process, wherein the transaction information includes contract information, transaction terms information, identity information of the participants, environmental parameters and quality parameters of the coal; and for each coal transaction, the corresponding smart contract template is activated according to the target material status corresponding to the coal transaction; The Internet of Things and edge computing module includes: A plurality of positioning devices, for detecting, for each of the coal transactions, a plurality of location information of the coal corresponding to the coal transaction during the storage and transportation process, and sending each of the location information to the edge computing device; At least one weight sensor, configured to detect, for each coal transaction, weight information of the coal corresponding to the coal transaction at each coal storage and transportation node, and send each weight information to an edge computing device; At least one environmental monitoring sensor, configured to detect, for each coal transaction, environmental parameters of the coal corresponding to the coal transaction at each coal environmental detection node, and send each of the environmental parameters to an edge computing device; at least one XRF spectrometer, configured to detect, for each coal transaction, quality parameters of the coal corresponding to the coal transaction at each coal quality detection node, and send each of the quality parameters to an edge computing device; at least one edge computing device, configured to encrypt, for each coal transaction, each of the location information, each of the weight information, each of the environmental information, and each of the quality parameters of the coal corresponding to the coal transaction, and upload the encrypted data to the blockchain; If the smart contract template corresponding to the target material state is the coal quality verification template, the coal quality verification template is specifically used for: For each of the coal transactions, obtaining quality parameters of the coal corresponding to the coal transaction, the quality parameters including time, weight, moisture, calorific value and ash content; For each of the coal transactions, verify the quality parameters of the coal corresponding to the coal transaction based on the preset standard parameters of the coal quality to obtain a verification result; For each of the coal transactions, sending the verification result corresponding to the coal transaction to the authorized customer related to the coal transaction; If the smart contract template corresponding to the target material status is the environmental compliance verification template, the environmental compliance verification template is specifically used for: When the environmental parameters of any batch of coal are obtained, environmental index information is obtained from a preset environmental regulations database, wherein the environmental parameters include at least one of energy consumption parameters, carbon emissions and air quality; For any batch of coal, the environmental parameters of the coal are compared with the environmental protection index information to determine whether the environmental parameters of the coal are in compliance; For any batch of coal, if the environmental parameters of the coal are not in compliance, an alarm message is generated and sent to the relevant customers; If the smart contract template corresponding to the target material status is the automatic settlement template, the automatic settlement template is specifically used for: defining settlement trigger conditions, wherein the settlement trigger conditions include confirmation of successful delivery of coal to a designated location, verification of passing a preset quality inspection standard, confirmation of environmental compliance, and confirmation of extracted information; generating settlement information based on each of the settlement trigger conditions and a preset settlement algorithm corresponding to each of the settlement trigger conditions; If the smart contract template corresponding to the target material status is the breach of contract processing template, the breach of contract processing template is specifically used for: defining and storing the terms of each coal transaction, each of which includes but is not limited to at least one of payment time, payment amount, delivery time, quality standard and corresponding breach of contract handling rules; and Monitor the transaction data of each transaction node in the storage and transportation process of each coal transaction, and compare each transaction data with the preset terms in real time to determine whether there is a breach of contract, each transaction data includes one or more of a payment voucher, a delivery notice, a quality verification result and an environmental verification result; if there is a breach of contract, execute the preset penalty measures on the customer who has breached the contract, and the penalty measures include any one of deducting money from the account of the breaching party, paying liquidated damages and terminating the contract.
2. According to a blockchain-based coal storage and transportation base material management system according to claim 1, it is characterized in that: The system further includes a smart contract transaction priority management module, wherein the smart contract transaction priority management module includes: An acquisition submodule is used to acquire multiple coal resource transaction request information on the blockchain, wherein the coal resource transaction request information includes coal batch, demand urgency and demand quantity; A judgment submodule, for obtaining historical transaction information of each of the customers on the private chain when multiple customers make transaction requests for the same coal batch, each of the historical transaction information including the historical transaction times, historical transaction quantity and transaction reputation information for the coal batch; A customer priority analysis submodule, for determining the priority of each customer based on the coal resource transaction request information, historical transaction information and a preset priority sorting algorithm of each customer; The transaction proposal submodule is used to start the transaction smart contract template of the private chain according to the priority of each of the customers, and send transaction proposal information to the relevant customers based on the transaction smart contract template.
3. A coal storage and transportation base material management system based on blockchain according to claim 2, characterized in that: The customer priority analysis submodule is specifically used for: Determining a first score value for each of the customers according to the urgency of the needs of each of the customers; Determining a second score value for each of the customers according to the demand of each of the customers; Determine a third score value for each of the customers according to the historical transaction times of each of the customers; Determine a fourth score value for each of the customers according to the historical transaction quantity of each of the customers; Determining a fifth score value for each of the customers according to the transaction reputation information of each of the customers; sorting all the customers based on the first score value, the second score value, the third score value, the fourth score value and the fifth score value of each of the customers to obtain a sorting result; Based on the ranking result, the priority of each of the customers is determined.
4. According to a blockchain-based coal storage and transportation base material management system according to claim 1, it is characterized in that: The system further includes a matching module, the matching module including: The storage matching submodule is used to obtain the storage information of the customer corresponding to each coal transaction, wherein the storage information includes coal quality, coal quantity and expected storage time; based on the storage information and the storage information of the storage and transportation base stored on the blockchain, assign an identification code and a storage location to the coal to be stored, and based on the identification code, the storage location and the storage information, update the storage information on the blockchain, wherein the storage information includes storage capacity, quality requirements, storage unit price and storage parameters of each batch of coal; An extraction request matching submodule is used to receive a coal extraction request from a customer, the coal extraction request including the quantity and quality of the required coal; based on a preset matching algorithm and the coal extraction request, determine a selected target coal batch in the blockchain; based on the storage parameters of the target coal batch and the coal extraction request, generate extraction information, send the extraction information to relevant users, and update the storage parameters of the target coal batch on the blockchain; The settlement matching submodule is used to start the automatic settlement template for each coal extraction request based on the storage time and extraction quantity of the target coal batch corresponding to the coal extraction request.
5. A coal storage and transportation base material management system based on blockchain according to claim 4, characterized in that: The process of determining the selected target coal batch in the blockchain based on the preset matching algorithm and the coal extraction request is as follows: Based on the coal withdrawal request, determine in the blockchain all coal batches of the customer's stored coal; For each coal batch of the customer, determining a first matching score of the coal batch based on the quality in the coal extraction request and the incoming quality of the coal batch; For each coal batch of the customer, determining a second matching score of the coal batch based on the quantity in the coal extraction request and the storage quantity of the coal batch; Based on the first matching scores and the second matching scores corresponding to each coal batch of the customer, the selected target coal batch is determined.
6. A coal storage and transportation base material management system based on blockchain according to claim 4, characterized in that: The system further includes an intelligent scheduling module, which is specifically used to: Based on the extraction information and preset bucket wheel machine dispatching rules, dispatching to the bucket wheel machine for material extraction; After the bucket wheel machine takes the material, obtaining the material taking information, wherein the material taking information includes the material taking amount, the material taking quality, the material taking coal batch and the identification code corresponding to the material taking coal batch; The material collection information is compared with the warehousing information corresponding to the extraction information to obtain a comparison result, and the comparison result is stored in the blockchain.
7. A coal storage and transportation base material management system based on blockchain according to claim 1, characterized in that: The system further includes a coal pricing prediction module and a currency and coal value conversion module, wherein the coal pricing prediction module is specifically used to: Obtain all historical coal transaction information in a preset time period, as well as coal futures prices, supply-demand ratios, and international energy price trend information obtained through external market data interfaces; Predicting price change information based on all the historical coal transaction information, the coal futures price, the supply-demand ratio, the international energy price trend information, and a preset coal price change model, wherein the preset coal price change model is trained based on a machine learning model and a historical training set; Based on the price change information and the storage parameters of coal corresponding to each customer, generate coal storage recommendation information corresponding to each customer, and send each of the coal storage recommendation information to the corresponding customers respectively; The currency and coal value conversion module is specifically used to determine the price of the coal in different currency units based on the price of the coal and a built-in real-time exchange rate conversion mechanism.
Citation Information
Patent Citations
Clean energy transaction method, system and device based on block chain and storage medium
CN110717832A
Supply chain material professional warehouse control method based on block chain technology
CN117522263A