CN102137134A - Network storage system and method - Google Patents

Network storage system and method Download PDF

Info

Publication number
CN102137134A
CN102137134A CN2010101204224A CN201010120422A CN102137134A CN 102137134 A CN102137134 A CN 102137134A CN 2010101204224 A CN2010101204224 A CN 2010101204224A CN 201010120422 A CN201010120422 A CN 201010120422A CN 102137134 A CN102137134 A CN 102137134A
Authority
CN
China
Prior art keywords
data buffer
data
buffer zone
storage
network
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
CN2010101204224A
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.)
JMICRON TECHNOLOGY Corp
Jmicron Tech Corp
Original Assignee
JMICRON TECHNOLOGY Corp
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 JMICRON TECHNOLOGY Corp filed Critical JMICRON TECHNOLOGY Corp
Priority to CN2010101204224A priority Critical patent/CN102137134A/en
Publication of CN102137134A publication Critical patent/CN102137134A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a network storage system and method. The network storage system comprises a first data buffer area, a second data buffer area, a pre-appointing module and a control module. The first data buffer area is used for storing storage data received by a network end; the second data buffer area comprises a plurality of data buffer units and is used for storing storage data to be written in a storage device; the pre-appointing module is used for pre-appointing the plurality of data buffer units in the second data buffer area; and the control module is used for controlling the first data buffer area to write the stored storage data in the plurality of data buffer units.

Description

Network storing system and network storage method
Technical field
The invention relates to a kind of network and store framework, refer to network storing system and method thereof that a kind of data are moved with direct memory access mode especially.
Background technology
The network storage server (network-attached storage is a kind of by network connections NAS), and by utilize that this file of Samba shares procotol carry out the storage facilities of file access so that computer system to be provided.By a distributed framework, the network storage server can provide the network data shared mechanism of unlimited expansion capacity easily, any node as long as connect to network, the computer of various different operating systems, just can pass through NAS equipment, enjoy conveniently file access service, therefore, the data access speed on the network storage server just becomes a very important problem.
Generally speaking, the data length of Ethernet (EtherNet) package is generally 1.5K hyte (wherein useful data can be the data length of 1~1460 hyte), and hard disk is to be the unit of data length with sector (sector), a sector approximately is 512 hytes, that is to say, the network storage server is different data formats by the data structure of the data that network terminal received with the data structure of the data that write to hard disk, therefore, in the prior art, the data that received can be recombinated in the operating system of network storage server, so that the conversion of data format, for instance, please refer to Fig. 1, Fig. 1 is the schematic diagram of existing network storage server 100.As shown in Figure 1, network storage server 100 includes one first data buffer zone 110, one second data buffer zone 120 and one the 3rd data buffer zone 130, first data buffer zone 110 is used for storing a storage data that is received by a network terminal, this storage data includes the frame (DS0 for example of a plurality of 1.5K hytes, DS1...), second data buffer zone 120 includes a plurality of memory pagings (Page0~Page14) for example, these a plurality of memory pagings are used for storing this storage data of desiring to write to a storage device (a for example hard disk), when a user (a for example PC) of network terminal will write this hard disk with this storage data, in the core layer (KERNELLEVEL) of operating system, this storage data (DS0, DS1...) utilize ICP/IP protocol to be stored to first data buffer zone 110 by a network terminal earlier, afterwards, in the utilization layer (APPLICATION LEVEL) of operating system, network storage server 100 can utilize a processor (central processing unit (central processing unit for example, CPU), for not being shown among the figure for purpose of brevity) this storage data copied to the 3rd data buffer zone 130 of SAMBA server, this storage data can be kept in the 3rd data buffer zone 130, by the time after having collected this storage data, the SAMBA server is just with this storage data reorganization, afterwards, this processor just copies to these data in the memory paging of second data buffer zone 120, thus, get back in the core layer (KERNELLEVEL) of operating system, network storage server 100 just can utilize this storage data in the memory paging of second data buffer zone 120 one host-host protocol to write to this storage device.
As from the foregoing, the framework of existing network storage server 100 needs complicated data-moving operation, thereby influences the data access speed of existing network storage server.
Summary of the invention
The purpose of this invention is to provide a kind of network storing system and network storage method, operate to avoid the complicated data-moving of existing network storage server, thus the data access speed of raising network storing system.
One discloses a kind of network storing system on the one hand according to the present invention, includes: one first data buffer zone, one second data buffer zone, a pre-assigned module and a control module.This first data buffer zone is used for storing a storage data that is received by a network terminal.This second data buffer zone includes a plurality of data buffer unit, and this second data buffer zone is used for storing this storage data of desiring to write to a storage device.This pre-assigned module is coupled to this second data buffer zone, is used for pre-assigned these a plurality of data buffer unit in this second data buffer zone.This control module is coupled to this first, second data buffer zone, is used for controlling this first data buffer zone this stored storage data is write to this a plurality of data buffer unit.
Disclose a kind of network storage method according to a further aspect of the invention, include: one first data buffer zone is provided, is used for storing a storage data that is received by a network terminal; One second data buffer zone is provided, includes a plurality of data buffer unit, this second data buffer zone is used for storing this storage data of desiring to write to a storage device; Pre-assigned these a plurality of data buffer unit in this second data buffer zone; And control this first data buffer zone this stored storage data is write to this a plurality of data buffer unit.
Useful technique effect of the present invention is: the present invention changes the path of transfer of data by pre-assigned module, but not only can reduce moving and the usefulness of expedited data when storing of a secondary data.
Description of drawings
Fig. 1 is the schematic diagram of existing network storage server.
Fig. 2 is the schematic diagram of an embodiment of network storing system of the present invention.
Fig. 3 is the flow chart of an example operation of network storage method of the present invention.
Embodiment
In this specification and appended claims, used some vocabulary to censure specific element, and the person with usual knowledge in their respective areas should understand, hardware manufacturer may be called same element with different nouns, be not used as distinguishing the mode of element in this specification and the appended claims with the difference of title, but the criterion that is used as distinguishing with the difference of element on function, be an open term mentioned " including " in specification and the claim in the whole text, so should be construed to " include but be not limited to ", in addition, " coupling " speech is to include any indirect means that are electrically connected that directly reach at this, therefore, be coupled to one second device if describe one first device in the literary composition, then represent this first device can directly be electrically connected in this second device, or be electrically connected to this second device indirectly by other device or connection means.
Please refer to Fig. 2, Fig. 2 is the schematic diagram of an embodiment of network storing system of the present invention.In the present embodiment, network storing system 200 is to be example with the SAMBA server, yet, this is only as the usefulness of example explanation, it is not restrictive condition of the present invention, under spirit of the present invention, the network storing system that the disclosed network of any employing stores framework all belongs to category of the present invention.As shown in Figure 2, network storing system 200 includes (but being not limited to) one first data buffer zone 210, one second data buffer zone, 220, one pre-assigned module 240 and a control module 250.First data buffer zone 210 is used for storing a storage data that utilizes ICP/IP protocol to receive by a network terminal, and this storage data comprises frame DS0, the DS1... of a plurality of 1.5K hytes.Second data buffer zone 220 includes a plurality of data buffer unit P0~P14, and for instance, second data buffer zone 220 is memories, and data buffer unit P0~P14 is respectively memory paging; In addition, second data buffer zone 220 is used for storing this storage data of desiring to write to a storage device (a for example hard disk).Pre-assigned module 240 is coupled to second data buffer zone 220, is used for the pre-assigned a plurality of data buffer unit P0~P14 that will be stored into this hard disk in second data buffer zone 220.
Control module 250 is coupled to first data buffer zone 210 and second data buffer zone 220, is used for controlling first data buffer zone 210 stored storage data (DS0, DS1...) is copied to data buffer unit P0~P14.Note that in the present embodiment each data buffer unit is to be example with a memory paging in these a plurality of data buffer unit, yet this is not a restrictive condition of the present invention, for instance, in other embodiment, any storage area all may be defined as a data buffer cell.
In addition, in preferred embodiment of the present invention, first data buffer zone 210 directly is copied to data buffer unit P0~P14 with this stored storage data with direct memory access mode, yet this is not a restrictive condition of the present invention, in second data buffer zone 220, under pre-assigned data buffer unit P0~P14, also can first data buffer zone, 210 these stored storage datas write to data buffer unit P0~P14 according to spirit of the present invention by a processor (for example CPU).And the variation in these designs all falls into category of the present invention.
Please refer to Fig. 3, Fig. 3 is the flow chart of an example operation of network storage method of the present invention, and it comprises following step (if note that and can obtain roughly the same result, then the following step and non-limiting will the execution according to order shown in Figure 3):
Step 300: receive one and write the finger life.
Step 310: store a storage data that is received by a network terminal.
Step 320: pre-assigned a plurality of data buffer unit in one second data buffer zone.
Step 330: control this first data buffer zone this stored storage data is write to this a plurality of data buffer unit.
Step 350: this storage data is write to a storage device.
Next, please in the lump with reference to each element shown in Figure 2 and each step shown in Figure 3, so that illustrate between each element how to operate.In a preferred embodiment, as long-range user (a for example PC) in the time of will writing a file, network storing system 200 can receive one and write when referring to life (step 300), first data buffer zone 210 can store this storage data (DS0 that utilizes ICP/IP protocol to receive by this network terminal, DS1...) (step 310), afterwards, pre-assigned module 240 meeting pre-configured a plurality of data buffer unit P0~P14 (step 320) that will be stored to this storage device in second data buffer zone 220, so, control module 250 is just controlled first data buffer zone 210 this stored storage data is write direct to data buffer unit P0~P14 (step 330) with direct memory access mode, when the SAMBA server will write this storage device with this document, network storage server 100 utilized a host-host protocol to write direct to this storage device (step 350) this storage data among data buffer unit P0~P14 again.
By the above embodiments as can be known, the present invention changes the path of transfer of data by pre-assigned module, but not only can reduce moving and the usefulness of expedited data when storing of a secondary data.
The above only is preferred embodiment of the present invention, and every all changes that is equal to or replacement of being made according to the application's claim scope all should belong to covering scope of the present invention.

Claims (10)

1. a network storing system is characterized in that, includes:
One first data buffer zone is used for storing a storage data that is received by a network terminal;
One second data buffer zone is coupled to this first data buffer zone, includes a plurality of data buffer unit, and this second data buffer zone is used for storing this storage data of desiring to write to a storage device;
One pre-assigned module is coupled to this second data buffer zone, is used for pre-assigned these a plurality of data buffer unit in this second data buffer zone; And
One control module is coupled to this first, second data buffer zone, is used for controlling this first data buffer zone this stored storage data is write to this a plurality of data buffer unit.
2. network storing system according to claim 1 is characterized in that, each data buffer unit is a memory paging in these a plurality of data buffer unit.
3. network storing system according to claim 1 is characterized in that, this first data buffer zone directly writes to this a plurality of data buffer unit with this stored storage data with direct memory access mode.
4. network storing system according to claim 1 is characterized in that this network storing system is a SAMBA server.
5. network storing system according to claim 1 is characterized in that, this storage device is a hard disk.
6. a network storage method is characterized in that, includes:
One first data buffer zone is provided, is used for storing a storage data that is received by a network terminal;
One second data buffer zone is provided, includes a plurality of data buffer unit, this second data buffer zone is used for storing this storage data of desiring to write to a storage device;
Pre-assigned these a plurality of data buffer unit in this second data buffer zone; And
Control this first data buffer zone this stored storage data is write to this a plurality of data buffer unit.
7. method according to claim 6 is characterized in that, each data buffer unit is a memory paging in these a plurality of data buffer unit.
8. method according to claim 6 is characterized in that, this first data buffer zone directly writes to this a plurality of data buffer unit with this stored storage data with direct memory access mode.
9. method according to claim 6 is characterized in that, this method is to operate in a SAMBA server.
10. method according to claim 6 is characterized in that, this storage device is a hard disk.
CN2010101204224A 2010-01-27 2010-01-27 Network storage system and method Pending CN102137134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101204224A CN102137134A (en) 2010-01-27 2010-01-27 Network storage system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101204224A CN102137134A (en) 2010-01-27 2010-01-27 Network storage system and method

Publications (1)

Publication Number Publication Date
CN102137134A true CN102137134A (en) 2011-07-27

Family

ID=44296789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101204224A Pending CN102137134A (en) 2010-01-27 2010-01-27 Network storage system and method

Country Status (1)

Country Link
CN (1) CN102137134A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108005A (en) * 2011-11-11 2013-05-15 上海聚力传媒技术有限公司 Method, device and system for achieving data sharing in distributed storage system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040240435A1 (en) * 1997-10-14 2004-12-02 Alacritech, Inc. Obtaining a destination address so that a network interface device can write network data without headers directly into host memory
US20060224844A1 (en) * 2005-03-29 2006-10-05 Hitachi, Ltd. Data copying method and apparatus in a thin provisioned system
CN101599981A (en) * 2008-06-06 2009-12-09 佛山市顺德区顺达电脑厂有限公司 Network disk system and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040240435A1 (en) * 1997-10-14 2004-12-02 Alacritech, Inc. Obtaining a destination address so that a network interface device can write network data without headers directly into host memory
US20060224844A1 (en) * 2005-03-29 2006-10-05 Hitachi, Ltd. Data copying method and apparatus in a thin provisioned system
CN101599981A (en) * 2008-06-06 2009-12-09 佛山市顺德区顺达电脑厂有限公司 Network disk system and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108005A (en) * 2011-11-11 2013-05-15 上海聚力传媒技术有限公司 Method, device and system for achieving data sharing in distributed storage system

Similar Documents

Publication Publication Date Title
CN102223394B (en) Methods and servers to provide remote direct access of solid-state storage
CN101663654B (en) Hints model for optimization of storage devices connected to host and write optimization schema for storage devices
CN104603739B (en) The block level of parallel memorizing is accessed
JP6056453B2 (en) Program, data management method, and information processing apparatus
JP5931816B2 (en) Storage device
CN112035381B (en) Storage system and storage data processing method
KR20210147976A (en) Systems and methods for scalable and coherent memory devices
US20110145452A1 (en) Methods and apparatus for distribution of raid storage management over a sas domain
US7386596B2 (en) High performance storage access environment
JP2008546049A (en) Destination disk access method, disk capacity expansion system, and disk array
CN103955441A (en) Equipment management system, equipment management method and IO (Input/Output) expansion interface
TW201502777A (en) Data flush of group table
CN107924343B (en) Low latency inter-node communication
TW202211035A (en) System, device and method for resource allocation
JP2003345512A (en) Disk controller
US7043603B2 (en) Storage device control unit and method of controlling the same
JP4322240B2 (en) Reboot method, system and program
JP2015041291A (en) Storage device
WO2021012169A1 (en) Method of improving reliability of storage system, and related apparatus
US7496724B2 (en) Load balancing in a mirrored storage system
US20240078045A1 (en) Hardware queue handling system, method, solid state drive controller, and solid-state drive
CN103929475A (en) Hard disk storage system of Ethernet framework and hard disk data operation method
US7047359B1 (en) Method, system and product for managing a virtual storage system
JP2004054845A (en) Data management device
CN102137134A (en) Network storage system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110727