CN110673795A - Data writing method and device, computer device and storage medium - Google Patents

Data writing method and device, computer device and storage medium Download PDF

Info

Publication number
CN110673795A
CN110673795A CN201910887876.5A CN201910887876A CN110673795A CN 110673795 A CN110673795 A CN 110673795A CN 201910887876 A CN201910887876 A CN 201910887876A CN 110673795 A CN110673795 A CN 110673795A
Authority
CN
China
Prior art keywords
disk
written
data block
disks
data
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.)
Pending
Application number
CN201910887876.5A
Other languages
Chinese (zh)
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 Onething Technology Co Ltd
Original Assignee
Shenzhen Onething Technology 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 Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201910887876.5A priority Critical patent/CN110673795A/en
Publication of CN110673795A publication Critical patent/CN110673795A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention provides a data writing method, which comprises the following steps: receiving a data block to be written; determining a remaining capacity of each disk of the plurality of disks; determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk in the plurality of disks; determining a first target disk from the first candidate disks according to the to-be-written data block queue of each disk in the first candidate disks; and adding the data block to be written into a data block queue to be written of the first target disk, and writing the data block to be written in the data block queue to be written of the first target disk into the first target disk. The invention also provides a data writing device, a computer device and a computer readable storage medium. The invention improves the data writing speed of the computer device and balances the load of a plurality of disks of the computer device.

Description

Data writing method and device, computer device and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a data writing method and device, a computer device and a computer readable storage medium.
Background
In order to increase the storage capacity of a computer device, a plurality of disks are often mounted in the computer device. The multiple disks loaded in a computer device are typically different types of disks due to storage speed and storage cost considerations. The computer device can adopt different data writing methods according to the difference of the residual capacity and the writing speed of different types of disks loaded by the computer device. A common data writing method is to write data blocks to a disk with a large remaining capacity or to write data blocks to a disk with a high operating speed. Writing data blocks to a disk with a large remaining capacity may cause a large number of data blocks to wait to be written to the disk with the large remaining capacity, resulting in a slow speed of writing data blocks. Writing a data block into a disk with a faster operating speed may cause the disk with the faster operating speed to store too many data blocks, resulting in a smaller remaining capacity of the disk with the faster operating speed, and thus a situation of unbalanced load of multiple disks may occur.
How to increase the data writing speed of the computer device makes the load balance of a plurality of disks of the computer device become an urgent problem to be solved.
Disclosure of Invention
In view of the foregoing, there is a need for a data writing method, a data writing device, a computer readable storage medium and a computer program product, which can write data to a plurality of disks, increase the data writing speed of the computer device, and balance the load of the plurality of disks of the computer device.
A first aspect of the present application provides a data writing method, the method including:
receiving a data block to be written;
determining a remaining capacity of each disk of the plurality of disks;
determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk in the plurality of disks;
determining a first target disk from the first candidate disks according to the to-be-written data block queue of each disk in the first candidate disks;
and adding the data block to be written into a data block queue to be written of the first target disk, and writing the data block to be written in the data block queue to be written of the first target disk into the first target disk.
In another possible implementation manner, the plurality of disks include a solid state disk and a mechanical hard disk.
In another possible implementation manner, the determining, from the plurality of disks, a first candidate disk according to the remaining capacity of each of the plurality of disks includes:
determining a disk with the residual capacity larger than or equal to the capacity required by the data block to be written in the plurality of disks as the first candidate disk; or
And determining the disk with the residual capacity being greater than or equal to the capacity required by the data block to be written and the residual capacity percentage being greater than a preset percentage in the plurality of disks as the first candidate disk.
In another possible implementation manner, the determining, according to the queue of data blocks to be written in each disk in the first candidate disk, a first target disk from the first candidate disk includes:
determining the number of data blocks to be written in a data block queue to be written in each disk in the first candidate disk;
and determining the disk with the minimum number of data blocks to be written in the data block queue to be written in the first candidate disk as the first target disk.
In another possible implementation manner, each disk in the multiple disks corresponds to one queue of data blocks to be read, and the method further includes:
receiving a data block to be read;
searching a second target disk corresponding to the data block to be read from the plurality of disks;
and adding the data block to be read into a data block queue to be read of the second target disk, and reading target data from the second target disk according to the data block to be read in the data block queue to be read of the second target disk.
In another possible implementation manner, the data block to be written includes a disk type, and the determining the remaining capacity of each of the plurality of disks includes:
acquiring a plurality of specified type disks with the disk type in the plurality of disks;
determining a remaining capacity of each disk of the plurality of specified types of disks;
the determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk of the plurality of disks comprises:
and determining the first candidate disk from the plurality of disks of the specified type according to the residual capacity of each disk of the plurality of disks of the specified type.
In another possible implementation manner, the method further includes:
and asynchronously writing the data blocks to be written in the data block queues to be written of the plurality of disks into each disk.
A second aspect of the present application provides a computer apparatus comprising a memory and a processor, the memory having stored thereon a computer program executable on the processor, the computer program, when executed by the processor, implementing the data writing method.
A third aspect of the present application provides a data writing apparatus, the apparatus comprising:
a receiving unit, configured to receive a data block to be written;
a first determination unit configured to determine a remaining capacity of each of the plurality of disks;
a second determining unit, configured to determine a first candidate disk from the plurality of disks according to a remaining capacity of each of the plurality of disks;
a third determining unit, configured to determine a first target disk from the first candidate disk according to a to-be-written data block queue of each disk in the first candidate disk;
and the writing unit is used for adding the data block to be written into the data block queue to be written of the first target disk, and writing the data block to be written in the data block queue to be written of the first target disk into the first target disk.
A fourth aspect of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the data writing method.
A fifth aspect of the application provides a computer program product comprising computer instructions which, when run on a computer apparatus, cause the computer apparatus to perform the data writing method.
The invention receives a data block to be written; determining a remaining capacity of each disk of the plurality of disks; determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk in the plurality of disks; determining a first target disk from the first candidate disks according to the to-be-written data block queue of each disk in the first candidate disks; and adding the data block to be written into a data block queue to be written of the first target disk, and writing the data block to be written in the data block queue to be written of the first target disk into the first target disk. The data writing method can write data into the plurality of disks, improves the data writing speed of the computer device, and balances the load of the plurality of disks of the computer device.
Drawings
Fig. 1 is a flowchart of a data writing method according to a preferred embodiment of the present invention.
Fig. 2 is a flowchart of a data writing apparatus according to a preferred embodiment of the present invention.
FIG. 3 is a diagram of a computer device according to a preferred embodiment of the present invention.
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. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Preferably, the data writing method of the present invention is applied to one or more computer apparatuses. The computer device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing equipment. The computer device can be in man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The computer device may be a node constituting a CDN (Content Delivery Network) Network or a blockchain Network.
Example one
Fig. 1 is a flowchart of a data writing method according to an embodiment of the present invention. The data writing method is applied to a computer device, the computer device comprises a plurality of disks, each disk in the plurality of disks corresponds to a data block queue to be written, and the data writing method is used for writing data into the plurality of disks.
Referring to fig. 1, the data writing method specifically includes the following steps:
101, a data block to be written is received.
The data block to be written may include a video data block to be written, an audio data block to be written, a text data block to be written, and the like. The data block to be written may be data with a fixed size, and a data writing program may be executed to write the data block to be written into one of the plurality of disks. For example, executing the data writing program to write the video data block to be written into one of the plurality of disks; executing the data writing program to write the audio data block to be written into one of the plurality of disks; and executing the data writing program to write the text to-be-written data block into one of the plurality of disks.
Specifically, the data block to be written may be obtained by splitting a file. The size of the data block to be written may be 5MB, 1MB, 0.1MB, or the like. For example, a video file with a size of 10MB is split into 10 data blocks to be written with a size of 1 MB.
In another embodiment, multiple blocks of data to be written may be received concurrently.
102, determining a remaining capacity of each disk of the plurality of disks.
In a specific embodiment, the plurality of disks include Solid State Drives (SSDs) and Hard Disk Drives (HDDs). The solid state disk is a hard disk made of a solid state electronic storage chip array, and has the characteristics of high writing speed and small total capacity. The mechanical hard disk mainly comprises a disk, a magnetic head, a disk rotating shaft, a control motor, a magnetic head controller, a data converter, an interface and the like, and has the characteristics of low writing speed and large total capacity.
For example, the computer device includes a solid state disk a, a solid state disk B, and a mechanical hard disk C, and then the remaining capacity of the solid state disk a, the remaining capacity of the solid state disk B, and the remaining capacity of the mechanical hard disk C are determined. For example, it is determined that the remaining capacity of the solid state disk a is 155GB (GigaByte, unit of disk capacity), the remaining capacity of the solid state disk B is 98GB, and the remaining capacity of the mechanical hard disk C is 910 GB.
103, determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk in the plurality of disks.
In a specific embodiment, the determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk of the plurality of disks includes:
determining a disk with the residual capacity larger than or equal to the capacity required by the data block to be written in the plurality of disks as the first candidate disk; or determining the disk with the residual capacity being greater than or equal to the capacity required by the data block to be written and the residual capacity percentage being greater than a preset percentage in the plurality of disks as the first candidate disk.
For example, in the multiple disks, if the remaining capacity of the solid state disk a is 15GB, the remaining capacity of the solid state disk B is 9GB, the remaining capacity of the mechanical hard disk C is 91GB, and the capacity required for writing data blocks is 10GB, the solid state disk a and the mechanical hard disk C are determined as the first candidate disk.
For another example, in the plurality of disks, the remaining capacity of the solid state disk a is 15GB, the remaining capacity percentage is 47%, the remaining capacity of the solid state disk B is 9GB, the remaining capacity percentage is 28%, and the remaining capacity of the mechanical hard disk C is 91GB, the remaining capacity percentage is 71%. And if the capacity required by the data block to be written is 10GB and the preset percentage is 60%, determining the mechanical hard disk C as the first candidate disk.
Determining the first candidate disk according to the remaining capacity percentage may make the remaining capacity distribution of the plurality of disks more uniform.
In another embodiment, the determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk of the plurality of disks comprises:
determining the disk with the residual capacity larger than or equal to the preset capacity in the plurality of disks as the first candidate disk, or determining the disk with the residual capacity larger than or equal to the preset capacity and the residual capacity percentage larger than the preset percentage in the plurality of disks as the first candidate disk.
Determining the disk with the residual capacity greater than or equal to the preset capacity and the residual capacity percentage greater than the preset percentage in the plurality of disks as the first candidate disk, so that the disk with the large residual capacity and the high residual capacity percentage can be selected for the data block to be written. For example, in the multiple disks, if the remaining capacity of the solid state disk a is 180GB, the remaining capacity percentage is 70%, the remaining capacity of the solid state disk B is 98GB, the remaining capacity percentage is 76%, the remaining capacity of the mechanical hard disk C is 410GB, the remaining capacity percentage is 40%, the preset capacity is 100GB, and the preset percentage is 60%, the solid state disk a is determined as the first candidate disk.
And 104, determining a first target disk from the first candidate disk according to the to-be-written data block queue of each disk in the first candidate disk.
In a specific embodiment, the determining, according to the queue of data blocks to be written to each disk in the first candidate disks, a first target disk from the first candidate disks includes:
determining the number of data blocks to be written in a data block queue to be written in each disk in the first candidate disk; and determining the disk with the minimum number of data blocks to be written in the data block queue to be written in the first candidate disk as the first target disk.
For example, the first candidate disk includes a solid state disk a, a solid state disk B, and a mechanical hard disk C, and the number of data blocks to be written in the data block queue of the solid state disk a, the solid state disk B, and the mechanical hard disk C is obtained. For example, the number of data blocks to be written in the data block queue to be written in the solid state disk a is obtained to be 2, the number of data blocks to be written in the data block queue to be written in the solid state disk B is obtained to be 3, the number of data blocks to be written in the data block queue to be written in the mechanical hard disk C is obtained to be 4, and the solid state disk a with the smallest number of data blocks to be written in the data block queue to be written in is determined to be the first target disk.
For another example, the first candidate disk includes a solid state disk a, a solid state disk B, and a mechanical hard disk C, where the number of data blocks to be written in the data block queue of the solid state disk a is 4, the number of data blocks to be written in the data block queue of the solid state disk B is 3, the number of data blocks to be written in the data block queue of the mechanical hard disk C is 2, and the mechanical hard disk C with the smallest number of data blocks to be written in the data block queue is determined as the first target disk.
105, adding the data block to be written into the data block queue to be written of the first target disk, and writing the data block to be written in the data block queue to be written of the first target disk into the first target disk.
Before adding the data block to be written into the data block queue to be written of the first target disk, the data block queue to be written of the first target disk may include a plurality of data blocks to be written. Adding the data block to be written into the data block queue to be written of the first target disk is to add the data block to be written into the tail of the data block queue to be written of the first target disk. And executing the data writing program to write the data block to be written into the first target disk from the head of the queue of the data block to be written of the first target disk.
For example, the mechanical hard disk C is a first target disk, and adds the data block a to be written to the data block queue to be written of the mechanical hard disk C. Before the data block a to be written is added into the data block queue to be written of the mechanical hard disk C, the data block queue to be written of the mechanical hard disk C comprises a data block b to be written. After the data block a to be written is added into the data block queue to be written of the mechanical hard disk C, the data block queue to be written of the mechanical hard disk comprises a data block b to be written and a data block a to be written, the data block b to be written is at the head of the queue, and the data block a to be written is at the tail of the queue. The computer device executes the data writing program to write the data block b to be written into the mechanical hard disk C, and then executes the data writing program to write the data block a to be written into the mechanical hard disk C.
And the first target disk corresponds to a thread, and the data writing program is executed on the thread of the first target disk to write the data block to be written into the first target disk from the head of the queue of the data block to be written into the first target disk.
And each disk in the plurality of disks corresponds to one thread, and the data writing program is executed on the thread of the disk to write the data blocks to be written in the data block queue of the disk into the disk from the head of the data block queue to be written in the disk.
The data writing method of the first embodiment receives a data block to be written; determining a remaining capacity of each disk of the plurality of disks; determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk in the plurality of disks; determining a first target disk from the first candidate disks according to the to-be-written data block queue of each disk in the first candidate disks; and adding the data block to be written into a data block queue to be written of the first target disk, and writing the data block to be written in the data block queue to be written of the first target disk into the first target disk. The embodiment writes data into the plurality of disks, thereby improving the data writing speed of the computer device and balancing the load of the plurality of disks of the computer device.
The data writing method can write the data block to be written into the first target disk with sufficient residual capacity. According to the writing effect of a single data block to be written, the data writing method improves the speed of writing the data block to be written by writing the data block to be written into the first target disk with the minimum number of the data blocks to be written. From the writing effect of the data blocks to be written, the balance of the distribution of the residual capacity of the disks can be realized, and the speed of writing the data blocks to be written is improved.
In another embodiment, each of the plurality of disks corresponds to a queue of data blocks to be read, and the data writing method may further include:
receiving a data block to be read; searching a second target disk corresponding to the data block to be read from the plurality of disks; and adding the data block to be read into a data block queue to be read of the second target disk, and reading target data from the second target disk according to the data block to be read in the data block queue to be read of the second target disk.
A target disk name may be obtained from the data block to be read, a disk whose disk name is consistent with the target disk name is searched from the multiple disks, and the disk whose disk name is consistent with the target disk name is used as a second target disk.
In a specific embodiment, a data reading program is executed on the thread of the second target disk to read target data from the second target disk according to the data block to be read in the data block queue to be read of the second target disk, starting from the head of the data block queue to be read of the second target disk. The data block queue to be read and the data block queue to be written may be the same data block queue, that is, one data block queue may include the data block to be written and the data block to be read.
In another embodiment, the data block to be written comprises a disk type, and the determining the remaining capacity of each of the plurality of disks comprises:
acquiring a plurality of specified type disks with the disk type in the plurality of disks; determining a remaining capacity of each disk of the plurality of specified types of disks.
The determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk of the plurality of disks comprises:
and determining the first candidate disk from the plurality of disks of the specified type according to the residual capacity of each disk of the plurality of disks of the specified type.
In another embodiment, the method further comprises:
and asynchronously writing the data blocks to be written in the data block queues to be written of the plurality of disks into each disk. Specifically, the data writer is executed on the thread of each disk in the multiple disks, and the data writer executed on the thread of each disk may asynchronously write the data blocks to be written in the data block queue of each disk into each disk from the head of the data block queue to be written in each disk.
Example two
Fig. 2 is a block diagram of a data writing device according to a preferred embodiment of the present invention. The data writing device 10 is applied to a computer device, where the computer device includes a plurality of disks, and each disk in the plurality of disks corresponds to a to-be-written data block queue, and is used to write data into the plurality of disks.
As shown in fig. 2, the data writing apparatus 10 may include: a receiving unit 201, a first determining unit 202, a second determining unit 203, a third determining unit 204, a writing unit 205.
A receiving unit 201, configured to receive a data block to be written.
The data block to be written may include a video data block to be written, an audio data block to be written, a text data block to be written, and the like. The data block to be written may be data with a fixed size, and a data writing program may be executed to write the data block to be written into one of the plurality of disks. For example, executing the data writing program to write the video data block to be written into one of the plurality of disks; executing the data writing program to write the audio data block to be written into one of the plurality of disks; and executing the data writing program to write the text to-be-written data block into one of the plurality of disks.
Specifically, the data block to be written may be obtained by splitting an entire file. The size of the data block to be written may be 5MB, 1MB, 0.1MB, or the like. For example, a video file with a size of 10MB is split into 10 data blocks to be written with a size of 1 MB.
In another embodiment, multiple blocks of data to be written may be received concurrently.
A first determining unit 202, configured to determine a remaining capacity of each of the plurality of disks.
In a specific embodiment, the plurality of disks include Solid State Drives (SSDs) and Hard Disk Drives (HDDs). The solid state disk is a hard disk made of a solid state electronic storage chip array, and has the characteristics of high writing speed and small total capacity. The mechanical hard disk mainly comprises a disk, a magnetic head, a disk rotating shaft, a control motor, a magnetic head controller, a data converter, an interface and the like, and has the characteristics of low writing speed and large total capacity.
For example, the computer device includes a solid state disk a, a solid state disk B, and a mechanical hard disk C, and then the remaining capacity of the solid state disk a, the remaining capacity of the solid state disk B, and the remaining capacity of the mechanical hard disk C are determined. For example, it is determined that the remaining capacity of the solid state disk a is 155GB (GigaByte, unit of disk capacity), the remaining capacity of the solid state disk B is 98GB, and the remaining capacity of the mechanical hard disk C is 910 GB.
A second determining unit 203, configured to determine a first candidate disk from the multiple disks according to the remaining capacity of each disk in the multiple disks.
In a specific embodiment, the determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk of the plurality of disks includes:
determining a disk with the residual capacity larger than or equal to the capacity required by the data block to be written in the plurality of disks as the first candidate disk; or determining the disk with the residual capacity being greater than or equal to the capacity required by the data block to be written and the residual capacity percentage being greater than a preset percentage in the plurality of disks as the first candidate disk.
For example, in the multiple disks, if the remaining capacity of the solid state disk a is 15GB, the remaining capacity of the solid state disk B is 9GB, the remaining capacity of the mechanical hard disk C is 91GB, and the capacity required for writing data blocks is 10GB, the solid state disk a and the mechanical hard disk C are determined as the first candidate disk.
For another example, in the plurality of disks, the remaining capacity of the solid state disk a is 15GB, the remaining capacity percentage is 47%, the remaining capacity of the solid state disk B is 9GB, the remaining capacity percentage is 28%, and the remaining capacity of the mechanical hard disk C is 91GB, the remaining capacity percentage is 71%. And if the capacity required by the data block to be written is 10GB and the preset percentage is 60%, determining the mechanical hard disk C as the first candidate disk.
Determining the first candidate disk according to the remaining capacity percentage may make the remaining capacity distribution of the plurality of disks more uniform.
In another embodiment, the determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk of the plurality of disks comprises:
determining the disk with the residual capacity larger than or equal to the preset capacity in the plurality of disks as the first candidate disk, or determining the disk with the residual capacity larger than or equal to the preset capacity and the residual capacity percentage larger than the preset percentage in the plurality of disks as the first candidate disk.
Determining the disk with the residual capacity greater than or equal to the preset capacity and the residual capacity percentage greater than the preset percentage in the plurality of disks as the first candidate disk, so that the disk with the large residual capacity and the high residual capacity percentage can be selected for the data block to be written. For example, in the multiple disks, if the remaining capacity of the solid state disk a is 180GB, the remaining capacity percentage is 70%, the remaining capacity of the solid state disk B is 98GB, the remaining capacity percentage is 76%, the remaining capacity of the mechanical hard disk C is 410GB, the remaining capacity percentage is 40%, the preset capacity is 100GB, and the preset percentage is 60%, the solid state disk a is determined as the first candidate disk.
A third determining unit 204, configured to determine a first target disk from the first candidate disk according to the to-be-written data block queue of each disk in the first candidate disk.
In a specific embodiment, the determining, according to the queue of data blocks to be written to each disk in the first candidate disks, a first target disk from the first candidate disks includes:
determining the number of data blocks to be written in a data block queue to be written in each disk in the first candidate disk; and determining the disk with the minimum number of data blocks to be written in the data block queue to be written in the first candidate disk as the first target disk.
For example, the first candidate disk includes a solid state disk a, a solid state disk B, and a mechanical hard disk C, and the number of data blocks to be written in the data block queue of the solid state disk a, the solid state disk B, and the mechanical hard disk C is obtained. For example, the number of data blocks to be written in the data block queue to be written in the solid state disk a is obtained to be 2, the number of data blocks to be written in the data block queue to be written in the solid state disk B is obtained to be 3, the number of data blocks to be written in the data block queue to be written in the mechanical hard disk C is obtained to be 4, and the solid state disk a with the smallest number of data blocks to be written in the data block queue to be written in is determined to be the first target disk.
For another example, the first candidate disk includes a solid state disk a, a solid state disk B, and a mechanical hard disk C, where the number of data blocks to be written in the data block queue of the solid state disk a is 4, the number of data blocks to be written in the data block queue of the solid state disk B is 3, the number of data blocks to be written in the data block queue of the mechanical hard disk C is 2, and the mechanical hard disk C with the smallest number of data blocks to be written in the data block queue is determined as the first target disk.
A writing unit 205, configured to add the data block to be written into the data block queue to be written into the first target disk, and write the data block to be written into the data block queue to be written into the first target disk.
Before adding the data block to be written into the data block queue to be written of the first target disk, the data block queue to be written of the first target disk may include a plurality of data blocks to be written. Adding the data block to be written into the data block queue to be written of the first target disk is to add the data block to be written into the tail of the data block queue to be written of the first target disk. And executing the data writing program to write the data block to be written into the first target disk from the head of the queue of the data block to be written of the first target disk.
For example, the mechanical hard disk C is a first target disk, and adds the data block a to be written to the data block queue to be written of the mechanical hard disk C. Before the data block a to be written is added into the data block queue to be written of the mechanical hard disk C, the data block queue to be written of the mechanical hard disk C comprises a data block b to be written. After the data block a to be written is added into the data block queue to be written of the mechanical hard disk C, the data block queue to be written of the mechanical hard disk comprises a data block b to be written and a data block a to be written, the data block b to be written is at the head of the queue, and the data block a to be written is at the tail of the queue. The computer device executes the data writing program to write the data block b to be written into the mechanical hard disk C, and then executes the data writing program to write the data block a to be written into the mechanical hard disk C.
And the first target disk corresponds to a thread, and the data writing program is executed on the thread of the first target disk to write the data block to be written into the first target disk from the head of the queue of the data block to be written into the first target disk.
And each disk in the plurality of disks corresponds to one thread, and the data writing program is executed on the thread of the disk to write the data blocks to be written in the data block queue of the disk into the disk from the head of the data block queue to be written in the disk.
The data writing device 10 of the second embodiment receives a data block to be written; determining a remaining capacity of each disk of the plurality of disks; determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk in the plurality of disks; determining a first target disk from the first candidate disks according to the to-be-written data block queue of each disk in the first candidate disks; and adding the data block to be written into a data block queue to be written of the first target disk, and writing the data block to be written in the data block queue to be written of the first target disk into the first target disk. According to the embodiment, data are written into the plurality of disks, so that the data writing speed of the computer device is improved, and the load of the plurality of disks of the computer device is balanced.
The data writing device 10 may write the data block to be written to the first target disk with sufficient remaining capacity. According to the writing effect of a single data block to be written, the data writing method improves the speed of writing the data block to be written by writing the data block to be written into the first target disk with the minimum number of the data blocks to be written. From the writing effect of the data blocks to be written, the balance of the distribution of the residual capacity of the disks can be realized, and the speed of writing the data blocks to be written is improved.
In another embodiment, each of the plurality of disks corresponds to a to-be-read data block queue, and the data writing apparatus further includes a reading unit configured to receive a to-be-read data block; searching a second target disk corresponding to the data block to be read from the plurality of disks; and adding the data block to be read into a data block queue to be read of the second target disk, and reading target data from the second target disk according to the data block to be read in the data block queue to be read of the second target disk.
A target disk name may be obtained from the data block to be read, a disk whose disk name is consistent with the target disk name is searched from the multiple disks, and the disk whose disk name is consistent with the target disk name is used as a second target disk.
In a specific embodiment, a data reading program is executed on the thread of the second target disk to read target data from the second target disk according to the data block to be read in the data block queue to be read of the second target disk, starting from the head of the data block queue to be read of the second target disk. The data block queue to be read and the data block queue to be written may be the same data block queue, that is, one data block queue may include the data block to be written and the data block to be read.
In another embodiment, the data block to be written includes a disk type, and the data writing apparatus further includes a fourth determining unit configured to determine a remaining capacity of each of the plurality of disks:
acquiring a plurality of specified type disks with the disk type in the plurality of disks; determining a remaining capacity of each disk of the plurality of specified types of disks;
determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk of the plurality of disks:
and determining the first candidate disk from the plurality of disks of the specified type according to the residual capacity of each disk of the plurality of disks of the specified type.
In another embodiment, the writing unit is further configured to asynchronously write the data blocks to be written in the data block queue to be written of the multiple disks to each disk. Specifically, the data writer is executed on the thread of each disk in the multiple disks, and the data writer executed on the thread of each disk may asynchronously write the data blocks to be written in the data block queue of each disk into each disk from the head of the data block queue to be written in each disk.
EXAMPLE III
The present embodiment provides a computer-readable storage medium, which stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned data writing method embodiment, for example, 101-105 shown in fig. 1:
101, receiving a data block to be written;
102, determining the residual capacity of each disk in a plurality of disks;
103, determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk in the plurality of disks;
104, determining a first target disk from the first candidate disks according to the to-be-written data block queue of each disk in the first candidate disks;
105, adding the data block to be written into the data block queue to be written of the first target disk, and writing the data block to be written in the data block queue to be written of the first target disk into the first target disk.
Alternatively, the computer program, when executed by the processor, implements the functions of the modules/units in the above-described device embodiments, for example, the unit 201 and 205 in fig. 2:
a receiving unit 201, configured to receive a data block to be written;
a first determination unit 202 for determining a remaining capacity of each of the plurality of disks;
a second determining unit 203, configured to determine a first candidate disk from the plurality of disks according to the remaining capacity of each disk in the plurality of disks;
a third determining unit 204, configured to determine a first target disk from the first candidate disk according to a to-be-written data block queue of each disk in the first candidate disk;
a writing unit 205, configured to add the data block to be written into the data block queue to be written into the first target disk, and write the data block to be written into the data block queue to be written into the first target disk.
Example four
Fig. 3 is a schematic diagram of a computer device according to an embodiment of the present invention. The computer device 1 comprises a memory 20, a processor 30, a bus 50 and a computer program 40 stored in the memory 20 and executable on the processor 30. The processor 30, when executing the computer program 40, implements the steps in the above-mentioned data writing method embodiments, such as 101-105 shown in fig. 1:
101, receiving a data block to be written;
102, determining the residual capacity of each disk in a plurality of disks;
103, determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk in the plurality of disks;
104, determining a first target disk from the first candidate disks according to the to-be-written data block queue of each disk in the first candidate disks;
105, adding the data block to be written into the data block queue to be written of the first target disk, and writing the data block to be written in the data block queue to be written of the first target disk into the first target disk.
Alternatively, the processor 30, when executing the computer program 40, implements the functions of the modules/units in the above device embodiments, for example, the unit 201 and 205 in fig. 2:
a receiving unit 201, configured to receive a data block to be written;
a first determination unit 202 for determining a remaining capacity of each of the plurality of disks;
a second determining unit 203, configured to determine a first candidate disk from the plurality of disks according to the remaining capacity of each disk in the plurality of disks;
a third determining unit 204, configured to determine a first target disk from the first candidate disk according to a to-be-written data block queue of each disk in the first candidate disk;
a writing unit 205, configured to add the data block to be written into the data block queue to be written into the first target disk, and write the data block to be written into the data block queue to be written into the first target disk.
Illustratively, the computer program 40 may be partitioned into one or more modules/units that are stored in the memory 20 and executed by the processor 30 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 40 in the computer apparatus 1. For example, the computer program 40 may be divided into a receiving unit 201, a first determining unit 202, a second determining unit 203, a third determining unit 204, and a writing unit 205 in fig. 2, and the specific functions of each unit are shown in embodiment two.
The Computer device 1 may be a PC (Personal Computer), or may be a terminal device such as a smart phone, a tablet Computer, a palmtop Computer, a portable Computer, an intelligent router, an ore machine, and a network storage device. In this embodiment, the computer apparatus 1 may be an edge server.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor 30 may be any conventional processor or the like, the processor 30 being the control center of the computer device 1 and connecting the various parts of the whole computer device 1 with various interfaces and lines.
The memory 20 may be used for storing the computer program 40 and/or the module/unit, and the processor 30 implements various functions of the computer device 1 by running or executing the computer program and/or the module/unit stored in the memory 20 and calling data stored in the memory 20. The memory 20 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data) created according to the use of the computer apparatus 1, and the like. Further, the memory 20 may include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a flash memory Card (FlashCard), at least one magnetic disk storage device, a flash memory device, or other non-volatile solid state storage device.
The bus 50 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 50 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 3, but this does not mean only one bus or one type of bus.
Further, the computer apparatus 1 may further include a network interface, which may optionally include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), and is generally used for establishing a communication connection between the computer apparatus 1 and other electronic devices.
Optionally, the computer device 1 may further comprise a user interface, the user interface may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface may further comprise a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the computer device 1 and for displaying a visualized user interface.
It will be appreciated by a person skilled in the art that the schematic diagram 3 is merely an example of the computer device 1 and does not constitute a limitation of the computer device 1, and may comprise more or less components than those shown, or some components may be combined, or different components.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the invention are, in whole or in part, generated upon loading and execution of the computer program instructions on a computer apparatus. The computer device may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one type of logical function division, and other division manners may be available in actual implementation, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a magnetic disk, or an optical disk.
It should be noted that the above-mentioned numbers of the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A data writing method is applied to a computer device, the computer device comprises a plurality of disks, each disk in the plurality of disks corresponds to a queue of data blocks to be written, and the method comprises the following steps:
receiving a data block to be written;
determining a remaining capacity of each disk of the plurality of disks;
determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk in the plurality of disks;
determining a first target disk from the first candidate disks according to the to-be-written data block queue of each disk in the first candidate disks;
and adding the data block to be written into a data block queue to be written of the first target disk, and writing the data block to be written in the data block queue to be written of the first target disk into the first target disk.
2. The method of claim 1, wherein the plurality of disks comprises a solid state disk and a mechanical hard disk.
3. The method of claim 1, wherein the determining a first candidate disk from the plurality of disks based on the remaining capacity of each disk of the plurality of disks comprises:
determining a disk with the residual capacity larger than or equal to the capacity required by the data block to be written in the plurality of disks as the first candidate disk; or
And determining the disk with the residual capacity being greater than or equal to the capacity required by the data block to be written and the residual capacity percentage being greater than a preset percentage in the plurality of disks as the first candidate disk.
4. The method of claim 1, wherein the determining a first target disk from the first candidate disks according to the queue of data blocks to be written for each disk in the first candidate disks comprises:
determining the number of data blocks to be written in a data block queue to be written in each disk in the first candidate disk;
and determining the disk with the minimum number of data blocks to be written in the data block queue to be written in the first candidate disk as the first target disk.
5. The method of claim 1, wherein each disk of the plurality of disks corresponds to a queue of data blocks to be read, the method further comprising:
receiving a data block to be read;
searching a second target disk corresponding to the data block to be read from the plurality of disks;
and adding the data block to be read into a data block queue to be read of the second target disk, and reading target data from the second target disk according to the data block to be read in the data block queue to be read of the second target disk.
6. The method of claim 1, wherein the block of data to be written comprises a disk type, and wherein the determining the remaining capacity of each disk of the plurality of disks comprises:
acquiring a plurality of specified type disks with the disk type in the plurality of disks;
determining a remaining capacity of each disk of the plurality of specified types of disks;
the determining a first candidate disk from the plurality of disks according to the remaining capacity of each disk of the plurality of disks comprises:
and determining the first candidate disk from the plurality of disks of the specified type according to the residual capacity of each disk of the plurality of disks of the specified type.
7. The method of claim 1, wherein the method further comprises:
and asynchronously writing the data blocks to be written in the data block queues to be written of the plurality of disks into each disk.
8. A computer arrangement comprising a memory and a processor, the memory having stored thereon a computer program operable on the processor, the computer program, when executed by the processor, implementing a data writing method as claimed in any one of claims 1 to 7.
9. A data writing apparatus, characterized in that the apparatus comprises:
a receiving unit, configured to receive a data block to be written;
a first determination unit configured to determine a remaining capacity of each of the plurality of disks;
a second determining unit, configured to determine a first candidate disk from the plurality of disks according to a remaining capacity of each of the plurality of disks;
a third determining unit, configured to determine a first target disk from the first candidate disk according to a to-be-written data block queue of each disk in the first candidate disk;
and the writing unit is used for adding the data block to be written into the data block queue to be written of the first target disk, and writing the data block to be written in the data block queue to be written of the first target disk into the first target disk.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements a data writing method according to any one of claims 1 to 7.
CN201910887876.5A 2019-09-19 2019-09-19 Data writing method and device, computer device and storage medium Pending CN110673795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910887876.5A CN110673795A (en) 2019-09-19 2019-09-19 Data writing method and device, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910887876.5A CN110673795A (en) 2019-09-19 2019-09-19 Data writing method and device, computer device and storage medium

Publications (1)

Publication Number Publication Date
CN110673795A true CN110673795A (en) 2020-01-10

Family

ID=69078349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910887876.5A Pending CN110673795A (en) 2019-09-19 2019-09-19 Data writing method and device, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN110673795A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596671A (en) * 2020-12-16 2021-04-02 东软集团股份有限公司 Data storage method and device, storage medium and electronic equipment
CN114253477A (en) * 2021-12-15 2022-03-29 威创集团股份有限公司 Ultrahigh concurrent image data writing method and device and readable storage medium
CN116301644A (en) * 2023-03-24 2023-06-23 四川水利职业技术学院 Data storage method, system, terminal and medium based on multi-hard disk coordination

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6317808B1 (en) * 1999-03-26 2001-11-13 Adc Telecommunications, Inc. Data storage system and method of routing or assigning disk write requests among a set of disks using weighted available disk space values
CN102053800A (en) * 2010-11-26 2011-05-11 华为技术有限公司 Data access method, message receiving resolver and system
CN102541460A (en) * 2010-12-20 2012-07-04 中国移动通信集团公司 Multiple disc management method and equipment
CN102622185A (en) * 2011-01-27 2012-08-01 北京东方广视科技股份有限公司 Method for storing document in plurality of storage units and storage allocation method
CN106547473A (en) * 2015-09-21 2017-03-29 华为数字技术(成都)有限公司 A kind of writing method and device of disk array
CN108255408A (en) * 2016-12-28 2018-07-06 中国电信股份有限公司 Date storage method and system
CN109753245A (en) * 2018-12-28 2019-05-14 北京东方国信科技股份有限公司 A kind of multiple disks load balancing asynchronous read and write dispatching method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6317808B1 (en) * 1999-03-26 2001-11-13 Adc Telecommunications, Inc. Data storage system and method of routing or assigning disk write requests among a set of disks using weighted available disk space values
CN102053800A (en) * 2010-11-26 2011-05-11 华为技术有限公司 Data access method, message receiving resolver and system
CN102541460A (en) * 2010-12-20 2012-07-04 中国移动通信集团公司 Multiple disc management method and equipment
CN102622185A (en) * 2011-01-27 2012-08-01 北京东方广视科技股份有限公司 Method for storing document in plurality of storage units and storage allocation method
CN106547473A (en) * 2015-09-21 2017-03-29 华为数字技术(成都)有限公司 A kind of writing method and device of disk array
CN108255408A (en) * 2016-12-28 2018-07-06 中国电信股份有限公司 Date storage method and system
CN109753245A (en) * 2018-12-28 2019-05-14 北京东方国信科技股份有限公司 A kind of multiple disks load balancing asynchronous read and write dispatching method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596671A (en) * 2020-12-16 2021-04-02 东软集团股份有限公司 Data storage method and device, storage medium and electronic equipment
CN114253477A (en) * 2021-12-15 2022-03-29 威创集团股份有限公司 Ultrahigh concurrent image data writing method and device and readable storage medium
CN116301644A (en) * 2023-03-24 2023-06-23 四川水利职业技术学院 Data storage method, system, terminal and medium based on multi-hard disk coordination
CN116301644B (en) * 2023-03-24 2023-10-13 四川水利职业技术学院 Data storage method, system, terminal and medium based on multi-hard disk coordination

Similar Documents

Publication Publication Date Title
US9606725B2 (en) Collaborative overlay of user interface elements rendered on the display of a computing device
US20160253121A1 (en) Migration of newly allocated data to a storage tier
CN101650660B (en) Booting a computer system from central storage
WO2017020647A1 (en) Novel storage-based embedded file system and realization method thereof
CN108038112B (en) File processing method, mobile terminal and computer readable storage medium
US9063847B2 (en) System and method for managing space allocation within a file system
US7921230B2 (en) USB devices pre-configuration for KVM switch
CN111290907A (en) Distributed storage network pressure measurement method and device, computer device and storage medium
CN110673795A (en) Data writing method and device, computer device and storage medium
US20150082014A1 (en) Virtual Storage Devices Formed by Selected Partitions of a Physical Storage Device
CN106156038B (en) Date storage method and device
EP3869343B1 (en) Storage device and operating method thereof
CN109739738A (en) Event log management method, system and relevant apparatus based on HTML5
US20110307525A1 (en) Virtual storage device
CN114138292A (en) System upgrading method, storage medium and terminal equipment
KR20110037706A (en) System and method for executing applications stored in the external storage apparatus
US20140297953A1 (en) Removable Storage Device Identity and Configuration Information
CN111782474A (en) Log processing method and device, electronic equipment and medium
CN112912855A (en) Starting-up detection method, starting-up detection device and mobile terminal
US8296275B2 (en) Data processing method, data processing system, and storage device controller
CN110727639A (en) Fragment data reading method, electronic device, system and medium
EP3048541A1 (en) File access method and device
US20080281992A1 (en) Method for detecting order of attached devices and computer readable storage media storing program thereof
US8756409B2 (en) System, method and computer program product for retrieving data at boot time
US8667188B2 (en) Communication between a computer and a data storage device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200110