Digital instrument control system picture conversion method, device, equipment and computer program
By obtaining and converting the initial picture information of the digital instrument control system and determining the target configuration logic expression, the automation of DCS picture conversion is achieved, and the problem of low picture conversion efficiency in the existing technology is solved, and the efficiency and automation of the system are improved.
Patent Information
- Application Number
- CN202411778124.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-04-25
AI Technical Summary
The existing digital instrumentation and control system has low efficiency in DCS picture conversion, mainly because it requires manual translation of the DCS picture logic in the on-site unit as the logic that can be recognized by the auxiliary system.
By obtaining the information of each signal point and intermediate variable point on the initial screen of the digital instrument control system, we determine the signal point that needs to be performed locally, convert its information into the information of the intermediate variable point, and determine the target configuration logic expression based on this information, and finally convert the initial picture into the target picture.
Automatic DCS picture conversion is completed through electronic devices, which improves the efficiency of picture conversion, reduces manual intervention, and improves the automation level of the system.
Smart Images

Figure CN119882513A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of nuclear power plants, and in particular relates to a method, device, equipment and computer program for converting screens of a digital instrumentation and control system. Background Art
[0002] The digital instrumentation and control system (DCS) is a system widely used in nuclear power plants. The screen conversion of DCS refers to the conversion of the DCS screen in the on-site unit in the nuclear power plant to the DCS screen of the auxiliary system in the nuclear power plant.
[0003] In practical applications, in order to perform DCS screen conversion, it is usually necessary to obtain the logic of the DCS screen in the field unit, and then translate the logic of the DCS screen in the field unit into the logic that the auxiliary system can recognize. At present, the step of translating the logic of the DCS screen in the field unit into the logic that the auxiliary system can recognize is usually implemented manually, thereby reducing the efficiency of DCS screen conversion. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a digital instrumentation and control system screen conversion method, device, equipment and computer program to solve the technical problem of low efficiency of existing DCS screen conversion.
[0005] In a first aspect, an embodiment of the present application provides a method for converting screens of a digital instrumentation and control system, comprising:
[0006] Acquire first information of each first signal point and second information of each first intermediate variable point on an initial screen of the digital instrumentation and control system;
[0007] Determine a second signal point that needs to be locally calculated among each of the first signal points;
[0008] converting the third information of each of the second signal points into the fourth information of the second intermediate variable point;
[0009] Determine, according to the second information, a target configuration logic expression corresponding to each of the first intermediate variable points;
[0010] Determine, according to the fourth information, a target configuration logic expression corresponding to each of the second intermediate variable points;
[0011] The initial screen is converted into a target screen according to a target configuration logic expression corresponding to each of the first intermediate variable points and a target configuration logic expression corresponding to each of the second intermediate variable points.
[0012] Optionally, the step of obtaining first information of each first signal point and second information of each first intermediate variable point on an initial screen of the digital instrumentation and control system includes:
[0013] For each of the first signal points on each of the initial screens, obtaining the screen name information, icon number information, signal reference information, icon type information and data type information of the first signal point as the first information;
[0014] For each of the first intermediate variable points on each of the initial screens, the screen name information, icon number information, signal reference information, icon type information and data type information of the first intermediate variable point are obtained as the second information.
[0015] Optionally, after obtaining the first information of each first signal point and the second information of each first intermediate variable point on the initial screen of the digital instrumentation and control system, the method further includes:
[0016] The first information and the second information are sorted according to the picture name information and the icon number information of the first signal points and the picture name information and the icon number information of the first intermediate variable points.
[0017] Optionally, the determining the second signal point that needs to be locally calculated among the first signal points includes:
[0018] Each of the second signal points is determined according to the signal reference information and the icon type information of each of the first signal points.
[0019] Optionally, converting the third information of each of the second signal points into fourth information of the second intermediate variable point includes:
[0020] For each of the second signal points, the picture name information, the icon number information and the data type information of the second signal point are converted into the fourth information of the second intermediate variable point according to a preset conversion algorithm.
[0021] Optionally, determining, according to the second information, a target configuration logic expression corresponding to each of the first intermediate variable points, includes:
[0022] For each of the first intermediate variable points, the target configuration logic expression corresponding to the first intermediate variable point is determined according to the second information of the first intermediate variable point, the initial configuration logic expression corresponding to the first intermediate variable point, and the fifth information of the logic-related point of the first intermediate variable point.
[0023] Optionally, converting the initial screen into a target screen according to a target configuration logic expression corresponding to each of the first intermediate variable points and a target configuration logic expression corresponding to each of the second intermediate variable points includes:
[0024] The initial screen is converted into the target screen according to the current value of each of the first intermediate variable points, the target configuration logic expression corresponding to each of the first intermediate variable points, the current value of each of the second intermediate variable points, and the target configuration logic expression corresponding to each of the second intermediate variable points.
[0025] In a second aspect, an embodiment of the present application provides a digital instrumentation and control system screen conversion device, comprising:
[0026] An information acquisition unit, used to acquire first information of each first signal point and second information of each first intermediate variable point on an initial screen of the digital instrumentation and control system;
[0027] A first determining unit, configured to determine a second signal point that needs to be locally calculated among the first signal points;
[0028] A first conversion unit, configured to convert the third information of each of the second signal points into fourth information of a second intermediate variable point;
[0029] A second determining unit, configured to determine, according to the second information, a target configuration logic expression corresponding to each of the first intermediate variable points;
[0030] A third determining unit, configured to determine, according to the fourth information, a target configuration logic expression corresponding to each of the second intermediate variable points;
[0031] The second conversion unit is used to convert the initial screen into a target screen according to the target configuration logic expression corresponding to each of the first intermediate variable points and the target configuration logic expression corresponding to each of the second intermediate variable points.
[0032] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, each step in the method for converting screens of a digital instrumentation and control system as described in any one of the first aspects above is implemented.
[0033] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, each step in the digital instrumentation and control system screen conversion method as described in any one of the first aspects above is implemented.
[0034] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes each step in the digital instrumentation and control system screen conversion method as described in any one of the first aspects above.
[0035] The digital instrumentation and control system screen conversion method, device, equipment and computer program provided in the embodiments of the present application have the following beneficial effects:
[0036] In the digital instrumentation and control system screen conversion method provided in the embodiment of the present application, the electronic device first obtains the first information of the first signal point of the initial screen and the second information of the first intermediate variable point, then determines the second signal point in the first signal point that needs to be locally calculated, then converts the third information of the second signal point into the fourth information of the second intermediate variable point, and then determines the target configuration logic expression of each first intermediate variable point according to the second information, and then determines the target configuration logic expression of each second intermediate variable point according to the fourth information, and finally converts the initial screen into the target screen according to the target configuration logic expression of each first intermediate variable point and the target configuration logic expression of each second intermediate variable point. Since the execution subject of each step provided by the method is an electronic device, the screen conversion of DCS can be realized by the electronic device, which improves the efficiency of DCS screen conversion. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0038] Figure 1 A flowchart of a method for converting screens of a digital instrumentation and control system provided in an embodiment of the present application;
[0039] Figure 2 A schematic diagram of a screen configuration logic related point information provided by an embodiment of the present application;
[0040] Figure 3 A schematic diagram of a configuration input point provided in an embodiment of the present application;
[0041] Figure 4 A schematic diagram of a configuration attribute provided in an embodiment of the present application;
[0042] Figure 5 A schematic diagram of the structure of a digital instrumentation and control system screen conversion device provided in an embodiment of the present application;
[0043] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] It should be noted that the terms used in the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. In the description of the embodiments of the present application, unless otherwise specified, "multiple" refers to two or more than two, and "at least one", "one or more" refers to one, two or more. The terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, it is defined that the "first" and "second" features can explicitly or implicitly include one or more of the features.
[0045] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0046] The execution subject of the digital instrumentation and control system screen conversion method provided in the embodiment of the present application may include but is not limited to electronic devices such as mobile phones, tablet computers, laptop computers and desktop computers.
[0047] The digital instrumentation and control system screen conversion method provided in the embodiment of the present application can be applied to convert the DCS screen in the field unit of a nuclear power plant into the DCS screen of the auxiliary system in the nuclear power plant. Specifically, the user can perform each step of the digital instrumentation and control system screen conversion method provided in the embodiment of the present application through an electronic device, so that the DCS screen in the field unit of the nuclear power plant can be automatically converted into the DCS screen of the auxiliary system in the nuclear power plant through the electronic device.
[0048] See also Figure 1 , Figure 1 The following is a flowchart of a method for converting a screen of a digital instrumentation and control system provided in an embodiment of the present application. The method for converting a screen of a digital instrumentation and control system provided in an embodiment of the present application may include steps S101 to S106, which are described in detail as follows:
[0049] In S101, first information of each first signal point and second information of each first intermediate variable point on an initial screen of a digital instrumentation and control system are obtained.
[0050] In the embodiment of the present application, the electronic device first needs to obtain the first information of each first signal point and the second information of each first intermediate variable point on the initial screen of the digital instrumentation and control system.
[0051] The initial screen of the digital instrumentation and control system refers to the DCS screen in the on-site unit in the nuclear power plant. The DCS screen in the on-site unit in the nuclear power plant may include the status of each device and system in the nuclear power plant.
[0052] The number of initial pictures may be several, and each initial picture may include several first signal points and several first intermediate variable points.
[0053] In a possible implementation, the first information of each first signal point and the second information of each first intermediate variable point on the initial picture may be obtained through steps a and b, as described in detail as follows:
[0054] In step a, for each first signal point on each initial screen, the screen name information, icon number information, signal reference information, icon type information and data type information of the first signal point are obtained as the first information.
[0055] In this implementation, the electronic device can obtain the screen name information, icon number information, signal reference information, icon type information and data type information of each first signal point on each initial screen as the first information.
[0056] In step b, for each first intermediate variable point on each initial screen, the screen name information, icon number information, signal reference information, icon type information and data type information of the first intermediate variable point are obtained as the second information.
[0057] In this implementation, the electronic device can obtain the screen name information, icon number information, signal reference information, icon type information and data type information of each first intermediate variable point on each initial screen as the second information.
[0058] In practical applications, the specific method for distinguishing and determining the first signal point and the intermediate variable point can be set according to actual needs and is not limited here.
[0059] In one possible implementation, after the electronic device obtains the first information of each first signal point and the second information of each first intermediate variable point on the initial screen of the digital instrumentation and control system, it can sort the first information and the second information according to the screen name information and icon number information of each first signal point, as well as the screen name information and icon number information of each first intermediate variable point.
[0060] Among them, the picture name information of the first signal point is used to describe the picture name of the initial picture corresponding to the first signal point, the icon number information of the first signal point is used to describe the icon number of the first signal point, the picture name information of the first intermediate variable point is used to describe the picture name of the initial picture corresponding to the first intermediate variable point, and the icon number information of the first intermediate variable point is used to describe the icon number of the first intermediate variable point.
[0061] Specifically, the electronic device may first perform a first priority sorting on each first information and each second information according to the picture name information of each first signal point and the picture name information of each first intermediate variable point. After completing the first priority sorting, the electronic device may perform a second priority sorting on each first information and each second information according to the symbol number information of each first signal point and the symbol number information of each first intermediate variable point.
[0062] In the embodiment of the present application, the purpose of sorting the first information and the second information is to ensure that the second intermediate variable points obtained by subsequent screen configuration logic translation and conversion will not have a disordered correspondence with the target logical expression.
[0063] In S102, second signal points that need to be locally calculated are determined among the first signal points.
[0064] In the embodiment of the present application, after acquiring the first information of each first signal point on the initial screen of the digital instrumentation and control system, the electronic device may determine the second signal point that needs to be locally calculated among the first signal points.
[0065] The need to perform local calculations refers to the need to perform calculations on a control device corresponding to an initial screen of the digital instrumentation and control system.
[0066] In a possible implementation manner, the electronic device may determine each second signal point according to the signal reference information and the icon type information of each first signal point.
[0067] The signal reference information of the first signal point is used to describe the signal reference relationship of the first signal point, and the icon type information to which the first signal point belongs is used to describe the type of the icon to which the first signal point belongs.
[0068] In S103, the third information of each second signal point is converted into the fourth information of the second intermediate variable point.
[0069] In an embodiment of the present application, after determining the second signal point that needs to be locally calculated among each first signal point, the electronic device can convert the third information of each second signal point into the fourth information of the second intermediate variable point to complete the creation of a new intermediate variable point.
[0070] Specifically, the electronic device may convert the screen name information, icon number information and data type information of each second signal point into the fourth information of the second intermediate variable point according to a preset conversion algorithm.
[0071] In the embodiment of the present application, the fourth information of the second intermediate variable point may be the name of the second intermediate variable point.
[0072] The beneficial effect of the step of converting the third information of each second signal point into the fourth information of the second intermediate variable point is that in the prior art, the relevant points displayed on the DCS screen of the auxiliary system need to be first locally calculated in the device corresponding to the DCS screen in the field unit, and after the calculation is completed, the device corresponding to the DCS screen in the field unit sends the calculation result to the device corresponding to the DCS screen of the auxiliary system for display. However, through this step, the variables that need to be locally calculated can be converted into intermediate variables stored in the database, and the logical relationship is guaranteed to remain unchanged during the conversion process, so that a large number of variables that need to be locally calculated can be compressed into a small number of intermediate variables stored in the database, thereby improving the efficiency of obtaining the variable, and then improving the screen conversion efficiency of the DCS.
[0073] In S104, the target configuration logic expression corresponding to each first intermediate variable point is determined respectively according to the second information.
[0074] In the embodiment of the present application, after converting the third information of each second signal point into the fourth information of the second intermediate variable point, the electronic device can determine the target configuration logic expression corresponding to each first intermediate variable point respectively according to the second information.
[0075] The step of respectively determining the target configuration logic expression corresponding to each first intermediate variable point according to the second information is also the step of logical translation of the screen configuration.
[0076] In one possible implementation, the electronic device can determine, for each first intermediate variable point, the target configuration logic expression corresponding to the first intermediate variable point based on the second information of the first intermediate variable point, the initial configuration logic expression corresponding to the first intermediate variable point, and the fifth information of the logic-related point of the first intermediate variable point, thereby being able to obtain the target configuration logic expression corresponding to each first intermediate variable point.
[0077] The following provides an example to illustrate how to configure a target logic expression corresponding to a first intermediate variable point.
[0078] Taking a first intermediate variable point for high power alarm in a screen named "ARE432KM" as an example, the configuration logic of the first intermediate variable point is that when the power detected by the power detector numbered "3ARE401KS / XH01" is greater than the preset threshold, the corresponding position on the "ARE432KM" screen will display an alarm signal of a preset color.
[0079] First, you need to identify each configuration input point, and then determine the relationship between each signal point.
[0080] Specifically, the screen configuration logic related point information corresponding to the first intermediate variable point can be obtained first. Figure 2 , Figure 2 A schematic diagram of a screen configuration logic related point information provided by an embodiment of the present application. Figure 2 In the table, the P1 column indicates the screen name where the logically related point is located, the Ty column indicates the type of operation performed by the logically related point, Seq indicates the icon number of the operation type, and Subva indicates the logically related point information for the Ty column operation (including the point name in the database, the point name for the local operation, the text content displayed after the conditions are met, etc.). Figure 2 Taking the first line in as an example, the logic related point is the MELD_8PM operation on the 3ARE004YFU screen. The symbol number of the MELD_8PM operation is 033.1, and the signal received by the point is 3ARE 401KS___XH01YP01.
[0081] After that, you can get the configuration input points corresponding to the MELD_8PM operation. Figure 3 , Figure 3 A schematic diagram of a configuration input point provided in an embodiment of the present application. Figure 3 As shown, the MELD_8PM operation has two input points, one is 3ARE401KS / XH01 (a point existing in the database), and the other is the local variable point obtained after the "&" operation.
[0082] You can then obtain the configuration properties of the MELD_8PM operation. Figure 4 , Figure 4 A schematic diagram of a configuration attribute provided in an embodiment of the present application. Figure 4 Configure the properties of the MELD_8PM logic operation (033.1) according to Figure 4 It can be seen that for the points existing in the database, Que: P Point-ID is followed by the value 3ARE 401KS___XH01YP01, but Que: L LocVar is empty; and for the points using local calculations, Que: P Point-ID is empty, and Que: L LocVar has the value 033.2__.BIN, which means that the local variable uses the result (output) of the (033.2) configuration calculation as one of the inputs of the (033.1) configuration.
[0083] Then, the corresponding position of the configuration input point corresponding to the MELD_8PM operation in the database can be obtained. In the embodiment of the present application, the corresponding position of the configuration input point corresponding to the MELD_8PM operation in the database can be directly obtained from the point table database (that is, the database composed of the second information of each first intermediate variable point and the fourth information of each second intermediate variable point stored in the electronic device).
[0084] Since the data used in the target configuration logic expression must be in the point table database, it is necessary to determine the local variables that do not meet the above requirements. If one of the two inputs of the configuration operation 033.2 is a point in the point table database, and the other is a local variable input, then the relationship between the two input points and the 033.2___.BIN intermediate variable is obtained, that is, 3ARE 401KS______XH01YP01 and 033.3___.BIN are used to perform the configuration 033.2 operation to obtain 033.2___.BIN.
[0085] It can be seen that by processing the point table database through the screen configuration logic translation algorithm, the relationship between the input variables of each screen configuration can be identified.
[0086] After identifying the various configuration input points and then determining the relationship between the various signal points, logical calculations can be performed.
[0087] Continuing to take the first intermediate variable point for high power alarm in the screen named "ARE432KM" as an example, the logic operation rule of MELD_8PM is that when there is an input signal from the top of the configuration, there will be a corresponding display below. For example, when the signal generated by 3ARE 401KS / XH01 is sent to the "1" input port of MELD_8PM, the "H1" below it will change from hidden to displayed in the DCS screen, thereby realizing the high power alarm function of H1 on the DCS screen of 3ARE 401KS / XH01. The entire logic of this configuration can be expressed by the following expression:
[0088] 1*ARE 401KS / XH01+(-1)*033.2___.BIN(1)
[0089] When the expression evaluates to 1, H1 with a green background (high 1 alarm) is displayed. When the expression evaluates to -1, L1 with a green background (low 1 alarm) is displayed. When the expression evaluates to 0, no alarm is displayed on the screen.
[0090] 033.2___.BIN is the output of 033.2 configuration. From the point table database, we can know that 033.2 configuration performs "Logic_AND" operation. Therefore, the expression of 033.2___.BIN is as follows:
[0091] 033.2___.BIN=3ARE 401KS / XH01YP01&&033.3___.BIN
[0092] The same applies to 033.3___.BIN.
[0093] Finally, formula (1) can be transformed into the following formula:
[0094] 1*ARE 401KS / XH01+(-1)*
[0095] (3ARE 401KS / XH01YP01&&(not(ARE401KS / XH01YP01))) (2)
[0096] If only the screen configuration logic translation and calculation are performed, then formula (2) is the final expression used for screen dynamic calculation. If complex logic is encountered, calculation cannot be performed on the screen. However, if the logic point conversion is performed, the local variable of 033.2___.BIN will be converted to ARE0058L / XB88. Accordingly, formula (1) can be converted into the following formula:
[0097] 1*ARE 401KS / XH01+(-1)*ARE0058L / XB88
[0098] In this way, even very complex dynamic logic can be implemented on the DCS screen of the auxiliary system in the nuclear power plant.
[0099] After the auxiliary system in the nuclear power plant collects the DCS data into the database, it uses the logic formula obtained in the above example to calculate in the point table database, and then sends the result to the DCS screen of the auxiliary system in the nuclear power plant. Compared with the data transmission of the original screen, in addition to the logic becoming simpler, the variables of the local operation can also be stored in the database as intermediate variables for query and copying, which provides convenience for subsequent screen verification.
[0100] In S105, the target configuration logic expression corresponding to each second intermediate variable point is determined respectively according to the fourth information.
[0101] In the embodiment of the present application, in addition to determining the target configuration logic expression of each first intermediate variable point according to the second information, the electronic device can also determine the target configuration logic expression corresponding to each second intermediate variable point according to the fourth information.
[0102] The specific implementation method of the electronic device determining the target configuration logic expression corresponding to each second intermediate variable point according to the fourth information can be involved in the corresponding description of S105, which will not be repeated here.
[0103] In S106, the initial screen is converted into the target screen according to the target configuration logic expression corresponding to each first intermediate variable point and the target configuration logic expression corresponding to each second intermediate variable point.
[0104] In an embodiment of the present application, after obtaining the target configuration logic expression corresponding to each first intermediate variable point and the target configuration logic expression corresponding to each second intermediate variable point, the electronic device can convert the initial screen into the target screen according to the target configuration logic expression corresponding to each first intermediate variable point and the target configuration logic expression corresponding to each second intermediate variable point.
[0105] After converting the initial screen to the target screen, the electronic device can also perform consistency check on the initial screen and the target screen. Specifically, historical data can be used to drive the unit DCS to operate under steady-state or transient conditions, and data can be obtained from the XU (a server) in real time, and sent to a special database for processing, and the processed values can be sent to the auxiliary system for display. In theory, the unit DCS and the auxiliary system are driven by the same data, eliminating the interference of inconsistent screens caused by inconsistent time or inconsistent data. Therefore, whether it is a static screen or a dynamic screen, as long as there is an inconsistency, it means that the auxiliary system and the unit screen are actually inconsistent, and further modification is required.
[0106] It can be seen from the above that in the digital instrumentation and control system screen conversion method provided in the embodiment of the present application, the electronic device first obtains the first information of the first signal point of the initial screen and the second information of the first intermediate variable point, then determines the second signal point in the first signal point that needs to be locally calculated, and then converts the third information of the second signal point into the fourth information of the second intermediate variable point, and then determines the target configuration logic expression of each first intermediate variable point according to the second information, and then determines the target configuration logic expression of each second intermediate variable point according to the fourth information, and finally converts the initial screen into the target screen according to the target configuration logic expression of each first intermediate variable point and the target configuration logic expression of each second intermediate variable point. Since the execution subject of each step provided by the present method is an electronic device, the screen conversion of DCS can be realized by the electronic device, which improves the efficiency of DCS screen conversion.
[0107] Based on the digital instrumentation and control system screen conversion method provided in the above embodiment, the present application embodiment further provides a digital instrumentation and control system screen conversion device that implements the above method embodiment. Figure 5 , Figure 5 This is a schematic diagram of the structure of a digital instrumentation and control system screen conversion device provided in an embodiment of the present application. Figure 5 As shown, the digital instrument control system screen conversion device 50 may include: an information acquisition unit 51, a first determination unit 52, a first conversion unit 53, a second determination unit 54, a third determination unit 55 and a second conversion unit 56. Among them:
[0108] The information acquisition unit 51 is used to acquire first information of each first signal point and second information of each first intermediate variable point on the initial screen of the digital instrumentation and control system.
[0109] The first determining unit 52 is configured to determine a second signal point that needs to be locally calculated among the first signal points.
[0110] The first conversion unit 53 is used for converting the third information of each of the second signal points into the fourth information of the second intermediate variable point.
[0111] The second determining unit 54 is used to determine the target configuration logic expression corresponding to each of the first intermediate variable points according to the second information.
[0112] The third determining unit 55 is used to determine the target configuration logic expression corresponding to each of the second intermediate variable points according to the fourth information.
[0113] The second conversion unit 56 is used to convert the initial screen into a target screen according to the target configuration logic expression corresponding to each of the first intermediate variable points and the target configuration logic expression corresponding to each of the second intermediate variable points.
[0114] Optionally, the information acquisition unit 51 is specifically used for:
[0115] For each of the first signal points on each of the initial screens, obtaining the screen name information, icon number information, signal reference information, icon type information and data type information of the first signal point as the first information;
[0116] For each of the first intermediate variable points on each of the initial screens, the screen name information, icon number information, signal reference information, icon type information and data type information of the first intermediate variable point are obtained as the second information.
[0117] Optionally, the digital instrumentation and control system screen conversion device 50 may further include an information sorting unit.
[0118] The information sorting unit is specifically used for:
[0119] The first information and the second information are sorted according to the picture name information and the icon number information of the first signal points and the picture name information and the icon number information of the first intermediate variable points.
[0120] Optionally, the first determining unit 52 is specifically configured to:
[0121] Each of the second signal points is determined according to the signal reference information and the icon type information of each of the first signal points.
[0122] Optionally, the first conversion unit 53 is specifically configured to:
[0123] For each of the second signal points, the picture name information, the icon number information and the data type information of the second signal point are converted into the fourth information of the second intermediate variable point according to a preset conversion algorithm.
[0124] Optionally, the second determining unit 54 is specifically configured to:
[0125] For each of the first intermediate variable points, the target configuration logic expression corresponding to the first intermediate variable point is determined according to the second information of the first intermediate variable point, the initial configuration logic expression corresponding to the first intermediate variable point, and the fifth information of the logic-related point of the first intermediate variable point.
[0126] Optionally, the second conversion unit 56 is specifically configured to:
[0127] The initial screen is converted into the target screen according to the current value of each of the first intermediate variable points, the target configuration logic expression corresponding to each of the first intermediate variable points, the current value of each of the second intermediate variable points, and the target configuration logic expression corresponding to each of the second intermediate variable points.
[0128] See also Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device 6 provided in this embodiment may include: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60, such as a program corresponding to the digital instrumentation and control system screen conversion method. When the processor 60 executes the computer program 62, the steps in the embodiment of the digital instrumentation and control system screen conversion method are implemented, such as Figure 1 Alternatively, when the processor 60 executes the computer program 62, the functions of each module / unit in the above-mentioned digital instrument control system screen conversion device embodiment are realized, for example Figure 5 The functions of the units 51 to 56 are shown.
[0129] Exemplarily, the computer program 62 may be divided into one or more modules / units, one or more modules / units are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the electronic device 6. For example, the computer program 62 may be divided into an information acquisition unit 51, a first determination unit 52, a first conversion unit 53, a second determination unit 54, a third determination unit 55, and a second conversion unit 56. For the specific functions of each unit, please refer to Figure 5 The relevant descriptions in the corresponding embodiments are not repeated here.
[0130] Those skilled in the art will understand that Figure 6 The electronic device 6 is merely an example and does not limit the electronic device 6 , and may include more or less components than those shown in the figure, or may combine certain components, or may include different components.
[0131] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0132] The memory 61 may be an internal storage unit of the electronic device 6, such as a hard disk or memory of the electronic device 6. The memory 61 may also be an external storage device of the electronic device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, or a flash card, etc., equipped on the electronic device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the electronic device 6. The memory 61 is used to store computer programs and other programs and data required by the electronic device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
[0133] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional units as needed, that is, the internal structure of the digital instrumentation and control system screen conversion device can be divided into different functional units to complete all or part of the functions described above. The functional units in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0134] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0135] An embodiment of the present application provides a computer program product. When the computer program product is executed on a terminal device, the terminal device implements the steps in the above-mentioned various method embodiments.
[0136] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0137] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0138] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for converting screens of a digital instrumentation and control system, characterized in that: include: Acquire first information of each first signal point and second information of each first intermediate variable point on an initial screen of the digital instrumentation and control system; Determine a second signal point that needs to be locally calculated among each of the first signal points; converting the third information of each of the second signal points into the fourth information of the second intermediate variable point; Determine, according to the second information, a target configuration logic expression corresponding to each of the first intermediate variable points; Determine, according to the fourth information, a target configuration logic expression corresponding to each of the second intermediate variable points; The initial screen is converted into a target screen according to a target configuration logic expression corresponding to each of the first intermediate variable points and a target configuration logic expression corresponding to each of the second intermediate variable points.
2. The method according to claim 1, characterized in that The step of obtaining first information of each first signal point and second information of each first intermediate variable point on the initial screen of the digital instrumentation and control system includes: For each of the first signal points on each of the initial screens, obtaining the screen name information, icon number information, signal reference information, icon type information and data type information of the first signal point as the first information; For each of the first intermediate variable points on each of the initial screens, the screen name information, icon number information, signal reference information, icon type information and data type information of the first intermediate variable point are obtained as the second information.
3. The method according to claim 2, characterized in that After obtaining the first information of each first signal point and the second information of each first intermediate variable point on the initial screen of the digital instrumentation and control system, the method further includes: The first information and the second information are sorted according to the picture name information and the icon number information of the first signal points and the picture name information and the icon number information of the first intermediate variable points.
4. The method according to claim 2, characterized in that: The determining of the second signal point that needs to be locally calculated among the first signal points includes: Each of the second signal points is determined according to the signal reference information and the icon type information of each of the first signal points.
5. The method according to claim 2, characterized in that: The converting the third information of each of the second signal points into the fourth information of the second intermediate variable point comprises: For each of the second signal points, the picture name information, the icon number information and the data type information of the second signal point are converted into the fourth information of the second intermediate variable point according to a preset conversion algorithm.
6. The method according to claim 1, characterized in that The step of determining, according to the second information, the target configuration logic expression corresponding to each of the first intermediate variable points, comprises: For each of the first intermediate variable points, the target configuration logic expression corresponding to the first intermediate variable point is determined according to the second information of the first intermediate variable point, the initial configuration logic expression corresponding to the first intermediate variable point, and the fifth information of the logic-related point of the first intermediate variable point.
7. The method according to any one of claims 1 to 6, characterized in that: The converting the initial screen into the target screen according to the target configuration logic expression corresponding to each of the first intermediate variable points and the target configuration logic expression corresponding to each of the second intermediate variable points comprises: The initial screen is converted into the target screen according to the current value of each of the first intermediate variable points, the target configuration logic expression corresponding to each of the first intermediate variable points, the current value of each of the second intermediate variable points, and the target configuration logic expression corresponding to each of the second intermediate variable points.
8. A digital instrumentation and control system screen conversion device, characterized in that: include: An information acquisition unit, used to acquire first information of each first signal point and second information of each first intermediate variable point on an initial screen of the digital instrumentation and control system; A first determining unit, configured to determine a second signal point that needs to be locally calculated among the first signal points; A first conversion unit, configured to convert the third information of each of the second signal points into fourth information of a second intermediate variable point; A second determining unit, configured to determine, according to the second information, a target configuration logic expression corresponding to each of the first intermediate variable points; A third determining unit, configured to determine, according to the fourth information, a target configuration logic expression corresponding to each of the second intermediate variable points; The second conversion unit is used to convert the initial screen into a target screen according to the target configuration logic expression corresponding to each of the first intermediate variable points and the target configuration logic expression corresponding to each of the second intermediate variable points.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, each step of the digital instrumentation and control system screen conversion method as described in any one of claims 1 to 7 is implemented.
10. A computer program, characterized in that When the computer program is executed by the processor, each step of the screen conversion method of the digital instrumentation and control system as claimed in any one of claims 1 to 7 is implemented.