# US 2021/0334404 A1 · Privacy preserving application and device error detection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0334404 A1
- Document ID: US20210334404A1
- Status: Published application
- Kind: A1
- Application number: 17/285,547
- Filed: 2020-05-12
- Published: 2021-10-28
- Earliest claimed: 2020-04-23
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Gang Wang; Marcel M. Moti Yung; David Bruce Turner
- Web page: https://patentgrep.com/patent/US20210334404A1

## CPC

- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- G06F 21/44: Program or device authentication
- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F 21/6254: {by anonymising data, e.g. decorrelating personal data from the owner's identification}
- H04L 9/321: {involving a third party or a trusted authority}
- H04L 9/3247: {involving digital signatures}
- H04L 9/3257: {using blind signatures}
- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 9/3268: {using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/123: {received data contents, e.g. message integrity}
- H04L 63/126: {the source of the received data}
- H04L 63/1433: {Vulnerability analysis}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for detecting errors in a client device and its associated applications while preserving the privacy of the user of the device. Methods can include obtaining and blinding contextual application data for an application on a device. Data regarding the application's digital certificate and device trustworthiness data are obtained and provided to a trust assessment server along with the blinded data. This server can provide indications that the device is trustworthy and the application is authentic, and can digitally sign the blinded data. The digital signature can be validated and the unblinded contextual application data can be obtained. If the unblinded data matches the contextual application data, the application can provide the digital signature, the indications, and the unblinded contextual application data to an error detection server, which in turn can indicate the application does not have errors.

## Claims

### Claim 1

A computer-implemented method, comprising:
obtaining, by an application executing on a client device, contextual application data representing a context in which content is provided and interacted with, within the application;
blinding, by the application, the contextual application data to generate blinded contextual application data;
obtaining data regarding a digital certificate of the application and device trustworthiness data including data that can be used in assessing trustworthiness of the client device;
providing, to a trust assessment server, the blinded contextual application data, the data regarding the digital certificate, and the device trustworthiness data;
receiving, the trust assessment server, a set of data including (1) a first indication specifying that the client device is trustworthy, (2) a second indication specifying that the application is authentic, and (3) a digital signature, of the trust assessment server, over a first data item;
validating the digital signature over the first data item;
in response to validating the digital signature over the first data item, unblinding, by the application, the first data item to obtain an unblinded first data item;
confirming that the unblinded first data item matches the contextual application data;
in response to confirming that the unblinded first data item matches the contextual application data, providing, to an application error detection server, the digital signature over the first data item, the first indication, the second indication, and the unblinded first data item; and
receiving, from the application error detection server, a third indication specifying that the application does not have any errors.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
determining, by the trust assessment server, that (1) the client device is trustworthy based on the device trustworthiness data and (2) the application is authentic by comparing the data regarding the digital certificate of the application with data regarding digital certificates of known authentic applications; and
providing, by the trust assessment server and to the client device, the first indication specifying that the client device is trustworthy and the second indication specifying that the application is a known application.

### Claim 3 (depends on 1)

The computer implemented method of claim 1, wherein the data regarding a digital certificate of the application includes:
a digital digest of an application package (APK) of the application; or
a cryptohash of the APK of the application.

### Claim 4 (depends on 1)

The computer implemented method of claim 1, wherein obtaining data regarding a digital certificate of the application and device trustworthiness data including device data that can be used in assessing trustworthiness of the client device, includes:
obtaining data regarding a digital certificate of the application by a trusted application or an operating system executing on the client device; and
obtaining device trustworthiness data by a device trustworthiness client application executing on the client device.

### Claim 5 (depends on 1)

The computer implemented method of claim 1, wherein the first indication specifying that the client device is trustworthy is a two-bit value, wherein:
a first bit of the two-bit value indicates that the client device has not been inappropriately modified or altered; and
a second bit of the two-bit value indicates that a profile of the client device matches a profile of a device that has previously been verified.

### Claim 6 (depends on 1)

The computer implemented method of claim 1, further comprising:
in response to providing, to the application error detection server, the digital signature over the first data item, the first indication, the second indication, and the contextual application data, communicating with the trust assessment server to verify the digital signature, wherein the digital signature is an IETF VOPRF digital signature and is verifiable by the trust assessment server that initially generated the digital signature; and
receiving, by the application error detection server and from the trust assessment server, a fourth indication specifying that the digital signature is valid.

### Claim 7

A computer-implemented method, comprising:
generating, by an application executing on a client device, a random set of data;
blinding, by the application, the random set of data to generate blinded random set of data;
obtaining data regarding a digital certificate of the application and device trustworthiness data including device data that can be used in assessing trustworthiness of the client device;
providing, to a trust assessment server, the blinded random set of data, the data regarding the digital certificate, and the device trustworthiness data;
receiving, from the trust assessment server, a first set of data including (1) a first indication specifying that the client device is trustworthy, (2) a second indication specifying that the application is authentic, and (3) a digital signature, of the trust assessment server, over a first data item;
validating the digital signature over the first data item;
in response to validating the digital signature over the first data item, unblinding, by the application, the first data item to obtain an unblinded first data item;
confirming that the unblinded first data item matches the random set of data;
in response to confirming that the unblinded first data item matches the random set of data, obtaining, by the application, contextual application data representing a context in which content is provided and interacted with, within the application;
providing, to an application error detection server, the digital signature over the first data item, the first indication, the second indication, and the contextual application data; and
receiving, from the application error detection server, a third indication specifying that the application does not have any errors.

### Claim 8

A system, comprising:
one or more memory devices storing instructions; and
one or more data processing apparatus that are configured to interact with the one or more memory devices, and upon execution of the instructions, perform operations including:
obtaining, by an application executing on a client device, contextual application data representing a context in which content is provided and interacted with, within the application;
blinding, by the application, the contextual application data to generate blinded contextual application data;
obtaining data regarding a digital certificate of the application and device trustworthiness data including data that can be used in assessing trustworthiness of the client device;
providing, to a trust assessment server, the blinded contextual application data, the data regarding the digital certificate, and the device trustworthiness data;
receiving, the trust assessment server, a set of data including (1) a first indication specifying that the client device is trustworthy, (2) a second indication specifying that the application is authentic, and (3) a digital signature, of the trust assessment server, over a first data item;
validating the digital signature over the first data item;
in response to validating the digital signature over the first data item, unblinding, by the application, the first data item to obtain an unblinded first data item;
confirming that the unblinded first data item matches the contextual application data;
in response to confirming that the unblinded first data item matches the contextual application data, providing, to an application error detection server, the digital signature over the first data item, the first indication, the second indication, and the unblinded first data item; and
receiving, from the application error detection server, a third indication specifying that the application does not have any errors.

### Claim 9 (depends on 8)

The system of claim 8, wherein the one or more data processing apparatus are configured to perform operations further comprising:
determining, by the trust assessment server, that (1) the client device is trustworthy based on the device trustworthiness data and (2) the application is authentic by comparing the data regarding the digital certificate of the application with data regarding digital certificates of known authentic applications; and
providing, by the trust assessment server and to the client device, the first indication specifying that the client device is trustworthy and the second indication specifying that the application is a known application.

### Claim 10 (depends on 8)

The system of claim 8, wherein the data regarding a digital certificate of the application includes:
a digital digest of an application package (APK) of the application; or
a cryptohash of the APK of the application.

### Claim 11 (depends on 8)

The system of claim 8, wherein obtaining data regarding a digital certificate of the application and device trustworthiness data including device data that can be used in assessing trustworthiness of the client device, includes:
obtaining data regarding a digital certificate of the application by a trusted application or an operating system executing on the client device; and
obtaining device trustworthiness data by a device trustworthiness client application executing on the client device.

### Claim 12 (depends on 8)

The system of claim 8, wherein the first indication specifying that the client device is trustworthy is a two-bit value, wherein:
a first bit of the two-bit value indicates that the client device has not been inappropriately modified or altered; and
a second bit of the two-bit value indicates that a profile of the client device matches a profile of a device that has previously been verified.

### Claim 13 (depends on 8)

The system of claim 8, wherein the one or more data processing apparatus are configured to perform operations further comprising:
in response to providing, to the application error detection server, the digital signature over the first data item, the first indication, the second indication, and the contextual application data, communicating with the trust assessment server to verify the digital signature, wherein the digital signature is an IETF VOPRF digital signature and is verifiable by the trust assessment server that initially generated the digital signature; and
receiving, by the application error detection server and from the trust assessment server, a fourth indication specifying that the digital signature is valid.

### Claim 14

A non-transitory computer readable medium storing instructions that, when executed by one or more data processing apparatus, cause the one or more data processing apparatus to perform operations comprising:
obtaining, by an application executing on a client device, contextual application data representing a context in which content is provided and interacted with, within the application;
blinding, by the application, the contextual application data to generate blinded contextual application data;
obtaining data regarding a digital certificate of the application and device trustworthiness data including data that can be used in assessing trustworthiness of the client device;
providing, to a trust assessment server, the blinded contextual application data, the data regarding the digital certificate, and the device trustworthiness data;
receiving, the trust assessment server, a set of data including (1) a first indication specifying that the client device is trustworthy, (2) a second indication specifying that the application is authentic, and (3) a digital signature, of the trust assessment server, over a first data item;
validating the digital signature over the first data item;
in response to validating the digital signature over the first data item, unblinding, by the application, the first data item to obtain an unblinded first data item;
confirming that the unblinded first data item matches the contextual application data;
in response to confirming that the unblinded first data item matches the contextual application data, providing, to an application error detection server, the digital signature over the first data item, the first indication, the second indication, and the unblinded first data item; and
receiving, from the application error detection server, a third indication specifying that the application does not have any errors.

### Claim 15 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein the instructions cause the one or more data processing apparatus to perform operations comprising further comprising:
determining, by the trust assessment server, that (1) the client device is trustworthy based on the device trustworthiness data and (2) the application is authentic by comparing the data regarding the digital certificate of the application with data regarding digital certificates of known authentic applications; and
providing, by the trust assessment server and to the client device, the first indication specifying that the client device is trustworthy and the second indication specifying that the application is a known application.

### Claim 16 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein the data regarding a digital certificate of the application includes:
a digital digest of an application package (APK) of the application; or
a cryptohash of the APK of the application.

### Claim 17 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein obtaining data regarding a digital certificate of the application and device trustworthiness data including device data that can be used in assessing trustworthiness of the client device, includes:
obtaining data regarding a digital certificate of the application by a trusted application or an operating system executing on the client device; and
obtaining device trustworthiness data by a device trustworthiness client application executing on the client device.

### Claim 18 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein the first indication specifying that the client device is trustworthy is a two-bit value, wherein:
a first bit of the two-bit value indicates that the client device has not been inappropriately modified or altered; and
a second bit of the two-bit value indicates that a profile of the client device matches a profile of a device that has previously been verified.

### Claim 19 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein the instructions cause the one or more data processing apparatus to perform operations comprising:
in response to providing, to the application error detection server, the digital signature over the first data item, the first indication, the second indication, and the contextual application data, communicating with the trust assessment server to verify the digital signature, wherein the digital signature is an IETF VOPRF digital signature and is verifiable by the trust assessment server that initially generated the digital signature; and
receiving, by the application error detection server and from the trust assessment server, a fourth indication specifying that the digital signature is valid.

### Claim 20

A non-transitory computer readable medium storing instructions that, when executed by one or more data processing apparatus, cause the one or more data processing apparatus to perform operations comprising:
generating, by an application executing on a client device, a random set of data;
blinding, by the application, the random set of data to generate blinded random set of data;
obtaining data regarding a digital certificate of the application and device trustworthiness data including device data that can be used in assessing trustworthiness of the client device;
providing, to a trust assessment server, the blinded random set of data, the data regarding the digital certificate, and the device trustworthiness data;
receiving, from the trust assessment server, a first set of data including (1) a first indication specifying that the client device is trustworthy, (2) a second indication specifying that the application is authentic, and (3) a digital signature, of the trust assessment server, over a first data item;
validating the digital signature over the first data item;
in response to validating the digital signature over the first data item, unblinding, by the application, the first data item to obtain an unblinded first data item;
confirming that the unblinded first data item matches the random set of data;
in response to confirming that the unblinded first data item matches the random set of data, obtaining, by the application, contextual application data representing a context in which content is provided and interacted with, within the application;
providing, to an application error detection server, the digital signature over the first data item, the first indication, the second indication, and the contextual application data; and
receiving, from the application error detection server, a third indication specifying that the application does not have any errors.
