The method of on-line selection play multimedia files and multimedia player thereofTechnical field
The present invention relates to a kind of method of selecting play multimedia files, particularly relate to a kind of method that the multimedia file on-line selection that is stored in server can be play or stored.
Background technology
Multimedia file is a kind of digital data file in conjunction with acousto-optic and image, generally speaking, the file content of multimedia pattern is bigger usually, therefore must utilize compress technique, as MPEG2 or MPEG4 etc., with multimedia file compression, and among the bigger discs of the capacity that is stored in, as the DVD discs.In case in the time of will carrying out the broadcast of multimedia file, then be to utilize DVD player that the DVD discs is decompressed and decipher, the multimedia file after will deciphering again exports display to and plays.
DVD player still is only limited to the function that play in zone (local) at present, and its broadcast mode is that a slice DVD discs is put into DVD player, broadcasts by a display content of this sheet DVD discs is broadcasted.But many times, read the hearer and do not carry the DVD discs at one's side, or its DVD discs has at one's side all been seen, at this moment, readding the hearer just must go out and choose or rent sheet, yet no matter be to go out to choose or rent sheet, its whole process not only bothers, time-consuming but also can cause and read the suitable inconvenience of hearer.
Universalness along with network, directly utilize a player to receive multimedia file by network online, be employed widely in order to the technology of playing long-range film, the most normal framework that uses is browser/website (browser/website) master-slave architecture at present, the necessary built-in browser software of player under such framework, player can be a personal computer, enter the webpage of server end and click the multimedia file that institute's desire is play by browser, again with RTP (real-time transportprotocol, be called for short RTP), or HTTP, TCP, communications protocol such as GUI are downloaded multimedia file, utilize crossfire (streaming) technology to carry out the audio-visual broadcast of real-time multimedia at last again.But because above-mentioned communications protocol only is fit to the transmission of literal or webpage; and be not suitable for transmission as video-audio data; therefore picture is through regular meeting's distortion in the process of transmission for streaming media, and in addition, the deficiency of network bandwidth and transmission speed also can have influence on the quality of appreciation slowly.
Another kind of framework is terminal organ/server client/server, under this framework, player is set the terminal organ end for, and login (login) to server end by network interface, in communications protocol modes such as RDP or GUI multimedia file is downloaded again, utilized crossfire (streaming) technology to carry out the audio-visual broadcast of real-time multimedia at last again.This framework and foregoing structure all have problems such as transmission rate deficiency and picture be intermittent to produce, and the control of transfer of data is all at server end rather than at terminal organ device end.Therefore, when the terminal organ quantity that is online to server end gets more and more, being embedded in the transplanting workload (porting work) that the real time operating system (RTOS) of server end carried out also can increase, therefore in the process of transfer of data, cause online interruption because the load of RTOS is excessive or also can often take place when the situation of machine.
Therefore,, propose a method that has the on-line selection play multimedia files of transmission rate and transmission quality concurrently, read the better rating quality of hearer, be the be correlated with problem place of the anxious desire solution of practitioner of present stage in fact to provide how at the shortcoming of known technology.
Summary of the invention
Main purpose of the present invention provides a kind of method of on-line selection play multimedia files.
The disclosed on-line selection of the present invention is play framework and is comprised a server and a multimedia player, there are many multimedia files in the server interior reservoir, multimedia player has the function of play multimedia files, wherein interlink by network between multimedia player and the server, and be set under the network architecture of equity (peer to peer).
When the multimedia player desire was carried out the real-time broadcast of multimedia file by network, it was play step and comprises: at first send an option forms requirement signal by multimedia player to server end; When server when obtaining option forms requirement signal, then be that the option forms with many multimedia files transfer to multimedia player; Multimedia player inserts this option forms content formatting the image output of multimedia player; After the user sees image output via display, in the option forms, select the multimedia file of institute's desire broadcast again by the multimedia player end; By the option forms project that is clicked is sent to server; To click the pairing multimedia file of project by server again and be sent to multimedia player; Utilize the multimedia player reception and export multimedia file to multimedia player is play or multimedia file is stored in to a display inside.
Above-mentioned option forms can be the html file form, it is numbered each multimedia file of server inside, and indicate the identification feature of each multimedia file, comprise film title, film character, publish producer and featured performer etc.The option of forms then be with the hyperlink mode be assigned to its corresponding multimedia file storage location or add the controlled function of multimedia player, therefore, when a certain project in the option forms by after being clicked, its pairing multimedia file will be sent to the multimedia player end with crossfire (streaming) transmission means, export a display again to and carry out that on-line selection is play or multimedia file is stored in the multimedia player.
In addition, also can be to be set under the ad-hoc pattern between multimedia player of the present invention and the server, and carry out wireless data transmission by WLAN (WLAN) IEEE 802.11.The option forms of the multimedia player that is downloaded to then are to control the image signal that (OSD) pattern is inserted the output of multimedia player end with screen display, thereby show on the display, therefore for the user, it can be by the remote controller in the hand, the options menu that OSD on the screen is shown is selected, and the multimedia file that institute's desire is play directly carries out online broadcast or storage.
Wherein, can interlink by the ether express network between above-mentioned multimedia player and the server, or utilize IP privately-owned network (VPN) to interlink, or even interlink by inner private line network, no matter be that transmission speed or image quality can promote significantly therefore.In addition, because the present invention will be set between multimedia player and the server under the shared network architecture of equity, and control is to be set in the multimedia player end, therefore for the real time operating system that is embedded in server end (RTOS), even under the situation of multi-section multimedia player while data download, also can not increase the transplanting workload (porting work) of server end, relatively, in the process of transfer of data, online interruption takes place or also can reduce to minimum when the situation of machine.
For making those skilled in the art person can understand purpose of the present invention, feature and effect really, will be described below embodiments of the invention in conjunction with the accompanying drawings.
Description of drawings
Fig. 1 is the first embodiment Organization Chart of on-line selection play multimedia files of the present invention;
Fig. 2 is utilizing multimedia player to carry out the flow chart of on-line selection play multimedia files for the first embodiment of the present invention;
Fig. 3 is a multimedia player structure chart of the present invention.
Fig. 4 is an option forms schematic diagram of the present invention;
Fig. 5 is the second embodiment Organization Chart of on-line selection play multimedia files of the present invention; With
Fig. 6 is utilizing multimedia player to carry out the flow chart of on-line selection play multimedia files for the second embodiment of the present invention.
The reference numeral explanation
10-multimedia player 12-network
100-response unit 102,104-storage element
110-data separating unit 106-formatting unit
108-broadcast unit 112-Remote Control Interface
14-server 15-first server
16-display 17-second server
31-option forms 41-first end
42-second end
Embodiment
See also shown in Figure 1, it is the first embodiment Organization Chart of on-line selection play multimedia files of the present invention, present embodiment comprises amultimedia player 10, one network 12 and a server 14, whereinmultimedia player 10 can be a video player, DVD player for example, it has the function that reads multimedia file, wherein multimedia file can be the video files of compressions such as MPEG4 or MPEG2, and the multimedia file that is read play by a display 16 (for example TV), in addition, this video player can a built-in or external video tape recorder, and the image that server 12 can be transmitted becomes discs by video-recorder recording or burning multimedia file.Server 14 inside then are to store many multimedia files, multimedia file can be forms such as MPEG4 or MPEG2, interlink by network 12 betweenmultimedia player 10 and the server 14, this network 12 can be ether express network, IP privately-owned network (VPN) or inner private line network, wherein betweenmultimedia player 10 and the server 14 is to be set under the shared network architecture of equity (peer to peer).
See also shown in Figure 2ly, it is utilizing multimedia player to carry out the flow chart of on-line selection play multimedia files for the first embodiment of the present invention, and its step comprises: at first send an option forms requirement signal (21) by multimedia player to server end; When server when obtaining option forms requirement signal, then the option forms with many multimedia files transfer to multimedia player (22); Multimedia player inserts the shadow item signal (23) of output with option forms format back; By the option forms item selected is sent to server (24); By server the pairing multimedia file of selecting of project is sent to multimedia player (25) again; Utilize multimedia player to receive and export multimedia file to display and play or be stored in (26) in the holder.
Be illustrated in figure 3 as the structure chart ofmultimedia player 10, its outside comprises onefirst end 41 and one second end, 42, thefirst ends 41 are connected to server bynetwork 12, and 42 at second end is to be connected in a display 16.Its inside comprisescontroller 30,data processing unit 20 andresponse unit 100, thecontroller 30 andfirst end 41 are connected to each other, the data of the I/O of itscontrol multimedia player 10, form in order to difference input data is option forms or multimedia file, andcontroller 30 also can be sent to server 14 by network 12 with the selection instruction ofresponse unit 100;Data processing unit 20 comprisesformatting unit 106 andbroadcast unit 108, whencontroller 30 judgements receive that data are the option forms, then the data of option forms and the control data ofmultimedia player 10 can be delivered to formattingunit 106, judge whencontroller 30 and to receive that data are that multimedia file and being judged to be by output is exported, formattingunit 106 can format the option forms, and can select to insert in the image data ofbroadcast unit 108, mode with similar OSD (On Screen Display) shows multimedia file and selects forms to be shown indisplay 16 by the output ofsecond end 42 simultaneously, supplies the user with reference to selection;Response unit 100 comprises areceiver 112, thisreceiver 112 can be the wireless receiver that a Digiplex (not being shown among the figure) is controlled, thisreceiver 112 is in order to receive user's instruction, that is after the user sees the selection forms ofdisplay unit 16,receiver 112 is assigned the instruction of the multimedia file of selection, this instruction transfers to controller 30 byresponse unit 100,controller 30 passes on this selection instruction to server 14, and 14 of this servers are selected to transmit multimedia file according to it and givenmultimedia player 10.
Multimedia player 10 an all right built-instorage element 102 orexternal storage elements 104, storage element 102,104 can be hard disk, DVD cd-rom recorder or other can store the medium of multimedia file, when the user specifies the multimedia file that will select to be stored in the storage element, 30 of control units are not delivered to multimediafile broadcast unit 108, and deliver tostorage element 102 orstorage element 104, this function that is provide the user when viewing and admiring a program, can pass through option, store other program in addition in storage element, and then reach the function of record while seeing.
See also shown in Figure 4, above-mentioned option forms 31 can be the html file form, it is numbered many multimedia files, and summary indicates the identification feature of each multimedia file, comprise film title, film character, publish producer and featured performer etc. or multimedia file is play or the control command of the multimedia player of storage etc. at the multimedia player end, for example play, storage etc.Each option in the forms then be with the hyperlink mode be assigned to its storage location of corresponding multimedia file, therefore, when a certain project in the option forms 31 by after being clicked, its pairing multimedia file will be sent tomultimedia player 10 ends with crossfire (streaming) transmission means, carry out on-line selection indisplay 16 and play or be stored in the storage element.
In addition, also can be to be set under the ad-hoc pattern betweenmultimedia player 10 of the present invention and the server 14, and carry out wireless data transmission by WLAN (WLAN) IEEE 802.11.The option forms 31 that are downloaded tomultimedia player 10 then are to control thedisplay 16 that (0SD) pattern is shown inmultimedia player 10 ends with screen display, for the user, it can be by the remote controller in the hand, according to the shown options menu of OSD on the screen tomultimedia player 10 remote controls select, the multimedia file that institute's desire is play directly carries out online broadcast or is stored in the storage element.
Wherein, can interlink by the ether express network between above-mentionedmultimedia player 10 and the server 14, or utilize the IP privately-owned network to interlink, or even inner private line network interlinks, therefore no matter be that transmission speed or image quality can promote significantly, in addition, because the present invention will be set betweenmultimedia player 10 and the server 14 under the shared network architecture of equity, for the real time operating system that is embedded in server end 14 (RTOS), evenmulti-section multimedia player 10 is data download simultaneously, also can not increase the transplanting workload (porting work) of server end 14, relatively, online interruption or also be difficult for taking place when the situation of machine.
See also shown in Figure 5, it is the second embodiment Organization Chart of on-line selection play multimedia files of the present invention, present embodiment comprises amultimedia player 10, a network 12, one first server 15 and a second server 17, whereinmultimedia player 10 can be to have the function that reads MPEG4 or MPEG2 multimedia file, and the multimedia file that is read is play or stored by a storage element by a display 16 (for example TV).First server 15 is a file server, its interior reservoir has the multimedia file of many DVD forms, 17 of second servers are management servers, it can search the network site and the multimedia file content of first server 15 (file server), but and it is organized into the option forms (as shown in Figure 4) of identification multimedia file feature.
Betweenmultimedia player 10 and first server 15 and the second server 17 is to interlink by network 12, this network 12 can be ether express network, IP privately-owned network (VPN) or inner private line network, wherein betweenmultimedia player 10 and the second server 17 is to be set under the shared network architecture of equity (peer topeer).As shown in the above description, present embodiment is that the server that will manage multimedia file separates with the server that stores multimedia file, thus, any one file server on the network, as long as be connected and become the deposit data of multimedia file point with this framework, not only can reach the effect that distributed document is shared, and these multimedia files are through after integrating, its value volume and range of product of the multimedia file that can provide also can increase significantly.
See also shown in Figure 5ly, it is utilizing multimedia player to carry out the flow chart of on-line selection play multimedia files for the second embodiment of the present invention, and its step comprises: at first send a catalogue by multimedia player to the second server end and download signal (51); When second server was being obtained catalogue and downloaded signal, then the option forms with many multimedia files were downloaded to multimedia player (52); Click the multimedia file (53) that institute's desire is play again in the option forms by the multimedia player end; By the option forms project that is clicked is sent to first server (54); To click the pairing multimedia file of project by first server again and be sent to multimedia player (55); Utilize multimedia player to receive and export multimedia file to display and play (56).
The form of the option forms of present embodiment and the crossfire mode of multimedia file are all identical with first embodiment, therefore repeat no more, but what deserves to be mentioned is, no matter be first embodiment or second embodiment, whole framework all is to be controlled at the multimedia player end for the control of on-line selection play multimedia files, therefore for will be more convenient in the operation of readding the hearer, in addition, under the shared network architecture of equity (peer to peer), and control is under the situation of multimedia player end, also can set up suitable communications protocol on their own, make the transmission of multimedia file more smooth, and then obtain better playback quality.
The above; it only is the preferred embodiment of on-line selection play multimedia files method of the present invention; for a person skilled in the art; under the situation of spirit of the present invention; any modification of being made all should belong to scope of the present invention, so protection scope of the present invention is worked as with following described claim scope as foundation.