A kind of method and network system that realizes online playing audio
[technical field]
The present invention relates to the streaming media playing technology of communication Network Based, relate in particular to a kind of method and network system that realizes online playing audio.
[background technology]
Online audio plays is a kind of mode of play-overing the remote audio file by the local audio player, also is the most basic a kind of application of stream media technology.
At present, the online play-back technology based on Web is mainly used in the Audio on Demand service.Please refer to Fig. 1, the user is after choosing the file that needs to play on the Web, and the backstage generates the listing file of a voice playing.By http protocol this listing file is sent to client then, client is opened this listing file by media player, according to the online segmentation download audio files of the URL that comprises in the listing file, realizes the function of online broadcast.
There is following defective in above-mentioned online broadcast service based on Web:
1. the user can not arbitrarily play the audio frequency of oneself liking
The audio file that the user has existed on can only Play Server.Because these audio files are provided by service provider, and be not that the user is according to oneself liking storage, the right that the user does not have active to select to the content of listening to.
2. complicated operation
If the user wishes to share the audio file on the Play Server between its good friend, need before using sharing functionality, above-mentioned file must be uploaded to third-party server, and the operability of this process be easy inadequately.And, the existing good friend who all is difficult for affirmation oneself based on Web and private client.
[summary of the invention]
The technical problem to be solved in the present invention provides a kind of method that realizes online playing audio.This method can realize that the user plays the audio/video file of its personalized storage on network.
Another technical problem that the present invention will solve provides a kind of network system that realizes online playing audio.This network system can realize that the user plays the audio/video file of its personalized storage on network.
For solving the problems of the technologies described above, the invention provides a kind of method that realizes online playing audio, this method comprises the steps:
(a) use a network hard disc access server to receive the information of the audio/video file that request that client sends plays, then;
(b) use this network hard disc access server to obtain the corresponding user profile of above-mentioned client from a user data server, and the audio/video file of above-mentioned request being play from the network hard disc storage server of an audio-visual frequency file that has had the client according to this user profile copies to a http server, and generates a play list file that contains the URL address on this http server;
(c) transmit this play list file to client, call the audio/video file that this listing file of media renderer plays of client is enumerated again.
Wherein, but the client upload file to this network hard disc storage server.Client can be set at other clients its file or file on the network hard disc storage server shared.
For solving another technical problem, the invention provides heavy a kind of network system that realizes online playing audio.This network system comprises: a network hard disc access server, a user data server, a network hard disc storage server and a http server.Wherein, the network hard disc access server is used to receive the information of the audio/video file that request that client sends plays, and obtain the respective user information of this client from user data server, the audio/video file that above-mentioned request is play is copied to http server according to this user profile from the network hard disc storage server, and on this http server, generate the play list file that contains the URL address, so that after this play list file is sent to client, call this listing file of media renderer plays of client.
Wherein, but this network hard disc storage server can allow the client upload file to this network hard disc storage server.This network hard disc storage server can allow client to set with other clients its file or file on the network hard disc storage server shared.
Method of the present invention and network system can realize user's audio-visual frequency playing function of personalized online broadcast fully.And the present invention with the storage server of audio/video file and Play Server has separately guaranteed user's playing fluency effectively.And what the sharing functionality by network hard disc can allow that client realizes between the good friend that audio-visual frequency plays shares.In addition, because the present invention is based on the network hard disc remote storage activities, so fail safe and operability more are better than prior art.
[description of drawings]
The present invention is described in detail below in conjunction with drawings and Examples:
Fig. 1 is the online playing flow schematic diagram of prior art audio file.
Fig. 2 is the online playing flow schematic diagram of audio/video file of the present invention.
Fig. 3 is the online playing flow schematic diagram of the network system audio/video file of the specific embodiment of the invention.
Fig. 4 is the schematic flow sheet that the user of the specific embodiment of the invention plays audio/video file.
Fig. 5 is the operation chart that the user of the specific embodiment of the invention plays audio/video file.
[embodiment]
At first, please refer to Fig. 2, the present invention can be Network Based the realization user individual play the function of audio/video file.For this reason, need realize the user individual management, comprise uploading of audio/video file, the folder management of audio/video file etc. the audio/video file on the network.
Referring again to Fig. 3, the present invention is that example specifies method and the network system that realizes the online broadcast of user individual audio/video file with the network storage service based on immediate communication platform as the instant messaging network hard disc.
The instant messaging network hard disc is a kind of remote storage service, and online voice playing of the present invention then is based on the new function that exploitation realizes on this service.
As shown in Figure 3, the network system of the online displaying audio file of realization of present embodiment comprises an instant messaging network hard disc access server, a user data server (UD server), an instant messaging network hard disc storage server and a http server.
For realizing online displaying audio file, at first, client (Client) will wish that the music file id information of playing sends to instant messaging network hard disc access server.
This instant messaging network hard disc access server is mainly used in the access identity of judging client.After the client successfully lands, this instant messaging network hard disc access server is obtained corresponding access client file data from the background user data server again, for example: client's instant messaging number of the account, personal information with and network hard disc on folder information, fileinfo etc.Then, folder information and fileinfo according to the client, instant messaging network hard disc access server will need the file copy a play temp directory to the http server from instant messaging network hard disc storage server, generate a unique play list file simultaneously on http server.This listing file has a unique URL address.
After this http server returns to client with this URL, media renderer plays this document tabulation of client call custom system acquiescence, thus finish playing process one time.
Figure 4 shows that the operating process of user side.At first, subscription client is uploaded individual's audio file to the instant messaging network hard disc by instant messaging network hard disc operation interface.Then, as shown in Figure 5, the user can click by right key and choose the file that contains audio file that need play, clicks " playing continuously ", and the default player of the automatic invoke user of system's meeting is play online tabulation.Equally, the user also can choose a plurality of audio files that need to play to play.
Realize the broadcast of online audio/video file based on immediate communication platform network storage service, can allow no matter somewhere login of user, as long as login enters the network hard disc of oneself, just can the be very convenient online audio-visual frequency file of listening to the storage of network hard disc the inside, thus step such as download omitted.
Need to prove; above-mentioned explanation only is the detailed description to preferred embodiment of the present invention; narration only is explanation realizability of the present invention and outstanding effect thereof; concrete feature can not be used as the restriction to technical scheme of the present invention, and protection scope of the present invention should be as the criterion with appended claims of the present invention.