# US 2021/0173428 A1 · A data processing accelerator having a local time unit to generate timestamps

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

- Number: US 2021/0173428 A1
- Document ID: US20210173428A1
- Status: Published application
- Kind: A1
- Application number: 16/315,924
- Filed: 2019-01-04
- Published: 2021-06-10
- Earliest claimed: 2019-01-04
- Assignees: Baidu USA LLC; Baidu.Com Times Technology (Beijing) Co., Ltd.
- Applicants: Baidu USA LLC; Baidu.com Times Technology (Beijing) Co., Ltd.
- Inventors: Yong LIU; Yueqiang CHENG; Jian OUYANG; Tao WEI
- Web page: https://patentgrep.com/patent/US20210173428A1

## CPC

- G06F 1/10: Distribution of clock signals {, e.g. skew}
- G06F 21/606: {by securing the transmission between two devices or processes}
- G06F 1/08: Clock generators with changeable or programmable clock frequency
- G06F 9/3877: {using a secondary processor, e.g. coprocessor (peripheral processor G06F13/12)}
- G06F 21/725: {operating on a secure reference time value}
- H04L 67/142: Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
- 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

According to one embodiment, a DP accelerator includes one or more execution units (EUs) configured to perform data processing operations in response to an instruction received from a host system coupled over a bus. The DP accelerator includes a security unit (SU) configured to establish and maintain a secure channel with the host system to exchange commands and data associated with the data processing operations. The DP accelerator includes a time unit (TU) coupled to the security unit to provide timestamp services to the security unit, where the time unit includes a clock generator to generate clock signals locally without having to derive the clock signals from an external source. The TU includes a timestamp generator coupled to the clock generator to generate a timestamp based on the clock signals, and a power supply to provide power to the clock generator and the timestamp generator.

## Claims

### Claim 1

A data processing (DP) accelerator, comprising:
one or more execution units (EUs) configured to perform data processing operations in response to an instruction received from a host system coupled over a bus;
a security unit (SU) configured to establish and maintain a secure channel with the host system to exchange commands and data associated with the data processing operations; and
a time unit (TU) coupled to the security unit to provide timestamp services to the security unit, wherein the time unit comprises
a clock generator to generate clock signals locally without having to derive the clock signals from an external source,
a timestamp generator coupled to the clock generator to generate a timestamp based on the clock signals, and
a power supply to provide power to the clock generator and the timestamp generator.

### Claim 2 (depends on 1)

The DP accelerator of claim 1, wherein the time unit further comprises:
a counter coupled to the clock generator to count a count value based on the clock signals generated from the clock generator; and
a persistent storage to store the count value, wherein the count value is utilized by the timestamp generator to generate the timestamp.

### Claim 3 (depends on 2)

The DP accelerator of claim 2, wherein the counter is configured to increment the count value in response to each of the clock signals, and wherein the persistent storage comprises a 32-bit variable.

### Claim 4 (depends on 1)

The DP accelerator of claim 1, wherein the time unit further comprises a local oscillator coupled to the clock generator to provide precise pulse signals.

### Claim 5 (depends on 1)

The DP accelerator of claim 1, wherein the power supply comprises a battery to provide the power without having to draw power from an external power source.

### Claim 6 (depends on 1)

The DP accelerator of claim 1, wherein the clock signals are generated without having to communicate with an external clock source.

### Claim 7 (depends on 1)

The DP accelerator of claim 1, wherein the time unit further comprises a clock calibrator configured to calibrate the clock generator.

### Claim 8 (depends on 1)

The DP accelerator of claim 1, wherein the timestamp is utilized by the security unit to time stamp a session key for encrypting the exchanged data between the DP accelerator and the host system.

### Claim 9 (depends on 8)

The DP accelerator of claim 8, wherein the timestamp is utilized to time stamp an information exchange for the DP accelerator, and the timestamp can be used to determine a freshness of the information exchange.

### Claim 10 (depends on 8)

The DP accelerator of claim 8, wherein the timestamp of the session key is utilized to determine whether the session key has expired.

### Claim 11

A data processing system, comprising:
a host system hosting one or more trusted execution environments (TEEs), each TEE hosting at least one application therein; and
one or more data processing (DP) accelerators coupled to the host system over a bus, wherein each of the DP accelerators comprises
one or more execution units (EUs) configured to perform data processing operations in response to an instruction received from a host system coupled over a bus,
a security unit (SU) configured to establish and maintain a secure channel with the host system to exchange commands and data associated with the data processing operations, and
a time unit (TU) coupled to the security unit to provide timestamp services to the security unit, wherein the time unit comprises
a clock generator to generate clock signals locally without having to derive the clock signals from an external source,
a timestamp generator coupled to the clock generator to generate a timestamp based on the clock signals, and
a power supply to provide power to the clock generator and the timestamp generator.

### Claim 12 (depends on 11)

The system of claim 11, wherein the time unit further comprises:
a counter coupled to the clock generator to count a count value based on the clock signals generated from the clock generator; and
a persistent storage to store the count value, wherein the count value is utilized by the timestamp generator to generate the timestamp.

### Claim 13 (depends on 12)

The system of claim 12, wherein the counter is configured to increment the count value in response to each of the clock signals, and wherein the persistent storage comprises a 32-bit variable.

### Claim 14 (depends on 11)

The system of claim 11, wherein the time unit further comprises a local oscillator coupled to the clock generator to provide precise pulse signals.

### Claim 15 (depends on 11)

The system of claim 11, wherein the power supply comprises a battery to provide the power without having to draw power from an external power source.

### Claim 16 (depends on 11)

The system of claim 11, wherein the clock signals are generated without having to communicate with an external clock source.

### Claim 17 (depends on 11)

The system of claim 11, wherein the time unit further comprises a clock calibrator configured to calibrate the clock generator.

### Claim 18 (depends on 11)

The system of claim 11, wherein the timestamp is utilized by the security unit to time stamp a session key for encrypting the exchanged data between the DP accelerator and the host system.

### Claim 19 (depends on 18)

The system of claim 18, wherein the timestamp is utilized to time stamp an information exchange for the DP accelerator, and the timestamp can be used to determine a freshness of the information exchange.

### Claim 20 (depends on 18)

The system of claim 18, wherein the timestamp of the session key is utilized to determine whether the session key has expired.
