Data cleanroom transcoder
The data cleanroom transcoder system addresses the challenge of secure, real-time decryption and joining of encrypted datasets by using a neutral third-party orchestrator and ephemeral cryptographic methods, ensuring privacy and reducing computational costs.
Patent Information
- Application Number
- PCT/US2026/016790
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-20
- Filing Date
- 2026-02-26
- Publication Date
- 2026-11-26
AI Technical Summary
Existing data cleanroom technologies face challenges in securely and efficiently performing real-time decryption and joining of encrypted identifier columns across large-scale datasets from multiple parties, risking private data exposure and increasing storage and computational costs.
A data cleanroom transcoder system with a neutral third-party orchestrator manages cryptographic operations, using unique cryptographic entries, ephemeral user-defined functions, and dynamic query validation to ensure secure, privacy-preserving analytics by preventing persistent data exposure and reducing computational overhead.
Enables reliable collaborative analytics with enhanced entity matching accuracy and reduced storage overhead, maintaining strict privacy controls and preventing any party from accessing sensitive data, while eliminating the need for auxiliary mapping tables and external encryption frameworks.
Smart Images

Figure US2026016790_26112026_PF_FP_ABST
Abstract
Description
Attorney Docket No. RAMP-00332-WODATA CLEANROOM TRANSCODER CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims priority to Indian Provisional Patent Application No.202511048619, filed on May 20, 2025. Such application is incorporated by reference herein. BACKGROUND OF THE INVENTION
[0002] Owners of large-scale datasets may wish to collaborate with each other using their respective datasets, doing so for analytics or other various purposes. These dataset owners must, however, ensure that private data is not shared with other dataset owners in such a way that would violate private protections in force with respect to these datasets.
[0003] Data cleanrooms are secure environments that allow multiple data owners to share and analyze sensitive datasets without directly exposing the underlying information to each other. These collaborative spaces enable dataset owners to combine their datasets for enhanced insights while maintaining privacy, regulatory compliance, and data governance. Data cleanroom technology employs various privacy-preserving techniques such as data encryption, anonymization, and aggregation to ensure that raw data remains protected while still allowing for valuable joint analysis.
[0004] Data cleanrooms have gained popularity across industries including marketing, healthcare, and finance. For example, retailers and consumer packaged goods companies might use cleanrooms to match their respective customer and product data to improve audience targeting without revealing proprietary customer information. Similarly, healthcare organizations can collaborate on research using patient data while adhering to strict privacy regulations applicable to personal medical information. As concerns about data privacy intensify and regulations like GDPR and CCPA become more stringent, data cleanrooms offer a promising solution for balancing the competing needs of data utilization and protection.
[0005] Although data cleanrooms provide substantial privacy protections, providing secure, privacy-preserving analytics across large-scale datasets owned by multiple parties remains challenging even in a data cleanroom environment. One aspect of the problem is that different parties generally use different data identifiers for records within their respective datasets. A traditional solution to bridge the two data identifier sets is to prepare a cross-reference mapping table that matches the data identifiers between the respective datasets forAttorney Docket No. RAMP-00332-WOcorresponding records. The construction of such a cross-reference table, however, may itself create private risks by exposing sensitive identifiers during processing, or rely on static encryption frameworks that create security vulnerabilities. The use of such a table also increases storage space and computational cost of the resulting analytics solution, which can be significant when working with extremely large-scale datasets.SUMMARY OF THE INVENTION
[0006] The present invention is directed to data cleanroom transcoder that enables secure, privacy-preserving analytics across encrypted datasets from multiple collaborating parties. The invention addresses the technical challenges of performing real-time decryption, validation, and joining of encrypted identifier columns while maintaining complete data privacy and security.
[0007] In certain embodiments, the invention operates within a cleanroom architecture where computation occurs on a client's account, but the client cannot access other collaborators' data. A neutral third-party orchestrator manages all cryptographic operations and ensures that encryption keys and decrypted identifiers are never accessible to any client or collaborating party.
[0008] In certain embodiments, the invention generates unique cryptographic entries for each query execution, including domain-specific keys and unique salts for each combination of query run and dataset. This ensures that every execution produces distinct hash values, preventing cross-session correlation attacks.
[0009] In certain embodiments, the invention employs dynamically generated user-defined functions (UDFs) that create temporary views within the client query execution environment. Only the metadata of the views is visible, and then only during the specific session initiated by the authorized query execution, eliminating persistent data exposure.
[0010] In certain embodiments, the invention implements sophisticated access control through row access policies that validate query authorization by comparing SHA hashes of executed statements against pre-approved queries. Unauthorized access attempts result in masked values ('xxxx'), while authorized queries receive hash-salted identifier values.
[0011] In certain embodiments, the invention supports both analytical queries (returning only hash-salted columns) and list queries (where the system automatically rewrites queries to return the owner organization's identifiers when explicitly approved by all parties).Attorney Docket No. RAMP-00332-WO
[0012] In certain embodiments, the invention ensures that all transcoded identifiers and mappings are ephemeral, never persisted beyond query execution. Each execution employs dynamically created salts and cryptographic keys, eliminating risks associated with persistent identifier mappings.
[0013] In certain embodiments, the technical implementation of the invention utilizes a sophisticated query template that creates client final queries and generated mapping queries, performing secure inner joins on transcoded identifiers without exposing underlying data. The system ensures that hash-salted values are non-reversible and that original identifiers cannot be reconstructed.
[0014] In these certain embodiments, the invention provides significant advantages over prior art systems, including: elimination of auxiliary mapping tables, reduced storage overhead, removal of dependency on external encryption frameworks, streamlined computational processes due to reduced computational overhead of added joins on auxiliary mapping tables, and enhanced entity matching accuracy across encrypted datasets. The invention enables reliable collaborative analytics while maintaining strict privacy controls and preventing any party from accessing sensitive data belonging to other collaborators. The system architecture ensures complete isolation of cryptographic key management, real-time transcoding capabilities, and dynamic query generation with collaborative approval mechanisms, representing a substantial advancement in secure multi-party data analytics technology.
[0015] In one aspect, the invention is directed to a data cleanroom transcoder including a neutral third-party orchestrator configured to manage cryptographic operations for a plurality of collaborating parties, a data processing platform hosting encrypted datasets from the multiple collaborating parties, wherein the orchestrator is configured to generate a unique cryptographic entry for each query execution, the unique cryptographic entry including a domain-specific key and a unique salt for each combination of query run and dataset, dynamically generate an ephemeral user-defined function (UDF) that creates a temporary view within a client query execution environment, the temporary view being visible only during a session initiated by an authorized query execution, implement row access policies that validate query authorization by comparing SHA hashes of executed statements against pre-approved queries, and return hash- salted identifier values for authorized queries and masked values for unauthorized access attempts, wherein the hash-salted identifier values are non-reversible and prevent reconstruction of original identifiers.Attorney Docket No. RAMP-00332-WO
[0016] In another aspect, the invention is directed to a method for automated transcoding in data cleanrooms including the steps of receiving a query request for analytics across encrypted datasets from multiple collaborating parties, generating, by a neutral third-party orchestrator, a unique cryptographic entry for the query request, the unique cryptographic entry including a domain-specific key and a unique salt for a combination of query run and dataset, dynamically creating an ephemeral user-defined function (UDF) that establishes a temporary view within a client query execution environment, validating query authorization by comparing a SHA hash of an executed statement against pre-approved query hashes stored in an allowed statements table, if the query is authorized, returning hash-salted identifier values generated using the unique salt and decrypted identifiers, and if the query is unauthorized, returning masked values, wherein the temporary view is visible only during the query execution session and all transcoded mappings are deleted upon completion of the query execution.
[0017] In another aspect, the invention is directed to a non-transitory computer-readable medium storing instructions that, when executed by a processor, cause the processor to perform operations comprising the steps of managing cryptographic operations for multiple collaborating parties through a neutral third-party orchestrator, generating unique cryptographic entries for each query execution, each entry including domain-specific keys and unique salts, dynamically creating ephemeral user-defined functions (UDFs) that establish temporary metadata views visible only during authorized query sessions, implementing row access policies that validate queries by comparing SHA hashes against pre-approved query hashes, and returning hash-salted identifier values for authorized queries and masked values for unauthorized access, wherein the hash-salted values are non-reversible and all transcoded mappings are ephemeral.
[0018] These and other features, objects and advantages of the present invention will become better understood from a consideration of the following detailed description of the preferred embodiments and appended claims in conjunction with the drawings as described following:BRIEF DESCRIPTION OF DRAWINGS
[0019] Fig. 1 is an architectural overview of a system according to an embodiment of the present invention.
[0020] Fig. 2 is an architectural diagram of a computing hardware component of an overall distributed node architecture for implementation of an embodiment of the present invention.Attorney Docket No. RAMP-00332-WQDETAILED DESCRIPTION OF THE INVENTION
[0021] Before the present invention is described in further detail, it should be understood that the invention is not limited to the particular embodiments described, and that the terms used in describing the particular embodiments are for the purpose of describing those particular embodiments only, and are not intended to be limiting, since the scope of the present invention will be limited only by the claims.
[0022] An architectural diagram of an embodiment of the invention is provided in Fig. 1.Transcoder 10 for data cleanrooms is illustrated in accordance with an embodiment of the present invention. The transcoder 10 comprises three primary computational environments: a partner account 12, an owner account 40, and an orchestrator account 80, which collectively enable secure, privacy-preserving analytics across encrypted datasets from multiple collaborating parties.
[0023] The partner account 12 represents a first collaborating party's computational environment and includes multiple data storage components. The partner account 12 includes RAP (third-party provider ID) databases comprising a RAP V_TXNI database 14 and a RAP SALES2 database 16, which store encrypted identifier data specific to the partner organization. A cleanroom share component CR1_SHR 18 facilitates secure data sharing between the partner and other collaborating parties.
[0024] Additional data repositories within the partner account 12 include a TXNI database 20, an ORDERS1 database 22, and a SALES2 database 24, which contain the partner's proprietary datasets available for collaborative analytics. An ALLOWED_STMTS table 26 serves as a critical security component, storing authorized query information including a CR_ID column 28 that identifies cleanroom sessions and a SHA column 30 that contains SHA hash values of preapproved queries.
[0025] Query execution within the partner account 12 is managed through an orchestrator CR_REQ database 32, which handles cleanroom requests, and a partner REQUEST TASK 34, which coordinates the execution of authorized analytical operations.
[0026] The owner account 40 represents a second collaborating party's computational environment and includes corresponding data structures for secure collaboration. The owner account 40 includes owner-specific views comprising an owner V_TXNI view 42 and an owner V_SALES2 view 44, which provide controlled access to the owner's encrypted identifier data.Attorney Docket No. RAMP-00332-WQ
[0027] A CR1_SHR_PARTNER component 46 enables secure data sharing with the partner account 12. SESSION_TABLES 48 provide temporary storage for query execution sessions and include specialized transcoding components: a TRANSCODING_TXNI component 50 and a TRANSCODING CRM component 52, which perform real-time identifier transcoding operations during query execution.
[0028] The owner account 40 further includes multiple data repositories: a V_CRM database view 54, a V_GRAPH2 view 56, a CRM1 database 58, a GRAPH1 database 60, and a GRAPH2 database 62. These components store the owner's proprietary datasets available for secure collaborative analytics.
[0029] A DCR1_SHARE component 64 facilitates additional data sharing capabilities, while a RAMPID_HASHING_UDF component 66 implements the user-defined function responsible for performing cryptographic hashing operations on identifier data during query execution. Query coordination is managed through an owner CR_REQ component 68 and an owner REQUEST TASK 70.
[0030] The orchestrator account 80 serves as the neutral third-party system that manages all cryptographic operations and maintains security isolation between collaborating parties. The orchestrator account 80 includes organization-specific components: a HABU_CR_CMN_SHR_ORG2 component 82 and a HABU_CR_CMN_SHR_ORG1 component 84, which manage shared resources for different participating organizations. The orchestrator account 80 includes dedicated organizational management systems: a HABU ORG2 component 86 and a HABU ORG1 component 88, which handle organization-specific configurations and policies. An orchestrator CR_REQ database 32, as previously described with respect to partner account 12, stores cleanroom request information centrally per organization. Although only one is shown in the example of Fig. 1, there is an ORG share that maps to an account, and each ORG share contains a CR_REQ table that manages requests for that specific organization.
[0031] An application layer 92 serves as a key management interface, coordinating with a key retrieval system 94 that implements the core cryptographic functionality. The key retrieval system 94 manages a key management table 96 that stores cryptographic information organized by a RUN_ID column 98 identifying specific query executions, a DS_ID column 100 identifying datasets, and a KEY column 102 containing cryptographic keys corresponding to specific domain identifiers.Attorney Docket No. RAMP-00332-WQ
[0032] The system 10 integrates with an external LIVERAMP IDAPI 110, which provides identity resolution services and maintains the authoritative mapping between different identifier formats used by collaborating parties. The resolution services may, in an example, be the RampID service provided by LiveRamp, Inc. of San Francisco, California.
[0033] The components are interconnected through a SHARED DB connection 120 that enables secure data sharing between the partner account 12 and owner account 40. Data flow connections 130 facilitate the movement of encrypted data and query results between computational environments, while request flow connections 135 coordinate the execution of analytical queries and the retrieval of cryptographic keys.
[0034] During operation, when a collaborative analytics query is initiated, the system 10 performs the following sequence of operations. First, the partner REQUEST TASK 34 or owner REQUEST TASK 70 initiates a query request through their respective CR_REQ components 32, 68. Next, orchestrator account 80 receives the request and validates it against approved queries stored in the TRANSCODING_ALLOWED_STMTS of key management table 96. Key 137 is fetched from TRANSCODING_MAPPING table 136, which also stores the corresponding salt 138 for each key 137. Upon validation, the key retrieval system 94 generates a unique cryptographic entry in the key management table 136, including a unique RUNJD 98, corresponding DS ID 100, and cryptographic key 137.
[0035] Next, the RAMPID_HASHING_UDF 66 is dynamically instantiated with the retrieved cryptographic parameters, creating temporary transcoding capabilities through the TRANSCODING_TXNI component 50 and TRANSCODING_CRM component 52 in the SESSION_TABLES 48. The query is executed using the temporary transcoded identifiers, enabling secure joins between datasets in the partner account 12 and owner account 40 without exposing sensitive data to either party. Upon completion, all temporary transcoding components and cryptographic materials are automatically purged, ensuring no persistent exposure of sensitive identifier mappings.
[0036] As will be apparent, this architecture ensures that neither the partner account 12 nor the owner account 40 gains access to the other party's raw identifiers or cryptographic keys, while enabling meaningful collaborative analytics through the secure transcoding operations managed by the neutral orchestrator account 80.
[0037] In general, the methods described herein may, in various embodiments, be implemented by any combination of hardware and software, and individual components madeAttorney Docket No. RAMP-00332-WOup of hardware and software constituent parts. For example, in one embodiment, the methods may be implemented by a computer system or a collection of computer systems, each of which includes one or more hardware processors executing program instructions stored on a computer-readable physical storage medium coupled to the hardware processors.
[0038] The program instructions may implement the functionality described herein (e.g., the functionality of various hardware servers and other components that implement the networkbased cloud and non-cloud computing resources described herein). The various methods as illustrated in the figures and described herein represent example implementations. The order of any method may be changed, and various elements may be added, modified, or omitted.
[0039] Fig. 2 is a block diagram illustrating an example computer hardware system, which forms a component of a cloud computing system according to various embodiments. Computer system 140 may implement a hardware portion of a cloud computing system as forming parts of the various implementations of the present invention. Computer system 140 may be any of various types of hardware devices, including, but not limited to, a commodity server, personal computer system, desktop computer, laptop or notebook computer, mainframe computer system, handheld computer, workstation, network computer, a consumer device, application server, physical storage device, telephone, mobile telephone, or in general any type of computing node, compute node, compute device, and / or hardware computing device.
[0040] Computer system 140 includes one or more hardware processors 141a, 141b...141n (any of which may include multiple processing cores, which may be single or multi-threaded) coupled to a physical system memory 142 via an input / output (I / O) interface 144. Computer system 140 further may include a network interface 146 coupled to I / O interface 144. In various embodiments, computer system 140 may be a single processor system including one hardware processor 141a, or a multiprocessor system including multiple hardware processors 141a, 141b...141n. Processors 141a, etc. may be any suitable processors capable of executing computing instructions. For example, in various embodiments, processors 141a, etc. may be general-purpose or embedded processors implementing any of a variety of instruction set architectures.
[0041] In multiprocessor systems, each of processors 141a, etc. may commonly, but not necessarily, implement the same instruction set. The computer system 140 also includes one or more hardware network communication devices (e.g., network interface 146) for communicating with other systems and / or components over a communications network, suchAttorney Docket No. RAMP-00332-WOas a local area network, wide area network, or the Internet. For example, a client application executing on system 140 may use network interface 146 to communicate with a server application executing on a single hardware server or on a cluster of hardware servers that implement one or more of the components of the systems described herein in a cloud computing environment as implemented in various sub-systems. In another example, an instance of a server application executing on computer system 140 may use network interface 146 to communicate with other instances of an application that may be implemented on other computer systems.
[0042] In the illustrated embodiment, computer system 140 also includes one or more physical persistent storage devices 148 and / or one or more I / O devices 150. In various embodiments, persistent storage devices 148 may correspond to disk drives, tape drives, solid-state memory or drives, other mass storage devices, or any other persistent storage devices.
[0043] Computer system 140 (or a distributed application or operating system operating thereon) may store instructions and / or data in persistent storage devices 148, as desired, and may retrieve the stored instructions and / or data as needed. For example, in some embodiments, computer system 140 may implement one or more nodes of a control plane or control system, and persistent storage 148 may include the solid-state drives (SSDs) attached to that server node. Multiple computer systems 140 may share the same persistent storage devices 148 or may share a pool of persistent storage devices, with the devices in the pool representing the same or different storage technologies, including such technologies as described above.
[0044] Computer system 140 includes one or more physical system memories 142 that may store code / instructions 143 and data 145 accessible by processor(s) 141a, etc. The system memories 142 may include multiple levels of memory and memory caches in a system designed to swap information in memories based on access speed, for example. The interleaving and swapping may extend to persistent storage devices 148 in a virtual memory implementation, where memory space is mapped onto the persistent storage devices 148.
[0045] The technologies used to implement the system memories 142 may include, by way of example, static random-access memory (RAM), dynamic RAM, read-only memory (ROM), nonvolatile memory, solid-state memory, or flash-type memory. As with persistent storage devices 148, multiple computer systems 140 may share the same system memory systems 142 or may share a pool of system memories 142. System memory or memory systems 142 may containAttorney Docket No. RAMP-00332-WOprogram instructions 143 that are executable by processor(s) 141a, etc. to implement the routines described herein.
[0046] In various embodiments, program instructions 143 may be encoded in binary, Assembly language, any interpreted language such as Java, compiled languages such as C / C++, or in any combination thereof; the particular languages given here are only examples. In some embodiments, program instructions 143 may implement multiple separate clients, server nodes, and / or other components.
[0047] In some implementations, program instructions 143 may include instructions executable to implement an operating system (not shown), which may be any of various operating systems, such as UNIX, LINUX, Solaris™, MacOS™, or Microsoft Windows™. Any or all of program instructions 143 may be provided as a computer program product, or software, that may include a non-transitory computer-readable storage medium having stored thereon instructions, which may be used to program a computer system (or other electronic devices) to perform a process according to various implementations.
[0048] A non-transitory computer-readable storage medium may include any mechanism for storing information in a form (e.g., software or processing application) readable by a machine (e.g., a physical computer). Generally speaking, a non-transitory computer-accessible medium may include computer-readable storage media or memory media such as magnetic or optical media, e.g., disk or DVD / CD-ROM, coupled to or in communication with computer system 140 via I / O interface 144. A non-transitory computer-readable storage medium may also include any volatile or non-volatile media such as RAM or ROM that may be included in some embodiments of computer system 140 as system memory 142 or another type of memory.
[0049] In other implementations, program instructions may be communicated using optical, acoustical or other form of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.) conveyed via a communication medium such as a network and / or a wired or wireless link, such as may be implemented via network interface 146. Network interface 146 may be used to interface with other devices 142, which may include other computer systems or any type of external electronic device.
[0050] In some embodiments, system memory 142 may include data store 145, as described herein. In general, system memory 142 and persistent storage 148 may be accessible on other devices 142 through a network and may store data blocks, replicas of data blocks, metadataAttorney Docket No. RAMP-00332-WOassociated with data blocks, and / or their state, database configuration information, and / or any other information usable in implementing the routines described herein.
[0051] In one embodiment, I / O interface 144 may coordinate I / O traffic between processors 141a, etc., system memory 142, and any peripheral devices in the system, including through network interface 146 or other peripheral interfaces. In some embodiments, I / O interface 144 may perform any necessary protocol, timing or other data transformations to convert data signals from one component (e.g., system memory 142) into a format suitable for use by another component (e.g., processors 141a, etc.).
[0052] In some embodiments, I / O interface 144 may include support for devices attached through various types of peripheral buses, such as a variant of the Peripheral Component Interconnect (PCI) bus standard or the Universal Serial Bus (USB) standard, as examples. Also, in some embodiments, some or all of the functionality of I / O interface 144, such as an interface to system memory 142, may be incorporated directly into processor(s) 141a, etc.
[0053] Network interface 146 may allow data to be exchanged between computer system 140 and other devices attached to a network, such as other computer systems (which may implement one or more storage system server nodes, primary nodes, read-only node nodes, and / or clients of the database systems described herein), for example. In addition, I / O interface 144 may allow communication between computer system 140 and various I / O devices 150 and / or remote storage 148.
[0054] Input / output devices 150 may, in some embodiments, include one or more display terminals, keyboards, keypads, touchpads, scanning devices, voice or optical recognition devices, or any other devices suitable for entering or retrieving data by one or more computer systems 140. These may connect directly to a particular computer system 140 or generally connect to multiple computer systems 140 in a cloud computing environment, grid computing environment, or other system involving multiple computer systems 140.
[0055] Multiple input / output devices 150 may be present in communication with computer system 140 or may be distributed on various nodes of a distributed system that includes computer system 140. In some embodiments, similar input / output devices may be separate from computer system 140 and may interact with one or more nodes of a distributed system that includes computer system 140 through a wired or wireless connection, such as over network interface 146.Attorney Docket No. RAMP-00332-WO
[0056] Network interface 146 may commonly support one or more wireless networking protocols (e.g., Wi-Fi / I EEE 802.11, or another wireless networking standard). Network interface 146 may support communication via any suitable wired or wireless general data networks, such as other types of Ethernet networks, for example. Additionally, network interface 146 may support communication via telecommunications / telephony networks such as analog voice networks or digital fiber communications networks, via storage area networks such as Fibre Channel SANs, or via any other suitable type of network and / or protocol. In various embodiments, computer system 140 may include more, fewer, or different components (e.g., displays, video cards, audio cards, peripheral devices, or an Ethernet interface).
[0057] Any of the distributed system embodiments described herein, or any of their components, may be implemented as one or more network-based services in the cloud computing environment. For example, a read-write node and / or read-only nodes within the database tier of a hardware database system may present database services and / or other types of physical data storage services that employ the distributed storage systems described herein to clients as network-based services.
[0058] In some embodiments, a network-based service may be implemented by a software and / or hardware system designed to support interoperable machine-to-machine interaction over a network. A web service may have an interface described in a machine-processable format. Other systems may interact with the network-based service in a manner prescribed by the description of the network-based service's interface. For example, the network-based service may define various operations that other systems may invoke, and may define a particular application programming interface (API) to which other systems may be expected to conform when requesting the various operations.
[0059] In various embodiments, a network-based service may be requested or invoked through the use of a message that includes parameters and / or data associated with the network-based services request. Such a message may be formatted according to a particular markup language such as Extensible Markup Language (XML), and / or may be encapsulated using a protocol. To perform a network-based services request, a network-based services client may assemble a message including the request and convey the message to an addressable endpoint (e.g., a Uniform Resource Locator (URL)) corresponding to the web service, using an Internet-based application layer transfer protocol such as Hypertext Transfer Protocol (HTTP).Attorney Docket No. RAMP-00332-WO
[0060] Unless otherwise stated, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0061] Although any methods and materials similar or equivalent to those described herein can also be used in the practice or testing of the present invention, a limited number of the exemplary methods and materials are described herein. It will be apparent to those skilled in the art that many more modifications are possible without departing from the inventive concepts herein.
[0062] All terms used herein should be interpreted in the broadest possible manner consistent with the context.
[0063] When a grouping is used herein, all individual members of the group and all combinations and sub-combinations possible of the group are intended to be individually included.
[0064] When a range is stated herein, the range is intended to include all sub-ranges within the range, as well as all individual points within the range.
[0065] When "about," "approximately," or like terms are used herein, they are intended to include amounts, measurements, or the like that do not depart significantly from the expressly stated amount, measurement, or the like, such that the stated purpose of the apparatus or process is not lost.
[0066] All references cited herein are hereby incorporated by reference to the extent that there is no inconsistency with the disclosure of this specification.
[0067] The present invention has been described with reference to certain preferred and alternative embodiments that are intended to be exemplary only and not limiting to the full scope of the present invention, as set forth in the appended claims.
Claims
Attorney Docket No. RAMP-00332-WOClaims1. A data cleanroom transcoder, comprising:a neutral third-party orchestrator configured to manage cryptographic operations for a plurality of collaborating parties;a data processing platform hosting encrypted datasets from the plurality of collaborating parties;wherein the orchestrator is configured to:generate a unique cryptographic entry for each query execution, the unique cryptographic entry including a domain-specific key and a unique salt for each combination of query run and dataset;dynamically generate an ephemeral user-defined function (UDF) that creates a temporary view within a client query execution environment, the temporary view being visible only during a session initiated by an authorized query execution; implement row access policies that validate query authorization by comparing SHA hashes of executed statements against pre-approved queries; andreturn hash-salted identifier values for authorized queries and masked values for unauthorized access attempts, wherein the hash-salted identifier values are non- reversible and prevent reconstruction of original identifiers.
2. The data cleanroom transcoder of claim 1, wherein the orchestrator is further configured to ensure that cryptographic keys and decrypted identifiers are never accessible to any client or collaborating party.
3. The data cleanroom transcoder of claim 1, wherein the ephemeral UDF generates hash-salted values using a combination of a decrypted identifier and the unique salt, and wherein the hash-salted values are unique for each query execution.
4. The data cleanroom transcoder of claim 1, wherein the orchestrator supports analytical queries that return only hash-salted columns and list queries that are automatically rewritten to return owner identifiers upon approval by all collaborating parties.Attorney Docket No. RAMP-00332-WO5. The data cleanroom transcoder of claim 1, wherein all transcoded identifiers, mappings, and session tables are ephemeral and are not persisted beyond query execution.
6. The data cleanroom transcoder of claim 1, wherein the temporary view includes a query template that performs secure inner joins between client queries and generated mapping queries without exposing underlying data.
7. The data cleanroom transcoder of claim 1, wherein the row access policies are enforced through comparison of current statement hashes against allowed statement hashes stored in an allowed statements table.
8. The data cleanroom transcoder of claim 1, wherein the data processing platform comprises an environment wherein computation occurs on a client account and not on an orchestrator account, and further wherein enforcement of the row access policies occurs without moving data or compute of the client's account, whereby the client account is prevented from accessing other collaborators1data because of the row access policy allowing it to execute only the approved query.
9. The data cleanroom transcoder of claim 1, wherein processing of the query occurs solely within the client query execution environment rather than on the orchestrator, further wherein processing of the query occurs without moving data or compute from the client query execution environment, and further wherein the row access policies prevent access to the query by any of the other collaborating parties.
10. The data cleanroom transcoder of claim 1, wherein the orchestrator generates data shares between collaborators and a client's account with row access policies that restrict execution to queries matching SHA hashes of approved queries.
11. The data cleanroom transcoder of claim 10, wherein the SHA hashes of approved queries are compared using one or more runtime platform functions that are resistant to replay or partial execution.
12. The data cleanroom transcoder of claim 4, wherein for list queries, the orchestrator automatically replaces hash-salted values with owner identifiers in query output only upon explicit approval by all involved parties.
13. A method for automated transcoding in data cleanrooms, comprising:receiving a query for analytics across encrypted datasets from multiple collaborating parties;Attorney Docket No. RAMP-00332-WOgenerating, by a neutral third-party orchestrator, a unique cryptographic entry for the query request, the unique cryptographic entry including a domain-specific key and a unique salt for a combination of query run and dataset;dynamically creating an ephemeral user-defined function (UDF) that establishes a temporary view within a client query execution environment;validating query authorization by comparing a SHA hash of an executed statement against preapproved query hashes stored in an allowed statements table;if the query is authorized, returning hash-salted identifier values generated using the unique salt and decrypted identifiers; andif the query is unauthorized, returning masked values,wherein the temporary view is visible only during a query execution session and all transcoded mappings are deleted upon completion of the query execution.
14. The method of claim 13, further comprising ensuring that cryptographic keys and decrypted identifiers are never exposed to any client or collaborating party during transcoding.
15. The method of claim 13, wherein the hash-salted identifier values are non-reversible and prevent reconstruction of original identifiers.
16. The method of claim 13, further comprising:determining whether the query is an analytical query or a list query; andfor list queries, automatically rewriting the query to return owner identifiers upon approval by all collaborating parties.
17. The method of claim 13, wherein generating the hash-salted identifier values comprises:decrypting an encrypted identifier using the domain-specific key to create a decrypted identifier; applying the unique salt to the decrypted identifier to create a salted, decrypted identifier; and generating a hash value from the salted, decrypted identifier.
18. The method of claim 16, further comprising the step of, if the query was determined to be a list query, creating a query template that performs secure inner joins between client final queries and aAttorney Docket No. RAMP-00332-WOgenerated mapping query which contains only an intersection of identifier data between all of the collaborators such that identifiers not shared across all collaborators are excluded from query results to prevent exposing of underlying data.
19. The method of claim 13, wherein the ephemeral UDF is generated at query runtime and includes access controls that return masked values when called without appropriate permissions.
20. The method of claim 13, further comprising establishing data shares between collaborators and a client account with row access policies that enforce execution restrictions based on approved query hashes.
21. The method of claim 13, wherein the execution of the query occurs entirely within a computing account controlled by a client, and wherein the neutral third-party orchestrator does not execute the query nor receive the query results.
22. The method of claim 13, wherein the temporary view containing the hash-salted identifier is session scoped such that a view is only accessible within a query execution session associated with the authorized query and is inaccessible outside the session.
23. The method of claim 13, wherein the unique salt is generated and stored within the neutral third-party orchestrator, is accessible only during the authorized query execution, and is deleted from the orchestrator upon completion of the execution to prevent replay attacks.
24. A non-transitory computer-readable medium storing instructions that, when executed by a processor, cause the processor to perform operations comprising:managing cryptographic operations for multiple collaborating parties through a neutral third- party orchestrator;generating unique cryptographic entries for each query execution, each entry including domainspecific keys and unique salts;dynamically creating ephemeral user-defined functions (UDFs) that establish temporary views where only metadata is visible during authorized query sessions;implementing row access policies that validate queries by comparing SHA hashes against preapproved query hashes; andAttorney Docket No. RAMP-00332-WOreturning hash-salted identifier values for authorized queries and masked values for unauthorized access, wherein the hash-salted values are non-reversible and all transcoded mappings are ephemeral.
25. The non-transitory computer-readable medium of claim 24, wherein the operations further comprise supporting both analytical queries and list queries that are automatically rewritten to return owner identifiers upon collaborative approval by all parties.
