Electroencephalogram signal privacy data protection system and method based on confidential calculation

By introducing multi-level encryption technology and TLS/DTLS protocols based on confidential computing into the EEG data processing system, combined with dynamic key management, the security risks of traditional technologies in the EEG data processing stage are solved, and the entire life cycle is realized. Guarantee of data privacy, integrity and availability.

CN118656865APending Publication Date: 2024-09-17SHANDONG INSPUR SCI RES INST CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410842961.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Traditional encryption technology has security risks in the EEG data processing stage and cannot effectively protect the privacy, integrity and availability of data throughout the life cycle.

Method used

Adopt an EEG data privacy protection system based on confidential computing, including EEG signal acquisition module, security processor, data encryption module, secure data transmission module, secure cloud storage module and data analysis module, using hardware that supports confidential computing such as Intel SGX Or ARM TrustZone, which combines symmetric encryption and asymmetric encryption to achieve multi-level protection of data in collection, transmission, storage and analysis, and ensures data security through TLS/DTLS protocol and dynamic key management.

Benefits of technology

It implements full-chain security protection from collection to processing, storage, and analysis, ensuring the privacy, integrity, and availability of EEG data, reducing the possibility of key interception and attackers, and increasing the security of the data processing process. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656865A
    Figure CN118656865A
Patent Text Reader

Abstract

The invention relates to the technical field of confidential calculation, big data and medical health information security, in particular to an electroencephalogram signal privacy data protection method and system based on confidential calculation. The encryption technology is applied in the initial stage of data acquisition, it is ensured that electroencephalogram data is encrypted at the moment of leaving a sensor, and the leakage risk of the data in the transmission process is effectively prevented. And the encryption key is dynamically generated and managed, is only loaded into the secure memory when needed, and is immediately destroyed after being used, so that the possibility that the key is intercepted is greatly reduced. Confidential calculation ensures that key management, data decryption and processing processes are carried out in a protected environment, and the invasion difficulty of attackers is increased. In conclusion, the confidential calculation-based electroencephalogram data acquisition privacy protection method and system provide full-chain security protection from acquisition, processing, storage and analysis for the electroencephalogram data, and ensure the privacy, integrity and availability of the data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of confidential computing, big data and medical health information security technology, and in particular to a system and method for protecting privacy data of electroencephalogram signals based on confidential computing. Background Art

[0002] EEG data has become an important resource for studying brain function, diagnosing neurological diseases, and developing new human-computer interaction technologies because it is highly personalized and contains rich physiological and psychological information. However, the sensitivity of this type of data requires strict security measures to be taken during data processing to prevent unauthorized access, tampering, or leakage, and to protect the privacy rights of users. Although traditional encryption technology can protect the security of data during transmission and storage, during the data processing stage, the data must exist in plain text, which poses a security risk. Therefore, there is an urgent need for a more secure and reliable technology and system solution to ensure the privacy and security of EEG data throughout its life cycle. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a system and method for protecting the privacy data of EEG signals based on confidential computing, which provides full-chain security protection for EEG data from collection to processing, storage, and analysis, ensuring the privacy, integrity, and availability of the data.

[0004] In order to solve the technical problem, the technical solution adopted by the present invention is: an EEG data privacy protection system based on confidential computing, including an EEG signal acquisition module, a security processor, a data encryption module, a secure data transmission module, a secure cloud storage module and a data analysis module; The EEG signal acquisition module includes a non-invasive electrode and a filtering module. The non-invasive electrode is used to capture the EEG signal, and the filtering module is used to filter the EEG signal. The EEG signals collected by the EEG signal collection module are transmitted to the secure cloud storage module and / or the data analysis module via the secure data transmission module; The secure processor integrates hardware that supports confidential computing, creating a physically isolated secure execution environment; The data encryption module is located in the secure execution environment and is responsible for real-time encryption and decryption of data. It combines symmetric encryption and asymmetric encryption to achieve multi-level protection of data in static storage, transmission, and processing and analysis stages. The secure data transmission module uses TLS / DTLS protocol or adaptive optimization protocol to ensure the security of data during transmission; The secure cloud storage module uses encrypted storage technology to ensure the secure storage of EEG data in the cloud; The data analysis module performs data processing and analysis in a secure execution environment.

[0005] Furthermore, the hardware that supports confidential computing is Intel SGX or ARM TrustZone. Confidential computing is based on trusted hardware and protects the confidentiality and integrity of data and code by building a confidential, isolated, and provable computing environment; The secure execution environment created by the hardware that supports confidential computing includes: A trusted execution control unit is used to define instruction control logic on the computing unit and implement the goal of executing isolated computing of the instruction set through the instruction control logic; An isolated memory space is a memory space that is isolated from a general memory space by a trusted execution unit; Trusted firmware, which is used to provide functions including identifying hardware device initialization information and supporting system software integrity verification; Hardware cryptographic engine, which uses the device's unique key to provide key derivation capabilities for EEG signal analysis and storage; Device unique key, used to fix a unique identifier in the hardware. The unique identifier is used as a root key for key derivation in the secure execution environment. Random number generator, used to generate random numbers during key generation and cryptographic operations.

[0006] Furthermore, the secure data transmission module uses the TLS / DTLS protocol to achieve end-to-end encrypted transmission from the EEG signal acquisition module to the secure cloud storage module and / or the data analysis module. The implementation process is as follows: S1) Install or generate an SSL / TLS certificate on the EEG signal acquisition module. The SSL / TLS certificate includes a public key and a private key. The public key is used to encrypt the data collected by the EEG signal acquisition module, and the private key is used to decrypt. S2) Install the corresponding SSL / TLS certificates in the secure cloud storage module and / or data analysis module, configure the HTTPS service or DTLS service, configure the server port, the server port only accepts verified encrypted connections, and configure the corresponding security policy; S3) When the EEG signal acquisition module establishes a connection with the secure cloud storage module and / or the data analysis module, a TLS / DTLS handshake is first performed, during which identity authentication, protocol version negotiation, and key exchange are performed. Both parties exchange information through public key encryption to determine the session key; S4) The handshake is completed, and the session key is used to encrypt the data actually transmitted. All data is encrypted before sending, and the receiver uses the corresponding private key to decrypt it.

[0007] Furthermore, the adaptive optimization protocol is determined according to the network environment and threat model.

[0008] Furthermore, the process of implementing multi-level protection in the data encryption module is as follows: When data is statically stored, a symmetric encryption algorithm is used to encrypt the data; during data transmission, a symmetric encryption algorithm is used to encrypt the data stream, but asymmetric encryption is used in the handshake phase.

[0009] Furthermore, dynamic key management is implemented in the secure execution environment, and keys are loaded into memory only when used and destroyed immediately after use.

[0010] Furthermore, it also includes a permission management module and an audit module. The permission management module sets fine-grained permission control and dynamically allocates data access and operation permissions based on the user roles and work requirements of EEG data users. The audit module operates the audit log to record all data-related operations.

[0011] Furthermore, the EEG signal acquisition module is connected to the security processor via a direct memory access channel.

[0012] The present invention also discloses a method for protecting privacy data of electroencephalogram signals based on confidential computing, comprising the following steps: S01), EEG data collection and real-time encryption, collect EEG data and filter it through the EEG data collection module, and encrypt the filtered EEG data in real time at the EEG data collection module end; generate and manage encryption keys in a secure execution environment, and the keys are only loaded into the memory when used and destroyed immediately after use; S02), secure transmission and storage, establish a direct data transmission path between the EEG data acquisition module and the security processor, use TLS / DTLS protocol to achieve end-to-end encrypted transmission from the EEG data acquisition module to the secure cloud storage module and / or data analysis module; use distributed encryption storage technology in the cloud to divide and store the encrypted EEG data in different physical locations; S03), secure processing and analysis, creating a physically isolated secure execution environment through hardware that supports computational calculations, and all operations involving EEG data, including decryption, processing, and analysis, are completed in the secure execution environment; S04) Permission management and auditing: set fine-grained permission control, dynamically allocate data access and operation permissions based on EEG data user roles and work requirements, and set up audit logs to record all data-related operations.

[0013] Furthermore, when performing EEG data operations in a secure execution environment, a privacy protection algorithm is implemented, and the privacy protection algorithm includes differential privacy and homomorphic encryption.

[0014] Beneficial effects of the invention: The present invention discloses a privacy data protection method and system for EEG information based on confidential computing, which integrates advanced data protection technology and computing models, and provides all-round security protection for highly sensitive personal information such as EEG data. The data is encrypted in the initial stage of data collection to ensure that the EEG data is encrypted the moment it leaves the sensor, effectively preventing the risk of data leakage during transmission. The encryption keys are dynamically generated and managed, loaded into the secure memory only when needed, and destroyed immediately after use, greatly reducing the possibility of the keys being intercepted. Confidential computing ensures that key management, data decryption and processing are carried out in a protected environment, increasing the difficulty of intrusion by attackers. In summary, the privacy protection method and system for EEG data collection based on confidential computing provide full-chain security protection for EEG data from collection to processing, storage, and analysis, ensuring the privacy, integrity and availability of the data. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is a functional block diagram of the system described in Example 1; Figure 2 This is a flow chart of the method described in Example 2. DETAILED DESCRIPTION

[0016] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0017] Example 1 This embodiment discloses a privacy data protection system for EEG signals based on confidential computing, such as Figure 1 As shown, it includes an EEG signal acquisition module, a security processor, a data encryption module, a secure data transmission module, a secure cloud storage module, a data analysis module and a permission management module.

[0018] The EEG acquisition module is responsible for capturing EEG signals in high quality and real time. It uses non-invasive electrodes, supports multi-channel synchronous acquisition, covers a wide frequency range, and can capture the most subtle EEG activities. It integrates adaptive filtering and independent component analysis (ICA) to effectively remove electromagnetic interference and physiological noise to ensure data purity.

[0019] The secure processor integrates hardware that supports confidential computing, creating a physically isolated secure execution environment to ensure that code and data are not accessed or tampered with by external software and hardware components during runtime. It implements a remote authentication mechanism to verify the identity and integrity of the secure execution environment; it automatically adjusts the resource allocation of the secure execution environment, dynamically expands or contracts its memory and computing resources according to current task requirements, and optimizes the balance between performance and energy consumption.

[0020] In this embodiment, the hardware supporting confidential computing includes Intel SGX and ARM TrustZone. Confidential computing is based on trusted hardware, such as SGX, to protect the confidentiality and integrity of data and code by building a confidential, isolated, and provable computing environment. Intel SGX is a technology in Intel processors that creates a protected memory area called an "enclave". The data and code in this area are encrypted to the outside world during execution, and even the operating system or virtual machine monitor (VMM) cannot access the contents.

[0021] In this embodiment, the secure execution environment created using hardware supporting confidential computing includes: 1. Trusted Execution Control Unit: This unit defines security-enhanced instruction control logic on the computing unit to achieve the goal of isolated computing execution of instruction sets.

[0022] 2. Isolated memory space: It is a memory space isolated by the trusted execution control unit and is independent of the general memory space.

[0023] 3. Trusted firmware: provides functions such as identifying hardware device initialization information and supporting system software integrity verification.

[0024] 4. Hardware cryptographic engine: The hardware cryptographic engine uses the device's unique key to provide key derivation capabilities for confidential computing applications; in this embodiment, confidential computing applications refer to EEG signal encryption, decryption and analysis.

[0025] 5. The device's unique password is a unique identifier solidified in the hardware. It is unique and is used as a root key for key deriving in a confidential computing environment.

[0026] 6. Random number generator: used to generate random numbers during key generation and cryptographic operations.

[0027] The data encryption module is located in the secure execution environment and is responsible for real-time encryption and decryption of data. It combines symmetric encryption (such as AES-256) and asymmetric encryption (such as RSA / ECC) to achieve multi-level protection of data in static storage, transmission and dynamic processing; it adopts hierarchical key management to ensure the security of the key life cycle.

[0028] In this embodiment, the process of implementing multi-level protection by the data encryption module is as follows: when data is stored statically, a symmetric encryption algorithm (such as AES-256) is usually used for encryption, because the symmetric encryption algorithm has a fast processing speed and is suitable for encrypting large amounts of data; during data transmission, in order to protect it from interception, the TLS / SSL protocol is usually used. The underlying layer of the protocol may use symmetric encryption (such as AES) for fast data stream encryption, but asymmetric encryption (such as RSA or ECC) is used in the handshake phase to securely exchange symmetric keys. The purpose of asymmetric encryption here is to securely transmit symmetric keys, and subsequent communications are carried out using symmetric keys to improve efficiency.

[0029] The secure data transmission module uses TLS / DTLS protocols to ensure the security of data during transmission. It can also automatically select the optimal transmission protocol according to the network environment and threat model, and support low-latency protocols such as QUIC to ensure that data transmission is both fast and secure; it uses public key infrastructure (PKI) and certificate management to ensure that data is only transmitted between devices that have undergone strict authentication. The process of automatically selecting the optimal transmission protocol based on the network environment and threat model is as follows: in an environment that is sensitive to latency and has good network conditions, QUIC may be considered the best; in a scenario that requires high security guarantees and has a complex network environment, TLS combined with strict authentication and certificate management mechanisms may be a better choice.

[0030] The secure cloud storage module uses encrypted storage technology to ensure the secure storage of data in the cloud; The data analysis module performs data processing and analysis in a secure execution environment; The permission management module implements fine-grained access control and auditing functions.

[0031] In this embodiment, a direct data transmission path is established between the EEG signal acquisition module and the security processor, that is, the collected raw EEG data is transmitted to the security processor through the direct memory access (DMA) channel, and the data of the EEG acquisition module is encrypted using an encryption algorithm to ensure that the data is protected before leaving the acquisition module. Dynamic key management is implemented in the secure execution environment, that is, encryption keys are generated and managed in the secure execution environment. The keys are only loaded into the memory when used and destroyed immediately after use to prevent key leakage.

[0032] In this embodiment, the collected raw EEG data is passed to the security processor through the direct memory access (DMA) channel, and AES-256 encryption is implemented in the secure execution environment to ensure that the data is protected at the moment of collection; after the data is encrypted, it is uploaded to the cloud server through the secure transport layer. The secure execution environment on the server is responsible for data decryption and pre-processing the data using privacy protection algorithms (such as differential privacy); thereafter, specific EEG data analysis algorithms are executed, such as time-frequency analysis, feature extraction, etc., and the analysis results are encrypted or desensitized according to user permissions and then returned to the user.

[0033] Example 2 This embodiment discloses a method for protecting EEG signal data based on confidential computing, such as Figure 2 As shown, the following steps are included: S01), data collection and real-time encryption The EEG data is collected and filtered through the EEG data acquisition module, and the filtered EEG data is encrypted in real time at the EEG data acquisition module to ensure that the data is protected before leaving the acquisition module; encryption keys are generated and managed in a secure execution environment, and the keys are only loaded into the memory when in use and destroyed immediately after use.

[0034] S02) Secure transmission and storage A direct data transmission path is established between the EEG data acquisition module and the security processor, and the TLS / DTLS protocol is used to achieve end-to-end encrypted transmission from the EEG data acquisition module to the secure cloud storage module and / or data analysis module; distributed encrypted storage technology is used in the cloud to divide and store the encrypted EEG data in different physical locations.

[0035] In this embodiment, the TLS / DTLS protocol is used to implement end-to-end encrypted transmission from the acquisition device to the cloud server (security processor, data encryption module, secure data transmission module, secure cloud storage module, data analysis module and permission management module are integrated on the cloud server) to ensure that the data is not eavesdropped or tampered with during the transmission process. The specific implementation process of end-to-end encrypted transmission is as follows: S1), install or generate an SSL / TLS certificate on the EEG signal acquisition module. The SSL / TLS certificate includes a public key and a private key. The public key is used to encrypt the data collected by the EEG signal acquisition module, and the private key is used for decryption; S2) Install the corresponding SSL / TLS certificates in the secure cloud storage module and / or data analysis module, configure the HTTPS service or DTLS service, configure the server port, the server port only accepts verified encrypted connections, and configure the corresponding security policy; S3) When the EEG signal acquisition module establishes a connection with the secure cloud storage module and / or the data analysis module, a TLS / DTLS handshake is first performed, during which identity authentication, protocol version negotiation, and key exchange are performed. Both parties exchange information through public key encryption to determine the session key; S4) The handshake is completed, and the session key is used to encrypt the data actually transmitted. All data is encrypted before sending, and the receiver uses the corresponding private key to decrypt it.

[0036] S03) Safety Processing and Analysis A physically isolated secure execution environment is created by hardware that supports computational calculations, and all operations involving EEG data, including decryption, processing, and analysis, are completed in the secure execution environment.

[0037] Privacy protection: Implement privacy protection algorithms such as differential privacy and homomorphic encryption in a secure execution environment to further enhance privacy protection capabilities during data processing.

[0038] Data can be considered relatively safe when processed within a secure execution environment, but there may be some side channel attacks, etc. Therefore, it is necessary to determine whether to perform privacy protection such as differential privacy and homomorphic encryption on the data based on the security requirements in the specific application scenario. Using methods such as homomorphic encryption and secret sharing can allow data to be calculated within a secure execution environment without leaking the original data, so that even if attacked, the original data cannot be directly obtained.

[0039] Homomorphic encryption allows calculations to be performed directly on encrypted data without first decrypting it. This allows data to be processed in an encrypted state, protecting the data content while completing calculation tasks, such as performing statistical analysis or training machine learning models. The calculation process acts directly on the ciphertext, and the result also remains encrypted.

[0040] Differential privacy protects individual privacy by adding random noise to query results, ensuring that the addition or removal of any personal data will not significantly affect the final statistical output. In a secure execution environment, all data queries and analysis requests can be processed by differential privacy algorithms, and the system will use random noise mechanisms to blur the results, ensuring that the impact of a single data point is limited to the preset privacy budget.

[0041] S04) Authority Management and Auditing Set up fine-grained permission control, dynamically allocate data access and operation permissions based on EEG data user roles and work requirements, and ensure that data access is minimized; at the same time, set up audit logs to record all data-related operations, including access, processing, transmission, etc., to support audit tracking and compliance checks.

[0042] What is described above are only the basic principles and preferred embodiments of the present invention. Improvements and substitutions made by those skilled in the art based on the present invention belong to the protection scope of the present invention.

Claims

1. A confidential computing-based EEG data privacy protection system, characterized by: It includes an EEG signal acquisition module, a security processor, a data encryption module, a secure data transmission module, a secure cloud storage module and a data analysis module; The EEG signal acquisition module includes a non-invasive electrode and a filtering module. The non-invasive electrode is used to capture the EEG signal, and the filtering module is used to filter the EEG signal. The EEG signals collected by the EEG signal collection module are transmitted to the secure cloud storage module and / or the data analysis module via the secure data transmission module; The secure processor integrates hardware that supports confidential computing, creating a physically isolated secure execution environment; The data encryption module is located in the secure execution environment and is responsible for real-time encryption and decryption of data. It combines symmetric encryption and asymmetric encryption to achieve multi-level protection of data in static storage, transmission, and processing and analysis stages. The secure data transmission module uses TLS / DTLS protocol or adaptive optimization protocol to ensure the security of data during transmission; The secure cloud storage module uses encrypted storage technology to ensure the secure storage of EEG data in the cloud; The data analysis module performs data processing and analysis in a secure execution environment.

2. The EEG data privacy protection system based on confidential computing according to claim 1, characterized in that: The hardware that supports confidential computing is Intel SGX or ARM TrustZone. Confidential computing is based on trusted hardware and protects the confidentiality and integrity of data and code by building a confidential, isolated, and provable computing environment. The secure execution environment created by the hardware that supports confidential computing includes: A trusted execution control unit is used to define instruction control logic on the computing unit and implement the goal of executing isolated computing of the instruction set through the instruction control logic; An isolated memory space is a memory space that is isolated from a general memory space by a trusted execution unit; Trusted firmware, which is used to provide functions including identifying hardware device initialization information and supporting system software integrity verification; Hardware cryptographic engine, which uses the device's unique key to provide key derivation capabilities for EEG signal analysis and storage; Device unique key, used to fix a unique identifier in the hardware. The unique identifier is used as a root key for key derivation in the secure execution environment. Random number generator, used to generate random numbers during key generation and cryptographic operations.

3. The EEG data privacy protection system based on confidential computing according to claim 1, characterized in that: The secure data transmission module uses the TLS / DTLS protocol to achieve end-to-end encrypted transmission from the EEG signal acquisition module to the secure cloud storage module and / or data analysis module. The implementation process is as follows: S1) Install or generate an SSL / TLS certificate on the EEG signal acquisition module. The SSL / TLS certificate includes a public key and a private key. The public key is used to encrypt the data collected by the EEG signal acquisition module, and the private key is used to decrypt. S2) Install the corresponding SSL / TLS certificates in the secure cloud storage module and / or data analysis module, configure the HTTPS service or DTLS service, configure the server port, the server port only accepts verified encrypted connections, and configure the corresponding security policy; S3) When the EEG signal acquisition module establishes a connection with the secure cloud storage module and / or the data analysis module, a TLS / DTLS handshake is first performed, during which identity authentication, protocol version negotiation, and key exchange are performed. Both parties exchange information through public key encryption to determine the session key; S4) The handshake is completed, and the session key is used to encrypt the data actually transmitted. All data is encrypted before sending, and the receiver uses the corresponding private key to decrypt it.

4. The EEG data privacy protection system based on confidential computing according to claim 1, characterized in that: The adaptive optimization protocol is determined according to the network environment and threat model.

5. The EEG data privacy protection system based on confidential computing according to claim 1, characterized in that: The process of implementing multi-level protection in the data encryption module is as follows: When data is statically stored, a symmetric encryption algorithm is used to encrypt the data; during data transmission, a symmetric encryption algorithm is used to encrypt the data stream, but asymmetric encryption is used in the handshake phase.

6. The EEG data privacy protection system based on confidential computing according to claim 1, characterized in that: Dynamic key management is implemented in the secure execution environment, and keys are loaded into memory only when used and destroyed immediately after use.

7. The EEG data privacy protection system based on confidential computing according to claim 1, characterized in that: It also includes a permission management module and an audit module. The permission management module sets fine-grained permission control and dynamically allocates data access and operation permissions based on the user roles and work requirements of EEG data. The audit module operates the audit log to record all data-related operations.

8. The EEG data privacy protection system based on confidential computing according to claim 1, characterized in that: The EEG signal acquisition module is connected to the security processor through a direct memory access channel.

9. A method for protecting privacy data of electroencephalogram signals based on confidential computing, characterized in that: The following steps are involved: S01), EEG data collection and real-time encryption, collect EEG data and filter it through the EEG data collection module, and encrypt the filtered EEG data in real time at the EEG data collection module end; generate and manage encryption keys in a secure execution environment, and the keys are only loaded into the memory when used and destroyed immediately after use; S02), secure transmission and storage, establish a direct data transmission path between the EEG data acquisition module and the security processor, use TLS / DTLS protocol to achieve end-to-end encrypted transmission from the EEG data acquisition module to the secure cloud storage module and / or data analysis module; use distributed encryption storage technology in the cloud to divide and store the encrypted EEG data in different physical locations; S03), secure processing and analysis, creating a physically isolated secure execution environment through hardware that supports computational calculations, and all operations involving EEG data, including decryption, processing, and analysis, are completed in the secure execution environment; S04) Permission management and auditing: set fine-grained permission control, dynamically allocate data access and operation permissions based on EEG data user roles and work requirements, and set up audit logs to record all data-related operations.

10. The method for protecting privacy of EEG data based on confidential computing according to claim 1, characterized in that: When performing EEG data operations in a secure execution environment, privacy protection algorithms are implemented, including differential privacy and homomorphic encryption.

Citation Information

Cited By

  • Medical health data privacy security management method and system based on MLWE

    CN119004520A

  • Data secret state processing method and device

    CN119150333A