A multi-channel distribution method for industrial computer signal transmission

By sampling and digitizing industrial computer signals, standard signal streams and channel monitoring data sets are generated, channel stability indicators are constructed, and signal allocation and synchronization processing are performed. This solves the problems of dynamic adaptation and synchronization accuracy in signal transmission in existing technologies, and improves the reliability and stability of signal transmission.

CN122394736APending Publication Date: 2026-07-14GUANGZHOU HUNTO IOT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610284682.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-10
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

Existing industrial computer signal transmission methods lack dynamic perception and adaptive capabilities in high-concurrency or high-real-time conditions, and signal synchronization control struggles to cope with channel clock deviations and bit error fluctuations, leading to the accumulation of transmission synchronization errors and uneven link load.

Method used

By sampling and digitizing the input signals from industrial computers, a standard signal stream set and a channel monitoring data set are generated, a channel stability index set is constructed, signal allocation and synchronization processing are performed, a synchronization signal allocation result table is generated, and data verification and error correction processing are carried out to achieve dynamic matching between signal priority identifiers and channel stability levels.

Benefits of technology

It achieves dynamic matching between signal priority and channel stability level, completes the allocation and timing synchronization of the optimal physical transmission channel, ensures the integrity of signal data frames and error self-recovery, and improves the reliability and stability of signal transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122394736A_ABST
    Figure CN122394736A_ABST
Patent Text Reader

Abstract

The application discloses a kind of industrial computer signal transmission multi-channel distribution method, it is related to industrial computer communication technical field, including, to channel monitoring data set executes normalization and fluctuation characteristic calculation, constructs channel stability index set and forms channel stability grade mapping table;Based on standard signal flow set, channel monitoring data set and channel stability grade mapping table, signal distribution and synchronization processing are executed, and synchronization signal distribution result table is generated;Through synchronization signal distribution result table and channel monitoring data set, data check and error correction processing are executed to signal transmission process, and signal transmission check result table is generated;According to signal transmission check result table and channel monitoring data set, signal output and channel dynamic monitoring processing are executed, and signal output record table is generated and signal redistribution is realized.The application is by executing signal distribution and synchronization processing, realizes the dynamic matching of signal priority level identification and channel stability grade.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial computer communication technology, and in particular to a multi-channel allocation method for industrial computer signal transmission. Background Technology

[0002] Industrial computers, as the core computing units in industrial automation systems, are widely used in production control, process monitoring, and real-time communication. With the increasing scale and complexity of industrial network communication, signal transmission processes are increasingly characterized by multi-source parallelism, asynchronous interaction, and dynamic load. To achieve highly reliable data acquisition and real-time transmission, existing multi-channel communication architectures typically employ methods such as unified sampling clocks, fixed bandwidth allocation, and static priority scheduling. By quantizing, encoding, and setting transmission paths for sampled signals, the orderly transmission of various control and monitoring signals in the multi-channel network is ensured. These methods can maintain high transmission accuracy and system stability in general industrial communication environments and have become the standard implementation mode for industrial control communication.

[0003] However, conventional multi-channel allocation mechanisms still have certain limitations under high concurrency or high real-time requirements. On the one hand, channel bandwidth utilization and delay allocation rely heavily on preset parameters, lacking the ability to dynamically perceive and adaptively adjust the real-time status of physical channels. On the other hand, signal synchronization control depends on periodic clock calibration, making it difficult to respond promptly to transient changes such as channel clock deviation and bit error fluctuations, which can easily lead to the accumulation of signal transmission synchronization errors and uneven link load. Summary of the Invention

[0004] In view of the aforementioned existing problems, the present invention is proposed.

[0005] Therefore, this invention provides a multi-channel allocation method for industrial computer signal transmission, which solves the problems of lack of dynamic adaptive mechanism in channel allocation and the influence of channel fluctuation on signal synchronization accuracy.

[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution: This invention provides a multi-channel allocation method for industrial computer signal transmission, which includes sampling and digitizing the input signals of the industrial computer, and simultaneously acquiring the status of the physical transmission channels to generate a standard signal stream set and a channel monitoring data set. Normalization and fluctuation characteristic calculations are performed on the channel monitoring data set to construct a channel stability index set and form a channel stability level mapping table. Based on the standard signal stream set, the channel monitoring data set, and the channel stability level mapping table, signal allocation and synchronization processing are performed to generate a synchronization signal allocation result table. By using the synchronization signal allocation result table and the channel monitoring data set, data verification and error correction are performed on the signal transmission process to generate a signal transmission verification result table. Based on the signal transmission verification result table and the channel monitoring data set, perform signal output and channel dynamic monitoring processing, generate a signal output record table, and realize signal redistribution.

[0007] As a preferred embodiment of the multi-channel allocation method for industrial computer signal transmission described in this invention, the sampling and digitization processing of the industrial computer input signal includes performing periodic sampling and digitization processing on multiple types of signals at the industrial computer input terminal under a unified time reference to form a sampling record containing digital signal amplitude, sampling time identifier and sampling channel number. The sampling records from multiple consecutive sampling periods are arranged in chronological order to form a signal sample set; Statistical operations are performed on the signal sample set to obtain the average bandwidth requirement and the end-to-end maximum transmission delay parameter, and a signal priority identifier is generated based on the distribution range of the end-to-end maximum transmission delay parameter. The average bandwidth requirement, maximum end-to-end transmission delay, signal priority identifier, and sampling channel number are arranged in chronological order to form a standard signal stream set.

[0008] As a preferred embodiment of the multi-channel allocation method for industrial computer signal transmission described in this invention, the status acquisition of physical transmission channels includes, under a unified time reference, performing channel bandwidth sampling, channel delay measurement, channel bit error statistics, and channel clock deviation measurement on each physical transmission channel to obtain the available bandwidth value, end-to-end transmission time difference, channel bit error rate, and time deviation, respectively, and organizing them according to time order and physical transmission channel number to form a channel monitoring data set.

[0009] As a preferred embodiment of the multi-channel allocation method for industrial computer signal transmission described in this invention, the step of performing normalization and fluctuation characteristic calculation includes normalizing the channel monitoring data set, mapping the available bandwidth value of the channel, the end-to-end transmission time difference, the channel bit error rate, and the time deviation to a numerical range of zero to one, thereby obtaining a normalized channel monitoring data set. Fluctuation characteristics are calculated on the normalized channel monitoring data set. The average change in available channel bandwidth, the average variance of end-to-end transmission time difference, the average change in channel bit error rate, and the root mean square of time deviation are calculated and used as bandwidth fluctuation amplitude, delay jitter amplitude, bit error fluctuation amplitude, and clock drift amplitude, respectively. A multiplicative coupling method is used to perform comprehensive calculations on bandwidth fluctuation amplitude, latency jitter amplitude, bit error fluctuation amplitude, and clock drift amplitude to generate channel stability index values. All channel stability index values ​​are then arranged according to the physical transmission channel number to form a channel stability index set.

[0010] As a preferred embodiment of the multi-channel allocation method for industrial computer signal transmission described in this invention, the method of forming a channel stability level mapping table includes: in the channel stability index set, arranging the channel stability index values ​​in ascending order of numerical values, taking the channel stability index value in the middle position of the arrangement as the median value of channel stability, and taking the median value of the absolute difference between each channel stability index value and the median value of channel stability as the absolute median deviation of channel stability. Based on the median channel stability and the absolute median deviation of channel stability, the lower boundary of the stable region and the upper boundary of the unstable region are obtained, and the channel stability level is divided according to the lower boundary of the stable region and the upper boundary of the unstable region. The physical transmission channel number, channel stability index value, and stability level are recorded accordingly to form a channel stability level mapping table.

[0011] As a preferred embodiment of the multi-channel allocation method for industrial computer signal transmission described in this invention, the execution of signal allocation and synchronization processing includes, based on a standard signal stream set, a channel monitoring data set, and a channel stability level mapping table, matching signals with physical transmission channels according to signal priority identifiers and channel stability levels, and generating a preliminary set of physical transmission channels; In the initial set of physical transmission channels, when the average value of the available bandwidth of the channel is greater than the average bandwidth requirement of the signal, and the average end-to-end transmission time difference is less than the maximum end-to-end transmission delay parameter, the physical transmission channel is included in the set of allocable physical transmission channels for the signal. When the set of allocable physical transmission channels is not empty, the channel is determined according to the signal stability index value. When the set of allocable physical transmission channels is empty, the signal is recorded as unallocated and the signal allocation and synchronization process is re-executed in the next time window. After signal allocation is completed, the signal allocation time marker is determined according to the unified time reference, and the latest time deviation is read from the channel monitoring data set; Based on the synchronization accuracy of the timing protocol, the sampling clock accuracy, and the service delay margin, the timing adjustment threshold is determined. The absolute value of the latest time deviation is compared with the timing adjustment threshold, the signal distribution delay compensation value is calculated, and the signal allocation time identifier is updated to obtain the signal allocation time identifier after synchronization.

[0012] As a preferred embodiment of the multi-channel allocation method for industrial computer signal transmission described in this invention, the generation of the synchronization signal allocation result table includes recording the synchronized signal allocation time identifier, the latest time deviation, the timing adjustment threshold, and the signal distribution delay compensation value into the synchronization signal allocation result table. Calculate the synchronization residual deviation of each physical transmission channel, compare the synchronization residual deviation with the timing adjustment threshold, and determine the synchronization status of the physical transmission channel. When any physical transmission channel is detected to be out of sync, the latest time deviation of the channel clock deviation sequence is sampled first in the next time window, the synchronization process is re-executed, and the signal allocation time identifier is updated.

[0013] As a preferred embodiment of the multi-channel allocation method for industrial computer signal transmission described in this invention, the step of performing data verification and error correction processing on the signal transmission process includes reading the identifier of each synchronized signal allocation time and the corresponding physical transmission channel number from the synchronization signal allocation result table, generating a signal data frame sequence, and performing a frame number continuity comparison to obtain the frame loss rate and frame continuity index. The average bit error rate is calculated based on the channel monitoring data set, and the bit error status is determined based on the average bit error rate. The frame continuity index, average bit error rate, and bit error status of each physical transmission channel are recorded accordingly to form a channel verification result table; For physical transmission channels with an unqualified bit error status in the channel verification result table, extract the corresponding signal data blocks, perform cyclic redundancy check, and update the frame continuity index and average bit error rate in the channel verification result table.

[0014] As a preferred embodiment of the multi-channel allocation method for industrial computer signal transmission described in this invention, the generation of the signal transmission verification result table includes performing consistency verification on the frame continuity index and average bit error rate in the updated channel verification result table. When the frame continuity index of all physical transmission channels is higher than the median value of the frame continuity index, and the average bit error rate is lower than the median value of the average bit error rate, the tag data verification and error correction process is completed. After successful verification, the updated channel verification result table will be used as the signal transmission verification result table.

[0015] As a preferred embodiment of the multi-channel allocation method for industrial computer signal transmission described in this invention, the execution signal output and channel dynamic monitoring processing includes writing the signal data block into the physical transmission channel according to the signal allocation time identifier after synchronization and outputting it to the target device based on the signal transmission verification result table. During the signal output process, the performance changes of the physical transmission channel are continuously monitored based on the channel monitoring data set and recorded in the signal output record table; When an abnormality in the physical transmission channel is detected, the corresponding signal is marked as a candidate signal for reallocation, and the signal allocation and synchronization process is re-executed in the next time window. For signals that have not triggered signal redistribution, maintain the existing signal allocation relationship and continuously monitor the channel status.

[0016] The beneficial effects of this invention are as follows: by performing signal allocation and synchronization processing, dynamic matching of signal priority identifier and channel stability level is achieved, and the allocation and timing synchronization of the optimal physical transmission channel are completed according to bandwidth, delay and stability constraints; by performing data verification and error correction processing, integrity verification of signal data frames and error self-recovery are achieved. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 A flowchart of a multi-channel allocation method for signal transmission in industrial computers.

[0019] Figure 2 A flowchart for constructing a channel stability level mapping table.

[0020] Figure 3 A flowchart for performing signal allocation and synchronization processing.

[0021] Figure 4 A flowchart for performing data validation and error correction. Detailed Implementation

[0022] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0023] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.

[0024] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in different places in this specification does not necessarily refer to the same embodiment, nor is it a single or selective embodiment that is mutually exclusive with other embodiments.

[0025] Reference Figures 1-4 As one embodiment of the present invention, this embodiment provides a multi-channel allocation method for industrial computer signal transmission, comprising the following steps: S1. Sample and digitize the input signals from the industrial computer, and simultaneously collect the status of the physical transmission channel to generate a standard signal stream set and a channel monitoring data set.

[0026] Furthermore, the clock of the industrial computer is calibrated for time synchronization. For example, a precise time protocol or synchronous Ethernet time synchronization method is used to enable the main control clock of the industrial computer and each acquisition port to automatically complete the synchronization adjustment during the time synchronization process, ensuring that the time error of different acquisition ports is controlled within the microsecond range. After the time synchronization is completed, a unified time reference is obtained, which serves as the time reference for all signal sampling and channel monitoring.

[0027] Under a unified time reference, various types of signals from the input terminals of industrial computers are periodically sampled and digitized.

[0028] The sampling period of the signal is determined according to the frequency band range and resolution requirements of the signal under test. For example, when the highest frequency of the signal under test is 5 kHz, the sampling frequency can be set between 10 kHz and 20 kHz to ensure sampling accuracy and time resolution. Before sampling, the input signal is subjected to low-pass filtering. For example, when the highest frequency of the signal under test is 5 kHz, the filter cutoff frequency can be set between 4,500 Hz and 5,500 Hz to suppress high-frequency noise components higher than the effective bandwidth of the signal and prevent aliasing.

[0029] Digital processing refers to the process of converting filtered analog signals into digital signals and recording them in a structured manner. For example, digital processing is accomplished through an analog-to-digital converter (ADC). The analog signal amplitude of each sampling channel is quantized according to the sampling period, and the quantization accuracy is determined by the resolution of the ADC. After quantization, the ADC generates digital signal amplitude and assigns a unique sampling time identifier to each sampling point according to a unified time base. At the same time, it reads the sampling channel number and records the sampling status identifier. When the sampling data continuity is interrupted or the sampling status identifier shows an abnormality, the sampling record of the current sampling period is discarded to ensure the integrity of the sampling data. After digital processing is completed, a sampling record containing digital signal amplitude, sampling time identifier, sampling channel number, and sampling status identifier is formed.

[0030] After sampling is completed, the sampling records from multiple consecutive sampling periods are organized in chronological order to form a signal sample set with a unified time identifier. The signal sample set includes digital signal amplitude, sampling time identifier, sampling channel number, and sampling status identifier, which are used to characterize the amplitude changes of multi-channel signals under a unified time reference.

[0031] Furthermore, under a unified time reference, statistical operations are performed on the sampling records in the signal sample set to generate a standard signal stream set.

[0032] During the statistical calculation, the sampling interval for each signal is derived based on the time difference between adjacent sampling time markers. The signal change rate is calculated using the absolute value of the difference in digital signal amplitude between adjacent sampling points within the sampling channel and the sampling interval. This rate is then averaged with the number of sampling points to obtain the average bandwidth requirement for the signal within the current time segment, expressed as: ; in, Indicates sampling channel The average bandwidth requirement of the signal. Indicates sampling channel In the The amplitude of the digital signal at each sampling time. Indicates sampling channel In the The amplitude of the digital signal at each sampling time. Indicates sampling channel In the The time identifier of each sampling moment Indicates sampling channel In the The time identifier of each sampling moment Indicates sampling channel The number of sampling points in the current time segment.

[0033] Based on the communication protocol file or task configuration file, read the maximum end-to-end transmission delay parameter allowed for the signal corresponding to each sampling channel number, and establish a one-to-one correspondence between the maximum end-to-end transmission delay parameter and the average bandwidth requirement value.

[0034] Based on the distribution range of the end-to-end maximum transmission delay parameter, the signals are divided into low priority, medium priority and high priority levels, and each signal is marked with a numerical signal priority identifier.

[0035] Under a unified time reference, all end-to-end maximum transmission delay parameters are sorted in ascending order of value. The distribution characteristics of the allowable end-to-end maximum transmission delay parameters for each signal are used as the basis for statistical division. According to the quartile distribution principle, intervals are divided, with the first 25% of the results designated as the first interval, the 25% to 75% interval as the middle interval, and the interval above 75% as the last interval. When the end-to-end maximum transmission delay parameter is in the first interval, the signal is classified as high priority; when it is in the middle interval, the signal is classified as medium priority; and when it is in the last interval, the signal is classified as low priority. This ensures that the signal priority division reflects the relative sensitivity of different services to transmission delay, achieving a match between bandwidth allocation and delay constraints.

[0036] The average bandwidth requirement, maximum end-to-end transmission delay, signal priority identifier, sampling time identifier, and sampling channel number are arranged in chronological order to form a standard signal stream set.

[0037] It should be noted that, while obtaining the standard signal stream set, the status of each physical transmission channel of the industrial computer communication link is collected under a unified time reference to generate a channel monitoring data set.

[0038] When collecting channel status data, the sampling period specified by the unified time reference is followed to sequentially perform channel bandwidth sampling, channel delay measurement, channel error statistics, and channel clock deviation measurement.

[0039] Channel bandwidth sampling uses the port counting function of the communication controller to record the total number of bits transmitted in each sampling period. Based on the ratio between the total number of bits transmitted in the sampling period and the sampling period length, the available channel bandwidth value is obtained. The available channel bandwidth values ​​in multiple consecutive sampling periods are recorded in chronological order as a channel available bandwidth time series.

[0040] Channel delay measurement calculates the end-to-end transmission time difference of each message by using the sending and receiving timestamps of the communication messages, and records the end-to-end transmission time difference within multiple consecutive sampling periods as a channel delay sample set.

[0041] Channel error statistics are achieved by recording the number of erroneous frames and the total number of frames in each sampling period through the error count register of the communication controller or interface chip. The channel error rate for the current sampling period is obtained based on the ratio of the number of erroneous frames to the total number of frames, and the channel error rates in consecutive sampling periods are recorded in chronological order as a channel error rate time series.

[0042] Channel clock deviation measurement is performed by reading the clock offset field in the timing protocol data packet, calculating the time deviation of each transmission channel relative to a unified time reference, and recording the continuously measured time deviation as a channel clock deviation sequence.

[0043] The available bandwidth time series, channel delay sample set, channel bit error rate time series, and channel clock deviation sequence are organized according to the physical transmission channel number to form a channel monitoring data set.

[0044] S2. Perform normalization and fluctuation characteristic calculation on the channel monitoring data set, construct a channel stability index set and form a channel stability level mapping table.

[0045] Furthermore, the channel monitoring data set is normalized under a unified time reference.

[0046] Within the same time window, the available bandwidth time series, channel delay sample set, channel bit error rate time series, and channel clock deviation sequence of each physical transmission channel are read sequentially. The maximum and minimum values ​​of each type of channel monitoring data (available bandwidth value, end-to-end transmission time difference, channel bit error rate, and time deviation) are calculated within the current time window. Based on the difference range between the maximum and minimum values, the channel monitoring data is numerically transformed in a linear proportion, mapping the channel monitoring data of each physical transmission channel to a numerical range of zero to one.

[0047] After normalization, time window consistency verification is performed under a unified time reference to check the sampling timestamps of each physical transmission channel in the monitoring data set of the detection channel, and the difference between each sampling timestamp and the unified time reference is compared item by item.

[0048] When the sampling timestamps in the channel monitoring data set are not aligned with the unified time base or there are sampling gaps, the misaligned sampling segments are removed, and the boundary of the removal interval is filled with the end sampling value of the previous effective time window to ensure that the numerical distribution of the channel monitoring data set is continuous, the sampling interval is uniform, and the index number is consistent within the continuous time window.

[0049] The channel monitoring data that has undergone normalization and time window consistency verification is rewritten into the channel monitoring data set and updated to the normalized channel monitoring data set.

[0050] Furthermore, fluctuation characteristics are calculated on the normalized channel monitoring data set.

[0051] Based on the normalized channel monitoring data set, in the available bandwidth time series of the channel, the absolute difference of the available bandwidth value between consecutive sampling periods is calculated, and the average value is taken over the entire time window to form the bandwidth fluctuation amplitude; in the channel delay sample set, the variance of the end-to-end transmission time difference in each sampling period is calculated, and the average variance of each sampling period is taken over the time window to form the delay jitter amplitude; in the channel bit error rate time series, the average value of the absolute change of the channel bit error rate in consecutive sampling periods is calculated to form the bit error fluctuation amplitude; in the channel clock deviation sequence, the root mean square of the adjacent differences of the time deviation in adjacent sampling periods is calculated to form the clock drift amplitude.

[0052] The bandwidth fluctuation amplitude, latency jitter amplitude, bit error fluctuation amplitude, and clock drift amplitude are recorded sequentially according to the physical transmission channel number to form a fluctuation feature set, which is used to characterize the operational fluctuation characteristics of each physical transmission channel within the current time window.

[0053] Based on the set of fluctuation characteristics, a multiplicative coupled block energy approach is used to perform a comprehensive stability calculation on the bandwidth fluctuation amplitude, delay jitter amplitude, bit error fluctuation amplitude, and clock drift amplitude of each physical transmission channel, generating a channel stability index value, expressed as: ; in, Indicates physical transmission channel The channel stability index value, , Indicates physical transmission channel The bandwidth fluctuation range, Indicates physical transmission channel The amplitude of latency jitter, Indicates physical transmission channel The fluctuation range of bit error rate, Indicates physical transmission channel The clock drift amplitude.

[0054] The range of channel stability index values ​​is determined based on the normalized interval and comprehensive calculation form of the channel monitoring data. Since bandwidth fluctuation, delay jitter, bit error rate fluctuation, and clock drift are all normalized and limited to between 0 and 1, the channel stability index values ​​exhibit a bounded gain under the multiplicative coupling function. The theoretical range of channel stability index values ​​is... .

[0055] Arrange the channel stability index values ​​of all physical transmission channels according to the physical transmission channel number to form a channel stability index set.

[0056] It should be noted that in the set of channel stability indicators, the channel stability indicator values ​​are arranged in ascending order of numerical value, and the channel stability indicator value in the middle position of the arrangement is taken as the median of channel stability; based on the absolute difference between each channel stability indicator value and the median of channel stability, the median value of all absolute differences is taken as the absolute median deviation of channel stability.

[0057] The difference between the median channel stability and the absolute median deviation of channel stability is taken as the lower boundary of the stable region; the sum of the median channel stability and the absolute median deviation of channel stability is taken as the upper boundary of the unstable region.

[0058] When the channel stability index value is less than the lower boundary of the stable zone, the physical transmission channel where the channel stability index value is located is marked as a high stability level, indicating that the physical transmission channel is operating stably within the current time window and can be used as a priority allocation channel.

[0059] When the channel stability index value is between the lower boundary of the stable zone and the upper boundary of the unstable zone, the physical transmission channel where the channel stability index value is located is marked as medium stability level, indicating that the physical transmission channel is in a medium stability level in the current time window and can be used as a backup allocation channel. When the channel stability index value is greater than the upper boundary of the unstable zone, the physical transmission channel where the channel stability index value is located is marked as low stability level, indicating that the physical transmission channel's operating status fluctuates significantly within the current time window and will not participate in priority allocation for the time being.

[0060] Each physical transmission channel number, channel stability index value, and its corresponding stability level are recorded to form a channel stability level mapping table, which is then updated on a rolling basis according to a time window cycle under a unified time reference.

[0061] S3. Based on the standard signal stream set, channel monitoring data set, and channel stability level mapping table, perform signal allocation and synchronization processing, and generate a synchronization signal allocation result table.

[0062] Furthermore, signal allocation and synchronization are performed under a unified time reference.

[0063] Read the signal priority identifier, average bandwidth requirement, and maximum end-to-end transmission delay parameter for each signal in the standard signal stream set. Simultaneously, read the channel stability level and channel stability index value corresponding to each physical transmission channel number in the channel stability level mapping table, as well as the available bandwidth time series and channel delay sample set corresponding to each physical transmission channel number in the channel monitoring data set.

[0064] Within the current time window, preliminary matching of the signal with the physical transmission channel is performed based on the signal priority identifier and the channel stability level.

[0065] When the signal priority is identified as high priority, the physical transmission channel with a stability level of high stability is retrieved from the channel stability level mapping table.

[0066] When the signal priority is identified as medium priority, the physical transmission channel with a stability level of medium stability is retrieved from the channel stability level mapping table.

[0067] When the signal priority is identified as low priority, the physical transmission channel with a low stability level is retrieved from the channel stability level mapping table.

[0068] When there are insufficient physical transmission channels that meet the priority level, they are supplemented and matched in order of stability level from high stability level to low stability level.

[0069] The selected physical transmission channels are combined to form a preliminary set of physical transmission channels corresponding to the signal.

[0070] Furthermore, in the initial set of physical transmission channels, the average value of the available bandwidth of each physical transmission channel in the time series of available bandwidth of each sampling period is compared with the average bandwidth requirement of the signal. When the average value of the available bandwidth of the channel is greater than the average bandwidth requirement of the signal, it is recorded as the bandwidth condition is met.

[0071] The average end-to-end transmission time difference of each sampling period in the channel delay sample set is compared with the maximum end-to-end transmission delay parameter. When the average end-to-end transmission time difference is less than the maximum end-to-end transmission delay parameter, the delay recording condition is met.

[0072] When both bandwidth and latency conditions are met, the corresponding physical transmission channel is included in the set of allocatable physical transmission channels for the signal.

[0073] Furthermore, when the set of allocable physical transmission channels for a signal contains multiple physical transmission channels, the physical transmission channel with the smallest stability index value is selected as the primary allocation channel, and the physical transmission channel with the second smallest stability index value is selected as the backup allocation channel, according to the order of the signal stability index values.

[0074] When the set of allocable physical transmission channels for a signal contains only one physical transmission channel, the physical transmission channel in the set of allocable physical transmission channels is selected as the final allocation channel for the current signal.

[0075] When the set of allocable physical transmission channels for a signal is empty, the signal is marked as unallocated and retained until the next time window to re-execute signal allocation and synchronization processing.

[0076] It should be noted that after the signal allocation is completed, the signal allocation time marker is determined under a unified time reference.

[0077] The signal allocation time marker is determined by the timestamp of the current sampling period under a unified time reference. It is used to identify the moment when the signal establishes a correspondence with the physical transmission channel and is updated when the signal is redistributed.

[0078] It should also be noted that during the synchronization process, the latest time deviation of the channel clock deviation sequence corresponding to each physical transmission channel number is read and recorded as the latest time deviation.

[0079] The timing adjustment threshold is determined by comprehensively considering the synchronization accuracy of the timing protocol, the sampling clock accuracy, and the difference between the maximum end-to-end transmission delay parameter and the average end-to-end transmission time difference.

[0080] Specifically, the synchronization accuracy of the timing protocol represents its time synchronization capability between master and slave nodes, while the sampling clock accuracy represents the minimum time resolution of the industrial computer's sampling clock. The sum of these two reflects the device's synchronization capability. The difference between the maximum end-to-end transmission delay parameter and the average end-to-end transmission time difference represents the service delay margin. The smaller of the device synchronization capability and the service delay margin is taken as the timing adjustment threshold, expressed as: ; ; ; in, Indicates the device's synchronization capability. This indicates the upper limit of the synchronization accuracy of the time synchronization protocol. Indicates the sampling clock precision. Indicates physical transmission channel Business latency margin This represents the maximum end-to-end transmission delay parameter. Indicates physical transmission channel The average end-to-end transmission time difference, This indicates the timing adjustment threshold.

[0081] The absolute value of the latest time deviation is compared with the timing adjustment threshold to obtain the signal distribution delay compensation value.

[0082] When the absolute value of the latest time deviation is greater than the timing adjustment threshold, the latest time deviation will be used as the signal distribution delay compensation value.

[0083] When the absolute value of the latest time deviation is less than or equal to the timing adjustment threshold, the signal distribution delay compensation value is zero.

[0084] When applying the signal distribution delay compensation value, read the signal distribution time identifier, sum the signal distribution time identifier with the signal distribution delay compensation value, and obtain the synchronized signal distribution time identifier.

[0085] Record the synchronized signal allocation time identifier, the latest time deviation, the timing adjustment threshold, and the signal distribution delay compensation value into the synchronization signal allocation result table.

[0086] It should also be noted that after completing the recording of the synchronization signal allocation result table, the latest time deviation and signal distribution delay compensation value corresponding to each physical transmission channel number are read, and the synchronization residual deviation is calculated based on the algebraic difference between the two.

[0087] When the residual synchronization deviation is less than or equal to the timing adjustment threshold, the synchronization status of the current physical transmission channel is marked as synchronized.

[0088] When the residual synchronization deviation is greater than the timing adjustment threshold, the synchronization status of the current physical transmission channel is marked as unsynchronized.

[0089] Furthermore, when any physical transmission channel (including the main allocation channel and the backup allocation channel) is detected to be out of sync, the latest time deviation in the channel clock deviation sequence is sampled first in the next time window, the synchronization process is re-executed, and the signal allocation time identifier is updated. Specifically, when the detection target is the main allocation channel, the backup channel is switched, and the signal distribution delay compensation value is recalculated to update the signal allocation time identifier after synchronization.

[0090] S4. By using the synchronization signal allocation result table and the channel monitoring data set, perform data verification and error correction processing on the signal transmission process, and generate a signal transmission verification result table.

[0091] Furthermore, data verification and error correction are performed under a unified time base.

[0092] Data verification and error correction processing includes data integrity verification, bit error verification, and redundancy correction processing. It is used to jointly verify and correct the integrity, correctness, and recoverability of signal data frames after signal transmission is completed.

[0093] When performing data integrity verification, the system reads the time identifier of each synchronized signal allocation and the corresponding physical transmission channel number from the synchronization signal allocation result table to generate a signal data frame sequence.

[0094] A signal data frame sequence refers to a set of data frames formed on the corresponding physical transmission channel after the signal is allocated, under a unified time reference, and arranged in the order of the signal allocation time markers after synchronization.

[0095] For each physical transmission channel sequence number, perform a frame number continuity comparison on the corresponding signal data frame sequence.

[0096] When there is a numbering interval between adjacent frame numbers, the number of lost frames and the total number of frames are recorded. Based on the ratio between the number of lost frames and the total number of frames, the frame loss rate within the current time window is calculated to characterize the proportion of data frames lost in the physical transmission channel within the current time window.

[0097] Under a unified time reference, the frame loss rate over multiple consecutive time windows is averaged to obtain the average frame loss rate. The complementary value of the average frame loss rate is then taken as the frame continuity index for the corresponding physical transmission channel, expressed as: ; in, Indicates physical transmission channel Frame continuity index, Indicates physical transmission channel Numbering within the time window Frame loss rate within, This indicates the number of consecutively accumulated time windows.

[0098] The frame continuity index ranges from 0 to 1. The closer the frame continuity index is to 1, the more complete and continuous the data frame transmission is within the continuous time window of the physical transmission channel. The closer the frame continuity index is to 0, the higher the frame drop rate and the poorer the continuity is within the continuous time window of the physical transmission channel.

[0099] Furthermore, after calculating the frame continuity index, error checking is performed.

[0100] Based on the channel bit error rate time series recorded in the channel monitoring data set, the average bit error rate of each physical transmission channel in multiple consecutive sampling periods is calculated under a unified time reference, which is used to reflect the bit error characteristics of the physical transmission channel in the time dimension.

[0101] After the average bit error rate is calculated, the average bit error rate values ​​of all physical transmission channels within the current time window are obtained, sorted in ascending order according to their numerical values, and the average bit error rate value in the middle of the sort is taken as the bit error rate reference value.

[0102] When the average bit error rate of the physical transmission channel is less than the bit error rate reference value, the bit error status within the current time window is recorded as qualified.

[0103] When the average bit error rate of the physical transmission channel is greater than or equal to the bit error rate reference value, the bit error status is recorded as unqualified.

[0104] The frame continuity index, average bit error rate, and bit error status of each physical transmission channel are recorded to form a channel verification result table, which is used to characterize the overall transmission stability of each physical transmission channel under a unified time reference.

[0105] It should be noted that after completing the bit error rate verification, the record entry corresponding to each physical transmission channel number in the synchronization signal allocation result table is read, and consecutive data frames belonging to the same signal are aggregated into signal data blocks in chronological order.

[0106] A signal data block is used to represent a continuous sequence of frames transmitted through a physical transmission channel under a unified time base, and is the smallest data unit for performing redundancy check code calculation.

[0107] In the redundancy correction process, for the physical transmission channel number whose error status is unqualified in the channel verification result table, the corresponding signal data block is read and the redundancy check code is calculated.

[0108] The redundancy check code calculation adopts the cyclic redundancy check method. The check code vector is generated according to the bit sequence of the signal data block, and the check remainder is calculated for each signal data block. Cyclic redundancy check is an industrial communication verification algorithm known to those skilled in the art. It is used to detect transmission errors of signal data blocks and will not be described in detail here.

[0109] When the check remainder is not zero, a bit error is marked in the current signal data block, and the external redundant channel data or retransmission mechanism is called to recover the bit segment to ensure the consistency of the signal data block.

[0110] After completing the redundancy correction process, the frame continuity index and average bit error rate of the rectified signal data block are recalculated, and the new frame continuity index and average bit error rate are updated in the channel verification result table.

[0111] It should also be noted that, based on the updated channel verification result table, the frame continuity index and average bit error rate of all physical transmission channels are verified for consistency.

[0112] Read all records in the channel verification result table for frame continuity index and average bit error rate, and calculate the median value of frame continuity index and the median value of average bit error rate respectively.

[0113] When the frame continuity index of all physical transmission channels is higher than the median value of the frame continuity index, and the average bit error rate of all physical transmission channels is lower than the median value of the average bit error rate, the tag data verification and error correction process is completed, and the current signal distribution result is verified.

[0114] After confirmation, the updated channel verification result table will be used as the signal transmission verification result table.

[0115] S5. Based on the signal transmission verification result table and the channel monitoring data set, perform signal output and channel dynamic monitoring processing, generate a signal output record table, and realize signal redistribution.

[0116] Furthermore, under a unified time reference, based on the signal transmission verification result table, the signal data blocks are written into the corresponding physical transmission channels according to the signal allocation time identifier after synchronization, and then output to the target device.

[0117] During signal output, based on the channel monitoring data set, the available bandwidth value of the channel, the end-to-end transmission time difference, the channel bit error rate and the rate of change of the channel clock deviation are continuously calculated to reflect the real-time performance fluctuation of each physical transmission channel within a continuous time window, and the calculation results are recorded in the signal output record table in real time.

[0118] Based on the changing trends recorded in the signal output log, determine the stability changes in the performance of the physical transmission channel.

[0119] When the absolute value of the rate of change of the same physical transmission channel continues to increase over multiple consecutive time windows, it is determined that the performance fluctuation of the physical transmission channel continues to intensify.

[0120] If the performance fluctuation of the physical transmission channel is detected to be continuously aggravated, the frame continuity index and average bit error rate of the corresponding physical transmission channel are recalculated, and the new frame continuity index and average bit error rate results are updated in the signal output record table.

[0121] When the updated frame continuity index is lower than the median value of the frame continuity index in the channel verification result table, the corresponding signal is recorded as a candidate signal for redistribution.

[0122] When the updated average bit error rate is higher than the median value of the average bit error rate in the channel verification result table, the corresponding signal is recorded as a candidate signal for redistribution.

[0123] For all candidate signals for redistribution, signal redistribution and synchronization processing is re-executed in the next time window. The signal redistribution and synchronization rules of step S3 are invoked, and a new physical transmission channel is selected to complete the signal redistribution.

[0124] For signals that have not triggered reallocation, the existing signal allocation relationship is maintained, and the changing trends of available channel bandwidth, end-to-end transmission time difference, channel bit error rate, and channel clock deviation are continuously monitored under a unified time reference to ensure the continuity of signal output and the dynamic stability of channel allocation.

[0125] In summary, this invention achieves dynamic matching of signal priority identifiers and channel stability levels by performing signal allocation and synchronization processing, and completes the allocation and timing synchronization of the optimal physical transmission channel based on bandwidth, delay, and stability constraints; and achieves integrity verification and error self-recovery of signal data frames by performing data verification and error correction processing.

[0126] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A multi-channel allocation method for industrial computer signal transmission, characterized in that: include, The system samples and digitizes the input signals from industrial computers, while simultaneously acquiring the status of physical transmission channels to generate a set of standard signal streams and a set of channel monitoring data. Normalization and fluctuation characteristic calculations are performed on the channel monitoring data set to construct a channel stability index set and form a channel stability level mapping table. Based on the standard signal stream set, the channel monitoring data set, and the channel stability level mapping table, signal allocation and synchronization processing are performed to generate a synchronization signal allocation result table. By using the synchronization signal allocation result table and the channel monitoring data set, data verification and error correction are performed on the signal transmission process to generate a signal transmission verification result table. Based on the signal transmission verification result table and the channel monitoring data set, perform signal output and channel dynamic monitoring processing, generate a signal output record table, and realize signal redistribution.

2. The multi-channel allocation method for industrial computer signal transmission as described in claim 1, characterized in that: The sampling and digitization of industrial computer input signals includes performing periodic sampling and digitization on multiple types of signals at the industrial computer input terminal under a unified time reference, forming a sampling record containing digital signal amplitude, sampling time identifier, and sampling channel number; The sampling records from multiple consecutive sampling periods are arranged in chronological order to form a signal sample set; Statistical operations are performed on the signal sample set to obtain the average bandwidth requirement and the end-to-end maximum transmission delay parameter, and a signal priority identifier is generated based on the distribution range of the end-to-end maximum transmission delay parameter. The average bandwidth requirement, maximum end-to-end transmission delay, signal priority identifier, and sampling channel number are arranged in chronological order to form a standard signal stream set.

3. The multi-channel allocation method for industrial computer signal transmission as described in claim 2, characterized in that: The status acquisition of physical transmission channels includes, under a unified time reference, performing channel bandwidth sampling, channel delay measurement, channel bit error statistics, and channel clock deviation measurement on each physical transmission channel to obtain the available bandwidth value, end-to-end transmission time difference, channel bit error rate, and time deviation, respectively, and organizing them in chronological order and physical transmission channel number to form a channel monitoring data set.

4. The multi-channel allocation method for industrial computer signal transmission as described in claim 3, characterized in that: The normalization and fluctuation characteristic calculation includes normalizing the channel monitoring data set by mapping the available bandwidth value of the channel, the end-to-end transmission time difference, the channel bit error rate and the time deviation to a value range of zero to one, so as to obtain a normalized channel monitoring data set. Fluctuation characteristics are calculated on the normalized channel monitoring data set. The average change in available channel bandwidth, the average variance of end-to-end transmission time difference, the average change in channel bit error rate, and the root mean square of time deviation are calculated and used as bandwidth fluctuation amplitude, delay jitter amplitude, bit error fluctuation amplitude, and clock drift amplitude, respectively. A multiplicative coupling method is used to perform comprehensive calculations on bandwidth fluctuation amplitude, latency jitter amplitude, bit error fluctuation amplitude, and clock drift amplitude to generate channel stability index values. All channel stability index values ​​are then arranged according to the physical transmission channel number to form a channel stability index set.

5. The multi-channel allocation method for industrial computer signal transmission as described in claim 4, characterized in that: The process of forming a channel stability level mapping table includes arranging the channel stability index values ​​in ascending order in the channel stability index set, taking the channel stability index value in the middle position of the arrangement as the median value of channel stability, and taking the median value of the absolute difference between each channel stability index value and the median value of channel stability as the absolute median deviation of channel stability. Based on the median channel stability and the absolute median deviation of channel stability, the lower boundary of the stable region and the upper boundary of the unstable region are obtained, and the channel stability level is divided according to the lower boundary of the stable region and the upper boundary of the unstable region. The physical transmission channel number, channel stability index value, and stability level are recorded accordingly to form a channel stability level mapping table.

6. The multi-channel allocation method for industrial computer signal transmission as described in claim 5, characterized in that: The execution signal allocation and synchronization processing includes, based on the standard signal stream set, the channel monitoring data set, and the channel stability level mapping table, matching signals with physical transmission channels according to signal priority identifiers and channel stability levels, and generating a preliminary set of physical transmission channels; In the initial set of physical transmission channels, when the average value of the available bandwidth of the channel is greater than the average bandwidth requirement of the signal, and the average end-to-end transmission time difference is less than the maximum end-to-end transmission delay parameter, the physical transmission channel is included in the set of allocable physical transmission channels for the signal. When the set of allocable physical transmission channels is not empty, the channel is determined according to the signal stability index value. When the set of allocable physical transmission channels is empty, the signal is recorded as unallocated and the signal allocation and synchronization process is re-executed in the next time window. After signal allocation is completed, the signal allocation time marker is determined according to the unified time reference, and the latest time deviation is read from the channel monitoring data set; Based on the synchronization accuracy of the timing protocol, the sampling clock accuracy, and the service delay margin, the timing adjustment threshold is determined. The absolute value of the latest time deviation is compared with the timing adjustment threshold, the signal distribution delay compensation value is calculated, and the signal allocation time identifier is updated to obtain the signal allocation time identifier after synchronization.

7. The multi-channel allocation method for industrial computer signal transmission as described in claim 6, characterized in that: The generation of the synchronization signal allocation result table includes recording the synchronized signal allocation time identifier, the latest time deviation, the timing adjustment threshold, and the signal distribution delay compensation value into the synchronization signal allocation result table; Calculate the synchronization residual deviation of each physical transmission channel, compare the synchronization residual deviation with the timing adjustment threshold, and determine the synchronization status of the physical transmission channel. When any physical transmission channel is detected to be out of sync, the latest time deviation of the channel clock deviation sequence is sampled first in the next time window, the synchronization process is re-executed, and the signal allocation time identifier is updated.

8. The multi-channel allocation method for industrial computer signal transmission as described in claim 7, characterized in that: The data verification and error correction process for the signal transmission process includes reading the identifier of each synchronized signal allocation time and the corresponding physical transmission channel number from the synchronization signal allocation result table, generating a signal data frame sequence, and performing a frame number continuity comparison to obtain the frame loss rate and frame continuity index. The average bit error rate is calculated based on the channel monitoring data set, and the bit error status is determined based on the average bit error rate. The frame continuity index, average bit error rate, and bit error status of each physical transmission channel are recorded accordingly to form a channel verification result table; For physical transmission channels with an unqualified bit error status in the channel verification result table, extract the corresponding signal data blocks, perform cyclic redundancy check, and update the frame continuity index and average bit error rate in the channel verification result table.

9. The multi-channel allocation method for industrial computer signal transmission as described in claim 8, characterized in that: The generated signal transmission verification result table includes performing consistency verification on the frame continuity index and average bit error rate in the updated channel verification result table; When the frame continuity index of all physical transmission channels is higher than the median value of the frame continuity index, and the average bit error rate is lower than the median value of the average bit error rate, the tag data verification and error correction process is completed. After successful verification, the updated channel verification result table will be used as the signal transmission verification result table.

10. The multi-channel allocation method for industrial computer signal transmission as described in claim 9, characterized in that: The execution signal output and channel dynamic monitoring processing includes writing the signal data block into the physical transmission channel according to the signal allocation time identifier after synchronization and outputting it to the target device, based on the signal transmission verification result table. During the signal output process, the performance changes of the physical transmission channel are continuously monitored based on the channel monitoring data set and recorded in the signal output record table; When an abnormality in the physical transmission channel is detected, the corresponding signal is marked as a candidate signal for reallocation, and the signal allocation and synchronization process is re-executed in the next time window. For signals that have not triggered signal redistribution, maintain the existing signal allocation relationship and continuously monitor the channel status.