Method, system and electronic device for linkage configuration of configuration attributes, and storage medium

By introducing a linkage attribute configuration strategy into the industrial control system, the linkage relationship between attributes is automatically updated, solving the problems of high difficulty in configuration modification and low scalability in the existing technology, and realizing efficient and flexible configuration attribute management.

CN116302044BActive Publication Date: 2026-03-27SUPCON TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-07
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In existing technologies, modifying component attribute configurations in industrial control systems is difficult, resulting in low efficiency in long-term business implementation and maintenance. Furthermore, industrial control systems suffer from low scalability and versatility, failing to meet the flexible configuration needs of different industries.

Method used

By pre-establishing linkage attribute configuration strategies in the control device, parsing user requests to change attribute configuration information, and automatically updating the configuration information of relevant attributes, the linkage relationship between attributes is realized, reducing hard-coded dependencies.

Benefits of technology

It improves the efficiency of changing configuration attribute status item information in industrial control systems, enhances the system's versatility and scalability, reduces configuration difficulty and error risk, and reduces development workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116302044B_ABST
    Figure CN116302044B_ABST
Patent Text Reader

Abstract

The application relates to a linkage configuration method and system of configuration attributes, electronic equipment and a storage medium, the linkage configuration method is applied to an industrial control system, the control device of the industrial control system is a device formed by splicing components, the linkage configuration method comprises the following steps: after any client receives attribute configuration information triggered by a user, the control device receives a change request of attribute configuration information sent by the client; the control device analyzes the change request, and based on a linkage attribute configuration strategy established in advance and attribute configuration information in the analyzed change request, changes the association state items of all attributes associated with the current attribute; all changed attribute configuration information is sent to the client, so that the client can be displayed based on all changed attribute configuration information, linkage of configuration software attributes can be realized, modification difficulty is reduced, and the expansibility and universality of the configuration software are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of linkage configuration, and in particular to a linkage configuration method and system for configuration attributes, an electronic device, and a storage medium. BACKGROUND

[0002] In an industrial control system, many hardware modules / components are included, and the same module / component can be applied in different processes, and different processes have different requirements for the attribute configuration of the hardware module and different linkage relationships. For example, if the module signal type attribute is current type, then the signal point type attribute can only be 4-20 mA or 0-10 mA, and voltage type configuration items such as invisible or 0-5 V cannot be selected. For another example, when the signal point type attribute is configured as 4-20 mA, the lower limit of the range is set as 4 by default; when the signal point type configuration item is switched to 0-10 mA, the lower limit of the range should be 0 by default and the range can only be between 0 and 10.

[0003] In the prior art, there is only a certain linkage change in the display and hidden state of the attribute. When a certain attribute configuration item changes, the attribute associated with the display and hidden state will be displayed or hidden according to the new configuration item value of the attribute. Other attribute configuration items are often implemented by hard coding, that is, the code is directly defined according to the change of the state of the linkage attribute and the logic of the attribute. The code implementation logic is hard coded. When applied to other industry fields, new configurations or range adjustments must be added at the code level, which has the defects of great modification difficulty, low long-term maintenance efficiency of business implementation, low expansibility, and low universality. SUMMARY

[0004] (I) Technical problem to be solved

[0005] In view of the above-mentioned defects and shortcomings of the prior art, the present application provides a linkage configuration method and system for configuration attributes, an electronic device, and a storage medium, which solves the technical problem of great modification difficulty, low long-term maintenance efficiency of business implementation, low expansibility, and low universality of the linkage relationship when the attribute of the component changes.

[0006] (II) Technical solution

[0007] In a first aspect, the present application provides a linkage configuration method for configuration attributes,

[0008] The linkage configuration method is applied to an industrial control system, and a control device of the industrial control system is a device formed by connecting components, and the linkage configuration method comprises the following steps.

[0009] After any client receives attribute configuration information triggered by a user, the control device receives a change request of the attribute configuration information sent by the client;

[0010] The control device parses the change request and changes the attribute configuration information of all attributes associated with the current attribute based on the pre-established linkage attribute configuration strategy and the attribute configuration information in the parsed change request.

[0011] The changed attribute configuration information is sent to the client to enable the client to display based on the changed attribute configuration information.

[0012] Optionally, the pre-established linkage attribute configuration strategy is that, after the control device is assembled, the control device loads and parses the pre-acquired configuration attribute information conforming to the linkage attribute configuration strategy to acquire the calculation logic of the linkage relationship between the state items of all attributes; and the linkage attribute configuration strategy is acquired based on the calculation logic.

[0013] Optionally, the control device parses the change request and changes the attribute configuration information of all attributes associated with the current attribute based on the pre-established linkage attribute configuration strategy and the attribute configuration information in the parsed change request, and specifically includes:

[0014] S1, when receiving the edit instruction triggered by the user, acquiring the attribute configuration information of the user page, and judging the state item of the attribute that has changed;

[0015] S2, according to the linkage attribute configuration strategy, traversing all attribute state items having a linkage relationship with the state item of the attribute, and acquiring the current attribute configuration information of the all attribute state items;

[0016] S3, according to the calculation logic and the attribute configuration information in the parsed change request, calculating and acquiring the updated attribute configuration information of the all attribute state items.

[0017] Optionally, the state item of the attribute includes a configuration value, a configuration value value range item, a configuration edit state item, a default configuration value, and / or a display and hide state item.

[0018] The calculation logic includes:

[0019] The configuration value of the first attribute and the configuration value value range item of the second attribute have a parallel or enumeration linkage relationship;

[0020] The configuration value of the first attribute and the configuration edit state item of the third attribute have an enumeration linkage relationship;

[0021] The configuration value of the first attribute and the default configuration value item of the fourth attribute have an enumeration or cycle linkage relationship;

[0022] The configuration value of the first attribute and the display and hide state item of the fifth attribute have a selection linkage relationship.

[0023] Optionally, the control device loads and parses pre-acquired configuration attribute information conforming to the linkage attribute configuration strategy to obtain a verification code.

[0024] According to the verification code, the attribute configuration information triggered by the user is verified.

[0025] Optionally, according to the verification code, the attribute configuration information triggered by the user is verified, and specifically includes:

[0026] Before S2, according to the verification code, the attribute configuration information triggered by the user is verified to determine whether the changed attribute state item in the attribute configuration information conforms to the linkage attribute configuration strategy.

[0027] If the attribute state item conforms to the linkage attribute configuration strategy, the verification is passed, and S2 is performed according to the linkage attribute configuration strategy.

[0028] If the attribute state item does not conform to the linkage attribute configuration strategy, the verification is not passed, and the current configuration information is maintained without change.

[0029] In a second aspect, an embodiment of the present application provides a linkage configuration system of configuration attributes, which comprises a control device and a client for displaying attribute configuration information, and the control device executes the method of the first aspect to change the attribute configuration information displayed by the client.

[0030] The control device comprises:

[0031] A receiving component for receiving a change request of attribute configuration information sent by the client; the change request is generated after the user triggers the attribute configuration information;

[0032] A linkage component for parsing the change request and changing attributes of all components associated with the current attribute based on the pre-established linkage attribute configuration strategy and the attribute configuration information in the parsed change request;

[0033] A sending component for sending all changed attribute configuration information to the client to enable the client to display based on all changed attribute configuration information.

[0034] Optionally, the information displayed by the client includes attribute configuration information of a circuit signal component and a fault feedback component.

[0035] The attribute configuration information of the circuit signal component includes a signal point type.

[0036] The attribute configuration information of the fault feedback component includes an open circuit threshold limit T1, an open circuit fault detection, and an open circuit diagnosis alarm event record.

[0037] The linkage component parses the change request, acquires attribute configuration information that the signal point type is changed from 0-20 mA to 4-20 mA, and changes the open circuit threshold limit T1 from uneditable to editable based on a pre-established linkage attribute configuration strategy; and changes the open circuit threshold limit T1 from 0 to 2.

[0038] The open circuit fault detection and open circuit diagnosis alarm event record is changed from uneditable to editable, and the open circuit fault detection and open circuit diagnosis alarm event record default value is changed from unopened to opened.

[0039] In a third aspect, an embodiment of the present application provides an electronic device, which comprises a memory, a processor and a computer program stored in the memory and run on the memory, and the processor implements the method in any one of the first aspect.

[0040] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program, and the computer program is executed by a processor to implement the method in any one of the first aspect.

[0041] (III) Beneficial Effects

[0042] The linkage configuration method of configuration attributes provided in the present application can obtain linkage attribute configuration strategies between each configuration attribute state item in the linkage configuration information by pre-integrating linkage attribute configuration information conforming to linkage attribute configuration specifications by technical personnel, loading and parsing, modifying and / or updating the attribute state item configuration information according to the linkage attribute configuration strategies between the attribute state items, and realizing modification of one attribute state item and self-change of other attribute state items through linkage attribute relationships and display through a client.

[0043] Through the change of the configuration file, the self-defined state item can be added or deleted, high universality and high expansibility are realized, and the application configuration relationship of components in different fields and industries in the industrial control system is overcome. The linkage of component attribute configuration software can realize dynamic expansion as long as linkage configuration is used, regardless of the increase of component attributes or states.

[0044] The linkage configuration method, system, electronic device and storage medium of configuration attributes provided in the present application increase the universality and expansibility of linkage configuration, improve the efficiency of configuration attribute state item information change in the industrial control system, do not need to care about the realization form of each attribute state item, effectively avoid loss caused by attribute state information error, and reduce the development workload of industrial control configuration software. BRIEF DESCRIPTION OF DRAWINGS

[0045] Figure 1 The method flowchart provided in an embodiment of the present application is shown in the figure.

[0046] Figure 2 An updating configuration information process schematic diagram provided by an embodiment of the present application is shown in the following figure;

[0047] Figure 3 A linkage configuration system schematic diagram of configuration attributes provided by an embodiment of the present application is shown in the following figure;

[0048] Figure 4 A process schematic diagram of acquiring linkage attribute configuration strategies in a control device provided by an embodiment of the present application is shown in the following figure. DETAILED DESCRIPTION

[0049] In order to better explain the present application and facilitate understanding, the present application is described in detail in the following with reference to the accompanying drawings and specific embodiments.

[0050] In an industrial control system, in order to meet the requirements of control systems in different industries, the control system usually contains multiple components, each component has its own attributes, and there is a strong coupling relationship between each attribute. However, in the prior art, only the display and hidden states of the attributes have certain linkage changes, that is, when a property configuration item changes, the attributes associated with the display and hidden states of the attribute will be displayed or hidden according to the new configuration item value of the attribute. Other states of the associated attributes, including default value, range, editing mode, etc., are realized by hard coding. When the industry changes, new configurations need to be added or the range needs to be adjusted, which is not conducive to long-term maintenance and expansion of business. In addition, the values of many attribute parameters are obtained through certain calculation formulas, and the calculation formulas may involve multiple other parameter values. The prior art cannot meet the use of the calculation formulas.

[0051] Therefore, the present application provides a linkage configuration method of configuration attributes, which is applied to an industrial control system, and a control device of the industrial control system is a device formed by component splicing.

[0052] Figure 1 A linkage configuration method process schematic diagram of an embodiment of the present application is shown in the following figure, Figure 1 As shown in the figure, the linkage configuration method comprises:

[0053] After any client receives attribute configuration information triggered by a user, the control device receives a change request of the attribute configuration information sent by the client;

[0054] The control device analyzes the change request and, based on the pre-established linkage attribute configuration strategy and the attribute configuration information in the analyzed change request, judges whether there is a linkage relationship with any state of other attributes, any state of the attribute can include: default value, editing state, display and hide, and / or value range, etc. The attribute configuration information of all attributes associated with the current attribute is changed;

[0055] send the changed all attribute configuration information to the client, so that the client displays based on the changed all attribute configuration information.

[0056] In an embodiment, after the attribute configuration information is displayed, the attribute configuration information is called, and the new attribute values of the attributes are refreshed and displayed on the interface.

[0057] The pre-established linkage attribute configuration strategy is that, after the control device is established, the control device loads and parses the pre-acquired configuration attribute information conforming to the linkage attribute configuration strategy to acquire the calculation logic between the state items of all attributes that have linkage relationships; and the linkage attribute configuration strategy is acquired based on the calculation logic. The linkage attribute configuration strategy at least includes: defining the linkage relationships (i.e. calculation logic) between the state items of each attribute and the valid values of the linkage state items, and the valid values of the linkage state items can include default value, selectable editing mode, attribute display and supported range, etc.

[0058] In an embodiment, the pre-acquired configuration attribute information conforming to the linkage attribute configuration strategy is configuration attribute information acquired by the developer according to the requirements of the field process or application industry or historical public data, and the state items of each attribute in the component are configured. The configuration attribute information can also add or delete state items or customize state items according to different processes, and the configuration attribute information completely conforms to the linkage attribute configuration information specification of the industry requirements.

[0059] In the initialization process, the configuration attribute information file configured and acquired by the developer is called to be loaded and parsed by a loader and a parser, so that the calculation logic between the configuration attributes having linkage relationships can be acquired, the valid values conforming to the calculation logic are acquired according to the calculation logic, and the linkage attribute configuration strategy is acquired.

[0060] In a specific embodiment, the configuration attribute information of the attribute can include a default value, an editing mode and a range threshold, etc. The default value of different attributes can be a numerical value or an expression, the editing mode can be a check box, a drop-down box or an edit box, and the range threshold can be a fixed interval or an expression.

[0061] In addition, there are also hierarchical restrictions on the client, for example, the first-level client only has the permission to view the attribute configuration information displayed on the client, and the second-level client has the permission to change the attribute configuration information on the client.

[0062] The linkage configuration method provided by the embodiment configures a linkage attribute configuration strategy, when a state value of an attribute is changed during attribute configuration, if the states of other attributes are associated with the change of the attribute value, the states of the other attributes are automatically changed, and there is no need to write corresponding change code according to each state value of the attribute. The linkage change between attributes makes the user configuration editing intuitive, fast and effective, and effectively reduces the configuration difficulty of complex configuration in an industrial control system.

[0063] In order to better understand the above technical solutions, the exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided so that the present application can be more clearly, thoroughly understood, and the scope of the present application can be completely conveyed to those skilled in the art.

[0064] Embodiment 1

[0065] As Figure 2 shown, Figure 2 The update configuration information process schematic diagram provided by an embodiment of the present application, in the embodiment, the client is provided with a display page, and all attribute current configuration information (current attribute configuration information) is displayed in the form of a form. The current configuration information is a plurality of state items of an attribute. The user edits the current configuration information of any attribute on the display page, sends a change request to the control device, the control device analyzes the change request, and based on the pre-established linkage attribute configuration strategy and the attribute configuration information in the analyzed change request, changes the attribute configuration information of all attributes associated with the current attribute. Specifically, the method comprises the following steps:

[0066] S1, when receiving the edit instruction triggered by the user, obtaining the attribute configuration information of the current user page, and judging the state item of the attribute to be changed;

[0067] S2, according to the linkage attribute configuration strategy, traversing all attribute state items having a linkage relationship with the state item of the attribute, and obtaining the current configuration information of the all attribute state items;

[0068] S3, according to the calculation logic and the attribute configuration information in the analyzed change request, calculating and obtaining the updated attribute configuration information of the all attribute state items.

[0069] As Figure 2As shown, after analyzing the received change request of attribute A configuration information, the control device traverses all other attribute configuration information having a linkage relationship with attribute A according to the linkage attribute configuration strategy, calls the current configuration information of other attribute state items, and calculates the updated configuration information of the other attribute state items according to the calculation logic and the changed attribute A configuration information.

[0070] For example, the state item of the attribute can include a configuration value, a configuration value range item, a configuration editing state item, a default configuration value, and / or a display / hidden state item.

[0071] In an embodiment, the calculation logic in the attribute configuration information can include:

[0072] The configuration value of the first attribute and the configuration value range item of the second attribute have a parallel or enumeration linkage relationship;

[0073] The configuration value of the first attribute and the configuration editing state item of the third attribute have an enumeration linkage relationship;

[0074] The configuration value of the first attribute and the default configuration value item of the fourth attribute have an enumeration or cycle linkage relationship;

[0075] The configuration value of the first attribute and the display / hidden state item of the fifth attribute have a selection linkage relationship, and so on.

[0076] In actual applications, the calculation logic is determined according to the component attributes that actually have a linkage relationship, and can also include a corresponding linkage relationship between a range threshold, an interval float, an array, an expression, and so on. The first attribute to the fifth attribute are only listed, and the actual number is determined, which cannot be limited here.

[0077] In an embodiment, the module signal type attribute is current type, and then each signal point type attribute can only be 4-20 mA or 0-10 mA, and cannot be configured as 0-5 V voltage type. In another embodiment, when the signal point type attribute is configured as 4-20 mA, the lower limit of the range is set to 4 by default; when the signal point type configuration item is switched to 0-10 mA, the lower limit attribute of the range should be 0 by default and the range can only be between 0 and 10.

[0078] In some other embodiments, in order to avoid inputting an incorrect value when a user changes the current attribute configuration information, a verification process is added to avoid loss caused by mistakes.

[0079] Specifically, the control device loads and analyzes the pre-obtained configuration attribute information that meets the linkage attribute configuration strategy to obtain a verification code.

[0080] According to the verification code, the attribute configuration information triggered by the user is verified.

[0081] In an embodiment, the checking is, before S2, checking the attribute configuration information triggered by the user according to the checking code, judging whether the changed attribute state item in the attribute configuration information meets the linkage attribute configuration strategy;

[0082] If the attribute state item meets the linkage attribute configuration strategy, the checking is passed, and S2 is performed according to the linkage attribute configuration strategy;

[0083] If the attribute state item does not meet the linkage attribute configuration strategy, the checking is failed, and the current configuration information is kept unchanged;

[0084] For example, in an embodiment, the support interval of an attribute state item is 0-10, after the page is edited, the attribute configuration information triggered by the user is checked after receiving the change request, and it is judged whether the attribute configuration information meets the linkage attribute configuration strategy;

[0085] If the changed attribute state item is other numbers out of the interval range, the attribute state item does not meet the linkage attribute configuration strategy, the checking is failed, and the current configuration information is kept unchanged, and the change is failed;

[0086] If the changed attribute state item is other numbers in the interval range, the attribute state item meets the linkage attribute configuration strategy, the checking is passed, the current configuration information is updated to the changed attribute state item, and the next operation is continued.

[0087] In other embodiments, the checking can also be, after S3, checking the updated configuration information, specifically including:

[0088] Traversing the updated configuration information, generating an updated configuration information form, and judging whether any attribute state item included in the updated configuration information meets the linkage attribute configuration strategy.

[0089] If all the attribute state items included in the updated configuration information meet the linkage attribute configuration strategy, the checking is passed, and the current configuration information is updated to the updated configuration information;

[0090] If there is any attribute state item included in the updated configuration information that does not meet the linkage attribute configuration strategy, the checking is failed, and the current configuration information is kept unchanged.

[0091] The current configuration information is the information before the change, and in some embodiments, the checking result and the state item with the failed checking are also sent to the client page to increase the human-computer interaction, so that the user who operates the change can judge the failure problem in time.

[0092] In a specific embodiment, the client first connects with the control device, the control device loads the parsed linkage attribute configuration strategy, creates a component attribute object, the user page displays the default value of the component attribute, sends a change request, and after verification, the attribute configuration information form of the user page is refreshed to display the updated configuration information.

[0093] The linkage configuration method provided in the embodiment can modify the configuration value of a certain attribute, based on the linkage relationship between the value and the state items of other attributes, traverse other attributes, obtain the linkage configuration values of the states of other attributes at the configuration value of the attribute, and verify the configuration information in the change request and the updated configuration information, thereby avoiding the loss caused by configuration value configuration failure and invalid configuration value.

[0094] Embodiment 2

[0095] Figure 3 A linkage configuration system of configuration attributes is provided for the embodiments of the application, and the linkage configuration system comprises a control device and a client that displays attribute configuration information. The control device executes the method in Embodiment 1 to change the attribute configuration information displayed by the client.

[0096] As shown in Figure 3 The control device comprises:

[0097] A receiving component that receives a change request for attribute configuration information sent by the client. The change request is generated after a user triggers the attribute configuration information.

[0098] A linkage component that parses the change request and changes the attributes of all components associated with the current attribute based on the pre-established linkage attribute configuration strategy and the attribute configuration information in the parsed change request. The linkage component encapsulates the linkage configuration method parsing and calculation logic (linkage logic).

[0099] A sending component that sends all changed attribute configuration information to the client to enable the client to display based on all changed attribute configuration information.

[0100] In the embodiment, the information displayed by the client can include a circuit signal component and a fault feedback component.

[0101] The attribute configuration information of the circuit signal component can include a signal point type, a signal point description, a filtering time, an engineering quantity upper and lower limit, a unit, a range upper and lower limit, and the like.

[0102] The attribute configuration information of the fault feedback component can include an open circuit threshold limit T1, an open circuit fault detection, an open circuit diagnosis alarm event record, an electrical range upper and lower limit, a short circuit fault detection, and the like.

[0103] There is a linkage relationship between some state items in these attribute configuration information, for example;

[0104] When the value of signal point type is changed from 0-20mA to 4-20mA, the open circuit threshold limit T1, open circuit fault detection, open circuit diagnosis alarm event record will change in linkage. The linkage component analyzes the change request, obtains the attribute configuration information that the signal point type is changed from 0-20mA to 4-20mA, and based on the pre-established linkage attribute configuration strategy, changes the open circuit threshold limit T1 from uneditable to editable; changes the open circuit threshold limit T1 from 0 to 2; changes the open circuit fault detection and the open circuit diagnosis alarm event record from uneditable to editable, and changes the default value of the open circuit fault detection and the open circuit diagnosis alarm event record from unopened to opened, and so on.

[0105] In actual application, the state items of the attributes of the controlled component can also include fault handling value, decimal place number, etc. according to actual determination, which cannot be regarded as limitation here.

[0106] Figure 4 The flowchart for obtaining the linkage attribute configuration strategy in the control device provided by an embodiment of the present application is shown in FIG. 1. Figure 4 As shown in the embodiment, the control device can include a loading module, an analysis module and a calculation logic module.

[0107] During initialization, the loading module (Business Loading Module) loads the attribute configuration information (Configure File) conforming to the linkage attribute configuration strategy which is obtained and stored in advance. The attribute configuration information after loading is analyzed by the analyzer (Configure Parser), the state items of each attribute and the linkage relationship with other attribute state items are obtained, the calculation logic between attributes is obtained, the linkage attribute configuration strategy in computer readable form is generated through the calculation logic and stored in the calculation logic module.

[0108] In an embodiment, the attribute configuration information (Configure File) includes default values, also known as initial values. After loading and analysis, the default values will be sent to the client and displayed on the client.

[0109] The user with modification authority modifies the default values displayed on the client, enters the configuration editing period, modifies the state configuration value of a certain attribute during the editing period, and the client transmits the new configuration value to the server side. Through the interface call of the calculation logic module, the state items of the associated attributes are associated and the state item association form is constructed, and then the calculation logic module is returned through the interface to judge whether the configuration value is valid. If the configuration value is valid, the configuration values of other attribute state items are refreshed.

[0110] The computer-readable linkage attribute configuration strategy includes all attributes and calculation logic between state items of each attribute. Specifically, in an embodiment, a resolver (linkage configuration resolution module) provided by the linkage control device is called to resolve each linkage item. The resolver constructs different types of linkage management units according to the current linkage relationship, and returns a universal linkage management unit after resolution. Each state item of each attribute can construct a linkage management unit if there is a linkage relationship. The universal linkage management unit provides linkage-related universal interfaces, facilitating the acquisition of related linkage information.

[0111] The linkage configuration method provided in the application can adapt to multiple industrial control systems (industrial control devices) by flexibly adjusting and modifying attribute configuration information conforming to the linkage attribute configuration strategy in combination with the universal linkage attribute configuration strategy. Only configuration according to the configuration strategy is required, and various types of custom state items are supported in a universal and extended manner, and the expansibility is high. When changing the configuration value of a state item of an attribute, the current configuration information of other attributes having a linkage relationship is called through a linkage attribute interface, updated configuration information of the other attributes is automatically calculated and acquired, and the configuration value (option, interval, etc.) dynamically changes according to different processes. Dynamic automatic judgment is realized, the defect of poor universality caused by different industrial control system configuration software protocols can be overcome, hardware implementation is not required, and hardware cost is reduced.

[0112] The application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and running on the memory. When the processor executes the program, the method described in any of the embodiments is implemented.

[0113] The application further provides a computer storage medium, which stores a computer program. The computer program is executed by a processor to implement the method described in any of the embodiments.

[0114] The linkage configuration method, system, electronic device, and storage medium provided by the application increase the universality and expansibility of linkage configuration, improve the efficiency of changing configuration attribute state item information in an industrial control system, effectively avoid losses caused by attribute state information errors, and reduce the development workload of industrial control configuration software.

[0115] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "an embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are contained in at least one embodiment or example of the present application. In the specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any appropriate manner in any one or more embodiments or examples. In addition, the person skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of the different embodiments or examples without contradiction.

[0116] Although the embodiments of the present application have been shown and described above, it is understood that the above-described embodiments are exemplary and are not to be construed as limiting the present application, and the person skilled in the art can modify, modify, replace and modify the above-described embodiments within the scope of the present application.

Claims

1. A method for configuring linked configuration attributes, characterized in that, The linkage configuration method is applied in an industrial control system, and the control device of the industrial control system is a device formed by assembling components. The linkage configuration method includes: After any client receives attribute configuration information triggered by the user, the control device receives a request from the client to change the attribute configuration information. The control device parses the change request and, based on the pre-established linkage attribute configuration strategy and the attribute configuration information in the parsed change request, modifies the attribute configuration information of all attributes associated with the current attribute. Send all the modified attribute configuration information to the client so that the client can display the information based on the modified attribute configuration information; The pre-established linkage attribute configuration strategy involves the following steps: After the control device is assembled, it loads and parses the pre-acquired configuration attribute information that conforms to the linkage attribute configuration strategy, and obtains the calculation logic that establishes the linkage relationship between the status items of all attributes; based on the calculation logic, it obtains the linkage attribute configuration strategy; the control device parses the change request, and based on the pre-established linkage attribute configuration strategy and the attribute configuration information in the parsed change request, it modifies the attribute configuration information of all attributes associated with the current attribute, specifically including: S1. When an editing command is received from the user, obtain the attribute configuration information of the user's page and determine the status of the attribute that has been changed. S2. According to the linkage attribute configuration strategy, traverse all attribute state items that have a linkage relationship with the state item of the attribute, and obtain the current attribute configuration information of all attribute state items; S3. Based on the calculation logic and the attribute configuration information in the parsed change request, calculate and obtain the updated attribute configuration information for all attribute status items; The status items of the attribute include configuration value, configuration value range, configuration editing status, default configuration value and / or show / hide status; The calculation logic includes: The configuration values ​​of the first attribute and the configuration value range of the second attribute have a parallel or enumerated linkage relationship. There is an enumerated linkage between the configuration value of the first attribute and the configuration editing status item of the third attribute; The configuration value of the first attribute and the default configuration value of the fourth attribute are linked by an enumeration or loop. The configuration value of the first attribute and the display / hidden status item of the fifth attribute are linked in terms of selection.

2. The linkage configuration method according to claim 1, characterized in that, Also includes: The control device loads and parses the pre-acquired configuration attribute information that conforms to the linkage attribute configuration strategy, and obtains the verification code; The attribute configuration information triggered by the user is validated based on the aforementioned validation code.

3. The linkage configuration method according to claim 2, characterized in that, Based on the aforementioned verification code, the attribute configuration information triggered by the user is verified, specifically including: Before S2, the attribute configuration information triggered by the user is verified according to the verification code to determine whether the changed attribute status item in the attribute configuration information conforms to the linkage attribute configuration strategy. If the attribute status item conforms to the linkage attribute configuration strategy, the verification passes, and step S2 is performed according to the linkage attribute configuration strategy. If the attribute status item does not conform to the linkage attribute configuration strategy, the verification fails, and the current configuration information remains unchanged.

4. A configuration system for linked configuration attributes, characterized in that, The linkage configuration system includes a control device and a client for displaying attribute configuration information. The control device executes the method described in any one of claims 1-3 to modify the attribute configuration information displayed on the client. The control device includes: A receiving component is used to receive a request from the client to change the attribute configuration information; the request is generated after the user triggers the attribute configuration information. The linkage component is used to parse the change request and, based on the pre-established linkage attribute configuration strategy and the attribute configuration information in the parsed change request, change the attributes of all components associated with the current attribute. A sending component is used to send all the changed attribute configuration information to the client so that the client can display the content based on the changed attribute configuration information.

5. The linkage configuration system according to claim 4, characterized in that, The information displayed on the client includes the attribute configuration information of the circuit signal components and the fault feedback components; The attribute configuration information of the circuit signal components includes the signal point type; The attribute configuration information of the fault feedback component includes open circuit threshold limit T1, open circuit fault detection, and open circuit diagnostic alarm event records. The linkage component parses the change request, obtains the attribute configuration information of the signal point type changing from 0~20mA to 4~20mA, and based on the pre-established linkage attribute configuration strategy, changes the open circuit threshold limit T1 from non-editable to editable; changes the open circuit threshold limit T1 from 0 to 2; Change the Open Circuit Fault Detection and Open Circuit Diagnostic Alarm Event Records from non-editable to editable, and change the default value of the Open Circuit Fault Detection and Open Circuit Diagnostic Alarm Event Records from disabled to enabled.

6. An electronic device, characterized in that, The device includes a memory, a processor, and a computer program stored in the memory and running on the memory. When the processor executes the program, it implements the method of any one of claims 1-3.

7. A computer storage medium having a computer program stored thereon, characterized in that, The computer program is processed in a manner that implements the method described in any one of claims 1-3.

Citation Information

Patent Citations

  • Off-site derivative multi-form data linkage display method and system

    CN114595282A

  • Dynamic linkage method for plant-station-end panoramic data and monitoring system application

    CN114827539A