CIM / G-based graph splicing method and system for graph center heterogeneous system

By adopting the CIM/G graph splicing method in the graphics center, problems such as low graphics migration efficiency and chaotic file levels in the existing technology are solved, and rapid migration and integration of graphics files are realized, improving the stability and efficiency of the system.

CN119883156APending Publication Date: 2025-04-25NARI NANJING CONTROL SYSTEM CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411681123.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The existing graphics migration strategy relies on secondary drawing configuration, resulting in huge labor investment, large workload, and difficulty in meeting the needs of rapid development, as well as problems such as confusion in file levels and inconsistent keyword types.

Method used

The graph stitching method based on CIM/G is adopted to realize the rapid migration and integration of graphics files through modules such as graphics verification, graphics classification and integration, the simplest available graphics collection extraction, shared model construction, data analysis and keyword mapping.

Benefits of technology

It realizes the rapidity and efficiency of graphics migration, optimizes the file hierarchy, ensures the consistent graphics hierarchy of heterogeneous systems, improves the efficiency of graphics file updates, and solves problems such as inconsistent encoding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883156A_ABST
    Figure CN119883156A_ABST
Patent Text Reader

Abstract

The invention discloses a graphic center heterogeneous system graphic splicing method based on CIM / G. The method comprises the following steps that a graphic file needing to be migrated of an original system enters a graphic verification module of a graphic center to accept version verification, if verification is passed, graphic splicing is started, and when graphic splicing is started for the first time, a graphic file is classified and integrated in a graphic classification and integration module; generating graphic folder names and primitive folder names which need to be classified according to the graphic files participating in migration, calling a simplest available graphic set extraction module, and generating a simplest available graphic set for splicing according to requirements specified by a user; calling a sharing model module, analyzing a file of the simplest available graph set, and constructing a sharing data file in a form of combining files by combining the analyzed file content; and calling a data analysis module, carrying out anti-analysis on the shared data file to obtain a simplest available graph set of the original system, and updating the simplest available graph set to a target migration system through a keyword mapping module. The graphic file transmission efficiency of the heterogeneous system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a CIM / G-based graphics center heterogeneous system graphics splicing method and system, belonging to the technical field of electric power automation. Background Art

[0002] The graphic splicing technology of the power grid graphic description specification (hereinafter referred to as CIM / G) has become the mainstream means in the current field of graphic integration. With the continuous expansion of the business scenarios of new energy industries and industrial and mining enterprises, more stringent requirements have been put forward on the platform's access capabilities, system stability and security, prompting the emergence of a new generation of platforms. The new platform shows significant changes compared with the original system in terms of design architecture, equipment keyword types, etc. For the new platform, the existing graphic migration strategy mainly relies on secondary drawing configuration of the screen. This method not only requires a lot of manpower investment, but also involves complex screen associations and secondary point-to-point operations. The workload is huge and the efficiency is difficult to meet the needs of rapid development.

[0003] Therefore, how to quickly realize the migration of graphic images between heterogeneous systems, correctly display the device status of graphic images, and present them to operation and maintenance personnel in a clearer graphic structure is still a technical problem that needs to be solved urgently. Summary of the invention

[0004] Purpose of the invention: The present invention aims to provide a heterogeneous system graphic migration system and method based on a graphic center, which solves a series of problems such as long graphic migration time, large number of small files, chaotic file hierarchy, inconsistent keyword types, etc.

[0005] Technical solution: A CIM / G-based graphics center heterogeneous system graphics splicing method, including the following steps:

[0006] The graphic files that need to be migrated from the original system enter the graphic verification module of the graphic center to undergo version verification. If the verification fails, the graphic files are returned to the original system and the error reason is displayed in the front-end interface module;

[0007] If the verification is passed, the graphic stitching is started. When the graphic stitching is started for the first time, the graphic classification and integration module generates the graphic folder name and the graphic element folder name that need to be classified according to the graphic files involved in the migration, and uses the naming rules to represent the functions of different graphics in the system. According to the functions, the related graphics and graphic elements are secondary classified to generate graphic folders and sub-files under the graphic element folders, and the files with the same functions are integrated into the same folder; when the graphic stitching is started again, the graphic classification and integration module updates the contents of the sub-files under the graphic folders and graphic element folders or adds a sub-folder;

[0008] Calling the simplest available graphic set extraction module to generate the simplest available graphic set for splicing according to the requirements specified by the user;

[0009] Call the shared model module, parse the file of the simplest available graphics set, combine the parsed file content, and build a shared data file by merging the files;

[0010] The data parsing module is called to reversely parse the shared data file, reversely parse out the simplest usable graphic set of the original system, and update it to the target migration system through the keyword mapping module.

[0011] Furthermore, the graphics center also includes a primitive migration module for generating a unified primitive file in a heterogeneous system, and exporting the primitive file according to the file type classification of the primitive file, and updating the primitive file to the target migration system.

[0012] Furthermore, the simplest available graphic set extraction module uses the topology map in the graphic file as the root node file of the directory tree based on the received graphic file, takes out the plant station graphic list, background graphic set, and graphic element set from the topology map as child nodes, traverses the content of each file line by line, and generates the simplest available graphic set.

[0013] Furthermore, the shared model module parses the file of the simplest available graphic set, selects the storage format of SequenceFile according to the characteristics of power data, uses the metadata tag as the key and the file content as the value, and merges several small files contained in the simplest available graphic set into a shared data file.

[0014] Furthermore, the shared model module traverses the system plant topology map set, interval module set, background graphic set, graphic element set, and model file in the simplest available graphic set of each graphic file, obtains metadata and file content, and generates a shared data file with metadata as a label and the content corresponding to the metadata as a sequence.

[0015] Furthermore, the data parsing module restores the shared data file to the form of the simplest usable graphic set by reverse parsing the graphic element information of the shared data file. After finding the restored file, the graphic center writes the corresponding graphic file into the history library of the target migration system.

[0016] Furthermore, the keyword mapping module is used to form a mapping relationship between measuring points in a heterogeneous system, and parse and update the measuring point keywords in the graphic file to complete the mutual conversion of measuring points; the measuring points include telemetry and telesignaling data points covered in the graphic interface.

[0017] Furthermore, the keyword mapping module establishes corresponding connections between measurement points of heterogeneous systems, correctly parses the measurement point keywords of the graphic files in the simplest available graphic set corresponding to the measurement point keywords in the target migration system, performs measurement point conversion, and returns the conversion results to the original system.

[0018] A CIM / G-based graphics center heterogeneous system graphics splicing system, the graphics center includes a heterogeneous system graphics splicing system, and the heterogeneous system graphics splicing system includes a front-end interface module and a back-end service module;

[0019] The front-end interface module starts and displays the graphic splicing integration process by calling the back-end service module. The front-end interface module automatically records the graphic splicing process and the returned results, and manages and records the graphic splicing process in real time.

[0020] The back-end service module includes a graphic verification module, a graphic classification and integration module, a minimum available graphic set extraction module, a shared model module, a data parsing module, a keyword mapping module and a graphic element migration module;

[0021] The graphic files that need to be migrated from the original system enter the graphic verification module of the graphic center to undergo version verification. If the verification fails, the graphic files are returned to the original system and the error reason is displayed in the front-end interface module;

[0022] If the verification is passed, the graphic stitching is started. When the graphic stitching is started for the first time, the graphic classification and integration module generates the graphic folder name and the graphic element folder name that need to be classified according to the graphic files involved in the migration, and uses the naming rules to represent the functions of different graphics in the system. According to the functions, the related graphics and graphic elements are secondary classified to generate graphic folders and sub-files under the graphic element folders, and the files with the same functions are integrated into the same folder; when the graphic stitching is started again, the graphic classification and integration module updates the contents of the sub-files under the graphic folders and graphic element folders or adds a sub-folder;

[0023] Calling the simplest available graphic set extraction module to generate the simplest available graphic set for splicing according to the requirements specified by the user;

[0024] Call the shared model module, parse the file of the simplest available graphics set, combine the parsed file content, and build a shared data file by merging the files;

[0025] Call the data parsing module to reversely parse the shared data file, reversely parse out the simplest usable graph set of the original system, and update it to the target migration system through the keyword mapping module;

[0026] The metafile migration module is used to generate unified metafiles in heterogeneous systems, and export metafiles according to their file types, and update them to the target migration system.

[0027] Furthermore, messages of heterogeneous systems are synchronized through a message bus, and files are synchronized through a service bus.

[0028] Beneficial effects: 1. The present invention sets a front-end interface module and a back-end service module, and starts the management of graphic migration and the display of the graphic migration process through the front-end interface module. It can be manually started and triggered to ensure the real-time and efficiency of graphic migration. 2. The graphic center-based graphic migration system provided by the present invention realizes the synchronization of graphic files between heterogeneous systems in the form of a bus, ensuring the real-time and accuracy of the system. 3. The simplest available graphic set provided by the present invention can optimize the file hierarchy, ensure the consistency of the graphic levels of heterogeneous systems, and improve the efficiency of graphic file updates. 4. The shared model construction provided by the present invention merges a large number of small files into a single file, improves transmission efficiency, and solves problems such as inconsistent encoding in heterogeneous systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a system schematic diagram of the present invention;

[0030] Figure 2 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0031] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0032] Example 1

[0033] like Figure 1 As shown, a CIM / G-based graphics application automatic migration system, the system interface includes a front-end interface module and a back-end service module;

[0034] The front-end interface module is used to call the back-end service module to realize the control and display of the graphic classification and integration process, and automatically record the process files, log files, result files and the interaction information between the front-end interface and the back-end modules to realize the graphic file management and historical process record management.

[0035] The back-end service module includes a graphic verification module, a graphic classification and integration module, a simplest available graphic set extraction module, a graphic element migration module, a shared model module, a data analysis module, and a keyword mapping module.

[0036] The graphic verification module is used for the graphic center to automatically perform version verification and inspection on the received graphic files. If the verification fails, the error information of the graphic splicing is returned to the original system.

[0037] The graphic classification and integration module is used to classify and integrate graphic files according to their functions, integrate files of the same type into the same folder, and realize the role of different graphics in the system through naming rules to ensure the consistency of the topology of graphic files in the entire network;

[0038] The simplest available graphic set extraction module is used to extract the minimum set of exported graphic files. Under the premise of ensuring the availability of graphics, it is expanded according to the system diagram specified by the user and the included levels, which greatly simplifies the graphic data files and improves the efficiency of graphic migration. The simplest available graphic set extraction module, the graphics center specifies the system topology diagram according to the graphic files received by the graphics center, traverses the elements in the topology diagram, and extracts the plant station graphic list, background graphic set, and primitive set from the topology diagram; using the extracted topology diagram as the initial file, traverses the contents of each file line by line, and reads the equipment, interval templates and other elements in the plant station diagram.

[0039] The graphic element migration module is used to export graphic element files by category, classify graphic element files according to the type of graphic element, and update them to the new system;

[0040] The shared model module is used to parse the file of the simplest available graphic set and construct a shared data file in combination with the parsed content. While parsing the graphic element set, the interval module set, the background graphic set, the system plant station topology map set, and the model file in sequence, each graphic file is traversed, and metadata and file content are obtained to generate a shared data file with metadata as a label and the content corresponding to the metadata as a sequence.

[0041] The shared model designs the content of metadata tags according to the characteristics of different types of files in the simplest available graphics set, as shown in Table 1.

[0042] File Type Metadata composition System topology diagram *.sys.pic.g File type, file name, storage path, Chinese encoding, version number Plant topology diagram*.fac.pic.g File type, file name, storage path, Chinese encoding, version number Metafile *.icn.g File type, element reference name, version number Bay template *.bay.g File type, interval reference name, version number Background image*.png File type, file name, graphic extension Model File File type, model type, Chinese encoding, modification date

[0043] Table 1

[0044] The data parsing module is used to parse the shared model, and after restoring the shared data file to the state of the minimum available graphic set, the graphic center finds the specified graphic file according to the demand;

[0045] The keyword mapping module is used to reversely analyze the measurement point keywords in the graphic file, establish the corresponding relationship between the measurement points of the heterogeneous systems according to the model splicing, correctly analyze the measurement point keywords corresponding to the migration system, and return the conversion results to the original system.

[0046] The front-end interface module supports starting the graphic integration process manually or by triggering.

[0047] The backend service module completes real-time communication and file transfer between heterogeneous systems in the form of a message bus and a service bus, including synchronization of graphic files, metafiles, log files, process files, result files, etc.

[0048] The graphic classification and integration module needs to extract the file set of corresponding set elements from the original system. The graphic center traverses the original system topology map to extract the factory station graphic list elements, and further traverses the system background map, system graphic elements and interval templates, etc.

[0049] Based on the simplest available graphics set, the graphic element set, interval module set, background graphic set, and system plant topology set are parsed in turn to form a shared model file, the shared model module is called, the label sequence shared file is formed, and sent to the graphics center through the message bus.

[0050] The graphics center uses shared model services to further optimize the minimum graphics set. According to the characteristics of power data, the SequenceFile storage format is selected, with metadata tags as keys and file content as values, to merge several small files contained in the simplest available graphics set into a single large file.

[0051] Data parsing module: The graphics center restores the shared model to the minimum available graphics set based on the shared model file, metadata tags and file content. After finding the restored file, the graphics center writes the graphics file into the migration system history library.

[0052] The keyword mapping module is used to reversely analyze the keyword content in the graphic file, establish the corresponding connection between the measurement points of the heterogeneous systems according to the mapping relationship established by the model splicing module, and return the conversion result to the original system.

[0053] Preferably, the backend service module implements the graph migration between heterogeneous systems in the form of messages, and synchronizes the log files and result files at the same time.

[0054] Preferably, the front-end interface module and the back-end service module communicate via a service bus, and the front-end interface module can manage multiple sub-interfaces, each of which can establish a connection.

[0055] In this embodiment, the front-end interface supports starting the graphic integration process in a trigger start mode or a manual start mode.

[0056] The present invention implements the startup process of the back-end interface through the front-end interface module. The graphics verification module, graphics classification and integration module, simplest available graphics set extraction module, shared model and other modules provided by the back-end interface interact with the front-end interface. The front-end interface records the operation process in real time, saves the process log, and accurately controls each process from the process to ensure that each link is automatically and accurately executed. While ensuring that the original system graphics are available, the number of graphics is greatly simplified, and the classification of graphics is sorted out to facilitate user operation and problem troubleshooting.

[0057] Embodiment 2:

[0058] A CIM / G-based graphics center graphics stitching method, such as Figure 2 As shown, including:

[0059] The graphics center provides a front-end interface module to call the back-end service module to manage the graphics integration process, store graphics files, log records, interact with back-end services, and display the splicing process in real time.

[0060] After the graphics file sent by the original system is detected, the Graphics New Center automatically checks and verifies the graphics version. After verification, the graphics splicing process is started to complete the graphics splicing. Graphic splicing includes graphics classification and integration, extraction of the simplest available graphics set, shared model construction, data analysis services, and keyword mapping. The entire graphics migration process is scheduled by the graphics front-end interface through the bus, and the back-end service module executes in real time and returns the operation results synchronously. After the process is completed, the front-end interface module records all process information to the log management, and provides historical operation browsing for easy problem tracing.

[0061] The specific process is as follows:

[0062] The original system in the heterogeneous system synchronizes CIM / G graphics to the graphics center in the form of messages. The graphics center software automatically performs graphics verification after detecting the graphics that need to be migrated. If the verification is successful, the graphics file is registered in the graphics service; if the verification fails, the verification result is returned to the original system.

[0063] When the graphic stitching system is started for the first time, the graphic classification and integration service generates the graphic folder names and element folder names that need to be classified based on the graphic files involved in the migration, and reclassifies the related graphics and elements according to their functions; when migrating again, the graphic classification and integration service updates the content of the sub-files or adds new sub-folders.

[0064] Combined with the graphic files that need to be migrated, the graphic set that needs to be migrated is generated through the simplest available graphic set extraction module, and a shared model file of graphic splicing is generated. The required graphic element files are updated to the new system through the graphic element migration service.

[0065] The file content of the shared model is restored to the form of the minimum available graphic set through the metadata tags in the shared model, and a mapping set of keywords between heterogeneous systems is established. After the graphic center finds the file that needs to be updated, it writes the graphic file into the history library of the migration system.

[0066] The graphics center converts the keywords of the original system measurement points in the graphics file into the keywords of the new system measurement points through the mapping relationship of the model file, and updates them to the new system synchronously, realizing the complete display of the graphics and completing the whole process of graphics migration.

Claims

1. A CIM / G-based graphics center heterogeneous system graphics splicing method, characterized in that: The following steps are involved: The graphic files that need to be migrated from the original system enter the graphic verification module of the graphic center to undergo version verification. If the verification fails, the graphic files are returned to the original system and the error reason is displayed in the front-end interface module; If the verification is passed, the graphic stitching is started. When the graphic stitching is started for the first time, the graphic classification and integration module generates the graphic folder name and the graphic element folder name that need to be classified according to the graphic files involved in the migration, and uses the naming rules to represent the functions of different graphics in the system. According to the functions, the related graphics and graphic elements are secondary classified to generate graphic folders and sub-files under the graphic element folders, and the files with the same functions are integrated into the same folder; when the graphic stitching is started again, the graphic classification and integration module updates the contents of the sub-files under the graphic folders and graphic element folders or adds a sub-folder; Calling the simplest available graphic set extraction module to generate the simplest available graphic set for splicing according to the requirements specified by the user; Call the shared model module, parse the file of the simplest available graphics set, combine the parsed file content, and build a shared data file by merging the files; The data parsing module is called to reversely parse the shared data file, reversely parse out the simplest usable graphic set of the original system, and update it to the target migration system through the keyword mapping module.

2. The CIM / G-based graphics center heterogeneous system graphics splicing method according to claim 1, characterized in that: The graphics center also includes a metafile migration module, which is used to generate unified metafiles in heterogeneous systems, and export metafiles according to their file types, and update them to the target migration system.

3. The CIM / G-based graphics center heterogeneous system graphics splicing method according to claim 1 is characterized in that: The simplest available graphic set extraction module uses the topology map in the received graphic file as the root node file of the directory tree, takes out the plant station graphic list, background graphic set, and graphic element set from the topology map as child nodes, traverses the content of each file line by line, and generates the simplest available graphic set.

4. The CIM / G-based graphics center heterogeneous system graphics splicing method according to claim 1, characterized in that: The shared model module parses the file of the simplest available graphic set, selects the storage form of SequenceFile according to the characteristics of power data, uses the metadata tag as the key and the file content as the value, and integrates several small files contained in the simplest available graphic set into a shared data file by merging.

5. The CIM / G-based graphics center heterogeneous system graphics splicing method according to claim 4 is characterized in that: The shared model module traverses the system plant topology map set, interval module set, background graphic set, graphic element set, and model file in the simplest available graphic set of each graphic file, obtains metadata and file content, and generates a shared data file with metadata as a label and the content corresponding to the metadata as a sequence.

6. The CIM / G-based graphics center heterogeneous system graphics splicing method according to claim 1, characterized in that: The data analysis module restores the shared data file to the form of the simplest available graphic set by reversely analyzing the graphic element information of the shared data file. After finding the restored file, the graphic center writes the corresponding graphic file into the history library of the target migration system.

7. The CIM / G-based graphics center heterogeneous system graphics splicing method according to claim 1, characterized in that: The keyword mapping module is used to form a mapping relationship between measurement points in a heterogeneous system, and parse and update the measurement point keywords in the graphic file to complete the mutual conversion of measurement points; the measurement points include telemetry and telesignaling data points covered in the graphic interface.

8. The CIM / G-based graphics center heterogeneous system graphics splicing method according to claim 7 is characterized in that: The keyword mapping module establishes corresponding connections between measurement points of heterogeneous systems, correctly parses the measurement point keywords of the graphic files in the simplest available graphic set and the corresponding measurement point keywords in the target migration system, performs measurement point conversion, and returns the conversion results to the original system.

9. A graphics center heterogeneous system graphics splicing system based on CIM / G, characterized in that: The graphics center includes a heterogeneous system graphics splicing system, and the heterogeneous system graphics splicing system includes a front-end interface module and a back-end service module; The front-end interface module starts and displays the graphic splicing integration process by calling the back-end service module. The front-end interface module automatically records the graphic splicing process and the returned results, and manages and records the graphic splicing process in real time. The back-end service module includes a graphic verification module, a graphic classification and integration module, a minimum available graphic set extraction module, a shared model module, a data parsing module, a keyword mapping module and a graphic element migration module; The graphic files that need to be migrated from the original system enter the graphic verification module of the graphic center to undergo version verification. If the verification fails, the graphic files are returned to the original system and the error reason is displayed in the front-end interface module; If the verification is passed, the graphic stitching is started. When the graphic stitching is started for the first time, the graphic classification and integration module generates the graphic folder name and the graphic element folder name that need to be classified according to the graphic files involved in the migration, and uses the naming rules to represent the functions of different graphics in the system. According to the functions, the related graphics and graphic elements are secondary classified to generate graphic folders and sub-files under the graphic element folders, and the files with the same functions are integrated into the same folder; when the graphic stitching is started again, the graphic classification and integration module updates the contents of the sub-files under the graphic folders and graphic element folders or adds a sub-folder; Calling the simplest available graphic set extraction module to generate the simplest available graphic set for splicing according to the requirements specified by the user; Call the shared model module, parse the file of the simplest available graphics set, combine the parsed file content, and build a shared data file by merging the files; Call the data parsing module to reversely parse the shared data file, reversely parse out the simplest usable graph set of the original system, and update it to the target migration system through the keyword mapping module; The metafile migration module is used to generate unified metafiles in heterogeneous systems, and export metafiles according to their file types, and update them to the target migration system.

10. The CIM / G-based graphics center heterogeneous system graphics splicing system according to claim 9, characterized in that: Synchronize messages of heterogeneous systems through the message bus, and synchronize files through the service bus.