# US 2024/0202142 A1 · Method for handling configuration data for an interconnection protocol within hibernate operation, controller, and electronic device

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

- Number: US 2024/0202142 A1
- Document ID: US20240202142A1
- Status: Published application
- Kind: A1
- Application number: 18/116,177
- Filed: 2023-03-01
- Published: 2024-06-20
- Earliest claimed: 2022-12-19
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: FU HSIUNG LIN; LAN FENG WANG
- Web page: https://patentgrep.com/patent/US20240202142A1

## CPC

- G06F 13/1668: {Details of memory controller}
- G06F 9/4418: {Suspend and resume; Hibernate and awake}
- G06F 13/382: {using universal interface adapter}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for handling configuration data for an interconnection protocol within hibernation operation, a controller and an electronic device are provided. The method includes the following steps. In an electronic device, a hibernation entering indication signal indicating entering a hibernation state of the interconnection protocol is received. The electronic device has a memory and an index table, wherein the index table includes attribute identifiers corresponding to management information base (MIB) attributes, which belong to sub-layers of a link layer of the interconnection protocol and are required to be retained during hibernation. In response to the hibernation entering indication signal, MIB attribute storing is performed by a hardware protocol engine for implementing the link layer to read, for each one of the sub-layers, attribute data from the sub-layers according to the attribute identifiers from the index table sequentially and to write the attribute data sequentially to the memory. After the entering the hibernation state, the hardware protocol engine is in a power saving state or off while the memory remains on.

## Claims

### Claim 1

A method for handling configuration data for an interconnection protocol within hibernate operation, suitable for a first device capable of linking to a second device according to the interconnection protocol, the method comprising following steps:
in the first device, receiving a hibernation entering indication signal indicating entering a hibernation state of the interconnection protocol, wherein the first device has a memory and an index table, the index table includes attribute identifiers corresponding to a plurality of management information base (MIB) attributes, the MIB attributes belong to sub-layers of a link layer of the interconnection protocol and are required to be retained during hibernation; and
in response to the hibernation entering indication signal, performing MIB attribute storing by a hardware protocol engine for implementing the link layer of the interconnection protocol to read, for each one of the sub-layers, attribute data from the one of the sub-layers according to corresponding attribute identifiers from the index table sequentially and to write the attribute data read from the one of the sub-layers sequentially to the memory,
wherein the memory is in a first power domain and the hardware protocol engine is in a second power domain independent of the first power domain; and after the hardware protocol engine enters the hibernation state, the second power domain is in a power saving state or off while the first power domain remains on.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the step of performing the MIB attribute storing includes:
for each one of the sub-layers:
obtaining each of the attribute identifiers for the one of the sub-layers from the index table;
for each of the attribute identifiers for the one of the sub-layers obtained from the index table,
reading attribute data from the one of the sub-layers according to the attribute identifier for the one of the sub-layers obtained from the index table; and
writing the attribute data read from the one of the sub-layers to the memory.

### Claim 3 (depends on 2)

The method according to claim 2, wherein during the MIB attribute storing, after the attribute data is read from the one of the sub-layers according to each of the attribute identifiers for the one of the sub-layers obtained from the index table, an address signal is obtained by generating an address count value according to a read confirm signal issued from the one of the sub-layers, and the address signal is sent to the memory, wherein the address signal is a corresponding address for writing of next attribute data read from the one of the sub-layers to the memory.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
in the first device, receiving a hibernation exiting indication signal indicating exiting the hibernation state of the interconnection protocol; and
in response to the hibernation exiting indication signal, performing MIB attribute restoring by the hardware protocol engine to read, for each one of the sub-layers, attribute data retained in the memory sequentially according to the corresponding attribute identifiers from the index table and to write the attribute data read from the memory sequentially to the one of the sub-layers.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the step of performing the MIB attribute restoring includes, for each one of the sub-layers:
obtaining each of the attribute identifiers for the one of the sub-layers from the index table;
for each of the attribute identifiers for the one of the sub-layers obtained from the index table,
reading attribute data retained in the memory according to an address signal obtained based on an address count value in response to the attribute identifier for the one of the sub-layers obtained from the index table; and
writing the attribute data read from the memory to the one of the sub-layers according to the attribute identifier for the one of the sub-layers obtained from the index table.

### Claim 6 (depends on 5)

The method according to claim 5, wherein during the MIB attribute restoring, after the attribute data read from the memory is written to the one of the sub-layers according to each of the corresponding attribute identifiers for the one of the sub-layers obtained from the index table, the address count value is updated according to a write confirm signal issued from the one of the sub-layers to obtain an update of the address signal, and the update of the address signal is sent to the memory, wherein the update of the address signal is a corresponding address for reading of next attribute data retained in the memory.

### Claim 7 (depends on 4)

The method according to claim 4, wherein the attribute identifiers include a first attribute identifier corresponding to Quality of Service (QOS) enable bits and a second attribute identifier corresponding to a QoS counter value; during the MIB attribute restoring performed by the hardware protocol engine, attribute data of the first attribute identifier is restored earlier than attribute data of the second attribute identifier.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the index table is configured to be capable of making the attribute data of the first attribute identifier read earlier than the attribute data of the second attribute identifier so that the attribute data of the first attribute identifier is restored earlier than the attribute data of the second attribute identifier.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the link layer is implemented according to Unified Protocol (UniPro); the sub-layers include a physical adapter layer, a data link layer, a network layer, a transport layer, and a device management entity layer; and the device management entity layer is further implemented to perform the MIB attribute storing.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the interconnection protocol is based on Universal Flash Storage (UFS) standard.

### Claim 11

A controller for a first device that is linkable to a second device according to an interconnection protocol, the controller comprising:
a memory in a first power domain, wherein the first power domain is on in a hibernation state of the interconnection protocol;
an index table unit configured to provide an index table, wherein the index table includes attribute identifiers corresponding to a plurality of management information base (MIB) attributes, the MIB attributes belong to sub-layers of a link layer of the interconnection protocol and are required to be retained during hibernation; and
a hardware protocol engine, coupled to the memory, for implementing the link layer of the interconnection protocol, wherein in response to a hibernation entering indication signal indicating entering the hibernation state of the interconnection protocol, the hardware protocol engine further performs MIB attribute storing to read, for each one of the sub-layers, attribute data from the one of the sub-layers according to corresponding attribute identifiers from the index table sequentially and to write the attribute data read from the one of the sub-layers sequentially to the memory,
wherein the hardware protocol engine is in a second power domain independent of the first power domain; and after the hardware protocol engine enters the hibernation state, the second power domain is in a power saving state or off while the first power domain remains on.

### Claim 12 (depends on 11)

The controller according to claim 11, wherein the hardware protocol engine performs the MIB attribute storing by a plurality of operations including:
for each one of the sub-layers:
obtaining each of the attribute identifiers for the one of the sub-layers from the index table;
for each of the attribute identifiers for the one of the sub-layers obtained from the index table,
reading attribute data from the one of the sub-layers according to the attribute identifier for the one of the sub-layers obtained from the index table; and
writing the attribute data read from the one of the sub-layers to the memory.

### Claim 13 (depends on 12)

The controller according to claim 12, wherein during the MIB attribute storing, after the attribute data is read from the one of the sub-layers according to each of the attribute identifiers for the one of the sub-layers obtained from the index table, the hardware protocol engine further obtains an address signal based on an address count value which is generated according to a read confirm signal issued from the one of the sub-layers and sends the address signal to the memory, wherein the address signal is a corresponding address for writing of next attribute data read from the one of the sub-layers to the memory.

### Claim 14 (depends on 11)

The controller according to claim 11, wherein in response to a hibernation exiting indication signal indicating exiting the hibernation state of the interconnection protocol, the hardware protocol engine further performs MIB attribute restoring to read, for each one of the sub-layers, attribute data retained in the memory sequentially according to the corresponding attribute identifiers from the index table and to write the attribute data read from the memory sequentially to the one of the sub-layers.

### Claim 15 (depends on 14)

The controller according to claim 14, wherein the hardware protocol engine performs the MIB attribute restoring by a plurality of operations including:
for each one of the sub-layers:
obtaining each of the attribute identifiers for the one of the sub-layers from the index table;
for each of the attribute identifiers for the one of the sub-layers obtained from the index table,
reading attribute data retained in the memory according to an address signal obtained based on an address count value in response to the attribute identifier for the one of the sub-layers obtained from the index table; and
writing the attribute data read from the memory to the one of the sub-layers according to the attribute identifier for the one of the sub-layers obtained from the index table.

### Claim 16 (depends on 15)

The controller according to claim 15, wherein during the MIB attribute restoring, after the attribute data read from the memory is written to the one of the sub-layers according to each of the corresponding attribute identifiers for the one of the sub-layers obtained from the index table, the hardware protocol engine updates the address count value according to a write confirm signal issued from the one of the sub-layers to obtain an update of the address signal, and sends the update of the address signal to the memory, wherein the update of the address signal is a corresponding address for reading of next attribute data retained in the memory.

### Claim 17 (depends on 14)

The controller according to claim 14, wherein the attribute identifiers include a first attribute identifier corresponding to Quality of Service (QOS) enable bits and a second attribute identifier corresponding to a QoS counter value; the hardware protocol engine is capable of, during the MIB attribute restoring, making attribute data of the first attribute identifier restored earlier than attribute data of the second attribute identifier.

### Claim 18 (depends on 17)

The controller according to claim 17, wherein the index table is configured to be capable of making the attribute data of the first attribute identifier read earlier than the attribute data of the second attribute identifier so that the attribute data of the first attribute identifier is restored earlier than the attribute data of the second attribute identifier.

### Claim 19 (depends on 11)

The controller according to claim 11, wherein the link layer is implemented according to Unified Protocol (UniPro); the sub-layers include a physical adapter layer, a data link layer, a network layer, a transport layer, and a device management entity layer; and the device management entity layer is further implemented to perform the MIB attribute storing.

### Claim 20 (depends on 11)

The controller according to claim 11, wherein the interconnection protocol is based on Universal Flash Storage (UFS) standard.

### Claim 21

An electronic device, operable to link to another electronic device according to an interconnection protocol, the electronic device comprising:
an interface circuit for implementing a physical layer of the interconnection protocol to link to the another electronic device;
a memory in a first power domain, wherein the first power domain is on in a hibernation state of the interconnection protocol;
an index table unit configured to provide an index table, wherein the index table includes attribute identifiers corresponding to a plurality of management information base (MIB) attributes, the MIB attributes belong to sub-layers of a link layer of the interconnection protocol and are required to be retained during hibernation; and
a hardware protocol engine, coupled to the interface circuit and the memory, for implementing the link layer of the interconnection protocol, wherein in response to a hibernation entering indication signal indicating entering the hibernation state of the interconnection protocol, the hardware protocol engine further performs MIB attribute storing to read, for each one of the sub-layers, attribute data from the one of the sub-layers according to corresponding attribute identifiers from the index table sequentially and to write the attribute data read from the one of the sub-layers sequentially to the memory,
wherein the hardware protocol engine is in a second power domain independent of the first power domain; and after the hardware protocol engine enters the hibernation state, the second power domain is in a power saving state or off while the first power domain remains on.

### Claim 22 (depends on 21)

The electronic device according to claim 21, wherein in response to a hibernation exiting indication signal indicating exiting the hibernation state of the interconnection protocol, the hardware protocol engine further performs MIB attribute restoring to read, for each one of the sub-layers, attribute data retained in the memory sequentially according to the corresponding attribute identifiers from the index table and to write the attribute data read from the memory sequentially to the one of the sub-layers.

### Claim 23 (depends on 22)

The electronic device according to claim 22, wherein the attribute identifiers include a first attribute identifier corresponding to Quality of Service (QOS) enable bits and a second attribute identifier corresponding to a QoS counter value; the hardware protocol engine is capable of, during the MIB attribute restoring, making attribute data of the first attribute identifier restored earlier than attribute data of the second attribute identifier.

### Claim 24 (depends on 23)

The electronic device according to claim 23, wherein the index table is configured to be capable of making the attribute data of the first attribute identifier read earlier than the attribute data of the second attribute identifier so that the attribute data of the first attribute identifier is restored earlier than the attribute data of the second attribute identifier.

### Claim 25 (depends on 21)

The electronic device according to claim 21, wherein the link layer is implemented according to Unified Protocol (UniPro); the sub-layers include a physical adapter layer, a data link layer, a network layer, a transport layer, and a device management entity layer; and the device management entity layer is further implemented to perform the MIB attribute storing.

### Claim 26 (depends on 21)

The electronic device according to claim 21, wherein the interconnection protocol is based on Universal Flash Storage (UFS) standard.
