A method, apparatus, computer storage medium, and terminal for system upgrade
By writing the configuration data of the DCS software into the database in a preset format and integrating the algorithm configuration sub-components according to the protocol of the second software, the problem of inconsistent data transmission protocols in DCS software upgrades is solved, and the smooth upgrade of DCS software is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING HELISHI CONTROL TECH CO LTD
- Filing Date
- 2025-09-15
- Publication Date
- 2026-05-05
AI Technical Summary
During the upgrade of distributed control system (DCS) software, the change in the data transmission protocol between the algorithm configuration subcomponent and the engineering management subcomponent makes the upgrade difficult. In particular, when the data transmission protocols between different manufacturers or different versions are inconsistent, it is difficult to continue using the algorithm configuration subcomponent.
The configuration data of the first software is written into a pre-built database according to a preset format. Based on the configuration data in the database and the data transmission protocol of the second software, an algorithm configuration sub-component is integrated into the second software. The problem of inconsistent data transmission protocols is solved by using the unified format of the database.
This approach avoids upgrade difficulties caused by inconsistent data transmission protocols during DCS software upgrades, ensures the smooth integration of algorithm configuration sub-components, and simplifies the DCS software upgrade process.
Smart Images

Figure CN121166159B_ABST
Abstract
Description
Technical Field
[0001] This article relates to distributed technologies, particularly a method, apparatus, computer storage medium, and terminal for system upgrades. Background Technology
[0002] The offline configuration function of distributed control system (DCS) software generally consists of multiple sub-components responsible for handling different tasks, typically including engineering management sub-components, graphical editing sub-components, and algorithm configuration sub-components. Among them, the algorithm configuration sub-component is relatively independent in function, but it shares and transmits engineering information, station information, equipment information, and point information with the engineering management sub-component.
[0003] To meet ever-changing market demands, different manufacturers, and even the same manufacturer, will upgrade their DCS software, either partially or completely. In some cases, the DCS upgrade process may reuse the algorithm configuration sub-components from the previous DCS software. When the data transfer protocol between the algorithm configuration sub-components and the engineering management sub-components remains unchanged before and after the upgrade, only some adaptive modifications are needed to reuse the algorithm configuration sub-components in the new DCS software. However, when the data transfer protocol between the algorithm configuration sub-components and the engineering management sub-components changes during the upgrade process, it becomes difficult to reuse the algorithm configuration sub-components in the upgraded DCS software because these protocols are usually proprietary, meaning different manufacturers use their own data transfer protocols in their designs. Furthermore, when different versions of DCS software from the same manufacturer use different data transfer protocols, it also makes it difficult to reuse the algorithm configuration sub-components.
[0004] In summary, how to reduce the difficulty of upgrading DCS software when data transmission protocols change has become an issue that needs to be addressed. Summary of the Invention
[0005] This application provides a method for system upgrade, including:
[0006] The configuration data of the first software is written into a pre-built database according to a preset format;
[0007] Based on the configuration data in the database and the data transmission protocol of the second software, the algorithm configuration sub-component is integrated into the second software;
[0008] The first software includes the pre-upgraded Distributed Control System (DCS) software, and the second software includes the upgraded DCS software. The data transmission protocols of the engineering management subcomponent and the algorithm configuration subcomponent of the first and second software are different. The configuration data includes the engineering information of the engineering management subcomponent and the algorithm configuration subcomponent of the first software.
[0009] On the other hand, embodiments of this application also provide a computer storage medium storing a computer program, which, when executed by a processor, implements the above-described system upgrade method.
[0010] Furthermore, embodiments of this application also provide a terminal, including: a memory and a processor, wherein the memory stores a computer program; wherein,
[0011] The processor is configured to execute computer programs in memory;
[0012] When the computer program is executed by the processor, it implements the system upgrade method described above.
[0013] Furthermore, embodiments of this application also provide a system upgrade apparatus, comprising: a configuration data processing unit and an integrated processing unit; wherein,
[0014] The configuration data processing unit is configured to write the configuration data of the first software into a pre-built database according to a preset format.
[0015] The integrated processing unit is configured to integrate the algorithm configuration sub-component in the second software according to the configuration data in the database and the data transmission protocol of the second software.
[0016] The first software includes the pre-upgraded Distributed Control System (DCS) software, and the second software includes the upgraded DCS software. The data transmission protocols of the engineering management subcomponent and the algorithm configuration subcomponent of the first and second software are different. The configuration data includes the engineering information of the engineering management subcomponent and the algorithm configuration subcomponent of the first software.
[0017] In this embodiment, the configuration data of the first software is written into a pre-built database, and the configuration data of the first software is stored in a conventional format specified by the database. When a DCS upgrade is required, the configuration data in the conventional format in the configuration database is read, and the algorithm configuration sub-component is integrated into the second software according to the data transmission protocol of the second software. This avoids the problem of DCS upgrade difficulties caused by the inconsistency of the data transmission protocol between the algorithm configuration sub-component and the engineering management sub-component, and the change of the data transmission protocol during the upgrade process, thus realizing the upgrade processing of DCS software.
[0018] Other features and advantages of this application will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the application. Other advantages of this application can be realized and obtained by means of the solutions described in the description and the accompanying drawings. Attached Figure Description
[0019] The accompanying drawings are used to provide an understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.
[0020] Figure 1 This is a flowchart of a system upgrade method according to an embodiment of the present disclosure;
[0021] Figure 2 This is a schematic diagram illustrating configuration data reading according to an embodiment of this disclosure;
[0022] Figure 3 This is a structural block diagram of a system upgrade apparatus according to an embodiment of the present disclosure. Detailed Implementation
[0023] This application describes several embodiments, but these descriptions are exemplary and not restrictive, and it will be apparent to those skilled in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with, or may replace, any feature or element of any other embodiment.
[0024] This application includes and contemplates combinations of features and elements known to those skilled in the art. The embodiments, features, and elements disclosed in this application can also be combined with any conventional features or elements to form unique inventive solutions. Any feature or element of any embodiment can also be combined with features or elements from other inventive solutions to form another unique inventive solution. Therefore, it should be understood that any feature shown and / or discussed in this application can be implemented individually or in any suitable combination. Therefore, the embodiments are not limited except by the limitations imposed by the appended claims and their equivalents. Furthermore, various modifications and changes can be made within the scope of the appended claims.
[0025] Furthermore, in describing representative embodiments, the specification may have presented methods and / or processes as a specific sequence of steps. However, the method or process should not be limited to the specific order of steps described herein, to the extent that it does not depend on such a specific order. As will be understood by those skilled in the art, other sequences of steps are also possible. Therefore, the specific order of steps set forth in the specification should not be construed as a limitation of the claims. Moreover, the claims concerning the method and / or process should not be limited to the steps performed in the written order, and those skilled in the art will readily understand that these orders can be varied and still remain within the spirit and scope of the embodiments of this application.
[0026] Figure 1 This is a flowchart of a system upgrade method according to an embodiment of the present disclosure, such as... Figure 1 As shown, it includes:
[0027] Step 101: Write the configuration data of the first software into the pre-built database according to the preset format;
[0028] Step 102: Based on the configuration data in the database and the data transmission protocol of the second software, integrate the algorithm configuration sub-component into the second software;
[0029] The first software includes the pre-upgraded Distributed Control System (DCS) software, and the second software includes the upgraded DCS software. The data transmission protocols of the engineering management subcomponent and the algorithm configuration subcomponent of the first and second software are different. The configuration data includes the engineering information of the engineering management subcomponent and the algorithm configuration subcomponent of the first software.
[0030] In this embodiment, the configuration data of the first software is written into a pre-built database. The configuration data of the first software is stored in a conventional format specified by the database. The first software and the second software can read data in the same format. When a DCS upgrade is required, the algorithm configuration sub-component is integrated into the second software according to the data transmission protocol of the second software by reading the configuration data in the conventional format of the configuration database. This avoids the problem of DCS upgrade difficulties caused by the inconsistency of the data transmission protocol between the algorithm configuration sub-component and the engineering management sub-component, and the change of the data transmission protocol during the upgrade process. This realizes the upgrade processing of DCS software.
[0031] In one exemplary instance, the configuration data of the first software is written into the database according to a preset format through a database component.
[0032] It should be noted that other types of tools capable of storing configuration data can also be used in the embodiments of this disclosure, such as XMI files, which can be selected according to the application scenario and read / write speed.
[0033] In one exemplary instance, the first software in this disclosure embodiment may include pre-existing DCS software, and the second software may include software after the DCS upgrade is completed, or newly created software in the DCS to replace the first software.
[0034] In one exemplary instance, embodiments of this disclosure utilize a pre-established database access module to perform the writing and reading of configuration data in a database;
[0035] The writing and reading of configuration data includes: writing the configuration data of the first software into the database; and reading the configuration data from the database and outputting it to the second software.
[0036] In one exemplary instance, when the database access module reads configuration data from the database and outputs it to the second software, the method of this disclosure embodiment further includes: the database access module can convert the configuration data into data in the corresponding format of the algorithm configuration subcomponent of the second software.
[0037] In one exemplary instance, the configuration data in this disclosure embodiment also includes engineering information of the graphical editing subcomponent of the first software;
[0038] The project information may include information such as nodes and control stations in the network.
[0039] In one exemplary instance, the database access module described above can be constructed based on any type of database.
[0040] In one exemplary instance, embodiments of this disclosure construct the database access module in one of the following ways:
[0041] Select the appropriate database based on the data format of the configuration data of the algorithm configuration sub-component of the first software, so as to construct the corresponding database access module;
[0042] Select the appropriate database based on the data format of the configuration data of the algorithm configuration sub-component of the second software, in order to construct the corresponding database access module.
[0043] In one exemplary instance, the database access module of this disclosure includes an interface class, a data format processing class, and a database access class; wherein,
[0044] Interface classes are used to provide interfaces for accessing the database;
[0045] The data format processing class is used to convert written configuration data into the database format and read configuration data into a general format.
[0046] Database access classes are used to connect to a database, concatenate database operation statements, and perform one or any combination of the following functions: query, add, delete, and modify.
[0047] In one exemplary instance, embodiments of this disclosure integrate an algorithm configuration sub-component into the second software based on configuration data in a database and a data transmission protocol of the second software, including:
[0048] After reading out the configuration data of each sub-component in the first software from the database, the read configuration data is written into each corresponding sub-component in the second software according to the data transmission protocol of the second software, so as to integrate the algorithm configuration sub-component in the second software.
[0049] See Figure 2 In this embodiment, the database access module writes the configuration data of the first software into a pre-built database according to a preset format. During the integration of the algorithm configuration subcomponent into the second software, the configuration data of the engineering management subcomponent of the first software is read into the engineering management subcomponent of the second software, the configuration data of the graphics editing subcomponent of the first software is read into the graphics editing subcomponent of the second software, and the configuration data of the algorithm configuration subcomponent of the first software is read into the algorithm configuration subcomponent of the second software. It should be noted that, based on the above database setup, this embodiment can write the configuration data of the second software into the above database. The above database can be used simultaneously for reading and writing configuration data of both the first and second software. In DCS applications, configuration data can be transferred between the first and second software based on the above functions.
[0050] This disclosure also provides a computer storage medium storing a computer program, which, when executed by a processor, implements the above-described system upgrade method.
[0051] This disclosure also provides a terminal, including: a memory and a processor, wherein the memory stores a computer program; wherein,
[0052] The processor is configured to execute computer programs in memory;
[0053] The computer program implements the system upgrade method described above when executed by the processor.
[0054] Figure 3 This is a structural block diagram of a system upgrade apparatus according to an embodiment of the present disclosure, as shown below. Figure 3 As shown, it includes: a configuration data processing unit and an integrated processing unit; wherein,
[0055] The configuration data processing unit is configured to write the configuration data of the first software into a pre-built database according to a preset format.
[0056] The integrated processing unit is configured to integrate the algorithm configuration sub-component in the second software according to the configuration data in the database and the data transmission protocol of the second software.
[0057] The first software includes the pre-upgraded Distributed Control System (DCS) software, and the second software includes the upgraded DCS software. The data transmission protocols of the engineering management subcomponent and the algorithm configuration subcomponent of the first and second software are different. The configuration data includes the engineering information of the engineering management subcomponent and the algorithm configuration subcomponent of the first software.
[0058] In one exemplary instance, the apparatus of this disclosure embodiment further includes a database access module, configured as follows:
[0059] Perform the writing and reading of configuration data from the database;
[0060] The writing and reading of configuration data includes: writing the configuration data of the first software into the database; and reading the configuration data from the database and outputting it to the second software.
[0061] In one exemplary instance, the database access module of the device in this embodiment of the present disclosure is further configured to: when reading configuration data from the database and outputting it to the second software, convert the configuration data into data in the corresponding format of the algorithm configuration subcomponent of the second software.
[0062] In one exemplary instance, embodiments of this disclosure construct the database in one of the following ways:
[0063] Select the appropriate database based on the data format of the configuration data of the algorithm configuration sub-component of the first software, so as to construct the corresponding database storage structure;
[0064] Select the appropriate database based on the data format of the configuration data of the algorithm configuration sub-component of the second software, so as to construct the corresponding database storage structure.
[0065] In one exemplary instance, the database access module of this disclosure includes an interface class, a data format processing class, and a database access class; wherein,
[0066] Interface classes are used to provide interfaces for accessing the database;
[0067] The data format processing class is used to convert written configuration data into the format required by the database and to convert read configuration data into a general format.
[0068] Database access classes are used to connect to a database, concatenate database operation statements, and perform one or any combination of the following functions: query, add, delete, and modify.
[0069] In one exemplary instance, the integrated processing unit of this disclosure embodiment is configured as follows:
[0070] After reading out the configuration data of each sub-component in the first software from the database, the read configuration data is written into each corresponding sub-component in the second software according to the data transmission protocol of the second software, so as to integrate the algorithm configuration sub-component in the second software.
[0071] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term "computer storage medium" includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
Claims
1. A method for system upgrade, characterized in that, include: The configuration data of the first software is written into a pre-built database according to a preset format; Based on the configuration data in the database and the data transmission protocol of the second software, the algorithm configuration sub-component is integrated into the second software; The first software includes the pre-upgraded Distributed Control System (DCS) software, and the second software includes the upgraded DCS software. The data transmission protocol between the engineering management sub-component and the algorithm configuration sub-component of the first software is different from that between the engineering management sub-component and the algorithm configuration sub-component of the second software. The configuration data includes the engineering information of the engineering management sub-component and the algorithm configuration sub-component of the first software. The step of integrating the algorithm configuration sub-component in the second software according to the configuration data in the database and the data transmission protocol of the second software includes: reading out the configuration data of each sub-component in the first software from the database, and writing the read configuration data into each corresponding sub-component of the second software according to the data transmission protocol of the second software, so as to integrate the algorithm configuration sub-component in the second software.
2. The method according to claim 1, characterized in that, The method further includes: The configuration data in the database is written and read through a pre-established database access module. The writing and reading of configuration data includes: writing configuration data from the first software into the database; and reading configuration data from the database and outputting it to the second software.
3. The method according to claim 2, characterized in that, When the database access module reads configuration data from the database and outputs it to the second software, the method further includes: The database access module converts the configuration data into data in the corresponding format of the algorithm configuration subcomponent of the second software.
4. The method according to claim 1, characterized in that, The database is constructed in the following manner: The database storage structure is constructed based on the data format of the configuration data of the algorithm configuration sub-component of the first software.
5. The method according to claim 1, characterized in that, The database can be constructed in the following ways: The database storage structure is constructed based on the data format of the configuration data of the algorithm configuration sub-component of the second software.
6. The method according to claim 1, characterized in that, The database access module includes interface classes, data format processing classes, and database access classes; among them, The interface class is used to provide an interface for accessing the database; The data format processing class is used to convert the written configuration data into the format of the database and to convert the read configuration data into a general format. The database access class is used to connect to the database, concatenate statements for database operations, and perform one or any combination of the following functions: query, add, delete, and modify.
7. A computer storage medium storing a computer program that, when executed by a processor, implements a system upgrade method as described in any one of claims 1 to 6.
8. A terminal, comprising: A memory and a processor, wherein the memory stores a computer program; wherein, The processor is configured to execute computer programs in memory; When the computer program is executed by the processor, it implements the system upgrade method as described in any one of claims 1 to 6.
9. A system upgrade apparatus, comprising: Configuration data processing unit and integrated processing unit; among which, The configuration data processing unit is configured to write the configuration data of the first software into a pre-built database according to a preset format. The integrated processing unit is configured to: integrate algorithm configuration sub-components in the second software according to the configuration data in the database and the data transmission protocol of the second software. The integration of algorithm configuration sub-components in the second software according to the configuration data in the database and the data transmission protocol of the second software includes: reading out the configuration data of each sub-component in the first software from the database, and writing the read configuration data into each corresponding sub-component of the second software according to the data transmission protocol of the second software, so as to integrate the algorithm configuration sub-components in the second software. The first software includes the pre-upgraded Distributed Control System (DCS) software, and the second software includes the upgraded DCS software. The data transmission protocol between the engineering management sub-component and the algorithm configuration sub-component of the first software is different from the data transmission protocol between the engineering management sub-component and the algorithm configuration sub-component of the second software. The configuration data includes the engineering information of the engineering management sub-component and the algorithm configuration sub-component of the first software.
Citation Information
Patent Citations
Nuclear power station DCS simulation modeling method
CN104536400A
System upgrading method, device and equipment and computer readable storage medium
CN111290771A