Chip data security interaction method, device, equipment, medium and product

By identifying and grouping the types of interactive data, and using interference information generation models and blockchain encryption methods to process the data, hidden encrypted data is generated, which solves the problem of insufficient security in traditional data interaction and improves the security of data interaction.

CN117932630BActive Publication Date: 2026-11-24SOUTHERN POWER GRID DIGITAL GRID RESEARCH INSTITUTE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311822992.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2026-11-24
Estimated Expiration
2043-12-27

AI Technical Summary

Technical Problem

Traditional data exchange methods, even after encryption, still pose a risk of malicious data theft, resulting in poor security protection.

Method used

By identifying the type and task of the interactive data, the data is grouped and then generated using a interference information generation model. This interference information is then combined with blockchain encryption methods to encrypt and hide the data, resulting in hidden encrypted data.

Benefits of technology

It improves the security protection during data interaction, making it difficult for malicious ports to obtain or crack the original interaction data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117932630B_ABST
    Figure CN117932630B_ABST
Patent Text Reader

Abstract

This application relates to a method, apparatus, device, medium, and product for secure chip data interaction. The method includes: acquiring various interaction data to be exchanged by a target terminal and the corresponding data interaction tasks; identifying the interaction type of each data interaction task; grouping the interaction data based on the interaction type to obtain multiple interaction groups; acquiring a preset interference information generation model; inputting the interaction data of each interaction group into the interference information generation model to obtain interference information for each interaction group; encrypting each interaction data according to a preset encryption method to obtain corresponding encrypted data; and performing information hiding processing on each group of encrypted data according to the interference information of each interaction group to obtain hidden encrypted data; and executing the data interaction task corresponding to each hidden encrypted data. This method makes it difficult for malicious ports to directly obtain the encrypted data, thereby improving the security protection effect during data interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information security technology, and in particular to a chip data security interaction method, apparatus, device, medium and product. Background Technology

[0002] With the development of IoT technology, data interaction between various types of components, devices, or systems has become more frequent and widespread, making data security issues more critical. During data interaction, there are often threats to data security, such as malicious theft or attacks on the interacting data.

[0003] Traditional technologies ensure data security during data exchange by encrypting the data. However, malicious ports can still successfully obtain the content of the exchanged data after cracking the encryption, resulting in poor security protection for the exchanged data. Summary of the Invention

[0004] Therefore, it is necessary to provide a chip data security interaction method, apparatus, computer device, computer-readable storage medium, and computer program product to address the above-mentioned technical problems.

[0005] Firstly, this application provides a method for secure chip data interaction. The method includes:

[0006] Obtain the interaction data that the target terminal needs to interact with and the corresponding data interaction tasks, identify the interaction type of each data interaction task, and group the interaction data based on the interaction type to obtain multiple interaction groups;

[0007] Obtain a preset interference information generation model, input the interaction data of each interaction group into the interference information generation model, and obtain the interference information of each interaction group;

[0008] Each interactive data is encrypted according to a preset encryption method to obtain the corresponding encrypted data. Based on the interference information of each interactive group, the encrypted data of each group is hidden to obtain the hidden encrypted data.

[0009] Execute the data interaction tasks corresponding to each hidden and encrypted data.

[0010] In one embodiment, identifying the interaction type of each data interaction task includes:

[0011] Identify the data type of the interactive data and the interaction port information corresponding to the data interaction task;

[0012] Based on the data type and the port information of the interacting party, determine the interaction type corresponding to the interaction data.

[0013] In one embodiment, the interaction data is grouped based on the interaction type to obtain multiple interaction groups, including:

[0014] Based on the preset similarity calculation method, the first similarity between each interaction type is calculated, and the interaction data corresponding to each interaction type is clustered based on the first similarity to obtain multiple initial interaction groups.

[0015] Feature data of each interaction data in each initial interaction group is extracted, and feature fusion processing is performed on each feature data to obtain the interaction feature information of the initial interaction group.

[0016] The initial interaction group containing interactive feature information is identified as the interaction group.

[0017] In one embodiment, a preset interference information generation model is obtained, and the interaction data of each interaction group is input into the interference information generation model to obtain the interference information of each interaction group, including:

[0018] The interaction feature information is input into the interference information generation model to generate initial interference information corresponding to the interaction feature information. Then, according to the preset similarity calculation method, the second similarity between the initial interference information and each interaction data is calculated.

[0019] If the average value of each second similarity is lower than the preset average value threshold, the generation parameters of the interference information generation model are adjusted to obtain the adjusted interference information generation model. The interaction feature information is then re-inputted into the adjusted interference information generation model to obtain the updated initial interference information.

[0020] The generated parameters are iteratively updated until the second similarity between the updated initial interference information and each interaction data is greater than the preset average threshold. The updated initial interference information corresponding to the second similarity that is greater than the preset average threshold is then identified as interference information.

[0021] In one embodiment, the interaction feature information is input into the interference information generation model to generate initial interference information corresponding to the interaction feature information, including:

[0022] The interaction feature information is input into the interference information generation model to obtain multiple sample data information corresponding to the interaction feature information, and the feature information of each sample data information is identified.

[0023] Calculate the Euclidean distance between each feature information and the interaction feature information, and determine the sample data information corresponding to the minimum Euclidean distance as the initial interference information.

[0024] In one embodiment, based on the interference information of each interaction group, information hiding processing is performed on the encrypted data of each group to obtain hidden encrypted data, including:

[0025] Based on the feature data of the interactive data, the association between encrypted data and interference information is established. Based on the association and the preset data packaging and processing method, the encrypted data is packaged and processed to obtain the initial hidden encrypted data.

[0026] Based on the association, the initial hidden encrypted data is added to the interference information to obtain the hidden encrypted data.

[0027] Secondly, this application also provides a chip data security interaction device. The device includes:

[0028] The interactive data acquisition module is used to acquire the interactive data that the target terminal needs to interact with and the data interaction tasks corresponding to each interactive data, identify the interaction type of each data interaction task, and group each interactive data based on the interaction type to obtain multiple interaction groups.

[0029] The interference information generation module is used to acquire a preset interference information generation model, input the interaction data of each interaction group into the interference information generation model, and obtain the interference information of each interaction group.

[0030] The encrypted data generation module is used to encrypt each interactive data according to a preset encryption method to obtain the corresponding encrypted data, and to perform information hiding processing on each group of encrypted data according to the interference information of each interactive group to obtain hidden encrypted data.

[0031] The data security interaction module is used to execute data interaction tasks corresponding to each hidden and encrypted data.

[0032] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0033] Obtain the interaction data that the target terminal needs to interact with and the corresponding data interaction tasks, identify the interaction type of each data interaction task, and group the interaction data based on the interaction type to obtain multiple interaction groups;

[0034] Obtain a preset interference information generation model, input the interaction data of each interaction group into the interference information generation model, and obtain the interference information of each interaction group;

[0035] Each interactive data is encrypted according to a preset encryption method to obtain the corresponding encrypted data. Based on the interference information of each interactive group, the encrypted data of each group is hidden to obtain the hidden encrypted data.

[0036] Execute the data interaction tasks corresponding to each hidden and encrypted data.

[0037] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0038] Obtain the interaction data that the target terminal needs to interact with and the corresponding data interaction tasks, identify the interaction type of each data interaction task, and group the interaction data based on the interaction type to obtain multiple interaction groups;

[0039] Obtain a preset interference information generation model, input the interaction data of each interaction group into the interference information generation model, and obtain the interference information of each interaction group;

[0040] Each interactive data is encrypted according to a preset encryption method to obtain the corresponding encrypted data. Based on the interference information of each interactive group, the encrypted data of each group is hidden to obtain the hidden encrypted data.

[0041] Execute the data interaction tasks corresponding to each hidden and encrypted data.

[0042] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0043] Obtain the interaction data that the target terminal needs to interact with and the corresponding data interaction tasks, identify the interaction type of each data interaction task, and group the interaction data based on the interaction type to obtain multiple interaction groups;

[0044] Obtain a preset interference information generation model, input the interaction data of each interaction group into the interference information generation model, and obtain the interference information of each interaction group;

[0045] Each interactive data is encrypted according to a preset encryption method to obtain the corresponding encrypted data. Based on the interference information of each interactive group, the encrypted data of each group is hidden to obtain the hidden encrypted data.

[0046] Execute the data interaction tasks corresponding to each hidden and encrypted data.

[0047] The aforementioned chip data security interaction method, apparatus, device, medium, and product acquire the interaction data required by the target terminal and the corresponding data interaction tasks, identify the interaction type of each data interaction task, and group the interaction data based on the interaction type to obtain multiple interaction groups; acquire a preset interference information generation model, input the interaction data of each interaction group into the interference information generation model to obtain interference information for each interaction group; encrypt each interaction data according to a preset encryption method to obtain corresponding encrypted data, and perform information hiding processing on each group of encrypted data based on the interference information of each interaction group to obtain hidden encrypted data; and execute the data interaction tasks corresponding to each hidden encrypted data. This application employs the above method, first grouping the interaction data according to the interaction type to obtain multiple interaction groups, and generating interference information corresponding to each interaction group based on the interaction data and interference information generation model of each interaction group. Then, based on the interference information, data hiding processing is performed on the encrypted interaction data (i.e., the encrypted data) to obtain hidden encrypted data. This makes it difficult for malicious ports to obtain the encrypted data, or even if they obtain the hidden encrypted data, it is difficult to crack and obtain the original interaction data, thereby improving the security protection effect during data interaction. Attached Figure Description

[0048] Figure 1 This is an application environment diagram of a chip data security interaction method in one embodiment;

[0049] Figure 2 This is a flowchart of a chip data security interaction method in one embodiment;

[0050] Figure 3 This is a flowchart illustrating the process of determining the interaction type of interactive data in one embodiment;

[0051] Figure 4 This is a flowchart for determining an interaction group in one embodiment;

[0052] Figure 5 This is a flowchart for determining interference information in one embodiment;

[0053] Figure 6 This is a flowchart illustrating the determination of initial interference information in one embodiment;

[0054] Figure 7 This is a flowchart illustrating how hidden encrypted data is obtained in one embodiment;

[0055] Figure 8 This is a structural block diagram of a chip data security interaction device in one embodiment;

[0056] Figure 9 This is an internal structural diagram of a computer device in one embodiment;

[0057] Figure 10This is a diagram of the internal structure of a computer device in another embodiment. Detailed Implementation

[0058] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0059] The chip data security interaction method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on the cloud or other network servers. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. Terminal 102 can classify interactive data according to the interaction type, obtaining multiple interaction groups. Based on the interactive data information of each interaction group, it generates interference information corresponding to that interaction group. Then, based on this interference information, it performs data hiding processing on the encrypted interactive data, making it difficult for malicious ports to obtain the encrypted data, thereby improving the security protection effect during data interaction. Server 104 can be implemented using a standalone server or a server cluster composed of multiple servers.

[0060] In one embodiment, such as Figure 2 As shown, this method is applied to Figure 1 Taking a terminal as an example, it can be understood that this method can also be applied to a server, and to a system that includes both a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0061] Step 202: Obtain the interactive data that the target terminal needs to interact with and the corresponding data interaction tasks, identify the interaction type of each data interaction task, and group the interactive data according to the interaction type to obtain multiple interaction groups.

[0062] In this context, the target terminal is a component, device, or system that responds to user information interaction operations to receive and send data. In this embodiment, the target terminal is an IoT chip. Interaction data refers to the relevant data involved in data interaction between the target terminal and other terminals, including text, images, audio, and other data. Data interaction tasks include operations performed on the interacting data, interacting party ports, IoT chip ports, and interaction logic. Operations performed on the interacting data include data sending, data receiving, data processing, data storage, and data analysis. Interacting party ports are the communication ports or interfaces involved in the data interaction task, and are also the ports for data interaction with the target terminal. Interacting party ports are used to connect to the interacting devices or systems; for example, for network communication tasks, the interacting party port can be a specific network card port or server port. IoT chip ports are the interfaces provided by the chips in IoT devices, used for data interaction with other devices or systems. These ports can be physical interfaces, such as UART (Universal Asynchronous Receiver / Transmitter Interface) and SPI (Serial Peripheral Interface), or wireless communication interfaces, such as Wi-Fi and Bluetooth. Interaction logic is the operational flow or logical rules of the data interaction task, used to define the data transmission and processing methods between devices or systems during the interaction process. The interaction logic determines the data transmission order, processing order, and possible verification, encryption, and decryption operations. Each data interaction task is associated with one or more interacting data sets. Interaction type refers to the type of interaction task. Interaction types include, but are not limited to, button interaction, hot area interaction, hot object interaction, target area interaction, menu interaction, conditional interaction, text interaction, time-limited interaction, time-limited interaction, keyboard interaction, event interaction, etc.

[0063] For example, in response to a user's information interaction operation, a terminal or server first obtains the interaction data that the IoT chip needs to interact with and the corresponding data interaction tasks, then identifies the interaction type of each data interaction task, and then performs clustering processing on the interaction data under each interaction type to obtain multiple interaction groups, where each interaction group is a collection of similar data interaction tasks.

[0064] Step 204: Obtain the preset interference information generation model, input the interaction data of each interaction group into the interference information generation model, and obtain the interference information of each interaction group.

[0065] For example, the interference information generation model is a use case generation model based on reinforcement learning neural networks. An initial interference information generation model is trained using multiple sample interference information samples to obtain the final interference information generation model. This initial model can be built by domain experts based on their experience and knowledge, targeting interference analysis and feature extraction for different scenarios. Interference information is used to package and process interactive data to prevent malicious ports from directly stealing it. It is also used to obfuscate or interfere with sensitive information. Setting interference information helps to effectively protect data privacy and security.

[0066] Step 206: Encrypt each interactive data according to the preset encryption method to obtain the corresponding encrypted data, and perform information hiding processing on each group of encrypted data according to the interference information of each interactive group to obtain hidden encrypted data.

[0067] In this embodiment, the preset encryption method is a blockchain encryption method. This method generates public and private keys for the interactive data based on a blockchain and encrypts the data using these keys. The blockchain encryption method offers high security. By using an asymmetric encryption algorithm, each target terminal participating in the data interaction has a pair of public and private keys. Only the target terminal possessing the private key can decrypt and access the encrypted data. Therefore, the blockchain encryption method effectively prevents unauthorized third parties or malicious ports from accessing and tampering with the interactive data, helping to ensure the confidentiality and security of the interactive data.

[0068] For example, firstly, the interaction data of each interaction group is uploaded to the blockchain, and then the data is encrypted using blockchain encryption methods to obtain encrypted data. Next, based on the interference information of the interaction group, information hiding processing is performed on the encrypted data of the interaction group to obtain hidden encrypted data. Information hiding processing involves packaging each interaction data using an information hiding strategy and then adding it to the interference information.

[0069] Specifically, based on blockchain encryption methods, each interactive data is encrypted to obtain encrypted data. This process involves: uploading each interactive data piece to the blockchain and generating a private key for each piece of data; generating a public key for each piece of data based on its upload address; and then encrypting each piece of data using both the private and public keys. This blockchain encryption method, along with the generation of a public key based on the upload address, restricts access to the data, helping to ensure data security and improve overall data protection.

[0070] Step 208: Execute the data interaction tasks corresponding to each hidden encrypted data.

[0071] For example, after obtaining the hidden encrypted data, the data interaction task corresponding to the hidden encrypted data is executed.

[0072] In the aforementioned chip data security interaction method, the interaction data is first grouped according to the interaction type to obtain multiple interaction groups. Then, interference information corresponding to each interaction group is generated based on the interaction data of each interaction group. Finally, based on the interference information, data hiding processing is performed on each interaction data that has been encrypted by blockchain, i.e., encrypted data. This makes it difficult for malicious ports to directly obtain each encrypted data. Moreover, since each interaction data is encrypted by blockchain, the decryption difficulty of malicious ports is increased, thereby improving the security protection effect during data interaction.

[0073] In one embodiment, such as Figure 3 As shown, the interaction types for each data interaction task include:

[0074] Step 302: Identify the data type of the interactive data and the interaction port information corresponding to the data interaction task.

[0075] The data types corresponding to the interactive data include, but are not limited to, categorical data, ordinal data, numerical data, observational data, experimental data, sequence data, audio data, video data, and text data. The port information of the interacting parties corresponding to the data interaction task refers to the port information of the different systems or devices participating in the data interaction; this information is used to identify the destination or source of the data interaction.

[0076] For example, the target terminal, based on each data interaction task, extracts the corresponding interaction party using a task extraction strategy. Then, based on the interaction data of that data interaction task, it identifies the data type and interaction party information. A task extraction strategy is a method for extracting data interaction tasks and corresponding interaction party information from interaction data. Specifically, the task extraction strategy can use specific tags or metadata to indicate data interaction tasks and corresponding interaction parties during the data interaction process. For example, defining specific labels for each data interaction task, or embedding metadata in the data interaction to identify task and interaction party information, such as determining tasks and interaction party information by analyzing the format, semantics, and keywords of text data.

[0077] Step 304: Determine the interaction type corresponding to the interaction data based on the data type and the interaction port information.

[0078] For example, first determine the basic interaction type based on the data type, such as text, image, audio, video, file, etc. This can initially determine the basic data interaction type. Then, based on the port information of the interacting parties, determine the characteristics and roles of the systems or devices involved in the data interaction, further determining the interaction type. For example, in a client-server application, the port number used by the client to request data and the port number used by the server to respond to data may be different. This information can be used to determine the interaction type, such as request / response, push / subscribe, synchronous / asynchronous, etc. Additionally, when identifying the interaction logic of the interacting data, this interaction logic can also be used as the interaction type of the data interaction task. This interaction logic includes, but is not limited to, deletion, interruption, display, loading, sorting, refreshing, caching, and push.

[0079] In this embodiment, the target terminal determines the interaction type by the interaction party corresponding to the interaction task and the data type of the interaction data, or by determining the interaction type based on the interaction logic, which helps to improve the accuracy and reliability of determining the interaction logic.

[0080] In one embodiment, such as Figure 4 As shown, the interaction data is grouped based on the interaction type, resulting in multiple interaction groups, including:

[0081] Step 402: Calculate the first similarity between each interaction type according to the preset similarity calculation method, and perform clustering processing on the interaction data corresponding to each interaction type based on the first similarity to obtain multiple initial interaction groups.

[0082] The first similarity score is a numerical value used to characterize the degree of similarity between interaction types. The higher the first similarity score, the more similar the two interaction types are. Clustering is a data analysis method that groups similar objects together to divide data into different groups. The clustering methods in this embodiment include, but are not limited to, hierarchical clustering, K-means clustering, density clustering, and spectral clustering.

[0083] For example, in this embodiment, the preset similarity calculation method is the cosine similarity calculation method. The first similarity between each interaction type is calculated using the cosine similarity calculation method. Then, the terminal performs clustering processing on the interaction data corresponding to each interaction type according to the first similarity between each interaction type to obtain an initial interaction group containing multiple interaction data, wherein the initial interaction group is a collection of multiple interaction data.

[0084] Step 404: Extract the feature data of each interaction data in each initial interaction group, and perform feature fusion processing on each feature data to obtain the interaction feature information of the initial interaction group.

[0085] Feature data refers to data used to describe information or attributes related to the interactive data. Feature data includes text features, image features, audio features, and other similar features. Feature fusion processing combines the information extracted from various feature data sets to form a comprehensive interactive feature information. The purpose of feature fusion is to reduce feature dimensionality, extract higher-level features, and enhance the expressive power of the features. Different initial interaction groups can be distinguished based on the interactive feature information.

[0086] For example, for each initial interaction group, the feature data of each interaction data is first extracted using a data feature extraction neural network, and then the interaction feature information of the initial interaction group is obtained through feature fusion processing. The data feature extraction neural network is a self-attention mechanism network, which typically consists of several attention mechanisms. Each attention mechanism consists of three parts: query, key, and value. The query, key, and value represent three mappings, respectively, which linearly transform the input data to represent different information in the new feature space. The final output consists of a weighted sum of values, where the relationship between the key and value is calculated using a dot product, and the weight of the value is calculated using the normalized dot product result.

[0087] Step 406: The initial interaction group containing interaction feature information is determined as the interaction group.

[0088] For example, after feature extraction and fusion, each initial interaction group will now have an interaction feature vector. This vector integrates the feature information of each interaction data point, and it can represent the features of the entire interaction group. Therefore, the initial interaction group containing interaction feature information can be identified as the interaction group.

[0089] In this embodiment, initial interaction groups are obtained through similarity clustering, and then feature data of the initial interaction groups are extracted and fused to obtain interaction feature data, which helps to improve the correlation between the extracted interaction feature data and the interaction data in the interaction group.

[0090] In one embodiment, such as Figure 5 As shown, a preset interference information generation model is obtained. The interaction data of each interaction group is input into the interference information generation model to obtain the interference information of each interaction group, including:

[0091] Step 502: Input the interaction feature information into the interference information generation model to generate the initial interference information corresponding to the interaction feature information, and calculate the second similarity between the initial interference information and each interaction data according to the preset similarity calculation method.

[0092] For example, the preset similarity calculation method in this embodiment is the Manhattan distance algorithm. Interaction feature information is input into the interference information generation model. The interference information generation model extracts key features from the interaction feature information and generates some related but different interference information. This interference information is similar to the interaction feature information in some aspects, but also has certain differences, to enhance the diversity of the data. When calculating the second similarity between the initial interference information and each interaction data according to the Manhattan distance algorithm, the feature vector of the initial interference information is first extracted and denoted as the interference information vector. Then, for each interaction data, its feature vector is extracted, and the distance between the interference information vector and each interaction data vector is calculated using the Manhattan distance algorithm. The second similarity = 1 / (1 + Manhattan distance), where Manhattan distance = Σ |Xi - Yi|, where Xi is the value of each dimension of the interference information vector; Yi is the value of each dimension of the interaction data vector.

[0093] The similarity between each interactive data point and the initial interference information can be assessed by calculating the second similarity. The larger the second similarity, the more similar the features between the initial interference information and the interactive data. Conversely, the smaller the second similarity, the greater the feature differences between the initial interference information and the interactive data.

[0094] Step 504: If the average value of each second similarity is lower than the preset average value threshold, adjust the generation parameters of the interference information generation model to obtain the adjusted interference information generation model, and re-input the interaction feature information into the adjusted interference information generation model to obtain the updated initial interference information.

[0095] Specifically, when the average value of each second similarity is lower than the preset average threshold, it indicates that the similarity between the interference information generated by the current interference information generation model and the interactive data is low. This also means that there is a significant difference between the generated interference information and the real data, making it difficult to accurately simulate real interference situations. Therefore, when the average value of each second similarity is lower than the preset average threshold, it is necessary to adjust the generation parameters of the interference information generation model to update the model.

[0096] For example, when the average value of each second similarity is lower than the preset average value threshold, the parameters of the model are adjusted, such as the regularization coefficient, learning rate, network structure, etc., as well as the data sample generation method and selection strategy, etc., to improve the generation quality of interference information. Then, the interaction features are re-input into the adjusted interference information generation model to obtain the updated initial interference information.

[0097] Step 506: Iteratively update the generated parameters until the second similarity between the updated initial interference information and each interaction data is greater than the preset average threshold, and determine the updated initial interference information corresponding to the second similarity higher than the preset average threshold as interference information.

[0098] For example, the preset average threshold is set according to specific task requirements. When the second similarity between the updated initial interference information and each interaction data in the target interaction group is greater than the preset average threshold, the updated initial interference information corresponding to the second similarity higher than the preset average threshold is determined as interference information; when the second similarity between the updated interference information and each interaction data in the corresponding target interaction group is not greater than the preset average threshold, the generation parameters of the above interference information generation model are iteratively updated until the second similarity between the updated initial interference information and each interaction data is greater than the preset average threshold, and finally the updated initial interference information corresponding to the second similarity higher than the preset average threshold is determined as interference information.

[0099] In this embodiment, by calculating the second similarity between the initial interference information and each interaction data, the interference information generation model is optimized and the interference information is filtered, which helps to improve the correlation between the filtered interference information and each interaction data in the corresponding target interaction group.

[0100] In one embodiment, such as Figure 6 As shown, the interaction feature information is input into the interference information generation model to generate initial interference information corresponding to the interaction feature information, including:

[0101] Step 602: Input the interaction feature information into the interference information generation model to obtain multiple sample data information corresponding to the interaction feature information, and identify the feature information of each sample data information.

[0102] The sample data information is generated based on the perturbed interaction data, and includes the perturbed interaction data and the corresponding perturbed information. The feature information of the sample data includes various feature information in the perturbed interaction data, and the feature information of the sample data can include text features, image features, audio features, etc.

[0103] For example, interactive feature information, such as sensor data (temperature, current, etc.), control signals (input / output signal status), and user operations (button clicks, touchscreen input, etc.), is obtained from the IoT chip. This collected interactive feature information is then input into an interference information generation model. The interference information generation model generates multiple sample data information corresponding to the interactive feature information. This sample data information can be chip status, feedback information, error information, etc., related to the interactive feature information. For each generated sample data information, its feature information can be further identified. For example, the IoT chip's status (such as working status, battery status), feedback information (such as display prompts, sound prompts), and error information (such as fault codes, error messages) can be extracted.

[0104] Step 604: Calculate the Euclidean distance between each feature information and the interaction feature information, and determine the sample data information corresponding to the minimum Euclidean distance as the initial interference information.

[0105] For example, feature information of all sample data is collected, Euclidean distance between each feature information and interaction feature information is calculated according to the Euclidean distance calculation formula, and the sample data information corresponding to the smallest Euclidean distance is determined as the initial interference information, that is, the sample data information closest to the interaction feature information among all sample data is determined as the initial interference information.

[0106] In this embodiment, the initial interference information is filtered by calculating the Euclidean distance between each feature information and the interaction feature information, which helps to improve the similarity between the initial interference information and the interaction feature information.

[0107] In one embodiment, such as Figure 7 As shown, based on the interference information of each interaction group, information hiding processing is performed on the encrypted data of each group to obtain the hidden encrypted data, including:

[0108] Step 702: Based on the feature data of the interactive data, establish the association between the encrypted data and the interference information, and based on the association and the preset data packaging processing method, package the encrypted data to obtain the initial hidden encrypted data.

[0109] As mentioned above, interference information is used to obfuscate or interfere with sensitive information. By associating encrypted data with interference information, plaintext interactive data can be encrypted and hidden, thus more effectively protecting data privacy and security and preventing unauthorized malicious ports from obtaining it. The association between encrypted data and interference information involves combining, transforming, or obfuscating the two, making the meaning and true content of the data more difficult for unauthorized malicious ports to understand or interpret. The association relationship defines the association rules or algorithms between encrypted data and interference information, used to determine the insertion position and method of encrypted data within the interference information.

[0110] The preset data packaging processing methods include various data packaging techniques, including but not limited to data transformation packaging, header information addition packaging, and message packaging. For example, header information addition packaging involves integrating information such as data requests, data parameters, and data addresses corresponding to the data information into the header information of that data information, thereby obtaining the initially hidden encrypted data. In this way, when transmitting encrypted data, the header information is treated as normal, data-irrelevant information, making it more difficult to detect and identify. At the same time, associating the encrypted data with the header information means that only through the correct decryption method can the encrypted data be restored to the original plaintext data. Thus, even if the encrypted data is maliciously attacked or illegally accessed during transmission, data leakage can be more effectively prevented.

[0111] For example, encrypted data containing a user's personal information can be packaged together with relevant request information, such as data type and sender / receiver identity, to form a complete data packet. In this way, during data exchange, only authorized data recipients can correctly parse and process this data packet, while unauthorized malicious ports cannot obtain the actual personal information contained within.

[0112] Step 704: Based on the association, add the initial hidden encrypted data to the interference information to obtain the hidden encrypted data.

[0113] Among them, the hidden encrypted data is obtained by establishing the association between encrypted data and interference information based on the feature data of the interactive data, and packaging the encrypted data based on the association and the preset data packaging processing method. It is also the result obtained by adding the initial hidden encrypted data to the interference information.

[0114] For example, based on the associated position in the association relationship, the packaged encrypted data, i.e. the initial hidden data, is inserted into the specified position in the interference information. This can be done by overwriting, inserting, or filling, depending on the rules of the association relationship. After the process of adding the hidden data, the hidden encrypted data can be obtained.

[0115] In this embodiment, by establishing a correlation between interference information and encrypted data, the encrypted data is hidden, thereby obtaining hidden encrypted data, which helps to improve the rationality of hiding the encrypted data.

[0116] In one embodiment, the method further includes: parsing the hidden encrypted data according to a preset data parsing method to obtain the corresponding encrypted data, and obtaining the original interactive data corresponding to the encrypted data based on a decryption method corresponding to the preset encryption method.

[0117] The preset data parsing method corresponds to the hidden encrypted data parsing strategy. This method extracts data information containing packaging identifiers from the hidden encrypted data and removes the packaging from this data to obtain the encrypted data. The removal of packaging is an inverse operation strategy based on the data packaging strategy. The method includes the following steps: relational analysis, data packaging analysis, encrypted data extraction, and encrypted data restoration. Relational analysis determines the location of the hidden encrypted data based on the established relational relationships. Data packaging analysis parses the rules and formats used during data packaging. Encrypted data extraction extracts the encrypted data from the hidden encrypted data based on the parsed information. Encrypted data restoration uses the decryption method corresponding to the preset encryption method to obtain the original interactive data from the extracted encrypted data.

[0118] For example, taking the aforementioned blockchain encryption method to encrypt interactive data and then processing it through data packaging (taking the addition of header information as an example) to obtain hidden encrypted data, the association relationship and data packaging of the hidden encrypted data are first parsed to obtain information such as data requests, data parameters, and data addresses of the interactive data corresponding to the hidden encrypted data. This information is then integrated, and the sub-data content obtained from this integration is deleted to extract the encrypted data. Based on the public key information of the encrypted data, the private key information of the encrypted data is obtained from the blockchain. Finally, the encrypted data is decrypted using the private key information to obtain the original interactive data corresponding to the encrypted data.

[0119] In this embodiment, by parsing the hidden encrypted data and the hidden data parsing strategy, the interactive data is restored, which helps to ensure the integrity of the interactive data and thus ensure the transmission efficiency of the interactive data.

[0120] This embodiment employs the above method, first grouping each interaction data according to the interaction type to obtain multiple interaction groups, and generating interference information corresponding to each interaction group based on the interaction data and interference information generation model of each interaction group. Then, based on the interference information, data hiding processing is performed on the encrypted interaction data, i.e., the encrypted data, to obtain hidden encrypted data, making it difficult for malicious ports to obtain each encrypted data, or even if they obtain the hidden encrypted data, it is difficult to crack and obtain the original interaction data, thereby improving the security protection effect during data interaction.

[0121] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0122] Based on the same inventive concept, this application also provides a chip data security interaction device for implementing the chip data security interaction method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more chip data security interaction device embodiments provided below can be found in the limitations of the chip data security interaction method described above, and will not be repeated here.

[0123] In one embodiment, such as Figure 8 As shown, a chip data security interaction device is provided, including: an interaction data acquisition module 802, an interference information generation module 804, an encrypted data generation module 806, and a data security interaction module 808, wherein:

[0124] The interactive data acquisition module 802 is used to acquire the interactive data that the target terminal needs to interact with and the data interaction tasks corresponding to each interactive data, identify the interaction type of each data interaction task, and group each interactive data according to the interaction type to obtain multiple interaction groups.

[0125] The interference information generation module 804 is used to acquire a preset interference information generation model, input the interaction data of each interaction group into the interference information generation model, and obtain the interference information of each interaction group.

[0126] The encrypted data generation module 806 is used to encrypt each interactive data according to a preset encryption method to obtain the corresponding encrypted data, and to perform information hiding processing on each group of encrypted data according to the interference information of each interactive group to obtain hidden encrypted data.

[0127] The data security interaction module 808 is used to execute data interaction tasks corresponding to each hidden encrypted data.

[0128] In one embodiment, the interactive data acquisition module 802 is further configured to: identify the data type corresponding to the interactive data and the interaction port information corresponding to the data interaction task; and determine the interaction type corresponding to the interactive data based on the data type and the interaction port information.

[0129] In one embodiment, the interaction data acquisition module 802 is further configured to: calculate the first similarity between each interaction type according to a preset similarity calculation method, and perform clustering processing on the interaction data corresponding to each interaction type according to the first similarity to obtain multiple initial interaction groups; extract the feature data of each interaction data in each initial interaction group respectively, and perform feature fusion processing on each feature data to obtain the interaction feature information of the initial interaction group; and determine the initial interaction group containing the interaction feature information as the interaction group.

[0130] In one embodiment, the interference information generation module 804 is further configured to: input interaction feature information into the interference information generation model to generate initial interference information corresponding to the interaction feature information, and calculate the second similarity between the initial interference information and each interaction data according to a preset similarity calculation method; if the average value of each second similarity is lower than a preset average value threshold, adjust the generation parameters of the interference information generation model to obtain an adjusted interference information generation model, and re-input the interaction feature information into the adjusted interference information generation model to obtain updated initial interference information; iteratively update the generation parameters until the second similarity between the updated initial interference information and each interaction data is greater than a preset average value threshold, and determine the updated initial interference information corresponding to the second similarity higher than the preset average value threshold as interference information.

[0131] In one embodiment, the interference information generation module 804 is further configured to: input the interaction feature information into the interference information generation model to obtain multiple sample data information corresponding to the interaction feature information, and identify the feature information of each sample data information; calculate the Euclidean distance between each feature information and the interaction feature information, and determine the sample data information corresponding to the minimum Euclidean distance as the initial interference information.

[0132] In one embodiment, the encrypted data generation module 806 is further configured to: establish an association between encrypted data and interference information based on the feature data of the interactive data, and package the encrypted data based on the association and a preset data packaging processing method to obtain initial hidden encrypted data; and add the initial hidden encrypted data to the interference information according to the association to obtain hidden encrypted data.

[0133] Each module in the aforementioned chip data security interaction device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0134] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 9 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The database stores interactive data, port information of participating terminals, preset encryption methods, preset similarity calculation methods, and other related data. The network interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a chip-based secure data interaction method.

[0135] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 10As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a chip-based secure data interaction method. The display screen can be an LCD screen or an e-ink display screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0136] Those skilled in the art will understand that Figure 9 and Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0137] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0138] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above method embodiments.

[0139] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0140] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0141] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0142] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0143] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for secure data interaction in a chip, characterized in that, The method includes: The system acquires the interaction data that the target terminal needs to interact with and the data interaction tasks corresponding to each interaction data, identifies the interaction type of each data interaction task, and groups the interaction data based on the interaction type to obtain multiple interaction groups. Obtain a preset interference information generation model, input the interaction data of each interaction group into the interference information generation model, and obtain the interference information of each interaction group; Each set of interactive data is encrypted according to a preset encryption method to obtain corresponding encrypted data. Then, based on the interference information of each set of interactive data, information hiding processing is performed on each set of encrypted data to obtain hidden encrypted data. Execute the data interaction task corresponding to each of the hidden encrypted data.

2. The method according to claim 1, characterized in that, The identification of the interaction type for each of the data interaction tasks includes: Identify the data type corresponding to the interactive data and the interaction port information corresponding to the data interaction task; Based on the data type and the interaction port information, determine the interaction type corresponding to the interaction data.

3. The method according to claim 2, characterized in that, The interaction data is grouped based on the interaction type to obtain multiple interaction groups, including: According to a preset similarity calculation method, the first similarity between each interaction type is calculated, and the interaction data corresponding to each interaction type is clustered according to the first similarity to obtain multiple initial interaction groups. Feature data of each interaction data in each initial interaction group is extracted, and feature fusion processing is performed on each feature data to obtain the interaction feature information of the initial interaction group. The initial interaction group containing the interaction feature information is determined as the interaction group.

4. The method according to claim 3, characterized in that, The step of obtaining a preset interference information generation model involves inputting the interaction data of each interaction group into the interference information generation model to obtain the interference information of each interaction group, including: The interaction feature information is input into the interference information generation model to generate initial interference information corresponding to the interaction feature information. Then, according to the preset similarity calculation method, the second similarity between the initial interference information and each of the interaction data is calculated respectively. If the average value of each second similarity is lower than the preset average value threshold, the generation parameters of the interference information generation model are adjusted to obtain the adjusted interference information generation model, and the interaction feature information is re-inputted into the adjusted interference information generation model to obtain the updated initial interference information. The generation parameters are iteratively updated until the second similarity between the updated initial interference information and each of the interaction data is greater than the preset average threshold, and the updated initial interference information corresponding to the second similarity higher than the preset average threshold is determined as the interference information.

5. The method according to claim 4, characterized in that, The step of inputting the interaction feature information into the interference information generation model to generate initial interference information corresponding to the interaction feature information includes: The interaction feature information is input into the interference information generation model to obtain multiple sample data information corresponding to the interaction feature information, and the feature information of each sample data information is identified. Calculate the Euclidean distance between each of the aforementioned feature information and the interactive feature information, and determine the sample data information corresponding to the smallest Euclidean distance as the initial interference information.

6. The method according to claim 3, characterized in that, The step of performing information hiding processing on the encrypted data of each group according to the interference information of each interaction group to obtain hidden encrypted data includes: Based on the feature data of the interaction data, an association relationship is established between the encrypted data and the interference information. Based on the association relationship and a preset data packaging processing method, the encrypted data is packaged to obtain the initial hidden encrypted data. Based on the aforementioned association, the initial hidden encrypted data is added to the interference information to obtain the hidden encrypted data.

7. A chip data security interaction device, characterized in that, The device includes: The interactive data acquisition module is used to acquire the interactive data that the target terminal needs to interact with and the data interaction task corresponding to each interactive data, identify the interaction type of each data interaction task, and group the interactive data according to the interaction type to obtain multiple interaction groups. The interference information generation module is used to acquire a preset interference information generation model, input the interaction data of each interaction group into the interference information generation model, and obtain the interference information of each interaction group. The encrypted data generation module is used to encrypt each of the interactive data according to a preset encryption method to obtain corresponding encrypted data, and to perform information hiding processing on each group of encrypted data according to the interference information of each interactive group to obtain hidden encrypted data. The data security interaction module is used to execute the data interaction tasks corresponding to each of the hidden encrypted data.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Encryption method, encryption device, storage medium and electronic equipment

    CN112182624A

  • Design verification device

    US20110119645A1