Setting value information management method and device, equipment and medium
By automatically acquiring engineering files and upper and lower limit configuration tables to generate setpoint information, the inefficiency and error problems caused by manual reliance in nuclear power plant DCS engineering design are solved. The automatic filling and accurate generation of the setpoint list are realized, improving design efficiency and quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-12
- Publication Date
- 2026-03-27
AI Technical Summary
In the design of DCS engineering for nuclear power plants, the generation of setpoint lists relies on manual operation, which makes the design cycle affected by the skill level of the operators, resulting in low efficiency and a high risk of errors. Furthermore, the data flows between multiple offline files, and the data source is not guaranteed, which affects the design quality.
A method and apparatus for managing setpoint information are provided. By automatically acquiring engineering files and upper and lower limit configuration tables, setpoint information of hard-wired signals is generated and displayed on the design page. This enables automatic filling of setpoint information, generates a setpoint list, reduces manual input, and improves design efficiency and accuracy.
It enables automatic filling of setting value information, shortens the design cycle, improves design efficiency, ensures the accuracy and quality of the setting value list, reduces manual interference, and improves the standardization of document interfaces.
Smart Images

Figure CN121744401A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of nuclear power plant DCS engineering design, and in particular, to a set value information management method, device, equipment and medium. BACKGROUND
[0002] In current engineering practice, the set value list including the set values of hardwired signals in the safety class distributed control system (DCS) is usually formed by manual operation. Specifically, an engineering designer can export relevant data of original modules from engineering files to table files, fill in attribute information such as description, type, upper limit and lower limit according to the upper and lower limit configuration table (also referred to as function block manual), and finally output the corresponding set value list. However, this process highly depends on manual operation, and thus the design cycle is affected by the proficiency of manual operation, the efficiency is low, and errors may occur in manual input. SUMMARY
[0003] To solve the above technical problems, the present application provides a set value information management method, device, equipment and medium, which avoids the interference of manual factor data and improves the quality of the set value list.
[0004] In a first aspect, the present application provides a set value information management method, which comprises: In response to a list generation operation for a target station number, an engineering file and an upper and lower limit configuration table corresponding to the target station number are obtained; According to the engineering file and the upper and lower limit configuration table, set value information of hardwired signals in the target station number is generated; the set value information includes at least one of description, type, reference drawing, note, upper limit and lower limit; The set value information is displayed in a set value display area of a design page; In response to a design completion operation, a set value list is generated according to the set value information.
[0005] In some possible implementation manners, the method further comprises: If there is a reference list corresponding to the target station number, the reference list is taken as a reference list; According to the reference list, the engineering file and the upper and lower limit configuration table, set value information of hardwired signals in the target station number is generated.
[0006] In some possible implementation manners, the method further comprises: If the display state is an upgrade mark state, content revision information of the set value information relative to the reference list is displayed in the set value display area of the design page; If the content revision information is empty, it is determined that the reference list is consistent with the engineering file and the upper and lower limit configuration table.
[0007] In some possible implementation manners, the method further includes: In response to a reference list query from a preset path, or in response to a list loading operation on the reference list, it is determined that the reference list corresponding to the target station number exists.
[0008] In some possible implementation manners, the method further includes: The set value information is configured with a field-level edit lock, so that the set value information cannot be edited; If the set value information further includes an initial value, the initial value is not configured with the field-level edit lock, so that in response to an editing operation on the initial value, the set value information is updated.
[0009] In some possible implementation manners, the method further includes: In the design page, a plurality of category labels are displayed, the set value display area is used to display set value information under a currently selected category label in the plurality of category labels, and the set value list includes sub-lists under a plurality of category labels; and the category label of the set value information is determined according to a device type of the hardwired signal and / or a custom label of the hardwired signal in the upper and lower limit configuration table.
[0010] In some possible implementation manners, the method further includes: The engineering file includes a function diagram, in the set value information, the hardwired signal is identified by a variable name, and the set value information of the hardwired signal in the target station number is generated according to the engineering file and the upper and lower limit configuration table, including: According to the variable identification, the description identification, the page code identification, and the note identification in the function diagram, the variable name, the description, the reference drawing, and the note are determined; According to the description and the variable name, search information is constructed; According to the search information, matched index information is determined from the upper and lower limit configuration table; According to a type, an upper limit, and a lower limit corresponding to the matched index information, the type, the upper limit, and the lower limit are determined.
[0011] In a second aspect, an embodiment of the present application provides a set value information management device, which is used to implement the method and functions in the first aspect or any possible implementation manner in the first aspect, and specifically includes: A first acquisition unit is configured to acquire an engineering file and an upper and lower limit configuration table corresponding to a target station number in response to a list generation operation on the target station number. The first generating unit is configured to generate setting value information of a hardwired signal in the target station number according to the engineering file and the upper and lower limit configuration table; the setting value information comprises at least one of an explanation, a type, an upper limit and a lower limit; The first display unit is configured to display the setting value information in a setting value display area of a design page. The second generating unit is configured to generate setting value list according to the setting value information in response to a design completion operation.
[0012] Optionally, the first generating unit comprises: The setting value information generating unit is configured to generate setting value information of a hardwired signal in the target station number according to the reference list, the engineering file and the upper and lower limit configuration table if the reference list corresponding to the target station number exists.
[0013] Optionally, the apparatus further comprises: The second display unit is configured to display content revision information of the setting value information relative to the reference list in the setting value display area of the design page if the display state is the upgrade mark state. The consistency determining unit is configured to determine that the reference list has consistency relative to the engineering file and the upper and lower limit configuration table if the content revision information is empty.
[0014] Optionally, the apparatus further comprises: The reference list determining unit is configured to determine that the reference list corresponding to the target station number exists in response to querying the reference list from a preset path or in response to a list loading operation of the reference list.
[0015] Optionally, the apparatus further comprises: The locking unit is configured to configure a field level editing lock for the setting value information so that the setting value information cannot be edited. The editing unit is configured to update the setting value information in response to an editing operation of the initial value if the setting value information further comprises the initial value which is not configured with the field level editing lock.
[0016] Optionally, the apparatus further comprises: The third display unit is configured to display a plurality of category labels in the design page; the setting value display area is configured to display setting value information under a selected current label in the plurality of category labels; the setting value list comprises sub-lists under a plurality of category labels; and the category label of the setting value information is determined according to a device type of the hardwired signal and / or a custom mark of the hardwired signal in the upper and lower limit configuration table.
[0017] Optionally, the engineering file comprises a function diagram, and the first generating unit comprises: a first determining unit configured to determine the variable name, the description, the reference drawing, and the note according to the variable identifier, the description identifier, the page number identifier, and the note identifier in the function diagram; a constructing unit configured to construct retrieval information according to the description and the variable name; an index information determining unit configured to determine matched index information from the upper and lower limit configuration table according to the retrieval information; a second determining unit configured to determine the type, the upper limit, and the lower limit according to the type, the upper limit, and the lower limit corresponding to the matched index information.
[0018] In a third aspect, an embodiment of the present application discloses a computer device, which comprises a processor and a memory: The memory is configured to store program code and transmit the program code to the processor. The processor is configured to execute the setting value information management method according to the instructions in the program code.
[0019] In a fourth aspect, an embodiment of the present application discloses a computer readable storage medium configured to store a computer program, which is configured to execute the setting value information management method according to the first aspect when executed by a processor.
[0020] The embodiments of the present application provide a setting value information management method, device, equipment and medium. In response to a list generation operation for a target station number, an engineering file corresponding to the target station number and an upper and lower limit configuration table are acquired, setting value information of a hardwired signal in the target station number is generated according to the engineering file and the upper and lower limit configuration table, and the setting value information is displayed in a setting value display area of a design page. The setting value information can include at least one of a description, a type, an upper limit and a lower limit. Thus, the automatic filling of the setting value information in the design process is realized, manual filling is avoided, the operation is simple and time-saving, the design cycle is shortened, and the design efficiency is improved. In response to a setting completion operation, a setting value list is generated according to the setting value information. Thus, the file interface is standardized, the accuracy of the setting value list is ensured in the case that the file of the upper and lower limit configuration table is correct, and the quality of the setting value list is improved. BRIEF DESCRIPTION OF DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description are only some embodiments described in the present application, and other drawings can also be obtained by those skilled in the art according to these drawings.
[0022] Figure 1 A flow chart is drawn for the function diagram; Figure 2 The upper and lower limit configurations provided by the embodiments of the present application represent the intention; Figure 3 A flow chart of a set value information management method provided by the embodiments of the present application; Figure 4 A generated set value list schematic diagram provided by the embodiments of the present application; Figure 5 A schematic diagram of a main operation interface provided by the embodiments of the present application; Figure 6 A data flow chart provided by the embodiments of the present application; Figure 7 A schematic diagram of a task execution device provided by the embodiments of the present application; Figure 8 A structural block diagram of a computer device for set value information management provided by the embodiments of the present application. DETAILED DESCRIPTION
[0023] In order to make the above objectives, features and advantages of the present application more apparent, specific embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0024] In the following description, many specific details are set forth in order to provide a thorough understanding of the present application, but the present application can be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the present application, therefore the present application is not limited to the specific embodiments disclosed below.
[0025] In current engineering practice, the set value list includes the set values of hardwired signals in the safety level DCS system, and is usually formed by manual operation. Specifically, an engineering designer can export relevant data of the original module from engineering files (such as control logic function diagrams of IComposer software, etc.) to a table file, then fill in attribute information such as description, type, upper limit and lower limit according to the upper and lower limit configuration table (also referred to as function block manual), and finally output the corresponding set value list. However, this process highly depends on manual operation, so the design cycle is affected by the proficiency of manual operation, the efficiency is low, and manual input may be wrong.
[0026] The inventors discovered through research that existing tools, when outputting a setpoint list, only solve the first step of the setpoint list process: exporting module-related information. They lack the ability to automate the design based on engineering data models and upper and lower limit configuration tables. The design cycle is affected by human proficiency, and manual data entry may result in errors. Furthermore, data flows between multiple offline files, making the data source unreliable. Upgrades or manual comparisons require manual traversal of all data, which is inefficient and affects design quality.
[0027] The following section uses a nuclear power plant DCS platform as an example to introduce the specific method for generating the safety level setting value list of the existing nuclear power plant DCS platform.
[0028] The engineering documents include functional diagrams (also known as FD drawings or IC drawings). Creating these functional diagrams is a crucial step in the ES1.2 functional interface requirements phase of the security-grade DCS engineering design process. See also... Figure 1 The diagram shown is a flowchart for drawing a functional diagram according to an embodiment of this application. Upstream inputs may include setpoint requirements, I / O requirements, logical requirements, application software requirements specifications, hardware requirements specifications, etc. Specifications may include security-level DCS (e.g., FirmSys) functional interface design specifications, etc. According to the upstream inputs of the security-level DCS system and various specifications, logical design, interface design and variable design are performed, thereby transforming the interface information, logical information and functional requirements of each security-level system into a functional diagram determined by the system structure and module symbols based on the FirmSys product.
[0029] After the function diagram is completed, a setpoint list can be created based on the project files and upper and lower limit configuration tables. The setpoint list is an output file arranged after the function diagram.
[0030] The upper and lower limit configuration table is a checklist-style supporting document that organizes the composition, parameter matching, and quantity specifications of various elements in a project. It supplements and quantifies the project documentation. The upper and lower limit configuration table can include information related to indexes, algorithm blocks, parameters, data types, upper limits, lower limits, and other set values. (Reference) Figure 2 The diagram illustrates an upper and lower limit configuration representation provided in an embodiment of this application. In the upper and lower limit configuration table, each row represents the parameter configuration of a hardwired signal, and each column represents an attribute in the parameter configuration. The attribute is represented by a field. The fields in the upper and lower limit configuration table may include index, algorithm block, parameter, data type, upper limit, lower limit, etc.
[0031] In response to a list generation operation for a target station number, an engineering file and an upper and lower limit configuration table corresponding to the target station number can be acquired, and set value information of a hardwired signal in the target station number can be generated according to the engineering file and the upper and lower limit configuration table. The set value information can include at least one of a variable name, an explanation, a type, a function diagram, a note, an upper limit, and a lower limit. In this way, automatic filling of set value information in the design process is implemented, manual filling is avoided, the operation is simple and time-saving, the design cycle is shortened, and the design efficiency is improved. In response to a setting completion operation, a set value list can be generated according to the set value information. In this way, the file interface is standardized, and the accuracy of the set value list can be ensured and the quality of the set value list can be improved in the case that the file in the upper and lower limit configuration table is correct.
[0032] The specific implementation of the set value information management method and the related device provided in the embodiments of the present application will be described in detail below with reference to the accompanying drawings and examples.
[0033] Reference Figure 3 As shown in the figure, the flowchart of the set value information management method provided in the embodiments of the present application can include the following steps.
[0034] S301, in response to a list generation operation for a target station number, an engineering file and an upper and lower limit configuration table corresponding to the target station number can be acquired.
[0035] In the embodiments of the present application, the target station number is a station number that needs to be generated for a list, which can be selected by a user. Each station can correspond to a set value list, and the set value in the set value list of each station is usually the same as the set value in the function file and the upper and lower limit configuration table corresponding to the station.
[0036] The engineering file is technical data in an engineering project, and is a general term for all technical documents, drawings, data, and specifications generated in the entire engineering project life cycle to define, design, guide, record, and accept the engineering. For example, the engineering file can include VarParaName, diagram.AlgName, page.Name, page.SubSysName, time delay related parameters, and all variable names. In addition, due to the characteristics of the power station process and the DCS platform, some parameters are used to assist in completing the design work in the system design to achieve the functions of the system. The related information of these parameters is also embodied in the engineering file.
[0037] The upper and lower limit configuration table is a list type supporting file of combing various elements of the project, parameter matching and quantity specification, is a supplement and quantitative description of the project file, and can contain index, algorithm block, parameter, data type, upper limit, lower limit and other setting value related information. Figure 2 In the upper and lower limit configuration table, one row represents the parameter configuration of one hardwired signal, and one list represents one attribute in the parameter configuration. The attribute is represented by a field. The fields in the upper and lower limit configuration table can include index, algorithm block, parameter, data type, upper limit, lower limit and the like.
[0038] In response to the list generation operation for the target station number, the project file and the upper and lower limit configuration table corresponding to the target station number can be obtained. The list generation operation can be a triggering operation of the list generation control, which can include, for example, an opening operation of the setting value information management tool, or an opening operation of the setting value information management tool and a selection operation of the reference list.
[0039] Specifically, the project file and the upper and lower limit configuration table corresponding to the target station number can be synchronized to the setting value information management tool, which can be used for generation or checking of the setting value list. The setting value information management tool is used to execute the setting value information management method, which can exist in the form of software. When the tool is opened, the system can automatically pull the project file and the upper and lower limit configuration table according to a preset path.
[0040] S302, generating setting value information of a hardwired signal in the target station number according to the project file and the upper and lower limit configuration table; the setting value information includes at least one of description, type, upper limit and lower limit.
[0041] In the embodiment of the application, after obtaining the project file and the upper and lower limit configuration table, the setting value information of the hardwired signal in the target station number can be generated according to the project file and the upper and lower limit configuration table.
[0042] In this way, the setting value information management tool directly generates the setting value information according to the pulled project file and the upper and lower limit configuration table, reduces the manual input link, shortens the design cycle of the setting value list, and can ensure the accuracy of the setting value list.
[0043] Specifically, after automatically obtaining the project file and the upper and lower limit configuration table, the contents in the project file and the upper and lower limit configuration table can be extracted and filled into the setting value information, so as to generate the setting value information. The setting value of the hardwired signal is a target value pre-set for the hardwired signal in the target station number. The automatically filled setting value information can include at least one of "initial value" and other information such as description, type, reference drawing, note, upper limit and lower limit. Of course, the setting value information can also include variable name, reference drawing and note, which are used to distinguish different hardwired signals.
[0044] Among them, the description is a literal description of the core meaning, purpose and use scenario of the set value, such as the on-delay timer (Timer ON-Delay, TON, used to indicate and control time), binary input (Binary Input, BINI, used to indicate the on-site switch state) and the like, the type is the limitation of the data attribute or category of the set value, such as real, int and the like, the reference drawing is the technical basis document number or name corresponding to the set value, such as P4101, P4102 and the like, the note is used to supplement the special requirements, precautions or exceptions of the set value, such as P4C1 and the like, and the upper limit and the lower limit are used to indicate the numerical setting range of the variable. Reference Figure 4 As shown in the figure, it is a generated set value list schematic diagram provided by an embodiment of the present application.
[0045] S303, display the set value information in the set value display area of the design page; In the embodiment of the present application, after generating the set value information of the hardwired signal in the target station number, the set value information is displayed in the set value display area of the design page.
[0046] The design page is a page for generating the set value list corresponding to the target station number. As shown in the figure, it is a generated set value list schematic diagram provided by an embodiment of the present application. Figure 4 As shown in the figure, it is a generated set value list schematic diagram provided by an embodiment of the present application.
[0047] The set value display area is an area for displaying the generated set value information, which can be displayed in the form of a table, each row corresponds to a hardwired signal, and each column corresponds to the attribute field of the hardwired signal, such as serial number, variable name, type, initial value, upper limit and lower limit. Through the set value display area, the set value information of each field of the hardwired signal in the target station number is clearly and intuitively displayed.
[0048] S304, in response to the design completion operation, generating the set value list according to the set value information.
[0049] In the embodiment of the present application, the set value list is an intermediate product of the safety level software design process. In response to the design completion operation, after generating the set value information according to the engineering file corresponding to the target station number and the upper and lower limit configuration table, the system will automatically generate the set value list according to the above set value information.
[0050] Specifically, the setting value list is written by using Excel software, different types of setting values correspond to different fields, and the attribute information of the file can be embodied in the header and footer of the Excel table. The header information can include the system name, the English abbreviation of the subsystem, etc., and is placed in the middle position of the header.
[0051] The design completion operation can be a triggering operation on the design completion control. The design completion control can be displayed in the design page. Referring to Figure 5 FIG. 1 shows a schematic diagram of a main operation interface provided by an embodiment of the present application. A design completion control 04 is shown in the design page. The design completion control 04 can be clicked to trigger the design completion operation. Figure 5 The "release file generation" control is shown in FIG. 1. After the "release file generation" control is clicked, the setting value list Excel file is generated in a fixed path.
[0052] The data embodied in the above setting value list and the description, attribute, type, upper limit and lower limit in the upper and lower limit configuration table are all data automatically pulled and generated by the setting value information management tool according to the target station number, without manual input. In this way, the automatic filling of the setting value information in the design process is realized, manual writing is avoided, the operation is simple and time-consuming, the design cycle is shortened, and the design efficiency is improved. In response to the design completion operation, the setting value list is generated according to the setting value information. In this way, the file interface is standardized, and in the case of correct file of the upper and lower limit configuration table, the accuracy of the setting value list is ensured, and the design quality of the safety class setting value list Excel file is improved.
[0053] In the embodiment of the present application, in the process of generating the setting value information of the hardwired signal in the target station number in S101, if it is the first time to generate the setting value list of the target station number, the setting value information of the hardwired signal in the target station number can be automatically generated according to the engineering file corresponding to the target station number and the upper and lower limit configuration table.
[0054] In another possible implementation, if the target station number has a reference list, the setting value information of the hardwired signal in the target station number is generated according to the reference list, the engineering file and the upper and lower limit configuration table, which is equivalent to inheriting the content of the reference list of the target station number. In this way, when the design interface is opened, the setting value information management tool automatically calls and generates the setting value information based on the reference list. When the engineering file or the upper and lower limit configuration table is not updated, the latest setting value list design content is displayed. When the engineering file is updated, the updated reference list and the updated engineering file are displayed. The read-only (non-editable) / editable properties of each field of the displayed setting value information can be consistent with the properties of the previous setting value list design content. In this way, after the reference list is loaded, the generation of the setting value list can be completed accordingly, without full rework when the version is upgraded, which speeds up the version upgrade efficiency of the setting value list and improves the change management efficiency.
[0055] If the display state is the upgrade mark state, the content revision information of the set value information relative to the reference list is displayed in the set value display area of the design page. The display state is used to indicate whether to display the content revision information. If the display state is the upgrade mark state, the content revision information is displayed. If the display state is not the upgrade mark state, the content revision information can not be displayed.
[0056] In the embodiment of the present application, when the set value information table of the hardwired signal in the target station number is generated in S302, the set value list needs to be upgraded according to at least one of the project file or the upgrade of the upper and lower limit configuration table. The upgrade is the change and version upgrade of the list based on the reference list. The set value list after the upgrade can reflect the related information about the set value change in the input version of the project file or the input version of the upper and lower limit configuration table.
[0057] When the target station number exists the reference list, the content revision information is used to indicate the content revision information of the set value information relative to the reference list, that is, if the content revision information is not empty, it is determined that the set value information is inconsistent with the reference list. At this time, the project file can exist the upgrade, or the reference list can exist the error.
[0058] Conversely, if the content revision information is empty, it is determined that the reference list has consistency relative to the project file and the upper and lower limit configuration table. Therefore, the version upgrade of the set value list can be automatically performed when the project file exists the upgrade, and the consistency check of the reference list can be performed when the project file does not exist the upgrade.
[0059] The display state can have a default value. For example, it can be defaulted to the upgrade mark state. When the reference list data under the target station number is cached locally (the reference list can be an xml file), the display state is defaulted to the "upgrade mark" state at this time, that is, the content revision information of the set value information relative to the reference list is displayed in the set value display area of the design page. For another example, it can also be defaulted to the "clean" state. When the set value list is generated for the first time using the set value information management tool (that is, the reference list under the target station number is not generated using the set value information management tool), the display state is defaulted to the "clean" state, that is, the set value display area of the design page does not contain the revision value information, as shown in FIG. 3. At this time, the "upgrade mark" trigger can be performed by clicking the "upgrade mark" control 03. In addition, when there is no reference list under the target station number, the display state of the set value list generated for the first time is also the "clean" state. In this way, the upgrade or comparison does not need to be manually traversed all the data, the efficiency is improved, and the design quality is improved. In the case of a large number of orders of magnitude, the file comparison and upgrade speed is improved. Figure 5
[0060] The content revision information is a complete record of all changes of modification, addition, deletion based on the reference list. The content revision information can have different types, such as modification, addition, deletion, etc., and different types of content revision information can correspond to different display styles.
[0061] Specifically, if the information in the setting value list needs to be modified, for example, the error in the previous version, the font of the modified content should be marked red and underlined after modification, and the version of this point should be modified to the current latest version. If some setting values corresponding to a variable name need to be deleted, the part of the content can be deleted, and the corresponding cell is filled with yellow; if all the setting value information corresponding to a variable name needs to be deleted, the entire row of content corresponding to the variable name can be deleted, and the row is filled with yellow. If a new setting value needs to be added in the setting value list, the setting value should be added at the end of the setting value list, and the entire red mark and underline should be added. The version of this point should be the current latest version of the file. In this way, after loading the reference list, the complete upgrade mark can be clicked to automatically complete the difference comparison and add the upgrade mark to the difference content, and each operation is automatically saved, improving the speed of file comparison and upgrade. The entire process is simple to operate and time-consuming.
[0062] Each revision record of the setting value list is automatically saved in the historical setting value list, so that even if the setting value information management tool is accidentally closed during user use, the last revision record is safely stored, thereby improving the reliability and user experience of the tool.
[0063] In the embodiment of the present application, in the process of acquiring the engineering file corresponding to the target station number and the upper and lower limit configuration table in S301, in response to querying the reference list from the preset path, or in response to the list loading operation of the reference list, it is determined that there is a reference list corresponding to the target station number.
[0064] The preset path refers to the default storage path of the reference list, which can be the local storage path of the reference list generated by the setting value information management tool. The format of the reference list queried from the preset path can be xml format. When the reference list is an xml file, the setting value information management tool can directly read the xml format reference list from the path without manual clicking and loading.
[0065] Specifically, if the xml file of the reference list is queried from the preset path, the user only needs to enter the design page corresponding to the target station number without selecting the local storage path, and the system directly reads all table information in the setting value list corresponding to the reference list and saves it to the Worksheet data structure of ReoGrid (an electronic spreadsheet control). In this way, the acquisition of the reference list can be automatically performed, and the acquisition efficiency of the setting value list can be improved.
[0066] Of course, the reference list can also be loaded based on the list loading operation of the reference list. This is because the reference list can be stored in the form of Excel locally.
[0067] Specifically, the list loading operation can include a trigger operation on the load list control, such as a selection operation on an Excel file that can include a reference list, which is a trigger operation on a "file selection" control, and a load determination operation, which is a trigger operation on a "list loading" control.
[0068] If the reference list is an Excel file, on the design page, as shown in Figure 5 , the user clicks the "file selection" control 01 to select the reference list, and after the path is loaded successfully, the "list loading" control 02 is selected. The system reads all table information in the set value list and saves it to the Worksheet data structure of ReoGrid.
[0069] In this way, the automatic loading of the reference list can be performed, which is suitable for the generation and checking of the set value list, improves the degree of freedom of the management tool, and the set value list is more efficient, and the file interface is standardized.
[0070] In the embodiment of the application, the field-level editing lock can be configured for the set value information, so that the set value information cannot be edited; if the set value information further includes an initial value, the initial value is not configured with the field-level editing lock, so that the set value information is updated in response to an editing operation on the initial value.
[0071] The field-level editing lock is a read-only setting for the set value information of the automatically generated field in the set value list, which is used to ensure that the set value information cannot be edited by humans.
[0072] If the set value list contains set value information corresponding to the initial value field, the initial value is not configured with the field-level editing lock, and the corresponding column is in an editable state. After editing, the set value information is updated, and the filling work of the initial value needs to be completed before clicking the "version upgrade mark" control.
[0073] Specifically, in the ReoGrid table control, the automatically read properties are set to read-only, and only the "initial value" is editable. In this way, a field-level editing protection mechanism is provided, which avoids human factors interfering with the data. The automatically read properties come from the engineering file and a strictly managed upper and lower limit configuration table file, so there is no need to worry about the properties being modified unintentionally. In this way, a reliable data protection mechanism is established, which automatically distinguishes between protected data exported from the engineering file and editable properties. Only the initial value can be filled in after being confirmed by the designer, which ensures data security and consistency, and ensures data security.
[0074] In the embodiment of the present application, when the setting value information is displayed in the setting value display area of the design page in S303, a plurality of category labels can be displayed in the design page, and the setting value display area is used to display the setting value information under the selected current label in the plurality of category labels. The setting value list includes sub-lists under the plurality of category labels.
[0075] The category label is a label indicating the variable category in the setting value list, and is used to distinguish the setting value list corresponding to different variable types.
[0076] The setting value list corresponding to the target station number can include sub-lists under a plurality of category labels, that is, each category label corresponds to a sub-list of the setting value list, and the sub-lists under different category labels can be displayed in different sheets, for example, the intermediate variable can be used as a category label, which corresponds to a sub-list of the setting value list, and the parameter variable can be used as a category label, which corresponds to another sub-list of the setting value list.
[0077] The variable of the test input can be placed in the page where the category label corresponding to the parameter variable is located; and the variable of the test output can be placed in the page where the category label corresponding to the intermediate variable is located.
[0078] The category label of the setting value information can also be determined according to the device type of the hardwired signal, for example Figure 4 The PARM in the device type corresponds to the parameter variable, and if the device type is another type, it can correspond to the setting value information of the intermediate variable.
[0079] The category label of the setting value information can also be determined according to the custom mark of the hardwired signal in the upper and lower limit configuration table. The custom mark refers to that some variable information in the upper and lower limit configuration table of the hardwired signal can be manually marked yellow, and then the variable marked yellow in the upper and lower limit configuration table of the hardwired signal can be allocated to the “intermediate variable”, and the remaining parameter variables are allocated to the “parameter variable”.
[0080] In this way, by labeling and classifying the setting value information, the setting value information in the setting value list corresponding to different variable types is intuitively displayed, and the efficiency and readability of data management are improved.
[0081] In the embodiment of the present application, in S302, the engineering file can be a function diagram, in the set value information, the hardwired signal is identified by a variable name, and according to the engineering file and the upper and lower limit configuration table, the generation of the set value information of the hardwired signal in the target station number can be specifically: determining the variable name, the description, the reference drawing, and the note according to the variable identification, the description identification, the page code identification, and the note identification in the function diagram; determining the variable name, the description, the reference drawing, and the note according to the variable identification, the description identification, the page code identification, and the note identification in the function diagram; constructing the search information according to the description and the variable name; determining the matched index information from the upper and lower limit configuration table according to the search information; and determining the type, the upper limit, and the lower limit according to the type, the upper limit, and the lower limit corresponding to the matched index information.
[0082] The variable name in the set value list is consistent with the VarParaName information in the function diagram; the description in the set value list is consistent with the diagram.AlgName information (after removing the “_FS” suffix) in the function diagram; and the note in the set value list is consistent with the station number information page.SubSysName in the function diagram for RPC and ESFAC systems, and is consistent with the alternative symbol “#” in the function diagram for SAC systems.
[0083] Based on the solidified upper and lower limit configuration table, the type, the upper limit, the lower limit, and the description information of the parameters in the set value list are automatically generated. In a possible implementation manner, the system combines the description in the set value list and the “_” and all characters to the right of the variable name into the search information, and automatically generates the description, the type, the upper limit, and the lower limit design content according to the index information in the upper and lower limit configuration table. The description in the set value list is consistent with the algorithm block information in the upper and lower limit configuration table; the type in the set value list is consistent with the data type information in the upper and lower limit configuration table; the upper limit in the set value list is consistent with the upper limit in the upper and lower limit configuration table; and the lower limit in the set value list is consistent with the lower limit in the upper and lower limit configuration table.
[0084] In this way, the ability of automatic design according to the engineering file and the upper and lower limit configuration table is provided, manual filling is avoided, and the corresponding relationship between the set value information of the engineering file, the set value list, and the upper and lower limit configuration table is constructed, so that the accuracy of the generated set value list data is ensured in the case that the file of the upper and lower limit configuration table is correct.
[0085] In the embodiment of the present application, for the generated set value list, after the “release file generation” control is clicked, the safety level set value list Excel file of the target station number containing the “version upgrade mark” can be generated in a fixed path, for example, there is a reference list corresponding to the target station number.
[0086] In the embodiment of the present application, for the checking work of the setting value list corresponding to the old project (for example, based on artificial generation), after the tool is opened, the list to be checked is selected, and the checking is performed by one-click. Through the checking operation, the setting value information inconsistent between the setting value list corresponding to the old project and the setting value list generated by the setting value information management tool can be displayed. In this way, the data is stored in the same structure, the automatic checking is realized by clicking the button, the time required for upgrading the file is controlled within a few minutes, the checking and upgrading efficiency of the setting value list is accelerated, the checking and comparison results can be obtained in a short time, and the design quality is improved.
[0087] As shown in Figure 6 The overall data flowchart provided by the embodiment of the present application is divided into five modules: an input module, a checking tool module, a generation tool module, a running result module, and a publishing file module. The entire flowchart corresponds to two parts. The input module, the checking tool module, and the generation tool module can belong to the aforementioned setting value information management tool.
[0088] The input module is used to obtain files, wherein the "design input setting value list" is a list input by a designer, and the list can include variables, whether to input being determined by the designer.
[0089] The checking tool module is used to check the setting value list corresponding to the old project according to the corresponding engineering file and the upper and lower limit configuration table under the target station number. If there is content revision information in the checking result, it indicates that the version of the corresponding engineering file or the upper and lower limit configuration table under the target station number has a version upgrade relative to the setting value list corresponding to the old project, or the setting value list corresponding to the old project has an error. If there is no content revision information in the checking result, that is, the revision information is empty, it indicates that the version of the corresponding engineering file and the upper and lower limit configuration table under the target station number corresponds to the version of the setting value list corresponding to the old project, and it is determined that the setting value list corresponding to the old project under the target station number has consistency relative to the engineering file and the upper and lower limit configuration table. The checking tool module can obtain variables from the "design input setting value list" and the engineering file, and the two can check each other or complement each other.
[0090] The generation tool module is responsible for generating the setting value list of the corresponding version under the target station number according to the files obtained by the input module. For example, the setting value list of the corresponding version can be generated according to the engineering file (for example, the FD drawing) of the corresponding version under the target station number and the upper and lower limit configuration table. If there is a reference list corresponding to the target station number, the generation tool module can also generate the setting value list of the corresponding version according to the engineering file of the corresponding version under the target station number, the upper and lower limit configuration table, and the reference list. The generation tool module can obtain variables from the "design input setting value list" and the engineering file, and the two can check each other or complement each other.
[0091] The running result module is configured to store the generated setting value list data.
[0092] The input module is configured to obtain the engineering file (e.g., the FD drawing) and the upper and lower limit configuration table of the old project to be checked under the target station number, and if the designer inputs the "design input setting value list" in the input module, the "design input setting value list" is also obtained. The checking tool module is configured to check the setting value list of the old project according to the foregoing description. In the implementation process, the obtained A version setting value list (i.e., the A version Excel) is taken as a reference list, and a new setting value list is generated based on the reference list, the engineering file and the upper and lower limit configuration table. The checking is implemented based on the difference between the new setting value list and the reference list. If there is a difference, it means that the contents of the two are inconsistent. If there is no difference, it means that the contents of the two are consistent. The running result module is configured to save the setting value list data of the old project after iterative modification according to the checking result. The publishing file module is configured to publish the setting value list after iterative modification.
[0093] The input module is configured to obtain the A version engineering file (e.g., the FD drawing) and the A version upper and lower limit configuration table of the new project (to be generated) under the target station number, and if the designer inputs the "design input setting value list" in the input module, the "design input setting value list" is also obtained. The generation tool module is configured to generate the setting value list of the new project according to the A version engineering file (e.g., the FD drawing) and the A version upper and lower limit configuration table. The generation tool module can obtain variables from the "design input setting value list" and the engineering file, and the two can check each other or supplement each other. The running result module is configured to save the A version setting value list data. The publishing file module is configured to publish the Excel file corresponding to the A version setting value list.
[0094] If the engineering file (e.g., the FD drawing) is upgraded from the A version to the B version, the upgrade process is entered. The input module is configured to obtain the B version engineering file (e.g., the FD drawing) and the B version upper and lower limit configuration table of the new project, and if the designer inputs the "design input setting value list" in the input module, the "design input setting value list" is also obtained. The generation tool module is configured to generate the B version setting value list according to the B version engineering file (e.g., the FD drawing), the B version upper and lower limit configuration table and the A version setting value list (i.e., the reference list of the B version setting value list, the published A version setting value list is imported into the generation tool module). The generation tool module can obtain variables from the "design input setting value list" and the engineering file, and the two can check each other or supplement each other.
[0095] The embodiment of the present application provides a setting value information management method, in response to a list generation operation for a target station number, an engineering file and an upper and lower limit configuration table corresponding to the target station number can be acquired, setting value information of a hardwired signal in the target station number is generated according to the engineering file and the upper and lower limit configuration table, and the setting value information is displayed in a setting value display area of a design page; the setting value information can include at least one of a variable name, an explanation, a type, a reference drawing, a note, an upper limit and a lower limit, so that automatic filling of the setting value information in the design process is realized, manual writing is avoided, the operation is simple and time-saving, the design cycle is shortened, and the design efficiency is improved. In response to a setting completion operation, a setting value list is generated according to the setting value information, so that the file interface is standardized, and in the case that the file of the upper and lower limit configuration table is correct, the accuracy of the setting value list is ensured, and the quality of the setting value list is improved.
[0096] Based on the above setting value information management method, the embodiment of the present application further provides a setting value information management device, referring to Figure 7 the structure block diagram of the setting value information management device provided by the embodiment of the present application, which comprises: A first acquisition unit is configured to acquire an engineering file and an upper and lower limit configuration table corresponding to a target station number in response to a list generation operation for the target station number. A first generation unit is configured to generate setting value information of a hardwired signal in the target station number according to the engineering file and the upper and lower limit configuration table; the setting value information comprises at least one of an explanation, a type, an upper limit and a lower limit. A first display unit is configured to display the setting value information in a setting value display area of a design page. A second generation unit is configured to generate a setting value list according to the setting value information in response to a design completion operation.
[0097] Optionally, the first generation unit comprises: A reference list determination unit is configured to determine whether a reference list corresponding to the target station number exists. A setting value information generation unit is configured to generate setting value information of a hardwired signal in the target station number according to the reference list, the engineering file and the upper and lower limit configuration table if the reference list corresponding to the target station number exists.
[0098] Optionally, the device further comprises: A second display unit is configured to display content revision information of the setting value information relative to the reference list in the setting value display area of the design page if the display state is an upgrade mark state. A consistency determination unit is configured to determine that the reference list has consistency relative to the engineering file and the upper and lower limit configuration table if the content revision information is empty.
[0099] Optionally, the apparatus further comprises: a reference determining unit, configured to determine that the reference list corresponding to the target station number exists in response to a query of a preset path to the reference list or in response to a list loading operation on the reference list.
[0100] Optionally, the apparatus further comprises: a locking unit, configured to configure a field-level editing lock for the set value information, so that the set value information cannot be edited; an editing unit, configured to update the set value information in response to an editing operation on the initial value if the set value information further comprises the initial value which is not configured with the field-level editing lock.
[0101] Optionally, the apparatus further comprises: a third display unit, configured to display a plurality of category labels in the design page, the set value display area is configured to display set value information under a currently selected category label in the plurality of category labels, and the set value list comprises sub-lists under a plurality of category labels; and the category label of the set value information is determined according to a device type of the hardwired signal and / or a custom label of the hardwired signal in the upper and lower limit configuration table.
[0102] Optionally, the engineering file comprises a function diagram, and the first generating unit comprises an upper and lower limit configuration table: a first determining unit, configured to determine the variable name, the description, the reference drawing and the note according to a variable identifier, a description identifier, a page number identifier and a note identifier in the function diagram; a constructing unit, configured to construct search information according to the description and the variable name; an index information determining unit, configured to determine matched index information from the upper and lower limit configuration table according to the search information; a second determining unit, configured to determine the type, the upper limit and the lower limit according to a type, an upper limit and a lower limit corresponding to the matched index information.
[0103] The embodiment of the present application provides a set value information management device, in response to a list generation operation for a target station number, an engineering file and an upper and lower limit configuration table corresponding to the target station number can be acquired, set value information of a hardwired signal in the target station number is generated according to the engineering file and the upper and lower limit configuration table, and the set value information is displayed in a set value display area of a design page. The set value information can include at least one of a variable name, an explanation, a type, an upper limit and a lower limit. In this way, automatic filling of set value information in the design process is realized, manual filling is avoided, operation is simple and time-consuming is short, the design cycle is shortened, and the design efficiency is improved. In response to a setting completion operation, a set value list is generated according to the set value information. In this way, the file interface is standardized, and in the case that the file of the upper and lower limit configuration table is correct, the accuracy of the set value list can be ensured, and the quality of the set value list is improved.
[0104] Please refer to Figure 8 , Figure 8 A structural block diagram of a computer device for set value information management is provided for the embodiment of the present application. The computer device comprises a processor 810 and a memory 820. The memory 810 is used for storing program codes and transmitting the program codes to the processor 820. The processor 810 is used for executing the set value information management method in any of the implementation manners of the above-mentioned embodiments according to instructions in the program codes.
[0105] The embodiment of the present application further discloses a computer readable storage medium used for storing a computer program, and the computer program is used for executing the set value information management method in any of the implementation manners of the above-mentioned embodiments when executed by a processor.
[0106] From the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps of the above-mentioned embodiment methods can be implemented by means of software plus a general hardware platform. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product. The computer software product can be stored in a storage medium, such as a read-only memory (English: read-only memory, ROM) / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the method described in the various embodiments or some parts of the embodiments of the present application.
[0107] It should be noted that the various embodiments described in the specification are intended to be exemplary only and that the scope of the application is not intended to be limited to the embodiments described in the specification. Rather, the scope of the application is intended to cover all modifications and variations of the exemplary methods and apparatuses described herein as permitted by the appended claims. It is intended that the scope of the application encompass these alternatives, modifications and variations of the embodiments described herein. It should be noted that, as used in the specification and the appended claims, the articles "a,” "an,” and "the” are intended to mean that there are one or more of the entities. The articles are not intended to mean that there are only one of the entity. The terms "comprising,” "including,” and "having” are intended to be open-ended terms that mean the various embodiments described herein include the recited elements but not exclude other elements. The terms "comprising,” "including,” and "having” are intended to be open-ended terms that mean the various embodiments described herein include the recited elements but not exclude other elements. The term "coupled” is intended to mean either an indirect or direct electrical connection. Thus, if a first device is coupled to a second device, that connection can be through some other intermediate device (indirect) or directly to the second device (direct). Also, the term "coupled” means that two or more elements are joined or work with one another, and not necessarily directly with one another.
[0108] It should be noted that, as used in the specification and the appended claims, the articles "a,” "an,” and "the” are intended to mean that there are one or more of the entities. The articles are not intended to mean that there are only one of the entity. The terms "comprising,” "including,” and "having” are intended to be open-ended terms that mean the various embodiments described herein include the recited elements but not exclude other elements. The terms "comprising,” "including,” and "having” are intended to be open-ended terms that mean the various embodiments described herein include the recited elements but not exclude other elements. The term "coupled” is intended to mean either an indirect or direct electrical connection. Thus, if a first device is coupled to a second device, that connection can be through some other intermediate device (indirect) or directly to the second device (direct). Also, the term "coupled” means that two or more elements are joined or work with one another, and not necessarily directly with one another.
[0109] The above description is only preferred embodiments of the application. Although the application has been disclosed with reference to the above embodiments, the above embodiments are not intended to limit the application. Any person skilled in the art, without departing from the scope of the application, can make many possible changes and modifications to the above disclosed methods and technical contents, or modify them into equivalent embodiments. Therefore, any simple modification, equivalent change and modification made to the above embodiments without departing from the technical scope of the application, are still within the scope of protection of the application.
Claims
1. A method for managing setpoint information, characterized in that, include: In response to the list generation operation for the target station number, obtain the project file and upper and lower limit configuration table corresponding to the target station number; Based on the engineering file and the upper and lower limit configuration table, generate setting value information for the hard-wired signal in the target station number; the setting value information includes at least one of description, type, upper limit and lower limit; The setting value information is displayed in the setting value display area of the design page; In response to the design completion operation, a list of setting values is generated based on the setting value information.
2. The method according to claim 1, characterized in that, The step of generating the set value information of the hard-wired signal in the target station number based on the project file and the upper and lower limit configuration table includes: If a reference list corresponding to the target station number exists, the setting value information of the hard-wired signal in the target station number is generated according to the reference list, the project file, and the upper and lower limit configuration table.
3. The method according to claim 2, characterized in that, The method further includes: If the display status is an upgrade flag, the revision information of the setting value information relative to the benchmark list will be displayed in the setting value display area of the design page; If the content revision information is empty, then the baseline list is determined to be consistent with the project file and the upper and lower limit configuration table.
4. The method according to claim 2, characterized in that, The method further includes: In response to querying the benchmark list from a preset path, or in response to a list loading operation on the benchmark list, it is determined that a benchmark list corresponding to the target station number exists.
5. The method according to any one of claims 1-4, characterized in that, The method further includes: Configure a field-level edit lock for the set value information to prevent the set value information from being edited; If the setting value information also includes an initial value, the initial value is not configured with the field-level edit lock so that the setting value information is updated in response to the editing operation of the initial value.
6. The method according to any one of claims 1-4, characterized in that, The method further includes: The design page displays multiple category labels, and the setting value display area is used to display the setting value information under the selected current label among the multiple category labels. The setting value list includes sub-lists under multiple category labels. The category label of the setting value information is determined according to the device type of the hard-wired signal and / or the custom mark of the hard-wired signal in the upper and lower limit configuration table.
7. The method according to claim 1, characterized in that, The engineering file includes a functional diagram. In the setpoint information, the hardwired signal is identified by a variable name. Generating the setpoint information for the hardwired signal in the target station number based on the engineering file and the upper and lower limit configuration table includes: Based on the variable identifiers, description identifiers, page number identifiers, and remarks identifiers in the functional diagram, determine the variable name, description, reference drawing, and remarks; Based on the description and the variable names, construct the retrieval information; Based on the retrieval information, the matching index information is determined from the upper and lower limit configuration table; The type, upper limit, and lower limit are determined based on the type, upper limit, and lower limit corresponding to the matched index information.
8. A setpoint information management device, characterized in that, include: The first acquisition unit is used to acquire the project file and upper and lower limit configuration table corresponding to the target station number in response to the list generation operation for the target station number. The first generation unit is used to generate setting value information for the hard-wired signal in the target station number based on the project file and the upper and lower limit configuration table; the setting value information includes at least one of description, type, upper limit and lower limit; The first display unit is used to display the setting value information in the setting value display area of the design page; The second generation unit is used to generate a list of setting values based on the setting value information in response to the design completion operation.
9. A computer device, characterized in that, The computer device includes a processor and memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the set value information management method according to any one of claims 1-7 according to the instructions in the program code.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program, which, when executed by a processor, is used to perform the setpoint information management method according to any one of claims 1-7.