Digital security management method and system based on blockchain

By storing and analyzing user behavior data on the blockchain and using artificial intelligence to identify abnormal behaviors, the risk of traditional digital security systems being hijacked and attacked is solved, more intelligent security management is achieved, and the prevention of network attacks is enhanced. ability.

CN118568695BActive Publication Date: 2024-10-11WENZHOU CITY CARD SERVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411057230.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-10-11
Estimated Expiration
2044-08-02

AI Technical Summary

Technical Problem

Traditional digital security systems are at risk of being hijacked and attacked in terms of identity authentication and data protection. Especially when users are personally threatened or defrauded, attackers may use the user's true identity to conduct illegal operations, resulting in the leakage of personal information and property. loss.

Method used

Adopting a blockchain-based digital security management method, by obtaining user behavior history data and current behavior time series data from blockchain nodes, the artificial intelligence and deep learning algorithms in the digital security management center server are used for data processing and analysis, and the user is identified. historical and current behavior pattern semantics, and conduct comparative analysis based on behavioral responses to detect whether there are abnormalities in user behavior.

Benefits of technology

Utilizing the non-tamperability and transparency of blockchain combined with artificial intelligence technology to achieve more intelligent digital security management, it can better identify users' abnormal behaviors and effectively prevent network attacks and security threats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568695B_ABST
    Figure CN118568695B_ABST
Patent Text Reader

Abstract

The present application relates to a digital security management method and system based on blockchain, and to the field of digital security technology. It stores user behavior history data and current behavior time series data on the blockchain, obtains user behavior history data and current behavior time series data from the blockchain, and transmits these data to the digital security management center server, so as to identify the user's historical behavior pattern semantics and current behavior pattern semantics through the data processing and analysis algorithm based on artificial intelligence and deep learning in the digital security management center server, and then conducts a comparative analysis based on the behavior response for the behavior pattern semantics of the two, so as to detect whether the user behavior is abnormal, and can use the immutability and transparency of the blockchain, combined with artificial intelligence technology to achieve more intelligent digital security management, which can better identify the user's abnormal behavior, so as to more effectively prevent various network attacks and security threats.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of digital security technology, and specifically, to a digital security management method and system based on blockchain. Background Art

[0002] With the rapid development of the digital economy, digital security issues have become increasingly prominent, especially in identity authentication and data protection. Although the traditional card system has improved security to a certain extent through multi-factor authentication (such as passwords, biometrics, smart cards, etc.), there is still a risk of hijacking attacks. This risk mainly comes from the unreliability of identity credentials, especially when users are threatened or defrauded, attackers may use the user's real identity to perform illegal operations, thereby bypassing traditional security measures, causing personal information leakage, property loss and other problems.

[0003] Therefore, an optimized digital security management solution is desired to solve the above technical problems. Summary of the invention

[0004] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0005] In a first aspect, the present application provides a digital security management method based on blockchain, the method comprising:

[0006] In response to the identity authentication being passed, obtaining user behavior history data corresponding to the user identity tag from the first blockchain node;

[0007] Obtain the time queue of the user's current behavior data from the second blockchain node;

[0008] By means of a digital security management center server, each user behavior data in the user behavior history data is embedded and encoded to obtain a history queue of a semantic encoding feature vector of the user behavior data;

[0009] Through the digital security management center server, the historical queue of the semantically encoded feature vector of the user behavior data is input into a node feature propagation network based on a node energy decay mechanism to obtain a user behavior pattern temporal clustering representation vector;

[0010] Through the digital security management center server, the time queue of the user's current behavior data is semantically encoded based on the current behavior pattern associated with the user's behavior time sequence to obtain a semantic encoding feature vector of the user's current behavior pattern;

[0011] Through the digital security management center server, the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern are input into a feature interaction response module based on an adaptive distinguishable mechanism to obtain a user's current behavior-user historical behavior response comparison representation vector;

[0012] Through the digital security management center server, security management is performed based on the user current behavior-user historical behavior response comparison representation vector to generate a management result, and the management result is used to indicate whether there is an abnormality in the user behavior.

[0013] Optionally, through the digital security management center server, the historical queue of the user behavior data semantic encoding feature vector is input into a node feature propagation network based on a node energy decay mechanism to obtain a user behavior pattern time series clustering representation vector, including: based on the maximum value, average value and variance of each user behavior data semantic encoding feature vector in the historical queue of the user behavior data semantic encoding feature vector, the node energy statistical paradigm value of each user behavior data semantic encoding feature vector is calculated to obtain a sequence of user behavior data historical semantic node energy statistical paradigm values, wherein the user behavior data historical semantic node energy statistical paradigm value corresponding to the current user behavior data semantic encoding feature vector in the sequence of user behavior data historical semantic node energy statistical paradigm values ​​is used as the current node energy statistical paradigm value, and other user behavior data historical semantic node energy statistical paradigm values ​​are used as historical node energy statistical paradigm values ​​to obtain a sequence of current user behavior data historical semantic node energy statistical paradigm values ​​and historical user behavior data historical semantic node energy statistical paradigm values; each other user behavior data semantic encoding feature vector in the historical queue of the user behavior data semantic encoding feature vector and the current The node propagation space span values ​​between the user behavior data semantic encoding feature vectors are used to obtain a sequence of user behavior data historical semantic node propagation space span values; based on the sequence of user behavior data historical semantic node propagation space span values ​​and the sequence of historical user behavior data historical semantic node energy statistical paradigm values, the node energy propagation attenuation coefficient values ​​of other user behavior data semantic encoding feature vectors in the historical queue of the user behavior data semantic encoding feature vector are determined to obtain a sequence of user behavior data historical semantic node energy propagation attenuation coefficient values; using the sequence of user behavior data historical semantic node energy propagation attenuation coefficient values ​​as a weight sequence, the weighted sum between all other user behavior data semantic encoding feature vectors in the historical queue of the user behavior data semantic encoding feature vector is calculated to obtain a historical user behavior data historical semantic node energy attenuation time series aggregation feature vector; based on the current user behavior data historical semantic node energy statistical paradigm value, the weighted sum of the historical user behavior data historical semantic node energy attenuation time series aggregation feature vector and the current user behavior data historical semantic user behavior data semantic encoding feature vector is calculated to obtain the user behavior pattern time series clustering representation vector.

[0014] Optionally, based on the maximum value, average value and variance of each user behavior data semantic encoding feature vector in the historical queue of the user behavior data semantic encoding feature vector, the node energy statistical paradigm value of each user behavior data semantic encoding feature vector is calculated to obtain a sequence of user behavior data historical semantic node energy statistical paradigm values, including: calculating the maximum value, average value and variance of the user behavior data semantic encoding feature vector to obtain the user behavior data historical semantic maximum value, the user behavior data historical semantic average value and the user behavior data historical semantic variance; calculating the sum of the user behavior data historical semantic variance and the regularization term hyperparameter and then multiplying it with the constant 4 to obtain the first user behavior data historical semantic node energy statistical factor Sub; respectively calculate the product of the historical semantic variance of the user behavior data and the regularization term hyperparameter and the constant 2 to obtain the double-modulated historical semantic variance of the user behavior data and the double-modulated regularization term hyperparameter; calculate the square of the difference between the historical semantic maximum value of the user behavior data and the historical semantic average value of the user behavior data, and then add it with the double-modulated regularization term hyperparameter and the double-modulated historical semantic variance of the user behavior data to obtain the second user behavior data historical semantic node energy statistical factor; calculate the division between the first user behavior data historical semantic node energy statistical factor and the second user behavior data historical semantic node energy statistical factor to obtain the user behavior data historical semantic node energy statistical paradigm value.

[0015] Optionally, based on the sequence of propagation space span values ​​of historical semantic nodes of user behavior data and the sequence of energy statistical paradigm values ​​of historical semantic nodes of historical user behavior data, the node energy propagation attenuation coefficient values ​​of other user behavior data semantic encoding feature vectors in the historical queue of the user behavior data semantic encoding feature vector are determined to obtain a sequence of energy propagation attenuation coefficient values ​​of historical semantic nodes of user behavior data, including: taking each user behavior data historical semantic node propagation space span value in the sequence of propagation space span values ​​of historical semantic nodes of user behavior data as an exponential power, calculating an exponential function value with the natural constant e as the base to obtain a sequence of propagation class support space span values ​​of historical semantic nodes of user behavior data; calculating the positional sum of the sequence of propagation class support space span values ​​of historical semantic nodes of user behavior data and the sequence of propagation space span values ​​of historical semantic nodes of user behavior data to obtain a sequence of propagation space span modulation coefficients of historical semantic nodes of user behavior data; calculating the positional division between the sequence of energy statistical paradigm values ​​of historical semantic nodes of historical user behavior data and the sequence of propagation space span modulation coefficients of historical semantic nodes of user behavior data to obtain a sequence of energy propagation attenuation coefficient values ​​of historical semantic nodes of user behavior data.

[0016] Optionally, through the digital security management center server, the time queue of the user's current behavior data is semantically encoded based on the current behavior pattern associated with the user behavior time series to obtain a semantically encoded feature vector of the user's current behavior pattern, including: through the digital security management center server, semantically encoding each user's current behavior data in the time queue of the user's current behavior data to obtain a time queue of semantically encoded feature vectors of user's current behavior data; through the digital security management center server, inputting the time queue of the semantically encoded feature vectors of the user's current behavior data into a user behavior time series encoder based on a Bi-LSTM model to obtain the semantically encoded feature vector of the user's current behavior pattern.

[0017] Optionally, through the digital security management center server, the user's current behavior pattern semantic encoding feature vector and the user behavior pattern temporal clustering representation vector are input into a feature interaction response module based on an adaptive distinguishable mechanism to obtain a user current behavior-user historical behavior response comparison representation vector, including: calculating the position-by-position response between the user's current behavior pattern semantic encoding feature vector and the user behavior pattern temporal clustering representation vector to obtain a user current behavior-user historical behavior position-by-position response feature vector; using a Softmax function to normalize the user current behavior-user historical behavior position-by-position response feature vector to obtain a normalized user current behavior-user historical behavior position-by-position response feature vector; using the negative of each position feature value in the normalized user current behavior-user historical behavior position-by-position response feature vector as a power, and calculating a natural constant e as the base. The natural exponential function value of is used to obtain the normalized user current behavior - user historical behavior position-by-position response class support feature vector; the inverse of the sum of the feature value of each position in the normalized user current behavior - user historical behavior position-by-position response class support feature vector and the constant one is calculated to obtain the user current behavior - user historical behavior response screening weight mask vector; the position-by-position point multiplication between the user current behavior - user historical behavior response screening weight mask vector and the normalized user current behavior - user historical behavior position-by-position response feature vector is calculated to obtain the user current behavior - user historical behavior position-by-position response distinguishable weight mask vector; the position-by-position point multiplication between the user current behavior - user historical behavior position-by-position response distinguishable weight mask vector and the user current behavior - user historical behavior position-by-position response feature vector is calculated to obtain the user current behavior - user historical behavior response comparison representation vector.

[0018] Optionally, through the digital security management center server, security management is performed based on the user current behavior-user historical behavior response comparison representation vector to generate a management result, and the management result is used to indicate whether there is an abnormality in the user behavior, including: through the digital security management center server, the user current behavior-user historical behavior response comparison representation vector is input into a classifier-based security manager to obtain the management result.

[0019] In a second aspect, the present application provides a digital security management system based on blockchain, the system comprising:

[0020] A user behavior history data acquisition module, configured to acquire user behavior history data corresponding to the user identity tag from the first blockchain node in response to identity authentication being passed;

[0021] A user current behavior data acquisition module, used to obtain a time queue of the user's current behavior data from the second blockchain node;

[0022] An embedding coding module, used for embedding and coding each user behavior data in the user behavior history data to obtain a history queue of semantic coding feature vectors of user behavior data through a digital security management center server;

[0023] A node feature propagation module, used to input the historical queue of the semantically encoded feature vector of the user behavior data into a node feature propagation network based on a node energy decay mechanism through the digital security management center server to obtain a user behavior pattern temporal clustering representation vector;

[0024] A current behavior pattern semantic coding module is used to perform semantic coding of the current behavior pattern based on the user behavior time sequence association on the time queue of the user's current behavior data through the digital security management center server to obtain a semantic coding feature vector of the user's current behavior pattern;

[0025] A feature interaction response module, used to input the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern into a feature interaction response module based on an adaptive distinguishable mechanism through the digital security management center server to obtain a user current behavior-user historical behavior response comparison representation vector;

[0026] The security management module is used to perform security management based on the user current behavior-user historical behavior response comparison representation vector through the digital security management center server to generate a management result, and the management result is used to indicate whether there is an abnormality in the user behavior.

[0027] Optionally, the node feature propagation module includes: a node energy statistical paradigm value calculation unit, which is used to calculate the node energy statistical paradigm value of each user behavior data semantic coding feature vector based on the maximum value, average value and variance of each user behavior data semantic coding feature vector in the historical queue of the user behavior data semantic coding feature vector to obtain a sequence of user behavior data historical semantic node energy statistical paradigm values, wherein the user behavior data historical semantic node energy statistical paradigm value corresponding to the current user behavior data semantic coding feature vector in the sequence of user behavior data historical semantic node energy statistical paradigm values ​​is used as the current node energy statistical paradigm value, and other user behavior data historical semantic node energy statistical paradigm values ​​are used as historical node energy statistical paradigm values ​​to obtain a sequence of current user behavior data historical semantic node energy statistical paradigm value and historical user behavior data historical semantic node energy statistical paradigm values; a node propagation space span value statistics unit, which is used to count the node propagation space span values ​​between each other user behavior data semantic coding feature vector in the historical queue of the user behavior data semantic coding feature vector and the current user behavior data semantic coding feature vector to obtain the user behavior data historical semantic A sequence of node propagation space span values; a node energy propagation attenuation coefficient value calculation unit, used to determine the node energy propagation attenuation coefficient values ​​of each other user behavior data semantic coding feature vector in the historical queue of the user behavior data semantic coding feature vector based on the sequence of the user behavior data historical semantic node propagation space span values ​​and the sequence of the historical user behavior data historical semantic node energy statistical paradigm values ​​to obtain a sequence of user behavior data historical semantic node energy propagation attenuation coefficient values; a first vector weighted calculation unit, used to calculate the weighted sum of all other user behavior data semantic coding feature vectors in the historical queue of the user behavior data semantic coding feature vector using the sequence of the user behavior data historical semantic node energy propagation attenuation coefficient values ​​as a weight sequence to obtain a historical user behavior data historical semantic node energy attenuation time series aggregation feature vector; a second vector weighted calculation unit, used to calculate the weighted sum of the historical user behavior data historical semantic node energy attenuation time series aggregation feature vector and the current user behavior data historical semantic user behavior data semantic coding feature vector based on the current user behavior data historical semantic node energy statistical paradigm value to obtain the user behavior pattern time series clustering representation vector.

[0028] Optionally, the node energy statistical paradigm value calculation unit is used to: calculate the maximum value, average value and variance of the user behavior data semantic encoding feature vector to obtain the historical semantic maximum value of the user behavior data, the historical semantic average value of the user behavior data and the historical semantic variance of the user behavior data; calculate the sum of the historical semantic variance of the user behavior data and the regularization term hyperparameter and then multiply it with a constant 4 to obtain a first user behavior data historical semantic node energy statistical factor; respectively calculate the product of the historical semantic variance of the user behavior data and the regularization term hyperparameter and the constant 2 to obtain a double-modulated user behavior data historical semantic variance and a double-modulated regularization term hyperparameter; calculate the square of the difference between the historical semantic maximum value of the user behavior data and the historical semantic average value of the user behavior data, and then add it with the double-modulated regularization term hyperparameter and the double-modulated user behavior data historical semantic variance to obtain a second user behavior data historical semantic node energy statistical factor; calculate the division between the first user behavior data historical semantic node energy statistical factor and the second user behavior data historical semantic node energy statistical factor to obtain the user behavior data historical semantic node energy statistical paradigm value.

[0029] The present application has at least the following technical effects: Compared with the prior art, the present application stores user behavior history data and current behavior time series data on the blockchain, obtains user behavior history data and current behavior time series data from the blockchain, and transmits these data to the digital security management center server, so as to identify the user's historical behavior pattern semantics and current behavior pattern semantics through the digital security management center server using data processing and analysis algorithms based on artificial intelligence and deep learning, and then perform a comparative analysis of the behavior pattern semantics of the two based on behavioral responses, so as to detect whether there are abnormalities in user behavior. It can utilize the immutability and transparency of the blockchain, combined with artificial intelligence technology to achieve more intelligent digital security management, and can better identify abnormal user behavior, so as to more effectively prevent various network attacks and security threats.

[0030] Other features and advantages of the present application will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0032] In the attached picture:

[0033] Figure 1It is a flowchart of a digital security management method based on blockchain according to an exemplary embodiment.

[0034] Figure 2 It is a block diagram of a blockchain-based digital security management system according to an exemplary embodiment.

[0035] Figure 3 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0036] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.

[0037] It should be understood that the various steps described in the method implementation of the present application can be performed in different orders and / or performed in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.

[0038] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0039] The concepts of "first", "second", etc. mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. The modifications of "one" and "multiple" mentioned in this application are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0040] The names of the messages or information exchanged between multiple devices in the embodiments of the present application are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0041] The specific implementation of the present application is described in detail below with reference to the accompanying drawings.

[0042] Figure 1is a flowchart of a digital security management method based on blockchain according to an exemplary embodiment. Figure 1 As shown, the method includes:

[0043] Step S101: in response to identity verification being passed, obtaining user behavior history data corresponding to the user identity tag from the first blockchain node;

[0044] Step S102: Obtain the time queue of the user's current behavior data from the second blockchain node;

[0045] Step S103: embedding and encoding each user behavior data in the user behavior history data to obtain a history queue of semantically encoded feature vectors of user behavior data through the digital security management center server;

[0046] Step S104: inputting the historical queue of the semantically encoded feature vector of the user behavior data into a node feature propagation network based on a node energy decay mechanism through the digital security management center server to obtain a user behavior pattern temporal clustering representation vector;

[0047] Step S105: Through the digital security management center server, the time queue of the user's current behavior data is semantically encoded based on the current behavior pattern associated with the user's behavior time sequence to obtain a semantic encoding feature vector of the user's current behavior pattern;

[0048] Step S106: inputting the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern into a feature interaction response module based on an adaptive distinguishable mechanism through the digital security management center server to obtain a user current behavior-user historical behavior response comparison representation vector;

[0049] Step S107: Through the digital security management center server, security management is performed based on the user current behavior-user historical behavior response comparison representation vector to generate a management result, and the management result is used to indicate whether there is an abnormality in the user behavior.

[0050] Among them, blockchain, as a distributed ledger technology, has the characteristics of being tamper-proof, transparent and decentralized, and provides a new solution for digital security management. Through blockchain technology, the authenticity and integrity of data can be ensured, thereby improving the security of the system. In addition, considering that user behavior analysis is an effective means of identifying and preventing identity hijacking attacks, by analyzing the user's behavior pattern, abnormal behavior can be identified, so that corresponding security measures can be taken.

[0051] Based on this, in the technical solution of the present application, a digital security management method based on blockchain is proposed, which can store user behavior history data and current behavior time series data on the blockchain, and when the user's identity authentication is passed, obtain the user behavior history data and current behavior time series data from the blockchain, and transmit these data to the digital security management center server, so as to identify the user's historical behavior pattern semantics and current behavior pattern semantics through the data processing and analysis algorithm based on artificial intelligence and deep learning in the digital security management center server, and then perform a comparative analysis of the behavior pattern semantics of the two based on behavior response, so as to detect whether there is any abnormality in user behavior, and can use the immutability and transparency of blockchain, combined with artificial intelligence technology to achieve more intelligent digital security management, so as to better identify abnormal user behavior, so as to more effectively prevent various network attacks and security threats.

[0052] Specifically, in the technical solution of the present application, in response to identity authentication, the user behavior history data corresponding to the user identity tag is obtained from the first blockchain node, and the time queue of the user's current behavior data is obtained from the second blockchain node. Next, in order to be able to analyze the user behavior history data to capture the temporal semantics and characteristics of the user's historical behavior pattern, in the technical solution of the present application, each user behavior data in the user behavior history data is embedded and encoded through the digital security management center server, so as to embed and map each user behavior data into a common space, and capture the user behavior pattern semantics and encoding features contained in each user behavior data, so as to convert these semantic features into vector form, thereby obtaining a historical queue of user behavior data semantic encoding feature vectors.

[0053] It should be understood that since user behavior is often temporal, that is, user behavior will change over time. Therefore, in order to better identify the user's historical behavior pattern and temporal changes, in the technical solution of the present application, the historical queue of the semantic coding feature vector of the user behavior data is further input into the node feature propagation network based on the node energy decay mechanism to obtain the user behavior pattern temporal clustering representation vector. Through the processing of the node feature propagation network based on the node energy decay mechanism, the correlation semantics and interaction information between the semantic coding features of user historical behaviors in different local time periods can be learned and characterized, and the node energy decay process between the semantic coding features of user historical behaviors in each local time period can be simulated to realize the temporal spatial aggregation representation of node features, so as to find similar user behavior patterns according to the clustering semantics of these user historical behavior semantic coding features, so as to better understand the user's behavioral habits and laws.

[0054] In one embodiment of the present application, the historical queue of the semantically encoded feature vector of the user behavior data is input into a node feature propagation network based on a node energy decay mechanism through the digital security management center server to obtain a user behavior pattern time series clustering representation vector, including: calculating the node energy statistical paradigm value of each user behavior data semantic encoding feature vector based on the maximum value, average value and variance of each user behavior data semantic encoding feature vector in the historical queue of the user behavior data semantic encoding feature vector to obtain a sequence of user behavior data historical semantic node energy statistical paradigm values, wherein the user behavior data historical semantic node energy statistical paradigm value corresponding to the current user behavior data semantic encoding feature vector in the sequence of user behavior data historical semantic node energy statistical paradigm values ​​is used as the current node energy statistical paradigm value, and other user behavior data historical semantic node energy statistical paradigm values ​​are used as historical node energy statistical paradigm values ​​to obtain a sequence of current user behavior data historical semantic node energy statistical paradigm values ​​and historical user behavior data historical semantic node energy statistical paradigm values; and statistically analyzing the energy statistical paradigm values ​​of each other user behavior data semantic encoding feature vector in the historical queue of the user behavior data semantic encoding feature vector and the energy statistical paradigm value of each other user behavior data The node propagation space span values ​​between the current user behavior data semantic encoding feature vectors are used to obtain a sequence of user behavior data historical semantic node propagation space span values; based on the sequence of user behavior data historical semantic node propagation space span values ​​and the sequence of historical user behavior data historical semantic node energy statistical paradigm values, the node energy propagation attenuation coefficient values ​​of other user behavior data semantic encoding feature vectors in the historical queue of the user behavior data semantic encoding feature vector are determined to obtain a sequence of user behavior data historical semantic node energy propagation attenuation coefficient values; using the sequence of user behavior data historical semantic node energy propagation attenuation coefficient values ​​as a weight sequence, the weighted sum between all other user behavior data semantic encoding feature vectors in the historical queue of the user behavior data semantic encoding feature vector is calculated to obtain a historical user behavior data historical semantic node energy attenuation time series aggregation feature vector; based on the current user behavior data historical semantic node energy statistical paradigm value, the weighted sum of the historical user behavior data historical semantic node energy attenuation time series aggregation feature vector and the current user behavior data historical semantic user behavior data semantic encoding feature vector is calculated to obtain the user behavior pattern time series clustering representation vector.

[0055] Specifically, the node feature propagation network based on the node energy decay mechanism uses each user behavior data semantic encoding feature vector as a node feature vector to calculate the energy statistical paradigm value of the node feature vector sequence, wherein the energy statistical paradigm value is related to the maximum value, average value and variance of the node feature vector, which is used to quantify the energy level of the node feature. Subsequently, by counting the propagation space span values ​​between different node feature vectors, the topological structure and spatial relationship between nodes, that is, the node association characteristics between each user behavior data semantic encoding feature vector, are captured. These span values ​​are combined with the node energy statistical paradigm value of the historical semantics of the user behavior data to determine the node energy propagation attenuation coefficient of the historical semantics of the user behavior data. This coefficient is inversely correlated with the historical node energy of the historical semantics of the user behavior data, simulating the attenuation characteristics of the energy of each user behavior data historical semantic node over time and space. Then, using these user behavior data historical semantic decay coefficients as weights (that is, considering the energy decay effect), the weighted sum of the node feature vector sequence is further calculated based on the energy statistical paradigm value of the user behavior data historical semantics to generate the historical user behavior data historical semantic node energy decay time series aggregation feature vector to aggregate the historical node feature information of the user behavior data historical semantics. Finally, by fusing the energy statistical paradigm value of the current node of the user behavior data historical semantics, the weighted sum of the historical user behavior data historical semantic node energy decay time series aggregation feature vector and the current user behavior data historical semantics user behavior data semantic encoding feature vector is calculated to generate the user behavior pattern time series clustering representation vector of the user behavior data historical semantics, which integrates the information of time series dynamics and spatial structure. In summary, the node feature propagation network based on the node energy decay mechanism captures the topological structure between nodes, simulates the energy propagation decay, and aggregates the time series spatial features by dynamically evaluating the energy level of each user behavior data historical semantic node feature. This method has significant advantages in improving the model's sensitivity to the time series dynamics of the user behavior data historical semantic node features, enhancing feature expression, and adapting to complex network structures. In addition, by dynamically adjusting node energy weights and aggregating temporal spatial features, the model can more accurately identify and process key historical semantic information of user behavior data in the data, thereby achieving better performance in subsequent behavior response comparison and behavior anomaly identification tasks.

[0056] In one embodiment of the present application, based on the maximum value, average value and variance of each user behavior data semantic encoding feature vector in the historical queue of the user behavior data semantic encoding feature vector, the node energy statistical paradigm value of each user behavior data semantic encoding feature vector is calculated to obtain a sequence of user behavior data historical semantic node energy statistical paradigm values, including: calculating the maximum value, average value and variance of the user behavior data semantic encoding feature vector to obtain the user behavior data historical semantic maximum value, the user behavior data historical semantic average value and the user behavior data historical semantic variance; calculating the sum of the user behavior data historical semantic variance and the regularization term hyperparameter and then multiplying it with the constant 4 to obtain the first user behavior data historical semantic node energy energy statistical factor; respectively calculate the product of the historical semantic variance of the user behavior data and the regularization term hyperparameter and the constant 2 to obtain the double-modulated historical semantic variance of the user behavior data and the double-modulated regularization term hyperparameter; calculate the square of the difference between the historical semantic maximum value of the user behavior data and the historical semantic average value of the user behavior data, and then add it with the double-modulated regularization term hyperparameter and the double-modulated historical semantic variance of the user behavior data to obtain the second user behavior data historical semantic node energy statistical factor; calculate the division between the first user behavior data historical semantic node energy statistical factor and the second user behavior data historical semantic node energy statistical factor to obtain the user behavior data historical semantic node energy statistical paradigm value.

[0057] In one embodiment of the present application, based on the sequence of propagation space span values ​​of historical semantic nodes of user behavior data and the sequence of energy statistical paradigm values ​​of historical semantic nodes of historical user behavior data, the node energy propagation attenuation coefficient values ​​of other user behavior data semantic encoding feature vectors in the historical queue of the user behavior data semantic encoding feature vector are determined to obtain a sequence of energy propagation attenuation coefficient values ​​of historical semantic nodes of user behavior data, including: using each user behavior data historical semantic node propagation space span value in the sequence of propagation space span values ​​of historical semantic nodes of user behavior data as an exponential power, calculating an exponential function value with the natural constant e as the base to obtain a sequence of propagation class support space span values ​​of historical semantic nodes of user behavior data; calculating the positional sum of the sequence of propagation class support space span values ​​of historical semantic nodes of user behavior data and the sequence of propagation space span values ​​of historical semantic nodes of user behavior data to obtain a sequence of propagation space span modulation coefficients of historical semantic nodes of user behavior data; calculating the positional division between the sequence of energy statistical paradigm values ​​of historical semantic nodes of historical user behavior data and the sequence of propagation space span modulation coefficients of historical semantic nodes of user behavior data to obtain a sequence of energy propagation attenuation coefficient values ​​of historical semantic nodes of user behavior data.

[0058] Specifically, the historical queue of the semantically encoded feature vector of the user behavior data is input into the node feature propagation network based on the node energy decay mechanism for processing using the following node feature propagation formula to obtain the temporal clustering representation vector of the user behavior pattern;

[0059] Among them, the node feature propagation formula is:

[0060]

[0061]

[0062]

[0063]

[0064]

[0065] in, A historical queue of semantically encoded feature vectors of the user behavior data, The first character in the history queue of the semantic encoding feature vector of the user behavior data User behavior data semantic encoding feature vector, For the The semantic encoding feature vector of user behavior data Position feature values, For the The length of the semantic encoding feature vector of user behavior data, For the The mean of the semantic encoding feature vectors of user behavior data, For the The variance of the semantic encoding feature vector of user behavior data, is the regularization hyperparameter, Indicates The maximum value of the semantic encoding feature vector of user behavior data, For the The node energy statistical paradigm value of the semantic encoding feature vector of user behavior data, Indicates the node propagation space span value, , , and is a trainable hyperparameter, A temporal clustering representation vector for the user behavior pattern.

[0066] In order to capture the semantic features and behavior patterns of the user's current behavior, so as to subsequently confirm whether there is a behavioral abnormality based on the response comparison and contrast between the current behavior pattern and the historical behavior pattern, in the technical solution of the present application, the current behavior data of each user in the time queue of the user's current behavior data is semantically encoded, so as to capture the semantic encoding features in the current behavior data of each user respectively, thereby obtaining a time queue of the semantic encoding feature vector of the user's current behavior data. Since the user's current behavior semantics has a temporal contextual feature in the time dimension, that is, the user's behavior semantics is not only related to the forward temporal behavior, but also to the backward temporal behavior. Based on this, in the technical solution of the present application, the time queue of the semantic encoding feature vector of the user's current behavior data is further input into the user behavior temporal encoder based on the Bi-LSTM model for encoding, so as to extract the forward and backward temporal correlation features of the current user's behavior semantics in the time dimension, thereby obtaining the user's current behavior pattern semantic encoding feature vector, which is used to reflect the user's current behavior pattern semantics.

[0067] In one embodiment of the present application, the time queue of the user's current behavior data is semantically encoded based on the current behavior pattern associated with the user behavior time series through the digital security management center server to obtain a semantically encoded feature vector of the user's current behavior pattern, including: through the digital security management center server, semantically encoding each user's current behavior data in the time queue of the user's current behavior data to obtain a time queue of semantically encoded feature vectors of user's current behavior data; through the digital security management center server, inputting the time queue of the semantically encoded feature vectors of the user's current behavior data into a user behavior time series encoder based on a Bi-LSTM model to obtain the semantically encoded feature vector of the user's current behavior pattern.

[0068] Furthermore, considering that there is a responsive correlation between the user's historical behavior pattern and the current behavior pattern, that is, the current behavior pattern characteristics will be affected by the historical behavior pattern. And, in the process of identifying and detecting the abnormal state of the user's behavior, it is necessary to compare and analyze the semantics of the user's historical behavior pattern and the semantics of the current behavior pattern. Based on this, in the technical solution of the present application, the user's current behavior pattern semantic encoding feature vector and the user behavior pattern temporal clustering representation vector are further input into the feature interaction response module based on the adaptive distinguishable mechanism to obtain the user's current behavior-user historical behavior response comparison representation vector. Through the processing of the feature interaction response module based on the adaptive distinguishable mechanism, the expression ability of the response comparison feature between the user's historical behavior pattern and the current behavior pattern and the overall performance of the model can be significantly improved through the fine responsiveness analysis and adaptive weight adjustment of each position. This can realize the semantic feature interaction and response comparison analysis between the current user behavior pattern and the historical behavior pattern, so as to better compare the difference between the user's current behavior and historical behavior, identify potential abnormal behavior, and enhance the security of the digital security management system.

[0069] Specifically, firstly, by calculating the position-by-position response between the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern, a user's current behavior-user's historical behavior position-by-position response feature vector is generated. This step effectively captures the local temporal responsiveness characteristics and interactions between the semantics of the user's current behavior pattern and the semantics of the user's historical behavior pattern. Subsequently, the Softmax function is used to normalize these user's current behavior-user's historical behavior position-by-position responses to form a probability distribution, ensuring the standardization of the feature response and providing preparation for the subsequent gating function weight screening. The normalization process not only balances the scale of the feature response, but also makes the temporal features between the user's current behavior pattern and the user's historical behavior pattern more balanced in the model. By inputting the normalized user's current behavior-user's historical behavior position-by-position response feature vector into the learnable gating function, the model can adaptively learn and output the user's current behavior-user's historical behavior response screening weight mask vector. This dynamic weighting process realizes the temporal feature selection and reinforcement between the user's current behavior pattern and the user's historical behavior pattern through the gating mechanism, and dynamically adjusts the importance of the feature position. This step is the core of feature optimization because it directly affects the sensitivity and distinguishing ability of the model to the user's current behavior-user historical behavior feature response. Further, by calculating the positional dot product between the user's current behavior-user historical behavior response screening weight mask vector and the normalized user's current behavior-user historical behavior positional response feature vector, the user's current behavior-user historical behavior positional response distinguishable weight mask vector is obtained. This operation further refines the weight allocation and provides precise weight control for the final user's current behavior-user historical behavior interaction fusion saliency representation and optimization. This position-by-position weight refinement ensures that the model can assign the most appropriate weight to the position of each user's current behavior-user historical behavior responsiveness feature, thereby more effectively capturing useful information in the data that represents the semantic difference between the two. Finally, by performing a dot product between the user's current behavior-user historical behavior positional response distinguishable weight mask vector and the user's current behavior-user historical behavior positional response feature vector, the user's current behavior-user historical behavior response comparison representation vector is generated. This step integrates the weighted feature responses and generates the final user current behavior - user historical behavior response comparison representation vector after response comparison representation enhancement, which is used for subsequent security management and effective identification of abnormal user behavior patterns.

[0070] In one embodiment of the present application, the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user behavior pattern are input into a feature interaction response module based on an adaptive distinguishable mechanism through the digital security management center server to obtain a user current behavior-user historical behavior response comparison representation vector, including: calculating the position-by-position response between the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user behavior pattern to obtain a user current behavior-user historical behavior position-by-position response feature vector; using a Softmax function to normalize the user current behavior-user historical behavior position-by-position response feature vector to obtain a normalized user current behavior-user historical behavior position-by-position response feature vector; using the negative of each position feature value in the normalized user current behavior-user historical behavior position-by-position response feature vector as a power, calculating the natural constant The value of the natural exponential function with the number e as the base is used to obtain the normalized user current behavior-user historical behavior position-by-position response class support feature vector; the reciprocal of the sum of the feature values ​​of each position in the normalized user current behavior-user historical behavior position-by-position response class support feature vector and the constant one is calculated to obtain the user current behavior-user historical behavior response screening weight mask vector; the position-by-position point multiplication between the user current behavior-user historical behavior response screening weight mask vector and the normalized user current behavior-user historical behavior position-by-position response feature vector is calculated to obtain the user current behavior-user historical behavior position-by-position response distinguishable weight mask vector; the position-by-position point multiplication between the user current behavior-user historical behavior position-by-position response distinguishable weight mask vector and the user current behavior-user historical behavior position-by-position response feature vector is calculated to obtain the user current behavior-user historical behavior response comparison representation vector.

[0071] Specifically, the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern are input into the feature interaction response module based on the adaptive distinguishable mechanism for processing using the following feature interaction response formula to obtain the user's current behavior-user historical behavior response comparison representation vector;

[0072] Wherein, the characteristic interaction response formula is:

[0073]

[0074]

[0075]

[0076]

[0077]

[0078] in, and represent the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern respectively, The position-by-position response feature vector is the user's current behavior-user's historical behavior. express function, To normalize the user's current behavior - user's historical behavior position-by-position response feature vector, is the value of the natural exponential function, Filter the weight mask vector for the user's current behavior-user's historical behavior response, It means point multiplication by position. The distinguishable weight mask vector for the position-by-position response of user current behavior-user historical behavior, The vector representing the comparison of the user's current behavior and the user's historical behavior response.

[0079] Specifically, through the digital security management center server, the user's current behavior-user historical behavior response comparison representation vector is input into the classifier-based security manager to obtain a management result, and the management result is used to indicate whether the user's behavior is abnormal. That is, the response comparison representation information between the user's current behavior pattern semantics and the historical behavior pattern semantics is used for classification processing, and whether the user's behavior is abnormal is detected again and again. The immutability and transparency of the blockchain can be used, combined with artificial intelligence technology to achieve more intelligent digital security management, so that the user's abnormal behavior can be better identified, so as to more effectively prevent various network attacks and security threats.

[0080] In one embodiment of the present application, security management is performed through the digital security management center server based on the user current behavior-user historical behavior response comparison representation vector to generate a management result, and the management result is used to indicate whether there is an abnormality in the user behavior, including: through the digital security management center server, the user current behavior-user historical behavior response comparison representation vector is input into a classifier-based security manager to obtain the management result.

[0081] Preferably, inputting the user current behavior-user historical behavior response comparison representation vector into a classifier-based security manager to obtain a management result includes:

[0082] Calculate the first norm and second norm of the mean vector of the semantic encoding feature vector of the user's current behavior pattern and the time series clustering representation vector of the user's behavior pattern;

[0083] Calculate the weighted sum of the inverse of the square root of the second norm and the first norm, and perform point multiplication with the point-to-point sum vector of the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern to obtain a first user current behavior-user historical behavior response comparison correction subvector;

[0084] Perform a dot multiplication of the dot product vector of the semantic encoding feature vector of the user's current behavior pattern and the user's behavior pattern temporal clustering representation vector and the square root of the length of the user's current behavior-user historical behavior response comparison representation vector to obtain a second user's current behavior-user historical behavior response comparison syndrome vector;

[0085] Calculating a weighted sum of the first user current behavior-user historical behavior response comparison correction subvector and the second user current behavior-user historical behavior response comparison correction subvector to obtain a user current behavior-user historical behavior response comparison correction vector;

[0086] Performing a dot multiplication of the user current behavior-user historical behavior response comparison correction vector and the user current behavior-user historical behavior response comparison representation vector to obtain a corrected user current behavior-user historical behavior response comparison representation vector;

[0087] The corrected user current behavior-user historical behavior response comparison representation vector is input into a classifier-based security manager to obtain a management result.

[0088] The user current behavior-user historical behavior response comparison correction vector is expressed as:

[0089]

[0090] and are respectively the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern, is its mean vector, and denote the first and second norms of the mean vector, respectively. is the length of the user current behavior-user historical behavior response comparison representation vector, and and is the weighted sum weight as a hyperparameter, It is the corrected user current behavior-user historical behavior response comparison representation vector.

[0091] Specifically, it is considered that the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern represent the temporal contextual association features of the user's current behavior data and the clustering representation features of the user's behavior history data, respectively. Considering the significant difference in the source domain sample size, when the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern are input into the feature interaction response module based on the adaptive distinguishable mechanism, it is expected to further compensate for the extreme category deviation caused by the imbalance of the correspondence ratio caused by the difference in the source domain sample size under the fine-grained distribution of the temporal sequence, thereby improving the accuracy of the classification results.

[0092] Therefore, based on the constrained representation of the structured foreground and background distinction of the supermanifold of the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern based on the mean vector norm between the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern, the feature-level key correspondence between the feature vectors of the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern is modeled, and the global correlation relationship between the corresponding features is adjusted, so as to make positive and fine-grained corresponding suggestions by controlling the unbalanced ratio between the corresponding eigenvalues ​​of the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern, so as to avoid the extreme imbalance of categories between the feature vectors of the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern by focusing on the focus.

[0093] Specifically, by correcting the user current behavior - user historical behavior response comparison representation vector through the user current behavior - user historical behavior response comparison correction vector, the accuracy of the management result obtained by inputting the user current behavior - user historical behavior response comparison representation vector into the classifier-based security manager can be improved, which can further improve the perception and detection capabilities of abnormal user behavior, and is conducive to more effective prevention of various network attacks and security threats.

[0094] To summarize, the above scheme is adopted to store user behavior history data and current behavior time series data on the blockchain, and obtain user behavior history data and current behavior time series data from the blockchain when the user's identity authentication is passed, and transmit these data to the digital security management center server, so as to identify the user's historical behavior pattern semantics and current behavior pattern semantics through the data processing and analysis algorithm based on artificial intelligence and deep learning in the digital security management center server, and then perform a comparative analysis of the behavior pattern semantics of the two based on behavior response, so as to detect whether there is any abnormality in user behavior, and can utilize the immutability and transparency of blockchain, combined with artificial intelligence technology to achieve more intelligent digital security management, so as to better identify abnormal user behavior, so as to more effectively prevent various network attacks and security threats.

[0095] Figure 2 is a block diagram of a digital security management system based on blockchain according to an exemplary embodiment. Figure 2 As shown, the digital security management system 200 includes:

[0096] The user behavior history data acquisition module 201 is used to acquire the user behavior history data corresponding to the user identity tag from the first blockchain node in response to the identity authentication being passed;

[0097] The user current behavior data acquisition module 202 is used to obtain the time queue of the user's current behavior data from the second blockchain node;

[0098] The embedded coding module 203 is used to embed the user behavior data in the user behavior history data through the digital security management center server to obtain a history queue of semantic coding feature vectors of user behavior data;

[0099] The node feature propagation module 204 is used to input the historical queue of the semantic encoding feature vector of the user behavior data into the node feature propagation network based on the node energy decay mechanism through the digital security management center server to obtain the user behavior pattern time series clustering representation vector;

[0100] The current behavior pattern semantic coding module 205 is used to perform semantic coding of the current behavior pattern based on the user behavior time sequence association on the time queue of the user's current behavior data through the digital security management center server to obtain a semantic coding feature vector of the user's current behavior pattern;

[0101] The feature interaction response module 206 is used to input the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern into the feature interaction response module based on the adaptive distinguishable mechanism through the digital security management center server to obtain the user's current behavior-user historical behavior response comparison representation vector;

[0102] The security management module 207 is used to perform security management based on the user current behavior-user historical behavior response comparison representation vector through the digital security management center server to generate a management result, and the management result is used to indicate whether there is an abnormality in the user behavior.

[0103] In one embodiment of the present application, the node feature propagation module includes: a node energy statistical paradigm value calculation unit, which is used to calculate the node energy statistical paradigm value of each user behavior data semantic coding feature vector based on the maximum value, average value and variance of each user behavior data semantic coding feature vector in the historical queue of the user behavior data semantic coding feature vector to obtain a sequence of user behavior data historical semantic node energy statistical paradigm values, wherein the user behavior data historical semantic node energy statistical paradigm value corresponding to the current user behavior data semantic coding feature vector in the sequence of user behavior data historical semantic node energy statistical paradigm values ​​is used as the current node energy statistical paradigm value, and other user behavior data historical semantic node energy statistical paradigm values ​​are used as historical node energy statistical paradigm values ​​to obtain a sequence of current user behavior data historical semantic node energy statistical paradigm values ​​and historical user behavior data historical semantic node energy statistical paradigm values; a node propagation space span value statistics unit, which is used to count the node propagation space span values ​​between each other user behavior data semantic coding feature vector in the historical queue of the user behavior data semantic coding feature vector and the current user behavior data semantic coding feature vector to obtain the user behavior data A sequence of historical semantic node propagation space span values; a node energy propagation attenuation coefficient value calculation unit, used to determine the node energy propagation attenuation coefficient values ​​of each other user behavior data semantic coding feature vector in the historical queue of the user behavior data semantic coding feature vector based on the sequence of user behavior data historical semantic node propagation space span values ​​and the sequence of historical user behavior data historical semantic node energy statistical paradigm values ​​to obtain a sequence of user behavior data historical semantic node energy propagation attenuation coefficient values; a first vector weighted calculation unit, used to calculate the weighted sum of all other user behavior data semantic coding feature vectors in the historical queue of the user behavior data semantic coding feature vector using the sequence of user behavior data historical semantic node energy propagation attenuation coefficient values ​​as a weight sequence to obtain a historical user behavior data historical semantic node energy attenuation time series aggregation feature vector; a second vector weighted calculation unit, used to calculate the weighted sum of the historical user behavior data historical semantic node energy attenuation time series aggregation feature vector and the current user behavior data historical semantic user behavior data semantic coding feature vector based on the current user behavior data historical semantic node energy statistical paradigm value to obtain the user behavior pattern time series clustering representation vector.

[0104] In one embodiment of the present application, the node energy statistical paradigm value calculation unit is used to: calculate the maximum value, average value and variance of the user behavior data semantic encoding feature vector to obtain the historical semantic maximum value of the user behavior data, the historical semantic average value of the user behavior data and the historical semantic variance of the user behavior data; calculate the sum of the historical semantic variance of the user behavior data and the regularization term hyperparameter and multiply it with a constant 4 to obtain a first user behavior data historical semantic node energy statistical factor; calculate the product of the historical semantic variance of the user behavior data and the regularization term hyperparameter and the constant 2 respectively to obtain a double-modulated user behavior data historical semantic variance and a double-modulated regularization term hyperparameter; calculate the square of the difference between the historical semantic maximum value of the user behavior data and the historical semantic average value of the user behavior data, and then add it with the double-modulated regularization term hyperparameter and the double-modulated user behavior data historical semantic variance to obtain a second user behavior data historical semantic node energy statistical factor; calculate the division between the first user behavior data historical semantic node energy statistical factor and the second user behavior data historical semantic node energy statistical factor to obtain the user behavior data historical semantic node energy statistical paradigm value.

[0105] Reference below Figure 3 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present application. The terminal device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0106] like Figure 3 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0107] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0108] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present application are executed.

[0109] It should be noted that the computer-readable medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0110] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.

[0111] In addition, although each operation is described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or to be performed in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the application. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0112] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely exemplary forms of implementation. With respect to the apparatus in the above-mentioned embodiments, the specific manner in which each module performs the operation has been described in detail in the embodiments related to the method, and will not be described in detail here.

Claims

1. A digital security management method based on blockchain, characterized in that: include: In response to the identity authentication being passed, obtaining user behavior history data corresponding to the user identity tag from the first blockchain node; Obtain the time queue of the user's current behavior data from the second blockchain node; By means of a digital security management center server, each user behavior data in the user behavior history data is embedded and encoded to obtain a history queue of a semantic encoding feature vector of the user behavior data; Through the digital security management center server, the historical queue of the semantically encoded feature vector of the user behavior data is input into a node feature propagation network based on a node energy decay mechanism to obtain a user behavior pattern temporal clustering representation vector; Through the digital security management center server, the time queue of the user's current behavior data is semantically encoded based on the current behavior pattern associated with the user's behavior time sequence to obtain a semantic encoding feature vector of the user's current behavior pattern; Through the digital security management center server, the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern are input into a feature interaction response module based on an adaptive distinguishable mechanism to obtain a user's current behavior-user historical behavior response comparison representation vector; Through the digital security management center server, security management is performed based on the user current behavior-user historical behavior response comparison representation vector to generate a management result, wherein the management result is used to indicate whether the user behavior is abnormal; Wherein, through the digital security management center server, the historical queue of the semantically encoded feature vector of the user behavior data is input into the node feature propagation network based on the node energy decay mechanism to obtain the user behavior pattern time series clustering representation vector, including: Based on the maximum value, average value and variance of each user behavior data semantic encoding feature vector in the historical queue of the user behavior data semantic encoding feature vector, the node energy statistical paradigm value of each user behavior data semantic encoding feature vector is calculated to obtain a sequence of user behavior data historical semantic node energy statistical paradigm values, wherein the user behavior data historical semantic node energy statistical paradigm value corresponding to the current user behavior data semantic encoding feature vector in the sequence of user behavior data historical semantic node energy statistical paradigm values ​​is used as the current node energy statistical paradigm value, and other user behavior data historical semantic node energy statistical paradigm values ​​are used as historical node energy statistical paradigm values ​​to obtain a sequence of current user behavior data historical semantic node energy statistical paradigm value and historical user behavior data historical semantic node energy statistical paradigm values; Counting the node propagation space span values ​​between each other user behavior data semantic encoding feature vector in the history queue of the user behavior data semantic encoding feature vector and the current user behavior data semantic encoding feature vector to obtain a sequence of user behavior data history semantic node propagation space span values; Based on the sequence of the propagation space span values ​​of the historical semantic nodes of the user behavior data and the sequence of the energy statistical paradigm values ​​of the historical semantic nodes of the historical user behavior data, determining the node energy propagation attenuation coefficient values ​​of each other user behavior data semantic encoding feature vector in the historical queue of the user behavior data semantic encoding feature vector to obtain a sequence of the energy propagation attenuation coefficient values ​​of the historical semantic nodes of the user behavior data; Taking the sequence of energy propagation attenuation coefficient values ​​of the user behavior data history semantic node as the weight sequence, calculating the weighted sum of all other user behavior data semantic encoding feature vectors in the history queue of the user behavior data semantic encoding feature vector to obtain the energy attenuation time series aggregation feature vector of the historical user behavior data history semantic node; Calculating the weighted sum of the energy decay time series aggregation feature vector of the historical semantic node of the historical user behavior data and the semantic encoding feature vector of the historical semantic user behavior data of the current user behavior data based on the energy statistical paradigm value of the historical semantic node of the current user behavior data to obtain the time series clustering representation vector of the user behavior pattern; Among them, through the digital security management center server, the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern are input into a feature interaction response module based on an adaptive distinguishable mechanism to obtain a user current behavior-user historical behavior response comparison representation vector, including: Calculating the position-by-position response between the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern to obtain a position-by-position response feature vector of the user's current behavior-user's historical behavior; Using a Softmax function to normalize the user current behavior-user historical behavior position-by-position response feature vector to obtain a normalized user current behavior-user historical behavior position-by-position response feature vector; Taking the negative number of each position feature value in the normalized user current behavior-user historical behavior position-by-position response feature vector as a power, calculating the value of a natural exponential function with a natural constant e as the base to obtain a normalized user current behavior-user historical behavior position-by-position response class support feature vector; Calculate the reciprocal of the sum of the feature value of each position in the normalized user current behavior-user historical behavior position-by-position response class support feature vector and a constant one to obtain a user current behavior-user historical behavior response screening weight mask vector; Calculate the location-wise multiplication between the user current behavior-user historical behavior response screening weight mask vector and the normalized user current behavior-user historical behavior location-by-location response feature vector to obtain a user current behavior-user historical behavior location-by-location response distinguishable weight mask vector; The user current behavior - user historical behavior location-by-location response distinguishable weight mask vector is calculated and multiplied by the location point between the user current behavior - user historical behavior location-by-location response feature vector to obtain the user current behavior - user historical behavior response comparison representation vector.

2. The digital security management method based on blockchain according to claim 1 is characterized in that: Based on the maximum value, average value and variance of each user behavior data semantic encoding feature vector in the historical queue of the user behavior data semantic encoding feature vector, the node energy statistical paradigm value of each user behavior data semantic encoding feature vector is calculated to obtain a sequence of user behavior data historical semantic node energy statistical paradigm values, including: Calculating the maximum value, average value and variance of the semantic encoding feature vector of the user behavior data to obtain the historical semantic maximum value of the user behavior data, the historical semantic average value of the user behavior data and the historical semantic variance of the user behavior data; Calculate the sum of the historical semantic variance of the user behavior data and the regularization term hyperparameter and then multiply it by a constant 4 to obtain a first user behavior data historical semantic node energy statistical factor; Respectively calculating the historical semantic variance of the user behavior data and the product of the regularization term hyperparameter and a constant 2 to obtain a double-modulated historical semantic variance of the user behavior data and a double-modulated regularization term hyperparameter; After calculating the square of the difference between the maximum value of the historical semantics of the user behavior data and the average value of the historical semantics of the user behavior data, the square is added to the double-modulated regularization term hyperparameter and the double-modulated historical semantics variance of the user behavior data to obtain a second user behavior data historical semantic node energy statistical factor; The division between the first user behavior data history semantic node energy statistical factor and the second user behavior data history semantic node energy statistical factor is calculated to obtain the user behavior data history semantic node energy statistical paradigm value.

3. The digital security management method based on blockchain according to claim 2 is characterized in that: Based on the sequence of the propagation space span values ​​of the historical semantic nodes of the user behavior data and the sequence of the energy statistical paradigm values ​​of the historical semantic nodes of the historical user behavior data, determining the node energy propagation attenuation coefficient values ​​of each other user behavior data semantic encoding feature vector in the historical queue of the user behavior data semantic encoding feature vector to obtain the sequence of the energy propagation attenuation coefficient values ​​of the historical semantic nodes of the user behavior data, including: Taking each user behavior data history semantic node propagation space span value in the sequence of user behavior data history semantic node propagation space span values ​​as an exponential power, calculating an exponential function value with a natural constant e as a base to obtain a sequence of user behavior data history semantic node propagation class support space span values; Calculate the positional sum of the sequence of the user behavior data history semantic node propagation class support space span values ​​and the sequence of the user behavior data history semantic node propagation space span values ​​to obtain a sequence of user behavior data history semantic node propagation space span modulation coefficients; Calculate the positional division between the sequence of energy statistical paradigm values ​​of the historical semantic nodes of the historical user behavior data and the sequence of propagation space span modulation coefficients of the historical semantic nodes of the user behavior data to obtain the sequence of energy propagation attenuation coefficient values ​​of the historical semantic nodes of the user behavior data.

4. The blockchain-based digital security management method according to claim 3 is characterized in that: Through the digital security management center server, the time queue of the user's current behavior data is semantically encoded based on the current behavior pattern associated with the user's behavior time sequence to obtain the user's current behavior pattern semantic encoding feature vector, including: By means of the digital security management center server, semantic coding is performed on each user's current behavior data in the time queue of the user's current behavior data to obtain a time queue of semantic coding feature vectors of the user's current behavior data; Through the digital security management center server, the time queue of the semantic encoding feature vector of the user's current behavior data is input into a user behavior temporal encoder based on a Bi-LSTM model to obtain the semantic encoding feature vector of the user's current behavior pattern.

5. The blockchain-based digital security management method according to claim 4 is characterized in that: Through the digital security management center server, security management is performed based on the user current behavior-user historical behavior response comparison representation vector to generate a management result, and the management result is used to indicate whether there is an abnormality in the user behavior, including: through the digital security management center server, the user current behavior-user historical behavior response comparison representation vector is input into a classifier-based security manager to obtain the management result.

6. A digital security management system based on blockchain, wherein the digital security management system is applied to the digital security management method as claimed in claim 5, characterized in that: include: A user behavior history data acquisition module, configured to acquire user behavior history data corresponding to the user identity tag from the first blockchain node in response to identity authentication being passed; A user current behavior data acquisition module, used to obtain a time queue of the user's current behavior data from the second blockchain node; An embedding coding module, used for embedding and coding each user behavior data in the user behavior history data to obtain a history queue of semantic coding feature vectors of user behavior data through a digital security management center server; A node feature propagation module, used to input the historical queue of the semantically encoded feature vector of the user behavior data into a node feature propagation network based on a node energy decay mechanism through the digital security management center server to obtain a user behavior pattern temporal clustering representation vector; A current behavior pattern semantic coding module is used to perform semantic coding of the current behavior pattern based on the user behavior time sequence association on the time queue of the user's current behavior data through the digital security management center server to obtain a semantic coding feature vector of the user's current behavior pattern; A feature interaction response module, used to input the semantic encoding feature vector of the user's current behavior pattern and the temporal clustering representation vector of the user's behavior pattern into a feature interaction response module based on an adaptive distinguishable mechanism through the digital security management center server to obtain a user current behavior-user historical behavior response comparison representation vector; The security management module is used to perform security management based on the user current behavior-user historical behavior response comparison representation vector through the digital security management center server to generate a management result, and the management result is used to indicate whether there is an abnormality in the user behavior.

7. The blockchain-based digital security management system according to claim 6 is characterized in that: The node feature propagation module includes: A node energy statistical paradigm value calculation unit, used to calculate the node energy statistical paradigm value of each user behavior data semantic coding feature vector based on the maximum value, average value and variance of each user behavior data semantic coding feature vector in the historical queue of the user behavior data semantic coding feature vector to obtain a sequence of user behavior data historical semantic node energy statistical paradigm values, wherein the user behavior data historical semantic node energy statistical paradigm value corresponding to the current user behavior data semantic coding feature vector in the sequence of user behavior data historical semantic node energy statistical paradigm values ​​is used as the current node energy statistical paradigm value, and other user behavior data historical semantic node energy statistical paradigm values ​​are used as historical node energy statistical paradigm values ​​to obtain a sequence of the current user behavior data historical semantic node energy statistical paradigm value and historical user behavior data historical semantic node energy statistical paradigm values; A node propagation space span value statistics unit, used to count the node propagation space span values ​​between each other user behavior data semantic encoding feature vector in the historical queue of the user behavior data semantic encoding feature vector and the current user behavior data semantic encoding feature vector to obtain a sequence of user behavior data historical semantic node propagation space span values; A node energy propagation attenuation coefficient value calculation unit, used to determine the node energy propagation attenuation coefficient values ​​of other user behavior data semantic encoding feature vectors in the historical queue of the user behavior data semantic encoding feature vector based on the sequence of the user behavior data historical semantic node propagation space span values ​​and the sequence of the historical user behavior data historical semantic node energy statistical paradigm values ​​to obtain a sequence of user behavior data historical semantic node energy propagation attenuation coefficient values; A first vector weighted calculation unit is used to calculate the weighted sum of all other user behavior data semantic encoding feature vectors in the history queue of the user behavior data semantic encoding feature vector using the sequence of energy propagation attenuation coefficient values ​​of the user behavior data history semantic node as a weight sequence to obtain a historical user behavior data history semantic node energy attenuation time series aggregation feature vector; The second vector weighted calculation unit is used to calculate the weighted sum of the energy decay time series aggregation feature vector of the historical semantic node of the historical user behavior data and the semantic encoding feature vector of the historical semantic user behavior data of the current user behavior data based on the energy statistical paradigm value of the historical semantic node of the current user behavior data to obtain the time series clustering representation vector of the user behavior pattern.

8. The blockchain-based digital security management system according to claim 7 is characterized in that: The node energy statistical paradigm value calculation unit is used to: Calculating the maximum value, average value and variance of the semantic encoding feature vector of the user behavior data to obtain the historical semantic maximum value of the user behavior data, the historical semantic average value of the user behavior data and the historical semantic variance of the user behavior data; Calculate the sum of the historical semantic variance of the user behavior data and the regularization term hyperparameter and then multiply it by a constant 4 to obtain a first user behavior data historical semantic node energy statistical factor; Respectively calculating the historical semantic variance of the user behavior data and the product of the regularization term hyperparameter and a constant 2 to obtain a double-modulated historical semantic variance of the user behavior data and a double-modulated regularization term hyperparameter; After calculating the square of the difference between the maximum value of the historical semantics of the user behavior data and the average value of the historical semantics of the user behavior data, the square is added to the double-modulated regularization term hyperparameter and the double-modulated historical semantics variance of the user behavior data to obtain a second user behavior data historical semantic node energy statistical factor; The division between the first user behavior data history semantic node energy statistical factor and the second user behavior data history semantic node energy statistical factor is calculated to obtain the user behavior data history semantic node energy statistical paradigm value.