System and method for ensuring the security of an electronic trading platform
By adopting security enclave technology and partition controllers in the electronic trading platform, the issues of data processing security and performance limitations are solved, efficient data privacy protection and security processing are achieved, and computing resource requirements and data leakage risks are reduced.
Patent Information
- Application Number
- CN201980034160.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-03-27
- Filing Date
- 2019-05-28
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2039-05-28
AI Technical Summary
When ensuring the security of electronic transaction data processing, existing technologies face increased computing resource requirements and performance limitations in encryption and decryption steps, making it difficult to effectively protect consumer privacy, especially when data is transmitted and processed between multiple computing systems. Risk of data breach and unauthorized access.
Using secure enclave technology, data processing is carried out through protected memory areas and secure processors, ensuring that data is stored and transmitted in an encrypted state, and is only decrypted and analyzed in a trusted execution environment, using separate secure memory areas and secure processing The server performs training and processing of machine learning data models, restricts unauthorized access, and optimizes model training and updates through partition controllers and parameter aggregation engines.
It improves the confidentiality and security of data processing, reduces the risk of malicious attacks and data leaks, reduces constraints on computing resources, improves performance and security, and ensures the privacy protection of consumer data.
Smart Images

Figure CN112567366B_ABST
Abstract
Description
[0001] Cross-references
[0002] This application is non-provisional and claims all benefits, including priority, of U.S. Provisional Application No. 62 / 677,133 filed on May 28, 2018; U.S. Provisional Application No. 62 / 691,406 filed on June 28, 2018; U.S. Provisional Application No. 62 / 697,140 filed on July 12, 2018; U.S. Provisional Application No. 62 / 806,394 filed on February 15, 2019; and U.S. Provisional Application No. 62 / 824,697 filed on March 27, 2019; all U.S. Provisional Applications are titled SYSTEM AND METHOD FOR SECURING ELECTRONIC TRANSACTION PLATFORMS.
[0003] The contents of the above applications are incorporated herein by reference in their entirety. Technical Field
[0004] The present disclosure relates generally to the field of electronic data processing, and more particularly to securing electronic transaction data processing. Background Art
[0005] Consumers develop a certain level of trust in financial institutions and suppliers when they use financial products (e.g., credit cards or loyalty cards) to make purchases, so that private information, such as transaction data, will not be exposed to other parties without the consumer's explicit consent. At the same time, consumers will respond better to personalized offers than to non-personalized recommendations.
[0006] Generally speaking, banks and merchants are reluctant to share consumer data with other organizations because the protection of consumer privacy is of utmost importance to them. In addition, even with the explicit consent of consumers, banks and merchants are still reluctant to share consumer data with other parties because they may lose control or ownership of the shared data.
[0007] During data processing and transformation, there is a need to ensure the protection of privacy. However, increased confidentiality creates technical challenges, as the additional steps of encryption and decryption can lead to increased infrastructure requirements, as well as technical limitations on performance. Summary of the invention
[0008] Embodiments described herein relate to technical solutions adapted to overcome technical challenges associated with improving privacy and security.A data aggregator computer system is described that is configured to receive one or more data sets from a plurality of separate computing systems.
[0009] In some embodiments, certain features are described to overcome challenges in computing resource constraints, particularly in environments operating at elevated encryption levels because the additional encryption incurs an increased computational burden.
[0010] In addition, as in some embodiments, a separate secure memory area is utilized, which is a memory space that is constrained when it can be physically or electronically separated from other computing subsystems, such as a kernel program or an operating system (e.g., even an administrator with root access to a server device may not be able to access basic data stored in a protected memory area). Therefore, the chance of exposure to malicious attacks or data exfiltration is significantly reduced because the secure enclave provides an extremely secure environment for data processing or machine learning.
[0011] These data sets may represent sensitive information of an organization of individual computing systems that the organization does not want other computing systems or even administrators of data aggregator computer systems to have access to the sensitive information. Systems, methods, and computer-readable media are described that utilize secure processing techniques, such as secure enclaves, with respect to operation of an improved processing architecture with enhanced confidentiality and security measures. In some embodiments, the machine learning data model architecture and its components are also stored in a secure memory area such that they cannot be interacted with or accessed.
[0012] As described above, these enhanced confidentiality and security measures give rise to increased technical challenges because, for example, encryption and decryption requirements reduce the total computing resources available in various scenarios. Computing resources may be constrained due to the requirement that certain aspects need to be performed only using secure processors and that data elements may need to be stored only in encrypted formats when outside of a secure processing environment. Secure processing involves protecting the overall computing steps so that parties cannot access one or more portions of the underlying data used in the machine learning data architecture without having appropriate access rights.
[0013] The received data set is stored in a protected memory area that is encrypted so that it is inaccessible to the operating system and the kernel system. The protected memory area includes at least a data storage area and a data processing subsystem storage area that maintains a separate data processing subsystem that processes the data to generate an output data structure. In an example embodiment, the data processing subsystem applies a processing function that utilizes components of the query request and / or elements of the stored data set in generating an output.
[0014] As a simplified example, a data set may be used for benchmarking and in response to a query request regarding benchmarking statistics, the aggregated data set may be queried to obtain a response (e.g., utilizing data sets not only from data source A but also from data sources B, C, D, while maintaining confidentiality and security of the underlying data sets because none of the parties can access the protected memory area). The protected memory data area may be protected, for example, by encryption with a key mechanism known only to the secure enclave data processor and inaccessible to any other party (including even an administrator of the system on which the secure enclave data processor resides) or via an operating system or kernel program of the system on which the secure enclave data processor resides.
[0015] In some other embodiments, a dedicated cache memory is provided, wherein a protected memory area may be loaded, and wherein a data set may be loaded and then encrypted after recording, and wherein the data set is no longer accessible after being loaded into the protected memory area.
[0016] In a second aspect, for example, processing is performed via a securely stored machine learning data model architecture that is repeatedly maintained and trained via a data set stored thereon. In this embodiment, the basic components of the machine learning data model architecture (e.g., hidden layers, compute nodes, interconnections, data structures representing nodes) are also inaccessible via an operating system or kernel program of a system on which a secure enclave data processor resides, because the basic components of the machine learning data model architecture are also maintained or stored in a protected memory area. The interconnected compute nodes operate collectively to generate an output data structure in response to a query data message via a dynamically modified activation function trained over multiple training epochs (e.g., by learning via gradient descent in view of optimizing a loss function).
[0017] In an embodiment, a secure enclave (e.g., a separate data processor, hardware or software, or a combination thereof) is utilized for performing machine learning subtasks. In some embodiments, the secure enclave may store encryption keys for securely accessing underlying data.
[0018] Secure enclave processing introduces limitations in terms of computational resource constraints, which can result in reduced performance and speed. Relative to non-secure processing paradigms, complexity is increased due to encryption and access restriction requirements.
[0019] Thus, as described in various embodiments herein, methods are presented that involve a machine learning data architecture with strong confidentiality and robust security. In some embodiments, the machine learning architecture includes multiple interconnected secure enclave processing partitions (e.g., separate secure enclave processors) that process and maintain separate training model architectures.
[0020] As data is processed through each of the partitions, the individual model architectures are updated to generate updated model architecture parameter data structures. The updated model architecture parameter data structures from each of the partitions are aggregated at a parameter aggregation unit (e.g., a parameter server, which may be its own enclave). The parameter aggregation unit is configured to save the updates and then re-propagate the aggregated trained model architecture to the secure processing legacy. This architecture of some embodiments helps overcome technical constraints associated with reduced throughput of secure enclave partitions. For example, some secure enclave partitions are limited to model architecture sizes of approximately 90MB or less. Thus, multiple coordinated partitions operate together to provide overall secure processing.
[0021] An application for machine learning and secure learning as described in some embodiments includes generating a data structure, for example, through a machine learning model architecture, which includes a subset of customer identifiers for identifying clusters based on similarity to a training set of identifiers. For example, a training set of identifiers may include high-yield loyal customers, and the trained model architecture may be utilized to identify target customers that are not in the training set but are negligible as potential targets. In this example, secure processing using a secure machine learning data architecture is used to ensure that unauthorized users do not gain unauthorized access to underlying data (which may include sensitive customer data). For example, a secure enclave processor is used to ensure that merchants do not have a comprehensive view of customer profiles, especially when such merchants are not the custodians of customer profiles.
[0022] In another embodiment, the enclave partitions are further configured to interconnect with each other during parallel operation so that the enclave partitions can share and determine parameters between each other, as compared to receiving updated parameters in the trained model from the aggregator processor.
[0023] According to one aspect, there is provided a system for processing data within a trusted execution environment (TEE) of a processor. The system may include: a trust manager unit for verifying an identity of a partner and issuing a communication key to the partner after the verification of the identity; at least one interface for receiving encrypted data encrypted using the communication key from the partner; a secure database within the TEE for storing the encrypted data by storing a key and for preventing unauthorized access to the encrypted data within the TEE; and a recommendation engine for decrypting and analyzing the encrypted data to generate recommendations based on the decrypted data.
[0024] According to another aspect, a computer-implemented method for processing data within a trusted execution environment (TEE) of a processor is provided. The method may include: verifying an identity of a partner; issuing a communication key to the partner after the verification of the identity; receiving encrypted data encrypted using the communication key from the partner; storing the encrypted data with a storage key to prevent unauthorized access to the encrypted data within the TEE; and decrypting and analyzing the encrypted data to generate a recommendation based on the decrypted data.
[0025] According to another aspect, a computer readable memory having a protected memory area is stored on DRAM.
[0026] According to another aspect, a key required to decrypt a protected memory region into a computer-readable cache memory is stored within the secure enclave data processor and is inaccessible outside of the secure enclave data processor.
[0027] According to another aspect, the key required to decrypt the protected memory area into the computer-readable cache memory is initially generated from a random number entry, and the random number entry is stored within the secure enclave data processor and is inaccessible outside of the secure enclave data processor.
[0028] According to another aspect, a remote attestation procedure is periodically performed by a secure enclave data processor to verify the security of the system, the remote attestation procedure comprising transmitting a remote attestation payload comprising a Diffie Hellman message to the secure enclave data processor.
[0029] According to another aspect, a remote attestation procedure is periodically performed by a secure enclave data processor to verify the security of the system, the remote attestation procedure comprising the secure enclave data processor generating a remote attestation script data structure and transmitting the remote attestation script data structure along with a signed challenge payload and a new Diffie Hellman message payload.
[0030] According to another aspect, the secure enclave data processor is configured to provide: a partition controller engine configured to provide one or more secure enclave sub-processors and transmit partitions of a protected memory area to each of the one or more secure enclave sub-processors; the one or more secure enclave sub-processors configured to process corresponding partitions of the protected memory area using a local copy of the machine learning data model architecture to generate one or more parameter update data structures; a partition aggregation engine configured to receive the one or more parameter update data structures from each of the one or more secure enclave sub-processors and process the one or more parameter update data structures to optimize at least one parameter of the machine learning data model architecture, the machine learning data model architecture being distributed to the one or more secure enclave sub-processors to update corresponding local copies of the machine learning data model architecture. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Embodiments will now be described, by way of example only, with reference to the accompanying drawings, in which:
[0032] Figure 1 is a block diagram illustrating an example platform for processing secure consumer data according to some embodiments;
[0033] Figure 2A is a schematic diagram of an example (virtual) clean room on a platform for processing secure transaction data according to some embodiments;
[0034] Figure 2B is a schematic diagram of another example clean room on a platform for processing secure transaction data according to some embodiments;
[0035] Figure 3 is another schematic diagram of a clean room on a platform according to some embodiments;
[0036] Figure 4 is a schematic diagram illustrating a remote attestation procedure between a partner and a trust manager of an example platform according to some embodiments;
[0037] Figure 5 is a schematic diagram of a security and encryption unit from an example platform according to some embodiments;
[0038] Figure 6 is another schematic diagram of an example platform according to some embodiments;
[0039] Figure 7 is a schematic diagram of a data modeling unit and a data storage unit from an example platform according to some embodiments;
[0040] Figure 8is a schematic diagram of a master node and a worker node from an example platform according to some embodiments;
[0041] Fig. 9 shows example job assignments for various nodes according to some embodiments;
[0042] Fig.10 shows an example memory structure of a secure enclave according to some embodiments;
[0043] Fig.11A presents an example resource management structure according to some embodiments;
[0044] Fig. 11B An example schematic diagram showing a resource management data program according to some embodiments;
[0045] Fig.12 is a schematic diagram of a computing device for implementing an example platform according to some embodiments;
[0046] Fig.13 describes an example program executed by an example platform according to some embodiments; and
[0047] Fig.14 Another schematic diagram illustrating an example clean room on a platform for processing secure transaction data in accordance with some embodiments.
[0048] Fig.15 Yet another schematic diagram illustrates a distributed system including clean rooms for processing secure transaction data in accordance with some embodiments.
[0049] Fig.16 This chapter describes an example Spark framework that uses YARN as a resource manager to implement data analysis.
[0050] Fig.17 Shows the instance executor structure under the Spark framework.
[0051] Fig.18 Shows the instance executor structure that works with the driver application under the Spark framework.
[0052] Fig.19 is a block diagram illustrating an example of a machine learning architecture and data flow according to some embodiments.
[0053] Fig. 20 An example illustration of resource allocation to different client tiers is shown.
[0054] Fig.21 An example Venn diagram showing the intersection and target opportunity areas between customers of two different data sets according to some embodiments.
[0055] Fig. 22An example of a graphical user interface adapted to display a generated recommended graphical accessory is presented in accordance with some embodiments.
[0056] Fig.23 An example of a graphical user interface adapted to present a graphical widget bar showing generated recommendations is presented in accordance with some embodiments.
[0057] Fig.24 An illustration of an example production environment and data flow according to some embodiments. DETAILED DESCRIPTION
[0058] It should be appreciated that numerous specific details are set forth in order to provide a thorough understanding of the exemplary embodiments described herein. However, one of ordinary skill in the art will appreciate that the embodiments described herein may be practiced without these specific details. Furthermore, this specification is not to be construed as limiting the scope of the embodiments described herein in any way, but rather merely describes the implementation of the various example embodiments described herein.
[0059] The embodiments are implemented using technical means, including computers, having specialized components and circuitry suitable for improved security and confidentiality of data sets.As mentioned herein, the embodiments relate to secure enclave data processors and their use in conjunction with computer readable memories having protected memory areas.
[0060] The secure enclave data processor interfaces with the protected memory area to securely store and encrypt data sets received from a specific data source (e.g., from a partner organization), which in some embodiments may be encrypted with a key specific to the partner organization or data source. In an embodiment, the key may be pre-generated and associated with the partner organization or data source. In another embodiment, the system may include a key generator that performs a key generation ceremony when a new key is needed to load a data set into the protected memory area.
[0061] As referred to herein, a data set is loaded that is specific to a particular computing device or data source. In some embodiments, the load is one-way, so that the encryption key is destroyed or the encryption key is not provided back to the particular computing device or data source. In variant embodiments, the one-way load can use the data that was loaded for training or otherwise incorporated into a data processing or machine learning data model framework, after the data is deleted (e.g., the data is only used for training).
[0062] In other embodiments, the loading may be bidirectional where a particular computing device or data source is able to extract its own data set or modify data in a previously provided data set. In alternative embodiments, the output data structure may be a modification of the data in the data set (e.g., extending the data set with metadata) and the extraction of the data set may be used to generate an extended or otherwise improved version of the data (e.g., providing customer data and extracting augmented customer data that exhibits an estimated customer type classification string). In some embodiments, the machine learning data model architecture may also be loaded or unloaded, such that an untrained machine learning data model architecture may be loaded and a trained machine learning data model architecture may be extracted without giving either party access to the underlying data set.
[0063] Consumers develop a certain level of trust in financial institutions and suppliers when they use financial products (e.g., credit cards or loyalty cards) to make purchases, so that private information, such as transaction data, will not be exposed to other parties without the consumer's explicit consent. At the same time, consumers respond better to personalized offers than to general recommendations. In general, banks and merchants are reluctant to share consumer data with other organizations because the protection of consumer privacy is of utmost importance to them.
[0064] Additionally, even with explicit consumer consent, banks and merchants are reluctant to share consumer data with other parties because they may lose control or ownership of the shared data. Data sets received from a particular data source are stored in a protected memory area so that other parties cannot access the data sets, but the data sets are accessible in the protected memory area by the data processing subsystem for use in generating computer-generated insights and / or values packaged in the form of an output data structure. In some embodiments, the output data structure may also include a trained machine learning data model architecture.
[0065] The output data structure may be generated in response to a query data message, which in some aspects may include new information for processing by the system or may be a query request for aggregated existing information stored thereon in the protected memory area.
[0066] For example, a query data message may provide a vector for a hypothetical customer profile, and the trained machine learning data model architecture may output a data structure storing fields indicating whether the trained machine learning data model architecture predicts that the hypothetical customer profile would be suitable for the proposed offer.
[0067] In another example, the query data message may not contain any additional information but may actually be a query based on the aggregate information stored in the protected memory area or based on the trained machine learning data model architecture. For example, the query data message may point to: "In general, how long is the average length of time that customers spend in retail stores in Washington, DC relative to the average length of time in the United States?" or in the presence of a trained machine learning data model architecture, may point to "Based on the overall aggregate transaction behavior of customers in Washington, DC, how many customer clusters are identified?" (e.g., if an unsupervised model is used to identify multiple clusters).
[0068] A secure platform for processing private consumer data, such as transaction data, is described herein. In some embodiments, the platform can interface with participating partners (e.g., banks and merchants) to receive consumer data including transaction data (also referred to as "TXN data") from each partner's respective system. The consumer data can be encrypted with an encryption key.
[0069] The platform may store received consumer data in a secure area (also referred to as a "clean room") where the consumer data is then decrypted and analyzed to generate personalized quotes for each consumer. The consumer data received from the partners cannot be accessed, decrypted, or read by any other user, system, or program outside of the clean room for the specified purpose, i.e., for the purpose of running analysis and generating quotes. This platform enables analysis to be performed on encrypted data, raises concerns for banks and merchants with respect to loss or compromise of control and ownership of consumer data, and serves to protect the privacy of consumer data. In some embodiments, the owner of the computer hosting the platform may not be able to view or infer anything about the input or output data.
[0070] In some embodiments, the clean room is implemented within one or more secure enclaves within a trusted execution environment (TEE) of a processor (e.g., CPU), where data models can be trained and executed for any level of analysis. Key management capabilities also ensure proper encryption and decryption of data stored within the clean room.
[0071] Embodiments described herein relate to technical solutions adapted to overcome technical challenges associated with improved confidentiality and security. Specifically, systems, methods, and computer-readable media are described that utilize secure processing techniques, such as secure enclaves, with respect to the operation of an improved machine learning data architecture with enhanced confidentiality and security measures.
[0072] As described above, these enhanced confidentiality and security measures cause increased technical challenges because, for example, encryption and decryption requirements reduce the total computing resources available in various situations. Computing resources may be constrained due to the requirement that certain aspects need to be performed only using secure processors and that data elements may need to be stored only in encrypted format when outside of a secure processing environment.
[0073] Figure 1 A block diagram is shown illustrating an example electronic transaction platform 100 for receiving and processing secure consumer data via a network 150 according to some embodiments. The consumer data may be received from one or more partner systems 115, which may include one or more bank systems 112 and one or more merchant systems 113. Figures 2A to 3 A schematic diagram of an example clean room 300 implemented on platform 100 is provided.
[0074] The processing device 101 can execute instructions in the memory 109 to configure various components or units 120, 121, 122, 123, 124, 125. The processing device 101 can be, for example, a microprocessor or microcontroller, a digital signal processing (DSP) processor, an integrated circuit, a field programmable gate array (FPGA), a reconfigurable processor, or any combination thereof. The processing device 101 may include a memory 109, a data memory 108, and other memory 111. In some embodiments, the processing device 101 includes a security area called a trusted execution environment (TEE) 103. The TEE 103 may include a memory 109 and a data memory 108, and is a separate environment in which various units and applications can be executed and data can be processed and stored. Applications running in the TEE 103 can fully utilize the full power of the processing device 101 while being protected from the influence of components and applications in the main operating system. Applications and data in the TEE 103 are protected from undesirable access and tampering, even from the influence of the owner of the processing device 101. In some cases, different applications and data storage within TEE 103 can be individually separated from each other and protected if desired.
[0075] In some embodiments, the protected memory areas (e.g., secure data vaults) of the TEE 103 are separated by using encryption. In this example, the encryption keys are stored within the TEE 103 itself so that it can access the data as needed but the underlying data is not accessible by other components, such as an operating system operating on a server or kernel program. In an alternative embodiment, the separation is performed by using physical or circuit separation from other components. In yet another alternative embodiment, both physical and cryptographic separation are utilized.
[0076] Because the components and data of the platform 100 are maintained within the TEE 103, they are better protected from unauthorized access and tampering due to the separation and security provided by the TEE 103. Therefore, the partner system 115 has credibility so that its consumer data is not accidentally leaked or accessed by others. As will be described below, each partner can verify that the platform 100 within the TEE 103 is secure and has not been tampered with before transmitting any data to the platform 100 (e.g., via an authentication process). Therefore, the partner system 115 has a higher degree of trust in the platform 100 and will be more willing to send its consumer data to the platform 100 for processing and then receive targeted recommendations and quotes to current and potential customers.
[0077] Data storage 108 may be, for example, one or more NAND flash memory modules of suitable capacity, or may be one or more persistent computer storage devices such as hard disk drives, solid state drives, etc. In some embodiments, data storage 108 comprises a secure data vault configured to host encrypted data.
[0078] Memory 109 may include a combination of computer memories, such as static random access memory (SRAM), random access memory (RAM), read-only memory (ROM), electro-optical memory, magneto-optical memory, erasable programmable read-only memory (EPROM) and electrically erasable programmable read-only memory (EEPROM), ferroelectric RAM (FRAM), etc.
[0079] In some embodiments, data within the TEE may be stored in data storage 108, memory 109, or some combination thereof.
[0080] The data storage 108 may include a secure data warehouse configured to store information associated with the TEE 103, such as cryptographic keys for remote authentication, encryption, and decryption. The data storage 108 may also store confidential information, such as consumer data including transaction data. The memory 108 and / or other memory 111 may be provided using various types of storage technologies and may be stored in various formats, such as relational databases, non-relational databases, flat files, spreadsheets, extended tagged files, etc. The data storage 108 may include, for example, a computer-readable cache memory for loading protected memory areas, and the protected memory areas themselves. When the data storage 108 is configured for bidirectional access, the data storage 108 may store a corresponding public key corresponding to a specific data source for use in encrypting data prior to access requested by a computing device associated with the specific data source.
[0081] In some embodiments, data store 108 maintains a separate machine learning data model architecture that is trained based on a data set received through TEE 103, which may or may not be stored after processing on data store 108. For example, if the data is not stored on data store 108 after processing and training, performance may be improved because less total storage is required. This is useful if the data set is particularly large or voluminous. In another embodiment, the data set is stored on data store 108 in a protected memory area for future use or analysis across time.
[0082] The data storage 108 may also store an output data structure that can be interacted with via the recommendation engine 120, the output data structure storing field values generated by processing by the data processing subsystem. In some embodiments, the data processing subsystem of the TEE 103 includes a storage function generated based on an aggregation of data sets received from corresponding partner computing devices.
[0083] Each I / O unit 107 enables the platform 100 to be interconnected with one or more input devices, such as a keyboard, mouse, camera, touch screen, and microphone, or with one or more output devices, such as a display screen and speakers. The I / O unit 107 may be used to receive instructions to prepare to load / unload data into the data storage 108, and may require providing access or otherwise decrypting or authenticating data for loading into the data storage 108. A specific access key required.
[0084] The I / O unit 107 may also receive query data messages that trigger the data processing subsystem to generate various output data structures as data structures, instruction sets, or query strings.
[0085] Each communication interface 105 enables the platform 100 to communicate with other components, exchange data with other components, access and connect to network resources, serve applications, and execute other computing applications by connecting to a network (or multiple networks) capable of carrying data, including the Internet, Ethernet, plain old telephone service (POTS) lines, public switched telephone network (PSTN), integrated services digital network (ISDN), digital subscriber line (DSL), coaxial cable, fiber optic, satellite, mobile, wireless (e.g., Wi-Fi, WMAX), SS7 signaling network, fixed line, local area network, wide area network, etc., including any combination of these networks.
[0086] The platform 100 can be used to register and authenticate users (using, for example, a login, unique identifier, and password) before being able to access applications, local area networks, network resources, other networks, and network security devices. The platform 100 can serve one user or multiple users. In some embodiments, the user's credential information is stored in the TEE 103, making it secure and ensuring a high level of trust from partners.
[0087] Figure 2A An example virtual clean room 300 on platform 100 for processing secure transaction data is shown. Virtual clean room 300 may be referred to as VCR or just clean room 300. Partner system 115 may encrypt user data (e.g., consumer transaction data) with a key generated by clean room 300, and then transmit the encrypted data across a secure channel to a secure data vault within clean room 300. The user data may be decrypted and processed only in secure enclave 133. Data output generated by the program within secure enclave 133 is then encrypted and stored within the secure data vault.
[0088] The secure enclave 133 may be configured to store the encrypted data set in a single secure enclave and execute one or more analysis algorithms. The secure enclave 133 may also implement cluster management to arrange multiple secure enclaves and CPUs. As mentioned herein, in some embodiments, the partitions are utilized to track model data architecture updates from one or more secure enclave sub-processors utilizing a local version of the machine learning data model architecture and pass parameter updates to periodically update the global version of the machine learning data model architecture, thereby actually achieving parallelism of the training procedure of the machine learning data model architecture, which improves convergence speed in the event that convergence is possible.
[0089] For example, secure enclave 133 may provide secure storage for sensitive data from partner systems 115 and be the only component on platform 100 capable of decrypting encrypted data with a suitable and secure key management system. Secure enclave 133 may also be implemented to perform analysis on decrypted data and provide output. The output may be encrypted before transmission outside of secure enclave 133.
[0090] In some embodiments, one or more data sets may form a data set in partner system 115. The data set may be encrypted by partner system 115 using a key generated by secure enclave 133, then transmitted to cleanroom 300 and subsequently stored in a secure data warehouse. Analysis may be performed on the encrypted data by a worker application. The worker application may decrypt the data using a suitable decryption key before performing the analysis. Once the analysis is performed, output data may be generated. In some cases, the output data may be encrypted. Cleanroom 300 may be the only entity in platform 100 that may (i) store encrypted data and (ii) decrypt for analysis purposes, such that secure enclave 133 is not accessible to people, systems, or programs outside of cleanroom 300.
[0091] The secure enclave 133 protects data from administrators because the operating system / kernel system cannot access the decrypted enclave contents by using hardware level security.
[0092] Fig.10 An example memory structure of a secure enclave 133 is shown in accordance with some embodiments. Only the secure enclave can load protected memory areas from DRAM (all other applications will get cache errors from the cache manager).
[0093] Enclave data on DRAM is encrypted and only decrypted when loaded into cache using special instructions, thus protecting enclave data from administrators, OS / kernel systems / programs, and external entities. Access to decryption keys is limited, and in some embodiments, is only available within secure enclave 133 and not accessible by human analysts.
[0094] A human analyst may interact with the secure enclave 133, for example, by controlling the loading / verification / unloading of data associated with a single data source or controlling the loading / unloading of an untrained or trained machine learning data model architecture using a corresponding key pair. As mentioned herein, because the secure enclave 133 is adapted to prevent other parties from accessing the underlying data set, the secure enclave 133 effectively provides black-box access to the underlying data processing subsystem, or in some embodiments, to the separate machine learning data model architecture.
[0095] Reference now Figure 2B, cleanroom application 300 may be implemented on platform 100 and receive one or more data sets from multiple partners, such as banking system 112 and merchant system 113. Banking system 112 may have consumer data about one or more financial products (e.g., credit cards) owned by a consumer. Merchant 113 may have consumer data about one or more transactions. Each time a consumer uses a financial product at a merchant, such as during a purchase transaction, various data is transmitted and stored at banking system 112 and merchant system 113.
[0096] For example, a bank may have multiple transaction data 210a, 210b, 210c about a transaction, including: the date and time of the transaction, the name and location of the merchant where the transaction occurred, the merchant category code (MCC) associated with the merchant, the bank name and ID, the masked primary account number (PAN) of the financial product, the amount debited to the financial product during the transaction, and the transaction authorization code, which is a multi-character code sent by the bank at the end of the transaction.
[0097] For another example, a merchant may have multiple transaction data 230a, 230b, 230c about a transaction, such as the date and time of the transaction, the name and location of the merchant where the transaction occurred, the stock keeping units (SKUs) of the products or services sold during the transaction, and the quantity or amount of each SKU sold.
[0098] In some cases, the merchant 113 may not have a physical retail store. For example, the merchant may be a web-based retailer and conduct online transactions.
[0099] The clean room 300 can receive various consumer data, such as transaction data 210a, 210b, 210c, 230a, 230b, 230c, from the banking system 112, the merchant system 113, and other types of partner systems 115 (e.g., financial institutions that are not banks), and can generate recommendations and quotes, such as personalized quotes, based on the consumer data. The recommendations and quotes can be sent directly to partners and / or consumers for redemption at a point of sale (POS) or online. In some embodiments, recommendations and quotes can be generated only when consumers actively agree and opt-in. If a partner chooses to participate and use the technology provided by the platform 100, then generally speaking, it can be assumed that the partner has obtained appropriate consumer consent to use their data to generate suitable recommendations and quotes through the platform 100.
[0100] In some embodiments, a partner may need to request consent from one or more consumers to store their data via one or more communication channels between the partner and the consumer. For example, items and services on a partner mobile or web-based application may indicate that when a consumer uses the mobile or web-based application, consent is indicated. In a merchant store, consent may be requested and indicated via a prompt on a payment or POS terminal.
[0101] Reference now Figure 3 , which shows another schematic diagram of a clean room 300 on a platform 100 according to some embodiments. The clean room 300 is a secure environment housed in the internal memory 109 of the processor 101. It may include a secure enclave 133 developed based on secure processing hardware provided by chip manufacturers to securely store, decrypt, and process data.
[0102] Cleanroom 300 can receive, store, encrypt and decrypt consumer data. Platform 100 can allow partner systems 115 to share and transmit encrypted data into cleanroom 300 without involving unauthorized access by people, systems or programs. Cleanroom 300 can allow users to control and consent to data provided by partner systems and understand how the data will be used to produce specific results. Cleanroom 300 also allows partner systems to transmit encrypted data into the cleanroom without involving unauthorized access to data by people, systems or programs.
[0103] Security and encryption unit 125 may be configured to authenticate and certify clean room 300 for receiving and processing consumer data, verify that each partner sending consumer data is authenticated, and encrypt, decrypt, sanitize, normalize, and store consumer data as appropriate.
[0104] The recommendation engine 120 may be configured to generate recommendations and offers based on consumer data received from the partner system 115. Recommendations and offers may be general or targeted. Recommendations and offers may be targeted to a group of consumers, or may be personalized to a particular consumer. In some embodiments, the recommendation (analysis) engine may model partner data for the purpose of personalized services and related merchant offers. The engine 120 may leverage one or more data models to provide consumers with batch or triggered (e.g., location-based) personalized offers.
[0105] In some embodiments, machine learning algorithms and SQL queries can be implemented in an enclave environment by engine 120. For example, using Anjuna Security TM and H20 TM .
[0106] The audience builder unit 121 may be configured to generate a consumer list for each generated recommendation or offer. The consumer list may include one or more consumers. The audience builder unit 121 may define a targeted audience based on attributes, such as age, location, marital status, merchant, etc. The attributes may be related to available variables in the data set stored in the data storage 108.
[0107] The client identification and consent unit 122 may be configured to verify and confirm the client identification and consent. The client system may be required to express explicit consent before transmitting the consumer data to the platform 100. The client system may be a system configured to send queries to the platform 100 and receive responses from the platform regarding the encrypted data. For example, the client system may refer to a partner portal 116 that is qualified (i.e., has appropriate permissions) to search for processed data from the platform 100.
[0108] POS / e-commerce exchange unit 123 can be configured to present the generated recommendations and offers to potential consumers at a point of sale (POS) or at an online e-commerce website. The offers can be configured to be exchanged immediately when the consumer accepts the offers at the POS or e-commerce website.
[0109] The reconciliation and settlement unit 124 may be configured to handle clearing, settlement, and reconciliation procedures for one or more transactions.
[0110] In some embodiments, a communication link (e.g., Figure 3 The link A) in may be established between the partner and the platform 100 before any data is transmitted. The communication link may be end-to-end encrypted so that any data sent or received using the link is secure and cannot be intercepted by a third party.
[0111] In some embodiments, partners need to be authenticated before a communication link can be established and secured. The communication link may be secured using a key. For example, all data to be transmitted using the communication link may be encrypted using an encryption algorithm or procedure, such as a cryptographic hash function, which may be referred to as a key or access key.
[0112] This cryptographic hash function may be referred to as a one-way hash function, i.e., it is mathematically almost impossible to reverse. The input data to the encryption program may be referred to as "plain text", "input", or "message", and the output of the encryption program may be referred to as "output", "hash digest", "digest", or "hash value". Encryption may use a suitable hash function. In some embodiments, the cryptographic hash function may be one of the following: MD5, SHA1, and SHA2.
[0113] In some embodiments, a public key-private key pair may be used to encrypt a communication link. That is, once the partner's identity has been verified and authenticated, the security and encryption unit 125 may establish a communication link with the partner and use the communication link to send the access key (public key) to the partner.
[0114] The partner may use the access key to encrypt all data transmitted over the communication link. When the clean room 300 receives the encrypted data via the communication link, the corresponding private key may be used to decrypt the data so that it may be cleaned, normalized, and processed accordingly.
[0115] The security and encryption unit 125 may cancel or update the access key for a partner after a preset duration. The security and encryption unit 125 may also cancel or update the access key by one or more partners or by jurisdiction. In some embodiments, the security and encryption unit 125 may also cancel or update the access key whenever a communication link is terminated or needs to be established.
[0116] In some embodiments, in addition to or as an alternative to end-to-end encryption of the communication link, link encryption may be applied to the communication link using, for example, a cryptographic protocol such as Transport Layer Security (TLS) or Secure Sockets Layer (SSL).
[0117] In some embodiments, before the partner system 115 transmits any data to the clean room 300, the partner may request verification that the platform 100 is authentic and has not been tampered with. This may be accomplished through a remote attestation program. The remote attestation program may allow the platform 100 to authenticate itself and demonstrate that the hardware and software used to run the platform 100 and the clean room 300 are reliable, authentic, and have not been tampered with.
[0118] A data transfer protocol may be applied between the partner system 115 and the platform 100. For example, the information exchange protocol may be an application layer channel encryption similar to TLS / SSL. At the beginning of the session, both parties authenticate each other. A key exchange may be used on this procedure and thus establish two shared keys, each for the data flow from one party to the other.
[0119] A key exchange mechanism can be used for data encryption. For example, a Diffie-Hellman key exchange on the SECP256R1 (PRIME256v1) elliptic curve can be implemented. The result of this key exchange is 256 bits of shared randomness. This direct shared secret or its SHA256 hash can be split into two 128-bit AES keys for the two streams.
[0120] Data can be encrypted using Advanced Encryption Standard - Galois / Counter Mode (AES-GCM), an authenticated encryption mechanism that applies the AES block cipher in Galois counter mode. The use of authenticated encryption ensures the confidentiality and authenticity of data communicated between parties. The random number (also called the initialization vector) used for GCM is 12 bytes long, starts with all zeros and increments in little-endian order after each message. 96 After a possible random number, the corresponding encryption key "expires" and is replaced by the newly negotiated encryption key. In some embodiments, encryption can be performed after emptying 2 96 After possible random numbers.
[0121] Authentication methods and malicious input
[0122] A remote attestation mechanism can be used to authenticate and establish a secure communication channel where a remote client (e.g., partner system 115) can ensure that it is communicating with a specific piece of code running in enclave mode on a trusted, non-compromised processor of platform 100. Remote attestation can also be used by an enclave to send public keys to clients in a non-malleable manner. This mechanism relies on highly non-trivial group signatures and is based on highly peer-reviewed research.
[0123] In some embodiments, the client or partner system may include Python language instruction code containing modules for establishing a secure encrypted channel with the platform 100 and converting input data into a typical form to be consumed by the clean room 300 .
[0124] Remote attestation can form the basis for client trust in analytical services. It can be integrated with key exchange in three ways:
[0125] 1. Each client performs a remote authentication once or at least once. In this case, the enclave will not have a long-term public key and the Diffie Hellman message is placed directly on the payload of the remote authentication.
[0126] 2. The enclave provides a remote attestation script. Remote attestation is essentially an interactive protocol designed to convince only the verifiers that interact with it. However, if all verifier challenges are deterministically generated using a strong hash function, then the protocol becomes a non-interactive protocol whereby a single execution can convince any number of verifiers. This transformation is known as the Fiat-Shamir heuristic. The thus transformed protocol can be performed by the untrusted enclave host itself. The enclave authenticates by presenting this protocol script similar to a public key certificate and signing the challenge and its new Diffie-Hellman message with the public key embedded in the remote attestation script.
[0127] 3. Certificates: The client can delegate remote attestation verification to a third party and use the certificate issued by it. This is not a very promising option.
[0128] Client or partner systems can authenticate the platform 100. Authentication can help control data flow restrictions, but by no means eliminates the possibility of injecting junk data into the system or triggering sensitive attacks. These attacks require a brief explanation: junk can be injected to stop the system, or intentionally generate false analysis results, which can benefit the attacker; and sensitive attacks are more subtle.
[0129] An attacker can observe how the end result of the analysis changes relative to changes in the inputs they provide, and infer more information about the data provided by other parties than the designer intended by observing the outputs provided to them. In some embodiments, to counter possible attacks, the quote presentation needs to be carefully crafted and the information presented to the client organization may be limited.
[0130] In some embodiments, libraries such as OpenSSL may be implemented with the following considerations in mind: Best Enclave - Design practices require simplicity and minimalism. Therefore, functionality that can be safely delegated to untrusted components should be so delegated. In the context of SSL, transforming native representations of algebraic objects (such as public keys and ciphertext) to standard representations and policy checking are such tasks.
[0131] As discussed previously, the service authenticates the client in a manner different from a two-way SSL connection. That is, the implemented SSL specification can allow modular switching to a user-defined authentication protocol.
[0132] Figure 4 A schematic diagram is shown illustrating the remote attestation process between the partner system 115 and the trust manager 127 of the security and encryption unit 125. At step 410, the certificate manager utility 128 may issue a public key certificate 129 for each partner. The certificate 129 may be used to prove to the trust manager 127 that the incoming data is authentic.
[0133] At step 420, upon a request from the partner system 115, the trust manager 127 may initiate a remote attestation procedure through the partner system 115 to verify the authenticity of the platform 100. The request from the partner system 115 may include a random number N (a non-predictable random value) that has been generated for the purpose of remote attestation. The trust manager 127 receives the request including the random number N, and then sends the random number and the request to the trusted platform module (TPM) 135 on the platform 100 for key attestation.
[0134] TPM 135 is designed to provide hardware-based security-related functions. TPM 135 may include multiple physical security mechanisms to make it tamper-proof, and others cannot tamper with the functions of TPM 135.
[0135] TPM key authentication uses an endorsement key (EK) that is unique to each TPM 135 and generated at the time of manufacturing. Trust in the EK is based on the secure and tamper-proof storage of the EK in the TPM 135 and the fact that the EK's certificate is associated with the TPM manufacturer's certificate authority (CA). That is, the EK's certificate can be cryptographically verified by the TPM manufacturer's issuing CA. One or more authentication identification keys (AIKs) can be generated by the TPM 135 and signed by the EK. The AIK can be verified by a trusted certificate authority.
[0136] In some embodiments, the request from the trust manager 127 to the TPM 135 includes one or more current platform configuration register (PCR) values of the platform 100. The request may optionally include the TPM version number or any other information required for the TPM 135 to sign the PCR values. The PCR values are primarily used to store system measurements and cannot be arbitrarily overwritten. The PCR values may be hash values, which are computationally impossible to forge. Some PCR values may be reset to default values, which will require appropriate permissions.
[0137] The TPM 135 receives the request from the trust manager 127 and proceeds to sign the PCR value with an attestation identification key (AIK), then sends a signed response containing the random number, PCR value, and AIK back to the trust manager 127. The trust manager 127 then sends the signed response to the partner system 115, which may have a partner portal 116 installed thereon for analyzing and verifying the signed response.
[0138] The partner system 115 receives the signed response and verifies that the signed data is reliable and authentic by verifying that the PCR value and the AIK signature are accurate. For example, the partner system 115 can verify that the AIK is valid via a trusted certificate authority. For another example, the partner system 115 can verify that the PCR value is authentic by comparing the value to a value stored in a database that maps PCR values to trust levels. The partner system 115 can further verify that the PCR value is current by checking that the random number in the signed response corresponds to the random number sent by the partner in its initial request for authentication.
[0139] In some embodiments, instead of a PCR value, another hash value may be used, such as a hash value of software code of platform 100 , where the hash code represents the current state of platform 100 .
[0140] Once the partner system 115 is satisfied that the cleanroom 300 running on the platform 100 is authentic and trustworthy based on the signed response, an SSL / TLS handshake may occur at step 430 to establish a secure communication channel.
[0141] At step 440, the encrypted data may be transmitted from the partner system 115 to the platform 100 using a secure communication channel. In some embodiments, a public key-private key pair may be used to encrypt the data. As described herein, the security and encryption unit 125 may send an access key (public key) to the partner system 115 using a communication channel. The partner may use the access key to encrypt all data transmitted on the communication channel. When the clean room 300 receives the encrypted data via the communication channel, the corresponding private key may be used to decrypt the data so that it may be cleaned, normalized, and processed accordingly. The partner portal 116 (see Figure 5 ) may store one or more public keys assigned to a partner system 115 in a partner keystore. Cleanroom 300 may store a private key corresponding to each public key in keystore 130. Keystore 130 may store a plurality of private keys, each corresponding to a public key assigned to a partner. Partner system 115 may assign one or more public keys for use in encrypting data.
[0142] In some embodiments, because arbitrary length strings can make encrypted data recognizable, data sets can be pre-processed before transmission. For example, one or more data strings can be padded to a specific length, such as the maximum length allowed by the system. In other embodiments, data strings can be broken into predefined structures, and each atomic component can be hashed or encrypted before transmission.
[0143] Fig.14 Another schematic diagram of an example clean room 300 for processing secure transaction data is shown in accordance with some embodiments. The clean room 300 may include a data manager 134 configured to send a public key of one or more enclaves to a partner portal 116 for encrypting data at the partner portal. The enclaves 133a, 133b, 133n may be referred to as destination enclaves because each enclave may be selected by the data manager 134 as a destination for encrypted data from the partner portal 116. A file system, such as a Hadoop file system (HDFS), may be included in the clean room to manage the encrypted data stored by the enclaves 133a, 133b, 133n.
[0144] In some embodiments, the partner portal 116 may initiate a communication channel 215 with the data manager 134 via TLS or VPN for sending data to the clean room 300. The partner portal 116 may first transmit a request to the data manager 134 indicating that data is to be transmitted to the clean room. In some embodiments, the request may include information indicating the amount of data to be transmitted. Based on the data request, the data manager 134 may select one or more destination enclaves 133a, 133b, 133n for receiving incoming data from the partner portal 116.
[0145] In some embodiments, data manager 134 may select destination enclaves based on the amount of data to be acquired by each enclave, such that each selected destination enclave is designated to receive a specific amount of data from partner portal 116 via this communication session. Additionally, data manager 134 may select a public key for each of the destination enclaves and send one or more public keys to partner portal 116, each corresponding to the selected destination enclave, so the partner portal may encrypt the original data using the appropriate public key before transmitting the encrypted data via communication channel 215. For example, data manager 134 may send information indicating an upper limit on the amount of data to be received by each destination enclave and the corresponding public key (e.g., "MaxSize, PublicKeyID"), so partner portal 116 may encrypt the appropriate amount of incoming data for each destination enclave in a manner consistent with the requirements of the destination enclave.
[0146] Once the partner portal 116 receives information representing the amount of data, one or more destination enclaves, and one or more public keys from the data manager 134, the partner portal 116 may proceed to encrypt the original data. For example, the partner portal 116 may randomly generate a 256-bit data encryption key (DEK) for each destination enclave and encrypt some of the original data with the corresponding DEK using AES-256CBC or GCM. The partner portal 116 may generate the DEK based on the number of destination enclaves and the corresponding number of public keys. A different DEK may be generated for each destination enclave and therefore for each public key associated with the destination enclave. The partner portal 116 may then encrypt each of the DEKs using the appropriate public key based on the corresponding destination enclave for which the DEK was generated. Next, the partner portal 116 may send the encrypted data and the encrypted key (e.g., the encrypted DEK) to the data manager 134 via the communication channel 215.
[0147] In some embodiments, the communication channel 215 may be a VPN communication channel, in which case both the partner portal 116 and the clean room 300 have been verified as authentic.
[0148] In some embodiments, the communication channel 215 may be established and maintained under TLS, similar to the TLS channel between the partner system 115 and the trust manager 127 of the security and encryption unit 125, as described above with respect to Figure 4 described.
[0149] The client system 119 may submit a query 118 to the resource manager 1100 on the clean room 300. The query may be a data query sent via the communication session 216. In some embodiments, the client system 119 must be an authorized party to the clean room 300 in order to send a data query; to this end, the resource manager 1100 may be configured to interact with the client system to ensure that the client system is an authorized party and has appropriate permissions for the query. The resource manager 1100 may transmit a reply back to the client system in response to the query, once it has been verified that the client system has appropriate permissions for the query.
[0150] To send a data query, the client system may initiate an authenticated TLS communication session 216 with the resource manager 1100. The communication session 216 may be established and maintained in a manner similar to the TLS channel between the partner system 115 and the trust manager 127 of the security and encryption unit 125, as described above with respect to Figure 4 described.
[0151] Via the TLS communication protocol, the resource manager 1100 can verify that the client system is an authorized party to the clean room 300. Once the client system has been verified as an authorized party, the resource manager 1100 can transmit and display one or more data analyses that the client system can access at the client system. The client system can select one or more options from the displayed data analysis options. Some of the data analyses may require additional information that the client system can be configured to supply. The client system can then send a complete data query to the resource manager 1100.
[0152] The resource manager 1100 may receive data queries from the client system and proceed to send the queries to the application manager 1124 to initiate data analysis based on the data queries from the client system. The application manager 1124 may be an application configured to generate one or more enclaves 133a, 133b, 133n in order to analyze encrypted data using the enclaves. In some embodiments, one or more worker nodes may be used to perform the desired data analysis.
[0153] In some embodiments, one or more data analysis operations may be open for inspection and / or signed by all authorized parties participating in clean room 300 to assure authorized parties that the clean room is safe and intact.
[0154] In some embodiments, enclaves 133a, 133b, 133n may perform authenticated and encrypted communications between data / files stored thereon. For example, between one or more pairs of enclaves 133a, 133b, 133n, a TLS communication channel may be established to ensure secure communication and exchange of data between the enclaves.
[0155] Fig.15 A schematic diagram illustrating a distributed system including a clean room 300 for processing secure transaction data according to some embodiments. The clean room 300 may include a data manager 134 configured to send a public key of one or more enclaves to a partner portal 116 for encrypting data at the partner portal. The enclaves 133a, 133b, 133n may be referred to as destination enclaves because each enclave may be selected by the data manager 134 as a destination for encrypted data from the partner portal 116. A file system, such as a Hadoop file system (HDFS), may be included in the clean room to manage the encrypted data stored by the enclaves 133a, 133b, 133n.
[0156] In some embodiments, a distributed model may be implemented using cleanroom 300, where one or more partner portals 116 may maintain their respective data, perform some or all of the data analysis using a data engine behind a firewall connected to the partner portal 116, and send only necessary analysis results, such as metadata, to cleanroom 300 for further processing.
[0157] Similar to Fig.14 1 , a query request 118 from a client system 119 may be sent to the resource manager 1100. The query request 118 may include a query for data analysis.
[0158] To send the data query 118, the client system 119 may initiate an authenticated TLS communication session 216 with the resource manager 1100. The communication session 216 may be established and maintained in a manner similar to the TLS channel between the partner system 115 and the trust manager 127 of the security and encryption unit 125, as described above with respect to Figure 4As described above. Via the TLS communication protocol, the resource manager 1100 can verify that the client system 119 is an authorized party to the clean room 300. Once the client system 119 has been verified as an authorized party, the resource manager 1100 can transmit and display at the client system one or more data analyses that the client system can access. The client system can select one or more options from the displayed data analysis options. Some of the data analyses may require additional information that the client system 119 can be configured to supply. The client system 119 can then send a complete data query to the resource manager 1100.
[0159] The query request 118 may then be sent to the application manager 1124, which may then initiate data analysis based on the data query 118. The application manager 1124 may determine the data analysis required based on the data query 118. The application manager may also determine the type and source of data required to perform the data analysis required to respond to the data query 118. In some embodiments, the application manager 1124 may retrieve or receive a table that maps each partner to its corresponding data. The application manager may further generate detailed instructions for each partner, including the type of data analysis required and the type of data required from each partner. The instructions may be sent to the data manager 134 via a secure channel (e.g., TLS), which may then send the instructions to one or more partner portals 116 via a TLS or VPN connection 215.
[0160] Upon receiving the instructions, each partner portal 116 may retrieve the necessary and appropriate data from a database (not illustrated) which may be part of or connected to the partner portal 116. The partner portal may then perform appropriate data analysis on a data engine, such as a partner analysis engine 117, based on the instructions from the data manager. The partner analysis engine 117 may be part of or connected to the partner portal 116. In some embodiments, the partner analysis engine 117 may be a data engine provided and configured by the clean room 300 but installed at the same physical location as the partner portal 116. The partner analysis engine 117 may be installed behind the firewall of the partner portal 116, so that in order for the data manager to send instructions to the engine 117, a TLS or VPN connection 215 needs to be established, and in some embodiments, encryption needs to be performed for transmitting data.
[0161] The partner analysis engine 117 may perform the appropriate data analysis required by the data manager, generating data output or data results, which may then be encrypted and transmitted to the data manager 134. Upon instruction from the application manager, the data manager may then send the encrypted data results to one or more enclaves 133a, 133b, 133n.
[0162] In some embodiments, the partner analytics engine 117 may first send the data results to the partner portal 116 , which may then send the data results to the clean room 300 via the data manager 134 .
[0163] In some embodiments, data manager 134 may select destination enclaves based on the amount of data to be acquired by each enclave, such that each selected destination enclave is designated to receive a specific amount of data from partner portal 116 or partner analytics engine 117 via this communication session. Additionally, data manager 134 may select a public key for each of the destination enclaves and send one or more public keys to partner portal 116, each corresponding to the selected destination enclave, so the partner portal may encrypt the raw data result using the appropriate public key before transmitting the encrypted data via communication channel 215. For example, data manager 134 may send information indicating an upper limit on the amount of data to be received by each destination enclave and the corresponding public key (e.g., "MaxSize, PublicKeyID"), so partner portal 116 or partner analytics engine 117 may encrypt the appropriate amount of incoming data for each destination enclave in a manner consistent with the requirements of the destination enclave. Once the partner portal 116 or partner analytics engine 117 receives information representing the amount of data, one or more destination enclaves, and one or more public keys from the data manager 134, the partner portal 116 or partner analytics engine 117 may proceed to encrypt the raw data results and send the encrypted data results to the data manager 134 via connection 215.
[0164] In some embodiments, the communication channel 215 may be a VPN communication channel, in which case the partner portal 116, the partner analytics engine 117, and the clean room 300 have all been verified as authentic.
[0165] In some embodiments, the communication channel 215 may be established and maintained under TLS, similar to the TLS channel between the partner system 115 and the trust manager 127 of the security and encryption unit 125, as described above with respect to Figure 4 described.
[0166] In some embodiments, the data results sent back to the data manager 134 may include metadata or other types of data. In some embodiments, further data analysis may be required to complete the data query based on the data results sent from one or more partner portals 116 and / or partner analysis engines 117. The application manager 1124 may instruct the appropriate number of security enclaves 133a, 133b, 133n to complete the analysis based on the data results sent from the partners. In some embodiments, the application manager 1124 may be an application configured to generate one or more enclaves 133a, 133b, 133n in order to use the enclaves to analyze the encrypted data. In some embodiments, one or more worker nodes may be used to perform the required data analysis.
[0167] Final data results may be generated by the cleanroom 300 and transmitted back to the client system 119 , which sent the original data query 118 via the resource manager 1100 using the secure communication channel 216 , which may be an encrypted channel.
[0168] In some embodiments, instead of transmitting the final data results back to the client system, cleanroom 300 may instead perform actions based on the final data results on behalf of the client system.
[0169] In some embodiments, one or more data analysis operations may be open for inspection and / or signed by all authorized parties participating in clean room 300 to assure authorized parties that the clean room is safe and intact.
[0170] In some embodiments, enclaves 133a, 133b, 133n may perform authenticated and encrypted communications between data / files stored thereon. For example, between one or more pairs of enclaves 133a, 133b, 133n, a TLS communication channel may be established to ensure secure communication and exchange of data between the enclaves.
[0171] In an extremely simple example, each partner portal 116 may each have a data set containing sets of numbers, and the client sends a data query requesting the smallest number among all partners. The application manager may instruct each partner to perform its own analysis of its own data using the partner analysis engine 117, which generates a corresponding smallest number for each partner based on the data set belonging to the corresponding partner. This result may then be encrypted and sent to the application manager in the clean room, which then performs the final data analysis, compares the corresponding data results from all partners, and generates a final result containing the smallest number among all the corresponding smallest numbers sent by each partner. In this case, the clean room does not access all of the partner data, but only accesses metadata or data output based on the data set each partner has.
[0172] In another example, the client system 119 may send a data query 118 to find the top one hundred consumers who have spent the most money on a commodity, such as chocolate, in the past three months. The resource manager 1100 may receive this query, forward it to the application manager 1124, and generate appropriate instructions for data analysis for each partner, which then determines a specific partner portal to use to perform the data query. The application manager may select one or more partners that are known to have a large number of consumers who may spend money on chocolate based on internal or external knowledge databases. For example, the application manager may select a supplier that is a chocolate expert or has sold a large amount of chocolate based on existing sales information.
[0173] The instructions for data analysis (which may include the type of data required and the type of data analysis required and a list of selected partners) may be sent to the data manager 134 via the TLS connection 215, and the data manager 134 may send each respective instruction to each selected partner via a TLS or VPN connection with a set of public / private keys for data encryption. In some embodiments, the instructions may be encrypted before being transmitted to each partner or each partner analysis engine.
[0174] Each partner analysis engine 117 may receive the instructions from the data manager 134 and proceed to perform the requested data analysis according to the received instructions. The partner analysis engine may retrieve appropriate data from each partner portal as needed in order to perform the data analysis specified in the instructions.
[0175] The data results from each partner analysis engine 117 may then be sent to the corresponding partner portal 116 for encryption and transmission to the clean room 300, which may perform additional data analysis to generate a final result representing the top one hundred consumers who have spent the most amount of money on chocolate in the past three months. For example, the data results from the corresponding partner portal 116 may include the top fifty consumers who have spent the most amount of money on chocolate in the past three months and the corresponding amount spent by each consumer.
[0176] The data results from another corresponding partner portal 116 may include the top X consumers (e.g., thirty or one hundred) who have spent the most money on chocolate in the past three months, and the corresponding amount each consumer spent. The cleanroom 300 may then determine the top one hundred consumers who have spent the most money on chocolate in the past three months among all the partners sent in the data results.
[0177] In some embodiments, cleanroom 300 may send this data result back to client system 119 via connection 216. In other embodiments, cleanroom 300 may block this data result from client system 119 and instead send chocolate coupons to this list of consumers who may be interested in purchasing more chocolate using the coupon or promotional offer.
[0178] Reference now Figure 5 , which shows an example security and encryption unit 125 and data storage 108 of the clean room 300. In some embodiments, each partner system 115 allows a minimum data set to be stored in the data storage 108 of the clean room 300. At the same time, no partner can access or view the aggregated data, although the partner can request one or more actions available via the partner portal 116. For example, the partner system 115 can request the platform 100 to target a specific user group for a new offer. For another example, the partner can request the platform 100 to analyze how consumption trends are for a specific demographic user group.
[0179] In some embodiments, the partner system 115 may include a partner portal 116. The partner portal 116 may be configured to encrypt consumer data using a public key and transmit the encrypted data to the platform 100. The partner portal 116 may allow partners, such as banks and merchants, to generate and / or store keys and certificates and talk to the cleanroom API. The partner system 115 may provide the required JSON data fields when providing consumer data to the cleanroom 300.
[0180] Once the encrypted data arrives at the platform 100 from the partner portal 116, it passes through the data pipeline API and is then processed for storage in the data store 108. The encryption and analysis unit 131 may have multiple worker applications or nodes in one or more secure enclaves 133, each in a corresponding and separate secure enclave 133, for processing incoming consumer data. In some embodiments, each worker application or node may process consumer data specific to one partner. That is, each partner may have a dedicated worker node 132a, 132b in one or more secure enclaves 133 in the clean room 300 that processes consumer data from that particular partner.
[0181] A single worker application or node 132a, 132b in the secure enclave 133 may decrypt and analyze data stored in the secure data warehouse. Each worker node 132a, 132b may include a partner configuration unit, a data model unit, a data encryption / decryption unit, and a data analysis unit. The partner configuration unit may include information specific to a partner, for example, the partner configuration unit may provide a data architecture template that maps incoming data from a partner to corresponding data attributes, data types, data fields, and / or data sizes.
[0182] The data encryption unit may be configured to encrypt one or more data sets into encrypted content based on an encryption technique or algorithm. In some embodiments, the encryption unit determines, retrieves or generates a suitable key to encrypt one or more data sets to generate an encrypted data element. Each key used for encryption may be stored in the key library 130.
[0183] The data decryption unit may be configured to decrypt one or more encrypted data sets into plain text based on an encryption technique or algorithm and a key. In some embodiments, the data decryption unit determines, retrieves or generates a suitable key to decrypt one or more encrypted data sets to produce plain text.
[0184] The data analysis unit may be configured to perform analysis on the decrypted data.
[0185] In some embodiments, a minimum set of required data fields or attributes need to be provided by each partner. For example, a minimum data set may include the time and date of the transaction, merchant name, bank name and ID, MCC, authentication code, consumer name (if known), and masked PAN. Any additional data sent by a partner may be stored for future use.
[0186] The partner system 115 may transmit consumer data in batches, for example, a large amount of data may be pushed to the platform 100 in one or more batches via a secure communication channel when a partner first registers with the clean room 300. Often, the initial batch of data from a partner may contain data spanning multiple days, months, or years, which may be analyzed to gain valuable insights into consumer behavior. Data batching may also be performed when deemed appropriate by the platform 100 or during set intervals (e.g., monthly).
[0187] Partners may also transmit consumer data in real time or near real time as transactions occur (eg, when a consumer makes a purchase in a store).
[0188] The data model unit is configured to perform data modeling and data normalization steps after the data has been decrypted. The data model unit can schedule data normalization jobs at regular intervals, such as every X hours or X days, to import new decrypted data into the model. The data model unit can also schedule model training jobs whenever the data normalization job modifies the normalized data in order to streamline the data model.
[0189] In some embodiments, data storage 108 may be expandable as needed.
[0190] Figure 6 1 is another schematic diagram showing various components of the cleanroom 300. In some embodiments, the cleanroom 300 may include a partner profile 140 and a user profile 145. A user may refer to a consumer. The partner profile 140 may include a partner registration form containing registration details of a partner. The user profile 145 may include a user registration form containing registration details of a user. Each partner may have a partner profile 140 and each user may have a user profile 145. Each partner and user may have its own corresponding data model as determined by the data model unit in the data warehouse.
[0191] Figure 7 A schematic diagram of a data modeling unit and data storage unit 108 for data cluster deployment and management is shown. As can be seen, the data model trainer, data model, and encryption / decryption keys can be stored in a secure enclave for additional security. The received consumer data can be decrypted and stored as raw data, which can then be normalized and stored as normalized data. The normalized data can be sent to the model trainer within the secure enclave 133 and further processed by the model trainer. Because different partners may have different data sets, the data sets need to be normalized before being aggregated and analyzed.
[0192] In some embodiments, the system may map transaction and SKU data to (i) a specific consumer; and / or (ii) a specified segment (e.g., zip code, merchant, current location). For example, consumer data may be mapped between the bank system 112 and the merchant system 113 based on one or more data fields. For example, an authorization code and / or MCC may be used to correlate transaction data for a transaction from a bank with transaction data for the same transaction from a merchant, since the MCC and authorization code are shared between the bank and the merchant for the same transaction. A security concern with the authorization code may be that observing the data stream of a shuffle operation may leak information about the authorization code. In some embodiments, the nodes may be configured to randomize the binary allocation occasionally as determined by the clean room 300 to be appropriate or on a per-job basis.
[0193] In some embodiments, nodes may be configured to be shuffled such as Fig. 9The order in which the authorization code is passed is as described in Fig. 9 Shows the secret job key being distributed among the workers at the start of the job via a protected component within the driver node.
[0194] For another example, if the PAN of a financial product is available, the transaction can be mapped between the bank and the merchant using the card PAN. However, although the authorization code can be linked back to the PAN, due to PCI compliance, the PAN is unlikely to be captured.
[0195] Additionally, heuristics may be used based on location and time information to further confirm the linking of transaction data and minimize errors.
[0196] Return to reference Figure 7 The "Storage Key" can be used to encrypt and secure data stored on local storage. The Storage Key can be stored in permanent storage using the Enclave's Sealing Key. Loss of the encryption key can cause malfunctions. The "Job Randomization Key" is a random number issued by the driver node to obfuscate job subdivisions among worker nodes. The "Communication Key" is maintained by each other network node. Nodes are identified by their public keys and authenticated by the Trust Manager 127.
[0197] Figure 8 Overview of how data clustering works, regardless of the type of analysis applied (normalization, model training, and application of models). Platform 100 can generate insights from large input databases. This can be implemented on one or more machines. In some embodiments, the Hadoop framework can be implemented for managing and performing big data analysis on larger clusters of commodity computers. The task of cluster resource management is essentially independent of the data. Worker enclaves can be embedded in a cluster managed by a resource management application such as Hadoop YARN or another component of the Hadoop stack. In some cases, the amount and size of the data set can be large (e.g., more than 256MB), which may require multiple secure enclaves 133 for distributed storage and processing.
[0198] like Fig.11A As shown in , the resource management application manages resources and tracks jobs performed by worker nodes. The resource management application can provide users with options to control architectural features of the nodes used, access local file systems, and encrypt messages as needed. In some embodiments, the resource management application can use YARN TM Implementation. A resource management application may include or be associated with various components, such as a client, a master application, and worker applications (which may also be referred to as worker nodes or workers).
[0199] A client or client system or application may submit a request for data processing or data analysis. In some embodiments, the client system may be an external party, such as a partner system 115 or a component within the platform 100 or clean room 300. The client may also submit the entire input file to a database such as HDFS.
[0200] The application master (or "master application") negotiates resources, requests spawned worker containers, and tracks the progress of their jobs. The master application requests the resource manager (see e.g. Fig.11A ) to spawn a container of workers to perform the bulk of the analysis. It also sends the entire input file and directions as to which part of the file to process. After notifying all workers that it has completed, it combines the partial results of the analysis.
[0201] The worker application performs the data analysis. There can be multiple instances of the worker application. Each worker can be within a secure enclave, or contain a secure enclave, and the enclave can receive the input file and the interval it should process. The analysis is performed inside the secure enclave, and the results are written back to HDFS for aggregation by the main application.
[0202] Any representation of data outside the secure enclave may be encrypted. This includes any partitioning of shuffled input or intermediate data among worker nodes. Nodes also check each other's reliability before sharing critical data.
[0203] Return to reference Figure 8 In some embodiments, a cluster management subsystem may be implemented for the secure enclaves to distribute workloads to analyze various data sets. The cluster management subsystem may include a master application (or master node) and one or more worker applications (or worker nodes). The cluster application system may include a YARN resource manager application that manages and distributes jobs to multiple worker nodes in multiple enclaves, which can decrypt and process data. The worker application may also include a Spark or H2O executor. Unmodified distributed data may be stored in a database, such as the Hadoop Distributed File System (HDFS).
[0204] In some embodiments, each worker node may obtain the minimum of a partition of the data set and submit the local minimum to the master application upon completion. The master application then computes the global minimum as the minimum of all local minima. This procedure may indicate which components of the distributed application need to see the unencrypted data. Obviously, the components of the resource management subsystem itself do not need to do so. Of these components, for the resource management subsystem, the workers and the master application may see the data, which may be implemented within a secure enclave.
[0205] A secure enclave, such as an SGX enclave, is packaged as a runtime library (DLL in Windows and thus UNIX systems). It is intended to be hosted by another native application. This application in turn can be a shared library itself connected back to the main application via a JNI2 bridge or a subroutine spawned by a Java application.
[0206] A database management system can be implemented to simplify and make storage of larger files within the cluster more efficient. It handles replication (for fault recovery), load balancing, and other application-independent tasks.
[0207] A single worker application in secure enclave 133 ( Figure 8 The worker application can decrypt and analyze data stored in a secure data warehouse. In some embodiments, a resource management application (e.g., YARN) can be implemented to manage multiple CPUs. A cluster management application can manage multiple worker applications across multiple security enclaves. The cluster management application can also handle job scheduling, such as Fig.11A and Fig. 11B as shown in .
[0208] In some embodiments, between secure enclaves 133, there may be one or more authentication steps for additional security.
[0209] In some embodiments, worker applications within the secure enclave may be implemented using a suitable programming language, such as C++. In some embodiments, YARN and associated management functions may be implemented using a suitable programming language, such as Java. TM Implementation. In some embodiments, the analysis engine and analysis modules may be implemented in a suitable programming language, such as Python or Java.
[0210] Trusted worker applications residing in untrusted environments may need to share confidential data and share job randomization with each other, and if not properly managed, put customer data at risk. In addition, for customer convenience, the system should be designed with one entry point, meaning that the client must verify only one component of the distributed system and thereby gain trust in the entire solution, which can be achieved through remote attestation as described above.
[0211] Fig.11AAn example resource management structure is shown. The resource management subsystem or application can be configured and implemented using YARN, including a resource manager 1100 and one or more node managers 1121, 1131, 1151. Once a job request is received by the resource manager 1100, for example, from a client system 119 (e.g., a partner system 115 or a different component in the platform 100), the resource manager 1100 can send a resource request to the node manager 1121 within the container 1120, which can generate a master application 1123. Next, the master application 1123 can pass the container request back to the resource manager 1100 and generate worker nodes 132a, 132b within separate containers 1130, 1150 to perform the task.
[0212] Fig. 11B An example schematic diagram of a resource management data program according to some embodiments is shown. As a first step, the client system 119 can submit a job to the Yarn cluster, thereby creating a container for the main application 1123. Next, the main application 1123 generates several worker nodes or containers 132a, 132b, 132c, each of which has an enclave. The containers 132a, 132b, 132c then read the encoded data from the database (e.g., HDFS) and send the data to the enclave. Within the enclave, the data is decoded, processed, re-encoded, and then returned to the external container. The encoded results are written back to HDFS, where the client system 119 can retrieve the results. Each worker node can perform a specific task. Some or all of them can perform different or the same jobs. In some embodiments, the client is required to submit the entire input file at the beginning of each job. The data set can be longer than any particular job and can already be placed on the cluster.
[0213] In some embodiments, the worker nodes can learn which partitions of the input file they have stored locally and report to the master application. The master application can then make informed decisions about the allocation of partition processing to the workers.
[0214] In some embodiments, encrypted channels between containers may be implemented to facilitate complex operations. HDFS can be configured to mirror data in various ways to improve efficiency while allowing the system to recover from failures. In some cases, enclaves can temporarily save their respective progress and resume in the event of a need for interruption.
[0215] Passing transient messages via HDFS may be very inefficient.In some embodiments, nodes may establish network connections between each other.
[0216] The data set may be encrypted in memory. In some embodiments, all worker nodes may share a single encryption key. In other embodiments, each node may have its own encryption key. The former has the advantage of simplicity, as a full view of the file is possible. The latter provides better security guarantees, as an attacker successfully compromising one node exposes the node to the entire data set.
[0217] If partial results are aggregated in the main application, the results may be stored in a secure enclave. In some embodiments, all data analysis may be delegated to worker nodes and only job metadata may be exposed to the main application.
[0218] In some embodiments, the clean room 300 in the platform 100 can process large batches of data across many machines in a cluster. An example distributed processing database setup can be implemented using Hadoop. In addition, the Hadoop Distributed File System (HDFS) provides a simple way to distribute data among nodes. SPARK (Distributed Data Science Framework) can also be implemented with Hadoop. For example, a master application and one or more worker applications can each contain a machine learning / data analysis component, such as a Spark or H2O driver or executor. The driver application can launch an executor application for various programs, such as a key value store and a memory manager inside the executor.
[0219] Reference now Fig.16 , which shows an example Spark framework for implementing data analysis using YARN as a resource manager. Apache Spark TM It is an open source distributed general-purpose cluster computing framework that can include an analysis engine for large-scale data processing. In this example embodiment, the client system 119 can have a Spark client installed. The main application 1123 can have a driver application 1125 installed to coordinate resource applications. The driver application 1125 can be a program that runs the main() function of the application and creates a SparkContext object to coordinate resources to perform various data analysis tasks.
[0220] A YARN container, which may act as a worker application or worker daemon, may coordinate resource allocation on a machine. Each YARN container may include an executor 1127a, 1127b, which may execute Spark tasks or applications. In general, an executor may be an implementation of an application launched for a worker node or YARN container that performs tasks and saves data in memory or disk storage across tasks. Each application may have its own executor.
[0221] In some embodiments, the driver application 1125 may run on the main application 1123 on a separate thread.
[0222] In some embodiments, Spark applications can be run as standalone programs on a cluster, coordinated by a SparkContext object in the driver application 1125. For example, to run on a cluster, the SparkContext object can connect to several types of cluster managers including YARN, which can allocate resources across applications. Once connected, Spark acquires executors on nodes in the cluster, which are programs that perform computations and store data for the cleanroom 300.
[0223] Next, the Spark application can send the application code (defined by the JAR or Python file passed to the SparkContext object) to the executor. Finally, the SparkContext object can send the task to the executor 1127a, 1127b for execution.
[0224] In some embodiments, the Linux Kernel Library (LKL) and MUSL libraries can be used to implement driver and executor applications under the Spark framework. Program code written using LKL can run most applications related to MUSL, including most wrappers written for Alpine Linux (when it uses MUSL instead of libc) SGX LKL. Although only gcc cross-compilation scripts are provided, g++ applications can also be compiled by modifying the C scripts to add C++ from the Alpine g++ wrapper or compiling only for AlpineLinux.
[0225] However, there are some limitations to implementations using LKL. For example, most applications are only single-process applications, but multithreading is possible. There may be significant page fault overhead because memory-intensive applications are slow. Additionally, because the authentication process needs to establish a chain of trust, the authentication process may require a first authentication performed during the initial state of the LKL enclave, followed by verification of the hash of the virtual disk image using the enclave.
[0226] According to some embodiments, to overcome the above limitations, the cleanroom 300 may have a modified Spark framework. The Spark and Hadoop combination may require some modifications, such as:
[0227] ●Remove DataTimeUtils.scala
[0228] ●Remove or avoid using fork() (used several times to check OS features or find out which group the user is in)
[0229] ● Provide a custom groups backend to avoid using the default: ShellBasedUnixGroupsMapping.java
[0230] These example modifications get the Spark framework working in local (single-node) standalone mode.
[0231] In some embodiments, when cleanroom 300 receives a certain amount of encrypted data, it may distribute the data to master application 1127 for data analysis. Driver application 1125 may receive the encrypted data and transmit the data to one or more executors 1127a, 1127b to perform one or more data analysis tasks.
[0232] Within each executor, separate execution processes can be performed between sensitive data (which needs to be processed in a trusted secure environment) and non-sensitive data (which can be calculated in an untrusted environment). Fig.17 , which shows the example executor structure under the Spark framework. The executor 1127 may have three components, including: an untrusted environment, such as an untrusted Java virtual machine (JVM) 1128; a trusted environment, such as a trusted JVM 1129; and a shared memory 2003.
[0233] The untrusted JVM 1128 may be configured to perform data analysis on insensitive data, such as metadata, that does not contain any customer or financial data. The untrusted JVM 1128 may have a block manager, which may be a key value store (block store) for data blocks. The block manager may act as a local cache in each executor and provide interfaces for uploading and retrieving blocks locally and remotely using various storages, i.e., memory, disk, and off-heap storage. The untrusted JVM 128 may include SparkEnv 2004, which may be a Spark runtime environment with Spark public services that interact with each other to establish a distributed computing platform for Spark applications. The dummy task runner 2006 within the untrusted JVM may be an execution thread of a single task, which may be created when an executor is requested to perform a task. The dummy task runner 2006 may only perform tasks on insensitive data that does not need to be processed within the trusted environment.
[0234] The trusted JVM 1129 may include a separate task runner 2007 configured to perform tasks on sensitive data, which may be decrypted prior to data processing.
[0235] Shared memory 2003 may include a ring buffer message queue and a shared object area / place. The LKL library provides plain text shared memory files. In some embodiments, the method for communicating within the shared memory uses a ring buffer message queue. Implementing a ring buffer may require access to a locking structure. It is difficult to implement pthread shared mutexes because these mutexes are supported by kernel objects and the host and LKL containers may have separate kernels. Alternatively, atomic operations (spin locks) may be implemented as these operations supported by hardware operations.
[0236] According to some embodiments described herein, the following is example code for a shared memory ring buffer:
[0237]
[0238] In some embodiments, memory mapped files and atomic operations are more efficiently implemented in C++ (rather than Java or Scala). For example, a JNI bridge and wrapper class can be implemented to call native code from Java. In other embodiments, JNA can be used but it calls fork(). The following is an example block of program code for a ring buffer implementation:
[0239]
[0240] Fig.18 An example executor structure 1127 is shown operating in conjunction with a driver application 1125 under a Spark framework according to some embodiments. The driver 1125 may include a Spark runtime environment SparkEnv 2001 and a data storage area 2002 for decrypted data, which may include non-sensitive information such as metadata (e.g., file directory information).
[0241] The following is an example test driver application 1125, according to some embodiments described herein:
[0242]
[0243] Executor 1127 includes an untrusted JVM 1128, shared memory communication 2003, and a trusted JVM 1129. Untrusted JVM 1128 includes SparkEnv 2004, a data storage area for encrypted data 2005, and a dummy task runner 2006. Encrypted data may be sent from driver 1125 in encrypted form and sent in encrypted form to trusted JVM 1129 via shared memory communication 2003. Once the encrypted data reaches trusted JVM 1129, it may be decrypted and stored in data storage for decrypted data 2008, and may then be processed by separation task runner 2007 within trusted JVM 1129.
[0244] Fig.19 19 is an example block diagram of a machine learning architecture 1900 and data flow according to some embodiments. A virtual clean room platform is shown, which is targeted at institutions for security processing. Data is received from various sources including merchants, banks, etc.
[0245] like Fig.19 As provided in , a machine learning API is provided that allows merchants / data owners to initiate the training process by selecting the model type (e.g., recommender, clustering technology) and dataset id.
[0246] Merchant partner computing devices will have black-box access to the model and can perform model training in batch mode training phases. In a variation, other training phases may include near real-time online training AutoML and interactive model design. Models may include various methods suitable for different use cases (e.g., K-means, matrix factorization, random forests, etc.). The system includes security settings that establish access control permissions (e.g., read, create, update, delete) for each data element that has been defined, with clear demarcation of each platform partner and its role within a department (e.g., marketing and SAI have different data access control permissions).
[0247] Each of the sources may be a custodian of specific customer data. However, each of the sources may not wish to make its customer data available to other partners, for example due to various confidentiality directives and best practices. Secure processing involves protecting the overall computational steps so that parties cannot access one or more portions of the underlying data used in the machine learning data architecture without having appropriate access rights.
[0248] The dataset is assumed to have been acquired in the platform, coordinated with the common architecture and aggregated with the bank data owner (e.g., machine learning role) dataset. The merchant data owner should not have fine-grained access to the selected model by adjusting its parameters, weights, etc. The merchant can only specify the model type, and the service provider will be able to further adjust the model.
[0249] Data is provided in encrypted form and loaded for data processing and systems. The Model Architecture Workflow Manager orchestrates machine models for training activities and workflow progression. The Model Architecture Workflow Manager is configured to query the aggregated data store for specific data sets that are relevant to the selected model, merchant, and bank partners. Privacy sensitive data elements or data sets will be encrypted to ensure data confidentiality for partners.
[0250] In an embodiment, a secure enclave (e.g., a separate data processor, which is hardware or software or a combination thereof) is used to perform machine learning subtasks. In some embodiments, the secure enclave may store encryption keys for securely accessing the underlying data. The system includes a series of secure enclave processors, shown as dotted lines, adapted to operate together to generate data structures representing data science insights.
[0251] For example, data processing can be hosted within an SGX enclave, where aggregated data sets will be loaded for further processing before being fed into the training process. In the enclave, the data is decrypted, then required formatting, transformations are applied, missing values are imputed, outliers are identified and removed, etc. When processing is complete, the data is then encrypted to be sent to another component that stores the processed data in a database.
[0252] Secure enclave processing introduces limitations in terms of computational resource constraints, which can result in reduced performance and speed. Relative to non-secure processing paradigms, complexity is increased due to encryption and access restriction requirements.
[0253] Thus, as described in various embodiments herein, methods are presented that involve a machine learning data architecture with strong confidentiality and robust security. In some embodiments, the machine learning architecture includes multiple interconnected secure enclave processing partitions (e.g., separate secure enclave processors) that process and maintain separate training model architectures.
[0254] In some embodiments, if the data size exceeds, for example, 90MB, it will need to be split, sent repeatedly, and processed by multiple SGX enclaves. Specifically, due to the constraints on available data processing performance by the secure enclave processor, the data splitting unit 1902 is adapted to split the data so that the individual data processing partitions 1904 and 1906 each process the data in parallel using a separately stored model data architecture. In some embodiments, the individual data processing partitions 1904, 1906 are separate secure processing enclaves.
[0255] The data partitioning unit 1902 is a partition controller engine that may be implemented as an electronic circuit configured to provide one or more secure enclave sub-processors and transmit a partition of encrypted data to each of the one or more secure enclave sub-processors.
[0256] Sensitive data elements remain encrypted as they are loaded. In the enclave, the processed data is decrypted and then aggregation, calculations will be applied to extract new features. When feature extraction is completed, the feature data set will then be encrypted. When each training phase is completed, the model outputs, parameters, weights, metrics will be encrypted.
[0257] As data is processed via each of the partitions, the individual model architecture is updated to generate an updated model architecture parameter data structure. The one or more secure enclave sub-processors of the individual data processing partitions 1904, 1906 are configured to process the corresponding partition of encrypted data using a local copy of the machine learning architecture to generate one or more parameter update data structures.
[0258] The updated model architecture parameter data structures from each of the partitions are aggregated at a parameter aggregation unit 1908 (eg, a parameter server, which may be its own enclave).
[0259] The parameter aggregation unit 1908 is configured to save the updates and then re-propagate to the secure processing traditional aggregated trained model architecture. It can be deployed within the SGX enclave and it will receive all updates to the model parameters, weights, etc. The model can be encrypted when it leaves the enclave.
[0260] In some embodiments, at least two secure enclave sub-processors 1904 and 1906 are configured to transmit one or more parameter update data structures directly between each other to update corresponding local copies of the machine learning framework.
[0261] This architecture of some embodiments helps overcome technical constraints associated with reduced throughput of security enclave partitions. For example, some security enclave partitions are limited to a model architecture size of approximately 90MB or less. Thus, multiple coordinated partitions operate together to provide overall security processing.
[0262] The trained model, its parameters, weights, etc. persist for further use by the prediction / scoring mechanism.
[0263] In another embodiment, the enclave partitions are further configured to interconnect with each other during parallel operation so that the enclave partitions can share, determine parameters between each other, than receiving updated parameters in the trained model from the aggregator processor, for example, making available via an output API for partners, which can query the previously trained model to query the prediction results. The API will receive as input the partner id, model type, and data record to apply machine learning predictions. The API can output the prediction results back to the user.
[0264] An application for machine learning and security learning as described in some embodiments includes generating a data structure, for example, through a machine learning model architecture, that includes subsets of customer identifiers for identifying clusters based on similarity to a training set of identifiers.
[0265] For example, a training set of identifiers may include high-revenue loyal customers, and the trained model architecture may be utilized to identify target customers that are not in the training set but are negligible as potential targets. In this example, secure processing using a secure machine learning data architecture is used to ensure that unauthorized users do not gain unauthorized access to the underlying data (which may include sensitive customer data). For example, a secure enclave processor is used to ensure that merchants do not have a complete view of customer profiles, especially when such merchants are not the custodians of the customer profiles.
[0266] For example, prediction utilizes a trained model deployed as an SGX enclave that performs the actual computation for predicting the scoring results. The trained model architecture and input data records are provided to the predictor engine, which outputs one or more data structures that encapsulate the prediction score, confidence, metrics, etc. The prediction results (model id, model type, partner id, prediction score, input record) can be recorded in a database for further performance monitoring.
[0267] Fig. 20 An example of resource allocation to different customer tiers is shown in Figure 1. In this example, it can be observed that the merchant focuses its main resources on understanding and serving Tier 1 customers.
[0268] Merchants can leverage external companies to expand resources targeting Tier 2 and Tier 3 customer segments. Another institution, such as a financial institution (FI), has the opportunity to provide machine learning mechanisms to (i) analyze its Tier 1 customers (loyal and non-loyal members) and (ii) apply insights to drive customers from Tier 2 customers to Tier 1 customers. FI's horizontal data can be used to better assess and apply insights to drive conversions for merchant partners, resulting in increased loyalty and increased revenue. Similarly, machine learning models can be used to convert Tier 3+ customers.
[0269] Fig.2121 is an example Venn diagram 2100 showing the intersection between customers of two different data sets and target opportunity areas according to some embodiments. As a merchant, the goal may be to reach new customers who do not shop at a store with a SKU offer.
[0270] The overlapping region contains the customers used to train the machine learning model architecture. Therefore, personality rights attributes can be extracted by training the machine learning model. For example, the Bose 1234 speakers that the merchant wants to sell may be in oversupply. The system trains a model using the identities of FI+M1 customers who purchased the Bose 1234 speakers, which identifies their personality rights attributes (e.g., location, age, position).
[0271] Once the machine learning model is trained, it can be applied to new personality rights from a merchant or financial institution's customer set to identify potential target customers. In this example, there may be offers for speaker purchases that can be transmitted to the newly identified customers. In this case, the machine learning model architecture will provide a data structure that encapsulates the identifier of the customer's target, which can be used to generate machine instructions for automatic offer generation and distribution. The personality rights attributes are applied to FI customers instead of M1 customers, and the system can control the sending of SKU offers for Bose 1234 speakers to those FI customers.
[0272] Fig. 22 and Fig.23 Show examples of generated recommendations.
[0273] Fig. 22 An example of a graphical user interface adapted to display a graphical accessory for displaying generated recommendations according to some embodiments is presented 2200. In this presentation, a quote generation merchant portal dashboard is provided that includes generating recommended accessories for a target set of personality rights, in this case also displaying attributes that may have led to the reasons for the recommendation. This method can be used to improve the selection criteria applied to the audience builder, and can provide a method for generating a recommended accessory based on the recommended audience. Fig.21 The information provided in the promotional campaign builds the audience for the program automation.
[0274] Fig.23 An example of a graphical user interface adapted to display a graphical widget bar displaying generated recommendations according to some embodiments is presented 2300. In this widget bar, multiple recommendations are displayed indicating customers that can be targeted and reasons why these customers are targeted based on machine learning output of a machine learning data architecture.
[0275] The system evaluates the data in the VCR core and (i) identifies attractive audiences and (ii) proposes offers that merchants should consider. Example: VCR discovers that there are 250,000 customers who are very likely to buy electric cars due to increased wealth, positive sensitivity to the environment and long-distance travel. Recommends CarCo, VCR's partner to publish a $1000 offer for this audience group.
[0276] Fig.24 1 is an illustration of an example production environment and data flow according to some embodiments. In this variant example, both the financial institution and the merchant each have a corresponding private containerized environment. The merchant's data can be informed by SKU data, allowing the merchant to connect the purchase with the actual product or service sold at the level.
[0277] Fig.12 12 is a schematic diagram of a computing device 1200, such as a server. As depicted, the computing device includes at least one processor 1202, memory 1204, at least one I / O interface 1206, and at least one network interface 1208.
[0278] Processor 1202 may be an Intel or AMD x86 or x64, PowerPC, ARM processor, etc. Memory 1204 may include a suitable combination of internal or external computer memory such as random access memory (RAM), read only memory (ROM), compact disc read only memory (CDROM).
[0279] Each I / O interface 1206 enables the computing device 1200 to be interconnected with one or more input devices, such as a keyboard, a mouse, a camera, a touch screen, and a microphone, or with one or more output devices, such as a display screen and a speaker.
[0280] Each network interface 1208 enables the computing device 1200 to communicate with other components, exchange data with other components, access and connect to network resources, serve applications, and execute other computing applications by connecting to a network (or multiple networks) capable of carrying data, including the Internet, Ethernet, plain old telephone service (POTS) lines, public switched telephone network (PSTN), integrated services digital network (ISDN), digital subscriber line (DSL), coaxial cable, fiber optic, satellite, mobile, wireless (e.g., Wi-Fi, WMAX), SS7 signaling network, fixed line, local area network, wide area network, etc.
[0281] Computing device 1200 may be used to register and authenticate users (using, for example, logins, unique identifiers, and passwords) before providing access to applications, local area networks, network resources, other networks, and network security devices. Computing device 1200 may serve one user or multiple users.
[0282] Fig.13 An example flow chart 1300 is described that may be performed by a platform 100 having a TEE. At step 1310, the platform 100 may verify the identity of a partner system 115. At step 1320, the platform 100 may, after verifying the identity of the partner, issue a communication key to the partner system 115 for encrypting consumer data. At step 1330, the platform 100 may receive encrypted data encrypted using the communication key from the partner. At step 1340, the platform 100 may store the encrypted data using the storage key to prevent unauthorized access to the encrypted data within the TEE. At step 1350, the platform 100 may decrypt and analyze the encrypted data to generate recommendations based on the decrypted data.
[0283] Embodiments of the apparatus, system and program described herein may be implemented in a combination of hardware and software. These embodiments may be implemented on programmable computers, each of which includes at least one processor, a data storage system (including volatile memory or non-volatile memory or other data storage elements or a combination thereof), and at least one communication interface.
[0284] Program code is applied to input data to perform the functions described herein and generate output information. Output information is applied to one or more output devices. In certain embodiments, the communication interface can be a network communication interface. In embodiments where elements can be combined, the communication interface can be a software communication interface, such as a software communication interface for program-to-program communication. In other embodiments, there can be a combination of communication interfaces implemented as hardware, software, and combinations thereof.
[0285] Throughout the previous discussion, multiple references may be provided with respect to control and computing devices. It should be understood that the use of such terms may represent one or more computing devices having at least one processor configured to execute software instructions stored on a computer-readable tangible, non-transitory medium. For example, platform 100 may have a server that includes one or more computers coupled to a web server, database server, or other type of computer server in a manner to perform the described roles, responsibilities, or functions.
[0286] The previous discussion provides many example embodiments. Although each embodiment represents a single combination of inventive elements, other examples may include all possible combinations of the disclosed elements. Thus, if one embodiment includes elements A, B, and C, and a second embodiment includes elements B and D, other remaining combinations of A, B, C, or D may also be used.
[0287] The terms “connected” or “coupled to” may include direct coupling (where two elements coupled to each other are in contact with each other) and indirect coupling (where at least one additional element is located between the two elements).
[0288] The technical solution of the embodiment may be in the form of a software product that instructs physical operations. The software product may be stored in a non-volatile or non-temporary storage medium, which may be a compact disk read-only memory (CD-ROM), a USB flash drive, or a mobile hard disk. The software product contains a plurality of instructions that cause a computer device (a personal computer, a server, or a network device) to execute a program provided by the embodiment.
[0289] The embodiments described herein are implemented by physical computer hardware, including computing devices, servers, receivers, transmitters, processors, memories, displays, and networks. The embodiments described herein provide effective physical machines, especially configured computer hardware arrangements. The embodiments described herein are directed to electronic machines and programs implemented by electronic machines for processing and converting electromagnetic signals representing various types of information. The embodiments described herein generally and consistently relate to machines and their uses; and the embodiments described herein have no meaning or practical applicability outside of use with computer hardware, machines, and various hardware components. For example, the use of mental steps to replace physical hardware that is particularly configured to implement various actions of non-physical hardware can generally affect the working mode of the embodiments. Such computer hardware limitations are obviously necessary elements of the embodiments described herein, and they cannot be omitted or replaced with mental devices without material impact on the operation and structure of the embodiments described herein. The computer hardware is necessary for implementing the various embodiments described herein, and is not only used to perform steps quickly and in an efficient manner.
[0290] The platform 100 may be implemented as a computing device having at least one processor, a data storage device (including volatile memory or non-volatile memory or other data storage elements or a combination thereof), and at least one communication interface. The computing device components may be connected in different ways, including direct coupling, indirect coupling via a network, and dispersed over a wide geographic area and connected via a network (which may be referred to as "cloud computing").
[0291] By way of example and not limitation, the computing device may be a server, a network appliance, a microelectromechanical system (MEMS) or micromechanical device, a set-top box, an embedded device, a computer expansion module, a personal computer, a laptop computer, a personal data assistant, a cellular telephone, a smart phone device, a UMPC tablet computer, a video display terminal, a game console, an electronic reading device, and a wireless hypermedia device or any other computing device that can be configured to perform the procedures described herein.
[0292] The processor may be, for example, a microprocessor or microcontroller, a digital signal processing (DSP) processor, an integrated circuit, a field programmable gate array (FPGA), a reconfigurable processor, a programmable read-only memory (PROM), or a combination thereof.
[0293] The data storage device may include a suitable combination of any type of computer memory, whether internal or external.
[0294] The computing device may include an I / O interface to enable the computing device to interconnect with one or more input devices, such as a keyboard, mouse, camera, touch screen, and microphone, or with one or more output devices, such as a display screen and speakers.
[0295] Although the embodiments have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made herein.
[0296] In addition, the scope of the present application is not intended to be limited to the specific embodiments of the procedures, machines, articles, compositions of matter, components, methods, and steps described in the specification. As will be readily understood by those skilled in the art from the disclosure of the present invention, currently existing or later to be developed procedures, machines, articles, compositions of matter, components, methods, or steps that perform substantially the same functions as the corresponding embodiments described herein or achieve substantially the same results as the corresponding embodiments may be utilized. Therefore, the appended claims are intended to include such procedures, machines, articles, compositions of matter, components, methods, or steps within their scope.
[0297] It will be understood that the examples described and illustrated above are intended to be exemplary only.
[0298] Applicants note that the described embodiments and examples are illustrative and non-limiting. Actual implementations of features may incorporate combinations of some or all of the aspects and features described herein and should not be considered indicative of future or existing product plans. Applicants are engaged in both basic and applied research and, in some cases, are developing the described features on an exploratory basis.
Claims
1. A computer-implemented secure electronic transaction system for use in a trusted execution environment, maintaining separate data processing subsystems, the system comprising: a computer-readable memory having a protected memory area which is encrypted so as to be inaccessible to both the operating system and the kernel system, the protected memory area comprising at least a data storage area and a data processing subsystem storage area for maintaining the separate data processing subsystem; computer readable cache memory; as well as A virtual clean room, comprising a secure enclave data processor configured to provide: a partner data receiver configured to receive one or more data sets from a plurality of corresponding partner computing devices, each of the one or more data sets being digitally signed by a private key corresponding to each of the partner computing devices, the partner data receiver being configured to verify the digital signatures of the partner computing devices; the partner data receiver configured to: (i) load a portion of the protected memory area into the computer-readable cache memory; (ii) record one or more verified data sets into the loaded portion of the data storage area in the protected memory area; and (iii) unloading and encrypting said portion of said protected memory area after recording; as well as A data processing subsystem interaction engine is configured to transmit a query data message to the data processing subsystem and receive an output data structure generated by the data processing subsystem based on the one or more data sets stored in the protected memory area.
2. A secure electronic transaction system according to claim 1, wherein the separate data processing subsystem maintains a separate machine learning data model architecture including a series of interconnected computing nodes, the computing nodes operate together to generate the output data structure in response to the query data message, the interconnected computing nodes contain a series of weights and filters representing a dynamically modified function, the dynamic modification function uses at least a portion of the one or more verified data sets in the data storage area in the protected memory area as a training set or a validation set representing data from at least two of the plurality of partner computing devices to be trained over multiple training periods, and the query data message triggers the dynamic modification function to generate the output data structure.
3. A secure electronic transaction system according to claim 1, wherein the partner data receiver is further configured to generate encryption key pairs, each corresponding to a partner computing device in one or more of the corresponding partner computing devices, and transmit the corresponding private key in the encryption key pair to the corresponding partner computing device.
4. The secure electronic transaction system of claim 1, wherein the computer readable memory having the protected memory area is stored on DRAM.
5. The secure electronic transaction system of claim 1 , wherein a key required to decrypt the protected memory area into the computer-readable cache memory is stored within the secure enclave data processor and is inaccessible outside of the secure enclave data processor.
6. The secure electronic transaction system of claim 1 , wherein a key required to decrypt the protected memory area into the computer-readable cache memory is initially generated from a random number entry, and the random number entry is stored within the secure enclave data processor and is inaccessible outside of the secure enclave data processor.
7. The secure electronic transaction system of claim 1, wherein a remote authentication procedure is periodically performed by a secure enclave data processor to verify the security of the system, the remote authentication procedure comprising transmitting a remote authentication payload comprising a DiffieHellman message to the secure enclave data processor.
8. The secure electronic transaction system of claim 1 , wherein a remote authentication procedure is periodically performed by a secure enclave data processor to verify the security of the system, the remote authentication procedure comprising the secure enclave data processor generating a remote authentication script data structure and transmitting the remote authentication script data structure along with a signed challenge payload and a new Diffie Hellman message payload.
9. The secure electronic transaction system of claim 2, wherein the secure enclave data processor is configured to provide: a partition controller engine configured to provide one or more secure enclave sub-processors and transmit a partition of the protected memory region to each of the one or more secure enclave sub-processors; the one or more secure enclave sub-processors configured to process corresponding partitions of the protected memory area using a local copy of the machine learning data model architecture to generate one or more parameter update data structures; and A partition aggregation engine configured to receive the one or more parameter update data structures from each of the one or more secure enclave sub-processors and process the one or more parameter update data structures to optimize at least one parameter of the machine learning data model architecture, the machine learning data model architecture being used to distribute to the one or more secure enclave sub-processors to update corresponding local copies of the machine learning data model architecture.
10. A secure electronic transaction system according to claim 9, wherein there are at least two secure enclave sub-processors, including a first secure enclave sub-processor and a second secure enclave sub-processor, and the two secure enclave sub-processors are configured to transmit one or more parameter update data structures directly between each other to update the corresponding local copies of the machine learning data model architecture.
11. A computer-implemented secure electronic transaction method for a trusted execution environment maintaining a separate data processing subsystem, the method operating on a computer-readable memory having a protected memory area, the protected memory area being encrypted so as to be inaccessible to an operating system and a kernel system of a computing device implementing the trusted execution environment, the protected memory area comprising at least a data storage area and a data processing subsystem storage area maintaining the separate data processing subsystem, the method comprising: receiving one or more data sets from one or more corresponding partner computing devices, each of the one or more data sets being digitally signed by a private key corresponding to each of the partner computing devices; verifying a digital signature of the partner computing device; loading a portion of the protected memory area into a computer-readable cache memory; recording one or more verified data sets into a load portion of the data storage area in the protected memory area; unloading and encrypting said portion of said protected memory area after recording; transmitting a query data message to the data processing subsystem; The query data message is processed based on a processing function that receives as input the one or more data sets or aggregations thereof from the one or more corresponding partner computing devices to generate an output data structure.
12. The method of claim 11, wherein the separate data processing subsystem maintains a separate machine learning data model architecture comprising a series of interconnected computing nodes that collectively operate to generate the output data structure in response to the query data message, the interconnected computing nodes containing a series of weights and filters representing a dynamically modified function that is trained over a plurality of training epochs using at least a portion of the one or more validated data sets in the data storage area in the protected memory area as a training set or a validation set; and wherein The processing of the query data message based on a processing function includes applying the dynamically modified function to the query data message to generate the output data structure.
13. The method of claim 11, further comprising generating an encryption key pair each corresponding to a partner computing device in the one or more corresponding partner computing devices, and the method comprising: A corresponding private key of the encryption key pair is transmitted to a corresponding partner computing device.
14. The method of claim 11, wherein the computer readable memory having the protected memory area is stored on DRAM.
15. The method of claim 11, wherein a key required to decrypt the protected memory area into the computer-readable cache memory is stored within a secure enclave data processor and is inaccessible outside of the secure enclave data processor.
16. The method of claim 11, wherein the key required to decrypt the protected memory area into the computer-readable cache memory is initially generated from a random number entry, and the random number entry is stored within a secure enclave data processor and the random number entry is inaccessible outside of the secure enclave data processor.
17. The method of claim 11, comprising periodically performing a remote attestation procedure for security verification, the remote attestation procedure comprising transmitting a remote attestation payload comprising a Diffie Hellman message to the secure enclave data processor.
18. The method of claim 11, comprising periodically performing a remote attestation procedure for security verification, the remote attestation procedure comprising generating, by a secure enclave data processor, a remote attestation script data structure and transmitting the remote attestation script data structure along with a signed challenge payload and a new Diffie Hellman message payload to one or more computing devices.
19. The method of claim 12, comprising providing one or more secure enclave sub-processors and transmitting a partition of the protected memory region to each of the one or more secure enclave sub-processors; processing corresponding partitions of the protected memory area using the local copy of the machine learning data model architecture to generate one or more parameter update data structures; receiving the one or more parameter update data structures from each of the one or more secure enclave sub-processors; processing the one or more parameter update data structures to optimize at least one parameter of the machine learning data model architecture; as well as Distributing the optimized at least one parameter to the one or more secure enclave sub-processors to update corresponding local copies of the machine learning data model architecture.
20. A non-transitory computer-readable medium storing machine-interpretable instructions that, when executed by a processor, cause the processor to perform a computer-implemented method for maintaining a separate data processing subsystem for a trusted execution environment, the method operating on a computer-readable memory having a protected memory area, the protected memory area being encrypted so that it is inaccessible to an operating system and a kernel system of a computing device implementing the trusted execution environment, the protected memory area comprising at least a data storage area and a data processing subsystem storage area maintaining the separate data processing subsystem, the method comprising: receiving one or more data sets from one or more corresponding partner computing devices, each of the one or more data sets being digitally signed by a private key corresponding to each of the partner computing devices; verifying a digital signature of the partner computing device; loading a portion of the protected memory area into a computer-readable cache memory; recording one or more verified data sets into a load portion of the data storage area in the protected memory area; unloading and encrypting said portion of said protected memory area after recording; transmitting a query data message to the data processing subsystem; The query data message is processed based on a processing function that receives as input the one or more data sets or aggregations thereof from the one or more corresponding partner computing devices to generate an output data structure.
21. A computer-implemented secure electronic transaction system for maintaining a secure enclave data processing subsystem, the system comprising; a computer-readable memory having a protected memory area that is encrypted so that the protected memory area is protected from at least one of an operating system and a kernel system, the protected memory area comprising at least a data storage area and a data processing subsystem storage area for maintaining the secure enclave data processing subsystem; A virtual clean room, comprising a security processor, the security processor being configured to provide: a data receiver configured to receive one or more third-party data sets from a plurality of corresponding computing devices, each of the one or more third-party data sets being digitally signed by a private key corresponding to the corresponding computing device; and The data receiver is configured to record one or more data sets into a portion of the protected memory area and, after recording, encrypt the portion of the protected memory area using a corresponding key; The secure enclave data processing subsystem is configured to receive a query data message, and to generate an output data structure by the secure enclave data processing subsystem based on the one or more data sets stored in the protected memory area.
22. A secure electronic transaction system according to claim 21, wherein the secure enclave data processing subsystem maintains a securely stored machine learning data model architecture, the machine learning data model architecture comprising interconnected computing nodes, which operate together to use at least a portion of the one or more data sets in the data storage area in the protected memory area as a training set or a validation set representing data from at least two of the multiple computing devices to generate an output data structure.
23. The secure electronic transaction system of claim 21, wherein the data receiver is further configured to generate a public key / private key pair corresponding to each computing device in the one or more corresponding computing devices, and wherein, The corresponding key is a private key corresponding to the corresponding computing device.
24. The secure electronic transaction system of claim 21, wherein the computer readable memory having the protected memory area is stored on DRAM.
25. The secure electronic transaction system of claim 21, wherein a corresponding key required to decrypt the protected memory area into the intermediate computer-readable memory is not accessible external to the secure processor.
26. The secure electronic transaction system of claim 21, wherein a corresponding key required to decrypt the protected memory area into the intermediate computer-readable memory is initially generated from a random number entry, and the random number entry is not accessible external to the secure processor.
27. The secure electronic transaction system of claim 21, wherein a remote authentication procedure is periodically performed by the secure processor, the remote authentication procedure comprising transmitting a remote authentication payload to the secure processor.
28. The secure electronic transaction system of claim 21, wherein a remote authentication procedure is performed periodically by the secure processor, and the remote authentication procedure includes the secure processor generating a remote authentication script data structure.
29. The secure electronic transaction system of claim 22, wherein the secure processor is configured to provide: a partition controller engine configured to transmit partitions of the protected memory region to one or more secure enclave sub-processors; The one or more secure enclave sub-processors are configured to process corresponding partitions of the protected memory area using a local copy of the machine learning data model architecture to generate one or more parameter update data structures to be aggregated to optimize at least one parameter of the machine learning data model architecture.
30. The secure electronic transaction system of claim 29, wherein there are at least two secure enclave sub-processors, the two secure enclave sub-processors comprising a first secure enclave sub-processor and a second secure enclave sub-processor, the first secure enclave sub-processor and the second secure enclave sub-processor being configured to transmit one or more parameter update data structures directly between each other to update corresponding local copies of the machine learning data model architecture.
31. A computer-implemented secure electronic transaction method for a trusted execution environment, maintaining a secure enclave data processing subsystem, the method operating on a computer-readable memory having a protected memory area, the protected memory area being encrypted so that the protected memory area is protected from at least one of an operating system and a kernel system of a computing device implementing the trusted execution environment, the protected memory area comprising at least a data storage area and a data processing subsystem storage area maintaining the secure enclave data processing subsystem, the method comprising: receiving one or more data sets from one or more corresponding computing devices, each of the one or more data sets being digitally signed by a key corresponding to the corresponding computing device; recording the one or more data sets into a portion of the protected memory area; as well as encrypting the portion of the protected memory area after recording using a corresponding key; The secure enclave data processing subsystem is configured to receive a query data message and The query data message is processed based on a processing function to generate an output data structure, the processing function receiving as input the one or more data sets or aggregations thereof from one or more of the corresponding computing devices.
32. A method according to claim 31, wherein the secure enclave data processing subsystem maintains a securely stored machine learning data model architecture comprising a series of interconnected computing nodes, and the computing nodes operate together to generate the output data structure in response to the query data message using at least a portion of the one or more data sets in the data storage area in the protected memory area as a training set or a validation set.
33. The method of claim 31 , comprising generating a public key / private key pair that corresponds to a computing device in one or more of the corresponding computing devices; and wherein, The corresponding key is the private key corresponding to the corresponding computing device.
34. The method of claim 31 , wherein the computer readable memory having the protected memory area is stored on DRAM.
35. The method of claim 31, wherein the corresponding key is inaccessible outside the secure processor.
36. The method of claim 31, wherein the corresponding key is initially generated from a random number item, and the random number item is not accessible external to the secure processor.
37. The method of claim 31, comprising periodically performing remote attestation, the remote attestation procedure comprising transmitting a remote attestation payload to a secure processor.
38. The method of claim 31, comprising periodically performing a remote attestation procedure, the remote attestation procedure comprising generating, by a secure processor, a remote attestation script data structure.
39. The method of claim 31 , comprising transmitting partitions of the protected memory area to one or more secure enclave sub-processors; Processing corresponding partitions of the protected memory area using the local copy of the machine learning data model architecture to generate one or more parameter update data structures for optimizing at least one parameter of the machine learning data model architecture, the parameters being distributed to the one or more secure enclave sub-processors to update corresponding local copies of the machine learning data model architecture.
40. A non-transitory computer readable medium storing machine-interpretable instructions that, when executed by a processor, cause the processor to perform a computer-implemented method for maintaining a secure enclave data processing subsystem for a trusted execution environment, the method operating on a computer readable memory having a protected memory area, the protected memory area being encrypted such that the protected memory area is protected from at least one of an operating system and a kernel system of a computing device implementing the trusted execution environment, the protected memory area comprising at least a data storage area and a data processing subsystem storage area maintaining the secure enclave data processing subsystem, the method comprising: receiving one or more data sets from one or more corresponding partner computing devices, each of the one or more data sets being digitally signed by a key corresponding to the corresponding partner computing device; loading a portion of the protected memory area into an intermediate computer-readable memory; recording the one or more data sets into the loaded portion of the data storage area in the protected storage area; and unloading and encrypting the portion of the protected memory area after recording using a corresponding key; Wherein, the secure enclave data processing subsystem is configured to receive a query data message and process the query data message based on a processing function to generate an output data structure, wherein the processing function receives the one or more data sets as input from one or more of the corresponding partner computing devices or an aggregation thereof.
