CN111091851B - IPSAN disk management method of recording and broadcasting system - Google Patents
IPSAN disk management method of recording and broadcasting system Download PDFInfo
- Publication number
- CN111091851B CN111091851B CN201911259557.6A CN201911259557A CN111091851B CN 111091851 B CN111091851 B CN 111091851B CN 201911259557 A CN201911259557 A CN 201911259557A CN 111091851 B CN111091851 B CN 111091851B
- Authority
- CN
- China
- Prior art keywords
- disk
- ipsan
- cabinet
- disk cabinet
- video
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/7605—Television signal recording on discs or drums
Abstract
The invention discloses an IPSAN disk management method of a recording and broadcasting system, which comprises the steps that a configuration client acquires disk cabinet information of each IPSAN and generates a unique identifier for the disk cabinet information, wherein the unique identifier corresponds to an IP address of the IPSAN and a targetName of the disk cabinet; creating a logical disk according to the acquired disk cabinet information, mapping the logical disk and the unique identification of the disk cabinet, and storing the mapping relation into a database; distributing the created logic disks to each storage server; the method is more convenient for disk management, does not need to manually map the IPSAN disk on each storage server in the recording and broadcasting system, and does not need to control the read-write of the disk by a host similar to a MetasANAN Master, thereby improving the disk access performance.
Description
Technical Field
The invention relates to the technical field of computers, in particular to an IPSAN disk management method of a recording and broadcasting system.
Background
In the prior art, a common management mode for disks is to use metassan for management, the method needs to manually perform IPSAN disk mapping at each storage server, and a Master host is used for controlling the disk reading authority of each configuration client in the network, and meanwhile, when the number of configuration clients in the virtual network is too many, the Master host may not respond. Each storage server side needs to manually perform IPSAN mapping and configure MetasASAN, the MetasASAN charges according to a configuration client side, and if the number of the MetasASAN configuration client sides in a project is more, the additional cost is higher.
Disclosure of Invention
The invention aims to provide an IPSAN disk management method of a recording and broadcasting system, which is used for solving the problems that in the management mode of a MetasAN in the prior art, each storage server side needs to manually map the IPSAN and configure the MetasAN, the MetasAN charges according to a configured client side, and if the number of the MetasAN configured client sides in a project is more, the additional cost is higher.
The invention solves the problems through the following technical scheme:
a recording and broadcasting system IPSAN disk management method, the said disk management method includes the following steps:
step 1: the configuration client acquires the disk cabinet information of each IPSAN and generates a unique identifier for the disk cabinet information, wherein the unique identifier corresponds to the IP address of the IPSAN and the targetName of the disk cabinet;
step 2: creating a logical disk according to the disk cabinet information acquired in the step 1, mapping the logical disk and the unique identification of the disk cabinet, and storing the mapping relation into a database;
and step 3: distributing the logic disk created in the step 2 to each storage server;
and 4, step 4: during video recording, a storage server reads a logical disk allocated to the server, then finds out a corresponding disk cabinet, allocates and stores a camera in the disk cabinet, finds out a TargetName of the disk cabinet according to the unique identifier of the disk cabinet, dynamically maps the TargetName to IPSAN through the IP address of the IPSAN, and then allocates a disk identifier;
and 5: configuring storage switching time of a storage server, writing video information into a disk cabinet by the storage server in turn according to the storage switching time during video recording, and automatically converting the disk cabinet in which the video information is written into a dormant state after switching; simultaneously, the unique identification of the IPSAN disk cabinet for storing the information of the video is stored together, and the mapping is disconnected after the video recording is finished;
step 6: when the video on demand server carries out video on demand, the unique identification of the IPSAN disk cabinet for storing the video is read from the database, the IP addresses of the TargetName and the IPSAN of the disk cabinet are found according to the unique identification, the disk is dynamically mapped to the IPSAN and randomly allocated with a disk identifier, the disk identifier of a video path is dynamically changed into the disk identifier of a newly mapped disk, and the mapping is disconnected after the video on demand is finished.
Preferably, the logical disk includes a plurality of physical disks, and the number of corresponding IPSANs is at least 1.
Preferably, when the logical disks are allocated to the storage servers in step 3, two allocation manners, namely system automatic allocation and user manual allocation, may be adopted.
Preferably, the storage switching time of the storage server in the step 5 is 8 hours, and the storage server is automatically switched to another disk cabinet for storage after the storage time reaches 8 hours.
Preferably, in step 4, the user may configure the number of camera paths stored in each logical disk.
Compared with the prior art, the invention has the following advantages and beneficial effects:
(1) the method of the invention is more convenient for disk management, and does not need to manually map the IPSAN disk on each storage server in the recording and broadcasting system.
(2) According to the method provided by the invention, the disk access does not need to control the read-write of the disk through a host similar to a MetasASAN Master, so that the disk access performance is improved.
Drawings
Fig. 1 is a schematic diagram of a data flow process of the recording and playing system IPSAN disk management method of the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Example 1:
the recording and broadcasting system of the embodiment comprises a configuration client, a management server, an on-demand server, a storage server and a database, wherein the main data processing process is carried out among the configuration client, the storage server and the on-demand server, and the management server does not carry out data processing and is only an intermediate medium for data transmission and used for transmitting and responding to login requests and registration requests.
Referring to fig. 1, a method for managing an IPSAN disk of a recording and broadcasting system includes the following steps:
step 1: the configuration client acquires the disk cabinet information of each IPSAN, and generates a unique identifier Guid for the IPSAN, wherein the unique identifier Guid corresponds to the IP address of the IPSAN and the targetName of the disk cabinet, namely each disk cabinet corresponds to one Guid;
step 2: creating a logical disk according to the disk cabinet information acquired in the step 1, mapping the logical disk and a unique identifier Guid of the disk cabinet, and storing a mapping relation into a database; the number of the logical disks including the physical disks and the number of the corresponding IPSANs can be flexibly set, and in the example, when the physical disks are allocated to the logical disks, each logical disk only corresponds to one IPSAN.
And step 3: the logic disk created in the step 2 is distributed to each storage server, the system is automatically distributed to the storage servers after the logic disk is created, and a user can manually modify the configuration; automatically distributing a corresponding number of logic disks according to the number of paths supported by each storage server, wherein a user can manually modify the logic disks;
and 4, step 4: when recording, the storage server firstly reads the logical disk allocated to the server, then finds out the corresponding disk cabinet, allocates and stores the camera in the disk cabinet, then finds out the TargetName of the disk cabinet according to the unique identifier Guid of the disk cabinet, dynamically maps the TargetName to the IPSAN through the IP address of the IPSAN, and then allocates a disk identifier;
and 5: configuring storage switching time of a storage server, writing video information into the disk cabinets in turn by the storage server according to the storage switching time during video recording, namely if the configured storage switching time is 8 hours, automatically switching to another disk cabinet after 8-hour video is written into one disk cabinet, automatically switching the disk cabinet in which the video information is written into the disk cabinet into a dormant state, and storing 22 paths of 5-day discontinuous videos in each disk cabinet after using the storage strategy; simultaneously, storing the unique identification Guid of the IPSAN disk cabinet storing the information of the video together, and disconnecting mapping after the video is finished;
step 6: when the video on demand server carries out video on demand, the unique identification Guid of the IPSAN disk cabinet for storing the video is read from the database, the IP addresses of the TargetName and the IPSAN of the disk cabinet are found according to the unique identification Guid, the IP addresses are dynamically mapped to the IPSAN and a disk identifier is randomly allocated, the disk identifier of a video path is dynamically changed into the disk identifier of a newly mapped disk, and the mapping is disconnected after the video on demand is finished.
Although the present invention has been described herein with reference to the illustrated embodiments thereof, which are intended to be preferred embodiments of the present invention, it is to be understood that the invention is not limited thereto, and that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure.
Claims (5)
1. An IPSAN disk management method of a recording and broadcasting system is characterized by comprising the following steps:
step 1: a configuration client acquires the disk cabinet information of each IPSAN, and generates a unique identifier for the disk cabinet, wherein the unique identifier corresponds to the IP address of the IPSAN and the targetName of the disk cabinet;
step 2: creating a logical disk according to the disk cabinet information acquired in the step 1, mapping the logical disk and the unique identification of the disk cabinet, and storing the mapping relation into a database;
and step 3: distributing the logic disk created in the step 2 to each storage server;
and 4, step 4: during video recording, a storage server reads a logical disk allocated to the storage server, then finds a corresponding disk cabinet, allocates and stores a camera in the disk cabinet, finds a targetName of the disk cabinet according to a unique identifier of the disk cabinet, dynamically maps the targetName to the IPSAN through an IP address of the IPSAN, and then allocates a disk identifier for the targetName of the disk cabinet;
and 5: configuring storage switching time of a storage server, writing video information into a disk cabinet by the storage server in turn according to the storage switching time during video recording, and automatically converting the disk cabinet in which the video information is written into a dormant state after switching; simultaneously storing the unique identification of the IPSAN disk cabinet storing the video information together, and disconnecting the mapping among the unique identification of the disk cabinet, the TargetName of the disk cabinet, the IP address of the IPSAN and the disk identifier after the video is recorded;
step 6: when the video on demand server carries out video on demand, the unique identification of the IPSAN disk cabinet for storing the video is read from the database, the targetName of the disk cabinet and the IP address of the IPSAN are found according to the unique identification, the IP address of the IPSAN is dynamically mapped to the IPSAN, a disk identifier of a new mapping disk is randomly distributed for the disk cabinet targetName, the disk identifier of a video path is dynamically changed into the disk identifier of the new mapping disk, and the unique identification of the disk cabinet, the targetName of the disk cabinet, the IP address of the IPSAN and the disk identifier of the new mapping disk are disconnected after the video on demand is finished.
2. The method of claim 1, wherein the logical disks comprise a plurality of physical disks, and the number of IPSANs is at least 1.
3. The method according to claim 1, wherein when allocating the logical disks to the storage servers in step 3, two allocation manners, namely system automatic allocation and user manual allocation, are adopted.
4. The method according to claim 1, wherein the storage switching time of the storage server in step 5 is 8 hours, and the storage is automatically switched to another disk cabinet for storage after the storage time reaches 8 hours.
5. The method according to claim 1, wherein in step 4, the user configures the number of camera paths stored in each logical disk.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911259557.6A CN111091851B (en) | 2019-12-10 | 2019-12-10 | IPSAN disk management method of recording and broadcasting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911259557.6A CN111091851B (en) | 2019-12-10 | 2019-12-10 | IPSAN disk management method of recording and broadcasting system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111091851A CN111091851A (en) | 2020-05-01 |
CN111091851B true CN111091851B (en) | 2021-03-02 |
Family
ID=70394969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911259557.6A Active CN111091851B (en) | 2019-12-10 | 2019-12-10 | IPSAN disk management method of recording and broadcasting system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111091851B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1655129A (en) * | 2005-02-25 | 2005-08-17 | 清华大学 | Universal method for dynamical management of storage resource under Windows platform |
CN102238092A (en) * | 2011-08-02 | 2011-11-09 | 杭州华三通信技术有限公司 | Method for performing load sharing on encoder and encoder |
CN102387347A (en) * | 2011-10-19 | 2012-03-21 | 何进波 | Video storing and instant replay system based on IP (identification of position)-SAN (storage area networking) direct storage technology |
US9396200B2 (en) * | 2013-09-11 | 2016-07-19 | Dell Products, Lp | Auto-snapshot manager analysis tool |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075738A (en) * | 2011-03-01 | 2011-05-25 | 天津市天祥世联网络科技有限公司 | Video monitoring system |
CN104023058B (en) * | 2014-06-03 | 2017-05-17 | 浙江宇视科技有限公司 | Method and system for managing and allocating storage resources |
-
2019
- 2019-12-10 CN CN201911259557.6A patent/CN111091851B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1655129A (en) * | 2005-02-25 | 2005-08-17 | 清华大学 | Universal method for dynamical management of storage resource under Windows platform |
CN102238092A (en) * | 2011-08-02 | 2011-11-09 | 杭州华三通信技术有限公司 | Method for performing load sharing on encoder and encoder |
CN102387347A (en) * | 2011-10-19 | 2012-03-21 | 何进波 | Video storing and instant replay system based on IP (identification of position)-SAN (storage area networking) direct storage technology |
US9396200B2 (en) * | 2013-09-11 | 2016-07-19 | Dell Products, Lp | Auto-snapshot manager analysis tool |
Also Published As
Publication number | Publication date |
---|---|
CN111091851A (en) | 2020-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6470382B1 (en) | Method to dynamically attach, manage, and access a LAN-attached SCSI and netSCSI devices | |
US7478177B2 (en) | System and method for automatic reassignment of shared storage on blade replacement | |
US10133485B2 (en) | Integrating storage resources from storage area network in machine provisioning platform | |
US8255420B2 (en) | Distributed storage | |
US7275050B2 (en) | Storage system, a method of file data backup and method of copying of file data | |
US7523273B2 (en) | Autonomic storage provisioning to enhance storage virtualization infrastructure availability | |
CN104850358A (en) | Magnetic-optical-electric hybrid storage system and data acquisition and storage method thereof | |
CN101751233B (en) | Method and system for expanding capacity of memory device | |
CN102123176B (en) | Space distribution and management method and device for network storage system | |
CN105468300B (en) | The management method and device of IP hard disks | |
CN101976223A (en) | Thin provisioning method and device | |
US20090285227A1 (en) | Transparent mode | |
US8860820B2 (en) | Video recording system, method, and computer program for memory space distribution in a video recording system | |
CN100538617C (en) | Storage medium processing method and system | |
JP2003248630A (en) | Method of securing drive access to data storage medium on the basis of media identifier | |
US20100235599A1 (en) | Access control device, storage system, and access control method | |
CN104410666A (en) | Method and system for implementing heterogeneous storage resource management under cloud computing | |
EP1498818A2 (en) | Address distribution among independent cache memories | |
CN103902225A (en) | Method and system for centralized management of storage resources | |
US20160014203A1 (en) | Storage fabric address based data block retrieval | |
CN106897027B (en) | Distributed storage service system and method based on desktop virtualization | |
US20140297596A1 (en) | Home appliance storage virtualization method and apparatus | |
CN102662879B (en) | Processing method and system for input of multiplex peripheral equipment based on Windows operation system | |
CN111091851B (en) | IPSAN disk management method of recording and broadcasting system | |
CN101630332A (en) | Data storage management method, data storage management device and data storage management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |