Block chain BaaS system based on traffic industry

The deployment and configuration of Hyperledger Fabric is encapsulated through low-code or no-code technology, and a visual operation interface is provided, which solves the complex deployment of Hyperledger Fabric and has high thresholds, and has achieved efficient and stable blockchain deployment and operation and maintenance, reducing operation costs. , improve application efficiency.

CN119493790AInactive Publication Date: 2025-02-21GUANGDONG ORIENTAL THOUGHT TECH

Patent Information

Application Number
CN202510077262.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-02-21
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Hyperledger Fabric is highly professional, complex in deployment, and high threshold, which leads to enterprises need to master complex operating mechanisms, operation and maintenance, cloud computing, network architecture and other contents when building private chains, resulting in poor stability of blockchain and difficult performance and stability. Ensure that operating costs increase and application efficiency is not high.

Method used

The deployment and configuration of Hyperledger Fabric is encapsulated through low-code or no-code technology, and provides a visual operation interface. Enterprise users can complete the number of blockchain nodes, network topology definition, consensus mechanism selection, etc. through simple drag and drop, fill in forms and other operations. Basic configuration work, and use automated operation and maintenance technology to improve the performance and stability of blockchain.

Benefits of technology

It greatly reduces the deployment threshold, reduces configuration errors caused by insufficient professional knowledge, improves deployment efficiency, improves blockchain performance and stability, reduces operational costs, and improves application efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119493790A_ABST
    Figure CN119493790A_ABST
Patent Text Reader

Abstract

The invention relates to a block chain BaaS system based on the traffic industry, and the system carries out the packaging and visualization of the deployment and configuration of Hyperledger Fabric through a low-code or no-code technology, and guides an enterprise user to apply for a block chain resource according to a business demand through an intelligent guide technology. According to a block chain resource application form of an enterprise user, corresponding infrastructure resources are allocated to the user, a program automatically generates block chain network node information according to the number of nodes applied by the user and carries out calibration matching on the block chain network node information and the infrastructure resources, and deployment of a block chain front resource configuration list is completed; and after the configuration list is set, manually activating and triggering automatic deployment of the block chain, and completing scheduling of deployment of related components of the block chain based on the configuration list by the application program according to the preprocessing script. According to the method, the problem of low enterprise user block chain deployment efficiency caused by high specialty, complex deployment and high threshold of Hyperledger Fabric is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of blockchain and relates to a blockchain BaaS system based on the transportation industry. Background Art

[0002] The digital transformation of state-owned enterprises is of great significance. It has advanced from simple "technology application" to "digital reconstruction", and is moving towards the direction of exploring "digital value", innovating business models and industrial ecology. It is necessary to carry out relevant project research. It can support the innovative development of blockchain in the transportation field by leveraging the advantages of blockchain technology in data sharing, business process optimization and other aspects, promote the implementation of applications in combination with business scenarios, provide basic services, and promote the formation of new digital economic formats in our province. Therefore, the project is reasonable and feasible in terms of demand, economy and technology.

[0003] BaaS platform relies on mature Hyperledger Fabric architecture and cloud computing technology, aiming to help enterprises and developers easily build and deploy blockchain applications, and provide efficient, reliable and secure services. It lowers the technical threshold, improves development and operation efficiency, and adapts to a variety of scenarios.

[0004] However, Hyperledger Fabric distributed ledger technology has shortcomings. It is highly professional, complex to deploy, and has a high threshold. If an enterprise builds a private chain, it needs to master many aspects such as operation mechanism, operation and maintenance, cloud computing, and network architecture. However, due to insufficient professionalism and insufficient understanding of certain aspects, enterprise personnel often have poor stability of blockchain, difficult to guarantee performance and stability, increased operating costs, and low application efficiency. This situation needs to be improved urgently to better play the role of blockchain in the digital transformation of state-owned enterprises. Summary of the invention

[0005] The present invention provides a blockchain BaaS system based on the transportation industry, which aims to encapsulate the deployment and configuration of Hyperledger Fabric through low-code or no-code technology. Enterprise users do not need to have an in-depth understanding of its complex operating mechanism, network architecture and other underlying technical details. They can complete basic configuration work such as setting the number of blockchain nodes, defining the network topology structure, and selecting the consensus mechanism through simple operations such as dragging and dropping and filling out forms, which greatly reduces the deployment threshold, reduces configuration errors caused by insufficient professional knowledge, and improves deployment efficiency. At the same time, automated operation and maintenance technology is used to improve the performance and stability of the blockchain.

[0006] The purpose of the present invention can be achieved through the following technical solutions: The present application provides a blockchain BaaS system based on the transportation industry, including a blockchain application module, a blockchain configuration module and a blockchain deployment module, wherein the blockchain application module, the blockchain configuration module and the blockchain deployment module are communicatively connected, wherein: The blockchain application module is used to encapsulate and visualize the deployment and configuration of Hyperledger Fabric using low-code or no-code technology, and guide enterprise users to apply for blockchain resources according to business needs through smart wizard technology; The blockchain configuration module is used to obtain an application form for blockchain resources applied for by enterprise users and allocate corresponding infrastructure resources to users. After the allocation, the program automatically generates blockchain network node information according to the number of nodes applied for by the user and calibrates and matches it with the infrastructure resources to complete the deployment of the blockchain pre-resource configuration list; The blockchain deployment module is used to manually activate and trigger the automatic deployment of the blockchain after completing the configuration list setting. The application completes the scheduling of the deployment of blockchain-related components based on the configuration list according to the preprocessing script.

[0007] Furthermore, the packaging and visualization of the deployment and configuration of Hyperledger Fabric using low-code or no-code technology includes the following steps: S1. Business scenario analysis and template creation: Collect business conditions, data characteristics and blockchain application pain points in different fields of the transportation industry, classify application scenarios based on the collected information, and then design corresponding Hyperledger Fabric blockchain resource configuration templates for application scenarios; S2. Technical abstraction and component encapsulation: Disassemble the technical points related to the deployment and configuration of Hyperledger Fabric, clarify the role and impact of each technical point in different transportation business scenarios, and then abstract and integrate these technical details according to the function and business relevance, and transform them into visual operation components with clear instructions and prompts; S3. Visual interface design and interaction optimization: Design a visual operation interface based on the user's operating habits and business understanding logic, lay out various visual components to match the business process, and optimize the user's interactive experience when operating components, achieve instant operation response, display configuration impact in real time, and give prompts for errors; S4. Integration and verification with smart wizard technology: Deeply integrate the smart wizard technology with the designed visual interface, so that it automatically starts when the user enters the module and guides the resource application process according to the selected transportation business field, and repeatedly verifies and optimizes each link based on user feedback.

[0008] Furthermore, in step S4, the deep integration of the smart guide technology with the designed visual interface specifically includes: Integration startup at the functional interaction level: When the user enters the visual interface, the smart wizard automatically starts, guiding the user to enter the appropriate configuration section by asking the business field to match the corresponding template, and providing recommended configurations and parameter descriptions in real time during the configuration operation to assist the user in making decisions; Integration of data sharing and real-time update: The smart wizard and visual interface establish a data sharing channel to achieve two-way synchronization of configuration modification and policy update. At the same time, the operation status and progress are fed back with the help of shared data, and prompts and assists in solving abnormalities in a timely manner; Integration and optimization of interface presentation and user experience: Smart wizard integrates guidance prompts into the visual interface.

[0009] Furthermore, the blockchain resources include infrastructure configuration and the number of blockchain nodes. The infrastructure configuration includes servers, storage devices, operating systems, database systems, middleware and related integration; the number of blockchain nodes is determined by the business scale and business distribution range. The business scale includes data volume and transaction frequency; the business distribution range includes the geographical area span and the distribution of participating entities.

[0010] Furthermore, according to the blockchain resource application form of the enterprise user, the corresponding infrastructure resources are allocated to the user, and the big data analysis technology is specifically used to deeply analyze the transportation business areas, business scale estimates and business coverage covered in the application form; at the same time, with the help of intelligent algorithms, suitable hardware and software resources are quickly screened and matched from the resource pool. The intelligent algorithm is configured as a rule-based reasoning algorithm, genetic algorithm or machine learning classification and clustering algorithm.

[0011] Furthermore, the blockchain network node information is automatically generated according to the number of nodes applied for by the user and calibrated and matched with the infrastructure resources. Specifically, the automated script technology is used to automatically generate detailed node information according to preset rules, combined with the characteristics of the allocated resources and the best practices of the transportation industry; and the model verification algorithm is used to calibrate and allocate the resources of each node.

[0012] Furthermore, the network node information includes node type, configuration parameters and network topology location.

[0013] Furthermore, the preprocessing script is configured as an Ansible script, and the Ansible script schedules each machine in the host cluster according to the configuration list, and deploys each component of the blockchain in the cluster using Docker containerization technology according to the proximity principle, thereby completing the distributed cluster deployment of the blockchain.

[0014] Furthermore, the blockchain deployment module also monitors the cluster's infrastructure and containers in real time from all aspects, and issues timely alarms when network failures or equipment failures occur, including the following steps: T1. Determine monitoring indicators and configure monitoring tools: Determine the monitoring indicator system for cluster infrastructure and containers, select Prometheus to collect data, Grafana to display data, and AlertManager to trigger alarms, and configure them to work together; T2. Establish a data collection and storage mechanism: deploy collection clients on relevant hosts and hosts to collect and report data, set up the Prometheus storage backend, and determine the storage method and data retention period based on business needs and data volume; T3. Set alarm thresholds and rules: Analyze historical data, set alarm thresholds for each monitoring indicator based on application experience, write rules in AlertManager, clarify fault scenario trigger conditions and alarm levels, and formulate suppression and aggregation rules to avoid repeated alarms; T4. Real-time monitoring, alarm triggering and notification: The monitoring tool collects data at a certain frequency and displays it in real time in Grafana for operation and maintenance personnel to view. When the indicator exceeds the threshold, Prometheus transmits the alarm information to AlertManager, which processes it and notifies the operation and maintenance personnel of the fault details through various channels so that they can take measures.

[0015] Furthermore, in step T1, the monitoring indicators include server hardware and network equipment related indicators as well as container operation, resource usage and communication status indicators.

[0016] Beneficial effects of the present invention: (1) Encapsulate and visualize the deployment and configuration of Hyperledger Fabric through low-code or no-code technology, and guide enterprise users to apply for blockchain resources according to business needs through smart wizard technology; allocate corresponding infrastructure resources to users according to the blockchain resource application form of enterprise users, and the program automatically generates blockchain network node information according to the number of nodes applied by users and calibrates and matches with infrastructure resources to complete the deployment of blockchain pre-resource configuration list; after completing the configuration list setting, manually activate and trigger the automatic deployment of blockchain, and the application completes the scheduling of blockchain-related component deployment based on the pre-processing script and the configuration list. The present invention solves the problem that Hyperledger Fabric is highly professional, complex to deploy, and has a high threshold, which leads to low efficiency of blockchain deployment for enterprise users.

[0017] (2) Based on the resource configuration list provided by the user, integrate Ansible + docker automated operation and maintenance technology to complete the rapid construction of the blockchain network.

[0018] (3) Use big data analysis technology to deeply analyze the transportation business areas, business scale estimates, and business coverage covered in the application form; at the same time, use intelligent algorithms to quickly screen and match appropriate hardware and software resources from the resource pool. While quickly deploying the blockchain, the accuracy of blockchain resource configuration is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.

[0020] Figure 1 This is a structural diagram of a blockchain BaaS system based on the transportation industry in the present invention.

[0021] Figure 2 The present invention is a flowchart for packaging and visualizing the deployment and configuration of Hyperledger Fabric using low-code or no-code technology in one embodiment of the present invention.

[0022] Figure 3 This is a flow chart of an embodiment of the present invention for real-time monitoring of the infrastructure and containers of a cluster from all aspects and for timely issuing alarms when a network failure or device failure occurs. DETAILED DESCRIPTION

[0023] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation mode, structure, characteristics and effects of the present invention are described in detail below in combination with the accompanying drawings and preferred embodiments.

[0024] See also Figure 1-Figure 3 The present application provides a blockchain BaaS system based on the transportation industry, including a blockchain application module, a blockchain configuration module, a blockchain deployment module and a blockchain operation and maintenance module, wherein the blockchain application module, the blockchain configuration module, the blockchain deployment module and the blockchain operation and maintenance module are communicatively connected, wherein: The blockchain application module is used to encapsulate and visualize the deployment and configuration of Hyperledger Fabric using low-code or no-code technology, and guide enterprise users to apply for blockchain resources according to business needs through smart wizard technology; In this embodiment, the blockchain application module is an important interactive entrance for the entire system to enterprise users, aiming to simplify the complex operation process faced by enterprises in the process of using Hyperledger Fabric to build private chains, reduce technical barriers, and improve resource application efficiency and accuracy. By introducing low-code or no-code technology and combining it with smart wizard technology, it helps enterprise users to easily complete blockchain resource applications, so that they can focus on their own business needs and application scenarios without being too deeply involved in technical details. Low-code or no-code technology plays a core encapsulation role in this module. For Hyperledger Fabric, a highly professional distributed ledger technology, it involves many complex configuration parameters and operating mechanisms, such as the topological structure of the blockchain network, including the selection and configuration of node types (such as ordering nodes, peer nodes, etc.), the determination of the number of nodes; the selection of consensus mechanisms (such as PBFT, RAFT, etc.); the setting of ledger storage methods (such as file system storage, database storage, etc.); and encryption algorithms, certificate management and many other aspects. Low-code or no-code platforms use pre-written code modules and logic components to abstract and encapsulate these complex technical details, and transform them into visual, easy-to-operate interface elements to present to enterprise users. For example, the operation of configuring the number of nodes is implemented through a simple numeric input box. Users only need to enter the desired number of nodes, and the platform will automatically complete the relevant underlying configuration code generation and parameter transmission based on the best practices of Hyperledger Fabric, without the need for users to manually write complex network configuration scripts. This encapsulation method greatly reduces the usage threshold for enterprise users, allowing people who are not technically professional or do not have a deep understanding of Hyperledger Fabric technology to participate in the application process for blockchain resources. Enterprises no longer need to specially form a professional team that is proficient in all aspects of Hyperledger Fabric's operating mechanism, operation and maintenance, cloud computing, network architecture, etc., and can only rely on conventional information management personnel to complete the key configuration work in the early stage of blockchain deployment according to simple and intuitive operation prompts, effectively avoiding configuration errors that may occur due to insufficient understanding of technical details, thereby ensuring the basic stability and rationality of subsequent blockchain network construction.

[0025] Smart wizard technology works closely with low-code or no-code encapsulation to provide enterprise users with a clear, map-based application path. When enterprise users enter the blockchain application module, the wizard function will pop up first, guiding users to gradually enter business-related information with a friendly interface prompt. Then, the wizard will guide users to further refine the configuration, such as adjusting the number of nodes according to the estimated business volume, setting the privacy level of the data (determining the degree of encryption and access rights of the data on the chain), etc. Each step of the operation is accompanied by a detailed explanation to inform users of the role of the current configuration items and their impact on the business, ensuring that users make reasonable choices based on full understanding. Through smart wizard technology, the blockchain resources applied by enterprise users can more accurately meet their own business needs. It avoids the waste or shortage of resources caused by users blindly configuring resources, so that when enterprises obtain blockchain services, they can not only meet the requirements of business development for blockchain performance and functions, but also reasonably control costs.

[0026] Furthermore, the packaging and visualization of the deployment and configuration of Hyperledger Fabric using low-code or no-code technology includes the following steps: S1. Business scenario analysis and template creation: A professional team is formed to conduct in-depth research on the business conditions, data characteristics and blockchain application pain points in different fields of the transportation industry. Based on the comprehensive information collected, the application scenarios are classified according to multiple factors, and then the corresponding Hyperledger Fabric blockchain resource configuration templates are designed for various typical scenarios. This provides a framework foundation that fits the actual transportation business for subsequent packaging. For example, scenarios such as logistics and transportation, and intelligent transportation management have customized templates with their own functional focus.

[0027] S2. Technical abstraction and component encapsulation: Technical experts carefully disassemble the technical points related to the deployment and configuration of Hyperledger Fabric, clarify the role and impact of each point in different transportation business scenarios, and then abstract and integrate these technical details based on function and business relevance, and transform them into visual operation components with clear instructions and prompts. Aspects such as node creation, ledger storage, and smart contracts are formed into components that are easy for users in the transportation industry to operate.

[0028] S3. Visual interface design and interaction optimization: Design the visual operation interface according to the enterprise user's operating habits and business understanding logic, reasonably arrange various visual components to match the business process, and focus on optimizing the interactive experience when users operate components to achieve instant operation response. It can display the configuration impact in real time and give prompts for errors to ensure smooth and accurate user operations.

[0029] S4. Integration with smart wizard technology and verification and improvement: Deeply integrate the smart wizard technology with the designed visualization interface, so that it automatically starts when the user enters the module and guides the resource application process according to the selected transportation business field, cooperates with the visualization component to recommend configuration, explain the meaning and impact, and then invites various users in the transportation industry to try it out. Based on the feedback, it repeatedly verifies and optimizes each link. Through iteration, the encapsulation and visualization content are more in line with actual needs, reducing the difficulty of technology application and improving resource application efficiency.

[0030] Furthermore, in step S4, the deep integration of the smart guide technology with the designed visual interface includes: Integration start at the functional interaction level: When the user enters the relevant visual interface of the blockchain application, the smart wizard technology automatically starts, first asking the user about the specific business field of the transportation industry, such as logistics and transportation, intelligent traffic management, etc. Then, according to the user's reply, the corresponding business process template is matched, and the user is guided to enter the matching configuration section in the visual interface, allowing the user to quickly locate the place that meets their own business needs. Then, when the user operates the configuration options, the smart wizard combines the business field and the existing configuration, and gives the recommended configuration of each option in real time, and explains in detail the meaning of the parameters and the impact of the modification, to assist the user in making configuration decisions.

[0031] Integration of data sharing and real-time update: First, the smart wizard technology and the visual interface establish a real-time data sharing channel to ensure that information between the two parties can be communicated and transmitted, laying the foundation for collaborative work. Subsequently, when the user modifies the configuration in the visual interface, the corresponding information will be transmitted to the smart wizard, which will re-evaluate the rationality of resource configuration, give optimization suggestions and prompt to adjust other configurations synchronously; conversely, when the smart wizard updates the recommended strategy, it will also be synchronized to the visual interface in real time. In addition, the smart wizard uses shared data to feedback the operation status and progress, and displays it to the user through a progress bar, etc. In case of abnormal situations, a warning box will pop up to point out the problem and provide a solution, which will help the configuration work proceed smoothly.

[0032] Integration and optimization of interface presentation and user experience: In this process, the smart wizard integrates the guidance prompt information into the visual interface. For example, when the user hovers the mouse over the component, a prompt box containing functions, examples and suggestions pops up, and dynamic arrows are used to highlight the next operation area during multi-step configuration, improving the convenience and fluency of operation. At the same time, the system provides personalized customization functions, and users can customize the guidance style and prompt information display method of the smart wizard according to their own habits and preferences. Moreover, considering the internationalization needs, the integrated system has multi-language support functions, which can present the corresponding language content according to the user's region or system language settings, making it convenient for users in the global transportation industry to complete the blockchain resource application configuration work.

[0033] Furthermore, the blockchain resources include infrastructure configuration and the number of blockchain nodes. The infrastructure configuration includes servers, storage devices, operating systems, database systems, middleware and related integration; the number of blockchain nodes is determined by the business scale and business distribution range. The business scale includes data volume and transaction frequency; the business distribution range includes the geographical area span and the distribution of participating entities.

[0034] In this embodiment, the blockchain resources applied for by the enterprise user include infrastructure configuration and the number of blockchain nodes, as follows: (1) Infrastructure configuration: Server type and specifications: When applying blockchain technology in the transportation industry, the choice of server type and specifications in the infrastructure configuration is crucial. Depending on business needs, general-purpose servers or professional servers optimized for blockchain applications will be selected. For example, for nodes that are responsible for a large amount of real-time traffic data processing and frequent transaction verification, such as processing data interactions between traffic management departments and many transportation companies, it is often necessary to configure servers with multi-core high-performance CPUs, large-capacity memory, and high-speed disk storage (using solid-state drive arrays to ensure read and write speeds) to meet the requirements of fast computing and data storage. For some auxiliary nodes that are mainly responsible for relatively low-frequency operations such as data backup and historical data storage, general-purpose servers with slightly lower configurations can be selected to reasonably control costs while ensuring the stability of the overall system.

[0035] Selection of storage devices: The configuration of storage devices should fully consider the characteristics and scale of traffic business data. As the core storage content of the blockchain, the ledger data stores various types of information such as vehicle driving trajectories, logistics transportation records, and traffic violation details, and requires a large-capacity and reliable storage medium. Disk array (RAID) technology can be used to balance storage capacity expansion and data redundancy backup through different RAID levels (such as RAID 5, RAID 6, etc.) to ensure that the ledger data can still be fully restored in the event of partial disk failure. In addition, for some real-time traffic data that requires a quick response, such as current road conditions, real-time vehicle location, etc., it will also be equipped with high-speed cache devices (such as memory cache, solid-state drive cache, etc.) to improve data access speed and optimize the user experience of obtaining traffic information.

[0036] Network equipment configuration: The blockchain network in the transportation industry requires a stable and efficient network connection, so the configuration of network equipment in the infrastructure cannot be ignored. As a key device for data exchange between nodes, switches should select models with appropriate port numbers and bandwidth support based on the number of nodes and the expected data traffic. For example, switches that support Gigabit or even 10 Gigabit Ethernet ports should be selected to ensure smooth data transmission between nodes. At the same time, in order to enhance the reliability of the network, redundant network links and spare network equipment will be configured to prevent the entire blockchain network from being interrupted due to a single point of failure, especially in scenarios with extremely high requirements for network continuity, such as data sharing between transportation hubs and cross-regional logistics and transportation data transmission, to ensure that the network always remains available.

[0037] Operating system selection: The selection of operating system needs to comprehensively consider the compatibility with blockchain platforms such as Hyperledger Fabric and the support capabilities for transportation business applications. Common operating systems such as Ubuntu and CentOS in the Linux operating system family are widely used in blockchain infrastructure configuration because they are open source, stable and have rich community support. The Ubuntu operating system excels in ease of use and is suitable for development and testing environments; CentOS is often used for blockchain node deployment in production environments due to its high stability and security, providing a stable operating foundation for various blockchain applications in the transportation industry, ensuring that business software such as intelligent transportation payment systems and logistics supply chain management platforms can run reliably.

[0038] Selection of database system: Databases are mainly used in blockchain infrastructure to assist in the storage of some index data, status data, etc., in order to improve data query and retrieval efficiency. Depending on the structure and usage of traffic business data, relational databases (such as MySQL, PostgreSQL, etc.) or non-relational databases (such as MongoDB, Redis, etc.) can be selected. For example, for storing highly relational data such as structured user information of traffic management departments and qualification data of transportation companies, MySQL can take advantage of its mature relational model and powerful SQL query function; while for scenarios such as caching real-time traffic data and quickly recording vehicle dynamic information, Redis's high-performance key-value pair storage and fast read and write characteristics are more suitable. By reasonably matching different types of database systems, the data management capabilities of the entire blockchain infrastructure can be optimized.

[0039] Integration of middleware and related tools: In order to better integrate blockchain with existing systems in the transportation industry and improve the overall performance of the system, various types of middleware and related tools will be introduced in the infrastructure configuration. For example, message queue middleware (such as RabbitMQ, Kafka, etc.) can be used to process the asynchronous transmission of traffic data between different modules and nodes, ensuring that data can flow in an orderly manner under high concurrency conditions and avoiding data loss or blocking; monitoring tools (such as Prometheus, Grafana, etc.) can monitor the operating status of each component of the infrastructure in real time, including key indicators such as the server's CPU usage, memory usage, and network bandwidth consumption. Once an abnormal situation occurs, it will issue an alarm in time, making it convenient for operation and maintenance personnel to quickly locate and solve the problem, ensuring the stable and efficient operation of the entire blockchain infrastructure, and meeting the complex and changing business needs of the transportation industry.

[0040] (2) Number of blockchain nodes: Determined according to the scale of transportation business: Data volume factor: In the transportation industry, the amount of data generated by different business scenarios varies greatly, which is one of the important considerations for determining the number of blockchain nodes. For example, in the intelligent traffic management system of large cities, a large amount of vehicle driving data, intersection monitoring data, and traffic violation records are generated every day. In order to ensure that this data can be processed and stored in a timely and efficient manner, more blockchain nodes are required to share the data load. Generally speaking, the larger the estimated amount of data, the more nodes need to be configured. By reasonably increasing the number of nodes, the data is stored and processed in a decentralized manner, avoiding performance bottlenecks in a single node due to data overload, and ensuring that traffic business data can be smoothly uploaded, stored, and queried.

[0041] Impact of transaction frequency: The transaction frequency involved in transportation business also has a significant impact on the number of blockchain nodes. Taking the field of transportation payment as an example, during peak hours, such as morning and evening peaks on weekdays, a large number of payment transactions will occur in scenarios such as buses, subways, and highway toll stations, and these transaction information needs to be quickly verified and recorded in the blockchain ledger. At this time, more nodes can process transaction requests in parallel, improve transaction processing throughput, shorten transaction confirmation time, and improve user payment experience. On the contrary, if the number of nodes is insufficient, it is easy to cause transactions to queue up, delays, or even transaction failures under high transaction frequencies, affecting the normal operation of the entire transportation payment system.

[0042] Consider the layout of transportation business coverage: Geographical span: When transportation business involves cross-regional or even nationwide operations, the distribution and number of blockchain nodes need to be reasonably planned according to the geographical span. For example, in logistics supply chain management, cargo transportation may span multiple provinces, cities, or even different countries. In order to ensure real-time synchronization and efficient interaction of transportation data between different regions, it is necessary to deploy corresponding blockchain nodes in various important logistics node cities, transportation hubs, etc. to form a widely covered network. In this way, no matter where the goods are in transit, relevant data (such as cargo location, status changes, etc.) can be uploaded to the nearest node in a timely manner, and then synchronized to other relevant nodes through the blockchain network, so that all participants can grasp the cargo transportation situation in real time and ensure the smooth progress of logistics transportation.

[0043] Distribution of participants: The transportation industry involves many different types of participants, such as transportation management departments, transportation companies, vehicle drivers, passengers, etc. The distribution of these entities in geographic space also affects the setting of the number of blockchain nodes. For example, in an urban public transportation blockchain application jointly constructed by multiple bus companies and transportation management departments, it is necessary to reasonably set up nodes in different areas based on the coverage of the operating routes of each bus company and the distribution of the jurisdiction of the transportation management department, so that each participant can easily access the blockchain network, upload or obtain relevant traffic data (such as the real-time location of buses, passenger flow statistics, etc.), realize data sharing and collaborative office, and improve the operational efficiency and service quality of urban public transportation.

[0044] The blockchain configuration module is used to obtain an application form for blockchain resources applied for by enterprise users and allocate corresponding infrastructure resources to users. After the allocation, the program automatically generates blockchain network node information according to the number of nodes applied for by the user and calibrates and matches it with the infrastructure resources to complete the deployment of the blockchain pre-resource configuration list; In this embodiment, when the enterprise user submits the blockchain resource application form, the blockchain configuration module starts to operate. When allocating infrastructure resources based on the enterprise user's blockchain resource application form, big data analysis technology is used to deeply analyze the key information such as the transportation business field, business scale estimation, and business coverage covered in the application form, and accurately understand the characteristics of enterprise needs. At the same time, with the help of intelligent algorithms, suitable hardware (such as servers, storage devices, network devices, etc.) and software (such as operating systems, database systems, middleware, etc.) resources are quickly screened and matched from the resource pool to ensure the scientificity and rationality of allocation, and to the greatest extent possible meet the actual requirements of transportation business. Big data analysis technology first collects and integrates data, and aggregates information such as the transportation business field, business scale estimation, and business coverage in the application form into a structured data set. Then, through feature extraction and association analysis, key contents such as business focus, data volume characteristics, and geographical area characteristics are extracted, and the connections between them are explored to fully grasp the resource demand situation. Demand forecasting and pattern recognition are also used to refer to historical cases and industry trends to predict future demand, and match similar successful models to plan scientific and reasonable resource allocation. In terms of intelligent algorithms, rule-based reasoning algorithms filter resources according to preset rules. For example, when cross-regional logistics transportation and the order volume reaches a certain standard, high-performance servers and other hardware and adapter software are matched according to the rules. Optimization algorithms such as genetic algorithms regard resource allocation plans as "individuals", which evolve continuously through operations such as selection, crossover, and mutation, and are evaluated by fitness functions. Multiple rounds of iterations are used to find the optimal balance of resource combinations in terms of cost, performance, and other aspects. In machine learning classification and clustering algorithms, classification algorithms classify enterprises into different business categories corresponding to specific resource models based on characteristics, while clustering algorithms aggregate enterprises with similar needs and summarize general configuration templates to speed up matching and improve accuracy. The two work together to accurately and efficiently allocate infrastructure resources that meet the actual business needs of enterprise users in the transportation industry, ensuring the implementation of blockchain applications.

[0045] In the subsequent process of generating blockchain network node information and calibrating the matching according to the number of nodes applied by the user, we rely on automated script technology and model verification algorithms to ensure the efficiency and accuracy of the process. The automated script automatically generates detailed node information according to preset rules, combined with the characteristics of allocated resources and the best practices of the transportation industry, covering key contents such as node type, configuration parameters, and network topology location. The model verification algorithm will conduct multiple rounds of detection. On the one hand, it uses resource load balancing technology to ensure the reasonable utilization of resources at each node and avoid idle or overloaded resources; on the other hand, it uses a compatibility detection mechanism to ensure that node information and infrastructure are perfectly compatible and coordinated in terms of operating systems, network communications, etc. Through the comprehensive use of these technical means, the deployment of the blockchain pre-resource configuration list is rigorously completed, laying a solid foundation for the success of the subsequent blockchain network and helping the transportation industry to better leverage the advantages of blockchain technology.

[0046] The blockchain deployment module is used to manually activate and trigger the automatic deployment of the blockchain after completing the configuration list setting. The application completes the scheduling of the deployment of blockchain-related components based on the configuration list according to the preprocessing script; In this embodiment, the blockchain deployment module is in a critical execution stage in the entire blockchain system construction process, and it is closely linked to the previous configuration list setting link. After the configuration list is set, it is necessary to manually activate this operation to trigger the blockchain's automated deployment process. This manual trigger mechanism is designed to ensure that the deployment process is started after human confirmation and at the right time, increasing the controllability and security of the overall deployment.

[0047] Once triggered, the application begins to play a core role. It will work in an orderly manner according to the pre-written pre-processing scripts. These pre-processing scripts are like a detailed "construction blueprint", which covers key information such as the specific steps, parameter configuration, and sequence of deployment for different blockchain components. In addition, the application will operate strictly based on the requirements specified in the configuration list. The configuration list is like a "compass" to guide the entire deployment and scheduling work, clarifying important contents such as which blockchain-related components need to be deployed (such as the various node modules, smart contract modules and supporting network service modules in Hyperledger Fabric), the resource allocation required for each component (including specific settings such as computing resources and storage resources), and the association logic between components.

[0048] Based on such a mechanism, the application can accurately complete the scheduling of the deployment of blockchain-related components. For example, it can first deploy each node module to the corresponding server in a predetermined order, and reasonably allocate the corresponding CPU, memory and other computing resources and storage capacity to ensure that the node can run stably; then deploy the smart contract module, and configure the contract parameters according to business needs so that it can play a role in the blockchain network accurately; finally, coordinate the network service module to ensure that each component can achieve efficient and secure data interaction, thereby realizing the process of building the entire blockchain network from scratch and in an orderly manner, laying a solid foundation for the smooth development of subsequent transportation industry-related businesses on the blockchain platform.

[0049] Furthermore, the preprocessing script is configured as an Ansible script, and the Ansible script schedules each machine in the host cluster according to the configuration list, and deploys each component of the blockchain in the cluster using Docker containerization technology according to the proximity principle, thereby completing the distributed cluster deployment of the blockchain.

[0050] In this embodiment, the Ansible script is presented in YAML format, and each machine in the host cluster is accurately scheduled according to the configuration list. The configuration list records the key information related to the host and the role of each host in the blockchain distributed cluster in detail. It sends corresponding deployment instructions to different hosts accordingly to ensure that each machine participates in the construction of the blockchain network in a collaborative manner. It is of great significance to follow the principle of proximity during deployment. The physical location, network connection and resource load of the host will be comprehensively considered, and the various components of the blockchain will be reasonably allocated to the "nearest" machine. In the application of the transportation industry, it can optimize resource utilization and improve data transmission efficiency in logistics supply chain scenarios, so that related components can be deployed on more suitable hosts to adapt to business needs. At the same time, with the help of Docker containerization technology, the various components of the blockchain are encapsulated into independent containers. The container comes with a complete operating environment and has good flexibility, portability and isolation. This not only simplifies the deployment process under different host environments, reduces compatibility issues, but also ensures that the components can run stably no matter which host they are deployed on. Through the organic combination of Ansible scripts, the proximity principle and Docker containerization technology, the host cluster is scheduled and components are deployed in an orderly manner according to the configuration list, and the blockchain distributed cluster deployment is finally successfully completed, providing reliable and efficient technical support for the transportation industry.

[0051] Furthermore, the blockchain deployment module monitors the cluster's infrastructure and containers in real time from all angles, and issues timely alarms when network or equipment failures occur.

[0052] In this embodiment, the function of the blockchain deployment module is not limited to completing the deployment of the blockchain distributed cluster, but also shoulders the important responsibility of multi-faceted real-time monitoring of the cluster's infrastructure and containers. During the operation of the cluster, it starts with a number of key dimensions to conduct comprehensive monitoring. For the infrastructure, it will pay close attention to the core indicators of the server, such as CPU usage, memory usage, disk I / O read and write speed, and network bandwidth consumption, to determine whether the server is in a healthy operating state and whether it can bear the load pressure generated by the blockchain business. At the same time, network-related parameters such as the connectivity of network devices, network delay, and packet loss rate are also tracked in real time to ensure smooth data interaction between nodes and with external systems.

[0053] At the container level, the blockchain deployment module focuses on monitoring the running status of the container, including whether the container is started normally, whether there is excessive resource occupation (such as memory leaks, long-term high CPU load, etc.), the response time of the application in the container, and whether the communication with other containers is normal. Through this multi-faceted real-time monitoring, it is like building a strict "monitoring network" for the entire blockchain cluster, and any subtle abnormalities can be detected in time.

[0054] Once abnormal conditions such as network failure or equipment failure are detected, such as a sudden network connection interruption on a server, a surge in the CPU usage of a key device to an abnormal threshold, or the inability of containers to communicate normally, the blockchain deployment module will immediately trigger an alarm mechanism. The alarm information will be promptly conveyed to the operation and maintenance personnel in a variety of ways, such as sending text messages, pushing emails, or popping up a striking alarm prompt box on the operation and maintenance management platform, so that the operation and maintenance personnel can know the problem at the first time and quickly take corresponding countermeasures to minimize the impact of the failure on the normal operation of the blockchain business, and ensure that the various businesses carried out by the transportation industry based on blockchain technology can continue to operate stably.

[0055] Furthermore, the real-time monitoring of the cluster infrastructure and containers in all aspects and timely alarming when network failure or equipment failure occurs include the following steps: T1. Determine monitoring indicators and configure monitoring tools: First, we need to determine the monitoring indicators and configure the monitoring tools, which is the basis of the entire monitoring and alarm process. For the cluster infrastructure, it is necessary to clarify hardware-related indicators such as the server's CPU usage, memory usage, disk I / O read and write speed, and network bandwidth utilization, as well as network indicators such as the connectivity, latency, and packet loss rate of network devices; for containers, we need to focus on indicators such as their operating status, internal resource usage, application response time, and communication status between containers to build a comprehensive indicator system. At the same time, choose the right monitoring tools, such as using Prometheus to collect data at a certain time interval, using Grafana to intuitively display data, and then combining AlertManager for subsequent alarm triggering. Through reasonable configuration, let them work together to facilitate the understanding of the cluster operation status.

[0056] T2. Establish data collection and storage mechanism: The focus of this step is to establish a data collection and storage mechanism to ensure the accurate collection and proper preservation of monitoring data. The corresponding data collection client should be deployed on each node server in the cluster and the host where the container is located, such as deploying Node Exporter on the server and cAdvisor on the container environment. They are responsible for collecting and reporting the indicator data of the corresponding host or container in the specified format to ensure the reliability of the data source. In addition, the storage backend of Prometheus should be set according to business needs and the amount of data, and the data persistence storage method should be determined. At the same time, the data retention period should be planned to meet the needs of subsequent troubleshooting and reasonably control the storage resource usage.

[0057] T3. Set alarm thresholds and rules: Setting alarm thresholds and rules is the key to accurately triggering alarms. It is necessary to first analyze the monitoring data accumulated from past cluster operations, and combine the experience of normal operation of blockchain applications in the transportation industry to determine reasonable alarm thresholds for each monitoring indicator. For example, it is stipulated that an alarm will be triggered when the server CPU usage exceeds a certain proportion for a certain period of time, so that the threshold can effectively reflect the hidden dangers of failure and avoid false alarms. Then, write detailed alarm rules in AlertManager to clarify the trigger conditions and alarm levels corresponding to different fault scenarios, and formulate suppression, aggregation and other rules to distinguish the severity of faults, avoid repeated alarms, and enable operation and maintenance personnel to quickly locate key problems.

[0058] T4. Real-time monitoring, alarm triggering and notification: This step revolves around real-time monitoring, alarm triggering, and notification to ensure timely response to failures. The monitoring tool continuously collects indicator data of infrastructure and containers at a set frequency, and updates and displays it in real time on Grafana, so that operation and maintenance personnel can intuitively view the real-time status of the cluster and indicator change trends to detect abnormal situations. Once the indicator data exceeds the set threshold, Prometheus will transmit the alarm information to AlertManager. After processing, it will promptly inform the operation and maintenance personnel of the specific location, type, and severity of the fault through notification channels such as SMS, email, and platform prompt boxes, so that the operation and maintenance personnel can quickly take countermeasures to maintain the stable operation of the cluster.

[0059] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.

Claims

1. A blockchain BaaS system based on the transportation industry, characterized by: It includes a blockchain application module, a blockchain configuration module and a blockchain deployment module, wherein the blockchain application module, the blockchain configuration module and the blockchain deployment module are communicatively connected, wherein: The blockchain application module is used to encapsulate and visualize the deployment and configuration of Hyperledger Fabric using low-code or no-code technology, and guide enterprise users to apply for blockchain resources according to business needs through smart wizard technology; The blockchain configuration module is used to obtain an application form for blockchain resources applied for by enterprise users and allocate corresponding infrastructure resources to users. After the allocation, the program automatically generates blockchain network node information according to the number of nodes applied for by the user and calibrates and matches it with the infrastructure resources to complete the deployment of the blockchain pre-resource configuration list; The blockchain deployment module is used to manually activate and trigger the automatic deployment of the blockchain after completing the configuration list setting. The application completes the scheduling of the deployment of blockchain-related components based on the configuration list according to the preprocessing script.

2. According to claim 1, a blockchain BaaS system based on the transportation industry is characterized in that: The packaging and visualization of the deployment and configuration of Hyperledger Fabric using low-code or no-code technology includes the following steps: S1. Business scenario analysis and template creation: Collect business conditions, data characteristics and blockchain application pain points in different fields of the transportation industry, classify application scenarios based on the collected information, and then design corresponding Hyperledger Fabric blockchain resource configuration templates for application scenarios; S2. Technical abstraction and component encapsulation: Disassemble the technical points related to the deployment and configuration of Hyperledger Fabric, clarify the role and impact of each technical point in different transportation business scenarios, and then abstract and integrate these technical details according to the function and business relevance, and transform them into visual operation components with clear instructions and prompts; S3. Visual interface design and interaction optimization: Design a visual operation interface based on the user's operating habits and business understanding logic, lay out various visual components to match the business process, and optimize the user's interactive experience when operating components, achieve instant operation response, display configuration impact in real time, and give prompts for errors; S4. Integration and verification with smart wizard technology: Deeply integrate the smart wizard technology with the designed visual interface, so that it automatically starts when the user enters the module and guides the resource application process according to the selected transportation business field, and repeatedly verifies and optimizes each link based on user feedback.

3. According to claim 2, a blockchain BaaS system based on the transportation industry is characterized in that: In step S4, the deep integration of the smart guide technology with the designed visual interface specifically includes: Integration startup at the functional interaction level: When the user enters the visual interface, the smart wizard automatically starts, guiding the user to enter the appropriate configuration section by asking the business field to match the corresponding template, and providing recommended configurations and parameter descriptions in real time during the configuration operation to assist the user in making decisions; Integration of data sharing and real-time update: The smart wizard and visual interface establish a data sharing channel to achieve two-way synchronization of configuration modification and policy update. At the same time, the operation status and progress are fed back with the help of shared data, and prompts and assists in solving abnormalities in a timely manner; Integration and optimization of interface presentation and user experience: Smart wizard integrates guidance prompts into the visual interface.

4. According to claim 1, a blockchain BaaS system based on the transportation industry is characterized in that: The blockchain resources include infrastructure configuration and the number of blockchain nodes. The infrastructure configuration includes servers, storage devices, operating systems, database systems, middleware and related integration; the number of blockchain nodes is determined by the business scale and business distribution scope. The business scale includes data volume and transaction frequency; the business distribution scope includes geographical area span and distribution of participating entities.

5. According to claim 1, a blockchain BaaS system based on the transportation industry is characterized in that: According to the blockchain resource application form of the enterprise user, the corresponding infrastructure resources are allocated to the user, and the big data analysis technology is specifically used to deeply analyze the transportation business areas, business scale estimates and business coverage covered in the application form; at the same time, with the help of intelligent algorithms, suitable hardware and software resources are quickly screened and matched from the resource pool. The intelligent algorithm is configured as a rule-based reasoning algorithm, genetic algorithm or machine learning classification and clustering algorithm.

6. The blockchain BaaS system based on the transportation industry according to claim 1 is characterized by: The method automatically generates blockchain network node information based on the number of nodes applied for by the user and calibrates and matches it with the infrastructure resources. Specifically, the automated script technology is used to automatically generate detailed node information according to preset rules, combined with the characteristics of allocated resources and the best practices of the transportation industry; and the model verification algorithm is used to calibrate and allocate resources to each node.

7. The blockchain BaaS system based on the transportation industry according to claim 6 is characterized by: The network node information includes node type, configuration parameters and network topology location.

8. The blockchain BaaS system based on the transportation industry according to claim 1 is characterized in that: The preprocessing script is configured as an Ansible script. The Ansible script schedules each machine in the host cluster according to the configuration list, and deploys each component of the blockchain in the cluster using the Docker containerization technology according to the proximity principle, thereby completing the distributed cluster deployment of the blockchain.

9. The blockchain BaaS system based on the transportation industry according to claim 1 is characterized in that: The blockchain deployment module also monitors the cluster's infrastructure and containers in real time from all aspects, and issues timely warnings when network or equipment failures occur, including the following steps: T1. Determine monitoring indicators and configure monitoring tools: Determine the monitoring indicator system for cluster infrastructure and containers, select Prometheus to collect data, Grafana to display data, and AlertManager to trigger alarms, and configure them to work together; T2. Establish a data collection and storage mechanism: deploy collection clients on relevant hosts and hosts to collect and report data, set up the Prometheus storage backend, and determine the storage method and data retention period based on business needs and data volume; T3. Set alarm thresholds and rules: Analyze historical data, set alarm thresholds for each monitoring indicator based on application experience, write rules in AlertManager, clarify fault scenario trigger conditions and alarm levels, and formulate suppression and aggregation rules to avoid repeated alarms; T4. Real-time monitoring, alarm triggering and notification: The monitoring tool collects data at a certain frequency and displays it in real time in Grafana for operation and maintenance personnel to view. When the indicator exceeds the threshold, Prometheus transmits the alarm information to AlertManager, which processes it and notifies the operation and maintenance personnel of the fault details through various channels so that they can take measures.

10. The blockchain BaaS system based on the transportation industry according to claim 9 is characterized in that: In step T1, the monitoring indicators include server hardware and network equipment related indicators and container operation, resource usage and communication status indicators.

Citation Information

Patent Citations

  • Block chain technology service platform capable of rapidly deploying block chain

    CN116841566A

Cited By

  • Coal face system-level fault prediction and structure upgrading method

    CN119966806A