Signal I / O control device based on multi-protocol and data transmission method thereof
By initializing the signal I/O control device, analyzing the protocol characteristics and data features, building a fitness evaluation standard, monitoring the network in real time and triggering the DPPS algorithm switching, and optimizing the transmission strategy, the problem of insufficient transmission performance of existing devices in complex network environments is solved, and efficient and reliable data transmission is achieved.
Patent Information
- Application Number
- CN202411489150.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2044-10-24
AI Technical Summary
Existing signal I/O control devices find it difficult to achieve optimal transmission performance when faced with complex and changing network environments. They lack dynamic adaptability and intelligent protocol selection and processing mechanisms, resulting in insufficient system reliability and efficiency.
Through the multi-protocol-based signal I/O control device, initialization processing, protocol characteristic analysis, data feature analysis and priority division are carried out, a fitness evaluation standard is established, network status is monitored in real time, and the DPPS algorithm is triggered to perform protocol switching. Combined with multiple pre-configured protocol solutions, anomaly detection and two-level anomaly handling are performed to optimize the transmission strategy.
It improves the reliability and efficiency of the system in complex network environments, ensures the timely transmission of important data, enhances the stability and robustness of the system, reduces energy consumption, and has good scalability and flexible adaptability.
Smart Images

Figure CN119363853B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data transmission, and in particular to a multi-protocol based signal I / O control device and a data transmission method thereof. Background Art
[0002] With the rapid development of industrial automation and the Internet of Things (IoT), signal I / O control devices are playing an increasingly important role in complex industrial environments. These devices must support multiple communication protocols to adapt to diverse application scenarios and equipment requirements. However, traditional single-protocol or fixed-protocol configuration methods are no longer able to meet the flexibility, reliability, and efficiency requirements of modern industrial systems.
[0003] In real-world applications, network environments often change dynamically, and different types of data have varying transmission performance requirements. This requires signal I / O control devices to intelligently select protocols and adjust transmission strategies based on real-time network conditions and data characteristics. Furthermore, the complexity and criticality of industrial environments place higher demands on the system's fault tolerance and exception handling mechanisms. Existing multi-protocol support solutions often lack dynamic adaptability, making it difficult to achieve optimal transmission performance in complex and changing network environments. Furthermore, there is a lack of systematic and intelligent solutions for protocol switching, exception handling, and performance optimization. Summary of the Invention
[0004] The present application provides a multi-protocol based signal I / O control device and a data transmission method thereof, which are used to ensure the timely transmission of important data and improve the quality and reliability of data transmission.
[0005] In a first aspect, the present application provides a data transmission method for a multi-protocol signal I / O control device, the data transmission method for a multi-protocol signal I / O control device comprising:
[0006] Initialize the multi-protocol signal I / O control device, obtain device status information and network topology, and select the main controller;
[0007] Performing protocol characteristic analysis and protocol preconfiguration on the communication protocol in the multi-protocol signal I / O control device based on the main controller to obtain multiple preconfigured protocol solutions;
[0008] Perform data feature analysis and priority division on the data to be transmitted to obtain a multi-level priority data structure;
[0009] Constructing a fitness evaluation standard and optimizing the transmission strategy based on the multi-level priority data structure to obtain a target transmission strategy;
[0010] Executing data transmission according to the target transmission strategy and monitoring the network status in real time to obtain network status change information; at the same time, triggering the protocol switching mechanism of the DPPS algorithm based on the network status change information and performing dynamic protocol adjustment through the multiple pre-configured protocol schemes;
[0011] During the data transmission process, anomaly detection is performed to obtain anomaly information, and based on the anomaly information, a two-level anomaly handling mechanism is executed to perform fault recovery and transmission performance evaluation to obtain a transmission performance evaluation report.
[0012] In a second aspect, the present application provides a multi-protocol based signal I / O control device, the multi-protocol based signal I / O control device comprising:
[0013] Initialization module, used to initialize the multi-protocol signal I / O control device, obtain device status information and network topology and select the main controller;
[0014] A pre-configuration module, configured to perform protocol characteristic analysis and protocol pre-configuration on the communication protocol in the multi-protocol signal I / O control device based on the main controller to obtain a plurality of pre-configured protocol solutions;
[0015] Prioritization module, used to analyze data characteristics and prioritize data to be transmitted, and obtain a multi-level priority data structure;
[0016] A transmission strategy optimization module, configured to construct a fitness evaluation standard and optimize the transmission strategy based on the multi-level priority data structure to obtain a target transmission strategy;
[0017] a dynamic protocol adjustment module, configured to execute data transmission according to the target transmission strategy and monitor the network status in real time to obtain network status change information; and, based on the network status change information, trigger the protocol switching mechanism of the DPPS algorithm and perform dynamic protocol adjustment through the multiple pre-configured protocol schemes;
[0018] The transmission performance evaluation module is used to perform anomaly detection during data transmission, obtain anomaly information, and execute a two-level anomaly handling mechanism based on the anomaly information to perform fault recovery and transmission performance evaluation to obtain a transmission performance evaluation report.
[0019] A third aspect of the present application provides a computer device comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the computer device executes the above-mentioned data transmission method of the multi-protocol-based signal I / O control device.
[0020] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned data transmission method of the multi-protocol-based signal I / O control device.
[0021] The technical solution provided in this application effectively adapts to complex and changing network environments by monitoring network conditions in real time and dynamically adjusting transmission strategies. This method improves system reliability and efficiency. Utilizing the DPPS algorithm for protocol switching decisions, combined with multiple preconfigured protocol schemes, it enables intelligent transmission protocol selection and dynamic adjustment. By establishing fitness evaluation criteria and optimizing transmission strategies, it finds the optimal transmission solution under various constraints, significantly improving overall system performance. A two-level exception handling mechanism enables rapid fault response while also conducting in-depth analysis and recovery, significantly enhancing system stability and reliability. Based on multi-protocol support and a dynamic configuration mechanism, this method flexibly adapts to diverse application scenarios and newly added devices, demonstrating excellent scalability. Intelligent scheduling and optimized allocation of network resources improves system resource utilization and reduces energy consumption. Data feature analysis and prioritization ensure the timely transmission of important data, enhancing data transmission quality and reliability. By comprehensively considering factors such as network topology, device performance, and load balancing, the system's robustness in the face of various uncertainties is enhanced. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 This is a schematic diagram of an embodiment of a data transmission method of a signal I / O control device based on a multi-protocol embodiment of the present application;
[0024] Figure 2 This is a schematic diagram of an embodiment of a multi-protocol based signal I / O control device in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The present application embodiment provides a kind of signal I / O control device and data transmission method thereof based on multi-protocol. The term "first", "second", "third", "fourth" etc. (if any) in the specification and claims of the present application and the above-mentioned drawings is used to distinguish similar objects, and is not necessarily used to describe a specific order or precedence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiment described here can be implemented in an order other than the content illustrated or described here. In addition, the term "comprises" or "has" and any variation thereof are intended to cover non-exclusive inclusion, for example, the process, method, system, product or equipment comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0026] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 In one embodiment of the present application, a data transmission method of a multi-protocol signal I / O control device includes:
[0027] Step S101: Initialize the multi-protocol signal I / O control device, obtain device status information and network topology, and select a master controller;
[0028] It is understandable that the execution subject of the present application can be a signal I / O control device based on a multi-protocol, or a terminal or a server, which is not limited here. The embodiment of the present application is described by taking the server as the execution subject as an example.
[0029] Specifically, a device status analysis is performed on all devices in the multi-protocol signal I / O control device to understand the current status of each device, including its operating status and health parameters, and obtain device status information. Based on this device status information, a connectivity test is performed on the communication links between devices to obtain an initial topology. This initial topology displays the connection status between each device. A redundant link analysis is performed on this initial topology to identify and mark potential redundant paths. These redundant paths may be used to improve the network's fault tolerance and stability in the future. This redundant link analysis results in a more optimized and reliable network topology. Based on the network topology, a hardware resource assessment is performed on each device. This includes a comprehensive examination of the device's processing power, storage capacity, and energy status, and a device resource assessment report is generated. Based on this device resource assessment report, a network position weight is calculated for each device to determine its positional importance within the entire network, namely, the device network centrality index. This centrality index reflects a device's position in the network and its potential control capability, providing a reference for selecting a master controller. Based on the device network centrality index and the device resource assessment report, a set of master controller candidates is constructed, and a list of candidate devices is generated. The list contains all devices that could potentially serve as the primary controller, providing a candidate pool for subsequent primary controller selection. The devices in the candidate list are evaluated for their load balancing capabilities. Load balancing capability refers to the device's processing efficiency and stability under varying workloads. This evaluation yields a load balancing coefficient, which represents the device's performance under load. Based on the load balancing coefficient, the device undergoes multiple rounds of simulated load testing to assess its stability and reliability in a real-world operating environment. The test results provide a device stability index. Based on the device stability index and load balancing coefficient, the device is comprehensively scored, reflecting its overall performance and adaptability. Based on the comprehensive scoring results, the device with the highest score is selected as the primary controller.
[0030] Step S102: performing protocol characteristic analysis and protocol pre-configuration on the communication protocol in the multi-protocol signal I / O control device based on the main controller to obtain multiple pre-configured protocol solutions;
[0031] Specifically, the main controller extracts performance parameters for each communication protocol in the multi-protocol signal I / O control device. Key performance indicators, such as data transmission rate, reliability index, real-time coefficient, and applicable scope, are obtained from each protocol. A protocol characteristic matrix is constructed based on these collected parameters. Based on this protocol characteristic matrix, mathematical models are constructed for each communication protocol. This mathematical model accurately describes the performance of each protocol, generating a protocol performance function set. This function set contains a quantitative description of each protocol's performance under different conditions. Based on the protocol performance function set, simulation tests are conducted on each communication protocol under different network conditions. Various complex network environments are simulated to evaluate the adaptability and performance of each protocol. The test results generate a protocol adaptability score table, which records the adaptability score of each protocol in different scenarios. Based on the protocol adaptability score table, cluster analysis is performed on each communication protocol, grouping protocols with similar performance and characteristics into the same protocol family. This simplifies protocol management and improves system efficiency by uniformly processing protocols within the same protocol family. Based on the protocol family classification results, representative protocols are selected to construct the target protocol set. The cluster includes the most representative protocols from each protocol family, guiding actual protocol selection and application. Subsequently, a protocol switching decision tree is constructed based on the target protocol suite and the previously constructed network topology. The purpose of the decision tree is to provide the system with the optimal protocol switching path under different network conditions. This tree structure allows for rapid decision-making regarding which protocol to use when network conditions change, thereby maintaining network stability and efficiency. Simultaneously, an initial protocol switching strategy is generated, encompassing protocol switching rules for both normal and changing network conditions. Based on this initial protocol switching strategy, network communication link protocols are assigned to different network links, and a link-to-protocol mapping table is generated. This mapping table specifies the communication protocol to use for each link, ensuring stable and efficient data transmission. Based on the link-to-protocol mapping table, the entire network is segmented, resulting in a protocol domain partitioning scheme. This scheme divides the network into multiple protocol domains, with communication within each domain controlled by a specific protocol. To ensure seamless data transmission between different protocol domains, protocol conversion rules are designed at the boundaries of each communication protocol domain. These rules enable conversion between different protocols, ensuring compatibility and smooth data transmission across domains. This results in a protocol conversion rule set. Combining the protocol conversion rule set, the link-protocol mapping table, and the initial protocol switching strategy, multiple preconfigured protocol solutions are generated. These solutions include not only the primary communication solution but also multiple backup solutions to address potential changes in network conditions or failures.
[0032] Step S103: Analyze the data characteristics and prioritize the data to be transmitted to obtain a multi-level priority data structure;
[0033] Specifically, the system identifies and categorizes the data types of the data to be transmitted. Based on the data type label set, the system calculates the data volume and obtains data volume distribution statistics to understand the proportion and scale of each data type. Based on the data volume distribution statistics, the system performs timestamp analysis on the data to be transmitted and draws a data generation time series diagram. This diagram illustrates the generation time series of each data type, helping the system understand the data generation patterns and time series characteristics. Based on the data generation time series diagram, the system evaluates the timeliness of each data type and generates a data timeliness score table. This score table quantifies the freshness and timeliness of the data, enabling the system to distinguish between data with high real-time requirements and data that can be transmitted later. Based on the data timeliness score table and the data type label set, a data importance assessment model is constructed, generating an initial data importance matrix. This matrix reflects the relative importance of each data type in transmission. Data dependency analysis is performed on the data to be transmitted. By constructing a data dependency graph to reveal the associations and dependencies between data, the initial data importance matrix is modified to obtain the target data importance matrix. Based on the target data importance matrix, a multi-level priority threshold is designed to generate a prioritization standard. Based on this prioritization standard, the data to be transmitted is prioritized, generating preliminary priority classification results. The data is then divided into multiple priority levels, ensuring that high-priority data receives preferential access to network resources. Based on the preliminary priority classification results and current network resource information, dynamic priority adjustment is performed to create a multi-level priority data structure. This dynamic priority adjustment not only considers the inherent characteristics of the data but also fully adapts to the actual network resource situation, ensuring real-time and reliable data transmission while maintaining transmission efficiency.
[0034] Step S104: construct a fitness evaluation standard and optimize the transmission strategy based on the multi-level priority data structure to obtain a target transmission strategy;
[0035] Specifically, a network topology complexity analysis is performed to obtain a network complexity index. The network complexity index reflects the complexity of the network topology. Based on the network complexity index and a multi-level priority data structure, an initial fitness assessment model is constructed. This model preliminarily determines fitness assessment criteria under different network conditions and data priorities. Based on the initial fitness assessment model, the bandwidth utilization of each communication link in the network is calculated to obtain a link bandwidth utilization matrix. This matrix shows the bandwidth usage of each link during transmission. Based on the link bandwidth utilization matrix, the load balance of each node in the network is evaluated to obtain a node load balance index. This index quantifies the degree of load balance at each node when processing transmission tasks, helping to identify potential bottleneck nodes. After obtaining the node load balance index, the network's energy efficiency coefficient is calculated based on this index and the multi-level priority data structure, resulting in an energy consumption evaluation graph. The energy consumption evaluation graph reveals the energy consumption of each node and link under different transmission tasks. Based on the energy consumption evaluation graph, the initial fitness assessment model is modified to obtain the fitness assessment criteria. The revised fitness evaluation criteria comprehensively consider multiple factors, including network complexity, node load balancing, and energy efficiency, to ensure the comprehensiveness and efficiency of the transmission strategy. A transmission strategy optimization objective function is constructed based on the revised fitness evaluation criteria. This objective function is used to quantify and optimize the fitness of the transmission strategy under different network conditions. Based on the transmission strategy optimization objective function, the transmission path and protocol selection are iteratively optimized to obtain a set of candidate transmission strategies. During each iteration, the transmission strategy is gradually optimized by continuously adjusting the transmission path and protocol selection to achieve optimal transmission performance and efficiency. The optimal transmission strategy is selected from the set of candidate transmission strategies. By comprehensively evaluating the performance of each candidate transmission strategy under the fitness evaluation criteria, the optimal transmission strategy is selected to obtain the target transmission strategy.
[0036] Step S105: Execute data transmission according to the target transmission strategy and monitor the network status in real time to obtain network status change information. At the same time, trigger the protocol switching mechanism of the DPPS algorithm based on the network status change information and perform dynamic protocol adjustment through multiple pre-configured protocol solutions;
[0037] Specifically, packet routing calculations are performed based on the target transmission strategy to generate an initial routing table. This initial routing table is used to determine the transmission path of the packet within the network. Based on the initial routing table, the packet is encapsulated into a protocol data unit (PDU). While transmitting these PDUs, network status monitoring is simultaneously initiated to obtain real-time network status data streams. Network performance indicators are calculated in real time using the real-time network status data streams to generate a performance indicator matrix, including parameters such as bandwidth utilization, latency, and packet loss rate. Time series analysis is performed based on the performance indicator matrix to obtain network status change information. This information displays network status changes at different times. A network status change trend graph is then generated to visualize these trends. Based on this trend graph, status change thresholds are set. These thresholds represent key points of network status changes or trigger conditions for abnormal conditions. Subsequently, trigger conditions for the DPPS algorithm are created based on the status change thresholds to determine when protocol switching should be triggered to ensure stable and optimized network performance. As real-time monitoring continues, the network status is evaluated in real time based on the DPPS algorithm trigger conditions. When the network status meets the set trigger conditions, the DPPS algorithm is activated, generating a protocol switching signal. The protocol switching signal is a key instruction for the system to adjust the protocol, indicating the need to select the most appropriate solution from multiple pre-configured protocol solutions. Based on the protocol switching signal, the solution is matched and the optimal switching solution is selected. The optimal solution not only considers the current network status but also possible future changes, ensuring that the network maintains good performance after the switch. Dynamic switching of communication protocols is performed based on the optimal switching solution. The switching process involves adjusting the protocol stack and reconfiguring network parameters to obtain an updated protocol configuration. The new protocol configuration can better adapt to the current network conditions and data transmission requirements, improving the overall performance and reliability of the network. Based on the updated protocol configuration, the data packet route is recalculated and the target routing table is generated. The new routing table guides the subsequent selection of data transmission paths, ensuring that data is transmitted through the network in the optimal manner.
[0038] Step S106: perform anomaly detection during data transmission to obtain anomaly information, and execute a two-level anomaly handling mechanism based on the anomaly information to perform fault recovery and transmission performance evaluation to obtain a transmission performance evaluation report.
[0039] Specifically, network traffic is monitored in real time during data transmission to generate time series data. This time series data is analyzed to detect anomalies, identify possible abnormal events, and generate a preliminary anomaly signature sequence. Pattern matching is performed based on this preliminary anomaly signature sequence to identify the specific anomaly type. Anomaly type identification results are obtained using a predefined anomaly pattern library or machine learning model. Based on these results, the severity of the anomaly is assessed, generating an anomaly classification table. Based on the anomaly classification table, a two-level anomaly handling mechanism is initiated. The first level, rapid response, is implemented to quickly mitigate the anomaly and perform preliminary network repairs. A preliminary fault recovery plan is developed and the network is rapidly adjusted to ensure that basic network functions are restored as quickly as possible. Rapid response includes adjusting routing, switching protocols, or temporarily shutting down unnecessary network services to stabilize the network. Simultaneously, the second level, in-depth analysis, is triggered to conduct a more detailed analysis of the anomaly. This involves collecting additional network data, thoroughly examining device status and operation logs, and generating an anomaly cause analysis report. Based on the anomaly cause analysis report, a fault recovery plan is developed. This fault recovery plan aims to thoroughly address the root cause of the anomaly and may include a comprehensive network inspection, equipment repairs, and even hardware replacement. According to this solution, network reconstruction and protocol reconfiguration were performed to not only restore the network to normal but also improve its overall robustness and adaptability, preventing the recurrence of similar issues. After the network reconstruction and protocol reconfiguration were completed, performance testing of the restored network was conducted to verify the effectiveness of the repairs and ensure that the network's performance met the expected standards. These tests generated a transmission performance dataset, including key performance indicators such as latency, bandwidth utilization, and packet loss rate. Based on this data, trend analysis and predictive modeling were performed to analyze network performance under different conditions and predict potential future trends. All analysis and test results were compiled into a transmission performance evaluation report. This report summarized the effectiveness of the exception handling and the current network performance, and provided potential optimization directions and recommendations for future improvements.
[0040] In the embodiments of this application, by monitoring network conditions in real time and dynamically adjusting transmission strategies, this method can effectively adapt to complex and changing network environments, improving system reliability and efficiency. The DPPS algorithm is used to make protocol switching decisions, combined with multiple pre-configured protocol schemes, to achieve intelligent transmission protocol selection and dynamic adjustment. By establishing fitness evaluation criteria and optimizing transmission strategies, the optimal transmission scheme can be found under various constraints, significantly improving overall system performance. A two-level exception handling mechanism enables rapid response to faults while also conducting in-depth analysis and recovery, significantly enhancing system stability and reliability. Based on multi-protocol support and a dynamic configuration mechanism, this method can flexibly adapt to diverse application scenarios and newly added devices, demonstrating excellent scalability. Intelligent scheduling and optimized allocation of network resources improves system resource utilization and reduces energy consumption. Data feature analysis and prioritization ensure the timely transmission of important data, enhancing data transmission quality and reliability. By comprehensively considering factors such as network topology, device performance, and load balancing, the system's robustness in the face of various uncertainties is enhanced.
[0041] In a specific embodiment, the process of executing step S101 may specifically include the following steps:
[0042] (1) Analyze the device status of all devices in the multi-protocol signal I / O control device to obtain device status information;
[0043] (2) Based on the device status information, the connectivity test of the communication links between devices is performed to obtain the initial topology structure, and the redundant link analysis of the initial topology structure is performed to obtain the network topology structure;
[0044] (3) Based on the network topology, the hardware resources of each device are evaluated to obtain a device resource evaluation report including processing power, storage capacity, and energy status. Based on the device resource evaluation report, the network position weight of each device is calculated to obtain the device network centrality index;
[0045] (4) Based on the device network centrality index and device resource evaluation report, a master controller candidate set is constructed and a candidate device list is generated;
[0046] (5) Evaluate the load balancing capability of the devices in the candidate device list to obtain a load balancing coefficient, and based on the load balancing coefficient, perform multiple rounds of simulated load tests on the devices to obtain a device stability index;
[0047] (6) Based on the device stability index and load balancing coefficient, the devices are comprehensively scored to obtain the main controller selection score. Based on the main controller selection score, the device with the highest score is selected as the main controller.
[0048] Specifically, the operating parameters and status information of each device are collected. This information includes the current working status of the device, historical fault records, hardware health status, etc. This data is obtained using a status monitoring system to obtain device status information. Based on the device status information, the communication links between devices are tested for connectivity to determine the connection status between each device, including the bandwidth, latency, and reliability of the link. The test results form an initial topology structure, which shows the connection method of all devices and links. There may be multiple redundant links in the initial topology structure. These redundant links provide backup paths in the event of network failure. The initial topology structure is analyzed for redundant links to identify redundant links and optimize their configuration to obtain the optimized network topology structure. Based on the network topology structure, the hardware resources of each device are evaluated. The hardware resource evaluation includes measuring the processing power, storage capacity, and energy status of the device. These evaluation data form a device resource evaluation report, which records the resource configuration and usage of each device. Based on the device resource evaluation report, the network position weight is calculated for each device to obtain the device network centrality index. The device network centrality index represents the relative importance of the device in the network and can be calculated using the following formula:
[0049]
[0050] Among them, CI i is the centrality index of device i, n is the total number of devices in the network, d i j is the shortest path distance between device i and device j. This formula evaluates the importance of a device's position in the network by calculating the average shortest path length between device i and other devices. Devices with a high device network centrality index have a more important position in the network and may be suitable as master controllers. Based on the device network centrality index and the device resource evaluation report, a set of master controller candidates is constructed and a list of candidate devices is generated. The list includes all devices with a high centrality index and good hardware resources. The devices in the candidate device list are evaluated for load balancing capabilities, measuring the efficiency and balance of the devices in processing data traffic to obtain the load balancing coefficient. The load balancing coefficient can be expressed by the following formula:
[0051]
[0052] Among them, LB i is the load balancing coefficient of device i, d jis the data processing capacity of device j, and n is the total number of devices. This formula evaluates the load processing capacity of a device by calculating the imbalance of load distribution among devices. Based on the load balancing coefficient, multiple rounds of simulated load tests are performed on the device to test the stability and performance of the device under different load conditions to obtain the device stability index. Based on the device stability index and the load balancing coefficient, the device is comprehensively scored to obtain the main controller selection score. The comprehensive score takes into account the importance of the device's network location, hardware resources, load balancing capabilities, and stability performance. Based on the main controller selection score, the device with the highest score is selected as the main controller. The device plays a core role in the multi-protocol signal I / O control device, responsible for coordinating and managing data transmission and control operations across the entire network.
[0053] In a specific embodiment, the process of executing step S102 may specifically include the following steps:
[0054] (1) Extracting performance parameters of each communication protocol in the multi-protocol signal I / O control device based on the main controller to obtain a protocol characteristic matrix including data transmission rate, reliability index, real-time coefficient and applicable scope;
[0055] (2) Based on the protocol characteristic matrix, mathematical modeling is performed on each communication protocol to obtain a protocol performance function set. Based on the protocol performance function set, simulation tests are performed on each communication protocol under different network conditions to obtain a protocol adaptability score table;
[0056] (3) According to the protocol adaptability score table, cluster analysis is performed on each communication protocol to obtain the protocol family division results. Based on the protocol family division results, representative protocols are selected from each communication protocol family to obtain the target protocol set;
[0057] (4) Based on the target protocol set and network topology, a protocol switching decision tree is constructed and an initial protocol switching strategy is generated. At the same time, network communication link protocols are assigned based on the initial protocol switching strategy to obtain a link-protocol mapping table;
[0058] (5) Based on the link-protocol mapping table, the network is segmented to obtain a protocol domain division scheme. Based on the protocol domain division scheme, protocol conversion rules are designed for the boundaries of each communication protocol domain to obtain a protocol conversion rule set;
[0059] (6) Based on the protocol conversion rule set, the link-protocol mapping table, and the initial protocol switching strategy, multiple sets of pre-configured protocol solutions are generated. The multiple sets of pre-configured protocol solutions include a main solution and multiple alternative solutions.
[0060] Specifically, the key performance indicators of each protocol are measured and recorded. These indicators include data transmission rate, reliability index, real-time coefficient and scope of application. The data transmission rate represents the amount of data that each protocol can transmit per unit time and is a key parameter for evaluating protocol efficiency; the reliability index measures the integrity and accuracy of data during transmission; the real-time coefficient reflects the sensitivity of the protocol to delay, especially its performance in real-time data transmission scenarios; and the scope of application describes the applicability of the protocol in different network environments and application scenarios. After summarizing these data, a protocol characteristic matrix is generated, which provides a comprehensive performance portrait of each protocol. According to the protocol characteristic matrix, each communication protocol is mathematically modeled to obtain a set of protocol performance functions. These functions describe the performance of the protocol under different conditions. Assuming that the performance of the protocol is related to the data transmission rate, reliability index and real-time coefficient, a protocol performance function P(x) can be defined as an example:
[0061] P(x)=a·S+b·R+c·T;
[0062] Where S represents the data transmission rate, R represents the reliability index, and T represents the real-time performance coefficient. a, b, and c are weight coefficients, reflecting the relative importance of these parameters in different scenarios. Based on the performance function, simulation tests are conducted on each protocol under different network conditions to generate a protocol adaptability score table. This table records the adaptability score of each protocol in different network scenarios, helping to identify which protocols perform best under specific conditions. Based on the protocol adaptability score table, a cluster analysis is performed on each communication protocol. Protocols with similar performance are grouped together to form a protocol family, simplifying protocol management and enabling similar protocols to be processed or switched together. Based on the cluster analysis results, representative protocols are selected from each protocol family to construct a target protocol set. Protocols in the cluster serve as primary candidates for communication under different network conditions. Subsequently, a protocol switching decision tree is constructed based on the target protocol set and network topology. A decision tree is a logical structure used to determine when to switch protocols based on network status and protocol performance. Nodes in the decision tree represent network states or events, while branches represent different decision paths. Based on the decision tree, an initial protocol switching policy is generated, defining the protocol to be used under specific network conditions. At the same time, based on the initial protocol switching strategy, protocols are assigned to network communication links, generating a link-protocol mapping table. This mapping table specifies the communication protocol used by each link, ensuring the optimal protocol is selected during transmission. Based on the link-protocol mapping table, the network is segmented to generate a protocol domain partitioning scheme. Protocol domain partitioning divides the network into multiple areas, each using a specific protocol to optimize network performance and management efficiency. Protocol conversion rules are designed to plan protocol conversion at the boundaries of each communication protocol domain, generating a protocol conversion rule set. These rules ensure smooth data conversion across different protocol domains, maintaining consistent and reliable data transmission. Combining the protocol conversion rule set, link-protocol mapping table, and initial protocol switching strategy, multiple preconfigured protocol schemes are generated. These schemes include not only a primary scheme but also multiple backup schemes to address various network changes and emergencies. For example, in a network, the primary scheme may use highly reliable protocols A and B. However, in the event of network congestion or device failure, the primary scheme can switch to protocols C and D from the backup scheme to maintain network stability and transmission efficiency. Through pre-configured multiple protocol solutions, the system can flexibly respond to various changes in the network and ensure the efficiency and stability of data transmission.
[0063] In a specific embodiment, the process of executing step S103 may specifically include the following steps:
[0064] (1) Identify the data type of the data to be transmitted and obtain a data type tag set containing control instructions, sensor data, and log information. Calculate the data volume of the data to be transmitted based on the data type tag set and obtain data volume distribution statistics.
[0065] (2) Based on the data volume distribution statistics, the time stamp analysis of the data to be transmitted is performed to obtain a data generation time sequence diagram. Based on the data generation time sequence diagram, the timeliness of the data to be transmitted is evaluated to obtain a data timeliness score table;
[0066] (3) Based on the data timeliness score table and data type label set, a data importance evaluation model is constructed and an initial data importance matrix is generated;
[0067] (4) performing data dependency analysis on the data to be transmitted based on the initial data importance matrix to obtain a data dependency graph, and then modifying the initial data importance matrix based on the data dependency graph to obtain a target data importance matrix;
[0068] (5) According to the target data importance matrix, a multi-level priority threshold is designed to obtain a priority classification standard. Based on the priority classification standard, the data to be transmitted is prioritized to obtain a preliminary priority classification result;
[0069] (6) Dynamic priority adjustment is performed based on the preliminary priority classification results and network resource information to obtain a multi-level priority data structure.
[0070] Specifically, data characteristics are analyzed to accurately classify the data. By examining the data's source, structure, and content characteristics, major data types such as control instructions, sensor data, and log information are identified. These classifications are based on the data's purpose and generation source. For example, control instructions are typically generated by the system's operation control module to execute specific actions; sensor data comes from various sensor devices and provides real-time physical environment information; and log information includes system operation records and event logs. After organizing these classification results, a data type label set is generated. Based on the data type label set, the data volume to be transmitted is calculated. The total volume of each data type is counted to understand the proportion of each type of data in the total data volume, generating data volume distribution statistics. This statistical analysis identifies the main components of data traffic. Based on the data volume distribution statistics, timestamp analysis is performed on the transmitted data to generate a data generation time series diagram. Timestamp analysis examines the time information of data generation, arranges the data in chronological order, and constructs a data generation time series diagram. This diagram can reveal the frequency and patterns of data generation. For example, some sensor data may be generated in large quantities during specific time periods, while control instructions may be generated more randomly. Based on the data generation time series diagram, the data timeliness is evaluated to generate a data timeliness score table. The timeliness score table quantifies the time sensitivity of data and assesses its value at different points in time. Based on the data timeliness score table and the data type label set, a data importance assessment model is constructed to generate an initial data importance matrix. The matrix comprehensively considers the data type and timeliness, assigning an importance score to each data type. Assuming that data timeliness, data type priority, and data reliability are key factors, a data importance function I(d) is defined:
[0071] I(d)=w t ·T(d)+w ( ·R(d)+w p ·P(d);
[0072] Among them, I(d) represents the importance score of data d, T(d) is the timeliness score of the data, R(d) is the reliability score of the data, P(d) is the priority score of the data type, and w t 、w ( and w pare the weight coefficients for each item. These weight coefficients are set based on system requirements and the actual data situation. After generating the initial data importance matrix, a data dependency analysis is performed on the data to be transmitted based on the results, resulting in a data dependency graph. The data dependency graph illustrates the relationships between different data types. For example, control instructions may depend on sensor data feedback, while log information records every step of the system's execution. By analyzing these dependencies, the initial data importance matrix is modified to more accurately reflect the importance of the data, resulting in the target data importance matrix. Based on the target data importance matrix, multi-level priority thresholds are designed to generate a prioritization criterion. These criteria help the system prioritize the data to be transmitted, generating preliminary priority classification results. For example, control instructions, due to their direct impact on system operation, may be assigned the highest priority; sensor data may be assigned different priorities based on its timeliness and accuracy; and log information may be assigned a lower priority. Dynamic priority adjustment is performed based on the preliminary priority classification results and network resource information. Current network resource conditions, such as bandwidth and load, are considered to dynamically adjust data priorities. A multi-level priority data structure is obtained, which can automatically adjust the transmission priority of data according to actual network conditions and data importance, ensuring that the most critical data can be transmitted first.
[0073] In a specific embodiment, the process of executing step S104 may specifically include the following steps:
[0074] (1) Perform complexity analysis on the network topology to obtain the network complexity index, and construct an initial fitness evaluation model based on the network complexity index and the multi-level priority data structure;
[0075] (2) Based on the initial fitness evaluation model, the bandwidth utilization of each communication link in the network is calculated to obtain a link bandwidth utilization matrix. Based on the link bandwidth utilization matrix, the load balance of each node in the network is evaluated to obtain a node load balance index.
[0076] (3) Based on the node load balancing index and the multi-level priority data structure, the network energy efficiency coefficient is calculated to obtain the energy consumption evaluation graph. According to the energy consumption evaluation graph, the initial fitness evaluation model is modified to obtain the fitness evaluation standard;
[0077] (4) Based on the fitness evaluation criteria, a transmission strategy optimization objective function is constructed. Based on the transmission strategy optimization objective function, the transmission path and protocol selection are iteratively optimized to obtain a set of candidate transmission strategies.
[0078] (5) Select the optimal transmission strategy from the candidate transmission strategy set to obtain the target transmission strategy.
[0079] Specifically, define and calculate the network complexity index. The network complexity index is an important indicator for measuring the complexity of the network structure, reflecting the distribution of network nodes and links, as well as the topological characteristics of the network. Generally speaking, network complexity can be evaluated by factors such as the number of nodes, the number of links, the connectivity and redundancy of the network. Use the following formula to calculate the network complexity index C:
[0080]
[0081] Among them, E represents the total number of links in the network, and N represents the total number of nodes in the network. The denominator of this formula, N·(N-1), represents the maximum number of links that may exist in the complete graph, so the complexity index C is a value between 0 and 1, reflecting the degree of similarity between the actual network and the fully connected network. A high complexity index means that there are many and complex links in the network, while a low complexity index means that the network structure is relatively simple. After obtaining the network complexity index, an initial fitness evaluation model is constructed in combination with a multi-level priority data structure. The multi-level priority data structure includes priority classification information of various data to determine which data should be given priority during transmission. The initial fitness evaluation model evaluates the adaptability of the network when processing data of different types and priorities by combining network complexity with data priority. Based on the initial fitness evaluation model, the bandwidth utilization of each communication link in the network is calculated. Bandwidth utilization reflects the usage of link resources and is an important basis for optimizing network transmission strategies. Bandwidth utilization U can be calculated using the following formula:
[0082]
[0083] Among them, B 9:;d Indicates the actual bandwidth used on the link, B t<t=> Represents the total bandwidth of the link. The bandwidth utilization of each link is calculated to form a link bandwidth utilization matrix, which can intuitively show which links are highly loaded and which links have idle resources. Based on the link bandwidth utilization matrix, the load balancing degree of each node in the network is evaluated, measuring the uniformity of traffic processing at each node and obtaining the node load balancing index. The load balancing index L can be calculated by referring to the following formula:
[0084]
[0085] Among them, u i is the bandwidth utilization of the i-th node, is the average bandwidth utilization of all nodes, and N is the total number of network nodes. The load balancing index ranges from 0 to 1. A higher value indicates a more uniform load distribution and a more stable network. Based on the node load balancing index and the multi-level priority data structure, the network energy efficiency coefficient is calculated to obtain an energy consumption evaluation graph. The energy efficiency coefficient measures the efficiency of the network's energy consumption during data transmission, taking into account the transmission requirements of data of different priorities. This coefficient can be expressed by the ratio of actual energy consumption to theoretical optimal energy consumption. The specific formula depends on the energy consumption model of the actual network. According to the energy consumption evaluation graph, the initial fitness evaluation model is modified to obtain the fitness evaluation standard. These standards include comprehensive considerations of multiple aspects such as network complexity, node load balancing and energy efficiency, and are an important basis for guiding the optimization of network transmission strategies. Based on the fitness evaluation standard, a transmission strategy optimization objective function is constructed. The objective function aims to minimize the total delay and energy consumption of the network and maximize the reliability and real-time performance of data transmission. The objective function can be expressed as:
[0086] f(X)=w d ·D(X)+w ; ·E(X)-w ( ·R(X);
[0087] Where D(X) represents the total delay of the transmission path X, E(X) represents the total energy consumption of the transmission path, R(X) represents the reliability of the transmission path, and w d 、w ; and w ( are the corresponding weight coefficients. By adjusting these weight coefficients, different objectives can be optimized, such as prioritizing delay minimization in scenarios with high real-time requirements. Based on the transmission strategy optimization objective function, the transmission path and protocol selection are iteratively optimized to form a set of candidate transmission strategies. In each iteration, by adjusting the transmission path and selecting different communication protocols, the fitness of the strategy is continuously improved to find the optimal solution. The optimal transmission strategy is selected from the candidate transmission strategy set. By comparing the fitness score of each candidate strategy, the strategy with the highest score is selected as the target transmission strategy. For example, in an IoT network, if the sensor data of a node has a high priority and the node is located in a key position in the network, the system may select a link with a larger bandwidth and assign a high-priority protocol to ensure real-time transmission of the data.
[0088] In a specific embodiment, the process of executing step S105 may specifically include the following steps:
[0089] (1) Calculate the data packet routing using the target transmission strategy to obtain an initial routing table, and then perform protocol encapsulation on the data packet based on the initial routing table to obtain a protocol data unit;
[0090] (2) The protocol data unit is transmitted and network status monitoring is started at the same time to obtain a real-time network status data stream. Based on the real-time network status data stream, network performance indicators are calculated to obtain a performance indicator matrix including bandwidth utilization, delay, and packet loss rate;
[0091] (3) Perform time series analysis based on the performance indicator matrix to obtain network status change information, and generate a network status change trend graph based on the network status change information;
[0092] (4) According to the network status change trend graph, set the status change threshold and create the DPPS algorithm trigger condition based on the status change threshold;
[0093] (5) Perform real-time network status evaluation based on the DPPS algorithm trigger conditions. When the trigger conditions are met, the DPPS algorithm is activated and a protocol switching signal is generated.
[0094] (6) According to the protocol switching signal, a scheme is matched from multiple pre-configured protocol schemes to obtain an optimal switching scheme, and the communication protocol is dynamically switched based on the optimal switching scheme to obtain an updated protocol configuration;
[0095] (7) According to the updated protocol configuration, the data packet route is recalculated to obtain the target routing table, and data transmission is continued based on the target routing table.
[0096] Specifically, the optimal path between nodes in the network is determined based on the transmission strategy. The goal of routing calculation is to optimize data packet transmission efficiency, while taking into account factors such as bandwidth, latency, and reliability. Routing algorithms such as the Dijkstra algorithm are used to calculate the shortest path and generate an initial routing table, listing the optimal path from the source node to the destination node, including all intermediate nodes and links along the way. Based on this initial routing table, the data packets are encapsulated and converted into a data format that complies with the network protocol, resulting in protocol data units (PDUs). These data units contain protocol header information such as the source address, destination address, sequence number, and checksum to ensure correct data transmission and assembly within the network. During the transmission of the PDUs, the network status monitoring system is activated to monitor various network performance indicators in real time, generating a real-time network status data stream. By analyzing these data streams, key performance indicators such as bandwidth utilization, latency, and packet loss rate are calculated. Bandwidth utilization indicates the efficiency of network resource utilization; latency reflects the time it takes for a data packet to travel within the network; and packet loss rate indicates the proportion of data packets lost during transmission. Performance indicators are summarized into a performance indicator matrix, which provides the overall performance of the network at a specific point in time. Based on the performance indicator matrix, time series analysis is performed to identify network performance trends and potential issues. Time series analysis can reveal periodic fluctuations or sudden events in the network, such as peak traffic surges or equipment failures. This analysis generates network status change information, which is then used to generate a network status trend chart. Based on the network status trend chart, status change thresholds are set to determine whether the network status is abnormal. For example, bandwidth utilization exceeding 80%, latency exceeding 100ms, or packet loss exceeding 5% can be set as trigger conditions. Based on these status change thresholds, trigger conditions for the Dynamic Protocol and Path Selection (DPPS) algorithm are created to dynamically adjust when network status is abnormal. When the network status monitoring system detects a network status change exceeding the set thresholds, it performs a real-time network status assessment. If the assessment results meet the DPPS trigger conditions, the DPPS algorithm is activated and a protocol switching signal is generated. The protocol switching signal is an instruction for the system to adjust the communication protocol, indicating the need to select an appropriate protocol from among various preconfigured protocol schemes to adapt to the current network conditions. Based on the protocol switching signal, the system matches multiple preconfigured protocol schemes and selects the optimal switching scheme. The optimal solution is selected based on the current network status and the adaptability of each protocol. For example, in high-latency scenarios, a higher-bandwidth protocol may be selected. After selecting the optimal switching solution, the communication protocol is dynamically switched to obtain the updated protocol configuration. This process involves adjusting parameter settings in the protocol stack to ensure that the new protocol can smoothly take over data transmission tasks. As protocols are dynamically switched, packet routing is recalculated to adapt to the new protocol configuration and network conditions.The optimal path is calculated using a routing algorithm and a new destination routing table is generated. The destination routing table updates the path information from the source to the destination, ensuring that data packets can be efficiently transmitted according to the new transmission strategy.
[0097] In a specific embodiment, the process of executing step S106 may specifically include the following steps:
[0098] (1) Monitor the network traffic in the data transmission process in real time to obtain network traffic time series data, and perform anomaly detection based on the network traffic time series data to obtain a preliminary anomaly mark sequence;
[0099] (2) Performing pattern matching based on the preliminary abnormality tag sequence to obtain abnormality type recognition results, and performing abnormality severity assessment based on the abnormality type recognition results to obtain an abnormality level classification table;
[0100] (3) Based on the abnormality level classification table, a two-level abnormality handling mechanism is initiated. First, the first-level rapid response processing is executed to obtain a preliminary fault repair plan. Based on the preliminary fault repair plan, the network is quickly adjusted. At the same time, the second-level in-depth analysis processing is triggered to obtain an abnormality cause analysis report.
[0101] (4) Based on the abnormality cause analysis report, formulate a fault recovery plan, and perform network reconstruction and protocol reconfiguration according to the fault recovery plan to obtain the restored network status;
[0102] (5) Perform performance testing on the restored network status, calculate the transmission performance data set, and perform trend analysis and predictive modeling based on the transmission performance data set to obtain a transmission performance evaluation report.
[0103] Specifically, a network monitoring system is deployed to continuously acquire time-series data on network traffic. The monitoring system records traffic information for each time period, including the number, size, and transmission speed of packets. By analyzing this time-series data, normal patterns and abnormal fluctuations in network traffic can be identified. By setting statistical thresholds or using machine learning algorithms, anomalies—that is, moments of sudden increases or decreases in traffic—are identified from the time-series data, generating a preliminary sequence of anomaly markers. Pattern matching is performed based on this preliminary sequence of anomaly markers. The anomaly type is then compared against a predefined anomaly pattern library to identify the anomaly type. The anomaly type identification results help understand the nature of the anomaly, such as whether the traffic anomaly is caused by a network attack or a traffic disruption due to equipment failure. Based on the anomaly type, an anomaly severity assessment is performed, generating an anomaly classification table. Anomalies are then categorized by severity, for example, into minor, moderate, and severe levels, enabling different handling measures to be taken. Based on this anomaly classification table, a two-tiered anomaly handling mechanism is activated. First-tier rapid response is implemented to quickly address the anomaly and prevent its escalation. For example, if a network attack is detected, the system can immediately activate firewall rules or restrict access to specific IP addresses. A preliminary fault remediation plan is developed, and based on it, rapid network adjustments are made, such as reallocating bandwidth and changing routes. Simultaneously, a second-level in-depth analysis process is triggered to analyze the root cause of the anomaly. By collecting more network logs and device status data, an anomaly cause analysis report is compiled to deeply analyze the source of the problem. After receiving the anomaly cause analysis report, a detailed fault recovery plan is developed, proposing solutions to the specific issues identified, such as replacing faulty equipment, updating security policies, or optimizing network configurations. Based on the fault recovery plan, network reconstruction and protocol reconfiguration are performed. Network reconstruction may include adding redundant links or adjusting the network topology, while protocol reconfiguration may involve changing the communication protocol used or optimizing protocol parameters. After these operations are completed, the restored network state is obtained. Performance testing of the restored network state is performed. A transmission performance dataset is calculated, including measurements of key metrics such as bandwidth utilization, latency, and packet loss rate. This data is used to assess whether network performance has returned to normal levels after the repair or whether further optimization is required. Trend analysis and predictive modeling are performed based on the transmission performance dataset. By analyzing historical performance data trends, potential future performance issues or anomalies can be predicted. Trend analysis helps the system identify potential long-term problems, such as persistent bandwidth shortages or frequent packet loss. Predictive modeling provides data support, allowing the system to take preventive measures in advance.
[0104] The above describes the data transmission method of the signal I / O control device based on the multi-protocol in the embodiment of the present application. The following describes the signal I / O control device based on the multi-protocol in the embodiment of the present application. Figure 2In one embodiment of the present application, a multi-protocol based signal I / O control device includes:
[0105] Initialization module 201 is used to initialize the multi-protocol signal I / O control device, obtain device status information and network topology, and select a master controller;
[0106] The pre-configuration module 202 is used to perform protocol characteristic analysis and protocol pre-configuration on the communication protocol in the multi-protocol signal I / O control device based on the main controller to obtain multiple pre-configured protocol solutions;
[0107] Priority division module 203, used for performing data feature analysis and priority division on the data to be transmitted to obtain a multi-level priority data structure;
[0108] The transmission strategy optimization module 204 is used to construct a fitness evaluation standard and optimize the transmission strategy based on the multi-level priority data structure to obtain a target transmission strategy;
[0109] Dynamic protocol adjustment module 205, used to execute data transmission according to the target transmission strategy and monitor the network status in real time to obtain network status change information. At the same time, based on the network status change information, it triggers the protocol switching mechanism of the DPPS algorithm and performs dynamic protocol adjustment through multiple pre-configured protocol solutions;
[0110] The transmission performance evaluation module 206 is used to perform anomaly detection during data transmission, obtain anomaly information, and execute a two-level anomaly handling mechanism based on the anomaly information to perform fault recovery and transmission performance evaluation to obtain a transmission performance evaluation report.
[0111] By integrating these components, monitoring network conditions in real time, and dynamically adjusting transmission strategies, this method effectively adapts to complex and changing network environments, improving system reliability and efficiency. Utilizing the DPPS algorithm for protocol switching decisions, combined with multiple preconfigured protocol schemes, this approach enables intelligent transmission protocol selection and dynamic adjustment. By establishing fitness evaluation criteria and optimizing transmission strategies, it finds the optimal transmission solution under various constraints, significantly improving overall system performance. A two-level exception handling mechanism enables rapid fault response while also providing in-depth analysis and recovery, significantly enhancing system stability and reliability. With multi-protocol support and a dynamic configuration mechanism, this method flexibly adapts to diverse application scenarios and new devices, demonstrating excellent scalability. Intelligent scheduling and optimized allocation of network resources improves system resource utilization and reduces energy consumption. Data feature analysis and prioritization ensure the timely transmission of important data, enhancing data transmission quality and reliability. By comprehensively considering factors such as network topology, device performance, and load balancing, the system's robustness to various uncertainties is enhanced.
[0112] The present application also provides a computer device, which includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the data transmission method of the multi-protocol signal I / O control device in the above-mentioned embodiments.
[0113] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the steps of the data transmission method of the multi-protocol-based signal I / O control device.
[0114] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0115] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0116] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A data transmission method for a signal I / O control device based on a multi-protocol, characterized in that: The method comprises: Initialize the multi-protocol signal I / O control device, obtain device status information and network topology, and select the main controller; Performing protocol characteristic analysis and protocol preconfiguration on the communication protocol in the multi-protocol signal I / O control device based on the main controller to obtain multiple preconfigured protocol solutions; Perform data feature analysis and priority division on the data to be transmitted to obtain a multi-level priority data structure; Constructing a fitness evaluation standard and optimizing the transmission strategy based on the multi-level priority data structure to obtain a target transmission strategy; Execute data transmission according to the target transmission strategy and monitor the network status in real time to obtain network status change information, and at the same time, generate a network status change trend graph according to the network status change information; set a status change threshold according to the network status change trend graph, and create a dynamic protocol and path selection DPPS algorithm trigger condition according to the status change threshold; perform real-time network status evaluation based on the DPPS algorithm trigger condition, and when the trigger condition is met, activate the DPPS algorithm and generate a protocol switching signal; according to the protocol switching signal, match the schemes from the multiple pre-configured protocol schemes to obtain a switching scheme, and dynamically switch the communication protocol based on the switching scheme to obtain an updated protocol configuration; according to the updated protocol configuration, recalculate the data packet route to obtain a target routing table, and continue to perform data transmission based on the target routing table; wherein the DPPS algorithm is an algorithm for making protocol switching decisions; During the data transmission process, anomaly detection is performed to obtain anomaly information, and based on the anomaly information, a two-level anomaly handling mechanism is executed to perform fault recovery and transmission performance evaluation to obtain a transmission performance evaluation report.
2. The data transmission method of a multi-protocol signal I / O control device according to claim 1, characterized in that: The method of initializing the multi-protocol signal I / O control device, obtaining device status information and network topology, and selecting a master controller includes: Perform device status analysis on all devices in the multi-protocol signal I / O control device to obtain device status information; Performing a connectivity test on the communication links between the devices according to the device status information to obtain an initial topology structure, and performing a redundant link analysis on the initial topology structure to obtain a network topology structure; Based on the network topology, a hardware resource evaluation is performed on each device to obtain a device resource evaluation report including processing power, storage capacity, and energy status; and based on the device resource evaluation report, a network position weight is calculated for each device to obtain a device network centrality index; Constructing a master controller candidate set and generating a candidate device list based on the device network centrality index and the device resource evaluation report; Evaluate the load balancing capability of the devices in the candidate device list to obtain a load balancing coefficient, and perform multiple rounds of simulated load testing on the devices based on the load balancing coefficient to obtain a device stability index; The devices are comprehensively scored according to the device stability index and the load balancing coefficient to obtain a main controller selection score, and based on the main controller selection score, the device with the highest score is selected as the main controller.
3. The data transmission method of the multi-protocol signal I / O control device according to claim 2, characterized in that: The main controller performs protocol characteristic analysis and protocol preconfiguration on the communication protocol in the multi-protocol signal I / O control device to obtain multiple preconfigured protocol solutions, including: Extracting performance parameters of each communication protocol in the multi-protocol signal I / O control device based on the main controller to obtain a protocol characteristic matrix including data transmission rate, reliability index, real-time coefficient and applicable scope; According to the protocol characteristic matrix, mathematical modeling is performed on each communication protocol to obtain a protocol performance function set, and based on the protocol performance function set, simulation tests are performed on each communication protocol under different network conditions to obtain a protocol adaptability score table; Performing cluster analysis on each communication protocol according to the protocol adaptability score table to obtain a protocol family division result, and selecting representative protocols for each communication protocol family based on the protocol family division result to obtain a target protocol set; According to the target protocol set and the network topology, a protocol switching decision tree is constructed and an initial protocol switching strategy is generated. At the same time, network communication link protocols are allocated based on the initial protocol switching strategy to obtain a link-protocol mapping table; Performing network segmentation based on the link-protocol mapping table to obtain a protocol domain division scheme, and designing protocol conversion rules for each communication protocol domain boundary based on the protocol domain division scheme to obtain a protocol conversion rule set; A plurality of pre-configured protocol solutions are generated according to the protocol conversion rule set, the link-protocol mapping table and the initial protocol switching strategy, wherein the plurality of pre-configured protocol solutions include a main solution and a plurality of alternative solutions.
4. The data transmission method of the multi-protocol signal I / O control device according to claim 3, characterized in that: The data to be transmitted is analyzed for data characteristics and prioritized to obtain a multi-level priority data structure, including: Identify the data type of the data to be transmitted to obtain a data type tag set including control instructions, sensor data, and log information, and calculate the data volume of the data to be transmitted based on the data type tag set to obtain data volume distribution statistics; Based on the data volume distribution statistics, performing a timestamp analysis on the data to be transmitted to obtain a data generation timing diagram, and performing a timeliness evaluation on the data to be transmitted based on the data generation timing diagram to obtain a data timeliness score table; Based on the data timeliness scoring table and the data type label set, a data importance evaluation model is constructed and an initial data importance matrix is generated; Performing data dependency analysis on the data to be transmitted according to the initial data importance matrix to obtain a data dependency graph, and modifying the initial data importance matrix based on the data dependency graph to obtain a target data importance matrix; According to the target data importance matrix, a multi-level priority threshold is designed to obtain a priority classification standard, and based on the priority classification standard, the data to be transmitted is prioritized to obtain a preliminary priority classification result; Dynamic priority adjustment is performed based on the preliminary priority classification result and network resource information to obtain a multi-level priority data structure.
5. The data transmission method of the signal I / O control device based on multi-protocol according to claim 4, characterized in that: The constructing of the fitness evaluation standard and optimizing the transmission strategy based on the multi-level priority data structure to obtain the target transmission strategy includes: Performing a complexity analysis on the network topology to obtain a network complexity index, and constructing an initial fitness evaluation model based on the network complexity index and the multi-level priority data structure; Based on the initial fitness evaluation model, bandwidth utilization is calculated for each communication link in the network to obtain a link bandwidth utilization matrix, and load balancing is evaluated for each node in the network based on the link bandwidth utilization matrix to obtain a node load balancing index; Calculating a network energy efficiency coefficient based on the node load balancing index and the multi-level priority data structure to obtain an energy consumption evaluation graph, and modifying the initial fitness evaluation model based on the energy consumption evaluation graph to obtain a fitness evaluation standard; Based on the fitness evaluation criteria, a transmission strategy optimization objective function is constructed, and based on the transmission strategy optimization objective function, transmission path and protocol selection are iteratively optimized to obtain a candidate transmission strategy set; A transmission strategy is selected for the candidate transmission strategy set to obtain a target transmission strategy.
6. The data transmission method of a multi-protocol signal I / O control device according to claim 5, characterized in that: The executing of data transmission according to the target transmission strategy and real-time monitoring of network status to obtain network status change information includes: Performing data packet routing calculation using the target transmission strategy to obtain an initial routing table, and performing protocol encapsulation on the data packet based on the initial routing table to obtain a protocol data unit; The protocol data unit is transmitted, and network status monitoring is started at the same time to obtain a real-time network status data stream, and network performance indicators are calculated based on the real-time network status data stream to obtain a performance indicator matrix including bandwidth utilization, delay, and packet loss rate; Time series analysis is performed based on the performance indicator matrix to obtain network status change information.
7. The data transmission method of a multi-protocol signal I / O control device according to claim 6, characterized in that: The abnormality detection is performed during the data transmission process to obtain abnormality information, and a two-level abnormality handling mechanism is executed based on the abnormality information to perform fault recovery and transmission performance evaluation to obtain a transmission performance evaluation report, including: Performing real-time monitoring of network traffic during data transmission to obtain network traffic time series data, and performing anomaly detection based on the network traffic time series data to obtain a preliminary anomaly mark sequence; Performing pattern matching based on the preliminary abnormality tag sequence to obtain an abnormality type identification result, and performing an abnormality severity assessment based on the abnormality type identification result to obtain an abnormality level classification table; Based on the abnormality level classification table, a two-level abnormality handling mechanism is initiated. First, the first-level rapid response processing is executed to obtain a preliminary fault repair plan. Based on the preliminary fault repair plan, the network is quickly adjusted. At the same time, the second-level in-depth analysis processing is triggered to obtain an abnormality cause analysis report. Formulate a fault recovery plan based on the abnormality cause analysis report, and perform network reconstruction and protocol reconfiguration according to the fault recovery plan to obtain a restored network state; A performance test is performed on the restored network state to calculate a transmission performance data set, and trend analysis and predictive modeling are performed based on the transmission performance data set to obtain a transmission performance evaluation report.
8. A signal I / O control device based on multiple protocols, characterized in that: A data transmission method for a multi-protocol based signal I / O control device according to any one of claims 1 to 7, the device comprising: Initialization module, used to initialize the multi-protocol signal I / O control device, obtain device status information and network topology and select the main controller; A pre-configuration module, configured to perform protocol characteristic analysis and protocol pre-configuration on the communication protocol in the multi-protocol signal I / O control device based on the main controller to obtain a plurality of pre-configured protocol solutions; Prioritization module, used to analyze data characteristics and prioritize data to be transmitted, and obtain a multi-level priority data structure; A transmission strategy optimization module, configured to construct a fitness evaluation standard and optimize the transmission strategy based on the multi-level priority data structure to obtain a target transmission strategy; A dynamic protocol adjustment module is configured to execute data transmission according to the target transmission strategy and monitor the network status in real time to obtain network status change information, and generate a network status change trend graph based on the network status change information; set a status change threshold based on the network status change trend graph, and create a dynamic protocol and path selection DPPS algorithm trigger condition based on the status change threshold; perform real-time network status evaluation based on the DPPS algorithm trigger condition, and activate the DPPS algorithm and generate a protocol switching signal when the trigger condition is met; match the schemes from the multiple pre-configured protocol schemes based on the protocol switching signal to obtain a switching scheme, and dynamically switch the communication protocol based on the switching scheme to obtain an updated protocol configuration; recalculate the data packet route based on the updated protocol configuration to obtain a target routing table, and continue to execute data transmission based on the target routing table; wherein the DPPS algorithm is an algorithm for making protocol switching decisions; The transmission performance evaluation module is used to perform anomaly detection during data transmission, obtain anomaly information, and execute a two-level anomaly handling mechanism based on the anomaly information to perform fault recovery and transmission performance evaluation to obtain a transmission performance evaluation report.
9. A computer device, characterized in that: The computer device includes: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the computer device to execute the data transmission method of the multi-protocol-based signal I / O control device according to any one of claims 1 to 7.
10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the data transmission method of the multi-protocol based signal I / O control device according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Avionics fiber channel network multiprotocol controller and controlling method thereof
CN102201978A
Multi-protocol converged communication method, device and architecture
CN116074403A