Trade data processing method and system based on block chain

Through the blockchain-based trade data processing method, the problem of low efficiency of traditional trade data processing is solved, efficient and reliable data processing and risk management are achieved, and the resource allocation and supply and demand scheduling of the trade network are optimized.

CN118710318AActive Publication Date: 2024-09-27SICHUAN RUIHUA HEZONG IND CO LTD

Patent Information

Application Number
CN202410926026.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-09-27
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

Traditional trade data processing methods rely on manual means, resulting in low data processing efficiency and unable to meet the needs of modern trade data processing. Especially in the process of global trade and digitalization, the efficiency and reliability of data processing are insufficient.

Method used

Adopt a blockchain-based trade data processing method to build a trade blockchain network by acquiring real-time and historical trade data, perform standardized processing, identify the flow of trade products, establish a dynamic supply and demand perception model, calculate node production bottlenecks, and conduct risk propagation analysis , build a multi-dimensional matrix of trade data, and conduct risk trend prediction and resource scheduling to optimize supply and demand scheduling.

Benefits of technology

It improves the efficiency and reliability of trade data processing, provides a decentralized and traceable data storage and exchange platform, enhances data security and transparency, in-depth analysis of supply and demand relationships, identifies risks, optimizes resource allocation and scheduling, and improves improve trade efficiency and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710318A
    Figure CN118710318A
Patent Text Reader

Abstract

The invention relates to the technical field of block chains, in particular to a trade data processing method and system based on a block chain. The method comprises the following steps: acquiring real-time trade data and historical trade data; performing standardization processing on the real-time trade data to obtain standard trade data; constructing a trade block chain network based on the standard trade data; performing trade product flow identification based on a trade block chain network to obtain circulation link data; generating dynamic demand data based on the circulation link data; carrying out supply and demand sensing modeling on the dynamic demand data, and constructing a dynamic supply and demand sensing model; performing node capacity bottleneck calculation on the trade block chain network by using the dynamic supply and demand sensing model to generate node capacity bottleneck data; based on the node capacity bottleneck data, generating delivery efficiency data; and performing risk propagation analysis on the delivery efficiency data to generate risk transmission path data. According to the invention, efficient trade data processing is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain-based trade data processing method and system. Background Art

[0002] With the continuous growth of global trade and the advancement of digitalization, the processing and management of trade data has become increasingly important. Trade data processing is an important data source for macroeconomic analysis and forecasting. By collecting and analyzing trade data, we can help understand economic development trends, discover potential opportunities and challenges, and provide reference for decision makers. However, traditional trade data processing methods mainly rely on manual means to process data, which often results in low data processing efficiency. In order to improve the efficiency and reliability of trade data processing, an intelligent trade data processing method is needed. Summary of the invention

[0003] In order to solve the above technical problems, the present invention proposes a blockchain-based trade data processing method and system to solve at least one of the above technical problems.

[0004] To achieve the above object, the present invention provides a trade data processing method based on blockchain, comprising the following steps: Step S1: obtaining real-time trade data and historical trade data; standardizing the real-time trade data to obtain standard trade data; and building a trade blockchain network based on the standard trade data; Step S2: Identify the flow direction of trade products based on the trade blockchain network to obtain circulation link data; generate dynamic demand data based on the circulation link data; perform supply and demand perception modeling on the dynamic demand data to build a dynamic supply and demand perception model; Step S3: Calculate the node capacity bottleneck of the trade blockchain network using the dynamic supply and demand perception model to generate node capacity bottleneck data; generate delivery efficiency data based on the node capacity bottleneck data; perform risk propagation analysis on the delivery efficiency data to generate risk transmission path data; Step S4: obtaining a multidimensional matrix of trade data based on real-time trade data; dynamically reconstructing the multidimensional matrix of trade data to construct a multidimensional trade plane space; Step S5: Generate risk trend data based on risk transmission path data and trade multidimensional plane space; perform trade risk prediction on risk trend data based on historical trade data to generate risk trend prediction data; Step S6: Obtain node resource scheduling data based on risk trend prediction data; make supply and demand optimization scheduling decisions on the node resource scheduling data, and build a trade supply and demand optimization scheduling model.

[0005] The present invention acquires real-time trade data and historical trade data to establish a comprehensive trade data set for subsequent analysis and modeling, standardizes real-time trade data to ensure data consistency and comparability, builds a trade blockchain network to provide a decentralized, traceable trade data storage and exchange platform, and enhances data security and transparency. Through the trade blockchain network, the flow of trade products can be tracked and identified, the situation of trade in different links can be understood, and dynamic demand data can be generated to reflect the changing trend and volatility of market demand. Through supply and demand perception modeling and the construction of dynamic supply and demand perception models, the supply and demand relationship can be deeply analyzed, and supply and demand shortages or surpluses can be identified to provide a basis for supply chain decision-making. Through the dynamic supply and demand perception model, the production capacity bottlenecks of each node in the trade blockchain network can be calculated, the bottleneck links and bottleneck risks can be identified, and delivery efficiency data can be generated to evaluate the delivery speed and efficiency of trade. Through risk propagation analysis and the generation of risk transmission path data, potential risk factors and their transmission paths can be identified, trade risks can be predicted and managed, and real-time trade The data constructs a multidimensional matrix of trade data, classifies and organizes trade data according to different dimensions, provides a more comprehensive data perspective, and dynamically reconstructs the multidimensional matrix of trade data to adjust and update it according to changes in demand and time to reflect the dynamic changes in trade, providing a basis for further analysis and modeling. Through risk transmission path data and trade multidimensional plane space, the propagation mode and path of trade risks are analyzed, risk factors are identified, and risk trend data is generated to reveal the changing trend of trade risks and potential risk conditions. Through the analysis and modeling of historical trade data, trade risk forecasts are carried out, risk events and impacts are identified in advance, and early warnings and decision-making basis are provided for decision makers. Based on risk trend forecast data, node resource scheduling is carried out to optimize the resource allocation and scheduling of each node in the trade network. Through supply and demand optimization scheduling decisions, resources are reasonably allocated among different nodes to improve the efficiency and flexibility of trade. A trade supply and demand optimization scheduling model is constructed to help decision makers make the best resource scheduling decisions to cope with different market demands and risk situations.

[0006] Preferably, step S1 comprises the following steps: Step S11: Acquire real-time trade data and historical trade data; Step S12: standardizing the real-time trade data to obtain standard trade data; Step S13: Designing a distributed contract architecture for standard trade data to generate a distributed contract structure; Step S14: Perform smart contract analysis on the standard trade data to obtain a trade smart contract; Step S15: Use the trade smart contract to construct a topological network for the distributed contract structure to build a trade blockchain network. The present invention acquires real-time trade data and historical trade data to establish a comprehensive trade data set, including current trade activities and past transaction records. Such data sets are used to analyze market trends, predict changes in demand and supply, and identify potential trade opportunities and risks. Standardized processing of real-time trade data ensures data consistency and comparability. By converting data according to a unified format, unit and standard, data heterogeneity is eliminated, making data easier to analyze and compare. The standardized trade data set provides more accurate and reliable basic data, providing a reliable foundation for subsequent analysis and modeling. By designing a distributed contract architecture for standard trade data, a distributed contract structure is established to manage and execute trade transactions. Distributed contracts are smart contracts based on blockchain technology, which have the characteristics of decentralization, transparency, and non-tamperability. Through the distributed contract structure, trade can be realized. The automation, traceability and security of easy transactions reduce the participation of intermediate links and transaction risks. By performing smart contract analysis on standard trade data, trade rules and conditions are encoded into smart contracts. Trade smart contracts automatically execute trade transactions, verify the legality and validity of transactions, and ensure the security and credibility of transactions. Through smart contracts, automatic settlement of transactions is achieved, disputes and illegal behaviors are reduced, and the efficiency and trust of trade are improved. By using trade smart contracts to construct a topological network for distributed contract structures, a trade blockchain network is established. The trade blockchain network is a decentralized network in which the nodes are transaction participants, regulatory agencies, etc. Through the trade blockchain network, trade data can be shared and exchanged to ensure data security and transparency. The trade blockchain network also provides traceable trade history records and transaction verification to reduce the occurrence of fraud and dishonest behavior.

[0007] Preferably, step S2 comprises the following steps: Step S21: Identify the flow of trade products based on the trade blockchain network and generate trade product flow data; Step S22: performing supply chain circulation analysis on the trade product flow data to obtain circulation link data; Step S23: performing node capacity analysis on the circulation link data to generate node capacity data; Step S24: performing dynamic demand analysis on the real-time trade data to generate dynamic demand data; Step S25: Perform supply and demand perception modeling on the dynamic demand data according to the node capacity data to construct a dynamic supply and demand perception model.

[0008] The present invention identifies the flow of trade products based on the trade blockchain network, tracks and records the flow of trade products in the supply chain, and generates trade product flow data, including the source of the product, the transit process and the final destination. The trade product flow data is of great significance to regulators and participants, and is used to verify the compliance of products, trace the quality and safety of products, and support anti-fraud and anti-escape measures. By performing supply chain circulation analysis on trade product flow data, the various circulation links of products in the supply chain are identified and understood, including production, transportation, warehousing, sales and other links. By analyzing the circulation link data, the supply chain path of the product, the time efficiency and cost-effectiveness of each link, and potential bottlenecks and improvement opportunities are deeply understood, which will help improve the visibility, efficiency and sustainability of the supply chain. By performing node capacity analysis on the circulation link data, the capacity of each node in the supply chain is evaluated. The nodes are production plants, logistics centers, warehouses, etc. By analyzing the node capacity data, the capacity of each node is understood. The production capacity, storage capacity and distribution capacity of each node, as well as the associations and dependencies between nodes, will help optimize the resource allocation of the supply chain, improve the accuracy of production plans, and support the flexibility and scalability of the supply chain. By conducting dynamic demand analysis on real-time trade data, market demand trends and changes can be identified and predicted. Dynamic demand data reflects fluctuations, seasonality and trend changes in market demand. By analyzing dynamic demand data, product demand and demand distribution can be more accurately predicted, providing decision support for supply chain production planning, inventory management and logistics scheduling, and reducing the risks of supply and demand imbalance and inventory backlogs. By conducting supply and demand perception modeling on dynamic demand data based on node capacity data, a dynamic supply and demand perception model is established. The model matches and coordinates node capacity and dynamic demand to achieve supply and demand balance and resource optimization. Through the dynamic supply and demand perception model, shortages and surpluses in the supply chain are predicted, and adjustments and decisions are made in advance to maximize market demand, reduce costs and improve customer satisfaction.

[0009] Preferably, the specific steps of step S23 are: Step S231: performing regional demand difference analysis on real-time trade data to generate regional demand difference data; Step S232: Calculate demand fluctuation based on regional demand difference data to generate demand fluctuation data; Step S233: performing demand trend analysis on the demand fluctuation data to generate demand trend data; Step S234: performing demand change elasticity analysis on the demand trend data based on the historical trade data to generate demand change elasticity data; Step S235: Perform dynamic demand analysis on the demand change elasticity data to generate dynamic demand data. The present invention analyzes regional demand differences on real-time trade data to identify demand differences between different regions, including demand differences between different geographical regions, countries or cities. The generated regional demand difference data helps to understand the demand characteristics and trends of each market, so as to better formulate regional market strategies, optimize product positioning and marketing. By calculating demand fluctuations based on regional demand difference data, the volatility and instability of demand are evaluated. The generated demand fluctuation data reflects the magnitude and frequency of changes in market demand, helping to understand market uncertainty and risks, which is helpful for supply chain planning, inventory management and production scheduling to adapt to demand fluctuations, reduce inventory risks and improve resource utilization. By performing demand trend analysis on demand fluctuation data, the long-term trend and change pattern of market demand can be understood. The generated demand trend data helps to predict the development direction and trend of the market and provide strategic decision-making. It provides a basis for formulating long-term supply chain strategies, product development plans and market expansion strategies to better meet market demand and maintain competitive advantage. It conducts demand change elasticity analysis on demand trend data based on historical trade data to evaluate the sensitivity and elasticity of demand to different factors. The generated demand change elasticity data helps understand the degree of demand response to price, promotional activities, seasonality and other factors. This helps to formulate pricing strategies, marketing strategies and product portfolio strategies to better meet consumer demand and optimize sales performance. It conducts dynamic demand analysis on demand change elasticity data to predict and simulate demand changes under different market scenarios. The generated dynamic demand data helps with supply chain planning, production scheduling and inventory management to cope with changes and fluctuations in market demand. This helps to achieve rapid response, flexible adjustment and accurate prediction, and improve the agility of the supply chain and customer satisfaction.

[0010] Preferably, the specific steps of step S3 are: Step S31: Calculate the node capacity bottleneck of the trade blockchain network using a dynamic supply and demand perception model to generate node capacity bottleneck data; Step S32: Analyze the node inventory changes of the trade blockchain network to generate node inventory change data; Step S33: Calculate the delivery efficiency of the node inventory change data to generate delivery efficiency data; Step S34: Perform risk propagation analysis on the delivery efficiency data according to the node capacity bottleneck data to generate risk transfer path data. The present invention calculates the node capacity bottleneck of the trade blockchain network by using a dynamic supply and demand perception model to determine the node capacity bottleneck existing in the network. The node capacity bottleneck refers to the key node that restricts the supply chain process in the trade network, resulting in delivery delays or waste of resources. The generated node capacity bottleneck data helps to identify and optimize the bottleneck links in the supply chain, improve delivery efficiency, reduce costs and resource utilization. By analyzing the node inventory changes of the trade blockchain network, the inventory changes of different nodes are understood. The node inventory refers to the inventory of materials or products at each node in the supply chain network. The generated node inventory change data helps monitor and analyze the changing trend of inventory levels, so as to better carry out inventory planning, order management and supply chain coordination, which helps to reduce inventory holding costs and avoid the risk of excess inventory or out-of-stock. Improve the agility and responsiveness of the supply chain. By calculating the delivery efficiency of node inventory change data, the delivery efficiency of the supply chain can be evaluated. Delivery efficiency refers to the ability of the supply chain to complete orders and deliver them on time. The generated delivery efficiency data helps measure the operating effectiveness of the supply chain, identify potential delivery delays, and optimize the supply chain process. By performing risk propagation analysis on delivery efficiency data based on node capacity bottleneck data, the risk transmission path in the supply chain can be identified. The risk transmission path refers to the transmission path and impact range of potential risks caused by node capacity bottlenecks in the supply chain network. The generated risk transmission path data helps understand the vulnerable links and potential risk sources in the supply chain, and take corresponding risk management and response measures, which helps reduce supply chain risks, enhance risk resistance, and ensure the sustainability and stability of the supply chain.

[0011] Preferably, the specific steps of step S34 are: Step S341: performing inventory anomaly detection on the node inventory change data to obtain node inventory anomaly data; Step S342: Calculate the delivery delay probability based on the delivery efficiency data to generate node delivery delay probability data; Step S343: performing supply and demand balance analysis on the node inventory abnormality data and the node delivery delay probability data according to the node capacity bottleneck data to generate node supply and demand balance data; Step S344: performing smooth curve fitting on the node supply and demand balance data to construct a node supply and demand balance curve; Step S345: performing potential risk analysis on the node topology network diagram through the node supply and demand balance curve to generate node risk data; Step S346: Perform risk propagation analysis on the node risk data to generate risk transfer path data.

[0012] The present invention performs inventory anomaly detection on node inventory change data to identify abnormal node inventory conditions in the supply chain network. The generated node inventory anomaly data helps to timely discover and solve inventory anomaly problems, such as excessive inventory backlogs or inventory shortages, to avoid negative impacts on the supply chain and improve the accuracy and efficiency of inventory management. By calculating the delivery delay probability on delivery efficiency data, the probability of delivery delays in the supply chain network is evaluated. The generated node delivery delay probability data helps to understand the delivery delay risks in the supply chain, predict potential delivery delay events, and take corresponding preventive and response measures to improve delivery punctuality and customer satisfaction. By performing supply and demand balance analysis on node inventory anomaly data and node delivery delay probability data according to node capacity bottleneck data, the supply and demand balance of nodes in the supply chain is evaluated. The generated node supply and demand balance data helps to identify nodes with supply and demand imbalances, predict supply and demand conflicts and contradictions, and take corresponding adjustment measures to achieve supply and demand balance, thereby improving the supply chain. Efficiency and flexibility. By performing smooth curve fitting on the node supply and demand balance data, a node supply and demand balance curve is established. The node supply and demand balance curve helps to visualize the changing trend of the supply and demand balance situation, better understand the dynamic changes in the supply and demand relationship, and provide a reference for supply chain planning and decision-making. By using the node supply and demand balance curve to analyze the potential risks of the topological network diagram between nodes, potential risk points in the supply chain network are identified. The generated node risk data helps to determine potential risk sources, vulnerable links and risk transmission paths, so as to take corresponding risk management and control measures to reduce the impact of risks on the supply chain. By performing risk transmission analysis on the node risk data, the transmission path and impact range of risks in the supply chain are identified. The generated risk transmission path data helps to understand how risks propagate in the supply chain network and prioritize risk sources so that corresponding risk response measures can be taken, which helps to enhance the ability to respond to supply chain risks, reduce the impact of potential risks on the business, and ensure the sustainability and stability of the supply chain.

[0013] Preferably, the specific steps of step S4 are: Step S41: performing multi-dimensional plane decomposition on the real-time trade data to generate trade multi-dimensional plane data; Step S42: spatially mapping the trade multi-dimensional plane data to generate a trade data multi-dimensional matrix; Step S43: performing implicit feature analysis on the multidimensional matrix of trade data to generate plane implicit feature data; Step S44: dynamically reconstruct the multidimensional matrix of trade data according to the implicit feature data of the plane to construct a multidimensional plane space of trade. The present invention generates trade multidimensional plane data by performing multidimensional plane decomposition on real-time trade data, decomposing and combining original data according to different dimensions. This decomposition converts trade data from a whole into multiple independent dimensions, making the data structure clearer and more understandable. The plane data is converted into a multidimensional matrix by performing spatial mapping on the trade multidimensional plane data. The spatial mapping organizes and displays the data in multiple dimensions, providing a more intuitive and operable data representation method. The generated trade data multidimensional matrix helps to view and analyze trade data in the form of a matrix, thereby discovering patterns, trends and correlations in the data, providing a basis for subsequent data analysis and mining. By performing implicit feature analysis on the trade data multidimensional matrix, implicit feature information in the data is extracted. It is a statistical and machine learning technology that discovers potential patterns and structures in data and reveals the inherent laws behind the data. The generated plane implicit feature data helps to understand the essential characteristics of trade data, discover important factors and key influencing factors in the data, and provide a basis for subsequent data modeling and prediction. It dynamically reconstructs the multidimensional matrix of trade data according to the plane implicit feature data, reorganizes and adjusts the dimensions and structure of trade data, and constructs a multidimensional trade plane space. Dynamic plane reconstruction optimizes and adjusts trade data based on the analysis results of implicit feature data in order to better represent and utilize data information. The constructed multidimensional trade plane space provides a more comprehensive and accurate data view, helps to deeply understand the internal relationship and evolution trend of trade data, and provides a more reliable basis for decision-making. Preferably, the specific steps of step S5 are: Step S51: performing risk decision factor analysis on the risk transfer path data to generate risk decision factor data; Step S52: performing trend analysis on risk decision factor data through the trade multi-dimensional plane space to generate risk trend data; Step S53: reverse the trend of historical trade data to generate time series trend reverse data; Step S54: predicting trade risks on risk trend data through time series trend inversion data to generate risk trend prediction data.

[0014] The present invention analyzes risk decision factors on risk transfer path data to identify and extract key factors that affect risk decisions. The risk decision factor analysis is based on historical data, market trends and related factors to determine factors that have a significant impact on trade risks. The generated risk decision factor data helps understand the driving factors of risk decisions and provides a basis for subsequent risk assessment and decision-making. The trend analysis of risk decision factor data is performed through the trade multidimensional plane space to reveal the development trend and change law of risk factors. The trade multidimensional plane space provides a comprehensive perspective to display and analyze risk decision factor data in multiple dimensions. The generated risk trend data helps identify the evolution trend of risks, discover potential risk threats and opportunities, and provide a basis for risk management. It provides early warning and reference for decision-making. By reversing the trend of historical trade data, it can be inferred that the past trends will continue into the future. The trend reversal analysis is based on the trends and patterns of historical data to predict future development directions and trends. The generated time series trend reversal data helps to understand the historical change trends of trade data and provide reference and prediction for future decision-making and planning. Through the time series trend reversal data, trade risk forecasting is carried out on risk trend data to predict the development trend of future trade risks and risk events. Trade risk forecasting is based on historical data and trend reversal results, combined with risk decision-making factors and risk trend data, to evaluate and predict future trade risks. The generated risk trend forecast data helps to formulate risk management strategies and respond to potential trade risks in a timely manner.

[0015] Preferably, the specific steps of step S6 are: Step S61: performing node resource scheduling analysis on the trade blockchain network according to the risk trend prediction data to generate node resource scheduling data; Step S62: performing supply and demand optimization scheduling decision on the node resource scheduling data to build a supply and demand optimization scheduling decision engine; Step S63: Perform dilation convolution on the supply and demand optimization scheduling decision engine to build a trade supply and demand optimization scheduling model. The present invention optimizes the allocation and utilization of node resources by performing node resource scheduling analysis on the trade blockchain network according to the risk trend prediction data. The node resource scheduling analysis is based on the risk trend prediction data to identify high-risk areas or nodes, and adjust the resource allocation and scheduling strategy according to the prediction results. The generated node resource scheduling data helps the trade blockchain network to achieve reasonable resource allocation and improve the security and efficiency of the network. By performing supply and demand optimization scheduling decisions on the node resource scheduling data, the balance and optimization of resources in the trade network are achieved. The supply and demand optimization scheduling decision analysis is based on the node resource scheduling data to evaluate the supply and demand status of resources and formulate an optimized scheduling strategy. Strategy, build a supply and demand optimization scheduling decision engine. Through automation and intelligent methods, it monitors and adjusts the supply and demand of node resources in real time, improves the efficiency and reliability of the trade network, and builds a trade supply and demand optimization scheduling model by dilating and convolving the supply and demand optimization scheduling decision engine to further improve the accuracy and effect of resource scheduling. Dilated convolution is a convolutional neural network technology that extracts and analyzes multi-level and multi-scale features of data, and builds a trade supply and demand optimization scheduling model based on dilated convolution technology. It performs deep learning and pattern recognition on supply and demand data, extracts potential supply and demand laws and trends, and provides more accurate guidance and predictions for resource scheduling decisions.

[0016] In this specification, a blockchain-based trade data processing system is provided, which is used to execute the blockchain-based trade data processing method as described above, including: The blockchain network module is used to obtain real-time trade data and historical trade data; standardize the real-time trade data to obtain standard trade data; and build a trade blockchain network based on standard trade data; The dynamic demand module is used to identify the flow of trade products based on the trade blockchain network to obtain circulation link data; generate dynamic demand data based on circulation link data; perform supply and demand perception modeling on dynamic demand data to build a dynamic supply and demand perception model; The risk path module is used to calculate the node capacity bottleneck of the trade blockchain network using a dynamic supply and demand perception model to generate node capacity bottleneck data; generate delivery efficiency data based on the node capacity bottleneck data; and perform risk propagation analysis on the delivery efficiency data to generate risk transmission path data; A plane reconstruction module is used to obtain a multidimensional matrix of trade data based on real-time trade data; dynamically reconstruct the multidimensional matrix of trade data to construct a multidimensional plane space of trade; The risk prediction module is used to generate risk trend data based on risk transmission path data and trade multi-dimensional space; to predict trade risks based on risk trend data based on historical trade data and generate risk trend prediction data; The supply and demand scheduling module is used to obtain node resource scheduling data based on risk trend prediction data; make supply and demand optimization scheduling decisions on the node resource scheduling data, and build a trade supply and demand optimization scheduling model.

[0017] The present invention obtains real-time trade data through the blockchain network module, so that trade participants can timely understand market dynamics and make more accurate decisions. The format and structure of unified trade data are standardized and processed to improve the consistency and comparability of data. A trade blockchain network is constructed to ensure the security and immutability of trade data and enhance the trust between participants. The dynamic demand module identifies the flow of trade products, tracks and records the circulation path of trade products, reveals the supply chain information of products, and helps to monitor the compliance and traceability of trade activities. The generation of dynamic demand data reflects the changes in market demand in real time and helps suppliers make timely adjustments and decisions. The dynamic supply and demand perception model analyzes the changing trend of supply and demand relationships based on real-time data and historical data, provides in-depth insights into the market, and supports decision-making and resource allocation. The risk path module identifies the bottlenecks in the production and circulation links in the trade blockchain network, and provides a basis for optimizing the supply chain and resource allocation. The generation of delivery efficiency data evaluates the speed and accuracy of delivery, helping participants optimize the delivery process and improve customer satisfaction. The analysis of risk transmission path data identifies potential risk transmission paths, warns in advance and takes risk management measures to reduce risks. The impact of trade activities, the plane reconstruction module organizes and classifies trade data according to different dimensions to facilitate data analysis and mining. The dynamic plane reconstruction dynamically adjusts the dimensions and correlations of trade data according to demand and changes, and improves data visualization and interpretability. The construction of the multi-dimensional plane space of trade provides a basis for data exploration and decision support, which helps to discover potential correlations and laws in trade activities. The risk prediction module generates risk trend data based on the risk transmission path and the multi-dimensional plane space of trade, analyzes and predicts risk trends in trade activities, and helps participants formulate risk management strategies. The application of historical trade data draws on past experiences and lessons to predict and evaluate future trade risks and improve the accuracy and effectiveness of decision-making. The supply and demand scheduling module analyzes and plans the resource allocation and scheduling of nodes based on risk trend prediction data to ensure the efficient operation of the supply chain. The supply and demand optimization scheduling decision is based on the node resource scheduling data. By optimizing the matching relationship between supply and demand, it improves resource utilization and delivery efficiency. The construction of the trade supply and demand optimization scheduling model establishes a dynamic scheduling system to achieve reasonable allocation and coordination of resources and optimize the overall benefits of trade activities. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a schematic diagram of the steps of a blockchain-based trade data processing method of the present invention; Figure 2Detailed implementation flow chart of step S1; Figure 3 Detailed implementation flow chart of step S2; Figure 4 Detailed implementation flow chart of step S3. DETAILED DESCRIPTION

[0019] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0020] This application example provides a blockchain-based trade data processing method. The execution subjects of the blockchain-based trade data processing method and system include but are not limited to: mechanical equipment, data processing platform, cloud server node, network upload device, etc. equipped with the system can be regarded as the general computing node of this application, and the data processing platform includes but is not limited to: audio and image management system, information management system, cloud data management system at least one.

[0021] See also Figures 1 to 4 The present invention provides a trade data processing method based on blockchain, and the trade data processing method based on blockchain includes the following steps: Step S1: obtaining real-time trade data and historical trade data; standardizing the real-time trade data to obtain standard trade data; and building a trade blockchain network based on the standard trade data; Step S2: Identify the flow direction of trade products based on the trade blockchain network to obtain circulation link data; generate dynamic demand data based on the circulation link data; perform supply and demand perception modeling on the dynamic demand data to build a dynamic supply and demand perception model; Step S3: Calculate the node capacity bottleneck of the trade blockchain network using the dynamic supply and demand perception model to generate node capacity bottleneck data; generate delivery efficiency data based on the node capacity bottleneck data; perform risk propagation analysis on the delivery efficiency data to generate risk transmission path data; Step S4: obtaining a multidimensional matrix of trade data based on real-time trade data; dynamically reconstructing the multidimensional matrix of trade data to construct a multidimensional trade plane space; Step S5: Generate risk trend data based on risk transmission path data and trade multidimensional plane space; perform trade risk prediction on risk trend data based on historical trade data to generate risk trend prediction data; Step S6: Obtain node resource scheduling data based on risk trend prediction data; make supply and demand optimization scheduling decisions on the node resource scheduling data, and build a trade supply and demand optimization scheduling model.

[0022] The present invention acquires real-time trade data and historical trade data to establish a comprehensive trade data set for subsequent analysis and modeling, standardizes real-time trade data to ensure data consistency and comparability, builds a trade blockchain network to provide a decentralized, traceable trade data storage and exchange platform, and enhances data security and transparency. Through the trade blockchain network, the flow of trade products can be tracked and identified, the situation of trade in different links can be understood, and dynamic demand data can be generated to reflect the changing trend and volatility of market demand. Through supply and demand perception modeling and the construction of dynamic supply and demand perception models, the supply and demand relationship can be deeply analyzed, and supply and demand shortages or surpluses can be identified to provide a basis for supply chain decision-making. Through the dynamic supply and demand perception model, the production capacity bottlenecks of each node in the trade blockchain network can be calculated, the bottleneck links and bottleneck risks can be identified, and delivery efficiency data can be generated to evaluate the delivery speed and efficiency of trade. Through risk propagation analysis and the generation of risk transmission path data, potential risk factors and their transmission paths can be identified, trade risks can be predicted and managed, and real-time trade The data constructs a multidimensional matrix of trade data, classifies and organizes trade data according to different dimensions, provides a more comprehensive data perspective, and dynamically reconstructs the multidimensional matrix of trade data to adjust and update it according to changes in demand and time to reflect the dynamic changes in trade, providing a basis for further analysis and modeling. Through risk transmission path data and trade multidimensional plane space, the propagation mode and path of trade risks are analyzed, risk factors are identified, and risk trend data is generated to reveal the changing trend of trade risks and potential risk conditions. Through the analysis and modeling of historical trade data, trade risk forecasts are carried out, risk events and impacts are identified in advance, and early warnings and decision-making basis are provided for decision makers. Based on risk trend forecast data, node resource scheduling is carried out to optimize the resource allocation and scheduling of each node in the trade network. Through supply and demand optimization scheduling decisions, resources are reasonably allocated among different nodes to improve the efficiency and flexibility of trade. A trade supply and demand optimization scheduling model is constructed to help decision makers make the best resource scheduling decisions to cope with different market demands and risk situations.

[0023] In the embodiment of the present invention, refer to Figure 1 , is a flowchart of a trade data processing method based on blockchain of the present invention. In this example, the steps of the trade data processing method based on blockchain include: Step S1: obtaining real-time trade data and historical trade data; standardizing the real-time trade data to obtain standard trade data; and building a trade blockchain network based on the standard trade data; In this embodiment, after obtaining authorization from the user and the platform, real-time trade data is obtained from various trade data sources, such as electronic trading platforms, logistics systems, customs data, etc. The latest trade data is obtained by establishing connections with these data sources or using corresponding APIs, and historical trade data is obtained from reliable historical data storage or databases. These data are transaction records, logistics information, supply chain data, etc. in the past period of time. The acquisition of historical data is completed by querying the database, accessing the storage system, or using the services of the data provider. The standard format and standard fields of trade data are defined, and the real-time trade data is standardized. This is achieved by formulating data standard specifications and establishing a data dictionary. Standardization helps data docking and comparative analysis between different data sources. Appropriate data storage and management solutions are selected, and standardized trade data is stored in a database or distributed storage system, including relational databases, NoSQL databases, or blockchain technologies to ensure data security, reliability, and scalability. Based on standardized trade data, a trade blockchain network is built, a suitable blockchain platform or a customized blockchain solution is selected, and network configuration and deployment are performed according to needs. Functions such as data storage, data verification, and smart contracts are defined and implemented to ensure that trade data is credible and traceable in the blockchain network.

[0024] Step S2: Identify the flow direction of trade products based on the trade blockchain network to obtain circulation link data; generate dynamic demand data based on the circulation link data; perform supply and demand perception modeling on the dynamic demand data to build a dynamic supply and demand perception model; In this embodiment, the acquired transaction records are analyzed to identify the flow of trade products. By analyzing the buyer and seller information, logistics data, trade amount, etc. in the transaction records, the flow path of the trade products is tracked, and relevant circulation link data is extracted from the identified flow of trade products, including supplier information, manufacturer information, logistics company information, retailer information, etc. The circulation link data is associated with other relevant data sources, such as market research data, consumer behavior data, etc., and more comprehensive demand data is obtained through association analysis. According to the characteristics of the demand data and the goal of demand forecasting, a suitable data modeling method is selected, using a statistical model, a machine learning model, or a deep learning model etc. to model demand data, and use the constructed data model to predict the identified circulation link data and generate dynamic demand data. These data include predicted market demand, sales trends, product popularity, etc., and perform feature extraction and conversion on the data so that the supply and demand-related features can be understood and utilized by the model, including feature selection, feature scaling, feature combination and other operations. According to specific needs, select appropriate supply and demand perception models, such as regression models, time series models, neural network models, etc., use training data to train and optimize the model, use verification data to evaluate the trained model, and adjust the model parameters and structure to improve the performance and accuracy of the model.

[0025] Step S3: Calculate the node capacity bottleneck of the trade blockchain network using the dynamic supply and demand perception model to generate node capacity bottleneck data; generate delivery efficiency data based on the node capacity bottleneck data; perform risk propagation analysis on the delivery efficiency data to generate risk transmission path data; In this embodiment, relevant data of each node in the trade blockchain network, such as transaction records, trading partner information, node resource conditions, etc., are collected to establish a dynamic supply and demand perception model. The model evaluates and predicts the supply and demand conditions of the trade blockchain network based on real-time data. The model is constructed using a machine learning algorithm or other related methods. The dynamic supply and demand perception model is used to calculate the capacity bottleneck of each node in the trade blockchain network. The capacity bottleneck refers to the maximum transaction volume that a node can handle or the service capacity provided within a specific time period. According to the output results of the model, the capacity bottleneck of each node is determined and expressed as a quantity or other related indicators. Based on the node capacity bottleneck data, the delivery efficiency of each node is calculated. Delivery efficiency refers to the ability of a node to complete delivery on time in actual transactions. According to the capacity bottleneck and actual transaction situation of the node, the delivery efficiency of each node is calculated and expressed as a percentage or other relevant indicators. The generated delivery efficiency data is used as input for risk propagation analysis. The risk propagation analysis evaluates the risk transmission path based on the network topology and the transaction relationship between nodes. Appropriate methods (such as graph theory, network analysis, etc.) are used to perform risk propagation analysis on the delivery efficiency data to identify the risk transmission path and key nodes. According to the results of the risk propagation analysis, risk transmission path data is generated. The risk transmission path data is expressed as a relationship diagram between nodes, a path matrix or other forms of data structure. The risk transmission path data helps trade participants understand the risk transmission paths in the trade blockchain network, so as to take corresponding risk management measures.

[0026] Step S4: obtaining a multidimensional matrix of trade data based on real-time trade data; dynamically reconstructing the multidimensional matrix of trade data to construct a multidimensional trade plane space; In this embodiment, a multidimensional matrix of trade data is constructed based on real-time trade data. The multidimensional matrix is ​​a data structure that describes trade data in multiple dimensions and is constructed using data analysis tools or programming languages. According to the characteristics and needs of the trade data, appropriate dimensions are selected, such as time, geographic location, product category, trading partner, etc., and corresponding metrics, such as transaction volume, amount, price, etc., and the real-time trade data is mapped to the corresponding dimensions and metrics of the multidimensional matrix to form a trade multidimensional matrix based on real-time data. The multidimensional matrix of trade data is dynamically reconstructed. The dynamic plane reconstruction is to dynamically update and adjust the structure and attributes of the trade multidimensional plane space according to the changes in the real-time trade data, monitor the changes in the real-time trade data, and make corresponding adjustments to the trade multidimensional plane space according to the changes, which includes adding new dimensions, deleting dimensions that are no longer needed, updating the attributes and metrics of dimensions, etc. Through dynamic plane reconstruction, the consistency of the trade multidimensional plane space with the actual trade data is maintained, so that it can accurately reflect the changes and characteristics of the trade data.

[0027] Step S5: Generate risk trend data based on risk transmission path data and trade multidimensional plane space; perform trade risk prediction on risk trend data based on historical trade data to generate risk trend prediction data; In this embodiment, the risk transmission path data is mapped to the corresponding dimension or attribute in the trade multidimensional plane space, and the risk transmission path data is associated with the trade multidimensional plane space. Based on the association between the risk transmission path data and the trade multidimensional plane space, risk trend data is generated using data analysis technology or algorithm. The risk trend data is represented as a change trend of risk indicators with respect to time and other related dimensions. According to the risk transmission path and key nodes identified in the risk transmission path data, the corresponding risk indicators or other related indicators are calculated and associated with the time dimension to form risk trend data. The risk trend data is used to predict trade risks using historical trade data. Various prediction models and algorithms, such as time series analysis, machine learning algorithms, etc., are used to train a prediction model based on the patterns and trends of historical trade data, and the model is used to predict the risk trend data. The prediction result is a predicted value or probability distribution of trade risks in a future time period. According to the output of the trade risk prediction model, risk trend prediction data is generated. These data are represented as predicted values ​​or probability distributions of risk indicators or related indicators in a future time period. The risk trend prediction data is used to help trade participants identify potential risk trends and risk events, so as to make corresponding decisions and risk management strategies.

[0028] Step S6: Obtain node resource scheduling data based on risk trend prediction data; make supply and demand optimization scheduling decisions on the node resource scheduling data, and build a trade supply and demand optimization scheduling model.

[0029] In this embodiment, based on the risk trend prediction data, a model or algorithm is used to generate node resource scheduling data. The node resource scheduling data describes the resources and supply conditions required by each node (such as ports, warehouses, transportation tools, etc.) within a specific time period. The node resource scheduling data includes information such as resource demand, resource supply, resource availability, and resource flow between nodes to reflect the supply and demand conditions of trade activities. Based on the node resource scheduling data, supply and demand optimization scheduling decisions are made, which involves determining how to reasonably allocate and schedule between resource demand and supply to meet the needs of trade activities and optimize resource utilization. The supply and demand optimization scheduling algorithm or model is used to consider The availability, priority, timing relationship, cost and other factors of node resources are used to make scheduling decisions. This is an optimization problem. It is necessary to match and schedule the resource demand and supply of each node to achieve overall supply and demand balance and maximize benefits. Based on the methods and results of supply and demand optimization scheduling decisions, a trade supply and demand optimization scheduling model is constructed. This model is a mathematical model, optimization model or simulation model used to describe the supply and demand relationship and resource scheduling strategy in trade activities. When constructing the trade supply and demand optimization scheduling model, the characteristics of trade activities, the interaction relationship between nodes, resource constraints, time windows and other factors are considered to establish an accurate, feasible and optimizable model.

[0030] In this embodiment, refer to Figure 2 , is a flowchart of detailed implementation steps of step S1. In this embodiment, the detailed implementation steps of step S1 include: Step S11: Acquire real-time trade data and historical trade data; Step S12: standardizing the real-time trade data to obtain standard trade data; Step S13: Designing a distributed contract architecture for standard trade data to generate a distributed contract structure; Step S14: Perform smart contract analysis on the standard trade data to obtain a trade smart contract; Step S15: Use the trade smart contract to construct a topological network for the distributed contract structure to build a trade blockchain network. In this embodiment, after obtaining authorization from the user and the platform, real-time trade data is obtained from various trade data sources, including electronic trading platforms, logistics systems, customs data, etc. The latest trade data is obtained by establishing connections with these data sources or using corresponding APIs. Historical trade data is obtained from reliable historical data storage or databases. These data are transaction records, logistics information, supply chain data, etc. over a period of time. The acquisition of historical data is completed by querying the database, accessing the storage system, or using the services of the data provider. The real-time trade data is cleaned to remove invalid data, duplicate data, missing data, etc., including data format conversion, data format correction, and outlier processing. Through data cleaning and denoising, the quality and consistency of real-time trade data are ensured, and the data model and data structure of standard trade data are determined. This is to define a set of standard formats, fields and specifications for trade data, and to standardize the cleaned real-time trade data to make it conform to the format and specifications of standard trade data, including field mapping, unit unification, data type conversion, etc. Understand and analyze trade business needs, determine the functions and logic that need to be implemented in distributed contracts, determine the needs of contract participants, contract execution conditions, contract triggering events, etc., design the architecture of distributed contracts, including the organizational structure, data model, contract methods and events of the contract, etc. Consider the scalability and security of distributed contracts Based on the requirements of security, performance, etc., select a suitable distributed contract platform or framework. Based on the results of the distributed contract architecture design, use contract programming languages ​​or tools to implement the distributed contract structure. Analyze the trade business needs, determine the business logic and rules that need to be implemented in the smart contract, understand the interaction between the contract participants and the execution conditions of the contract, and design the structure and function of the smart contract to meet the trade business needs. It involves defining the state, methods, events, roles, permissions, etc. of the contract. Consider the requirements of security, scalability, reliability, etc. of the smart contract, and select a suitable smart contract platform or framework. Based on the results of the smart contract design, use smart contract programming languages ​​or tools to implement the trade business. Smart contracts, write the code logic of the contract, including data processing, transaction verification, event triggering, etc., analyze trade business needs, determine the functions and characteristics of the trade blockchain network to be built, determine the network participants, network topology, consensus mechanism, data storage and other requirements, design the structure and architecture of the trade blockchain network, including network nodes, blockchain data structure, communication protocol, consensus algorithm, etc., consider the scalability, security, performance and other requirements of the trade blockchain network, and select a suitable blockchain platform or framework. Based on trade smart contracts and distributed contract structures, deploy nodes and chain codes of the trade blockchain network, configure and connect network nodes, and ensure the normal operation and communication of the network.

[0031] In this embodiment, refer to Figure 3, is a flowchart of detailed implementation steps of step S2. In this embodiment, the detailed implementation steps of step S2 include: Step S21: Identify the flow of trade products based on the trade blockchain network and generate trade product flow data; Step S22: performing supply chain circulation analysis on the trade product flow data to obtain circulation link data; Step S23: performing node capacity analysis on the circulation link data to generate node capacity data; Step S24: performing dynamic demand analysis on the real-time trade data to generate dynamic demand data; Step S25: Perform supply and demand perception modeling on the dynamic demand data according to the node capacity data to construct a dynamic supply and demand perception model.

[0032] In this embodiment, based on the business logic and rules defined in the smart contract, the flow of trade products is traced by tracking the transaction records, logistics information and confirmation operations of the participants of the products. The identified flow information of trade products is recorded, including the source of the product, the transit route, the destination and the participants, etc. The circulation path of the trade products in the supply chain is analyzed, including the production, warehousing, transportation, sales and other links, and the various participants involved in the circulation of trade products, such as manufacturers, wholesalers, retailers, logistics companies, etc., are identified. The flow data of trade products is associated with the participants and the circulation links, and a complete link of product circulation is established to identify the various nodes in the circulation links of trade products. , such as production plants, warehouses, transportation nodes, etc., evaluate the production capacity of each node, including production capacity, production efficiency, inventory management and other factors, record the node production capacity data, including node name, production capacity indicators, time period, etc., analyze real-time trade data, identify demand trends and periodicity, such as seasonal demand, market trends, etc., record dynamic demand data, including demand period, demand volume, demand change trend, etc., analyze the supply and demand relationship between node capacity and dynamic demand, identify supply and demand matching, supply and demand gap, etc., based on the analysis results of the supply and demand relationship, build a dynamic supply and demand perception model, and use statistical analysis, machine learning or optimization algorithms and other methods.

[0033] In this embodiment, the specific steps of step S23 are: Step S231: performing regional demand difference analysis on real-time trade data to generate regional demand difference data; Step S232: Calculate demand fluctuation based on regional demand difference data to generate demand fluctuation data; Step S233: performing demand trend analysis on the demand fluctuation data to generate demand trend data; Step S234: performing demand change elasticity analysis on the demand trend data based on the historical trade data to generate demand change elasticity data; Step S235: Perform dynamic demand analysis on the demand change elasticity data to generate dynamic demand data. In this embodiment, a statistical analysis method (such as variance analysis) or a machine learning algorithm (such as cluster analysis) is used to compare and analyze trade data from different regions to identify demand differences between regions. For example, the average order volume or transaction amount of each region is calculated, and then the differences between regions are compared. Mathematical or statistical methods are used to calculate the volatility of demand in different regions. Commonly used indicators include standard deviation, variance, etc., which are used to measure the degree of demand volatility. Time series analysis methods or trend forecasting models are used to analyze demand fluctuation data to identify long-term trends and cyclical changes in demand. Based on the results of trend analysis, demand trend data is generated, including information such as demand growth trends and cyclical changes. The demand elasticity theory or statistical methods in economics are used to analyze historical trade data to calculate the elasticity of demand changes to different factors. The results of elasticity analysis are applied to demand trend data to generate demand change elasticity data, indicating the sensitivity and elasticity range of demand to different factors. Based on the demand change elasticity data, a dynamic demand forecasting model is constructed to predict the trend and scale of future demand changes. The dynamic demand forecasting model is applied to real-time trade data to generate dynamic demand data to reflect the current and future demand conditions in various regions.

[0034] In this embodiment, refer to Figure 4 , is a flowchart of detailed implementation steps of step S3. In this embodiment, the detailed implementation steps of step S3 include: Step S31: Calculate the node capacity bottleneck of the trade blockchain network using a dynamic supply and demand perception model to generate node capacity bottleneck data; Step S32: Analyze the node inventory changes of the trade blockchain network to generate node inventory change data; Step S33: Calculate the delivery efficiency of the node inventory change data to generate delivery efficiency data; Step S34: Perform risk propagation analysis on the delivery efficiency data according to the node capacity bottleneck data to generate risk transfer path data. In this embodiment, a dynamic supply and demand perception model is used to take node data as input for calculation. The model evaluates the capacity utilization rate of each node based on the supply and demand relationship and dynamic changes of the data, and determines the node where the capacity bottleneck is located. According to the results of the model calculation, node capacity bottleneck data are generated. These data indicate the degree of capacity bottleneck of each node, helping enterprises to understand the bottleneck problems in the supply chain and make corresponding optimization measures. The inventory data of the node is analyzed to understand the changes in inventory, calculate the increase and decrease in inventory, inventory turnover rate and other indicators, evaluate the inventory change trend and efficiency of the node, and generate node inventory change data based on the results of the inventory change analysis. These data reflect the changes in inventory at different nodes, provide basic data for subsequent delivery efficiency calculations, and define the indicators of delivery efficiency according to demand and business scenarios. Standards and measurement methods, for example, use delivery time, delivery accuracy and other indicators to measure delivery efficiency, use node inventory change data and other related data to calculate the delivery efficiency of each node, analyze the relationship between node inventory changes and actual delivery conditions, calculate delivery time, out-of-stock rate and other indicators, and generate delivery efficiency data based on the calculated delivery efficiency results. These data reflect the delivery efficiency levels of different nodes and can be used for subsequent risk propagation analysis, define indicators and paths for risk transmission, use the decline in delivery efficiency and the impact of node capacity bottlenecks as indicators for risk transmission, analyze the risk transmission paths between nodes, use node capacity bottleneck data and delivery efficiency data to analyze the risk transmission paths between nodes, and use network analysis, propagation models and other methods to study the transmission laws of risks in trade networks.

[0035] In this embodiment, the specific steps of step S34 are: Step S341: performing inventory anomaly detection on the node inventory change data to obtain node inventory anomaly data; Step S342: Calculate the delivery delay probability based on the delivery efficiency data to generate node delivery delay probability data; Step S343: performing supply and demand balance analysis on the node inventory abnormality data and the node delivery delay probability data according to the node capacity bottleneck data to generate node supply and demand balance data; Step S344: performing smooth curve fitting on the node supply and demand balance data to construct a node supply and demand balance curve; Step S345: performing potential risk analysis on the node topology network diagram through the node supply and demand balance curve to generate node risk data; Step S346: Perform risk propagation analysis on the node risk data to generate risk transfer path data.

[0036] In this embodiment, a suitable inventory anomaly detection method is selected, such as one based on statistical methods, machine learning methods, or anomaly detection algorithms, and the selected inventory anomaly detection method is applied to analyze and calculate the node inventory change data. The method identifies nodes that deviate significantly from normal inventory change patterns and regards them as inventory anomalies. Based on the results of the inventory anomaly detection, node inventory anomaly data are generated. These data identify nodes with abnormal inventory changes, and provide basic data for subsequent supply and demand balance analysis and risk propagation analysis. A method for calculating the probability of delivery delay is defined, such as calculating the delivery delay probability of a node based on historical delivery data or model prediction methods. The delivery efficiency data is analyzed and calculated using the selected calculation method, and the calculation evaluates the probability that each node will be delayed during the delivery process. Based on the calculated delivery delay probability, node delivery delay probability data are generated. These data reflect the delivery delay risk level of each node, and provide basic data for supply and demand balance analysis and risk propagation analysis. Basic data, based on the comprehensive data set, supply and demand balance analysis is carried out, considering factors such as the node's production capacity bottleneck, inventory abnormalities and delivery delay probability, evaluating the node's supply and demand balance status, selecting a suitable smooth curve fitting method, such as polynomial fitting, spline interpolation, etc., applying the selected fitting method, fitting the node supply and demand balance data to generate a smooth supply and demand balance curve, and constructing the node supply and demand balance curve based on the fitting results. The curve reflects the changing trend of the node supply and demand balance and provides a reference for supply chain management decisions. Based on the node supply and demand balance curve, the supply and demand status of each node is analyzed, and potential risk nodes are identified. These risk nodes have problems such as supply shortages and demand fluctuations, which affect the entire supply chain system, and define the calculation method of the risk transmission path. For example, the risk transmission path is determined by considering factors such as the dependency relationship and supply and demand relationship between nodes. The node risk data is analyzed and calculated using the selected calculation method, and the risk transmission path and degree of risk in the supply chain are evaluated.

[0037] In this embodiment, the specific steps of step S4 are: Step S41: performing multi-dimensional plane decomposition on the real-time trade data to generate trade multi-dimensional plane data; Step S42: spatially mapping the trade multi-dimensional plane data to generate a trade data multi-dimensional matrix; Step S43: performing implicit feature analysis on the multidimensional matrix of trade data to generate plane implicit feature data; Step S44: dynamically reconstruct the multidimensional matrix of trade data according to the implicit feature data of the plane to construct a multidimensional plane space of trade. In this embodiment, the standardized trade data is decomposed into multiple dimensions or features, each dimension or feature represents a potential structure or pattern in the data. The multidimensional plane decomposition is specifically as follows: based on the standardized data, the covariance matrix between the indicators is calculated. The covariance matrix reflects the correlation between different indicators, and each element thereof represents the covariance between the corresponding indicators. The covariance matrix is ​​subjected to eigenvalue decomposition or singular value decomposition. The eigenvalue represents the importance of each eigenvector, and the eigenvector represents the direction of each principal component or factor. According to the size of the eigenvalue, it is determined how many principal components or factors to retain. The eigenvectors are sorted according to the size of the eigenvalue. The principal components or factors corresponding to the eigenvectors with larger eigenvalues ​​have higher explanatory power and capture more variance in the data. The eigenvectors corresponding to the largest eigenvalues ​​are selected to retain. These eigenvectors are also called principal components or factors, which constitute new dimensions of the data. Each dimension represents a principal component or factor. The original trade data is projected onto the selected The projection value of each sample on the new dimension is obtained on the specified principal components or factors. In this way, the original data is represented as a linear combination of the principal components or factors. The contribution of each principal component or factor to the total variance is calculated and measured by the ratio of the eigenvalue to the total eigenvalue. The larger the ratio, the more variance the principal component or factor explains. A suitable spatial mapping method is selected to map the plane data to a multidimensional matrix. Commonly used methods include matrix transposition, matrix rotation, etc. According to the selected spatial mapping method, the multidimensional plane data of trade is mapped to construct a multidimensional matrix of trade data, which will make the data easier to understand and process in the multidimensional space. The multidimensional matrix of trade data is subjected to implicit feature analysis to identify the potential structure and correlation therein, and to help discover the interactions and important features between different dimensions. The multidimensional matrix of trade data is reconstructed to construct a multidimensional plane space of trade, which will consider the weights and correlations in the implicit feature data of the plane, so that the reconstructed plane space can better reflect the characteristics of the original trade data.

[0038] In this embodiment, the specific steps of step S5 are: Step S51: performing risk decision factor analysis on the risk transfer path data to generate risk decision factor data; Step S52: performing trend analysis on risk decision factor data through the trade multi-dimensional plane space to generate risk trend data; Step S53: reverse the trend of historical trade data to generate time series trend reverse data; Step S54: predicting trade risks on risk trend data through time series trend inversion data to generate risk trend prediction data.

[0039] In this embodiment, the risk transmission path data is analyzed to identify the key risk decision factors, that is, the factors that have the greatest impact on trade risks, analyze the correlation and mutual influence between risk factors, understand the dependencies between them, evaluate the importance and potential impact of each risk factor, and determine its contribution to supply chain risk. According to the spatial data, the changing trends of risk decision factors in different dimensions are observed. Time series analysis methods, such as moving average and exponential smoothing, are used to identify the long-term trends and seasonal changes of risk decision factors. The spatial and temporal dimensions are comprehensively considered to analyze the dynamic changes and trends of risk decision factors in the trade link. The time attributes of the data are checked to ensure that the data are arranged in chronological order. Time series analysis methods, such as stationarity test, autocorrelation analysis, trend analysis, etc., are applied to understand the data. Based on the time characteristics and patterns of data, and according to the results of time series analysis, identify the cyclical changes, trends, seasonality, etc. of trade links, apply the selected reverse method, and reverse the trend of historical trade data. This process aims to restore the trend of the data and predict future trends. According to the reverse results, generate time series trend reverse data. These data reflect the trend recovery of historical trade data and the prediction of future trends. Select appropriate risk prediction methods, such as time series prediction, machine learning algorithms, etc., and apply the selected prediction method to predict risk trend data. This process aims to predict future risk trends based on past trends and trend reverse data. According to the prediction results, generate risk trend prediction data. These data reflect the prediction of future risk trends and provide a reference for risk management and decision-making.

[0040] In this embodiment, the specific steps of step S6 are: Step S61: performing node resource scheduling analysis on the trade blockchain network according to the risk trend prediction data to generate node resource scheduling data; Step S62: performing supply and demand optimization scheduling decision on the node resource scheduling data to build a supply and demand optimization scheduling decision engine; Step S63: Perform dilation convolution on the supply and demand optimization scheduling decision engine to build a trade supply and demand optimization scheduling model. In this embodiment, the trade blockchain network and related node resources for node resource scheduling analysis are determined, the goals of the node resource scheduling analysis are determined, such as optimizing resource utilization, balancing network load, etc., different node resource scheduling analysis methods are studied, such as priority scheduling, dynamic allocation algorithm, etc., and a suitable analysis method is selected according to the characteristics and business needs of the trade blockchain network. The risk trend prediction data and node resources are input into the selected analysis method, and the analysis method is run to perform scheduling analysis on the node resources of the trade blockchain network, evaluate the rationality and efficiency of resource allocation, determine the node resource scheduling data and related indicators for supply and demand optimization scheduling decision-making, determine the goals of supply and demand optimization scheduling decision-making, such as improving resource utilization efficiency, reducing costs, improving network performance, etc., and study different supply and demand optimization scheduling decision-making methods, such as linear programming, genetic algorithm, etc. Transmission algorithm, simulated annealing, etc., select a suitable decision method according to the characteristics of resource scheduling and optimization objectives, input node resource scheduling data and related indicators into the selected decision method, run the decision method, make supply and demand optimization scheduling decisions on the node resource scheduling data, generate an optimized scheduling plan, and integrate the decision method and the optimization scheduling plan into a supply and demand optimization scheduling decision engine. The engine includes a decision model, algorithm implementation, and decision rules to support real-time resource scheduling decisions. The data of the supply and demand optimization scheduling decision engine is preprocessed, such as normalization and noise reduction, to build a convolutional neural network model, including convolutional layers, pooling layers, and fully connected layers. The supply and demand optimization scheduling decision engine is input into the convolutional neural network model, and an expansion convolution operation is performed. According to the output of the convolutional neural network model, the result of the supply and demand optimization scheduling model is obtained.

[0041] In this embodiment, a blockchain-based trade data processing system is provided, which is used to execute the blockchain-based trade data processing method as described above, including: The blockchain network module is used to obtain real-time trade data and historical trade data; standardize the real-time trade data to obtain standard trade data; and build a trade blockchain network based on standard trade data; The dynamic demand module is used to identify the flow of trade products based on the trade blockchain network to obtain circulation link data; generate dynamic demand data based on circulation link data; perform supply and demand perception modeling on dynamic demand data to build a dynamic supply and demand perception model; The risk path module is used to calculate the node capacity bottleneck of the trade blockchain network using a dynamic supply and demand perception model to generate node capacity bottleneck data; generate delivery efficiency data based on the node capacity bottleneck data; and perform risk propagation analysis on the delivery efficiency data to generate risk transmission path data; A plane reconstruction module is used to obtain a multidimensional matrix of trade data based on real-time trade data; dynamically reconstruct the multidimensional matrix of trade data to construct a multidimensional plane space of trade; The risk prediction module is used to generate risk trend data based on risk transmission path data and trade multi-dimensional space; to predict trade risks based on risk trend data based on historical trade data and generate risk trend prediction data; The supply and demand scheduling module is used to obtain node resource scheduling data based on risk trend prediction data; make supply and demand optimization scheduling decisions on the node resource scheduling data, and build a trade supply and demand optimization scheduling model.

[0042] The present invention obtains real-time trade data through the blockchain network module, so that trade participants can timely understand market dynamics and make more accurate decisions. The format and structure of unified trade data are standardized and processed to improve the consistency and comparability of data. A trade blockchain network is constructed to ensure the security and immutability of trade data and enhance the trust between participants. The dynamic demand module identifies the flow of trade products, tracks and records the circulation path of trade products, reveals the supply chain information of products, and helps to monitor the compliance and traceability of trade activities. The generation of dynamic demand data reflects the changes in market demand in real time and helps suppliers make timely adjustments and decisions. The dynamic supply and demand perception model analyzes the changing trend of supply and demand relationships based on real-time data and historical data, provides in-depth insights into the market, and supports decision-making and resource allocation. The risk path module identifies the bottlenecks in the production and circulation links in the trade blockchain network, and provides a basis for optimizing the supply chain and resource allocation. The generation of delivery efficiency data evaluates the speed and accuracy of delivery, helping participants optimize the delivery process and improve customer satisfaction. The analysis of risk transmission path data identifies potential risk transmission paths, warns in advance and takes risk management measures to reduce risks. The impact of trade activities, the plane reconstruction module organizes and classifies trade data according to different dimensions to facilitate data analysis and mining. The dynamic plane reconstruction dynamically adjusts the dimensions and correlations of trade data according to demand and changes, and improves data visualization and interpretability. The construction of the multi-dimensional plane space of trade provides a basis for data exploration and decision support, which helps to discover potential correlations and laws in trade activities. The risk prediction module generates risk trend data based on the risk transmission path and the multi-dimensional plane space of trade, analyzes and predicts risk trends in trade activities, and helps participants formulate risk management strategies. The application of historical trade data draws on past experiences and lessons to predict and evaluate future trade risks and improve the accuracy and effectiveness of decision-making. The supply and demand scheduling module analyzes and plans the resource allocation and scheduling of nodes based on risk trend prediction data to ensure the efficient operation of the supply chain. The supply and demand optimization scheduling decision is based on the node resource scheduling data. By optimizing the matching relationship between supply and demand, it improves resource utilization and delivery efficiency. The construction of the trade supply and demand optimization scheduling model establishes a dynamic scheduling system to achieve reasonable allocation and coordination of resources and optimize the overall benefits of trade activities.

[0043] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.

[0044] The above is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A trade data processing method based on blockchain, characterized in that: The following steps are involved: Step S1: obtaining real-time trade data and historical trade data; standardizing the real-time trade data to obtain standard trade data; Build a trade blockchain network based on standard trade data; Step S2: Identify the flow of trade products based on the trade blockchain network to obtain circulation link data; Generate dynamic demand data based on circulation link data; perform supply and demand perception modeling on dynamic demand data and build a dynamic supply and demand perception model; Step S3: Calculate the node capacity bottleneck of the trade blockchain network using the dynamic supply and demand perception model to generate node capacity bottleneck data; Generate delivery efficiency data based on node capacity bottleneck data; Conduct risk propagation analysis on delivery efficiency data to generate risk transfer path data; Step S4: obtaining a multidimensional matrix of trade data based on real-time trade data; Dynamically reconstruct the multidimensional matrix of trade data to construct a multidimensional trade space; Step S5: Generate risk trend data based on risk transmission path data and trade multidimensional space; Conduct trade risk forecasting on risk trend data based on historical trade data to generate risk trend forecast data; Step S6: Obtaining node resource scheduling data based on risk trend prediction data; Make supply and demand optimization scheduling decisions on node resource scheduling data and build a trade supply and demand optimization scheduling model.

2. The blockchain-based trade data processing method according to claim 1 is characterized in that: The specific steps of step S1 are: Step S11: Obtaining real-time trade data and historical trade data; Step S12: standardizing the real-time trade data to obtain standard trade data; Step S13: Designing a distributed contract architecture for standard trade data to generate a distributed contract structure; Step S14: Perform smart contract analysis on standard trade data to obtain a trade smart contract; Step S15: Use the trade smart contract to construct a topological network for the distributed contract structure to build a trade blockchain network.

3. The blockchain-based trade data processing method according to claim 1 is characterized in that: The specific steps of step S2 are: Step S21: Identify the flow of trade products based on the trade blockchain network and generate trade product flow data; Step S22: performing supply chain circulation analysis on the trade product flow data to obtain circulation link data; Step S23: performing node capacity analysis on the circulation link data to generate node capacity data; Step S24: performing dynamic demand analysis on the real-time trade data to generate dynamic demand data; Step S25: Perform supply and demand perception modeling on the dynamic demand data according to the node capacity data to construct a dynamic supply and demand perception model.

4. The blockchain-based trade data processing method according to claim 3 is characterized in that: The specific steps of step S23 are: Step S231: performing regional demand difference analysis on real-time trade data to generate regional demand difference data; Step S232: Calculate demand fluctuation based on regional demand difference data to generate demand fluctuation data; Step S233: performing demand trend analysis on the demand fluctuation data to generate demand trend data; Step S234: performing demand change elasticity analysis on the demand trend data based on the historical trade data to generate demand change elasticity data; Step S235: Perform dynamic demand analysis on the demand change elasticity data to generate dynamic demand data.

5. The blockchain-based trade data processing method according to claim 1 is characterized in that: The specific steps of step S3 are: Step S31: Calculate the node capacity bottleneck of the trade blockchain network using a dynamic supply and demand perception model to generate node capacity bottleneck data; Step S32: Analyze the node inventory changes of the trade blockchain network to generate node inventory change data; Step S33: Calculate the delivery efficiency of the node inventory change data to generate delivery efficiency data; Step S34: Perform risk propagation analysis on the delivery efficiency data according to the node capacity bottleneck data to generate risk transfer path data.

6. The blockchain-based trade data processing method according to claim 5 is characterized in that: The specific steps of step S34 are: Step S341: performing inventory anomaly detection on the node inventory change data to obtain node inventory anomaly data; Step S342: Calculate the delivery delay probability based on the delivery efficiency data to generate node delivery delay probability data; Step S343: performing supply and demand balance analysis on the node inventory abnormality data and the node delivery delay probability data according to the node capacity bottleneck data to generate node supply and demand balance data; Step S344: performing smooth curve fitting on the node supply and demand balance data to construct a node supply and demand balance curve; Step S345: performing potential risk analysis on the node topology network diagram through the node supply and demand balance curve to generate node risk data; Step S346: Perform risk propagation analysis on the node risk data to generate risk transfer path data.

7. The blockchain-based trade data processing method according to claim 1 is characterized in that: The specific steps of step S4 are: Step S41: performing multi-dimensional plane decomposition on the real-time trade data to generate trade multi-dimensional plane data; Step S42: spatially mapping the trade multi-dimensional plane data to generate a trade data multi-dimensional matrix; Step S43: performing implicit feature analysis on the multidimensional matrix of trade data to generate plane implicit feature data; Step S44: dynamically reconstruct the multidimensional matrix of trade data according to the implicit feature data of the plane to construct a multidimensional plane space of trade.

8. The blockchain-based trade data processing method according to claim 1, characterized in that: The specific steps of step S5 are: Step S51: performing risk decision factor analysis on the risk transfer path data to generate risk decision factor data; Step S52: performing trend analysis on risk decision factor data through the trade multi-dimensional plane space to generate risk trend data; Step S53: reverse the trend of historical trade data to generate time series trend reverse data; Step S54: predicting trade risks on risk trend data through time series trend inversion data to generate risk trend prediction data.

9. The blockchain-based trade data processing method according to claim 1, characterized in that: The specific steps of step S6 are: Step S61: performing node resource scheduling analysis on the trade blockchain network according to the risk trend prediction data to generate node resource scheduling data; Step S62: performing supply and demand optimization scheduling decision on the node resource scheduling data to build a supply and demand optimization scheduling decision engine; Step S63: Perform dilation convolution on the supply and demand optimization scheduling decision engine to build a trade supply and demand optimization scheduling model.

10. A trade data processing system based on blockchain, characterized in that: include: The blockchain network module is used to obtain real-time trade data and historical trade data; standardize the real-time trade data to obtain standard trade data; Build a trade blockchain network based on standard trade data; Dynamic demand module, used to identify the flow of trade products based on the trade blockchain network to obtain circulation link data; Generate dynamic demand data based on circulation link data; perform supply and demand perception modeling on dynamic demand data and build a dynamic supply and demand perception model; The risk path module is used to calculate the node capacity bottleneck of the trade blockchain network using a dynamic supply and demand perception model to generate node capacity bottleneck data; Generate delivery efficiency data based on node capacity bottleneck data; Conduct risk propagation analysis on delivery efficiency data to generate risk transfer path data; A plane reconstruction module, used to obtain a multidimensional matrix of trade data based on real-time trade data; Dynamically reconstruct the multidimensional matrix of trade data to construct a multidimensional trade space; Risk prediction module, used to generate risk trend data based on risk transmission path data and trade multi-dimensional space; Conduct trade risk forecasting on risk trend data based on historical trade data to generate risk trend forecast data; Supply and demand scheduling module, used to obtain node resource scheduling data based on risk trend prediction data; Make supply and demand optimization scheduling decisions on node resource scheduling data and build a trade supply and demand optimization scheduling model.

Citation Information

Patent Citations

  • International trade finance blockchain system

    CA3027630A1

  • Supply chain trade finance risk assessment system based on a three-flow-in-one model

    CN109800991A

  • Supply chain financial application method based on supervisible block chain private transaction

    CN118229420A

Cited By

  • Block chain-based enterprise sales planning system

    CN118917883A

  • Trade data management method and system based on block chain

    CN119248795A

  • Tracing management and control method and system based on bulk commodity trade platform

    CN119338485A

  • A traceability control method and system based on bulk commodity trading platform

    CN119338485B

  • Trade process digital optimization method and system

    CN119740876A