A long-term and short-term reputation-based elasticity interval estimation method and system

By using a flexible interval estimation method based on long-term and short-term reputation, malicious nodes are identified and suppressed, solving the problem of loose estimation boundaries in networked control systems and achieving accurate interval estimation and system stability under malicious attacks.

CN123097653APending Publication Date: 2026-11-13UNIV OF MACAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611225394.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-13
Publication Date
2026-11-13

AI Technical Summary

Technical Problem

In networked control systems, existing interval estimation techniques struggle to achieve accurate state reconstruction and coordinated control when faced with model uncertainties, external disturbances, and malicious node attacks. This results in loose estimation boundaries, affecting the robustness and stability of the system.

Method used

A flexible interval estimation method based on long-term and short-term reputation is adopted. By constructing a networked control system model, calculating the reputation value of nodes, adaptively adjusting the weight of communication links, constructing a compensated flexible interval observer, and solving the gain matrix through semidefinite programming, malicious nodes can be identified and suppressed.

Benefits of technology

Maintaining the security and accuracy of interval estimation in the presence of adversarial attacks improves the robustness and collaborative performance of networked control systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123097653A_ABST
    Figure CN123097653A_ABST
Patent Text Reader

Abstract

This application discloses a method and system for elastic interval estimation based on long-term and short-term reputation, relating to the field of network security technology. The method includes: building a networked control system model and obtaining the states of each node in the networked control system, including healthy and malicious nodes; calculating the long-term and short-term reputation values ​​of each node based on its state, and calculating the global reputation value of each node; classifying each node by trustworthiness level according to its global reputation value and adaptively adjusting the weights of communication links between different types of nodes; constructing a compensated elastic interval observer; and obtaining the gain matrix of the elastic interval observer by solving a semidefinite programming problem, thereby achieving elastic interval estimation. This application combines long-term and short-term reputation to identify and suppress malicious nodes in the network, ensuring the security of the interval estimation process under adversarial network attacks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of cybersecurity technology, and in particular to a method and system for estimating elastic intervals based on long-term and short-term reputation. Background Technology

[0002] Networked control systems, where multiple nodes exchange information and coordinate control through a communication network, are widely used in industrial automation, intelligent transportation, and unmanned systems. Distributed estimation typically employs model-based traditional observers, which can provide high-quality state reconstruction when communication is good and model accuracy is high. However, when affected by model uncertainties and external disturbances, these methods struggle to obtain accurate node states. Therefore, interval estimation techniques, by constructing upper and lower bounds for the state of each node, explicitly characterize uncertainty into the estimation results while ensuring positivity and Shure stability, and have become an important estimation method in distributed scenarios.

[0003] Meanwhile, the open interconnected nature of networked control systems also brings security threats: attackers can manipulate some nodes by forging, tampering with, or violating protocols, forming malicious nodes. Their behavior may suddenly deviate from normal conditions, or they may temporarily disguise themselves and gradually change strategies, significantly increasing the difficulty of estimation and control. To address this issue, anti-attack research on interval observation has proposed several approaches: imposing constraints on the attack model, recursively constructing the most destructive attack sequence, or introducing auxiliary variables to estimate the attack boundary; however, these methods often rely on strong prior knowledge, synchronous sensing and communication, or statistical information over a long period. Under the influence of time-varying or sparse topologies and malicious nodes, the upper and lower bounds of the interval often exhibit contraction lag or over-expansion, leading to loose estimation boundaries, which in turn affects the convergence and robustness of subsequent cooperative control. Summary of the Invention

[0004] The main objective of this application is to propose a method and system for elastic interval estimation based on long-term and short-term reputation, so as to achieve elastic interval estimation when there are adversarial attacks in the network.

[0005] To achieve the above objectives, one aspect of this application proposes a method for estimating the elasticity interval based on long-term and short-term reputation, the method comprising the following steps: A networked control system model is constructed, and the status of each node in the networked control system is obtained, including healthy nodes and malicious nodes; Based on the state of each node in the networked control system, the long-term and short-term reputation values ​​of each node are calculated, and the global reputation value of each node is also calculated. Based on the global reputation value, each node is classified according to its level of trustworthiness, and the weight of the communication links between different types of nodes is adaptively adjusted. Construct a compensated elastic interval observer; The gain matrix of the elastic interval observer is obtained by solving a semidefinite programming problem, thereby realizing the elastic interval estimation.

[0006] In some embodiments, the process of building a networked control system model and obtaining the status of each node in the networked control system, including healthy nodes and malicious nodes, includes the following steps: The healthy node is defined by the following expression: ; in, , This indicates the number of nodes in the networked control system. Represents a node state, Represents a node The control input, Represents a node The output, Represents a node Interference received , , This represents the system matrix of the networked control system. Represents discrete time points; For any malicious node in the networked control system Malicious nodes Do not follow preset control input Arbitrarily change its own state information And transmit error status information to neighboring nodes; The network connection of the networked control system is configured to satisfy the following condition: at any given time... The network topology consisting of all healthy nodes is connected, meaning that at any given time... There is at least one communication path between any two healthy nodes that enables real-time bidirectional transmission and exchange of information.

[0007] In some embodiments, the process of calculating the long-term and short-term reputation values ​​of each node based on the state of each node in the networked control system, and calculating the global reputation value of each node, includes the following steps: Long-term reputation value Based on the differences in the states of each node, the long-term reputation value is calculated using the following expression: ; Among them, long-term reputation value The superscript 'l' indicates long-term reputation, and the subscript 'ij' indicates that the reputation value belongs to node i in relation to node j. Represents an exponential function. This represents the adjustment factor used to calculate the long-term reputation value. Denotes the Euclidean norm. Let the initial error tolerance function satisfy... and ; Short-term reputation scores are calculated using an intermittent comparison method: definition This represents the calculation time of short-term reputation values, where the time series consisting of the calculation times of short-term reputation values ​​is... The time series that constitutes the calculation time of long-term reputation value A random subsequence; the information set used in the calculation of the short-term reputation value. It is represented by the following expression: ; in, and ; Represents a node and nodes The communication link between them is The weight of time, satisfying ; express Time Node The set of neighbors; the short-term reputation value The following expression is used to calculate the difference between the transmission status and the predicted status of each node in the networked control system: ; Among them, short-term reputation value The superscript 's' indicates short-term reputation, and the subscript 'ij' indicates that the reputation value belongs to node i's evaluation of node j. Set thresholds for users. The following expression is used to calculate: ; in, Represents a node The status transmitted through communication interaction, Represents a node The predicted state calculated based on the information set is obtained using the following expression: ; in, and Indicates in The upper and lower bounds of the disturbance at a known time; The global reputation value This is obtained by combining long-term and short-term reputation values, specifically using the following expression: ; in, and This indicates the weight used in calculating the global reputation value. satisfy when .

[0008] In some embodiments, classifying the trustworthiness of each node based on the global reputation value includes the following steps: Each node is categorized by its level of trustworthiness, using the following expression: ; in, , These represent the user-defined high global reputation threshold and low global reputation threshold, respectively; node set , , They represent The set of nodes with high global reputation, the set of nodes with medium global reputation, and the set of nodes with low global reputation at any given time; The average reputation score is calculated using the following expression: ; in, Indicates the number of elements in the set; The adaptive adjustment of the weights of communication links between various nodes includes the following steps: Based on the classification of each node, the weights of the communication links between each type of node are adaptively adjusted, and updated using the following expression: .

[0009] In some embodiments, constructing a compensated elastic interval observer includes the following steps: The elastic interval observer is defined by the following expression: ; in, The observer gain matrix is... and Let these represent the upper bound and the lower bound of the state in the interval estimation, respectively. and The upper and lower bound compensations are represented respectively, using the following expressions: ; in, Indicates the compensation coefficient. Represents a symbolic function. , , , Define the interval estimation error as and .

[0010] In some embodiments, the method further includes the following steps: A distributed control protocol is designed for the networked control system, and the expression of the distributed control protocol is as follows: ; in, , Indicates the control coefficient. Represents the identity matrix. The solution to the algebraic Riccati equation is given by the following expression: ; Where, constant and .

[0011] In some embodiments, obtaining the gain matrix of the elastic interval observer by solving a semidefinite programming problem, and then realizing the elastic interval estimation, includes the following steps: The positive constraints, stability constraints, and performance constraints of the elastic interval observer are uniformly transformed into linear matrix inequalities, specifically including: ; in: , ; The problem of solving the linear matrix inequalities is defined as follows: ; in, , A positive scalar variable, representing the optimization performance index; It is a positive definite diagonal matrix. Let represent the set of all positive definite diagonal matrices. Let represent an auxiliary matrix in which all elements are non-negative. This represents the dimension of the node state vector. Represents the symmetric elements in a matrix; The optimal variable values ​​are obtained by solving a semidefinite programming problem. and Then, the optimized gain matrix of the elastic interval observer is obtained. This enables elastic interval estimation.

[0012] To achieve the above objectives, another aspect of this application proposes a resilience interval estimation system based on long-term short-term reputation, the system comprising: The system model building unit is used to build a networked control system model and obtain the status of each node of the networked control system, including healthy nodes and malicious nodes. The reputation calculation unit is used to calculate the long-term and short-term reputation values ​​of each node based on the status of each node in the networked control system, and to calculate the global reputation value of each node. The node classification unit is used to classify each node according to its credibility based on the global reputation value and adaptively adjust the weight of the communication links between different types of nodes. Observer construction unit, used to construct a flexible interval observer with compensation; The interval estimation unit is used to obtain the gain matrix of the elastic interval observer by solving a semidefinite programming problem, thereby realizing elastic interval estimation.

[0013] To achieve the above objectives, another aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method.

[0014] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.

[0015] To achieve the above objectives, another aspect of this application provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0016] The embodiments of this application include at least the following beneficial effects: This application provides a method and system for elastic interval estimation based on long-term and short-term reputation. The scheme involves building a networked control system model to obtain the states of each node, including healthy and malicious nodes; calculating the long-term and short-term reputation values ​​of each node based on their states, and then calculating the global reputation value of each node; classifying each node by trustworthiness based on its global reputation value and adaptively adjusting the weights of communication links between different types of nodes; constructing a compensated elastic interval observer; and obtaining the gain matrix of the elastic interval observer through a semidefinite programming problem, thereby achieving elastic interval estimation. This application combines long-term and short-term reputation to identify and suppress malicious nodes in the network, ensuring the security of the interval estimation process even under adversarial network attacks. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 A flowchart illustrating a method for estimating elasticity intervals based on long-term and short-term reputation, provided for an embodiment of this application; Figure 2 This is a schematic diagram of the communication topology of the networked control system provided in the embodiments of this application; Figure 3 A schematic diagram of long-term reputation calculation results provided for embodiments of this application; Figure 4 A schematic diagram illustrating the short-term reputation calculation results provided in this application embodiment; Figure 5 A schematic diagram of the global reputation calculation results provided in this application embodiment; Figure 6 A schematic diagram of the interval estimation results provided in the embodiments of this application; Figure 7 A schematic diagram of the structure of an elastic interval estimation system based on long-term short-term reputation is provided for an embodiment of this application; Figure 8 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of systems and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0021] This application provides a method and system for estimating elastic intervals based on long-term short-term reputation, relating to the field of network security technology. The method and system provided in this application can be applied to terminals, servers, or software running on either terminal or server. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, or in-vehicle terminal, but is not limited to these. The server can be configured as an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network. The software can be an application implementing an elastic interval estimation method based on long-term short-term reputation, but is not limited to the above forms.

[0022] This application can be applied to numerous general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics devices, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0023] This application provides a method for estimating elastic intervals based on long-term short-term reputation, applicable to distributed networked control systems. The networked control system includes several healthy nodes and malicious nodes, such as... Figure 1 The flowchart shown illustrates the method, which includes the following steps: Build a networked control system model and obtain the status of each node in the networked control system, including healthy nodes and malicious nodes; optionally, healthy nodes are expressed using the following expression: ; in, , This indicates the number of nodes in a networked control system. Represents a node state, Represents a node The control input, Represents a node The output, Represents a node Interference received , , The system matrix represents the networked control system. Represents discrete time points; Optionally, any malicious node in the networked control system This node does not follow the preset control input. Arbitrarily change its own state information And transmit error status information to neighboring nodes; Optionally, the network connection of the networked control system satisfies: at any given time The network topology, consisting of all healthy nodes, is connected; this means that at any given time... There is at least one communication path between any two healthy nodes that enables real-time bidirectional transmission and exchange of information.

[0024] Based on the status of each node in the networked control system, the long-term and short-term reputation values ​​of each node are calculated; further, the global reputation value of each node is calculated; optionally, the long-term reputation value... Based on the differences in the states of each node, the expression is used: ; Among them, long-term reputation value The superscript 'l' indicates long-term reputation, and the subscript 'ij' indicates that the reputation value belongs to node i in relation to node j. Represents an exponential function. This represents the adjustment factor used to calculate the long-term reputation value. Denotes the Euclidean norm. Let the initial error tolerance function satisfy... and ;function It is mainly used in the early stages of long-term reputation value calculation to avoid inaccurate calculation results due to differences in initial conditions.

[0025] While long-term reputation values ​​are effective at detecting malicious nodes with abrupt state changes, they are ineffective at detecting nodes that gradually exhibit strategic and covert malicious behavior. To address this issue, short-term reputation values ​​are introduced. The main idea is to construct an information set, and given the known distributed control protocol of the networked control system, calculate the expected state of nodes based on the historical states in the information set. Then, compare the transmission state of each node with its expected state. Because the method of comparing node states is intuitive and accurate, if the difference in the comparison results is significant, the node is detected as malicious. Considering that at each time... Maintaining the information set requires significant memory and computing resources. To reduce overhead, short-term reputation values ​​are calculated using intermittent comparisons. Definition This represents the calculation time of short-term reputation values, where the time series consisting of the calculation times of short-term reputation values ​​is... The time series that constitutes the calculation time of long-term reputation value A random subsequence. Optionally, the information set used in the short-term reputation value calculation. Specifically, it is represented by the following expression: ; in, and ; Represents a node and nodes The communication link between them is The weight of time, satisfying ; express Time Node Neighbor set; short-term reputation value The result is calculated by comparing the differences between the transmission status and the predicted status of each node in the networked control system, using the expression: ; Among them, short-term reputation value The superscript 's' indicates short-term reputation, and the subscript 'ij' indicates that the reputation value belongs to node i's evaluation of node j. Set thresholds for users. The following expression is used to calculate: ; in, Represents a node The status transmitted through communication interaction, Represents a node The predicted state, calculated from the information set, is obtained using the following expression: ; in, and Indicates in The upper and lower bounds of the disturbance at known times.

[0026] Global Reputation Value Represents a node For nodes The level of trust, Larger values ​​indicate a larger node For nodes The higher the level of trust, the lower the level of trust, and vice versa. Global reputation score This is obtained by combining long-term and short-term reputation values, specifically using the following expression: ; in, and This indicates the weight used in calculating the global reputation value. satisfy when .

[0027] Each node is categorized by its trustworthiness level based on its global reputation score, and the weights of communication links between different types of nodes are adaptively adjusted. Optionally, the categorization can be performed using the following expression: ; in, , These represent the user-defined high global reputation threshold and low global reputation threshold, respectively; node set , , They represent The set of nodes with high global reputation, the set of nodes with medium global reputation, and the set of nodes with low global reputation at any given time; The average reputation score is calculated using the following expression: ; in, Indicates the number of elements in the set; Optionally, based on the classification of each node, the weights of the communication links between nodes of different types are adaptively adjusted and updated using the following expression: ; Adaptively adjusting the weights of communication links between various nodes does not change the original symmetry of the networked control system's interconnected network; it is equivalent to adjusting the weights at any given time. any node and nodes satisfy .

[0028] Construct a compensated elastic range observer and design a distributed control protocol for the networked control system; optionally, the following expression can be used: ; in, The observer gain matrix is... and Let these represent the upper bound and the lower bound of the state in the interval estimation, respectively. and The upper and lower bound compensations are represented respectively, using the following expressions: ; in, Indicates the compensation coefficient. Represents a symbolic function. , , , Define the interval estimation error as and In the compensation of the upper and lower bounds of the interval observer, the nodes The lower the overall reputation value, the better. The larger the value, the greater the compensation as the overall reputation value decreases. If This indicates that, under the current compensation value, the observed state exceeds the upper (lower) bound, therefore the upper (lower) bound of the interval observer needs to be expanded. Conversely, if... This indicates that the observation state is within the observation interval, and the upper (lower) bound of the interval observer can be further narrowed.

[0029] Optionally, a distributed control protocol is designed for the networked control system, using the following expression: ; in, , Indicates the control coefficient. Represents the identity matrix. For the solution to the algebraic Riccati equation, the algebraic Riccati equation is expressed as: ; Where, constant and ; The positive constraints, stability constraints, and performance constraints of the interval observer are uniformly transformed into linear matrix inequalities; defined as: ; The following expression is used: , ; Alternatively, the problem of solving linear matrix inequalities can be formulated as: ; in, , A positive scalar variable, representing the optimization performance index; It is a positive definite diagonal matrix. Let represent the set of all positive definite diagonal matrices. Let represent an auxiliary matrix in which all elements are non-negative. This represents the dimension of the node state vector. This represents the symmetric element in the matrix. The optimal variable values ​​are obtained by solving a semidefinite programming problem. and Then, the optimized gain matrix of the interval observer is obtained. This enables elastic interval estimation.

[0030] The elastic interval estimation method of this application can adaptively adjust the upper and lower bound contraction range according to uncertainty and network state, ensuring that the interval does not expand excessively and can respond to anomalies in a timely manner, thereby improving the accuracy and reliability of the estimation and significantly enhancing the robustness and cooperative performance of the networked control system. This application embodiment can be widely applied to networked control scenarios with high requirements for safety and stability, such as unmanned swarms, intelligent transportation systems, and industrial distributed equipment.

[0031] Next, the elastic interval estimation method based on long-term and short-term reputation proposed in this embodiment is verified in the MATLAB environment. By building a networked control system, selecting healthy and malicious nodes, calculating reputation values, adjusting communication weights, compensating for interval observations, and optimizing the interval observer gain matrix, elastic interval estimation is achieved. The specific verification process is as follows: A networked control system consisting of 8 nodes is adopted, and the system matrix and interference of each node are set as follows: .

[0032] Figure 2 This is a schematic diagram of the communication topology of the networked control system, where node 8 is a malicious node; for long-term and short-term reputation calculation, the following settings are provided. , , , , , , , Regarding compensation, set up For control parameters, set , and Calculations yielded .

[0033] See simulation results Figure 3 , Figure 4 , Figure 5 , Figure 6 As shown, where, Figures 3-5 The simulation results are based on node 1 as the evaluation node. Based on the simulation results, it can be seen that... Figure 3 After the initial error tolerance function decayed, the long-term reputation of node 8 accurately identified its malicious behavior; compared to healthy nodes, node 8's long-term reputation value eventually dropped to its lowest level. Figure 4 In this context, node 8 also receives the lowest reputation value under random short-term reputation calculations. Figure 5 Among them, the global reputation value of node 8, calculated from both long-term and short-term reputation, is still the lowest, indicating that node 1 has the lowest level of trust in node 8. Figure 6 In this simulation, the interval estimation results for nodes 1, 3, 5, and 8 are selected to illustrate the simulation effect. It can be clearly seen that the actual state values ​​of each node are always included within the upper and lower bounds of the state provided by the elastic interval estimation, and the obtained observation intervals are accurate and effective. It should be noted that even the state value of the malicious node 8 can be effectively estimated by the disclosed method. Therefore, the elastic interval estimation method based on long-term and short-term reputation provided in this embodiment can provide accurate observation intervals, realize elastic interval estimation, and ensure the security of the networked control system in the presence of malicious nodes.

[0034] Reference Figure 7 This application also provides a system for estimating elasticity intervals based on long-term and short-term reputation, which can implement the above-mentioned method for estimating elasticity intervals based on long-term and short-term reputation. The system includes: The system model building unit is used to build a networked control system model and obtain the status of each node of the networked control system, including healthy nodes and malicious nodes. The reputation calculation unit is used to calculate the long-term and short-term reputation values ​​of each node based on the status of each node in the networked control system, and to calculate the global reputation value of each node. The node classification unit is used to classify each node according to its credibility based on the global reputation value and adaptively adjust the weight of the communication links between different types of nodes. Observer construction unit, used to construct a flexible interval observer with compensation; The interval estimation unit is used to obtain the gain matrix of the elastic interval observer by solving a semidefinite programming problem, thereby realizing elastic interval estimation.

[0035] It is understood that the content of the above method embodiments is applicable to this system embodiment. The specific functions implemented in this system embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0036] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the method of this application. This electronic device can be any smart terminal, including tablet computers, in-vehicle computers, etc.

[0037] It is understood that the content of the above method embodiments is applicable to the device embodiments. The specific functions implemented by the device embodiments are the same as those of the methods of this application, and the beneficial effects achieved are the same as those achieved by the methods of this application.

[0038] Figure 8 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes: The processor 101 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 102 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 102 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 102 and is called and executed by the processor 101. Input / output interface 103 is used to implement information input and output; The communication interface 104 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 105 transmits information between various components of the device (e.g., processor 101, memory 102, input / output interface 103, and communication interface 104); The processor 101, memory 102, input / output interface 103 and communication interface 104 are connected to each other within the device via bus 105.

[0039] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method of this application.

[0040] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0041] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0042] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0043] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0044] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.

[0045] The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0046] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0047] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0048] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0049] In the embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between systems or units may be electrical, mechanical, or other forms.

[0050] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0051] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0052] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0053] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.

Claims

1. A method for estimating the elasticity interval based on long-term and short-term reputation, characterized in that, The method includes the following steps: A networked control system model is constructed, and the status of each node in the networked control system is obtained, including healthy nodes and malicious nodes; Based on the state of each node in the networked control system, the long-term and short-term reputation values ​​of each node are calculated, and the global reputation value of each node is also calculated. Based on the global reputation value, each node is classified according to its level of trustworthiness, and the weight of the communication links between different types of nodes is adaptively adjusted. Construct a compensated elastic interval observer; The gain matrix of the elastic interval observer is obtained by solving a semidefinite programming problem, thereby realizing the elastic interval estimation.

2. The elasticity interval estimation method based on long-term short-term reputation according to claim 1, characterized in that, The process of building a networked control system model and obtaining the status of each node in the networked control system, including healthy nodes and malicious nodes, includes the following steps: The healthy node is defined by the following expression: ; in, , This indicates the number of nodes in the networked control system. Represents a node state, Represents a node The control input, Represents a node The output, Represents a node Interference received , , This represents the system matrix of the networked control system. Represents discrete time points; For any malicious node in the networked control system Malicious nodes Do not follow preset control input Arbitrarily change its own state information And transmit error status information to neighboring nodes; The network connection of the networked control system is configured to satisfy the following condition: at any given time... The network topology consisting of all healthy nodes is connected, meaning that at any given time... There is at least one communication path between any two healthy nodes that enables real-time bidirectional transmission and exchange of information.

3. The elasticity interval estimation method based on long-term and short-term reputation according to claim 1, characterized in that, The process of calculating the long-term and short-term reputation values ​​of each node based on the state of each node in the networked control system, and calculating the global reputation value of each node, includes the following steps: Long-term reputation value Based on the differences in the states of each node, the long-term reputation value is calculated using the following expression: ; Among them, long-term reputation value The superscript 'l' indicates long-term reputation, and the subscript 'ij' indicates that the reputation value belongs to node i in relation to node j. Represents an exponential function. This represents the adjustment factor used to calculate the long-term reputation value. Denotes the Euclidean norm. Let the initial error tolerance function satisfy... and ; Short-term reputation scores are calculated using an intermittent comparison method: definition This represents the calculation time of short-term reputation values, where the time series consisting of the calculation times of short-term reputation values ​​is... The time series that constitutes the calculation time of long-term reputation value A random subsequence; the information set used in the calculation of the short-term reputation value. It is represented by the following expression: ; in, and ; Represents a node and nodes The communication link between them is The weight of time, satisfying ; express Time Node The set of neighbors; the short-term reputation value The following expression is used to calculate the difference between the transmission status and the predicted status of each node in the networked control system: ; Among them, short-term reputation value The superscript 's' indicates short-term reputation, and the subscript 'ij' indicates that the reputation value belongs to node i's evaluation of node j. Set thresholds for users. The following expression is used to calculate: ; in, Represents a node The status transmitted through communication interaction, Represents a node The predicted state calculated based on the information set is obtained using the following expression: ; in, and Indicates in The upper and lower bounds of the disturbance at a known time; The global reputation value This is obtained by combining long-term and short-term reputation values, specifically using the following expression: ; in, and This indicates the weight used in calculating the global reputation value. satisfy when .

4. The elasticity interval estimation method based on long-term and short-term reputation according to claim 1, characterized in that, The process of classifying the trustworthiness of each node based on the global reputation value includes the following steps: Each node is categorized by its level of trustworthiness, using the following expression: ; in, , These represent the user-defined high global reputation threshold and low global reputation threshold, respectively; node set , , They represent The set of nodes with high global reputation, the set of nodes with medium global reputation, and the set of nodes with low global reputation at any given time; The average reputation score is calculated using the following expression: ; in, Indicates the number of elements in the set; The adaptive adjustment of the weights of communication links between various nodes includes the following steps: Based on the classification of each node, the weights of the communication links between each type of node are adaptively adjusted, and updated using the following expression: 。 5. The elasticity interval estimation method based on long-term short-term reputation according to claim 1, characterized in that, The construction of the compensated elastic interval observer includes the following steps: The elastic interval observer is defined by the following expression: ; in, The observer gain matrix is... and Let these represent the upper bound and the lower bound of the state in the interval estimation, respectively. and The upper and lower bound compensations are represented respectively, using the following expressions: ; in, Indicates the compensation coefficient. Represents a symbolic function. , , , Define the interval estimation error as and .

6. The elasticity interval estimation method based on long-term and short-term reputation according to claim 5, characterized in that, The method further includes the following steps: A distributed control protocol is designed for the networked control system, and the expression of the distributed control protocol is as follows: ; in, , Indicates the control coefficient. Represents the identity matrix. The solution to the algebraic Riccati equation is given by the following expression: ; Where, constant and .

7. The elasticity interval estimation method based on long-term short-term reputation according to claim 1, characterized in that, The process of obtaining the gain matrix of the elastic interval observer by solving a semidefinite programming problem, and then realizing the elastic interval estimation, includes the following steps: The positive constraints, stability constraints, and performance constraints of the elastic interval observer are uniformly transformed into linear matrix inequalities, specifically including: ; in: , ; The problem of solving the linear matrix inequalities is defined as follows: ; in, , A positive scalar variable, representing the optimization performance index; It is a positive definite diagonal matrix. Let represent the set of all positive definite diagonal matrices. Let represent an auxiliary matrix in which all elements are non-negative. This represents the dimension of the node state vector. Represents the symmetric elements in a matrix; The optimal variable values ​​are obtained by solving a semidefinite programming problem. and Then, the optimized gain matrix of the elastic interval observer is obtained. This enables elastic interval estimation.

8. A flexible interval estimation system based on long-term and short-term reputation, characterized in that, The system includes: The system model building unit is used to build a networked control system model and obtain the status of each node of the networked control system, including healthy nodes and malicious nodes. The reputation calculation unit is used to calculate the long-term and short-term reputation values ​​of each node based on the status of each node in the networked control system, and to calculate the global reputation value of each node. The node classification unit is used to classify each node according to its credibility based on the global reputation value and adaptively adjust the weight of the communication links between different types of nodes. Observer construction unit, used to construct a flexible interval observer with compensation; The interval estimation unit is used to obtain the gain matrix of the elastic interval observer by solving a semidefinite programming problem, thereby realizing elastic interval estimation.

9. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.