Signal I / O control device based on multiple protocols and data transmission method thereof
By adopting multi -protocol support and dynamic configuration mechanisms in the signal I/O control device, combined with data feature analysis and adaptation assessment, the intelligent protocol selection and transmission strategy optimization in the complex network environment solves Poor transmission performance and lack of dynamic adaptability have significantly improved the reliability and efficiency of the system.
Patent Information
- Application Number
- CN202411489150.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-24
AI Technical Summary
The existing signal I/O control devices are difficult to achieve optimal transmission performance in complex and changing network environments, and lack dynamic adaptability and intelligent solutions.
Provide a multi -protocol -based signal I/O control device and its data transmission method. Through initialization processing, protocol characteristics analysis, data characteristics analysis, adaptation assessment, and dynamic protocol adjustment to achieve intelligent protocol selection and transmission strategy optimization.
Effectively adapt to complex and changing network environments, improve system reliability and efficiency, realize intelligent selection and dynamic adjustment of transmission protocols, significantly improve the overall performance of the system, and improve the quality and reliability of data transmission.
Smart Images

Figure CN119363853A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data transmission, and in particular to a signal I / O control device based on multiple protocols and a data transmission method thereof. Background Art
[0002] With the rapid development of industrial automation and IoT technology, signal I / O control devices play an increasingly important role in various complex industrial environments. These devices need to support multiple communication protocols at the same time to adapt to different application scenarios and equipment requirements. However, the traditional single protocol or fixed protocol configuration method can no longer meet the requirements of modern industrial systems for flexibility, reliability and efficiency.
[0003] In practical applications, the network environment is often dynamically changing, and different types of data have different requirements for transmission performance. This requires the signal I / O control device to be able to intelligently select protocols and adjust transmission strategies based on real-time network conditions and data characteristics. At the same time, due to the complexity and criticality of the industrial environment, higher requirements are also placed on the system's fault tolerance and exception handling mechanism. Existing multi-protocol support solutions often lack dynamic adaptability and are difficult to achieve optimal transmission performance in complex and changing network environments. In addition, there is also a lack of systematic and intelligent solutions in terms of 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 signal I / O control device based on a multi-protocol, the data transmission method for a signal I / O control device based on a multi-protocol comprises:
[0006] Initialize the multi-protocol signal I / O control device, obtain device status information and network topology, and select the main controller;
[0007] Based on the main controller, the communication protocol in the multi-protocol signal I / O control device is analyzed for protocol characteristics and pre-configured to obtain multiple pre-configured protocol solutions;
[0008] Perform data feature analysis and priority classification 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] 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, trigger the protocol switching mechanism of the DPPS algorithm based on the network status change information and perform 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] An initialization module is used to initialize the multi-protocol signal I / O control device, obtain device status information and network topology structure, and select a main controller;
[0014] A pre-configuration module, 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;
[0015] A priority division module is used to analyze the data characteristics and divide the priorities of the data to be transmitted to obtain a multi-level priority data structure;
[0016] A transmission strategy optimization module, 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;
[0017] A dynamic protocol adjustment module, 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, and 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 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] The 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 a multi-protocol-based signal I / O control device.
[0021] In the technical solution provided by the present application, by real-time monitoring of network conditions and dynamic adjustment of transmission strategies, the method can effectively adapt to complex and changeable network environments and improve the reliability and efficiency of the system. The DPPS algorithm is used for protocol switching decisions, and multiple pre-configured protocol solutions are combined to realize intelligent selection and dynamic adjustment of transmission protocols. By constructing fitness evaluation standards and transmission strategy optimization, the optimal transmission solution can be found under various constraints, significantly improving the overall performance of the system. The two-level exception handling mechanism is adopted, which can not only respond to faults quickly, but also conduct in-depth analysis and recovery, greatly improving the stability and reliability of the system. Based on multi-protocol support and dynamic configuration mechanism, the method can flexibly adapt to different application scenarios and new devices, and has good scalability. Through intelligent scheduling and optimal allocation of network resources, the utilization efficiency of system resources is improved and energy consumption is reduced. By performing feature analysis and priority division on data, the timely transmission of important data is ensured, and the quality and reliability of data transmission are improved. By comprehensively considering factors such as network topology, device performance and load balancing, the robustness of the system 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 accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0023] Figure 1 A schematic diagram of an embodiment of a data transmission method of a signal I / O control device based on a multi-protocol in an embodiment of the present application;
[0024] Figure 2 This is a schematic diagram of an embodiment of a signal I / O control device based on multiple protocols in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The present application embodiment provides a signal I / O control device and data transmission method thereof based on multi-protocol. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or precedence. It should be understood that the data used in this way can be interchangeable in appropriate circumstances, so that the embodiments described here can be implemented in a sequence other than the content illustrated or described here. In addition, the terms "including" or "having" and any variation thereof are intended to cover non-exclusive inclusions, 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 , an embodiment of a data transmission method of a signal I / O control device based on a multi-protocol in an embodiment of the present application includes:
[0027] Step S101, initializing the multi-protocol signal I / O control device, obtaining device status information and network topology structure and selecting a main 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 a server as the execution subject as an example.
[0029] Specifically, all devices in the multi-protocol signal I / O control device are analyzed for device status to understand the current status of each device, including the operating status, health parameters, etc. of the device, and obtain device status information. According to the device status information, the communication link between the devices is tested for connectivity to obtain the initial topology. The initial topology shows the connection status between the devices. The initial topology is analyzed for redundant links to identify and mark possible redundant paths, which may be used to improve the fault tolerance and stability of the network in the future. Through the redundant link analysis, a more optimized and reliable network topology is obtained. Based on the network topology, hardware resource evaluation is performed on each device. This includes a comprehensive inspection of the processing power, storage capacity and energy status of the device, and a device resource evaluation report is generated. Based on the device resource evaluation report, the network position weight of each device is calculated to determine the position importance of each device in the entire network, that is, the device network centrality index. The centrality index reflects the status and potential control capability of the device in the network, and has reference value for the selection of the main controller. According to the device network centrality index and the device resource evaluation report, a main controller candidate set is constructed, and a candidate device list is generated. The list contains all devices that may serve as the main controller, providing a candidate pool for the subsequent main controller selection. The load balancing capability of the devices in the candidate device list is evaluated. The load balancing capability refers to the processing efficiency and stability of the device under different workloads. After the evaluation, the load balancing coefficient is obtained, which represents the performance of the device under load conditions. Based on the load balancing coefficient, multiple rounds of simulated load tests are performed on the device to evaluate the stability and reliability of the device in the actual working environment. The test results are used to obtain the stability index of the device. According to the device stability index and load balancing coefficient, the device is comprehensively scored. The score reflects the overall performance and adaptability of the device. Based on the results of the comprehensive score, the device with the highest score is selected as the main controller.
[0030] Step S102: Based on the main controller, the communication protocol in the multi-protocol signal I / O control device is analyzed for protocol characteristics and pre-configured to obtain multiple pre-configured protocol solutions;
[0031] Specifically, the performance parameters of each communication protocol in the multi-protocol signal I / O control device are extracted based on the main controller. Key performance indicators such as data transmission rate, reliability index, real-time coefficient and applicable scope are obtained from each protocol. By collecting these parameters, a protocol characteristic matrix is constructed. According to the established protocol characteristic matrix, mathematical modeling is performed on each communication protocol. The performance of each protocol is accurately described by the mathematical model, and a protocol performance function set is generated. The function set contains a quantitative description of the performance of each protocol under different conditions. Based on the protocol performance function set, simulation tests are performed 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 will generate a protocol adaptability score table, which records the adaptability score of each protocol in different scenarios. According to the protocol adaptability score table, cluster analysis is performed on each communication protocol, and protocols with similar performance and characteristics are divided into the same protocol family, thereby simplifying protocol management and improving the efficiency of the system by uniformly processing protocols in the same protocol family. Based on the protocol family division results, representative protocols are selected to construct a target protocol set. The cluster contains the most representative protocols in each protocol family, which is used to guide the actual protocol selection and application. Subsequently, a protocol switching decision tree is constructed based on the target protocol set and the previously constructed network topology. The purpose of the decision tree is to provide the system with the best path selection for protocol switching under different network states. Through the tree structure, it is quickly determined which protocol should be used when the network state changes, so as to maintain the stability and efficiency of the network. At the same time, an initial protocol switching strategy is generated, which includes the protocol switching rules under normal circumstances and when the network state changes. According to the initial protocol switching strategy, the network communication link protocol is allocated, and each protocol is allocated to different network links to generate a link-protocol mapping table. The mapping table clarifies the communication protocol that should be used for each link to ensure stable and efficient data transmission. Based on the link-protocol mapping table, the entire network is segmented and a protocol domain division scheme is obtained. This scheme divides the network into multiple protocol domains, and the communication within each protocol domain is controlled by a specific protocol. In order to ensure seamless transmission of data between different protocol domains, protocol conversion rules are designed for the boundaries of each communication protocol domain. Through these rules, the conversion between different protocols is realized, the compatibility and fluency of data transmission across domains are ensured, and the protocol conversion rule set is obtained. The protocol conversion rule set, link-protocol mapping table and initial protocol switching strategy are integrated to generate multiple sets of pre-configured protocol solutions. These solutions include not only the main communication solutions, but also multiple alternative solutions to cope with possible changes in network conditions or failures.
[0032] Step S103, performing data feature analysis and priority classification on the data to be transmitted to obtain a multi-level priority data structure;
[0033] Specifically, the data type of the data to be transmitted is identified and classified. According to different data properties, the data is classified into control instructions, sensor data and log information to form a data type label set. Based on the data type label set, the data volume of the data to be transmitted is calculated to obtain the data volume distribution statistics and understand the proportion and scale of each type of data. Based on the data volume distribution statistics, the timestamp analysis of the data to be transmitted is performed and a data generation time series diagram is drawn. The time series diagram shows the generation time series of each type of data, which helps the system understand the data generation law and time series characteristics. Based on the data generation time series diagram, the timeliness of each type of data is evaluated and a data timeliness score table is generated. The score table quantifies the freshness and timeliness of the data, so that the system can distinguish between data with high real-time requirements and data that can be transmitted late. Based on the data timeliness score table and the data type label set, a data importance evaluation model is constructed and an initial data importance matrix is generated. The matrix reflects the relative importance of each type of data in transmission. Data dependency analysis is performed on the data to be transmitted. By constructing a data dependency relationship diagram to reveal the association and dependency between data, the initial data importance matrix is corrected to obtain the target data importance matrix. According to the target data importance matrix, a multi-level priority threshold is designed to obtain the priority classification standard. Based on the priority classification standard, the data to be transmitted is prioritized, and a preliminary priority classification result is generated. The data is divided into multiple priority levels so that high-priority data can obtain resources first in network transmission. Based on the preliminary priority classification results and the current network resource information, dynamic priority adjustment is performed to obtain a multi-level priority data structure. Dynamic priority adjustment not only takes into account the inherent characteristics of the data, but also fully adapts to the actual situation of network resources, thereby ensuring the real-time and reliability of 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, the network topology is analyzed for complexity to obtain the network complexity index. The network complexity index reflects the complexity of the network topology. Based on the network complexity index and the multi-level priority data structure, an initial fitness evaluation model is constructed. The model preliminarily determines the fitness evaluation criteria under different network conditions and data priorities. Based on the initial fitness evaluation model, the bandwidth utilization of each communication link in the network is calculated to obtain the link bandwidth utilization matrix. The matrix shows the bandwidth usage of each link during the transmission process. Based on the link bandwidth utilization matrix, the load balancing degree of each node in the network is evaluated to obtain the node load balancing index. The index quantifies the load balancing degree of each node when processing the transmission task, helping to identify possible bottleneck nodes. After obtaining the node load balancing index, the energy efficiency coefficient of the network is calculated based on the index and the multi-level priority data structure to obtain the 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 evaluation model is modified to obtain the fitness evaluation criteria. The revised fitness evaluation standard comprehensively considers multiple factors such as network complexity, node load balancing and energy efficiency to ensure the comprehensiveness and efficiency of the transmission strategy. Based on the revised fitness evaluation standard, the transmission strategy optimization objective function is constructed. The 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. In each iteration, the transmission strategy is gradually optimized by continuously adjusting the transmission path and protocol selection to achieve the best transmission performance and efficiency. The optimal transmission strategy is selected for the candidate transmission strategy set. By comprehensively evaluating the performance of each candidate transmission strategy under the fitness evaluation standard, 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, data packet routing calculation is performed according to the target transmission strategy to generate an initial routing table. The initial routing table is used to determine the transmission path of the data packet in the network. Based on the initial routing table, the data packet is encapsulated by protocol to obtain a protocol data unit. When transmitting these protocol data units, network status monitoring is started at the same time to obtain real-time network status data streams. Through the real-time network status data stream, various performance indicators of the network are calculated in real time to generate a performance indicator matrix including parameters such as bandwidth utilization, delay, and packet loss rate. Time series analysis is performed based on the performance indicator matrix to obtain network status change information. This information shows the state changes of the network at different times, and then a network status change trend chart is generated to visualize these change trends. According to the trend chart, state change thresholds are set, which represent the key points of network state changes or the triggering conditions of abnormal conditions. Subsequently, according to the state change thresholds, the triggering conditions of the DPPS algorithm are created to determine under what circumstances the protocol switching needs to be triggered to ensure the stability and optimization of network performance. As real-time monitoring continues, the network status is evaluated in real time based on the DPPS algorithm triggering conditions. When it is detected that the network status meets the set triggering conditions, the DPPS algorithm will be activated to generate a protocol switching signal. The protocol switching signal is a key instruction for the system to adjust the protocol, indicating that the most appropriate solution needs to be selected 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 includes possible changes in the future to ensure that the network can maintain good performance after switching. The communication protocol is dynamically switched based on the optimal switching solution. The switching process involves adjusting the protocol stack and reconfiguring the network parameters to obtain an updated protocol configuration. The new protocol configuration can better adapt to the current network conditions and data transmission requirements, and improve the overall performance and reliability of the network. According to the updated protocol configuration, the route of the data packet is recalculated and the target routing table is generated. The new routing table guides the subsequent data transmission path selection to ensure that data can be transmitted through the network in the best way.
[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, the network traffic in the data transmission process is monitored in real time to generate network traffic time series data. By analyzing the time series data, anomaly detection is performed to identify possible abnormal events and obtain a preliminary abnormal mark sequence. Pattern matching is performed based on the preliminary abnormal mark sequence to identify the specific type of the anomaly. The anomaly type identification result is obtained through a predefined abnormal pattern library or machine learning model. Based on these results, the severity of the anomaly is evaluated and an abnormality level classification table is generated. Based on the abnormality level classification table, a two-level abnormality handling mechanism is started. The first-level rapid response processing is performed to quickly alleviate the abnormal situation and make preliminary repairs to the network. A preliminary fault repair plan is formulated and the network is quickly adjusted to ensure that basic network functions are restored in the shortest time. Rapid response processing includes adjusting routing, switching protocols, or temporarily shutting down some unnecessary network services to stabilize the network status. At the same time, the second-level deep analysis processing is triggered to analyze the anomaly in more detail. This includes collecting more network data, in-depth inspection of device status and operation logs to generate an abnormal cause analysis report. Based on the abnormal cause analysis report, a fault recovery plan is formulated. The fault recovery plan aims to completely solve the root problem that causes the anomaly, including a comprehensive inspection of the network, equipment repair, and even hardware replacement. According to the solution, network reconstruction and protocol reconfiguration are performed to ensure that the network is not only restored to a normal state, but also improve the overall robustness and adaptability to avoid the recurrence of similar problems. After completing the network reconstruction and protocol reconfiguration, the performance of the restored network state is tested to verify the effect of the repair and ensure that the performance of the network after recovery meets the expected standards. Through these tests, a transmission performance data set is calculated, including key performance indicators such as latency, bandwidth utilization, and packet loss rate. Based on this data, trend analysis and predictive modeling are performed to analyze the performance of the network under different conditions and predict possible future changes. All analysis and test results are integrated into a transmission performance evaluation report. The report summarizes the effect of exception handling and the current performance status of the network, and provides possible future optimization directions and suggestions.
[0040] In the embodiment of the present application, by real-time monitoring of network conditions and dynamically adjusting transmission strategies, the method can effectively adapt to complex and changeable network environments and improve the reliability and efficiency of the system. The DPPS algorithm is used to make protocol switching decisions, and multiple pre-configured protocol solutions are combined to achieve intelligent selection and dynamic adjustment of transmission protocols. By constructing fitness evaluation standards and transmission strategy optimization, the optimal transmission solution can be found under various constraints, significantly improving the overall performance of the system. The two-level exception handling mechanism is adopted, which can not only respond to faults quickly, but also conduct in-depth analysis and recovery, greatly improving the stability and reliability of the system. Based on multi-protocol support and dynamic configuration mechanism, the method can flexibly adapt to different application scenarios and new devices, and has good scalability. Through intelligent scheduling and optimal allocation of network resources, the utilization efficiency of system resources is improved and energy consumption is reduced. By performing feature analysis and priority division on data, the timely transmission of important data is ensured, and the quality and reliability of data transmission are improved. By comprehensively considering factors such as network topology, device performance and load balancing, the robustness of the system 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 the 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) According to 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. The status monitoring system is used to obtain this data and obtain the device status information. According to the device status information, the communication link between the devices is tested for connectivity to determine the connection status between each device, including the bandwidth, delay and reliability of the link. The test results form an initial topology structure, showing the connection mode of all devices and links. There may be multiple redundant links in the initial topology structure, which provide backup paths in the event of network failure. The initial topology structure is analyzed for redundant links, redundant links are identified and their configuration is optimized to obtain the optimized network topology structure. According to 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 of each device is calculated 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, and d i j is the shortest path distance between device i and device j. This formula evaluates the importance of the 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 master controller candidate set is constructed and a candidate device list is generated. The list includes all devices with a high centrality index and good hardware resources. The load balancing capability of the devices in the candidate device list is evaluated to measure the efficiency and balance of the devices in processing data traffic and 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 the 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. According to 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 of 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 for each communication protocol family to obtain the target protocol set;
[0057] (4) 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;
[0058] (5) Based on the link-protocol mapping table, the network is segmented to obtain a protocol domain division scheme, and 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) Generate multiple sets of pre-configured protocol solutions based on the protocol conversion rule set, the link-protocol mapping table, and the initial protocol switching strategy. 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 the efficiency of the protocol; the reliability index measures the integrity and accuracy of the data during the transmission process of the protocol; the real-time coefficient reflects the sensitivity of the protocol to delay, especially in the real-time data transmission scenario; 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] Among them, S represents the data transmission rate, R represents the reliability index, T represents the real-time coefficient, and a, b and c are weight coefficients, which reflect the relative importance of these parameters in different scenarios. Based on the performance function, each protocol is simulated and tested under different network conditions to obtain a protocol adaptability score table, which records the adaptability score of each protocol in different network scenarios and helps to identify which protocols perform best under specific conditions. According to the protocol adaptability score table, each communication protocol is clustered. Protocols with similar performance are classified into one category to form a protocol family, which simplifies protocol management and enables similar protocols to be processed or switched together. According to the results of cluster analysis, representative protocols are selected from each protocol family to construct a target protocol set. The protocols in the cluster will be used as the main candidates for communication under different network conditions. Subsequently, a protocol switching decision tree is constructed based on the target protocol set and the network topology. A decision tree is a logical structure used to decide when to switch protocols based on network status and protocol performance. The nodes of the decision tree represent network status or events, while the branches represent different decision paths. Based on the decision tree, an initial protocol switching strategy is generated, which defines the protocol to be used under specific network conditions. At the same time, based on the initial protocol switching strategy, the network communication links are assigned protocols and a link-protocol mapping table is generated. The mapping table specifies the communication protocol used by each link to ensure that the optimal protocol is selected during the transmission process. Based on the link-protocol mapping table, the network is segmented and the protocol domain division scheme is obtained. Protocol domain division is to divide the network into multiple areas, each of which uses a specific protocol to optimize network performance and management efficiency. Protocol conversion rules are designed, and protocol conversion at the boundaries of each communication protocol domain is planned to generate a protocol conversion rule set. These rules ensure that data can be smoothly converted when crossing different protocol domains to maintain the consistency and reliability of data transmission. Combining the protocol conversion rule set, link-protocol mapping table and initial protocol switching strategy, multiple sets of pre-configured protocol schemes are generated. These schemes include not only the main scheme, but also multiple alternative schemes to cope with different network changes and emergencies. For example, in a network, the main scheme may use highly reliable protocols A and B, but when the network is congested or the device fails, it can switch to protocols C and D in the alternative 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 to obtain a data type label 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 label set to obtain data volume distribution statistics;
[0065] (2) Based on the data volume distribution statistics, the data to be transmitted is analyzed for timestamps to obtain a data generation timing diagram, and the timeliness of the data to be transmitted is evaluated based on the data generation timing diagram 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 according to the initial data importance matrix to obtain a data dependency graph, and based on the data dependency graph, modifying the initial data importance matrix 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, and based on the priority classification standard, the data to be transmitted is prioritized to obtain a preliminary priority classification result;
[0069] (6) Dynamically adjust the priority based on the preliminary priority classification results and network resource information to obtain a multi-level priority data structure.
[0070] Specifically, the characteristics of the data are analyzed in order to accurately classify the data. By examining the source, structure, and content characteristics of the data, the main data types, such as control instructions, sensor data, and log information, are identified. These classifications are based on the purpose and generation source of the data. For example, control instructions are usually generated by the system's operation control module to perform specific actions; sensor data comes from various sensor devices to provide real-time physical environment information; and log information includes system operation records and event logs. After arranging these classification results, a data type label set is obtained. According to the data type label set, the data volume to be transmitted is calculated, the total volume of each type of data is counted, the proportion of each type of data in the total data volume is understood, and data volume distribution statistics are formed. Through statistics, the main components of data traffic are discovered. Based on the data volume distribution statistics, the data to be transmitted is analyzed for timestamps 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 chart can reveal the frequency and regularity of data generation. For example, some sensor data may be generated in large quantities in a specific time period, while control instructions may be more random. According to the data generation time series diagram, the data is evaluated for timeliness and a data timeliness score table is generated. The timeliness score table evaluates the value of data at different time points by quantifying the time sensitivity of data. Based on the data timeliness score table and the data type label set, a data importance evaluation model is constructed to generate an initial data importance matrix. The matrix comprehensively considers the type and timeliness of the data and assigns an importance score to each data type. Assuming that the timeliness of data, the priority of data type, and the reliability of data 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 of each item. These weight coefficients are set according to the system requirements and the actual situation of the data. After the initial data importance matrix is generated, the data dependency analysis is performed on the data to be transmitted based on the results to obtain the data dependency graph. The data dependency graph shows the relationship between different data types. For example, control instructions may depend on the feedback of sensor data, while log information records every step of the system. By analyzing these dependencies, the initial data importance matrix is corrected to more accurately reflect the importance of the data, and the target data importance matrix is obtained. According to the target data importance matrix, multi-level priority thresholds are designed to obtain the priority classification criteria. These criteria help the system to prioritize the data to be transmitted and generate preliminary priority classification results. For example, control instructions may be given the highest priority because they directly affect system operations; sensor data are assigned different priorities based on their timeliness and accuracy, while log information may be assigned a lower priority. Dynamic priority adjustment is performed based on the preliminary priority classification results and network resource information. The current network resource conditions, such as bandwidth and load conditions, are considered to dynamically adjust the data priority. A multi-level priority data structure is obtained, which can automatically adjust the data transmission priority according to the 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 balancing degree of each node in the network is evaluated to obtain a node load balancing 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 an 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, and 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 and obtain the target transmission strategy.
[0079] Specifically, define and calculate the complexity index of the network. The network complexity index is an important indicator to measure 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, the initial fitness evaluation model is constructed in combination with the 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 combines network complexity with data priority to evaluate the adaptability of the network when processing data of different types and priorities. 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. The 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. According to the link bandwidth utilization matrix, the load balancing degree of each node in the network is evaluated to measure the uniformity of each node in processing traffic and obtain the node load balancing index. The calculation of the load balancing index L can refer to the following formula:
[0084]
[0085] Among them, u i is the bandwidth utilization of the ith 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. The higher the value, the more uniform the load distribution and the more stable the network. 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. 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 corrected 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 important bases for guiding the optimization of network transmission strategies. Based on the fitness evaluation standard, the 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 ( is the corresponding weight coefficient. By adjusting these weight coefficients, different objectives are optimized, such as minimizing delays 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, the fitness of the strategy is continuously improved by adjusting the transmission path and selecting different communication protocols to find the optimal solution. The optimal transmission strategy is selected for 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 higher 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 data.
[0088] In a specific embodiment, the process of executing step S105 may specifically include the following steps:
[0089] (1) Performing data packet routing calculation through the target transmission strategy to obtain an initial routing table, and based on the initial routing table, performing protocol encapsulation on the data packet 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, 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;
[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 according to 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, activate the DPPS algorithm and generate a protocol switching signal;
[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 best path between nodes in the network is determined according to the transmission strategy. The goal of routing calculation is to optimize the transmission efficiency of data packets, while considering factors such as bandwidth, delay and reliability. Use routing algorithms such as Dijkstra algorithm to calculate the shortest path, generate an initial routing table, and list the optimal path from the source node to the target node, including all intermediate nodes and links along the way. Based on the initial routing table, the data packet is encapsulated by protocol and converted into a data format that conforms to the network protocol to obtain a protocol data unit. These data units contain protocol header information, such as source address, destination address, sequence number and checksum, to ensure the correct transmission and assembly of data in the network. When transmitting the protocol data unit, the network status monitoring system is started to monitor the various performance indicators of the network in real time and generate a real-time network status data stream. By analyzing these data streams, key performance indicators such as bandwidth utilization, delay and packet loss rate of the network are calculated. Bandwidth utilization indicates the efficiency of network resource utilization; delay reflects the transmission time of data packets in the network; and packet loss rate indicates the proportion of data packets lost during transmission. The performance indicators are summarized to form 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 the changing trends and potential problems of network performance. Time series analysis can reveal periodic fluctuations or sudden events of the network, such as traffic surges or equipment failures during peak hours. Through these analyses, network status change information is obtained, and a network status change trend chart is generated based on this information. According to the network status change trend chart, a status change threshold is set as a criterion for judging whether the network status is abnormal. For example, if the bandwidth utilization exceeds 80%, the delay exceeds 100ms, or the packet loss rate exceeds 5%, these can be set as trigger conditions. Based on these status change thresholds, the trigger conditions of the DPPS (Dynamic Protocol and Path Selection) algorithm are created to dynamically adjust when the network status is abnormal. When the network status monitoring system detects that the network status change exceeds the set threshold, a real-time evaluation of the network status is performed. If the evaluation result meets the trigger condition of the DPPS algorithm, 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. It indicates that a suitable protocol needs to be selected between different pre-configured protocol schemes to adapt to the current network conditions. According to the protocol switching signal, scheme matching is performed from multiple pre-configured protocol schemes to select the optimal switching scheme. The selection of the optimal solution is based on the current network status and the adaptability of each protocol. For example, in the case of high latency, a protocol with higher bandwidth may be selected. After the optimal switching solution is selected, the communication protocol is dynamically switched to obtain the updated protocol configuration. This process includes adjusting the parameter settings in the protocol stack to ensure that the new protocol can smoothly take over the data transmission task. With the dynamic switching of the protocol, the packet routing is recalculated to adapt to the new protocol configuration and network conditions.The optimal path is calculated using the routing algorithm to generate a new target routing table. The target routing table updates the path information from the source to the destination to ensure that the 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 an abnormality type recognition result, and performing an abnormality severity assessment based on the abnormality type recognition result to obtain an abnormality level classification table;
[0100] (3) Based on the abnormality level classification table, the two-level abnormality handling mechanism is started. First, the first-level rapid response processing is executed to obtain a preliminary fault repair plan, and the network is quickly adjusted based on the preliminary fault repair plan. 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 abnormal 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 a 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 obtain time series data of network traffic. The monitoring system can record traffic information for each time period, including the number, size, and transmission speed of data packets. By analyzing the time series data, the normal pattern and abnormal fluctuations of network traffic are identified. By setting statistical thresholds or using machine learning algorithms, abnormal points, that is, the moments when traffic suddenly increases or decreases, are identified from the time series data to obtain a preliminary abnormal mark sequence. Pattern matching is performed based on the preliminary abnormal mark sequence. The abnormal type is identified by comparison with the predefined abnormal pattern library. The abnormal type identification result helps understand the nature of the abnormality, such as whether the traffic abnormality is caused by a network attack or the traffic interruption is caused by equipment failure. According to the abnormal type, the abnormal severity is evaluated to obtain an abnormal level classification table, and the abnormalities are classified according to the severity, such as into minor, medium, and severe levels, so that different processing measures can be taken according to different levels. Based on the abnormal level classification table, a two-level abnormality handling mechanism is initiated. The first-level rapid response processing is performed to quickly respond to abnormal situations and avoid their expansion. For example, if a network attack is detected, the system can immediately enable firewall rules or restrict access to specific IPs. Develop a preliminary fault repair plan and make quick adjustments to the network based on the plan, such as reallocating bandwidth, changing routes, and other operations. At the same time, trigger the second-level in-depth analysis and processing to analyze the root cause of the anomaly. By collecting more network logs and device status data, write an analysis report on the cause of the anomaly and deeply analyze the source of the problem. After obtaining the analysis report on the cause of the anomaly, develop a detailed fault recovery plan and propose solutions to the specific problems found, such as replacing faulty equipment, updating security policies, or optimizing network configuration. Perform network reconstruction and protocol reconfiguration according to the fault recovery plan. 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 completing these operations, the restored network status is obtained. Perform performance testing on the restored network status. Calculate the transmission performance data set, which includes the measured values of key indicators such as bandwidth utilization, delay, and packet loss rate. Through these data, evaluate whether the network performance after the repair has returned to normal levels, or whether there is room for further optimization. Perform trend analysis and predictive modeling based on the transmission performance data set. By analyzing the trend of historical performance data changes, predict possible performance problems or abnormal situations in the future. Trend analysis helps the system identify potential long-term problems, such as persistent bandwidth shortages or frequent packet loss, while predictive modeling provides data support to help the system 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 the embodiment of the present application, an embodiment of a signal I / O control device based on a multi-protocol includes:
[0105] Initialization module 201, used to initialize the multi-protocol signal I / O control device, obtain device status information and network topology structure and select the main 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, and obtaining 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 a multi-level priority data structure to obtain a target transmission strategy;
[0109] The dynamic protocol adjustment module 205 is 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, the protocol switching mechanism of the DPPS algorithm is triggered and dynamic protocol adjustment is performed through multiple pre-configured protocol schemes;
[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] Through the collaboration of the above components, by real-time monitoring of network conditions and dynamic adjustment of transmission strategies, this method can effectively adapt to complex and changing network environments and improve the reliability and efficiency of the system. The DPPS algorithm is used for protocol switching decisions, combined with multiple pre-configured protocol schemes, to achieve intelligent selection and dynamic adjustment of transmission protocols. By building fitness evaluation criteria and transmission strategy optimization, the optimal transmission scheme can be found under multiple constraints, significantly improving the overall performance of the system. The two-level exception handling mechanism can not only respond to faults quickly, but also conduct in-depth analysis and recovery, greatly improving the stability and reliability of the system. Based on multi-protocol support and dynamic configuration mechanism, this method can flexibly adapt to different application scenarios and new devices, and has good scalability. Through intelligent scheduling and optimal allocation of network resources, the utilization efficiency of system resources is improved and energy consumption is reduced. By performing feature analysis and priority division on data, the timely transmission of important data is ensured, and the quality and reliability of data transmission are improved. By comprehensively considering factors such as network topology, device performance and load balancing, the robustness of the system in the face of various uncertainties is enhanced.
[0112] The present application also provides a computer device, which includes a memory and a processor, wherein the memory stores computer-readable instructions, and 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, wherein instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer executes the steps of the data transmission method of the multi-protocol-based signal I / O control device.
[0114] Those skilled in the art can 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 to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned 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; Based on the main controller, the communication protocol in the multi-protocol signal I / O control device is analyzed for protocol characteristics and pre-configured to obtain multiple pre-configured protocol solutions; Perform data feature analysis and priority classification 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, trigger the protocol switching mechanism of the DPPS algorithm based on the network status change information and perform dynamic protocol adjustment through the multiple pre-configured protocol schemes; 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 signal I / O control device based on a multi-protocol 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 structure, and selecting a main controller includes: Perform device status analysis on all devices in the multi-protocol signal I / O control device to obtain device status information; According to the device status information, a connectivity test is performed on the communication links between the devices to obtain an initial topology structure, and a redundant link analysis is performed on the initial topology structure to obtain a network topology structure; According to 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; According to the device network centrality index and the device resource evaluation report, a master controller candidate set is constructed and a candidate device list is generated; 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; 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 a signal I / O control device based on a multi-protocol 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; According to the protocol adaptability scoring table, cluster analysis is performed on each communication protocol to obtain a protocol family division result, and based on the protocol family division result, representative protocols are selected for each communication protocol family 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; Based on the link-protocol mapping table, the network is segmented to obtain a protocol domain division scheme, and based on the protocol domain division scheme, protocol conversion rules are designed for each communication protocol domain boundary to obtain a protocol conversion rule set; According to 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, and the multiple sets of pre-configured protocol solutions include a main solution and multiple alternative solutions.
4. The data transmission method of a signal I / O control device based on a multi-protocol 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, the data to be transmitted is analyzed for timestamps to obtain a data generation timing diagram, and according to the data generation timing diagram, the data to be transmitted is evaluated for timeliness to obtain a data timeliness scoring 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; According to the initial data importance matrix, data dependency analysis is performed on the data to be transmitted to obtain a data dependency graph, and based on the data dependency graph, the initial data importance matrix is modified 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 a signal I / O control device based on a 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 complexity analysis on the network topology structure 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 according to the link bandwidth utilization matrix to obtain a node load balancing index; Based on the node load balancing index and the multi-level priority data structure, a network energy efficiency coefficient is calculated to obtain an energy consumption evaluation graph, and according to the energy consumption evaluation graph, the initial fitness evaluation model is corrected to obtain a fitness evaluation standard; Based on the fitness evaluation standard, a transmission strategy optimization objective function is constructed, and based on the transmission strategy optimization objective function, the transmission path and protocol selection are iteratively optimized to obtain a candidate transmission strategy set; An optimal transmission strategy is selected for the candidate transmission strategy set to obtain a target transmission strategy.
6. The data transmission method of a signal I / O control device based on a multi-protocol according to claim 5, characterized in that: The method of executing data transmission according to the target transmission strategy and monitoring the network status in real time to obtain network status change information, 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, includes: Performing data packet routing calculation through 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 according to the real-time network status data stream to obtain a performance indicator matrix including bandwidth utilization, delay, and packet loss rate; Performing time series analysis based on the performance indicator matrix to obtain network state change information, and generating a network state change trend graph according to the network state change information; According to the network state change trend graph, a state change threshold is set, and a DPPS algorithm trigger condition is created according to the state change threshold; Performing real-time evaluation of network status based on the DPPS algorithm triggering condition, activating the DPPS algorithm and generating a protocol switching signal when the triggering condition is met; According to the protocol switching signal, matching schemes from the multiple pre-configured protocol schemes is performed to obtain an optimal switching scheme, and dynamically switching the communication protocol is performed based on the optimal switching scheme to obtain an updated protocol configuration; According to the updated protocol configuration, the data packet route is recalculated to obtain a target routing table, and data transmission is continued based on the target routing table.
7. The data transmission method of a signal I / O control device based on a multi-protocol 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 performed 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 abnormal point detection based on the network traffic time series data to obtain a preliminary abnormal mark sequence; Performing pattern matching based on the preliminary abnormality tag sequence to obtain an abnormality type recognition result, and performing an abnormality severity assessment based on the abnormality type recognition result to obtain an abnormality level classification table; Based on the abnormality level classification table, a two-level abnormality handling mechanism is started, firstly, the first-level rapid response processing is performed to obtain a preliminary fault repair plan, and the network is quickly adjusted based on the preliminary fault repair plan, and at the same time, the second-level in-depth analysis processing is triggered to obtain an abnormality cause analysis report; Based on the abnormal cause analysis report, a fault recovery plan is formulated, and according to the fault recovery plan, network reconstruction and protocol reconfiguration are performed 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 multi-protocol, characterized in that: A data transmission method for a multi-protocol based signal I / O control device for executing any one of claims 1 to 7, the device comprising: An initialization module is used to initialize the multi-protocol signal I / O control device, obtain device status information and network topology structure, and select a main controller; A pre-configuration module, 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; A priority division module is used to analyze the data characteristics and divide the priorities of the data to be transmitted to obtain a multi-level priority data structure; A transmission strategy optimization module, 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; A dynamic protocol adjustment module, 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, and 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 the multiple pre-configured protocol schemes; 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 comprises: 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
Dynamic network routing optimization method and system based on deep learning prediction
CN117714307A
Multi-protocol data flow routing control method and system
CN118802737A
Multi-Protocol Routing System and Method Driven by Application and Network in Convergence
US20150074287A1
Cited By
Communication timeout exception handling method for intelligent electric energy meter
CN119766696A
A communication protocol intelligent switching method and system for omni-channel contact center
CN119788751A
A communication protocol intelligent switching method and system for omni-channel contact center
CN119788751B
Heterogeneous network engineering-oriented adaptive protocol conversion gateway system and control method
CN120075312A
Internet of Things gateway communication protocol collaborative optimization method and system
CN120343115A