CN102137163B - A kind of method of multimedia file shared system and shared multimedia file thereof - Google Patents

A kind of method of multimedia file shared system and shared multimedia file thereof Download PDF

Info

Publication number
CN102137163B
CN102137163B CN201110069339.3A CN201110069339A CN102137163B CN 102137163 B CN102137163 B CN 102137163B CN 201110069339 A CN201110069339 A CN 201110069339A CN 102137163 B CN102137163 B CN 102137163B
Authority
CN
China
Prior art keywords
multimedia file
use terminal
server
terminal
concordance list
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
CN201110069339.3A
Other languages
Chinese (zh)
Other versions
CN102137163A (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.)
TCL Corp
Original Assignee
TCL Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Corp filed Critical TCL Corp
Priority to CN201110069339.3A priority Critical patent/CN102137163B/en
Publication of CN102137163A publication Critical patent/CN102137163A/en
Application granted granted Critical
Publication of CN102137163B publication Critical patent/CN102137163B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to technology of sharing field, disclose a kind of method of multimedia file shared system and shared multimedia file thereof: use terminal to set up dedicated memory; The concordance list of multimedia file is uploaded onto the server; Server reception hint table instruction use terminal blocks of files to be sent to the use terminal of association; Use terminal downloads multimedia file.Wherein, server controls uses terminal to be published in multiple different use terminal in the mode being similar to virus propagation in advance by multimedia blocks of files, and the concordance list that this multimedia file of server Real-Time Monitoring is corresponding, controls the degree that multimedia file block is issued.User can complete the upload and download of multimedia file within the quite short time, thus carry out with the people of the social circle of user like a cork media share, provide users with the convenient; Reduce configuration and the maintenance cost of server simultaneously, improve the utilance of Internet resources.

Description

A kind of method of multimedia file shared system and shared multimedia file thereof
Technical field
The present invention relates to technology of sharing field, in particular a kind of method of multimedia file shared system and shared multimedia file thereof.
Background technology
Multimedia audio-visual amusement is play, it is a main function of consumer electronics product, for a long time, the audio-video playing function of consumer electronics product is confined in traditional playing function always, even if in today of the Internet prosperity, the application of the also mainly Online Video broadcasting and so on realized, this electronic product of media player/all-in-one combining the Internet is in technology always and regenerates the stage relatively fallen behind.
The essence of the Internet is open and shares, and the video sharing of prior art, its way is: operator arranges a huge server space, after the video of oneself is uploaded by user A, notify user B, user B downloads this video from same place again, this way is slowly failed to obtain popular, chief reason is: multimedia file is usually very huge, very macroreticular resource need be taken, one uploads one downloads very holding time, and the configuration of server simultaneously also needs very high, and needs very large space; The epoch having arrived high definition are all the more so, and current network condition is still not enough to the transmission supporting HD video, if intactly a video will be uploaded or be downloaded, needs the expensive time, causes inconvenience to user.
At present also have domestic also popular a kind of BitTorrent(bit stream, be called for short BT) P2P method for down loading, user also takes on the role of uploader while download, each user when download file also by the file-sharing of having downloaded out.Under this downloading mode, people more multiple speed is faster.But in the incipient stage of whole P2P downloading process, because download user is few, sharable inadequate resource, the speed therefore downloaded is still slow.Such as, first user downloaded can only from server or uploader downloading object file, even if mutually share for several leading user, but due to available loading source few, therefore to download and unhappy.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, a kind of method of multimedia file shared system and shared multimedia file thereof is provided, provide a kind of multimedia sharing method of novel Virtual network, user can complete the upload and download of multimedia file within the quite short time, thus carry out with the people of the social circle of user like a cork media share, provide users with the convenient; Reduce configuration and the maintenance cost of server simultaneously, improve the utilance of Internet resources.
The technical scheme that technical solution problem of the present invention adopts is as follows:
Multimedia file shared system shares a method for multimedia file, wherein, comprises step:
A, by use terminal receive user input operational order set up buddy list;
B, using dedicated memory terminal set up and is used for storing multimedia data; And piecemeal is carried out to the multimedia file that need upload become multiple multimedia file block, and create for the concordance list after this multimedia file piecemeal, and the concordance list of this multimedia file is uploaded onto the server;
C, server receive the concordance list of this multimedia file, and control to use terminal to be published to by multimedia file block in the multiple different use terminal on its buddy list in advance, and often complete the transmission of a multimedia file block, server Real-Time Monitoring upgrades the index on concordance list corresponding to this multimedia file block; When the scope of release monitoring multimedia file block reaches set point, control to use terminal to stop the issue of blocks of files;
The instruction of the download multimedia file of D, use terminal receiving target user input, downloads this multimedia file according to the concordance list of this multimedia file that need download.
Described multimedia file shared system shares the method for multimedia file, and wherein, described steps A specifically comprises:
A1, the user login information using terminal to be inputted by user interface reception user, and send this user login information to server;
A2, when described user login information obtains after server authentication passes through, the interface menu of the interpolation good friend using terminal to be provided by it obtains friend information from described server, and is loaded in local buddy list by the friend information of acquisition.
Described multimedia file shared system shares the method for multimedia file, it is characterized in that, piecemeal carried out to the multimedia file that need upload become multiple multimedia file block in described step B, and create for the concordance list after this multimedia file piecemeal, the concordance list of this multimedia file is uploaded onto the server and specifically comprises:
B1, use terminal carry out piecemeal to the multimedia file that this locality that need upload stores, and this multimedia file is formally divided into some multimedia file blocks, and calculates cryptographic Hash corresponding to each multimedia file block;
B2, the cryptographic Hash corresponding according to each multimedia file block calculated, create the concordance list of corresponding multimedia file, the index information content of concordance list comprises the cryptographic Hash of each multimedia file block of this multimedia file, and the IP address of use terminal residing for this multimedia file, and the memory location of this multimedia file block in this use terminal;
The concordance list of the multimedia file of establishment uploads onto the server by B3, use terminal.
Described multimedia file shared system shares the method for multimedia file, and wherein, described step C specifically comprises step:
C1, server receive the concordance list of storing multimedia, and from store this multimedia file use terminal buddy list the friend information of inquiring user, and locate the use terminal of each good friend, and send multimedia file block issuing command to the use terminal storing this multimedia file;
C2, store the multimedia file block issuing command of the use terminal reception server of this multimedia file, and according to the instruction of server several times, the use terminal of each initiatively online with part good friend is set up network and is connected;
C3, use terminal are selected several multimedia file blocks according to the concordance list of described multimedia file at every turn, and the data of the multimedia file block selected are sent to the use terminal establishing the good friend that network connects.
Described multimedia file shared system shares the method for multimedia file, and wherein, described step C3 also comprises: if the good friend of the other side uses terminal to return the information of the insufficient space of its dedicated memory, then stop using terminal to transmit blocks of files to this good friend.
Described multimedia file shared system shares the method for multimedia file, and wherein, described step C3 also comprises: the transmission often completing a multimedia file block, and server Real-Time Monitoring upgrades the index on concordance list corresponding to this multimedia file block.
Described multimedia file shared system shares the method for multimedia file, wherein, also comprises step after described step C3:
C4, server, by the concordance list upgraded, monitor same multimedia file block and are distributed in new use terminal, after wait one scheduled time, send multimedia file block issuing command, and return step C2 to described use terminal newly;
C5, when monitoring server reaches set point to the scope of release of multimedia file block, stop the issue of blocks of files.
Described multimedia file shared system shares the method for multimedia file, and wherein, described step D specifically comprises:
D1, when using terminal to receive the instruction of certain multimedia file of download of targeted customer's input, download concordance list corresponding to this multimedia file from server;
D2, use terminal, according to the information of the index file of concordance list, obtain the blocks of files of this multimedia file one by one;
D3, when certain blocks of files is present in multiple use terminal, to be connected with the plurality of use terminal simultaneously, to send request of data, download this multimedia file data from multiple source simultaneously.
A kind of multimedia file shared system, comprise server and some use terminals, wherein, described server comprises user management module, index management module and propagation management module;
Described user management module, for the maintenance of responsible buddy list, stores information after the new good friend using terminal to add, and for providing query interface to use terminal inquiry buddy list info;
Described index management module, for managing the concordance list of multimedia file, often completes the transmission of a multimedia file block, the index information on the concordance list that this multimedia file block of real-time update is corresponding; Described index information comprises: the cryptographic Hash of multimedia file block, the IP using terminal and multimedia file block are using the memory location in terminal;
Described propagation management module, for when using terminal to need upload multimedia file, receives the concordance list of the multimedia file that user uploads, and controls to use terminal to be published in the use terminal of good friend in advance by multimedia file block several times; And during for reaching set point when the scope of release monitoring multimedia file block, stop the issue of blocks of files;
Described use terminal comprises transmission module, blocks of files download module and reserved area administration module in friend information administration module, piecemeal module, blocks of files;
Described friend information administration module, the operation for receiving user carry out user's registration and good friend inquiry, add, delete management;
Described piecemeal module, for carrying out piecemeal to the multimedia file that need upload, this multimedia file is formally divided into several multimedia file blocks, and calculate cryptographic Hash corresponding to each multimedia file block, and create for the concordance list after this multimedia file piecemeal, and this concordance list is uploaded onto the server;
Transmission module in described blocks of files, for the multimedia file block issuing command of reception server, sends to the use terminal of the good friend selected by server end by the multimedia file block of correspondence;
Described blocks of files download module, for receiving the blocks of files of download instruction downloading multimedia file, and by the blocks of files of download stored in dedicated memory;
Described reserved area administration module, for setting up the dedicated memory of storing multimedia data and managing this dedicated memory.
Described multimedia file shared system, wherein, described propagation management module comprises further:
Receiving element, for receiving the concordance list of storing multimedia;
Positioning unit, for the friend information of inquiring user in the buddy list from use terminal, locates the use terminal of each good friend;
Instruction sending unit, for sending multimedia file block issuing command to the use terminal of each good friend;
Control unit, for the use terminal of this multimedia file of control store, according to the multimedia file block issuing command of server, initiatively sets up network with the use terminal of online good friend and is connected; And select some multimedia file blocks according to the concordance list of multimedia file, and the data of the multimedia file block selected are sent to the use terminal establishing the good friend that network connects at every turn.
The method of multimedia file shared system provided by the present invention and shared multimedia file thereof, terminal is used to be published in multiple different use terminal in the mode being similar to virus propagation in advance by multimedia blocks of files owing to have employed server controls, and the concordance list that this multimedia file of server Real-Time Monitoring is corresponding, controls the degree that multimedia file block is issued.When the distribution monitoring blocks of files reaches set point, control to use terminal to stop the issue of blocks of files, now each blocks of files has been arranged in certain limit in advance, and subsequent user can complete the download of multimedia file at short notice.Make user operate use terminal time, be no longer only traditional play operation, but also by using terminal and friend, what household carried out video shares operation.By the multimedia sharing method of a kind of novel Virtual network of the present invention, user can complete the upload and download of multimedia file within the quite short time, thus carry out media with the people of the social circle of user like a cork and share, use terminal adds the New function that the Internet social activity is shared.
In addition, reduce configuration and the maintenance cost of server, operator needs the server resource safeguarded can not be a lot, because the buddy list of server mainly maintenance customer, and index file; The dedicated memory come is marked specially by directly using that block in the use terminal of subscriber equipment, the cloud memory device that virtual composition one is huge, and customer volume is larger, and overall service quality will be higher, improve the utilance of Internet resources, provide users with the convenient.
Accompanying drawing explanation
Fig. 1 is the multimedia file shared system catenation principle figure of the invention process row.
Fig. 2 is the use terminal inner theory diagram of the embodiment of the present invention.
Fig. 3 is the method flow diagram that the multimedia file shared system of the embodiment of the present invention shares multimedia file.
Fig. 4 is the propagation management inside modules block diagram of the server of embodiment of the present invention multimedia file shared system.
Embodiment
The method of a kind of multimedia file shared system provided by the present invention and shared multimedia file thereof, for making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
A kind of multimedia file shared system that the embodiment of the present invention provides, as shown in Figure 1, comprise server and some use terminals (use terminal A as shown in Figure 1, use terminal B, use terminal C ...), wherein, described server comprises user management module, index management module and propagation management module, also arranges in addition and is used for the buddy list of storing subscriber information and the index file for storing multimedia.Described use terminal can be the smart machines such as personal computer, palmtop PC, mobile phone, also can be the electronic equipment for consumption that is main purpose with audio-visual amusement, such as player, game machine and all-in-one etc., use at each dedicated memory terminal set up and has for storing multimedia.
Described user management module, is used for the maintenance being responsible for buddy list on the one hand, and is stored by the new friend information using terminal to add, and being used on the other hand provides query interface to use terminal inquiry buddy list info; For example, after user with the addition of new good friend by UI interface, friend information stores by this user management module, when other software modules need inquiry buddy list info, also be the api interface being provided inquiry by this module, the friend information of user is directly maintained in server end but not client.
Described index management module, be used on the one hand managing the concordance list of multimedia file, often complete the transmission of a multimedia file block, Real-Time Monitoring upgrades the index information on concordance list corresponding to this multimedia file block; The renewal of the index information of concordance list comprises: to the cryptographic Hash of multimedia file block, the IP using terminal and multimedia file block in the renewal using the concrete memory location in terminal.
Wherein, index management module is nucleus module, and in the present invention, the corresponding independent concordance list of each multimedia file is stored in the index file of server, and index management module is exactly the module of the concordance list in index file being carried out to operational administrative.
Complete after a complete multimedia file block downloads whenever using terminal, use terminal will send an index upgrade message to index management module, index upgrade message will comprise following critical field content: (binary value of random length is mapped as the less binary value of regular length to the cryptographic Hash of multimedia file block by hash algorithm, this little binary value is called cryptographic Hash), use the IP of terminal, multimedia file block is using the concrete memory location in terminal.
Index management module is after receiving message, upgrade the index file that this multimedia video frequency file is corresponding, in this way, after multimedia file BOB(beginning of block) spreads through the internet and comes, often using in terminal at one downloads successfully, will increase by is corresponding in indexed file record, by this way, the blocks of files distribution of the overall situation on index file real-time servicing the Internet, this is also the data basis that propagation management module does decision-making judgement.
Described propagation management module is used for when using terminal to need upload multimedia file on the one hand, receive the concordance list of the multimedia file that user uploads, and control to use terminal to be published to by multimedia file block in the multiple different use terminal on its buddy list several times in advance in the mode being similar to virus propagation; Be used for when the scope of release monitoring multimedia file block reaches set point on the other hand, control to use terminal to stop the issue of blocks of files.
The propagation management module of embodiment of the present invention server is the decision-making module in whole scheme, mainly bears two pieces work: the propagation of scheduling multimedia file block, and controls the excessive propagation of multimedia file block at suitable time point.
For example, first propagation management module by user management module, inquires the friend information of user, locates the use terminal of these good friends, send instructions to the issue needing the use terminal of upload multimedia file to carry out file subsequently from buddy list; After user uses terminal to receive instruction, first set up network with the online use terminal enlivening good friend to be connected, some multimedia file blocks are selected subsequently the random multimedia file concordance list from establishing before, the data of the multimedia file block these selected send to equally by the use terminal of random choose good friend out, these all operations are all carry out on backstage, because the data volume of blocks of files itself is also little, so whole transfer of data can not have an impact to other operations of user.
When multimedia file block is propagated complete, after index is updated, propagation management module in server is by the index information of concordance list in search index file, can be appreciated that now same multimedia file block has been distributed on different equipment, propagation management module can after a period of time, (object done like this alleviates facility load, avoid data transfer operation too frequently), use terminal to new good friend sends multimedia file block issuing command, the buddy list of the use terminal searching oneself of this new good friend, again repeat aforesaid operating process.
An other critical function of propagation management module controls to propagate, when the use terminal having the blocks of files of this multimedia file in propagation management module monitors to the concordance list at certain multimedia file reaches a predetermined quantity (such as 500 or 1000), stop the propagation of this multimedia file, namely no longer to using terminal to send the instruction of issuing this multimedia file associated documents block.As a rule, when simultaneously online and the use terminal having a blocks of files of multimedia file reaches 500-1000 time be just enough to provide good upload and download service.
Particularly, the propagation parameter that propagation management module installation one is propagated for stopping multimedia file, stops the propagation of this multimedia file when the use terminal of the blocks of files having certain multimedia file reaches the quantity of propagation parameter setting.Because the scale of number of users exists larger impact to the propagation of multimedia file, difference between a use terminal network only having the use terminal network of about 10,000 users and to have about 1,000,000 users is very large, therefore, this propagation parameter dynamically can adjust according to network size, when network size is larger, this propagation parameter can respective settings obtain larger, so that it is faster to make Spreading and diffusion obtain.
As shown in Figure 2, described use terminal comprises transmission module and blocks of files download module in friend information administration module, piecemeal module, reserved area administration module, blocks of files.
Wherein, described friend information administration module for the operation receiving user carry out user's registration and good friend inquiry, add, delete management; For example carry out user's registration and good friend's inquiry, interpolation, deletion etc. by friend information administration module.
Piecemeal module is used for carrying out piecemeal to the multimedia file that need upload by the partitioned mode of fixed size, this multimedia file is formally divided into the multimedia file block that some sizes are identical, and calculate cryptographic Hash corresponding to each multimedia file block, and create for the concordance list after this multimedia file piecemeal, and this concordance list is uploaded onto the server; For example for the scene of upload file, piecemeal module is once cut (not needing actual cutting whole into sections) by the partitioned mode of fixed size by the file uploaded, and corresponding cryptographic Hash is calculated to each blocks of files, then construct an initial concordance list, and this concordance list is uploaded to the index management module of server.In another embodiment, piecemeal module can also adopt pro rata partitioned mode or carry out piecemeal according to the partitioned mode of other related algorithms to the multimedia file that need upload.
Reserved area administration module for setting up the dedicated memory of storing multimedia data and managing this dedicated memory, as depicted in figs. 1 and 2.For example, by reserved area administration module set up special storage area and dedicated memory, and this dedicated memory is managed, such as, detect the size of reserved area remaining space, deleted file block and merge file block etc.
In blocks of files, transmission module is used for the multimedia file block issuing command of reception server, the multimedia file block of correspondence is sent to the use terminal of multiple good friend selected by server end; By transmission module in blocks of files, some multimedia file blocks are sent in the use terminal of multiple good friend selected by server end.
Blocks of files download module for receiving the blocks of files of download instruction downloading multimedia file, and by download blocks of files stored in dedicated memory;
For example, for the scene of automatic download file block, after receiving the download instruction from propagation management module, download corresponding multimedia file block by blocks of files download module, and by it stored in the dedicated memory of marking specially;
For another example, for the scene by using the whole multimedia file of terminal downloads, after reception user downloads the instruction of multimedia video frequency file, then pass through multimedia file block download module with the All Files block of the mode downloading video files of P2P, and be combined into a multimedia video frequency file.
Based on the multimedia file shared system of above-described embodiment, the embodiment of the present invention additionally provides a kind of method that multimedia file shared system shares multimedia file, and as shown in Figure 3, described method mainly comprises the following steps:
Step S100, by use terminal receive user input operational order set up buddy list.
Wherein, this step S100 specifically comprises when implementing: A1, the user login information using terminal to be inputted by user interface reception user, and sends this user login information to server; A2, when described user login information obtains after server authentication passes through, the interface menu of the interpolation good friend using terminal to be provided by it obtains friend information from described server, and is loaded in local buddy list by the friend information of acquisition.
For example, first user when first time uses use terminal of the present invention, the title being inputted oneself by a simple user interface (UI) is registered, and the log-on message of user can upload in the carrier server of network and verify by this interface program.
Can normally log in after being verified, by a special query interface, can inquire about the information of its good friend from this server after user logs in, and join in local buddy list, buddy list directly passes through name identification.What good friend showed user is title, and what be associated with this title is the IP address of user, and just this IP address is sightless for user, is the ID of unique identification user for software.
Step S200, using dedicated memory terminal set up and is used for storing multimedia data; And piecemeal is carried out to the multimedia file that need upload become multiple multimedia file block, and create for the concordance list after this multimedia file piecemeal, and the concordance list of this multimedia file is uploaded onto the server.
For example, in embodiments of the present invention, the use terminal of user constantly can be added new friend information and be entered in this buddy list, when each start or shutdown, use terminal in real time to the up-to-date upper down status of server update self, the last state of every good friend in buddy list can be inquired about simultaneously.
Current use terminal is substantially all built-in memory devices such as hard disk, need hard disk to mark one piece of special dedicated memory, be used for storing the data such as multimedia used, this dedicated memory is the bigger the better in theory.
When simultaneously online use terminal quantity is enough large, these are by the use terminal-specific memory block dividing out specially, have just been made into a huge virtual hard disk space, if Fig. 1 is as the virtual memory space shown by group of networks.
Wherein, piecemeal carried out to the multimedia file that need upload become multiple multimedia file block in this step S200, and create for the concordance list after this multimedia file piecemeal, the concordance list of this multimedia file is uploaded onto the server and comprises the following steps in the specific implementation:
B1, use terminal carry out piecemeal to the multimedia file that this locality that need upload stores by the partitioned mode of fixed size, this multimedia file is formally divided into the multimedia file block that some sizes are identical, and calculates cryptographic Hash corresponding to each multimedia file block;
B2, the cryptographic Hash corresponding according to each multimedia file block calculated, create the concordance list of corresponding multimedia file, the index information content of concordance list comprises the cryptographic Hash of each multimedia file block of this multimedia file, and the IP address of use terminal residing for this multimedia file, and the memory location of this multimedia file block in this use terminal;
The concordance list of the multimedia file of establishment uploads onto the server by B3, use terminal.
Such as when user needs to carry out uploading of multimedia file (as video file), the embodiment of the present invention has been no longer uploaded by whole video file in fact, but first utilize piecemeal module once to cut (not needing actual cutting whole into sections) by the partitioned mode of fixed size local video file, it is divided in form the multimedia file block that some sizes are identical, and each multimedia file block is calculated to the cryptographic Hash of its correspondence, then a concordance list for this video file is constructed, the index information content of concordance list is the cryptographic Hash of each piece of this multimedia file, the IP address of the use terminal residing for this block, and the memory location of this block on this use terminal equipment.
Under initial situation, content in this concordance list, especially IP address and memory location is all be positioned at the local information used in terminal, when this concordance list is uploaded to after on server, upload procedure just ends, operation directly can return to user and control, and with this mode of operation, whole upload procedure can terminate within the very short time, because be uploaded to the concordance list of just this video file of server, instead of video file itself.Effectively can reduce configuration and the maintenance cost of server like this.
Step S300, server receive the concordance list of this multimedia file, and control this use terminal and multimedia file block is published in advance in the multiple different use terminal on its buddy list in the mode being similar to virus and propagating, and often complete the transmission of a multimedia file block, server Real-Time Monitoring upgrades the index on concordance list corresponding to this multimedia file block; When the scope of release monitoring multimedia file block reaches set point, control to use terminal to stop the issue of blocks of files;
This step S300 comprises in the specific implementation:
C1, server receive and the concordance list of storing multimedia, after server receives concordance list, the friend information of meeting inquiring user from the buddy list of the use terminal of this multimedia file of storage, and locate the use terminal of these good friends, multimedia file block issuing command is sent subsequently to the use terminal storing this multimedia file, notify that this use terminal can carry out the issue of multimedia file, enter step C2.
C2, store this multimedia file the multimedia file block issuing command of use terminal reception server after, according to the instruction of server several times, the use terminal of each initiatively online with part good friend is set up network and is connected;
C3, use terminal are selected some multimedia file blocks according to the concordance list of described multimedia file at every turn, and the data of the multimedia file block selected are sent to the use terminal establishing the good friend that network connects.
After server receives index in the present embodiment, the buddy list in terminal being used according to user, locate the use terminal of these good friends, sending instructions subsequently to storing the use terminal of this multimedia file to carry out the issue of file.
After user uses terminal to receive the instruction of server, initiatively use terminal first to set up network with online active good friend to be connected, from the File Index Table established before, select some multimedia file blocks, the data of these multimedia file blocks being sent to is that the select good friend of serviced device uses terminal equally at every turn.Particularly, the use terminal of server controls upload file divides the multimedia file block at every turn selecting 1/m for m time, is sent to the use terminal of the good friend of 1/n by transmission module in blocks of files, and this use terminal is presence.Here m and n can be such as 10, this represents that the blocks of files at every turn choosing 10% sends to the good friend of 10%, exclude blocks of files and the good friend of selected mistake when selecting, this user uses terminal by the way whole multimedia file block to be sent to gradually the use terminal of different good friend.Share agreement according to the relevant of default, these all operations are all carry out on backstage, because the data volume of the multimedia file block after piecemeal itself is also little, so whole transfer of data can not have an impact to other operations of user.When good friend is not enough, the propagation of blocks of files stops, until there is new good friend to add, now propagation can restart until stop.
By this way, the use terminal of user is under connection state, set up network with the several use terminals in buddy list to be connected simultaneously, and transmit specific multimedia file blocks of data, be just stored in after the multimedia file blocks of data received of the use terminal of good friend in advance on hard disk by that dedicated memory of marking.
Often complete the transmission of a multimedia file block, server Real-Time Monitoring upgrades the index on concordance list corresponding to this multimedia file block.Namely, after a complete multimedia file block completes transmission, corresponding concordance list on index file in update server at once, for this multimedia file block, now same cryptographic Hash is by multiple for correspondence different IP value and multiple different memory location.
After index is updated, server has been distributed to multiple different use terminal equipment on to the monitoring consciousness of concordance list to now same multimedia file block by index management module, server can after a period of time, use terminal simultaneously to new good friend sends multimedia file block issuing command, the use terminal of this new good friend can search for the buddy list of oneself, and the multimedia file block received sends in the use terminal of the good friend of the 1/n of oneself again.
In the mode in the multiple different use terminal using terminal to be published to by multimedia file block on its buddy list in advance in the mode being similar to virus and propagating by server controls of the present invention, multimedia file block can on backstage promptly with good friend, the good friend of good friend, this mode of good friend of the good friend of good friend, spread, a same multimedia file block can automatically be distributed in multiple use terminal equipment, the propagation being similar to virus-type is carried out according to buddy list, and propagate at every turn, all by concordance list corresponding for this file on renewal server.Now, if the other side returns the insufficient space of its dedicated memory, then stop transmitting blocks of files in the use terminal of this good friend.
Meanwhile, server real-time servicing and Analytical Index table in the invention process, when there being the use terminal of abundant user distributed enough blocks of files of certain multimedia file, server just can stop above-mentioned propagation.Particularly, server Real-Time Monitoring and Analytical Index table, when the blocks of files of certain video file leaves 500 use terminals in time, because this quantity has been enough to provide good download service, server no longer sends the instruction of this video file of issue to using terminal accordingly, thus stops propagating.
The instruction of the download multimedia file of step S400, use terminal receiving target user input, adopts this multimedia file of P2P mode downloading and playing according to the concordance list of this multimedia file that need download.
Wherein, this targeted customer refers to the user expecting to play or directly download certain multimedia file, it performs the operation of user by using corresponding software program interface in terminal, multimedia file herein refers to the multimedia file having had concordance list in the server, by above-mentioned software program interface, user can know which multimedia file (specifically referring to the concordance list of this multimedia file) is used terminals to upload onto the server by other and middlely to download for user.This step S400 comprises at specific embodiment:
D1, when targeted customer need play or download certain multimedia file time, download concordance list corresponding to this multimedia file from server;
D2, use terminal, according to the information of the index file of concordance list, obtain the blocks of files of this multimedia file one by one;
D3, when certain blocks of files is present in multiple use terminal, to be connected with the plurality of use terminal simultaneously, to send request of data, download this multimedia file data from multiple source simultaneously.
For example, when targeted customer will play or directly download certain video file, directly download index corresponding to this video file from server, user uses terminal according to the information of index file, carry out download to each blocks of files one by one by blocks of files download module to obtain, now, if this video file is through propagating in advance, then same file block is not only present in the use terminal of former uploader, and is present in other by the use terminal that is propagated through.When certain blocks of files is present in multiple use terminal, the use terminal of targeted customer is connected with this multiple use terminal simultaneously, send request of data, by this way, traditional once can only from the pattern of a source downloading data, and becoming once can from downloading data while of multiple source, and the speed of whole download can improve several times, no matter be download or play, whole speed can be strengthened greatly.
Based on above-described embodiment, multimedia file shared system of the present invention, as shown in Figure 4, its propagation management module specifically comprises:
Receiving element, for receiving the concordance list of storing multimedia; As detailed above.
Positioning unit, for the friend information of inquiring user in the buddy list from use terminal, locates the position etc. of the use terminal of each good friend; As detailed above.
Instruction sending unit, for sending multimedia file block issuing command to the use terminal of each good friend; As detailed above.
Control unit, for the use terminal of this multimedia file of control store, according to the multimedia file block issuing command of server, initiatively sets up network with the use terminal of online good friend and is connected; And select some multimedia file blocks at random according to the concordance list of described multimedia file, and the data of the multimedia file block selected at random are sent to the use terminal establishing the good friend that network connects, as detailed above.
In sum, the method of multimedia file shared system provided by the present invention and shared multimedia file thereof, terminal is used to be published in multiple different use terminal in the mode being similar to virus propagation in advance by multimedia blocks of files owing to have employed server controls, and the concordance list that each multimedia file of server Real-Time Monitoring is corresponding, controls the degree that multimedia file block is issued.When the distribution monitoring blocks of files reaches set point, control to use terminal to stop the issue of blocks of files, now each blocks of files has been arranged in certain limit in advance, subsequent user can complete the download of multimedia file at short notice, because the incipient stage just exists multiple loading source, therefore user can download fast.Make user operate use terminal time, be no longer only traditional play operation, but also by using terminal and friend, what household carried out video shares operation.By the multimedia sharing method of a kind of novel Virtual network of the present invention, user can complete the upload and download of multimedia file within the quite short time, thus carry out media with the people of the social circle of user like a cork and share, use terminal adds the New function that the Internet social activity is shared.
In addition, reduce configuration and the maintenance cost of server, operator needs the server resource safeguarded can not be a lot, because the buddy list of server mainly maintenance customer, and index file; The dedicated memory come is marked specially by directly using that block in the use terminal of subscriber equipment, the cloud memory device that virtual composition one is huge, and customer volume is larger, and overall service quality will be higher, improve the utilance of Internet resources, provide users with the convenient.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.

Claims (9)

1. multimedia file shared system shares a method for multimedia file, it is characterized in that, comprises step:
A, by use terminal receive user input operational order set up buddy list;
B, using dedicated memory terminal set up and is used for storing multimedia data; And piecemeal is carried out to the multimedia file that need upload become multiple multimedia file block, and create for the concordance list after this multimedia file piecemeal, and the concordance list of this multimedia file is uploaded onto the server;
C, server receive the concordance list of this multimedia file, and control to use terminal to be published to by multimedia file block in the multiple different use terminal on its buddy list in advance, and often complete the transmission of a multimedia file block, server Real-Time Monitoring upgrades the index on concordance list corresponding to this multimedia file block; When the scope of release monitoring multimedia file block reaches set point, control to use terminal to stop the issue of blocks of files;
The instruction of the download multimedia file of D, use terminal receiving target user input, downloads this multimedia file according to the concordance list of this multimedia file that need download;
Described step C specifically comprises step:
C1, server receive the concordance list of storing multimedia, and from store this multimedia file use terminal buddy list the friend information of inquiring user, and locate the use terminal of each good friend, and send multimedia file block issuing command to the use terminal storing this multimedia file;
C2, store the multimedia file block issuing command of the use terminal reception server of this multimedia file, and according to the instruction of server several times, the use terminal of each initiatively online with part good friend is set up network and is connected;
C3, use terminal are selected some multimedia file blocks according to the concordance list of described multimedia file at every turn, and the data of the multimedia file block selected are sent to the use terminal establishing the good friend that network connects.
2. multimedia file shared system shares the method for multimedia file according to claim 1, it is characterized in that, described steps A specifically comprises:
A1, the user login information using terminal to be inputted by user interface reception user, and send this user login information to server;
A2, when described user login information obtains after server authentication passes through, the interface menu of the interpolation good friend using terminal to be provided by it obtains friend information from described server, and is loaded in local buddy list by the friend information of acquisition.
3. multimedia file shared system shares the method for multimedia file according to claim 1, it is characterized in that, piecemeal carried out to the multimedia file that need upload become multiple multimedia file block in described step B, and create for the concordance list after this multimedia file piecemeal, the concordance list of this multimedia file is uploaded onto the server and specifically comprises:
B1, use terminal carry out piecemeal to the multimedia file that this locality that need upload stores, and this multimedia file is formally divided into some multimedia file blocks, and calculates cryptographic Hash corresponding to each multimedia file block;
B2, the cryptographic Hash corresponding according to each multimedia file block calculated, create the concordance list of corresponding multimedia file, the index information content of concordance list comprises the cryptographic Hash of each multimedia file block of this multimedia file, and the IP address of use terminal residing for this multimedia file, and the memory location of this multimedia file block in this use terminal;
The concordance list of the multimedia file of establishment uploads onto the server by B3, use terminal.
4. multimedia file shared system shares the method for multimedia file according to claim 1, it is characterized in that, described step C3 also comprises: if the good friend of the other side uses terminal to return the information of the insufficient space of its dedicated memory, then stop using in terminal to this good friend transmitting blocks of files.
5. multimedia file shared system shares the method for multimedia file according to claim 1, it is characterized in that, described step C3 also comprises: the transmission often completing a multimedia file block, and server Real-Time Monitoring upgrades the index on concordance list corresponding to this multimedia file block.
6. multimedia file shared system shares the method for multimedia file according to claim 5, it is characterized in that, also comprises step after described step C3:
C4, server, by the concordance list upgraded, monitor same multimedia file block and are distributed in new use terminal, after wait one scheduled time, send multimedia file block issuing command, and return step C2 to described use terminal newly;
C5, when monitoring server reaches set point to the scope of release of multimedia file block, stop the issue of blocks of files.
7. multimedia file shared system shares the method for multimedia file according to claim 1, it is characterized in that, described step D specifically comprises:
D1, when using terminal to receive the instruction of certain multimedia file of download of targeted customer's input, download concordance list corresponding to this multimedia file from server;
D2, use terminal, according to the information of the index file of concordance list, obtain the blocks of files of this multimedia file one by one;
D3, when certain blocks of files is present in multiple use terminal, to be connected with the plurality of use terminal simultaneously, to send request of data, download this multimedia file data from multiple source simultaneously.
8. a multimedia file shared system, comprise server and some use terminals, it is characterized in that, described server comprises user management module, index management module and propagation management module;
Described user management module, for the maintenance of responsible buddy list, stores the new friend information using terminal to add, and for providing query interface to use terminal inquiry buddy list info;
Described index management module, for managing the concordance list of multimedia file, often completes the transmission of a multimedia file block, the index information on the concordance list that this multimedia file block of real-time update is corresponding; Described index information comprises: the cryptographic Hash of multimedia file block, the IP using terminal and multimedia file block are using the memory location in terminal;
Described propagation management module, for when using terminal to need upload multimedia file, receives the concordance list of the multimedia file that user uploads, and controls to use terminal to be published in the use terminal of its good friend in advance by multimedia file block several times; And during for reaching set point when the scope of release monitoring multimedia file block, stop the issue of blocks of files;
Described use terminal comprises transmission module, blocks of files download module and reserved area administration module in friend information administration module, piecemeal module, blocks of files;
Described friend information administration module, the operation for receiving user carry out user's registration and good friend inquiry, add, delete management;
Described piecemeal module, for carrying out piecemeal to the multimedia file that need upload, this multimedia file is formally divided into some multimedia file blocks, and calculate cryptographic Hash corresponding to each multimedia file block, and create for the concordance list after this multimedia file piecemeal, and this concordance list is uploaded onto the server;
Transmission module in described blocks of files, for the multimedia file block issuing command of reception server, sends to the use terminal of the good friend selected by server end by the multimedia file block of correspondence;
Described blocks of files download module, for receiving the blocks of files of download instruction downloading multimedia file, and by the blocks of files of download stored in dedicated memory;
Described reserved area administration module, for setting up the dedicated memory of storing multimedia data and managing this dedicated memory.
9. multimedia file shared system according to claim 8, is characterized in that, described propagation management module comprises further:
Receiving element, for receiving the concordance list of storing multimedia;
Positioning unit, for the friend information of inquiring user in the buddy list from use terminal, locates the use terminal of each good friend;
Instruction sending unit, for sending multimedia file block issuing command to each use terminal;
Control unit, for the use terminal of this multimedia file of control store, according to the multimedia file block issuing command of server, initiatively sets up network with the use terminal of online good friend and is connected; And select some multimedia file blocks according to the concordance list of multimedia file, and the data of the multimedia file block selected are sent to the use terminal establishing the good friend that network connects at every turn.
CN201110069339.3A 2011-03-22 2011-03-22 A kind of method of multimedia file shared system and shared multimedia file thereof Expired - Fee Related CN102137163B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110069339.3A CN102137163B (en) 2011-03-22 2011-03-22 A kind of method of multimedia file shared system and shared multimedia file thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110069339.3A CN102137163B (en) 2011-03-22 2011-03-22 A kind of method of multimedia file shared system and shared multimedia file thereof

Publications (2)

Publication Number Publication Date
CN102137163A CN102137163A (en) 2011-07-27
CN102137163B true CN102137163B (en) 2015-08-05

Family

ID=44296816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110069339.3A Expired - Fee Related CN102137163B (en) 2011-03-22 2011-03-22 A kind of method of multimedia file shared system and shared multimedia file thereof

Country Status (1)

Country Link
CN (1) CN102137163B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103138953B (en) * 2011-11-30 2015-11-25 中国联合网络通信集团有限公司 The method for group sending of Multimedia Message and group sending system
CN103177026A (en) * 2011-12-23 2013-06-26 北京新媒传信科技有限公司 Data management method and data management system
CN103368988B (en) * 2012-03-28 2016-03-16 腾讯科技(深圳)有限公司 resource sharing method, system and device
CN102833266B (en) * 2012-09-14 2016-06-22 腾讯科技(深圳)有限公司 A kind of network social intercourse method, server and system
CN103780925A (en) * 2012-10-26 2014-05-07 深圳市快播科技有限公司 On-line video-on-demand method and system based on moving platform
CN103533014B (en) * 2013-04-23 2017-04-05 Tcl集团股份有限公司 A kind of method and system for providing temporary extension space
CN104601205B (en) * 2013-10-31 2018-06-05 华为终端(东莞)有限公司 The method and device that a kind of content is shared
CN103686246B (en) * 2013-11-26 2017-03-15 小米科技有限责任公司 Player method, device, equipment and system when transmission stream video is selected
US20160140139A1 (en) * 2014-11-17 2016-05-19 Microsoft Technology Licensing, Llc Local representation of shared files in disparate locations
CN105100272B (en) * 2015-08-31 2018-09-25 深圳市理邦精密仪器股份有限公司 electrocardiograph intelligent file transmission method and system
CN106559231A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 Net element information sharing method between many operational systems, apparatus and system
CN109120496A (en) * 2017-06-22 2019-01-01 中兴通讯股份有限公司 A kind of information processing method based on converged communication, server and terminal
CN107566422B (en) * 2017-10-30 2020-10-27 江西博瑞彤芸科技有限公司 Third-party user verification method
CN108921488A (en) * 2018-05-03 2018-11-30 北京水规院京华工程管理有限公司 Marine traffic engineering manages platform
CN108965373B (en) * 2018-05-04 2021-04-30 天津猎鹰网络技术有限公司 Multimedia file uploading method and device
CN110008178B (en) * 2019-01-04 2023-04-07 创新先进技术有限公司 Distributed file system metadata organization method and device
CN112187483A (en) * 2019-07-03 2021-01-05 西安诺瓦星云科技股份有限公司 Program distribution method and program distribution system
CN111899885A (en) * 2020-06-28 2020-11-06 万达信息股份有限公司 Distributed personnel event index implementation method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068336A (en) * 2006-08-22 2007-11-07 腾讯科技(深圳)有限公司 Coordinate connection stream media direct broadcasting system and device
CN101141627A (en) * 2007-10-23 2008-03-12 深圳市迅雷网络技术有限公司 Storage system and method of stream media file
CN101520793A (en) * 2008-12-30 2009-09-02 深圳市同洲电子股份有限公司 Method and system for storing and reading stream media file and stream media server
CN101677328A (en) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 Content-fragment based multimedia distributing system and content-fragment based multimedia distributing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068336A (en) * 2006-08-22 2007-11-07 腾讯科技(深圳)有限公司 Coordinate connection stream media direct broadcasting system and device
CN101141627A (en) * 2007-10-23 2008-03-12 深圳市迅雷网络技术有限公司 Storage system and method of stream media file
CN101677328A (en) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 Content-fragment based multimedia distributing system and content-fragment based multimedia distributing method
CN101520793A (en) * 2008-12-30 2009-09-02 深圳市同洲电子股份有限公司 Method and system for storing and reading stream media file and stream media server

Also Published As

Publication number Publication date
CN102137163A (en) 2011-07-27

Similar Documents

Publication Publication Date Title
CN102137163B (en) A kind of method of multimedia file shared system and shared multimedia file thereof
CN103457966B (en) Method, equipment and system of based on DLNA technology access cloud storage equipment
EP3242463B1 (en) Content distribution method and system for mobile terminal application
EP3439239B1 (en) Data transmission method and system based on peer-to-peer network
WO2017107542A1 (en) Video program obtaining method, device and system
CN105830419B (en) It is prioritized the peer-to-peer network of propagation of the object by network
CN101714987B (en) P2P playing method and system
CN101854278A (en) Multi-media transmission system and method in IM (Instant Messaging)
CA2840106A1 (en) Offline download method, multimedia file download method and system thereof
CN103581245A (en) Content delivery method and system of content delivery network
CN108683730B (en) Resource scheduling method, service server, client terminal, network system and medium
CN102316135A (en) Network on-demand method and system
CN105208059A (en) Content distribution method, content distribution terminal, server, and content distribution system
KR101573197B1 (en) Control method for transmitting distributed file based on P2Peer and P2P communication control apparatus therefor
CN100463403C (en) Point-to-point technique based picture sharing system and method
CN102164317A (en) Internet protocol (IP) set-top box-oriented multi-server segmented downloading system
EP2399390A1 (en) Method and apparatus for distributing data in a peer-to- peer network
CN105743971A (en) Using method of saas cloud platform applicable to new media content fusion
JP2012118709A (en) Distribution system, storage capacity decision program, and storage capacity decision method
CN102957972B (en) Video on demand method and system thereof
CN105704503A (en) Application method for online integrated pipe control application cloud platform based on saas media cloud technology
CN101605242A (en) Be used to realize the methods, devices and systems of video-on-demand service
CN108616600B (en) Resource scheduling method, client server, node device, network system, and medium
WO2024017113A1 (en) Data synchronization method and apparatus, and electronic device
CN105392025B (en) Method, equipment and the content distribution system of user side aggregated bandwidth

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

Granted publication date: 20150805

CF01 Termination of patent right due to non-payment of annual fee