CN115657950A - Data read-write processing method and device based on multiple channels and related equipment - Google Patents

Data read-write processing method and device based on multiple channels and related equipment Download PDF

Info

Publication number
CN115657950A
CN115657950A CN202211342516.5A CN202211342516A CN115657950A CN 115657950 A CN115657950 A CN 115657950A CN 202211342516 A CN202211342516 A CN 202211342516A CN 115657950 A CN115657950 A CN 115657950A
Authority
CN
China
Prior art keywords
data
writing
write
channel
written
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211342516.5A
Other languages
Chinese (zh)
Other versions
CN115657950B (en
Inventor
倪黄忠
邱家扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shi Creative Electronics Co ltd
Original Assignee
Shenzhen Shichuangyi Electronic Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shichuangyi Electronic Co ltd filed Critical Shenzhen Shichuangyi Electronic Co ltd
Priority to CN202211342516.5A priority Critical patent/CN115657950B/en
Publication of CN115657950A publication Critical patent/CN115657950A/en
Application granted granted Critical
Publication of CN115657950B publication Critical patent/CN115657950B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention is suitable for the technical field of storage equipment, and provides a data read-write processing method, a device and related equipment based on multiple channels, wherein the method comprises the following steps: based on a data writing request, writing data with the same data type sequentially pass through a plurality of channels according to a preset unit data volume and are written into storage units of storage blocks corresponding to the channels, wherein continuity exists between logic addresses of the writing data with the same data type; and if a data reading request is acquired, reading target reading data from the storage units of the storage block in parallel through a plurality of channels based on the continuity between the logic addresses of the writing data of the same data type. According to the method and the device, the target read data can be read out from the storage block with the highest efficiency through multi-channel parallel operation, multi-channel data reading and writing are considered, time consumption can be reduced through multi-channel parallel data reading, and the reading speed is improved.

Description

Data read-write processing method and device based on multiple channels and related equipment
Technical Field
The invention belongs to the technical field of storage equipment, and particularly relates to a data read-write processing method and device based on multiple channels and related equipment.
Background
In a digital Storage device carrying UFS (Universal Flash Storage), a Flash TRANSLATION LAYER (FTL) algorithm is a key factor for product performance. Because of the matching of the front-end and back-end speeds of the UFS, the flash memory controller also sequentially adds channels to the back-end flash memory control interface to catch up with the front-end UFS protocol speed in order to reach the theoretical bandwidth value of the front-end UFS protocol. While sequential read and write speeds are one of the highly relevant performances in practical application scenarios and user experience, in order to achieve the maximum write speed in various modular technologies of FTL algorithm, the prior art has proposed to start writing data to be stored at the host end directly to MLC block or TLC block at different stages of the algorithm. However, when the FTL algorithm needs MLC or TLC direct writing, and the WL (word line) of multiple flash memories must be written in the same flash memory writing command, the trade-off between sequential writing speed and sequential reading speed is encountered.
In the conventional method, when MLC or TLC direct writing is performed, the amount of data of sequential logical addresses is waited to enter the procedure of writing into flash memory after the amount of data of sequential logical addresses satisfies the capacity WL of one memory cell, but such writing method cannot allow multi-channel parallel operation during sequential reading, for example: when the MLC is used for direct writing, one storage unit of the MLC can write the data amount of two pages, and when the host wants to write the data amount of two pages, the conventional method performs writing of one WL to a single channel after collecting the data amount of two pages (1 WL), but if the subsequent host wants to read the data of the two pages, the firmware can only read the WL from CH0 in a single-channel manner, and does not operate in dual channels. Therefore, when MLC or TLC direct writing is carried out, the multi-channel parallel sequential reading speed cannot be taken into consideration.
Disclosure of Invention
The embodiment of the invention provides a data read-write processing method based on multiple channels, and aims to solve the problem that the multi-channel parallel sequential reading speed cannot be taken into consideration when MLC or TLC direct writing is carried out in the prior art.
The embodiment of the invention is realized in such a way that a data read-write processing method based on multiple channels is provided, which comprises the following steps:
based on a data writing request, writing data with the same data type into storage units of storage blocks corresponding to a plurality of channels sequentially by a preset unit data volume, wherein continuity exists between logic addresses of the written data with the same data type;
and if a data reading request is acquired, reading target reading data from the storage units of the storage block in parallel through a plurality of channels based on the continuity between the logic addresses of the writing data of the same data type.
Further, the writing data with the same data type sequentially passes through the storage units of the storage blocks corresponding to the channels by a preset unit data amount based on the data writing request, and the writing method includes:
acquiring the data writing request, and acquiring the data type of the written data from the data writing request;
and if the write data of multiple data types exist, dividing the write data of each data type by taking the preset unit data volume as single transmission data volume, and sequentially writing the write data into storage units of the storage blocks corresponding to the channels through a plurality of channels, wherein each storage unit of the storage blocks at least stores two preset unit data volumes.
Further, if there are the write data of multiple data types, the dividing the write data of each data type by using the preset unit data volume as a single transmission data volume, and sequentially writing the write data into the memory cells of the memory block corresponding to a channel through multiple channels includes:
judging whether at least two data types exist in the written data;
if the written data of at least two data types exist, taking the preset unit data volume of the written data of each data type as a single-time transmission data volume, sequentially transmitting the written data of one data type through each channel based on a data type priority mode, and transmitting the written data of the next data type after all the written data of one data type are transmitted, wherein the written data of the same data type enter the next channel for transmission after the single-time transmission of the channel is completed;
judging whether the write-in data of each data type transmitted through the same channel is transmitted based on the channel state;
and if the transmission is finished, writing the write-in data of each data type transmitted through the same channel into the storage unit of the storage block corresponding to the channel until the write-in data of all the data types are written in.
Further, if there are the write data of multiple data types, the dividing the write data of each data type by using the preset unit data volume as a single transmission data volume, and sequentially writing the write data into the memory cells of the memory block corresponding to a channel through multiple channels includes:
judging whether at least two data types exist in the written data;
if the write data of at least two data types exist, taking the preset unit data volume of the write data of each data type as a single-time transmission data volume, and performing single-time transmission on the write data of each data type through the same channel according to a channel priority mode;
and after the write-in data of each data type is transmitted in one channel, writing the write-in data of each data type in the channel after transmission into a storage unit of the storage block corresponding to the channel, and then performing single transmission of the next channel until the write-in data of all the data types are written.
Further, the sequentially writing the write data into the memory cells of the memory block corresponding to the channels through a plurality of channels includes:
after the written data of the same data type is transmitted through a first-round channel, judging whether the written data has residual unwritten data or not based on the data writing amount of the written data;
and if the residual unwritten data exist, continuously circularly writing the residual unwritten data into the storage units of the storage blocks corresponding to the channels based on the channel number sequence, wherein the total data volume transmitted by the same channel does not exceed the maximum writing volume of the storage units of the storage blocks.
Further, if a data read request is obtained, reading target read data from the storage units of the storage block in parallel through a plurality of channels based on the continuity between the logical addresses of the write data of the same data type, including:
when a data reading request is obtained, obtaining a target reading data type of target reading data in the data reading request;
and searching the target read data in the storage units of the storage block based on the target read data type, and reading the target read data in parallel from the storage units of the storage block through each channel for writing the target read data based on the continuity of the logic addresses of the write data of the same data type.
An embodiment of the present invention further provides a data read-write processing apparatus based on multiple channels, including:
the writing module is used for sequentially writing the writing data with the same data type into the storage units of the storage blocks corresponding to the channels through a plurality of channels according to a preset unit data volume based on the data writing request, wherein the logical addresses of the writing data with the same data type have continuity;
and the reading module is used for reading target read data from the storage units of the storage blocks in parallel through a plurality of channels based on the continuity between the logic addresses of the write data of the same data type if a data read request is acquired.
Still further, the write module includes:
the acquisition unit is used for acquiring the data writing request and acquiring the data type of the written data from the data writing request;
and the writing unit is used for dividing the writing data of each data type by taking the preset unit data volume as single transmission data volume if the writing data of multiple data types exist, and sequentially writing the writing data into the storage units of the storage blocks corresponding to the channels through a plurality of channels, wherein each storage unit of the storage blocks at least stores two preset unit data volumes.
The embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the processor implements the data read-write processing method based on multiple channels as described in any embodiment.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements a data read-write processing method based on multiple channels as described in any embodiment.
The method and the device have the advantages that based on the data writing request, the writing data with the same data type sequentially pass through a plurality of channels according to the preset unit data amount and are written into the storage units of the storage blocks corresponding to the channels, wherein the logic addresses of the writing data with the same data type have continuity; and if a data reading request is acquired, reading target reading data from the storage units of the storage block in parallel through a plurality of channels based on the continuity between the logic addresses of the writing data of the same data type. According to the method and the device, the written data of the same data type can be divided into a plurality of data with the preset unit data volume size, the data are respectively written into the storage units of the storage blocks corresponding to the channels through each channel, the logical addresses of the written data of the same data type are continuous, when the firmware is sequentially read, the parallel operation of multiple channels can be maintained, the target read data can be read out from the storage units of the storage blocks with the highest efficiency, the reading and writing of the data of multiple channels are considered, the time consumption can be reduced by reading the data in parallel through the multiple channels, and the reading speed is improved.
Drawings
Fig. 1 is a flowchart of a data read-write processing method based on multiple channels according to an embodiment of the present application;
fig. 2 is a flowchart of step S10 in fig. 1 according to an embodiment of the present disclosure;
fig. 3 is a flowchart of step S202 in fig. 2 according to an embodiment of the present disclosure;
fig. 4 is another flowchart of step S202 in fig. 2 according to an embodiment of the present disclosure;
fig. 5 is a flowchart of step S20 in fig. 1 according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a data read-write processing apparatus based on multiple channels according to an embodiment of the present application;
FIG. 7 is a block diagram illustrating a structure of the write module shown in FIG. 6 according to an embodiment of the present disclosure;
FIG. 8 is a schematic structural diagram of a write unit in FIG. 7 according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of another structure of the write unit in FIG. 7 according to an embodiment of the present application;
FIG. 10 is a block diagram of a read module of FIG. 6 according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The method and the device can divide the written data of the same data type into a plurality of data with preset unit data size and write the data into the storage units of the storage blocks corresponding to the channels through each channel respectively, the logic addresses of the written data of the same data type are continuous, when the firmware reads in sequence, the parallel operation of multiple channels can be maintained, the target read data can be read out from the storage units of the storage blocks with the highest efficiency, the reading and writing of the data of multiple channels are considered, the time consumption can be reduced by reading the data in parallel through the multiple channels, and the reading speed is improved.
Example one
Fig. 1 shows a flowchart of a data read-write processing method based on multiple channels according to an embodiment of the present application, and as shown in fig. 1, the method includes steps S10 to S20. The specific implementation principle of each step is as follows:
and S10, writing data with the same data type sequentially pass through a plurality of channels according to a preset unit data amount and are written into the storage units of the storage blocks corresponding to the channels respectively based on the data writing request, wherein continuity exists between the logic addresses of the writing data with the same data type.
In this embodiment, an electronic device used in the method for processing data read and write based on multiple channels according to this embodiment may obtain a data write request, a data read request, or perform data transmission with another electronic device through a wired connection manner or a wireless connection manner. It is noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a UWB (ultra wideband) connection, and other wireless connection means now known or developed in the future.
Specifically, the data read-write processing method based on multiple channels provided by the present application can be applied to a digital storage device carrying a UFS, and a main control chip, a firmware algorithm, and a flash memory (storage block) can be integrated in the digital storage device. Based on that a host computer end (a PC end and a terminal) where the digital storage device is located can send out a data writing request, the main control chip performs data processing on the data writing request according to a firmware algorithm to generate a data writing request corresponding to the data writing request, and writes the written data into a storage unit of a storage block through a plurality of channels. More specifically, a multi-Channel flash memory interface (Channel, abbreviated as CH) may be installed in the application of the main control chip, and in order to achieve the maximum writing speed, the main control chip may operate in parallel based on multiple channels, for example: when the specification is configured with 4 flash memory interface channels (CH 0, CH1, CH2, CH 3) and each channel is provided with 1CE (chip select), data writing is performed in order through 4 channels, so as to achieve the fastest writing speed. One storage block comprises a plurality of storage units, one channel can correspond to one storage unit in the storage block, and the data amount stored in each storage unit is different according to different types of the storage blocks.
It should be noted that the host end includes, but is not limited to, a camera, a smart phone, a tablet computer, a laptop portable computer, a desktop computer, and the like.
More specifically, the write data may include multiple data types, where the write data of each data type includes logical addresses with continuity, and when the logical addresses of the same data type have continuity, data of the same data type stored in different storage units may be quickly found according to the continuity so as to be successfully read. The same channel can respectively transmit the write-in data of different data types, and the write-in data of different data types can be simultaneously written into the storage units corresponding to the channel. The predetermined unit data amount may refer to a data amount of one page. The above-mentioned memory blocks include, but are not limited to, MLC memory blocks (MLC flash) or TLC memory blocks (TLC flash), such as: also included is a QLC flash memory. It should be noted that each Cell of the MLC flash memory represents 2 bits, and can store 2 pages of data, that is, 2 predetermined unit data amounts. Each cell of the TLC flash memory represents 3 bits, and can store 3 pages, that is, 3 preset unit data amounts.
More specifically, compared to the conventional MLC flash memory writing, writing of one WL is performed after collecting data amount of 2 pages, and writing of one WL is performed after collecting data amount of 3 pages in the TLC flash memory. In this way, the write data of the same type and having a continuous logical address is allocated to different channels in units of data size of one page, and is sequentially written into the memory cells of the memory block in the different channels.
And S20, if a data reading request is acquired, reading target reading data from the storage units of the storage block in parallel through a plurality of channels based on the continuity between the logic addresses of the writing data of the same data type.
Specifically, if the host sends a data reading request, the main control chip may generate a reading command to read data. In the data reading request, data of one data type may be requested to be read, or data of multiple data types may be requested to be read simultaneously. Because the logical addresses in the written data of the same data type have continuity and are written through different channels, the target read data of the same data type can be read through multiple channels in parallel during reading. When reading data of a plurality of data types, data can be read from different channels in parallel according to the order/reverse order of the data types of the write channel, for example: the written data of the data type a, the data type b and the data type c are sequentially and respectively written into the storage unit through the channels CH0, CH1, CH2 and CH3 in sequence by taking the data type as an order, when the data are simultaneously read through a plurality of channels, the data type a in each channel can be read firstly, then the data type b is read, and then the data type c is read, and conversely, the data reading sequence can also be sequentially the data types c, b and a. Thus, when the multi-channel parallel operation is performed, it is more convenient to read target read data of the same data type from each channel simultaneously, and read the data from the flash memory in a multi-channel parallel mode with the highest efficiency.
In the embodiment of the invention, based on a data writing request, writing data with the same data type sequentially passes through a plurality of channels by a preset unit data amount and is written into the storage units of the storage blocks corresponding to the channels, wherein continuity exists between the logic addresses of the writing data with the same data type; and if the data reading request is acquired, reading target reading data from the storage units of the storage block in parallel through a plurality of channels based on the continuity between the logical addresses of the writing data of the same data type. The method and the device can divide the written data of the same data type into a plurality of data with preset unit data size and write the data into the storage units of the storage blocks corresponding to the channels through each channel respectively, the logic addresses of the written data of the same data type are continuous, when the firmware reads in sequence, the parallel operation of multiple channels can be maintained, the target read data can be read out from the storage units of the storage blocks with the highest efficiency, the reading and writing of the data of multiple channels are considered, the time consumption can be reduced by reading the data in parallel through the multiple channels, and the reading speed is improved.
Example two
In this embodiment, based on the first embodiment, as shown in fig. 2, the step S10 includes steps S201 to S202. The specific realization principle of each step is as follows:
s201, acquiring a data writing request, and acquiring the data type of the written data from the data writing request.
S202, if write-in data of multiple data types exist, dividing the write-in data of each data type by taking a preset unit data volume as a single-transmission data volume, and sequentially writing the write-in data into storage units of storage blocks corresponding to channels through a plurality of channels, wherein the size of each storage unit of the storage blocks at least stores two preset unit data volumes.
The data writing request can be analyzed, and the data type of the written data can be extracted. The write data amount for each data type may include a data amount of at least 1page, wherein the data types include, but are not limited to, LSB page, CSB page, and MSB page. The data size written in each data type is divided into a plurality of 1-page data sizes with continuity by taking a preset unit data size (the data size of 1 page) as a single-transmission data size, and the plurality of 1-page data sizes with continuity are sequentially written in the storage units corresponding to the channels through different channels respectively.
When the written data has multiple data types, in order to ensure the writing speed, the written data of the same data type can be transmitted sequentially through different channels, and then the written data of the next data type can be transmitted sequentially through different signals until the written data of the channel is transmitted, and then the data writing is carried out. Of course, the write data of the same channel may be transmitted and written into the storage unit before the transmission and data writing of the next channel. The size of each storage unit of the storage block is at least two units of data, which may indicate that each storage unit may store at least 2 pages of data, for example: when the data type is the MLC memory block, each memory cell stores the data volume of 2 pages, when the data type is the same, the data type is the data volume of 2 pages of the data type, and when the data type is two, the data type is the data volume of 1page of each of the two data types. For another example: when the TLC storage block is used, each storage unit stores the data amount of 3 pages, when the same data type is stored, the TLC storage block is used as the data amount of 3 pages of the data type, when two or three data types are stored, the TLC storage block is used as the data amount of 3 pages of the total of the two or three data types, and the data amount of 1page is taken as a unit. When writing, as long as the data amount of 1page is satisfied during the transmission of the write data of the same data type, the data amount of the next 1page with continuity can be written into the storage unit corresponding to the current channel through the channel.
Optionally, as a possible implementation manner, as shown in fig. 3, step S202 includes steps S301 to S305. The specific realization principle of each step is as follows:
s301, judging whether at least two data types exist in the written data.
And S302, if the write data of at least two data types exist, taking the write data of each data type as single transmission data volume by using a preset unit data volume, sequentially transmitting the write data of one data type through each channel based on a data type priority mode, and transmitting the write data of the next data type after the transmission of all the write data of one data type is finished, wherein the write data of the same data type enters the next channel for transmission after the single transmission of the channel is finished.
Specifically, before data writing, the data type category included in the written data may be determined according to the data writing request. When only one data type of write data exists, the write data can be directly written into the storage units corresponding to the channels in the storage block through a plurality of channels, and after the data volume of 1page is reached, the data volume of the next 1page with continuity is written into the next channel. The data type-based priority mode may refer to that the write data of the same data type is transmitted and then the write data of the next data type is transmitted. When there are write data of multiple data types, the write data of each data type may be sequentially transferred with a single transfer data size of 1page, for example: the data types 1, 2 and 3 respectively comprise data volumes of 4 pages, the data volumes of 4 pages of the data type 1 are transmitted through CH 0-CH 3, then the data volumes of 4 pages of the data type 2 are transmitted through CH 0-CH 3, and finally the data volumes of 4 pages of the data type 3 are transmitted through CH 0-CH 3.
S303, determining whether the transmission of the write data of each data type transmitted through the same channel is completed based on the channel status.
And S304, if the transmission is completed, writing the write data of each data type transmitted through the same channel into the storage unit of the storage block corresponding to the channel until the write data of all the data types are completely written.
Specifically, when the channel transmission is completed, a signal indicating a transmission completion state may be acquired, and in the process of transmitting all the write data, if it is detected that the transmission of the write data of each data type transmitted on the same channel is completed, the write data of each data type transmitted on the same channel may be written into the storage unit corresponding to the channel in the storage block. And writing the write-in data of each data type transmitted by each channel into the storage unit corresponding to each channel in the storage block according to the transmission finishing sequence until each channel finishes data transmission.
For better illustration of the present embodiment, the following description is provided by taking the case of directly writing data of three data types, namely LSB page, CSB page and MSB page, into TLC memory blocks, wherein the necessary writing steps and how logical addresses (write data) are distributed in flash memory are shown. The specific steps are as follows:
step 1, wait for CH-0CE-0: data 0 of LSB
Step 2, wait for CH-1CE-0: data 1 of LSB
Step 3, wait for CH-2CE-0: data 2 of LSB
Step 4, wait for CH-3CE-0: data 3 of LSB
Step 5, wait for CH-0CE-0: data 4 of CSB
Step 6, wait for CH-1CE-0: data 5 of CSB
Step 7, wait for CH-2CE-0: data 6 of CSB
Step 8, wait for CH-3CE-0: data 7 of CSB
Step 9, wait for CH-0CE-0: data 8 of MSB
Step 10, write CH-0CE-0: data 0 of LSB, data 4 of CSB, and data 8 of MSB
Step 11, wait for CH-1CE-0: data 9 of MSB
Step 12, write CH-1CE-0: data 1 of LSB, data 5 of CSB, and data 9 of MSB
Step 13, wait for CH-2CE-0: data 10 of MSB
Step 14, write CH-2CE-0: data 2 of LSB, data 6 of CSB, and data 10 of MSB
Step 15, wait for CH-3CE-0: data 11 of MSB
Step 16, write CH-3CE-0: data 3 of LSB, data 7 of CSB, and data 11 of MSB
Specifically, when writing sequentially, each of the waiting steps may indicate that data is being transferred and processed, and the size of each data is 1 page. According to the analysis of the steps 1 to 16, the data types are transmitted according to the priority of the data types, and then the next data type is transmitted. After steps 1 to 9 are completed, it is seen that data 0 of LSB, data 4 of CSB and data 8 of MSB, which are required to be written in CH-0CE-0, have been transmitted. Therefore, data 0 of LSB, data 4 of CSB and data 8 of MSB may be written to the TLC block for storage through CH-0CE-0 at Step 10. It can be seen that in channel CH-0CE-0, 3 data types are included, as are the other channels.
When reading sequentially, the parallel operation of multiple channels can be maintained, and as the data 0, the data 1, the data 2 and the data 3 with continuity in the same data type LSB page are respectively written in the CH-0, the CH-1, the CH-2 and the CH-3, the data of the LSB page can be simultaneously read in parallel through 4 channels when being read. Also, the following sequential data 4 to 7,8 to 11 can be read out from the flash memory in parallel with multiple channels to read out the target read data with the highest performance. The above description is only given by taking TLC block direct writing as an example, and the same logic theory is also applicable to MLC block direct writing.
In this embodiment, when there are at least two types of write data, the write data of each data type is transmitted sequentially through each channel based on the data type-first mode with the data size of 1page as the data size for single transmission, and after all the write data of one data type are transmitted, the write data of the next data type are transmitted, and when the transmission of a channel is completed, the write data of the channel are written into the storage unit corresponding to the channel in the storage block. The write-in data of the same data type is written in through different channels, when the read-in data is sequentially read, the multi-channel parallel operation can be maintained, the target read-in data can be read out from the storage block with the highest efficiency, the multi-channel data read-in and write-in are considered, the time consumption can be reduced through the multi-channel parallel read-in data, and the read-in speed is improved.
Optionally, as another possible embodiment, referring to fig. 4, step S202 in fig. 2 includes steps S401 to S304. The specific implementation principle of each step is as follows:
s401, judging whether at least two data types exist in the written data.
S402, if the write data of at least two data types exist, taking the write data of each data type as single transmission data volume by preset unit data volume, and performing single transmission on the write data of each data type through the same channel by the single transmission data volume based on a channel priority mode.
And S403, after the same channel finishes the single transmission of the write data of each data type, writing the write data of each data type in the channel which is finished in transmission into the storage unit of the storage block corresponding to the channel, and then performing the single transmission of the next channel until the write data of all the data types are finished in writing.
Specifically, when data is transmitted, in order to increase the direct writing speed of the memory block, the data may be transmitted in a channel-first manner. Specifically, in the protocol layer specification Of UFS, when a device supports the Out-Of-Order Data writing function (b Data Ordering =01 h) and is enabled in executing a write Data task (b Out Of Order Data En =01 h), the firmware can specify at RTT UPIU the logical address to which the host terminates the Data write task. On the premise of this, writing can be performed based on the order of channel priority, and when data transmission is performed based on the channel priority mode, the data amount of 1page of written data of each data type is used as the data amount of single transmission, and simultaneously, single transmission is performed through the same channel, when the channel transmission is completed, the written data is directly written into the storage unit corresponding to the channel, and then the data amount of 1page with continuity next to each data type is written into the next channel at the same time. For better illustration of the embodiment, another example of directly writing data of three data types, namely LSB page, CSB page and MSB page, in the TLC memory block is provided below, and similarly, only the necessary writing steps and how the logical address data is distributed in the flash memory are shown. The specific steps are as follows:
step 1, wait for CH-0CE-0: data 0 of LSB
Step 2, wait for CH-0CE-0: data 4 of CSB
Step 3, wait for CH-0CE-0: data 8 of MSB
Step 4, write CH-0CE-0: data 0 of LSB, data 4 of CSB, and data 8 of MSB
Step 5, wait for CH-1CE-0: data 1 of LSB
Step 6, wait for CH-1CE-0: data 5 of CSB
Step 7, wait for CH-1CE-0: data 9 of MSB
Step 8, write CH-1CE-0: data 1 of LSB, data 5 of CSB, and data 9 of MSB
Step 9, wait for CH-2CE-0: data 2 of LSB
Step 10, wait for CH-2CE-0: data 6 of CSB
Step 11, wait for CH-2CE-0: data 10 of MSB
Step 12, write CH-2CE-0: data 2 of LSB, data 6 of CSB, and data 10 of MSB
Step 13, wait for CH-3CE-0: data 3 of LSB
Step 14, wait for CH-3CE-0: data 7 of CSB
Step 15, wait for CH-3CE-0: data 11 of MSB
Step 16, write CH-3CE-0: data 3 of LSB, data 7 of CSB, and data 11 of MSB
Specifically, taking a phase as an example, it can be known from the above steps Step 1 to Step 3 that the transmission process is a channel-first transmission process, that is, written data of each data type is transmitted through the channel CH-0 at the same time by the data amount of 1 page. After Step 1 to Step 3 are completed, it is seen that data 0 of LSB, data 4 of CSB and data 8 of MSB written in CH-0CE-0 have been transmitted. Therefore, data 0 of LSB, data 4 of CSB and data 8 of MSB can be written into the storage unit corresponding to channel CH-0 in TLC storage block for storage through CH-0CE-0 at Step 4. It can be seen that in channel CH-0CE-0, 3 data types are included. Similarly, the other channels are written in the same way as the channels are written preferentially. When reading sequentially, the parallel operation of multiple channels can be maintained as well, because the same data type and the consecutive data 0, data 1, data 2, and data 3 are all written in different channels. Similarly, the subsequent data 4 to 7,8 to 11 can read the target read data from the flash memory in parallel with multiple channels with the highest performance. Likewise, the same logic theory applies to MLC memory block direct write. In addition, the embodiment can optimize the parallel operation of multiple channels in the write program, and does not consume the data transmission time waiting for other channels. Meanwhile, the continuous logical addresses are distributed in each channel, so that the performance of multi-channel parallel operation can be maintained when the sequential reading task occurs.
Optionally, the step S202 further includes:
and after the written data of the same data type completes the first round channel transmission, judging whether the written data has residual unwritten data or not based on the data writing amount of the written data.
And if the residual unwritten data exists, circularly writing the residual unwritten data into the storage units of the storage blocks corresponding to the channels on the basis of the channel number sequence, wherein the total data volume transmitted by the same channel does not exceed the maximum writing volume of the storage units of the storage blocks.
Specifically, when the written data of each data type is transmitted, it may be that the written data of one data type cannot be completely transmitted in the first round, so that there is remaining unwritten data, and for this purpose, the remaining unwritten data may be written through the channel again or repeatedly in a cycle based on the channel numbering sequence, for example: the number of the channels is 4, the data written in the data type 1 has a data size of 5 pages, and each time the data size of 1page is transmitted through 1 channel, the data size of 1 remaining page is not matched with the fifth channel, and for this purpose, the data size of 1 remaining page may be transmitted through the 1 st channel and written into the storage unit of the storage block corresponding to the channel. Of course, the total data amount transmitted in the same channel does not exceed the maximum writing amount of the storage unit of the storage block, that is, when the maximum writing amount of the storage unit a is 3 pages, and the data amount of 2 pages is transmitted, if the data amount of the remaining unwritten data is 1page, the storage unit a may be continuously written, and if the data amount of the remaining unwritten data is 5 pages, but all the storage units of the storage block are fully written, the storage block may not be written again at this time. For a full write, the memory block may be erased or written to another memory block.
In the embodiment, the remaining unwritten data can be sequentially written into the memory cells corresponding to the channels through the channels, and during sequential reading, the multi-channel parallel operation can be maintained to read the target read data from the memory block with the highest efficiency, thereby taking into account the multi-channel data reading and writing, and the reading speed can be increased by reading the data in parallel through the multiple channels.
EXAMPLE III
In the present embodiment, based on the second embodiment, as shown in fig. 5, step S20 includes steps S501 to S502. The specific realization principle of each step is as follows:
s501, when a data reading request is obtained, obtaining a target reading data type of target reading data in the data reading request;
s502, searching target reading data in the storage units of the storage blocks based on the target reading data types, and reading the target reading data in parallel from the storage units of the storage blocks through all channels of the writing target reading data based on the continuity of the logic addresses of the writing data of the same data type.
When the host needs to read data, a data reading request is sent out, and the data reading request can be analyzed to obtain target reading data, namely a target logical address is read. The read target read data may include data having continuity in the same data type, and may also include data having continuity in a plurality of data types. When the target data is read sequentially, the storage units of the storage blocks can be searched according to the data type of the target data, and after the target read data is searched, the target read data can be read out from each storage unit in parallel through a plurality of channels for writing the target read data according to the continuity of the data sequentially. In the embodiment, when reading sequentially, the target read data can be read from the memory block with the highest performance by maintaining the parallel operation of the multiple channels, which combines the reading and writing of the multiple channels, and the reading speed can be increased by reading the data in parallel through the multiple channels.
Example four
Corresponding to the above-mentioned data read/write processing method based on multiple channels shown in fig. 1, fig. 6 is a schematic diagram of a data read/write processing apparatus based on multiple channels according to an embodiment of the present application, where the apparatus M60 includes:
a writing module M601, configured to write, based on a data writing request, writing data with the same data type sequentially through multiple channels by a preset unit data amount into storage units of storage blocks corresponding to the channels, respectively, where there is continuity between logical addresses of the write data with the same data type;
the reading module M602 is configured to, if a data reading request is obtained, read target read data from the storage unit of the storage block in parallel through multiple channels based on continuity between logical addresses of write data of the same data type.
Optionally, referring to fig. 7, fig. 7 is a schematic structural diagram of a write module according to an embodiment of the present invention. The write module M601 includes:
a first obtaining unit M6011, configured to obtain a data write request, and obtain a data type of write data from the data write request;
a writing unit M6012, configured to, if there are write data of multiple data types, divide the write data of each data type by using a preset unit data amount as a single transmission data amount, and sequentially write the write data in memory cells of a memory block corresponding to a plurality of channels, where each memory cell of the memory block stores at least two preset unit data amounts.
Optionally, referring to fig. 8, fig. 8 is a schematic structural diagram of a write unit according to an embodiment of the present invention. The writing unit M6012 includes:
a first judging subunit M60121, configured to judge whether there are at least two data types in the written data;
a first transmission subunit M60122, configured to, if there are write data of at least two data types, take a preset unit data amount of the write data of each data type as a single transmission data amount, sequentially transmit the write data of one data type through each channel based on a data type priority manner, and transmit the write data of a next data type after transmission of all the write data of one data type is completed, where the write data of the same data type enters the next channel for transmission after the single transmission of the channel is completed;
a second judging subunit M60123, configured to judge, based on the channel state, whether transmission of write data of each data type transmitted through the same channel is completed;
a first writing subunit M60124, configured to, if the transfer is completed, write the write data of each data type transferred through the same channel into the memory cells of the memory block corresponding to the channel until the write data of all the data types are completed.
Optionally, referring to fig. 9, fig. 9 is a schematic structural diagram of a write unit according to an embodiment of the present invention. The writing unit M6012 includes:
a third determining subunit M60125, configured to determine whether there are at least two data types in the written data;
a second transmission subunit M60126, configured to, if there are write data of at least two data types, use a preset unit data amount of the write data of each data type as a single transmission data amount, and perform single transmission on the write data of each data type through the same channel in the single transmission data amount based on a channel priority manner;
a second write subunit M60127, configured to, after the same channel completes the single transmission of the write data of each data type, write the write data of each data type in the channel that is completely transmitted into the memory unit of the memory block corresponding to the channel, and then perform the single transmission of the next channel until the write data of all data types are completely written.
Optionally, the writing unit M6012 further includes:
a fourth determining subunit M60128, configured to determine, when the first round of channel transmission is completed for the write data of the same data type, whether there is remaining unwritten data in the write data based on the data writing amount of the write data;
and a third write subunit M60129, configured to, if there is remaining unwritten data, continue to cyclically write the remaining unwritten data into a storage unit of the storage block corresponding to the channel based on the channel number sequence, where a total data amount transmitted by the same channel does not exceed a maximum storage unit write amount of the storage block.
Optionally, referring to fig. 10, fig. 10 is a schematic structural diagram of a reading module according to an embodiment of the present invention. The reading module M602 includes:
a second obtaining unit M6021, configured to obtain a target read data type of the target read data in the data read request when the data read request is obtained;
and a reading unit M6022 for searching the target read data in the storage unit of the storage block based on the target read data type, and reading in parallel from the storage unit of the storage block through each channel of the write target read data based on the continuity of the logical addresses of the write data of the same data type.
The data read-write processing device based on multiple channels provided by the embodiment of the present invention can implement each process implemented by one data read-write processing method based on multiple channels in the above method embodiments, and in order to avoid repetition, details are not repeated here. And the same beneficial effects can be achieved.
EXAMPLE five
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 11, the electronic device D11 of this embodiment includes: at least one processor D110 (only one shown in fig. 11), a memory D111, a network interface D112, and computer programs stored in the memory D111 and executable on the at least one processor D110. The processor D110 is configured to call the computer program stored in the memory D111, and execute the following steps:
based on the data writing request, writing data with the same data type into storage units of storage blocks corresponding to the channels sequentially through a plurality of channels according to a preset unit data volume, wherein continuity exists between the logic addresses of the written data with the same data type;
and if the data reading request is acquired, reading target reading data from the storage units of the storage block in parallel through a plurality of channels based on the continuity between the logic addresses of the writing data of the same data type.
Optionally, the writing data with the same data type sequentially passes through the plurality of channels by a preset unit data amount and is written into the storage units of the storage blocks corresponding to the channels respectively based on the data writing request executed by the processor D110, and the writing data includes:
acquiring a data writing request, and acquiring the data type of written data from the data writing request;
if the write data of multiple data types exist, the write data of each data type is divided by taking a preset unit data volume as a single transmission data volume, and the write data is sequentially written into storage units of storage blocks corresponding to channels through a plurality of channels, wherein each storage unit of the storage blocks at least stores two preset unit data volumes.
Optionally, if there are write data of multiple data types executed by the processor D110, dividing the write data of each data type by using a preset unit data size as a single transmission data size, and sequentially writing the write data into the storage units of the storage blocks corresponding to the channels through multiple channels, including:
judging whether at least two data types exist in the written data;
if the written data of at least two data types exist, taking the written data of each data type as single transmission data volume by using a preset unit data volume, sequentially transmitting the written data of one data type through each channel based on a data type priority mode, and transmitting the written data of the next data type after the transmission of all the written data of one data type is finished, wherein the written data of the same data type enters the next channel for transmission after the single transmission of the channel is finished;
judging whether the transmission of the write-in data of each data type transmitted through the same channel is finished or not based on the channel state;
and if the transmission is finished, writing the write data of each data type transmitted through the same channel into the storage unit of the storage block corresponding to the channel until the write data of all the data types are written.
Optionally, if there are write data of multiple data types executed by the processor D110, dividing the write data of each data type by using a preset unit data size as a single transmission data size, and sequentially writing the write data into the storage units of the storage blocks corresponding to the channels through multiple channels, including:
judging whether at least two data types exist in the written data;
if the written data of at least two data types exist, taking the written data of each data type as single transmission data volume by a preset unit data volume, and carrying out single transmission on the written data in each data type through the same channel by the single transmission data volume based on a channel priority mode;
and after the same channel finishes the single transmission of the write-in data of each data type, writing the write-in data of each data type in the channel which is finished in transmission into the storage unit of the storage block corresponding to the channel, and then performing the single transmission of the next channel until the write-in data of all the data types are finished in writing.
Optionally, the writing of the write data sequentially into the memory cells of the memory block corresponding to the channels by the processor D110 through a plurality of channels includes:
after the written data of the same data type completes the first-round channel transmission, judging whether the written data has residual unwritten data or not based on the data writing amount of the written data;
and if the residual unwritten data exists, continuously and circularly writing the residual unwritten data into the storage units of the storage blocks corresponding to the channels based on the channel number sequence, wherein the total data volume transmitted by the same channel does not exceed the maximum writing volume of the storage units of the storage blocks.
Optionally, if the processor D110 acquires a data read request, the reading, by using multiple channels, of target read data from a storage unit of a storage block in parallel based on continuity between logical addresses of write data of the same data type includes:
when a data reading request is acquired, acquiring a target reading data type of target reading data in the data reading request;
and searching target read data in the storage units of the storage block based on the target read data type, and reading the target read data in parallel from the storage units of the storage block through each channel of the write target read data based on the continuity of the logical addresses of the write data of the same data type.
The electronic device D11 provided in the embodiment of the present invention can implement each implementation manner in the data read-write processing method embodiment based on multiple channels, and has corresponding beneficial effects, and for avoiding repetition, details are not repeated here.
D110-D112, it is to be understood that not all of the illustrated components are required to be implemented, and that more or fewer components may alternatively be implemented. As will be understood by those skilled in the art, the electronic device herein is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction.
Processor D110 may be a Central Processing Unit (CPU) in some embodiments, and Processor D110 may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage D111 may be an internal storage unit of the electronic device D11 in some embodiments, for example, a hard disk or a memory of the electronic device D11. The memory D111 may also be an external storage device of the electronic device D11 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device D11. Further, the memory D111 may also include both an internal storage unit and an external storage device of the electronic device D11. The memory D111 is used for storing an operating system, application programs, a BootLoader (BootLoader), data, and other programs, such as program codes of a computer program. The memory D111 may also be used to temporarily store data that has been output or is to be output.
D112 may include a wireless network interface or a wired network interface, and the network interface D112 is generally used to establish a communication connection between the electronic device D11 and other electronic devices.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor D110, the computer program implements each procedure of the embodiment of the data read/write processing method based on multiple channels provided in the embodiment of the present invention, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above may be implemented by a computer program instructing related hardware to execute the computer program, and the computer program may be stored in a computer readable storage medium, and when executed by a processor, may implement the steps of the embodiments of the methods described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc.
The terms "first," "second," and the like in the description and claims of this application or in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A data read-write processing method based on multiple channels is characterized by comprising the following steps:
based on a data writing request, writing data with the same data type sequentially pass through a plurality of channels according to a preset unit data volume and are written into storage units of storage blocks corresponding to the channels, wherein continuity exists between logic addresses of the writing data with the same data type;
and if a data reading request is acquired, reading target reading data from the storage units of the storage blocks in parallel through a plurality of channels based on the continuity between the logic addresses of the writing data of the same data type.
2. The method of claim 1, wherein the writing data with the same data type sequentially passes through the storage units of the storage blocks corresponding to the channels by a predetermined unit data amount based on the data writing request, and comprises:
acquiring the data writing request, and acquiring the data type of the written data from the data writing request;
if the write-in data of multiple data types exist, dividing the write-in data of each data type by taking the preset unit data volume as single transmission data volume, and sequentially writing the write-in data into storage units of the storage blocks corresponding to the channels through a plurality of channels, wherein the size of each storage unit of the storage blocks at least stores two preset unit data volumes.
3. The method of claim 2, wherein if there are a plurality of data types of the write data, dividing the write data of each data type by the predetermined unit data amount as a single transmission data amount, and sequentially writing the write data in memory cells of the memory block corresponding to a plurality of channels, comprises:
judging whether at least two data types exist in the written data;
if the written data of at least two data types exist, taking the written data of each data type as single transmission data volume, sequentially transmitting the written data of one data type through each channel based on a data type priority mode, and transmitting the written data of the next data type after the transmission of all the written data of one data type is finished, wherein the written data of the same data type enters the next channel for transmission after the single transmission of the channel is finished;
judging whether the write-in data of each data type transmitted through the same channel is transmitted based on the channel state;
and if the transmission is finished, writing the write-in data of each data type transmitted through the same channel into the storage unit of the storage block corresponding to the channel until the write-in data of all the data types are written in.
4. The method of claim 2, wherein if there are a plurality of data types of the write data, dividing the write data of each data type by the predetermined unit data amount as a single transmission data amount, and sequentially writing the write data in memory cells of the memory block corresponding to a plurality of channels, comprises:
judging whether at least two data types exist in the written data;
if the written data of at least two data types exist, taking the written data of each data type as single transmission data volume by the preset unit data volume, and performing single transmission on the written data in each data type through the same channel by the single transmission data volume based on a channel priority mode;
and after the write-in data of each data type is transmitted in one channel, writing the write-in data of each data type in the channel after transmission into a storage unit of the storage block corresponding to the channel, and then performing single transmission of the next channel until the write-in data of all the data types are written.
5. The method of claim 2, wherein the sequentially writing the write data in the memory cells of the memory block corresponding to a channel through a plurality of channels comprises:
after the written data of the same data type is transmitted through a first-round channel, judging whether the written data has residual unwritten data or not based on the data writing amount of the written data;
and if the residual unwritten data exists, circularly writing the residual unwritten data into the storage units of the storage blocks corresponding to the channels on the basis of the sequence of the channel numbers, wherein the total data volume transmitted by the same channel does not exceed the maximum writing volume of the storage units of the storage blocks.
6. The method of claim 1, wherein if a data read request is obtained, reading target read data from storage units of the storage block in parallel through a plurality of channels based on continuity between logical addresses of the write data of the same data type, comprises:
when a data reading request is acquired, acquiring a target reading data type of target reading data in the data reading request;
and searching the target read data in the storage units of the storage block based on the target read data type, and reading the target read data in parallel from the storage units of the storage block through each channel for writing the target read data based on the continuity of the logic addresses of the write data of the same data type.
7. A data read-write processing device based on multiple channels is characterized by comprising:
the writing module is used for sequentially writing data with the same data type into storage units of storage blocks corresponding to channels in sequence by a plurality of channels according to a preset unit data volume based on a data writing request, wherein the logical addresses of the written data with the same data type have continuity, and the written data with the same data type have continuity;
and the reading module is used for reading target read data from the storage units of the storage blocks in parallel through a plurality of channels based on the continuity between the logic addresses of the write data of the same data type if a data read request is acquired.
8. The apparatus of claim 7, wherein the write module comprises:
the acquisition unit is used for acquiring the data writing request and acquiring the data type of the written data from the data writing request;
and the writing unit is used for dividing the writing data of each data type by taking the preset unit data volume as single transmission data volume if the writing data of multiple data types exist, and sequentially writing the writing data into the storage units of the storage blocks corresponding to the channels through a plurality of channels, wherein each storage unit of the storage blocks at least stores two preset unit data volumes.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor implements a multichannel-based data read-write processing method according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, wherein the computer program, when being executed by a processor, implements a multichannel-based data read/write processing method according to any one of claims 1 to 6.
CN202211342516.5A 2022-10-31 2022-10-31 Data read-write processing method and device based on multiple channels and related equipment Active CN115657950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211342516.5A CN115657950B (en) 2022-10-31 2022-10-31 Data read-write processing method and device based on multiple channels and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211342516.5A CN115657950B (en) 2022-10-31 2022-10-31 Data read-write processing method and device based on multiple channels and related equipment

Publications (2)

Publication Number Publication Date
CN115657950A true CN115657950A (en) 2023-01-31
CN115657950B CN115657950B (en) 2023-06-30

Family

ID=84993365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211342516.5A Active CN115657950B (en) 2022-10-31 2022-10-31 Data read-write processing method and device based on multiple channels and related equipment

Country Status (1)

Country Link
CN (1) CN115657950B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520902A (en) * 2011-11-01 2012-06-27 福建富顺电子有限公司 Parallel write-in multi-FIFO (first in,first out) implementation method based on single chip block RAM (random access memory)
CN107092439A (en) * 2017-03-07 2017-08-25 华为技术有限公司 A kind of method and apparatus of data storage
CN110737404A (en) * 2019-09-02 2020-01-31 深圳市金泰克半导体有限公司 Hard disk data storage method, device and storage medium
CN111399762A (en) * 2019-11-27 2020-07-10 杭州海康威视系统技术有限公司 Data storage method, device and storage system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520902A (en) * 2011-11-01 2012-06-27 福建富顺电子有限公司 Parallel write-in multi-FIFO (first in,first out) implementation method based on single chip block RAM (random access memory)
CN107092439A (en) * 2017-03-07 2017-08-25 华为技术有限公司 A kind of method and apparatus of data storage
CN110737404A (en) * 2019-09-02 2020-01-31 深圳市金泰克半导体有限公司 Hard disk data storage method, device and storage medium
CN111399762A (en) * 2019-11-27 2020-07-10 杭州海康威视系统技术有限公司 Data storage method, device and storage system

Also Published As

Publication number Publication date
CN115657950B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN101908379B (en) Adjusting access of non-volatile semiconductor memory based on access time
US9389804B2 (en) Host, system, and methods for transmitting commands to non-volatile memory card
TWI406130B (en) Data processing system, controller, and method thereof for searching specific memory area
CN108132890B (en) Garbage recycling method, device and equipment for memory chip and storage medium
US9710191B1 (en) Rapid memory buffer write storage system and method
CN112632069B (en) Hash table data storage management method, device, medium and electronic equipment
US10372379B2 (en) Command processing method and storage controller using the same
JP2010039645A (en) Controller, information processing apparatus and memory module recognition method
CN112199040B (en) Storage access method and intelligent processing device
CN110908927A (en) Data storage device and method for deleting name space thereof
CN111897743A (en) Data storage device and loading method of logical-to-physical address mapping table
CN115687174A (en) Method for recovering dynamic garbage of solid state disk and solid state disk
CN112214157A (en) Executing device and method for host computer output and input command and computer readable storage medium
US11126382B2 (en) SD card-based high-speed data storage method
CN110515872B (en) Direct memory access method, device, special computing chip and heterogeneous computing system
US20100153622A1 (en) Data Access Controller and Data Accessing Method
US8046507B2 (en) Computer, external storage and method for processing data information in external storage
CN115658625B (en) Data decompression system, graphic processing system, device, equipment and decompression method
CN115657950B (en) Data read-write processing method and device based on multiple channels and related equipment
TW201835766A (en) Methods for regular and garbage-collection data access and apparatuses using the same
TW202333047A (en) Device, system and method for acceleration
CN112764673B (en) Hyperspectral linear array data storage rate optimization method, device and storage medium
CN112395245B (en) Access device and method of processor and computer equipment
CN109542336B (en) Memory device and method of operating the same
US20060212605A1 (en) Serial host interface and method for operating the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 518000, 1st, 2nd, 3rd, 5th, 1st, 2nd, and 3rd floors, No. 7 Xinfa East Road, Xiangshan Community, Xinqiao Street, Bao'an District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Shi Creative Electronics Co.,Ltd.

Country or region after: China

Address before: 518000, 1st, 2nd, 3rd, 5th, 1st, 2nd, and 3rd floors, No. 7 Xinfa East Road, Xiangshan Community, Xinqiao Street, Bao'an District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN SHICHUANGYI ELECTRONIC CO.,LTD.

Country or region before: China