KR20060111354A - Method for setting disk information of storage device for upnp network - Google Patents
Method for setting disk information of storage device for upnp network Download PDFInfo
- Publication number
- KR20060111354A KR20060111354A KR1020050128118A KR20050128118A KR20060111354A KR 20060111354 A KR20060111354 A KR 20060111354A KR 1020050128118 A KR1020050128118 A KR 1020050128118A KR 20050128118 A KR20050128118 A KR 20050128118A KR 20060111354 A KR20060111354 A KR 20060111354A
- Authority
- KR
- South Korea
- Prior art keywords
- disk
- information
- storage device
- raid
- setting
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
Abstract
Description
도 1은 본 발명에 따른 저장 디바이스의 디스크 정보 설정 방법이 적용되는 홈네트워크의 구성을 나타낸 도면, 1 is a diagram showing a configuration of a home network to which a disk information setting method of a storage device according to the present invention is applied;
도 2는 저장 디바이스로서 HNAS의 논리적 볼륨 구조를 나타낸 도면, 2 illustrates a logical volume structure of an HNAS as a storage device;
도 3은 저장 디바이스의 디스크에 대한 RAID 레벨을 나타낸 도면, 3 shows a RAID level for a disk of a storage device;
도 4는 저장 디바이스의 스토리지 서비스를 위한 상태 변수를 나타낸 도면, 4 illustrates a state variable for a storage service of a storage device;
도 5a 내지 도 5g는 본 발명에 따라 저장 디바이스의 구성 및 설정을 위한 다양한 GET 액션을 나타낸 도면, 5A-5G illustrate various GET actions for the configuration and configuration of a storage device in accordance with the present invention;
도 6은 본 발명에 따른 네트워크 상에서 저장 디바이스의 디스크 정보 설정 방법에 대한 동작을 설명하는 플로우차트, 6 is a flowchart illustrating an operation of a method of setting disk information of a storage device in a network according to the present invention;
도 7은 도 6의 플로우차트에서 RAID 구성에 대한 동작의 보다 상세한 설명을 나타낸 플로우차트, FIG. 7 is a flowchart illustrating a more detailed description of operations for a RAID configuration in the flowchart of FIG. 6;
도 8은 도 6의 플로우차트에서 사용자 계정 등록 및 볼륨 생성 동작을 보다 상세하게 설명한 것을 나타낸 플로우차트이다. FIG. 8 is a flowchart illustrating the user account registration and volume generation operations in detail in the flowchart of FIG. 6.
<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>
10:HNAS, 20:개인용 컴퓨터(PC),10: HNAS, 20: personal computer (PC),
30:랩톱 컴퓨터, 40:PDA,30: Laptop computer, 40: PDA,
50:와이러리스 텔레비전, 60:컨트롤 포인트(CP).50: Wirelessless TV, 60: Control Point (CP).
본 발명은 네트워크 상에서 저장 디바이스의 디스크 정보 설정 방법에 관한 것으로서, 보다 상세하게는 UPnP(Universal Plug and Play) 홈네트워크에서 HNAS(Network Attached Storage)를 데이터 파일의 공유를 위한 저장공간으로서 활용할 수 있도록 디스크 정보를 설정하기 위한 네트워크 상에서 저장 디바이스의 디스크 정보 설정 방법에 관한 것이다.The present invention relates to a method of setting disk information of a storage device on a network, and more particularly, to use HNAS (Network Attached Storage) as a storage space for sharing data files in a Universal Plug and Play (UPnP) home network. A disk information setting method of a storage device on a network for setting information.
일반적으로, UPnP 홈네트워크는 분산 및 개방 네트워킹 구조를 기반으로 하여 홈네트워크 내의 각 가전 제품이나 컴퓨터가 중앙 집중적인 관리를 받지 않고서도 피어-투-피어(Peer-to-Peer) 방식으로 상호 네트워킹이 가능하도록 하기 위해 개발된 것이다. In general, UPnP home networks are based on distributed and open networking architectures, enabling peer-to-peer inter-networking without requiring each home appliance or computer within the home network to be centrally managed. It was developed to make it possible.
이러한 UPnP 네트워크에서는 각 디바이스(Device)를 제어하는 컨트롤 포인트(Control Point; CP)와, 각종 서비스를 제공해 주는 디바이스들로 이루어져 있으며, 컨트롤 포인트(CP)에서는 제공 인터페이스를 통하여 각종 디바이스들을 찾아내어(Description), 제어하고(Control), 이벤트(Eventing)를 받아서 처리하도록 되어 있다. In the UPnP network, a control point (CP) for controlling each device and a device for providing various services are provided. In the control point CP, various devices are found through a providing interface (Description). Control, and receive and process events.
또한, UPnP 네트워크에는, 각종 미디어 데이터(Media Data)를 제공하는 미디어 서버(Media server)와, 미디어 데이터를 재생하는 미디어 랜더러(Media Renderer)가 포함되어 있는 바, 상기 미디어 서버와 미디어 랜더러는 컨트롤 포인트에 의해 제어되고, 상기 미디어 서버로부터의 미디어 스트리밍(Media Streaming)은 공지된 다양한 전송 프로토콜에 기반하여 이루어진다. The UPnP network also includes a media server that provides various media data and a media renderer that plays media data. The media server and the media renderer are control points. Media streaming from the media server is controlled based on various known transport protocols.
상기 미디어 서버는 컨텐트 디렉토리 서비스(Content Directory service; CDS)를 통해서 해당 서버에서 보유하고 있는 미디어 파일들에 대한 정보를 컨트롤 포인트에서 열람할 수 있도록 하고, 상기 미디어 파일에 대한 정보는 미디어 파일의 이름과, 포맷, 파일 크기, 프리젠테이션 시간, URL(Uniform Resource Location), 파일 종류 등의 정보를 포함한다. The media server enables the control point to view information about media files held by the server through a content directory service (CDS). Information such as the format, file size, presentation time, Uniform Resource Location (URL), file type, and the like.
상기 컨텐트 디렉토리 서비스(CDS)는 해당 미디어 서버가 보유하고 있는 오브젝트(Object)들을 트리 구조로 나타내도록 되어 있는 바, 각 오브젝트는 다른 오브젝트에 대한 정보를 가질 수 있는 컨테이너(Container)와 미디어 파일의 정보에 해당되는 아이템(Item)으로 분류된다.The Content Directory Service (CDS) is designed to represent objects held by the media server in a tree structure. Each object has information about a container and a media file that may have information about other objects. It is classified as an item corresponding to.
한편, 최근에는 홈네트워크 기술의 빠른 진보와 함께 가정내에서 멀티미디어 데이터와 같은 각종 파일을 공유하기 위한 저장장치에 대한 관심이 증가되고 있는 추세인 바, 통상적인 네트워크 상에서 다수의 클라이언트 장치에 대해 파일을 공유할 수 있도록 저장 공간을 제공해 주는 역할을 수행하는 NAS(Network Attached Storage)를 HNAS(Home Network Attached Storage)로서 적용하려는 시도가 이루어지고 있다. On the other hand, in recent years, with the rapid advance of home network technology, there is a growing interest in storage devices for sharing various files such as multimedia data in the home. Attempts have been made to apply Network Attached Storage (NAS) as a Home Network Attached Storage (HNAS), which provides storage space for sharing.
그에 따라, 현재에는 이러한 홈네트워크 상에서 별도의 유저 인터페이스(User Interface; UI) 장치를 통한 사용자의 복잡한 설정 동작을 거치지 않고서도 자동으로 HNAS의 존재를 인식하고, HNAS에 대한 네트워크의 여러가지 설정 동작을 임의적으로 설정하여 적용하고자 하는 새로운 기능이 절실하게 요구되는 실정이다.Accordingly, in the present home network, HNAS is automatically recognized without the complicated setting operation of the user through a separate user interface (UI) device, and various setting operations of the network for the HNAS are arbitrarily selected. The new function to be applied by setting it is urgently required.
따라서, 본 발명은 상기한 종래의 사정을 감안하여 이루어진 것으로서, 그 목적은 UPnP 네트워크 상에서 HNAS를 자동으로 인식하여 파일의 공유를 위한 저장공간으로서의 사용을 위한 다양한 디스크 설정을 용이하게 진행할 수 있도록 하는 네트워크 상에서 저장 디바이스의 디스크 정보 설정 방법을 제공하는 것이다.Accordingly, the present invention has been made in view of the above-described conventional situation, and an object thereof is to automatically recognize HNAS on a UPnP network and to easily perform various disk settings for use as a storage space for file sharing. A disk information setting method of a storage device is provided.
상기한 목적을 달성하기 위해 본 발명에 따르면, 홈네트워크 내의 각 디바이스에 대해 파일공유 서비스를 제공하는 홈네트워크 저장 디바이스를 네트워크 설정하는 방법에 있어서, 홈네트워크의 컨트롤 어플리케이션에서 상기 홈네트워크 저장 디바이스를 인지하여 시스템에 등록하는 단계와, 상기 홈네트워크 저장 디바이스에 대한 설정 요청 액션에 의해 사용자 설정 및 디스크 설정을 수행하는 단계로 이루어진 것을 특징으로 하는 네트워크 상에서 저장 디바이스의 디스크 정보 설정 방법을 제공한다.According to the present invention for achieving the above object, in the network setting method of the home network storage device that provides a file sharing service for each device in the home network, the home network storage device is recognized by the control application of the home network And registering the system with the system, and performing user setting and disk setting by a setting request action for the home network storage device.
이하, 상기한 바와 같이 구성된 본 발명에 대해 첨부도면을 참조하여 상세히 설명한다.Hereinafter, the present invention configured as described above will be described in detail with reference to the accompanying drawings.
즉, 도 1은 본 발명에 따른 저장 디바이스의 디스크 정보 설정 방법이 적용되는 홈네트워크의 구성을 나타낸 도면이다. 1 is a diagram illustrating a configuration of a home network to which a disk information setting method of a storage device according to the present invention is applied.
도 1에 도시된 바와 같이, 본 발명의 방법이 적용된 UPnP 홈네트워크에서는 네트워크내의 주변 미디어 디바이스나 컴퓨터 디바이스에 사용자 데이터 또는 미디어 데이터를 공유해 주기 위한 HNAS(10)와, 상기 HNAS(10)로부터 사용자 데이터 또는 각종 미디어 데이터를 전송받아 데이터 처리 및 프리젠테이션할 수 있는 다수의 네크워크 디바이스로서, 개인용 컴퓨터(Personal Computer)(20)와, 랩톱 컴퓨터(Laptop Computer)(30), PDA(40), 와이어리스 텔레비전(Wireless TV)(50)로 구성된다. As shown in FIG. 1, in the UPnP home network to which the method of the present invention is applied, an HNAS 10 for sharing user data or media data with peripheral media devices or computer devices in a network, and user data from the HNAS 10. Alternatively, as a plurality of network devices capable of receiving and processing various media data and presenting the data, a
상기 HNAS(10)는 네트워크에서 각 디바이스들에 대해 효과적인 파일공유 서비스를 제공해 주기 위해서 CIFS(Common Internet File System) 방식의 파일 공유 프로토콜을 제공하고, 데이터가 저장된 디스크의 오류 상황에 의한 데이터 유실을 방지하기 위해서 RAID(Redundant Arrays of Inexpensive Disks) 기법을 사용하게 된다. The HNAS 10 provides a file sharing protocol of CIFS (Common Internet File System) method to provide an effective file sharing service for each device in a network, and prevents data loss due to an error condition of a disk where data is stored. Redundant Arrays of Inexpensive Disks (RAID) techniques are used.
또한, 상기 HNAS(10)에서는 사용자 또는 그룹 단위로 저장공간에 대한 접근 권한을 할당하기 위해서 개별적인 사용자별 또는 그룹별로 저장공간을 관리할 수 있도록 하는 것이 바람직하고, 저장공간이 동적으로 변화되는 상황을 고려하여 관리하는 것이 바람직하다. In addition, the HNAS 10 preferably manages the storage space for each user or group in order to allocate access rights to the storage space on a user or group basis, and a situation in which the storage space is dynamically changed. It is preferable to consider and manage.
상기 HNAS(10)는 사용자의 데이터를 저장하기 위해 적어도 하나 이상의 하드 디스크를 포함하게 되고, 복수개의 하드 디스크를 이용하여 서로 독립된 물리적인 드라이브로 구성된 어레이 형태의 논리 드라이브를 형성하게 되는 바, 이는 도 2에 예시된 바와 같다. The HNAS 10 includes at least one hard disk to store data of a user, and forms a logical drive in an array form of physical drives that are independent of each other by using a plurality of hard disks. As illustrated in 2.
도 2에 예시된 바와 같이, 상기 HNAS(10)는 복수개의 하드 디스크(72)가 어레이 형태로 구성되어 있는 물리적인 드라이브(Phygical Drives)(74)를 하나의 논리 드라이브(Logical Drive)로 형성하게 되고, 적어도 하나 이상의 논리 드라이브(A1∼An)에 대해 논리 볼륨(Logical Volume)(70)을 형성하게 된다. As illustrated in FIG. 2, the HNAS 10 may form
또한, 상기 각 하드 디스크에 오류가 발생되는 상황에서도 사용자 데이터를 보호하고 유지시킬 수 있도록 복수개의 디스크를 RAID 레벨로 분류하여 구성할 수 있도록 하게 되는 바, 상기 각 논리 드라이브(A1∼An)는 서로 동일한 RAID 레벨로 분류하는 것이 가능하고, 서로 다른 RAID 레벨로 분류하여도 가능하다. In addition, the plurality of disks can be classified and configured as RAID levels to protect and maintain user data even when an error occurs in each of the hard disks. The logical drives A1 to An are mutually different. It is possible to classify to the same RAID level, or even to different RAID levels.
도 3에 예시된 바와 같이, 상기 RAID 레벨은 그 구성에 따라 NRAID(Non-RAID), RAID 0, RAID 1, RAID 3, RAID 5로 구분되고, 이러한 RAID 레벨은 어레이 형태로 묶여 있는 복수개의 하드 디스크 드라이브에 데이터를 읽거나 쓰는 경우에 데이터를 여러개의 블록으로 나누어 줌으로써 디스크의 접근 속도가 향상되도록 한다. As illustrated in FIG. 3, the RAID levels are divided into non-raid (NRAID),
상기 NRAID는 모든 드라이브의 용량이 하나의 논리 드라이브가 되기 위해 통합되는 것으로서, 논리 드라이브의 용량이 물리 드라이브의 총용량이 되는 것이며, 데이터 리던던트 기능이 없어서 데이터를 보호하지 못하게 된다. The NRAID is the capacity of all the drives to be integrated into one logical drive, the capacity of the logical drive is the total capacity of the physical drive, and there is no data redundancy to protect data.
상기 RAID 0는 논리 드라이브의 데이터가 여러개의 물리 드라이브에 분배되도록 하는 것으로서, 성능이 높은 편이지만 리던던트 기능이 없어서 데이터 보호가 되지 못하도록 되어 있고, 상기 RAID 1은 단지 2개의 하드 드라이브가 있을 때에만 실행이 가능한 것으로서, 하나의 하드 디스크 드라이브에 저장된 데이터를 다른 하드 디스크 드라이브에 그대로 복사하여 반영(Mirror)시킬 수 있도록 함으로써 디스크 오류시에 데이터의 손실을 막을 수 있도록 한다. The
상기 RAID (0+1)은 RAID 0과 RAID 1을 통합한 것으로서, 미러링(Mirroring)과 분배(Striping)를 하는 것이 가능하고, RAID 3은 전용 패리티(Parity)를 이용하여 블록을 분배하는 것으로서, 패리티 데이터를 하나의 전용 하드 드라이브에 저장하고, 하나의 드라이브에 문제가 발생되면 전용 패리티 드라이브로부터 문제가 발생된 드라이브의 손실된 데이터를 가져와서 데이터 복구가 진행될 수 있도록 한다. The RAID (0 + 1) is a combination of
상기 RAID 5는 적어도 3개 이상의 하드 디스크가 구비된 경우에 실행 가능한 것으로서, 패리티 데이터가 하나의 전용 하드 디스크 드라이브에만 저장되는 것이 아니라, 패리티 정보를 디스크의 어레이에 분배할 수 있도록 함에 의해 오류가 발생된 데이터의 복수시에 다른 드라이브로부터 손실된 데이터를 가져와서 복구할 수 있도록 하여 저장공간에 대한 사용율을 높힐 수 있게 된다. The
상기 HNAS(10)에서는 디스크의 개수나 디스크의 사용율에 따라서 RAID 구성을 달리 할 수 있는 것이 가능하고, 사용자가 RAID 구성을 원하지 않거나 단일한 하드 디스크로 구성된 경우에는 NRAID로 구성할 수도 있다. In the HNAS 10, the RAID configuration may be changed according to the number of disks or the utilization rate of the disks, and may be configured as NRAID when the user does not want the RAID configuration or is composed of a single hard disk.
한편, 상기 컨트롤 포인트(60)에서는 상기 HNAS(10)의 저장공간을 홈네트워크 상에서 공유할 수 있도록 하고, 해당 HNAS(10)를 구성하는 하드 디스크 드라이브에 대한 RAID 레벨의 설정이 장치 구성에 대한 지식이나 저장장치의 전문적인 지 식에 의하지 않고서도 자동적으로 기본적 설정으로 이루어질 수 있도록 디폴트 설정(Default Configuration)이 가능하게 된다. Meanwhile, the
본 발명에서는 스토리지 장치의 설정을 위해서 "DiskUtility"라는 UPnP 디바이스 서비스를 갖추게 되는 바, 이 스토리지 서비스에서는 장치의 RAID 구성 파일 시스템의 설정 서비스를 제공하며 이 서비스 타입은 아래와 같이 정의된다. In the present invention, a UPnP device service called "DiskUtility" is provided for setting a storage device. The storage service provides a setting service of a RAID configuration file system of a device, and this service type is defined as follows.
urn:schemas-upnp-org:service:diskutility:1urn: schemas-upnp-org: service: diskutility: 1
또한, 이러한 디스크 스토리지 서비스를 위한 디바이스의 상태 변수는 도 4에 도시된 바와 같은 바, 도 4에 나타난 상태 변수들은 디스크 어레이의 개수(NumArray)와, 디스크의 수(NumDisk), 전체 디스크의 용량(TotalDiskSize), 디스크 인덱스값(DiskIndex), 디스크의 파티션의 개수(Numpartition), 디스크의 용량(DiskSize), 디스크의 남아있는 용량(RemainDiskSize), 디스크 어레이의 인덱스값(ArrayIndex), 디스크 어레이 디바이스의 개수(ArrayNumDevice), RAID 레벨(RAIDLevel), 디바이스 어레이(ArrayDevices), 디스크 어레이의 용량(ArraySize), 디스크 어레이의 남아있는 용량(ArrayRemainSize), 디스크 어레이의 구성단위(Chunk) 용량(ArrayChunkSize), 파일 시스템 타입(FSType), 블록 용량(BlcokSize), 결과값(Result)을 갖게 된다. In addition, the state variables of the device for such a disk storage service is shown in Figure 4, the state variables shown in Figure 4 are the number of disk arrays (NumArray), the number of disks (NumDisk), the capacity of the entire disk ( TotalDiskSize), Disk Index Value (DiskIndex), Number of Disk Partitions (Numpartition), Disk Capacity (DiskSize), Disk Remaining Capacity (RemainDiskSize), Disk Array Index Value (ArrayIndex), Number of Disk Array Devices ( ArrayNumDevice, RAID Level (RAIDLevel), Device Array (ArrayDevices), Disk Array Capacity (ArraySize), Disk Array Remaining Capacity (ArrayRemainSize), Disk Array Chunk Capacity (ArrayChunkSize), File System Type ( FSType), block size (BlcokSize), and result value (Result).
다음에, 도 5a 내지 도 5g는 본 발명에 따라 저장 디바이스의 구성 및 설정을 위한 다양한 GET 액션을 나타낸 도면으로서, 컨트롤 포인트(60)에서는 다양한 GET 액션을 통해서 HNAS(10)의 디스크와 RAID 구성 정보, 각 디스크들의 각종 정보, 각 디스크 어레이들의 설정 상태, 디스크의 크기, 파티션의 개수 등을 확인할 수 있게 된다. Next, FIGS. 5A to 5G are diagrams illustrating various GET actions for configuration and configuration of a storage device according to the present invention. In the
먼저, 도 5a에서 GET 액션에는 시스템 정보 액션(GetSystemInfo)과, 디스크 정보 액션(GetDiskInfo), 디스크 어레이 정보 액션(GetArrayInfo), 파티션 생성 액션(CreatePartition), RAID 생성 액션(CreateRAID), 파일 시스템 생성 액션(CreateFileSystem)으로 구성되는 바, 시스템 정보 액션(GetSystemInfo)은 도 5b에 도시된 바와 같이, 디스크 어레이의 개수(NumArray)와, 디스크의 수(NumDisk), 전체 디스크의 용량(TotalDiskSize), 결과값(Result)의 파라미터 정보를 가지고 있다. 상기 컨트롤 포인트(60)에서는 상기 시스템 정보 액션(GetSystemInfo)의 파라미터 정보를 통해서 HNAS(10)의 디스크와 RAID의 구성 정보 및 전체적인 디스크 용량 정보를 파악할 수 있게 된다. First, in FIG. 5A, the GET action includes a system information action (GetSystemInfo), a disk information action (GetDiskInfo), a disk array information action (GetArrayInfo), a partition creation action (CreatePartition), a RAID creation action (CreateRAID), and a file system creation action ( CreateFileSystem), the system information action (GetSystemInfo) is shown in Figure 5b, the number of disk arrays (NumArray), the number of disks (NumDisk), the total disk capacity (TotalDiskSize), the resulting value (Result ) Has parameter information. The
상기 디스크 정보 액션(GetDiskInfo)은 도 5c에 도시된 바와 같이, 디스크 인덱스값(DiskIndex), 디스크의 파티션의 개수(Numpartition), 디스크의 용량(DiskSize), 디스크의 남아있는 용량(RemainDiskSize), 결과값(Result)의 파라미터 정보를 가지고 있는 바, 상기 컨트롤 포인트(60)에서는 디스크 정보 액션(GetDiskInfo)을 통해서 디스크 인덱스값(DiskIndex)의 파라미터에 정보를 얻기 원하는 디스크의 인덱스를 넘겨주면, 해당 디스크의 용량과, 현재 구성되어 있는 파티션의 개수, 남아있는 용량 정보를 알 수 있게 된다. As shown in FIG. 5C, the disk information action GetDiskInfo may include a disk index value (DiskIndex), a number of partitions (Numpartition) of a disk, a disk size (DiskSize), a remaining capacity of a disk (RemainDiskSize), and a result value. (Result) has parameter information. If the
상기 디스크 어레이 정보 액션(GetArrayInfo)은 도 5d에 도시된 바와 같이, 디스크 어레이의 인덱스값(ArrayIndex), 디스크 어레이 디바이스의 개수(ArrayNumDevice), RAID 레벨(RAIDLevel), 디바이스 어레이(ArrayDevices), 디스크 어레이의 용량(ArraySize), 디스크 어레이의 남아있는 용량(ArrayRemainSize), 디스크 어레이의 구성단위(Chunk) 용량(ArrayChunkSize), 파일 시스템 타입(FSType), 결과값(Result)의 파라미터 정보를 가지고 있는 바, 상기 컨트롤 포인트(60)에서는 상기 디스크 어레이 정보 액션(GetArrayInfo)을 통해서 RAID 레벨과, 디스크 어레이를 구성하는 디스크(파티션)의 개수, 어떠한 파티션이 디스크 어레이를 구성하는지에 대한 정보를 알 수 있게 된다. As shown in FIG. 5D, the disk array information action GetArrayInfo may include an index value (ArrayIndex) of a disk array, a number of disk array devices (ArrayNumDevice), a RAID level (RAIDLevel), a device array (ArrayDevices), and a disk array. It contains the parameter information of capacity (ArraySize), remaining capacity of disk array (ArrayRemainSize), disk array chunk capacity (ArrayChunkSize), file system type (FSType) and result value (Result). At
상기 파티션 생성 액션(CreatePartition)은 도 5e에 도시된 바와 같이, 디스크 인덱스값(DiskIndex)과, 파티션 크기(PartitionSize), 결과값(Result)의 파라미터 정보를 가지고 있고, 상기 RAID 생성 액션(CreateRAID)은 도 5f에 도시된 바와 같이, 디스크 어레이의 인덱스값(ArrayIndex), 디스크 어레이 디바이스의 개수(ArrayNumDevice), RAID 레벨(RAIDLevel), 디바이스 어레이(ArrayDevices), 디스크 어레이의 구성단위(Chunk) 용량(ArrayChunkSize), 결과값(Result)의 파라미터 정보를 가지고 있다.As shown in FIG. 5E, the partition creation action (CreatePartition) has parameter information of a disk index value (DiskIndex), a partition size (PartitionSize) and a result value (Result), and the RAID creation action (CreateRAID) As shown in FIG. 5F, the index value (ArrayIndex) of the disk array, the number of disk array devices (ArrayNumDevice), the RAID level (RAIDLevel), the device array (ArrayDevices), and the capacity of the disk array (Chunk) capacity (ArrayChunkSize) It has parameter information of Result.
상기 파일 시스템 생성 액션(CreateFileSystem)은 도 5g에 도시된 바와 같이, 파일 시스템 타입(FSType), 블록 용량(BlcokSize), 결과값(Result)의 파라미터 정보를 가지고 있다. The file system create action CreateFileSystem has parameter information of a file system type (FSType), a block capacity (BlcokSize), and a result value (Result), as shown in FIG. 5G.
그 다음에, 도 6은 본 발명에 따른 네트워크 상에서 저장 디바이스의 디스크 정보 설정 방법에 대한 동작을 설명하는 플로우차트이고, 도 7은 도 6의 플로우차트에서 RAID 구성에 대한 동작의 보다 상세한 설명을 나타낸 플로우차트이며, 도 8은 도 6의 플로우차트에서 사용자 계정 등록 및 볼륨 생성 동작을 보다 상세하게 설명한 것을 나타낸 플로우차트이다. Next, FIG. 6 is a flowchart for explaining the operation of the disk information setting method of the storage device in the network according to the present invention, and FIG. 7 shows a more detailed description of the operation for the RAID configuration in the flowchart of FIG. 8 is a flowchart illustrating in more detail the user account registration and volume creation operations in the flowchart of FIG. 6.
이하에서는, 도 6 내지 도 8에 도시된 본 발명의 실시예에 따른 플로우차트를 도 1의 장치의 동작과 병행하여 상세히 설명한다. Hereinafter, the flowchart according to the embodiment of the present invention shown in FIGS. 6 to 8 will be described in detail in parallel with the operation of the apparatus of FIG. 1.
먼저, HNAS(10)가 구동되면 컨트롤 포인트(60)에 UPnP 규약에 따라 파일 공유 서비스를 알리는 SSDP(Simple Service Discovery Protocol) Advertisement 메시지를 주기적으로 전송하게 되고(단계 S10), 상기 컨트롤 포인트(60)에서는 상기 SSDP 메시지를 통해서 HNAS(10)의 디바이스 존재를 인지할 수 있게 되면서(Discovery)(단계 S11), HNAS 서비스의 디스크립션(Description)을 통해서 상기 HNAS(10)를 시스템에 등록하게 되고, 이러한 서비스 등록에 의해 해당 HNAS(10)에 대한 설정 작업을 진행하게 된다(단계 S12). First, when the
단, 상기 컨트롤 포인트(60)에서는 상기 HNAS(10)로부터의 주기적인 SSDP 메시지에 의하지 않고서도 디바이스의 서치 요청(Search Request) 명령을 통해 디바이스의 인지에 의한 서비스 등록이 가능하도록 한다. However, the
그 다음에, 상기 컨트롤 포인트(60)에서는 도 5b와 같은 시스템 정보 액션(GetSystemInfo)을 사용하여 상기 HNAS(10)에 설치되어 있는 하드 디스크의 전체 용량 크기나 개수 등의 장치의 시스템 구성 정보를 요청하고(단계 S13), 상기 HNAS(10)는 요청한 장치의 시스템 구성 정보를 컨트롤 포인트(60)에 제공하게 된다 (단계 S14).Next, the
이에, 상기 컨트롤 포인트(60)에서는 상기 HNAS(10)로부터 제공되는 장치의 시스템 구성 정보 즉, 디스크와 RAID의 구성 정보, 전체 디스크의 용량 정보를 획득하게 된다(단계 S15).Accordingly, the
여기서, 상기 컨트롤 포인트(60)는 상기 디스크 정보에 따라서 구성하고자 하는 RAID 레벨을 요청할 수 있지만, 상기 디스크 구성 정보에서 해당 디스크가 단일한 하드 디스크인 것으로 파악되거나, 사용자가 RAID 구성을 원하지 않는 경우에는 RAID 레벨의 구성을 요청하지 않을 수 있다. Here, the
또한, 상기 컨트롤 포인트(60)는 도 5c와 같은 디스크 정보 액션(GetDiskInfo)을 사용하여 디스크의 상태 정보를 요청하게 되면(단계 S16), 상기 HNAS(10)에서는 요청한 디스크의 상태 정보를 제공하게 된다(단계 S17).In addition, when the
그에 따라, 상기 컨트롤 포인트(10)에서는 상기 HNAS(60)로부터 디스크의 상태 정보 즉, 해당 디스크의 용량 크기, 현재 구성되어 있는 파티션의 개수, 남아있는 용량 정보를 획득할 수 있게 된다(단계 S18).Accordingly, the
그 다음에, 상기 컨트롤 포인트(60)는 도 5d와 같이 디스크 어레이 정보 액션(GetArrayInfo)을 사용하여 디스크 어레이의 정보를 요청하게 되면(단계 S19), 상기 HNAS(10)는 상기 요청에 따라 디스크 어레이의 RAID 레벨과, 디스크 어레이를 구성하는 디스크(파티션)들의 개수 및 어레이를 구성하는 파티션에 대한 정보를 제공하게 된다(단계 S20).Then, when the
한편, 상기 컨트롤 포인트(60)에서는 HNAS(10)로부터 디스크 구성 정보를 얻 고, 장치의 구성에 대한 결정이 이루어진 이후에, 각 디스크를 논리적인 크기의 파티션으로 분리하는 작업을 수행해야 하는 바, 도 5e와 같이 파티션 생성 액션(CreatePartition)을 통해서 파티션을 나누기 위한 작업을 진행함에 따라(단계 S21), 상기 HNAS(10)에서는 각 디스크를 하나 또는 복수개의 논리적인 파티션으로 나누는 작업을 수행하게 된다(단계 S22). Meanwhile, in the
즉, 상기 HNAS(10)에서는 각각의 디스크를 모두 파티션으로 나누는 작업을 진행하되, 디스크 인덱스(DiskIndex) 파라미터값을 원하는 디스크의 인덱스로 설정하고, 파티션 생성 액션(CreatePartition)을 호출함으로써 원하는 디스크의 파티션을 나눌 수 있도록 한다. That is, the
상기 디스크의 파티션을 나누는 작업이 완료되면, 상기 컨트롤 포인트(60)는 도 5f와 같이 RAID 생성 액션(CreateRAID)을 사용하여 RAID를 구성하기 위한 작업을 진행하게 되는 바(단계 S23), 상기 HNAS(10)로부터 제공받은 디스크의 하드웨어 구성 정보에 따라서 구성 가능한 RAID 레벨 중에서 원하는 RAID 레벨을 선택하게 된다.When the partitioning of the disk is completed, the
상기 HNAS(10)에서는 RAID 구성시 필요한 청크(Chunk)의 크기(즉, 디폴트값은 일반적으로 64KB)를 지정할 수 있으며, 원하는 청크(Chunk)의 크기를 어레이의 청크 크기(ArrayChunkSize) 파라미터를 통해서 컨트롤 포인터(60)에 전달한 다음에, RAID 구성이 완료되면 그 결과를 결과값(Result) 파라미터를 통해서 컨트롤 포인터(60)에 전달한다(단계 S24).The
상기 RAID 구성이 완료되면, 상기 컨트롤 포인트(60)에서는 도 5g와 같이 파 일 시스템 생성 액션(CreateFileSystem)을 사용하여 상기 HNAS(10)의 장치에 파일 시스템을 구축하기 위한 설정 작업을 진행하게 되는 바(단계 S25), 파일 시스템은 "FAT16, FAT32, EXT2, EXT3, XFS" 등으로 그 종류가 다양하고, 사용자에 의해서 미리 지정되거나 해당 컨트롤 포인트(60)에서 디폴트 파일 시스템 타입이 정의될 수 있다. When the RAID configuration is completed, the
상기 HNAS(10)에서는 상기 파일 시스템 생성 액션(CreateFileSystem)을 통해서 선택된 파일 시스템의 정보를 전달받게 되는데, 파일 시스템의 구성시 필요한 블록의 크기 정보는 블록 크기(BlcokSize) 파라미터로 전달되며, 전달된 파일 시스템의 종류와 블록 크기 정보를 사용하여 파일 시스템 구성 작업을 수행하게 되고, 그 수행 결과를 결과값(Result) 파라미터를 통해 컨트롤 포인트(60)에 전달하게 된다(단계 S26).The
한편, 상기 RAID 구성에 대한 상세한 동작에 대해서는 도 5의 플로우차트를 참조하여 상세히 설명한다. Meanwhile, a detailed operation of the RAID configuration will be described in detail with reference to the flowchart of FIG. 5.
도 5에 예시된 바와 같이, 상기 컨트롤 포인트(60)에서는 사용자에 의해 미리 설정된 RAID 구성이 존재하는 지의 여부를 판단하게 되는데(단계 S20), 사용자에 의해 미리 설정된 RAID 구성이 존재하지 않는 것으로 판단되면 상기 HNAS(10)에 구비되어 있는 하드 디스크의 개수가 2개 이상인지를 판단하게 된다(단계 S21).As illustrated in FIG. 5, the
상기 판단 결과, 상기 컨트롤 포인트(60)는 상기 HNAS(10)에 구비된 하드 디스크의 개수가 2개 미만 즉, 1개인 것으로 판단되면 해당 RAID 레벨을 NRAID로 구성하기 위한 요청을 진행하게 된다(단계 S22).As a result of the determination, if it is determined that the number of hard disks included in the
하지만, 상기 HNAS(10)에 구비된 하드 디스크의 개수가 2개 이상인 것으로 판단되면, 해당 하드 디스크의 개수가 3개 이상인 지의 여부를 판단하게 된다(단계 S23).However, if it is determined that the number of hard disks included in the
상기 판단 결과, 상기 HNAS(10)에 구비된 하드 디스크의 개수가 3개 미만 즉, 2개인 것으로 판단하게 되면, 해당 RAID 레벨을 RAID 1으로 구성하기 위한 요청을 진행하게 되는 반면에(단계 S24), 상기 하드 디스크의 개수가 3개 이상인 것으로 판단하게 되면 RAID 레벨을 RAID 5로 구성하기 위한 요청을 진행하게 된다(단계 S25).As a result of the determination, if it is determined that the number of hard disks included in the
한편, 상기 단계 S20에서 상기 컨트롤 포인트(60)는 사용자가 미리 지정한 RAID가 존재하는 것으로 판단되면, 상기 사용자 설정 RAID가 현재 HNAS(10)에 구비된 하드 디스크의 구성에 적당한 RAID 레벨 인지의 여부를 판단하게 된다(단계 S26).On the other hand, if it is determined in step S20 that the user-specified RAID exists, the
상기 판단 결과, 상기 컨트롤 포인트(60)는 상기 사용자 설정 RAID가 현재의 디스크 구성에 적당하지 않다고 판단되면, 상기 단계 S21 내지 단계 S25의 과정을 진행하여 해당 HNAS(10)에 구비된 하드 디스크의 개수에 적당한 RAID 설정 요청을 수행하게 된다. As a result of the determination, when the
그 반면에, 상기 사용자 설정 RAID가 현재의 디스크 구성에 적당하다고 판단되면, 해당 사용자에 의해 지정된 설정값으로 RAID 레벨을 구성하기 위한 요청을 진행하게 된다(단계 S27).On the other hand, if it is determined that the user-set RAID is suitable for the current disk configuration, a request is made to configure the RAID level with the setting value specified by the user (step S27).
한편, 상기 RAID 레벨의 설정이 이루어지면, 상기 HNAS(10)의 저장 공간에 사용할 사용자 계정과 사용자별로 할당할 디스크 공간의 크기를 설정하는 동작을 진행하게 되는 바, 이러한 동작을 도 6의 플로우차트를 참조하여 상세히 설명한다. Meanwhile, when the RAID level is set, an operation of setting a user account to be used for the storage space of the
도 6에 예시된 바와 같이, 상기 컨트롤 포인트(60)에서는 사용자 계정과 각 사용자에게 할당할 디스크 볼륨의 크기가 미리 설정되어 있는 지의 여부를 판단하게 되는 바(단계 S30), 사용자 계정과 사용자에게 할당할 디스크 볼륨의 크기가 미리 설정되어 있지 않다고 판단되면 해당 컨트롤 포인트(60)에 미리 정의되어 있는 기본 사용자 정보에 따라서 디폴트 사용자를 생성하게 되고(단계 S31), 상기 HNAS(10)에 구비되어 있는 전체 하드 디스크를 하나의 볼륨으로 설정하여(단계 S32), 그 하나의 볼륨을 디폴트 사용자에게 할당하는 작업을 수행하게 된다(단계 S33).As illustrated in FIG. 6, the
하지만, 상기 단계 S30의 판단 결과 상기 컨트롤 포인트(60)에서는 사용자 계정 및 각 사용자에 대한 볼륨의 크기가 미리 설정되어 있다고 판단되면, 사용자에게 할당되는 볼륨의 크기가 상기 HNAS(10)에 구비된 디스크의 크기를 초과하지 않고서 적당하게 설정되어 있는지를 판단하게 된다(단계 S34).However, when it is determined in step S30 that the
상기 판단 결과, 상기 사용자에게 미리 설정된 볼륨의 크기가 해당 HNAS(10)에 구비된 디스크의 크기를 초과하지 않는다고 판단되면, 상기 미리 설정된 볼륨 크기의 설정값으로 사용자 설정을 진행하게 되고(S35), 그 볼륨 크기를 상기 HNAS(10)에 요청함에 따라(단계 S36), 상기 사용자 계정과 볼륨을 생성하는 작업을 수행하게 된다(단계 S37).As a result of the determination, when it is determined that the size of the volume preset to the user does not exceed the size of the disk provided in the
한편, 본 발명은 전술한 전형적인 바람직한 실시예들에만 한정되는 것이 아니라 본 발명의 요지를 벗어나지 않는 범위 내에서 여러 가지로 개량, 변경, 대체 또는 부가하여 실시할 수 있는 것임은 당해 기술분야에 통상의 지식을 가진 자라면 용이하게 이해할 수 있을 것이다. 이러한 개량, 변경, 대체 또는 부가에 의한 실시가 이하의 첨부된 특허청구범위의 범주에 속하는 것이라면 그 기술사상 역시 본 발명에 속하는 것으로 보아야 한다.On the other hand, the present invention is not limited to the above-described typical preferred embodiments, but can be carried out in various ways without departing from the gist of the present invention, various modifications, alterations, substitutions or additions are common in the art Those who have knowledge will easily understand. If the implementation by such improvement, change, replacement or addition falls within the scope of the appended claims, the technical idea should also be regarded as belonging to the present invention.
이상과 같이 본 발명에 따르면, 홈네트워크 상에 데이터 공유를 위한 HNAS를 사용하고자 하는 경우에, 개인용 컴퓨터나 별도의 유저 인터페이스 장치를 통한 복잡한 설정 과정을 거치지 않고서도 HNAS의 RAID 레벨 설정 작업과, 사용자 계정 및 디스크 볼륨의 할당 작업을 자동적으로 진행할 수 있도록 함에 따라, 전문적인 지식이 필요한 복잡한 설정 방식을 거치지 않고서도 HNAS의 데이터 공유를 위한 설정을 용이하게 진행하는 것이 가능하다는 효과를 갖게 된다. As described above, when using the HNAS for data sharing on the home network, the RAID level setting operation of the HNAS and the user without going through a complicated configuration process through a personal computer or a separate user interface device, By automatically assigning accounts and disk volumes, it is possible to easily set up HNAS data sharing without going through complicated configuration methods that require specialized knowledge.
Claims (12)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050033450 | 2005-04-22 | ||
KR20050033450 | 2005-04-22 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060111354A true KR20060111354A (en) | 2006-10-27 |
KR100725295B1 KR100725295B1 (en) | 2007-06-07 |
Family
ID=37620163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050128118A KR100725295B1 (en) | 2005-04-22 | 2005-12-22 | Method for setting disk information of storage device for upnp network |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100725295B1 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2401671C (en) * | 1997-06-25 | 2010-01-12 | Samsung Electronics Co., Ltd. | Browser based command and control home network |
US20040078542A1 (en) * | 2002-10-14 | 2004-04-22 | Fuller William Tracy | Systems and methods for transparent expansion and management of online electronic storage |
KR100559023B1 (en) * | 2003-05-30 | 2006-03-10 | 엘지전자 주식회사 | Home network system and its configuration system |
KR20060035194A (en) * | 2004-10-21 | 2006-04-26 | 엘에스산전 주식회사 | Arc extinguishing apparatus for molded case circuit breaker |
KR100643282B1 (en) * | 2004-11-02 | 2006-11-10 | 삼성전자주식회사 | Method and apparatus for identifying a device on UPnP network, and playing content through the device |
-
2005
- 2005-12-22 KR KR1020050128118A patent/KR100725295B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR100725295B1 (en) | 2007-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6199452B2 (en) | Data storage systems that export logical volumes as storage objects | |
JP6219420B2 (en) | Configuring an object storage system for input / output operations | |
JP6208207B2 (en) | A computer system that accesses an object storage system | |
JP5985642B2 (en) | Data storage system and data storage control method | |
JP6050316B2 (en) | Method and network storage server used in data storage system | |
CN110612511B (en) | Selectively storing data into allocation regions using streams | |
US20170013046A1 (en) | Data-centric data storage | |
US8271556B1 (en) | Method and system for managing clustered and non-clustered storage systems | |
WO2014087518A1 (en) | Network system and method for operating same | |
WO2013065081A1 (en) | Storage apparatus and data management method | |
KR101482518B1 (en) | Method and system for cache tiering | |
KR101948956B1 (en) | Method for data maintenance | |
US7260699B2 (en) | Method, device and program for managing volume | |
WO2004021226A2 (en) | Methods and systems for storage architectures | |
US20070079098A1 (en) | Automatic allocation of volumes in storage area networks | |
JP2005196625A (en) | Information processing system and management device | |
US10855556B2 (en) | Methods for facilitating adaptive quality of service in storage networks and devices thereof | |
KR102178740B1 (en) | Server for distributed file system based on torus network and method using the same | |
US8583882B2 (en) | Storage subsystem and its control method | |
JP4285058B2 (en) | Network management program, management computer and management method | |
JP2007533033A (en) | System and method for providing a proxy for a shared file system | |
US20090063793A1 (en) | Storage system, data management apparatus and management allocation method thereof | |
KR100725295B1 (en) | Method for setting disk information of storage device for upnp network | |
KR101470857B1 (en) | Network distributed file system and method using iSCSI storage system | |
WO2017024802A1 (en) | System having multiple coexisting storage media, file operation method and device, and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
G170 | Publication of correction | ||
FPAY | Annual fee payment |
Payment date: 20130424 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20140424 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20150424 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20160422 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20170414 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |