# US 2022/0284276 A1 · Data storage method for speech-related dnn operations

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

- Number: US 2022/0284276 A1
- Document ID: US20220284276A1
- Status: Published application
- Kind: A1
- Application number: 17/547,857
- Filed: 2021-12-10
- Published: 2022-09-08
- Earliest claimed: 2021-03-08
- Assignees: Chipintelli Technology Co., Ltd
- Applicants: Chipintelli Technology Co., Ltd
- Inventors: Zhaoqiang QIU; Lai ZHANG; Fujun WANG; Wei TIAN; Yingbin YANG; Yangyang PEI
- Web page: https://patentgrep.com/patent/US20220284276A1

## CPC

- G06N 3/063: using electronic means
- G06F 3/061: {Improving I/O performance}
- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data storage method for speech-related deep neural network (DNN) operations, characterized by comprising the following steps: 1. determining the configuration parameters by a user; 2. configuring a peripheral storage access interface; 3. configuring a multi-transmitting interface of feature storage array; 4. enabling CPU to store to-be-calculated data in a storage space between the feature storage space start address and the feature storage space end address of the peripheral storage device; 5. after data storage, enabling CPU to check the state of the peripheral storage access interface and the multi-transmitting interface of feature storage array; 6. upon receiving a transportation completion signal of the peripheral storage access interface by CPU, enabling the multi-transmitting interface of feature storage array. 7. upon receiving a transportation completion signal of the multi-transmitting interface of feature storage array by CPU, repeating step 6.

## Claims

### Claim 1

A data storage method for speech-related deep neural network (DNN) operations, characterized by comprising the following steps:
step 1. determining the configuration parameters by a user, in particular:
determining total frames, skipped frames, output channels and single channel output frames, number of data of unit frame required for DNN operations, depth of data of unit memory of feature storage array, and number of memories for storing data of unit frame, of the feature data to be calculated;
the depth of data of unit memory of the feature storage array representing the upper limit of data stored in a unit memory;
and satisfying the following formula: the depth of data of unit memory of feature storage array in a feature storage device is greater than or equal to the number of data of unit frame required for DNN operations; and
determining a feature storage start address, a feature storage space start address and a feature storage space end address used for the calculation in a peripheral storage device, satisfying the following conditions: number of memories for storing data of unit frame×depth of data of unit memory≥number of data between feature storage space start address and feature storage space end address; and feature storage space end address≥feature storage start address≥feature storage space start address;
step 2. configuring a peripheral storage access interface;
enabling CPU to configure the total frames of feature data to be calculated and the number of data of unit frame required for DNN operations of the peripheral storage access interface, as well as the feature storage start address, the feature storage space start address and the feature storage space end address of the peripheral storage device, according to step 1;
step 3. configuring a multi-transmitting interface of feature storage array;
enabling CPU to configure the skipped frames, the output channels and the single channel output frames of the multi-transmitting interface of feature storage array, according to step 1;
configuring the initial frame number of each channel of the multi-transmitting interface of feature storage array according to the following formula:
initial frame number of each channel=1+(channel number−1)×(skipped frames+1)
step 4. enabling CPU to store to-be-calculated data in a storage space between the feature storage space start address and the feature storage space end address of the peripheral storage device;
step 5: after data storage, enabling CPU to check the state of the peripheral storage access interface and the multi-transmitting interface of feature storage array; if both are in initial state, proceeding to step 51: enabling the peripheral storage access interface; afterwards, from the feature storage start address determined in the peripheral storage device, transporting the data between the feature storage space start address and the feature storage space end address in the peripheral storage device to a feature storage array, and sending a transportation completion signal of the peripheral storage access interface to CPU;
step 52: if both are not in initial state, waiting until the peripheral storage access interface and the multi-transmitting interface of feature storage array return to initial state, and then proceeding to step 51;
step 6. upon receiving a transportation completion signal of the peripheral storage access interface by CPU, enabling the multi-transmitting interface of feature storage array, so that the multi-transmitting interface of feature storage array starts to transport data in parallel according to configuration requirements;
the method for transporting data in parallel comprising the following steps: channels of the multi-transmitting interface of feature storage array receive data of single frame simultaneously, and the initial frame received by each channel is the initial frame number determined in step 3 until all the frame data in the feature storage array are transported, and simultaneously the multi-transmitting interface of feature storage array sends a transportation completion signal to CPU;
upon receiving a transportation completion signal of the peripheral storage access interface by CPU, storing the new data to be calculated in the storage space between the feature storage space start address and the feature storage space end address of the peripheral storage device for the next calculation; and
step 7. upon receiving a transportation completion signal of the multi-transmitting interface of feature storage array by CPU, determining whether the new data to be calculated have been stored completely; if so, enabling the peripheral storage access interface, and repeating step 6; if not, waiting until the calculated data have been stored completely, enabling the peripheral storage access interface, and repeating step 6.

### Claim 2 (depends on 1)

The data storage method for speech-related DNN operations according to claim 1, characterized in that the data transportation of step 5 follows the process of sequence 1, sequence 2 and sequence 3, wherein sequence 1 starts from a feature storage start address to a feature storage space start address, sequence 2 starts from a feature storage space start address to a feature storage space end address, and sequence 3 starts from a feature storage space end address until the transportation process is completed.
