Method for RAID1 data writing, CPU system and storage equipment

A data writing and data technology, applied in the storage field, can solve the problems of system internal resource requirements and delay increase, the number of requests increases, RAID1 write performance decline, etc.

Active Publication Date: 2014-09-03
CHENGDU HUAWEI TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the more important data, the number of storage media in RAID1 will be more, which will lead to an increase in the number of constructed requests when

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for RAID1 data writing, CPU system and storage equipment
  • Method for RAID1 data writing, CPU system and storage equipment
  • Method for RAID1 data writing, CPU system and storage equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] The embodiment of the present invention provides a method for writing RAID1 data, specifically as figure 1 shown, including:

[0046] S101. A central processing unit (Central Processing Unit, CPU) system determines whether to write pre-stored input and output (Input Output, IO) data into N storage media, where N≥2, and N is an integer.

[0047] Specifically, the storage medium in this embodiment of the present invention may be a hard disk, may also be a flash memory, or may be other storage media for storing data, which is not specifically limited in the present invention.

[0048] If the CPU system determines that the pre-stored IO data needs to be written into N storage media, then execute step S102; otherwise, do not process it temporarily.

[0049] S102. If it is determined that the prestored IO data needs to be written into N storage media, the CPU system constructs an Internet Protocol (Internet Protocol, IP) multicast request message.

[0050] Optionally, when th...

Embodiment 2

[0074] An embodiment of the present invention provides a CPU system 60, specifically as Image 6 As shown, the CPU system 60 includes: a determination unit 601 , a construction unit 602 , and a sending unit 603 .

[0075] The determining unit 601 is configured to determine whether it is necessary to write the pre-stored IO data into N storage media, where N≥2, and N is an integer.

[0076] The construction unit 602 is configured to construct an IP multicast request message if the determination unit 601 determines that the pre-stored IO data needs to be written into N storage media.

[0077] The sending unit 603 is configured to send the IP multicast request message to N storage media through the IP switching network, and the N storage media respectively write the IO data into the storage media according to the IP multicast request message.

[0078] Specifically, if the IP multicast request message carries the IO data, the sending unit 603 is specifically used to:

[0079] Th...

Embodiment 3

[0089] An embodiment of the present invention provides a storage device 70, specifically as Figure 7 As shown, the storage device 70 includes: a CPU system 60 and N storage media 701 .

[0090] Wherein, the CPU system 60 is used to determine whether it is necessary to write the pre-stored input and output IO data into N storage media 701, wherein, N≥2, and N is an integer; if it is determined that the pre-stored IO data needs to be written into N storage media 701 The storage medium 701 constructs an IP multicast request message; and sends the IP multicast request message to N storage media 701 through an IP switching network.

[0091] The N storage media 701 are configured to respectively write IO data into the storage media according to the IP multicast request message.

[0092] Specifically, if the IP multicast request message carries IO data, the N storage media are specifically used to: write the IO data carried in the IP multicast request message into the storage media...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a method for RAID1 data writing, a CPU system and storage equipment. The RAID1 writing performance can be improved. The method comprises the steps that whether pre-stored IO data need to be written in N storage media or not is determined, wherein N>=2, and N is an integer; if the fact that the pre-stored IO data need to be written in the N storage media is determined, IP multicast request messages are constructed; the IP multicast request messages are sent to the N storage media through an IP exchange network, and IO data are written in the storage media through the N storage media according to the IP multicast request messages respectively. The method for RAID1 data writing, the CPU system and the storage equipment are suitable for the technical field of storage.

Description

technical field [0001] The invention relates to the technical field of storage, in particular to a method for writing RAID1 data, a CPU system and a storage device. Background technique [0002] In the field of data storage, all data is stored in various storage media, such as common magnetic tapes, optical discs, hard disks, and other various flash memory (flash) media. In addition to providing basic data storage functions, professional storage devices can also improve storage performance or data protection functions as needed. The most basic data protection is to enable normal access to data when local media is damaged or faulty through redundant storage, without cause data loss. Generally, such a storage device includes a set of storage media and at least one central processing unit (Central Processing Unit, CPU) system. Among them, the storage medium is used to store data, and the CPU system is used to process the data to be stored. According to the size of the amount...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F3/06
Inventor 何昌军
Owner CHENGDU HUAWEI TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products