Judgment Method For Edge Node Computing Result Trustworthiness Based On Trust Evaluation
20220321355 · 2022-10-06
Assignee
Inventors
Cpc classification
H04L9/3239
ELECTRICITY
H04L63/0236
ELECTRICITY
International classification
H04L9/32
ELECTRICITY
Abstract
The present invention relates to a judgment method for edge node computing result trustworthiness based on trust evaluation, and belongs to the technical field of data processing. By means of the present invention, a security mechanism for trustworthiness of a computing result output by an industrial edge node is guaranteed, the industrial edge node is prevented from outputting error data, and attacks of false data of malicious edge nodes are resisted, it is guaranteed that trustworthy computing results not be tampered are input in the industrial cloud, and a site device is made to receive correct computing results rather than malicious or meaningless messages, thereby improving efficiency and security of industrial production.
Claims
1. A judgment method for edge node computing result trustworthiness based on trust evaluation, characterized in that: the method comprises following steps: S1 Before Network Operation Each edge node to be added transmits identity information ID.sub.Ai, to an edge proxy for registration, a security administrator sets an error rate ER.sub.Ai of computing errors allowed to be caused by each edge node in an industrial production environment; the edge proxy marks evidence collected for which number of times with ε(ε=1, 2, . . . , CN.sub.τ), and marks trust associated information as a trust value computed in which round with τ(τ∈N), where τ=0 when an initial trust value is evaluated, τ≥1 when a trust value is updated; CN.sub.τ represents a total number of times of evidence collection required when the edge proxy computes a trust value in a τ.sup.th round, and t.sub.τ, represents time when the edge proxy starts computing the trust value in the τ.sup.th round; and after verifying an identity of an edge node, the edge proxy starts evaluating an initial trust value of the edge node; S11 Evidence Collection The edge proxy starts evaluating the initial trust value of the edge node at τ.sub.0, the edge proxy randomly generates a to-be-computed data set Data.sub.B−0.sup.c-ε={a.sub.0−0.sup.ε, a.sub.1−0.sup.ε, a.sub.2−0.sup.ε, . . . , a.sub.l−0.sup.ε}, and generates a result set Data.sub.B−0.sup.r-ε={b.sub.1−0.sup.ε, b.sub.2−0.sup.ε, b.sub.3-0.sup.ε, . . . , b.sub.l−0.sup.ε} after adjacent data are pairwise computed as a reference set, wherein this solution specifies that the number of times of evidence collection CN.sub.0 required for initial trust value evaluation is 3; the edge proxy transmits a to-be-computed set to the edge node, the edge node computes and then transmits a computing result set Data.sub.Ai 0.sup.r-249={c.sub.1 0.sup.ε, c.sub.2 0.sup.ε, c.sub.3 0.sup.ε, . . . , c.sub.l 0.sup.ε} and a computing result Hash value set Data.sub.Ai-0.sup.h-ε={h.sub.1−0.sup.ε, h.sub.2−0.sup.ε, h.sub.3-0.sup.ε, . . . , h.sub.l−0.sup.ε} to the edge proxy; according to the computing result set Data.sub.Ai-0.sup.r-ε from the edge node, the edge proxy computes a Hash value Data.sub.Ai-0.sup.h′ ε={h.sub.1−0.sup.ε′, h.sub.2−0.sup.ε′, h.sub.3-0.sup.ε′, . . . , h.sub.l−0.sup.ε′} corresponding thereto; the edge proxy records time t.sub.B−0.sup.s-ε when the to-be-collected set is transmitted for the ε time, time t.sub.B−0.sup.r-ε when computing is completed, and time t.sub.Ai-0.sup.r-ε when a computing result of an edge node Ai is received, where i represents a number of nodes, i=1,2,K,n; S12 Evidence Processing The edge proxy processes collected data as follows: (1) accuracy represents a proportion of the number of correct computing results to the number of total data; an accuracy computing formula of evidence collection for the ε.sup.th time is as follows:
E.sub.Ai−τ.sup.tm-ε=T.sub.Ai−τ.sup.tm-ε−T.sub.B-τ.sup.tm-ε (3) where T.sub.Ai−τ.sup.tm-ε represents a computing efficiency of the edge node in evidence collection for the ε.sup.th time; T.sub.B-τ.sup.tm-ε represents a computing efficiency of the edge proxy in evidence collection for the ε.sup.th time, and τ represents trust computing in the τ.sup.th round; when the edge proxy evaluates the initial trust value, the edge proxy computes a computing efficiency
Trust.sub.Ai−τ.sup.cd=a′.sub.1−τ
T.sub.Ai−0.sup.τ=5l×CN.sub.0×
CN.sub.τ=┌6×arctan[0.5×TI.sub.Ai−(τ−1)]┐ (6) the edge proxy computes the number of times of evidence collection CN.sub.τ required for the τ.sup.th round of trust update according to the trust identifier of the (τ−1).sup.th time; the edge proxy rapidly updates the trust value of the edge node when the trust identifier is small and the number of times of evidence collection is less; at the initial stage of network operation, the number of times of evidence collection increases with the increase of the number of trustworthy times, in order to update the trust value in time and reduce trust computing amount, the number of times of evidence collection cannot be infinitely increased, and the maximum value of the number of times of evidence collection
φ.sub.k=e.sup.−ρ(u−k) (7) where ρ represents an attenuation coefficient which is 0.3; if the sliding storage window is not fully stored, u is the number of actual historical direct trust values; according to the historical direct trust value and weight thereof in the sliding storage window, the edge proxy computes a weighted average historical trust value Trust.sub.Ai−τ.sup.hd of the edge node Ai in the τ.sup.th round of trust update:
Trust.sub.Ai−τ.sup.d=δ=Trust.sub.Ai−τ.sup.cd+(1−δ)×Trust.sub.Ai−τ.sup.hd (10) where δ is used to balance proportions of current trust and historical trust, and δ is defined as follows:
T.sub.Ai−τ.sup.v−6×CN.sub.τ×l×(
Description
DESCRIPTION OF THE DRAWINGS
[0108] To enable the purpose, the technical solution and the advantages of the present invention to be more clear, the present invention will be preferably described in detail below in combination with the drawings, in the drawings:
[0109]
[0110]
[0111]
[0112]
[0113]
[0114]
[0115]
[0116]
[0117]
DETAILED DESCRIPTION OF THE INVENTION
[0118] Embodiments of the present invention are described below through specific embodiments. Those skilled in the art can understand other advantages and effects of the present invention easily through the disclosure of the description. The present invention can also be implemented or applied through additional different specific embodiments. All details in the description can be modified or changed based on different perspectives and applications without departing from the spirit of the present invention. It should be noted that the figures provided in the following embodiments only exemplarily explain the basic conception of the present invention, and if there is no conflict, the following embodiments and the features in the embodiments can be mutually combined.
[0119] In an industrial edge computing environment, a site device transmits collected data to an edge node at an edge side, the edge node processes the data from the site device, then the edge node returns a computing result to the site device or transmits a preliminary computing result to an industrial cloud platform for further computing and then returns to the site device. In order to ensure that the computing result of the edge node is correct and the result is not forged or tampered in the process of transmission, failed edge nodes are identified and tamper, impersonation, replay and other attacks from malicious nodes are resisted, that is, it is guaranteed that the site device receives a trustworthy computing result, this article proposes an edge computing framework with a trust evaluation function. Trust evaluation of edge nodes is completed by an edge proxy at a network edge, and at the network edge, the response time for processing trust computing is shorter, the execution efficiency is higher, and the network pressure is lower, as shown in
[0120] Assuming that the data collected by the site device is trustworthy, the communication between the site device and the edge node is trustworthy, and the communication between the site device and the edge proxy is trustworthy, the feedback of the site device is honest. In an industrial edge computing framework with a trust evaluation function, a trust evaluation method for ensuring edge node computing result trustworthiness is proposed. In the method, trust evaluation conducted on edge nodes is completed by an edge proxy according to objective analysis on computing results of the edge nodes and in conjunction with the fuzzy evaluation method and the entropy weight method. By comparing trust values of the edge nodes with a trust threshold, the edge proxy determines which edge nodes can receive computing tasks and transmit messages, thereby reducing untrustworthy data output by the edge side. In the trust evaluation method, the trust threshold is determined by an error rate of errors allowed to be caused by each edge node set by a security administrator.
[0121] After a network operates, if a computing result of an edge node needs to be further computed, in order to ensure that the interactive information between the edge node, the edge proxy and the industrial cloud platform is not tampered so that the site device can receive a trustworthy computing result, in the solution, the proxy signature scheme based on elliptic curve is used, so a preliminary computing result of a trustworthy edge node can be signed and then transmitted to the industrial cloud for further processing and then returned to the site device.
[0122] A specific trust evaluation flow of this solution is shown in
[0123] In this solution, trust is defined as evaluation conducted on edge node computing result trustworthiness by an edge proxy, and a trust value of an edge node is a quantitative form of long-term behavioral expression of the edge node. Trust evaluation consists of four modules: evidence collection, evidence processing, initial trust evaluation and trust update.
[0124] Evidence comprises information of three dimensions: three available factors for directly evaluating edge node computing results, i.e. accuracy, integrity and timeliness of edge node computing results, used to compute direct trust values of edge nodes; historical trust values, wherein the edge proxy conducts weighted average on historical trust values in sliding windows and then corrects direct trust values; feedback scores given by the site device to the edge node computing results, wherein the edge proxy obtains a penalty or reward factor according to the feedback scores, used to compute final trust values of edge nodes. The trust evaluation process is divided into computing of initial trust values before network operation and update of trust values after network operation. The edge nodes have following five states in a trust evaluation process:
[0125] (1) to be added: an edge node to be added has no trust value, at this moment, the edge node computes to-be-computed data from the edge proxy;
[0126] (2) to be operated: the edge proxy computes an initial trust values of the edge node, at this moment, the edge node is in an to-be-operated state, to wait for an edge node to which the site device transmits data;
[0127] (3) operating: the edge proxy transmits a trust identifier of the edge node to be operated to the site device, a trustworthy edge node computes the data from the site device, and at this moment, the edge node is in an operating state;
[0128] (4) to be examined: after the network operates for a period of time, the edge proxy initiates trust update to the site device; when the edge proxy conducts trust update after collecting and processing evidence data, the edge node is in a to-be-examined state, the site device stops transmitting data to the edge node to be examined, until the site device receives the trust identifier;
[0129] (5) operating/isolating: after updating the trust value, the edge proxy allocates the trust identifier to the edge node to be examined, and transmits the trust identifier to the site device; the site device transmits data to an edge node of which the trust identifier is greater than 0, and at this moment, the edge node is in an operating state; the site device does not transmit data to an edge node with a trust identifier equal to 0, and at this moment, the edge node is listed in a blacklist by the edge proxy and is in an isolating state.
[0130] 1.1 Trust Evaluation Flow
[0131] 1.1.1 Before Network Operation
[0132] Each edge node to be added transmits identity information ID.sub.Ai to an edge proxy for registration, a security administrator sets an error rate ER.sub.Ai of computing errors allowed to be caused by each edge node in an industrial production environment; the edge proxy marks evidence collected for which number of times with ε(ε=1, 2, . . . , CN.sub.τ), and marks trust associated information as a trust value computed in which round with τ(τ∈N), where τ=0 when an initial trust value is evaluated, τ≥1 when a trust value is updated; CN.sub.τ represents a total number of times of evidence collection required when the edge proxy computes a trust value in a τ.sup.th round, and t.sub.τ represents time when the edge proxy starts computing the trust value in the τ.sup.th round. After verifying an identity of an edge node, the edge proxy starts evaluating an initial trust value of the edge node.
[0133] 1 Evidence Collection
[0134] The edge proxy starts evaluating the initial trust value of the edge node at t.sub.0, the edge proxy randomly generates a to-be-computed data set Data.sub.B−0.sup.c−ε={a.sub.0−0.sup.ε, a.sub.1−0.sup.ε, a.sub.2−0.sup.ε, . . . , a.sub.l−0.sup.ε}, and generates a result set Data.sub.B−0.sup.r−ε={b.sub.1−0.sup.ε, b.sub.2−0.sup.ε, b.sub.3−0.sup.ε, . . . , b.sub.l−0.sup.ε} after adjacent data are pairwise computed as a reference set, wherein this solution specifies that the number of times of evidence collection CN.sub.0 required for initial trust value evaluation is 3.
[0135] The edge proxy transmits a to-be-computed set to the edge node, the edge node computes and then transmits a computing result set Data.sub.Ai−0.sup.r−ε={c.sub.1−0.sup.ε, c.sub.2−0.sup.ε, c.sub.3−0.sup.ε, . . . , c.sub.l−0.sup.ε} and a computing result Hash value set Data.sub.Ai−0.sup.h−ε={h.sub.1−0.sup.ε, h.sub.2−0.sup.ε, h.sub.3−0.sup.ε, . . . , h.sub.l−0.sup.ε} to the edge proxy.
[0136] According to the computing result set Data.sub.Ai−0.sup.r−ε from the edge node, the edge proxy computes a Hash value Data.sub.Ai−0.sup.h′−ε={h.sub.1−0.sup.ε′, h.sub.2−0.sup.ε′, h.sub.3−0.sup.ε′, . . . , h.sub.l−0.sup.ε′} corresponding thereto.
[0137] The edge proxy records time t.sub.B−0.sup.s−ε when the to-be-collected set is transmitted for the ε.sup.th time, time t.sub.b−0.sup.r−ε when computing is completed, and time t.sub.Ai−0.sup.r−ε when a computing result of an edge node Ai is received, where i represents a number of nodes, i=1,2,K,n.
[0138] 2 Evidence Processing
[0139] The edge proxy evaluates whether computing results are trustworthy according to accuracy, integrity and timeliness of edge node computing results, these three parameters are available factors for evaluating edge node computing results, these factors can be regarded as trustworthy evidence of the edge nodes, and these evidences can be used to evaluate the edge node computing results objectively. These three data trust evidences are core dimensions for looking for trust relationships between data items and trusters.
[0140] Before the network operates, the edge proxy computes accuracy, integrity and timeliness of an edge node Ai according to a return result of an edge node Ai to be added. The edge proxy processes the collected data as follows:
[0141] (1) accuracy represents a proportion of the number of correct computing results to the number of total data; an accuracy computing formula of evidence collection for the ε.sup.th time is as follows:
[0142] where is N.sub.Ai−τ.sup.ac−ε represents identical number in a result set Data.sub.B−τ.sup.r−ε computed by the edge proxy in evidence collection for the ε.sup.th time and a result set Data.sub.Ai−τ.sup.r−ε computed by the edge node Ai, ε represents evidence collected for the ε.sup.th time, τ represents trust computing in the τ.sup.th round, and l represents a data amount in evidence collection each time;
[0143] (2) integrity represents a proportion of the number of complete data to the number of total data; an integrity computing formula of evidence collection for the ε.sup.th time is as follows:
[0144] where N.sub.Ai−τ.sup.cm−ε represents identical number in a result Hash value set Data.sub.Ai−τ.sup.h′−ε computed by the edge proxy in evidence collection for the ε.sup.th time and a result Hash value set Data.sub.Ai−τ.sup.h−ε computed by the edge node Ai, ε represents evidence collected for the ε.sup.th time, τ represents trust computing in the τ.sup.th round, and a represents a data amount in evidence collection each time;
[0145] (3) timeliness represents a difference between a computing efficiency of the edge node Ai and a computing efficiency of the edge proxy; a timeliness computing formula of evidence collection for the ε.sup.th time is as follows:
E.sub.Ai−τ.sup.tm−ε=T.sub.Ai−τ.sup.tm−ε−T.sub.B−τ.sup.tm−ε (3)
[0146] where T.sub.Ai−τ.sup.tm−ε represents a computing efficiency of the edge node in evidence collection for the ε.sup.th time; T.sub.B−τ.sup.tm−ε represents a computing efficiency of the edge proxy in evidence collection for the ε.sup.th time, and τ represents trust computing in the τ.sup.th round.
[0147] When the edge proxy evaluates the initial trust value, the edge proxy computes a computing efficiency
of CN.sub.0 edge nodes and a computing efficiency
of the edge proxy according to the time t.sub.B−τ.sup.s−ε when the to-be-collected set is transmitted for ε.sup.th time, the time t.sub.B−τ.sup.r−ε when computing of the to-be-computed set is completed, and the time t.sub.Ai−τ.sup.r−ε when a computing result of an edge node Ai is received, substitutes the results into formula (3), and computes to obtain timeliness of the CN.sub.0, edge nodes Ai.
[0148] When evaluating the initial trust value, the edge proxy processes evidence collected for three times by means of formula (1), formula (2) and formula (3), to obtain three values of each of accuracy, integrity and timeliness of the edge nodes Ai to be added, as shown in Table 1.
TABLE-US-00001 TABLE 1 Direct Trust Factors of Edge Node Ai Accuracy Integrity Timeliness The first E.sub.Ai−0.sup.ac−1 E.sub.Ai−0.sup.cm−1 E.sub.Ai−0.sup.tm−1 time The E.sub.Ai−0.sup.ac−2 E.sub.Ai−0.sup.cm−2 E.sub.Ai−0.sup.tm−2 second time The third E.sub.Ai−0.sup.ac−3 E.sub.Ai−0.sup.cm−3 E.sub.Ai−0.sup.tm−3 time
[0149] 3 Initial Trust Evaluation
[0150] 1) Computing Initial Trust Value
[0151] A direct trust value is a quantization value that indicates an ability of the edge node to complete a request task and is based on an interactive record history between the edge proxy and the edge node. When the edge proxy computes the initial trust value of the edge node, the edge node is in a to-be-operated state. The edge proxy conducts fuzzy evaluation on direct trust factors of edge nodes to be operated respectively, steps of computing direct trust values are as follow:
[0152] (a) determining a factor set E={E.sub.Ai−τ.sup.ac−ε, E.sub.Ai−τ.sup.cm−ε, E.sub.Ai−τ.sup.cm−ε}, and an evaluation set V={V.sub.1, V.sub.2, V.sub.3}, where V.sub.1 represents untrustworthiness, V.sub.2 represents uncertainty, and V.sub.3 represents trustworthiness; it is stipulated that μ.sup.un is an untrustworthy membership degree, and 0≤μ.sup.un<β.sub.u; μ.sup.in is an uncertain membership degree, and β.sub.u≤μ.sup.in<β.sub.c; μ.sup.cr is a trustworthy membership degree, and β.sub.c≤μ.sub.cr≤1, where β.sub.u is untrustworthy threshold and β.sub.c is trustworthy threshold; the edge proxy computes membership degrees of accuracy, integrity and timeliness, computing formulae are as follows:
[0153] {circle around (1)} computing formula of membership degree of accuracy in evidence collection for the ε.sup.th time is as follows:
[0154] {circle around (2)} computing formula of membership degree of integrity in evidence collection for the ε.sup.th time is as follows:
[0155] {circle around (3)} computing formula of membership degree of timeliness in evidence collection for the ε.sup.th time is
[0156] (b) computing proportions of membership degrees corresponding to accuracy, integrity and timeliness in trust computing in the τ.sup.h round belonging to V.sub.1, V.sub.2, V.sub.3, which are {r.sub.11 τ, r.sub.12 τ, r.sub.13 τ}, {r.sub.21 τ, r.sub.22 τ, r.sub.23 τ} and {r.sub.31 τ, r.sub.32 τ, r.sub.33 τ}respectively, for example,
where N(μ.sub.1−τ.sup.un−ε represents the number of accuracy membership degrees of CN.sub.τ accuracy membership degrees within an untrustworthy membership degree range; the edge proxy obtains a judgment matrix
[0157] (c) computing weight corresponding to accuracy, integrity and timeliness using the entropy weight method, the computing steps being as follows:
[0158] {circle around (1)} forming a matrix by CN.sub.τ membership degrees μ.sub.1−τ.sup.ε, μ.sub.2−τ.sup.ε, μ.sub.3−τ.sup.ε corresponding to accuracy, integrity and timeliness:
[0159] {circle around (2)} computing information entropy corresponding to accuracy, integrity and timeliness:
[0160] {circle around (3)} computing weight corresponding to accuracy, integrity and timeliness:
in order to avoid the condition where the weight is zero when the degree of dispersion of a certain factor is too small, weight ranges corresponding to accuracy, integrity and timeliness are a.sub.1 ∈ [0.5,0.8], a.sub.2∈[0.01,0.2] and a.sub.3ε[0.2,0.4] respectively, where a.sub.1>a.sub.3>a.sub.2; when the weight obtained using the entropy weight method is not within the specified range, the maximum value or minimum value of the corresponding range is taken, actual weight is
[0161] (d) computing a judgment result Z.sub.A−τ=A.sub.τ*R.sub.τ={z.sub.1−τ, z.sub.2−τ, z.sub.3−τ}, there being following three cases:
[0162] {circle around (1)} when z.sub.1−τ is the maximum, the edge node Ai is untrustworthy, the edge proxy does not compute an average membership degree of accuracy, integrity and timeliness;
[0163] {circle around (2)} when z.sub.2−τ is the maximum, the edge node Ai is uncertain in trust, the edge proxy computes means of membership degrees within a range [β.sub.u, β.sub.c) corresponding to accuracy, integrity and timeliness, which are
where a denominator represents the number of membership degrees of all factors within the range [β.sub.u, β.sub.c) and a numerator represents the sum of membership degrees of all factors within the range [β.sub.u, β.sub.c); μ.sub.1−τ.sup.in−ε is the membership degree of the accuracy of the τ.sup.th evidence collection within the range [β.sub.u, β.sub.c), μ.sub.2−τ.sup.in−ε is the membership degree of the integrity of the τ.sup.th evidence collection within the range [β.sub.u, β.sub.c), μ.sub.3−τ.sup.in−ε is the membership degree of the timeliness of the τ.sup.th evidence collection within the range [β.sub.u, β.sub.c);
[0164] {circle around (3)} when z.sub.3−τ is the maximum, the edge nodes Ai is trustworthy, the edge proxy computes means of membership degrees within a range [β.sub.c, 1) corresponding to accuracy, integrity and timeliness, which are
where a denominator represents the number of membership degrees of all factors within the range [β.sub.c, 1) and a numerator represents the sum of the membership degrees of all factors within the range [β.sub.c, 1): μ.sub.1−τ.sup.cr−ε is the membership degree of the accuracy of the τ.sup.th evidence collection within the range [β.sub.c, 1), μ.sub.2−τ.sup.cr−ε is the membership degree of the integrity of the τ.sup.th evidence collection within the range [β.sub.c, 1), μ.sub.3−τ.sup.cr−ε is the membership degree of the timeliness of the τ.sup.th evidence collection within the range [β.sub.c, 1);
[0165] (e) the edge proxy computes a direct trust value Trust.sub.Ai−τ.sup.cd of the edge node Ai according to the average membership degree of accuracy, integrity and timeliness, and the weight thereof, the computing formula being as follows:
Trust.sub.Ai−τ.sup.cd=a′.sub.1−τ
[0166] Since the edge nodes to be operated have no historical trust values and feedback scores, at this moment, the initial direct trust value is the final trust value, and the final trust value before the edge node Ai operates is Trust.sub.Ai− .sup.u=Trust.sub.Ai−0.sup.cd.
[0167] 2) Computing Trust Identifier
[0168] Table 2 is an edge node trust level table in which trust is divided into three levels, namely an untrustworthy level, an uncertain level and a trustworthy level.
TABLE-US-00002 TABLE 2 Trust Level Trust Trust Value Trust Level Description Range 1 Untrustworthy [0, β.sub.u) 2 Uncertain [β.sub.u, β.sub.c) 3 Trustworthy [β.sub.c, 1]
[0169] A threshold of the untrustworthy level is β.sub.u, a threshold of the trustworthy level is β.sub.c, 0<β.sub.u<β.sub.c≤1, and β.sub.c=[1+10(ER.sub.Ai).sup.2].sup.−1, β.sub.u=β.sub.c−0.2, where ER.sub.Ai represents an error rate of computing errors allowed to be caused by each edge node Ai in an industrial production environment occasionally due to mistake, 0≤ER.sub.Ai<30%, the greater the β.sub.u and β.sub.c, the sensitive the system to incorrect computing results. The security administrator sets an error rate of errors allowed to be caused by each edge node in an industrial production environment, and the edge proxy computes corresponding β.sub.u and β.sub.c according to the error rate, as shown in Table 3.
TABLE-US-00003 TABLE 3 Values of β.sub.u, β.sub.c (give an example) Error rate • β.sub.u β.sub.c 0 0.80 1.00 10% 0.70 0.90 20% 0.51 0.71
[0170] The edge proxy computes a trust identifier of an edge node Ai to be operated according to a judgment result, the rules are as follows:
[0171] (a) for an edge node of which the trust value level is a trustworthy level, in order to prevent a malicious node from cheating trust, the edge proxy replaces a trust value of the edge node with a trustworthy level with
that is, degrades the edge node with a trustworthy level to an edge node with an uncertain level;
[0172] (b) for an edge node of which the trust value level is an uncertain level, the edge proxy allocates a trust identifier TI.sub.Ai−0=1 of an initial trust value to the edge node, computes valid time TI.sub.Ai−0.sup.v of the initial trust identifier according to formula (5), and stores initial trust associated information locally according to a data structure in Table 4;
[0173] a computing formula of the valid time T.sub.Ai−0.sup.v of the trust identifier of the initial trust value is as follows:
T.sub.Ai−0.sup.v=5i×CN.sub.0×
where i represents a number of on-line edge nodes, CN.sub.0 represents a number of times of evidence collection in initial trust evaluation,
of edge nodes Ai, I represents a data amount of evidence collection each time, ΔT represents a time interval between trust updates, and the valid time is in second; if a trust identifier of an edge node is expired, the edge proxy lists the edge node in a blacklist;
TABLE-US-00004 TABLE 4 Initial Trust Associated Data of Edge Node Ai Accuracy Integrity Timeliness Node membership membership membership Initial identity degree degree degree trust Trust Valid Time identifier mean mean mean value identifier time t.sub.0 ID.sub.Al TI.sub.Ai-0 T.sub.Ai-0.sup.v
indicates data missing or illegible when filed
[0174] (c) for an edge node of which the trust level is an untrustworthy level, that is, an edge node of which the z.sub.1−τ is the maximum, to avoid evaluation errors, the edge proxy repeats the above-mentioned steps of evidence collection, evidence processing and trust evaluation to evaluate the initial trust value thereof twice, if the trust value is still untrustworthy after being evaluated twice, reports to the security administrator to replace the edge node, and computes an initial trust value of the replaced edge node to be added.
[0175] The edge proxy transmits the trust identifier to a site device, the site device checks the trust identifier of the edge node to be operated and transmits data to an edge node with a trust identifier greater than 0, and then the edge node is in an operating state.
[0176] 1.1.2 After Network Operation
[0177] 1 Evidence Collection
[0178] After a network operates for ΔT time, the edge proxy initiates an update trust request to the site device, the edge proxy starts to collect the collected data of the site device, a computing result of the edge node and a Hash value thereof, and a feedback score from the site device, records response time and a historical direct trust value of the edge node. After the edge proxy initiates the trust update request, the edge proxy conducts each evidence collection in following two cases:
[0179] case 1: the edge node directly returns the computing result to the site device, and the site device transmits the computing result of the edge node and the Hash value thereof to the edge proxy; as shown in
[0180] case 2: after preliminary computing, the edge node transmits the computing result and the Hash value thereof to the edge proxy, the edge proxy collects evidence and uploads the computing result of the edge node, trust identifier and signature to an industrial cloud, the industrial cloud checks the trust identifier of the edge node and verifies the signature and then further processes a preliminary computing result of the edge node, the industrial cloud transmits the computing result and the signature to the edge proxy, the edge proxy verifies the signature and then transmits the computing result to the site device, as shown in
[0181] The edge proxy collects evidence data in the above two cases, and collects l evidence data as one evidence collection; each round of trust update requires evidence collection for CN.sub.τ times, and the edge node is in an operating state at this moment; the edge proxy records the number of times of evidence collection with ε(ε=1, 2, . . . , CN.sub.τ); during the τ.sup.th round of trust update, the edge proxy collects evidence for CN.sub.τ times and then conducts evidence processing and trust update operations; a time interval between every two rounds of trust updates is ΔT; a computing formula of the number of times of evidence collection CN.sub.τ required for the τ.sup.th round of trust update is specified as follows:
CN.sub.τ=[6×arctan[0.5×TI.sub.Ai−(τ−1)]] (6)
[0182] The edge proxy computes the number of times of evidence collection CN.sub.τ, required for the τ.sup.th round of trust update according to the trust identifier of the (τ−1).sup.th time; the edge proxy rapidly updates the trust value of the edge node when the trust identifier is small and the number of times of evidence collection is less; at the initial stage of network operation, the number of times of evidence collection increases with the increase of the number of trustworthy times, in order to update the trust value in time and reduce trust computing amount, the number of times of evidence collection cannot be infinitely increased, and the maximum value of the number of times of evidence collection
[0183] 1) Direct Trust Factor Collection
[0184] The site device transmits the collected data a.sub.0−τ.sup.ε to the edge proxy and the edge node Ai simultaneity, the site device transmits a piece of data every Δt, and the edge proxy and the edge node start processing after receiving the second collected data; the edge proxy processes a computing result of the data collected in two consecutive times as b.sub.ϑ−τ.sup.ε, the edge node Ai processes a computing result of the data collected in two consecutive times as c.sub.ϑ−τ.sup.ε, ϑ represents a serial number of evidence collected in each evidence collection, (ϑ=1, 2, . . . , l); during each evidence collection, the site device needs to transmit (l|1) data, and the data transmitted by the site device form a set Data.sub.D−τ.sup.c−ε={a.sub.0−τ.sup.ε, a.sub.1−τ.sup.ε, a.sub.2−τ.sup.ε, . . . , a.sub.l−τ.sup.ε}.
[0185] At t.sub.τ, the edge proxy starts the τ.sup.th round of trust update, the edge proxy collects evidence for CN.sub.τ times in total, l data evidence collected for the ε.sup.th time including a computing result Data.sub.B−τ.sup.r−ε={b.sub.1−τ.sup.ε, b.sub.2−τ.sup.ε, . . . , b.sub.ϑ−τ.sup.ε, . . . , b.sub.l−τ.sup.ε} of the edge proxy, a computing result Data.sub.Ai−τ.sup.r−ε={c.sub.1−τ.sup.ε, c.sub.2−τ.sup.ε, . . . , c.sub.ϑ−τ.sup.ε, . . . , c.sub.l−τ.sup.ε} of the edge node Ai and a Hash value Data.sub.Ai−τ.sup.h−ε={h.sub.1−τ.sup.ε, h.sub.2−τ.sup.ε, . . . , h.sub.ϑ−τ.sup.ε, . . . , h.sub.l−τ.sup.ε} thereof, and a corresponding Hash value Data.sub.Ai−τ.sup.h′−ε={h.sub.1−τ.sup.ε′, h.sub.2−τ.sup.ε′, . . . , h.sub.ϑ−τ.sup.ε′, . . . , h.sub.l−τ.sup.ε} computed by the edge proxy according to the computing result set Data.sub.Ai−τ.sup.r−ε of the edge node Ai; the edge proxy records time t.sub.B+τ.sup.s−ε of transmitting the first data by the site device when collecting evidence for the ε.sup.th time, time t.sub.B−τ.sup.r−ε of computing the l.sup.th result by the edge proxy, and time t.sub.Ai−τ.sup.r−ε of computing the l.sup.th result by the edge node Ai.
[0186] 2) Historical Direct Trust Value Collection
[0187] Because trust dynamically changes with time, in order to avoid malicious acts, the edge proxy uses a historical direct trust value to correct a direct trust value, so the direct trust value is more accurate. Therefore, the edge proxy uses a sliding window to store the historical direct trust value so as to reduce the influence of the old direct trust value on the new direct trust value. Each edge node has a sliding storage window, the larger the window, the more the storage and computing overhead, so a short and small sliding storage window can effectively limit the amount of trust computing and improve the efficiency of trust evaluation.
[0188] As shown in
[0189] 3) Feedback Score Collection
[0190] The edge proxy updates a final trust value of an edge node in an operating state and also needs to take into account a feedback score given to a computing result of the edge node by the site device; a rule of giving scores to edge nodes by the site device is as follows: if a safety accident occurs, the site device feeds back d.sub.ϑ τ.sup.ε=−1 regardless whether a trust update is being conducted, and the edge proxy lists an edge node corresponding to the feedback score in a blacklist; otherwise, the site device feeds back scores given to computing results: bad review d.sub.ϑ−τ.sup.ε=0 and good review d.sub.ϑ−τ.sup.ε=1.
[0191] The site device feeds back the scores given to the computing results to the edge proxy, during the τ.sup.th round of trust update, the edge proxy collects for CN.sub.τ times and collects l feedback scores each time, and a feedback score collected by the edge proxy for the ε.sup.th time is Data.sub.Ai−τ.sup.f−ε−{d.sub.1−τ.sup.ε, d.sub.2−τ.sup.ε, . . . , d.sub.ϑ−τ.sup.ε, . . . , d.sub.l−τ.sup.ε} including scores given, by the site device, to computing results directly returned by v edge nodes to the site device and scores given, by the site device, to computing results transmitted by (l−v) edge nodes to the industrial cloud for processing and then returned to the site device; a proxy signature based on elliptic curve is used to make the communication between the edge nodes and the industrial cloud trustworthy, no matter the computing results received by the site device come from the edge nodes or the industrial cloud, the objects to which the site device feeds back scores are edge nodes.
[0192] 2 Evidence Processing
[0193] 1) Direct Trust Factor Processing
[0194] After collecting evidence for CN.sub.τ times, the edge proxy respectively computes accuracy, integrity and timeliness of an edge node Ai during each evidence collection in the τ round of trust update;
[0195] (a) the edge proxy computes accuracy of the edge node Ai according to formula (1);
[0196] (b) the edge proxy computes integrity of the edge node Ai according to formula (2);
[0197] (c) according to the time t.sub.D−τ.sup.s−ε of transmitting the first data by the site device when collecting evidence for the ε.sup.th time, the time t.sub.D−τ.sup.r−ε of computing the l.sup.th result by the edge proxy, and the time t.sub.Ai−τ.sup.r−ε of computing the l.sup.th result by the edge node Ai, the edge proxy computes a computing efficiency
of the edge node and a computing efficiency
of the edge proxy, substitutes T.sub.Ai−τ.sup.in−ε, T.sub.B−τ.sup.tm−ε into formula (3), and compute timeliness of the edge node Ai.
[0198] When conducting the τ.sup.th round of trust update, the edge proxy processes the collected direct trust factors by means of formula (1), formula (2) and formula (3), to obtain CN.sub.τ values of each of accuracy, integrity and timeliness of an edge node Ai to be examined, as shown in Table 5.
TABLE-US-00005 TABLE 5 CN.sub.τ Direct Trust Factors of Edge Node Ai Accuracy Integrity Timeliness The first E.sub.Ai−τ.sup.ac−1 E.sub.Ai−τ.sup.cm−1 E.sub.Ai−τ.sup.tm−1 time The second E.sub.Ai−τ.sup.ac−2 E.sub.Ai−τ.sup.cm−2 E.sub.Ai−τ.sup.tm−2 time . . . . . . . . . . . . The ε time E.sub.Ai−τ.sup.ac−ε E.sub.Ai−τ.sup.cm−ε E.sub.Ai−τ.sup.tm−ε . . . . . . . . . . . . The CN.sub.τ E.sub.Ai−τ.sup.ac−CNτ E.sub.Ai−τ.sup.cm−CNτ E.sub.Ai−τ.sup.tm−CNτ time
[0199] 2) Historical Trust Value Processing
[0200] Because the latest trust value has more influence than the previous trust value, for weight factors of historical direct trust values at different time, there is a need to take into account a time factor, that is, the longer the time of the trust value, the lower the proportion. A weight of the k.sup.th pane of the sliding storage window is:
φ.sub.k−c.sup.∓ρ(c−k) (7)
where ρ represents an attenuation coefficient which is 0.3; if the sliding storage window is not fully stored, u is the number of actual historical direct trust values;
[0201] according to the historical direct trust value and weight thereof in the sliding storage window, the edge proxy computes a weighted average historical trust value Trust.sub.Ai−τ.sup.hd of the edge node Ai in the τ.sup.th round of trust update;
[0202] 3) Feedback Score Processing
[0203] For an edge node with a feedback score of −1, the security administrator replaces the edge node with an edge node to be added, and the edge proxy repeats an initial trust value computing step, to evaluate an initial trust value of the edge node to be added.
[0204] According to the feedback score, the edge proxy computes reward and penalty factors of the edge node Ai in the τ.sup.th round of trust update; and according to a difference ΔN.sub.Ai−τ.sup.ε=N.sub.Ai−τ.sup.g−ε−[l×(1−ER.sub.Ai)] between the total number of times of good review N.sub.Ai−τ.sup.g ε during evidence collection for the ε.sup.th time and the minimum required number of correct computing results, the edge proxy computes a reward factor E.sub.Ai−τ.sup.g−ε and a penalty factor E.sub.Ai−τ.sup.b−ε corresponding to the evidence collection for the ε.sup.th time, where N.sub.Ai−τ.sup.g−ε=Σ.sub.ϑ=1.sup.ld.sub.ϑ−τ.sup.ε, ER.sub.Ai is the error rate that the edge node is allowed to calculate in an industrial production environment.
[0205] If ΔN.sub.Ai−τ.sup.ε≥0, the reward factor and penalty factor corresponding to the evidence collection for the ε.sup.th time are E.sub.Ai−τ.sup.g−ε=0.3└(1+e.sup.−ΔN.sup.
[0206] Good feedback from the field device increases the trust value of the edge node Ai and bad feedback rapidly decreases the trust value of the edge node Ai; if there is safety accident feedback from the site device, E.sub.Ai−τ.sup.f appears as a penalty factor, E.sub.Ai−τ.sup.f=0; if there is no safety accident feedback, E.sub.Ai−τ.sup.f>0 represents reward, E.sub.Ai−τ.sup.f<0 represents penalty, and E.sub.Ai−τ.sup.f−0 represents neither reward nor penalty.
[0207] 3 Trust Update
[0208] According to the direct trust value, historical trust value and feedback scores, the edge proxy updates the trust value of the edge node, the edge node is in a to-be-examined state at this moment.
[0209] Since an insider attack occurs at a given time, a trust evaluation mechanism does not require too frequent trust updates, moreover, frequent trust updates take up more transmission and computing resources. A time interval between every two rounds of trust update is ΔT.
[0210] 1) Computing Direct Trust Value
[0211] The edge proxy repeats the step of computing a direct trust value when evaluating initial trust, and computes a direct trust value Trust.sub.Ai−τ.sup.cd of the edge node Ai to be examined of which the judgment result is trustworthy or uncertain in the τ.sup.th round of trust update by means of formula (4); for an edge node to be examined of which the judgment result is untrustworthy, the edge proxy directly lists the edge node in a blacklist.
[0212] 2) Correcting Direct Trust Value
[0213] Before computing the final trust value, the edge proxy needs to correct the direct trust value by using the weighted average historical direct trust value; the edge proxy weights and aggregates Trust.sub.Ai−τ.sup.cd and Trust.sub.Ai−τ.sup.hd of the edge node Ai to obtain a corrected direct trust value Trust.sub.Ai−τ.sup.d of the edge node Ai in the τ.sup.th round of trust update:
Trust.sub.Ai−τ.sup.d=δTrust.sub.Ai−τ.sup.cd+(1−δ)×Trust.sub.Ai−τ.sup.hd (10)
where δ is used to balance proportions of current trust and historical trust, and δ is defined as follows:
[0214] where 0<δ.sub.1<δ.sub.2<1, it is specified that δ.sub.1=0.3, δ.sub.2=0.7, the value of δ.sub.1 is small, to prevent the edge node from accumulating trust thereof quickly, and the value of δ.sub.2 is large, which reflect a penalty for a malicious act of the edge node.
[0215] 3) Updating Final Trust Value
[0216] According to the reward or penalty factor computed in formula (9), the edge proxy computes a final trust value of the edge node to be examined.
[0217] A computing formula of the final trust value Trust.sub.Ai−τ.sup.u of the edge node Ai in the τ.sup.th round of trust update is as follows:
[0218] If a certain feedback score is −1, the final trust value of the edge node Ai in the τ.sup.th round of trust update is equal to 0; otherwise, the final trust value of the edge node Ai in the τ.sup.th round of trust update is equal to a corrected direct trust value of the edge node Ai plus a reward or penalty factor.
[0219] 4) Computing Trust Identifier
[0220] After trust update, the edge proxy compares the final trust value of the edge node to be examined with a trust threshold (trust critical value) in Table 2-trust level table, and then computes a trust identifier of the edge node Ai according to the judgment result and the final trust value, rules are as follows:
[0221] (a) for an edge node of which the trust value level is a trustworthy level, the edge proxy computes a trust identifier TI.sub.Ai−τ thereof according to formula (13), computes valid time T.sub.Ai−τ.sup.v of the trust identifier according to formula (14), and then stores trust associated information thereof locally according to a data structure in Table 6;
[0222] a specific computing formula of the trust identifier of the edge node Ai in the τ.sup.th round of trust update is as follows:
[0223] a computing formula of the valid time T.sub.Ai−τ.sup.v of the trust identifier of the trust value is as follows:
T.sub.Ai−τ.sup.v=6 ×CN.sub.τ×l×(
where CN.sub.τ represents a number of times of evidence collection required in the τ.sup.th round of trust update, l represents a data amount of evidence collection each time,
of edge nodes Ai, Δt represents a time interval at which the site device transmits data, ΔT represents a time interval between trust updates, and the valid time is in second; if a trust identifier of an edge node is expired, the edge proxy lists the edge node in a blacklist.
TABLE-US-00006 TABLE 6 Trust Associated Data of Edge Node Ai Accuracy Integrity Timeliness Node membership membership membership Corrected Reward Final identity degree degree degree direct trust and trust Trust Valid Time identifier mean mean mean value penalty value identifier time t.sub.τ ID.sub.Al
indicates data missing or illegible when filed
[0224] (b) For an edge node of which the trust level is an uncertain level, a trust identifier thereof is unchanged; the edge proxy checks the trust identifier thereof, and if the number of times of continuous equality of the trust identifier is less than 3, the edge proxy allows the edge node to operate; otherwise, the edge proxy lists the edge node in a blacklist, and then the edge node is in an isolation state.
[0225] (c) For an edge node of which the trust level is an untrustworthy level, the edge proxy lists the edge node in a blacklist directly, and then the edge node is in an isolation state; the edge proxy broadcasts identity information about the edge node in the blacklist and a trust identifier 0 thereof, and reports to the security administrator to replace the edge node; after the security administrator replaces the isolated edge node with an edge node to be added, the edge proxy repeats an initial trust value computing step, to evaluate an initial trust value of the edge node to be added.
[0226] The edge proxy transmits the trust identifier to the site device, the site device decides whether to transmit data according to the trust identifier of the edge node, and transmits data to an edge node with a trust identifier greater than 0 rather than to an edge node with a trust identifier equal to 0.
[0227] After ΔT time, the edge proxy repeatedly executes the steps of evidence collection, evidence processing and trust update, and so on, as shown in
[0228] 1.2 Example
[0229] Before the network operates, this solution sets parameters, as shown in Table 7.
TABLE-US-00007 TABLE 7 Parameter Values Data amount l in evidence collection each 10 time Time interval Δt at which site device 1 transmits data Average computing time
[0230] As shown in
TABLE-US-00008 TABLE 8 Trust Thresholds of Edge Nodes A1, A2, A3 Trust Trust Value Node Error rate Description Range A1 10% Untrustworthy [0, 0.70) Uncertain [0.70, 0.90) Trustworthy [0.90, 1] A2 15% Untrustworthy [0, 0.61) Uncertain [0.61, 0.81) Trustworthy [0.81, 1] A3 20% Untrustworthy [0, 0.51) Uncertain [0.51, 0.71) Trustworthy [0.71, 1]
[0231] Before the network operates, the edge proxy transmits a to-be-computed data set with a data amount of 10 to the edge nodes A1, A2, A3 respectively at t.sub.0 for three times. After the edge proxy processes evidence, the judgment results of the edge nodes A1, A2, A3 are shown in Table 9. Initial trust values of the edge nodes A1, A2 and A3, trust identifiers and valid time thereof are shown in Table 10.
TABLE-US-00009 TABLE 9 Three Evidence Processing and Judgment Results of Edge Nodes A1, A2, A3 A1 A2 A3 Accuracy Integrity Timeliness Accuracy Integrity Timeliness Accuracy Integrity Timeliness membership membership membership membership membership membership membership membership membership degree degree degree degree degree degree degree degree degree μ.sub.1-0.sup.ε μ.sub.2-0.sup.ε μ.sub.3-0.sup.ε μ.sub.1-0.sup.ε μ.sub.2-0.sup.ε μ.sub.3-0.sup.ε μ.sub.1-0.sup.ε μ.sub.2-0.sup.ε μ.sub.3-0.sup.ε The first 1 1 0.91 0.90 1 0.86 0.38 0.52 0.67 time The 0.90 1 0.91 0.71 0.90 0.63 0.38 0.52 0.55 second time The third 1 1 0.86 0.52 1 0.63 0.28 0.71 0.50 time Judgment matrix
TABLE-US-00010 TABLE 10 Initial Trust Associated Information of Edge Nodes A1, A2, A3 Node Accuracy Integrity Timeliness identity membership membership membership Initial trust Trust Valid identifier degree degree degree value identifier time ID.sub.Ai mean
[0232] The initial trust value of A1 is greater than 0.9, in order to prevent a malicious node from cheating trust, the edge proxy replaces the trust value of A1 with 0.8, and transmits a trust identifier TI.sub.A1−0−1 to the site device. The trust level of A2 is an uncertain level, the edge proxy allocates a trust identifier TI.sub.A2−0−1 to same, and transmits the trust identifier to the site device. The judgment result of A3 is untrustworthy, then, the edge proxy repeats steps of evidence collection, evidence processing and initial trust evaluation twice. Since the judgment result is untrustworthy, A3 is a malicious or failed edge node, the identity information of A3 and a trust identifier TI.sub.A3−0=0 thereof are broadcast, and are reported to the safety administrator for replacement.
[0233] The edge proxy evaluates an initial trust value of a replaced edge node A3′ to be added, the initial trust value of the edge node A3′ is 0.65 which is greater than 0.51, the trust level is an uncertain level, the edge proxy allocates a trust identifier TI.sub.A3′−0=1 to the edge node and transmits the trust identifier to the site device, and the site device receives the trust identifier and then transmits data to the edge node.
[0234] After the network operates for 10s, the edge proxy initiates a trust update request to the site device, and the site device transmits the collected data to the edge node and the edge proxy simultaneously. The edge proxy starts the first round of trust update, the evidence of the edge node A1, A2, A3′ needs to be collected for three times and the amount of data collected each time is 10. After the first round of trust update for 10s, a second round of trust update is conducted. After two rounds of trust update, the final trust values of the edge nodes A1, A2, A3′ in each round of trust update are shown in Table 11.
TABLE-US-00011 TABLE 11 Updated Final Trust Associated Information about A1, A2, A3′ Number of times Node of Direct Corrected identity evidence trust direct trust Penalty or Final trust Trust Valid Time identifier collection value value reward value identifier time t.sub.τ ID.sub.Ai CN.sub.τ Trust.sub.Ai-τ Trust.sub.Ai-τ.sup.d E.sub.Ai-τ.sup.f Trust.sub.Ai-τ.sup.u TI.sub.Ai-τ T.sub.Ai-τ
t.sub.1 ID.sub.A1 3 0.93 0.85 −0.04 0.81 1 192 ID.sub.A2 3 0.90 0.79 0.06 0.85 2 202 ID.sub.A3′ 3 0.85 0.71 0 0.71 2 202 t.sub.2 ID.sub.A1 5 0.84 0.84 0.01 0.85 1 (0) — ID.sub.A2 5 0.70 0.73 0.09 0.82 3 333 ID.sub.A3′ 5 0.88 0.79 0.03 0.82 3 333
indicates data missing or illegible when filed
[0235] Because trust identifiers of A1 are equal for three consecutive times, the edge proxy regards A1 as a malicious node; the edge proxy broadcasts identity information about A1 and the trust identifier 0 thereof, and reports to the security administrator for replacement. After the safety administrator replaces A1 with A1′, the edge proxy evaluates an initial trust value thereof, and the edge proxy updates final trust values of A2, A3′ after evaluating the initial trust value of A1′ Evaluation results when updating to the fourth round are shown in Table 12.
TABLE-US-00012 TABLE 12 Updated Final Trust Associated Information about A1, A2, A3′ Number of times Node of Corrected identity evidence Direct trust direct trust Penalty or Final trust Trust Valid Time identifier collection value value reward value identifier time t.sub.τ ID.sub.Ai CN.sub.t Trust.sub.Ai-τ.sup.cd Trust.sub.Ai-τ.sup.d E.sub.Ai-τ.sup.f Trust.sub.Ai-τ.sup.u TI.sub.Ai-τ T.sub.Ai-τ.sup.v t.sub.2 ID.sub.A1 3 0.96 — — 0.96 1 55 ID.sub.A2 6 0.83 0.78 0.06 0.84 4 404 ID.sub.A3′ 6 0.81 0.83 −0.04 0.79 4 404 t.sub.4 ID.sub.A1 3 0.99 0.97 −0.04 0.93 2 202 ID.sub.A2 — — — −1 0 0 — ID.sub.A3′ 7 0.91 0.84 0.11 0.95 5 474 NOTE: the computing result of A2 leads to a safety accident in industrial production.
[0236] During the fourth round of trust update, a score given by the site device to A2 is −1, so the edge proxy regards A2 as a malicious node. The edge proxy broadcasts identity information about A2 and the trust identifier 0 thereof, and reports to the security administrator for replacement. After the safety administrator replaces A2 with A2′, the edge proxy evaluates an initial trust value thereof first. The edge proxy updates final trust values of A1′, A3′ after evaluating the initial trust value of A2′. Evaluation results in the fifth round of trust update are shown in Table 13.
TABLE-US-00013 TABLE 13 Final Trust Associated Information about Edge Nodes A1′, A2′, A3′ after Fifth Round of Trust Update Number of Node times of Corrected identity evidence Direct trust direct trust Penalty or Final trust Trust Valid Time identifier collection value value reward value identifier time t.sub.5 ID.sub.Ai CN.sub.5 Trust.sub.Ai-5.sup.cd Trust.sub.Ai-5.sup.d E.sub.Ai-5.sup.f Trust.sub.Ai-5.sup.u TI.sub.Ai-5 T.sub.Ai-5.sup.v t.sub.5 ID.sub.A2′ 3 0.91 — — 0.91 1 55 ID.sub.A1′ 3 0.96 0.96 0 0.96 2 302 ID.sub.A3′ 8 0.87 0.85 0.06 0.91 6 545
[0237] When trust update is conducted to the tenth round, the historical direct trust values of A1′ stored in the sliding window in the edge proxy are shown in Table 14. After the fifth round of trust update, the direct trust values of A1′ are not updated.
TABLE-US-00014 TABLE 14 Sliding Storage Window of Edge Node A1′ 1 2 3 4 5 6 7 8 9 10 0.96 0.99 0.96
[0238] At this moment, the historical direct trust values of A2′ stored in the sliding window in the edge proxy are shown in Table 15. Weights corresponding to the first to the fifth panes are 0.30, 0.40, 0.54, 0.74, and 1.00 respectively, and a sum of the weights is 2.98. The edge proxy weighted averages the historical direct trust values, obtaining Trust.sub.A2′−10.sup.hd=0.88.
TABLE-US-00015 TABLE 15 Sliding Storage Window of Edge Node A2′ 1 2 3 4 5 6 7 8 9 10 0.91 0.87 0.83 0.89 0.93
[0239] At this moment, the historical direct trust values of A3′ stored in the sliding window in the edge proxy are shown in Table 16. Weights corresponding to all panes are 0.06, 0.09, 0.12, 0.16, 0.22, 0.30, 0.40, 0.54, 0.74 and 1.00 respectively, and a sum of the weights is 3.63. The edge proxy weighted averages the historical direct trust values, obtaining Trust.sub.A3′−10.sup.hd=0.87.
TABLE-US-00016 TABLE 16 Sliding Storage Window of Edge Node A3′ 1 2 3 4 5 6 7 8 9 10 0.65 0.85 0.88 0.81 0.91 0.87 0.83 0.89 0.93 0.85
[0240] Results in the tenth round of trust update are shown in Table 17.
TABLE-US-00017 TABLE 17 Final Trust Associated Information about Edge Nodes A1′, A2′, A3′ Number of Node times of Corrected identity evidence Direct trust direct trust Penalty or Final trust Trust Valid Time identifier collection value value reward value identifier time t.sub.10 ID.sub.Ai CN.sub.10 Trust.sub.Ai-10.sup.cd Trust.sub.Ai-10.sup.d E.sub.Ai-10.sup.f Trust.sub.Ai-10.sup.u TI.sub.Ai-10 T.sub.Ai-10.sup.v t.sub.10 ID.sub.A2′ 8 0.91 0.88 0.06 0.94 6 545 ID.sub.A1′ — — — — 0.96 — 0 ID.sub.A3′ 9 0.84 0.85 −0.01 0.84 11 655
[0241] After the fifth round of trust update, the trust identifier of the edge node A1′ is expired, however, the trust value thereof is still not updated, the edge proxy regards A1′ as a malicious node or failed node, lists same in a blacklist, broadcasts the identity and trust identifier 0 thereof, and reports to the safety administrator for replacement.
[0242] In conclusion, an edge node is a malicious or failed node in following four cases:
[0243] (1) a judgment result of the edge node is untrustworthy;
[0244] (2) trust identifiers for three consecutive times of the edge node are equal;
[0245] (3) a site device feeds back a safety incident; and
[0246] (4) the trust identifier of the edge node is expired.
[0247] Finally, it should be noted that the above embodiments are only used for describing, rather than limiting the technical solution of the present invention. Although the present invention is described in detail with reference to the preferred embodiments, those ordinary skilled in the art shall understand that the technical solution of the present invention can be amended or equivalently replaced without departing from the purpose and the scope of the technical solution. The amendment or equivalent replacement shall be covered within the scope of the claims of the present invention.