A dynamic IP data acquisition method and system based on MA identification resolution and OPC UA
By combining MA edge service and OPC UA cluster, automatic mapping between device identifiers and dynamic IPs is achieved, solving the data acquisition problem in dynamic IP environments, reducing downtime, and improving the accuracy and real-time performance of data acquisition. It is suitable for data acquisition of equipment in production lines that are frequently reconfigured.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-18
- Publication Date
- 2026-04-14
AI Technical Summary
In a dynamic IP environment, traditional fixed IP and device fingerprint binding IP solutions are difficult to adapt to the data collection needs of equipment that are frequently reorganized in production lines, resulting in increased downtime and unclear data sources, and failing to meet the needs of real-time and accurate industrial data collection.
The MA (Multi-Agent) edge service assigns a unique identifier to each device, uses the Agent program on a USB flash drive to record device parameter information, and combines an OPC UA cluster as a message bus to achieve automatic mapping and data collection between device identifiers and dynamic IPs. An efficient identification edge server is deployed for data transmission and resolution.
It reduces production line downtime for adjustments, improves the accuracy and real-time performance of data acquisition, and adapts to the high-efficiency data acquisition requirements in a dynamic IP environment.
Smart Images

Figure CN121255564B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of industrial internet technology and relates to a method and system for dynamic IP data collection based on MA identifier resolution and OPC UA. Background Technology
[0002] MA is a coding system in the international standard ISO 15459. MA identifier resolution is an important means for the current industrial internet to manage the hierarchical classification of resource objects and locate resource addresses.
[0003] OPC UA is an open platform communication unified architecture, a communication protocol used in the field of industrial automation. It can bridge different industrial protocols, such as Modbus and Profinet, to achieve seamless data integration.
[0004] Dynamic IP refers to the IP address of a network device being dynamically assigned as a connection is established.
[0005] SCADA systems are data acquisition and monitoring systems that are widely used in the field of industrial automation.
[0006] With the development of industrial internet technology and industry, artificial intelligence technology, represented by large-scale models, has made breakthrough progress. Large-scale artificial intelligence models and small-scale industry application models are rapidly penetrating the industrial field. Digital and intelligent transformation has become an important tool for the high-quality development of manufacturing. How to efficiently collect and aggregate high-quality industrial data resources is an important aspect of this.
[0007] In the field of industrial automation, data acquisition is fundamental to production process monitoring and optimization. Traditional data acquisition solutions rely on fixed IP addresses. However, in scenarios like mobile phone manufacturing where production lines frequently need to be reconfigured, device IPs change during reconfiguration, leading to an increasing demand for data acquisition in dynamic IP environments. Current technologies employ fixed IP solutions for devices (PLCs), assigning each device a unique fixed IP address to ensure its unique identification and stable communication within the network. This facilitates real-time data acquisition and monitoring by SCADA systems. However, when the production line is adjusted or equipment is moved, IP addresses need to be reconfigured, increasing manual intervention and downtime, making it difficult to adapt to the needs of dynamic deployments and mobile devices. Researchers have also proposed a device fingerprint-based IP binding solution. By assigning each device a unique device fingerprint and binding it to a dynamic IP address, this achieves unique identification and automatic recognition of devices in dynamic IP environments.
[0008] Regarding the two production line equipment data acquisition solutions mentioned above, the fixed IP solution requires reconfiguration of IP addresses when the production line is adjusted or equipment is moved, increasing manual intervention and downtime, making it difficult to adapt to the needs of dynamic deployment and mobile devices. The device fingerprint-based IP binding solution relies on a centralized database and cloud storage for device fingerprints and dynamic IP addresses, posing a single point of failure risk and failing to respond promptly to end-side needs arising from production line adjustments. Therefore, neither of these solutions can achieve efficient and accurate production line equipment data acquisition in a dynamic IP environment, and they cannot fully meet the needs of manufacturing scenarios requiring frequent production line reconfiguration.
[0009] In traditional technical solutions, production line reorganization leads to a significant increase in IP conflict rates, requiring manual network reconfiguration. Traditional dynamic IP management relies on manual verification and DNS updates, with each adjustment causing several hours of downtime for production line equipment on average. Moreover, the OPCUA protocol's native addressing relies on static network configuration, making it difficult to adapt to dynamic IP environments. Without IP reconfiguration, the lack of an automatic association mechanism between device physical identifiers and dynamic IPs leads to uncertainty about which devices the collected data belongs to, thus failing to meet the real-time and accurate data collection needs of industrial applications. Summary of the Invention
[0010] To address the problems existing in the prior art, the present invention aims to provide a dynamic IP data acquisition method and system based on MA identifier resolution and OPC UA. This invention utilizes MA identifier edge services to assign unique identifiers to devices, records device parameter information and the mapping relationship between device identifiers and dynamic IPs through an Agent program on a USB flash drive, and then uses an OPC UA cluster as a message bus to transmit and aggregate the acquired data, achieving efficient and accurate data acquisition in a dynamic IP environment. The combination of MA identifiers and OPC UA not only solves the challenges of data acquisition in a dynamic IP environment and data integration under various industrial protocols, but also makes the system flexible, reliable, and highly efficient, especially suitable for data acquisition in dynamic IP environments of mobile phone manufacturing equipment (such as pick-and-place machines) that require frequent production line reconfiguration.
[0011] This invention assigns a unique identifier to each device by establishing an MA (Multi-Level Identity) edge service and sets the identifier to the Agent program on a USB flash drive. When the device starts up, the identifier mapping program automatically executes to register the mapping relationship between the device identifier and the dynamic IP address with the MA edge service. The built-in driver in the SCADA system uses the IP address list to query and collect the collected data, and uses the OPC UA cluster as a message bus to transmit the collected data.
[0012] The technical solution of this invention is as follows:
[0013] A dynamic IP data collection method based on MA identifier resolution and OPC UA, comprising the following steps:
[0014] 1) Configure a USB flash drive for each selected device, install an SAgent monitoring program and an Agent program on the USB flash drive, and embed the device information of the corresponding device in the Agent program;
[0015] 2) The Agent program sends the built-in device information to the Identification Edge Server for registration; the Identification Edge Server assigns a unique MA identifier to the device based on the device's registration information and sends it to the Agent program;
[0016] 3) Connect the USB flash drive configured for the device to the device. When the device starts up, obtain the dynamic IP assigned to the device by the network through the Agent program, then establish the mapping relationship between the device's MA identifier and the dynamic IP and send it to the identifier edge server;
[0017] 4) The SAgent listening program collects the device's MA identifier information, parameter information, and resource data, generates the device's token data, and sends it to the SCADA system's content distribution server;
[0018] 5) The SCADA system performs real-time parsing of the token data, queries the dynamic IP list corresponding to the device in the identifier edge server according to the parsed MA identifier of the device, and aggregates the token data of the device according to the device based on the dynamic IP list to form SCADA high availability data.
[0019] Preferably, the content distribution server and the database use an OPC UA cluster as a message bus for data transmission.
[0020] Preferably, the identification edge server generates a unique MA identifier for the device based on the device's hardware information.
[0021] Preferably, the hardware information is a MAC address.
[0022] Preferably, the Agent program obtains the dynamic IP address of the device via the DHCP protocol.
[0023] A dynamic IP data acquisition system based on MA identifier resolution and OPC UA is characterized by comprising several devices, an identifier edge server, and a SCADA system; wherein each device is configured with a USB flash drive, and an SAgent listening program and an Agent program are installed on the USB flash drive;
[0024] The Agent program is used to embed device information of the device and register with the identification edge server; and when the device starts up, it obtains the dynamic IP assigned to the device by the network, then establishes a mapping relationship between the device's MA identifier and the dynamic IP and sends it to the identification edge server.
[0025] The SAgent listening program is used to collect the device's MA identification information, parameter information, and resource data, generate the device's token data, and send it to the SCADA system's content distribution server.
[0026] The identification edge server is used to assign a unique MA identifier to the device based on the device's registration information and send it to the Agent program;
[0027] The SCADA system is used to parse the token data in real time, query the dynamic IP list corresponding to the device in the identifier edge server according to the parsed device MA identifier, and then collect the device token data according to the device based on the dynamic IP list to form SCADA high availability data.
[0028] This invention achieves its technical objectives primarily through the following innovative technological approaches:
[0029] ①MA Identifier Registration and Dynamic IP Binding: Deploy MA identifier edge service on the production line side, assign a unique MA identifier to each device, and write the device identifier into the USB Agent program; when the device starts up, the USB Agent automatically binds the device MA identifier with the dynamic IP address and uploads this mapping relationship to the identifier edge server.
[0030] ② Deploy a high-efficiency identification edge server: The identification edge server provides identification registration, identification resolution, and identification mapping management services. The identification registration service assigns a unique MA identifier to each device and registers basic device information such as device category and name. The identification resolution service allows the resolution of device category, name, and other information based on the device identifier. The identification mapping management service manages the mapping relationship between device identifiers and dynamic IPs. Deployed at the edge of the production line, it provides high-efficiency identification services.
[0031] ③ SCADA System Data Acquisition: According to the production line data acquisition plan, the SCADA system continuously receives the collected equipment identification information, parameter information, and collected data sent by SAgent in the form of tokens to the content distribution server for forwarding. The system parses the data through the built-in driver, sends query requests to the identification edge server to obtain the dynamic IP address sequence corresponding to different devices, parses the received data according to the dynamic IP address sequence, and distributes and stores it to different databases through the OPC UA bus, thus completing the data acquisition.
[0032] The advantages of this invention are as follows:
[0033] Reduce downtime: By automatically managing and resolving dynamic IPs, the time required for manual reconfiguration of equipment information under dynamic IPs is reduced, thus lowering downtime for industrial production line adjustments.
[0034] Improve data collection accuracy: By binding device identifiers with dynamic IPs, the accurate identification of data sources is ensured, thereby improving the accuracy and reliability of data collection.
[0035] Improve real-time performance: By deploying identification services to the edge and continuously optimizing the dynamic IP update mechanism for devices, the real-time performance of data acquisition is ensured to meet the needs of industrial automation. Attached Figure Description
[0036] Figure 1 This is a flowchart of the present invention.
[0037] Figure 2 Flowchart for Agent development, deployment, and MA identifier registration.
[0038] Figure 3 This is a flowchart of the data acquisition process for a SCADA system. Detailed Implementation
[0039] The present invention will now be described in further detail with reference to the accompanying drawings. The examples given are only for explaining the present invention and are not intended to limit the scope of the present invention.
[0040] This invention proposes a method and system for dynamic IP data acquisition of mobile manufacturing equipment based on MA identifier resolution and OPC UA. The system is developed based on MA identifier registration and dynamic IP binding, efficient identifier edge server deployment, and SCADA system data acquisition based on OPC UA integrated bus. This invention will provide a data acquisition solution for PC-based equipment in industrial production lines that adapts to dynamic IP.
[0041] (1) The main process of this invention patent is as follows Figure 1 As shown.
[0042] Complete process introduction:
[0043] ① Install the SAgent monitoring program. On the factory side, for PC-based data acquisition devices, a localized batch data acquisition SAgent monitoring program is installed.
[0044] ② Create and initialize the Agent.exe program. The Agent.exe program is created, and during its initialization process, device parameter information is set. This process calls the Identification Edge Server to register the device's identifier and obtain its unique MA identifier. An executable program is also built-in. After obtaining the dynamic IP address assigned to the device by the network, a mapping relationship between the device identifier and the dynamic IP address is established and sent to the Identification Edge Server, thus completing the Agent.exe program initialization.
[0045] ③ The SAgent monitoring program collects data and Agent.exe starts and executes. When the device starts up, SAgent obtains the initialization information of Agent.exe from the USB drive. After obtaining the dynamic IP information when the device starts up, Agent.exe automatically executes a program to register the device identifier and dynamic IP mapping relationship with the identification edge server. SAgent sends the collected device identifier information, parameter information, and collected data to the SCADA system's content distribution server in the form of a token;
[0046] ④ Built-in driver data parsing in the SCADA system. The built-in driver performs real-time parsing of the token. During this process, based on the device identifier parsed from the token, it is sent to the identification edge server to query the dynamic IP list corresponding to the device. Based on this dynamic IP list, the collected data is adjusted according to the device object identifier to ensure that the collected data is aggregated according to the device object to form highly available device collection data;
[0047] ⑤ Nginx server distributes data. In the method of this invention, an Nginx server is used to distribute the collected data based on the data object parsed and aggregated by the built-in driver in the previous step, thereby improving the efficiency of data collection and transmission;
[0048] ⑥ Data Acquisition and Storage. Based on the highly available data distributed by the Nginx server in the previous step, this step uses an OPC UA cluster as a message bus. Leveraging OPC UA's bridging capabilities for various industrial protocols, seamless integration of data from different protocols is achieved, thereby enabling the categorized storage of acquired data and completing the entire equipment data acquisition process.
[0049] (2) Key process of this invention patent 1: Agent development and deployment and MA identifier registration process
[0050] The Agent development, deployment, and MA identifier registration process is as follows: Figure 2 As shown.
[0051] ① Agent.exe Development and Deployment. Develop the Agent.exe program and create a USB drive containing it;
[0052] ②Agent.exe initialization. During the Agent initialization device information phase, the program sets device parameter information, identifies the edge server to generate a unique MA identifier based on the device hardware information (such as MAC address), and automatically registers the executable program by building a mapping relationship between the device identifier and dynamic IP, thus completing the Agent.exe program initialization;
[0053] ③ Dynamic IP address acquisition. After the production equipment is powered on, the USB agent program runs and obtains a dynamic IP address for this operation via the DHCP protocol;
[0054] ④ Device Identifier and IP Binding. Based on the dynamic IP address obtained in the previous step, the Agent.exe program starts the executable program that registers the mapping relationship between the device identifier and the dynamic IP address, binds the device's MA identifier to the obtained dynamic IP address, and uploads it to the identification edge server.
[0055] (3) Key process of this invention patent 2: SCADA system data acquisition process
[0056] SCADA system data acquisition process as follows Figure 3 As shown.
[0057] ①SAgent driver installation. The SCADA system ensures the monitoring and execution of relevant programs during data acquisition by installing the SAgent driver.
[0058] ② Initial data acquisition integration. After the production equipment is powered on, SAgent obtains Agent initialization information and data acquisition information, and converts the data into token format;
[0059] ③SCADA Data Parsing. SAgent forwards the collected data token to the SCADA system, and uses the SCADA built-in driver to parse the token in real time to obtain device information, collected information, and device identifier;
[0060] ④ Data Collection and Aggregation. The SCADA system queries the identification edge server for the dynamic IP address corresponding to the device identifier, collects device data through the dynamic IP address to achieve accurate data source identification, and then aggregates the collected data according to the device object;
[0061] ⑤ Data Collection and Storage. Based on the data collected in the previous step, an Nginx server is used to distribute the data, improving the overall efficiency of the SCADA system. An OPC UA cluster is used as a message bus to integrate the collected data and transmit it to the corresponding storage service.
[0062] In this invention, a fundamental process is essential: Based on the Industrial Internet Identifier Resolution Service, this patent establishes a mapping relationship between device identifiers and dynamic IP addresses within the production line by assigning unique identifiers to devices. This enables PC-based data acquisition devices to accurately and completely collect device data under dynamic IP environments. During this process, the Agent.exe service created on the USB drive needs to call the identifier registration service to register device information and device identifiers. Additionally, a built-in automatic executable program for "Device Identifier and Dynamic IP" registration is required. Only after these two services are completed can the SCADA system, during subsequent data acquisition, query the list of dynamic IP addresses associated with the devices through the identifier edge service, thereby accurately aggregating the collected data corresponding to the devices.
[0063] Although specific embodiments of the invention have been disclosed for illustrative purposes to aid in understanding and implementing the invention, those skilled in the art will understand that various substitutions, variations, and modifications are possible without departing from the spirit and scope of the invention and the appended claims. Therefore, the invention should not be limited to the content disclosed in the preferred embodiments, and the scope of protection claimed by the invention is defined by the claims.
Claims
1. A method for dynamic IP data collection based on MA identifier resolution and OPC UA, comprising the following steps: 1) Configure a USB flash drive for each selected device, install an SAgent monitoring program and an Agent program on the USB flash drive, and embed the device information of the corresponding device in the Agent program; 2) The Agent program sends the built-in device information to the Identification Edge Server for registration; the Identification Edge Server assigns a unique MA identifier to the device based on the device's registration information and sends it to the Agent program; 3) Connect the USB flash drive configured for the device to the device. When the device starts up, obtain the dynamic IP assigned to the device by the network through the Agent program, then establish the mapping relationship between the device's MA identifier and the dynamic IP and send it to the identifier edge server; 4) The SAgent listening program collects the device's MA identifier information, parameter information, and resource data, generates the device's token data, and sends it to the SCADA system's content distribution server; 5) The SCADA system performs real-time parsing of the token data, queries the dynamic IP list corresponding to the device in the identifier edge server according to the parsed MA identifier of the device, and aggregates the token data of the device according to the device based on the dynamic IP list to form SCADA high availability data.
2. The method according to claim 1, characterized in that, The SCADA system uses an OPC UA cluster as a message bus for data transmission between its content distribution server and database.
3. The method according to claim 1 or 2, characterized in that, The identification edge server generates a unique MA identifier for the device based on its hardware information.
4. The method according to claim 3, characterized in that, The hardware information is the MAC address.
5. The method according to claim 1 or 2, characterized in that, The Agent program obtains the dynamic IP address of the device via the DHCP protocol.
6. A dynamic IP data acquisition system based on MA identifier resolution and OPC UA, characterized in that, It includes several devices, an identification edge server, and a SCADA system; wherein each device is configured with a USB flash drive, and the USB flash drive is installed with an SAgent listening program and an Agent program; The Agent program is used to embed device information of the device and register with the identification edge server; and when the device starts up, it obtains the dynamic IP assigned to the device by the network, then establishes a mapping relationship between the device's MA identifier and the dynamic IP and sends it to the identification edge server. The SAgent listening program is used to collect the device's MA identification information, parameter information, and resource data, generate the device's token data, and send it to the SCADA system's content distribution server. The identification edge server is used to assign a unique MA identifier to the device based on the device's registration information and send it to the Agent program; The SCADA system is used to parse the token data in real time, query the dynamic IP list corresponding to the device in the identifier edge server according to the parsed device MA identifier, and then collect the device token data according to the device based on the dynamic IP list to form SCADA high availability data.
7. The system according to claim 6, characterized in that, The content delivery server and the database use an OPC UA cluster as a message bus for data transmission.
8. The system according to claim 7 or 6, characterized in that, The identification edge server generates a unique MA identifier for the device based on its hardware information.
9. The system according to claim 8, characterized in that, The hardware information is the MAC address.
10. The system according to claim 6 or 7, characterized in that, The Agent program obtains the dynamic IP address of the device via the DHCP protocol.
Citation Information
Patent Citations
Information acquisition system and information acquisition method based on heterogeneous network
CN107295119A
Dynamic and static decoupling labeled data acquisition method for airplane docking process
CN120631961A