Control Device Networking Communication Method, Apparatus, Device, and Storage Medium
By extracting control function features and calculating keyity index of the control equipment, a dynamic routing execution plan and time slot allocation plan are generated, and the problem of unreasonable control data transmission in the existing technology is solved, differentiated transmission processing is realized, and the stability and efficiency of the control system are improved.
Patent Information
- Application Number
- CN202510402230.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-01
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2045-04-01
AI Technical Summary
The existing control equipment network communication technology fails to perform differentiated transmission processing based on the characteristics of the control data, resulting in the possibility that key control data may not be transmitted in time, the transmission path is unreasonable, and the transmission efficiency of periodic control data is inefficient.
By extracting control function features of the access device, a control function descriptor is generated; calculating the control keyity index based on the descriptor, performing control-oriented link establishment, and generating control-sensitive routing tables; classifying communication data, performing control-related routing aggregation, and generating dynamic routing execution plans; controlling cycle-aware time slot allocation for network bandwidth resources, realizing time slot division and data transmission timing control aligned with the control cycle.
Differentiated transmission processing is realized according to the characteristics of the control data, ensuring timely transmission of key control data, optimizing the transmission path and bandwidth resource allocation, improving the transmission efficiency of periodic control data, and ensuring the stable operation and control accuracy of the control system.
Smart Images

Figure CN119906667B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of networking communication, and particularly to a control device networking communication method, apparatus, device, and storage medium. Background Art
[0002] With the rapid development of industrial automation and intelligent control systems, the networking and informatization levels of control devices are continuously improving, and the data communication requirements between control devices are increasing day by day. In the existing control device networking communication technology, traditional network communication protocols and resource allocation strategies are mainly adopted, such as general network technologies like Ethernet and industrial Ethernet. These technologies usually adopt a unified communication protocol and resource allocation mechanism, and use the same processing method for all types of data during data transmission.
[0003] However, the control system has its particularity. There are complex coordination relationships between different control loops, and control data has diverse real-time requirements and periodic characteristics. The existing technologies have the following problems when dealing with control data transmission: First, the unified network communication protocol fails to distinguish the priorities and delay requirements of different control data, resulting in possible failure to transmit critical control data in a timely manner; Second, the resource allocation strategy does not consider the coordination between control loops, causing unreasonable transmission paths for control data; Third, the bandwidth resource allocation is not synchronized with the control period, making the transmission efficiency of periodic control data low. These problems may lead to excessive delays or unreasonable resource allocation during the transmission of control data, affecting the stable operation and control accuracy of the control system. Summary of the Invention
[0004] The main purpose of the present invention is to solve the technical problem that the existing control device networking communication method fails to perform differential transmission processing according to the characteristics of control data;
[0005] The first aspect of the present invention provides a control device networking communication method, and the control device networking communication method includes:
[0006] Extract control function characteristics of access devices for networking to obtain the control types and communication requirements of the access devices, and perform control coordination perception processing according to the control types and communication requirements to generate corresponding control function descriptors;
[0007] Calculate the control criticality index of the access device according to the control function descriptor, and perform control-oriented link establishment processing based on the control criticality index to generate a control-sensitive routing table including control priorities and delay requirements;
[0008] Classify and label the communication data of the access devices in the network based on the control-sensitive routing table to obtain a service label including priority and delay sensitivity, and perform control-correlation routing aggregation processing according to the service label to generate a dynamic routing execution plan;
[0009] Perform time slot allocation with control cycle awareness on the network bandwidth resources of the network according to the dynamic routing execution plan, establish time slot division aligned with the control cycle, and perform data transmission timing control on the time slot division to realize the network data transmission between access devices.
[0010] Optionally, in the first implementation manner of the first aspect of the present invention, the extraction of control function characteristics of the access devices for networking, obtaining the control type and communication requirements of the access devices, and performing control collaboration perception processing according to the control type and communication requirements to generate corresponding control function descriptors include:
[0011] Perform classification and analysis processing on the functional characteristics of the access devices to obtain a control type including the control loop participation role and the control execution mode;
[0012] Perform control parameter extraction processing on the control type to obtain communication requirements including a control cycle and a response time limit;
[0013] Perform control relationship analysis processing between access devices according to the control type and the communication requirements to obtain a set of device control dependency relationships;
[0014] Perform control collaboration feature mapping processing based on the set of device control dependency relationships to generate a control function descriptor including a control role identifier and a control loop identifier.
[0015] Optionally, in the second implementation manner of the first aspect of the present invention, the calculation of the control criticality index of the access device according to the control function descriptor, and the execution of control-oriented link establishment processing based on the control criticality index to generate a control-sensitive routing table including control priority and delay requirements include:
[0016] Perform control level mapping processing according to the control role identifier in the control function descriptor to obtain a basic control criticality;
[0017] Perform loop complexity analysis processing on the control loop identifier in the control function descriptor to obtain a loop complexity coefficient;
[0018] Perform weighted calculation processing according to the basic control criticality and the loop complexity coefficient to obtain the control criticality index of the access device;
[0019] Performing communication link priority allocation processing on the access devices within the same control loop based on the control criticality index to obtain a link priority set within the control loop, and performing control loop closed-loop delay calculation processing on the link priority set to obtain a link delay constraint set;
[0020] Performing routing path calculation processing according to the link priority set and the link delay constraint set to generate a control-sensitive routing table including control priorities and delay requirements.
[0021] Optionally, in the third implementation manner of the first aspect of the present invention, the performing routing path calculation processing according to the link priority set and the link delay constraint set to generate a control-sensitive routing table including control priorities and delay requirements includes:
[0022] Performing priority sorting processing on the links in the link priority set to obtain a link priority sorting table;
[0023] Performing multi-path calculation processing on the routing path according to the link priority sorting table and the link delay constraint set to obtain a candidate routing path set;
[0024] Performing delay accumulation calculation processing on the paths in the candidate routing path set to obtain a path delay feature set;
[0025] Performing availability evaluation processing on the candidate routing paths according to the path delay feature set to obtain a set of valid routing paths that meet the delay constraints;
[0026] Performing routing table generation processing based on the set of valid routing paths to obtain a control-sensitive routing table including control priorities and delay requirements.
[0027] Optionally, in the fourth implementation manner of the first aspect of the present invention, the classifying and marking the communication data of the access devices in the network based on the control-sensitive routing table to obtain a service label including priority and delay sensitivity, and performing control correlation routing aggregation processing according to the service label to generate a dynamic routing execution plan includes:
[0028] Performing level division processing on the communication data according to the control priorities in the control-sensitive routing table to obtain a data transmission priority identifier;
[0029] Performing delay sensitivity calculation processing on the communication data according to the delay requirements in the control-sensitive routing table to obtain a data delay level identifier;
[0030] Performing label encapsulation processing on the data transmission priority identifier and the data delay level identifier to obtain a service label including priority and delay sensitivity;
[0031] Aggregate and identify the data streams belonging to the same control loop according to the service label to obtain a control loop aggregated data stream set;
[0032] Perform routing path allocation processing on the control loop aggregated data stream set to obtain an aggregated routing path set, and perform control loop resource allocation processing based on the aggregated routing path set to generate a dynamic routing execution plan.
[0033] Optionally, in the fifth implementation manner of the first aspect of the present invention, the performing routing path allocation processing on the control loop aggregated data stream set to obtain an aggregated routing path set, and performing control loop resource allocation processing based on the aggregated routing path set to generate a dynamic routing execution plan includes:
[0034] Perform statistical analysis processing on the packet size, transmission period, and burst characteristics in the control loop aggregated data stream set to obtain a time-varying traffic feature vector;
[0035] Perform periodic fluctuation prediction processing on the data stream according to the time-varying traffic feature vector to obtain a data traffic periodic change model, and perform bandwidth resource mapping processing on the data traffic periodic change model to obtain a path bandwidth occupancy matrix;
[0036] Perform link capacity matching processing on the routing path according to the path bandwidth occupancy matrix to obtain a bandwidth-limited aggregated routing path set, and perform cache queue allocation processing on the bandwidth-limited aggregated routing path set to obtain a path cache configuration table;
[0037] Perform time-division multiplexing processing on the network resources based on the path cache configuration table to obtain a resource scheduling time axis, and perform routing switch timing generation processing according to the resource scheduling time axis to obtain a dynamic routing execution plan.
[0038] Optionally, in the sixth implementation manner of the first aspect of the present invention, the performing control cycle-aware time slot allocation on the network bandwidth resources of the network according to the dynamic routing execution plan, establishing a time slot division aligned with the control cycle, and performing data transmission timing control on the time slot division to implement network data transmission between access devices includes:
[0039] Perform bandwidth requirement calculation processing on the data streams in the dynamic routing execution plan to obtain a data stream bandwidth requirement set;
[0040] Perform available bandwidth evaluation processing on the network bandwidth resources according to the data stream bandwidth requirement set to obtain a network bandwidth resource distribution map;
[0041] Perform control cycle extraction processing based on the network bandwidth resource distribution map to obtain a bandwidth time slot occupancy sequence;
[0042] Perform periodic partitioning processing on the network bandwidth resources according to the bandwidth time slot occupancy sequence to obtain a time slot allocation scheme aligned with the control period;
[0043] Perform data packet transmission timing scheduling processing on the time slot allocation scheme, establish a bandwidth-constrained transmission mechanism for control data, and realize the networking data transmission between access devices.
[0044] The second aspect of the present invention provides a control device networking communication device, and the control device networking communication device includes:
[0045] A feature extraction module, configured to extract control function features of access devices for networking, obtain the control types and communication requirements of the access devices, and perform control collaborative perception processing according to the control types and communication requirements to generate corresponding control function descriptors;
[0046] A link establishment module, configured to calculate the control criticality index of the access device according to the control function descriptor, and perform control-oriented link establishment processing based on the control criticality index to generate a control-sensitive routing table including control priority and delay requirements;
[0047] A routing aggregation module, configured to classify and label the communication data of the access devices for networking based on the control-sensitive routing table to obtain a service label including priority and delay sensitivity, and perform control-correlation routing aggregation processing according to the service label to generate a dynamic routing execution plan;
[0048] A transmission control module, configured to perform time slot allocation with control period perception on the network bandwidth resources for networking according to the dynamic routing execution plan, establish a time slot division aligned with the control period, and perform data transmission timing control on the time slot division to realize the networking data transmission between access devices.
[0049] The third aspect of the present invention provides a control device networking communication device, including: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected by a line; the at least one processor calls the instructions in the memory so that the control device networking communication device executes the steps of the above-mentioned control device networking communication method.
[0050] The fourth aspect of the present invention provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when it runs on a computer, it causes the computer to execute the steps of the above-mentioned control device networking communication method.
[0051] The above control device networking communication method, device, equipment and storage medium extract control function features from the access devices to obtain control types and communication requirements, and perform control collaborative perception processing to generate control function descriptors; calculate the control criticality index based on the descriptors, perform control-oriented link establishment processing to generate a control-sensitive routing table; classify and label the communication data to obtain service tags, perform control correlation routing aggregation processing to generate a dynamic routing execution plan; perform time slot allocation for control cycle perception of network bandwidth resources, establish time slot division and perform data transmission timing control to achieve networking data transmission between devices. The present invention introduces control function perception and control criticality calculation, enables the network to identify the importance of different control data, and realizes differential transmission of control data through control correlation routing aggregation and time slot allocation of control cycle synchronization.
[0052] Other features and advantages of the present invention will be described in the following specification, and, in part, will be obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention are achieved and obtained by the structures specifically pointed out in the specification, claims and drawings.
[0053] To make the above objectives, features and advantages of the present invention more obvious and understandable, the following specific preferred embodiments are given, and in conjunction with the accompanying drawings, the detailed description is as follows. Brief Description of the Drawings
[0054] Figure 1 Schematic diagram of the first embodiment of the control device networking communication method in the embodiments of the present invention;
[0055] Figure 2 Schematic diagram of an embodiment of the control device networking communication device in the embodiments of the present invention;
[0056] Figure 3 Schematic diagram of an embodiment of the control device networking communication equipment in the embodiments of the present invention. Detailed Embodiments
[0057] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
[0058] As used in the embodiments of the present invention, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally further include other unlisted steps or units, or may optionally further include other steps or units inherent to these processes, methods, products, or devices.
[0059] To facilitate the understanding of this embodiment, a method for controlling device networking communication disclosed in the embodiments of the present invention will be introduced in detail first. The multi-agent includes a problem rewriting agent, a document selection agent, an answer generation agent, and a retrieval agent. As Figure 1 shown, this method includes the following steps:
[0060] 101. Extract the control function characteristics of the access devices to be networked, obtain the control types and communication requirements of the access devices, and perform control collaborative perception processing according to the control types and communication requirements to generate corresponding control function descriptors;
[0061] In an embodiment of the present invention, the extracting the control function characteristics of the access devices to be networked, obtaining the control types and communication requirements of the access devices, and performing control collaborative perception processing according to the control types and communication requirements to generate corresponding control function descriptors includes: classifying and analyzing the functional characteristics of the access devices to obtain control types including control loop participation roles and control execution modes; extracting control parameters from the control types to obtain communication requirements including control periods and response time limits; performing control relationship analysis processing between access devices according to the control types and the communication requirements to obtain a set of device control dependency relationships; and performing control collaborative feature mapping processing based on the set of device control dependency relationships to generate control function descriptors including control role identifiers and control loop identifiers.
[0062] Specifically, in the control device networking communication method, to extract the control function characteristics of the access devices for networking, it is first necessary to classify and analyze the functional characteristics of the access devices. During specific implementation, the system extracts the basic functional attributes of the devices by parsing the hardware configuration files and software function declaration files of the access devices. Taking an industrial automation system as an example, the access devices can be classified into four categories according to their functional characteristics: input devices (such as various sensors), output devices (such as actuators and drivers), processing devices (such as controllers and computing units), and composite devices (such as intelligent execution units). During the classification and analysis process, the system further identifies the roles of the devices in the control loop, such as signal source, signal processor, executor, or supervisor. At the same time, the system parses the control execution modes of the devices, including continuous feedback control mode, discrete state control mode, sequential logic control mode, or hybrid control mode. Through these classification and analysis steps, the system generates a control type that includes the roles in the control loop and the control execution mode, providing a basis for subsequent communication requirement analysis.
[0063] Specifically, after determining the control type, the system further extracts the control parameters for the control type. At this stage, the system extracts the control parameters directly related to communication by analyzing the working specifications and actual operating parameters of the devices. For continuously feedback-controlled devices, the system extracts the control period parameter, that is, the time interval required to complete one closed-loop control, and the typical values range from a few milliseconds to several seconds, depending on the dynamic characteristics of the controlled object. For discretely state-controlled devices, the state transition frequency and state report interval are extracted. The system also extracts the response time limit requirements of the devices, including the maximum allowable response delay and jitter tolerance. For example, the maximum allowable response delay of a motor controller is usually a few milliseconds, while a temperature monitoring system may tolerate a delay of several hundred milliseconds. The system also analyzes the data traffic characteristics of the devices in different operating states (normal, alarm, emergency), including the regular data volume, burst data volume, and data priority. Through the extraction of these control parameters, the system obtains the communication requirements including the control period and response time limit, providing a quantitative basis for network resource allocation.
[0064] Specifically, based on the obtained control types and communication requirements, the system further performs analysis and processing of the control relationships between access devices according to the control types and the communication requirements. In this step, the system first establishes a physical connection relationship diagram between devices, recording the physical communication links and topological structures between devices. Then, by analyzing the control logic flow, the system identifies the logical control relationships between devices, including command issuing relationships, data reporting relationships, and collaborative working relationships. Taking the production line control system as an example, there is a command issuing relationship between the main controller and each station controller, a direct control relationship between each station controller and the on-site devices, and a collaborative relationship between adjacent station controllers. The system also analyzes the data dependency relationships between devices to determine which devices' output data are necessary inputs for other devices. By comparing the control cycles and response time limits of devices, the system identifies the time-critical paths, i.e., those device chains that have a decisive impact on the overall control performance. After these analysis steps, the system generates a device control dependency relationship set, which is represented in the form of a directed graph, with nodes being devices, edges being dependency relationships, and the weights of the edges representing the dependency degree and time constraints.
[0065] Specifically, based on the obtained device control dependency relationship set, the system finally performs control collaborative feature mapping processing based on the device control dependency relationship set. In this stage, the system converts the control dependency relationships into communication requirement features and establishes a mapping relationship between control functions and network service quality. When specifically implementing, the system first assigns a unique control role identifier to each access device, which consists of three parts: device type code, function level code, and instance number. For example, the role identifier of a secondary temperature controller may be "TC-L2-003", indicating that it is a temperature controller, at the secondary level, and the third instance. At the same time, the system assigns a unique loop identifier to each identified control loop, and the loop identifier includes the control object type, control target, and loop number. For example, "TEMP-STABLE-007" represents the 7th temperature stability control loop. The system associates the control role identifier of the device with all the control loop identifiers it participates in to form a device-loop mapping table. In addition, the system also extracts the key performance indicators and fault tolerance requirements of each control loop and converts these requirements into communication service level definitions. Through these mapping processes, the system finally generates a control function descriptor containing the control role identifier and the control loop identifier, which serves as the basis for subsequent network topology construction and resource allocation.
[0066] 102. Calculate the control criticality index of the access device according to the control function descriptor, and perform control-oriented link establishment processing based on the control criticality index to generate a control-sensitive routing table containing control priorities and delay requirements;
[0067] In an embodiment of the present invention, calculating the control criticality index of an access device according to the control function descriptor and performing control-oriented link establishment processing based on the control criticality index to generate a control-sensitive routing table including control priority and delay requirements includes: performing control hierarchy mapping processing according to the control role identifier in the control function descriptor to obtain the basic control criticality; performing loop complexity analysis processing on the control loop identifier in the control function descriptor to obtain the loop complexity coefficient; performing weighted calculation processing according to the basic control criticality and the loop complexity coefficient to obtain the control criticality index of the access device; performing communication link priority allocation processing on the access devices within the same control loop based on the control criticality index to obtain a link priority set within the control loop, and performing control loop closed-loop delay calculation processing on the link priority set to obtain a link delay constraint set; performing routing path calculation processing according to the link priority set and the link delay constraint set to generate a control-sensitive routing table including control priority and delay requirements.
[0068] Specifically, after obtaining the control function descriptor, the system performs control hierarchy mapping processing according to the control role identifier in the control function descriptor. This process maps the device to the hierarchical structure of the control system by parsing the function hierarchy code in the control role identifier. In an industrial control system, a typical hierarchical structure includes the enterprise layer (L4), factory layer (L3), area layer (L2), device layer (L1), and field layer (L0). The system assigns a basic criticality value to each layer by querying a preset control hierarchy mapping table. For example, the enterprise layer device is assigned a criticality value of 1.0, the factory layer device is assigned a value of 2.0, the area layer device is assigned a value of 3.0, the device layer is assigned a value of 4.0, and the field layer is assigned a value of 5.0. In addition, the system also considers the functional importance of the device within the same layer. By parsing the device type code in the role identifier, a functional importance correction factor is applied. For example, a device responsible for the security function obtains a correction factor of 1.5, a device responsible for the critical production process obtains a correction factor of 1.3, and a device responsible for the auxiliary function obtains a correction factor of 0.8. Through the product of the layer base value and the functional correction factor, the system obtains the basic control criticality of each access device, which quantifies the inherent importance of the device in the overall control system.
[0069] Specifically, the system performs a loop complexity analysis on the control loop identifiers in the control function descriptors. The system first identifies the control type of each loop, such as PID control loop, sequential control loop, logic control loop, or hybrid control loop. Then, the system analyzes the structural complexity of the control loop, including the number of devices in the loop, the span of control levels, and the complexity of control relationships. For example, a temperature control loop spanning three control levels, containing multiple devices such as sensors, signal converters, PID controllers, and actuators, has a structural complexity score of 4.0. The system also evaluates the dynamic characteristics of the control loop, including response speed requirements, stability requirements, and accuracy requirements. For example, a motor control loop with millisecond-level response requirements has a dynamic characteristic score of 5.0, while a temperature monitoring loop allowing second-level response has a score of 2.0. In addition, the system analyzes the functional criticality of the loop and evaluates the impact of loop failure on the overall system. For example, a safety protection loop obtains a criticality score of 5.0, while a data recording loop obtains a score of 1.0. By integrating these factors, the system calculates the complexity coefficient of each control loop, which reflects the comprehensive complexity and importance of the control loop.
[0070] Specifically, the system performs a weighted calculation based on the basic control criticality and the loop complexity coefficient. The system first obtains the list of all control loops participated by each device and the corresponding loop complexity coefficients. For a device participating in multiple control loops, the system uses a non-linear weighting method to calculate the control criticality index of the device. In specific implementation, the system first sorts the control loops participated by the device in descending order of complexity coefficient, and then applies an attenuation weighting model to calculate the comprehensive impact. In this model, the loop with the highest complexity contributes 100% of the weight, the second highest contributes 70%, the third highest contributes 50%, and so on. This non-linear weighting method ensures the dominant influence of the critical loop while not ignoring other control functions participated by the device. Then, the system multiplies the weighted value of the basic control criticality and the loop complexity to obtain the preliminary criticality index of the device. The system also considers the redundancy configuration of the device, appropriately reducing the criticality index for devices with redundant backups, and increasing the index for critical devices without redundant protection. Finally, the system normalizes the criticality indices of all devices so that they are distributed in the range of 1.0 to 10.0, obtaining the control criticality index (CCI) of the access device, which comprehensively reflects the comprehensive importance of the device in the control system.
[0071] Specifically, after obtaining the control criticality index of the device, the system performs communication link priority assignment processing on the access devices within the same control loop based on the control criticality index. First, the system arranges the devices within the same control loop in descending order of the control criticality index to determine the relative importance among the devices. Then, the system analyzes the data flow direction of the control loop, identifies the data source device and the data destination device, and establishes a communication link model. For each communication link, the system assigns a basic priority value, and the calculation method is the geometric mean of the control criticality indices of the source device and the destination device. In addition, the system also considers the functional role of the link in the control loop, such as the control command link, the status feedback link, or the configuration data link. The control command link obtains a role weighting factor of 1.5, the status feedback link obtains a factor of 1.3, and the configuration data link obtains a factor of 0.8. By multiplying the basic priority by the role weighting factor, the system determines the final priority of each link and normalizes it to an integer range of 1 to 10 to form the link priority set within the control loop. Subsequently, the system performs control loop closed-loop delay calculation processing on the link priority set. The system analyzes the control cycle requirements of the control loop and limits the closed-loop control delay within a certain proportion of the control cycle according to control theory, usually 10% to 30%. The system allocates this total delay budget to each communication link within the loop, and the allocation principle is that the high-priority link obtains more delay capacity while considering the data volume factor. Finally, the system determines the maximum allowable delay value for each link and summarizes it to form a link delay constraint set, which clearly defines the delay upper limit requirements for each communication link.
[0072] Specifically, the system performs routing path calculation and processing based on the link priority set and the link delay constraint set. First, the system constructs a network topology graph, where nodes represent access devices, edges represent possible physical communication links, and the weights of the edges represent the basic transmission delay and reliability of the links. Then, for each communication link to be established, the system executes a multi-objective path optimization algorithm, considering path length, transmission delay, and network resource utilization efficiency simultaneously. For high-priority communication links, the system preferentially selects the path with the minimum delay, even if this path may consume more network resources; for medium-priority links, the system balances the consideration of delay and resource efficiency; for low-priority links, the system gives priority to resource efficiency and allows an appropriate increase in transmission delay. The system calculates the primary path and the backup path for critical communication links to achieve path redundancy protection and enhance communication reliability. At the same time, the system also considers the mutual interference between different routing paths and tries to avoid resource competition between critical links. Through these routing calculation steps, the system finally generates a control-sensitive routing table. This routing table is different from the traditional IP routing table. In addition to containing the destination address and next-hop information, it also contains a control priority mark and the maximum allowable delay requirement. When processing data packets, the network forwarding device will provide differentiated services based on these extended information to ensure that the control communication requirements are met. This control-sensitive routing table containing control priority and delay requirements becomes the core basis for subsequent communication scheduling.
[0073] Further, the routing path calculation and processing based on the link priority set and the link delay constraint set to generate a control-sensitive routing table containing control priority and delay requirements includes: performing priority sorting processing on the links in the link priority set to obtain a link priority sorting table; performing multi-path calculation processing on the routing path according to the link priority sorting table and the link delay constraint set to obtain a candidate routing path set; performing delay accumulation calculation processing on the paths in the candidate routing path set to obtain a path delay feature set; performing availability evaluation processing on the candidate routing paths according to the path delay feature set to obtain a set of valid routing paths that meet the delay constraints; and performing routing table generation processing based on the set of valid routing paths to obtain a control-sensitive routing table containing control priority and delay requirements.
[0074] Specifically, during the process of network communication among control devices, the system first performs a priority sorting process on the links in the link priority set. In this step, through a strict sorting algorithm, all communication links in the link priority set are arranged in descending order of priority values. During the sorting process, the system adopts an improved quicksort algorithm to ensure the efficiency and stability of sorting. For links with the same priority value, the system introduces secondary sorting factors, including the criticality of the control loop to which the link belongs, the data traffic volume of the link, and the historical stability index of the link. In actual implementation, for example, in an industrial control system, the command link of the safety control loop obtains a priority of 10, the main process control link obtains a priority of 9, the auxiliary process control link obtains a priority of 7, the status monitoring link obtains a priority of 5, and the data recording link obtains a priority of 3. After the sorting is completed, the system generates a link priority sorting table, which contains information such as link identifiers, source device IDs, destination device IDs, priority values, and control loop identifiers. The link priority sorting table is essentially a structured data table that defines the relative importance of all communication links in the system and provides a decision-making basis for differential routing calculations. This table clearly indicates which links should be given priority to obtain network resources in the case of resource competition, thus ensuring the priority implementation of the key functions of the control system.
[0075] Specifically, after obtaining the link priority sorting table, the system performs a multipath calculation process on the routing paths according to the link priority sorting table and the link delay constraint set. The system sequentially performs path calculations for each link in the sorting table, from high priority to low priority. The calculation process adopts a modified multi-constraint path algorithm, considering multiple optimization objectives at the same time. For critical control links with priorities 9-10, the system calculates at least three independent paths: the delay-optimal path, the reliability-optimal path, and the resource consumption-optimal path; for important links with priorities 6-8, the system calculates two paths: the main path and the backup path; for general links with priorities 5 and below, the system only calculates a single optimal path. In path calculation, the system makes full use of network topology information, considering the physical connection status between nodes, the link bandwidth capacity, and the current load situation. The system also adopts a path separation algorithm to ensure that the multiple paths calculated for the same link have the minimum overlap in physical resources and enhance the independence between paths. For example, in a power control network, the main path of the circuit breaker control command link is transmitted along the main fiber optic ring network, while the backup path is transmitted along the secondary fiber optic ring network, ensuring that a single point of failure will not affect both paths at the same time. Through these multipath calculation processes, the system obtains a candidate routing path set, which provides one or more optional routing choices for each communication link.
[0076] Specifically, after obtaining the candidate routing path set, the system further performs delay accumulation calculation processing on the paths in the candidate routing path set. This step evaluates the end-to-end transmission delay of each candidate path to ensure that the path meets the delay constraint requirements. The system first obtains the basic transmission delay of each link segment on the path, including propagation delay, transmission delay, processing delay, and queuing delay. The propagation delay is determined by the physical length of the link and the signal propagation speed; the transmission delay is determined by the packet size and the link bandwidth; the processing delay is determined by the processing capacity of the intermediate nodes; the queuing delay is determined by the current load condition of the link. The system obtains these basic delay parameters through intelligent detection technology or historical data analysis. Subsequently, the system calculates the cumulative delay of the path, that is, the sum of the delays of all link segments on the path. At the same time, the system also evaluates the fluctuation characteristics of the delay, including delay jitter and delay predictability. For high-priority control links, the system additionally considers the worst-case delay estimate, that is, the transmission delay under network congestion conditions. This comprehensive delay evaluation ensures the delay controllability of path selection. Through delay accumulation calculation, the system obtains a path delay feature set, which contains multi-dimensional indicators such as the average delay, maximum delay, delay jitter, and delay reliability of each candidate path, comprehensively describing the delay performance characteristics of the path.
[0077] Specifically, with the path delay feature set, the system performs availability evaluation processing on the candidate routing paths according to the path delay feature set. In this link, through a strict screening process, it is determined which candidate paths can meet the delay requirements of control communication. The system first compares the delay characteristics of each candidate path with the delay constraints of the corresponding link. The delay constraints are derived from the previously generated link delay constraint set, which clearly defines the maximum transmission delay allowed for each control link. The system sets multi-level screening criteria: the first level checks whether the average delay is lower than 80% of the constraint value; the second level checks whether the maximum delay is lower than the constraint value; the third level checks whether the delay jitter is within the acceptable range. For control links at each level, the system applies screening criteria with different degrees of strictness. For example, for safety-critical links, it is required that the maximum delay of the candidate path is strictly lower than 90% of the constraint value, and the delay jitter does not exceed 10% of the average delay; while for ordinary monitoring links, the maximum delay is allowed to be close to the constraint value, and the delay jitter can reach 20%. The system also evaluates the long-term stability of the path, predicting the delay performance of the path under different network load conditions through historical performance data. After these multi-dimensional evaluations, the system screens out a subset of paths that meet the delay constraints, forming an effective routing path set that meets the delay constraints. This path set contains one or more available paths for each control link, and these paths can all meet the delay requirements of control communication.
[0078] Specifically, the system performs routing table generation processing based on the set of valid routing paths. Routing table generation is to convert the previously filtered valid paths into actual available network forwarding rules. The system first determines the primary path and the backup path for each link. For high-priority links, the system selects the path with the minimum delay as the primary path from the set of valid paths, selects the path with the highest reliability as the preferred backup path, and selects the path with the optimal resource consumption as the secondary backup path; for medium-priority links, the system selects the path with a balance of delay and reliability as the primary path and selects the path with complementary characteristics as the backup path; for low-priority links, the system usually selects only a single optimal path. After determining the path selection, the system converts the path information into specific routing table entries. Each routing table entry contains standard network layer routing information, such as the destination address, the next-hop address, and the egress interface identifier, and also extends to include fields specific to control communication: the control priority flag, the maximum allowed delay value, the backup path indication, and the path switching condition. The system generates a customized routing table for each forwarding node in the network to ensure the continuity and consistency of the end-to-end path. The finally generated control-sensitive routing table is an enhanced routing table, which not only guides the basic forwarding of data packets, but also carries the quality of service requirements for control communication, supports network devices to provide differentiated control communication services, and ensures the stable operation of the control system in a complex network environment.
[0079] 103. Classify and label the communication data of the access devices in the network based on the control-sensitive routing table to obtain a service label containing the priority and delay sensitivity, and perform control-related routing aggregation processing according to the service label to generate a dynamic routing execution plan;
[0080] In an embodiment of the present invention, the classifying and labeling the communication data of the access devices in the network based on the control-sensitive routing table to obtain a service label containing the priority and delay sensitivity, and performing control-related routing aggregation processing according to the service label to generate a dynamic routing execution plan includes: performing a level division process on the communication data according to the control priority in the control-sensitive routing table to obtain a data transmission priority identifier; performing a delay sensitivity calculation process on the communication data based on the delay requirement in the control-sensitive routing table to obtain a data delay level identifier; performing a label encapsulation process on the data transmission priority identifier and the data delay level identifier to obtain a service label containing the priority and delay sensitivity; performing an aggregation identification process on the data streams belonging to the same control loop according to the service label to obtain a control loop aggregated data stream set; performing a routing path allocation process on the control loop aggregated data stream set to obtain an aggregated routing path set, and performing a control loop resource allocation process based on the aggregated routing path set to generate a dynamic routing execution plan.
[0081] Specifically, after the control network is established, the system classifies communication data according to the control priorities in the control-sensitive routing table. This step finely classifies various types of data transmitted in the control network according to their importance in the control function. The system first parses the source address and destination address of the communication data packet, and obtains the control priority value of the corresponding link by querying the control-sensitive routing table. Then, the system further parses the application layer information of the data packet to identify the specific function type of the data packet, such as control commands, status feedback, parameter configuration, or diagnostic information, etc. Based on the function type, the system applies the preset priority mapping rules for refined classification. For example, in an industrial control system, an emergency stop command is classified as the highest priority level 10, a regular control instruction is classified as level 8, status feedback information is classified as level 6, configuration data is classified as level 4, and log record information is classified as level 2. The system also considers the timeliness of the data packet. For time-sensitive data, such as real-time control commands, it raises their priority; for non-time-critical data, such as historical data queries, it lowers their priority. Through this multi-dimensional classification, the system generates a data transmission priority identifier, which is a numerical code that clearly indicates the relative importance of the data packet in network transmission, laying the foundation for differentiated services.
[0082] Specifically, after obtaining the data transmission priority identifier, the system calculates the delay sensitivity of the communication data based on the delay requirements in the control-sensitive routing table. This step evaluates the sensitivity of each data packet to transmission delay and quantifies its tolerance to delay. The system first obtains the maximum allowable delay value of the link from the control-sensitive routing table as a basic reference value. Then, the system analyzes the application characteristics of the data packet and evaluates its time-criticality in the control function. For data packets directly participating in closed-loop control, such as the control output of a PID controller, the system calculates its delay sensitivity as the highest level; for periodic status update data, the system calculates its delay sensitivity according to the update period, usually a shorter period corresponding to a higher sensitivity; for event-triggered data, the system evaluates its delay sensitivity according to the urgency of the event. The system also considers the position of the data in the control execution chain. Data at the front end of the execution chain (such as sensor inputs) has a higher delay sensitivity than data at the back end (such as execution result confirmation), because delays in front-end data will affect the entire execution chain. By comprehensively considering these factors, the system quantifies the delay sensitivity into specific numerical levels, usually divided into 5 levels: extremely sensitive (S1), highly sensitive (S2), moderately sensitive (S3), low sensitive (S4), and insensitive (S5). This classification generates a data delay level identifier, which clarifies the specific requirements of different data for network transmission delay.
[0083] Specifically, the system performs label encapsulation processing on the data transmission priority identifier and the data latency level identifier. This step integrates the two previously generated identifiers into a unified service label, facilitating unified identification and processing by network devices. The system adopts a hierarchical label structure, placing the data transmission priority identifier in the high-order region of the label and the latency level identifier in the low-order region of the label, forming a structured service label encoding. The label format design fully considers compatibility with existing network protocols and encapsulates the service label information in a specific field in the packet header. For network devices that support QoS, the label information can be mapped to the Type of Service (ToS) field in the IP header or the priority bits of the VLAN label; for devices that do not support standard QoS, the system also provides a dedicated label encapsulation format as an extension of the application layer protocol. The system also adds a control loop identifier to the label to indicate the specific control function to which the packet belongs. For example, in a power control system, a service label "P9S1C103" indicates that the packet has a priority level of 9, a very high latency sensitivity, and belongs to control loop No. 103. Through this label encapsulation processing, the system generates a service label containing priority and latency sensitivity, enabling each packet in the network to carry clear service requirement information and realizing the mapping of communication requirements from control functions to network transmission.
[0084] Specifically, with the service label, the system performs aggregation identification processing on data streams belonging to the same control loop. This step identifies and correlates multiple data streams belonging to the same control function, providing a basis for subsequent collaborative optimization. The system first classifies all data streams in the network according to the control loop identifier field in the service label. Then, the system analyzes the logical relationships between data streams within each control loop and identifies all data stream combinations required to form a complete control function. For example, in a temperature control system, the data stream from the temperature sensor to the controller, the internal computational processing in the controller, the command stream from the controller to the actuator, and the status feedback stream of the actuator together form a complete temperature control loop. The system assigns the same aggregation identifier to these related data streams, forming a logical data stream set. The system also identifies the dependency relationships between different control loops, such as the relationship between the main loop and the slave loop in cascade control or the relationship between multiple parallel loops in collaborative control. For control loops with dependency relationships, the system creates a loop group identifier to indicate the correlation between the loops. Through this aggregation identification processing, the system generates a control loop aggregated data stream set, which organizes different communication requirements of the same control function into a structured whole, enabling the network to optimize resource allocation from the overall perspective of the control function.
[0085] Specifically, the system performs routing path allocation processing on the aggregated data flow set of the control loop to obtain an aggregated routing path set, and performs control loop resource allocation processing based on the aggregated routing path set. First, the system conducts traffic analysis on the aggregated data flow of each control loop, evaluating the bandwidth requirements, transmission modes (periodic or bursty), and time distribution characteristics of the data flow. Based on these characteristics, the system selects the most suitable routing path combination for each control loop. Different from traditional routing, the system considers the overall coordination of all data flows within the control loop and preferentially selects a path combination that can ensure that all data flows within the loop meet the delay requirements. For example, for a multi-axis motion control system that requires precise synchronization, the system will select paths with similar transmission characteristics for the control data flows of all axes to ensure that control commands arrive at each actuator almost simultaneously. The system also optimizes the path allocation between different control loops to reduce resource contention caused by path overlap. After the path selection is determined, the system calculates the resource requirements of each control loop on each network link, including bandwidth requirements, buffer requirements, and processing capacity requirements, to form an aggregated routing path set. Based on this path set, the system further performs resource allocation optimization to allocate sufficient but not excessive network resources to each control loop. Considering the periodic characteristics of the control loop, the system implements a time-division multiplexing resource allocation strategy, and different control loops obtain preferential resource usage rights during their respective critical time periods. Through this resource optimization allocation oriented to control functions, the system finally generates a dynamic routing execution plan, which includes detailed routing selection rules, bandwidth allocation strategies, queue management parameters, and congestion control measures to guide network devices to achieve fine service guarantee for control communication.
[0086] Furthermore, the process of performing routing path allocation processing on the aggregated data flow set of the control loop to obtain an aggregated routing path set, and performing control loop resource allocation processing based on the aggregated routing path set to generate a dynamic routing execution plan includes: performing statistical analysis processing on the packet size, transmission period, and burst characteristics in the aggregated data flow set of the control loop to obtain a time-varying traffic feature vector; performing periodic fluctuation prediction processing on the data flow according to the time-varying traffic feature vector to obtain a data traffic periodic change model, and performing bandwidth resource mapping processing on the data traffic periodic change model to obtain a path bandwidth occupancy matrix; performing link capacity matching processing on the routing path according to the path bandwidth occupancy matrix to obtain a bandwidth-limited aggregated routing path set, and performing buffer queue allocation processing on the bandwidth-limited aggregated routing path set to obtain a path buffer configuration table; performing time-division multiplexing processing on network resources based on the path buffer configuration table to obtain a resource scheduling time axis, and performing routing switching timing generation processing according to the resource scheduling time axis to obtain a dynamic routing execution plan.
[0087] Specifically, after obtaining the aggregated data flow set of the control loop, the system performs statistical analysis on the packet size, transmission period, and burst characteristics in the aggregated data flow set of the control loop. First, the system captures the actual transmitted data packets of each control loop data flow through the traffic monitoring module and records the distribution of the packet sizes. For example, the instruction data packets of the PID control loop are usually fixed at 64 bytes in size, while the data packets of the monitoring data loop vary from 100 bytes to 1500 bytes. The system uses the sliding window statistical method to calculate the average value, variance, and distribution mode of the packet size and generates a feature description of the packet size. At the same time, the system accurately measures the transmission period of the data flow and identifies the periodic patterns therein. For periodic control loops, such as a temperature control system with a sampling period of 100 ms, the system records the exact data generation and transmission time points; for event-triggered control loops, the system statistically analyzes the frequency distribution and time intervals of event triggers. In addition, the system deeply analyzes the burst characteristics of the data flow, including burst peak traffic, burst duration, and burst interval, and pays special attention to control operations such as process switching and mode conversion that cause burst traffic. Through these multi-dimensional statistical analyses, the system quantifies the transmission characteristics of each control loop data flow into a time-varying traffic feature vector, which contains packet size statistical values, transmission period eigenvalue, and burst characteristic parameters, comprehensively describing the time-varying characteristics of the control communication traffic.
[0088] Specifically, based on the time-varying traffic feature vector, the system further performs periodic fluctuation prediction processing on the data flow according to the time-varying traffic feature vector. The system uses time series analysis techniques to establish a dedicated prediction model for the control data flow. For highly periodic control loops, such as a monitoring system with timed polling, the system applies Fourier analysis to identify its fundamental period and harmonic components and establishes a periodic function model; for control loops with regular changes, such as batch control in a process flow, the system uses pattern recognition algorithms to capture its changing rules and establishes a state transition model; for random control events, the system applies statistical learning methods to construct a probability prediction model. These models together constitute a data traffic periodic change model, which can predict the traffic change trend of each control loop at future time points. Subsequently, the system performs bandwidth resource mapping processing on the data traffic periodic change model and converts the traffic prediction value into specific network resource requirements. The system considers network protocol overhead, transmission efficiency factors, and security redundancy and calculates the actual bandwidth value required to support the predicted traffic. For critical control loops, the system increases the bandwidth redundancy by 25% to ensure communication reliability in case of anomalies; for non-critical loops, the statistical multiplexing principle is adopted to appropriately reduce resource reservation. The system organizes the calculation results into a path bandwidth occupancy matrix, where the rows of the matrix represent each physical link in the network, the columns represent the time series, and the matrix element values represent the bandwidth requirements of a specific link at a specific time point, intuitively presenting the spatio-temporal distribution of network resource requirements.
[0089] Specifically, after having the path bandwidth occupancy matrix, the system performs link capacity matching processing on the routing paths according to the path bandwidth occupancy matrix. First, the system obtains the total bandwidth capacity of each physical link in the network and creates a network capacity description table. Then, the system compares and analyzes the path bandwidth occupancy matrix with the network capacity to identify potential bandwidth bottleneck links and bottleneck time periods. For the detected bottlenecks, the system tries various strategies to solve them: adjusting the routing path to transfer some traffic to low-load links; optimizing the transmission time to stagger peak-hour transmissions; reducing the service level of non-critical traffic to ensure the transmission requirements of critical traffic. Through iterative optimization, the system finally determines a set of routing path solutions that meet the bandwidth constraints, forming a bandwidth-constrained aggregated routing path set. This path set ensures that the communication requirements of all critical control functions are met while making the most efficient use of network resources as possible. Subsequently, the system performs cache queue allocation processing on the bandwidth-constrained aggregated routing path set. The system analyzes the queue resources of network devices, including the number of queues, queue depth, and scheduling capabilities. Then, the system allocates dedicated queues for control data flows with different priorities. High-priority traffic gets independent low-latency queues, medium-priority traffic shares secondary queues, and low-priority traffic uses best-effort queues. The system also reserves sufficient cache space for control loops that may experience bursts according to the burst characteristics of the traffic to prevent packet loss caused by burst traffic. Through this queue allocation strategy, the system generates a path cache configuration table, which details the configuration parameters of the queue resources of each forwarding device in the network, including queue mapping rules, queue depth settings, packet loss thresholds, and scheduling weights, ensuring that network devices can provide differentiated services according to the requirements of control communication.
[0090] Specifically, the system performs time-division multiplexing processing on network resources based on the path cache configuration table. The system analyzes the time-critical periods of each control loop, that is, the time periods with the highest communication quality requirements during the execution of control functions. For example, in a batch control system, batch startup and process switching are time-critical periods; in a continuous control system, parameter adjustment and exception handling are time-critical periods. The system creates a detailed timeline, marks the time-critical periods of different control loops on the timeline, and identifies the time points of resource competition and the idle periods without competition. Based on this time analysis, the system implements a resource time-division multiplexing strategy, preferentially ensuring the resource requirements of each control loop during its time-critical period, and releasing resources for other functions to use during non-critical periods. Through this resource coordination in the time dimension, the system generates a resource scheduling timeline, which details the allocation plan of network resources in the time dimension and realizes the maximization of resource utilization. The system further performs routing switch timing generation processing according to the resource scheduling timeline. For control loops that need to use different routing paths in different time periods, the system accurately calculates the routing switch time points to ensure that the switching process does not affect the continuity of control functions. The system also designs a smooth switching mechanism, establishing a new path in advance before switching and releasing the old path after confirming the availability of the new path to avoid communication interruption. For control loops with high reliability requirements, the system implements a dual-path parallel transmission strategy to improve reliability through redundant transmission during critical periods. Through these routing switch controls, the system finally generates a dynamic routing execution plan.
[0091] 104. Perform control cycle-aware time slot allocation on the network bandwidth resources of the network formed, establish a time slot division aligned with the control cycle, and perform data transmission timing control on the time slot division to achieve network data transmission between access devices.
[0092] In an embodiment of the present invention, the performing control cycle-aware time slot allocation on the network bandwidth resources of the network formed according to the dynamic routing execution plan, establishing a time slot division aligned with the control cycle, and performing data transmission timing control on the time slot division to achieve network data transmission between access devices includes: performing bandwidth demand calculation processing on the data streams in the dynamic routing execution plan to obtain a data stream bandwidth demand set; performing available bandwidth evaluation processing on the network bandwidth resources according to the data stream bandwidth demand set to obtain a network bandwidth resource distribution map; performing control cycle extraction processing based on the network bandwidth resource distribution map to obtain a bandwidth time slot occupancy sequence; performing cycle division processing on the network bandwidth resources according to the bandwidth time slot occupancy sequence to obtain a time slot allocation scheme aligned with the control cycle; performing packet transmission timing scheduling processing on the time slot allocation scheme to establish a bandwidth-limited transmission mechanism for control data and achieve network data transmission between access devices.
[0093] Specifically, after obtaining the dynamic routing execution plan, the system first performs bandwidth requirement calculation and processing on the data streams in the dynamic routing execution plan. This step provides basic data for resource allocation by precisely quantifying the bandwidth requirements of each control data stream. The system adopts a multi-parameter comprehensive analysis method, considering multiple key characteristics of the data stream: packet size, transmission frequency, burstiness, and protocol overhead. For periodic data streams, such as PLC polling data, the system multiplies the packet size by the sampling frequency and then adds the protocol header overhead to calculate the basic bandwidth requirement; for event-triggered data streams, the system analyzes the statistical distribution of historical trigger frequencies, extracts the peak frequency and average frequency, and calculates the peak bandwidth requirement and average bandwidth requirement respectively. The system also pays special attention to the burst characteristics of control data streams. For traffic with obvious burst characteristics, such as the configuration data stream at the start of batch processing, the system records its burst duration and data volume, and calculates the instantaneous bandwidth requirement during the burst period. In addition, the system considers the efficiency factors of network protocols, such as the minimum payload requirement and fragmentation overhead of Ethernet frames, and performs efficiency correction on small packet traffic. For the data streams of key control loops, the system additionally adds 15% - 30% bandwidth redundancy to ensure stable communication under network fluctuations. Through these comprehensive calculations, the system generates a set of data stream bandwidth requirements, which contains the bandwidth requirement values of each control data stream in the network under different working states, providing an accurate basis for bandwidth allocation.
[0094] Specifically, with the set of data stream bandwidth requirements, the system performs available bandwidth evaluation and processing on the network bandwidth resources according to the set of data stream bandwidth requirements. This link evaluates the carrying capacity and potential bottlenecks of the network by comparing requirements with resources. The system first obtains the bandwidth capacity information of all physical links in the network, including link type, rated bandwidth, and actual available bandwidth. For shared medium networks, such as wireless networks or bus networks, the system considers the impact of the medium access control mechanism on the effective bandwidth; for switched networks, the system evaluates the backplane capacity and port rate of the switching device. Then, the system maps the data stream bandwidth requirements to the network topology, and calculates the total traffic load on each physical link according to the path allocation in the dynamic routing execution plan. The system creates a two-dimensional time-space mapping graph, where the horizontal axis represents the time axis and the vertical axis represents the network links, and the values in the graph represent the bandwidth occupancy rate of a specific link at a specific time point. Through this mapping, the system identifies potential bandwidth bottleneck points, that is, the time-space positions where the bandwidth requirements are close to or exceed the link capacity. For the identified bottleneck points, the system calculates the overload degree and duration, and evaluates its potential impact on the control function. Through this comprehensive evaluation, the system generates a network bandwidth resource distribution map, which visually shows the matching relationship between network resources and control requirements, marks the resource-rich areas, critical areas, and bottleneck areas, providing a decision-making basis for slot allocation optimization.
[0095] Specifically, the system performs control cycle extraction processing based on the network bandwidth resource distribution map. This step identifies various time cycles in the control system and aligns network resource allocation with the time characteristics of the control system. The system first analyzes the basic control cycles of each control loop, such as the sampling cycle, control execution cycle, and status reporting cycle. For example, in a typical factory automation system, the control cycle of field devices is usually 10 ms - 100 ms, the process control cycle is 100 ms - 1 s, and the data acquisition cycle at the management level is 1 s - 10 s. The system identifies the least common multiple and greatest common divisor relationships of these cycles to extract the overall macro cycle structure of the system. At the same time, the system analyzes the traffic patterns in the network bandwidth resource distribution map and uses time series analysis techniques to extract the periodic characteristics of traffic changes. By comparing the control cycle and the traffic cycle, the system establishes a time mapping relationship between the control function and the network traffic. The system also pays special attention to the key time points in the control system, such as the control state transition moment, synchronization operation moment, and data aggregation moment, which usually correspond to traffic peaks. Based on these analyses, the system generates a bandwidth time slot occupancy sequence, which represents the allocation requirements of network bandwidth resources in the time dimension, clearly indicating which time points need to reserve bandwidth resources for specific control functions and forming the time framework of network resource allocation.
[0096] Specifically, with the bandwidth time slot occupancy sequence, the system performs cycle division processing on the network bandwidth resources according to the bandwidth time slot occupancy sequence. This link converts the bandwidth requirements in the time dimension into a specific time slot allocation scheme. The system first determines the basic granularity of the time slots, which depends on the minimum control cycle and the time precision of the network protocol. In a high-precision control system, the time slot granularity is usually set to 100 microseconds to 1 millisecond; in general industrial control, the time slot granularity can be set to 1 millisecond to 10 milliseconds. The system divides the continuous time axis into discrete time slots according to the selected granularity, and then based on the bandwidth time slot occupancy sequence, allocates usage rights to each time slot. During the allocation process, the system preferentially satisfies the bandwidth requirements of high-priority control loops to ensure the communication resources of key control functions. For control loops with strong periodicity, the system allocates a fixed time slot pattern. For example, the first 10 ms within every 100 ms cycle is fixedly allocated to a specific process control loop. For the case where multiple control loops compete for the same time slot, the system applies priority arbitration rules or implements a time staggering strategy to avoid bandwidth conflicts by fine-tuning the control execution time. The system also reserves flexible time slots for burst traffic, allowing the allocation scheme to be adjusted temporarily when emergencies occur. Through this fine time slot planning, the system generates a time slot allocation scheme aligned with the control cycle, which details the resource usage rights of each time segment in the network and realizes the time synchronization of network communication and control functions.
[0097] Specifically, the system performs packet transmission timing scheduling processing on the time slot allocation scheme. This step converts the time slot allocation scheme into an actual packet transmission control mechanism to ensure that network traffic is transmitted orderly according to the plan. The system first deploys a time synchronization mechanism at each key node of the network, usually using a precision clock synchronization protocol (such as IEEE 1588 PTP), to ensure that all network devices have a consistent time reference. The time synchronization accuracy is usually controlled at the microsecond level. Based on the synchronized clock, the system implements precise transmission time control at the data source device to strictly align the generation of packets with the time slot allocation scheme. For periodic data streams, the system directly controls the trigger time of data acquisition and transmission; for event-triggered data streams, the system implements a transmission window control to buffer the packets into the specified transmission time slots. On the network forwarding device, the system deploys a queue scheduling mechanism with time awareness function, such as the time-aware shaper in the time-sensitive network (TSN), to ensure that the packets follow the predetermined timing during the internal network transmission. For the control data stream that undergoes multi-hop transmission, the system calculates the end-to-end transmission timing to ensure that the forwarding time of the packets at each hop is coordinated with the time slot scheme. The system also implements packet priority marking and virtual channel isolation to prevent low-priority traffic from interfering with high-priority control communication. Through these transmission timing control mechanisms, the system establishes a bandwidth-limited transmission mechanism for control data, enabling each control data stream to complete transmission within the allocated time window, avoiding network congestion and transmission conflicts, and ultimately achieving stable and reliable networked data transmission between access devices, meeting the strict requirements of the control system for communication timeliness and determinacy.
[0098] In this embodiment, by extracting the control function characteristics of the access device, obtaining the control type and communication requirements, and performing control collaborative perception processing to generate a control function descriptor; calculating the control criticality index based on the descriptor, and performing control-oriented link establishment processing to generate a control-sensitive routing table; classifying and marking the communication data to obtain a service label, and performing control relevance routing aggregation processing to generate a dynamic routing execution plan; performing time slot allocation with control cycle awareness on the network bandwidth resources, establishing time slot division and performing data transmission timing control, the networked data transmission between devices is realized. The present invention introduces control function perception and control criticality calculation, enabling the network to identify the importance of different control data, and realizing the differential transmission of control data through control relevance routing aggregation and time slot allocation with control cycle synchronization.
[0099] The control device networking communication method in the embodiment of the present invention has been described above. Next, the control device networking communication device in the embodiment of the present invention will be described. The control device networking communication device is shown in Figure 2 , and an embodiment of the control device networking communication device in the embodiment of the present invention includes:
[0100] The feature extraction module 201 is configured to extract control function features of access devices for networking, obtain the control types and communication requirements of the access devices, and perform control collaborative perception processing according to the control types and communication requirements to generate corresponding control function descriptors.
[0101] The link establishment module 202 is configured to calculate the control criticality index of the access device according to the control function descriptor, and perform control-oriented link establishment processing based on the control criticality index to generate a control-sensitive routing table including control priorities and delay requirements.
[0102] The routing aggregation module 203 is configured to classify and label the communication data of the access devices for networking based on the control-sensitive routing table to obtain service labels including priorities and delay sensitivities, and perform control-correlation routing aggregation processing according to the service labels to generate a dynamic routing execution plan.
[0103] The transmission control module 204 is configured to perform time slot allocation with control cycle awareness on the network bandwidth resources of the network for networking according to the dynamic routing execution plan, establish time slot division aligned with the control cycle, and perform data transmission timing control on the time slot division to achieve networking data transmission between access devices.
[0104] In the embodiment of the present invention, the control device networking communication device runs the above control device networking communication method. The control device networking communication device obtains control types and communication requirements by extracting control function features of access devices, and performs control collaborative perception processing to generate control function descriptors; calculates the control criticality index based on the descriptors, and performs control-oriented link establishment processing to generate a control-sensitive routing table; classifies and labels communication data to obtain service labels, and performs control-correlation routing aggregation processing to generate a dynamic routing execution plan; performs time slot allocation with control cycle awareness on network bandwidth resources, establishes time slot division and performs data transmission timing control to achieve networking data transmission between devices. The present invention introduces control function perception and control criticality calculation to enable the network to identify the importance of different control data, and realizes differential transmission of control data through control-correlation routing aggregation and time slot allocation with control cycle synchronization.
[0105] Above Figure 2 The control device networking communication device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. Next, the control device networking communication device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0106] Figure 3FIG. 0 is a schematic structural diagram of a control device networking communication device provided by an embodiment of the present invention. The control device networking communication device 300 may vary greatly due to different configurations or performances, and may include one or more processors (central processing units, CPU) 310 (for example, one or more processors) and a memory 320, and one or more storage media 330 for storing application programs 333 or data 332 (for example, one or more mass storage device terminals). Among them, the memory 320 and the storage media 330 may be transient storage or persistent storage. The program stored in the storage media 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the control device networking communication device 300. Further, the processor 310 may be configured to communicate with the storage media 330 and execute a series of instruction operations in the storage media 330 on the control device networking communication device 300 to implement the steps of the above control device networking communication method.
[0107] The control device networking communication device 300 may further include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input / output interfaces 360, and / or one or more operating systems 331, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, and so on. Those skilled in the art can understand that Figure 3 The shown structural diagram of the control device networking communication device does not limit the control device networking communication device provided by the present invention, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0108] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are run on a computer, the computer is caused to execute the steps of the control device networking communication method.
[0109] 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, devices, or units can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0110] When 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 invention, in essence, 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. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0111] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A control device networking communication method, characterized in that: The control device networking communication method comprises: Extracting control function characteristics of access devices for networking, obtaining control types and communication requirements of access devices, and performing control collaborative perception processing according to the control types and communication requirements to generate corresponding control function descriptors, including: classifying and parsing functional characteristics of access devices to obtain control types including control loop participating roles and control execution modes; extracting control parameters of the control types to obtain communication requirements including control cycles and response time limits; performing control relationship analysis processing between access devices according to the control types and communication requirements to obtain a device control dependency set; performing control collaborative feature mapping processing based on the device control dependency set to generate a control function descriptor including a control role identifier and a control loop identifier; Calculate the control criticality index of the access device according to the control function descriptor, and perform control-oriented link establishment processing based on the control criticality index to generate a control-sensitive routing table containing control priority and delay requirements, including: perform control hierarchy mapping processing according to the control role identifier in the control function descriptor to obtain basic control criticality; perform loop complexity analysis processing on the control loop identifier in the control function descriptor to obtain a loop complexity coefficient; perform weighted calculation processing according to the basic control criticality and the loop complexity coefficient to obtain the control criticality index of the access device; perform communication link priority allocation processing on the access devices in the same control loop based on the control criticality index to obtain a link priority set in the control loop, and perform control loop closed-loop delay calculation processing on the link priority set to obtain a link delay constraint set; perform routing path calculation processing according to the link priority set and the link delay constraint set to generate a control-sensitive routing table containing control priority and delay requirements; Based on the control-sensitive routing table, communication data of access devices in the network are classified and marked to obtain service labels including priority and delay sensitivity, and control-related routing aggregation processing is performed according to the service label to generate a dynamic routing execution plan; The network bandwidth resources of the network are allocated time slots with control cycle awareness according to the dynamic routing execution plan, a time slot division aligned with the control cycle is established, and data transmission timing control is performed on the time slot division to realize network data transmission between access devices.
2. The control device networking communication method according to claim 1, characterized in that: The performing routing path calculation processing according to the link priority set and the link delay constraint set to generate a control-sensitive routing table including control priorities and delay requirements comprises: Prioritizing the links in the link priority set to obtain a link priority ranking table; Perform multipath calculation processing on the routing path according to the link priority ranking table and the link delay constraint set to obtain a candidate routing path set; Performing delay accumulation calculation processing on the paths in the candidate routing path set to obtain a path delay feature set; Performing availability evaluation on candidate routing paths according to the path delay feature set to obtain a valid routing path set that meets the delay constraint; A routing table generation process is performed based on the effective routing path set to obtain a control-sensitive routing table including control priorities and delay requirements.
3. The control device networking communication method according to claim 1, characterized in that: The method of classifying and marking the communication data of the access device of the network based on the control-sensitive routing table to obtain a service label including priority and delay sensitivity, and performing control-related routing aggregation processing according to the service label to generate a dynamic routing execution plan includes: Classify the communication data according to the control priority in the control-sensitive routing table to obtain a data transmission priority identifier; Based on the delay requirements in the control-sensitive routing table, the communication data is subjected to delay sensitivity calculation processing to obtain a data delay level identifier; Performing label encapsulation processing on the data transmission priority identifier and the data delay level identifier to obtain a service label including priority and delay sensitivity; Performing aggregation identification processing on data flows belonging to the same control loop according to the service label to obtain a control loop aggregated data flow set; Routing path allocation processing is performed on the control loop aggregated data flow set to obtain an aggregated routing path set, and control loop resource allocation processing is performed based on the aggregated routing path set to generate a dynamic routing execution plan.
4. The control device networking communication method according to claim 3, characterized in that: The performing routing path allocation processing on the control loop aggregated data flow set to obtain an aggregated routing path set, and performing control loop resource allocation processing based on the aggregated routing path set to generate a dynamic routing execution plan includes: Performing statistical analysis on the data packet size, transmission cycle and burst characteristics of the control loop aggregated data flow set to obtain a time-varying traffic feature vector; Performing periodic fluctuation prediction processing on the data flow according to the time-varying traffic feature vector to obtain a data traffic periodic variation model, and performing bandwidth resource mapping processing on the data traffic periodic variation model to obtain a path bandwidth occupancy matrix; Performing link capacity matching processing on the routing paths according to the path bandwidth occupancy matrix to obtain a bandwidth-constrained aggregated routing path set, and performing cache queue allocation processing on the bandwidth-constrained aggregated routing path set to obtain a path cache configuration table; Based on the path cache configuration table, the network resources are processed for time division multiplexing to obtain a resource scheduling time axis, and a routing switching timing generation process is performed according to the resource scheduling time axis to obtain a dynamic routing execution plan.
5. The control device networking communication method according to claim 1, characterized in that: The controlling cycle-aware time slot allocation of the network bandwidth resources of the network according to the dynamic routing execution plan, establishing the time slot division aligned with the control cycle, and performing data transmission timing control on the time slot division to realize the networking data transmission between the access devices includes: Performing bandwidth demand calculation processing on the data streams in the dynamic routing execution plan to obtain a data stream bandwidth demand set; Performing available bandwidth evaluation processing on network bandwidth resources according to the data stream bandwidth requirement set to obtain a network bandwidth resource distribution map; Performing control cycle extraction processing based on the network bandwidth resource distribution map to obtain a bandwidth time slot occupancy sequence; Performing periodic division processing on the network bandwidth resources according to the bandwidth time slot occupancy sequence to obtain a time slot allocation scheme aligned with the control period; The time slot allocation scheme is used to perform data packet transmission timing scheduling processing, establish a bandwidth-limited transmission mechanism for control data, and realize network data transmission between access devices.
6. A control device networking communication device, characterized in that: The control device networking communication device comprises: A feature extraction module is used to extract control function features of access devices for networking, obtain control types and communication requirements of access devices, and perform control collaborative perception processing according to the control types and communication requirements to generate corresponding control function descriptors, including: classifying and parsing functional characteristics of access devices to obtain control types including control loop participating roles and control execution modes; performing control parameter extraction processing on the control types to obtain communication requirements including control cycles and response time limits; performing control relationship analysis processing between access devices according to the control types and communication requirements to obtain a device control dependency set; performing control collaborative feature mapping processing based on the device control dependency set to generate a control function descriptor including a control role identifier and a control loop identifier; A link establishment module, used to calculate the control criticality index of the access device according to the control function descriptor, and perform control-oriented link establishment processing based on the control criticality index to generate a control-sensitive routing table containing control priority and delay requirements, including: performing control hierarchy mapping processing according to the control role identifier in the control function descriptor to obtain basic control criticality; performing loop complexity analysis processing on the control loop identifier in the control function descriptor to obtain a loop complexity coefficient; performing weighted calculation processing according to the basic control criticality and the loop complexity coefficient to obtain the control criticality index of the access device; performing communication link priority allocation processing on the access devices in the same control loop based on the control criticality index to obtain a link priority set in the control loop, and performing control loop closed-loop delay calculation processing on the link priority set to obtain a link delay constraint set; performing routing path calculation processing according to the link priority set and the link delay constraint set to generate a control-sensitive routing table containing control priority and delay requirements; A routing aggregation module, used to classify and mark the communication data of the access devices of the network based on the control-sensitive routing table, obtain a service label including priority and delay sensitivity, and perform control-related routing aggregation processing according to the service label to generate a dynamic routing execution plan; The transmission control module is used to perform control cycle-aware time slot allocation on the network bandwidth resources of the network according to the dynamic routing execution plan, establish time slot divisions aligned with the control cycle, and perform data transmission timing control on the time slot divisions to realize network data transmission between access devices.
7. A control device networking communication device, characterized in that: The control device networking communication device comprises: a memory and at least one processor, wherein the memory stores instructions; The at least one processor calls the instructions in the memory to enable the control device networking communication device to perform the steps of the control device networking communication method as described in any one of claims 1-5.
8. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the steps of the method for controlling device networking communication as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Power service 5G deterministic bearer networking method
CN117692944A
Deterministic network time delay scheduling method and device based on TSN and storage medium
CN119652840A