CN104737550A - Multimedia redirection method, server and client - Google Patents

Multimedia redirection method, server and client Download PDF

Info

Publication number
CN104737550A
CN104737550A CN201380000281.4A CN201380000281A CN104737550A CN 104737550 A CN104737550 A CN 104737550A CN 201380000281 A CN201380000281 A CN 201380000281A CN 104737550 A CN104737550 A CN 104737550A
Authority
CN
China
Prior art keywords
decoder
client
media formats
played
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201380000281.4A
Other languages
Chinese (zh)
Inventor
孙际鹏
位凯志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN104737550A publication Critical patent/CN104737550A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6582Data stored in the client, e.g. viewing habits, hardware capabilities, credit card number
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • H04N21/6547Transmission by server directed to the client comprising parameters, e.g. for client setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention relates to a multimedia redirection method, a server and a client. The method comprises: the server acquires media format of media file to be played and sends the media format to the client; the server receives decoding capacity information corresponding to the media format sent by the client; when the decoding capacity information indicates that the client cannot decode the media format, the server acquires a decoder corresponding to the media format according to decoder related information sent by the client and sends the decoder to the client; and the server performs multimedia direction on the media file to be played and sends the media file to be played as a data stream which is not decoded to the client, so that the client can play the decoded media file by the decoder. So the server can dynamically acquire the decoder, download and install the decoder for multimedia redirection, and the client decodes and plays the file to be played.

Description

Multimedia reorientation method, server and client side
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of multimedia reorientation method, server and client side.
Background technology
Remote desktop technology is for a kind of common technique in the office of current enterprise.It can pass through another computer of network connection control, and its desktop of real-time operation.In enterprise's office, business hall, hospitals and other places, computer or other equipment can be connected to by local area network (LAN) the data center that has a large amount of server and the daily use equipment such as mobile device also can be connected to data center by wide area network.Remote desktop also not only refers to long-range screen display, can also comprise the technology such as remote sound transmission, pluggable hardware mapping.Remote desktop can be called virtual desktop again.Under virtual desktop scene, at least there is a station server and a client computer, logged on server by the virtual desktop client software that client computer is installed.
After user logs in remote desktop, usually can open media player and carry out playback of media files, at this moment can carry out multimedia and be redirected.Multimedia is redirected and refers to when server end plays media file, do not decode at server end and play, and original media file data stream of not decoding is sent to client decodes, and playing, server end CPU can be reduced like this use, reduce bandwidth and use.
Usually, when server end media renderer plays, multimedia Redirect Server can be started, obtain media file format, then carry out media negotiation, media formats is sent to client, client looks into the decoders decode seeing if there is corresponding form, if can decode, then will carry out multimedia and be redirected, decoded by client and play, otherwise decoded by server end.
But, when client does not have corresponding decoder, multimedia can not be carried out be redirected, at this time decoded by server end and play up, then display module is passed through, image is sent to client, at this moment can takies massive band width and server end cpu resource, whole client time serious, can be caused to use.
Summary of the invention
The invention provides a kind of multimedia reorientation method, server and client side, to solve in prior art when the decoder that client does not have the media formats of file to be played corresponding, the problem that multimedia is redirected can not be carried out, achieve client and dynamically obtain decoder from server, and download and this decoder is installed, enable to carry out multimedia to be redirected, finally treat played file by client and carry out decoding and playing.
In first aspect, the invention provides a kind of multimedia reorientation method, described method comprises: server obtains the media formats of media file to be played, and described media formats is sent to client, installs described decoder in order to described client; Server receives the decoding capacity information corresponding with described media formats that described client sends; When described decoding capacity information be described client can not decode to described media formats time, obtain the decoder corresponding with described media formats that described client needs, and described decoder be sent to described client; Described media file to be played is carried out multimedia by server to be redirected, and described media file to be played is sent to described client with the form of non-decoded data stream, the described decoder after using described installation in order to described client is decoded to described media file to be played and is play described decoded media file.
In the implementation that the first is possible, the described client of described reception send the decoding capacity information corresponding with described media formats after also comprise: when described decoding capacity information be described client can decode to described media formats time, described media file to be played is carried out multimedia by server to be redirected, and described media file to be played is sent to described client with the form of non-decoded data stream, local mounted decoder is utilized to decode to described media file to be played in order to described client, and play described decoded media file.
In the implementation that the second is possible, described when described decoding capacity information be described client can not decode to described media formats time, obtain the decoder corresponding with described media formats that described client needs, and described decoder is sent to described client, comprise: when described decoding capacity information be described client can not decode to described media formats time, send to described client the Query Information of the decoder corresponding with described media formats that described client needs; Receive the response message carrying the version information of the decoder corresponding with described media formats that described client needs that described client sends; The version information of the decoder corresponding with described media formats that server needs according to described client, inquires about the decoder that the version information of the decoder corresponding with described media formats needed with described client is corresponding; When inquiring the decoder corresponding with the version information of described decoder, the described decoder inquired being sent to described client, in order to described client, described decoder being installed.
In the implementation that the third is possible, described decoding capacity information also comprises the version information of the decoder corresponding with described media formats of described client needs; Described when described decoding capacity information be described client can not decode to described media formats time, the decoder that the described client that server obtains described client to be needed can not be decoded to described media formats, and described decoder is sent to described client specifically comprises: the version information of the decoder corresponding with described media formats needed according to described client, inquire about the decoder that the version information of the decoder corresponding with described media formats needed with described client is corresponding; When the decoder that the version information inquiring the decoder corresponding with described media formats needed with described client is corresponding, the described decoder inquired is sent to described client, in order to described client described decoder is installed and described decoder after utilizing described installation is decoded to described media file to be played.
In second aspect, the invention provides a kind of multimedia reorientation method, described method comprises: the media formats of the media file to be played that client reception server sends; Determine the decoding capacity information corresponding with described media formats according to local decode ability, and described decoding capacity information is sent to described server; When described decoding capacity information be described local decode ability can not decode to described media formats time, receive the decoder that described server sends, and described decoder be installed; Receive described server carry out multimedia be redirected media file to be played after, utilize the decoder after described installation to decode to described media file to be played, and described decoded media file play.
In the implementation that the first is possible, describedly determine the decoding capacity information corresponding with described media formats according to local decode ability, and also comprise after described decoding capacity information is sent to described server: when described decoding capacity information be described local decode ability can decode to described media formats time, receive after described server carries out the non-decoded data stream of the media file to be played that multimedia is redirected, described media file to be played is decoded, and described decoded media file is play.
In conjunction with second aspect or the first the possible implementation in conjunction with second aspect, in the implementation that the second is possible, describedly determine the decoding capacity information corresponding with described media formats according to local decode ability, and described decoding capacity information is sent to described server specifically comprises: whether inquiry is local exists the decoder corresponding with described media formats; When there is the decoder corresponding with described media formats, then determine that described local decode ability can be decoded to described media formats, described decoding capacity information is that described local decode ability can be decoded to described media formats; When there is not the decoder corresponding with described media formats, then determine that described local decode ability can not be decoded to described media formats, described decoding capacity information is that described local decode ability can not be decoded to described media formats.
In the third aspect, the invention provides a kind of server, described server comprises: the first acquiring unit, for obtaining the media formats of media file to be played, and described media formats is sent to client; Receiving element, for receiving the decoding capacity information corresponding with described media formats of described client transmission and described decoding capacity information being transferred to second acquisition unit; Second acquisition unit, for receiving described decoding capacity information from described receiving element, when described decoding capacity information be described client can not decode to described media formats time, obtain the decoder corresponding with described media formats that described client needs, and described decoder is sent to described client, in order to described client, described decoder is installed; First is redirected unit, be redirected for described media file to be played is carried out multimedia, and described media file to be played is sent to described client with the form of non-decoded data stream, described decoder after using described installation in order to described client is decoded to described media file to be played, and plays described decoded media file.
In the implementation that the first is possible, described server also comprises: second is redirected unit, for receiving described decoding capacity information from described receiving element, when described decoding capacity information be described client can decode to described media formats time, described media file to be played is carried out multimedia be redirected, and described media file to be played is sent to described client with the form of non-decoded data stream, local mounted decoder is utilized to decode to described media file to be played in order to described client, and play described decoded media file.
In the implementation that the second is possible, described second acquisition unit also for when described decoding capacity information be described client can not decode to described media formats time, send to described client the Query Information of the decoder corresponding with described media formats that described client needs; Receive the response message carrying the version information of the decoder corresponding with described media formats that described client needs that described client sends; The version information of the decoder corresponding with described media formats needed according to described client, inquires about the decoder that the version information of the decoder corresponding with described media formats needed with described client is corresponding; When inquiring the decoder corresponding with the version information of described decoder, the described decoder inquired being sent to described client, in order to described client, described decoder being installed.
In the implementation that the third is possible, described decoding capacity information also comprises the version information of the decoder corresponding with described media formats of described client needs; The version information of with described media formats corresponding decoder of described second acquisition unit also for needing according to described client, inquires about the decoder that the version information of the decoder corresponding with described media formats needed with described client is corresponding; When the decoder that the version information inquiring the decoder corresponding with described media formats needed with described client is corresponding, the described decoder inquired is sent to described client, in order to described client described decoder is installed and described decoder after utilizing described installation is decoded to described media file to be played.
In fourth aspect, the invention provides a kind of client, described client comprises: the first receiving element, for the media formats of the media file to be played that reception server sends, and described media formats is transferred to described processing unit; Processing unit, for receiving described media formats from described first receiving element, determines the decoding capacity information corresponding with described media formats according to local decode ability, and described decoding capacity information is sent to described server; Second receiving element, for when described decoding capacity information be described local decode ability can not decode to described media formats time, receive the decoder that described server sends, and described decoder is installed, and described decoder transfers is redirected unit to first; First is redirected unit, for receiving described decoder from described second receiving element, receive after described server carries out the non-decoded data stream of the media to be played that multimedia is redirected, utilize the decoder after described installation to decode to described media file to be played, and described decoded media file is play.
In the implementation that the first is possible, described client also comprises: second is redirected unit, for when described decoding capacity information be described local decode ability can decode to described media formats time, receive after described server carries out the non-decoded data stream of the media to be played that multimedia is redirected, described media file to be played is decoded, and described decoded media file is play.
In conjunction with fourth aspect or the first the possible implementation in conjunction with fourth aspect, in the implementation that the second is possible, whether described processing unit exists the decoder corresponding with described media formats for inquiring about this locality; When there is the decoder corresponding with described media formats, then determine that described local decode ability can be decoded to described media formats, described decoding capacity information is that described local decode ability can be decoded to described media formats; When there is not the decoder corresponding with described media formats, then determine that described local decode ability can not be decoded to described media formats, described decoding capacity information is that described local decode ability can not be decoded to described media formats.
In the 5th, the invention provides a kind of server, described server comprises: network interface;
Processor;
Memory;
Physical store application program in which memory, described application program comprises and can be used for making described processor and described server perform the instruction of following process:
Obtain the media formats of media file to be played, and described media formats is sent to client;
Receive the decoding capacity information corresponding with described media formats that described client sends;
When described decoding capacity information be described client can not decode to described media formats time, obtain the decoder corresponding with described media formats that described client needs, and described decoder be sent to described client;
Described media file to be played is carried out multimedia be redirected, and described media file to be played is sent to described client with the form of non-decoded data stream, in order to described client described decoder to be installed and described decoder after utilizing described installation is decoded to described media file to be played and plays described decoded media file.
In the implementation that the first is possible, instruction after the decoding capacity information process corresponding with described media formats that described application program can be used for enabling described processor and described server to perform receiving described client to send is: when described decoding capacity information be described client described media formats is decoded time, described media file to be played is carried out multimedia be redirected, and described media file to be played is sent to described client with the form of non-decoded data stream, local mounted decoder is utilized to decode to described media file to be played in order to described client, and play described decoded media file.
In the implementation that the second is possible, described application program can be used for making described processor and described server perform when described decoding capacity information be described client can not decode to described media formats time, obtain the decoder corresponding with described media formats that described client needs, and the instruction described decoder being sent to described client process is: when described decoding capacity information be described client can not decode to described media formats time, the Query Information of the decoder corresponding with described media formats that described client needs is sent to described client, receive the response message carrying the version information of the decoder corresponding with described media formats that described client needs that described client sends, the version information of the decoder corresponding with described media formats that server needs according to described client, inquires about the decoder that the version information of the decoder corresponding with described media formats needed with described client is corresponding, when inquiring the decoder corresponding with the version information of described decoder, the described decoder inquired is sent to described client, in order to described client described decoder is installed and described decoder after utilizing described installation is decoded to described media file to be played.
In the implementation that the third is possible, described decoding capacity information also comprises the version information of the decoder corresponding with described media formats of described client needs; Described application program can be used for making described processor and described server perform when described decoding capacity information be described client can not decode to described media formats time, obtain the decoder corresponding with described media formats that described client needs, and the instruction described decoder being sent to described client process is: the version information of the decoder corresponding with described media formats needed according to described client, inquire about the decoder that the version information of the decoder corresponding with described media formats needed with described client is corresponding; When the decoder that the version information inquiring the decoder corresponding with described media formats needed with described client is corresponding, the described decoder inquired is sent to described client, in order to described client described decoder is installed and described decoder after utilizing described installation is decoded to described media file to be played.
In the 6th, the invention provides a kind of client, described client comprises:
Network interface:
Processor;
Memory;
Physical store application program in which memory, described application program comprises the instruction that can be used for making described processor and the following process of described client executing:
The media formats of the media file to be played that reception server sends;
Determine the decoding capacity information corresponding with described media formats according to local decode ability, and described decoding capacity information is sent to described server;
When described decoding capacity information be described local decode ability can not decode to described media formats time, receive the decoder that described server sends, and described decoder be installed;
Receive described server carry out multimedia be redirected media file data stream to be played after, utilize the decoder after described installation to decode to described media file to be played, and described decoded media file play.
In the implementation that the first is possible, described application program can be used for making described processor determine the decoding capacity information corresponding with described media formats with described client executing according to local decode ability, and by described decoding capacity information, the instruction be sent to after described server process is: when described decoding capacity information be described local decode ability can decode to described media formats time, receive described server carry out multimedia be redirected media file to be played after, described media file to be played is decoded, and described decoded media file is play.
In conjunction with the 6th aspect or the first the possible implementation in conjunction with the 6th aspect, in the implementation that the second is possible, described application program can be used for making described processor determine the decoding capacity information corresponding with described media formats with described client executing according to local decode ability, and the instruction described decoding capacity information being sent to described server process is: whether inquiry is local exists the decoder corresponding with described media formats; When there is the decoder corresponding with described media formats, then determine that described local decode ability can be decoded to described media formats, described decoding capacity information is that described local decode ability can be decoded to described media formats; When there is not the decoder corresponding with described media formats, then determine that described local decode ability can not be decoded to described media formats, described decoding capacity information is that described local decode ability can not be decoded to described media formats.
By applying multimedia reorientation method provided by the invention, server and client side, server obtains the media formats of media file to be played, and media formats is sent to client, the decoding capacity information corresponding with media formats that server receives client sends, when decoding capacity information be client can not decode to media formats time, the decoder relevant information that server sends according to client obtains the decoder corresponding with media formats, and decoder is sent to client, in order to client, the decoder received is installed, media file to be played is carried out multimedia by server to be redirected, and media file to be played is sent to client with the form of non-decoded data stream, then client uses the decoder after installing to decode to media file to be played, and decoded media file is play, when achieving the decoder when client does not have server-side media file corresponding, client dynamically obtains decoder from server, and download and this decoder is installed, enable to carry out multimedia to be redirected, finally by client media file to be played decoded and play.
Accompanying drawing explanation
The schematic diagram of the remote desktop server that Fig. 1 provides for the embodiment of the present invention one;
The server end flow chart of the multimedia reorientation method that Fig. 2 provides for the embodiment of the present invention two;
The client flow chart of the multimedia reorientation method that Fig. 3 provides for the embodiment of the present invention three;
The schematic diagram of the server that Fig. 4 provides for the embodiment of the present invention four;
The schematic diagram of the client that Fig. 5 provides for the embodiment of the present invention five;
The schematic diagram of the server that Fig. 6 provides for the embodiment of the present invention six;
The schematic diagram of the client that Fig. 7 provides for the embodiment of the present invention seven.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The multimedia reorientation method that the embodiment of the present invention provides, server and client side, media formats by obtaining the media formats of media file to be played, and is sent to client by server; The decoding capacity information corresponding with media formats that server receives client sends; When decoding capacity information be client can not decode to media formats time, the decoder relevant information that server sends according to client obtains the decoder corresponding with media formats, and decoder is sent to client, in order to client, the decoder received is installed; Media file to be played is carried out multimedia be redirected, and media file to be played is sent to client with the form of non-decoded data stream, then client uses the decoder after installing to decode to media file to be played, and decoded media file is play, when achieving the decoder when client does not have server-side media file corresponding, client dynamically obtains decoder from server, and download and this decoder is installed, enable to carry out multimedia to be redirected, finally by client media file to be played decoded and play.
The schematic diagram of the remote desktop server that Fig. 1 provides for the embodiment of the present invention one.As shown in the figure, the typical structure in remote desktop server comprises 3 large parts, is respectively hardware platform (150), hypervisor Hypervisor(151), virtual machine perform space (152).Hardware platform comprises hard disk (160), CPU(161 in server physical structure), network interface card (162), internal memory (163).Hypervisor(151) and virtual machine perform space (152) and each provide hardware platform and the software platform of virtual machine.Hypervisor(151) multiple virtual machine monitor (170) is contained, Hypervisor(151) be intermediate layer between physical hardware and virtual machine, be responsible for coordinating each virtual machine to the access of server hardware.Realize the virtual hardware platform (171) of virtual machine in virtual machine monitor, in virtual hardware platform (171), contain virtual hard disk (172), CPU(173 out), internal memory (174), video card (175) and network interface card (176) etc.The software systems of virtual machine operate on each virtual hardware platform, and one_to_one corresponding.Virtual machine performs in space (152) and has run multiple virtual machine (180), and client operating system (181) runs in virtual machine, and it contains a device drive layer (182), and has installed video driver (183), trawl performance (184) etc.
By user's desktop picture display flow process be on the client: display application Program Interfaces (the Application ProgrammingInterface of application program (185) the call operation system in virtual machine, API) interface of (186) display application program, display API(186) data are passed in display driver (183).Data packing alternately, is given trawl performance (184) by operating system by display protocol Agent (187) according to RDP by display driver (183) and display protocol Agent (187).Final data is through Microsoft Loopback Adapter (176), then the physical network card on server is sent to client (101).
The server end flow chart of the multimedia reorientation method that Fig. 2 provides for the embodiment of the present invention two.As shown in the figure, the embodiment of the present invention specifically comprises the following steps:
Step 210, server obtains the media formats of media file to be played, and media formats is sent to client.
Particularly, after user logs in remote desktop, and open media player when carrying out playback of media files, server obtains the media formats of this media file to be played, and this media formats is sent to client, whether there is the decoder corresponding with this media formats for client by inquiry, determine the decoding capability of client for this media formats.
When client query is to the decoder corresponding with this media formats, illustrates that client can be decoded to media file to be played and play, support this media formats, and the multimedia redirection function for this media formats that back-level server is initiated.When server end plays media file to be played, in server end decoding with play, and media file to be played is sent to client with the form of original non-decoded data stream decodes, and play.
When client does not inquire the decoder corresponding with this media formats, illustrate that client now can not be decoded to the media file to be played of this media formats and play, do not support this media formats.Client can by the decoding capacity information notification server of self, and this decoding capacity information is that client can not be decoded to the media formats received.In addition, the decoder version information etc. corresponding with media formats of client needs is also comprised in this decoding capacity information, object allows server provide support the decoder of this media formats, thus make client can the multimedia redirection function of back-level server.
Step 220, the decoding capacity information corresponding with media formats that server receives client sends.Wherein, decoding capacity information comprises client and can not to decode to media formats or client can be decoded to media formats.
Particularly, when decoding capacity information be client can decode to media formats time, illustrate that client supports this media formats; When decoding capacity information is that client can not be decoded to media formats, illustrate that client does not support this media formats, need service end to provide the decoder can supporting this media formats.
In one embodiment, when the decoding capacity information of the transmission of client be client can not decode to media formats time, this decoding capacity information can also comprise the version information of the decoder corresponding with media formats of client needs, and the version information of the decoder corresponding with media formats client needed is sent to server, the version information of the decoder corresponding with media formats needed according to client in order to server, inquires about the decoder corresponded; When inquiring the decoder corresponded, then the decoder inquired is sent to client, client is installed the decoder received and utilizes the decoder after by chapter to decode to the media file to be played of not decoding.In addition, this decoding capacity information can also comprise other information, such as, and the operation system information of client.
Step 230, when decoding capacity information be client can not decode to media formats time, server obtains the decoder corresponding with media formats that client needs, and decoder is sent to client, installs the decoder received in order to client.
Particularly, when client does not support the media formats of media file to be played, the decoder of the media formats supporting media file to be played directly can be sent to client by server, object allows client downloads also install the decoder supporting this media formats, can decode and play the media file data stream to be played of not decoding.
In one embodiment, this step 230 also comprises: when the decoding capacity information that server receives client transmission can not be decoded to media formats for this client, server sends the Query Information of the decoder corresponding with media formats that client needs to client, the version information of the decoder corresponding with media formats needed in order to client query self, the form of the media file to be played that client sends according to server end, the media play framework that client adopts, whether client the information such as support hardware decoding corresponding with the media formats decoder version information determining self to need.After the version information of the decoder corresponding with media formats needed to himself when client query, the version information of the decoder corresponding with media formats of these needs is fed back to server; The response message carrying the version information of the decoder corresponding with media formats that client needs of server receives client transmission; The version information of the decoder corresponding with media formats that server needs according to client, the decoder that inquiry is corresponding with the version information of decoder in the administration module of server; When server lookup is to the decoder corresponding with the version information of decoder, decoder is sent to client, in order to client the decoder received is installed and utilize the decoder after installing to decode to media file to be played.
In another embodiment, this step 230 also comprises: when the decoding capacity information that server receives client transmission also comprises the version information of the decoder corresponding with media formats of client needs, the version information of the decoder corresponding with media formats that server needs according to client, inquires about the decoder corresponded; When inquiring the decoder corresponded, decoder being sent to client, utilizing decoder to decode to the media file to be played of not decoding in order to client.
Particularly, the version information of the decoder corresponding with media formats that server needs according to client, in the administration module of self, inquiring about the decoder can decoded to media file to be played, when inquiring this decoder, then this decoder being sent to client.
In addition, the administration module of server is except the above-mentioned decoder query function mentioned, also having decoder increases function, decoder delete function and decoder more New function.
This several function the following detailed description of administration module:
Decoder query function, according to the information that client sends, such as, client operating system, decoder title, client adopts media play framework as information such as DirectShow or other media play frameworks, if inquire respective decoder, decoder is supplied to client.
Decoder increases function, and user adds new decoder, needs the information such as platform, version formulating the support of this decoder during interpolation.
Decoder delete function, deletes the decoder of specifying.
Decoder is New function more, when decoder version is upgraded, needs the corresponding decoder in more new decoder management server.
Step 240, media file to be played is carried out multimedia by server to be redirected, and media file to be played is sent to client with the form of non-decoded data stream, utilize decoder to use the decoder after installing to decode to media file to be played in order to client, and decoded media file is play.
Particularly, multimedia is redirected and refers to when server end plays media file, does not decode at server end and plays, and the media file data stream of not decoding is sent to client decodes, and play, the use of server end CPU can be reduced like this, and reduce bandwidth use.
In another embodiment, also comprise after step 220: when server receive decoding capacity information that client sends be client can decode to media formats time, media file to be played is carried out multimedia by server to be redirected, and media file to be played is sent to client with the form of non-decoded data stream, local mounted decoder is utilized to decode to media file to be played by client, and the media file after broadcast decoder.
Particularly, when decoding capacity information be client can decode to media formats time illustrate that client supports the media formats of media file to be played, can to decode to media file to be played, and the media file after broadcast decoder.
Therefore, the multimedia reorientation method that the embodiment of the present invention provides, media formats by obtaining the media formats of media file to be played, and is sent to client by server; The decoding capacity information corresponding with media formats that server receives client sends; When decoding capacity information be client can not decode to media formats time, the decoder relevant information that server sends according to client obtains the decoder corresponding with media formats, and decoder is sent to client, in order to client, the decoder received is installed; Media file to be played is carried out multimedia with the form of non-decoded data stream be redirected, and media file to be played is sent to client, then client uses the decoder after installing decode to media file to be played and play decoded media file, achieve and dynamically obtain decoder from server, and download and this decoder is installed, enable to carry out multimedia to be redirected, finally treat played file by client and carry out decoding and playing.
The client flow chart of the multimedia reorientation method that Fig. 3 provides for the embodiment of the present invention three.As shown in the figure, the embodiment of the present invention specifically comprises the following steps:
Step 310, the media formats of the media file to be played that client reception server sends.
Particularly, after user logs in remote desktop, and open media player when carrying out playback of media files, server obtains the media formats of this media file to be played, and this media formats is sent to client, whether client exists the decoder corresponding with this media formats by inquiry, determines the decoding capability of client for this media formats.
Step 320, client determines the decoding capacity information corresponding with media formats according to local decode ability, and decoding capacity information is sent to server.
In one embodiment, in this step 320, according to local decode ability, client determines that the decoding capacity information corresponding with media formats specifically comprises:
Whether client query this locality exists the decoder corresponding with the media formats of media file to be played;
When this locality exists corresponding with this media formats decoder, then determine that local decode ability can be decoded to the media file to be played of this media formats, and decoding capacity information is local decode ability can decode to this media formats; When this locality does not exist the decoder corresponding with media formats, then determine that local decode ability can not be decoded to the media file to be played of media formats, and decoding capacity information is local decode ability can not decode to media formats.In addition, client is after receiving " decoder messages corresponding with media formats that inquiring client terminal needs " of server end transmission, the form of the media file to be played that client sends according to server end, the media play framework that client adopts, whether client the information such as support hardware decoding corresponding with the media formats decoder version information determining self to need, and this information is sent to server, object allows server provide support the decoder of this media formats, thus make client can the multimedia redirection function of back-level server.
In another embodiment, also comprise after this step 320: when the decoding capacity information of client be local decode ability can not decode to media formats time, the decoder that reception server sends, and install this decoder; After the media file to be played that multimedia of carrying out reception server is redirected, utilize the decoder after installing to decode to media file to be played, and decoded media file is play.
Step 330, when the decoding capacity information of client be media formats that local decode ability can not treat played file decode time, the decoder that client reception server sends, and install this decoder.
In one embodiment, also comprise in step 330:
When the decoding capacity information of client be local decode ability can not decode to media formats time, the Query Information of the decoder corresponding with media formats that the client that reception server sends needs.Wherein, server sends the object of this Query Information is to obtain corresponding with the media formats decoder version information needed in client; The version information of the decoder corresponding with media formats that the client query client corresponding with the media formats of file to be played needs; User end to server sends the response message of the version information carrying the decoder corresponding with media formats that client needs, in order to the decoder that server lookup is corresponding with the version information of this decoder.
Step 340, client reception server carries out the non-decoded data stream of the media file to be played that multimedia is redirected, and utilizes the decoder after installing to decode to media file to be played, and plays decoded media file.
Therefore, the multimedia reorientation method that the embodiment of the present invention provides, the media formats of the media file to be played that client is sent by reception server; Client determines the decoding capacity information corresponding with media formats according to local decode ability, and decoding capacity information is sent to server; When decoding capacity information be local decode ability can not decode to media formats time, the decoder that client reception server sends, and installs decoder; After the non-decoded data stream of the media file to be played that multimedia of carrying out client reception server is redirected, the decoder after installing is utilized to decode to media file to be played, and decoded media file is play, thus achieve dynamically from server acquisition decoder, and download and this decoder is installed, enable to carry out multimedia to be redirected, finally treat played file by client and carry out decoding and playing.
Specifically describe server end and client below and carry out by inquiry mode the process that multimedia is redirected:
Step a, server end media player, as Windows Media Player, QQPlayer etc. play media file, is obtained the media formats of this media file by the media formats acquisition module of server end.
Step b, media formats is sent to the media format negotiation module of server end by the media formats acquisition module of server end.
Step c, media formats is sent in the media formats acquisition module of client by the media format negotiation module of server end.
Steps d, whether the decoding capability enquiry module inquiring client terminal of client supports the media formats received.
Step e, when client does not support this kind of media formats, the decoding capability enquiry module notice media formats acquisition module of client does not support this kind of form.
Step f, the media format negotiation module of the media formats acquisition module announcement server end of client, this client not back-level server send media formats.
Step g, the decoding capability negotiation module of the media format negotiation module announcement server end of server end starts to carry out dynamic negotiation decoding capability.
Step h, the decoding capability negotiation module of server end sends the decoding capability negotiation module of query messages to client of the decoder corresponding with media formats that client needs.
Step I, Query Result is returned to the decoding capability negotiation module of server end by the decoding capability negotiation module of client, and described Query Result comprises the version information of the decoder corresponding with media formats of client needs.In addition, this Query Result can also comprise other information, such as, and the operation system information of client.
Step j, the decoder that the version information of the decoder corresponding with media formats that the decoding capability negotiation module of server end needs to the inquiry of decoder administration module with client is corresponding.
Step k, the decoder inquired is sent to the decoding capability negotiation module of client by the decoding capability negotiation module of server end.
Step l, the decoding capability negotiation module of client starts to install this decoder after receiving the decoder corresponding with media formats self needed.
Step m, returns successful installation to the decoding capability negotiation module of server end.
The schematic diagram of the server that Fig. 4 provides for the embodiment of the present invention four.The multimedia reorientation method that this server provides for performing the embodiment of the present invention two.As shown in the figure, the embodiment of the present invention specifically comprises: the first acquiring unit 41, receiving element 42, second acquisition unit 43 and first are redirected unit 44.
Media formats for obtaining the media formats of media file to be played, and is sent to client by the first acquiring unit 41; Receiving element 42 is for receiving the decoding capacity information corresponding with media formats of client transmission and decoding capacity information being transferred to second acquisition unit 43; Second acquisition unit 43 is for from receiving element receipt decoding ability information, when decoding capacity information be client can not decode to media formats time, obtain the decoder corresponding with media formats that client needs, and decoder is sent to client, in order to client, the decoder received is installed; First is redirected unit 44 is redirected for media file to be played is carried out multimedia, and media file to be played is sent to client with the form of non-decoded data stream, use the decoder after installing to decode to media file to be played in order to client, and decoded media file is play.
Further, the server that the embodiment of the present invention provides also comprises: second is redirected unit 45.
Second is redirected unit 45 for from receiving element 42 receipt decoding ability information, when decoding capacity information be client can decode to media formats time, media file to be played is carried out multimedia be redirected, and media file to be played is sent to client with the form of non-decoded data stream, local mounted decoder is utilized to decode to media file to be played in order to client, and the media file after broadcast decoder.
In one embodiment, second acquisition unit 43 also for when decoding capacity information be client can not decode to media formats time, send to client the Query Information of the decoder corresponding with media formats that client needs, whether the form of the media file to be played that client sends according to server end, the media play framework of client employing, the client information such as support hardware decoding determine the decoder version information corresponding with media formats that self needs; Receive the response message carrying the version information of the decoder corresponding with media formats that client needs that client sends; According to the version information of the decoder corresponding with media formats that client needs, inquire about the decoder corresponding with the version information of decoder; When inquiring the decoder corresponding with the version information of decoder, decoder being sent to client, in order to client, the decoder received being installed.
In another embodiment, decoding capacity information also comprises the decoder version information corresponding with media formats of client needs; With the media formats corresponding decoder version information of second acquisition unit 43 also for needing according to client, the decoder that the decoder version information corresponding with media formats that inquiry and client need is corresponding; When inquiring the corresponding decoder of the decoder version information corresponding with media formats that needs with client, decoder being sent to client, utilizing decoder to decode to media file to be played in order to client.
Therefore, the server that the embodiment of the present invention provides, by obtaining the media formats of media file to be played, and is sent to client by media formats; Receive the decoding capacity information corresponding with media formats that client sends; When decoding capacity information be client can not decode to media formats time, obtain the decoder corresponding with media formats, and decoder be sent to client, in order to decoder, the decoder received is installed; Media file to be played is carried out multimedia be redirected, and media file to be played is sent to client with the form of non-decoded data stream, the decoder after installing is used to decode to media file to be played and play decoded media file in order to client, achieve and dynamically obtain decoder from server, and download and this decoder is installed, enable to carry out multimedia to be redirected, finally treat played file by client and carry out decoding and playing.
The schematic diagram of the client that Fig. 5 provides for the embodiment of the present invention six.The multimedia reorientation method that this client provides for performing the embodiment of the present invention three.As shown in the figure, the embodiment of the present invention specifically comprises: the first receiving element 51, processing unit 52, second receiving element 53 and first are redirected unit 54.
The media formats of the media file to be played that the first receiving element 51 sends for reception server, and media formats is transferred to processing unit; Processing unit 52, for from the first receiving element receiving media form, is determined the decoding capacity information corresponding with media formats according to local decode ability, and decoding capacity information is sent to server; Second receiving element 53 for when decoding capacity information be local decode ability can not decode to media formats time, the decoder that reception server sends, and installs decoder, and decoder transfers is given the first redirected unit; First is redirected unit 54 for from the second receiving element Rcv decoder, after the media file to be played that multimedia of carrying out reception server is redirected, utilize the decoder after installing to decode to media file to be played, and decoded media file is play.
Further, the server that the embodiment of the present invention provides also comprises: second is redirected unit 55.
Second be redirected unit 55 for when decoding capacity information be local decode ability can decode to media formats time, after the non-decoded data stream of the media file to be played that multimedia of carrying out reception server is redirected, media file to be played is decoded, and decoded media file is play.
In one embodiment, whether processing unit 52 exists the decoder corresponding with media formats for inquiring about this locality; When there is the decoder corresponding with media formats, then determine that local decode ability can be decoded to media formats, decoding capacity information is that local decode ability can be decoded to media formats; When there is not the decoder corresponding with media formats, then determine that local decode ability can not be decoded to media formats, decoding capacity information is that local decode ability can be decoded to media formats.Wherein, decoding capacity information can also comprise the decoder version information corresponding with media formats of client needs, the decoder that the decoder version information corresponding with media formats needed in order to decoder inquiry and client is corresponding.
In another embodiment, the second receiving element 53 also for when decoding capacity information be local decode ability can not decode to media formats time, the Query Information of the decoder corresponding with media formats that the client that reception server sends needs; Inquire about the version information of the decoder corresponding with media formats that the client corresponding with media formats needs; The response message of the version information carrying the decoder corresponding with media formats that client needs is sent, in order to the decoder that server lookup is corresponding with the version information of decoder to server.
Therefore, the client that the embodiment of the present invention provides, the media formats of the media file to be played sent by reception server; Determine the decoding capacity information corresponding with media formats according to local decode ability, and decoding capacity information is sent to server; When decoding capacity information be local decode ability can not decode to media formats time, the decoder that reception server sends, and installs decoder; After the media file to be played that multimedia of carrying out reception server is redirected, the decoder after installing is utilized to decode to media file to be played, and decoded media file is play, thus achieve dynamically from server acquisition decoder, and download and this decoder is installed, enable to carry out multimedia to be redirected, treat played file by client and carry out decoding and playing.
The schematic diagram of the server that Fig. 6 provides for the embodiment of the present invention six.The multimedia reorientation method that this server provides for performing the embodiment of the present invention two.As shown in the figure, the embodiment of the present invention specifically comprises: network interface 61, processor 62 and memory 63.Server-bus 64 is for interconnection network interface 61, processor 62 and memory 63.Wherein, memory 63 can be permanent memory, and such as hard disk drive and flash memory have software module and device driver in memory 63.Software module can perform the various functional modules of said method of the present invention; Device driver can be network and interface drive program.
When starting, these component softwares are loaded in memory 63, are then accessed by processor 62 and perform as given an order:
Obtain the media formats of media file to be played, and this media formats is sent to client;
Receive the decoding capacity information corresponding with media formats that client sends;
When decoding capacity information be client can not decode to media formats time, obtain the decoder corresponding with media formats that client needs, and decoder be sent to client, in order to client, decoder is installed;
Media file to be played is carried out multimedia be redirected, and media file to be played is sent to client with the form of non-decoded data stream, use the decoder after installing to decode to media file to be played in order to client, and decoded media file is play.
In one embodiment, physical store application program in which memory, instruction after the decoding capacity information process corresponding with media formats that described application program can be used for enabling described processor and described server to perform receiving client to send is: when decoding capacity information be client media formats is decoded time, media file to be played is carried out multimedia be redirected, and media file to be played is sent to client with the form of non-decoded data stream, local mounted decoder is utilized to decode to media file to be played in order to client, and the media file after broadcast decoder.
In another embodiment, physical store application program in which memory, described application program can be used for making described processor and described server perform when decoding capacity information be client can not decode to media formats time, obtain the decoder corresponding with media formats that client needs, and instruction decoder being sent to client process is: when decoding capacity information be client can not decode to media formats time, send to client the Query Information of the decoder corresponding with media formats that client needs; Receive the response message carrying the version information of the decoder corresponding with media formats that client needs that client sends; The version information of the decoder corresponding with media formats that server needs according to client, inquires about the decoder that the version information of the decoder corresponding with media formats needed with client is corresponding; When inquiring the decoder corresponding with the version information of decoder, the decoder inquired being sent to client, in order to client the decoder received being installed and utilizing the decoder after installing to decode to media file to be played.
In another embodiment, physical store application program in which memory, described decoding capacity information also comprises the decoder version information corresponding with media formats of client needs; Described application program can be used for making processor and server perform when described decoding capacity information be described client can not decode to described media formats time, obtain the decoder corresponding with described media formats that client needs, and instruction decoder being sent to client process is:
According to the decoder version information corresponding with media formats that client needs, the decoder that the decoder version information corresponding with media formats that inquiry and client need is corresponding;
When inquiring the corresponding decoder of the decoder version information corresponding with media formats that needs with client, the decoder inquired is sent to client, in order to client decoder is installed and utilize the decoder after installing to decode to media file to be played.
Therefore, the server that the embodiment of the present invention provides, by obtaining the media formats of media file to be played, and is sent to client by media formats; Receive the decoding capacity information corresponding with media formats that client sends; When decoding capacity information be client can not decode to media formats time, obtain the decoder corresponding with media formats, and decoder be sent to client, in order to client, the decoder received is installed; Media file to be played is carried out multimedia be redirected, and media file to be played is sent to client with the form of non-decoded data stream, the decoder after installing is used to decode to media file to be played and play decoded media file in order to client, achieve and dynamically obtain decoder from server, and download and this decoder is installed, enable to carry out multimedia to be redirected, finally treat played file by client and carry out decoding and playing.
The schematic diagram of the client that Fig. 7 provides for the embodiment of the present invention seven.The multimedia reorientation method that this client provides for performing the embodiment of the present invention three.As shown in the figure, the embodiment of the present invention specifically comprises: as shown in the figure, and the embodiment of the present invention specifically comprises: network interface 71, processor 72 and memory 73.Server-bus 74 is for interconnection network interface 71, processor 72 and memory 73.Wherein, memory 73 can be permanent memory, and such as hard disk drive and flash memory have software module and device driver in memory 73.Software module can perform the various functional modules of said method of the present invention; Device driver can be network and interface drive program.
When starting, these component softwares are loaded in memory 73, are then accessed by processor 72 and perform as given an order:
The media formats of the media file to be played that reception server sends;
Determine the decoding capacity information corresponding with media formats according to local decode ability, and decoding capacity information is sent to server;
When decoding capacity information be local decode ability can not decode to media formats time, the decoder that reception server sends, and installs decoder;
After the non-decoded data stream of the media file to be played that multimedia of carrying out reception server is redirected, utilize the decoder after installing to decode to media file to be played, and decoded media file is play.
Further, physical store application program in which memory, described application program can be used for making described processor determine the decoding capacity information corresponding with media formats with described client executing according to local decode ability, and the instruction after decoding capacity information is sent to server process is: when decoding capacity information be local decode ability can decode to media formats time, after the non-decoded data stream of the media file to be played that multimedia of carrying out reception server is redirected, media file to be played is decoded, and decoded media file is play.
In one embodiment, physical store application program in which memory, described application program can be used for making described processor determine the decoding capacity information corresponding with media formats with described client executing according to local decode ability, and instruction decoding capacity information being sent to server process is:
Whether inquiry is local exists the decoder corresponding with media formats;
When there is the decoder corresponding with media formats, then determine that local decode ability can be decoded to media formats, decoding capacity information is that local decode ability can be decoded to media formats; When there is not the decoder corresponding with media formats, then determine that local decode ability can not be decoded to media formats, decoding capacity information is that local decode ability can not be decoded to media formats.
In another embodiment, decoding capacity information also comprises the decoder version information corresponding with media formats of client needs, the decoder that the decoder version information corresponding with media formats needed in order to server lookup and client is corresponding.
In another embodiment, physical store application program in which memory, described application program can be used for making described processor and described client executing when described decoding capacity information be local decode ability can not decode to media formats time, the decoder that reception server sends, and the instruction of installing decoder process is: when decoding capacity information be local decode ability can not decode to media formats time, the Query Information of the decoder corresponding with media formats that the client that reception server sends needs;
Inquire about the version information of the decoder corresponding with media formats that the client corresponding with media formats needs;
The response message of the version information carrying the decoder corresponding with media formats that client needs is sent, in order to the decoder that server lookup is corresponding with the version information of decoder to server.
Therefore, the client that the embodiment of the present invention provides, the media formats of the media file to be played sent by reception server; Determine the decoding capacity information corresponding with media formats according to local decode ability, and decoding capacity information is sent to server; When decoding capacity information be local decode ability can not decode to media formats time, the decoder that reception server sends, and installs decoder; After the non-decoded data stream of the media file to be played that multimedia of carrying out reception server is redirected, the decoder after installing is utilized to decode to media file to be played, and decoded media file is play, thus achieve dynamically from server acquisition decoder, and download and this decoder is installed, enable to carry out multimedia to be redirected, treat played file by client and carry out decoding and playing.
Professional should recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only the specific embodiment of the present invention; the protection range be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (27)

1. a multimedia reorientation method, is characterized in that, described method comprises:
Server obtains the media formats of media file to be played, and described media formats is sent to client;
Server receives the decoding capacity information corresponding with described media formats that described client sends;
When described decoding capacity information be described client can not decode to described media formats time, server obtains the decoder corresponding with described media formats that described client needs, and described decoder is sent to described client, in order to described client, described decoder is installed;
Described media file to be played is carried out multimedia be redirected, and described media file to be played is sent to described client with the form of non-decoded data stream, described decoder after using described installation in order to described client is decoded to described media file to be played, and plays described decoded media file.
2. multimedia reorientation method according to claim 1, is characterized in that, also comprises after the decoding capacity information corresponding with described media formats that the described client of described reception sends:
When described decoding capacity information be described client can decode to described media formats time, described media file to be played is carried out multimedia by server to be redirected, and described media file to be played is sent to described client with the form of non-decoded data stream, utilize local mounted decoder to decode to described media file to be played in order to described client, and play described decoded media file.
3. multimedia reorientation method according to claim 1, it is characterized in that, described when described decoding capacity information be described client can not decode to described media formats time, obtain the decoder corresponding with described media formats that described client needs, and described decoder is sent to described client, comprising:
When described decoding capacity information be described client can not decode to described media formats time, send to described client the Query Information of the decoder corresponding with described media formats that described client needs;
Receive the response message carrying the version information of the decoder corresponding with described media formats that described client needs that described client sends;
The version information of the decoder corresponding with described media formats that server needs according to described client, inquires about the decoder that the version information of the decoder corresponding with described media formats needed with described client is corresponding;
When inquiring the decoder corresponding with the version information of described decoder, the described decoder inquired being sent to described client, in order to described client, described decoder being installed.
4. multimedia reorientation method according to claim 1, is characterized in that, described decoding capacity information also comprises the version information of the decoder corresponding with described media formats of described client needs; Described when described decoding capacity information be described client can not decode to described media formats time, server obtains the decoder corresponding with described media formats that described client needs, and described decoder is sent to described client specifically comprises:
The version information of the decoder corresponding with described media formats needed according to described client, inquires about the decoder that the version information of the decoder corresponding with described media formats needed with described client is corresponding;
When the decoder that the version information inquiring the decoder corresponding with described media formats needed with described client is corresponding, the described decoder inquired is sent to described client, in order to described client described decoder is installed and described decoder after utilizing described installation is decoded to described media file to be played.
5. a multimedia reorientation method, is characterized in that, described method comprises:
The media formats of the media file to be played that client reception server sends;
Client determines the decoding capacity information corresponding with described media formats according to local decode ability, and described decoding capacity information is sent to described server;
When described decoding capacity information be described local decode ability can not decode to described media formats time, receive the decoder that described server sends, and described decoder be installed;
Receive after described server carries out the non-decoded data stream of the media file to be played that multimedia is redirected, utilize the decoder after described installation to decode to described media file to be played, and described decoded media file is play.
6. multimedia reorientation method according to claim 5, is characterized in that, describedly determines the decoding capacity information corresponding with described media formats according to local decode ability, and also comprises after described decoding capacity information is sent to described server:
When described decoding capacity information be described local decode ability can decode to described media formats time, receive after described server carries out the non-decoded data stream of the media file to be played that multimedia is redirected, described media file to be played is decoded, and described decoded media file is play.
7. the multimedia reorientation method according to claim 5 or 6, is characterized in that, describedly determines the decoding capacity information corresponding with described media formats according to local decode ability, and described decoding capacity information is sent to described server specifically comprises:
Whether inquiry is local exists the decoder corresponding with described media formats;
When there is the decoder corresponding with described media formats, then determine that described local decode ability can be decoded to described media formats, described decoding capacity information is that described local decode ability can be decoded to described media formats; When there is not the decoder corresponding with described media formats, then determine that described local decode ability can not be decoded to described media formats, described decoding capacity information is that described local decode ability can not be decoded to described media formats.
8. multimedia reorientation method according to claim 7, it is characterized in that, described decoding capacity information also comprises the decoder version information corresponding with described media formats of described client needs, the decoder that the decoder version information corresponding with described media formats needed with described client in order to described server lookup is corresponding.
9. the multimedia reorientation method according to claim 5 or 7, it is characterized in that, described when described decoding capacity information be described local decode ability can not decode to described media formats time, receive the decoder that described server sends, and described decoder is installed specifically comprises:
When described decoding capacity information be described local decode ability can not decode to described media formats time, receive the Query Information of the decoder corresponding with described media formats that described client that described server sends needs;
Inquire about the version information of the decoder corresponding with described media formats that the described client corresponding with described media formats needs;
The response message of the version information carrying the decoder corresponding with described media formats that described client needs is sent, in order to the decoder that described server lookup is corresponding with the version information of described decoder to described server.
10. a server, is characterized in that, described server comprises:
First acquiring unit, for obtaining the media formats of media file to be played, and is sent to client by described media formats;
Receiving element, for receiving the decoding capacity information corresponding with described media formats of described client transmission and described decoding capacity information being transferred to second acquisition unit;
Second acquisition unit, for receiving described decoding capacity information from described receiving element, when described decoding capacity information be described client can not decode to described media formats time, obtain the decoder corresponding with described media formats that described client needs, and described decoder is sent to described client, in order to described client, described decoder is installed;
First is redirected unit, be redirected for described media file to be played is carried out multimedia, and described media file to be played is sent to described client with the form of non-decoded data stream, described decoder after using described installation in order to described client is decoded to described media file to be played, and plays described decoded media file.
11. servers according to claim 8, is characterized in that, described server also comprises:
Second is redirected unit, for receiving described decoding capacity information from described receiving element, when described decoding capacity information be described client can decode to described media formats time, described media file to be played is carried out multimedia be redirected, and described media file to be played is sent to described client with the form of non-decoded data stream, utilize local mounted decoder to decode to described media file to be played in order to described client, and play described decoded media file.
12. servers according to claim 8, it is characterized in that, described second acquisition unit also for when described decoding capacity information be described client can not decode to described media formats time, send to described client the Query Information of the decoder corresponding with described media formats that described client needs; Receive the response message carrying the version information of the decoder corresponding with described media formats that described client needs that described client sends; The version information of the decoder corresponding with described media formats needed according to described client, inquires about the decoder that the version information of the decoder corresponding with described media formats needed with described client is corresponding; When inquiring the decoder corresponding with the version information of described decoder, the described decoder inquired being sent to described client, in order to described client, described decoder being installed.
13. servers according to claim 8, is characterized in that, described decoding capacity information also comprises the version information of the decoder corresponding with described media formats of described client needs; The version information of with described media formats corresponding decoder of described second acquisition unit also for needing according to described client, inquires about the decoder that the version information of the decoder corresponding with described media formats needed with described client is corresponding; When the decoder that the version information inquiring the decoder corresponding with described media formats needed with described client is corresponding, the described decoder inquired is sent to described client, in order to described client described decoder is installed and described decoder after utilizing described installation is decoded to described media file to be played.
14. 1 kinds of clients, is characterized in that, described client comprises:
First receiving element, for the media formats of the media file to be played that reception server sends, and is transferred to described processing unit by described media formats;
Processing unit, for receiving described media formats from described first receiving element, determines the decoding capacity information corresponding with described media formats according to local decode ability, and described decoding capacity information is sent to described server;
Second receiving element, for when described decoding capacity information be described local decode ability can not decode to described media formats time, receive the decoder that described server sends, and described decoder is installed, and described decoder transfers is redirected unit to first;
First is redirected unit, for receiving described decoder from described second receiving element, receive after described server carries out the non-decoded data stream of the media to be played that multimedia is redirected, utilize the decoder after described installation to decode to described media file to be played, and described decoded media file is play.
15. clients according to claim 14, is characterized in that, described client also comprises:
Second is redirected unit, for when described decoding capacity information be described local decode ability can decode to described media formats time, receive after described server carries out the non-decoded data stream of the media to be played that multimedia is redirected, described media file to be played is decoded, and described decoded media file is play.
16. clients according to claims 14 or 15, is characterized in that, whether described processing unit locally exists the decoder corresponding with described media formats for inquiring about; When there is the decoder corresponding with described media formats, then determine that described local decode ability can be decoded to described media formats, described decoding capacity information is that described local decode ability can be decoded to described media formats; When there is not the decoder corresponding with described media formats, then determine that described local decode ability can not be decoded to described media formats, described decoding capacity information is that described local decode ability can not be decoded to described media formats.
17. clients according to claim 16, it is characterized in that, described decoding capacity information also comprises the decoder version information corresponding with described media formats of described client needs, inquires about the corresponding decoder of the decoder version information corresponding with described media formats that needs with described client in order to described decoder.
18. clients according to claim 14 or 16, it is characterized in that, described second receiving element also for when described decoding capacity information be described local decode ability can not decode to described media formats time, receive the Query Information of the decoder corresponding with described media formats that described client that described server sends needs; Inquire about the version information of the decoder corresponding with described media formats that the described client corresponding with described media formats needs; The response message of the version information carrying the decoder corresponding with described media formats that described client needs is sent, in order to the decoder that described server lookup is corresponding with the version information of described decoder to described server.
19. 1 kinds of servers, is characterized in that, described server comprises:
Network interface;
Processor;
Memory;
Physical store application program in which memory, described application program comprises and can be used for making described processor and described server perform the instruction of following process:
Obtain the media formats of media file to be played, and described media formats is sent to client;
Receive the decoding capacity information corresponding with described media formats that described client sends;
When described decoding capacity information be described client can not decode to described media formats time, obtain the decoder corresponding with described media formats that described client needs, and described decoder is sent to described client, in order to described client, described decoder is installed;
Described media file to be played is carried out multimedia be redirected, and described media file to be played is sent to described client with the form of non-decoded data stream, described decoder after using described installation in order to described client is decoded to described media file to be played, and plays described decoded media file.
20. servers according to claim 19, it is characterized in that, instruction after the decoding capacity information process corresponding with described media formats that described application program can be used for enabling described processor and described server to perform receiving described client to send is: when described decoding capacity information be described client described media formats is decoded time, described media file to be played is carried out multimedia be redirected, and described media file to be played is sent to described client with the form of non-decoded data stream, local mounted decoder is utilized to decode to described media file to be played in order to described client, and play described decoded media file.
21. servers according to claim 19, it is characterized in that, described application program can be used for making described processor and described server perform when described decoding capacity information be described client can not decode to described media formats time, obtain the decoder corresponding with described media formats that described client needs, and the instruction described decoder being sent to described client process is:
When described decoding capacity information be described client can not decode to described media formats time, send to described client the Query Information of the decoder corresponding with described media formats that described client needs;
Receive the response message carrying the version information of the decoder corresponding with described media formats that described client needs that described client sends;
The version information of the decoder corresponding with described media formats that server needs according to described client, inquires about the decoder that the version information of the decoder corresponding with described media formats needed with described client is corresponding;
When inquiring the decoder corresponding with the version information of described decoder, the described decoder inquired is sent to described client, in order to described client described decoder is installed and described decoder after utilizing described installation is decoded to described media file to be played.
22. servers according to claim 19, is characterized in that, described decoding capacity information also comprises the version information of the decoder corresponding with described media formats of described client needs; Described application program can be used for making described processor and described server perform when described decoding capacity information be described client can not decode to described media formats time, obtain the decoder corresponding with described media formats that described client needs, and the instruction described decoder being sent to described client process is:
The version information of the decoder corresponding with described media formats needed according to described client, inquires about the decoder that the version information of the decoder corresponding with described media formats needed with described client is corresponding;
When the decoder that the version information inquiring the decoder corresponding with described media formats needed with described client is corresponding, the described decoder inquired is sent to described client, in order to described client described decoder is installed and described decoder after utilizing described installation is decoded to described media file to be played.
23. 1 kinds of clients, is characterized in that, described client comprises:
Network interface:
Processor;
Memory;
Physical store application program in which memory, described application program comprises and can be used for making described processor and described server perform the instruction of following process:
The media formats of the media file to be played that reception server sends;
Determine the decoding capacity information corresponding with described media formats according to local decode ability, and described decoding capacity information is sent to described server;
When described decoding capacity information be described local decode ability can not decode to described media formats time, receive the decoder that described server sends, and described decoder be installed;
Receive described server carry out multimedia be redirected media file to be played after, utilize the decoder after described installation to decode to described media file to be played, and described decoded media file play.
24. clients according to claim 23, it is characterized in that, described application program can be used for making described processor determine the decoding capacity information corresponding with described media formats with described client executing according to local decode ability, and the instruction be sent to after described server process is by described decoding capacity information:
When described decoding capacity information be described local decode ability can decode to described media formats time, receive described server carry out multimedia be redirected media file to be played after, described media file to be played is decoded, and described decoded media file is play.
25. clients according to claim 23 or 24, it is characterized in that, described application program can be used for making described processor determine the decoding capacity information corresponding with described media formats with described client executing according to local decode ability, and the instruction described decoding capacity information being sent to described server process is:
Whether inquiry is local exists the decoder corresponding with described media formats;
When there is the decoder corresponding with described media formats, then determine that described local decode ability can be decoded to described media formats, described decoding capacity information is that described local decode ability can be decoded to described media formats; When there is not the decoder corresponding with described media formats, then determine that described local decode ability can not be decoded to described media formats, described decoding capacity information is that described local decode ability can not be decoded to described media formats.
26. clients according to claim 25, it is characterized in that, described decoding capacity information also comprises the decoder version information corresponding with described media formats of described client needs, the decoder that the decoder version information corresponding with described media formats needed with described client in order to described server lookup is corresponding.
27. clients according to claim 23 or 25, it is characterized in that, described application program can be used for making described processor and described client executing when described decoding capacity information be described local decode ability can not decode to described media formats time, receive the decoder that described server sends, and the instruction of installing described decoder process is:
When described decoding capacity information be described local decode ability can not decode to described media formats time, receive the Query Information of the decoder corresponding with described media formats that described client that described server sends needs;
Inquire about the version information of the decoder corresponding with described media formats that the described client corresponding with described media formats needs;
The response message of the version information carrying the decoder corresponding with described media formats that described client needs is sent, in order to the decoder that described server lookup is corresponding with the version information of described decoder to described server.
CN201380000281.4A 2013-02-05 2013-02-05 Multimedia redirection method, server and client Pending CN104737550A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013071371 2013-02-05

Publications (1)

Publication Number Publication Date
CN104737550A true CN104737550A (en) 2015-06-24

Family

ID=53459274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380000281.4A Pending CN104737550A (en) 2013-02-05 2013-02-05 Multimedia redirection method, server and client

Country Status (1)

Country Link
CN (1) CN104737550A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611394A (en) * 2015-12-21 2016-05-25 福建时迅信息科技有限公司 Method and system for redirecting video under VDI environment
CN106131614A (en) * 2016-08-05 2016-11-16 乐视控股(北京)有限公司 A kind of multimedia file playing processing method, device and server
CN106210865A (en) * 2016-07-08 2016-12-07 中霆云计算科技(上海)有限公司 A kind of video reorientation method and system presenting agreement based on remote desktop
CN107249144A (en) * 2017-05-12 2017-10-13 北京小鸟看看科技有限公司 Method, multimedia player and the playback equipment of multimedia file decoding
CN109040788A (en) * 2018-09-19 2018-12-18 北京萌科科技有限公司 A kind of video broadcasting method and system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852436A (en) * 2006-03-28 2006-10-25 中山大学 Apparatus and method for making digital domestic network terminal capable of playing multiple-media format
CN101001312A (en) * 2006-01-09 2007-07-18 上海金士林数码科技有限公司 Network Tv. (IPTV) set-top box of support popint-to-point technology
CN101146346A (en) * 2006-09-13 2008-03-19 华为技术有限公司 Device capability information reporting method and terminal device
US20090158370A1 (en) * 2007-12-18 2009-06-18 At&T Knowledge Ventures, Lp Set-Top Box-Based TV Streaming and Redirecting
CN101582926A (en) * 2009-06-15 2009-11-18 中国电信股份有限公司 Method for realizing redirection of playing remote media and system
CN101999234A (en) * 2008-04-18 2011-03-30 日本电气株式会社 Gateway device, method, and program
CN102111617A (en) * 2010-12-15 2011-06-29 广州市动景计算机科技有限公司 Streaming media decoding method and device
CN102131090A (en) * 2010-11-22 2011-07-20 华为技术有限公司 Video file playing method and system and media resource server
CN102158553A (en) * 2011-03-31 2011-08-17 华为技术有限公司 Method and device for playing multi-media files for remote desktop
CN102428485A (en) * 2009-03-23 2012-04-25 生命力有限公司 Temporary Decoder Apparatus and Method
CN102695094A (en) * 2012-05-15 2012-09-26 福建升腾资讯有限公司 Method for carrying out software and hardware integrated audio/video redirection in VDI (Virtual Device Interface) environment
CN102761736A (en) * 2011-04-29 2012-10-31 腾讯科技(深圳)有限公司 Video decoding method and device
US20120324365A1 (en) * 2011-03-03 2012-12-20 Citrix Systems, Inc. Reverse Seamless Integration Between Local and Remote Computing Environments

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001312A (en) * 2006-01-09 2007-07-18 上海金士林数码科技有限公司 Network Tv. (IPTV) set-top box of support popint-to-point technology
CN1852436A (en) * 2006-03-28 2006-10-25 中山大学 Apparatus and method for making digital domestic network terminal capable of playing multiple-media format
CN101146346A (en) * 2006-09-13 2008-03-19 华为技术有限公司 Device capability information reporting method and terminal device
US20090158370A1 (en) * 2007-12-18 2009-06-18 At&T Knowledge Ventures, Lp Set-Top Box-Based TV Streaming and Redirecting
CN101999234A (en) * 2008-04-18 2011-03-30 日本电气株式会社 Gateway device, method, and program
CN102428485A (en) * 2009-03-23 2012-04-25 生命力有限公司 Temporary Decoder Apparatus and Method
CN101582926A (en) * 2009-06-15 2009-11-18 中国电信股份有限公司 Method for realizing redirection of playing remote media and system
CN102131090A (en) * 2010-11-22 2011-07-20 华为技术有限公司 Video file playing method and system and media resource server
CN102111617A (en) * 2010-12-15 2011-06-29 广州市动景计算机科技有限公司 Streaming media decoding method and device
US20120324365A1 (en) * 2011-03-03 2012-12-20 Citrix Systems, Inc. Reverse Seamless Integration Between Local and Remote Computing Environments
CN102158553A (en) * 2011-03-31 2011-08-17 华为技术有限公司 Method and device for playing multi-media files for remote desktop
CN102761736A (en) * 2011-04-29 2012-10-31 腾讯科技(深圳)有限公司 Video decoding method and device
CN102695094A (en) * 2012-05-15 2012-09-26 福建升腾资讯有限公司 Method for carrying out software and hardware integrated audio/video redirection in VDI (Virtual Device Interface) environment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611394A (en) * 2015-12-21 2016-05-25 福建时迅信息科技有限公司 Method and system for redirecting video under VDI environment
CN106210865A (en) * 2016-07-08 2016-12-07 中霆云计算科技(上海)有限公司 A kind of video reorientation method and system presenting agreement based on remote desktop
CN106131614A (en) * 2016-08-05 2016-11-16 乐视控股(北京)有限公司 A kind of multimedia file playing processing method, device and server
CN107249144A (en) * 2017-05-12 2017-10-13 北京小鸟看看科技有限公司 Method, multimedia player and the playback equipment of multimedia file decoding
CN107249144B (en) * 2017-05-12 2020-05-15 北京小鸟看看科技有限公司 Method for decoding multimedia file, multimedia player and playing equipment
CN109040788A (en) * 2018-09-19 2018-12-18 北京萌科科技有限公司 A kind of video broadcasting method and system
CN109040788B (en) * 2018-09-19 2021-05-04 北京萌科科技有限公司 Video playing method and system

Similar Documents

Publication Publication Date Title
US11757961B2 (en) System and method for streaming content from multiple servers
CN101582926B (en) Method for realizing redirection of playing remote media and system
CN109640116B (en) Cloud mobile phone network video coding method and server
US9875134B2 (en) Virtual machine based content processing
US9407613B2 (en) Media acceleration for virtual computing services
US9549036B2 (en) Network injected storage redirection for embedded applications
CN112073758B (en) Cloud desktop screen projection method and device, computer equipment, computer readable storage medium and cloud desktop screen projection interaction system
CN102158553A (en) Method and device for playing multi-media files for remote desktop
KR20110007114A (en) Systems and methods for managing multimedia operations in remote sessions
US10389832B2 (en) Remote casting of media content
KR20050094424A (en) System and method for rendering content on multiple devices
CN104737550A (en) Multimedia redirection method, server and client
US9178924B1 (en) IPv6 to web architecture
US10230812B1 (en) Dynamic allocation of subtitle packaging
US20150106730A1 (en) Framework for screen content sharing system with generalized screen descriptions
WO2019245685A1 (en) Methods and apparatus for updating media presentation data
CN104349177A (en) Method for turning to play multimedia file under desktop cloud, virtual machine and system
CN104067627A (en) Video redirecting method, device, system and computer readable medium
CN111356023B (en) Playing mode determining method and device
US20110270941A1 (en) File decoding system and method
CN104125198A (en) Web player plug-in redirection method, server and client
CN111385593A (en) Cross-platform live content synchronization method and device, storage medium and server
GB2508138A (en) Delivering video content to a device by storing multiple formats
CN110677443A (en) Data transmitting and receiving method, transmitting end, receiving end, system and storage medium
WO2016202202A1 (en) Device connection method and apparatus, and smart television system

Legal Events

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

Application publication date: 20150624