WO2017140161A1 - Method, device and system for sharing audio and video resource, and network gateway - Google Patents

Method, device and system for sharing audio and video resource, and network gateway Download PDF

Info

Publication number
WO2017140161A1
WO2017140161A1 PCT/CN2016/108759 CN2016108759W WO2017140161A1 WO 2017140161 A1 WO2017140161 A1 WO 2017140161A1 CN 2016108759 W CN2016108759 W CN 2016108759W WO 2017140161 A1 WO2017140161 A1 WO 2017140161A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
video
network gateway
video stream
receiving end
Prior art date
Application number
PCT/CN2016/108759
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2017140161A1 publication Critical patent/WO2017140161A1/en

Links

Images

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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4385Multiplex stream processing, e.g. multiplex stream decrypting
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched

Definitions

  • the embodiments of the present invention relate to the technical field, and in particular, to a method, an apparatus, a system, and a network gateway for sharing audio and video resources.
  • Miracast also known as WI-FI Display
  • WI-FI Display is a point-to-point multimedia sharing protocol developed by the WI-FI Alliance. Its main purpose is to transmit the multimedia data of the source device to the destination device for playback display by wireless transmission.
  • Miracast is a wireless display standard based on WI-FI Direct, and handheld devices supporting this standard can share video images wirelessly.
  • a mobile phone that supports Miracast can use Miracast to directly synchronize a movie or photo to a TV or other device for playback without any connection line, so as to meet the needs of the user to watch the video, thereby improving the user experience.
  • the connection process of Miracast is: first, look for the nearby Miracast device with Wi-Fi Direct, and then transmit the information of the discovered Miracast device to the user, after which the user can find the device that was previously connected or previously connected. Select the device you want to connect to. After the wireless connection is established, the devices on both sides will coordinate the device function and network conditions to select the appropriate audio and video transmission format. After the online protocol session of the video stream is established between the two devices, the source device sends a series of real-time streaming protocol (RTSP) control commands to the destination device to control the playback and termination of the video stream.
  • RTSP real-time streaming protocol
  • the user will have a device that supports the Miracast function, but other reproduction devices (for example, a reproduction device such as a television, a projection device, etc.) are not, and sometimes the user needs to be on multiple large or small screens. Displaying image information, how to display image information on the screen of multiple or large or small reproduction devices at the same time is an urgent problem to be solved.
  • other reproduction devices for example, a reproduction device such as a television, a projection device, etc.
  • the embodiments of the present invention aim to solve at least one of the technical problems in the related art to some extent.
  • the first object of the embodiment of the present invention is to provide a method for sharing audio and video resources, which realizes synchronization of audio and video content between a transmitting end and a receiving end, and satisfies the viewing of audio and video resources on the receiving end.
  • Demand increases user experience.
  • a second object of the embodiments of the present invention is to provide an apparatus for sharing audio and video resources.
  • a third object of embodiments of the present invention is to provide a network gateway.
  • a fourth object of the embodiments of the present invention is to provide a system for sharing audio and video resources.
  • the first aspect of the present invention provides a method for sharing audio and video resources, including: receiving an audio and video stream sent by a sending end; determining whether the number of receiving ends connected to the network gateway is multiple; If the number of the receiving ends connected to the network gateway is multiple, the audio and video streams are duplicated according to the number of the receiving ends, and an audio and video is sent to each receiving end connected to the network gateway. Streaming so that each receiving end receives and projects the audiovisual stream.
  • the method before the sending, by the receiving end, the audio and video stream to each of the network gateways, the method further includes: determining, for each of the receiving ends, the current receiving end And an audio and video data format, and determining whether the audio and video data format is consistent with the format of the audio and video stream; if not, converting the format of the audio and video stream according to the audio and video data format, and converting the format The subsequent audio and video stream is sent to the current receiving end.
  • the method before the receiving the audio and video stream sent by the sending end, the method further includes: establishing a wireless communication connection with the sending end, and establishing a Miracast session with the sending end.
  • the method further includes determining, when the number of receiving ends connected to the network gateway is one, determining an audio and video data format required by the receiving end, and determining the audio and video data. Whether the format is consistent with the format of the audio and video stream; if the audio and video data format is inconsistent with the format of the audio and video stream, the The format of the audio and video stream is converted, and the converted audio and video stream is sent to the receiving end.
  • the method further includes: if the receiving end with the new access is monitored, according to the newly accessed The number of receiving ends copies the audio and video streams in multiple copies, and sends an audio and video stream to each newly accessed receiving end, so that each newly accessed receiving end receives and projects the audio and video streams.
  • the method for sharing audio and video resources after receiving the audio and video stream sent by the transmitting end, it is determined whether the number of receiving ends connected to the network gateway is multiple, and determining the number of receiving ends connected to the network gateway.
  • the audio and video streams are copied according to the number of receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams, thereby
  • the plurality of receiving ends synchronously display the audio and video content of the transmitting end, which satisfies the requirement of the user to use the audio and video content of the plurality of receiving end projection transmitting ends, thereby improving the user experience.
  • the second aspect of the present invention provides an apparatus for sharing audio and video resources, including: a receiving module, configured to receive an audio and video stream sent by a sending end; and a determining module configured to determine a connection with the network gateway. Whether the number of the receiving ends is multiple; the first processing module is configured to: when determining that the number of receiving ends connected to the network gateway is multiple, copying the audio and video streams according to the number of the receiving ends, and An audio and video stream is sent to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams.
  • the apparatus further includes: a second processing module, configured to: before the first processing module sends an audio and video stream to each receiving end connected to the network gateway, Determining, by the receiving end, the audio and video data format required by the current receiving end, and determining whether the audio and video data format is consistent with the format of the audio and video stream, and in the audio and video data format and the sound
  • the format of the audio and video stream is converted according to the audio and video data format, and the converted audio and video stream is sent to the current receiving end.
  • the device further includes: an establishing module, configured to be in the Before receiving the audio and video stream sent by the sending end, the receiving module establishes a wireless communication connection with the sending end, and establishes a Miracast session with the sending end.
  • an establishing module configured to be in the Before receiving the audio and video stream sent by the sending end, the receiving module establishes a wireless communication connection with the sending end, and establishes a Miracast session with the sending end.
  • the apparatus further includes: a third processing module, configured to determine an audio and video data format required by the receiving end when the number of receiving ends connected to the network gateway is one, And determining whether the audio and video data format is consistent with the format of the audio and video stream, and when the audio and video data format is inconsistent with the format of the audio and video stream, the audio and video according to the audio and video data format The format of the stream is converted, and the converted audio and video stream is sent to the receiving end.
  • a third processing module configured to determine an audio and video data format required by the receiving end when the number of receiving ends connected to the network gateway is one, And determining whether the audio and video data format is consistent with the format of the audio and video stream, and when the audio and video data format is inconsistent with the format of the audio and video stream, the audio and video according to the audio and video data format The format of the stream is converted, and the converted audio and video stream is sent to the receiving end.
  • the apparatus further includes: a fourth processing module, configured to: after the determining module determines whether the number of receiving ends connected to the network gateway is multiple, when monitoring the new access At the receiving end, the audio and video streams are duplicated according to the number of newly accessed receiving ends, and an audio and video stream is sent to each newly accessed receiving end, so that each newly accessed receiving end receives And projecting the audio and video stream.
  • a fourth processing module configured to: after the determining module determines whether the number of receiving ends connected to the network gateway is multiple, when monitoring the new access At the receiving end, the audio and video streams are duplicated according to the number of newly accessed receiving ends, and an audio and video stream is sent to each newly accessed receiving end, so that each newly accessed receiving end receives And projecting the audio and video stream.
  • the device for sharing audio and video resources receives the audio and video stream sent by the sending end by the receiving module, and determines whether the number of receiving ends connected to the network gateway is multiple by the determining module, and determines the network gateway
  • the first processing module copies the audio and video streams according to the number of receiving ends, and sends an audio and video stream to each receiving end connected to the network gateway, so that each receiving end
  • the audio and video streams are received and projected, thereby enabling a plurality of receiving ends to synchronously display the audio and video content of the transmitting end, which satisfies the requirement of the user to use the audio and video content of the plurality of receiving ends to project the transmitting end, thereby improving the user experience.
  • the third aspect of the present invention provides a network gateway, including: an apparatus for sharing audio and video resources in the second aspect.
  • the network gateway determines whether the number of receiving ends connected to the network gateway is multiple after receiving the audio and video stream sent by the transmitting end, and determines that the number of receiving ends connected to the network gateway is multiple. And copying the audio and video streams according to the number of receiving ends, and sending an audio and video stream to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams, thereby making multiple.
  • the receiving end synchronously displays the audio and video content of the transmitting end. The requirement for the user to use the audio and video content of the plurality of receiving end projection transmitting ends is satisfied, and the user experience is improved.
  • the fourth aspect of the present invention provides a system for sharing audio and video resources, a transmitting end, a network gateway, and at least one receiving end, wherein the transmitting end is configured to send a sound to the network gateway.
  • Video stream data the network gateway is configured to receive the audio and video stream data sent by the sending end, and determine whether the number of the receiving ends is multiple, and when the number of the receiving ends is multiple, according to The number of receiving ends copies the audio and video streams, and sends an audio and video stream to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams;
  • the receiving end is configured to receive the audio and video stream sent by the network gateway, and project the audio and video stream.
  • the network gateway is further configured to: determine, before each of the receiving ends, a current receiving before sending an audio and video stream to each receiving end connected to the network gateway. And determining a format of the audio and video data required, and determining whether the audio and video data format is consistent with the format of the audio and video stream, and when the audio and video data format is inconsistent with the format of the audio and video stream, according to the The audio and video data format converts the format of the audio and video stream, and sends the converted audio and video stream to the current receiving end.
  • the network gateway is further configured to: determine, when the number of receiving ends connected to the network gateway is one, determine an audio and video data format required by the receiving end, and determine the Whether the audio and video data format is consistent with the format of the audio and video stream; if the audio and video data format is inconsistent with the format of the audio and video stream, converting the format of the audio and video stream according to the audio and video data format And transmitting the converted audio and video stream to the receiving end.
  • the network gateway determines whether the number of receiving ends connected to the network gateway is multiple, if the network gateway monitors a receiving end with a new access, the network gateway is configured according to The number of receiving ends of the new access copies the audio and video streams in multiple copies, and sends an audio and video stream to each newly accessed receiving end, so that the receiving end of each new access receives and projects the sound. Video stream.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction, where the execution instruction is used to perform the method for sharing audio and video resources in the foregoing embodiment.
  • the network gateway determines whether the number of receiving ends connected to the network gateway is multiple, and determines the receiving connection with the network gateway.
  • the audio and video streams are copied according to the number of the receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams.
  • the plurality of receiving ends synchronously display the audio and video content of the transmitting end, which satisfies the requirement that the user uses the audio and video content of the plurality of receiving ends to project the transmitting end, thereby improving the user experience.
  • FIG. 1 is a flow chart of a method for sharing audio and video resources according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a method for sharing audio and video resources according to another embodiment of the present invention.
  • FIG. 3 is a flow chart of a method for sharing audio and video resources according to still another embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for sharing audio and video resources according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an apparatus for sharing audio and video resources according to another embodiment of the present invention.
  • FIG. 6 is a schematic diagram of the basic structure of a network gateway.
  • FIG. 7 is a schematic structural diagram of a system for sharing audio and video resources according to an embodiment of the present invention.
  • FIG. 8 is a diagram of an example of a system for audio and video resource sharing, in accordance with one embodiment of the present invention.
  • FIG. 1 is a flow chart of a method for sharing audio and video resources according to an embodiment of the present invention.
  • the method for sharing audio and video resources includes:
  • S101 Receive an audio and video stream sent by the sending end.
  • the sender is a device compatible with the Miracast function, that is, the sender is a device that supports the Miracast function.
  • the network gateway In the process of projecting audio and video to the receiving end, after the network gateway receives the wireless communication connection request sent by the transmitting end, the network gateway establishes a wireless communication connection with the transmitting end based on the wireless communication connection request, and the transmitting end Establish a Miracast session.
  • the sending end sends the audio and video stream to the network gateway.
  • the network gateway receives and saves the audio and video stream sent by the sending end.
  • the wireless communication connection can be established between the transmitting end and the network gateway through multiple wireless methods, for example, WIFI (Wireless Fidelity) mode, Bluetooth, etc.
  • WIFI Wireless Fidelity
  • Bluetooth etc.
  • the user can select and monitor the network gateway according to needs.
  • the wireless mode of the communication connection is not limited in this embodiment.
  • the network gateway in this embodiment is a gateway compatible with the Miracast function.
  • the receiving end may be a device compatible with the Miracast function or a device not compatible with the Miracast function.
  • the audio and video streams are copied according to the number of the receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that Each receiving end receives and projects an audio and video stream.
  • the network gateway in the process of receiving and saving the audio and video stream sent by the sending end, the network gateway also acquires the number of receiving ends connected to the current time, and determines the current time and Whether the number of receiving ends of the connection is multiple, if it is determined that the number of receiving ends connected to the current time is multiple, in order to enable the receiving end connected thereto to display the audio and video resources sent by the transmitting end, that is, in order to connect with the same
  • the receiving end synchronously displays the audio and video resources of the transmitting end.
  • the network gateway can copy the audio and video streams according to the number of receiving ends connected thereto.
  • the receiving end of the embodiment and the network gateway may be connected by wire, or may be connected by wireless.
  • the current receiving end is a smart TV, and the smart TV may be wired or wireless. The way to establish a communication connection with the network gateway.
  • the interaction between the network gateway and the receiving end may be compatible with Miracast, or may be compatible with Miracast and adopt other streaming media transmission and playing modes.
  • the interaction between the network gateway and the receiving end can be selected according to the actual situation. This embodiment does not limit the interaction mode between the network gateway and the receiving end.
  • the data format of the audio and video supported by each receiving end may be different.
  • the network gateway copies the audio and video stream according to the data of the receiving end, and then responds to the corresponding
  • the network gateway can determine the audio and video data format required by the current receiving end, and determine whether the audio and video data format and the format of the audio and video stream required by the current receiving end are Consistently, if it is determined that the format of the audio and video data required by the current receiving end is inconsistent with the format of the audio and video stream, the network gateway converts the format of the audio and video stream according to the audio and video data format required by the current receiving end, and converts the format.
  • the subsequent audio and video streams are sent to the current receiving end.
  • the current receiving end receives and plays the audio and video content corresponding to the audio and video.
  • the method for sharing audio and video resources after receiving the audio and video stream sent by the transmitting end, it is determined whether the number of receiving ends connected to the network gateway is multiple, and determining the number of receiving ends connected to the network gateway.
  • the audio and video streams are copied according to the number of receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams, thereby So that multiple receiving ends synchronously display the audio and video content of the transmitting end, which satisfies the need for the user to use the audio and video content of the plurality of receiving end projection transmitting ends.
  • Demand improve user experience.
  • the method for sharing audio and video resources may further include steps S104 and S105.
  • the network gateway does not need to convert the format of the audio and video data, and the network gateway directly sends the corresponding audio and video stream to the receiving end, and the corresponding receiving end is
  • the audio and video streams play the corresponding audio and video content, thereby realizing the synchronization of audio and video content between the transmitting end and the receiving end, satisfying the requirement of viewing audio and video resources on the receiving end, and improving the user experience.
  • FIG. 3 is a flow chart of a method for sharing audio and video resources according to still another embodiment of the present invention.
  • the method for sharing audio and video resources includes:
  • S301 Receive an audio and video stream sent by the sending end.
  • the sender is a device compatible with the Miracast function, that is, the sender is a device that supports the Miracast function.
  • the network gateway In the process of projecting audio and video to the receiving end, after the network gateway receives the wireless communication connection request sent by the transmitting end, the network gateway establishes a wireless communication connection with the transmitting end based on the wireless communication connection request, and the transmitting end Establish a Miracast session.
  • the sending end sends the audio and video stream to the network gateway.
  • the network gateway receives and saves the audio and video stream sent by the sending end.
  • the wireless communication connection can be established between the transmitting end and the network gateway through multiple wireless modes.
  • the WIFI Wireless Fidelity
  • the Bluetooth in a practical application, the user can select a wireless mode for monitoring the communication connection with the network gateway according to the requirement, which is not limited in this embodiment.
  • the network gateway in this embodiment is a gateway compatible with the Miracast function.
  • the receiving end may be a device compatible with the Miracast function or a device not compatible with the Miracast function.
  • the audio and video streams are copied according to the number of the receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that Each receiving end receives and projects an audio and video stream.
  • the network gateway in the process of receiving and storing the audio and video stream sent by the sending end, the network gateway also obtains the number of receiving ends connected to the current time, and determines whether the number of receiving ends connected to the current time is multiple, if it is determined The number of receiving ends connected to the current time is multiple, so that the receiving end connected thereto can display the audio and video resources sent by the transmitting end, that is, in order to enable the receiving end connected thereto to synchronously display the audio and video resources of the transmitting end, At this time, the network gateway can copy the audio and video streams according to the number of receiving ends connected thereto.
  • the receiving end of the embodiment and the network gateway may be connected by wire, or may be connected by wireless.
  • the current receiving end is a smart TV, and the smart TV may be wired or wireless. The way to establish a communication connection with the network gateway.
  • the interaction between the network gateway and the receiving end may be compatible with Miracast, or may be compatible with Miracast and adopt other streaming media transmission and playing modes.
  • the interaction between the network gateway and the receiving end can be selected according to the actual situation. This embodiment does not limit the interaction mode between the network gateway and the receiving end.
  • the data format of the audio and video supported by each receiving end may be different.
  • the network gateway will use the data of the receiving end.
  • the network gateway can determine the audio and video data format required by the current receiving end, and determine the current receiving end required Whether the format of the audio and video data is consistent with the format of the audio and video stream, if it is determined that the format of the audio and video data required by the current receiving end is inconsistent with the format of the audio and video stream, the network gateway according to the audio and video data format required by the current receiving end
  • the format of the audio and video stream is converted, and the converted audio and video stream is sent to the current receiving end.
  • the current receiving end receives and plays the audio and video content corresponding to the audio and video.
  • the receiving end connected to the network gateway is not fixed, and the user can increase the number of receiving ends connected to the network gateway according to actual needs, in order to make a new connection.
  • the receiving end of the network gateway can be synchronized with the audio and video content of the sending end. As shown in FIG. 3, after step S302, step S306 can also be included.
  • the audio and video streams are copied according to the number of newly accessed receiving ends, and an audio and video stream is sent to each newly accessed receiving end, so that each The receiving end of the new access receives and projects the audio and video streams.
  • the receiving end of the new access network can receive the audio and video stream sent by the sending end, so that the receiving end of the new access network gateway can also realize the audio and video synchronization with the transmitting end.
  • the receiving end may also disconnect from the network gateway at any time.
  • the network gateway can update the number of receiving ends with which the connection is established, and copy the audio and video streams according to the updated number, thereby stopping the copying of the audio and video streams for the disconnected receiving end.
  • the method for sharing audio and video resources after receiving the audio and video stream sent by the transmitting end, it is determined whether the number of receiving ends connected to the network gateway is multiple, and determining the number of receiving ends connected to the network gateway.
  • the audio and video streams are copied according to the number of receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams, thereby
  • the plurality of receiving ends synchronously display the audio and video content of the transmitting end, which satisfies the requirement of the user to use the audio and video content of the plurality of receiving end projection transmitting ends, thereby improving the user experience.
  • an embodiment of the present invention further provides an apparatus for sharing audio and video resources.
  • FIG. 4 is a schematic structural diagram of an apparatus for sharing audio and video resources according to an embodiment of the present invention.
  • the device for sharing the audio and video resources is located in a network gateway, and the network gateway is a gateway compatible with the function of the receiving end of the Miracast.
  • the device for sharing audio and video resources includes a receiving module 110, a determining module 120, and a first processing module. 130.
  • the receiving module 110 is configured to receive an audio and video stream sent by the transmitting end.
  • the sender is a device compatible with the Miracast function, that is, the sender is a device that supports the Miracast function.
  • the apparatus may further include an establishing module 140 configured to establish a wireless communication connection with the transmitting end before the receiving module receives the audio and video stream sent by the transmitting end. And establish a Miracast session with the sender.
  • an establishing module 140 configured to establish a wireless communication connection with the transmitting end before the receiving module receives the audio and video stream sent by the transmitting end. And establish a Miracast session with the sender.
  • the wireless communication connection can be established between the transmitting end and the network gateway through multiple wireless methods, for example, WIFI (Wireless Fidelity) mode, Bluetooth, etc.
  • WIFI Wireless Fidelity
  • Bluetooth etc.
  • the user can select and monitor the network gateway according to needs.
  • the wireless mode of the communication connection is not limited in this embodiment.
  • the receiving end may be a device compatible with the Miracast function or a device not compatible with the Miracast function.
  • the determining module 120 is configured to determine whether the number of receiving ends connected to the network gateway is multiple.
  • the first processing module 130 is configured to: when the number of the receiving ends connected to the network gateway is determined to be multiple, copy the audio and video streams according to the number of the receiving ends, and send a voice to each receiving end connected to the network gateway.
  • the video stream is such that each receiving end receives and projects the audio and video streams.
  • the receiving end of the embodiment and the network gateway may be connected by wire, or may be connected by wireless.
  • the current receiving end is a smart TV, and the smart TV may be wired or wireless. The way to establish a communication connection with the network gateway.
  • the interaction between the network gateway and the receiving end may be compatible with Miracast, or may be compatible with Miracast and adopt other streaming media transmission and playing modes.
  • the interaction between the network gateway and the receiving end can be selected according to the actual situation. This embodiment does not limit the interaction mode between the network gateway and the receiving end.
  • the apparatus may further include a second processing module 150.
  • the second processing module 150 is configured to determine, according to each receiving end, the audio and video data format required by the current receiving end before the first processing module 130 sends an audio and video stream to each receiving end connected to the network gateway, and determine Whether the audio and video data format is consistent with the format of the audio and video stream, and in the audio and video data format and the audio and video stream format, the format of the audio and video stream is converted according to the audio and video data format, and the formatted audio and video stream is converted. Send to the current receiving end.
  • the apparatus may further include a third processing module 160 configured to determine an audio and video data format required by the receiving end when the number of receiving ends connected to the network gateway is one, and determine The audio and video data format is consistent with the format of the audio and video stream, and when the audio and video data format is inconsistent with the format of the audio and video stream, the format of the audio and video stream is converted according to the audio and video data format, and the formatted audio and video is converted.
  • the stream is sent to the receiving end.
  • the receiving end connected to the network gateway is not fixed, and the user can increase the number of receiving ends connected to the network gateway according to actual needs, in order to make a new connection.
  • the receiving end of the network gateway can be connected to the sound of the transmitting end.
  • the video content is synchronized.
  • the apparatus may further include a fourth processing module 170, where the fourth processing module 170 is configured to monitor after the determining module 120 determines whether the number of receiving ends connected to the network gateway is multiple. When there is a new access receiver, the audio and video streams are copied according to the number of newly accessed receivers, and an audio and video stream is sent to each newly accessed receiver to make each new access.
  • the receiving end receives and projects the audio and video streams.
  • the receiving end may also disconnect from the network gateway at any time.
  • the network gateway can update the number of receiving ends with which the connection is established, and copy the audio and video streams according to the updated number, thereby stopping the copying of the audio and video streams for the disconnected receiving end.
  • the device for sharing audio and video resources receives the audio and video stream sent by the sending end by the receiving module, and determines whether the number of receiving ends connected to the network gateway is multiple by the determining module, and determines the network gateway
  • the first processing module copies the audio and video streams according to the number of receiving ends, and sends an audio and video stream to each receiving end connected to the network gateway, so that each receiving end
  • the audio and video streams are received and projected, thereby enabling a plurality of receiving ends to synchronously display the audio and video content of the transmitting end, which satisfies the requirement of the user to use the audio and video content of the plurality of receiving ends to project the transmitting end, thereby improving the user experience.
  • an embodiment of the present invention further provides a network gateway.
  • a network gateway includes an apparatus for sharing audio and video resources according to an embodiment of the second aspect of the present invention.
  • the network gateway determines whether the number of receiving ends connected to the network gateway is multiple after receiving the audio and video stream sent by the transmitting end, and determines that the number of receiving ends connected to the network gateway is multiple. And copying the audio and video streams according to the number of receiving ends, and sending an audio and video stream to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams, thereby making multiple.
  • the receiving end synchronously displays the audio and video content of the transmitting end. The requirement for the user to use the audio and video content of the plurality of receiving end projection transmitting ends is satisfied, and the user experience is improved.
  • the network gateway includes a central processing unit (GWCU) 60, a first network interface (GW-IF1) 61, a first data processing module (P-IF1) 62, and a universal WAN interface (GW-WAN-IF). 63, a second network interface (GW-IF2) 64, a second data processing module (P-IF2) 65, wherein:
  • the central processing unit 60 is arranged to control the universal WAN interface 63, the first data processing module 62 and the second data processing module 65 in the network gateway.
  • the first network interface 61 is arranged to connect to the transmitting end.
  • the first data processing module 62 is configured to preprocess the received message stream, audio and video streams.
  • the universal WAN interface 63 is a universal WAN interface of the network gateway and is set to connect to the Internet.
  • the second network interface 64 is arranged to connect to one or more sink devices.
  • the second data processing module 65 is arranged to copy and construct a message stream, an audio and video stream to be transmitted to the receiving device.
  • the network gateway has the common functions of a common network gateway, and can complete the functions of connecting the sender and the receiver, processing and copying the message stream, audio and video stream described in the present invention.
  • an embodiment of the present invention further provides a system for sharing audio and video resources.
  • FIG. 7 is a schematic structural diagram of a system for sharing audio and video resources according to an embodiment of the present invention.
  • the system for sharing audio and video resources may include a transmitting end 10, a network gateway 20, and at least one receiving end 30, where
  • the transmitting end 10 is arranged to transmit audio and video stream data to the network gateway 20.
  • the network gateway 20 is configured to receive the audio and video stream data sent by the transmitting end 10, and determine whether the number of receiving ends is multiple, and when the number of receiving ends is multiple, according to the number of receiving ends.
  • the audio and video streams are copied in multiple copies, and an audio and video stream is sent to each receiving end connected to the network gateway 20, so that each receiving end receives and projects the audio and video streams.
  • the receiving end 30 is arranged to receive the audio and video stream sent by the network gateway 20 and project the audio and video stream.
  • the system for sharing audio and video resources includes N receiving ends 30, and each receiving end 30 is wirelessly connected with The network gateway 20 communicates.
  • the data format of the audio and video supported by each receiving end 30 may be different.
  • the network gateway 20 is further configured to: Before each audio and video stream is sent to each receiving end connected to the network gateway 20, for each receiving end, the audio and video data format required by the current receiving end is determined, and the format of the audio and video data and the format of the audio and video stream are determined. Whether it is consistent, and when the audio and video data format is inconsistent with the format of the audio and video stream, the format of the audio and video stream is converted according to the audio and video data format, and the converted audio and video stream is sent to the current receiving end 30.
  • the network gateway 20 can determine the audio and video data format required by the receiving end, and determine whether the audio and video data format is consistent with the format of the audio and video stream, and if the audio and video The data format is inconsistent with the format of the audio and video stream, and the format of the audio and video stream is converted according to the audio and video data format, and the converted audio and video stream is sent to the receiving end.
  • the network gateway 20 does not need to convert the format of the audio and video stream, and directly sends the corresponding audio and video stream to the receiving end 30, and the receiving end 30 plays the sound.
  • the audio and video content corresponding to the video stream is consistent with the format of the audio and video stream.
  • the receiving end connected to the network gateway 20 is not fixed, and the user can increase the number of receiving ends connected to the network gateway 20 according to actual needs, in order to The receiving end of the new access network gateway 20 can synchronize with the audio and video content of the transmitting end 10.
  • the network gateway 20 determines whether the number of receiving ends connected to the network gateway 20 is multiple, if the network gateway 20 monitors that there is a new connection.
  • the network gateway 20 copies the audio and video streams according to the number of newly received receiving ends, And sending an audio and video stream to each newly accessed receiving end, so that each newly accessed receiving end receives and projects the audio and video streams.
  • the network gateway determines whether the number of receiving ends connected to the network gateway is multiple, and determines the receiving connection with the network gateway.
  • the audio and video streams are copied according to the number of the receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams.
  • the plurality of receiving ends synchronously display the audio and video content of the transmitting end, which satisfies the requirement that the user uses the audio and video content of the plurality of receiving ends to project the transmitting end, thereby improving the user experience.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the audio and video streams are copied according to the number of the receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that Each receiving end receives and projects an audio and video stream.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” or “second” may include at least one of the features, either explicitly or implicitly.
  • the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable Way to handle it The program is obtained electronically and then stored in computer memory.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the transmitting end after receiving the audio and video stream sent by the transmitting end, determining whether the number of receiving ends connected to the network gateway is multiple, and determining that the number of receiving ends connected to the network gateway is multiple, according to The number of receiving ends copies multiple copies of the audio and video stream, and sends an audio and video stream to each receiving end connected to the network gateway, so that each receiving end receives and projects audio and video.
  • the frequency stream thereby enabling a plurality of receiving ends to synchronously display the audio and video content of the transmitting end, satisfies the requirement of the user to use the audio and video content of the plurality of receiving end projection transmitting ends, thereby improving the user experience.

Abstract

Disclosed are a method, device and system for sharing an audio and video resource, and a network gateway. The method comprises: receiving an audio and video stream sent by a sending end; judging whether the number of receiving ends connected to a network gateway is more than one; if it is determined that the number of receiving ends connected to the network gateway is more than one, producing a plurality of copies of the audio and video stream according to the number of receiving ends, and sending one copy of the audio and video stream to each of the receiving ends connected to the network gateway so that each receiving end receives and projects the audio and video stream. The method for sharing an audio and video resource in the embodiments of the present invention realizes the synchronization of audio and video contents between a sending end and a receiving end, thus satisfying the requirements for watching an audio and video resource on the receiving end, and improving the user experience.

Description

音视频资源共享的方法、装置、系统及网络网关Method, device, system and network gateway for sharing audio and video resources 技术领域Technical field
本发明实施例涉及技术领域,尤其涉及一种音视频资源共享的方法、装置、系统及网络网关。The embodiments of the present invention relate to the technical field, and in particular, to a method, an apparatus, a system, and a network gateway for sharing audio and video resources.
背景技术Background technique
Miracast又称为WI-FI Display,其是由WI-FI联盟制定的一种点到点的多媒体分享协议,其主要目的在于通过无线传输的方式将源设备的多媒体数据传输到目的设备进行播放显示。具体地,Miracast是以WI-FI Direct为基础的无线显示标准,支持此标准的手持装置可通过无线方式分享视讯画面。例如,支持Miracast功能的手机可通过Miracast将影片或者照片直接同步在电视或者其他装置上进行播放而无需任何连接线,以满足用户观赏视频的需求,从而提升用户体验。Miracast, also known as WI-FI Display, is a point-to-point multimedia sharing protocol developed by the WI-FI Alliance. Its main purpose is to transmit the multimedia data of the source device to the destination device for playback display by wireless transmission. . Specifically, Miracast is a wireless display standard based on WI-FI Direct, and handheld devices supporting this standard can share video images wirelessly. For example, a mobile phone that supports Miracast can use Miracast to directly synchronize a movie or photo to a TV or other device for playback without any connection line, so as to meet the needs of the user to watch the video, thereby improving the user experience.
其中,Miracast的连接过程为:首先,以Wi-Fi Direct寻找附近的Miracast装置,然后,将寻找到的Miracast装置的信息传达给用户,之后使用者可以从寻找到或是先前联机过的装置中,选择想要连接的装置,建立好无线联机后,两边的装置会进行设备功能与网络条件的协调,以选择适合的影音传输格式。并且在两个设备之间建立影音串流的联机协议会话(Session)后,源设备会向目的设备发送一连串的实时串流协议(RTSP)控制命令,以控制影音串流的播放及终止,上述Miracast的连接过程中,只能有一个影像接收端,很适合从小屏幕到大屏幕的投影。Among them, the connection process of Miracast is: first, look for the nearby Miracast device with Wi-Fi Direct, and then transmit the information of the discovered Miracast device to the user, after which the user can find the device that was previously connected or previously connected. Select the device you want to connect to. After the wireless connection is established, the devices on both sides will coordinate the device function and network conditions to select the appropriate audio and video transmission format. After the online protocol session of the video stream is established between the two devices, the source device sends a series of real-time streaming protocol (RTSP) control commands to the destination device to control the playback and termination of the video stream. During the connection of Miracast, there can only be one image receiving end, which is suitable for projection from small screen to large screen.
然而,在一些情况中,有时用户会拥有一种支持Miracast功能的设备,但其他再现设备(例如,电视、投影设备等再现设备)不是,并且有时用户需要在多个或大或小的屏幕上显示影像信息,如何同时在多个或大或小的再现设备的屏幕上显示影像信息是亟需解决的问题。 However, in some cases, sometimes the user will have a device that supports the Miracast function, but other reproduction devices (for example, a reproduction device such as a television, a projection device, etc.) are not, and sometimes the user needs to be on multiple large or small screens. Displaying image information, how to display image information on the screen of multiple or large or small reproduction devices at the same time is an urgent problem to be solved.
发明内容Summary of the invention
本发明实施例旨在至少在一定程度上解决相关技术中的技术问题之一。The embodiments of the present invention aim to solve at least one of the technical problems in the related art to some extent.
为此,本发明实施例的第一个目的在于提出一种音视频资源共享的方法,该实现了发送端与接收端之间的音视频内容同步,满足了在接收端上观赏音视频资源的需求,提高了用户的体验度。Therefore, the first object of the embodiment of the present invention is to provide a method for sharing audio and video resources, which realizes synchronization of audio and video content between a transmitting end and a receiving end, and satisfies the viewing of audio and video resources on the receiving end. Demand increases user experience.
本发明实施例的第二个目的在于提出一种音视频资源共享的装置。A second object of the embodiments of the present invention is to provide an apparatus for sharing audio and video resources.
本发明实施例的第三个目的在于提出一种网络网关。A third object of embodiments of the present invention is to provide a network gateway.
本发明实施例的第四个目的在于提出一种音视频资源共享的系统。A fourth object of the embodiments of the present invention is to provide a system for sharing audio and video resources.
为达上述目的,本发明第一方面实施例提出了一种音视频资源共享的方法,包括:接收发送端发送的音视频流;判断与网络网关连接的接收端的数量是否为多个;若判断出与所述网络网关连接的接收端的数量为多个,则根据所述接收端的数量将所述音视频流复制多份,并向每个与所述网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影所述音视频流。To achieve the above objective, the first aspect of the present invention provides a method for sharing audio and video resources, including: receiving an audio and video stream sent by a sending end; determining whether the number of receiving ends connected to the network gateway is multiple; If the number of the receiving ends connected to the network gateway is multiple, the audio and video streams are duplicated according to the number of the receiving ends, and an audio and video is sent to each receiving end connected to the network gateway. Streaming so that each receiving end receives and projects the audiovisual stream.
在本发明的一个实施例中,在所述向每个与所述网络网关相连的接收端发送一份音视频流之前,还包括:针对每个所述接收端,确定当前接收端所需的音视频数据格式,并判断所述音视频数据格式与所述音视频流的格式是否一致;若不一致,则根据所述音视频数据格式对所述音视频流的格式进行转换,并将转换格式后的音视频流发送至所述当前接收端。In an embodiment of the present invention, before the sending, by the receiving end, the audio and video stream to each of the network gateways, the method further includes: determining, for each of the receiving ends, the current receiving end And an audio and video data format, and determining whether the audio and video data format is consistent with the format of the audio and video stream; if not, converting the format of the audio and video stream according to the audio and video data format, and converting the format The subsequent audio and video stream is sent to the current receiving end.
在本发明的一个实施例中,在所述接收发送端发送的音视频流之前,还包括:与所述发送端建立无线通信连接,并与所述发送端之间建立Miracast会话。In an embodiment of the present invention, before the receiving the audio and video stream sent by the sending end, the method further includes: establishing a wireless communication connection with the sending end, and establishing a Miracast session with the sending end.
在本发明的一个实施例中,所述方法还包括:在与所述网络网关连接的接收端的数量为一个时,确定所述接收端所需的音视频数据格式,并判断所述音视频数据格式与所述音视频流的格式是否一致;若所述音视频数据格式与所述音视频流的格式不一致,则根据所述音视频数据格式对所述 音视频流的格式进行转换,并将转换格式后的音视频流发送至所述接收端。In an embodiment of the present invention, the method further includes determining, when the number of receiving ends connected to the network gateway is one, determining an audio and video data format required by the receiving end, and determining the audio and video data. Whether the format is consistent with the format of the audio and video stream; if the audio and video data format is inconsistent with the format of the audio and video stream, the The format of the audio and video stream is converted, and the converted audio and video stream is sent to the receiving end.
在本发明的一个实施例中,在所述判断与网络网关连接的接收端的数量是否为多个之后,所述方法还包括:如果监控到有新接入的接收端,则根据新接入的接收端的数量将所述音视频流复制多份,并向每个新接入的接收端发送一份音视频流,以使每个新接入的接收端接收并投影所述音视频流。In an embodiment of the present invention, after the determining whether the number of receiving ends connected to the network gateway is multiple, the method further includes: if the receiving end with the new access is monitored, according to the newly accessed The number of receiving ends copies the audio and video streams in multiple copies, and sends an audio and video stream to each newly accessed receiving end, so that each newly accessed receiving end receives and projects the audio and video streams.
根据本发明实施例的音视频资源共享的方法,在接收发送端发送的音视频流后,判断与网络网关连接的接收端的数量是否为多个,并在判断出与网络网关连接的接收端的数量为多个时,根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流,由此,使得多个接收端同步显示了发送端的音视频内容,满足了用户使用多个接收端投影发送端的音视频内容的需求,提高了用户体验度。According to the method for sharing audio and video resources according to the embodiment of the present invention, after receiving the audio and video stream sent by the transmitting end, it is determined whether the number of receiving ends connected to the network gateway is multiple, and determining the number of receiving ends connected to the network gateway. When there are multiple, the audio and video streams are copied according to the number of receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams, thereby The plurality of receiving ends synchronously display the audio and video content of the transmitting end, which satisfies the requirement of the user to use the audio and video content of the plurality of receiving end projection transmitting ends, thereby improving the user experience.
为达上述目的,本发明第二方面实施例提出了一种音视频资源共享的装置,包括:接收模块,设置为接收发送端发送的音视频流;判断模块,设置为判断与网络网关连接的接收端的数量是否为多个;第一处理模块,设置为在判断出与所述网络网关连接的接收端的数量为多个时,根据所述接收端的数量将所述音视频流复制多份,并向每个与所述网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影所述音视频流。To achieve the above objective, the second aspect of the present invention provides an apparatus for sharing audio and video resources, including: a receiving module, configured to receive an audio and video stream sent by a sending end; and a determining module configured to determine a connection with the network gateway. Whether the number of the receiving ends is multiple; the first processing module is configured to: when determining that the number of receiving ends connected to the network gateway is multiple, copying the audio and video streams according to the number of the receiving ends, and An audio and video stream is sent to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams.
在本发明的一个实施例中,所述装置还包括:第二处理模块,设置为在所述第一处理模块向每个与所述网络网关相连的接收端发送一份音视频流之前,针对每个所述接收端,确定当前接收端所需的音视频数据格式,并判断所述音视频数据格式与所述音视频流的格式是否一致,并在所述音视频数据格式与所述音视频流的格式时,根据所述音视频数据格式对所述音视频流的格式进行转换,并将转换格式后的音视频流发送至所述当前接收端。In an embodiment of the present invention, the apparatus further includes: a second processing module, configured to: before the first processing module sends an audio and video stream to each receiving end connected to the network gateway, Determining, by the receiving end, the audio and video data format required by the current receiving end, and determining whether the audio and video data format is consistent with the format of the audio and video stream, and in the audio and video data format and the sound In the format of the video stream, the format of the audio and video stream is converted according to the audio and video data format, and the converted audio and video stream is sent to the current receiving end.
在本发明的一个实施例中,所述装置还包括:建立模块,设置为在所 述接收模块接收发送端发送的音视频流之前,与所述发送端建立无线通信连接,并与所述发送端之间建立Miracast会话。In an embodiment of the present invention, the device further includes: an establishing module, configured to be in the Before receiving the audio and video stream sent by the sending end, the receiving module establishes a wireless communication connection with the sending end, and establishes a Miracast session with the sending end.
在本发明的一个实施例中,所述装置还包括:第三处理模块,设置为在与所述网络网关连接的接收端的数量为一个时,确定所述接收端所需的音视频数据格式,并判断所述音视频数据格式与所述音视频流的格式是否一致,并在所述音视频数据格式与所述音视频流的格式不一致时,根据所述音视频数据格式对所述音视频流的格式进行转换,并将转换格式后的音视频流发送至所述接收端。In an embodiment of the present invention, the apparatus further includes: a third processing module, configured to determine an audio and video data format required by the receiving end when the number of receiving ends connected to the network gateway is one, And determining whether the audio and video data format is consistent with the format of the audio and video stream, and when the audio and video data format is inconsistent with the format of the audio and video stream, the audio and video according to the audio and video data format The format of the stream is converted, and the converted audio and video stream is sent to the receiving end.
在本发明的一个实施例中,所述装置还包括:第四处理模块,设置为在所述判断模块判断与网络网关连接的接收端的数量是否为多个之后,当监控到有新接入的接收端时,根据新接入的接收端的数量将所述音视频流复制多份,并向每个新接入的接收端发送一份音视频流,以使每个新接入的接收端接收并投影所述音视频流。In an embodiment of the present invention, the apparatus further includes: a fourth processing module, configured to: after the determining module determines whether the number of receiving ends connected to the network gateway is multiple, when monitoring the new access At the receiving end, the audio and video streams are duplicated according to the number of newly accessed receiving ends, and an audio and video stream is sent to each newly accessed receiving end, so that each newly accessed receiving end receives And projecting the audio and video stream.
根据本发明实施例的音视频资源共享的装置,通过接收模块接收发送端发送的音视频流,并通过判断模块判断与网络网关连接的接收端的数量是否为多个,并在判断出与网络网关连接的接收端的数量为多个时,第一处理模块根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流,由此,使得多个接收端同步显示了发送端的音视频内容,满足了用户使用多个接收端投影发送端的音视频内容的需求,提高了用户体验度。The device for sharing audio and video resources according to the embodiment of the present invention receives the audio and video stream sent by the sending end by the receiving module, and determines whether the number of receiving ends connected to the network gateway is multiple by the determining module, and determines the network gateway When the number of connected receiving ends is multiple, the first processing module copies the audio and video streams according to the number of receiving ends, and sends an audio and video stream to each receiving end connected to the network gateway, so that each receiving end The audio and video streams are received and projected, thereby enabling a plurality of receiving ends to synchronously display the audio and video content of the transmitting end, which satisfies the requirement of the user to use the audio and video content of the plurality of receiving ends to project the transmitting end, thereby improving the user experience.
为达上述目的,本发明第三方面实施例提出了一种网络网关,包括:第二方面实施例的音视频资源共享的装置。To achieve the above objective, the third aspect of the present invention provides a network gateway, including: an apparatus for sharing audio and video resources in the second aspect.
根据本发明实施例的网络网关,在接收发送端发送的音视频流后,判断与网络网关连接的接收端的数量是否为多个,并在判断出与网络网关连接的接收端的数量为多个时,根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流,由此,使得多个接收端同步显示了发送端的音视频内容, 满足了用户使用多个接收端投影发送端的音视频内容的需求,提高了用户体验度。The network gateway according to the embodiment of the present invention determines whether the number of receiving ends connected to the network gateway is multiple after receiving the audio and video stream sent by the transmitting end, and determines that the number of receiving ends connected to the network gateway is multiple. And copying the audio and video streams according to the number of receiving ends, and sending an audio and video stream to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams, thereby making multiple The receiving end synchronously displays the audio and video content of the transmitting end. The requirement for the user to use the audio and video content of the plurality of receiving end projection transmitting ends is satisfied, and the user experience is improved.
为达上述目的,本发明第四方面实施例提出了一种音视频资源共享的系统,发送端、网络网关和至少一个接收端,其中,所述发送端,设置为向所述网络网关发送音视频流数据;所述网络网关,设置为接收所述发送端发送的所述音视频流数据,并判断所述接收端的数量是否为多个,并在所述接收端的数量为多个时,根据所述接收端的数量将所述音视频流复制多份,并向每个与所述网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影所述音视频流;所述接收端,设置为接收所述网络网关发送的所述音视频流,并投影所述音视频流。To achieve the above objective, the fourth aspect of the present invention provides a system for sharing audio and video resources, a transmitting end, a network gateway, and at least one receiving end, wherein the transmitting end is configured to send a sound to the network gateway. Video stream data; the network gateway is configured to receive the audio and video stream data sent by the sending end, and determine whether the number of the receiving ends is multiple, and when the number of the receiving ends is multiple, according to The number of receiving ends copies the audio and video streams, and sends an audio and video stream to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams; The receiving end is configured to receive the audio and video stream sent by the network gateway, and project the audio and video stream.
在本发明的一个实施例中,所述网络网关,还设置为:在向每个与所述网络网关相连的接收端发送一份音视频流之前,针对每个所述接收端,确定当前接收端所需的音视频数据格式,并判断所述音视频数据格式与所述音视频流的格式是否一致,并在所述音视频数据格式与所述音视频流的格式不一致时,根据所述音视频数据格式对所述音视频流的格式进行转换,并将转换格式后的音视频流发送至所述当前接收端。In an embodiment of the present invention, the network gateway is further configured to: determine, before each of the receiving ends, a current receiving before sending an audio and video stream to each receiving end connected to the network gateway. And determining a format of the audio and video data required, and determining whether the audio and video data format is consistent with the format of the audio and video stream, and when the audio and video data format is inconsistent with the format of the audio and video stream, according to the The audio and video data format converts the format of the audio and video stream, and sends the converted audio and video stream to the current receiving end.
在本发明的一个实施例中,所述网络网关,还设置为:在与所述网络网关连接的接收端的数量为一个时,确定所述接收端所需的音视频数据格式,并判断所述音视频数据格式与所述音视频流的格式是否一致;若所述音视频数据格式与所述音视频流的格式不一致,则根据所述音视频数据格式对所述音视频流的格式进行转换,并将转换格式后的音视频流发送至所述接收端。In an embodiment of the present invention, the network gateway is further configured to: determine, when the number of receiving ends connected to the network gateway is one, determine an audio and video data format required by the receiving end, and determine the Whether the audio and video data format is consistent with the format of the audio and video stream; if the audio and video data format is inconsistent with the format of the audio and video stream, converting the format of the audio and video stream according to the audio and video data format And transmitting the converted audio and video stream to the receiving end.
在本发明的一个实施例中,在所述网络网关判断与网络网关连接的接收端的数量是否为多个之后,如果所述网络网关监控到有新接入的接收端,则所述网络网关根据新接入的接收端的数量将所述音视频流复制多份,并向每个新接入的接收端发送一份音视频流,以使每个新接入的接收端接收并投影所述音视频流。 In an embodiment of the present invention, after the network gateway determines whether the number of receiving ends connected to the network gateway is multiple, if the network gateway monitors a receiving end with a new access, the network gateway is configured according to The number of receiving ends of the new access copies the audio and video streams in multiple copies, and sends an audio and video stream to each newly accessed receiving end, so that the receiving end of each new access receives and projects the sound. Video stream.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的音视频资源共享的方法。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction, where the execution instruction is used to perform the method for sharing audio and video resources in the foregoing embodiment.
根据本发明实施例的音视频资源共享的系统,网络网关在接收发送端发送的音视频流后,判断与网络网关连接的接收端的数量是否为多个,并在判断出与网络网关连接的接收端的数量为多个时,根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流,由此,使得多个接收端同步显示了发送端的音视频内容,满足了用户使用多个接收端投影发送端的音视频内容的需求,提高了用户体验度。According to the audio and video resource sharing system of the embodiment of the present invention, after receiving the audio and video stream sent by the transmitting end, the network gateway determines whether the number of receiving ends connected to the network gateway is multiple, and determines the receiving connection with the network gateway. When the number of terminals is multiple, the audio and video streams are copied according to the number of the receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams. Thereby, the plurality of receiving ends synchronously display the audio and video content of the transmitting end, which satisfies the requirement that the user uses the audio and video content of the plurality of receiving ends to project the transmitting end, thereby improving the user experience.
附图说明DRAWINGS
图1是本发明一个实施例的音视频资源共享的方法的流程图。1 is a flow chart of a method for sharing audio and video resources according to an embodiment of the present invention.
图2是本发明另一个实施例的音视频资源共享的方法的流程图。2 is a flow chart of a method for sharing audio and video resources according to another embodiment of the present invention.
图3是本发明再一个实施例的音视频资源共享的方法的流程图。3 is a flow chart of a method for sharing audio and video resources according to still another embodiment of the present invention.
图4是根据本发明一个实施例的音视频资源共享的装置的结构示意图。FIG. 4 is a schematic structural diagram of an apparatus for sharing audio and video resources according to an embodiment of the present invention.
图5是根据本发明另一个实施例的音视频资源共享的装置的结构示意图。FIG. 5 is a schematic structural diagram of an apparatus for sharing audio and video resources according to another embodiment of the present invention.
图6是网络网关的基本结构示意图。6 is a schematic diagram of the basic structure of a network gateway.
图7是根据本发明一个实施例的音视频资源共享的系统的结构示意图。FIG. 7 is a schematic structural diagram of a system for sharing audio and video resources according to an embodiment of the present invention.
图8是根据本发明一个实施例的音视频资源共享的系统的示例图。8 is a diagram of an example of a system for audio and video resource sharing, in accordance with one embodiment of the present invention.
具体实施方式detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。 The embodiments of the present invention are described in detail below, and the examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals are used to refer to the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the drawings are intended to be illustrative of the invention and are not to be construed as limiting.
下面参考附图描述本发明实施例的音视频资源共享的方法、装置、系统及网络网关。A method, an apparatus, a system, and a network gateway for sharing audio and video resources according to an embodiment of the present invention are described below with reference to the accompanying drawings.
图1是本发明一个实施例的音视频资源共享的方法的流程图。1 is a flow chart of a method for sharing audio and video resources according to an embodiment of the present invention.
如图1所示,该音视频资源共享的方法包括:As shown in FIG. 1, the method for sharing audio and video resources includes:
S101,接收发送端发送的音视频流。S101. Receive an audio and video stream sent by the sending end.
其中,发送端是兼容Miracast功能的设备,即,发送端是支持Miracast功能的设备。The sender is a device compatible with the Miracast function, that is, the sender is a device that supports the Miracast function.
在发送端向接收端投影音视频的过程中,在网络网关接收到发送端发送的无线通信连接请求后,网络网关基于该无线通信连接请求,与发送端建立无线通信连接,并与发送端之间建立Miracast会话。In the process of projecting audio and video to the receiving end, after the network gateway receives the wireless communication connection request sent by the transmitting end, the network gateway establishes a wireless communication connection with the transmitting end based on the wireless communication connection request, and the transmitting end Establish a Miracast session.
在网络网关与发送端之间建立Miracast会话后,发送端向网络网关就发送音视频流,对应地,网络网关接收并保存发送端发送的音视频流。After the Miracast session is established between the network gateway and the sending end, the sending end sends the audio and video stream to the network gateway. Correspondingly, the network gateway receives and saves the audio and video stream sent by the sending end.
其中,发送端与网络网关之间可通过多种无线方式建立无线通信连接,例如,WIFI(Wireless Fidelity,无线仿真)方式、蓝牙等方式,在实际应用中,用户可根据需要选择与网络网关监控通信连接的无线方式,该实施例的对此不做限定。Among them, the wireless communication connection can be established between the transmitting end and the network gateway through multiple wireless methods, for example, WIFI (Wireless Fidelity) mode, Bluetooth, etc. In practical applications, the user can select and monitor the network gateway according to needs. The wireless mode of the communication connection is not limited in this embodiment.
其中,需要理解的是,该实施例中的网络网关是兼容Miracast功能的网关。It should be understood that the network gateway in this embodiment is a gateway compatible with the Miracast function.
其中,上述接收端可以是兼容Miracast功能的设备,也可以是不兼容Miracast功能的设备。The receiving end may be a device compatible with the Miracast function or a device not compatible with the Miracast function.
S102,判断与网络网关连接的接收端的数量是否为多个。S102. Determine whether the number of receiving ends connected to the network gateway is multiple.
S103,若判断出与网络网关连接的接收端的数量为多个,则根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流。S103. If it is determined that the number of the receiving ends connected to the network gateway is multiple, the audio and video streams are copied according to the number of the receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that Each receiving end receives and projects an audio and video stream.
具体地,网络网关在接收并保存发送端发送的音视频流过程中,网络网关还获取当前时刻与其建立连接的接收端的数量,并判断当前时刻与其 连接的接收端的数量是否为多个,如果判断出当前时刻与其相连接的接收端的数量为多个,为了使得与其相连的接收端可以显示发送端所发送的音视频资源,即,为了使得与其相连的接收端同步显示发送端的音视频资源,此时,网络网关可根据与其相连的接收端的数量复制音视频流。Specifically, in the process of receiving and saving the audio and video stream sent by the sending end, the network gateway also acquires the number of receiving ends connected to the current time, and determines the current time and Whether the number of receiving ends of the connection is multiple, if it is determined that the number of receiving ends connected to the current time is multiple, in order to enable the receiving end connected thereto to display the audio and video resources sent by the transmitting end, that is, in order to connect with the same The receiving end synchronously displays the audio and video resources of the transmitting end. At this time, the network gateway can copy the audio and video streams according to the number of receiving ends connected thereto.
其中,需要说明的是,该实施例的接收端与网络网关之间可以通过有线方式进行连接,也可以通过无线方式进行连接,例如,当前接收端为智能电视,智能电视可通过有线方式或者无线方式与网络网关建立通信连接。It should be noted that the receiving end of the embodiment and the network gateway may be connected by wire, or may be connected by wireless. For example, the current receiving end is a smart TV, and the smart TV may be wired or wireless. The way to establish a communication connection with the network gateway.
需要理解的是,在网络网关与接收端之间进行交互的过程中,网络网关与接收端之间的交互方式可以与Miracast兼容,也可以不与Miracast兼容而采用其它流媒体传输与播放方式,网络网关与接收端之间的交互方可根据实际情况进行选择,该实施例对网络网关与接收端之间的交互方式不做限定。It should be understood that in the process of interaction between the network gateway and the receiving end, the interaction between the network gateway and the receiving end may be compatible with Miracast, or may be compatible with Miracast and adopt other streaming media transmission and playing modes. The interaction between the network gateway and the receiving end can be selected according to the actual situation. This embodiment does not limit the interaction mode between the network gateway and the receiving end.
通常每个接收端所支持的音视频的数据格式可能不同,为了使得接收端可以正常播放网络网关发送的音视频流,网络网关根据接收端的数据将音视频流复制多份后,在向对应的接收端发送音视频流的过程中,针对每个接收端,网络网关可确定当前接收端所需的音视频数据格式,并判断当前接收端所需的音视频数据格式与音视频流的格式是否一致,若判断出当前接收端所需的音视频数据格式与音视频流的格式不一致,则网络网关根据当前接收端所需的音视频数据格式对音视频流的格式进行转换,并将转换格式后的音视频流发送至当前接收端。相应地,当前接收端接收并播放该音视频对应的音视频内容。Generally, the data format of the audio and video supported by each receiving end may be different. In order to enable the receiving end to play the audio and video stream sent by the network gateway normally, the network gateway copies the audio and video stream according to the data of the receiving end, and then responds to the corresponding In the process of sending the audio and video stream by the receiving end, for each receiving end, the network gateway can determine the audio and video data format required by the current receiving end, and determine whether the audio and video data format and the format of the audio and video stream required by the current receiving end are Consistently, if it is determined that the format of the audio and video data required by the current receiving end is inconsistent with the format of the audio and video stream, the network gateway converts the format of the audio and video stream according to the audio and video data format required by the current receiving end, and converts the format. The subsequent audio and video streams are sent to the current receiving end. Correspondingly, the current receiving end receives and plays the audio and video content corresponding to the audio and video.
根据本发明实施例的音视频资源共享的方法,在接收发送端发送的音视频流后,判断与网络网关连接的接收端的数量是否为多个,并在判断出与网络网关连接的接收端的数量为多个时,根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流,由此,使得多个接收端同步显示了发送端的音视频内容,满足了用户使用多个接收端投影发送端的音视频内容的需 求,提高了用户体验度。According to the method for sharing audio and video resources according to the embodiment of the present invention, after receiving the audio and video stream sent by the transmitting end, it is determined whether the number of receiving ends connected to the network gateway is multiple, and determining the number of receiving ends connected to the network gateway. When there are multiple, the audio and video streams are copied according to the number of receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams, thereby So that multiple receiving ends synchronously display the audio and video content of the transmitting end, which satisfies the need for the user to use the audio and video content of the plurality of receiving end projection transmitting ends. Demand, improve user experience.
基于上述实施例的基础上,如图2所示,该音视频资源共享的方法还可以包括步骤S104和S105。Based on the foregoing embodiment, as shown in FIG. 2, the method for sharing audio and video resources may further include steps S104 and S105.
S104,若判断出与网络网关连接的接收端的数量为一个,确定接收端所需的音视频数据格式,并判断音视频数据格式与音视频流的格式是否一致。S104. If it is determined that the number of receiving ends connected to the network gateway is one, determine an audio and video data format required by the receiving end, and determine whether the audio and video data format is consistent with the format of the audio and video streams.
S105,若音视频数据格式与音视频流的格式不一致,则根据音视频数据格式对音视频流的格式进行转换,并将转换格式后的音视频流发送至接收端。S105. If the audio and video data format is inconsistent with the format of the audio and video stream, convert the format of the audio and video stream according to the audio and video data format, and send the converted audio and video stream to the receiving end.
需要理解的是,如果音视频数据格式与音视频流的格式一致,则网络网关无需对音视频数据的格式进行转换,网络网关直接将对应的音视频流发送至接收端,对应的接收端根据音视频流播放对应的音视频内容,由此,实现了发送端与接收端之间的音视频内容同步,满足了在接收端上观赏音视频资源的需求,提高了用户的体验度。It should be understood that if the audio and video data format is consistent with the format of the audio and video stream, the network gateway does not need to convert the format of the audio and video data, and the network gateway directly sends the corresponding audio and video stream to the receiving end, and the corresponding receiving end is The audio and video streams play the corresponding audio and video content, thereby realizing the synchronization of audio and video content between the transmitting end and the receiving end, satisfying the requirement of viewing audio and video resources on the receiving end, and improving the user experience.
图3是本发明再一个实施例的音视频资源共享的方法的流程图。3 is a flow chart of a method for sharing audio and video resources according to still another embodiment of the present invention.
如图3所示,该音视频资源共享的方法包括:As shown in FIG. 3, the method for sharing audio and video resources includes:
S301,接收发送端发送的音视频流。S301. Receive an audio and video stream sent by the sending end.
其中,发送端是兼容Miracast功能的设备,即,发送端是支持Miracast功能的设备。The sender is a device compatible with the Miracast function, that is, the sender is a device that supports the Miracast function.
在发送端向接收端投影音视频的过程中,在网络网关接收到发送端发送的无线通信连接请求后,网络网关基于该无线通信连接请求,与发送端建立无线通信连接,并与发送端之间建立Miracast会话。In the process of projecting audio and video to the receiving end, after the network gateway receives the wireless communication connection request sent by the transmitting end, the network gateway establishes a wireless communication connection with the transmitting end based on the wireless communication connection request, and the transmitting end Establish a Miracast session.
在网络网关与发送端之间建立Miracast会话后,发送端向网络网关就发送音视频流,对应地,网络网关接收并保存发送端发送的音视频流。After the Miracast session is established between the network gateway and the sending end, the sending end sends the audio and video stream to the network gateway. Correspondingly, the network gateway receives and saves the audio and video stream sent by the sending end.
其中,发送端与网络网关之间可通过多种无线方式建立无线通信连接, 例如,WIFI(Wireless Fidelity,无线仿真)方式、蓝牙等方式,在实际应用中,用户可根据需要选择与网络网关监控通信连接的无线方式,该实施例的对此不做限定。Wherein, the wireless communication connection can be established between the transmitting end and the network gateway through multiple wireless modes. For example, the WIFI (Wireless Fidelity) mode, the Bluetooth, and the like, in a practical application, the user can select a wireless mode for monitoring the communication connection with the network gateway according to the requirement, which is not limited in this embodiment.
其中,需要理解的是,该实施例中的网络网关是兼容Miracast功能的网关。It should be understood that the network gateway in this embodiment is a gateway compatible with the Miracast function.
其中,上述接收端可以是兼容Miracast功能的设备,也可以是不兼容Miracast功能的设备。The receiving end may be a device compatible with the Miracast function or a device not compatible with the Miracast function.
S302,判断与网络网关连接的接收端的数量是否为多个。S302. Determine whether the number of receiving ends connected to the network gateway is multiple.
S303,若判断出与网络网关连接的接收端的数量为多个,则根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流。S303. If it is determined that the number of the receiving ends connected to the network gateway is multiple, the audio and video streams are copied according to the number of the receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that Each receiving end receives and projects an audio and video stream.
具体地,网络网关在接收并保存发送端发送的音视频流过程中,网络网关还获取当前时刻与其建立连接的接收端的数量,并判断当前时刻与其连接的接收端的数量是否为多个,如果判断出当前时刻与其相连接的接收端的数量为多个,为了使得与其相连的接收端可以显示发送端所发送的音视频资源,即,为了使得与其相连的接收端同步显示发送端的音视频资源,此时,网络网关可根据与其相连的接收端的数量复制音视频流。Specifically, in the process of receiving and storing the audio and video stream sent by the sending end, the network gateway also obtains the number of receiving ends connected to the current time, and determines whether the number of receiving ends connected to the current time is multiple, if it is determined The number of receiving ends connected to the current time is multiple, so that the receiving end connected thereto can display the audio and video resources sent by the transmitting end, that is, in order to enable the receiving end connected thereto to synchronously display the audio and video resources of the transmitting end, At this time, the network gateway can copy the audio and video streams according to the number of receiving ends connected thereto.
其中,需要说明的是,该实施例的接收端与网络网关之间可以通过有线方式进行连接,也可以通过无线方式进行连接,例如,当前接收端为智能电视,智能电视可通过有线方式或者无线方式与网络网关建立通信连接。It should be noted that the receiving end of the embodiment and the network gateway may be connected by wire, or may be connected by wireless. For example, the current receiving end is a smart TV, and the smart TV may be wired or wireless. The way to establish a communication connection with the network gateway.
需要理解的是,在网络网关与接收端之间进行交互的过程中,网络网关与接收端之间的交互方式可以与Miracast兼容,也可以不与Miracast兼容而采用其它流媒体传输与播放方式,网络网关与接收端之间的交互方可根据实际情况进行选择,该实施例对网络网关与接收端之间的交互方式不做限定。It should be understood that in the process of interaction between the network gateway and the receiving end, the interaction between the network gateway and the receiving end may be compatible with Miracast, or may be compatible with Miracast and adopt other streaming media transmission and playing modes. The interaction between the network gateway and the receiving end can be selected according to the actual situation. This embodiment does not limit the interaction mode between the network gateway and the receiving end.
通常每个接收端所支持的音视频的数据格式可能不同,为了使得接收端可以正常播放网络网关发送的音视频流,网络网关根据接收端的数据将 音视频流复制多份后,在向对应的接收端发送音视频流的过程中,针对每个接收端,网络网关可确定当前接收端所需的音视频数据格式,并判断当前接收端所需的音视频数据格式与音视频流的格式是否一致,若判断出当前接收端所需的音视频数据格式与音视频流的格式不一致,则网络网关根据当前接收端所需的音视频数据格式对音视频流的格式进行转换,并将转换格式后的音视频流发送至当前接收端。相应地,当前接收端接收并播放该音视频对应的音视频内容。Generally, the data format of the audio and video supported by each receiving end may be different. In order to enable the receiving end to play the audio and video stream sent by the network gateway normally, the network gateway will use the data of the receiving end. After the audio and video streams are copied in multiple copies, in the process of transmitting the audio and video streams to the corresponding receiving end, for each receiving end, the network gateway can determine the audio and video data format required by the current receiving end, and determine the current receiving end required Whether the format of the audio and video data is consistent with the format of the audio and video stream, if it is determined that the format of the audio and video data required by the current receiving end is inconsistent with the format of the audio and video stream, the network gateway according to the audio and video data format required by the current receiving end The format of the audio and video stream is converted, and the converted audio and video stream is sent to the current receiving end. Correspondingly, the current receiving end receives and plays the audio and video content corresponding to the audio and video.
S304,若判断出与网络网关连接的接收端的数量为一个,确定接收端所需的音视频数据格式,并判断音视频数据格式与音视频流的格式是否相同。S304. If it is determined that the number of receiving ends connected to the network gateway is one, determine an audio and video data format required by the receiving end, and determine whether the audio and video data format is the same as the format of the audio and video stream.
S305,若音视频数据格式与音视频流的格式不一致,则根据音视频数据格式对音视频流的格式进行转换,并将转换格式后的音视频流发送至接收端。S305. If the audio and video data format is inconsistent with the format of the audio and video stream, convert the format of the audio and video stream according to the audio and video data format, and send the converted audio and video stream to the receiving end.
通常情况下,在发送端与接收端同步播放音视频的过程中,与网络网关连接的接收端并不是固定不变,用户可根据实际需求增加与网络网关连接的接收端的数量,为了使得新接入网络网关的接收端可以与发送端的音视频内容同步,如图3所示,在步骤S302之后,还可以包括步骤S306。Generally, in the process of synchronously playing audio and video on the transmitting end and the receiving end, the receiving end connected to the network gateway is not fixed, and the user can increase the number of receiving ends connected to the network gateway according to actual needs, in order to make a new connection. The receiving end of the network gateway can be synchronized with the audio and video content of the sending end. As shown in FIG. 3, after step S302, step S306 can also be included.
S306,如果监控到有新接入的接收端,则根据新接入的接收端的数量将音视频流复制多份,并向每个新接入的接收端发送一份音视频流,以使每个新接入的接收端接收并投影音视频流。S306. If the receiving end with the new access is monitored, the audio and video streams are copied according to the number of newly accessed receiving ends, and an audio and video stream is sent to each newly accessed receiving end, so that each The receiving end of the new access receives and projects the audio and video streams.
由此,使得新接入的接收端可以接收到发送端发送的音视频流,从而实现了新接入网络网关的接收端也可以实现与发送端的音视频同步。Therefore, the receiving end of the new access network can receive the audio and video stream sent by the sending end, so that the receiving end of the new access network gateway can also realize the audio and video synchronization with the transmitting end.
需要理解的是,在实际情况中,接收端也随时可能断开与网络网关的连接,对于这种情况,为了减少对网络网关资源的消耗,在网络网关监控到有断开的接收端后,网络网关可对与其建立连接的接收端的数量进行更新,并根据更新后的数量复制音视频流,由此,停止为断开的接收端复制音视频流。 It should be understood that, in the actual situation, the receiving end may also disconnect from the network gateway at any time. In this case, in order to reduce the consumption of the network gateway resources, after the network gateway monitors the disconnected receiving end, The network gateway can update the number of receiving ends with which the connection is established, and copy the audio and video streams according to the updated number, thereby stopping the copying of the audio and video streams for the disconnected receiving end.
根据本发明实施例的音视频资源共享的方法,在接收发送端发送的音视频流后,判断与网络网关连接的接收端的数量是否为多个,并在判断出与网络网关连接的接收端的数量为多个时,根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流,由此,使得多个接收端同步显示了发送端的音视频内容,满足了用户使用多个接收端投影发送端的音视频内容的需求,提高了用户体验度。According to the method for sharing audio and video resources according to the embodiment of the present invention, after receiving the audio and video stream sent by the transmitting end, it is determined whether the number of receiving ends connected to the network gateway is multiple, and determining the number of receiving ends connected to the network gateway. When there are multiple, the audio and video streams are copied according to the number of receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams, thereby The plurality of receiving ends synchronously display the audio and video content of the transmitting end, which satisfies the requirement of the user to use the audio and video content of the plurality of receiving end projection transmitting ends, thereby improving the user experience.
为了实现上述实施例,本发明实施例还提出一种音视频资源共享的装置。In order to implement the foregoing embodiments, an embodiment of the present invention further provides an apparatus for sharing audio and video resources.
图4是根据本发明一个实施例的音视频资源共享的装置的结构示意图。该音视频资源共享的装置位于网络网关中,该网络网关是兼容Miracast接收端的功能的网关,如图4所示,该音视频资源共享的装置包括接收模块110、判断模块120和第一处理模块130。FIG. 4 is a schematic structural diagram of an apparatus for sharing audio and video resources according to an embodiment of the present invention. The device for sharing the audio and video resources is located in a network gateway, and the network gateway is a gateway compatible with the function of the receiving end of the Miracast. As shown in FIG. 4, the device for sharing audio and video resources includes a receiving module 110, a determining module 120, and a first processing module. 130.
具体地,接收模块110设置为接收发送端发送的音视频流。Specifically, the receiving module 110 is configured to receive an audio and video stream sent by the transmitting end.
其中,发送端是兼容Miracast功能的设备,即,发送端是支持Miracast功能的设备。The sender is a device compatible with the Miracast function, that is, the sender is a device that supports the Miracast function.
在本发明的一个实施例中,如图5所示,该装置还可以包括建立模块140,该建立模块140设置为在接收模块接收发送端发送的音视频流之前,与发送端建立无线通信连接,并与发送端之间建立Miracast会话。In an embodiment of the present invention, as shown in FIG. 5, the apparatus may further include an establishing module 140 configured to establish a wireless communication connection with the transmitting end before the receiving module receives the audio and video stream sent by the transmitting end. And establish a Miracast session with the sender.
其中,发送端与网络网关之间可通过多种无线方式建立无线通信连接,例如,WIFI(Wireless Fidelity,无线仿真)方式、蓝牙等方式,在实际应用中,用户可根据需要选择与网络网关监控通信连接的无线方式,该实施例的对此不做限定。Among them, the wireless communication connection can be established between the transmitting end and the network gateway through multiple wireless methods, for example, WIFI (Wireless Fidelity) mode, Bluetooth, etc. In practical applications, the user can select and monitor the network gateway according to needs. The wireless mode of the communication connection is not limited in this embodiment.
其中,上述接收端可以是兼容Miracast功能的设备,也可以是不兼容Miracast功能的设备。具体地,判断模块120设置为判断与网络网关连接的接收端的数量是否为多个。 The receiving end may be a device compatible with the Miracast function or a device not compatible with the Miracast function. Specifically, the determining module 120 is configured to determine whether the number of receiving ends connected to the network gateway is multiple.
第一处理模块130设置为在判断出与网络网关连接的接收端的数量为多个时,根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流。The first processing module 130 is configured to: when the number of the receiving ends connected to the network gateway is determined to be multiple, copy the audio and video streams according to the number of the receiving ends, and send a voice to each receiving end connected to the network gateway. The video stream is such that each receiving end receives and projects the audio and video streams.
其中,需要说明的是,该实施例的接收端与网络网关之间可以通过有线方式进行连接,也可以通过无线方式进行连接,例如,当前接收端为智能电视,智能电视可通过有线方式或者无线方式与网络网关建立通信连接。It should be noted that the receiving end of the embodiment and the network gateway may be connected by wire, or may be connected by wireless. For example, the current receiving end is a smart TV, and the smart TV may be wired or wireless. The way to establish a communication connection with the network gateway.
需要理解的是,在网络网关与接收端之间进行交互的过程中,网络网关与接收端之间的交互方式可以与Miracast兼容,也可以不与Miracast兼容而采用其它流媒体传输与播放方式,网络网关与接收端之间的交互方可根据实际情况进行选择,该实施例对网络网关与接收端之间的交互方式不做限定。It should be understood that in the process of interaction between the network gateway and the receiving end, the interaction between the network gateway and the receiving end may be compatible with Miracast, or may be compatible with Miracast and adopt other streaming media transmission and playing modes. The interaction between the network gateway and the receiving end can be selected according to the actual situation. This embodiment does not limit the interaction mode between the network gateway and the receiving end.
通常每个接收端所支持的音视频的数据格式可能不同,为了使得接收端可以正常播放网络网关发送的音视频流,如图5所示,该装置还可以包括第二处理模块150,该第二处理模块150设置为在第一处理模块130向每个与网络网关相连的接收端发送一份音视频流之前,针对每个接收端,确定当前接收端所需的音视频数据格式,并判断音视频数据格式与音视频流的格式是否一致,并在音视频数据格式与音视频流的格式时,根据音视频数据格式对音视频流的格式进行转换,并将转换格式后的音视频流发送至当前接收端。Generally, the data format of the audio and video supported by each receiving end may be different. In order to enable the receiving end to play the audio and video stream sent by the network gateway normally, as shown in FIG. 5, the apparatus may further include a second processing module 150. The second processing module 150 is configured to determine, according to each receiving end, the audio and video data format required by the current receiving end before the first processing module 130 sends an audio and video stream to each receiving end connected to the network gateway, and determine Whether the audio and video data format is consistent with the format of the audio and video stream, and in the audio and video data format and the audio and video stream format, the format of the audio and video stream is converted according to the audio and video data format, and the formatted audio and video stream is converted. Send to the current receiving end.
如图5所示,该装置还可以包括第三处理模块160,第三处理模块160设置为在与网络网关连接的接收端的数量为一个时,确定接收端所需的音视频数据格式,并判断音视频数据格式与音视频流的格式是否一致,并在音视频数据格式与音视频流的格式不一致时,根据音视频数据格式对音视频流的格式进行转换,并将转换格式后的音视频流发送至接收端。As shown in FIG. 5, the apparatus may further include a third processing module 160 configured to determine an audio and video data format required by the receiving end when the number of receiving ends connected to the network gateway is one, and determine The audio and video data format is consistent with the format of the audio and video stream, and when the audio and video data format is inconsistent with the format of the audio and video stream, the format of the audio and video stream is converted according to the audio and video data format, and the formatted audio and video is converted. The stream is sent to the receiving end.
通常情况下,在发送端与接收端同步播放音视频的过程中,与网络网关连接的接收端并不是固定不变,用户可根据实际需求增加与网络网关连接的接收端的数量,为了使得新接入网络网关的接收端可以与发送端的音 视频内容同步,如图5所示,该装置还可以包括第四处理模块170,该第四处理模块170设置为在判断模块120判断与网络网关连接的接收端的数量是否为多个之后,当监控到有新接入的接收端时,根据新接入的接收端的数量将音视频流复制多份,并向每个新接入的接收端发送一份音视频流,以使每个新接入的接收端接收并投影音视频流。Generally, in the process of synchronously playing audio and video on the transmitting end and the receiving end, the receiving end connected to the network gateway is not fixed, and the user can increase the number of receiving ends connected to the network gateway according to actual needs, in order to make a new connection. The receiving end of the network gateway can be connected to the sound of the transmitting end. The video content is synchronized. As shown in FIG. 5, the apparatus may further include a fourth processing module 170, where the fourth processing module 170 is configured to monitor after the determining module 120 determines whether the number of receiving ends connected to the network gateway is multiple. When there is a new access receiver, the audio and video streams are copied according to the number of newly accessed receivers, and an audio and video stream is sent to each newly accessed receiver to make each new access. The receiving end receives and projects the audio and video streams.
需要理解的是,在实际情况中,接收端也随时可能断开与网络网关的连接,对于这种情况,为了减少对网络网关资源的消耗,在网络网关监控到有断开的接收端后,网络网关可对与其建立连接的接收端的数量进行更新,并根据更新后的数量复制音视频流,由此,停止为断开的接收端复制音视频流。It should be understood that, in the actual situation, the receiving end may also disconnect from the network gateway at any time. In this case, in order to reduce the consumption of the network gateway resources, after the network gateway monitors the disconnected receiving end, The network gateway can update the number of receiving ends with which the connection is established, and copy the audio and video streams according to the updated number, thereby stopping the copying of the audio and video streams for the disconnected receiving end.
需要说明的是,前述对音视频资源共享的方法实施例的解释说明也适用于该实施例的音视频资源共享的装置,其实现原理类似,此处不再赘述。It should be noted that the foregoing description of the method for sharing audio and video resources is also applicable to the device for sharing audio and video resources in the embodiment, and the implementation principle is similar, and details are not described herein again.
根据本发明实施例的音视频资源共享的装置,通过接收模块接收发送端发送的音视频流,并通过判断模块判断与网络网关连接的接收端的数量是否为多个,并在判断出与网络网关连接的接收端的数量为多个时,第一处理模块根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流,由此,使得多个接收端同步显示了发送端的音视频内容,满足了用户使用多个接收端投影发送端的音视频内容的需求,提高了用户体验度。The device for sharing audio and video resources according to the embodiment of the present invention receives the audio and video stream sent by the sending end by the receiving module, and determines whether the number of receiving ends connected to the network gateway is multiple by the determining module, and determines the network gateway When the number of connected receiving ends is multiple, the first processing module copies the audio and video streams according to the number of receiving ends, and sends an audio and video stream to each receiving end connected to the network gateway, so that each receiving end The audio and video streams are received and projected, thereby enabling a plurality of receiving ends to synchronously display the audio and video content of the transmitting end, which satisfies the requirement of the user to use the audio and video content of the plurality of receiving ends to project the transmitting end, thereby improving the user experience.
为了实现上述实施例,本发明实施例还提出一种网络网关。In order to implement the foregoing embodiments, an embodiment of the present invention further provides a network gateway.
一种网络网关,包括本发明第二方面实施例的音视频资源共享的装置。A network gateway includes an apparatus for sharing audio and video resources according to an embodiment of the second aspect of the present invention.
根据本发明实施例的网络网关,在接收发送端发送的音视频流后,判断与网络网关连接的接收端的数量是否为多个,并在判断出与网络网关连接的接收端的数量为多个时,根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流,由此,使得多个接收端同步显示了发送端的音视频内容, 满足了用户使用多个接收端投影发送端的音视频内容的需求,提高了用户体验度。The network gateway according to the embodiment of the present invention determines whether the number of receiving ends connected to the network gateway is multiple after receiving the audio and video stream sent by the transmitting end, and determines that the number of receiving ends connected to the network gateway is multiple. And copying the audio and video streams according to the number of receiving ends, and sending an audio and video stream to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams, thereby making multiple The receiving end synchronously displays the audio and video content of the transmitting end. The requirement for the user to use the audio and video content of the plurality of receiving end projection transmitting ends is satisfied, and the user experience is improved.
图6是网络网关的基本结构示意图。如图6所示,该网络网关包括中央处理单元(GWCU)60、第一网络接口(GW-IF1)61、第一数据处理模块(P-IF1)62、通用WAN接口(GW-WAN-IF)63、第二网络接口(GW-IF2)64、第二数据处理模块(P-IF2)65,其中:6 is a schematic diagram of the basic structure of a network gateway. As shown in FIG. 6, the network gateway includes a central processing unit (GWCU) 60, a first network interface (GW-IF1) 61, a first data processing module (P-IF1) 62, and a universal WAN interface (GW-WAN-IF). 63, a second network interface (GW-IF2) 64, a second data processing module (P-IF2) 65, wherein:
中央处理单元60设置为对网络网关中的通用WAN接口63、第一数据处理模块62和第二数据处理模块65进行控制。The central processing unit 60 is arranged to control the universal WAN interface 63, the first data processing module 62 and the second data processing module 65 in the network gateway.
第一网络接口61设置为连接发送端。The first network interface 61 is arranged to connect to the transmitting end.
第一数据处理模块62设置为对接收到的消息流、音视频流预处理。The first data processing module 62 is configured to preprocess the received message stream, audio and video streams.
通用WAN接口63为网络网关的通用WAN接口,设置为连接互联网。The universal WAN interface 63 is a universal WAN interface of the network gateway and is set to connect to the Internet.
第二网络接口64设置为连接一个或多个接收端设备。The second network interface 64 is arranged to connect to one or more sink devices.
第二数据处理模块65设置为复制、构建要发送给接收设备的消息流、音视频流。The second data processing module 65 is arranged to copy and construct a message stream, an audio and video stream to be transmitted to the receiving device.
需要理解的是,该网络网关具备普通网络网关的通用功能,同时能完成本发明描述的连接发送端与接收端、处理并复制消息流、音视频流的功能。It should be understood that the network gateway has the common functions of a common network gateway, and can complete the functions of connecting the sender and the receiver, processing and copying the message stream, audio and video stream described in the present invention.
为了实现上述实施例,本发明实施例还提出一种音视频资源共享的系统。In order to implement the foregoing embodiments, an embodiment of the present invention further provides a system for sharing audio and video resources.
图7是根据本发明一个实施例的音视频资源共享的系统的结构示意图。该音视频资源共享的系统可以包括发送端10、网络网关20和至少一个接收端30,其中,FIG. 7 is a schematic structural diagram of a system for sharing audio and video resources according to an embodiment of the present invention. The system for sharing audio and video resources may include a transmitting end 10, a network gateway 20, and at least one receiving end 30, where
发送端10设置为向网络网关20发送音视频流数据。The transmitting end 10 is arranged to transmit audio and video stream data to the network gateway 20.
网络网关20设置为接收发送端10发送的音视频流数据,并判断接收端的数量是否为多个,并在接收端的数量为多个时,根据接收端的数量将 音视频流复制多份,并向每个与网络网关20相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流。The network gateway 20 is configured to receive the audio and video stream data sent by the transmitting end 10, and determine whether the number of receiving ends is multiple, and when the number of receiving ends is multiple, according to the number of receiving ends The audio and video streams are copied in multiple copies, and an audio and video stream is sent to each receiving end connected to the network gateway 20, so that each receiving end receives and projects the audio and video streams.
接收端30设置为接收网络网关20发送的音视频流,并投影音视频流。The receiving end 30 is arranged to receive the audio and video stream sent by the network gateway 20 and project the audio and video stream.
其中,音视频资源共享的系统的示例图,如图8所示,如图8所示,该音视频资源共享的系统中包含N个接收端30,且各个接收端30均以无线的方式与网络网关20进行通信。For example, as shown in FIG. 8 , the system for sharing audio and video resources includes N receiving ends 30, and each receiving end 30 is wirelessly connected with The network gateway 20 communicates.
在本发明的一个实施例中,通常每个接收端30所支持的音视频的数据格式可能不同,为了使得接收端30可以正常播放网络网关20发送的音视频流,网络网关20还设置为:在向每个与网络网关20相连的接收端发送一份音视频流之前,针对每个接收端,确定当前接收端所需的音视频数据格式,并判断音视频数据格式与音视频流的格式是否一致,并在音视频数据格式与音视频流的格式不一致时,根据音视频数据格式对音视频流的格式进行转换,并将转换格式后的音视频流发送至当前接收端30。In an embodiment of the present invention, the data format of the audio and video supported by each receiving end 30 may be different. In order to enable the receiving end 30 to play the audio and video streams sent by the network gateway 20 normally, the network gateway 20 is further configured to: Before each audio and video stream is sent to each receiving end connected to the network gateway 20, for each receiving end, the audio and video data format required by the current receiving end is determined, and the format of the audio and video data and the format of the audio and video stream are determined. Whether it is consistent, and when the audio and video data format is inconsistent with the format of the audio and video stream, the format of the audio and video stream is converted according to the audio and video data format, and the converted audio and video stream is sent to the current receiving end 30.
另外,在与网络网关20连接的接收端的数量为一个时,网络网关20可确定接收端所需的音视频数据格式,并判断音视频数据格式与音视频流的格式是否一致,以及若音视频数据格式与音视频流的格式不一致,则根据音视频数据格式对音视频流的格式进行转换,并将转换格式后的音视频流发送至接收端。In addition, when the number of receiving ends connected to the network gateway 20 is one, the network gateway 20 can determine the audio and video data format required by the receiving end, and determine whether the audio and video data format is consistent with the format of the audio and video stream, and if the audio and video The data format is inconsistent with the format of the audio and video stream, and the format of the audio and video stream is converted according to the audio and video data format, and the converted audio and video stream is sent to the receiving end.
需要理解的是,若音视频数据格式与音视频流的格式一致,则网络网关20无需对音视频流的格式进行转换,直接将对应的音视频流发送给接收端30,接收端30播放音视频流所对应的音视频内容。It should be understood that if the audio and video data format is consistent with the format of the audio and video stream, the network gateway 20 does not need to convert the format of the audio and video stream, and directly sends the corresponding audio and video stream to the receiving end 30, and the receiving end 30 plays the sound. The audio and video content corresponding to the video stream.
通常情况下,在发送端10与接收端同步播放音视频的过程中,与网络网关20连接的接收端并不是固定不变,用户可根据实际需求增加与网络网关20连接的接收端的数量,为了使得新接入网络网关20的接收端可以与发送端10的音视频内容同步,在网络网关20判断与网络网关20连接的接收端的数量是否为多个之后,如果网络网关20监控到有新接入的接收端,则网络网关20根据新接入的接收端的数量将音视频流复制多份, 并向每个新接入的接收端发送一份音视频流,以使每个新接入的接收端接收并投影音视频流。Generally, in the process of synchronously playing audio and video on the transmitting end 10 and the receiving end, the receiving end connected to the network gateway 20 is not fixed, and the user can increase the number of receiving ends connected to the network gateway 20 according to actual needs, in order to The receiving end of the new access network gateway 20 can synchronize with the audio and video content of the transmitting end 10. After the network gateway 20 determines whether the number of receiving ends connected to the network gateway 20 is multiple, if the network gateway 20 monitors that there is a new connection. At the receiving end, the network gateway 20 copies the audio and video streams according to the number of newly received receiving ends, And sending an audio and video stream to each newly accessed receiving end, so that each newly accessed receiving end receives and projects the audio and video streams.
需要说明的是,前述对音视频资源共享的方法、装置以及网络网关的解释说明也适用于该实施例的音视频资源共享的系统,此处不再赘述。It should be noted that the foregoing description of the method and device for sharing audio and video resources and the network gateway are also applicable to the system for sharing audio and video resources in this embodiment, and details are not described herein again.
根据本发明实施例的音视频资源共享的系统,网络网关在接收发送端发送的音视频流后,判断与网络网关连接的接收端的数量是否为多个,并在判断出与网络网关连接的接收端的数量为多个时,根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流,由此,使得多个接收端同步显示了发送端的音视频内容,满足了用户使用多个接收端投影发送端的音视频内容的需求,提高了用户体验度。According to the audio and video resource sharing system of the embodiment of the present invention, after receiving the audio and video stream sent by the transmitting end, the network gateway determines whether the number of receiving ends connected to the network gateway is multiple, and determines the receiving connection with the network gateway. When the number of terminals is multiple, the audio and video streams are copied according to the number of the receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that each receiving end receives and projects the audio and video streams. Thereby, the plurality of receiving ends synchronously display the audio and video content of the transmitting end, which satisfies the requirement that the user uses the audio and video content of the plurality of receiving ends to project the transmitting end, thereby improving the user experience.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,接收发送端发送的音视频流;S1, receiving an audio and video stream sent by the sending end;
S2,判断与网络网关连接的接收端的数量是否为多个;S2, determining whether the number of receiving ends connected to the network gateway is multiple;
S3,若判断出与网络网关连接的接收端的数量为多个,则根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视频流。S3. If it is determined that the number of the receiving ends connected to the network gateway is multiple, the audio and video streams are copied according to the number of the receiving ends, and an audio and video stream is sent to each receiving end connected to the network gateway, so that Each receiving end receives and projects an audio and video stream.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个 实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means a specific feature described in connection with the embodiment or example. A structure, material or feature is included in at least one embodiment or example of the invention. In the present specification, the schematic representation of the above terms is not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be in any one or more The embodiments or examples are combined in a suitable manner. In addition, various embodiments or examples described in the specification, as well as features of various embodiments or examples, may be combined and combined.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。Moreover, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" or "second" may include at least one of the features, either explicitly or implicitly. In the description of the present invention, the meaning of "a plurality" is at least two, such as two, three, etc., unless specifically defined otherwise.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a particular logical function or process. And the scope of the preferred embodiments of the invention includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in an opposite order depending on the functions involved, in the order shown or discussed. It will be understood by those skilled in the art to which the embodiments of the present invention pertain.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来 以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer readable medium, Used in conjunction with, or in conjunction with, an instruction execution system, apparatus, or device (eg, a computer-based system, a system including a processor, or other system that can fetch instructions and execute instructions from an instruction execution system, apparatus, or device) Or use with equipment. For the purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable Way to handle it The program is obtained electronically and then stored in computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that portions of the invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, one or a combination of the steps of the method embodiments is included.
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。The above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like. Although the embodiments of the present invention have been shown and described, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the invention. The embodiments are subject to variations, modifications, substitutions and variations.
工业实用性Industrial applicability
在本发明实施例中,在接收发送端发送的音视频流后,判断与网络网关连接的接收端的数量是否为多个,并在判断出与网络网关连接的接收端的数量为多个时,根据接收端的数量将音视频流复制多份,并向每个与网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影音视 频流,由此,使得多个接收端同步显示了发送端的音视频内容,满足了用户使用多个接收端投影发送端的音视频内容的需求,提高了用户体验度。 In the embodiment of the present invention, after receiving the audio and video stream sent by the transmitting end, determining whether the number of receiving ends connected to the network gateway is multiple, and determining that the number of receiving ends connected to the network gateway is multiple, according to The number of receiving ends copies multiple copies of the audio and video stream, and sends an audio and video stream to each receiving end connected to the network gateway, so that each receiving end receives and projects audio and video. The frequency stream, thereby enabling a plurality of receiving ends to synchronously display the audio and video content of the transmitting end, satisfies the requirement of the user to use the audio and video content of the plurality of receiving end projection transmitting ends, thereby improving the user experience.

Claims (15)

  1. 一种音视频资源共享的方法,包括以下步骤:A method for sharing audio and video resources includes the following steps:
    接收发送端发送的音视频流;Receiving an audio and video stream sent by the sender;
    判断与网络网关连接的接收端的数量是否为多个;Determining whether the number of receiving ends connected to the network gateway is multiple;
    若判断出与所述网络网关连接的接收端的数量为多个,则根据所述接收端的数量将所述音视频流复制多份,并向每个与所述网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影所述音视频流。If it is determined that the number of the receiving ends connected to the network gateway is multiple, the audio and video streams are copied according to the number of the receiving ends, and one copy is sent to each receiving end connected to the network gateway. The audio and video streams are such that each receiving end receives and projects the audio and video streams.
  2. 如权利要求1所述的音视频资源共享的方法,其中,在所述向每个与所述网络网关相连的接收端发送一份音视频流之前,还包括:The method for sharing audio and video resources according to claim 1, wherein before the sending of the audio and video stream to each receiving end connected to the network gateway, the method further includes:
    针对每个所述接收端,确定当前接收端所需的音视频数据格式,并判断所述音视频数据格式与所述音视频流的格式是否一致;Determining, by each of the receiving ends, an audio and video data format required by the current receiving end, and determining whether the audio and video data format is consistent with the format of the audio and video stream;
    若不一致,则根据所述音视频数据格式对所述音视频流的格式进行转换,并将转换格式后的音视频流发送至所述当前接收端。If not, the format of the audio and video stream is converted according to the audio and video data format, and the converted audio and video stream is sent to the current receiving end.
  3. 如权利要求1所述的音视频资源共享的方法,其中,在所述接收发送端发送的音视频流之前,还包括:The method for sharing audio and video resources according to claim 1, wherein before the receiving the audio and video stream sent by the transmitting end, the method further comprises:
    与所述发送端建立无线通信连接,并与所述发送端之间建立Miracast会话。Establishing a wireless communication connection with the sender and establishing a Miracast session with the sender.
  4. 如权利要求1所述的音视频资源共享的方法,其中,还包括:The method for sharing audio and video resources according to claim 1, further comprising:
    在与所述网络网关连接的接收端的数量为一个时,确定所述接收端所需的音视频数据格式,并判断所述音视频数据格式与所述音视频流的格式是否一致;When the number of receiving ends connected to the network gateway is one, determining an audio and video data format required by the receiving end, and determining whether the audio and video data format is consistent with the format of the audio and video stream;
    若所述音视频数据格式与所述音视频流的格式不一致,则根据所 述音视频数据格式对所述音视频流的格式进行转换,并将转换格式后的音视频流发送至所述接收端。If the audio and video data format is inconsistent with the format of the audio and video stream, The audio and video data format converts the format of the audio and video stream, and sends the converted audio and video stream to the receiving end.
  5. 如权利要求1或4所述的音视频资源共享的方法,其中,在所述判断与网络网关连接的接收端的数量是否为多个之后,还包括:The method for sharing audio and video resources according to claim 1 or 4, wherein after determining whether the number of receiving ends connected to the network gateway is multiple, the method further includes:
    如果监控到有新接入的接收端,则根据新接入的接收端的数量将所述音视频流复制多份,并向每个新接入的接收端发送一份音视频流,以使每个新接入的接收端接收并投影所述音视频流。If the receiving end with the new access is monitored, the audio and video streams are duplicated according to the number of newly accessed receiving ends, and an audio and video stream is sent to each newly accessed receiving end, so that each The receiving end of the new access receives and projects the audio and video streams.
  6. 一种音视频资源共享的装置,包括:A device for sharing audio and video resources, comprising:
    接收模块,设置为接收发送端发送的音视频流;a receiving module, configured to receive an audio and video stream sent by the sending end;
    判断模块,设置为判断与网络网关连接的接收端的数量是否为多个;The determining module is configured to determine whether the number of receiving ends connected to the network gateway is multiple;
    第一处理模块,设置为在判断出与所述网络网关连接的接收端的数量为多个时,根据所述接收端的数量将所述音视频流复制多份,并向每个与所述网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影所述音视频流。a first processing module, configured to: when the number of the receiving ends connected to the network gateway is determined to be multiple, copy the audio and video streams according to the number of the receiving ends, and send each of the audio and video streams to each of the network gateways The connected receiving end sends a stream of audio and video such that each receiving end receives and projects the audio and video stream.
  7. 如权利要求6所述的音视频资源共享的装置,其中,还包括:The device for sharing audio and video resources according to claim 6, further comprising:
    第二处理模块,设置为在所述第一处理模块向每个与所述网络网关相连的接收端发送一份音视频流之前,针对每个所述接收端,确定当前接收端所需的音视频数据格式,并判断所述音视频数据格式与所述音视频流的格式是否一致,并在所述音视频数据格式与所述音视频流的格式时,根据所述音视频数据格式对所述音视频流的格式进行转换,并将转换格式后的音视频流发送至所述当前接收端。a second processing module, configured to determine, before each of the receiving ends, a tone required by the current receiving end, before the first processing module sends an audio and video stream to each receiving end connected to the network gateway a video data format, and determining whether the audio and video data format is consistent with a format of the audio and video stream, and when the audio and video data format and the audio and video stream are in a format, according to the audio and video data format The format of the audio and video stream is converted, and the converted audio and video stream is sent to the current receiving end.
  8. 如权利要求6所述的音视频资源共享的装置,其中,还包括: The device for sharing audio and video resources according to claim 6, further comprising:
    建立模块,设置为在所述接收模块接收发送端发送的音视频流之前,与所述发送端建立无线通信连接,并与所述发送端之间建立Miracast会话。And establishing a module, configured to establish a wireless communication connection with the sending end and establish a Miracast session with the sending end before the receiving module receives the audio and video stream sent by the sending end.
  9. 如权利要求6所述的音视频资源共享的装置,其中,还包括:The device for sharing audio and video resources according to claim 6, further comprising:
    第三处理模块,设置为在与所述网络网关连接的接收端的数量为一个时,确定所述接收端所需的音视频数据格式,并判断所述音视频数据格式与所述音视频流的格式是否一致,并在所述音视频数据格式与所述音视频流的格式不一致时,根据所述音视频数据格式对所述音视频流的格式进行转换,并将转换格式后的音视频流发送至所述接收端。a third processing module, configured to determine an audio and video data format required by the receiving end when the number of receiving ends connected to the network gateway is one, and determine the audio and video data format and the audio and video stream Whether the format is consistent, and when the audio and video data format is inconsistent with the format of the audio and video stream, converting the format of the audio and video stream according to the audio and video data format, and converting the formatted audio and video stream Send to the receiving end.
  10. 如权利要求6或9所述的音视频资源共享的装置,其中,还包括:The device for sharing audio and video resources according to claim 6 or 9, further comprising:
    第四处理模块,设置为在所述判断模块判断与网络网关连接的接收端的数量是否为多个之后,当监控到有新接入的接收端时,根据新接入的接收端的数量将所述音视频流复制多份,并向每个新接入的接收端发送一份音视频流,以使每个新接入的接收端接收并投影所述音视频流。a fourth processing module, configured to: after the determining module determines whether the number of receiving ends connected to the network gateway is multiple, when monitoring the receiving end with the new access, according to the number of newly accessed receiving ends The audio and video streams are copied in multiple copies, and an audio and video stream is sent to each newly accessed receiving end, so that each newly accessed receiving end receives and projects the audio and video streams.
  11. 一种网络网关,包括:如权利要求6-10中任一项所述的音视频资源共享的装置。A network gateway, comprising: an apparatus for sharing audio and video resources according to any one of claims 6-10.
  12. 一种音视频资源共享的系统,包括:发送端、网络网关和至少一个接收端,其中,A system for sharing audio and video resources, comprising: a transmitting end, a network gateway, and at least one receiving end, wherein
    所述发送端,设置为向所述网络网关发送音视频流数据;The sending end is configured to send audio and video stream data to the network gateway;
    所述网络网关,设置为接收所述发送端发送的所述音视频流数据,并判断所述接收端的数量是否为多个,并在所述接收端的数量为多个 时,根据所述接收端的数量将所述音视频流复制多份,并向每个与所述网络网关相连的接收端发送一份音视频流,以使每个接收端接收并投影所述音视频流;The network gateway is configured to receive the audio and video stream data sent by the sending end, and determine whether the number of the receiving ends is multiple, and the number of the receiving ends is multiple And copying the audio and video streams according to the number of the receiving ends, and sending an audio and video stream to each receiving end connected to the network gateway, so that each receiving end receives and projects the sound. Video stream
    所述接收端,设置为接收所述网络网关发送的所述音视频流,并投影所述音视频流。The receiving end is configured to receive the audio and video stream sent by the network gateway, and project the audio and video stream.
  13. 如权利要求12所述的音视频资源共享的系统,其中,所述网络网关,还设置为:The system for sharing audio and video resources according to claim 12, wherein the network gateway is further configured to:
    在向每个与所述网络网关相连的接收端发送一份音视频流之前,针对每个所述接收端,确定当前接收端所需的音视频数据格式,并判断所述音视频数据格式与所述音视频流的格式是否一致,并在所述音视频数据格式与所述音视频流的格式不一致时,根据所述音视频数据格式对所述音视频流的格式进行转换,并将转换格式后的音视频流发送至所述当前接收端。Before sending an audio and video stream to each receiving end connected to the network gateway, determining, for each of the receiving ends, an audio and video data format required by the current receiving end, and determining the audio and video data format and Whether the format of the audio and video stream is consistent, and when the audio and video data format is inconsistent with the format of the audio and video stream, converting the format of the audio and video stream according to the audio and video data format, and converting The formatted audio and video stream is sent to the current receiving end.
  14. 如权利要求12所述的音视频资源共享的系统,其中,所述网络网关,还设置为:The system for sharing audio and video resources according to claim 12, wherein the network gateway is further configured to:
    在与所述网络网关连接的接收端的数量为一个时,确定所述接收端所需的音视频数据格式,并判断所述音视频数据格式与所述音视频流的格式是否一致;When the number of receiving ends connected to the network gateway is one, determining an audio and video data format required by the receiving end, and determining whether the audio and video data format is consistent with the format of the audio and video stream;
    若所述音视频数据格式与所述音视频流的格式不一致,则根据所述音视频数据格式对所述音视频流的格式进行转换,并将转换格式后的音视频流发送至所述接收端。If the audio and video data format is inconsistent with the format of the audio and video stream, converting the format of the audio and video stream according to the audio and video data format, and transmitting the converted audio and video stream to the receiving end.
  15. 如权利要求12或14所述的音视频资源共享的系统,其中,在所述网络网关判断与网络网关连接的接收端的数量是否为多个之后,如果所述网络网关监控到有新接入的接收端,则所述网络网关根 据新接入的接收端的数量将所述音视频流复制多份,并向每个新接入的接收端发送一份音视频流,以使每个新接入的接收端接收并投影所述音视频流。 The system for sharing audio and video resources according to claim 12 or 14, wherein after the network gateway determines whether the number of receiving ends connected to the network gateway is plural, if the network gateway monitors that there is new access At the receiving end, the network gateway root Copying the audio and video streams according to the number of newly accessed receiving ends, and transmitting an audio and video stream to each newly accessed receiving end, so that each newly accessed receiving end receives and projects the said Audio and video streaming.
PCT/CN2016/108759 2016-02-18 2016-12-07 Method, device and system for sharing audio and video resource, and network gateway WO2017140161A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610091028.X 2016-02-18
CN201610091028.XA CN107094266A (en) 2016-02-18 2016-02-18 Audio and video resources shared method, device, system and network gateway

Publications (1)

Publication Number Publication Date
WO2017140161A1 true WO2017140161A1 (en) 2017-08-24

Family

ID=59625577

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/108759 WO2017140161A1 (en) 2016-02-18 2016-12-07 Method, device and system for sharing audio and video resource, and network gateway

Country Status (2)

Country Link
CN (1) CN107094266A (en)
WO (1) WO2017140161A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422845A (en) * 2021-12-20 2022-04-29 瑞芯微电子股份有限公司 Method for transceiving audio and video data and transfer equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032555A (en) * 2018-07-06 2018-12-18 广州视源电子科技股份有限公司 Throw screen sound intermediate frequency data processing method, device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855088A (en) * 2012-09-14 2013-01-02 福州瑞芯微电子有限公司 Method for starting and setting connection in same screen as well as corresponding system and equipment thereof
CN103796080A (en) * 2014-01-06 2014-05-14 联想(北京)有限公司 Data processing method and electronic device
US20150095510A1 (en) * 2013-09-30 2015-04-02 Cavium, Inc. Protocol Switching over Multi-Network Interface
CN105812909A (en) * 2014-12-29 2016-07-27 中国移动通信集团公司 Video transmission method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888783A (en) * 2013-06-03 2014-06-25 北京朝歌软件有限公司 Multimedia data transmission control method, processing device, server and play system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855088A (en) * 2012-09-14 2013-01-02 福州瑞芯微电子有限公司 Method for starting and setting connection in same screen as well as corresponding system and equipment thereof
US20150095510A1 (en) * 2013-09-30 2015-04-02 Cavium, Inc. Protocol Switching over Multi-Network Interface
CN103796080A (en) * 2014-01-06 2014-05-14 联想(北京)有限公司 Data processing method and electronic device
CN105812909A (en) * 2014-12-29 2016-07-27 中国移动通信集团公司 Video transmission method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422845A (en) * 2021-12-20 2022-04-29 瑞芯微电子股份有限公司 Method for transceiving audio and video data and transfer equipment

Also Published As

Publication number Publication date
CN107094266A (en) 2017-08-25

Similar Documents

Publication Publication Date Title
US10637894B2 (en) Real-time placeshifting of media content to paired devices
US9913301B2 (en) Content sharing method and device
KR102305302B1 (en) Direct streaming for wireless display
EP2640100B1 (en) Method and apparatus for providing an enhanced wi-fi display session in a wi-fi display network
KR101632019B1 (en) Customized playback at sink device in wireless display system
US10932210B2 (en) Content output device and control method thereof
WO2016110169A1 (en) Display processing method and device
TWI528827B (en) Method and apparatus for wireless multicasting in a colone mode and computer readable medium
WO2015139547A1 (en) Method, device and system for setting up application scenario
US9749373B2 (en) System and method for improved content streaming
WO2018192183A1 (en) Method and apparatus for processing video file during wireless screen delivery
KR20180069576A (en) Image providing apparatus, controlling method thereof and image providing system
US9432725B2 (en) Method and apparatus for transmitting content to plurality of devices
JP6116240B2 (en) Transmission device, transmission method, and program
WO2017140161A1 (en) Method, device and system for sharing audio and video resource, and network gateway
JP2015188204A (en) Information processing apparatus, information processing method, and its program
KR20190055802A (en) Method and device for transmitting content
WO2017018042A1 (en) Information processing device, information processing method, and source apparatus
KR101339835B1 (en) Real time screen clone apparatus of mobile terminal, the system and method thereof
BR102020025848A2 (en) DECODER EQUIPMENT WITH TWO AUDIO LINKS
US8943247B1 (en) Media sink device input identification
WO2013185702A1 (en) Service content management system and method under multi-device environment
WO2023273992A1 (en) Wireless transmission system, method and apparatus
US9544350B2 (en) RUI system, RUI server, RUI terminal apparatus and controlling method thereof
CN105530537A (en) Multimedia data transmission method and related equipment

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: 16890385

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: 16890385

Country of ref document: EP

Kind code of ref document: A1