Edge internet-of-things proxy method based on security encryption chip

By using deep learning technology in the edge IoT agent to perform semantic analysis and encryption processing of the data to be uploaded, the problems of sensitive data identification accuracy and low efficiency of rule base maintenance in the existing technology are solved, and efficient data security and agent operation are achieved. .

CN118709232AInactive Publication Date: 2024-09-27STATE GRID HENAN INFORMATION & TELECOMM CO +2
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202410858388.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing edge IoT agent methods rely on rule-based methods for identifying sensitive data, which is difficult to meet the identification needs of complex and changeable network environments and data types. Moreover, updating and maintaining the rule base consumes a lot of manpower and time, resulting in poor identification accuracy. and low efficiency.

Method used

Natural language processing technology based on deep learning is used to perform semantic analysis on the data to be uploaded obtained by the security encryption chip. Through word-granular semantic encoding and contextual semantic enhancement, the global contextual deep semantic information of the data is captured, and sensitive data is intelligently identified and encrypted.

Benefits of technology

It improves data transmission security, ensures the efficient operation of edge IoT agents, reduces false alarm rates and rule base maintenance costs, and improves identification accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118709232A
    Figure CN118709232A
Patent Text Reader

Abstract

The invention relates to the technical field of data security, and particularly discloses an edge internet of things proxy method based on a security encryption chip, which comprises the following steps of: performing semantic analysis on to-be-uploaded data acquired by the security encryption chip by adopting a natural language processing technology based on deep learning, capturing word granularity semantic features of the to-be-uploaded data, and sending the word granularity semantic features to the security encryption chip; and performing context semantic enhancement on the to-be-uploaded data to mine global context deep semantic information of the to-be-uploaded data so as to intelligently identify whether the to-be-uploaded data is sensitive data or not, so that encryption processing on the to-be-uploaded data is facilitated. Therefore, the security encryption chip is utilized to locally identify and encrypt the sensitive data, so that the data transmission security is improved, and meanwhile, the efficient operation of the edge internet-of-things agent is also ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data security technology, and more specifically, to an edge IoT proxy method based on a secure encryption chip. Background Art

[0002] In the rapid development of the Internet of Things, data security is an important issue that cannot be ignored. The edge IoT proxy method is an effective means to protect information from unauthorized access when data is transmitted between devices and networks. As a key component of the IoT architecture, edge computing reduces dependence on central servers by processing data at the edge of the network, thereby reducing latency and improving response speed.

[0003] As a key node connecting the terminal and the network, the edge IoT agent plays the role of connecting the IoT terminal and the cloud. Its security directly affects the stability and reliability of the entire IoT system. If the protection measures of the edge IoT agent are not in place, it may cause data leakage, tampering, and even use it as a springboard to launch penetration attacks on the IoT management platform, causing the entire system to paralyze. Therefore, in order to ensure the security of the edge IoT agent, it is necessary to strictly identify and encrypt its transmitted data. As a hardware encryption solution, the secure encryption chip includes a dedicated hardware accelerator, secure storage and encryption engine to execute encryption algorithms, key management and security authentication functions. It has the characteristics of high security and low power consumption, and is very suitable for the encryption needs of edge IoT agents.

[0004] However, the existing edge IoT proxy methods usually use rule-based sensitive data identification methods for sensitive data identification. When faced with complex and changeable network environments and data types, the identification effect and accuracy of this method are often difficult to meet actual needs. At the same time, since the update and maintenance of the rule base requires a lot of manpower and time, the existing rule-based sensitive data identification methods have certain limitations in practical applications. Therefore, an optimized edge IoT proxy method based on a secure encryption chip is expected. Summary of the invention

[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides an edge IoT proxy method based on a secure encryption chip, which uses natural language processing technology based on deep learning to perform semantic analysis on the data to be uploaded obtained by the secure encryption chip, captures the word-granularity semantic features of the data to be uploaded, and performs contextual semantic enhancement on it to mine the global context deep semantic information of the data to be uploaded, thereby intelligently identifying whether the data to be uploaded is sensitive data, so as to facilitate encryption processing. In this way, the secure encryption chip is used to identify and encrypt sensitive data locally, which not only improves the security of data transmission, but also ensures the efficient operation of the edge IoT proxy.

[0006] Accordingly, according to one aspect of the present application, there is provided an edge IoT proxy method based on a secure encryption chip, which includes:

[0007] The data to be uploaded is acquired by a security encryption chip, wherein the security encryption chip is deployed at the edge side;

[0008] In the security encryption chip, word-granular semantic encoding is performed on the data to be uploaded to obtain a sequence of word-granular semantic encoding vectors of the context data to be uploaded;

[0009] In the security encryption chip, context semantics enhancement is performed on the sequence of word granularity semantic encoding vectors of the context data to be uploaded to obtain a sequence of word granularity semantic encoding vectors that highlights the context data to be uploaded;

[0010] In the security encryption chip, based on the sequence of the word granularity semantic encoding vectors of the highlighted context data to be uploaded, determining the recognition result of the data to be uploaded;

[0011] In response to the identification result that the data to be uploaded is sensitive data, the data to be uploaded is encrypted by the security encryption chip.

[0012] In the above-mentioned edge IoT proxy method based on a secure encryption chip, the data to be uploaded is semantically encoded at word granularity to obtain a sequence of word granularity semantic encoding vectors of the context data to be uploaded, including: performing word segmentation on the data to be uploaded and then passing it through a word embedding encoder based on a Bert model to obtain a sequence of word embedding encoding vectors of the data to be uploaded; inputting the sequence of word embedding encoding vectors of the data to be uploaded into a context encoder based on a Transformer structure to obtain a sequence of word granularity semantic encoding vectors of the context data to be uploaded.

[0013] In the above-mentioned edge IoT proxy method based on a secure encryption chip, the sequence of word granularity semantic coding vectors of the context data to be uploaded is contextually semantically enhanced to obtain a sequence of word granularity semantic coding vectors of the highlighted context data to be uploaded, including: inputting the sequence of word granularity semantic coding vectors of the context data to be uploaded into a contextual semantic enhancement module based on saliency-globality to obtain a sequence of word granularity semantic coding vectors of the highlighted context data to be uploaded.

[0014] In the above-mentioned edge IoT proxy method based on secure encryption chip, the sequence of the context data word granularity semantic coding vectors is input into the context semantic enhancement module based on saliency-globality to obtain the sequence of the highlighted context data word granularity semantic coding vectors to be uploaded, including: extracting the prominent features of the sequence of the context data word granularity semantic coding vectors to be uploaded to obtain the context data word granularity semantic prominent feature vector; extracting the global features of the sequence of the context data word granularity semantic coding vectors to be uploaded to obtain the context data word granularity semantic global feature vector; The granular semantic salient feature vector and the contextual granular semantic global feature vector of the data words to be uploaded are neighborhood encoded and activated to obtain the granular semantic salient feature context-associated activation feature vector of the data words to be uploaded and the granular semantic global feature context-associated activation feature vector of the data words to be uploaded; based on the granular semantic salient feature context-associated activation feature vector of the data words to be uploaded and the granular semantic global feature context-associated activation feature vector of the data words to be uploaded, the sequence of the contextual granular semantic encoding vectors of the data words to be uploaded is semantically enhanced to obtain the sequence of the salient contextual granular semantic encoding vectors of the data words to be uploaded.

[0015] In the above-mentioned edge IoT proxy method based on a secure encryption chip, the salient features of the sequence of the context data word granularity semantic coding vectors to be uploaded are extracted to obtain the context data word granularity semantic salient feature vector, including: calculating the maximum value of each context data word granularity semantic coding vector in the sequence of the context data word granularity semantic coding vectors to be uploaded to obtain the context data word granularity semantic salient feature vector composed of each of the maximum values.

[0016] In the above-mentioned edge IoT proxy method based on a secure encryption chip, the global features of the sequence of word granularity semantic coding vectors of the context data to be uploaded are extracted to obtain the global feature vector of the word granularity semantics of the context data to be uploaded, including: calculating the average value of each word granularity semantic coding vector of the context data to be uploaded in the sequence of word granularity semantic coding vectors of the context data to be uploaded to obtain the global feature vector of the word granularity semantics of the context data to be uploaded composed of each of the average values.

[0017] In the above-mentioned edge IoT proxy method based on a secure encryption chip, the context word granularity semantic salient feature vector of the data to be uploaded and the context word granularity semantic global feature vector of the data to be uploaded are neighborhood encoded and activated to obtain the word granularity semantic salient feature context associated activation feature vector of the data to be uploaded and the word granularity semantic global feature context associated activation feature vector of the data to be uploaded, including: performing one-dimensional convolution encoding, non-linear activation and linear transformation on the word granularity semantic salient feature vector of the data to be uploaded to obtain the word granularity semantic salient feature context associated activation feature vector of the data to be uploaded; performing one-dimensional convolution encoding, non-linear activation and linear transformation on the word granularity semantic global feature vector of the data to be uploaded to obtain the word granularity semantic global feature context associated activation feature vector of the data to be uploaded.

[0018] In the above-mentioned edge IoT proxy method based on a secure encryption chip, based on the word-granularity semantic prominent feature context-associated activation feature vector of the data to be uploaded and the word-granularity semantic global feature context-associated activation feature vector of the data to be uploaded, the sequence of the word-granularity semantic encoding vectors of the context data to be uploaded is semantically enhanced to obtain the sequence of the word-granularity semantic encoding vectors of the highlighted context data to be uploaded, including: calculating the position-by-position addition of the word-granularity semantic prominent feature context-associated activation feature vector of the data to be uploaded and the word-granularity semantic global feature context-associated activation feature vector of the data to be uploaded to obtain the word-granularity semantic prominent-global feature context-associated activation feature vector of the data to be uploaded; calculating ... The following associated activation feature vector is respectively subjected to nonlinear activation based on the tanh activation function and nonlinear activation based on the sigmoid activation function to obtain a first activation result and a second activation result, and the first activation result and the second activation result are multiplied point by position to obtain a word granularity semantic prominence-global feature context association weight feature vector for data to be uploaded; the feature values ​​of each position in the word granularity semantic prominence-global feature context association weight feature vector for data to be uploaded are used as weights, and the sequence of word granularity semantic coding vectors of the context data to be uploaded is weighted vector by vector, and then added and fused with the sequence of word granularity semantic coding vectors of the context data to be uploaded to obtain a sequence of word granularity semantic coding vectors of the highlighted context data to be uploaded.

[0019] In the above-mentioned edge IoT proxy method based on a secure encryption chip, the recognition result of the data to be uploaded is determined based on the sequence of word granularity semantic coding vectors of the highlighted context data to be uploaded, including: cascading the sequence of word granularity semantic coding vectors of the highlighted context data to be uploaded into a global semantic coding vector of the data to be uploaded and then passing it through a classifier-based sensitive data identifier to obtain the recognition result, and the recognition result is used to indicate whether the data to be uploaded is sensitive data.

[0020] Compared with the prior art, the edge IoT proxy method based on a secure encryption chip provided by the present application uses a natural language processing technology based on deep learning to perform semantic analysis on the data to be uploaded obtained by the secure encryption chip, captures the word-granular semantic features of the data to be uploaded, and performs contextual semantic enhancement on it to mine the global contextual deep semantic information of the data to be uploaded, thereby intelligently identifying whether the data to be uploaded is sensitive data, so as to facilitate encryption processing. In this way, the secure encryption chip is used to identify and encrypt sensitive data locally, which improves the security of data transmission while ensuring the efficient operation of the edge IoT proxy. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0022] Figure 1 The present invention is a flowchart of an edge IoT proxy method based on a secure encryption chip according to an embodiment of the present application.

[0023] Figure 2 Schematic diagram of the architecture of the edge IoT proxy method based on a secure encryption chip according to an embodiment of the present application.

[0024] Figure 3 The present invention is a flowchart of performing word-granularity semantic encoding on the data to be uploaded in the edge IoT proxy method based on a secure encryption chip according to an embodiment of the present application to obtain a sequence of word-granularity semantic encoding vectors of the context data to be uploaded.

[0025] Figure 4 The present invention is a flowchart of inputting the sequence of word granularity semantic coding vectors of the context data to be uploaded into a context semantic enhancement module based on saliency-globality in the edge IoT agent method based on a secure encryption chip according to an embodiment of the present application to obtain the sequence of word granularity semantic coding vectors of the highlighted context data to be uploaded. DETAILED DESCRIPTION

[0026] Below, the embodiments of the present application will be described in more detail in conjunction with the accompanying drawings, and the above and other purposes, features and advantages of the present application will become more apparent. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the example embodiments described herein.

[0027] As mentioned in the above background technology, in the practice of existing edge IoT proxy technology, the identification of sensitive data mainly relies on rule-based matching. However, due to the rigidity of the rules, this identification method may lead to a high false alarm rate. When dealing with complex and changeable network environments and data types, its identification accuracy often cannot meet the requirements of practical applications. In addition, the continuous updating and maintenance of the rule base is a task that requires a lot of human resources and time investment, which to a certain extent limits the effectiveness and feasibility of the rule-based sensitive data identification method in practical applications. In response to the above technical problems, the technical concept of the present application is to use natural language processing technology based on deep learning to perform semantic analysis on the data to be uploaded obtained by the security encryption chip, capture the word granularity semantic features of the data to be uploaded, and strengthen its context semantics to dig out the global context deep semantic information of the data to be uploaded, so as to intelligently identify whether the data to be uploaded is sensitive data, so as to facilitate encryption processing. In this way, the security encryption chip is used to identify and encrypt sensitive data locally, which not only improves the security of data transmission, but also ensures the efficient operation of the edge IoT agent.

[0028] Figure 1 The present invention is a flowchart of an edge IoT proxy method based on a secure encryption chip according to an embodiment of the present application. Figure 2 FIG. 1 is a schematic diagram of the architecture of the edge IoT proxy method based on a secure encryption chip according to an embodiment of the present application. Figure 1 and Figure 2As shown, according to the edge IoT proxy method based on a security encryption chip according to an embodiment of the present application, the method includes the following steps: S110, obtaining data to be uploaded by a security encryption chip, wherein the security encryption chip is deployed on the edge side; S120, in the security encryption chip, performing word-granularity semantic encoding on the data to be uploaded to obtain a sequence of word-granularity semantic encoding vectors of context data to be uploaded; S130, in the security encryption chip, performing contextual semantic enhancement on the sequence of word-granularity semantic encoding vectors of context data to be uploaded to obtain a sequence of word-granularity semantic encoding vectors of highlighted context data to be uploaded; S140, in the security encryption chip, determining a recognition result of the data to be uploaded based on the sequence of word-granularity semantic encoding vectors of highlighted context data to be uploaded; S150, in response to the recognition result that the data to be uploaded is sensitive data, encrypting the data to be uploaded by the security encryption chip.

[0029] In the above-mentioned edge IoT proxy method based on a secure encryption chip, in step S110, the secure encryption chip obtains the data to be uploaded, wherein the secure encryption chip is deployed on the edge side. It should be understood that in IoT applications, many data involve the privacy information of users. If the original data is directly transmitted to the cloud for processing, there is a risk of privacy leakage. The secure encryption chip is a hardware device specially designed for data encryption and protection, which integrates encryption algorithms and key management functions, and has higher security and reliability than software encryption. By deploying a secure encryption chip on the edge side, the sensitive data is directly encrypted at the source of data generation, which can ensure that the sensitive data to be uploaded is protected when it is generated, reducing the risk of data being stolen or tampered with during transmission. In addition, in the IoT scenario, many applications have high requirements for real-time processing and analysis of data. By deploying the secure encryption chip on the edge side, there is no need to transmit the data to the cloud for processing, thereby significantly improving the processing speed and responsiveness of the data.

[0030] In the above-mentioned edge IoT proxy method based on a secure encryption chip, in step S120, in the secure encryption chip, the data to be uploaded is semantically encoded at word granularity to obtain a sequence of word granularity semantic encoding vectors of the contextual data to be uploaded. Figure 3 The flowchart is a sequence of word-granular semantic encoding of the data to be uploaded to obtain the word-granular semantic encoding vector of the context data to be uploaded in the edge IoT proxy method based on the secure encryption chip according to the embodiment of the present application. Figure 3As shown, the step S120 includes: S121, performing word segmentation on the data to be uploaded and then passing it through a word embedding encoder based on the Bert model to obtain a sequence of word embedding encoding vectors of the data to be uploaded; S122, inputting the sequence of word embedding encoding vectors of the data to be uploaded into a context encoder based on the Transformer structure to obtain a sequence of word granularity semantic encoding vectors of the context data to be uploaded.

[0031] Specifically, in step S121, the data to be uploaded is segmented and then passed through a word embedding encoder based on the Bert model to obtain a sequence of word embedding encoding vectors of the data to be uploaded. It should be understood that, considering that the data to be uploaded is text data, which contains a large number of words and phrases, in order to effectively extract useful information from the text data to identify its sensitivity, in the technical solution of the present application, the data to be uploaded is first segmented and divided into independent vocabulary units, so as to facilitate the subsequent fine-grained semantic analysis of each vocabulary unit. Then, using a word embedding encoder based on the Bert model, each vocabulary unit is mapped to a high-dimensional semantic space, the semantic information of each vocabulary is captured, and it is converted into an embedded vector representation to provide an information basis for subsequent data sensitivity analysis.

[0032] Specifically, in step S122, the sequence of word embedding coding vectors of the data to be uploaded is input into a context encoder based on a Transformer structure to obtain a sequence of word granular semantic coding vectors of the context data to be uploaded. It should be understood that since the vocabulary units in the text data do not exist in isolation, there are usually complex contextual semantic dependencies between vocabulary units. Therefore, in order to accurately understand the data meaning of the data to be uploaded, in the technical solution of the present application, a context encoder based on a Transformer structure is used to perform global semantic coding processing on the sequence of word embedding coding vectors of the data to be uploaded. Specifically, the context encoder can capture the semantic dependency between any two positions in the sequence of word embedding coding vectors of the data to be uploaded through the self-attention mechanism of the Transformer structure, thereby effectively modeling the long-distance semantic dependency and context information between each vocabulary unit in the data to be uploaded. In this way, by fusing the context information of the entire sequence at each position in the sequence of word embedding coding vectors of the data to be uploaded, the meaning of each vocabulary unit can be more accurately described to improve the accuracy of sensitive data recognition.

[0033] In the above-mentioned edge IoT proxy method based on a secure encryption chip, in step S130, in the secure encryption chip, contextual semantics are enhanced on the sequence of word granularity semantic coding vectors of the context data to be uploaded to obtain a sequence of word granularity semantic coding vectors that highlight the context data to be uploaded. In a specific example of the present application, the encoding method for contextual semantic enhancement of the sequence of word granularity semantic coding vectors of the context data to be uploaded is to input the sequence of word granularity semantic coding vectors of the context data to be uploaded into a contextual semantic enhancement module based on saliency-globality to obtain the sequence of word granularity semantic coding vectors of the highlighted context data to be uploaded. It should be understood that, considering that the sensitivity of the data usually involves some specific keywords or phrases, therefore, in order to further highlight the semantic features of sensitive information in the data to be uploaded and improve the accuracy of sensitive data identification, in the technical solution of the present application, a contextual semantic enhancement module based on saliency-globality is introduced to process the sequence of word granularity semantic coding vectors of the context data to be uploaded. Specifically, the contextual semantic enhancement module utilizes the salient features and global features of the sequence of word-granularity semantic encoding vectors of the contextual data to be uploaded to perform attention calculation on the vector sequence, so as to enhance the semantic features of keywords related to sensitive information, and focus attention on vocabulary units that may have a significant impact on data sensitivity, thereby further improving the semantic representation capability of the sequence of word-granularity semantic encoding vectors of the contextual data to be uploaded, so as to more accurately identify whether the data to be uploaded is sensitive data.

[0034] Figure 4 The present invention is a flowchart of inputting the sequence of the word granularity semantic encoding vectors of the context data to be uploaded into the context semantic enhancement module based on saliency-globality in the edge IoT proxy method based on the secure encryption chip according to the embodiment of the present application to obtain the sequence of the word granularity semantic encoding vectors of the highlighted context data to be uploaded. Figure 4As shown, the step S130 includes: S131, extracting the salient features of the sequence of the context data word granularity semantic coding vectors to obtain the context data word granularity semantic salient feature vector; S132, extracting the global features of the sequence of the context data word granularity semantic coding vectors to obtain the context data word granularity semantic global feature vector; S133, performing neighborhood coding and activation on the context data word granularity semantic salient feature vector and the context data word granularity semantic global feature vector to obtain the context data word granularity semantic salient feature context associated activation feature vector and the context data word granularity semantic global feature context associated activation feature vector; S134, based on the context associated activation feature vector of the data word granularity semantic salient feature and the context associated activation feature vector of the data word granularity semantic global feature, performing semantic enhancement processing on the sequence of the context data word granularity semantic coding vectors to obtain the sequence of the salient context data word granularity semantic coding vectors.

[0035] Specifically, the step S131 includes: calculating the maximum value of each context data to be uploaded word granularity semantic coding vector in the sequence of the context data to be uploaded word granularity semantic coding vector to obtain the context data to be uploaded word granularity semantic salient feature vector composed of each of the maximum values.

[0036] Specifically, the step S132 includes: calculating the average value of each context data word granularity semantic encoding vector in the sequence of context data word granularity semantic encoding vectors to be uploaded to obtain the context data word granularity semantic global feature vector composed of each of the average values.

[0037] Specifically, in step S133, one-dimensional convolution coding, nonlinear activation and linear transformation are performed on the word-granularity semantic salient feature vector of the data to be uploaded to obtain the word-granularity semantic salient feature context-associated activation feature vector of the data to be uploaded; one-dimensional convolution coding, nonlinear activation and linear transformation are performed on the word-granularity semantic global feature vector of the data to be uploaded to obtain the word-granularity semantic global feature context-associated activation feature vector of the data to be uploaded.

[0038] Specifically, the step S134 includes: calculating the position-by-position addition of the word-granularity semantic prominence feature context-associated activation feature vector of the data to be uploaded and the word-granularity semantic global feature context-associated activation feature vector of the data to be uploaded to obtain the word-granularity semantic prominence-global feature context-associated activation feature vector of the data to be uploaded; performing nonlinear activation based on the tanh activation function and nonlinear activation based on the sigmoid activation function on the word-granularity semantic prominence-global feature context-associated activation feature vector of the data to be uploaded to obtain a first activation result and a second activation result, and performing position-by-position point multiplication on the first activation result and the second activation result to obtain the word-granularity semantic prominence-global feature context-associated weight feature vector of the data to be uploaded; using the feature values ​​of each position in the word-granularity semantic prominence-global feature context-associated weight feature vector of the data to be uploaded as weights, weighting the sequence of the context word-granularity semantic coding vectors of the data to be uploaded vector by vector, and then adding and merging them with the sequence of the context word-granularity semantic coding vectors of the data to be uploaded to obtain the sequence of the highlighted context word-granularity semantic coding vectors of the data to be uploaded.

[0039] That is, the step S130 includes: processing the sequence of the word granularity semantic encoding vectors of the context data to be uploaded by the following context semantic enhancement formula to obtain the sequence of the word granularity semantic encoding vectors of the highlighted context data to be uploaded, wherein the context semantic enhancement formula is:

[0040] H′=Avg(H)

[0041] H″=Max(H)

[0042]

[0043]

[0044] C=H⊙(tanh(C1+C2)⊙σ(C1+C2))+H

[0045] Wherein, H is the sequence of the word-granular semantic encoding vectors of the context data to be uploaded, H′ is the global feature vector of the word-granular semantics of the context data to be uploaded, H″ is the prominent feature vector of the word-granular semantics of the context data to be uploaded, Avg represents the average value, Max represents the maximum value, Conv represents a one-dimensional convolution operation, ReLU represents the ReLU activation function, and are respectively the first weight matrix and the second weight matrix for linear transformation, C1 and C2 are respectively the context-associated activation feature vector of the word-granularity semantic global feature of the data to be uploaded and the context-associated activation feature vector of the word-granularity semantic salient feature of the data to be uploaded, + represents the sum of the corresponding elements, σ ​​represents the Sigmoid function, tanh represents the tanh activation function, ⊙ represents the dot product, and C is the sequence of the semantic encoding vectors of the word-granularity semantics of the highlighted context data to be uploaded.

[0046] In the above-mentioned edge IoT proxy method based on a secure encryption chip, the step S140, in the secure encryption chip, determines the recognition result of the data to be uploaded based on the sequence of the word granularity semantic coding vectors of the highlighted context data to be uploaded. In a specific example of the present application, the implementation method of determining the recognition result of the data to be uploaded based on the sequence of the word granularity semantic coding vectors of the highlighted context data to be uploaded is to cascade the sequence of the word granularity semantic coding vectors of the highlighted context data to be uploaded into a global semantic coding vector of the data to be uploaded and then pass it through a sensitive data identifier based on a classifier to obtain the recognition result, and the recognition result is used to indicate whether the data to be uploaded is sensitive data. That is, by cascading the sequence of the word granularity semantic coding vectors of the highlighted context data to be uploaded to integrate the global semantic information of the data to be uploaded, a global semantic coding vector of the data to be uploaded is formed. Then, the global semantic coding vector of the data to be uploaded is input into the sensitive data identifier based on the classifier, and the semantic feature analysis and binary classification are performed on it using the trained classification model to obtain a recognition result indicating whether the data to be uploaded is sensitive data, so as to perform corresponding processing on the data to be uploaded according to the recognition result.

[0047] In particular, in the technical solution of the present application, each context data word granularity semantic coding vector in the sequence of context data word granularity semantic coding vectors to be uploaded respectively represents the context text semantic association features of each word in the data to be uploaded. When the sequence of context data word granularity semantic coding vectors to be uploaded is input into the context semantic enhancement module based on saliency-globality, the context semantic enhancement module based on saliency-globality uses global features and prominent features to enhance context attention to improve the feature utilization capability of key features, but this will also strengthen the feature distribution heterogeneity between each prominent context data word granularity semantic coding vector in the sequence of prominent context data word granularity semantic coding vectors to be uploaded, thereby further making the overall feature distribution of the global data semantic coding vector to be uploaded obtained by cascading have the problem of insufficient feature aggregation, thereby affecting its classification convergence efficiency through the classifier, that is, affecting the efficiency of classification training and the accuracy of recognition results.

[0048] Based on this, in a preferred embodiment of the present application, the global semantic coding vector of the data to be uploaded is passed through a classifier-based sensitive data identifier to obtain an identification result, which specifically includes the following steps: after dot-multiplying the global semantic coding vector of the data to be uploaded with the length of the global semantic coding vector of the data to be uploaded, subtracting the vector from the first norm of the global semantic coding vector of the data to be uploaded to obtain a global semantic coding full semantic representation vector of the data to be uploaded; after dot-multiplying the global semantic coding vector of the data to be uploaded with the square root of the length of the global semantic coding vector of the data to be uploaded, subtracting the vector from the second norm of the global semantic coding vector of the data to be uploaded to obtain a global semantic coding semi-semantic representation vector of the data to be uploaded; respectively calculating the global semantic coding full semantic representation vector of the data to be uploaded and the global semantic coding semi-semantic representation vector of the data to be uploaded. The square root of the absolute value of each eigenvalue of the eigenvector is taken to obtain the global semantic coding full semantic modulation vector of the data to be uploaded and the global semantic coding semi-semantic modulation vector of the data to be uploaded; the logarithm with base 2 of each eigenvalue of the global semantic coding full semantic modulation vector of the data to be uploaded and the global semantic coding semi-semantic modulation vector of the data to be uploaded are calculated respectively to obtain the global semantic coding full semantic information vector of the data to be uploaded and the global semantic coding semi-semantic information vector of the data to be uploaded; the weighted sum of the global semantic coding full semantic information vector of the data to be uploaded and the global semantic coding semi-semantic information vector of the data to be uploaded is calculated with the weighting coefficient as a hyperparameter to obtain the optimized global semantic coding vector of the data to be uploaded; the optimized global semantic coding vector of the data to be uploaded is passed through the classifier-based sensitive data identifier to obtain the identification result.

[0049] Accordingly, in this preferred embodiment, the global semantic coding vector of the data to be uploaded is taken as a feature set, wherein the change semantics represented in units of the feature values ​​of the global semantic coding vector of the data to be uploaded is used. In order to dynamically aggregate the semantic set as a whole composed of different change semantics of the global semantic coding vector of the data to be uploaded without ignoring the individual semantic change information, the individual features of the global semantic coding vector of the data to be uploaded and the collective expression of the vector scale of the global semantic coding vector of the data to be uploaded are used as full-width and half-width feature representations, and the low-rank norms of different dimensions of the overall semantics of the feature set of the global semantic coding vector of the data to be uploaded are used as phases through negative correlation calculation and amplitude-phase information representation modulation is performed to dynamically adjust the change relationship of the semantic content of the global semantic coding vector of the data to be uploaded, thereby improving the overall semantic information expression aggregation of the feature set of the global semantic coding vector of the data to be uploaded, and improving the classification convergence efficiency of the global semantic coding vector of the data to be uploaded when it is classified by a sensitive data identifier based on a classifier.

[0050] In the above-mentioned edge IoT proxy method based on a secure encryption chip, in step S150, in response to the identification result that the data to be uploaded is sensitive data, the data to be uploaded is encrypted by the secure encryption chip. That is, if the sensitive data identifier determines that the data to be uploaded is sensitive data, the encryption processing flow is started, and the sensitive data is encrypted and protected using the secure encryption chip; if the identification result shows that the data to be uploaded does not contain sensitive information, it can be directly transmitted to the cloud for processing or storage. In this way, while ensuring the security of data transmission, efficient operation support for the edge IoT proxy is also achieved.

[0051] In summary, the edge IoT proxy method based on the secure encryption chip according to the embodiment of the present application is explained, which uses natural language processing technology based on deep learning to perform semantic analysis on the data to be uploaded obtained by the secure encryption chip, captures the word-granular semantic features of the data to be uploaded, and performs contextual semantic enhancement on it to mine the global context deep semantic information of the data to be uploaded, thereby intelligently identifying whether the data to be uploaded is sensitive data, so as to facilitate encryption processing. In this way, the secure encryption chip is used to identify and encrypt sensitive data locally, which not only improves the security of data transmission, but also ensures the efficient operation of the edge IoT proxy.

[0052] The basic principle of the present invention is described above in conjunction with specific embodiments. However, it should be pointed out that the advantages, strengths, effects, etc. mentioned in the present invention are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. must be possessed by each embodiment of the present invention. In addition, the specific details of the above embodiments are only for the purpose of illustration and facilitation of understanding, rather than limitation, and the above details do not limit the present invention to being implemented by adopting the above specific details.

[0053] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, please refer to the relevant description of other embodiments. In the several embodiments provided by the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the system embodiment described above is only schematic. For example, the module division is only a logical function division, and there may be other division methods in actual implementation. The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0054] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference to a figure in a claim should not be considered as limiting the claim to which it relates.

[0055] In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units stated in the system claims can also be implemented by one unit through software or hardware.

[0056] Finally, it should be noted that the above description has been given for the purpose of illustration and description. In addition, the above embodiments are only used to illustrate the technical solution of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. An edge IoT proxy method based on a secure encryption chip. It is characterized in that include: The data to be uploaded is acquired by a security encryption chip, wherein the security encryption chip is deployed at the edge side; In the security encryption chip, word-granular semantic encoding is performed on the data to be uploaded to obtain a sequence of word-granular semantic encoding vectors of the context data to be uploaded; In the security encryption chip, context semantics enhancement is performed on the sequence of word granularity semantic encoding vectors of the context data to be uploaded to obtain a sequence of word granularity semantic encoding vectors that highlights the context data to be uploaded; In the security encryption chip, based on the sequence of the word granularity semantic encoding vectors of the highlighted context data to be uploaded, determining the recognition result of the data to be uploaded; In response to the identification result that the data to be uploaded is sensitive data, the data to be uploaded is encrypted by the security encryption chip.

2. According to claim 1, the edge IoT proxy method based on a secure encryption chip, It is characterized in that Performing word-granular semantic encoding on the data to be uploaded to obtain a sequence of word-granular semantic encoding vectors of the context data to be uploaded, including: After word segmentation processing is performed on the data to be uploaded, a word embedding encoder based on the Bert model is used to obtain a sequence of word embedding encoding vectors of the data to be uploaded; The sequence of word embedding encoding vectors of the data to be uploaded is input into a context encoder based on a Transformer structure to obtain a sequence of word granularity semantic encoding vectors of the context data to be uploaded.

3. The edge IoT proxy method based on a secure encryption chip according to claim 2, It is characterized in that Performing context semantic enhancement on the sequence of word granularity semantic encoding vectors of the context data to be uploaded to obtain a sequence of word granularity semantic encoding vectors that highlights the context data to be uploaded, including: The sequence of the word granularity semantic encoding vectors of the context data to be uploaded is input into the context semantic enhancement module based on saliency-globality to obtain the sequence of the word granularity semantic encoding vectors of the highlighted context data to be uploaded.

4. The edge IoT proxy method based on a secure encryption chip according to claim 3, It is characterized in that Inputting the sequence of the word granular semantic encoding vectors of the context data to be uploaded into the context semantic enhancement module based on saliency-globality to obtain the sequence of the word granular semantic encoding vectors of the salient context data to be uploaded, including: Extracting salient features of the sequence of the word granularity semantic encoding vectors of the context data to be uploaded to obtain a word granularity semantic salient feature vector of the context data to be uploaded; Extracting global features of the sequence of word granularity semantic encoding vectors of the context data to be uploaded to obtain a word granularity semantic global feature vector of the context data to be uploaded; Performing neighborhood coding and activation on the word granularity semantic salient feature vector of the context data to be uploaded and the word granularity semantic global feature vector of the context data to be uploaded to obtain a word granularity semantic salient feature context associated activation feature vector of the data to be uploaded and a word granularity semantic global feature context associated activation feature vector of the data to be uploaded; Based on the context-associated activation feature vector of the word granularity semantic highlighting feature of the data to be uploaded and the context-associated activation feature vector of the word granularity semantic global feature of the data to be uploaded, the sequence of word granularity semantic encoding vectors of the context data to be uploaded is semantically enhanced to obtain the sequence of word granularity semantic encoding vectors of the highlighted context data to be uploaded.

5. The edge IoT proxy method based on a secure encryption chip according to claim 4, It is characterized in that Extracting the salient features of the sequence of the word granularity semantic encoding vectors of the context data to be uploaded to obtain the word granularity semantic salient feature vector of the context data to be uploaded, including: The maximum value of each context data word granularity semantic encoding vector in the sequence of the context data word granularity semantic encoding vector is calculated to obtain the context data word granularity semantic salient feature vector composed of each of the maximum values.

6. The edge IoT proxy method based on a secure encryption chip according to claim 5, It is characterized in that Extracting the global features of the sequence of the word granularity semantic encoding vectors of the context data to be uploaded to obtain the word granularity semantic global feature vector of the context data to be uploaded, including: The average value of each word granularity semantic encoding vector of the context data to be uploaded in the sequence of word granularity semantic encoding vectors of the context data to be uploaded is calculated to obtain the word granularity semantic global feature vector of the context data to be uploaded composed of each of the average values.

7. The edge IoT proxy method based on a secure encryption chip according to claim 6, It is characterized in that The word granularity semantic salient feature vector of the context data to be uploaded and the word granularity semantic global feature vector of the context data to be uploaded are neighborhood encoded and activated to obtain the word granularity semantic salient feature context associated activation feature vector of the data to be uploaded and the word granularity semantic global feature context associated feature vector of the data to be uploaded. Activation feature vector, including: Performing one-dimensional convolution coding, nonlinear activation and linear transformation on the word-granular semantic salient feature vector of the data to be uploaded to obtain a context-related activation feature vector of the word-granular semantic salient feature of the data to be uploaded; One-dimensional convolution coding, nonlinear activation and linear transformation are performed on the word-granularity semantic global feature vector of the data to be uploaded to obtain the word-granularity semantic global feature context-related activation feature vector of the data to be uploaded.

8. The edge IoT proxy method based on a secure encryption chip according to claim 7, It is characterized in that Based on the word granularity semantic highlight feature context associated activation feature vector of the data to be uploaded and the word granularity semantic global feature context associated activation feature vector of the data to be uploaded, a semantic enhancement process is performed on the sequence of the word granularity semantic encoding vectors of the context data to be uploaded to obtain the sequence of the word granularity semantic encoding vectors of the highlighted context data to be uploaded, including: Calculate the word granularity semantic prominence feature context associated activation feature vector of the data to be uploaded and the word granularity semantic global feature context associated activation feature vector of the data to be uploaded, and add them according to position to obtain the word granularity semantic prominence-global feature context associated activation feature vector of the data to be uploaded; The word granularity semantic prominence-global feature context association activation feature vector of the data to be uploaded is respectively activated by a nonlinear activation based on a tanh activation function and a nonlinear activation based on a sigmoid activation function to obtain a first activation result and a second activation result, and the first activation result and the second activation result are multiplied by position point to obtain a word granularity semantic prominence-global feature context association weight feature vector of the data to be uploaded; Taking the feature values ​​of each position in the word granularity semantic prominence-global feature context association weight feature vector of the data to be uploaded as weights, the sequence of word granularity semantic coding vectors of the context data to be uploaded is weighted vector by vector and then added and fused with the sequence of word granularity semantic coding vectors of the context data to be uploaded to obtain the sequence of word granularity semantic coding vectors of the highlighted context data to be uploaded.

9. The edge IoT proxy method based on a secure encryption chip according to claim 8, It is characterized in that Determining the recognition result of the data to be uploaded based on the sequence of the word granularity semantic encoding vectors of the highlighted context data to be uploaded includes: The sequence of word granularity semantic coding vectors of the highlighted context data to be uploaded is cascaded into a global semantic coding vector of the data to be uploaded and then passed through a classifier-based sensitive data identifier to obtain the recognition result, and the recognition result is used to indicate whether the data to be uploaded is sensitive data.

Citation Information

Cited By

  • Carbon reduction information management system based on chip-level encryption

    CN119338357A

  • Carbon reduction information management system based on chip-level encryption

    CN119338357B

  • All-purpose card transaction security management method and system, and storage medium

    CN119417469A

  • Method for preventing leakage of software backup data

    CN119720279A

  • Secure communication method and device of data

    CN121644130A