Cross-region authentication method fusing certificate and SRAM-PUF SPG
By integrating the cross-region authentication method of certificates and SRAM-PUF SPG, and combining direct trust and indirect trust evaluation, a global trust evaluation mechanism is constructed, which solves the problem of low security of power intelligent terminals in cross-region interactions and improves the intensity and intensity of certification evaluation. accuracy.
Patent Information
- Application Number
- CN202410843753.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-29
AI Technical Summary
Existing cross-region interactions have problems with low security and low intensity of authentication evaluation in power smart terminals, and cannot meet the identity authentication needs of power terminals in complex interaction scenarios.
Using a cross-region authentication method that integrates certificates and SRAM-PUF SPG, through the registration stage, certificate issuance stage and cross-region authentication stage, combined with the direct trust assessment and indirect trust assessment mechanisms, a global trust assessment mechanism is constructed, which significantly reduces communication and computing overhead. Improve the intensity of cross-regional certification assessment.
It realizes fine-grained quantitative trust assessment of cross-region interaction of power intelligent terminals, dynamically adapts to the requirements of authentication scenarios, and improves the security and assessment accuracy of cross-region authentication.
Smart Images

Figure CN118869255A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the collaborative field of electric power intelligent terminals, and in particular to a cross-region authentication method integrating a certificate and an SRAM-PUF SPG. Background Art
[0002] With the orderly opening of the power grid and the sharp increase in demand for collaborative operations, the "end-to-end" collaborative capabilities of power smart terminals are constantly being built, which puts forward higher requirements for the efficiency, dynamism and adaptability of terminal identity authentication. At the same time, social capital has participated in the investment and operation of incremental power distribution, distributed energy and other fields, and the ownership and operation rights of power grid assets have been separated. The massive and complex terminal interactions have broken the status quo of the original power terminal zoning and domain division. The single identity authentication mode can no longer meet the actual needs, and it is urgent to establish a hierarchical terminal identity authentication mechanism for the terminal.
[0003] In the cross-region collaboration scenario between external terminals and power terminals, in the case of heterogeneous security mechanisms between the two parties in this interaction, the power terminal needs to try its best to obtain the information of the external terminal during authentication, evaluate the access security and the scope of released resources based on the relevant information, and establish cross-region security collaboration based on the amount of external terminal information. However, the existing cross-region interaction still has the problems of low security and low authentication and evaluation strength. Summary of the invention
[0004] In order to solve the above problems, the purpose of the present invention is to provide a cross-region authentication method that integrates certificates and SRAM-PUF SPG, which significantly reduces communication and computing overhead while ensuring the accuracy of the evaluation, and improves the strength of cross-region authentication evaluation.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] A cross-region authentication method integrating certificate and SRAM-PUF SPG, characterized in that it includes a registration phase, a certificate issuance phase and a cross-region authentication phase, as follows:
[0007] Registration phase: Each terminal D i Calling the SRAMPUF function will generate a unique device identifier ID i and Certified CRPs i , Public Key PK i Sent to the cross-domain authentication terminal InCer j Register and authenticate the terminal across domains j Randomly select some CRPs i ', let terminal D i Call SRAMPUF function to calculate CRPs i ', verify terminal D i After the physical authenticity of the IDi and public key PK i Bind and generate a registration token:
[0008] RToken i =SM3(ID i ,PK i ,t i ,CRPs i ',SK j )
[0009] Among them, SK InCer It is the private key of the authentication terminal InCer in the domain. i is the registration timestamp;
[0010] Certificate issuance phase:
[0011] Each terminal D i Send RToken i To the power certificate issuing CA, CA sends a certificate to the cross-domain authentication terminal InCer j After verification, from the cross-domain authentication terminal InCer j Get terminal D i Registration information, including the unique identifier ID i , Certified CRPs i '、Public key PK i , CA uses the private key SK to the terminal D i Sign the message:
[0012] Sign = SM2 (ID i ,PK i ,t i ',CRPs i ',SK);
[0013] CA generates a terminal containing D i Unique identifier ID i , Certified CRPs i '、Public key PK i , effective time t i ', device certificate Cert for information signature i =ID i ||PK i ||t i '||CRPs i '||Sgin;
[0014] Cross-region authentication stage:
[0015] Terminal a initiates a cross-region authentication request to the cross-region authentication terminal in this area, and the cross-region authentication terminal in this area verifies Cert a effectiveness and use of some CRPsi 'Verify the authenticity of terminal a; the cross-region authentication terminal in this area establishes a cross-region request to the cross-region authentication terminal in the destination area and creates a secure session;
[0016] After the destination zone's inter-zone authentication terminal and the local zone's inter-zone authentication terminal respectively verify each other's certificates Cert2, Cert4 and their parts CRPs'2, CRPs'4, the destination zone's inter-zone authentication terminal obtains the certificate Cert a The public key PK in a Verify Cert a The validity of the test result is checked, and a Challenge is randomly selected to require terminal a to give a response value. If the response values are consistent, the verification is successful.
[0017] Furthermore, when the cross-region authentication terminal in the destination zone and the cross-region authentication terminal in this zone pass authentication, when the cross-region authentication terminal in this zone further interacts with other terminals in the destination zone, the direct trust evaluation mechanism and the indirect trust evaluation mechanism are integrated to comprehensively evaluate the credibility of the interaction by constructing a global trust evaluation mechanism.
[0018] Further, the direct trust evaluation mechanism is as follows:
[0019] In the same-domain terminal interaction network, the trust value is defined and calculated by quantifying the task execution performance of the terminal node. At a specific time point t, A set of time series probability data representing tasks in the interaction between terminal nodes;
[0020] Assume that in the interaction at a certain time point t, terminal n i The interaction task with terminal nj is represented as a set of time series probability arrays:
[0021]
[0022] in, It represents the ratio of the number of successfully executed tasks to the total number of task interactions during that time;
[0023] Considering the temporal impact of historical interaction records, weights are introduced to ensure that time factors are taken into account when evaluating direct trust. The specific definitions are as follows:
[0024]
[0025] Among them, ε i Indicates time t i The time decay factor of
[0026] For control business scenarios with high requirements for fine-grained differentiation of time scales, a segmented time attenuation function is constructed:
[0027]
[0028] Among them, t1, t2, ..., t n are the time demarcation points, δ1,δ2,...,δ n is the decay rate of each interval, the time boundary point increases point by point, and the decay rate decreases point by point;
[0029] For rational terminals, replace the exponential time decay model with a power function:
[0030] ε i =(1+t+t i ) -k
[0031] Among them, k is the parameter that controls the decay rate;
[0032] After the time decay factor is introduced, the terminal's historical interaction records are weighted and updated to reflect the impact of their timeliness on the current trust evaluation;
[0033] The Beta distribution is improved to enhance the flexibility and adaptability of the direct trust assessment model to better capture the temporal trends in historical records and ultimately more accurately capture the dynamic changes in historical interaction behaviors.
[0034] Furthermore, after the time decay factor is introduced, the historical interaction records of the terminal are weighted and updated to reflect the impact of its timeliness on the current trust evaluation, specifically:
[0035] Introduce a sliding time window algorithm to update the interaction situation. Suppose the interaction record data flow is:
[0036] R={R1,R2,...,R m ,...};
[0037] Each record R i is a triplet R i =(t i ,a i ,s i ) respectively identify the timestamp when the interaction occurs, the type of interaction behavior, and the result of the interaction, where the interaction result s i is a binary variable;
[0038] The sliding window function W(t) is introduced to represent the window state at time t. The window size is Δt, and W(t) is defined as:
[0039] W(t)={R i |t-Δt<t i <t};
[0040] That is, the window W(t) contains all interaction records within Δt before time t. Define the interaction record Ri =(t i ,a i ,s i )’s trust contribution value c i for:
[0041] c i =ε i ×s i ;
[0042] c i Indicates the record R i The contribution to the trust evaluation at time t is affected by the recorded time and the interaction results.
[0043] The weighted trust evaluation value λ(t) based on the window W(t) can be defined as the weighted average of the trust contribution values of all records in the window:
[0044]
[0045] Where |W(t)| represents the size of the window, that is, the number of records in the window;
[0046] When a new interaction record R new =(t new ,a new ,s new ) arrives, the updating process of the sliding window and the trust evaluation value is expressed as:
[0047] W(t new )={R i |t new -Δt<t i <t new};
[0048]
[0049] Finally, the time decay factor is weighted and applied to each historical interaction record for update, and new historical record data is obtained:
[0050]
[0051] Furthermore, the Beta distribution is improved to enhance the flexibility and adaptability of the direct trust assessment model to better capture the temporal trends in historical records, as follows:
[0052] The time decay factor is introduced into the Beta trust model, and the historical interaction records are time-weighted, giving different weight coefficients to the interactions at different time points, so as to effectively capture the dynamic evolution characteristics of the trust relationship;
[0053] Note interactive terminal n i and nj The trust degree is a random variable θ(t) that changes with time. θ(t) obeys the Beta distribution with parameters α(t) and β(t), that is, θ(t)~Beta(α(t),β(t));
[0054] Among them, α(t) and β(t) represent the time-weighted cumulative values of the number of successful interactions and the number of failed interactions up to time t, respectively;
[0055] At time t, a new interaction record R is collected i =(t i ,a i ,s i ), weight the contribution value of the interaction record, when s i = 1, α(t) = α(t i )·ε i +1,β(t)=β(t i )·ε i ; When s i = 0, α(t) = α(t i )·ε i , β(t)=β(t i )·ε i +1, the improved Beta trust model is as follows:
[0056]
[0057]
[0058] α(t) represents the regulator of the direct trust value, represents the sum of successful records, and η serves as an adjustment to prevent the denominator from reaching zero.
[0059] Furthermore, the indirect trust evaluation mechanism is as follows:
[0060] In the terminal set composed of multiple management domains, each domain randomly selects a terminal node as the domain registration terminal, which is responsible for managing the identity registration of the terminals in the domain. Each domain randomly votes to elect a cross-domain authentication terminal to support cross-domain identity authentication collaboration, including the registration stage and the authentication stage, as follows:
[0061] Registration stage:
[0062] Assume that each terminal D i The SRAMPUF function generates a unique device identifier ID i and Certified CRPs i , Public Key PK i After each terminal joins the management domain to which it belongs, it registers the terminal InCer in the domain j Register its identity IDi and partially certified CRPs i ', InCer registered terminal in the domain j Let terminal D i Call SRAMPUF function to calculate CRPs i ', verify terminal D i After the physical authenticity of the ID i and public key PK i Bind and generate a registration token:
[0063] RToken i =SM3(ID i ,PK i ,t i ,CRPs i ',SK j );
[0064] Among them, SK InCer It is the private key of the terminal InCer registered in the domain. i is the registration timestamp;
[0065] Certification stage:
[0066] When terminal D i Need to access another domain k When the resource is in the cross-domain authentication terminal OutCer, a cross-domain authentication application Apply_DO (ID i ,PK i ,CRPs i ”,RToken i ,Domain k ), cross-domain authentication terminal OutCer verifies RToken i , confirm terminal D i Legal identity within the domain;
[0067] Then, the cross-domain authentication terminal OutCer sends a k Cross-domain authentication terminal OutCer k Send a cross-domain authentication request Apply_DO(ID i ,PK i ,CRPs i ”,Domain j ); Cross-domain authentication terminal OutCer k After receiving the request, the terminal D i Initiate CRPs authentication, terminal D i Call SRAMPUF function to calculate CRPs i ”, cross-domain authentication terminal OutCer kThe received result is consistent with the result sent by the registered terminal InCer in the domain, and the identity authentication is completed
[0068] Furthermore, by building a global trust evaluation mechanism, the credibility of the interaction is comprehensively evaluated, as follows:
[0069] According to the direct evaluation results and the indirect evaluation results, the weights are determined by using the information entropy-based method, as follows:
[0070]
[0071]
[0072] Then, the overall trust evaluation value is calculated:
[0073]
[0074] The present invention has the following beneficial effects:
[0075] The present invention integrates direct-indirect trust methods to construct an information entropy comprehensive trust evaluation mechanism. Through attribute weighted clustering and adaptive weight fusion, it can dynamically adapt to the authentication scenario requirements and realize a more fine-grained trust quantitative evaluation of cross-regional interaction of power intelligent terminals. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] Figure 1 This is a schematic diagram of terminal cross-zone authentication of the present invention;
[0077] Figure 2 The figure is a schematic diagram of the middle-end global trust evaluation process in one embodiment of the present invention. DETAILED DESCRIPTION
[0078] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0079] refer to Figure 1 In this embodiment, a cross-region authentication method integrating a certificate and an SRAM-PUF SPG is provided, which is characterized by including a registration phase, a certificate issuance phase, and a cross-region authentication phase, as follows:
[0080] Registration phase: Each terminal D i Calling the SRAMPUF function will generate a unique device identifier ID i and Certified CRPs i , Public Key PK i Sent to the cross-domain authentication terminal InCer j Register and authenticate the terminal across domains j Randomly select some CRPs i ', let terminal D iCall SRAMPUF function to calculate CRPs i ', verify terminal D i After the physical authenticity of the ID i and public key PK i Bind and generate a registration token:
[0081] RToken i =SM3(ID i ,PK i ,t i ,CRPs i ',SK j )
[0082] Among them, SK InCer It is the private key of the authentication terminal InCer in the domain. i is the registration timestamp;
[0083] Certificate issuance phase:
[0084] Each terminal D i Send RToken i To the power certificate issuing CA, CA sends a certificate to the cross-domain authentication terminal InCer j After verification, from the cross-domain authentication terminal InCer j Get terminal D i Registration information, including the unique identifier ID i , Certified CRPs i '、Public key PK i , CA uses the private key SK to the terminal D i Sign the message:
[0085] Sign = SM2 (ID i ,PK i ,t i ',CRPs i ',SK);
[0086] CA generates a terminal containing D i Unique identifier ID i , Certified CRPs i '、Public key PK i , effective time t i ', device certificate Cert for information signature i =ID i ||PK i ||t i '||CRPs i '||Sgin;
[0087] Cross-region authentication stage:
[0088] Terminal a initiates a cross-region authentication request to the cross-region authentication terminal in this area, and the cross-region authentication terminal in this area verifies Cert a effectiveness and use of some CRPs i 'Verify the authenticity of terminal a; the cross-region authentication terminal in this area establishes a cross-region request to the cross-region authentication terminal in the destination area and creates a secure session;
[0089] After the destination zone's inter-zone authentication terminal and the local zone's inter-zone authentication terminal respectively verify each other's certificates Cert2, Cert4 and their parts CRPs'2, CRPs'4, the destination zone's inter-zone authentication terminal obtains the certificate Cert a The public key PK in a Verify Cert a The validity of the test result is checked, and a Challenge is randomly selected to require terminal a to give a response value. If the response values are consistent, the verification is successful.
[0090] Preferably, in this embodiment, after the cross-zone authentication terminal of the destination zone and the cross-zone authentication terminal of the local zone pass authentication, when the cross-zone authentication terminal of the local zone further interacts with other terminals in the destination zone, the direct trust evaluation mechanism and the indirect trust evaluation mechanism are integrated, and the credibility of the interaction is comprehensively evaluated by constructing a global trust evaluation mechanism.
[0091] Preferably, in this embodiment, the direct trust evaluation mechanism is as follows:
[0092] In the same-domain terminal interaction network, the trust value is defined and calculated by quantifying the task execution performance of the terminal node. At a specific time point t, A set of time series probability data representing tasks in the interaction between terminal nodes;
[0093] Assume that in the interaction at a certain time point t, terminal n i The interaction task with terminal nj is represented as a set of time series probability arrays:
[0094]
[0095] in, It represents the ratio of the number of successfully executed tasks to the total number of task interactions during that time;
[0096] Considering the temporal impact of historical interaction records, weights are introduced to ensure that time factors are taken into account when evaluating direct trust. The specific definitions are as follows:
[0097]
[0098] Among them, ε i Indicates time t i The time decay factor of
[0099] For control business scenarios with high requirements for fine-grained differentiation of time scales, a segmented time attenuation function is constructed:
[0100]
[0101] Among them, t1, t2, …, t n are the time demarcation points, δ1,δ2,…,δ n is the decay rate of each interval, the time boundary point increases point by point, and the decay rate decreases point by point;
[0102] For rational terminals, replace the exponential time decay model with a power function:
[0103] ε i =(1+t+t i ) -k
[0104] Among them, k is the parameter that controls the decay rate;
[0105] After the time decay factor is introduced, the terminal's historical interaction records are weighted and updated to reflect the impact of their timeliness on the current trust evaluation;
[0106] The Beta distribution is improved to enhance the flexibility and adaptability of the direct trust assessment model, so as to better capture the time trends in historical records, and ultimately more accurately capture the dynamic changes of historical interaction behaviors, and perform trust assessment based on the improved direct trust assessment model.
[0107] Preferably, in this embodiment, after the time decay factor is introduced, the historical interaction records of the terminal are weighted and updated to reflect the impact of its timeliness on the current trust evaluation, specifically:
[0108] Introduce a sliding time window algorithm to update the interaction situation. Suppose the interaction record data flow is:
[0109] R={R1,R2,...,R m ,...};
[0110] Each record R i is a triplet R i =(t i ,a i ,s i ) respectively identify the timestamp when the interaction occurs, the type of interaction behavior, and the result of the interaction, where the interaction result s i is a binary variable;
[0111] The sliding window function W(t) is introduced to represent the window state at time t. The window size is Δt, and W(t) is defined as:
[0112] W(t)={R i |t-Δt<t i <t};
[0113] That is, the window W(t) contains all interaction records within Δt before time t. Define the interaction record R i =(t i ,a i ,s i )’s trust contribution value c i for:
[0114] c i =ε i ×s i ;
[0115] c i Indicates the record R i The contribution to the trust evaluation at time t is affected by the recorded time and the interaction results.
[0116] The weighted trust evaluation value λ(t) based on the window W(t) can be defined as the weighted average of the trust contribution values of all records in the window:
[0117]
[0118] Where |W(t)| represents the size of the window, that is, the number of records in the window;
[0119] When a new interaction record R new =(t new ,a new ,s new ) arrives, the updating process of the sliding window and the trust evaluation value is expressed as:
[0120] W(t new )={R i |t new -Δt<t i <t new};
[0121]
[0122] Finally, the time decay factor is weighted and applied to each historical interaction record for update, and new historical record data is obtained:
[0123]
[0124] Preferably, in this embodiment, the Beta distribution is improved to enhance the flexibility and adaptability of the direct trust evaluation model to better capture the time trend in historical records, as follows:
[0125] The time decay factor is introduced into the Beta trust model, and the historical interaction records are time-weighted, giving different weight coefficients to the interactions at different time points, so as to effectively capture the dynamic evolution characteristics of the trust relationship;
[0126] Note interactive terminal n i and n j The trust degree is a random variable θ(t) that changes with time. θ(t) obeys the Beta distribution with parameters α(t) and β(t), that is, θ(t)~Beta(α(t),β(t));
[0127] Among them, α(t) and β(t) represent the time-weighted cumulative values of the number of successful interactions and the number of failed interactions up to time t, respectively;
[0128] At time t, a new interaction record R is collected i =(t i ,a i ,s i ), weight the contribution value of the interaction record, when s i = 1, α(t) = α(t i )·ε i +1,β(t)=β(t i )·ε i ; When s i = 0, α(t) = α(t i )·ε i , β(t)=β(t i )·ε i +1, the improved Beta trust model is as follows:
[0129]
[0130]
[0131] α(t) represents the regulator of the direct trust value, represents the sum of successful records, and η serves as an adjustment to prevent the denominator from reaching zero.
[0132] Preferably, in this embodiment, the indirect trust evaluation mechanism is as follows:
[0133] In the terminal set composed of multiple management domains, each domain randomly selects a terminal node as the domain registration terminal, which is responsible for managing the identity registration of the terminals in the domain. Each domain randomly votes to elect a cross-domain authentication terminal to support cross-domain identity authentication collaboration, including the registration stage and the authentication stage, as follows:
[0134] Registration stage:
[0135] Assume that each terminal D iThe SRAMPUF function generates a unique device identifier ID i and Certified CRPs i , Public Key PK i After each terminal joins the management domain to which it belongs, it registers the terminal InCer in the domain j Register its identity ID i and partially certified CRPs i ', InCer registered terminal in the domain j Let terminal D i Call SRAMPUF function to calculate CRPs i ', verify terminal D i After the physical authenticity of the ID i and public key PK i Bind and generate a registration token:
[0136] RToken i =SM3(ID i ,PK i ,t i ,CRPs i ',SK j );
[0137] Among them, SK InCer It is the private key of the terminal InCer registered in the domain. i is the registration timestamp;
[0138] Certification stage:
[0139] When terminal D i Need to access another domain k When the resource is in the cross-domain authentication terminal OutCer, a cross-domain authentication application Apply_DO (ID i ,PK i ,CRPs i ”,RToken i ,Domain k ), cross-domain authentication terminal OutCer verifies RToken i , confirm terminal D i Legal identity within the domain;
[0140] Then, the cross-domain authentication terminal OutCer sends a k Cross-domain authentication terminal OutCer k Send a cross-domain authentication request Apply_DO(ID i ,PK i ,CRPs i ”,Domain j ); Cross-domain authentication terminal OutCerk After receiving the request, the terminal D i Initiate CRPs authentication, terminal D i Call SRAMPUF function to calculate CRPs i ”, cross-domain authentication terminal OutCer k If the received result is consistent with the result sent by the registered terminal InCer in the domain, the identity authentication is completed.
[0141] Preferably, in this embodiment, after the terminals in the same area complete the authentication, the authenticated terminals build a cross-domain terminal interaction group, but some terminals are not included in the cross-domain terminal interaction group. When the terminals that are not included have cross-domain interaction requirements, the terminals that have not directly established authentication select a group of "intermediate terminals" that have a history of direct interaction with the authentication target terminal, that is, the authenticated terminals within the domain as a bridge for trust propagation. A feature extraction mechanism is designed based on a convolutional autoencoder to achieve knowledge sharing and collaborative computing between different trust assessment models. The density-based spatial clustering of applications with noise (DBSCAN) algorithm is used for trust clustering. By distinguishing low-density areas from high-density areas, trusted and untrusted terminal groups are identified. The details are as follows:
[0142] Preferably, in this embodiment, feature extraction is performed based on a convolutional autoencoder, as follows:
[0143] First, the input layer of the autoencoder is constructed to encode the terminal evaluation data into a high-dimensional feature vector, and the output layer is responsible for decoding the feature vector to reconstruct the data;
[0144] Then, the hidden layer for feature extraction is constructed. By calculating the reconstruction error, the autoencoder compares the feature vectors before and after the hidden layer encoding to measure the effect of feature extraction;
[0145] In node clustering, KL divergence is used to calculate the reconstruction error:
[0146]
[0147] Among them, g i and h i are the feature vectors representing the input and output respectively.
[0148] Preferably, in this embodiment, when constructing a convolutional autoencoder, a convolutional neural network is introduced, and a sparse constraint is introduced into the hidden layer of the autoencoder for regularization; by keeping most neurons in an inactive state, the complexity of the edge network is reduced and overfitting is prevented; the average activation avg of each hidden neuron is calculated i, determine the active neurons; the sparse penalty term in the loss function measures the difference through KL divergence, and the network is learned based on a small number of activated neurons;
[0149] set up is the activation value of neuron j, N is the number of nodes, and κ is the number of neurons in the hidden layer. Then the average activation of neuron j, avg i yes:
[0150]
[0151] The loss function is expressed as
[0152]
[0153] in, is the sparse penalty coefficient, KL i It is a similarity measure based on KL divergence.
[0154] Preferably, in this embodiment, the trust evaluation based on the convolutional autoencoder is as follows:
[0155] use Indicates dynamic information, representing terminal n i The trust value grows and provides the terminals in the edge network with the latest information about the behavior of the evaluated terminals;
[0156] Assume that there are m evaluation terminals in the middle layer, and the terminal set is E = {e1, e2, ..., e m};
[0157] For the evaluation terminal ei, interact with all terminals and set the weight of the evaluation node as:
[0158]
[0159] in Represents the number of communications between nodes within a period of time, and the indirect trust value is expressed as:
[0160]
[0161] Preferably, in this embodiment, the density-based spatial clustering application noise algorithm is used to perform trust clustering, as follows:
[0162] Define the concept of neighborhood, and define the neighborhood of each data point by the neighborhood radius, that is, the point-to-point distance less than θ is considered a neighborhood; the point containing at least MinPts sample points in the neighborhood is defined as a core point. The specific clustering process is as follows:
[0163] (1) Randomly select a node as the starting point and calculate the number of its neighboring nodes;
[0164] (2) If the number of neighbor nodes is greater than MinPts, then the neighbor nodes of the node will be added to the cluster of the node;
[0165] (3) Then, continue to expand the neighborhood of the newly added points to ensure that all reachable core points are added to the cluster;
[0166] (3) If the neighborhood of a core point contains other core points, they will be connected to the same cluster;
[0167] (4) All data points that are not assigned to a cluster will be marked as noise points, and they do not belong to any cluster;
[0168] (5) Repeat the above process until all data points have been visited and classified.
[0169] In the clustering process, edge nodes have various credible attribute characteristics. Different attribute weights are assigned according to the relative importance of each attribute in the clustering process. Assuming that the edge nodes have a total of M attributes, the neighborhood distance ND between any node r and node s is calculated as follows:
[0170]
[0171] Finally, one or more clusters are obtained, each of which contains a group of data points that are densely packed with each other, while noise points do not belong to any cluster.
[0172] Preferably, in this embodiment, reference Figure 2 , by building a global trust evaluation mechanism, the credibility of the interaction is comprehensively evaluated as follows:
[0173] According to the direct evaluation results and the indirect evaluation results, the weights are determined by using the information entropy-based method, as follows:
[0174]
[0175]
[0176] Then, the overall trust evaluation value is calculated:
[0177]
[0178] In this embodiment,
[0179] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0180] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0181] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0182] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0183] The above is only a preferred embodiment of the present invention, and does not limit the present invention in other forms. Any technician familiar with the profession may use the above disclosed technical content to change or modify it into an equivalent embodiment with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still belongs to the protection scope of the technical solution of the present invention.
Claims
1. A cross-region authentication method integrating certificate and SRAM-PUF SPG, characterized in that: It includes the registration stage, certificate issuance stage and cross-region authentication stage, as follows: Registration phase: Each terminal D i Calling the SRAMPUF function will generate a unique device identifier ID i and Certified CRPs i , Public Key PK i Sent to the cross-domain authentication terminal InCer j Register and authenticate the terminal across domains InCer j Randomly select some CRPs′ i , let terminal D i Call SRAMPUF function to calculate CRPs′ i , verify terminal D i After the physical authenticity of the ID i and public key PK i Bind and generate a registration token: RToken i =SM3(ID i ,PK i ,t i ,CRPs i ',SK j ) Among them, SK InCer It is the private key of the authentication terminal InCer in the domain. i is the registration timestamp; Certificate issuance phase: Each terminal D i Send RToken i To the power certificate issuing CA, CA sends a certificate to the cross-domain authentication terminal InCer j After verification, from the cross-domain authentication terminal InCer j Get terminal D i Registration information, including the unique identifier ID i , Certified CRPs′ i , Public Key PK i , CA uses the private key SK to the terminal D i Sign the message: Sign=SM2(ID i ,PK i ,t i ',CRPs i ',SK); CA generates a terminal containing D i Unique identifier ID i , Certified CRPs′ i , Public Key PK i , effective time t′ i , device certificate Cert for information signature i =ID i ||PK i ||t′ i ||CRPs′ i ||Sgin; Cross-region authentication stage: Terminal a initiates a cross-region authentication request to the cross-region authentication terminal in this area, and the cross-region authentication terminal in this area verifies Cert a effectiveness and use of some CRPs′ i Verify the authenticity of terminal a; the inter-region authentication terminal in this region establishes an inter-region request to the inter-region authentication terminal in the destination region and creates a secure session; After the destination zone's inter-zone authentication terminal and the local zone's inter-zone authentication terminal respectively verify each other's certificates Cert2, Cert4 and their parts CRPs'2, CRPs'4, the destination zone's inter-zone authentication terminal obtains the certificate Cert a The public key PK in a Verify Cert a The validity of the test result is checked, and a Challenge is randomly selected to require terminal a to give a response value. If the response values are consistent, the verification is successful.
2. According to claim 1, a cross-region authentication method integrating a certificate and SRAM-PUF SPG is characterized in that: When the cross-zone authentication terminal in the destination zone and the cross-zone authentication terminal in this zone pass the authentication, when the cross-zone authentication terminal in this zone further interacts with other terminals in the destination zone, the direct trust evaluation mechanism and the indirect trust evaluation mechanism are integrated to comprehensively evaluate the credibility of the interaction by building a global trust evaluation mechanism.
3. According to claim 2, a cross-region authentication method integrating a certificate and SRAM-PUF SPG is characterized in that: The direct trust evaluation mechanism is as follows: In the same-domain terminal interaction network, the trust value is defined and calculated by quantifying the task execution performance of the terminal node. At a specific time point t, A set of time series probability data representing tasks in the interaction between terminal nodes; Assume that in the interaction at a certain time point t, terminal n i and terminal n j The interactive task is represented as a set of time series probability arrays: in, It represents the ratio of the number of successfully executed tasks to the total number of task interactions during that time; Considering the temporal impact of historical interaction records, weights are introduced to ensure that time factors are taken into account when evaluating direct trust. The specific definitions are as follows: Among them, ε i Indicates time t i The time decay factor of For control business scenarios with high requirements for fine-grained differentiation of time scales, a segmented time attenuation function is constructed: Among them, t1, t2, …, t n are the time demarcation points, δ1,δ2,…,δ n is the decay rate of each interval, the time boundary point increases point by point, and the decay rate decreases point by point; For rational terminals, replace the exponential time decay model with a power function: ε i =(1+t+t i ) -k Among them, k is the parameter that controls the decay rate; After the time decay factor is introduced, the terminal's historical interaction records are weighted and updated to reflect the impact of their timeliness on the current trust evaluation; The Beta distribution is improved to enhance the flexibility and adaptability of the direct trust assessment model to better capture the temporal trends in historical records and ultimately more accurately capture the dynamic changes in historical interaction behaviors.
4. According to claim 3, a cross-region authentication method integrating a certificate and SRAM-PUF SPG is characterized in that: After the time decay factor is introduced, the historical interaction records of the terminal are weighted and updated to reflect the impact of its timeliness on the current trust evaluation, specifically: Introduce a sliding time window algorithm to update the interaction situation. Suppose the interaction record data flow is: R={R1,R2,…,R m ,...}; Each record R i is a triplet R i =(t i ,a i ,s i ) respectively identify the timestamp when the interaction occurs, the type of interaction behavior, and the result of the interaction, where the interaction result s i is a binary variable; The sliding window function W(t) is introduced to represent the window state at time t. The window size is Δt, and W(t) is defined as: W(t)={R i |t-Δt<t i <t}; That is, the window W(t) contains all interaction records within Δt before time t. Define the interaction record R i =(t i ,a i ,s i )’s trust contribution value c i for: c i =e i ×s i ; c i Indicates the record R i The contribution to the trust evaluation at time t is affected by the recorded time and the interaction results. The weighted trust evaluation value λ(t) based on the window W(t) can be defined as the weighted average of the trust contribution values of all records in the window: Where |W(t)| represents the size of the window, that is, the number of records in the window; When a new interaction record R new =(t new ,a new ,s new ) arrives, the updating process of the sliding window and the trust evaluation value is expressed as: W(t new )={R i |t new -Δt<t i <t new }; Finally, the time decay factor is weighted and applied to each historical interaction record for update, and new historical record data is obtained:
5. A direct trust assessment method based on time decay factor according to claim 3, characterized in that: The improved Beta distribution is used to enhance the flexibility and adaptability of the direct trust assessment model to better capture the temporal trends in historical records, as follows: The time decay factor is introduced into the Beta trust model, and the historical interaction records are time-weighted, giving different weight coefficients to the interactions at different time points, so as to effectively capture the dynamic evolution characteristics of the trust relationship; Note interactive terminal n i and n j The trust degree is a random variable θ(t) that changes with time. θ(t) obeys the Beta distribution with parameters α(t) and β(t), that is, θ(t)~Beta(α(t),β(t)); Among them, α(t) and β(t) represent the time-weighted cumulative values of the number of successful interactions and the number of failed interactions up to time t, respectively; At time t, a new interaction record R is collected i =(t i ,a i ,s i ), weight the contribution value of the interaction record, when s i = 1, α(t) = α(t i )·ε i +1,β(t)=β(t i )·ε i ; When s i = 0, α(t) = α(t i )·ε i , β(t)=β(t i )·ε i +1, the improved Beta trust model is as follows: α(t) represents the regulator of the direct trust value, represents the sum of successful records, and η serves as an adjustment to prevent the denominator from reaching zero.
6. A cross-region authentication method integrating certificate and SRAM-PUF SPG according to claim 2, characterized in that: The indirect trust evaluation mechanism is as follows: In the terminal set composed of multiple management domains, each domain randomly selects a terminal node as the domain registration terminal, which is responsible for managing the identity registration of the terminals in the domain. Each domain randomly votes to elect a cross-domain authentication terminal to support cross-domain identity authentication collaboration, including the registration stage and the authentication stage, as follows: Registration stage: Assume that each terminal D i The SRAMPUF function generates a unique device identifier ID i and Certified CRPs i , Public Key PK i After each terminal joins the management domain to which it belongs, it registers the terminal InCer in the domain j Register its identity ID i and partially certified CRPs′ i , InCer registered terminal in the domain j Let terminal D i Call SRAMPUF function to calculate CRPs′ i , verify terminal D i After the physical authenticity of the ID i and public key PK i Bind and generate a registration token: RToken i =SM3(ID i ,PK i ,t i ,CRPs i ',SK j ); Among them, SK InCer It is the private key of the terminal InCer registered in the domain. i is the registration timestamp; Certification stage: When terminal D i Need to access another domain k When the resource is in the cross-domain authentication terminal OutCer, a cross-domain authentication application Apply_DO (ID i ,PK i ,CRPs″ i ,RToken i ,Domain k ), cross-domain authentication terminal OutCer verifies RToken i , confirm terminal D i Legal identity within the domain; Then, the cross-domain authentication terminal OutCer sends a k Cross-domain authentication terminal OutCer k Send a cross-domain authentication request Apply_DO(ID i ,PK i ,CRPs″ i ,Domain j ); Cross-domain authentication terminal OutCer k After receiving the request, the terminal D i Initiate CRPs authentication, terminal D i Call SRAMPUF function to calculate CRPs″ i , cross-domain authentication terminal OutCer k If the received result is consistent with the result sent by the registered terminal InCer in the domain, the identity authentication is completed.
7. A cross-region authentication method integrating certificate and SRAM-PUF SPG according to claim 2, characterized in that: The credibility of the interaction is comprehensively evaluated by building a global trust evaluation mechanism, as follows: According to the direct evaluation results and the indirect evaluation results, the weights are determined by using the information entropy-based method, as follows: Then, the overall trust evaluation value is calculated:
Citation Information
Cited By
Direct trust evaluation method and system
CN119254530A
Single lamp root certificate failure remote automatic updating method and device
CN121283628A
