A multi-protocol data acquisition and commissioning isolation system and method

By using a multi-protocol data acquisition and debugging isolation system, several shortcomings in the collaboration between industrial field data acquisition and PLC debugging were resolved. The system achieved logical isolation and unified management of the data acquisition and PLC debugging channels, improved the robustness of the system, the real-time performance and integrity of data transmission, and enhanced the traceability of Profinet data access.

CN123145135APending Publication Date: 2026-11-20HANGZHOU XIXIU UBIQUITOUS COMPUTING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611024216.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-10
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies have several drawbacks when coordinating continuous data acquisition and PLC debugging in complex industrial environments. These include: lack of coordination and isolation between the data acquisition channel and the PLC configuration/debugging channel; lack of network layer pre-testing and strategy generation before establishing the PLC debugging channel; insufficient participation of multi-protocol point tables in acquisition scheduling management; lack of blocking isolation mechanisms in acquisition scheduling; difficulty in balancing real-time performance and integrity in breakpoint resume strategies; coarse data identification and confirmation mechanisms; and lack of a unified structured intermediate mapping in the Profinet access process.

Method used

A multi-protocol data acquisition and debugging isolation system is adopted, including a multi-protocol access module, a protocol parsing and standardization module, a point table configuration module, an acquisition scheduling module, a local persistent cache module, a breakpoint resume control module, a standard uplink communication module, a PLC network layer configuration/debugging channel module, a channel isolation and priority control module, and an operation monitoring and logging module. This system achieves logical isolation and priority management between data acquisition and PLC debugging channels. It drives acquisition, caching, and resume through a unified point table, generates a composite unique identifier, dynamically allocates sending windows, and performs network status detection and policy generation.

Benefits of technology

Logical isolation between data acquisition and PLC debugging channels was achieved, improving the diagnostics and reproducibility of the debugging channel, reducing the mutual influence between acquisition and debugging messages, improving the robustness of the acquisition process and the real-time performance and integrity of data transmission, and enhancing the traceability of Profinet data access and the observability of system operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123145135A_ABST
    Figure CN123145135A_ABST
Patent Text Reader

Abstract

The application provides a multi-protocol data acquisition and debugging isolation system and method, and relates to the technical field of industrial data acquisition and communication. The system comprises a multi-protocol access module, a protocol analysis and standardization module, a point table configuration module, an acquisition scheduling module, a local persistent cache module, a breakpoint continuation control module, a standard uplink communication module, a PLC network layer configuration / debugging channel module, a channel isolation and priority control module, and a running monitoring and log module. The application cooperatively realizes multi-protocol data acquisition, a PLC network layer configuration / debugging channel, channel logic isolation, network layer pre-testing, unified point table driven acquisition scheduling and cache continuation, multi-queue cooperative supplementary transmission, and composite unique identification interval confirmation in the same edge data acquisition gateway. The application can effectively isolate data acquisition and debugging services, guarantee acquisition real-time performance and data integrity, thereby improving the cooperativeness, reliability and traceability of industrial field data acquisition and debugging maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial data acquisition and communication technology, specifically to a multi-protocol data acquisition and debugging isolation system and method. Background Technology

[0002] In industrial internet applications, edge data acquisition gateways play a crucial role in connecting field devices with cloud platforms. In industrial settings, it is common to acquire data from heterogeneous data sources such as programmable logic controllers (PLCs), sensors, instruments, frequency converters, remote I / O modules, industrial Ethernet devices, and serial communication devices. These devices may employ different communication interfaces and protocols, such as Modbus TCP over Ethernet, serial communication based on RS485 or RS422 physical links, Profinet industrial Ethernet communication, and other industrial communication methods after protocol conversion. Furthermore, during equipment installation, commissioning, maintenance, and fault diagnosis, engineers need to use configuration software, debugging software, or diagnostic tools provided by PLC manufacturers to access the corresponding PLC devices to perform operations such as network parameter configuration, device identification, program status viewing, and communication diagnostics.

[0003] In existing technologies, for data acquisition from industrial equipment, there are edge data acquisition gateways, serial servers, Modbus gateways, Profinet protocol conversion gateways, and industrial IoT cloud gateways that support multiple protocol access. Some existing gateways can acquire Modbus TCP, Modbus RTU, serial messages, or industrial Ethernet data, and can perform a certain degree of local caching and recovery upload when the uplink network is abnormal. For PLC maintenance, there are also solutions for accessing PLC devices through VPNs, remote maintenance gateways, port mapping, or remote desktops.

[0004] However, existing technologies still have the following shortcomings when it comes to continuous data acquisition and PLC debugging coordination in complex industrial settings.

[0005] First, there is a lack of coordinated isolation between the data acquisition channel and the PLC configuration / debugging channel. Existing edge gateways are primarily designed for data acquisition, typically providing only a data acquisition path from field devices to the host system. PLC configuration or debugging usually requires engineers to modify network wiring, enable remote maintenance tools, or establish temporary communication links through independent gateways. Even if some devices have port forwarding or remote access capabilities, PLC debugging communication and periodic data acquisition communication are often not managed as two parallel channels. There is a lack of logical isolation, access control, session maintenance, and priority coordination mechanisms when the two channels share physical interfaces, network bandwidth, and forwarding resources, which can easily lead to interference between acquisition and debugging messages.

[0006] Second, there is a lack of network layer pre-testing and policy generation mechanisms before establishing the PLC debugging channel. Existing solutions typically assume that there is a usable network between the terminal where the PLC configuration / debugging software is located and the PLC device, or rely on engineers to manually determine network connectivity. When the edge gateway is connected to the field network, if there are problems such as IP conflicts, inconsistent network segments, firewall restrictions, port inaccessibility, insufficient PLC software permissions, or incorrect device names or routing configurations, the establishment of the debugging channel often requires repeated manual troubleshooting. Existing technology lacks a mechanism to detect the network reachability of the PLC configuration / debugging terminal and the PLC device before and after the gateway is connected, and to generate bridging, routing, port forwarding, access control, or session maintenance policies accordingly.

[0007] Third, multi-protocol point tables are typically only used for data parsing and do not fully participate in acquisition scheduling, cache management, and breakpoint resume control. Traditional point tables generally record information such as tag name, address, data type, unit, and scaling factor, mainly used for parsing register or message fields. For points with different protocols, different physical links, different response delays, and different acquisition cycles, existing solutions often lack a unified point table to drive acquisition groups, task priorities, cache retention policies, retransmission priorities, and quality rules. This results in fragmented configurations between protocol parsing, acquisition scheduling, and cache resume, making subsequent maintenance complex.

[0008] Fourth, the data acquisition scheduling lacks a blocking isolation mechanism for protocol links. In multi-protocol, multi-device scenarios, the response time and reliability of different communication links vary significantly. For example, if a slave station on the same RS485 bus times out, an Ethernet device responds slowly, or a Profinet mapping data is abnormal, traditional polling scheduling may prolong the entire acquisition cycle, thereby affecting the normal acquisition of other protocols or other links. Existing technologies lack a mechanism to divide data points into acquisition groups based on protocol type, physical link, device address, historical response latency, acquisition cycle, and current channel load, and to only degrade, pause, or retry a group when it becomes abnormal.

[0009] Fifth, most breakpoint resume strategies are simple sequential retransmissions, which struggle to balance real-time performance and data integrity. Some existing gateways can cache data during network interruptions and sequentially upload historical cached data after network recovery. However, after network restoration, if the amount of historical data is large, unconditional sequential retransmission may consume significant uplink bandwidth, blocking currently collected real-time data; conversely, prioritizing real-time uploads could lead to a long-term backlog of historical data. Existing solutions lack a collaborative resume mechanism that divides the local cache into a real-time upload queue, a historical retransmission queue, and an anomaly verification queue, and dynamically allocates the sending window based on real-time data priority, historical data time range, local cache pressure, and available uplink bandwidth.

[0010] Sixth, the data identification and confirmation mechanisms are too coarse, making it difficult to efficiently identify duplicates, missed transmissions, and out-of-order data. Existing solutions typically manage upload status based on a single timestamp, a single incrementing sequence number, or a single confirmation receipt. When the same gateway simultaneously collects data from multiple devices, multiple locations, and multiple protocols, a single identifier is insufficient to accurately distinguish duplicate, missed, and out-of-order data from different data sources and locations; furthermore, requiring confirmation from the upper-level server for each data item increases communication overhead. Existing technologies lack a mechanism that uses a composite unique identifier formed by device identifier, location identifier, collection timestamp, and incrementing sequence number, and employs sequence number range confirmation to achieve batch status updates, missing transmission range location, and retransmission task generation.

[0011] Seventh, the Profinet access process lacks a unified, structured intermediate mapping. For Profinet devices, whether access is via the edge gateway's built-in adapter unit or an external protocol conversion unit, it typically involves device description files, slots, sub-slots, I / O offsets, data lengths, data types, and engineering configurations. Existing solutions often retain Profinet configurations in their respective engineering software or conversion devices, failing to create a unified I / O intermediate mapping record and further map it to a unified point table. This leads to difficulties in subsequent configuration verification, anomaly diagnosis, and data traceability.

[0012] Therefore, it is necessary to propose a multi-protocol data acquisition and debugging isolation system and method. Summary of the Invention

[0013] (a) Technical problems to be solved

[0014] To address the shortcomings of existing technologies, this invention provides a multi-protocol data acquisition and debugging isolation system and method, which solves several problems in the existing technologies when coordinating continuous data acquisition and PLC debugging in complex industrial environments.

[0015] (II) Technical Solution

[0016] To achieve the above objectives, the present invention provides the following technical solution: a multi-protocol data acquisition and debugging isolation system, deployed on an edge data acquisition gateway, comprising a multi-protocol access module, a protocol parsing and standardization module, a point table configuration module, an acquisition scheduling module, a local persistent cache module, a breakpoint resume control module, a standard uplink communication module, a PLC network layer configuration / debugging channel module, a channel isolation and priority control module, and an operation monitoring and logging module;

[0017] The multi-protocol access module is used to connect to field devices and receive raw data or process data;

[0018] The protocol parsing and standardization module is used to parse data from different protocol sources based on a unified point table and convert it into a unified data object;

[0019] The point table configuration module is used to store and manage the unified point table;

[0020] The data acquisition and scheduling module is used to divide data acquisition groups and schedule data acquisition tasks according to a unified point table;

[0021] The standard uplink communication module is used to encapsulate the unified data object into a standard message and upload it to the upper-level receiving end;

[0022] The operation monitoring and logging module is used to record the system operation status and logs;

[0023] The unified data object includes at least a device identifier, a location identifier, a data value, a collection timestamp, and an incrementing sequence number. The device identifier, location identifier, collection timestamp, and incrementing sequence number are combined to form a composite unique identifier.

[0024] Preferably, the data acquisition and scheduling module is used to divide a total of no more than 2,000 data points into multiple data acquisition groups based on the protocol type, physical link, device address, data acquisition cycle, historical response delay, data acquisition priority, and current channel load in the unified data point table.

[0025] When a data acquisition group experiences a device timeout, response error, or link interruption, the data acquisition scheduling module only executes a degradation strategy on that data acquisition group. The degradation strategy includes extending the data acquisition cycle of that group, reducing the data acquisition priority of that group, or suspending the data acquisition of that group. Other data acquisition groups continue to execute according to their original timing.

[0026] Preferably, the local persistent cache module is used to store unified data objects, including a real-time queue to be uploaded, a historical re-upload queue, and an abnormal verification queue.

[0027] The real-time queue to be uploaded is used to store data that needs to be uploaded first within the current collection period;

[0028] The historical retransmission queue is used to store data that was not uploaded in time due to uplink network anomalies, unreachable upper-level receivers, or insufficient transmission windows, and adopts a queue structure indexed by timestamps.

[0029] The abnormal verification queue is used to store data that has verification errors, inconsistent upload status, suspected missing serial numbers, or data that requires manual / system review.

[0030] Preferably, the breakpoint resume control module is used to detect the uplink network status and control the resume process of historical data, specifically:

[0031] When the network is normal, prioritize reading the data in the real-time upload queue, and extract historical data from the historical re-upload queue according to the preset window ratio for joint upload;

[0032] When there is a network error or the upper-level receiver is unreachable, stop deleting unconfirmed data and control newly collected data to continue being written to the corresponding buffer queue.

[0033] The system receives confirmation information returned by the host receiver. The confirmation information includes a sequence number range corresponding to the composite unique identifier. Based on the confirmation range, the system updates the upload status of local records in batches.

[0034] Preferably, the PLC network layer configuration / debugging channel module is used to build a debugging channel that communicates directly with field devices, including a link detection unit, a network bridging / routing unit, a port forwarding unit, a session maintenance unit, an access control unit, and a diagnostic log unit;

[0035] Before being enabled, the PLC network layer configuration / debugging channel module is used to detect the original network connectivity between the computer where the PLC configuration / debugging software is located and the target PLC device. If they are interconnected, a network forwarding strategy is generated; if they are not interconnected, the reason for the abnormality is recorded.

[0036] Preferably, the channel isolation and priority control module is used for logical isolation and priority management of the data acquisition channel and the debugging channel, specifically:

[0037] Mark data acquisition services as high priority and debugging and configuration services as low priority;

[0038] In resource competition, priority should be given to ensuring resources for data acquisition operations;

[0039] When a sudden surge in communication traffic occurs in the debugging channel, the bandwidth usage or forwarding rate of the debugging channel is limited based on the priority of the acquisition task and the depth of the buffer queue.

[0040] This invention also provides a method for multi-protocol data acquisition and debugging isolation, comprising the following specific steps:

[0041] S1: Obtain device access information and form a set of device access configuration parameters;

[0042] S2: Perform PLC network layer pre-testing and strategy generation, detect the original network connectivity, and generate debugging channel strategy when the conditions are met;

[0043] S3: Establish a unified point table model, and establish a unified point table based on the original description of the points in multiple protocols;

[0044] S4: Divide the data collection groups and generate tasks. Divide the points into multiple data collection groups according to the unified point table.

[0045] S5: Perform multi-protocol group collection, perform polling or concurrent collection on each collection group, and if a collection group is abnormal, only the degradation strategy is performed on that collection group;

[0046] S6: Data standardization and composite unique identifier generation, which parses the collected data and generates a composite unique identifier containing an incrementing sequence number;

[0047] S7: Data is persistently cached in separate queues, and data is written to the real-time upload queue, the historical re-upload queue, or the abnormal verification queue according to the data attributes.

[0048] S8: Dual-queue collaborative upload and send window allocation prioritizes uploading real-time data and dynamically adjusts historical retransmission windows;

[0049] S9: Range confirmation and status update, update the local cache status based on the sequence number range confirmation information returned by the upper receiver;

[0050] S10: Network outage detection and queue continuation; after network recovery, data will be resumed from the unacknowledged data range.

[0051] S11: Duplicate identification and integrity verification. Based on the composite unique identifier, sequence number range confirmation, device identifier and location identifier, the local cache and the confirmation result of the upper-level receiver are compared.

[0052] S12: Generate runtime logs. The runtime monitoring and logging module summarizes the status information generated in each step and generates runtime logs.

[0053] Preferably, in step S7, the data writing rules include:

[0054] Data that needs to be uploaded first in the current period is written into the real-time upload queue;

[0055] Data backlogged due to network anomalies or insufficient sending window is written to the historical retransmission queue;

[0056] Data with verification errors, inconsistent upload status, suspected missing serial number ranges, or inconsistent timestamp order with serial number order is written to the verification queue.

[0057] Preferably, step S9 specifically includes:

[0058] The upper-level receiving end returns confirmation information based on the composite unique identifier. The confirmation information includes the device identifier, the location identifier, and the incrementing sequence number range.

[0059] After receiving the confirmation information, the edge gateway batch matches the local cache records and marks the data in the confirmed interval as uploaded; for the sequence number ranges that are not continuous between the confirmed intervals, they are marked as the missed intervals and a retransmission task is generated; for the data that appears again in the confirmed interval, it is marked as duplicate data.

[0060] (III) Beneficial Effects

[0061] This invention provides a multi-protocol data acquisition and debugging isolation system. It has the following beneficial effects:

[0062] 1. This invention sets up a data acquisition channel and a PLC network layer configuration / debugging channel in parallel within the same edge data acquisition gateway. The two types of channels can share some physical network resources, but are logically isolated through independent physical interfaces, VLAN division, port forwarding rules, access control policies, session maintenance tables, priority queues or quality of service policies. This reduces the mutual influence between periodic acquisition messages and sudden debugging messages, and realizes the logical isolation and collaborative operation of the data acquisition channel and the PLC configuration / debugging channel.

[0063] 2. Before enabling the PLC configuration / debugging channel, this invention first performs a pre-test of the original network link between the debugging terminal and the PLC device, and then checks the communication reachability again after the edge gateway is connected. Based on the test results, bridging, routing, port forwarding, whitelisting, or access control policies are generated. This reduces repeated manual trial and error, improves the diagnosability and reproducibility of the debugging channel establishment process, and increases the determinism of PLC debugging channel deployment.

[0064] 3. The unified point table in this invention is not only used for protocol parsing, but also for data acquisition task grouping, data acquisition cycle control, cache queue selection, retransmission priority judgment and quality rule marking. This makes point configuration a unified management basis that runs through protocol parsing, data acquisition scheduling, local caching and breakpoint resume transmission. It forms a unified point table-driven data acquisition, caching and resume transmission management mechanism, reducing the configuration fragmentation between different modules.

[0065] 4. The data acquisition scheduling module of this invention divides the data points into multiple acquisition groups based on protocol type, physical link, device address, historical response latency, acquisition cycle, and current channel load. When a data acquisition group experiences a timeout, response error, or link interruption, only that acquisition group is subject to degradation strategies such as extending the cycle, pausing acquisition, lowering the quality flag, or retrying. Other acquisition groups continue to operate, thereby reducing the impact of single-point failures or single-link anomalies on the overall acquisition cycle and improving the blocking isolation capability during multi-protocol acquisition.

[0066] 5. This invention divides the local persistent cache into a real-time upload queue, a historical retransmission queue, and an anomaly verification queue. After network recovery, the breakpoint resume control module dynamically allocates the sending windows for real-time uploads and historical retransmissions based on real-time data priority, historical data time range, local cache pressure, and available uplink bandwidth. This avoids historical retransmissions blocking real-time data for extended periods and also prevents historical data from accumulating indefinitely, improving data real-time performance and integrity in weak network or uplink anomaly scenarios.

[0067] 6. This invention generates a composite unique identifier for each standardized data object, consisting of a device identifier, a location identifier, a collection timestamp, and an incrementing sequence number. The upper-level receiving end can return confirmation information containing the sequence number range. Based on this, the edge gateway updates the upload status in batches, identifies duplicate data, missing transmission intervals, and out-of-order data, and automatically generates retransmission tasks. This improves the data deduplication, missing transmission identification, and out-of-order verification capabilities, thereby improving the efficiency and accuracy of retransmission verification.

[0068] 7. This invention first converts the data output by the built-in Profinet adapter unit or external protocol conversion unit into a structured I / O mapping record, and then maps it to a unified point table field. This I / O mapping record retains information such as slot, sub-slot, offset, length, data type, and conversion source, providing a unified intermediate description for Profinet data access, configuration verification, and anomaly diagnosis, thereby improving the traceability of Profinet data access.

[0069] 8. The operation monitoring and logging module of this invention simultaneously records the status of the acquisition group, the connectivity status of the debugging channel, the link pre-test results, the buffer queue level, the retransmission window ratio, the amount of retransmission data, the number of duplicate data, the missing sequence number range, and the cause of the anomaly, providing a basis for subsequent debugging, operation and maintenance, fault review, and data integrity verification, and improving the observability of the system's operating status. Attached Figure Description

[0070] Figure 1 This is a block diagram of the overall system structure of the present invention;

[0071] Figure 2 This is a structural diagram of the internal modules of the edge data acquisition gateway of the present invention;

[0072] Figure 3 This is a schematic diagram of the unified mapping of multi-protocol point tables according to the present invention;

[0073] Figure 4 This is a flowchart of the breakpoint resume method of the present invention;

[0074] Figure 5 This is a schematic diagram of the PLC network layer configuration / debugging channel module connection of the present invention;

[0075] Figure 6 This is a schematic diagram of the isolation module between the acquisition channel and the debugging channel of the present invention. Detailed Implementation

[0076] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0077] Example 1

[0078] See Figure 1 - Figure 6 This invention provides a multi-protocol data acquisition and debugging isolation system, deployed on an edge data acquisition gateway, including a multi-protocol access module, a protocol parsing and standardization module, a point table configuration module, an acquisition scheduling module, a local persistent cache module, a breakpoint resume control module, a standard uplink communication module, a PLC network layer configuration / debugging channel module, a channel isolation and priority control module, and an operation monitoring and logging module.

[0079] Field devices include PLCs, controllers, sensors, instruments, frequency converters, remote I / O, serial communication devices, industrial Ethernet devices, or other industrial devices after protocol conversion. Field devices connect to the multi-protocol access module via Ethernet, RS485 serial links, RS422 serial links, Profinet networks, or other industrial communication links. RS485 and RS422 are physical layer or data link layer communication interfaces, carrying data that can be standard protocol messages or authorized or configured non-standard serial messages.

[0080] Specifically: (1) The multi-protocol access module is used to connect the field equipment and the protocol parsing and standardization module, and sends the raw data or process data of each link received from the field equipment into the protocol parsing and standardization module, and receives the collection instructions, polling timing or link detection instructions issued by the collection scheduling module;

[0081] The multi-protocol access module supports various interfaces, including Ethernet, RS485, RS422, a built-in Profinet adapter, and an external protocol conversion unit, enabling connection to various PLCs, sensors, and instruments. The Ethernet interface unit connects to Modbus TCP devices, industrial Ethernet devices, or other IP-based data sources. The RS485 interface unit connects to serial devices based on the RS485 differential bus. The RS422 interface unit connects to devices based on RS422 full-duplex serial links. The built-in Profinet adapter directly acquires Profinet I / O data configured in the engineering process. The external protocol conversion unit connects to external protocol conversion devices, allowing data output from these devices to enter the unified processing flow of this system.

[0082] (2) The protocol parsing and standardization module connects the multi-protocol access module and the point table configuration module. It is used to parse data from different protocol sources according to the mapping rules in the unified point table and convert them into unified data objects.

[0083] For Modbus TCP data, the protocol parsing and standardization module extracts register values ​​based on IP address, port, Unit ID, function code, register address, data type, byte order, and scaling factor. For RS485 or RS422 link data, the protocol parsing and standardization module extracts valid fields based on serial port parameters, slave address, field offset, message length, checksum method, and data type. For Profinet data, regardless of whether it originates from the built-in Profinet adapter unit or an external protocol conversion unit, a structured I / O mapping record is first formed. This I / O mapping record includes slot, sub-slot, I / O offset, data length, data type, conversion source, and project configuration identifier. This I / O mapping record is then mapped to unified point table fields.

[0084] A unified data object includes at least the following: device identifier, location identifier, data value, data type, unit, collection timestamp, incrementing sequence number, source protocol type, quality marker, and upload status. The device identifier, location identifier, collection timestamp, and incrementing sequence number combine to form a unique composite identifier, ensuring data traceability throughout its entire lifecycle.

[0085] (3) Point table configuration module, used to store and manage unified point tables; the unified point table fields include tag name, protocol type, device address, IP address, port, serial port parameters, function code or service code, unit ID or slave ID, register address, field offset, Profinet slot, sub-slot, I / O offset, data length, data type, byte order, scaling factor, unit, acquisition cycle, read / write attribute, quality rule, acquisition priority, cache retention level, retransmission priority flag and abnormal degradation rule.

[0086] The unified point table connects the protocol parsing and standardization module, the data acquisition and scheduling module, the local persistent caching module, and the breakpoint resume control module. Specifically, the protocol parsing and standardization module uses the unified point table to perform field parsing and data conversion; the data acquisition and scheduling module generates acquisition groups and tasks based on the unified point table; the local persistent caching module selects the cache queue and retention strategy based on the unified point table; and the breakpoint resume control module determines the priority of retransmission and the time value of historical data based on the unified point table.

[0087] (4) The acquisition scheduling module connects the point table configuration module and the multi-protocol access module, and is used to divide the acquisition groups and schedule acquisition tasks according to the unified point table. Specifically, the acquisition scheduling module is used to divide a total of no more than 2,000 points into multiple acquisition groups according to the protocol type, physical link, device address, acquisition cycle, historical response delay, acquisition priority and current channel load in the unified point table. Each acquisition group can correspond to the same serial bus, the same IP device, the same IP network segment, the same Profinet site or a group of points with the same acquisition cycle.

[0088] The data acquisition scheduling module generates a task queue for each acquisition group and can execute acquisition tasks using polling, concurrency, batching, or priority scheduling. When the acquisition scheduling module detects that an acquisition group experiences device timeout, response error link interruption, error count exceeding the threshold, or an abnormally high average response latency, it only applies a degradation strategy to that acquisition group. Degradation strategies include extending the acquisition cycle of that group, lowering its acquisition priority, suspending its acquisition, marking its data quality, or moving its tasks to an exception queue. Other acquisition groups continue to execute according to their original time sequence, avoiding the blockage of overall acquisition by a single link or device failure and ensuring the normal operation of other groups, thereby improving the overall robustness of the system.

[0089] (5) The local persistent cache module is located after the protocol parsing and standardization module and before the standard uplink communication module. It adopts a multi-queue mechanism to store unified data objects, including at least a real-time upload queue, a historical retransmission queue and an abnormal verification queue. Combined with non-volatile storage media, it ensures that no data is lost when power is off.

[0090] The real-time upload queue stores data that needs to be uploaded first within the current collection period; the historical retransmission queue stores data that was not uploaded in time due to uplink network abnormalities, unreachable upper-level receivers, or insufficient transmission windows, and adopts a queue structure indexed by timestamps; the abnormal verification queue stores data that has verification abnormalities, inconsistent upload status, suspected missing sequence number ranges, or data that needs manual / system review.

[0091] When standardized data objects are written to the cache, the local persistent cache module determines the queue to which it belongs based on the retransmission priority, cache retention level, quality rules, and data time attributes in the unified point table. Each record is persistently stored on non-volatile storage media and includes at least a composite unique identifier, data value, upload status, number of retries, verification field, queue identifier, and expiration time.

[0092] (6) The breakpoint resume control module connects the local persistent cache module and the standard uplink communication module. It is used to detect the uplink network status, the reachability of the upper-level receiver, the local cache queue level, the historical retransmission backlog, and the current uplink bandwidth estimate. It controls the retransmission process of historical data. Based on the sequence number interval confirmation mechanism, it realizes efficient data retransmission and duplicate data removal, effectively solving the data loss and out-of-order problems caused by network jitter. Specifically:

[0093] When the network is normal, the system prioritizes reading data from the real-time upload queue and extracts historical data from the historical retransmission queue according to a preset window ratio for joint upload. When the network is abnormal or the upper-level receiver is unreachable, the system stops deleting unconfirmed data and controls newly collected data to continue being written to the corresponding cache queue. After the network is restored, the breakpoint resume control module dynamically calculates the real-time data sending window and the historical data retransmission window based on the depth of the real-time upload queue, the depth of the historical retransmission queue, the time range of historical data, the local cache pressure, and the available uplink bandwidth.

[0094] The breakpoint resume control module receives confirmation information from the upper-level receiver. This confirmation information can include confirmation of a single data entry or confirmation of a sequence number range corresponding to a composite unique identifier. Based on the confirmation range, the breakpoint resume control module batch updates the upload status of local records, identifies confirmed duplicate data, unconfirmed missed transmission ranges, and data with abnormal arrival order, and generates new retransmission tasks or anomaly verification tasks based on the identification results.

[0095] (7) The standard uplink communication module connects to the breakpoint resume control module and is used to upload the data in the real-time upload queue and the historical retransmission queue to the upper-level receiving end according to the system's preset standard protocol and standard message format. The standard message includes at least the gateway identifier, device identifier, location identifier, collection timestamp, incrementing sequence number, data value, quality flag, and check field so that the upper-level receiving end can generate sequence number range confirmation information.

[0096] (8) The PLC network layer configuration / debugging channel module and the data acquisition channel are set up in parallel. One side is connected to the computer where the PLC configuration / debugging software is located, and the other side is connected to the industrial control network where the PLC device is located. Logical isolation is achieved through the channel isolation and priority control module. It includes one or more of the following: link detection unit, network bridging / routing unit, port forwarding unit, session maintenance unit, access control unit, and diagnostic log unit;

[0097] The link detection unit detects the original network reachability between the computer hosting the PLC configuration / debugging software and the PLC device before gateway access, and re-detects the network reachability via the gateway after gateway access. The network bridging / routing unit selects Layer 2 bridging, Layer 3 routing, or other network forwarding methods based on the detection results. The port forwarding unit configures forwarding rules according to the communication ports of the PLC debugging software. The session maintenance unit maintains the network session status between the PLC debugging software and the PLC device. The access control unit restricts access to objects based on whitelists, port rules, time windows, or session policies. The diagnostic log unit records pre-test results, policy generation results, and channel anomaly information.

[0098] Before enabling the PLC network layer configuration / debugging channel, the system first confirms that the original network link between the computer hosting the PLC configuration / debugging software and the PLC device is interoperable when no edge gateway is connected. If the original network link is not connected, the system records the cause of the anomaly and prompts for rectification of the network, permissions, firewall, IP address, switch, routing, or PLC software environment. Only after the pre-test meets the conditions will the system generate bridging, routing, port forwarding, or access control policies based on preset templates to ensure the real-time performance of critical business operations.

[0099] (9) The channel isolation and priority control module connects the data acquisition channel and the PLC network layer configuration / debugging channel to establish a logical isolation boundary between the two types of channels. The logical isolation boundary can be implemented through independent physical network ports, VLANs, port isolation, access control lists, session tables, priority queues, or quality of service policies. Specifically: data acquisition services are marked as high priority, and debugging and configuration services are marked as low priority; in resource contention, resources for data acquisition services are prioritized.

[0100] When a sudden surge in communication traffic occurs in the PLC debugging channel, the channel isolation and priority control module limits the bandwidth usage, number of sessions, or forwarding rate of the debugging channel based on the priority of the acquisition task, the depth of the real-time upload queue, the depth of the historical retransmission queue, the number of debugging sessions, and the link load. Alternatively, it may temporarily reduce the historical retransmission window to ensure that critical acquisition tasks and real-time upload tasks are not blocked for an extended period of time.

[0101] (10) Operation monitoring and logging module, which is connected to the multi-protocol access module, protocol parsing and standardization module, point table configuration module, acquisition scheduling module, local persistent cache module, breakpoint resume control module, standard uplink communication module, PLC network layer configuration / debugging channel module and channel isolation and priority control module through internal status bus.

[0102] This module is used to record the operating status of each acquisition group, protocol link status, device response latency, link pre-test results, debugging channel strategy, cache queue level, retransmission window ratio, real-time upload quantity, historical retransmission quantity, duplicate data quantity, missing transmission sequence number range, abnormal records pending verification, and system alarm information, and supports local or remote query.

[0103] Example 2

[0104] This invention also provides a method for multi-protocol data acquisition and debugging isolation, comprising the following specific steps:

[0105] S1: Obtain device access information, including a list of field devices, communication protocol types, network topology, IP addresses, ports, serial port parameters, Profinet device description files, external protocol conversion unit configurations, location table files, network parameters of the computer hosting the PLC configuration / debugging software, and network parameters of the target PLC device. Enter this information into the edge data acquisition gateway to form a device access configuration parameter set.

[0106] S2: PLC Network Layer Pre-testing and Strategy Generation. Before the edge data acquisition gateway is connected to the PLC debugging link, the original network connectivity between the computer hosting the PLC configuration / debugging software and the target PLC device is tested, and the test results are recorded. Subsequently, the edge data acquisition gateway is connected to the link, and the network reachability of the computer hosting the PLC configuration / debugging software to access the target PLC device via the gateway is tested again.

[0107] If the detection results meet the preset conditions, then the system will automatically generate Layer 2 bridging, Layer 3 routing, port forwarding, session maintenance, or access control whitelist policies based on the detected network parameters. If the detection results do not meet the preset conditions, the system will record the abnormal reasons such as the original network being unreachable, IP conflict, port unreachable, firewall blocking, abnormal PLC software permissions, or unreachable routing, and will prohibit or delay the activation of the PLC debugging channel.

[0108] S3: Establish a unified point table model, based on the original description of multi-protocol point locations; the unified point table includes protocol type, device address, IP address, port, serial port parameters, function code or service code, register address, field offset, Profinet slot, sub-slot, I / O offset, data length, data type, byte order, scaling factor, unit, acquisition cycle, acquisition priority, quality rules, buffer retention level, and retransmission priority.

[0109] For Profinet data, a structured I / O mapping record containing slots, sub-slots, I / O offsets, data lengths, data types, and conversion sources is first generated, and then a unified point table field is generated from this I / O mapping record.

[0110] S4: Divide the data collection into groups and generate tasks. Based on the protocol type, physical link, device address, historical response latency, data collection cycle, data collection priority and current channel load in the unified data collection table, divide the total number of data collection points into multiple data collection groups, and generate an independent data collection task queue and anomaly degradation strategy for each data collection group.

[0111] S5: Performs multi-protocol group acquisition. The acquisition scheduling module performs polling, concurrent, or batch acquisition on each acquisition group. For Modbus TCP points, read requests are sent via the Ethernet interface; for RS485 or RS422 link points, corresponding messages are sent or received via the serial interface; for Profinet points, I / O mapping data is obtained through the built-in adapter unit or external protocol conversion unit.

[0112] During the data collection process, if a data collection group experiences a timeout, a response error, an error count exceeding a threshold, or a link interruption, only that data collection group will be subject to policies such as extending the period, reducing priority, pausing data collection, or degrading quality. Other data collection groups will continue to execute the policy.

[0113] S6: Data standardization and composite unique identifier generation. This involves parsing the collected raw data, extracting fields, converting byte order, performing scaling calculations, and determining quality rules to generate a unified data object. For each unified data object, a composite unique identifier is generated, consisting of a device identifier, location identifier, collection timestamp, and an incrementing sequence number, along with the source protocol type, quality flag, and upload status.

[0114] S7: Data is persistently cached in separate queues. Based on data attributes, data is written to a real-time upload queue, a historical retransmission queue, or an anomaly verification queue. Specifically, standardized data is written to a local persistent cache based on the cache retention level, retransmission priority, data time attributes, and quality markers in the unified point table. Data that needs to be uploaded first in the current period is written to the real-time upload queue; data backlogged due to network anomalies or insufficient sending windows is written to the historical retransmission queue; data with verification anomalies, inconsistent states, or suspected missed transmissions is written to the anomaly verification queue. Each record is written to non-volatile storage media, and the number of retries and verification fields are recorded.

[0115] S8: Dual-queue collaborative upload and transmission window allocation prioritizes uploading real-time data and dynamically adjusts the historical retransmission window; specifically, when the uplink network is normal, the breakpoint resume control module reads the real-time queue to be uploaded and prioritizes uploading real-time data. At the same time, it calculates the historical retransmission transmission window based on the historical retransmission queue depth, historical data time range, local cache pressure, and available uplink bandwidth, and extracts the corresponding amount of data from the historical retransmission queue for retransmission.

[0116] When the real-time upload queue depth increases or the uplink bandwidth decreases, the proportion of the historical retransmission window is reduced; when the real-time upload queue is relatively empty and the historical retransmission queue has a large backlog, the proportion of the historical retransmission window is increased. This creates dynamic coordination between real-time upload and historical retransmission.

[0117] S9: Interval Confirmation and Status Update. The local cache status is updated based on the sequence number interval confirmation information returned by the upper-level receiver. Specifically, this includes: after receiving a standard uplink message, the upper-level receiver returns confirmation information based on a composite unique identifier. The confirmation information includes one or more device identifiers, location identifiers, and an incrementing sequence number interval. After receiving the confirmation information, the edge gateway batch-matches local cache records, marks data within the confirmed interval as uploaded, and deletes or compresses and archives it. For sequence number segments that are not consecutive between confirmed intervals, they are marked as missed transmission intervals, and a retransmission task is generated. Data that reappears within a confirmed interval is marked as duplicate data.

[0118] S10: Network Disconnection Detection and Queue Resumption. When an uplink network interruption, unreachable upstream receiver, or continuous upload failures reach a threshold are detected, deletion of unconfirmed data is stopped, and newly collected data continues to be written to the corresponding buffer queue. After the network is restored, the interruption resumption control module re-estimates the uplink bandwidth and queue level, recalculates the real-time upload window and historical retransmission window, and resumes transmission from the earliest unconfirmed data range, while maintaining the timeliness of real-time data uploads.

[0119] S11: Duplicate identification and integrity verification. Based on the composite unique identifier, sequence number interval confirmation, device identifier, and location identifier, the local cache and the confirmation results from the upper-level receiver are compared. For data that reappears within a confirmed interval, it is marked as duplicate data and discarded or archived. For sequence number segments that are not continuous between confirmed intervals, they are marked as missed transmission intervals and a retransmission task is generated. For data whose timestamp order is inconsistent with the sequence number order, it is marked as out-of-order data and enters the abnormal pending verification queue.

[0120] S12: Generate operation logs. The operation monitoring and log module summarizes the status information generated in each step and generates operation logs that include the status of the acquisition group, the status of the protocol link, the connectivity of the PLC debugging channel, the pre-test results, the buffer queue depth, the sending window ratio, the number of retransmissions, the number of duplicate data, the missing sequence number range, and the reason for the anomaly. It also supports querying, exporting, or reporting.

[0121] Example 3

[0122] To facilitate the explanation of specific embodiments of the present invention, the following description uses a multi-protocol device acquisition and PLC debugging isolation application as an example from a general industrial production site. This embodiment is only used to explain the working process of the present invention and does not limit the application industry, equipment brand, communication parameters, or number of points.

[0123] An edge data acquisition gateway is installed in an industrial site to uniformly collect data from field control devices, sensors, instruments, and frequency converters. It also provides engineers with a network layer communication channel for PLC configuration / debugging software to access PLC devices. Field devices include: a first PLC device, a second PLC device, several RS485 instruments, several RS422 serial devices, several Modbus TCP devices, and industrial Ethernet devices connected via Profinet adapters or external protocol converters.

[0124] The first PLC device is connected via Ethernet and supports Modbus TCP data reading; the second PLC device is connected via Profinet network, and its process data is converted into structured I / O mapping records by a built-in Profinet adapter unit or an external protocol conversion unit; RS485 instruments are connected via RS485 interfaces; RS422 serial devices are connected via RS422 interfaces. The edge data acquisition gateway is connected to the upper-level receiver via a standard uplink communication module, and is also connected to the computer containing the PLC configuration / debugging software via the PLC network layer configuration / debugging channel module.

[0125] I. Device Access and Network Layer Pre-testing

[0126] Before the system officially starts collecting data, engineers first import device access information into the edge data acquisition gateway, including device name, protocol type, IP address, port number, serial port parameters, Profinet device description file, I / O mapping relationship, and list of points to be collected.

[0127] For example, the system obtains the following device access information:

[0128]

[0129] Before enabling the PLC network layer configuration / debugging channel, the system first performs a pre-test of the original link. Specifically, when the edge data acquisition gateway is not connected to the debugging link, the system checks the network reachability between the computer hosting the PLC configuration / debugging software and the target PLC device, including IP reachability, port reachability, and communication latency. If the original link is unavailable, the system records the reason for the anomaly, such as IP addresses not being in the same network segment, ports not being open, firewall blocking, or PLC software authorization errors, and prompts the user to complete on-site network rectification first.

[0130] Once the original link detection passes, the edge data acquisition gateway is connected to that link. The system then checks the network reachability of the computer hosting the PLC configuration / debugging software to access the PLC device via the edge gateway, and generates bridging, routing, port forwarding, or access control whitelist policies based on the detection results. For example, when the debugging computer and the PLC device are detected to be on the same network segment, the system prioritizes a Layer 2 bridging policy; when they are detected to be on different network segments, the system generates a Layer 3 routing policy; when the PLC debugging software needs to access a specific communication port, the system generates port forwarding rules and access control rules.

[0131] The above pre-test results, strategy generation results, and reasons for anomalies are all written into the operation monitoring and log module.

[0132] II. Establishment of a Unified Point Table

[0133] After device access is completed, the system establishes a unified point table based on different protocol sources. The unified point table is used not only for protocol parsing, but also for data acquisition scheduling, buffer queue selection, retransmission priority determination, and quality marking.

[0134] For example, a unified point table may include the following fields:

[0135]

[0136] For data from Profinet, the system first generates a structured I / O mapping record. For example, a Profinet point can include: device identifier, slot, sub-slot, I / O offset, data length, data type, conversion source, and engineering configuration identifier. Subsequently, the system converts this I / O mapping record into unified point table fields, thus enabling Profinet data to enter the same acquisition, buffering, and uplink process as Modbus TCP, RS485, and RS422 data.

[0137] III. Data Collection Group Division and Group Data Collection

[0138] The system divides all locations into multiple collection groups based on the protocol type, physical link, device address, historical response latency, collection cycle, and collection priority in the unified point table. For example:

[0139]

[0140] Under normal circumstances, each acquisition group operates according to its own acquisition cycle. If an RS485 slave station in acquisition group B times out consecutively, the acquisition scheduling module only applies a degradation strategy to acquisition group B, such as extending the acquisition cycle, lowering the priority, or suspending the acquisition of that slave station, and marks the data quality of that slave station as "communication abnormal". Acquisition groups A, C, and D continue to execute as originally planned, and the overall acquisition cycle is not blocked due to the abnormality of acquisition group B.

[0141] IV. Data Standardization and Generation of Composite Unique Identifiers

[0142] After each acquisition group collects the raw data, the protocol parsing and standardization module parses it according to the unified point table. For example:

[0143] Modbus TCP bits are parsed according to register address, function code, data type, and byte order; RS485 bits are parsed according to Slave ID, function code, and register address; RS422 bits are parsed according to message start bit, field offset, and data length; Profinet bits are parsed according to slot, sub-slot, I / O offset, and length.

[0144] After parsing, the system generates a unified data object. Each unified data object includes at least the device identifier, location identifier, data value, unit, collection timestamp, source protocol type, quality flag, and upload status. The system also generates a composite unique identifier, which consists of the device identifier, location identifier, collection timestamp, and an incrementing sequence number.

[0145] For example, a standardized data object can be represented as:

[0146]

[0147] The data entry consists of the unique identifier "DEV_A + TEMP_001 + 2026-06-30 10:00:01 + 100001".

[0148] V. Queue-based persistent caching

[0149] After standardized data is generated, the local persistent caching module writes the data into different cache queues according to the cache retention level, retransmission priority, quality rules and data time attributes in the unified point table.

[0150] If the data belongs to the current collection period and has a high priority, it is written to the real-time upload queue; if it is not uploaded due to network abnormalities, insufficient sending window, or unreachable upper-level receiver, it is written to the historical retransmission queue; if there is a CRC check abnormality, discontinuous sequence number range, or inconsistent upload status, it is written to the abnormal verification queue.

[0151] Each cached record is persistently stored on non-volatile storage media, and records a composite unique identifier, upload status, number of retries, verification field, queue to which it belongs, and expiration time.

[0152] VI. Normal Upload and Window Allocation

[0153] When the uplink network is normal, the breakpoint resume control module prioritizes reading data from the real-time upload queue and sends it to the upper-level receiver via the standard uplink communication module. Simultaneously, the system extracts a portion of data from the historical retransmission queue for retransmission based on the historical retransmission queue depth, historical data time range, local buffer pressure, and current uplink bandwidth.

[0154] For example, when the real-time upload queue depth is low, the historical retransmission queue is backed up, and the uplink bandwidth is sufficient, the system can allocate the sending window to "60% for real-time data and 40% for historical retransmission data"; when the real-time upload queue depth increases or the uplink bandwidth decreases, the system will adjust the sending window to "90% for real-time data and 10% for historical retransmission data" to avoid historical retransmission blocking the current real-time data.

[0155] The above window ratio is for illustrative purposes only; the specific ratio can be dynamically adjusted according to system policies.

[0156] VII. Network Interruption and Resumption of Transmission

[0157] When the system detects an uplink network interruption, an unreachable upper-level receiver, or a continuous upload failure reaching a threshold, the breakpoint resume control module stops deleting unconfirmed data and continues to write newly collected data into the real-time upload queue, the historical retransmission queue, or the abnormal verification queue.

[0158] For example, if the upstream receiver is unreachable between 10:00 and 10:30, the system continues to collect data from each collection group during this period and writes the successfully collected data to the local persistent cache. After 10:30, the network recovers, the breakpoint resume control module re-estimates the uplink bandwidth and queue level, reallocates the real-time upload window and historical retransmission window, and starts retransmission from the earliest unconfirmed data range.

[0159] During the retransmission process, the system continues to process the currently collected real-time data. Therefore, the retransmission of historical data after network recovery will not completely occupy the transmission channel, and the current real-time data will not be delayed for an extended period due to the centralized retransmission of historical data.

[0160] 8. Range confirmation, duplicate identification, and integrity verification

[0161] After receiving the standard uplink message, the upstream receiving end returns an acknowledgment message based on the composite unique identifier. The acknowledgment message can be a single acknowledgment or an acknowledgment of a sequence number range.

[0162] For example, the receiving end returns the following confirmation message:

[0163]

[0164] The edge data acquisition gateway updates its local cache status based on the confirmation information. For data that reappears within a confirmed range, the system marks it as duplicate data and discards or archives it; for unconfirmed sequence number ranges such as 100121-100125, the system marks them as missed transmission ranges and generates a retransmission task; for data whose timestamp order is inconsistent with the incremental sequence number order, the system marks it as out-of-order data and puts it into an abnormal pending verification queue.

[0165] Using the above methods, the system can batch update the upload status and identify duplicate, missed, and out-of-order transmissions when multiple devices, multiple locations, and multiple protocols are collecting data concurrently.

[0166] 9. PLC debugging channel and data acquisition channel operate in isolation.

[0167] During the data acquisition process described above, if engineers need to access the PLC device through the PLC configuration / debugging software, the PLC network layer configuration / debugging channel module establishes a debugging channel according to the bridging, routing, port forwarding, and access control policies generated in the pre-test.

[0168] When the PLC debugging software generates sudden communication traffic, the channel isolation and priority control module limits bandwidth, number of sessions, or forwarding rate of the debugging channel based on the priority of the acquisition task, the depth of the real-time upload queue, the depth of the historical retransmission queue, the number of debugging sessions, and the link load. Simultaneously, the system can temporarily reduce the proportion of the historical retransmission window to ensure that critical acquisition tasks and real-time upload tasks are not blocked for extended periods.

[0169] For example, if the system detects an increase in the real-time upload queue depth and an increase in the number of debugging channel sessions during PLC debugging, the system will reduce the historical retransmission window ratio from 40% to 10% and limit the maximum forwarding rate of the debugging channel. After debugging is completed, the system will restore the historical retransmission window ratio, allowing historical cached data to continue to be retransmitted.

[0170] 10. Operation Log Generation

[0171] Throughout the entire process described above, the operation monitoring and logging module continuously records the status information generated at each step. The operation log includes, but is not limited to: the operation status of the acquisition group, the protocol link status, the connectivity of the PLC debugging channel, the pre-test results of the original link, the reachability test results after gateway access, the cache queue depth, the real-time upload window ratio, the historical retransmission window ratio, the number of retransmissions, the number of duplicate data, the missing sequence number range, the number of abnormal data pending verification, and the reasons for the abnormality.

[0172] For example, the runtime log may include the following records:

[0173]

[0174] The operation log can be queried locally, exported, or reported to the upper-level receiving end for use in on-site maintenance, fault review, and data integrity verification.

[0175] As can be seen from this embodiment, the present invention does not simply collect multi-protocol data, nor does it simply retransmit historical data sequentially after network recovery. Instead, within the same edge data acquisition gateway, it achieves coordinated operation of multi-protocol data acquisition, breakpoint resumption, and PLC network layer debugging through unified point tables, isolated scheduling of acquisition groups, persistent caching of multiple queues, dynamic sending windows, confirmation of composite unique identifier intervals, and isolated control of PLC debugging channels.

[0176] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the equivalents of the appended claims.

Claims

1. A multi-protocol data acquisition and debugging isolation system, deployed at an edge data acquisition gateway, characterized in that, It includes a multi-protocol access module, a protocol parsing and standardization module, a point table configuration module, a data acquisition and scheduling module, a local persistent cache module, a breakpoint resume control module, a standard uplink communication module, a PLC network layer configuration / debugging channel module, a channel isolation and priority control module, and an operation monitoring and logging module; The multi-protocol access module is used to connect to field devices and receive raw data or process data; The protocol parsing and standardization module is used to parse data from different protocol sources based on a unified point table and convert it into a unified data object; The point table configuration module is used to store and manage the unified point table; The data acquisition and scheduling module is used to divide data acquisition groups and schedule data acquisition tasks according to a unified point table; The standard uplink communication module is used to encapsulate the unified data object into a standard message and upload it to the upper-level receiving end; The operation monitoring and logging module is used to record the system's operating status and logs; The unified data object includes at least a device identifier, a location identifier, a data value, a collection timestamp, and an incrementing sequence number. The device identifier, location identifier, collection timestamp, and incrementing sequence number are combined to form a composite unique identifier.

2. The multi-protocol data acquisition and debugging isolation system according to claim 1, characterized in that, The data acquisition and scheduling module is used to divide a total of no more than 2,000 data points into multiple data acquisition groups based on the protocol type, physical link, device address, data acquisition cycle, historical response delay, data acquisition priority, and current channel load in the unified data acquisition table. When a data acquisition group experiences a device timeout, response error, or link interruption, the data acquisition scheduling module only executes a degradation strategy for that data acquisition group. The degradation strategy includes extending the data acquisition cycle of that group, reducing the data acquisition priority of that group, or suspending the data acquisition of that group. Other data acquisition groups continue to execute according to their original timing.

3. The multi-protocol data acquisition and debugging isolation system according to claim 2, characterized in that, The local persistent cache module is used to store unified data objects, including a real-time queue to be uploaded, a historical re-upload queue, and an abnormal queue to be verified. The real-time upload queue is used to store data that needs to be uploaded first within the current collection period; The historical retransmission queue is used to store data that was not uploaded in time due to uplink network anomalies, unreachable upper-level receivers, or insufficient transmission windows, and adopts a queue structure indexed by timestamps. The abnormal verification queue is used to store data that has verification errors, inconsistent upload status, suspected missing serial numbers, or data that requires manual / system review.

4. The multi-protocol data acquisition and debugging isolation system according to claim 3, characterized in that, The breakpoint resume control module is used to detect the uplink network status and control the resume process of historical data, specifically: When the network is normal, prioritize reading the data in the real-time upload queue, and extract historical data from the historical re-upload queue according to the preset window ratio for joint upload; When there is a network error or the upper-level receiver is unreachable, stop deleting unconfirmed data and control newly collected data to continue being written to the corresponding buffer queue. The system receives confirmation information returned by the host receiver. The confirmation information includes a sequence number range corresponding to the composite unique identifier. Based on the confirmation range, the system updates the upload status of local records in batches.

5. The multi-protocol data acquisition and debugging isolation system according to claim 4, characterized in that, The PLC network layer configuration / debugging channel module is used to build a debugging channel that communicates directly with field devices, including a link detection unit, a network bridging / routing unit, a port forwarding unit, a session maintenance unit, an access control unit, and a diagnostic log unit; Before being enabled, the PLC network layer configuration / debugging channel module is used to detect the original network connectivity between the computer where the PLC configuration / debugging software is located and the target PLC device. If they are interconnected, a network forwarding strategy is generated; if they are not interconnected, the reason for the abnormality is recorded.

6. The multi-protocol data acquisition and debugging isolation system according to claim 5, characterized in that, The channel isolation and priority control module is used for logical isolation and priority management of the data acquisition channel and the debugging channel, specifically: Mark data acquisition services as high priority and debugging and configuration services as low priority; In resource competition, priority should be given to ensuring resources for data acquisition operations; When a sudden surge in communication traffic occurs in the debugging channel, the bandwidth usage or forwarding rate of the debugging channel is limited based on the priority of the acquisition task and the depth of the buffer queue.

7. A multi-protocol data acquisition and debugging isolation method according to any one of claims 1-6, characterized in that, The specific steps include the following: S1: Obtain device access information and form a set of device access configuration parameters; S2: Perform PLC network layer pre-testing and strategy generation, detect the original network connectivity, and generate debugging channel strategy when the conditions are met; S3: Establish a unified point table model, and establish a unified point table based on the original description of the points in multiple protocols; S4: Divide the data collection groups and generate tasks. Divide the points into multiple data collection groups according to the unified point table. S5: Perform multi-protocol group collection, perform polling or concurrent collection on each collection group, and if a collection group is abnormal, only the degradation strategy is performed on that collection group; S6: Data standardization and composite unique identifier generation, which parses the collected data and generates a composite unique identifier containing an incrementing sequence number; S7: Data is persistently cached in separate queues. Data is written to the real-time upload queue, the historical re-upload queue, or the abnormal verification queue according to the data attributes. S8: Dual-queue collaborative upload and send window allocation prioritizes uploading real-time data and dynamically adjusts historical retransmission windows; S9: Range confirmation and status update, update the local cache status based on the sequence number range confirmation information returned by the upper receiver; S10: Network outage detection and queue continuation; after network recovery, data from the unacknowledged data range is resumed. S11: Duplicate identification and integrity verification. Based on the composite unique identifier, sequence number range confirmation, device identifier and location identifier, the local cache and the confirmation result of the upper-level receiver are compared. S12: Generate runtime logs. The runtime monitoring and logging module summarizes the status information generated in each step and generates runtime logs.

8. The multi-protocol data acquisition and debugging isolation method according to claim 7, characterized in that, In step S7, the data writing rules include: Data that needs to be uploaded first in the current period is written into the real-time upload queue; Data backlogged due to network anomalies or insufficient sending window is written to the historical retransmission queue; Data with verification errors, inconsistent upload status, suspected missing serial number ranges, or inconsistent timestamp order with serial number order is written to the verification queue.

9. The multi-protocol data acquisition and debugging isolation method according to claim 8, characterized in that, Step S9 specifically includes: The upper-level receiving end returns confirmation information based on the composite unique identifier. The confirmation information includes the device identifier, the location identifier, and the incrementing sequence number range. After receiving the confirmation information, the edge gateway performs batch matching of local cache records, marking the data within the confirmed interval as uploaded; for non-contiguous sequence number segments between confirmed intervals, it marks them as missed transmission intervals and generates a retransmission task; for data that appears again within the confirmed interval, it marks them as duplicate data.