CN103200272B - A kind of Storage System for Stream Media and storage means - Google Patents

A kind of Storage System for Stream Media and storage means Download PDF

Info

Publication number
CN103200272B
CN103200272B CN201310134471.7A CN201310134471A CN103200272B CN 103200272 B CN103200272 B CN 103200272B CN 201310134471 A CN201310134471 A CN 201310134471A CN 103200272 B CN103200272 B CN 103200272B
Authority
CN
China
Prior art keywords
server
files
storage
media
stream media
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.)
Expired - Fee Related
Application number
CN201310134471.7A
Other languages
Chinese (zh)
Other versions
CN103200272A (en
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.)
Nanjing Tech University
Original Assignee
Nanjing Tech University
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 Nanjing Tech University filed Critical Nanjing Tech University
Priority to CN201310134471.7A priority Critical patent/CN103200272B/en
Publication of CN103200272A publication Critical patent/CN103200272A/en
Application granted granted Critical
Publication of CN103200272B publication Critical patent/CN103200272B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention relates to a kind of Storage System for Stream Media, comprise terminal equipment, central server, caching server and at least two storage servers, for at least two sub-files in stream media after files in stream media segmentation, adopt caching server and each storage server to store respectively, and in central server, set up the mapping relations of each files in stream media its subflow media file storage information corresponding; Wherein, terminal equipment, according to the storage information of the appointment files in stream media obtained by central server its subflow media file corresponding, sends Streaming Media request to caching server and each storage server, and obtains the feedback of specifying files in stream media; Meanwhile, the invention still further relates to the storage means based on this Storage System for Stream Media, by this system and method, the concurrent problem occurred when can not only solve multiple terminal access, and effectively can improve files in stream media access to netwoks speed.

Description

A kind of Storage System for Stream Media and storage means
Technical field
The present invention relates to a kind of Storage System for Stream Media and storage means.
Background technology
Streaming Media refers in a streaming manner the form of transmission of audio, video and multimedia file in a network; Streaming File Format is the media formats supporting to adopt stream transmission and play.Streaming manner is that the multimedia files such as Audio and Video are divided into compressed package one by one through special compress mode, is transmitted continuously, in real time to subscriber computer by server.In the system adopting streaming manner, user need not wait until that whole file just can see central content after all downloading as non-stream is play, but only need the start-up study through a few second or tens seconds that corresponding player can be utilized on the user computer to play streaming video files such as the video of compression or audio frequency, remaining part will proceed to download, until finish.
The a series of relevant bag of this process is called " stream ", and Streaming Media is actual refers to a kind of new media load mode, but not a kind of new media.After stream media technology overall application, people can directly phonetic entry in online chat; If think appearance, the expression of seeing the other side each other, as long as both sides respectively have a camera just passable; See interested commodity on the net, after click, the image of guide and commodity will be jumped out; The video news of the sense of reality is more had also to there will be.
To be divided into the form that multiple file carries out storing corresponding with files in stream media, in the application of prior art streaming media, the multiple files be divided into can be stored on multiple server by technical staff respectively, this is because single memory node, not only constrain user concurrent number, affect the safety and reliability of system, involve great expense simultaneously, also larger defect is there is in maintenance and date restoring speed, be stored on multiple server respectively so files in stream media to be divided into multiple file, can effectively overcome the above problems.But along with extensive use and constantly progress cybertimes of Streaming Media, terminal equipment in access network becomes more and more, the transmission speed of network becomes the significant consideration that people use network, the appearance of Streaming Media and application, efficiently solve the concurrent problem of multi-terminal equipment, but for its Internet Transmission, still depend on the transmission speed of its place network, and do not have effective method to improve it.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of concurrent problem occurred when can not only solve multiple terminal access, and effectively can improve the Storage System for Stream Media of files in stream media access to netwoks speed.
Corresponding therewith, technical problem to be solved by this invention is to provide a kind of Storage System for Stream Media based on the present invention's design, the concurrent problem occurred when not only solving multiple terminal access, and effectively can improve the storage means of the access speed of streaming media files.
The present invention is in order to solve the problems of the technologies described above by the following technical solutions: the present invention devises a kind of Storage System for Stream Media, comprises terminal equipment, central server and at least two storage servers, each required files in stream media stored is divided at least two sub-files in stream media through central server respectively, is stored in each storage server respectively, terminal equipment sends Streaming Media request instruction to central server, central server is according to the mapping relations of each files in stream media its subflow media file storage information corresponding, and the Streaming Media request instruction of terminal equipment, call the storage information of specifying files in stream media its subflow media file corresponding, feed back to terminal equipment, terminal equipment is again according to the storage information obtained, each storage server of specifying in storage information sends Streaming Media request instruction, terminal equipment is sent to by specifying each subflow media file of files in stream media again by each storage server of specifying, also comprise with each storage server in the lump for storing the caching server of each subflow media file respectively, terminal equipment is according to the storage information obtained by central server, the caching server of specifying in storage information and each storage server send Streaming Media request instruction, then are sent to terminal equipment by the caching server of specifying and each storage server by specifying the subflow media file of files in stream media.
As a preferred technical solution of the present invention: described caching server and each storage server comprise individual count module corresponding with it respectively, respectively the called number of times of its inside subflow media file is counted, and at the appointed time count results is sent to described central server by interval.
A kind of Storage System for Stream Media of the present invention adopts above technical scheme compared with prior art, has following technique effect:
(1) Storage System for Stream Media of the present invention's design is on adopt multiple storage server to be divided into for files in stream media basis that multiple file stores respectively, sets up the reading speed that caching server effectively can improve terminal equipment streaming media files;
(2) in the Storage System for Stream Media that the present invention designs, for caching server and each storage server, counting module corresponding is with it set respectively, conveniently can counts the accessed number of times of each files in stream media, can upgrade the files in stream media stored targetedly in the future.
Corresponding therewith, the present invention is in order to solve the problems of the technologies described above by the following technical solutions: the present invention have also been devised a kind of storage means of Storage System for Stream Media, comprises the steps:
The files in stream media stored needed for each is divided at least two sub-files in stream media by step 1. central server respectively, be stored at random respectively in each storage server, and set up the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server;
Step 2. central server is according to the corresponding mapping relations of its subflow media file storage information of each files in stream media and the Streaming Media request instruction of terminal equipment, call the storage information of specifying files in stream media its subflow media file corresponding, feed back to terminal equipment, terminal equipment is again according to the storage information obtained, each storage server of specifying in storage information sends Streaming Media request instruction, then is sent to terminal equipment by each storage server of specifying by specifying each subflow media file of files in stream media;
In described step 1, central server each files in stream media is split respectively after each subflow media file, be stored in caching server and each storage server respectively at random;
In described step 2, terminal equipment is according to the storage information obtained by central server, the caching server of specifying in storage information and each storage server send Streaming Media request instruction, then are sent to terminal equipment by the caching server of specifying and each storage server by specifying the subflow media file of files in stream media.
As a preferred technical solution of the present invention: described step 1 comprises the steps:
The files in stream media stored needed for each is divided at least two sub-files in stream media by step a. central server respectively;
Step b. central server will correspond respectively to each first paragraph subflow media file storage of the files in stream media stored needed for each in caching server, and all the other each subflow media files are stored in each storage server respectively at random;
Step c central server, according to the storage for each subflow media file, is set up the mapping relations of each files in stream media its subflow media file storage information corresponding, is stored in central server.
As a preferred technical solution of the present invention: also comprise the steps I after described step 1, step I and step 2 are carried out, and step I is as follows simultaneously:
Described caching server and the counting module in each storage server, respectively the call number of its inside subflow media file is counted, and at the appointed time count results is sent to described central server by interval, central server to be called the statistics of number of times and popular Streaming Media call number threshold values, the unexpected winner Streaming Media call number threshold values of in advance setting according to each subflow media file, determines popular files in stream media and unexpected winner files in stream media.
As a preferred technical solution of the present invention: in described step I, also comprise the steps: for described popular files in stream media
Described central server is stored in each subflow media file on each storage server for popular files in stream media, at least one cross-talk files in stream media of random selecting, be copied in caching server, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server; Meanwhile, by popular files in stream media monolithic backup to caching server.
As a preferred technical solution of the present invention: in described step I, also comprise the steps: for described unexpected winner files in stream media
Described central server carries out analyzing judgement for the subflow media file that unexpected winner files in stream media is stored on caching server: there is other subflow media file except first paragraph subflow media file if judge, then other subflow media file of random selecting at least one section, it is deleted from caching server, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server;
Other subflow media file do not existed except first paragraph subflow media file if judge, then this first paragraph subflow media file is trimmed in a storage server of Stochastic choice, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server.
As a preferred technical solution of the present invention: also comprise step I, step I is carried out before step 1 or is carried out with step 1, step 2 simultaneously, and step I is as follows:
Each storage server described at the appointed time detects its concurrent access situations and memory capacity situation in interval respectively, and testing result is uploaded to described central server, central server is according to the testing result received, each storage server is divided into respectively effective storage server or non-effective storage server, then according to division result, files in stream media to be stored is stored.
As a preferred technical solution of the present invention: if certain server in each storage server described does not upload the testing result of its concurrent access situations and memory capacity situation within the indication time interval to central server, then central server is divided into failed storage server, and for failed storage server triggers fault-tolerant scheduling strategy, simultaneously, upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server.
As a preferred technical solution of the present invention: described fault-tolerant scheduling strategy comprises the steps:
Whether described central server is searched in described caching server exists the backup stream media file corresponding with described failed server neutron current media file, if exist, then backup stream media file is copied in an effective storage server of random selecting, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server.
The storage means of a kind of Storage System for Stream Media of the present invention adopts above technical scheme compared with prior art, has following technique effect:
(1) storage means of the Storage System for Stream Media of the present invention's design, each subflow media file after each files in stream media is split respectively, be stored in caching server and each storage server respectively at random, effectively can improve the access speed of files in stream media by setting up caching server, improving the network transmission efficiency of files in stream media;
(2) storage means of the Storage System for Stream Media of the present invention's design, in each subflow media file after the segmentation of each files in stream media, by the first paragraph subflow media file storage corresponding with each files in stream media in caching server, the access speed of first paragraph subflow media file can be improved targetedly, and then improve the access speed of terminal equipment for the whole access process of files in stream media;
(3) the present invention design Storage System for Stream Media storage means in, for the files in stream media stored, by the counting to its accessed number of times, be divided into popular files in stream media and unexpected winner files in stream media, respectively corresponding storage update is carried out to popular files in stream media and unexpected winner files in stream media again, the index of content aspect can not only be provided for terminal access, and the storage of streaming media files can make rational planning, improve the overall access efficiency of stored stream media file;
(4) storage means of the Storage System for Stream Media of the present invention's design, for in the storing process of files in stream media, at the appointed time in interval, detect concurrent access situations and the memory capacity situation of each storage server, each storage server is divided into respectively effective storage server or non-effective storage server, effectively can improves the storage efficiency of files in stream media and the access speed of terminal equipment streaming media files;
(5) the present invention design Storage System for Stream Media storage means in, for failed storage server, central server have employed fault-tolerant scheduling strategy, at utmost can ensure the access of terminal equipment streaming media files.
Accompanying drawing explanation
Fig. 1 is the structural representation of the Storage System for Stream Media that the present invention designs.
Embodiment
Below in conjunction with Figure of description, the specific embodiment of the present invention is described in further detail.
As shown in Figure 1, the present invention devises a kind of Storage System for Stream Media, comprises terminal equipment, central server and at least two storage servers, each required files in stream media stored is divided at least two sub-files in stream media through central server respectively, is stored in each storage server respectively, terminal equipment sends Streaming Media request instruction to central server, central server is according to the mapping relations of each files in stream media its subflow media file storage information corresponding, and the Streaming Media request instruction of terminal equipment, call the storage information of specifying files in stream media its subflow media file corresponding, feed back to terminal equipment, terminal equipment is again according to the storage information obtained, each storage server of specifying in storage information sends Streaming Media request instruction, terminal equipment is sent to by specifying each subflow media file of files in stream media again by each storage server of specifying, also comprise with each storage server in the lump for storing the caching server of each subflow media file respectively, terminal equipment is according to the storage information obtained by central server, the caching server of specifying in storage information and each storage server send Streaming Media request instruction, then are sent to terminal equipment by the caching server of specifying and each storage server by specifying the subflow media file of files in stream media.
The Storage System for Stream Media of the present invention's design, on adopt multiple storage server to be divided into for files in stream media basis that multiple file stores respectively, sets up the reading speed that caching server effectively can improve terminal equipment streaming media files.
As a preferred technical solution of the present invention: described caching server and each storage server comprise individual count module corresponding with it respectively, respectively the called number of times of its inside subflow media file is counted, and at the appointed time count results is sent to described central server by interval.
In the Storage System for Stream Media of the present invention's design, for caching server and each storage server, counting module corresponding is with it set respectively, conveniently can counts the accessed number of times of each files in stream media, can upgrade the files in stream media stored targetedly in the future.
The Storage System for Stream Media of the present invention's design is in the middle of the application process of reality, files in stream media to be stored is divided at least two sub-files in stream media through central server, be stored in caching server and each storage server respectively, terminal equipment sends the request instruction of read-write Streaming Media to central server, the Streaming Media request instruction that central server receiving terminal apparatus sends, and according to the mapping relations of each files in stream media its subflow media file storage information corresponding, call the storage information of specifying files in stream media its subflow media file corresponding, feed back to terminal equipment, terminal equipment is again according to the storage information obtained, the caching server of specifying in storage information and each storage server send Streaming Media request instruction, terminal equipment is sent to by specifying the subflow media file of files in stream media again by the caching server of specifying and each storage server, and then realize the reading of terminal equipment streaming media files, while the concurrent problem in solution multiple terminals, effectively improve the access speed of terminal equipment streaming media.
Wherein, for in the segmentation storing process of files in stream media, the multiple subflow media files belonging to same files in stream media adopt random function thought, determine its storage information, and are kept at by subflow media file in caching server and each storage server as much as possible uniformly respectively; Carrying out for files in stream media splitting in the process of storage, setting up the mapping relations of each files in stream media its subflow media file storage information corresponding, and be stored in central server.Safeguarded by the mapping relations of central server to the files in stream media stored its subflow media file storage information corresponding like this, and make terminal equipment directly carry out communication with caching server and each storage server according to the storage information obtained, read appointment files in stream media.
Corresponding therewith, the present invention is in order to solve the problems of the technologies described above by the following technical solutions: the present invention have also been devised a kind of storage means of Storage System for Stream Media, comprises the steps:
The files in stream media stored needed for each is divided at least two sub-files in stream media by step 1. central server respectively, be stored at random respectively in each storage server, and set up the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server;
Step 2. central server is according to the corresponding mapping relations of its subflow media file storage information of each files in stream media and the Streaming Media request instruction of terminal equipment, call the storage information of specifying files in stream media its subflow media file corresponding, feed back to terminal equipment, terminal equipment is again according to the storage information obtained, each storage server of specifying in storage information sends Streaming Media request instruction, then is sent to terminal equipment by each storage server of specifying by specifying each subflow media file of files in stream media;
In described step 1, central server each files in stream media is split respectively after each subflow media file, be stored in caching server and each storage server respectively at random;
In described step 2, terminal equipment is according to the storage information obtained by central server, the caching server of specifying in storage information and each storage server send Streaming Media request instruction, then are sent to terminal equipment by the caching server of specifying and each storage server by specifying the subflow media file of files in stream media.
The storage means of the Storage System for Stream Media of the present invention's design, each subflow media file after each files in stream media is split respectively, be stored in caching server and each storage server respectively at random, effectively can improve the access speed of files in stream media by setting up caching server, improving the network transmission efficiency of files in stream media.
As a preferred technical solution of the present invention: described step 1 comprises the steps:
The files in stream media stored needed for each is divided at least two sub-files in stream media by step a. central server respectively;
Step b. central server will correspond respectively to each first paragraph subflow media file storage of the files in stream media stored needed for each in caching server, and all the other each subflow media files are stored in each storage server respectively at random;
Step c central server, according to the storage for each subflow media file, is set up the mapping relations of each files in stream media its subflow media file storage information corresponding, is stored in central server.
The storage means of the Storage System for Stream Media of the present invention's design, in each subflow media file after the segmentation of each files in stream media, by the first paragraph subflow media file storage corresponding with each files in stream media in caching server, the access speed of first paragraph subflow media file can be improved targetedly, and then improve the access speed of terminal equipment for the whole access process of files in stream media.
As a preferred technical solution of the present invention: also comprise the steps I after described step 1, step I and step 2 are carried out, and step I is as follows simultaneously:
Described caching server and the counting module in each storage server, respectively the call number of its inside subflow media file is counted, and at the appointed time count results is sent to described central server by interval, central server to be called the statistics of number of times and popular Streaming Media call number threshold values, the unexpected winner Streaming Media call number threshold values of in advance setting according to each subflow media file, determines popular files in stream media and unexpected winner files in stream media.
As a preferred technical solution of the present invention: in described step I, also comprise the steps: for described popular files in stream media
Described central server is stored in each subflow media file on each storage server for popular files in stream media, at least one cross-talk files in stream media of random selecting, be copied in caching server, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server; Meanwhile, by popular files in stream media monolithic backup to caching server.
As a preferred technical solution of the present invention: in described step I, also comprise the steps: for described unexpected winner files in stream media
Described central server carries out analyzing judgement for the subflow media file that unexpected winner files in stream media is stored on caching server: there is other subflow media file except first paragraph subflow media file if judge, then other subflow media file of random selecting at least one section, to delete from caching server, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server;
Other subflow media file do not existed except first paragraph subflow media file if judge, then this first paragraph subflow media file is trimmed in a storage server of Stochastic choice, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server.
In the storage means of the Storage System for Stream Media of the present invention's design, for the files in stream media stored, by the counting to its accessed number of times, be divided into popular files in stream media and unexpected winner files in stream media, respectively corresponding storage update is carried out to popular files in stream media and unexpected winner files in stream media again, the index of content aspect can not only be provided for terminal access, and the storage of streaming media files can make rational planning, improve the overall access efficiency of stored stream media file.
As a preferred technical solution of the present invention: also comprise step I, step I is carried out before step 1 or is carried out with step 1, step 2 simultaneously, and step I is as follows:
Each storage server described at the appointed time detects its concurrent access situations and memory capacity situation in interval respectively, and testing result is uploaded to described central server, central server is according to the testing result received, each storage server is divided into respectively effective storage server or non-effective storage server, according to division result, files in stream media to be stored is stored again, wherein, cleaning operation is carried out to non-effective storage server.
The storage means of the Storage System for Stream Media of the present invention's design, for in the storing process of files in stream media, at the appointed time in interval, detect concurrent access situations and the memory capacity situation of each storage server, each storage server is divided into respectively effective storage server or non-effective storage server, effectively can improves the storage efficiency of files in stream media and the access speed of terminal equipment streaming media files.
As a preferred technical solution of the present invention: if certain server in each storage server described does not upload the testing result of its concurrent access situations and memory capacity situation within the indication time interval to central server, then central server is divided into failed storage server, and for failed storage server triggers fault-tolerant scheduling strategy, simultaneously, upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server.
In the storage means of the Storage System for Stream Media of the present invention's design, for failed storage server, central server have employed fault-tolerant scheduling strategy, at utmost can ensure the access of terminal equipment streaming media files.
As a preferred technical solution of the present invention: described fault-tolerant scheduling strategy comprises the steps:
Whether described central server is searched in described caching server exists the backup stream media file corresponding with described failed server neutron current media file, if exist, then backup stream media file is copied in an effective storage server of random selecting, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server.
The storage means of the Storage System for Stream Media of the present invention's design is in the middle of the application process of reality, carry out in storing process being divided at least two sub-files in stream media for files in stream media, it is stored in respectively in the middle of caching server and each storage server, wherein, central server will correspond respectively to each first paragraph subflow media file storage of each files in stream media in caching server, all the other each subflow media files are stored in each storage server respectively at random, afterwards, in the process of terminal equipment streaming media files access, central server is according to the accessed number of times of each files in stream media, each files in stream media is divided into popular files in stream media and unexpected winner files in stream media, and be optimized adjustment for the memory location of popular files in stream media and unexpected winner files in stream media, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server, it is concrete that to optimize and revise process as follows:
Also comprise the steps: for described popular files in stream media
Described central server is stored in each subflow media file on each storage server for popular files in stream media, at least one cross-talk files in stream media of random selecting, be copied in caching server, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server; Meanwhile, by popular files in stream media monolithic backup to caching server.
Also comprise the steps: for described unexpected winner files in stream media
Described central server carries out analyzing judgement for the subflow media file that unexpected winner files in stream media is stored on caching server: there is other subflow media file except first paragraph subflow media file if judge, then other subflow media file of random selecting at least one section, it is deleted from caching server, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server, be embodied as, the subflow media file utilizing randomized policy to choose several to belong to this unexpected winner files in stream media, concrete number dynamically should be formulated according to the subflow media file number of this unexpected winner files in stream media in current cache server, as belonged to the half (rounding up) of the subflow media file sum of this unexpected winner files in stream media in caching server, but the subflow media file that wherein reading times is maximum retains, if namely choosing the subflow media file sheared is in caching server in this unexpected winner files in stream media, the subflow media file that reading times is maximum, then re-start and choose, after completing whole shearing step, upgraded by the mapping relations of central server to each files in stream media its subflow media file storage information corresponding, and be stored in central server.
Other subflow media file do not existed except first paragraph subflow media file if judge, then this first paragraph subflow media file is trimmed in a storage server of Stochastic choice, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server.
Based on optimizing and revising of the above memory location for popular files in stream media and unexpected winner files in stream media, effectively can improve the access efficiency of terminal equipment streaming media files, effectively optimize the access speed of popular files in stream media.
In the middle of actual application, each storage server described at the appointed time detects its concurrent access situations and memory capacity situation in interval respectively, and testing result is uploaded to described central server, central server is according to the testing result received, each storage server is divided into respectively effective storage server or non-effective storage server, according to division result, files in stream media to be stored is stored again, like this when storing for files in stream media to be stored, reasonably can arrange memory location, the storage of effective raising streaming media files and access efficiency.Wherein, when certain storage server is divided into non-effective storage server, then this storage server will be cancelled the storage operation treating stored stream media file, and stop response terminal equipment also not to the data read operation that this non-effective storage server carries out simultaneously, until this storage server concurrent access situations significantly reduces, have once again simultaneously and reasonably remain memory capacity, then again this storage server is divided into effective storage server, participate in the storage operation treating stored stream media file, wherein, take from for the different method of operation of unexpected winner files in stream media in caching server, subflow media file corresponding in non-effective storage server is cleared up.This storage server trigger internal of central server order cleaning scheduling, call number based on each subflow media file is determined to clear up list, then cleaning operation is performed, stop the Streaming Media request instruction that response terminal equipment does not also carry out this storage server simultaneously, until this non-effective storage server has rational residual memory space again, the concurrent user number that this non-effective memory node accepts simultaneously significantly reduces, central server redefines it for effective storage server, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server, wherein cleaning operation comprises according to cleaning list, is deleted by subflow media file low for call number, or subflow media file low for call number is trimmed in other effective storage server of random selecting.
At the fault-tolerant scheduling strategy for failed storage server, the successful access of terminal equipment streaming media files can be ensured to greatest extent.Further, when again recovering the testing result sending its concurrent access situations and memory capacity situation in failed storage server at the appointed time interval, the division to its failed storage server cancelled by central server, wherein concrete fault-tolerant scheduling strategy is that described central server searches in described caching server whether there is the backup stream media file corresponding with described failed server neutron current media file, if exist, then backup stream media file is copied in an effective storage server of random selecting, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server.
Wherein, the memory capacity situation of each storage server comprises storage heap(ed) capacity, current storage capacity, residue memory capacity, according to concurrent access situations and the memory capacity situation of each storage server, each storage server is divided into effective storage server or non-effective storage server by central server respectively, then stores files in stream media to be stored according to division result.
In actual application, each storage server has some IDERAID hard disks under its command, and composition RAIDI storage architecture, ensures that single storage server effectively responds the concurrent services of multiple user.
Above in the storage means of Storage System for Stream Media, the mapping relations of central server to each each files in stream media upgraded its subflow media file storage information corresponding carry out dynamical save maintenance.Based on the above storage means for Storage System for Stream Media, terminal equipment is still followed as follows for the access of each files in stream media:
Terminal equipment is according to the storage information obtained by central server, the caching server of specifying in storage information and each storage server send Streaming Media request instruction, be sent to terminal equipment by the caching server of specifying and each storage server by specifying the subflow media file of files in stream media again, and then realize the reading of terminal equipment streaming media files.
In the storage means of the Storage System for Stream Media of the present invention's design, entirety cleaning, adjustment is carried out by regular each subflow media file neutralized in each storage server caching server, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server, effectively can improve storage and the application efficiency of this Storage System for Stream Media.
In sum, the invention provides a kind of Storage System for Stream Media and storage means, introduce caching server, simultaneously balanced distributed for the files in stream media caching server that is kept at in each storage server, and determine according to the concurrent access situations of each storage server and memory capacity situation the storage server participating in storing process each time.Simultaneously based on the division of popular files in stream media and unexpected winner files in stream media, and optimizing and revising for popular files in stream media and unexpected winner files in stream media memory location, improve the access rate of popular files in stream media; Moreover, utilize the backup file of popular files in stream media in caching server simultaneously, farthest protected the access of popular files in stream media by fault-tolerant scheduling strategy.
By reference to the accompanying drawings embodiments of the present invention are explained in detail above, but the present invention is not limited to above-mentioned execution mode, in the ken that those of ordinary skill in the art possess, can also makes a variety of changes under the prerequisite not departing from present inventive concept.

Claims (9)

1. a Storage System for Stream Media, comprises terminal equipment, central server and at least two storage servers, each required files in stream media stored is divided at least two sub-files in stream media through central server respectively, is stored in each storage server respectively, terminal equipment sends Streaming Media request instruction to central server, central server is according to the mapping relations of each files in stream media its subflow media file storage information corresponding, and the Streaming Media request instruction of terminal equipment, call the storage information of specifying files in stream media its subflow media file corresponding, feed back to terminal equipment, terminal equipment is again according to the storage information obtained, each storage server of specifying in storage information sends Streaming Media request instruction, terminal equipment is sent to by specifying each subflow media file of files in stream media again by each storage server of specifying, it is characterized in that: also comprise with each storage server in the lump for storing the caching server of each subflow media file respectively, terminal equipment is according to the storage information obtained by central server, the caching server of specifying in storage information and each storage server send Streaming Media request instruction, then are sent to terminal equipment by the caching server of specifying and each storage server by specifying the subflow media file of files in stream media, described caching server and each storage server comprise individual count module corresponding with it respectively, respectively the called number of times of its inside subflow media file is counted, and at the appointed time count results is sent to described central server by interval, central server to be called the statistics of number of times and popular Streaming Media call number threshold value, the unexpected winner Streaming Media call number threshold value of in advance setting according to each subflow media file, determines popular files in stream media and unexpected winner files in stream media.
2., based on a storage means for a kind of Storage System for Stream Media according to claim 1, comprise the steps:
The files in stream media stored needed for each is divided at least two sub-files in stream media by step 1. central server respectively, be stored at random respectively in each storage server, and set up the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server;
Step 2. central server is according to the corresponding mapping relations of its subflow media file storage information of each files in stream media and the Streaming Media request instruction of terminal equipment, call the storage information of specifying files in stream media its subflow media file corresponding, feed back to terminal equipment, terminal equipment is again according to the storage information obtained, each storage server of specifying in storage information sends Streaming Media request instruction, then is sent to terminal equipment by each storage server of specifying by specifying each subflow media file of files in stream media;
It is characterized in that:
In described step 1, central server each files in stream media is split respectively after each subflow media file, be stored in caching server and each storage server respectively at random;
In described step 2, terminal equipment is according to the storage information obtained by central server, the caching server of specifying in storage information and each storage server send Streaming Media request instruction, then are sent to terminal equipment by the caching server of specifying and each storage server by specifying the subflow media file of files in stream media.
3. the storage means of a kind of Storage System for Stream Media according to claim 2, is characterized in that: described step 1 comprises the steps:
The files in stream media stored needed for each is divided at least two sub-files in stream media by step a. central server respectively;
Step b. central server will correspond respectively to each first paragraph subflow media file storage of the files in stream media stored needed for each in caching server, and all the other each subflow media files are stored in each storage server respectively at random;
Step c central server, according to the storage for each subflow media file, is set up the mapping relations of each files in stream media its subflow media file storage information corresponding, is stored in central server.
4. the storage means of a kind of Storage System for Stream Media according to claim 3, is characterized in that: also comprise the steps I after described step 1, step I and step 2 are carried out simultaneously, and step I is as follows:
Described caching server and the counting module in each storage server, respectively the call number of its inside subflow media file is counted, and at the appointed time count results is sent to described central server by interval, central server to be called the statistics of number of times and popular Streaming Media call number threshold value, the unexpected winner Streaming Media call number threshold value of in advance setting according to each subflow media file, determines popular files in stream media and unexpected winner files in stream media.
5. the storage means of a kind of Storage System for Stream Media according to claim 4, is characterized in that: in described step I, also comprises the steps: for described popular files in stream media
Described central server is stored in each subflow media file on each storage server for popular files in stream media, at least one cross-talk files in stream media of random selecting, be copied in caching server, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server; Meanwhile, by popular files in stream media monolithic backup to caching server.
6. a kind of storage means of Storage System for Stream Media according to claim 4 or 5, is characterized in that: in described step I, also comprises the steps: for described unexpected winner files in stream media
Described central server carries out analyzing judgement for the subflow media file that unexpected winner files in stream media is stored on caching server: there is other subflow media file except first paragraph subflow media file if judge, then other subflow media file of random selecting at least one section, it is deleted from caching server, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server;
Other subflow media file do not existed except first paragraph subflow media file if judge, then this first paragraph subflow media file is trimmed in a storage server of Stochastic choice, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server.
7. a kind of storage means of Storage System for Stream Media according to Claims 2 or 3, it is characterized in that: also comprise step I, step I is carried out before step 1 or is carried out with step 1, step 2 simultaneously, and step I is as follows:
Each storage server described at the appointed time detects its concurrent access situations and memory capacity situation in interval respectively, and testing result is uploaded to described central server, central server is according to the testing result received, each storage server is divided into respectively effective storage server or non-effective storage server, then according to division result, files in stream media to be stored is stored.
8. the storage means of a kind of Storage System for Stream Media according to claim 7, it is characterized in that: if certain server in each storage server described does not upload the testing result of its concurrent access situations and memory capacity situation within the indication time interval to central server, then central server is divided into failed storage server, and for failed storage server triggers fault-tolerant scheduling strategy, simultaneously, upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server.
9. the storage means of a kind of Storage System for Stream Media according to claim 8, is characterized in that: described fault-tolerant scheduling strategy comprises the steps:
Whether described central server is searched in described caching server exists the backup stream media file corresponding with described failed server neutron current media file, if exist, then backup stream media file is copied in an effective storage server of random selecting, and upgrade the mapping relations of each files in stream media its subflow media file storage information corresponding, be stored in central server.
CN201310134471.7A 2013-04-18 2013-04-18 A kind of Storage System for Stream Media and storage means Expired - Fee Related CN103200272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310134471.7A CN103200272B (en) 2013-04-18 2013-04-18 A kind of Storage System for Stream Media and storage means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310134471.7A CN103200272B (en) 2013-04-18 2013-04-18 A kind of Storage System for Stream Media and storage means

Publications (2)

Publication Number Publication Date
CN103200272A CN103200272A (en) 2013-07-10
CN103200272B true CN103200272B (en) 2016-01-20

Family

ID=48722627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310134471.7A Expired - Fee Related CN103200272B (en) 2013-04-18 2013-04-18 A kind of Storage System for Stream Media and storage means

Country Status (1)

Country Link
CN (1) CN103200272B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6420850B2 (en) * 2014-05-06 2018-11-07 ティヴォ ソリューションズ インコーポレイテッド Cloud-based media content management
CN105450542B (en) * 2014-08-21 2019-08-27 联想(北京)有限公司 A kind of data processing method and the first electronic equipment
CN107249135B (en) * 2016-05-31 2019-01-25 杭州海康威视数字技术股份有限公司 Video data storage systems and its operating method and index server
CN106454959B (en) * 2016-11-01 2019-12-06 佛山科学技术学院 Service quality control method of distributed network and server
CN106533937B (en) * 2016-11-01 2019-08-30 佛山科学技术学院 A kind of distributed message forwarding method of multipath and base station
CN106572030B (en) * 2016-11-01 2019-12-06 佛山科学技术学院 multipath transmission control method and system in distributed network
CN106528349B (en) * 2016-12-06 2019-03-12 郑州云海信息技术有限公司 A kind of date storage method and device
CN108419119B (en) * 2018-02-09 2020-10-30 北京小米移动软件有限公司 Cache data clearing method and device
CN110191143B (en) * 2018-12-13 2022-09-30 浙江宇视科技有限公司 Resource publishing method, device and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141627A (en) * 2007-10-23 2008-03-12 深圳市迅雷网络技术有限公司 Storage system and method of stream media file

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1297438A1 (en) * 2000-04-28 2003-04-02 Live365, Inc. System and method for reducing the resources required to deliver streaming media

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141627A (en) * 2007-10-23 2008-03-12 深圳市迅雷网络技术有限公司 Storage system and method of stream media file

Also Published As

Publication number Publication date
CN103200272A (en) 2013-07-10

Similar Documents

Publication Publication Date Title
CN103200272B (en) A kind of Storage System for Stream Media and storage means
CN110069714B (en) Video recommendation system
CN104967861B (en) Video caching system and method in CDN network
CN111159436B (en) Method, device and computing equipment for recommending multimedia content
US7860993B2 (en) Streaming media content delivery system and method for delivering streaming content
US20220294821A1 (en) Risk control method, computer device, and readable storage medium
CN104704773B (en) Cloud storage method and system
WO2021120792A1 (en) Video playback method and apparatus, electronic device, and storage medium
CN103955405B (en) A kind of application management method and its device
CN102439578A (en) Dynamic variable rate media delivery system
CN101635734A (en) Method and device for storing and managing downloaded data on non-volatile storage medium
CN103870393B (en) cache management method and system
US9535793B2 (en) Method and system for data migration
CN107179878A (en) The method and apparatus of data storage based on optimizing application
CN101277211A (en) Method and apparatus for buffering data
US10638174B2 (en) Synchronized video control system for sexual stimulation devices
CN107153643A (en) Tables of data connection method and device
CN108228390A (en) Data return shelves method and device
CN105893429A (en) Method and system for optimizing WEB cache
WO2018140840A1 (en) Management of cloud-based shared content using predictive cost modeling
CN104008116B (en) A kind of file synchronisation method and electronic equipment
CN109821235A (en) Game recording method, apparatus and server
CN113949935A (en) Video processing method, video processing device, electronic equipment, video processing medium and video processing product
CN109729130A (en) Information analysis method, service server, storage medium and device
CN106899558A (en) The treating method and apparatus of access request

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160120