Control client, screen configuration method, electronic device and storage medium
By introducing the dynamic variable module, variable replacement module and master creation module into the management and control client, the problem of heavy repetitive workload when configuring production line screens in industrial control is solved, efficient configuration and modification are achieved, and the work of engineers is improved. efficiency.
Patent Information
- Application Number
- CN202311261303.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-09-26
AI Technical Summary
In the field of industrial control, engineers have a large number of duplicate screens when configuring production line screens, resulting in a heavy workload for modification, and the workload for modifying details in the later stages of the project is also huge.
A management and control client is provided, including a dynamic variable module, a variable replacement module, and a master creation module. Through dynamic variables, variable replacement, and master applications, the work of configuring duplicate configuration pages is reduced and configuration efficiency is improved.
Dynamic variables are used through the dynamic variable module configuration association, the variable replacement module quickly replaces variable sequences, and the master module realizes synchronous update of templates, which significantly reduces configuration duplication and improves configuration efficiency.
Smart Images

Figure CN117539200B
Abstract
Description
Technical Field
[0001] The present application relates to the field of production line monitoring technology, and in particular to a control client, a screen configuration method, an electronic device and a storage medium. Background Art
[0002] In the field of industrial control, when engineers configure production line screens, there are a large number of duplicate screens. Local details in the screens need to be modified one by one, which requires a lot of modification work.
[0003] Based on this, the present application provides a management and control client, a screen configuration method, an electronic device and a storage medium to improve the existing technology. Summary of the invention
[0004] The purpose of this application is to provide a control client, a screen configuration method, an electronic device and a storage medium to reduce the work of configuring repeated configuration pages and improve configuration efficiency.
[0005] The purpose of this application is achieved by the following technical solutions:
[0006] In a first aspect, the present application provides a management and control client for configuring a monitoring screen of a production line, wherein the management and control client is provided with a dynamic variable module;
[0007] The dynamic variable module includes: a variable group creation control, a variable element interface and a dynamic control interface;
[0008] The variable group creation control is used to configure the identification information of the variable group of the monitoring screen;
[0009] The variable element interface is used to configure at least one dynamic variable of the variable group;
[0010] The dynamic control interface is used to configure control variables, and to switch each dynamic variable of the variable group to a corresponding target variable according to a control value of the control variable; wherein each control value is associated with a group of target variables.
[0011] In some optional embodiments, the dynamic variable module further includes a target variable configuration interface, and the target variable configuration interface is provided with a longitudinal expansion area and a lateral expansion area;
[0012] The vertical expansion area is used to configure the format, starting value and number of rows of the target variable, and expands incrementally from the starting value according to the number of rows;
[0013] The horizontal expansion area is used to replace the format of the target variable of the current row with the identification prefix of each dynamic variable of the variable group.
[0014] In some optional embodiments, the management and control client is further provided with a variable replacement module;
[0015] The variable replacement module includes: a variable replacement button and a variable replacement interface;
[0016] The variable replacement button is used to display the variable replacement interface in a floating layer form after being clicked;
[0017] The variable replacement interface is used to replace the initial variable sequence of the monitoring screen with a new variable sequence, wherein the associated configuration items of the initial variable sequence are replaced with the associated configuration items of the new variable sequence.
[0018] In some optional embodiments, the management and control client is further provided with a master creation module, a master application module and a master editing module;
[0019] The master creation module is used to configure the master information of the monitoring screen, and the master information includes one or more of the following: master identification, master category, canvas size and background color;
[0020] The master template application module is used to set the configured preset master template as the canvas background of the monitoring screen;
[0021] The master editing module is used to configure the control style of the preset master.
[0022] In a second aspect, the present application provides a screen configuration method for configuring a monitoring screen of a production line using any of the above-mentioned control clients, wherein the control client is provided with a dynamic variable module, and the dynamic variable module includes: a variable group creation control, a variable element interface, and a dynamic control interface;
[0023] The method comprises:
[0024] Using the variable group creation control to configure the identification information of the variable group of the monitoring screen;
[0025] configuring at least one dynamic variable of the variable group using the variable element interface;
[0026] The control variables are configured using the dynamic control interface, and each dynamic variable of the variable group is switched to a corresponding target variable according to a control value of the control variable; wherein each control value is associated with a group of target variables.
[0027] In some optional embodiments, the dynamic variable module further includes a target variable configuration interface, and the target variable configuration interface is provided with a longitudinal expansion area and a lateral expansion area;
[0028] The method further comprises:
[0029] The format, starting value and number of rows of the target variable are configured using the vertical expansion area, and the expansion is incrementally started from the starting value according to the number of rows;
[0030] The horizontal expansion area is used to replace the format of the target variable of the current row with the identification prefix of each dynamic variable of the variable group.
[0031] In some optional embodiments, the management and control client is further provided with a variable replacement module, and the variable replacement module includes: a variable replacement button and a variable replacement interface;
[0032] The method further comprises:
[0033] In response to a click operation on the variable replacement button, displaying the variable replacement interface in a floating layer form;
[0034] The variable replacement interface is used to replace the initial variable sequence of the monitoring screen with a new variable sequence, wherein the associated configuration items of the initial variable sequence are replaced with the associated configuration items of the new variable sequence.
[0035] In some optional embodiments, the management and control client is further provided with a master creation module, a master application module and a master editing module;
[0036] The method further comprises:
[0037] The master creation module is used to configure the master information of the monitoring screen, wherein the master information includes one or more of the following: master identification, master category, canvas size and background color;
[0038] Using the master application module to set the configured master as the canvas background of the monitoring screen;
[0039] The master editing module is used to configure the control style of the production line common area of the monitoring screen.
[0040] In a third aspect, the present application provides an electronic device for configuring a monitoring screen of a production line using any of the above-mentioned control clients, wherein the control client is provided with a dynamic variable module, and the dynamic variable module includes: a variable group creation control, a variable element interface, and a dynamic control interface;
[0041] The electronic device comprises a memory and at least one processor, the memory stores a computer program, and the at least one processor is configured to implement the following steps when executing the computer program:
[0042] Using the variable group creation control to configure the identification information of the variable group of the monitoring screen;
[0043] configuring at least one dynamic variable of the variable group using the variable element interface;
[0044] The control variables are configured using the dynamic control interface, and each dynamic variable of the variable group is switched to a corresponding target variable according to a control value of the control variable; wherein each control value is associated with a group of target variables.
[0045] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by at least one processor, it implements the steps of any of the above methods or implements the functions of the above electronic device.
[0046] The technical solution provided by the present application has at least the following beneficial effects: by setting the control variable value, the control variable controls the associated specific variables. Specifically, the configuration page configuration association uses dynamic variables, and the control variable can control the actual IO variables associated with the dynamic variables, thereby reducing the work of configuring repeated configuration pages and improving configuration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The present application is further described below in conjunction with the accompanying drawings and implementation methods.
[0048] Figure 1 A schematic diagram of a variable group new creation control provided in an embodiment of the present application.
[0049] Figure 2 It is a schematic diagram of a variable element interface provided in an embodiment of the present application.
[0050] Figure 3 It is a schematic diagram of a dynamic control interface provided in an embodiment of the present application.
[0051] Figure 4 It is a schematic diagram of a target variable configuration interface provided in an embodiment of the present application.
[0052] Figure 5 It is a schematic diagram of a variable replacement interface provided in an embodiment of the present application.
[0053] Figure 6 It is a schematic diagram of configuring a public template provided in an embodiment of the present application.
[0054] Figure 7 It is a schematic diagram of a configuration monitoring screen provided in an embodiment of the present application.
[0055] Figure 8 It is a schematic diagram of another configuration monitoring screen provided in an embodiment of the present application.
[0056] Fig. 9 It is a schematic diagram of creating a master provided in an embodiment of the present application.
[0057] Fig.10 This is another schematic diagram of creating a master provided in an embodiment of the present application.
[0058] Fig.11 This is another schematic diagram of creating a master provided in an embodiment of the present application.
[0059] Fig.12 It is a schematic diagram of an application master provided in an embodiment of the present application.
[0060] Fig.13 It is a schematic diagram of an editing master provided in an embodiment of the present application.
[0061] Fig.14 It is a schematic diagram of another editing master provided in an embodiment of the present application.
[0062] Fig.15 This is a schematic diagram of another editing master provided in an embodiment of the present application.
[0063] Fig.16 It is a flowchart of a screen configuration method provided in an embodiment of the present application.
[0064] Fig.17 It is a structural block diagram of an electronic device provided in an embodiment of the present application.
[0065] Fig.18 It is a structural diagram of a computer program product provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] The following describes the implementation methods of the present application through specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the various embodiments of the present disclosure generally described and shown in the accompanying drawings here can be combined with each other without conflict, and the structural components or functional modules therein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the present disclosure claimed for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.
[0067] The terms used in the disclosure of this application are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure. The singular forms of "a", "said" and "the" used in the present disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0068] When engineers configure production line screens, there are a large number of duplicate screens, which results in a huge configuration workload. In addition, modifications to certain details in the later stages of the project will also result in a huge amount of modification workload.
[0069] Specifically, there are three major application scenarios that need to be improved in the production line configuration screen.
[0070] Scenario 1: Overall picture reuse
[0071] In the production line screen, there are multiple valves. The configuration screens of each valve are the same, and only the variables associated with their controls are different. At the same time, the variable names of each screen are sequential. It is expected that they can be configured quickly and the variables can be associated according to the sequence.
[0072] Scenario 2: Partial screen reuse
[0073] The control combination serves as the common area of each main interface, such as defining the menu bar of the monitoring screen. The functions, styles, variable associations, etc. of the controls in the area are completely consistent. It is expected that the common area settings will be modified and updated synchronously in the application screen so that the configuration can be modified with one click.
[0074] When configuring the production line screen, the same equipment exists in the screen with the same configuration layout, but different styles and variable associations. It is expected to reference the template and complete the configuration by changing it according to actual needs.
[0075] Scenario 3: Reuse of filter conditions
[0076] When configuring the output data screen for all production lines, the corresponding display or setting content of the output parameters of each production line is the same. If you want to select the corresponding production line output parameter, query the corresponding data chart so that the data chart can be reused for quick configuration;
[0077] When configuring a single production line data screen, the corresponding display or setting contents of the production line output and energy consumption parameters are different. If you want to select different parameters, call the corresponding data template and query the corresponding data chart to call the template for flexible configuration.
[0078] Based on this, the present application provides a control client, a screen configuration method, an electronic device and a storage medium to reduce the work of configuring repeated configuration pages and improve configuration efficiency. Specifically, the present application supports static reuse and local control variable replacement; in addition, it also supports dynamic reuse, adding dynamic variables, control-associated dynamic variables, and the control variables control the associated specific variables; and supports public area templates, and the template content can be modified and maintained consistent.
[0079] See also Figures 1 to 3 ,in, Figure 1 A schematic diagram of a variable group creation control provided in an embodiment of the present application, Figure 2 is a schematic diagram of a variable element interface provided in an embodiment of the present application, Figure 3 It is a schematic diagram of a dynamic control interface provided in an embodiment of the present application.
[0080] The control client is used to configure the monitoring screen of the production line, and the control client is provided with a dynamic variable module;
[0081] The dynamic variable module includes: a variable group creation control, a variable element interface and a dynamic control interface;
[0082] The variable group creation control is used to configure the identification information of the variable group of the monitoring screen;
[0083] The variable element interface is used to configure at least one dynamic variable of the variable group;
[0084] The dynamic control interface is used to configure control variables, and to switch each dynamic variable of the variable group to a corresponding target variable according to a control value of the control variable; wherein each control value is associated with a group of target variables.
[0085] In the embodiment of the present application, the management and control client is a CMS management and control integrated system.
[0086] In one embodiment, click on the dynamic variable under the development version project-variable management node to start configuring the dynamic control relationship and prepare for dynamic reuse.
[0087] See also Figure 1 , the variable group creation control includes a variable management node. Click the variable management node and pull down to display the dynamic variable button. Right-click the dynamic variable button and select Create a dynamic variable group. The variable group creation page is displayed in a floating form. The variable group name input box and the Create button are set in the variable group creation page. After entering the variable group name, click the Create button to complete the creation of the dynamic variable group. In the embodiment of the present application, the name of the variable group (i.e., the identification information of the variable group) can be a motor, a barrel valve, a pump, etc.
[0088] After creating a variable group, start configuring at least one dynamic variable in the variable group.
[0089] See also Figure 2 , click the variable element tab (variable element interface), create variables of the class group, such as creating related variables of motor class monitoring parameters. Specifically, the variable element interface is provided with a variable prefix input box, a batch add button, a new button, a delete button, a save button, an import button, an export button and a first variable preview area. The variable prefix input box is used to enter the variable prefix, such as motor. The variable prefix can also be automatically generated according to the identification information of the variable group without user input. Among them, the first variable preview area can be in the form of a variable list, and the first variable preview area is used to display the variable name, variable description and data type of each dynamic variable.
[0090] For example, the motor variable group creates three dynamic variables, the variable names are motor_state, motor_setValue and motor_actValue, the variable descriptions are motor state, motor set value (set speed) and motor actual value (actual speed), and the data types are binary variable, F32-bit floating point number IEEE754, and F32-bit floating point number IEEE754.
[0091] The variable prefix is used as the class identifier, such as motor. When creating a new variable, the variable prefix is automatically generated from the variable name, which can reduce the input burden. At the same time, in subsequent dynamic control, it is recognized and replaced, and motor1 / 2 / 3 can be instantiated quickly.
[0092] After the dynamic variable configuration is completed, configure the control variable, and the dynamic variable will switch to the corresponding target variable.
[0093] See also Figure 3 , click the Dynamic Control tab (Dynamic Control interface), configure the control variable, and when the control value of the control variable is a certain value, the dynamic variable will switch to the corresponding target variable.
[0094] Specifically, the dynamic control interface is provided with a control variable drop-down button, a quick configuration button, a variable selection button, a new button, a delete button, an import button, an export button, and a second variable preview area. By clicking the control variable drop-down button, you can select the configured control variable, and then enter the corresponding control value to switch each dynamic variable of the variable group to the corresponding target variable. Among them, the second variable preview area can be in the form of a control relationship list.
[0095] For example, the control variable is T1, when T1=1 (control value is 1), the class variable (dynamic variable) motor_state is replaced by the instance variable (target variable) motor1_state; the class variable (dynamic variable) motor_setValue is replaced by the instance variable (target variable) motor1_setValue; the class variable (dynamic variable) motor_actValue is replaced by the instance variable (target variable) motor1_actValue. When T1=2, 3, the mapping relationship of class variable (dynamic variable)-control variable value-instance variable (target variable) can be defined in the same way.
[0096] When T1=2 (control value is 2), the class variable (dynamic variable) motor_state is replaced by the instance variable (target variable) motor2_state; the class variable (dynamic variable) motor_setValue is replaced by the instance variable (target variable) motor2_setValue; the class variable (dynamic variable) motor_actValue is replaced by the instance variable (target variable) motor2_actValue.
[0097] When T1=3 (control value is 3), the class variable (dynamic variable) motor_state is replaced by the instance variable (target variable) motor3_state; the class variable (dynamic variable) motor_setValue is replaced by the instance variable (target variable) motor3_setValue; the class variable (dynamic variable) motor_actValue is replaced by the instance variable (target variable) motor3_actValue.
[0098] This application first defines the dynamic variable elements, and then configures the dynamic control relationship, such as defining the relevant dynamic variables of the motor monitoring parameters. When the control variable is configured as motor 1, the associated dynamic variable will switch to the specific variable of motor 1 (i.e., the target variable). This process is dynamically controlled by the variable. By setting the control variable value, the control variable controls the associated specific variable. Specifically, the configuration page configures the associated use of dynamic variables, and the control variable can control the actual IO variable associated with the dynamic variable, thereby reducing the work of configuring repeated configuration pages and improving configuration efficiency.
[0099] In some embodiments, the dynamic variable module further includes a target variable configuration interface, wherein the target variable configuration interface is provided with a longitudinal expansion area and a lateral expansion area;
[0100] The vertical expansion area is used to configure the format, starting value and number of rows of the target variable, and expands incrementally from the starting value according to the number of rows;
[0101] The horizontal expansion area is used to replace the format of the target variable of the current row with the identification prefix of each dynamic variable of the variable group.
[0102] By setting the target variable configuration interface, you can quickly configure the target variables. Specifically, there are three ways to configure the target variables. The first way: in the variable list, double-click a cell or select a cell and click the Select Variable button in the upper right corner of the dynamic control interface to configure the target variables one by one. The second way: click the Quick Configuration button in the upper right corner of the dynamic control interface to quickly configure the target variables. The third way: click the Import button in the upper right corner of the dynamic control interface to directly import the configuration.
[0103] The following describes the configuration rules for the quick configuration button:
[0104] For the control relationship list, the configuration is quickly expanded according to the rules. Because the vertical direction is a certain dynamic variable (class variable), different target variables are switched at different control values, that is, the expansion of a certain type of attribute is multi-instance attribute, such as the motor state, which is expanded to motor 1 state, motor 2 state and motor 3 state. The horizontal direction is the corresponding dynamic variable (class variable) switching the corresponding target variable under a certain control value, that is, the switching of a certain instance, including all instance attributes, such as switching to the variable of the instance (motor 1) when the control value is 1.
[0105] See also Figure 4 , Figure 4 It is a schematic diagram of a target variable configuration interface provided in an embodiment of the present application.
[0106] The target variable configuration interface (Quick Configuration tab) is provided with a vertical expansion area and a horizontal expansion area, wherein the vertical expansion area includes a format input box, a starting value input box, and a number of rows input box. The format input box is used to enter the format of the target variable, the starting value input box is used to enter the starting value of the target variable, and the number of rows input box is used to enter the number of rows of the target variable.
[0107] The vertical expansion process includes: according to the content of [format+starting value], the sequence marked with wildcard ? is expanded incrementally starting from the starting value, each line is expanded to the current line format sequence, and the identification prefix (class identification) of the @ dynamic variable is replaced.
[0108] The process of horizontal expansion includes: replacing the @dynamic variable identifier prefix (class identifier) with the current line format sequence.
[0109] The range of rapid expansion is based on the selected cell, expanding downward to m rows (m is the number of configured rows) and rightward to n columns (n is the number of dynamic variable columns). If the control value is the starting cell, it will be expanded incrementally in the current row format sequence. For example, if the control value 1 is the starting cell, the control value will also be expanded to motor1, motor2, and motor3.
[0110] For example: The format of the target variable is: motor?; Starting value: 1; Number of rows: 3.
[0111] If the starting cell is the target variable, it will be expanded horizontally to replace @motor with motor1, and the class attributes (state, setValue, actValue) will be added, and it will automatically expand horizontally to the motor1_state, motor1_setValue, and motor1_actValue target variables.
[0112] The vertical direction starts from motor1 and increases to motor3, replacing @motor one by one, adding class attributes (state / setValue / actValue), and comprehensively expanding horizontally and vertically to quickly configure 3 motor control instances, namely:
[0113] First line: motor1_state, motor1_setValue, motor1_actValue;
[0114] Second line: motor2_state, motor2_setValue, motor2_actValue;
[0115] The third line: motor3_state, motor3_setValue, motor3_actValue.
[0116] In some embodiments, the management and control client is further provided with a variable replacement module;
[0117] The variable replacement module includes: a variable replacement button and a variable replacement interface;
[0118] The variable replacement button is used to display the variable replacement interface in a floating layer form after being clicked;
[0119] The variable replacement interface is used to replace the initial variable sequence of the monitoring screen with a new variable sequence, wherein the associated configuration items of the initial variable sequence are replaced with the associated configuration items of the new variable sequence.
[0120] By setting up the variable replacement module, it supports batch replacement of applications according to the prefix and suffix rules of the variable name. For example, when configuring the production line monitoring screen, the same equipment / spare parts screen is basically the same, only the variables associated with its controls are different, and the variable names are serial. Through the variable replacement function, each control does not need to be re-associated with the variable one by one. By finding the original serial number mark of the variable and replacing it with the new serial number mark, the variables can be configured in batches and the screen can be reused quickly.
[0121] See also Figure 5, Figure 5 It is a schematic diagram of a variable replacement interface provided in an embodiment of the present application.
[0122] In one embodiment, a screen of bucket valve PH1303A has been created, and the screen of bucket valve PH1303B has the same content as the screen, except for the associated variables. The PH1303A screen is now copied to create the PH1303B screen.
[0123] First, select the control for which variables need to be replaced (if the default screen is not selected, select the entire range for variable replacement), click the Variable Replacement button on the toolbar at the top of the client, and the variable replacement configuration window (i.e., variable replacement interface) will pop up. The replacement configuration window is equipped with a Find Content box, a Replace button, a Withdraw button, a Save button, and a Cancel button. Enter the content you want to replace in the Find Content box, and enter the content you want to replace in the Replace Content box. For example, the variable sequence CD_XV_PH1303A of the old screen is replaced with CD_XV_PH1303B. Click the Replace button to get feedback on the replacement result.
[0124] After checking, click Save to replace the associated configuration items of the original variable sequence (initial variable sequence) with the updated variable sequence (new variable sequence). A variable may be associated with multiple places. After the replacement, all associated configuration items involving the original variable sequence must be updated to the associated configuration items of the new variable sequence.
[0125] For example, the initial variable sequence CD_XV_PH1303A has 9 associated configuration items, which are:
[0126] CD_XV_PH1303A_RAM_mode, CD_XV_PH1303A_RCIose_1, CD_XV_PH1303A-ROrive_Q, CD_XV_PH1303A_RRuning, CDXV_PH13 03A_Rstatus, CD_XV_PH1303A_WDisplaymode, CD_XV_PH1303A_WReset, CD_XV_PH1303A_WStart, CD_XV_PH1303A_WStop.
[0127] After variable replacement, the nine associated configuration items associated with CD_XV_PH1303B are replaced, which are:
[0128] COXV_PH1303B_RAM_mode, CD_XV_PH1303B_RCIose_1, CD_XV_PH1303B-ROrive_Q, CD_XV_PH1303B_RRuning, CDXV_PH130 3B_Rstatus, CD_XV_PH1303B_WDisplaymode, CD_XV_PH1303B_WReset, CD_XV_PH1303B_WStart, CD_XV_PH1303B_WStop.
[0129] See also Figure 6 , Figure 6 It is a schematic diagram of configuring a public template provided in an embodiment of the present application.
[0130] Configure a common template in the monitoring screen, such as configuring the monitoring screen of the motor, and associate its controls with the dynamic variables of the motor class. At the same time, configure the control relationship, such as associating control variables through a drop-down combo box, and pulling down to select and switch the monitoring screen of each motor.
[0131] First, define the motor group variables (dynamic variables) and the corresponding relationship between the control variable value and the target variable that is dynamically controlled to switch to motor 1 / 2 / 3. In the motor monitoring template, associate the motor group variables (dynamic variables) and configure the control variable's sending control, and then dynamically control the variables associated with the switching template, such as switching to the variables of motor 1 / 2 / 3.
[0132] See also Figure 7 and Figure 8 , Figure 7 is a schematic diagram of a configuration monitoring screen provided in an embodiment of the present application, Figure 8 is a schematic diagram of another configuration monitoring screen provided by the embodiment of the present application. Click the drop-down button to select Motor 3 (such as Figure 7 ), the variables related to switching from motor 1 to motor 3 (such as Figure 8 shown).
[0133] In some embodiments, the management and control client is further provided with a master creation module, a master application module and a master editing module;
[0134] The master creation module is used to configure the master information of the monitoring screen, and the master information includes one or more of the following: master identification, master category, canvas size and background color;
[0135] The master template application module is used to set the configured preset master template as the canvas background of the monitoring screen;
[0136] The master editing module is used to configure the control style of the preset master.
[0137] In one embodiment, there are three ways to create a master.
[0138] Method 1: Select the component in the monitoring screen and convert the master.
[0139] See also Fig. 9 , Fig. 9 This is a schematic diagram of creating a master provided by an embodiment of the present application. The master creation module includes a switch master button, and the master information includes a master identifier (name) and a master category. Specifically, select the screen control, click the switch master button in the upper right corner of the window, and a pop-up window will pop up to set the name and category of the master. After confirmation, you can view the created master in the master management and master library.
[0140] Method 2: Create a new master in the master library.
[0141] See also Fig.10 , Fig.10 This is another schematic diagram of creating a master provided by an embodiment of the present application. The master creation module includes a create master button. Specifically, click the master library, click the create master button, and a pop-up window will pop up to set the name and category of the master. After confirmation, you can start configuring the master content in the blank master.
[0142] Method 3: Create a new master in the Master Manager.
[0143] See also Fig.11 , Fig.11 This is another schematic diagram of creating a master provided by an embodiment of the present application. The master creation module includes a new master button, and the master information includes the master identifier (name), master category, canvas size, and background color. Click the screen master node of the project, and under the corresponding category, click the new master button. A pop-up window will be displayed to set the name, reference canvas size, and color of the master. After confirmation, you can start configuring the master content in the blank master.
[0144] See also Fig.12 , Fig.12 It is a schematic diagram of an application master provided in an embodiment of the present application.
[0145] In one embodiment, when configuring the monitoring screen, click the master library, drag the required master to the monitoring screen canvas, or double-click the master to apply it directly, or right-click the master and click Apply.
[0146] After the master is applied, it will be marked with a mask, and support hidden marking to avoid affecting the preview of the configuration effect;
[0147] The controls in the master applied on the monitoring screen do not support selection and adjustment, that is, the master cannot be modified directly in this screen. You need to double-click to enter the corresponding master production for adjustment;
[0148] Supports master template unbinding. You can unbind by selecting the master template and right-clicking it. After unbinding, the control elements can be adjusted independently.
[0149] In one embodiment, there are three ways to edit a master.
[0150] Method 1: Select the master template in the monitoring screen, double-click to enter the master template production and make adjustments. Fig.13 , Fig.13 It is a schematic diagram of an editing master provided in an embodiment of the present application.
[0151] Method 2: In the Master Library, right-click the master and click Enter Master Production to make adjustments. Fig.14 , Fig.14 It is a schematic diagram of another editing master provided in an embodiment of the present application.
[0152] Method 3: In the Master Manager, click Master to enter the Master Creation process and make adjustments. Fig.15 , Fig.15 This is a schematic diagram of another editing master provided in an embodiment of the present application.
[0153] After editing, the screens to which this master template is applied will be updated synchronously, allowing configuration changes to be completed with just one click.
[0154] See also Fig.16 , Fig.16 It is a flowchart of a screen configuration method provided in an embodiment of the present application.
[0155] The method is used to configure the monitoring screen of the production line using any of the above-mentioned control clients, wherein the control client is provided with a dynamic variable module, and the dynamic variable module includes: a variable group creation control, a variable element interface and a dynamic control interface;
[0156] The method comprises:
[0157] Step S101: using the variable group creation control to configure the identification information of the variable group of the monitoring screen;
[0158] Step S102: configuring at least one dynamic variable of the variable group using the variable element interface;
[0159] Step S103: configuring control variables using the dynamic control interface, and switching each dynamic variable of the variable group to a corresponding target variable according to a control value of the control variable; wherein each control value is associated with a group of target variables.
[0160] By configuring the associated use of dynamic variables through the configuration page, the control variable can control the actual IO variable associated with the dynamic variable, which reduces the work of configuring repeated configuration pages when achieving the same functional scenario.
[0161] In some embodiments, the dynamic variable module further includes a target variable configuration interface, wherein the target variable configuration interface is provided with a longitudinal expansion area and a lateral expansion area;
[0162] The method further comprises:
[0163] The format, starting value and number of rows of the target variable are configured using the vertical expansion area, and the expansion is incrementally started from the starting value according to the number of rows;
[0164] The horizontal expansion area is used to replace the format of the target variable of the current row with the identification prefix of each dynamic variable of the variable group.
[0165] In some embodiments, the management and control client is further provided with a variable replacement module, and the variable replacement module includes: a variable replacement button and a variable replacement interface;
[0166] The method further comprises:
[0167] In response to a click operation on the variable replacement button, displaying the variable replacement interface in a floating layer form;
[0168] The variable replacement interface is used to replace the initial variable sequence of the monitoring screen with a new variable sequence, wherein the associated configuration items of the initial variable sequence are replaced with the associated configuration items of the new variable sequence.
[0169] By quickly replacing associated variable values and reusing screen styles, you can improve configuration and change efficiency and reduce variable configuration work.
[0170] In some embodiments, the management and control client is further provided with a master creation module, a master application module and a master editing module;
[0171] The method further comprises:
[0172] The master creation module is used to configure the master information of the monitoring screen, wherein the master information includes one or more of the following: master identification, master category, canvas size and background color;
[0173] Using the master application module to set the configured master as the canvas background of the monitoring screen;
[0174] The master editing module is used to configure the control style of the production line common area of the monitoring screen.
[0175] By editing and generating screen templates, they can be quickly applied on different configuration pages without repeated editing. When there are details to modify, only one place needs to be modified. All configuration pages that apply the screen template can be updated synchronously, reducing the work of screen configuration modification.
[0176] The embodiment of the present application also provides an electronic device, the specific embodiment of which is consistent with the embodiment recorded in the above method embodiment and the technical effects achieved, and some contents will not be repeated here.
[0177] The electronic device is used to configure the monitoring screen of the production line using any of the above-mentioned control clients, and the control client is provided with a dynamic variable module, and the dynamic variable module includes: a variable group creation control, a variable element interface and a dynamic control interface;
[0178] The electronic device comprises a memory and at least one processor, the memory stores a computer program, and the at least one processor is configured to implement the following steps when executing the computer program:
[0179] Using the variable group creation control to configure the identification information of the variable group of the monitoring screen;
[0180] configuring at least one dynamic variable of the variable group using the variable element interface;
[0181] The control variables are configured using the dynamic control interface, and each dynamic variable of the variable group is switched to a corresponding target variable according to a control value of the control variable; wherein each control value is associated with a group of target variables.
[0182] See also Fig.17 , Fig.17 It is a structural block diagram of an electronic device provided in an embodiment of the present application.
[0183] The electronic device may include, for example, at least one memory 11, at least one processor 12, and a bus 13 connecting different platform systems.
[0184] The memory 11 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 111 and / or a cache memory 112 , and may further include a read-only memory (ROM) 113 .
[0185] The memory 11 also stores a computer program, which can be executed by the processor 12 so that the processor 12 implements the steps of any of the above methods.
[0186] The memory 11 may also include a utility 114 having at least one program module 115, such program module 115 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0187] Accordingly, the processor 12 may execute the above-mentioned computer program and may execute the utility 114 .
[0188] The processor 12 may adopt one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), or other electronic components.
[0189] The bus 13 may be a local bus representing one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or any of a variety of bus architectures.
[0190] The electronic device may also communicate with one or more external devices such as a keyboard, a pointing device, a Bluetooth device, etc., may also communicate with one or more devices that can interact with the electronic device, and / or communicate with any device (such as a router, a modem, etc.) that enables the electronic device to communicate with one or more other computing devices. Such communication may be performed through an input / output interface 14. In addition, the electronic device may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 15. The network adapter 15 may communicate with other modules of the electronic device through the bus 13. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device in actual applications, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms.
[0191] The embodiment of the present application also provides a computer-readable storage medium, the specific embodiment of which is consistent with the embodiment recorded in the above method embodiment and the technical effects achieved, and some contents will not be repeated here.
[0192] The computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the steps of any of the above methods or the functions of any of the above electronic devices are implemented.
[0193] Computer readable medium can be a computer readable signal medium or a computer readable storage medium. In an embodiment of the present application, a computer readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. Computer readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer readable storage medium include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0194] The computer-readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable storage medium may also be any computer-readable medium that can send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or for use in combination with it. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above. The program code for performing the operation of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also conventional procedural programming languages such as C language or similar programming languages. The program code may be executed entirely on a user computing device, partially on a user device, as an independent software package, partially on a user computing device, partially on a remote computing device, or entirely on a remote computing device or server. Where a remote computing device is involved, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0195] The embodiment of the present application also provides a computer program product, the specific embodiments of which are consistent with the embodiments recorded in the above method embodiments and the technical effects achieved, and some contents will not be repeated here.
[0196] The present application provides a computer program product, which includes a computer program. When the computer program is executed by at least one processor, the steps of any of the above methods or the functions of any of the above electronic devices are implemented.
[0197] See also Fig.18 , Fig.18 It is a structural diagram of a computer program product provided in an embodiment of the present application.
[0198] The computer program product is used to implement the steps of any of the above methods or to implement the functions of any of the above electronic devices. The computer program product may be a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the computer program product of the present invention is not limited thereto, and the computer program product may be any combination of one or more computer-readable media.
[0199] This application is explained from the perspectives of purpose of use, effectiveness, progress and novelty, and has met the functional enhancement and usage requirements emphasized by the Patent Law. The above description and drawings of this application are only the preferred embodiments of this application, and are not intended to limit this application. Therefore, all structures, devices, features, etc. that are similar or identical to this application, that is, all equivalent replacements or modifications made in accordance with the scope of the patent application of this application, should fall within the scope of protection of the patent application of this application.
[0200] This application is explained from the perspectives of purpose of use, effectiveness, progress and novelty, and has met the functional enhancement and usage requirements emphasized by the Patent Law. The above description and drawings of this application are only the preferred embodiments of this application, and are not intended to limit this application. Therefore, all structures, devices, features, etc. that are similar or identical to this application, that is, all equivalent replacements or modifications made in accordance with the scope of the patent application of this application, should fall within the scope of protection of the patent application of this application.
Claims
1. A management and control client, characterized in that: For configuring the monitoring screen of the production line, the control client is provided with a dynamic variable module; The dynamic variable module includes: a variable group creation control, a variable element interface and a dynamic control interface; The variable group creation control is used to configure the identification information of the variable group of the monitoring screen; The variable element interface is used to configure at least one dynamic variable of the variable group; The dynamic control interface is used to configure the control variables and switch each dynamic variable of the variable group to a corresponding target variable according to the control value of the control variable; wherein each control value is associated with a group of target variables, The dynamic variable module also includes a target variable configuration interface, and the target variable configuration interface is provided with a longitudinal expansion area and a lateral expansion area; The vertical expansion area is used to configure the format, starting value and number of rows of the target variable, and expands incrementally from the starting value according to the number of rows; The horizontal expansion area is used to replace the format of the target variable of the current row with the identification prefix of each dynamic variable of the variable group.
2. The control client according to claim 1, characterized in that: The control client is also provided with a variable replacement module; The variable replacement module includes: a variable replacement button and a variable replacement interface; The variable replacement button is used to display the variable replacement interface in a floating layer form after being clicked; The variable replacement interface is used to replace the initial variable sequence of the monitoring screen with a new variable sequence, wherein the associated configuration items of the initial variable sequence are replaced with the associated configuration items of the new variable sequence.
3. The control client according to claim 2, characterized in that: The management and control client is also provided with a master creation module, a master application module and a master editing module; The master creation module is used to configure the master information of the monitoring screen, and the master information includes one or more of the following: master identification, master category, canvas size and background color; The master template application module is used to set the configured preset master template as the canvas background of the monitoring screen; The master editing module is used to configure the control style of the preset master.
4. A screen configuration method, characterized in that: Used to configure the monitoring screen of the production line using the control client according to any one of claims 1 to 3, the control client is provided with a dynamic variable module, and the dynamic variable module includes: a variable group creation control, a variable element interface and a dynamic control interface; The method comprises: Using the variable group creation control to configure the identification information of the variable group of the monitoring screen; configuring at least one dynamic variable of the variable group using the variable element interface; The control variables are configured using the dynamic control interface, and each dynamic variable of the variable group is switched to a corresponding target variable according to a control value of the control variable; wherein each control value is associated with a group of target variables.
5. The screen configuration method according to claim 4, characterized in that: The dynamic variable module also includes a target variable configuration interface, and the target variable configuration interface is provided with a longitudinal expansion area and a lateral expansion area; The method further comprises: The format, starting value and number of rows of the target variable are configured using the vertical expansion area, and the expansion is incrementally started from the starting value according to the number of rows; The horizontal expansion area is used to replace the format of the target variable of the current row with the identification prefix of each dynamic variable of the variable group.
6. The screen configuration method according to claim 4, characterized in that: The management and control client is also provided with a variable replacement module, and the variable replacement module includes: a variable replacement button and a variable replacement interface; The method further comprises: In response to a click operation on the variable replacement button, displaying the variable replacement interface in a floating layer form; The variable replacement interface is used to replace the initial variable sequence of the monitoring screen with a new variable sequence, wherein the associated configuration items of the initial variable sequence are replaced with the associated configuration items of the new variable sequence.
7. The screen configuration method according to claim 6, characterized in that: The management and control client is also provided with a master creation module, a master application module and a master editing module; The method further comprises: The master creation module is used to configure the master information of the monitoring screen, wherein the master information includes one or more of the following: master identification, master category, canvas size and background color; Using the master application module to set the configured master as the canvas background of the monitoring screen; The master editing module is used to configure the control style of the production line common area of the monitoring screen.
8. An electronic device, characterized in that: Used to configure the monitoring screen of the production line using the control client according to any one of claims 1 to 3, the control client is provided with a dynamic variable module, and the dynamic variable module includes: a variable group creation control, a variable element interface and a dynamic control interface; The electronic device comprises a memory and at least one processor, the memory stores a computer program, and the at least one processor is configured to implement the following steps when executing the computer program: Using the variable group creation control to configure the identification information of the variable group of the monitoring screen; configuring at least one dynamic variable of the variable group using the variable element interface; The control variables are configured using the dynamic control interface, and each dynamic variable of the variable group is switched to a corresponding target variable according to a control value of the control variable; wherein each control value is associated with a group of target variables.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the steps of the method according to any one of claims 4 to 7 or the functions of the electronic device according to claim 8 are implemented.
