WO2014101065A1 - 控制终端和资源共享的方法 - Google Patents

控制终端和资源共享的方法 Download PDF

Info

Publication number
WO2014101065A1
WO2014101065A1 PCT/CN2012/087736 CN2012087736W WO2014101065A1 WO 2014101065 A1 WO2014101065 A1 WO 2014101065A1 CN 2012087736 W CN2012087736 W CN 2012087736W WO 2014101065 A1 WO2014101065 A1 WO 2014101065A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
control terminal
terminal
control
multimedia resource
Prior art date
Application number
PCT/CN2012/087736
Other languages
English (en)
French (fr)
Inventor
陈广增
徐思伟
郭德英
Original Assignee
东莞宇龙通信科技有限公司
宇龙计算机通信科技(深圳)有限公司
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 东莞宇龙通信科技有限公司, 宇龙计算机通信科技(深圳)有限公司 filed Critical 东莞宇龙通信科技有限公司
Priority to CN201280077431.7A priority Critical patent/CN104854876B/zh
Priority to PCT/CN2012/087736 priority patent/WO2014101065A1/zh
Publication of WO2014101065A1 publication Critical patent/WO2014101065A1/zh

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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • 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/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • 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/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/637Control signals issued by the client directed to the server or network components
    • H04N21/6373Control signals issued by the client directed to the server or network components for rate control, e.g. request to the server to modify its transmission rate

Definitions

  • the present invention relates to the field of resource sharing technologies, and in particular, to a method for controlling terminal and resource sharing. Background technique
  • the transmission adapts the resolution of the transmitting end, and may not fully adapt to the screen resolution of the receiving end, thereby causing the resource playing effect to be affected.
  • the invention is based on the above problems, and proposes a new resource sharing technology, which can make When the multimedia resource is shared between the control terminal and the controlled terminal, it is not necessary to directly transmit the playback picture data, save bandwidth resources, and reduce the requirements on the control terminal.
  • the present invention provides a control terminal, including: an address information parsing unit, configured to parse address information of a multimedia resource that is being played by the control terminal; and an address information sending unit, configured to send the address information to
  • the controlled terminal is configured to obtain, by the controlled terminal, the corresponding multimedia resource according to the received address information.
  • the multimedia resources may include audio, pictures, and/or video, and the like.
  • the control terminal does not need to encode and transmit the data of the multimedia resource, especially when the multimedia resource is a real-time resource, and the hardware requirement for the control terminal itself is lowered.
  • the controlled terminal can download the corresponding data according to the address information, the multimedia resource can be played without directly transmitting between the control terminal and the controlled terminal, thereby reducing the network environment requirements before the two, especially When one of the parties is in a wireless network environment, it is beneficial to enhance the sharing effect on multimedia resources.
  • the multimedia resources acquired by the controlled terminal are not encoded and transmitted by the control terminal, it is convenient to implement the decoding of the controlled terminal according to its own resolution and the like, thereby obtaining a better playback effect.
  • the address information parsing unit includes: a link address parsing subunit, configured to parse a network link address of the network resource if the multimedia resource is a network resource.
  • the multimedia resource may come from a network, such as a video segment on the network, etc., by sending the network link address of the video segment to the controlled terminal, so that the multimedia resource can be directly obtained from the network link address.
  • the multimedia resource data realizes the playing of the multimedia resource, reduces the requirement for the network environment in which the control terminal is located, and is also beneficial to the controlled terminal to obtain a better playing effect.
  • the network resource played by the control terminal may also be stored locally, and the network link address of the network resource is still sent to the controlled terminal, so that the network link address is directly obtained from the network link address. Multimedia resource data, to achieve the playback of the multimedia resource.
  • the address information parsing unit includes: a storage path parsing subunit, configured to parse the multimedia resource when the multimedia resource is a local file resource The storage path of the local file resource in the control terminal.
  • control terminal may play the multimedia file that has been stored locally, and the controlled terminal may directly obtain the file data from the corresponding storage path in the control terminal by notifying the corresponding storage path to the controlled terminal.
  • the storage path includes an IP address of the control terminal. Since there is no need for the control terminal to perform code transmission, it is advantageous to reduce the requirements on the hardware and the like of the control terminal.
  • the address information parsing unit includes: a port parsing subunit, configured to parse data of the control terminal when the multimedia resource is multimedia data collected by the control terminal in real time Transport port.
  • the method for controlling the real-time acquisition of the terminal such as a photo or video captured by the camera in real time, or a sound collected by a microphone in real time, or a screen of the control terminal captured.
  • the controlled terminal can obtain the data collected by the control terminal through the port. Since the control terminal does not need to encode and transmit the multimedia resources, it is advantageous to reduce the requirements on the hardware and the like of the control terminal.
  • the method further includes: a status information receiving unit, configured to receive play status information sent by the controlled terminal; a status information loading unit, configured to generate a play status control interface, and load the play status information .
  • the method further includes: a control information generating unit, configured to generate state control information for the multimedia resource according to an operation action of the sensed user on the play state control interface; And sending the state control information to the controlled terminal to control a playing process of the multimedia resource by the controlled terminal.
  • a control information generating unit configured to generate state control information for the multimedia resource according to an operation action of the sensed user on the play state control interface
  • the control terminal can control the playing process of the multimedia resource on the controlled terminal. For example, the control terminal generates a control interface, where the initial state of the control interface is the playback state of the synchronization time, and then the total play duration and current play time of the resource in the controlled terminal, the total volume and the current volume, the frame rate of the resource play, and The status information such as the progress bar scrolling speed is played, and the control terminal loads the above information to the control interface. Since there is no need to perform real-time transmission of data such as pictures, only by transmitting control information with a significantly smaller amount of data, it is advantageous to reduce the demand for the network environment.
  • the controlled terminal pauses the play after receiving the command; when the control terminal issues the play command again, the controlled terminal continues to play or performs the synchronous play process with the control terminal again.
  • the console for the multimedia resource played by the controlled terminal is reserved only on the control terminal, thereby making the control terminal It is possible to perform playback control on the controlled terminal and reduce the system load of the control terminal as much as possible.
  • the method further includes: a resource determining unit, configured to determine whether the control terminal is playing the multimedia resource, and if yes, parsing the address of the multimedia resource by the address information parsing unit And a picture data sending unit, configured to: when the determination result of the resource determining unit is negative, grab the screen display screen of the control terminal and package and send the image to the controlled terminal.
  • a resource determining unit configured to determine whether the control terminal is playing the multimedia resource, and if yes, parsing the address of the multimedia resource by the address information parsing unit
  • a picture data sending unit configured to: when the determination result of the resource determining unit is negative, grab the screen display screen of the control terminal and package and send the image to the controlled terminal.
  • the control terminal can automatically detect the current application scenario, and adopt the most appropriate processing solution according to the application scenario, including sending address information of the multimedia resource or directly transmitting the screen display screen of the control terminal. Therefore, it is possible to ensure that the controlled terminal obtains the display screen of the control terminal, and can reduce the hardware requirements and system load on the control terminal as much as possible, and reduce the requirements on the network environment.
  • the judgment of the application scenario may be the initial stage of resource sharing between the control terminal and the controlled terminal, or may be all or any time of the entire resource sharing.
  • the controlled terminal includes but is not limited to a smart TV and a smart TV.
  • a method for resource sharing including: parsing address information of a multimedia resource that is being controlled by a terminal; and transmitting the address information to a controlled terminal for the controlled terminal Acquire and play the corresponding multimedia resource according to the received address information.
  • the multimedia resources may include audio, pictures, and/or video, and the like.
  • the control terminal does not need to encode and transmit the data of the multimedia resource, especially when the multimedia resource is a real-time resource, and the hardware requirement for the control terminal itself is reduced.
  • the controlled terminal can download the corresponding data according to the address information, the multimedia resource can be played without directly connecting between the control terminal and the controlled terminal.
  • the transmission is carried out, thereby reducing the network environment requirements before the two, especially when either party is in the wireless network environment, which is beneficial to improving the sharing effect on the multimedia resources.
  • the multimedia resources acquired by the controlled terminal are not encoded and transmitted by the control terminal, it is convenient to realize that the controlled terminal decodes according to information such as its own resolution, thereby obtaining a better playback effect.
  • the step of parsing the address information of the multimedia resource comprises: parsing a network link address of the network resource.
  • the multimedia resource may come from a network, such as a video segment on the network, etc., by sending the network link address of the video segment to the controlled terminal, so that the multimedia resource can be directly obtained from the network link address.
  • the multimedia resource data realizes the playing of the multimedia resource, reduces the requirement for the network environment in which the control terminal is located, and is also beneficial to the controlled terminal to obtain a better playing effect.
  • the network resource played by the control terminal may also be stored locally, and the network link address of the network resource is still sent to the controlled terminal, so that the corresponding multimedia resource data can be directly obtained from the network link address. , to achieve the playback of the multimedia resource.
  • the step of parsing the address information of the multimedia resource comprises: parsing a storage path of the local file resource in the control terminal.
  • control terminal may play the multimedia file that has been stored locally, and the controlled terminal may directly obtain the file data from the corresponding storage path in the control terminal by notifying the corresponding storage path to the controlled terminal.
  • the storage path includes an IP address of the control terminal. Since there is no need for the control terminal to perform code transmission, it is advantageous to reduce the requirements on the hardware and the like of the control terminal.
  • the step of parsing the address information of the multimedia resource comprises: parsing a data transmission port of the control terminal.
  • the method for controlling the real-time acquisition of the terminal such as a photo or video captured by the camera in real time, or a sound collected by a microphone in real time, or a screenshot of the control terminal captured.
  • the controlled terminal can pass The port collects the data collected by the control terminal. Since the control terminal does not need to encode and transmit the multimedia resource, it is advantageous to reduce the requirements on the hardware and the like of the control terminal.
  • the method further includes: the control terminal generates a play status control interface, and loads the received play status information sent by the controlled terminal.
  • the method further includes: generating state control information for the multimedia resource according to an operation action of the sensed user on the play state control interface; and sending the state control information to the Controlling the terminal to control a playing process of the multimedia resource by the controlled terminal.
  • the control terminal can control the playing process of the multimedia resource on the controlled terminal by transmitting the control information to the controlled terminal.
  • the control terminal generates a control interface, where the initial state of the control interface is the playback state of the synchronization time, and then the total play duration and current play time of the resource in the controlled terminal, the total volume and the current volume, the frame rate of the resource play, and the playback progress are obtained.
  • the status information such as the scrolling speed is controlled by the control terminal to load the above information to the control interface. Since there is no need to perform real-time transmission of data such as pictures, only by transmitting control information with a significantly smaller amount of data, it is advantageous to reduce the demand for the network environment.
  • the controlled terminal When the control terminal issues a pause play command, the controlled terminal pauses to play after receiving the command; when the control terminal issues the play command again, the controlled terminal continues to play or performs a synchronous play process with the control terminal again.
  • the console for the multimedia resource played by the controlled terminal is reserved only on the control terminal, thereby making the control terminal It is possible to perform playback control on the controlled terminal and reduce the system load of the control terminal as much as possible.
  • the method further includes: determining whether the control terminal is playing the multimedia resource, and if yes, parsing the address information of the multimedia resource, otherwise, capturing a screen display screen of the control terminal And packaged and sent to the controlled terminal.
  • the control terminal can automatically detect the current application scenario, and adopt the most appropriate processing solution according to the application scenario, including sending address information of the multimedia resource or directly transmitting the screen display screen of the control terminal. Therefore, it is possible to ensure that the controlled terminal obtains the display screen of the control terminal, and can reduce the hardware requirements of the control terminal as much as possible. System load and reduced requirements for the network environment.
  • the judgment of the application scenario may be the initial stage of resource sharing between the control terminal and the controlled terminal, or may be all or any time of the entire resource sharing.
  • the controlled terminal includes but is not limited to a smart TV and a smart TV.
  • a controlled terminal including: an address information receiving unit, configured to receive address information from a control terminal; and a resource acquiring unit, configured to acquire, according to the received address information, a corresponding multimedia a resource playback unit, configured to play the multimedia resource; wherein the address information is obtained by parsing a multimedia resource that is being played by the control terminal.
  • the multimedia resources may include audio, pictures, and/or video, and the like.
  • the control terminal does not need to encode and transmit the data of the multimedia resource, especially when the multimedia resource is a real-time resource, and the hardware requirement for the control terminal itself is lowered.
  • the controlled terminal can download the corresponding data according to the address information, the multimedia resource can be played without directly transmitting between the control terminal and the controlled terminal, thereby reducing the network environment requirements before the two, especially When one of the parties is in a wireless network environment, it is beneficial to enhance the sharing effect on multimedia resources.
  • the multimedia resources acquired by the controlled terminal are not encoded and transmitted by the control terminal, it is convenient to implement the decoding of the controlled terminal according to its own resolution and the like, thereby obtaining a better playback effect.
  • the address information includes: a network link address of the network resource, a storage path of the local file resource in the control terminal, or a data transmission for acquiring multimedia data collected by the control terminal in real time. port.
  • the controlled terminal can directly acquire the corresponding multimedia resource according to the address information, without controlling the terminal to perform code transmission, the requirements on the hardware and the like of the control terminal are reduced.
  • the multimedia resources collected in real time include photos or videos captured in real time through a camera, sounds collected in real time through a microphone, or screen shots of a control terminal that is captured.
  • the method further includes: a control information receiving unit, configured to receive control information from the control terminal; and a control information executing unit, configured to execute the control information, to control the multimedia resource Playback process.
  • control terminal can control the playing process of the multimedia resource on the controlled terminal by transmitting the control information to the controlled terminal. Since there is no need to perform real-time transmission of data such as pictures, it is only possible to reduce the demand for the network environment by transmitting control information with a significantly smaller amount of data.
  • the method further includes: a resource decoding unit, configured to decode the acquired multimedia resource according to a preset screen parameter, for the resource playing unit to play.
  • the screen parameters include information such as resolution. If the control terminal directly encodes and transmits the multimedia resource, the screen for playing is encoded according to the screen parameters of the control terminal, and may not be applicable to The controlled terminal, therefore, can directly decode the multimedia resources by the controlled terminal and perform direct decoding, and can perform decoding according to its own screen parameters, so that the controlled terminal under any screen parameter has good adaptability.
  • the controlled terminal includes but is not limited to a smart TV and a smart TV.
  • a method for resource sharing including: receiving address information from a control terminal, and acquiring a corresponding multimedia resource according to the address information; playing the multimedia resource; wherein, the address information It is obtained by parsing the multimedia resource that the control terminal is playing.
  • the multimedia resources may include audio, pictures, and/or video, and the like.
  • the control terminal does not need to encode and transmit the data of the multimedia resource, especially when the multimedia resource is a real-time resource, and the hardware requirement for the control terminal itself is reduced.
  • the controlled terminal can download the corresponding data according to the address information, the multimedia resource can be played without directly transmitting between the control terminal and the controlled terminal, thereby reducing the network environment requirements before the two, especially When one of the parties is in a wireless network environment, it is beneficial to enhance the sharing effect on multimedia resources.
  • the address information includes: a network link address of the network resource, a storage path of the local file resource in the control terminal, or a data transmission for acquiring multimedia data collected by the control terminal in real time. port.
  • the controlled terminal can directly acquire the corresponding multimedia resource according to the address information without controlling the terminal to perform the code transmission, the requirements for the hardware of the control terminal and the like are reduced.
  • the multimedia resources collected in real time include photos or videos captured in real time through a camera, sounds collected in real time through a microphone, or screen shots of a control terminal that is captured.
  • the method further includes: receiving control information from the control terminal; and executing the control information to control a playing process of the multimedia resource.
  • the controlled terminal generates a control interface, and the control terminal sends the control information to the controlled terminal, so that the control terminal can control the playing process of the multimedia resource on the controlled terminal. Since there is no need to perform real-time transmission of data such as pictures, only by transmitting control information having a significantly smaller amount of data, it is advantageous to reduce the demand for the network environment.
  • the method before the playing the multimedia resource, the method further includes: decoding the acquired multimedia resource according to a preset screen parameter.
  • the screen parameters include information such as resolution. If the control terminal directly encodes and transmits the multimedia resource, the screen for playing is encoded according to the screen parameters of the control terminal, and may not be applicable to The controlled terminal, therefore, can directly decode the multimedia resources by the controlled terminal and perform direct decoding, and can perform decoding according to its own screen parameters, so that the controlled terminal under any screen parameter has good adaptability.
  • the multimedia resources may include audio, pictures, and/or video, and the like.
  • the control terminal does not need to control the terminal to encode and transmit the data of the multimedia resource, especially when the multimedia resource is a real-time resource, and the control terminal is reduced. Its own hardware requirements.
  • the controlled terminal can download the corresponding data according to the address information, the multimedia resource can be played without directly transmitting between the control terminal and the controlled terminal, thereby reducing the network environment requirements before the two, especially When one of the parties is in a wireless network environment, it is beneficial to enhance the sharing effect on multimedia resources.
  • the multimedia resources acquired by the controlled terminal are not encoded and transmitted by the control terminal, it is convenient to realize that the controlled terminal decodes according to information such as its own resolution, thereby obtaining a better playback effect.
  • Figure 1 shows a block diagram of a control terminal in accordance with one embodiment of the present invention
  • FIG. 2 shows a flow chart of a method of resource sharing in accordance with one embodiment of the present invention
  • FIG. 3 shows a block diagram of a controlled terminal in accordance with one embodiment of the present invention
  • FIG. 4 shows a flow chart of a method of resource sharing in accordance with another embodiment of the present invention
  • FIG. 5 shows a block diagram of a system in accordance with one embodiment of the present invention
  • FIG. 6 illustrates a specific flow chart for implementing multimedia resource sharing between multiple terminals in accordance with one embodiment of the present invention.
  • Figure 1 shows a block diagram of a control terminal in accordance with one embodiment of the present invention.
  • the control terminal 100 includes: an address information parsing unit 102, configured to parse a multimedia resource that the control terminal 100 is playing.
  • the address information sending unit 104 is configured to send the address information to the controlled terminal, so that the controlled terminal acquires and plays the corresponding multimedia resource according to the received address information.
  • the multimedia resources may include audio, pictures, and/or video, and the like.
  • the address information parsing unit 102 includes: a link address parsing sub-unit 1022, configured to parse a network link address of the network resource when the multimedia resource is a network resource.
  • the multimedia resource may come from a network, such as a video segment on the network, etc., by sending the network link address of the video segment to the controlled terminal, so that the multimedia resource can be directly obtained from the network link address.
  • the multimedia resource data realizes the playing of the multimedia resource, reduces the requirement for controlling the network environment in which the terminal 100 is located, and is also beneficial to the controlled terminal to obtain a better playing effect.
  • the network resource played by the control terminal 100 may also be stored locally, and the network link address of the network resource is still sent to the controlled terminal, so that the network link address is directly obtained from the network link address.
  • the corresponding multimedia resource data is used to play the multimedia resource.
  • the address information parsing unit 102 includes: a storage path parsing subunit 1024, configured to parse the local file resource in the control if the multimedia resource is a local file resource The storage path in the terminal 100.
  • control terminal 100 may play the multimedia that has been stored locally.
  • the file file is used to notify the controlled terminal of the corresponding storage path, so that the controlled terminal can obtain the file data directly from the corresponding storage path in the control terminal 100, and the storage path includes the IP address of the control terminal 100. Since it is not necessary to control the terminal 100 to perform code transmission, it is advantageous to reduce the requirements on the hardware and the like of the control terminal 100.
  • the address information parsing unit 102 includes: a port parsing subunit 1026, configured to parse the control when the multimedia resource is multimedia data collected by the control terminal 100 in real time.
  • the data transmission port of the terminal 100 includes: a port parsing subunit 1026, configured to parse the control when the multimedia resource is multimedia data collected by the control terminal 100 in real time.
  • the manner in which the terminal 100 is collected in real time such as a photo or video taken by the camera in real time, or a sound collected in real time through a microphone, or the screen of the control terminal 100 captured, or the like.
  • the controlled terminal can obtain the data collected by the control terminal through the port. Since it is not necessary to control the terminal 100 to encode and transmit multimedia resources, it is advantageous to reduce the requirements on the hardware and the like of the control terminal 100.
  • the method further includes: a status information receiving unit 114, configured to receive play status information sent by the controlled terminal; a status information loading unit 116, configured to generate a play status control interface, and load the play status information.
  • the method further includes: a control information generating unit 106, configured to generate state control information for the multimedia resource according to the sensed user operation action of the play state control interface;
  • the unit 108 is configured to send the state control information to the controlled terminal, to control a playing process of the multimedia resource by the controlled terminal.
  • the control terminal 100 can control the playing process of the multimedia resource on the controlled terminal.
  • control terminal 100 For example, the control terminal 100 generates a control interface, where the initial state of the control interface is the playback state of the synchronization time, and then the total play duration and current play time of the resource in the controlled terminal, the total volume and the current volume, and the frame rate of the resource play are acquired. And the status information such as the progress bar scrolling speed is played, and the control terminal 100 loads the above information to the control interface. Since there is no need to perform real-time transmission of data such as pictures, only by transmitting control information with a significantly smaller amount of data, it is advantageous to reduce the demand for the network environment.
  • the controlled terminal 100 When the control terminal 100 issues a pause play command, the controlled terminal receives When the control terminal 100 issues the play command again, the controlled terminal continues to play or re-executes the synchronized play process with the control terminal.
  • the control terminal 100 transmits the address information to the controlled terminal, and plays the multimedia resource on the controlled terminal, the console for the multimedia resource played by the controlled terminal is retained only on the control terminal 100, thereby The control terminal 100 is capable of performing playback control on the controlled terminal and reducing the system load of the control terminal 100 as much as possible.
  • the method further includes: a resource determining unit 1 10, configured to determine whether the control terminal 100 is playing the multimedia resource, and if yes, parsing the information by the address information parsing unit 102 The address information of the multimedia resource; and the screen data sending unit 112, configured to: when the determination result of the resource determining unit 110 is negative, grab the screen display screen of the control terminal 100 and package and send the packet to the controlled terminal.
  • a resource determining unit 1 10 configured to determine whether the control terminal 100 is playing the multimedia resource, and if yes, parsing the information by the address information parsing unit 102 The address information of the multimedia resource
  • the screen data sending unit 112 configured to: when the determination result of the resource determining unit 110 is negative, grab the screen display screen of the control terminal 100 and package and send the packet to the controlled terminal.
  • the control terminal 100 can automatically detect the current application scenario, and adopt the most appropriate processing solution according to the application scenario, including sending address information of the multimedia resource or directly transmitting the screen display of the control terminal 100.
  • the screen can ensure that the controlled terminal obtains the display screen of the control terminal 100, and can reduce the hardware requirements and system load on the control terminal 100 as much as possible, and reduce the requirements on the network environment.
  • the judgment of the application scenario may be the initial stage of resource sharing between the control terminal 100 and the controlled terminal, or may be all or any time of the entire resource sharing.
  • the controlled terminal includes but is not limited to a smart TV and a smart TV.
  • a method for resource sharing includes: Step 202: Analyze address information of a multimedia resource that is controlled to be played by a terminal; Step 204, send the address information to a controlled terminal, And the controlled terminal acquires and plays the corresponding multimedia resource according to the received address information.
  • the multimedia resources may include audio, pictures, and/or video, and the like.
  • the control terminal does not need to control the terminal to encode and transmit the data of the multimedia resource, especially when the multimedia resource is a real-time resource, and the control terminal is reduced. Its own hardware requirements.
  • the controlled terminal can download the corresponding data according to the address information, the multimedia resource can be played without directly transmitting between the control terminal and the controlled terminal, thereby reducing the network environment requirements before the two, especially When one of the parties is in a wireless network environment, it is beneficial to enhance the sharing effect on multimedia resources.
  • the multimedia resources acquired by the controlled terminal are not encoded and transmitted by the control terminal, it is convenient to realize that the controlled terminal decodes according to information such as its own resolution, thereby obtaining a better playback effect.
  • the step of parsing the address information of the multimedia resource comprises: parsing a network link address of the network resource.
  • the multimedia resource may come from a network, such as a video segment on the network, etc., by sending the network link address of the video segment to the controlled terminal, so that the multimedia resource can be directly obtained from the network link address.
  • the multimedia resource data realizes the playing of the multimedia resource, reduces the requirement for the network environment in which the control terminal is located, and is also beneficial to the controlled terminal to obtain a better playing effect.
  • the network resource played by the control terminal may also be stored locally, and the network link address of the network resource is still sent to the controlled terminal, so that the network link address is directly obtained from the network link address. Multimedia resource data, to achieve the playback of the multimedia resource.
  • the step of parsing the address information of the multimedia resource comprises: parsing a storage path of the local file resource in the control terminal.
  • control terminal may play the multimedia file that has been stored locally, and the controlled terminal may directly obtain the file data from the corresponding storage path in the control terminal by notifying the corresponding storage path to the controlled terminal.
  • the storage path includes an IP address of the control terminal. Since there is no need for the control terminal to perform code transmission, it is advantageous to reduce the requirements on the hardware and the like of the control terminal.
  • the step of parsing the address information of the multimedia resource comprises: parsing a data transmission port of the control terminal.
  • the method for controlling the real-time acquisition of the terminal such as a photo or video captured by the camera in real time, or a sound collected by a microphone in real time, or a screenshot of the control terminal captured.
  • the controlled terminal can obtain the data collected by the control terminal through the port. Since the control terminal does not need to encode and transmit the multimedia resource, it is advantageous to reduce the requirements on the hardware and the like of the control terminal.
  • the method further includes: the control terminal generates a play status control interface, and loads the received play status information sent by the controlled terminal.
  • the method further includes: generating state control information for the multimedia resource according to an operation action of the sensed user on the play state control interface; and sending the state control information to the Controlling the terminal to control a playing process of the multimedia resource by the controlled terminal.
  • the control terminal can control the playing process of the multimedia resource on the controlled terminal by transmitting the control information to the controlled terminal.
  • the control terminal generates a control interface, where the initial state of the control interface is the playback state of the synchronization time, and then the total play duration and current play time of the resource in the controlled terminal, the total volume and the current volume, the frame rate of the resource play, and The status information such as the progress bar scrolling speed is played, and the control terminal loads the above information to the control interface. Since there is no need to perform real-time transmission of data such as pictures, only by transmitting control information with a significantly smaller amount of data, it is advantageous to reduce the demand for the network environment.
  • the controlled terminal When the control terminal issues a pause play command, the controlled terminal pauses the play after receiving the command; when the control terminal issues the play command again, the controlled terminal continues to play or performs a synchronous play process with the control terminal again.
  • the console for the multimedia resource played by the controlled terminal is reserved only on the control terminal, thereby making the control terminal It is possible to perform playback control on the controlled terminal and reduce the system load of the control terminal as much as possible.
  • the method further includes: determining whether the control terminal is playing the multimedia resource, and if yes, parsing the address information of the multimedia resource, otherwise, capturing a screen display screen of the control terminal And packaged and sent to the controlled terminal.
  • the control terminal can automatically detect the current application scenario, and According to different application scenarios, the most appropriate processing scheme is adopted, including sending address information of the multimedia resource or directly transmitting the screen display screen of the control terminal, thereby ensuring that the controlled terminal obtains the display screen of the control terminal, and can as much as possible Reduce the hardware requirements and system load on the control terminal, and reduce the requirements on the network environment.
  • the judgment of the application scenario may be the initial stage of resource sharing between the control terminal and the controlled terminal, or may be all or any time of the entire resource sharing.
  • the controlled terminal includes but is not limited to a smart TV and a smart TV.
  • Figure 3 shows a block diagram of a controlled terminal in accordance with one embodiment of the present invention.
  • the controlled terminal 300 includes: an address information receiving unit 302, configured to receive address information from the control terminal; and a resource obtaining unit 304, configured to receive, according to the received The address information is used to obtain the corresponding multimedia resource.
  • the resource playing unit 306 is configured to play the multimedia resource. The address information is obtained by parsing the multimedia resource that the control terminal is playing.
  • the multimedia resources may include audio, pictures, and/or video, and the like.
  • the address information By transmitting the address information to the controlled terminal 300, it is not necessary to control the terminal to encode and transmit the data of the multimedia resource, especially when the multimedia resource is a real-time resource, the hardware requirement for the control terminal itself is lowered.
  • the controlled terminal 300 can download the corresponding data according to the address information, the multimedia resource can be played without directly transmitting between the control terminal and the controlled terminal 300, thereby reducing the network environment requirements before the two.
  • the multimedia resources acquired by the controlled terminal 300 are not encoded and transmitted by the control terminal, it is convenient to implement the controlled terminal 300 to decode according to information such as its own resolution, thereby obtaining a better playback effect.
  • the address information includes: a network link address of the network resource, a storage path of the local file resource in the control terminal, or a data transmission for acquiring multimedia data collected by the control terminal in real time. port.
  • the controlled terminal 300 can directly acquire the corresponding multimedia resource according to the address information, without controlling the terminal to perform code transmission, the control terminal is reduced. Hardware and other requirements.
  • the multimedia resources collected in real time include photos or videos captured in real time through a camera, sounds collected in real time through a microphone, or screen shots of a control terminal that is captured.
  • the method further includes: a control information receiving unit 308, configured to receive control information from the control terminal; and a control information executing unit 310, configured to execute the control information, to control the multimedia The playback process of the resource.
  • control terminal 300 by transmitting control information to the controlled terminal 300, the control terminal can control the playing process of the multimedia resource on the controlled terminal 300. Since there is no need for real-time transmission of data such as pictures, it is only possible to reduce the demand for the network environment by transmitting control information with significantly smaller data volume.
  • the method further includes: a resource decoding unit 312, configured to decode the acquired multimedia resource according to a preset screen parameter, for the resource playing unit to play.
  • the screen parameters include information such as resolution. If the control terminal directly encodes and transmits the multimedia resource, the screen for playing is encoded according to the screen parameters of the control terminal, and may not be applicable to The controlled terminal 300 can be decoded according to its own screen parameters by directly acquiring the multimedia resources and directly decoding by the controlled terminal 300, so that the controlled terminal 300 under any screen parameter has good adaptability. .
  • the method further includes: a status information sending unit 314, configured to send the current playing status of the controlled terminal 300 to the control terminal in real time.
  • the controlled terminal 300 includes but is not limited to a smart TV and a smart TV box.
  • a method for resource sharing includes: Step 402: Receive address information from a control terminal, and acquire a corresponding multimedia resource according to the address information; Step 404, play a station a multimedia resource; wherein the address information is Obtaining the multimedia resource that the control terminal is playing after parsing.
  • the multimedia resources may include audio, pictures, and/or video, and the like.
  • the control terminal does not need to encode and transmit the data of the multimedia resource, especially when the multimedia resource is a real-time resource, and the hardware requirement for the control terminal itself is lowered.
  • the controlled terminal can download the corresponding data according to the address information, the multimedia resource can be played without directly transmitting between the control terminal and the controlled terminal, thereby reducing the network environment requirements before the two, especially When one of the parties is in a wireless network environment, it is beneficial to enhance the sharing effect on multimedia resources.
  • the multimedia resources acquired by the controlled terminal are not encoded and transmitted by the control terminal, it is convenient to implement the decoding of the controlled terminal according to its own resolution and the like, thereby obtaining a better playback effect.
  • the address information includes: a network link address of the network resource, a storage path of the local file resource in the control terminal, or a data transmission for acquiring multimedia data collected by the control terminal in real time. port.
  • the controlled terminal can directly acquire the corresponding multimedia resource according to the address information without controlling the terminal to perform the code transmission, the requirements for the hardware of the control terminal and the like are reduced.
  • the requirements for the hardware of the control terminal and the like are reduced.
  • the multimedia resources collected in real time include photos or videos captured in real time through a camera, sounds collected in real time through a microphone, or the screen of a control terminal that is captured.
  • the method further includes: receiving control information from the control terminal; and executing the control information to control a playing process of the multimedia resource.
  • control terminal can control the playing process of the multimedia resource on the controlled terminal by transmitting the control information to the controlled terminal. Since there is no need to perform real-time transmission of data such as pictures, it is only possible to reduce the demand for the network environment by transmitting control information with a significantly smaller amount of data.
  • the method before the playing the multimedia resource, the method further includes: decoding the acquired multimedia resource according to a preset screen parameter.
  • the screen parameters include information such as resolution, if directly controlled by the control terminal
  • the played picture or the like is encoded according to the screen parameters of the control terminal, and may not be applicable to the controlled terminal. Therefore, by directly acquiring the multimedia resource and performing direct decoding by the controlled terminal, It can be decoded according to its own screen parameters, so that it has good adaptability for controlled terminals under any screen parameters.
  • the controlled terminal includes but is not limited to a smart TV and a smart TV.
  • Figure 5 shows a block diagram of a system in accordance with one embodiment of the present invention.
  • a system includes a control terminal 100 as shown in FIG. 1, and a controlled terminal 300 as shown in FIG.
  • the multimedia resources may include audio, pictures, and/or video, and the like.
  • the control terminal 100 does not need to encode and transmit the data of the multimedia resource, especially when the multimedia resource is a real-time resource, and the hardware requirement for the control terminal 100 itself is lowered.
  • the controlled terminal 300 can download the corresponding data according to the address information, the multimedia resource can be played without directly transmitting between the control terminal 100 and the controlled terminal 300, thereby reducing the network environment before the two. Requirements, especially when either party is in a wireless network environment, it is beneficial to improve the sharing effect on multimedia resources.
  • the multimedia resources acquired by the controlled terminal 300 are not encoded and transmitted by the control terminal 100, it is convenient to implement the controlled terminal 300 to decode according to information such as its own resolution, thereby obtaining a better playback effect.
  • FIG. 6 illustrates a specific flow chart for implementing multimedia resource sharing between multiple terminals in accordance with one embodiment of the present invention.
  • the specific process for the multimedia resources sharing of the group of terminals includes:
  • Step 601 The sending end determines whether the multimedia resource is currently playing, and the multimedia resource herein may include various forms of resources, such as video, audio, and pictures. If yes, go to step 602, otherwise go to step 625. Through the judgment of the application scenario of "currently playing multimedia resources", different schemes are adopted for different scenarios.
  • Step 602 The sending end determines whether the currently played multimedia resource is a real-time resource, and if yes, proceeds to step 616, otherwise proceeds to step 604.
  • the sender is playing the multimedia resource
  • Step 604 Determine whether the multimedia resource played by the sender is a network resource. If yes, go to step 606; otherwise, go to step 612.
  • Step 606 If the network resource is, for example, a network video or a picture played online, the sending end parses the network resource to obtain a corresponding network link address.
  • Step 608 The sending end sends the parsed network link address to the receiving end. Because it is a network resource, it is not necessary to establish a network establishment between the transmitting end and the receiving end, and the receiving end can directly obtain the corresponding multimedia resource from the network side for playing, thereby reducing the network environment between the transmitting end and the receiving end. Claim.
  • Step 610 The receiving end acquires a multimedia resource. Specifically, if the process proceeds to step 610, the corresponding multimedia resource is obtained according to the received network link address. If the process proceeds to step 610 by step 614 or step 618, the corresponding multimedia resource is obtained by using the corresponding address information. This will be specifically explained in steps 614 and 618.
  • Step 612 If it is a local resource, for example, the sending end is playing a local video, audio, or picture file, the storage path of the local resource is obtained by the sending end.
  • Step 614 The sending end sends the storage path to the receiving end, and proceeds to step 610, so that the receiving end can connect to the sending end according to the storage path, and directly obtain the corresponding local resource from the storage path.
  • Step 616 If the multimedia resource is a real-time resource, such as a photo or video captured by the camera through the camera in real time, or a sound collected by a microphone in real time, or a screenshot of the captured control terminal, the sender acquires real-time acquisition. Multimedia data.
  • a real-time resource such as a photo or video captured by the camera through the camera in real time, or a sound collected by a microphone in real time, or a screenshot of the captured control terminal.
  • Step 618 The sender resolves its own data transmission port.
  • Step 619 The sending end sends the data transmission port to the receiving end, and after proceeding to step 610, the receiving end can access the sending end according to the received data transmission port to obtain the multimedia data collected by the transmitting end in real time.
  • Step 620 After receiving the multimedia resource, the receiving end decodes according to its own screen parameter. Since the multimedia resource is not encoded by the transmitting end and transmitted to the receiving end, The receiving end actively acquires the multimedia resource, so the receiving end can decode the acquired multimedia resource according to its own screen parameters, such as resolution, so that the decoded data can be adapted to the screen of the receiving end, thereby obtaining the best. display effect.
  • Step 622 The receiving end uses the decoded data to play.
  • Step 624 The transmitting end performs playback control on the receiving end. Specifically, since the same multimedia resource is played between the transmitting end and the receiving end, the sending end can perform play control on the screen interface, such as drag and play progress, pause, fast forward, and next. After the picture is detected, the transmitting end may send the corresponding control information to the receiving end after detecting the control operation, and the receiving end may perform corresponding playing control according to the received control information.
  • Step 625 If the transmitting end is not playing the multimedia resource, since the corresponding address information does not exist, the screen content of the sending end is directly captured.
  • Step 626 Encode and capture the captured screen content to the receiving end, so that the receiving end decodes the received data, and obtains the screen content of the sending end.
  • step flow of step 601, step 625 and step 626 combined with other step processes, the screen sharing of the transmitting end to the receiving end can be realized regardless of whether the transmitting end currently plays multimedia resources or is in any other interface.
  • control terminal and the controlled terminal is not mentioned in the present invention
  • technical solution of the present invention is applicable to one-to-one, one-to-many, many-to-one, many-to-many and the like. Because, regardless of the quantity, the control process is virtually the same for any control terminal and corresponding controlled terminal.
  • the present invention provides a method and system for controlling a terminal, a controlled terminal, and a resource sharing, so that when the multimedia resource is shared between the control terminal and the controlled terminal, the playback screen data does not need to be directly transmitted. Festival Save bandwidth resources and reduce the requirements for controlling terminals.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明提供了一种控制终端,包括:地址信息解析单元,用于解析所述控制终端正在播放的多媒体资源的地址信息;地址信息发送单元,用于将所述地址信息发送至受控终端,以供所述受控终端根据接收到的地址信息获取并播放相应的多媒体资源。本发明还提出了一种资源共享的方法。通过本发明的技术方案,可以使得在控制终端和受控终端之间进行多媒体资源共享时,无需直接传送播放画面数据,节省带宽资源,降低对控制终端的要求。

Description

控制终端和资源共享的方法 技术领域
本发明涉及资源共享技术领域, 具体而言, 涉及控制终端和资源共享 的方法。 背景技术
在多台终端之间, 有时需要进行播放内容的共享, 比如将一台终端上 播放的视频、 音频等在其他终端上进行播放。 在现有技术方案下, 实现播 放内容的共享时, 对于任何内容都是直接将一台终端上播放的画面、 声音 等进行镜像编码发送, 而其他终端得到数据后进行解码并显示于屏幕上。
在上述方式下, 由于屏幕内容共享过程中画面内容会不断更改, 而为 了保持实时性, 对传输过程中画面的延时要求非常高, 要求小于 100 毫 秒, 那么为了满足相应的帧率, 对无线网络环境要求很高, 在无线网络较 差的环境下, 屏幕共享过程中甚至会出现掉帧、 失真以及同步延时; 且受 限于无限网络带宽, 屏幕内容共享过程中无可避免会采用压缩算法, 会导 致在播放视频等媒体内容时会降低其清晰度导致体验降低。 同时, 在需要 实时进行视频编解码的情况下, 上述技术方案对资源的发送端在数据处理 等方面的要求也很高。 最后, 由于接收端与发送端屏幕尺寸以及分辨率的 差异性, 现有技术方案中, 传输适配的是发送端分辨率, 可能无法完全适 应接收端的屏幕分辨率, 导致资源播放效果受到影响。
因此, 需要一种新的资源共享技术, 可以使得在控制终端和受控终端 之间进行多媒体资源共享时, 无需直接传送播放画面数据, 节省带宽资 源, 降低对控制终端的要求。 发明内容
本发明正是基于上述问题, 提出了一种新的资源共享技术, 可以使得 在控制终端和受控终端之间进行多媒体资源共享时, 无需直接传送播放画 面数据, 节省带宽资源, 降低对控制终端的要求。
有鉴于此, 本发明提出了一种控制终端, 包括: 地址信息解析单元, 用于解析所述控制终端正在播放的多媒体资源的地址信息; 地址信息发送 单元, 用于将所述地址信息发送至受控终端, 以供所述受控终端根据接收 到的地址信息获取并播放相应的多媒体资源。
在该技术方案中, 多媒体资源可以包括音频、 图片和 /或视频等。 通 过将地址信息发送至受控终端, 使得无需控制终端将多媒体资源的数据进 行编码发送, 尤其是当该多媒体资源为实时资源时, 降低了对于控制终端 自身的硬件要求。 同时, 由于受控终端可以根据地址信息自行下载相应的 数据, 实现对多媒体资源的播放, 而无需在控制终端和受控终端之间直接 进行传输, 从而降低了两者之前的网络环境要求, 尤其是当任一方处于无 线网络环境下时, 有利于提升对多媒体资源的共享效果。 此外, 由于受控 终端获取的多媒体资源不是由控制终端进行编码发送的, 因而便于实现受 控终端根据自身的分辨率等信息进行解码, 从而得到更好的播放效果。
在上述技术方案中, 优选地, 所述地址信息解析单元包括: 链接地址 解析子单元, 用于在所述多媒体资源为网络资源的情况下, 解析所述网络 资源的网络链接地址。
在该技术方案中, 多媒体资源可能来自网络, 比如是网上的某个视频 片段等, 则通过将该视频片段的网络链接地址发送至受控终端, 可以使其 直接从该网络链接地址获取相应的多媒体资源数据, 实现对该多媒体资源 的播放, 降低了对于控制终端所处网络环境的要求, 也有利于受控终端得 到更好的播放效果。
在上述技术方案中, 优选地, 所述控制终端播放的网络资源也可能已 存储在本地, 则仍将该网络资源的网络链接地址发送至受控终端, 使其直 接从该网络链接地址获取相应的多媒体资源数据, 实现对该多媒体资源的 播放。
在上述技术方案中, 优选地, 所述地址信息解析单元包括: 存储路径 解析子单元, 用于在所述多媒体资源为本地文件资源的情况下, 解析所述 本地文件资源在所述控制终端中的存储路径。
在该技术方案中, 控制终端可能播放的是已经存储在本地的多媒体文 件, 则通过将对应的存储路径告知受控终端, 使得受控终端可以直接从控 制终端中相应的存储路径获取该文件数据, 所述存储路径中包括所述控制 终端的 IP 地址。 由于无需控制终端进行编码发送, 因而有利于降低对于 控制终端的硬件等方面的要求。
在上述技术方案中, 优选地, 所述地址信息解析单元包括: 端口解析 子单元, 用于在所述多媒体资源为所述控制终端实时采集的多媒体数据的 情况下, 解析所述控制终端的数据传输端口。
在该技术方案中, 控制终端实时采集的方式, 比如通过摄像头实时拍 摄的照片或视频, 或是通过话筒实时采集的声音等, 或是抓取的控制终端 的屏幕画面等。 通过将数据传输端口告知受控终端, 使得受控终端可以通 过该端口自行对控制终端采集到的数据进行获取。 由于不需要控制终端对 多媒体资源进行编码发送, 因而有利于降低对于控制终端的硬件等方面的 要求。
在上述技术方案中, 优选地, 还包括: 状态信息接收单元, 用于接收 所述受控终端发送的播放状态信息; 状态信息加载单元, 用于生成播放状 态控制界面并加载所述播放状态信息。
在上述技术方案中, 优选地, 还包括: 控制信息生成单元, 用于根据 感应到的用户对所述播放状态控制界面的操作动作, 生成对所述多媒体资 源的状态控制信息; 控制信息发送单元, 用于将所述状态控制信息发送至 所述受控终端, 以控制所述受控终端对所述多媒体资源的播放过程。
在该技术方案中, 通过将控制信息发送给受控终端, 使得控制终端可 以控制多媒体资源在受控终端上的播放过程。 例如, 控制终端生成控制界 面, 该控制界面的初始状态为同步时刻的播放状态, 之后获取受控终端中 资源的总播放时长和当前播放时间、 总音量大小和当前音量、 资源播放的 帧率及播放进度条滚动速度等状态信息, 控制终端加载上述信息至控制界 面。 由于不需要进行画面等数据的实时传输, 仅通过传输数据量明显更小 的控制信息, 因而有利于降低对于网络环境的需求。 此外, 当控制终端发 出暂停播放命令时, 受控终端接收到命令后暂停播放; 控制终端再次发出 播放命令时, 则受控终端继续播放或再执行一次与控制终端的同步播放过 程。 通过以上方式实现了当控制终端将地址信息发送给受控终端, 且在受 控终端上播放多媒体资源之后, 仅在控制终端上保留针对受控终端播放的 多媒体资源的控制台, 从而使得控制终端能够对受控终端进行播放控制, 并尽可能地降低控制终端的系统负荷。
在上述技术方案中, 优选地, 还包括: 资源判断单元, 用于判断所述 控制终端是否在进行所述多媒体资源的播放, 若是, 则由所述地址信息解 析单元解析所述多媒体资源的地址信息; 以及画面数据发送单元, 用于在 所述资源判断单元的判断结果为否的情况下, 抓取所述控制终端的屏幕显 示画面并打包发送至所述受控终端。
在该技术方案中, 控制终端可以自动对当前的应用场景进行检测, 并 根据应用场景的不同而采用最恰当的处理方案, 包括发送多媒体资源的地 址信息或是直接发送控制终端的屏幕显示画面, 从而既能够保证受控终端 得到控制终端的显示画面, 又能够尽可能地降低对控制终端的硬件要求和 系统负荷, 以及降低对网络环境的要求。 同时, 需要说明的是, 对于应用 场景的判断, 可以是在控制终端与受控终端之间需要进行资源共享的最开 始阶段, 也可以是在整个资源共享的全部或任意时刻。
在上述技术方案中, 所述受控终端包括但不限于智能电视和智能电视 合
根据本发明的另一方面, 还提出了一种资源共享的方法, 包括: 解析 控制终端正在播放的多媒体资源的地址信息; 将所述地址信息发送至受控 终端, 以供所述受控终端根据接收到的地址信息获取并播放相应的多媒体 资源。
在该技术方案中, 多媒体资源可以包括音频、 图片和 /或视频等。 通 过将地址信息发送至受控终端, 使得无需控制终端将多媒体资源的数据进 行编码发送, 尤其是当该多媒体资源为实时资源时, 降低了对于控制终端 自身的硬件要求。 同时, 由于受控终端可以根据地址信息自行下载相应的 数据, 实现对多媒体资源的播放, 而无需在控制终端和受控终端之间直接 进行传输, 从而降低了两者之前的网络环境要求, 尤其是当任一方处于无 线网络环境下时, 有利于提升对多媒体资源的共享效果。 此外, 由于受控 终端获取的多媒体资源不是由控制终端进行编码发送的, 因而便于实现受 控终端根据自身的分辨率等信息进行解码, 从而得到更好的播放效果。
在上述技术方案中, 优选地, 若所述多媒体资源为网络资源, 则解析 所述多媒体资源的地址信息的步骤包括: 解析所述网络资源的网络链接地 址。
在该技术方案中, 多媒体资源可能来自网络, 比如是网上的某个视频 片段等, 则通过将该视频片段的网络链接地址发送至受控终端, 可以使其 直接从该网络链接地址获取相应的多媒体资源数据, 实现对该多媒体资源 的播放, 降低了对于控制终端所处网络环境的要求, 也有利于受控终端得 到更好的播放效果。
在上述技术方案中, 控制终端播放的网络资源可能也已存储在本地, 则仍将该网络资源的网络链接地址发送至受控终端, 可以使其直接从该网 络链接地址获取相应的多媒体资源数据, 实现对该多媒体资源的播放。
在上述技术方案中, 优选地, 若所述多媒体资源为本地文件资源, 则 解析所述多媒体资源的地址信息的步骤包括: 解析所述本地文件资源在所 述控制终端中的存储路径。
在该技术方案中, 控制终端可能播放的是已经存储在本地的多媒体文 件, 则通过将对应的存储路径告知受控终端, 使得受控终端可以直接从控 制终端中相应的存储路径获取该文件数据, 所述存储路径中包括所述控制 终端的 IP 地址。 由于无需控制终端进行编码发送, 因而有利于降低对于 控制终端的硬件等方面的要求。
在上述技术方案中, 优选地, 若所述多媒体资源为所述控制终端实时 采集的多媒体数据, 则解析所述多媒体资源的地址信息的步骤包括: 解析 所述控制终端的数据传输端口。
在该技术方案中, 控制终端实时采集的方式, 比如通过摄像头实时拍 摄的照片或视频, 或是通过话筒实时采集的声音等, 或是抓取的控制终端 的屏幕画面等。 通过将数据传输端口告知受控终端, 使得受控终端可以通 过该端口自行对控制终端采集到的数据进行获取。 由于不需要控制终端对 多媒体资源进行编码发送, 因而有利于降低对于控制终端的硬件等方面的 要求。
在上述技术方案中, 优选地, 还包括: 控制终端生成播放状态控制界 面, 并加载接收到的所述受控终端发送的播放状态信息。
在上述技术方案中, 优选地, 还包括: 根据感应到的用户对所述播放 状态控制界面的操作动作, 生成对所述多媒体资源的状态控制信息; 将所 述状态控制信息发送至所述受控终端, 以控制所述受控终端对所述多媒体 资源的播放过程。
在该技术方案中, 通过将控制信息发送给受控终端, 使得控制终端可 以控制多媒体资源在受控终端上的播放过程。 控制终端生成控制界面, 该 控制界面的初始状态为同步时刻的播放状态, 之后获取受控终端中资源的 总播放时长和当前播放时间、 总音量大小和当前音量、 资源播放的帧率及 播放进度条滚动速度等状态信息, 控制终端加载上述信息至控制界面。 由 于不需要进行画面等数据的实时传输, 仅通过传输数据量明显更小的控制 信息, 因而有利于降低对于网络环境的需求。 当控制终端发出暂停播放命 令时, 受控终端接收到命令后暂停播放; 控制终端再次发出播放命令时, 则受控终端继续播放或再执行一次与控制终端的同步播放过程。 通过以上 方式实现了当控制终端将地址信息发送给受控终端, 且在受控终端上播放 多媒体资源之后, 仅在控制终端上保留针对受控终端播放的多媒体资源的 控制台, 从而使得控制终端能够对受控终端进行播放控制, 并尽可能地降 低控制终端的系统负荷。
在上述技术方案中, 优选地, 还包括: 判断所述控制终端是否在进行 所述多媒体资源的播放, 若是, 则解析所述多媒体资源的地址信息, 否则 抓取所述控制终端的屏幕显示画面并打包发送至所述受控终端。
在该技术方案中, 控制终端可以自动对当前的应用场景进行检测, 并 根据应用场景的不同而采用最恰当的处理方案, 包括发送多媒体资源的地 址信息或是直接发送控制终端的屏幕显示画面, 从而既能够保证受控终端 得到控制终端的显示画面, 又能够尽可能地降低对控制终端的硬件要求和 系统负荷, 以及降低对网络环境的要求。 同时, 需要说明的是, 对于应用 场景的判断, 可以是在控制终端与受控终端之间需要进行资源共享的最开 始阶段, 也可以是在整个资源共享的全部或任意时刻。
在上述技术方案中, 所述受控终端包括但不限于智能电视和智能电视 合。
根据本发明的又一方面, 提出一种受控终端, 包括: 地址信息接收单 元, 用于接收来自控制终端的地址信息; 资源获取单元, 用于根据接收到 的所述地址信息获取对应的多媒体资源; 资源播放单元, 用于播放所述多 媒体资源; 其中, 所述地址信息是对所述控制终端正在播放的多媒体资源 进行解析后得到的。
在该技术方案中, 多媒体资源可以包括音频、 图片和 /或视频等。 通 过将地址信息发送至受控终端, 使得无需控制终端将多媒体资源的数据进 行编码发送, 尤其是当该多媒体资源为实时资源时, 降低了对于控制终端 自身的硬件要求。 同时, 由于受控终端可以根据地址信息自行下载相应的 数据, 实现对多媒体资源的播放, 而无需在控制终端和受控终端之间直接 进行传输, 从而降低了两者之前的网络环境要求, 尤其是当任一方处于无 线网络环境下时, 有利于提升对多媒体资源的共享效果。 此外, 由于受控 终端获取的多媒体资源不是由控制终端进行编码发送的, 因而便于实现受 控终端根据自身的分辨率等信息进行解码, 从而得到更好的播放效果。
在上述技术方案中, 优选地, 所述地址信息包括: 网络资源的网络链 接地址、 本地文件资源在所述控制终端中的存储路径或用于获取所述控制 终端实时采集的多媒体数据的数据传输端口。
在该技术方案中, 由于受控终端可以直接根据地址信息获取对应的多 媒体资源, 而无需控制终端进行编码发送, 因而降低了对于控制终端的硬 件等方面的要求。 而尤其是对于通过网络链接地址进行数据获取的方式, 仅对受控终端自身的网络环境存在要求, 而降低了对于控制终端与受控终 端之间的网络环境要求。 实时采集的多媒体资源包括如通过摄像头实时拍 摄的照片或视频, 或是通过话筒实时采集的声音等, 或是抓取的控制终端 的屏幕画面等。 在上述技术方案中, 优选地, 还包括: 控制信息接收单元, 用于接收 来自所述控制终端的控制信息; 控制信息执行单元, 用于执行所述控制信 息, 以控制对所述多媒体资源的播放过程。
在该技术方案中, 通过将控制信息发送给受控终端, 使得控制终端可 以控制多媒体资源在受控终端上的播放过程。 由于不需要进行画面等数据 的实时传输, 仅通过传输数据量明显更小的控制信息, 因而有利于降低对 于网络环境的需求。
在上述技术方案中, 优选地, 还包括: 资源解码单元, 用于按照预设 的屏幕参数对获取的所述多媒体资源进行解码, 以供所述资源播放单元进 行播放。
在该技术方案中, 屏幕参数包括如分辨率等信息, 若由控制终端直接 将多媒体资源进行编码发送时, 对于播放的画面等是根据控制终端的屏幕 参数进行编码的, 可能并不能够适用于受控终端, 因此, 通过由受控终端 直接获取多媒体资源并进行直接解码, 可以按照自身的屏幕参数进行解 码, 从而对于任意屏幕参数下的受控终端都具有 ^艮好的自适应性。
在上述技术方案中, 所述受控终端包括但不限于智能电视和智能电视 合
根据本发明的又一方面, 提出一种资源共享的方法, 包括: 接收来自 控制终端的地址信息, 并根据所述地址信息获取对应的多媒体资源; 播放 所述多媒体资源; 其中, 所述地址信息是对所述控制终端正在播放的多媒 体资源进行解析后得到的。
在该技术方案中, 多媒体资源可以包括音频、 图片和 /或视频等。 通 过将地址信息发送至受控终端, 使得无需控制终端将多媒体资源的数据进 行编码发送, 尤其是当该多媒体资源为实时资源时, 降低了对于控制终端 自身的硬件要求。 同时, 由于受控终端可以根据地址信息自行下载相应的 数据, 实现对多媒体资源的播放, 而无需在控制终端和受控终端之间直接 进行传输, 从而降低了两者之前的网络环境要求, 尤其是当任一方处于无 线网络环境下时, 有利于提升对多媒体资源的共享效果。 此外, 由于受控 终端获取的多媒体资源不是由控制终端进行编码发送的, 因而便于实现受 控终端根据自身的分辨率等信息进行解码, 从而得到更好的播放效果。 在上述技术方案中, 优选地, 所述地址信息包括: 网络资源的网络链 接地址、 本地文件资源在所述控制终端中的存储路径或用于获取所述控制 终端实时采集的多媒体数据的数据传输端口。
在该技术方案中, 由于受控终端可以直接根据地址信息获取对应的多 媒体资源, 而无需控制终端进行编码发送, 因而降低了对于控制终端的硬 件等方面的要求。 而尤其是对于通过网络链接地址进行数据获取的方式, 仅对受控终端自身的网络环境存在要求, 而降低了对于控制终端与受控终 端之间的网络环境要求。 实时采集的多媒体资源包括如通过摄像头实时拍 摄的照片或视频, 或是通过话筒实时采集的声音等, 或是抓取的控制终端 的屏幕画面等。
在上述技术方案中, 优选地, 还包括: 接收来自所述控制终端的控制 信息; 执行所述控制信息, 以控制对所述多媒体资源的播放过程。
在该技术方案中, 受控终端生成控制界面, 控制终端通过将控制信息 发送给受控终端, 使得控制终端可以控制多媒体资源在受控终端上的播放 过程。 由于不需要进行画面等数据的实时传输, 仅通过传输数据量明显更 小的控制信息, 因而有利于降低对于网络环境的需求。
在上述技术方案中, 优选地, 在播放所述多媒体资源之前, 还包括: 按照预设的屏幕参数对获取的所述多媒体资源进行解码。
在该技术方案中, 屏幕参数包括如分辨率等信息, 若由控制终端直接 将多媒体资源进行编码发送时, 对于播放的画面等是根据控制终端的屏幕 参数进行编码的, 可能并不能够适用于受控终端, 因此, 通过由受控终端 直接获取多媒体资源并进行直接解码, 可以按照自身的屏幕参数进行解 码, 从而对于任意屏幕参数下的受控终端都具有 ^艮好的自适应性。
根据本发明的又一方面, 还提出了一种系统, 包括如上述任一技术方 案所述的控制终端, 以及如上述任一技术方案所述的受控终端。
在该技术方案中, 多媒体资源可以包括音频、 图片和 /或视频等。 通 过将地址信息发送至受控终端, 使得无需控制终端将多媒体资源的数据进 行编码发送, 尤其是当该多媒体资源为实时资源时, 降低了对于控制终端 自身的硬件要求。 同时, 由于受控终端可以根据地址信息自行下载相应的 数据, 实现对多媒体资源的播放, 而无需在控制终端和受控终端之间直接 进行传输, 从而降低了两者之前的网络环境要求, 尤其是当任一方处于无 线网络环境下时, 有利于提升对多媒体资源的共享效果。 此外, 由于受控 终端获取的多媒体资源不是由控制终端进行编码发送的, 因而便于实现受 控终端根据自身的分辨率等信息进行解码, 从而得到更好的播放效果。
通过以上技术方案, 可以使得在控制终端和受控终端之间进行多媒体 资源共享时, 无需直接传送播放画面数据, 节省带宽资源, 降低对控制终 端的要求。 附图说明
图 1示出了根据本发明的一个实施例的控制终端的框图;
图 2示出了根据本发明的一个实施例的资源共享的方法的流程图; 图 3示出了根据本发明的一个实施例的受控终端的框图;
图 4示出了根据本发明的另一个实施例的资源共享的方法的流程图; 图 5示出了根据本发明的一个实施例的系统的框图;
图 6示出了根据本发明的一个实施例的在多终端之间实现多媒体资源 共享的具体流程图。
具体实施方式
为了能够更清楚地理解本发明的上述目的、 特征和优点, 下面结合附 图和具体实施方式对本发明进行进一步的详细描述。 需要说明的是, 在不 沖突的情况下, 本申请的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本发明, 但是, 本发明还可以采用其他不同于在此描述的其他方式来实施, 因此, 本发明 的保护范围并不受下面公开的具体实施例的限制。
图 1示出了根据本发明的一个实施例的控制终端的框图。
如图 1 所示, 根据本发明的一个实施例的控制终端 100 , 包括: 地址 信息解析单元 102 , 用于解析所述控制终端 100正在播放的多媒体资源的 地址信息; 地址信息发送单元 104 , 用于将所述地址信息发送至受控终 端, 以供所述受控终端根据接收到的地址信息获取并播放相应的多媒体资 源。
在该技术方案中, 多媒体资源可以包括音频、 图片和 /或视频等。 通 过将地址信息发送至受控终端, 使得无需控制终端 100将多媒体资源的数 据进行编码发送, 尤其是当该多媒体资源为实时资源时, 降低了对于控制 终端 100 自身的硬件要求。 同时, 由于受控终端可以根据地址信息自行下 载相应的数据, 实现对多媒体资源的播放, 而无需在控制终端 100和受控 终端之间直接进行传输, 从而降低了两者之前的网络环境要求, 尤其是当 任一方处于无线网络环境下时, 有利于提升对多媒体资源的共享效果。 此 夕卜, 由于受控终端获取的多媒体资源不是由控制终端 100 进行编码发送 的, 因而便于实现受控终端根据自身的分辨率等信息进行解码, 从而得到 更好的播放效果。
在上述技术方案中, 优选地, 所述地址信息解析单元 102 包括: 链接 地址解析子单元 1022 , 用于在所述多媒体资源为网络资源的情况下, 解 析所述网络资源的网络链接地址。
在该技术方案中, 多媒体资源可能来自网络, 比如是网上的某个视频 片段等, 则通过将该视频片段的网络链接地址发送至受控终端, 可以使其 直接从该网络链接地址获取相应的多媒体资源数据, 实现对该多媒体资源 的播放, 降低了对于控制终端 100所处网络环境的要求, 也有利于受控终 端得到更好的播放效果。
在上述技术方案中, 优选地, 所述控制终端 100播放的网络资源也可 能已存储在本地, 则仍将该网络资源的网络链接地址发送至受控终端, 使 其直接从该网络链接地址获取相应的多媒体资源数据, 实现对该多媒体资 源的播放。
在上述技术方案中, 优选地, 所述地址信息解析单元 102 包括: 存储 路径解析子单元 1024 , 用于在所述多媒体资源为本地文件资源的情况 下, 解析所述本地文件资源在所述控制终端 100中的存储路径。
在该技术方案中, 控制终端 100可能播放的是已经存储在本地的多媒 体文件, 则通过将对应的存储路径告知受控终端, 使得受控终端可以直接 从控制终端 100 中相应的存储路径获取该文件数据, 所述存储路径中包括 所述控制终端 100的 IP地址。 由于无需控制终端 100进行编码发送, 因 而有利于降低对于控制终端 100的硬件等方面的要求。
在上述技术方案中, 优选地, 所述地址信息解析单元 102 包括: 端口 解析子单元 1026, 用于在所述多媒体资源为所述控制终端 100 实时采集 的多媒体数据的情况下, 解析所述控制终端 100的数据传输端口。
在该技术方案中, 控制终端 100实时采集的方式, 比如通过摄像头实 时拍摄的照片或视频, 或是通过话筒实时采集的声音等, 或是抓取的控制 终端 100的屏幕画面等。 通过将数据传输端口告知受控终端, 使得受控终 端可以通过该端口自行对控制终端采集到的数据进行获取。 由于不需要控 制终端 100 对多媒体资源进行编码发送, 因而有利于降低对于控制终端 100的硬件等方面的要求。
在上述技术方案中, 优选地, 还包括: 状态信息接收单元 114, 用于 接收所述受控终端发送的播放状态信息; 状态信息加载单元 116, 用于生 成播放状态控制界面并加载所述播放状态信息。
在上述技术方案中, 优选地, 还包括: 控制信息生成单元 106, 用于 根据感应到的用户对所述播放状态控制界面的操作动作, 生成对所述多媒 体资源的状态控制信息; 控制信息发送单元 108 , 用于将所述状态控制信 息发送至所述受控终端, 以控制所述受控终端对所述多媒体资源的播放过 程。
在该技术方案中, 通过将控制信息发送给受控终端, 使得控制终端 100可以控制多媒体资源在受控终端上的播放过程。
例如, 控制终端 100生成控制界面, 该控制界面的初始状态为同步时 刻的播放状态, 之后获取受控终端中资源的总播放时长和当前播放时间、 总音量大小和当前音量、 资源播放的帧率及播放进度条滚动速度等状态信 息, 控制终端 100加载上述信息至控制界面。 由于不需要进行画面等数据 的实时传输, 仅通过传输数据量明显更小的控制信息, 因而有利于降低对 于网络环境的需求。 当控制终端 100发出暂停播放命令时, 受控终端接收 到命令后暂停播放; 控制终端 100再次发出播放命令时, 则受控终端继续 播放或再执行一次与控制终端的同步播放过程。 通过以上方式实现了当控 制终端 100将地址信息发送给受控终端, 且在受控终端上播放多媒体资源 之后, 仅在控制终端 100 上保留针对受控终端播放的多媒体资源的控制 台, 从而使得控制终端 100能够对受控终端进行播放控制, 并尽可能地降 低控制终端 100的系统负荷。
在上述技术方案中, 优选地, 还包括: 资源判断单元 1 10 , 用于判断 所述控制终端 100是否在进行所述多媒体资源的播放, 若是, 则由所述地 址信息解析单元 102解析所述多媒体资源的地址信息; 以及画面数据发送 单元 112 , 用于在所述资源判断单元 110 的判断结果为否的情况下, 抓取 所述控制终端 100的屏幕显示画面并打包发送至所述受控终端。
在该技术方案中, 控制终端 100 可以自动对当前的应用场景进行检 测, 并根据应用场景的不同而采用最恰当的处理方案, 包括发送多媒体资 源的地址信息或是直接发送控制终端 100的屏幕显示画面, 从而既能够保 证受控终端得到控制终端 100的显示画面, 又能够尽可能地降低对控制终 端 100的硬件要求和系统负荷, 以及降低对网络环境的要求。 同时, 需要 说明的是, 对于应用场景的判断, 可以是在控制终端 100与受控终端之间 需要进行资源共享的最开始阶段, 也可以是在整个资源共享的全部或任意 时刻。
在上述技术方案中, 所述受控终端包括但不限于智能电视和智能电视 合
图 2示出了根据本发明的一个实施例的资源共享的方法的流程图。 如图 2所示, 根据本发明的一个实施例的资源共享的方法, 包括: 步 骤 202 , 解析控制终端正在播放的多媒体资源的地址信息; 步骤 204, 将 所述地址信息发送至受控终端, 以供所述受控终端根据接收到的地址信息 获取并播放相应的多媒体资源。
在该技术方案中, 多媒体资源可以包括音频、 图片和 /或视频等。 通 过将地址信息发送至受控终端, 使得无需控制终端将多媒体资源的数据进 行编码发送, 尤其是当该多媒体资源为实时资源时, 降低了对于控制终端 自身的硬件要求。 同时, 由于受控终端可以根据地址信息自行下载相应的 数据, 实现对多媒体资源的播放, 而无需在控制终端和受控终端之间直接 进行传输, 从而降低了两者之前的网络环境要求, 尤其是当任一方处于无 线网络环境下时, 有利于提升对多媒体资源的共享效果。 此外, 由于受控 终端获取的多媒体资源不是由控制终端进行编码发送的, 因而便于实现受 控终端根据自身的分辨率等信息进行解码, 从而得到更好的播放效果。
在上述技术方案中, 优选地, 若所述多媒体资源为网络资源, 则解析 所述多媒体资源的地址信息的步骤包括: 解析所述网络资源的网络链接地 址。
在该技术方案中, 多媒体资源可能来自网络, 比如是网上的某个视频 片段等, 则通过将该视频片段的网络链接地址发送至受控终端, 可以使其 直接从该网络链接地址获取相应的多媒体资源数据, 实现对该多媒体资源 的播放, 降低了对于控制终端所处网络环境的要求, 也有利于受控终端得 到更好的播放效果。
在上述技术方案中, 优选地, 所述控制终端播放的网络资源也可能已 存储在本地, 则仍将该网络资源的网络链接地址发送至受控终端, 使其直 接从该网络链接地址获取相应的多媒体资源数据, 实现对该多媒体资源的 播放。
在上述技术方案中, 优选地, 若所述多媒体资源为本地文件资源, 则 解析所述多媒体资源的地址信息的步骤包括: 解析所述本地文件资源在所 述控制终端中的存储路径。
在该技术方案中, 控制终端可能播放的是已经存储在本地的多媒体文 件, 则通过将对应的存储路径告知受控终端, 使得受控终端可以直接从控 制终端中相应的存储路径获取该文件数据, 所述存储路径中包括所述控制 终端的 IP 地址。 由于无需控制终端进行编码发送, 因而有利于降低对于 控制终端的硬件等方面的要求。
在上述技术方案中, 优选地, 若所述多媒体资源为所述控制终端实时 采集的多媒体数据, 则解析所述多媒体资源的地址信息的步骤包括: 解析 所述控制终端的数据传输端口。 在该技术方案中, 控制终端实时采集的方式, 比如通过摄像头实时拍 摄的照片或视频, 或是通过话筒实时采集的声音等, 或是抓取的控制终端 的屏幕画面等。 通过将数据传输端口告知受控终端, 使得受控终端可以通 过该端口自行对控制终端采集到的数据进行获取。 由于不需要控制终端对 多媒体资源进行编码发送, 因而有利于降低对于控制终端的硬件等方面的 要求。
在上述技术方案中, 优选地, 还包括: 控制终端生成播放状态控制界 面, 并加载接收到的所述受控终端发送的播放状态信息。
在上述技术方案中, 优选地, 还包括: 根据感应到的用户对所述播放 状态控制界面的操作动作, 生成对所述多媒体资源的状态控制信息; 将所 述状态控制信息发送至所述受控终端, 以控制所述受控终端对所述多媒体 资源的播放过程。
在该技术方案中, 通过将控制信息发送给受控终端, 使得控制终端可 以控制多媒体资源在受控终端上的播放过程。 例如, 控制终端生成控制界 面, 该控制界面的初始状态为同步时刻的播放状态, 之后获取受控终端中 资源的总播放时长和当前播放时间、 总音量大小和当前音量、 资源播放的 帧率及播放进度条滚动速度等状态信息, 控制终端加载上述信息至控制界 面。 由于不需要进行画面等数据的实时传输, 仅通过传输数据量明显更小 的控制信息, 因而有利于降低对于网络环境的需求。 当控制终端发出暂停 播放命令时, 受控终端接收到命令后暂停播放; 控制终端再次发出播放命 令时, 则受控终端继续播放或再执行一次与控制终端的同步播放过程。 通 过以上方式实现了当控制终端将地址信息发送给受控终端, 且在受控终端 上播放多媒体资源之后, 仅在控制终端上保留针对受控终端播放的多媒体 资源的控制台, 从而使得控制终端能够对受控终端进行播放控制, 并尽可 能地降低控制终端的系统负荷。
在上述技术方案中, 优选地, 还包括: 判断所述控制终端是否在进行 所述多媒体资源的播放, 若是, 则解析所述多媒体资源的地址信息, 否则 抓取所述控制终端的屏幕显示画面并打包发送至所述受控终端。
在该技术方案中, 控制终端可以自动对当前的应用场景进行检测, 并 根据应用场景的不同而采用最恰当的处理方案, 包括发送多媒体资源的地 址信息或是直接发送控制终端的屏幕显示画面, 从而既能够保证受控终端 得到控制终端的显示画面, 又能够尽可能地降低对控制终端的硬件要求和 系统负荷, 以及降低对网络环境的要求。 同时, 需要说明的是, 对于应用 场景的判断, 可以是在控制终端与受控终端之间需要进行资源共享的最开 始阶段, 也可以是在整个资源共享的全部或任意时刻。
在上述技术方案中, 所述受控终端包括但不限于智能电视和智能电视 合。
图 3示出了根据本发明的一个实施例的受控终端的框图。
如图 3 所示, 根据本发明的一个实施例的受控终端 300, 包括: 地址 信息接收单元 302 , 用于接收来自控制终端的地址信息; 资源获取单元 304 , 用于根据接收到的所述地址信息获取对应的多媒体资源; 资源播放 单元 306 , 用于播放所述多媒体资源; 其中, 所述地址信息是对所述控制 终端正在播放的多媒体资源进行解析后得到的。
在该技术方案中, 多媒体资源可以包括音频、 图片和 /或视频等。 通 过将地址信息发送至受控终端 300 , 使得无需控制终端将多媒体资源的数 据进行编码发送, 尤其是当该多媒体资源为实时资源时, 降低了对于控制 终端自身的硬件要求。 同时, 由于受控终端 300可以根据地址信息自行下 载相应的数据, 实现对多媒体资源的播放, 而无需在控制终端和受控终端 300 之间直接进行传输, 从而降低了两者之前的网络环境要求, 尤其是当 任一方处于无线网络环境下时, 有利于提升对多媒体资源的共享效果。 此 外, 由于受控终端 300 获取的多媒体资源不是由控制终端进行编码发送 的, 因而便于实现受控终端 300根据自身的分辨率等信息进行解码, 从而 得到更好的播放效果。
在上述技术方案中, 优选地, 所述地址信息包括: 网络资源的网络链 接地址、 本地文件资源在所述控制终端中的存储路径或用于获取所述控制 终端实时采集的多媒体数据的数据传输端口。
在该技术方案中, 由于受控终端 300可以直接根据地址信息获取对应 的多媒体资源, 而无需控制终端进行编码发送, 因而降低了对于控制终端 的硬件等方面的要求。 而尤其是对于通过网络链接地址进行数据获取的方 式, 仅对受控终端 300 自身的网络环境存在要求, 而降低了对于控制终端 与受控终端 300之间的网络环境要求。 实时采集的多媒体资源包括如通过 摄像头实时拍摄的照片或视频, 或是通过话筒实时采集的声音等, 或是抓 取的控制终端的屏幕画面等。
在上述技术方案中, 优选地, 还包括: 控制信息接收单元 308 , 用于 接收来自所述控制终端的控制信息; 控制信息执行单元 310 , 用于执行所 述控制信息, 以控制对所述多媒体资源的播放过程。
在该技术方案中, 通过将控制信息发送给受控终端 300 , 使得控制终 端可以控制多媒体资源在受控终端 300上的播放过程。 由于不需要进行画 面等数据的实时传输, 仅通过传输数据量明显更小的控制信息, 因而有利 于降低对于网络环境的需求。
在上述技术方案中, 优选地, 还包括: 资源解码单元 312 , 用于按照 预设的屏幕参数对获取的所述多媒体资源进行解码, 以供所述资源播放单 元进行播放。
在该技术方案中, 屏幕参数包括如分辨率等信息, 若由控制终端直接 将多媒体资源进行编码发送时, 对于播放的画面等是根据控制终端的屏幕 参数进行编码的, 可能并不能够适用于受控终端 300 , 因此, 通过由受控 终端 300直接获取多媒体资源并进行直接解码, 可以按照自身的屏幕参数 进行解码, 从而对于任意屏幕参数下的受控终端 300都具有很好的自适应 性。
在上述技术方案中, 优选地, 还包括: 状态信息发送单元 314 , 用于 实时向控制终端发送受控终端 300当前的播放状态。
在上述技术方案中, 所述受控终端 300 包括但不限于智能电视和智能 电视盒。
图 4示出了根据本发明的另一个实施例的资源共享的方法的流程图。 如图 4所示, 根据本发明的另一个实施例的资源共享的方法, 包括: 步骤 402 , 接收来自控制终端的地址信息, 并根据所述地址信息获取对应 的多媒体资源; 步骤 404 , 播放所述多媒体资源; 其中, 所述地址信息是 对所述控制终端正在播放的多媒体资源进行解析后得到的。
在该技术方案中, 多媒体资源可以包括音频、 图片和 /或视频等。 通 过将地址信息发送至受控终端, 使得无需控制终端将多媒体资源的数据进 行编码发送, 尤其是当该多媒体资源为实时资源时, 降低了对于控制终端 自身的硬件要求。 同时, 由于受控终端可以根据地址信息自行下载相应的 数据, 实现对多媒体资源的播放, 而无需在控制终端和受控终端之间直接 进行传输, 从而降低了两者之前的网络环境要求, 尤其是当任一方处于无 线网络环境下时, 有利于提升对多媒体资源的共享效果。 此外, 由于受控 终端获取的多媒体资源不是由控制终端进行编码发送的, 因而便于实现受 控终端根据自身的分辨率等信息进行解码, 从而得到更好的播放效果。
在上述技术方案中, 优选地, 所述地址信息包括: 网络资源的网络链 接地址、 本地文件资源在所述控制终端中的存储路径或用于获取所述控制 终端实时采集的多媒体数据的数据传输端口。
在该技术方案中, 由于受控终端可以直接根据地址信息获取对应的多 媒体资源, 而无需控制终端进行编码发送, 因而降低了对于控制终端的硬 件等方面的要求。 而尤其是对于通过网络链接地址进行数据获取的方式, 仅对受控终端自身的网络环境存在要求, 而降低了对于控制终端与受控终 端之间的网络环境要求。 实时采集的多媒体资源包括如通过摄像头实时拍 摄的照片或视频, 或是通过话筒实时采集的声音等, 或是抓取的控制终端 的展幕画面等。
在上述技术方案中, 优选地, 还包括: 接收来自所述控制终端的控制 信息; 执行所述控制信息, 以控制对所述多媒体资源的播放过程。
在该技术方案中, 通过将控制信息发送给受控终端, 使得控制终端可 以控制多媒体资源在受控终端上的播放过程。 由于不需要进行画面等数据 的实时传输, 仅通过传输数据量明显更小的控制信息, 因而有利于降低对 于网络环境的需求。
在上述技术方案中, 优选地, 在播放所述多媒体资源之前, 还包括: 按照预设的屏幕参数对获取的所述多媒体资源进行解码。
在该技术方案中, 屏幕参数包括如分辨率等信息, 若由控制终端直接 将多媒体资源进行编码发送时, 对于播放的画面等是根据控制终端的屏幕 参数进行编码的, 可能并不能够适用于受控终端, 因此, 通过由受控终端 直接获取多媒体资源并进行直接解码, 可以按照自身的屏幕参数进行解 码, 从而对于任意屏幕参数下的受控终端都具有 ^艮好的自适应性。
在上述技术方案中, 所述受控终端包括但不限于智能电视和智能电视 合
图 5示出了根据本发明的一个实施例的系统的框图。
如图 5所示, 根据本发明的一个实施例的系统, 包括如图 1所示的控 制终端 100 , 以及如图 3所示的受控终端 300。
在该技术方案中, 多媒体资源可以包括音频、 图片和 /或视频等。 通 过由控制终端 100 将地址信息发送至受控终端 300 , 使得无需控制终端 100 将多媒体资源的数据进行编码发送, 尤其是当该多媒体资源为实时资 源时, 降低了对于控制终端 100 自身的硬件要求。 同时, 由于受控终端 300 可以根据地址信息自行下载相应的数据, 实现对多媒体资源的播放, 而无需在控制终端 100和受控终端 300之间直接进行传输, 从而降低了两 者之前的网络环境要求, 尤其是当任一方处于无线网络环境下时, 有利于 提升对多媒体资源的共享效果。 此外, 由于受控终端 300获取的多媒体资 源不是由控制终端 100进行编码发送的, 因而便于实现受控终端 300根据 自身的分辨率等信息进行解码, 从而得到更好的播放效果。
图 6示出了根据本发明的一个实施例的在多终端之间实现多媒体资源 共享的具体流程图。
假定在多个终端之间进行多媒体资源的共享, 则对于其中的一组终端 而言, 如图 6所示, 这组终端实现多媒体资源共享的具体流程包括:
步骤 601 , 发送端判断自身当前是否在播放多媒体资源, 这里的多媒 体资源可以包括如视频、 音频、 图片等各种形式的资源。 若是, 则进入步 骤 602 , 否则进入步骤 625。 通过对 "当前是否播放多媒体资源" 这一应 用场景的判断, 从而实现对不同场景下采用不同的方案流程。
步骤 602 , 发送端判断当前播放的多媒体资源是否为实时资源, 若 是, 则进入步骤 616 , 否则进入步骤 604。 发送端在播放该多媒体资源 时, 可以在自身的屏幕上进行相应的显示画面, 包括效果画面 (视频帧或 图片本身) 或控制画面等, 也可以不进行显示, 仅发出声音等, 则此时可 以通过物理按键等进行控制。
步骤 604, 判断发送端播放的多媒体资源是否为网络资源, 若是, 则 进入步骤 606 , 否则进入步骤 612。
步骤 606 , 若为网络资源, 比如是在线播放的一个网络视频或一张图 片, 则发送端对该网络资源进行解析, 以获取其对应的网络链接地址。
步骤 608 , 发送端将解析得到的网络链接地址发送至接收端。 由于是 网络资源, 使得无需在发送端和接收端之间建立网络建立, 接收端可以直 接从网络侧获取对应的多媒体资源以用于播放, 因而降低了在发送端与接 收端之间的网络环境要求。
步骤 610, 接收端获取多媒体资源。 具体地, 若由步骤 608进入步骤 610 , 则是根据接收到的网络链接地址获取相应的多媒体资源, 若由步骤 614或步骤 618 进入步骤 610, 则利用对应的地址信息获取相应的多媒体 资源, 下面将在步骤 614和步骤 618中具体说明。
步骤 612 , 若为本地资源, 比如发送端正在播放本地的视频、 音频或 图片等文件, 则由发送端获取这些本地资源的存储路径。
步骤 614 , 发送端将存储路径发送至接收端, 并进入步骤 610 , 使得 接收端可以根据该存储路径, 从而连接至发送端, 并直接从该存储路径获 取相应的本地资源。
步骤 616 , 若多媒体资源为实时资源, 比如发送端通过摄像头实时拍 摄的照片或视频, 或是通过话筒实时采集的声音等, 或是抓取的控制终端 的屏幕画面等, 则发送端获取实时采集的多媒体数据。
步骤 618 , 发送端解析自身的数据传输端口。
步骤 619 , 发送端将数据传输端口发送至接收端, 从而进入步骤 610 之后, 接收端可以根据接收到的数据传输端口访问发送端, 以获取发送端 实时采集的多媒体数据。
步骤 620 , 接收端在获取多媒体资源之后, 将根据自身的屏幕参数进 行解码。 由于不是由发送端对多媒体资源进行编码后传输给接收端, 而是 由接收端主动获取了多媒体资源, 因而接收端可以根据自身的屏幕参数, 比如分辨率等, 对获取的多媒体资源进行解码, 以使得解码后的数据能够 适应于接收端的屏幕, 从而得到最佳的显示效果。
步骤 622 , 接收端利用解码得到的数据进行播放。
步骤 624, 发送端对接收端进行播放控制。 具体地, 由于在发送端和 接收端之间都在对相同的多媒体资源进行播放, 因而发送端可以在自身的 屏幕界面上进行播放控制, 比如拖动播放进度、 暂停、 快进、 下一张图片 等, 则发送端在检测到控制操作后, 可以将对应的控制信息发送至接收 端, 则接收端可以根据接收到的控制信息, 执行对应的播放控制。
步骤 625 , 在发送端不在播放多媒体资源的情况下, 由于不存在对应 的地址信息, 因而直接抓取发送端的屏幕画面内容。
步骤 626 , 将抓取到的屏幕画面内容进行编码并压缩传输至接收端, 以供接收端对接收到的数据进行解码后, 得到发送端的屏幕画面内容。 通 过步骤 601、 步骤 625和步骤 626的步骤流程, 结合其他步骤流程, 从而 无论发送端当前是否播放多媒体资源或处于其他任意界面下, 都能够实现 发送端对接收端的屏幕共享。
通过上述技术方案, 尤其是在同步播放网络资源的情况下, 由于发送 端仅需要将控制信息发送至接收端, 即可实现在两者之间的资源同步播放 和控制, 传输数据量大幅度削减, 带宽消耗变小, 可提供更小的数据延时 以及较差的无线网络环境更好的适应能力。
需要说明的是, 本发明中虽然没有提及控制终端和受控终端的数量, 但实际上本发明的技术方案适用于一对一、 一对多、 多对一、 多对多等多 种情况, 因为无论数量多少, 对于任意一台控制终端与相应的受控终端而 言, 其控制过程实际上是相同的。
以上结合附图详细说明了本发明的技术方案, 考虑到相关技术中, 在 终端之间进行多媒体资源的播放共享时, 需要由控制终端直接将数据编码 发送至受控终端, 对于控制终端和网络环境的要求较高, 因此, 本发明提 供了控制终端、 受控终端、 资源共享的方法和系统, 可以使得在控制终端 和受控终端之间进行多媒体资源共享时, 无需直接传送播放画面数据, 节 省带宽资源, 降低对控制终端的要求。
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。

Claims

权 利 要 求 书
1. 一种控制终端, 其特征在于, 包括:
地址信息解析单元, 用于解析所述控制终端正在播放的多媒体资源的 地址信息;
地址信息发送单元, 用于将所述地址信息发送至受控终端, 以供所述 受控终端根据接收到的地址信息获取并播放相应的多媒体资源。
2. 根据权利要求 1 所述的控制终端, 其特征在于, 所述地址信息解 析单元包括:
链接地址解析子单元, 用于在所述多媒体资源为网络资源的情况下, 解析所述网络资源的网络链接地址。
3. 根据权利要求 1 所述的控制终端, 其特征在于, 所述地址信息解 析单元包括:
存储路径解析子单元, 用于在所述多媒体资源为本地文件资源的情况 下, 解析所述本地文件资源在所述控制终端中的存储路径。
4. 根据权利要求 1 所述的控制终端, 其特征在于, 所述地址信息解 析单元包括:
端口解析子单元, 用于在所述多媒体资源为所述控制终端实时采集的 多媒体数据的情况下, 解析所述控制终端的数据传输端口。
5. 根据权利要求 1 至 4 中任一项所述的控制终端, 其特征在于, 还 包括:
状态信息接收单元, 用于接收所述受控终端发送的播放状态信息; 状态信息加载单元, 用于生成播放状态控制界面并加载所述播放状态 信息。
6. 根据权利要求 5所述的控制终端, 其特征在于, 还包括: 控制信息生成单元, 用于根据感应到的用户对所述播放状态控制界面 的操作动作, 生成对所述多媒体资源的状态控制信息;
控制信息发送单元, 用于将所述状态控制信息发送至所述受控终端, 以控制所述受控终端对所述多媒体资源的播放过程。
7. 根据权利要求 1 至 4 中任一项所述的控制终端, 其特征在于, 还 包括:
资源判断单元, 用于判断所述控制终端是否在进行所述多媒体资源的 播放, 若是, 则由所述地址信息解析单元解析所述多媒体资源的地址信 息; 以及
画面数据发送单元, 用于在所述资源判断单元的判断结果为否的情况 下, 抓取所述控制终端的屏幕显示画面并打包发送至所述受控终端。
8. 一种资源共享的方法, 其特征在于, 包括:
解析控制终端正在播放的多媒体资源的地址信息;
将所述地址信息发送至受控终端, 以供所述受控终端根据接收到的地 址信息获取并播放相应的多媒体资源。
9. 根据权利要求 8 所述的资源共享的方法, 其特征在于, 若所述多 媒体资源为网络资源, 则解析所述多媒体资源的地址信息的步骤包括: 解析所述网络资源的网络链接地址。
10. 根据权利要求 8所述的资源共享的方法, 其特征在于, 若所述多 媒体资源为本地文件资源, 则解析所述多媒体资源的地址信息的步骤包 括:
解析所述本地文件资源在所述控制终端中的存储路径。
11. 根据权利要求 8所述的资源共享的方法, 其特征在于, 若所述多 媒体资源为所述控制终端实时采集的多媒体数据, 则解析所述多媒体资源 的地址信息的步骤包括:
解析所述控制终端的数据传输端口。
12. 根据权利要求 8 至 11 中任一项所述的资源共享的方法, 其特征 在于, 还包括:
控制终端生成播放状态控制界面并加载接收到的所述受控终端发送的 播放状态信息。
13. 根据权利要求 12 所述的资源共享的方法, 其特征在于, 还包 括: 根据感应到的用户对所述播放状态控制界面的操作动作, 生成对所述 多媒体资源的状态控制信息;
将所述状态控制信息发送至所述受控终端, 以控制所述受控终端对所 述多媒体资源的播放过程。
14. 根据权利要求 8 至 11 中任一项所述的资源共享的方法, 其特征 在于, 还包括:
判断所述控制终端是否在进行所述多媒体资源的播放, 若是, 则解析 所述多媒体资源的地址信息, 否则抓取所述控制终端的屏幕显示画面并打 包发送至所述受控终端。
PCT/CN2012/087736 2012-12-27 2012-12-27 控制终端和资源共享的方法 WO2014101065A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280077431.7A CN104854876B (zh) 2012-12-27 2012-12-27 控制终端和资源共享的方法
PCT/CN2012/087736 WO2014101065A1 (zh) 2012-12-27 2012-12-27 控制终端和资源共享的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/087736 WO2014101065A1 (zh) 2012-12-27 2012-12-27 控制终端和资源共享的方法

Publications (1)

Publication Number Publication Date
WO2014101065A1 true WO2014101065A1 (zh) 2014-07-03

Family

ID=51019711

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087736 WO2014101065A1 (zh) 2012-12-27 2012-12-27 控制终端和资源共享的方法

Country Status (2)

Country Link
CN (1) CN104854876B (zh)
WO (1) WO2014101065A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600101A (zh) * 2009-06-24 2009-12-09 中兴通讯股份有限公司 一种移动多媒体广播的音视频共享方法及系统
CN102299968A (zh) * 2011-09-16 2011-12-28 四川长虹电器股份有限公司 多终端信息共享系统及方法
CN102325182A (zh) * 2011-09-09 2012-01-18 重庆抛物线信息技术有限责任公司 一种音视频共享方法及系统
CN102611948A (zh) * 2011-01-25 2012-07-25 北京天纵网联科技有限公司 一种移动互联网终端音视频共享和分发的方法

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5808662A (en) * 1995-11-08 1998-09-15 Silicon Graphics, Inc. Synchronized, interactive playback of digital movies across a network
CN101072359A (zh) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 实现网络媒体同步视听的方法、系统及用户端
CN101820416A (zh) * 2010-02-24 2010-09-01 上海引跑信息科技有限公司 网络会议系统中高速共享桌面的处理方法
CN102685563B (zh) * 2011-03-15 2015-11-25 华为终端有限公司 互联网协议电视内容共享方法、装置以及终端设备
CN102298947B (zh) * 2011-08-23 2015-12-16 百度在线网络技术(北京)有限公司 一种用于在多媒体播放器间进行播放切换的方法与设备
CN102510405A (zh) * 2011-11-18 2012-06-20 深圳中兴网信科技有限公司 一种屏幕共享方法及其系统
CN102546608B (zh) * 2011-12-26 2015-12-16 上海聚力传媒技术有限公司 用于同步播放媒体信息的方法、装置、设备和系统
CN102546616B (zh) * 2011-12-28 2015-06-24 Tcl集团股份有限公司 一种媒体共享互动的实现方法及数字家庭媒体服务器
CN102799693A (zh) * 2012-08-23 2012-11-28 上海广电电子科技有限公司 视频内容推送方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600101A (zh) * 2009-06-24 2009-12-09 中兴通讯股份有限公司 一种移动多媒体广播的音视频共享方法及系统
CN102611948A (zh) * 2011-01-25 2012-07-25 北京天纵网联科技有限公司 一种移动互联网终端音视频共享和分发的方法
CN102325182A (zh) * 2011-09-09 2012-01-18 重庆抛物线信息技术有限责任公司 一种音视频共享方法及系统
CN102299968A (zh) * 2011-09-16 2011-12-28 四川长虹电器股份有限公司 多终端信息共享系统及方法

Also Published As

Publication number Publication date
CN104854876A (zh) 2015-08-19
CN104854876B (zh) 2019-03-22

Similar Documents

Publication Publication Date Title
CN109889543B (zh) 视频传输的方法、根节点、子节点、p2p服务器和系统
EP3195606B1 (en) Direct streaming for wireless display
US10678393B2 (en) Capturing multimedia data based on user action
KR102387161B1 (ko) 비디오 스크린 프로젝션 방법과 장치, 컴퓨터 장비, 및 저장 매체
US10110393B2 (en) Protocol switching over multi-network interface
US20170026457A1 (en) Multimedia File Transmission Apparatus and Method
CN106941629B (zh) 基于sip+rtp与rtmp协议互通的实时直播方法
CN107819809B (zh) 对内容进行同步操作的方法及装置
WO2016049987A1 (zh) 一种数据处理方法、装置及相关服务器
JP6337114B2 (ja) ワイヤレスディスプレイのためのソースデバイスにおけるリソース利用のための方法および装置
WO2012109821A1 (zh) 流媒体资源共享的方法、系统及具有dlna功能的设备
CN105610824B (zh) 一种基于屏幕镜像及rtsp流媒体框架的屏幕共享方法
WO2014194815A1 (zh) 一种切换编码方式的方法、发送端和接收端
WO2013116975A1 (zh) 流媒体播放方法、设备及系统
CN104427400A (zh) 流媒体传输方法、系统以及流媒体服务器
WO2011137837A1 (zh) 一种快速频道切换时获取关键信息的方法、装置和系统
CN108366044B (zh) 一种VoIP远程音视频共享方法
WO2016177248A1 (zh) 一种实时媒体流的编解码方法和装置
JP5428734B2 (ja) ネットワーク機器、情報処理装置、ストリーム切替方法、情報処理方法、プログラムおよびコンテンツ配信システム
JP2014131143A (ja) 送信装置、送信方法、及びプログラム
US9838463B2 (en) System and method for encoding control commands
WO2016069309A1 (en) Feeding intra-coded video frame after port reconfiguration in video telephony
TW200840373A (en) Data transmission method and audio/video system capable of splitting and synchronizing audio/video data
WO2010124499A1 (zh) 基于电路域可视电话同步录制对端声音图像的方法和终端
TWI526080B (zh) 視訊會議系統

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12891075

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12891075

Country of ref document: EP

Kind code of ref document: A1