CN103079087A - Video storage system and load balancing method thereof - Google Patents

Video storage system and load balancing method thereof Download PDF

Info

Publication number
CN103079087A
CN103079087A CN2012105812266A CN201210581226A CN103079087A CN 103079087 A CN103079087 A CN 103079087A CN 2012105812266 A CN2012105812266 A CN 2012105812266A CN 201210581226 A CN201210581226 A CN 201210581226A CN 103079087 A CN103079087 A CN 103079087A
Authority
CN
China
Prior art keywords
storage server
video data
stored
server
packet
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
CN2012105812266A
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.)
Vtron Technologies Ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN2012105812266A priority Critical patent/CN103079087A/en
Publication of CN103079087A publication Critical patent/CN103079087A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video storage system and a load balancing method thereof. Acquired video data is partitioned into data packets, and the data packets are sequentially stored in storage servers in a polling manner. As the partitioned data packets are identical in size, the size difference of stored data on the storage servers in each time is eliminated; as the data packets are sequentially and respectively stored in the multiple storage servers, the load balance of the storage servers is realized, the reliability of data storage is guaranteed, and the storage performance of a video storage system is optimized.

Description

The method of Video Storage System and load balancing thereof
Technical field
The present invention relates to the video storage technical field, particularly relate to the method for a kind of Video Storage System and load balancing thereof.
Background technology
Video Storage System generally comprises a forwarding server and Duo Tai storage server.Wherein, forwarding server is used for obtaining video file or the video data that records and being transmitted to certain storage server, and this storage server is received behind the video data its storage.
The video data of recording, what have is large, what have is little, when the video data that size is uneven is given different storage server storages, following phenomenon often occurs: a storage server is in busy condition, another storage server is in idle condition, and perhaps last memory space differs greatly between the storage server.The storage server that over-burden can produce obliterated data or read the situation of makeing mistakes, and is unfavorable for the reliability of Video Data Storage, has also reduced the memory property of Video Storage System.
Summary of the invention
Based on above-mentioned situation, the present invention proposes the method for a kind of Video Storage System and load balancing thereof, to realize the load balancing of each storage server.
A kind of method of Video Storage System load balancing comprises step:
Obtain video data to be stored;
Described video data is divided into a plurality of packets of specifying size;
Described packet is stored in each storage server successively according to the mode of poll.
A kind of Video Storage System comprises forwarding server and Duo Tai storage server,
Described forwarding server is used for obtaining video data to be stored, and described video data is divided into a plurality of packets of specifying size, and according to the mode of poll described packet is stored in each described storage server successively.
The method of Video Storage System of the present invention and load balancing thereof is divided into one by one packet with the video data that obtains, and the mode according to poll is stored in each storage server successively again.Because the data package size after cutting apart is consistent, therefore eliminate storage server and stored the difference of size of data at every turn, again because a plurality of packets are stored in respectively a plurality of storage servers in order, realized the load balancing of storage server, guarantee the reliability of data storages, optimized the memory property of Video Storage System.
Description of drawings
Fig. 1 is the schematic flow sheet of the method for Video Storage System load balancing of the present invention;
Fig. 2 is the structural representation of Video Storage System of the present invention.
Embodiment
The present invention is encapsulated as packet with video data, again packet is stored in each storage server successively, to reach the purpose of load balancing.Explain in detail the present invention below in conjunction with accompanying drawing and embodiment.
The method of Video Storage System load balancing of the present invention as shown in Figure 1, comprises step:
Step S101, obtain video data to be stored;
Step S102, described video data is divided into a plurality of packets of specifying size;
Step S103, described packet is stored in each storage server successively according to the mode of poll.
The reason of conventional store mode load imbalance is that video data is not of uniform size, therefore, after this method is obtained the video data that records, first video data is carried out dividing processing, be divided into several equal-sized packets, mode according to poll is stored in each storage server with these packets again, thereby realizes the load balancing of storage server.
For the ease of inquiry, can also record after video data cut apart under each described packet video data and corresponding under which bag of video data, with packet store finish after, the storage server of can also the record data bag storing.
Behind the Video Data Storage, the user may need reading video data, therefore, this method can also comprise step: after receiving reading order, inquire about described record, from the described storage server of correspondence, read described packet, the described packet that reads is packaged, be reduced to the transmit leg that returns to described reading order after the original video data.
Step S102 mentions, and the size of packet is appointment.When implementation this method, the size of packet is unsuitable excessive also unsuitable too small, and should adapt with following two factors: described video data is carried out the required cache-time of each described packet in the cutting procedure, described packet is stored in the fragment degree of described storage server behind the described storage server.When video data is divided into packet, need to will be distributed to storage server behind the data pack buffer, so packet is larger, cache-time is more of a specified duration, is unfavorable for improving storage efficiency again.And packet is too small, and with the workload that increase is cut apart, too small packet is kept in the storage server, will form one by one fragment, is unfavorable for reading.
As a preferred embodiment, this method also comprises step: the described storage server of opening is safeguarded a formation.When described packet is stored in described storage server, be stored in successively storage server in the described formation according to the mode of poll.
Video Storage System of the present invention as shown in Figure 2, comprises forwarding server and Duo Tai storage server, and forwarding server links to each other with many storage servers respectively.
Described forwarding server is used for obtaining video data to be stored, and described video data is divided into a plurality of packets of specifying size, and according to the mode of poll described packet is stored in each described storage server successively.
As a preferred embodiment, described forwarding server also is used for which bag of the video data under each described packet of record, corresponding affiliated video data and the storage server of storing, so that inquiry.
As a preferred embodiment, described forwarding server also is used for after receiving reading order, inquire about described record, from the described storage server of correspondence, read described packet, the described packet that reads is packaged, be reduced to the transmit leg that returns to described reading order after the original video data.
As a preferred embodiment, the size of the described packet that described forwarding server is cut apart and following two factors adapt: described video data is carried out the required cache-time of each described packet in the cutting procedure, described packet is stored in the fragment degree of described storage server behind the described storage server.
As a preferred embodiment, described storage server starts backward described forwarding server registration, described forwarding server is safeguarded a formation to the described storage server of opening, when described packet is stored in described storage server, be stored in successively storage server in the described formation according to the mode of poll.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (10)

1. the method for a Video Storage System load balancing is characterized in that, comprises step:
Obtain video data to be stored;
Described video data is divided into a plurality of packets of specifying size;
Described packet is stored in each storage server successively according to the mode of poll.
2. the method for Video Storage System load balancing according to claim 1 is characterized in that, also comprises step:
Record which bag of the affiliated video data of each described packet, corresponding affiliated video data and the storage server of storing.
3. the method for Video Storage System load balancing according to claim 2 is characterized in that, also comprises step:
After receiving reading order, inquire about described record, from the described storage server of correspondence, read described packet, the described packet that reads is packaged, be reduced to the transmit leg that returns to described reading order after the original video data.
4. according to claim 1 and 2 or the method for 3 described Video Storage System load balancing, it is characterized in that the appointment of described packet size adapts with following two factors: described video data is carried out the required cache-time of each described packet in the cutting procedure, described packet is stored in the fragment degree of described storage server behind the described storage server.
5. according to claim 1 and 2 or the method for 3 described Video Storage System load balancing, also comprise step: the described storage server of opening is safeguarded a formation;
When described packet is stored in described storage server, be stored in successively storage server in the described formation according to the mode of poll.
6. a Video Storage System is characterized in that, comprises forwarding server and Duo Tai storage server,
Described forwarding server is used for obtaining video data to be stored, and described video data is divided into a plurality of packets of specifying size, and according to the mode of poll described packet is stored in each described storage server successively.
7. Video Storage System according to claim 6 is characterized in that, described forwarding server also is used for which bag of the video data under each described packet of record, corresponding affiliated video data and the storage server of storing.
8. Video Storage System according to claim 7, it is characterized in that, described forwarding server also is used for after receiving reading order, inquire about described record, from the described storage server of correspondence, read described packet, the described packet that reads is packaged, be reduced to the transmit leg that returns to described reading order after the original video data.
9. according to claim 6 or 7 or 8 described Video Storage Systems, it is characterized in that the appointment of the described packet that described forwarding server is cut apart size adapts with following two factors: described video data is carried out the required cache-time of each described packet in the cutting procedure, described packet is stored in the fragment degree of described storage server behind the described storage server.
10. according to claim 6 or 7 or 8 described Video Storage Systems, described storage server starts backward described forwarding server registration, described forwarding server is safeguarded a formation to the described storage server of opening, when described packet is stored in described storage server, be stored in successively storage server in the described formation according to the mode of poll.
CN2012105812266A 2012-12-27 2012-12-27 Video storage system and load balancing method thereof Pending CN103079087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105812266A CN103079087A (en) 2012-12-27 2012-12-27 Video storage system and load balancing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105812266A CN103079087A (en) 2012-12-27 2012-12-27 Video storage system and load balancing method thereof

Publications (1)

Publication Number Publication Date
CN103079087A true CN103079087A (en) 2013-05-01

Family

ID=48155476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105812266A Pending CN103079087A (en) 2012-12-27 2012-12-27 Video storage system and load balancing method thereof

Country Status (1)

Country Link
CN (1) CN103079087A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208262A (en) * 2014-06-26 2015-12-30 爱玛丽欧有限公司 Network photographic data management system and method
CN106970928A (en) * 2016-01-14 2017-07-21 平安科技(深圳)有限公司 File management method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878301A (en) * 2006-07-19 2006-12-13 杭州华为三康技术有限公司 Video monitoring data storage managing method and system
JP2007072673A (en) * 2005-09-06 2007-03-22 Ntt Resonant Inc Server operation method, server system, slave device in server system, system management method therefor and system management program
CN101008919A (en) * 2007-01-31 2007-08-01 浙江大学 Audio/video data access method and device based on raw device
CN101137027A (en) * 2006-11-23 2008-03-05 中兴通讯股份有限公司 Media slicing memory method
US20080059631A1 (en) * 2006-07-07 2008-03-06 Voddler, Inc. Push-Pull Based Content Delivery System
CN101778273A (en) * 2010-01-20 2010-07-14 中兴通讯股份有限公司 Method and device for transcribing multimedia radio programs
US7827298B2 (en) * 2006-10-20 2010-11-02 Mixpo Portfolio Broadcasting, Inc. Peer-to-web media broadcasting and managing online publisher computers
CN101877783A (en) * 2009-11-06 2010-11-03 北京邦诺存储科技有限公司 Network video recorder cluster video monitoring system and method
CN102508902A (en) * 2011-11-08 2012-06-20 西安电子科技大学 Block size variable data blocking method for cloud storage system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007072673A (en) * 2005-09-06 2007-03-22 Ntt Resonant Inc Server operation method, server system, slave device in server system, system management method therefor and system management program
US20080059631A1 (en) * 2006-07-07 2008-03-06 Voddler, Inc. Push-Pull Based Content Delivery System
CN1878301A (en) * 2006-07-19 2006-12-13 杭州华为三康技术有限公司 Video monitoring data storage managing method and system
US7827298B2 (en) * 2006-10-20 2010-11-02 Mixpo Portfolio Broadcasting, Inc. Peer-to-web media broadcasting and managing online publisher computers
CN101137027A (en) * 2006-11-23 2008-03-05 中兴通讯股份有限公司 Media slicing memory method
CN101008919A (en) * 2007-01-31 2007-08-01 浙江大学 Audio/video data access method and device based on raw device
CN101877783A (en) * 2009-11-06 2010-11-03 北京邦诺存储科技有限公司 Network video recorder cluster video monitoring system and method
CN101778273A (en) * 2010-01-20 2010-07-14 中兴通讯股份有限公司 Method and device for transcribing multimedia radio programs
CN102508902A (en) * 2011-11-08 2012-06-20 西安电子科技大学 Block size variable data blocking method for cloud storage system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208262A (en) * 2014-06-26 2015-12-30 爱玛丽欧有限公司 Network photographic data management system and method
CN106970928A (en) * 2016-01-14 2017-07-21 平安科技(深圳)有限公司 File management method and system

Similar Documents

Publication Publication Date Title
KR102532173B1 (en) Memory access technology and computer system
CN101916227B (en) RLDRAM SIO storage access control method and device
US9495102B2 (en) Input/output (I/O) interceptor that re-orders a plurality of write I/O into combined with I/O with intelligent flush control logic
WO2013131440A1 (en) Network communication method and system
CN105159604A (en) Disk data read-write method and system
JP5514169B2 (en) Information processing apparatus and information processing method
EP3657744B1 (en) Message processing
CN102148870A (en) Cloud storage system and implementation method thereof
JP5255035B2 (en) Failover system, storage processing apparatus, and failover control method
CN103634224A (en) Method and system for transmitting data in network
CN102740125A (en) System and method for playing streaming media
CN103916421A (en) Cloud storage data service device, data transmission system, server and method
CN103581055A (en) Message order preserving method, flow scheduling chip and distribution type storage system
CN105959346A (en) Data processing system and data processing method based on server cluster
CN103986585A (en) Message preprocessing method and device
CN104410666A (en) Method and system for implementing heterogeneous storage resource management under cloud computing
CN104717189A (en) Network data package sending method and device
CN101478462B (en) Apparatus and method for storage data reading and writing, solid hard disk
CN103778120A (en) Global file identification generation method, generation device and corresponding distributed file system
CN103079087A (en) Video storage system and load balancing method thereof
CN104753856A (en) File receiving and sending method and system
CN102970349B (en) A kind of memory load equalization methods of DHT network
CN103327129A (en) Domain name analyticmethod for multi-WAN-port gateway device
CN102404156B (en) Data transmission method and device based on aggregation link
US20180124441A1 (en) Method and system for processing mpeg data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130501