Memory mapping association method and system for industrial control bit number attributes

By building independent configuration files and memory mapping mechanisms in the DCS system, the data association problem of large-scale tag extension attributes was solved, enabling efficient, stable, and real-time information display of massive tag numbers, and reducing configuration complexity and system risk.

CN121900840APending Publication Date: 2026-04-21SUPCON TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SUPCON TECH CO LTD
Filing Date
2025-12-25
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Traditional DCS systems face significant configuration workloads and are prone to errors when expanding non-control attributes in a large-scale tag environment, and there are also risks to system stability, making it difficult to achieve multi-dimensional information display of massive tag numbers.

Method used

By constructing an extended attribute configuration file independent of the system database and a specific runtime loading sequence, the memory mapping of extended attributes and system attributes is merged. Logical virtual tag objects are constructed in memory using the data supply module and logical merging unit, supporting unified display on the front-end monitoring screen.

Benefits of technology

It achieves non-intrusive loading and dynamic association of large-scale tag extension attributes, ensuring system stability, reducing configuration complexity, improving data import accuracy and configuration efficiency, and meeting the real-time performance requirements of industrial sites.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121900840A_ABST
    Figure CN121900840A_ABST
Patent Text Reader

Abstract

The invention discloses a memory mapping association method and system for industrial control bit number attributes, and belongs to the technical field of industrial automation. In order to solve the technical problems that when non-control type management attributes are expanded in an existing DCS, the configuration workload is increased in a geometric level, the ten thousand level bit number maintenance cost is extremely high, and the stability of a system database is prone to being interfered, the method comprises the steps that in the configuration stage, a user-defined attribute value and a bit number are associated according to bit number identification information; and an extended attribute configuration file independent of the system bit number database is generated. And in the operation stage, the data supply module loads the configuration file according to a preset time sequence after completing system-level attribute loading and real-time data driving connection, and constructs a mapping image taking a bit number identifier as an index in the memory. And when an access request is responded, the logic merging unit logically aggregates the extension attributes in the mapping image and the system attributes into a logic virtual bit number object, so that the display interaction module can call and dynamically fill the logic virtual bit number object through a uniform interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial automation technology, and in particular to a memory mapping association method and system for industrial control tag attributes. Background Technology

[0002] Distributed control systems (DCS) are the core of automation control in industries such as petroleum, chemical, thermal power, nuclear power, and pharmaceuticals. In a DCS, the tag serves as the unique basic unit identifying equipment or signals, typically possessing system-level attributes predefined by the system, such as tag name, description, range, and alarm limits. With the development of industrial digital transformation, maintenance personnel have increasingly diverse needs for tag information. For example, they may want to be able to directly retrieve technical specifications such as equipment manufacturer, manufacturing date, rated power, and maintenance records from the flowchart monitoring screen.

[0003] However, in traditional DCS system architectures, non-control-related management attributes are often not included in the fixed system tag library. To display such information, conventional techniques typically require engineers to draw and bind corresponding pop-up flowcharts or display components for each device tag during the configuration phase. Chinese patent application publication number CN115665181A discloses a method for easily expandable integrated drivers under the Internet of Things (IoT). While it involves the expansion of device tag attributes, this patent primarily focuses on driver protocol matching and object model binding under the IoT platform. When dealing with large-scale DCS systems with tens of thousands or even more tag numbers, cumbersome manual mapping is still required to achieve attribute association. This approach leads to a geometric increase in configuration workload when handling large-scale tag attribute expansion, and manual configuration is highly prone to errors. It not only makes it difficult to guarantee consistency in large-scale data management but also poses a technical risk of system instability due to modifications to the underlying database. This technical pain point has remained unresolved in the industrial software field. Summary of the Invention

[0004] The purpose of this invention is to provide an extended method and system that can automatically associate large-scale tag management information with system attributes without compromising the underlying stability of the distributed control system database.

[0005] The purpose of this invention is to solve the problem of real-time loading and logical encapsulation of non-control class attribute data in a large-scale tag environment by constructing an extended attribute configuration file independent of the system database and a specific runtime loading sequence.

[0006] The purpose of this invention is to achieve dynamic merging of discrete extended attributes and system native attributes at the memory image level, thereby enabling the front-end monitoring screen to display multi-dimensional information of massive tag numbers through a unified interface and a single set of templates, significantly reducing the redundancy of configuration logic in complex industrial scenarios.

[0007] This invention proposes a memory mapping association method for industrial control tag attributes. The method includes: during the configuration phase, based on the acquired extended attribute names, associating the corresponding attribute values ​​with the tag numbers by matching tag identifier information, and generating an extended attribute configuration file independent of the system tag database; during the runtime phase, after completing system-level attribute loading and real-time data-driven connection according to a preset timing sequence, loading the extended attribute configuration file via a data supply module; constructing a mapping image in memory based on the tag identifiers in the extended attribute configuration file, and responding to attribute access requests for the target tag number through the extended attribute interface, logically merging the associated extended attributes in the mapping image with system attributes. This technical solution, by generating an independent configuration file and runtime memory mapping, achieves non-intrusive loading and dynamic association of large-scale tag extended attributes, ensuring the stability of the system's core database while supporting high-concurrency real-time access.

[0008] Preferably, this method acquires an external technical data file and parses it to obtain the tag name and its corresponding extended attribute value; it matches the parsed tag name with the system tag database to obtain a unique tag identifier; it performs a data consistency check, and after confirming that the tag exists and the extended attribute name meets the uniqueness constraint, it establishes an association between the extended attribute value and the tag identifier. By parsing the external technical data file and automatically matching and verifying it with the system tag database, accurate and batch association between extended attributes and tag numbers is achieved, significantly improving the accuracy of data import and configuration efficiency.

[0009] Preferably, the method further includes: initializing the data supply module; loading the configuration data access module and reading the system-level tag attributes; loading the real-time data access module and establishing a controller connection through the driver program; and initiating the user-defined attribute loading process to read and parse the extended attribute configuration file. By parsing external technical data sheets and automatically matching and verifying them with the system tag library, accurate and batch association between extended attributes and tag numbers is achieved, significantly improving the accuracy of data import and configuration efficiency.

[0010] Preferably, this method reads the extended attribute configuration file from external storage into memory and serializes the attribute values ​​according to preset attribute field aliases. By parsing external technical data sheets and automatically matching and verifying them with the system's tag library, precise and batch association between extended attributes and tag numbers is achieved, significantly improving data import accuracy and configuration efficiency.

[0011] Preferably, this method uses the parsed tag identifier information as an index key to store the corresponding extended attribute group in a high-performance hash table or dictionary structure. When responding to an access request, it directly addresses the corresponding extended attribute group from the hash table or dictionary structure based on the target tag identifier in the request. By parsing external technical data sheets and automatically matching and verifying them with the system tag database, accurate and batch association between extended attributes and tag numbers is achieved, significantly improving data import accuracy and configuration efficiency.

[0012] Preferably, this logical merging includes: the data supply module obtaining the system attribute package of the target tag number, and appending the corresponding extended attribute fields to the end of the system attribute package according to the mapping result to construct a logical virtual tag number object; and sending the logical virtual tag number object to the front-end monitoring screen through a unified extended attribute interface. By parsing external technical data sheets and automatically matching and verifying them with the system tag number library, accurate and batch association between extended attributes and tag numbers is achieved, significantly improving the accuracy of data import and configuration efficiency.

[0013] Preferably, this method pre-configures a public pop-up flowchart without specific tag number binding information. When a display command for any target tag number is triggered, the public pop-up flowchart dynamically obtains the corresponding logical virtual tag number object through the extended attribute interface and populates and displays the system attribute and extended attributes as needed. By parsing external technical data sheets and automatically matching and verifying them with the system tag number library, accurate and batch association between extended attributes and tag numbers is achieved, significantly improving data import accuracy and configuration efficiency.

[0014] This invention proposes a memory-mapped association system for industrial control tag attributes. This system is applied to the aforementioned memory-mapped association method for industrial control tag attributes. The system includes: a configuration module that generates an extended attribute configuration file independent of the system tag database; a data supply module connected to the system tag database, a real-time data driver interface, and the configuration module, loading system tag attributes and real-time data according to a preset timing sequence during runtime; a logical merging unit integrated into the data supply module, constructing a tag mapping image in memory based on the extended attribute configuration file; and a display interaction module connected to the logical merging unit through the extended attribute interface. The system achieves decoupling and separation of responsibilities through modular design, with each module working collaboratively. While ensuring the stability of the system core, it flexibly supports large-scale expansion and efficient access to user-level attributes.

[0015] Preferably, the configuration module includes a consistency verification unit and a persistent serialization unit. The consistency verification unit connects to the system tag database, retrieves the corresponding tag identifier information from the database based on the entered tag name, and performs tag existence and attribute uniqueness checks. The persistent serialization unit connects to the consistency verification unit, and after successful verification, converts the attribute value and the corresponding tag identifier information into a binary encoded stream, and encapsulates it to generate the extended attribute configuration file. The configuration module's built-in consistency verification and serialization mechanisms ensure the integrity and security of the extended attribute data, preventing system anomalies due to configuration errors.

[0016] Preferably, the logical merging unit further includes a virtual object mapper; this virtual object mapper concatenates pointers between system attribute data blocks from the system's tag number database and extended attribute data blocks from the mapped image based on the tag number identifier, generating a logical virtual tag number object with a unified address handle, and exposing this unified address handle to the display interaction module through the extended attribute interface. The configuration module has a built-in consistency check and serialization mechanism to ensure the integrity and security of the extended attribute data, preventing system anomalies due to configuration errors.

[0017] The present invention has the following beneficial effects: 1. Because this invention generates extended attribute configuration files independent of the system-level database, it avoids physical modifications to the DCS core database table structure. This "bypass extension" architecture ensures that during large-scale tag attribute configuration, any anomalies or configuration conflicts in the extended data will not affect the underlying basic control logic and configuration of the system. This greatly reduces the technical risk of system crashes or instability caused by data structure changes, and maintains the core stability of the industrial control system.

[0018] 2. By utilizing the DataProvider's unique preset loading sequence (system-level, real-time, and extended-level sequential mounting) and memory-mapped mechanism, this invention ensures that critical control data has the highest loading priority during the startup or operation of the distributed control system, while massive extended attributes are asynchronously mounted through high-performance indexing logic. This combination of logical sequence and memory mapping solves the I / O bottleneck of heterogeneous data reading in environments with tens of thousands of reference numbers, meeting the stringent performance requirements of real-time retrieval of extended information in industrial settings.

[0019] 3. This invention constructs a "logical virtual tag object," logically encapsulating physically discrete system attributes and extended attributes at the memory level. This encapsulation mechanism enables the front-end monitoring screen to interact with the target tag through a unified attribute handle, achieving dynamic adaptation of a single display template to a massive number of similar devices. This completely eliminates the technical dependence of manually drawing and binding different attribute devices one by one in the traditional configuration mode, significantly optimizing the configuration architecture and maintenance convenience of large-scale engineering projects.

[0020] 4. By utilizing the automatic matching and verification mechanism of identification information during the configuration phase, this invention achieves accurate mapping between user-defined aliases and system-internal unique codes (TagIDs). When processing complex information flows such as manufacturers and rated parameters involved in technical data sheets, this mechanism can automatically avoid the risk of tag number misalignment or attribute overwriting caused by manual entry, ensuring that each extended attribute can be accurately and uniquely assigned to the target tag number in cross-module and cross-level data flow, thereby improving the reliability of industrial management data. Attached Figure Description

[0021] Figure 1 This is a schematic diagram of the method flow of the present invention.

[0022] Figure 2 This is a system module architecture diagram of the present invention. Detailed Implementation

[0023] Example 1 according to Figure 1 As shown, this invention proposes a method for extending user-level DCS tag attributes. This embodiment uses a distributed control system (DCS) of a large chemical plant as a practical application scenario. This system contains tens of thousands of device tag numbers related to pressure, temperature, flow rate, and valve status. In these complex industrial scenarios, in addition to basic control attributes, maintenance personnel often need to manage a large amount of additional equipment asset information. This embodiment aims to demonstrate, through a specific method execution path, how this invention can achieve high-performance, non-destructive integration of massive extended attributes without interfering with the core control logic of the system, utilizing an independent configuration file mechanism and a specific data loading sequence.

[0024] In this embodiment, user-level tag attribute customization and batch association are first achieved through the configuration stage. In the engineering configuration environment of the Distributed Control System (DCS), the newly added user-defined attribute configuration module is started. After the module runs, it first actively scans the existing system tag library to obtain a list of all defined tag numbers and their basic system attributes. Subsequently, based on the user's actual operation and maintenance management needs, aliases for extended attributes are defined in this configuration module. For example, the user can pre-define one of several extended attribute slots as "Manufacturer" and another as "Rated Power," thus giving these attribute slots, which originally only had indexing significance, a clear industrial management meaning. This process provides a standardized logical framework for subsequent data entry.

[0025] After defining the attribute aliases, the crucial data entry and verification process begins. The configuration module provides parallel entry paths, supporting both manual attribute value editing by engineers for specific tag numbers and batch import via parsing external technical data files. When using batch import, the system reads a structured document containing tag names and corresponding extended parameters, such as a spreadsheet or text file. After acquiring this external data, the configuration module calls the consistency verification unit, using the tag name as the association key, to search the system's tag database. Only when the tag name in the external file completely matches an existing tag in the system database will the verification unit obtain the tag's unique identifier within the system—the tag identification information. This matching mechanism ensures that extended attributes are accurately attached to the target tag, avoiding logical errors caused by repetitive manual entry.

[0026] Based on successful verification, the system processes these associated extended attribute information through a persistent serialization unit. Unlike traditional methods that directly modify the system's tag database, this embodiment generates an extended attribute configuration file completely independent of the system's core tag database. This configuration file is encapsulated using an efficient binary encoding format and internally stores the mapping relationship between tag identifier information and various extended attribute values. This independent file generation mechanism decouples the system's core configuration from user-level extended configuration at the architectural level, enabling users to flexibly perform incremental configuration of management information for thousands of devices without compromising system-level database security.

[0027] When a distributed control system enters the operational phase, the DataProvider module assumes the central role of data integration and distribution. During system startup, the DataProvider module first executes the initialization process and strictly follows the preset timing logic for data loading. First, the module initiates the configuration data access process to load basic attributes from the system tag database. Next, it initiates the real-time data access process, establishing a physical connection with the field industrial controllers through a real-time data driver to obtain real-time operating parameters. After ensuring the loading of the aforementioned system-level core data, the DataProvider module finally triggers the asynchronous loading process for the aforementioned extended attribute configuration files. This core-first, then extended timing arrangement logically ensures the priority of system control tasks and also provides a prerequisite for the seamless integration of extended attributes.

[0028] After the extended attribute configuration file is loaded into memory, the logical merging unit begins constructing a high-performance tag mapping image. This image uses the tag identifier information as an index key and stores the extended attribute groups parsed from the individual configuration files in a memory retrieval structure. When the system's display front-end (such as the flowchart monitoring screen) detects an attribute access request for the target tag, the logical merging unit does not simply return the original data, but performs a deep logical merging operation. It first retrieves the system attribute package of the target tag and, based on the index results in the mapping image, merges the corresponding extended attribute data blocks into the attribute package using pointer concatenation or logical appending.

[0029] Through the aforementioned merging process, the system synthesizes a logical virtual tag object with a unified address handle in memory in real time. This object appears externally as a complete entity containing all system and extended attributes, thus deceiving the display interface. Therefore, the front-end display interaction module does not need to be aware of the physical storage source of the underlying data; it only needs to call the pre-configured unified pop-up template to dynamically fill the display content based on the attribute handles in the logical virtual tag object. This interconnected architectural design allows tens of thousands of devices with different attributes to share the same set of dynamic display logic, completely solving the technical difficulties of massive manual drawing and binding in traditional configuration modes, and achieving the high-performance real-time loading and low-complexity configuration sought in the invention.

[0030] All equipment tag information and production parameter data collected in this embodiment are within the authorized scope of the unit to which the industrial control system belongs, and are carried out through a dedicated engineering configuration interface in accordance with data security management regulations and industry compliance conditions, without involving the extraction of any personal sensitive privacy information.

[0031] Example 2 This invention provides a system for extending user-level DCS tag attribute, the physical and logical architecture of which is as follows: Figure 2 As shown, the system first constructs a configuration module, which serves as the configuration source for the entire system. Its input end connects to the system's engineering interface to receive user-defined extended attribute definitions and their corresponding values. Logically, this configuration module maintains a one-way retrieval connection with the system's existing tag database. Through this connection, the configuration module can retrieve the existing tag list and the internal identifiers corresponding to each tag, ensuring that each extended attribute entered by the user can establish a one-to-one relationship with the system's native tag through a specific tag identifier. After completing data entry and association, the configuration module generates and stores an independent extended attribute configuration file through its output end. This configuration file is physically separated from the system-level tag database. This independent modular storage design is crucial for ensuring the stability of the DCS architecture, as it ensures that any addition, deletion, or modification operations on extended attributes will not cause physical damage to the core configuration structure of the system.

[0032] On the system's operational side, the core data processing hub consists of the DataProvider module. This module has multiple data interfaces that establish logical communication with the aforementioned system-level tag database, real-time data-driven interface, and extended attribute configuration files generated by the configuration module. During system startup and operation, the DataProvider module exhibits a high degree of interoperability. Specifically, this module has a pre-defined strict loading sequence logic: it first loads the basic tag framework and static attributes into memory through a connection with the system-level tag database; then, it establishes a communication link with the field controller through the real-time data-driven interface, pumping dynamic process data into the system; finally, after confirming that the basic environment is ready, the DataProvider module automatically triggers read commands for the independent extended attribute configuration files. This time-based interoperability mechanism ensures that the control system does not preempt the computing resources of the core real-time tasks when processing massive amounts of non-control-related extended attributes, thus ensuring the high-performance of the system as industrial control software while achieving functional expansion.

[0033] The core innovation of this system lies in the logical merging unit integrated within the data supply module. This unit is directly connected to the memory buffer of the data supply module and is responsible for deep fusion of data obtained from different sources. Upon receiving the data stream from the extended attribute configuration file, the logical merging unit utilizes its built-in indexing algorithm to construct a high-performance mapping image in memory, using the tag identifier as the key. When the system detects an access request from the display terminal, the logical merging unit does not directly send out the original data packets from each module; instead, it initiates dynamic aggregation. Based on the tag identifier in the request, it simultaneously extracts data fragments from the system-level attribute memory pool and the extended attribute mapping image, and uses pointer cascading technology to merge these data fragments scattered across different memory addresses into a single logical virtual tag object in real time. This process is completely transparent to the front-end application, logically eliminating and shielding the heterogeneity of the data source, enabling the internal data retrieval and object synthesis operations to be completed within an extremely short response time, even when the system faces tag extensions on the order of tens of thousands.

[0034] The system's output consists of a display interaction module, which establishes a data link with the aforementioned logical merging unit through a standard extended attribute interface. The display interaction module is internally configured with a unified pop-up display template. This template does not contain any hard-binding information for specific tag numbers; instead, it interacts with the logical merging unit through attribute handles. This linkage mode greatly demonstrates the advantages of this invention in addressing the pain points of existing technologies: when a user clicks on any device tag number in the flowchart monitoring screen, the display interaction module sends a query command through the interface, and the logical merging unit immediately returns the synthesized logical virtual tag number object. Since this virtual object already encapsulates complete system attributes and user extended attributes, the display interaction module only needs to dynamically fill the data into the template based on the handle in the object for display. This dynamic filling mechanism based on logical virtual objects completely replaces the cumbersome mode of drawing and manually binding screen units for each tag number in traditional technologies. Through this decoupling and linkage design between modules, this system successfully achieves the invention's objective without increasing configuration complexity or sacrificing real-time performance.

[0035] Example 3 In this embodiment, the method and system provided by the present invention are specifically applied to distributed control systems (DCS) in medium and large-scale petrochemical, chemical, nuclear power, and thermal power industries. The system extends the attributes of various tag types, including analog inputs, analog outputs, digital inputs, digital outputs, and function block tag numbers. Unlike system-predefined system-level tag attributes such as tag name, description, range, and alarm limits, this embodiment focuses on implementing user-level tag attributes to carry management information from equipment technical data sheets, including but not limited to manufacturer, manufacturing date, equipment model, serial number, service life, rated voltage, and rated power. The system pre-sets a fixed number of attribute slots for each tag, identified by a specific attribute index name by default. Users can customize unique attribute aliases for these slots according to the actual maintenance needs of the industrial site, thereby establishing an extended attribute system that conforms to the site management logic.

[0036] During the engineering configuration phase, the system operates through a newly added user-defined attribute configuration module. Users first define attribute names in this module, modifying the system's preset index names to names with actual physical meaning. The configuration module ensures the uniqueness of attribute names globally. For setting attribute values ​​for a large number of tag numbers, the configuration module provides flexible configuration methods. On one hand, users can manually edit the attributes of selected tag numbers directly in the configuration interface; on the other hand, for projects with tens of thousands of devices, the configuration module supports batch settings by importing external technical data files (such as spreadsheet files or comma-separated files). After reading the external file, the configuration module automatically executes matching logic, aligning the tag names in the external data with the system's internal tag library, thereby accurately assigning non-control parameters such as manufacturer and power to the corresponding tag numbers. After configuration is complete, the system persists all configuration information, generating a dedicated extended attribute configuration file, which in this embodiment is a specific binary data file. This file is physically independent of the DCS's system-level database, laying the foundation for subsequent non-destructive loading.

[0037] Once operational, the system's core data provider module (DataProvider) initiates a specific data loading process. This process strictly follows four logical steps: First, the data provider module initializes itself, establishing the basic operating environment; second, it loads the configuration data access module (CfgI) to read the system-level tag attribute database file, at which point the system possesses basic tag framework information; third, it loads the real-time data access module (RTDAcc) to establish a physical connection with the field controller through real-time data driving, enabling access to dynamic process data; finally, based on this, the data provider module initiates the user-defined attribute data loading process unique to this invention. In this crucial step, the data provider module reads and parses the previously generated extended attribute configuration file, obtaining the custom attribute alias and attribute value corresponding to each tag. This step-by-step, priority-based loading strategy ensures that the real-time performance of DCS control tasks is not affected by the loading of massive amounts of extended data.

[0038] After the data is mounted, the system utilizes a memory mapping mechanism to address the high-performance query problem during runtime. The data supply module constructs a fast retrieval image in memory based on the unique tag ID. When the DCS front-end monitoring software or flowchart component generates an attribute access request, the data supply module, acting as a unified supply source, synchronously extracts data from the system-level memory pool and the extended attribute memory pool based on the Tag ID in the request. Through logical data merging, the system feeds back a logical entity containing complete system attributes and custom extended attributes to the front end. Because this merging occurs at the memory addressing level and uses the efficient Tag ID as an index, even in an environment managing tens of thousands of tag IDs, millisecond-level attribute response can be achieved, ensuring the smoothness of monitoring screen switching and pop-up.

[0039] Finally, on the application side of the monitoring interface, this embodiment achieves centralized display of information through a unified pop-up template. Engineers no longer need to configure tens of thousands of pop-up flowcharts for each of the ten thousand devices; instead, they only need to configure a single universal pop-up diagram with standard extended attribute interfaces. When an operator clicks on any device tag number in the monitoring screen, this universal template dynamically retrieves the logical entity data corresponding to that tag number from the data supply module through the extended attribute interface. The template is then populated as needed based on the obtained attribute aliases and attribute values, automatically displaying extended information such as the device's manufacturer, model, and rated power on the screen. This technical approach, based on independent configuration file import, DataProvider time-series loading, and dynamic memory mapping, not only avoids interference with the underlying stability of the DCS but also solves the problem of automated association of large-scale tag number management information in industrial scenarios with extremely low configuration costs.

[0040] Specifically, this invention starts with the technical data sheet of the parsing device, uses unique identifiers to establish a connection between external parameters and internal system indexes, and solidifies this connection into a non-destructive, independent binary configuration file. During the operation of the DCS system, through specific timing scheduling embedded in the data supply module, the contents of the aforementioned independent configuration file are logically aligned with the real-time control flow and basic configuration flow in memory space at the pointer level. Finally, by constructing a highly integrated logical virtual identifier object, transparent linkage between the front-end display interface and the underlying multi-source data is achieved, thus completing the complete evolution path from static configuration information to dynamic monitoring logic.

Claims

1. A memory mapping association method for industrial control tag attributes, characterized in that, The method includes: During the configuration phase, based on the acquired extended attribute names, the corresponding attribute values ​​are associated with the tag numbers by matching the tag number identifier information, and an extended attribute configuration file independent of the system tag number database is generated accordingly. During the operation phase, the extended attribute configuration file is loaded by the data supply module after completing the system-level attribute loading and real-time data-driven connection according to a preset time sequence; A mapping image is constructed in memory based on the bit identifier in the extended attribute configuration file, and an attribute access request for the target bit is responded to through the extended attribute interface. The extended attributes associated with the mapping image are logically merged with the system attributes.

2. The memory mapping association method for industrial control tag attributes according to claim 1, characterized in that, The method acquires an external technical data file and parses it to obtain the tag name and the corresponding extended attribute value; The parsed tag name is matched with the system tag database to obtain the unique tag identifier information; Perform data consistency verification. After confirming that the tag number exists and the extended attribute name meets the uniqueness constraint, establish the association between the extended attribute value and the tag number identification information.

3. The memory mapping association method for industrial control tag attributes according to claim 1, characterized in that, The method further includes: Initialize the data supply module; Load the configuration data access module and read the system-level tag attribute; Load the real-time data access module and establish a controller connection through the driver program; Initiate the user-defined attribute loading process, and read and parse the extended attribute configuration file.

4. A memory mapping association method for industrial control tag attributes according to claim 1 or 3, characterized in that, The method reads the extended attribute configuration file from external storage into memory and serializes the attribute values ​​according to preset attribute field aliases.

5. The memory mapping association method for industrial control tag attributes according to claim 1, characterized in that, The method uses the parsed tag identifier information as an index key to store the corresponding extended attribute group in a high-performance hash table or dictionary structure; When responding to an access request, the corresponding extended attribute group is directly addressed from the hash table or dictionary structure based on the target identifier in the request.

6. The memory mapping association method for industrial control tag attributes according to claim 5, characterized in that, The logical merging includes: The data supply module obtains the system attribute package of the target bit number, and appends the corresponding extended attribute fields to the end of the system attribute package according to the mapping result to construct a logical virtual bit number object; The logical virtual tag object is sent to the front-end monitoring screen through a unified extended attribute interface.

7. A memory mapping association method for industrial control tag attributes according to claim 1 or 6, characterized in that, The method pre-configures a public pop-up flowchart without specific tag number binding information; When any target tag number is triggered to display, the common pop-up flowchart dynamically obtains the corresponding logical virtual tag number object through the extended attribute interface, and populates and displays the system attributes and extended attributes as needed.

8. A memory mapping association system for industrial control tag attributes, said system being applied to the memory mapping association method for industrial control tag attributes as described in any one of claims 1 to 7, characterized in that, The system includes: The configuration module generates extended attribute configuration files that are independent of the system tag database; The data supply module is connected to the system tag database, the real-time data driver interface and the configuration module respectively, and loads the system tag attributes and real-time data according to a preset timing sequence during runtime. The logical merging unit is integrated into the data supply module and constructs a bit mapping image in memory based on the extended attribute configuration file; The display interaction module is connected to the logical merging unit through an extended attribute interface.

9. A memory mapping association system for industrial control tag attributes according to claim 8, characterized in that, The configuration module includes a consistency verification unit and a persistent serialization unit; The consistency verification unit is connected to the system tag database. Based on the entered tag name, it retrieves the corresponding tag identifier information in the system tag database and performs tag existence and attribute uniqueness verification. The persistent serialization unit is connected to the consistency verification unit. After the verification is passed, the attribute value and the corresponding bit identifier information are converted into a binary encoded stream and encapsulated to generate the extended attribute configuration file.

10. A memory mapping association system for industrial control tag attributes according to claim 8, characterized in that, The logical merging unit also includes a virtual object mapper; The virtual object mapper concatenates the system attribute data blocks from the system attribute database and the extended attribute data blocks from the mapping image according to the attribute identifier, generates a logical virtual attribute object with a unified address handle, and exposes the unified address handle to the display interaction module through the extended attribute interface.

Citation Information

Patent Citations

  • Method for easily expanding integrated driver under Internet of Things

    CN115665181A