CN112492363A - Television content sharing method, smart television, system and readable storage medium - Google Patents

Television content sharing method, smart television, system and readable storage medium Download PDF

Info

Publication number
CN112492363A
CN112492363A CN202011351493.5A CN202011351493A CN112492363A CN 112492363 A CN112492363 A CN 112492363A CN 202011351493 A CN202011351493 A CN 202011351493A CN 112492363 A CN112492363 A CN 112492363A
Authority
CN
China
Prior art keywords
television content
television
terminal
content sharing
sharing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011351493.5A
Other languages
Chinese (zh)
Inventor
毛俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202011351493.5A priority Critical patent/CN112492363A/en
Publication of CN112492363A publication Critical patent/CN112492363A/en
Pending legal-status Critical Current

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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/439Processing of audio elementary streams
    • H04N21/4398Processing of audio elementary streams involving reformatting operations of audio signals
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a television content sharing method, a smart television, a system and a readable storage medium, which are applied to the field of smart televisions, wherein the method comprises the following steps: responding to the television content sharing request, and establishing video call connection with a television content receiving terminal; the method comprises the steps that television content is collected at a background, the television content is coded to generate a television content data packet, and the television content data packet is sent to a television content receiving terminal; and playing the television content, reducing a video call window, and displaying the video call window in a suspending manner. The method has the advantages that the user can share the television content in real time when the smart television is used for carrying out video call with other users remotely, so that the user can share favorite television content in time in the process of carrying out video call by using the smart television, watch the same television content together, create a good atmosphere and optimize the user use experience.

Description

Television content sharing method, smart television, system and readable storage medium
Technical Field
The invention relates to the field of smart televisions, in particular to a television content sharing method, a smart television, a system and a readable storage medium.
Background
In the prior art, with the rapid development of the smart television technology, more and more users choose to watch television programs as entertainment activities at leisure, however, when the users see very colorful segments and want to share television contents with friends in different places, the users can only share the television contents orally in a video or voice mode, the video contents cannot be remotely shared to other users who are performing video chatting in real time, and the user experience is poor.
Disclosure of Invention
The invention mainly aims to provide a television content sharing method, and aims to solve the technical problem which cannot be realized in the prior art.
In order to achieve the above object, the present invention provides a method for sharing television content, which includes the following steps:
responding to the television content sharing request, and establishing video call connection with a television content receiving terminal;
the method comprises the steps that television content is collected at a background, the television content is coded to generate a television content data packet, and the television content data packet is sent to a television content receiving terminal;
and playing the television content, reducing a video call window, and displaying the video call window in a suspending manner.
Wherein, before the step of responding to the television content sharing request and establishing a video call connection with the television content receiving terminal, the method further comprises:
the television content receiving terminal receives a friend request sent by the television content sharing terminal, sends prompt information for agreeing to the friend request to the television content sharing terminal, opens the TCP network port and establishes the TCP connection with the television content sharing terminal.
Wherein, the steps of the background collecting the television content, encoding the television content to generate a television content data packet, and sending the television content data packet to the television content receiving terminal further comprise:
the television content receiving terminal acquires an exchange equipment information request sent by the television content sharing terminal based on a user-defined private protocol, sends equipment information to the television content sharing terminal, analyzes the equipment information sent by the television sharing terminal, and determines a television content decoder matched with the television content sharing terminal.
The background acquiring television content, encoding the television content to generate a television content data packet, and sending the television content data packet to the television content receiving terminal comprise the following steps:
the television content receiving terminal opens a UDP network port, establishes UDP connection with the television content sharing terminal, sends a TCP control command for starting to share television content to the television content sharing terminal, receives the television content data packet transmitted by the television content sharing terminal in real time based on a UDP protocol, calls the television content decoder to decode the television content data packet, and acquires the television content transmitted by the television content sharing terminal.
Wherein, before the step of establishing a video call connection with the television content receiving terminal in response to the television content sharing request, the method comprises:
the television content receiving terminal generates a random password, uploads the equipment information and the random password to a designated server, sets the storage time of the random password, sends notification information carrying the random password to the television content sharing terminal, and establishes TCP connection with the television content sharing terminal accessing the designated server to input the random password within the storage time of the random password.
Wherein, the playing the television content, reducing a video call window, and the suspending display of the video call window comprises the following steps:
the television content receiving terminal changes the video call window into a floating window form, transmits a TCP control instruction carrying the change of the video call window into the floating window form to the television content sharing terminal, and controls the television content sharing terminal to synchronously change the video call window.
In order to achieve the above object, the present invention further provides a method for sharing television content, including the following steps:
responding to a television content sharing request, and establishing video call connection with the television content sharing terminal;
receiving a television content data packet sent by the television content sharing terminal, decoding the television content data packet transmitted by the television content sharing terminal, and acquiring decoded television content;
and playing the decoded television content, reducing a video call window, and displaying the video call window in a suspending manner.
In addition, to achieve the above object, the present invention further provides a smart tv, including: the system comprises a memory, a processor and a television content sharing program stored on the memory and capable of running on the processor, wherein the television content sharing program realizes the steps of the television content sharing method when being executed by the processor.
The present invention also provides a television content sharing system, which includes:
the television content sharing terminal is used for carrying out video call with the television content receiving terminal, establishing TCP connection and UDP connection and sending a television content data packet which is coded in real time to the television content receiving terminal;
a TV content receiving terminal for making video call with the TV content sharing terminal, establishing TPC connection and UDP connection, receiving the TV content data packet sent by the TV content sharing terminal, decoding the TV content data packet, and synchronously playing the TV content with the TV content sharing terminal during video call
The television content sharing system, when executed, implements the steps of the television content sharing method as described above.
The present invention also provides a computer-readable storage medium having stored thereon a television content sharing program, which when executed by a processor implements the steps of the television content sharing method as described above.
According to the television content sharing method provided by the embodiment of the invention, the video call connection is established between the television content sharing terminal and the television content receiving terminal, so that a user can establish connection with other users who want to share television content, the television content sharing terminal collects the television content in real time at a background, encodes the collected television content to generate a television content data packet and then sends the television content data packet to the television content receiving terminal, the television content is synchronously played with the television content receiving terminal, a video call window is correspondingly reduced, and the video call window is displayed in a suspended mode. The method has the advantages that the user can share the television content in real time when the smart television is used for carrying out video call with other users remotely, so that the user can share favorite television content in time in the process of carrying out video call by using the smart television, watch the same television content together, create a good atmosphere and optimize the user use experience.
Drawings
Fig. 1 is a schematic diagram of a smart television structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of the present invention;
FIG. 3 is a schematic flow chart of a second embodiment of the present invention;
FIG. 4 is a schematic flow chart of a third embodiment of the present invention;
fig. 5 is a schematic diagram of a television content sharing system in a hardware operating environment according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the application is as follows: responding to the television content sharing request, and establishing video call connection with a television content receiving terminal;
the method comprises the steps that television content is collected at a background, the television content is coded to generate a television content data packet, and the television content data packet is sent to a television content receiving terminal;
and playing the television content, reducing a video call window, and displaying the video call window in a suspending manner.
In the prior art, with the rapid development of the smart television technology, more and more users choose to watch television programs as entertainment activities at leisure, however, when the users see very colorful segments and want to share television contents with friends in different places, the users can only share the television contents orally in a video or voice mode, the video contents cannot be remotely shared to other users who are performing video chatting in real time, and the user experience is poor.
According to the television content sharing method provided by the embodiment of the invention, the video call connection is established between the television content sharing terminal and the television content receiving terminal, so that a user can establish connection with other users who want to share television content, the television content sharing terminal collects the television content in real time at a background, encodes the collected television content to generate a television content data packet and then sends the television content data packet to the television content receiving terminal, the television content is synchronously played with the television content receiving terminal, a video call window is correspondingly reduced, and the video call window is displayed in a suspended mode. The method has the advantages that the user can share the television content in real time when the smart television is used for carrying out video call with other users remotely, so that the user can share favorite television content in time in the process of carrying out video call by using the smart television, watch the same television content together, create a good atmosphere and optimize the user use experience.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a smart television in a hardware operating environment according to an embodiment of the present application.
As shown in fig. 1, the smart tv may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. The communication bus 1002 is used for realizing connection and communication among the components. The user interface 1003 comprises a Display (Display), a camera, an audio circuit such as a microphone, and an input unit such as a Keyboard (Keyboard), and optionally, the user interface 1003 may further comprise a standard wired interface, a wireless interface, and the network interface 1004 may comprise a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the smart tv may further include RF (Radio Frequency) circuits, sensors, remote controllers, WiFi modules, detectors, and the like. Certainly, the smart television can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a temperature sensor, which are not described herein again.
Those skilled in the art will appreciate that the smart television architecture shown in fig. 1 does not constitute a limitation of the smart television, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a television content sharing program.
In the smart tv shown in fig. 1, the network interface 1004 is mainly used for accessing a network, and performing a TCP connection and a UDP connection, where the TCP connection is used for receiving and sending an operation instruction, and the UDP connection is used for receiving and sending a tv content data packet in real time; the user interface 1003 is mainly used for receiving operation instructions issued by a user, and the processor 1003 can be used for calling a television content sharing program stored in the memory 1005 and executing the following operations:
responding to the television content sharing request, and establishing video call connection with a television content receiving terminal;
the method comprises the steps that television content is collected at a background, the television content is coded to generate a television content data packet, and the television content data packet is sent to a television content receiving terminal;
and playing the television content, reducing a video call window, and displaying the video call window in a suspending manner.
Further, the processor 1001 may call the television content sharing program in the memory 1005 and perform the following operations:
the television content receiving terminal receives a friend request sent by the television content sharing terminal, sends prompt information for agreeing to the friend request to the television content sharing terminal, opens the TCP network port and establishes the TCP connection with the television content sharing terminal.
Further, the processor 1001 may call the television content sharing program in the memory 1005 and perform the following operations:
the television content receiving terminal acquires an exchange equipment information request sent by the television content sharing terminal based on a user-defined private protocol, sends equipment information to the television content sharing terminal, analyzes the equipment information sent by the television sharing terminal, and determines a television content decoder matched with the television content sharing terminal.
Further, the processor 1001 may call the television content sharing program in the memory 1005 and perform the following operations:
the television content receiving terminal opens a UDP network port, establishes UDP connection with the television content sharing terminal, sends a TCP control command for starting to share television content to the television content sharing terminal, receives the television content data packet transmitted by the television content sharing terminal in real time based on a UDP protocol, calls the television content decoder to decode the television content data packet, and acquires the television content transmitted by the television content sharing terminal.
Further, the processor 1001 may call the television content sharing program in the memory 1005 and perform the following operations:
the television content receiving terminal generates a random password, uploads the equipment information and the random password to a designated server, sets the storage time of the random password, sends notification information carrying the random password to the television content sharing terminal, and establishes TCP connection with the television content sharing terminal accessing the designated server to input the random password within the storage time of the random password.
Further, the processor 1001 may call the television content sharing program in the memory 1005 and perform the following operations:
the television content receiving terminal changes the video call window into a floating window form, transmits a TCP control instruction carrying the change of the video call window into the floating window form to the television content sharing terminal, and controls the television content sharing terminal to synchronously change the video call window.
Further, the processor 1001 may call the television content sharing program in the memory 1005 and perform the following operations:
responding to a television content sharing request, and establishing video call connection with the television content sharing terminal;
receiving a television content data packet sent by the television content sharing terminal, decoding the television content data packet transmitted by the television content sharing terminal, and acquiring decoded television content;
and playing the decoded television content, reducing a video call window, and displaying the video call window in a suspending manner.
Based on the above hardware structure of the smart television, embodiments of the television content sharing method of the present invention are provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a television content sharing method according to a first embodiment of the present invention.
In this embodiment, the method for sharing television content includes:
step S10: responding to the television content sharing request, and establishing video call connection with a television content receiving terminal;
in this embodiment, both the tv content sharing terminal and the tv content receiving terminal are smart tvs that carry a camera and a microphone and can perform video call as shown in fig. 1. The television content sharing terminal is an intelligent television for sharing television content in the television content sharing method in the embodiment; the television content receiving terminal is an intelligent television which receives the television content data packet transmitted by the television content sharing terminal in the television content sharing method in the embodiment, and synchronously plays the television content after decoding.
Specifically, after the television content sharing terminal and the television content receiving terminal are powered on and started, the television content sharing terminal and the television content receiving terminal access the network through a built-in network interface. The television content sharing terminal receives an operation instruction for playing television content sent by a user, wherein the television content refers to multimedia content such as television programs and music played on the smart television. In the process of playing the television content, the television content sharing terminal receives a television content sharing request instruction sent by a user and sends a request for establishing TCP connection to the television content receiving terminal. And after receiving the connection request, the television content receiving terminal sends prompt information whether to approve the connection establishment to the user and acquires an operation instruction which is sent by the user and approves the connection establishment. The television content receiving terminal opens a TCP port and establishes TCP connection with the television content sharing terminal, wherein the TCP connection is a reliable network connection communication mode formed on the basis of a TCP protocol, namely a communication protocol facing a wide area network, and connection facing between two communication endpoints can be realized. Specifically, in this embodiment, the TCP connection is mainly used to assist the transmission of the control command between the television content sharing terminal and the television content receiving terminal.
After the TCP connection is established between the television content sharing terminal and the television content receiving terminal, an operation instruction for establishing a video call connection request sent by a user is obtained, the video call request is sent to the television content receiving terminal, and after a video call approval request sent back by the television content receiving terminal is received, a video call is established with the television content receiving terminal to connect a video television. After the video call connection is successfully established, the television content sharing terminal and the television content receiving terminal call a camera and a microphone to acquire image and sound of both users in real time, so that both users can carry out video call through the television content sharing terminal and the television content receiving terminal.
Step S20: the method comprises the steps that television content is collected at a background, the television content is coded to generate a television content data packet, and the television content data packet is sent to a television content receiving terminal;
in this embodiment, after it is determined that the TCP connection between the tv content sharing terminal and the tv content receiving terminal is established, the device information of both sides is exchanged through a preset private protocol, where the device information includes audio decoder information and video decoder information carried in the tv content sharing terminal and the tv content receiving terminal. After receiving the audio decoder information and the video decoder information carried in the television content sharing terminal sent by the television content sharing terminal, the television content receiving terminal compares the audio decoder information and the video decoder information carried by the television content receiving terminal, screens out the audio decoder information and the video decoder information which are both supported by the television content sharing terminal, summarizes the screened audio decoder information and the video decoder information which are both supported by both sides, sends the summarized information to the television content sharing terminal for negotiation, and determines the called audio decoder and video decoder according to the negotiation result. Wherein the determined audio decoder and video decoder are both adapted to the television content sharing terminal and the television content receiving terminal.
Specifically, the television content sharing terminal sends a request for agreeing with the television content sharing to the television content receiving terminal through the TCP connection, after receiving the television content sharing request, the television content receiving terminal displays a prompt message of the television content sharing request on a display interface, receives an operation instruction of agreeing with the television content sharing request sent by a user, after obtaining the operation instruction, the television content receiving terminal opens one or more UDP ports, and the television content receiving terminal sends back the prompt message of agreeing with the television content sharing to the television content sharing terminal. After obtaining the prompt information agreeing to the television content sharing, the television content sharing terminal correspondingly opens one or more UDP ports and performs UDP connection with the television content receiving terminal, wherein the UDP connection is a network connection which is established by the television content receiving terminal and the television content sharing terminal based on a UDP protocol (user Datagram protocol) and can send encapsulated datagrams. In a specific embodiment, the television content receiving terminal opens 2 UDP ports, where the 2 UDP ports are an audio data transmission port and a video data transmission port, respectively, and the audio transmission data port is used to receive an audio data packet sent by the television content sharing terminal; the video transmission data port is used for receiving video data packets sent by the television content sharing terminal.
After establishing UDP connection with a television content receiving terminal, the television content sharing terminal receives an operation instruction for acquiring television content sent by a user, acquires audio data and video data of the television content pointed by the operation instruction in real time according to the operation instruction, compresses and encodes the acquired audio data and video data, respectively generates a compressed audio data packet and a compressed video data packet, and sends the compressed audio data packet and the compressed video data packet to a UDP port corresponding to the television content receiving terminal in real time through a UDP protocol, and after acquiring the audio data packet and the video data packet of the television content, the television content receiving terminal calls an audio decoder and a video decoder determined after negotiation with the television content sharing terminal to respectively decode the audio data packet and the data packet, and acquires the television content shared by the decoded television content sharing terminal.
Step S30: and playing the television content, reducing a video call window, and displaying the video call window in a suspending manner.
In this embodiment, after the television content receiving terminal decodes the television content data packet transmitted by the television content sharing terminal based on the UDP protocol to obtain the television content, the default player and the television content sharing terminal are invoked to synchronously play the shared television content. The default player is a player preset by a user or an intelligent television engineer, and the default player can be a system player or a third-party player.
Specifically, when the television content receiving terminal synchronously plays the shared television content, an operation instruction for reducing the video call window is sent to the television content receiving terminal and the television content sharing terminal, after the television content receiving terminal and the television content sharing terminal obtain the operation instruction for reducing the video call window, the shape of the video window is changed into a form of a small suspended window, the video window is reduced, and the video window is suspended at a specified corner of the television content receiving terminal and the television content sharing terminal in a picture-in-picture manner. Optionally, in a specific embodiment, the video call window is suspended in a form of a floating window at a lower right corner of the television content receiving terminal and the television content sharing terminal.
Optionally, the video call window may also be arranged in a floating manner at the top left corner/bottom left corner/top right corner or other positions of the television content receiving terminal and the television content sharing terminal, specifically so as not to affect the user to watch the shared television content.
Optionally, the video call window may also be displayed in a split-screen manner and the shared television content in the display screens of the television content receiving terminal and the television content sharing terminal, respectively. In a specific embodiment, the display screens of the television content receiving terminal and the television content sharing terminal are divided into two modules, the left side displays the real-time shared television content, and the right side displays the video call window.
Optionally, the positions of the television content playing interface and the video call window may be changed arbitrarily according to actual requirements.
Optionally, when the user of the television content sharing terminal needs to quit television content sharing, receiving an operation instruction sent by the user to stop sharing television content, sending a TCP control command to stop sharing television content to the television content receiving terminal through TCP connection, and after receiving a prompt message of the received TCP control command sent back by the television content receiving terminal, closing a TCP network port and a UDP network port used for television content sharing.
Optionally, when the user of the television content receiving terminal needs to quit the television content sharing, receiving an operation instruction sent by the user to stop sharing the television content, sending a TCP control command to stop sharing the television content to the television content sharing terminal through the TCP connection, and after receiving prompt information of the received TCP control command sent back by the television content sharing terminal, closing a TCP network port and a UDP network port used for performing the television content sharing.
In this embodiment, a video call is performed between the television content sharing terminal and the television content receiving terminal, a TCP connection is established to transmit a control command, one or more UDP connections are established to transmit a television content data packet, after the TCP connection and the UDP connection are established, the television content sharing terminal shares television content to the television content receiving terminal in real time, after the television content receiving terminal decodes the received television content data packet, the television content data packet is decoded and the obtained television content is played, the position of a video call interface is adjusted correspondingly, so that a user can watch the television content synchronized in real time while using a smart television to perform a video call, and the viewing experience of the user is improved.
Further, referring to fig. 3, a second embodiment of the tv content sharing method of the present application is proposed.
The difference between the second embodiment of the television content sharing method and the first embodiment of the television content sharing method is that the TCP connection is established by adding a friend, which includes:
step S01: the method comprises the steps that a television content receiving terminal receives a friend request sent by a television content sharing terminal and sends prompt information for agreeing to the friend request to the television content sharing terminal;
step S02: and the television content receiving terminal opens a TCP network port and establishes TCP connection with the television content sharing terminal.
In this embodiment, after receiving a television content sharing request sent by a user, the television content sharing terminal traverses the buddy list and searches for a television content receiving terminal in the buddy list. If the friend list does not have the television content receiving terminal pointed by the television content sharing request, the television content sharing terminal generates prompt information of not acquiring an activation ID (equipment name) or an MAC (media access control address) in the television content receiving terminal in a display screen, receives the television content receiving terminal activation ID or the MAC address input by a user in an input field, searches the television content receiving terminal according to the acquired television content receiving terminal activation ID or the MAC address, sends the friend request to the appointed television content receiving terminal, and adds the television content receiving terminal to a preset contact list after receiving a friend approval request transmitted by the television content receiving terminal.
The television content sharing terminal searches a television content receiving terminal in the contact list, opens a TCP network port, sends a request for establishing television content sharing connection, acquires prompt information which is transmitted by the television content receiving terminal and agrees to establish television content connection, and establishes TCP connection with the television content sharing terminal.
After the TCP connection is established between the television content sharing terminal and the television content receiving terminal, the video call is correspondingly connected, and a camera and a microphone in a user interface are called to collect image and sound of a user in real time.
Optionally, in another specific embodiment, the television content receiving terminal may also search for the television content sharing terminal by obtaining the activation ID or the MAC address of the television content sharing terminal, add the television content sharing terminal as a friend, and add the friend to the contact list.
In this embodiment, the television content sharing terminal and the television content receiving terminal acquire an activation ID or an MAC address of the television content sharing terminal/receiving terminal that wants to establish television content sharing, add the television content sharing terminal/receiving terminal determined by the activation ID or the MAC address as a friend, and add the friend to the contact list. The user can quickly find the television content sharing terminal/receiving terminal needing television content sharing in the contact list, and the TCP connection is established with the television content sharing terminal/receiving terminal to carry out video call, so that the time waste caused by repeatedly searching the television content sharing terminal/receiving terminal is avoided, the menu logic of the TCP connection is optimized, and the user experience is improved.
Further, referring to fig. 4, a third embodiment of the tv content sharing method of the present application is proposed.
The third embodiment of the television content sharing method differs from the above-described embodiments in that the connection is made by setting a temporary password:
step S03: the television content receiving terminal generates a random password, uploads the equipment information and the random password to a designated server, and sets the storage time of the random password;
step S04: and the television content receiving terminal sends the notification information carrying the random password to the television content sharing terminal, and establishes TCP connection with the television content sharing terminal accessing the appointed server to input the random password within the storage time of the random password.
In this embodiment, the television content sharing terminal and the television content receiving terminal can also establish connection in a mode of a temporary password.
Specifically, the television content receiving terminal generates a random password through a random algorithm, optionally, the number of bits of the random password may be preset by a user, and in a specific embodiment, the random password is six bits. After the random password is generated, the television content receiving terminal uploads the equipment information to a designated server for encryption storage, and the random password is used as a key for protection. The device information refers to relevant information that the television content sharing terminal can be guided to find the television content receiving terminal by the IP address, the port number and the like of the television content receiving terminal. Optionally, after the server records the device information of the television content receiving terminal, the device information storage validity period is set, the television content sharing terminal that needs to perform television content sharing accesses the server within the device information storage validity period, and the device information of the television content receiving terminal can be obtained by correctly inputting the random password. And if the correct random password is not input in the device information storage period by the television content sharing terminal, the server automatically deletes the stored device information. Optionally, the device information storage period may be set by a user, and in a specific embodiment, the device information storage period set by the user is 10 minutes.
Specifically, after the television content receiving terminal uploads the device information to the server, prompt information of the uploaded device information to a specified server is correspondingly displayed on the display screen. After obtaining the prompt information, the user sends the random password to the television content sharing terminal through the instant messaging tool, after obtaining the random password, the television content sharing terminal accesses the server within the storage validity period of the equipment information, obtains the equipment information of the television content receiving terminal, and after obtaining the equipment information of the television content receiving terminal, opens the TCP network port and carries out TCP connection with the television content receiving terminal.
In another embodiment, the random password may also be generated by the tv content sharing terminal, and store the device information of the tv content sharing terminal in the designated server, and the tv content receiving terminal accesses the designated server within the device information storage period after obtaining the password, obtains the device information of the tv content sharing terminal, and establishes a TCP connection with the tv content sharing terminal according to the device information.
In this embodiment, the television content receiving terminal/sharing terminal uploads the device information to the designated server by setting the temporary password, and the television content receiving terminal/sharing terminal accesses the server, inputs the temporary password within the device information storage period to obtain the device information, and performs connection according to the device information. The accuracy of the television content sharing connection is ensured, and the reliability of the television content sharing connection is improved.
Further, referring to fig. 5, a functional module diagram of an embodiment of the tv content sharing system of the present application is shown.
Based on the television content sharing method in the above embodiment of the present invention, this embodiment further provides a television content sharing system, and in this embodiment, the television content sharing system includes a television content sharing terminal 10 and a television content receiving terminal 20.
Optionally, the television content sharing terminal 10 is configured to perform a video call with the television content receiving terminal 20, establish a TCP connection and a UDP connection, and send a television content data packet after real-time encoding to the television content receiving terminal 20;
optionally, the tv content receiving terminal 20 is configured to perform a video call with the tv content sharing terminal 10, establish a TPC connection and a UDP connection, receive the tv content data packet sent by the tv content sharing terminal 10, decode the tv content data packet, and synchronously play the tv content with the tv content sharing terminal 10 during the video call
The television content sharing system in this embodiment implements any one of the steps of the television content sharing method in the embodiments of the television content sharing method described above when executed.
Further optionally, in order to achieve the above object, the present invention further provides a readable storage medium, where a television content sharing program is stored on the readable storage medium provided in this embodiment, and the stored television content sharing program can be read, interpreted, and executed by a processor, so as to implement any step of the television content sharing method in any one of the above television content sharing method embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or the portions contributing to the prior art may be essentially embodied in the form of a software product, which is stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for enabling a terminal device (e.g. mobile phone, computer, etc.) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for sharing television content, the method comprising:
responding to the television content sharing request, and establishing video call connection with a television content receiving terminal;
the method comprises the steps that television content is collected at a background, the television content is coded to generate a television content data packet, and the television content data packet is sent to a television content receiving terminal;
and playing the television content, reducing a video call window, and displaying the video call window in a suspending manner.
2. The television content sharing method according to claim 1, wherein before the step of establishing a video call connection with the television content receiving terminal in response to the television content sharing request, further comprising:
the television content receiving terminal receives a friend request sent by a television content sharing terminal and sends prompt information agreeing to the friend request to the television content sharing terminal;
and opening the TCP network port, and establishing the TCP connection with the television content sharing terminal.
3. The method for sharing tv content according to claim 2, wherein, before the step of collecting tv content in the background, encoding the tv content to generate tv content data packets, and sending the tv content data packets to the tv content receiving terminal, the method further comprises:
the television content receiving terminal acquires an exchange equipment information request sent by the television content sharing terminal based on a user-defined private protocol, sends equipment information to the television content sharing terminal, analyzes the equipment information sent by the television sharing terminal, and determines a television content decoder matched with the television content sharing terminal.
4. The method for sharing television content according to claim 3, wherein the background acquiring television content, encoding the television content to generate a television content data packet, and transmitting the television content data packet to the television content receiving terminal comprises:
the television content receiving terminal opens a UDP network port, establishes UDP connection with the television content sharing terminal, sends a TCP control command for starting to share television content to the television content sharing terminal, receives the television content data packet transmitted by the television content sharing terminal in real time based on a UDP protocol, calls the television content decoder to decode the television content data packet, and acquires the television content transmitted by the television content sharing terminal.
5. The television content sharing method according to claim 1, wherein the step of establishing a video call connection with the television content receiving terminal in response to the television content sharing request, is preceded by:
the television content receiving terminal generates a random password, uploads the equipment information and the random password to a designated server, and sets the storage time of the random password;
and sending the notification information carrying the random password to the television content sharing terminal, and establishing TCP connection with the television content sharing terminal accessing the appointed server to input the random password within the random password storage time.
6. The method for sharing television content according to claim 1, wherein the steps of playing the television content, reducing a video call window, and displaying the video call window in a floating manner comprise:
the television content receiving terminal changes the video call window into a floating window form, transmits a TCP control instruction carrying the change of the video call window into the floating window form to the television content sharing terminal, and controls the television content sharing terminal to synchronously change the video call window.
7. A method for sharing television content, the method comprising:
responding to a television content sharing request, and establishing video call connection with the television content sharing terminal;
receiving a television content data packet sent by the television content sharing terminal, decoding the television content data packet transmitted by the television content sharing terminal, and acquiring decoded television content;
and playing the decoded television content, reducing a video call window, and displaying the video call window in a suspending manner.
8. An intelligent television, characterized in that the intelligent television comprises a memory, a processor and a television content sharing program stored on the memory and operable on the processor, and the processor implements the steps of the television content sharing method according to any one of claims 1 to 7 when executing the television content sharing program.
9. A television content sharing system, the television content sharing system comprising:
the television content sharing terminal is used for carrying out video call with the television content receiving terminal, establishing TCP connection and UDP connection and sending a television content data packet which is coded in real time to the television content receiving terminal;
the television content receiving terminal is used for carrying out video call with the television content sharing terminal, establishing TPC connection and UDP connection, receiving the television content data packet sent by the television content sharing terminal, decoding the television content data packet, and synchronously playing the television content with the television content sharing terminal during video call;
the television content sharing system when executed performs the steps of the television content sharing method of any of claims 1-7.
10. A computer-readable storage medium, having a television content sharing program stored thereon, which when executed by a processor implements the steps of the television content sharing method of any one of claims 1 to 7.
CN202011351493.5A 2020-11-26 2020-11-26 Television content sharing method, smart television, system and readable storage medium Pending CN112492363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011351493.5A CN112492363A (en) 2020-11-26 2020-11-26 Television content sharing method, smart television, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011351493.5A CN112492363A (en) 2020-11-26 2020-11-26 Television content sharing method, smart television, system and readable storage medium

Publications (1)

Publication Number Publication Date
CN112492363A true CN112492363A (en) 2021-03-12

Family

ID=74935554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011351493.5A Pending CN112492363A (en) 2020-11-26 2020-11-26 Television content sharing method, smart television, system and readable storage medium

Country Status (1)

Country Link
CN (1) CN112492363A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489937A (en) * 2021-07-02 2021-10-08 北京字跳网络技术有限公司 Video sharing method, device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101583009A (en) * 2009-06-18 2009-11-18 中兴通讯股份有限公司 Video terminal and method thereof for realizing interface content sharing
CN103686396A (en) * 2013-11-19 2014-03-26 乐视致新电子科技(天津)有限公司 Video sharing method and device
CN104168178A (en) * 2014-07-17 2014-11-26 小米科技有限责任公司 Method, apparatus and system of real-time communication during television broadcasting
CN105872835A (en) * 2015-12-18 2016-08-17 乐视致新电子科技(天津)有限公司 Method and device for achieving synchronous film watching at different places, and intelligent device
CN108933965A (en) * 2017-05-26 2018-12-04 腾讯科技(深圳)有限公司 screen content sharing method, device and storage medium
CN109495711A (en) * 2018-12-29 2019-03-19 南京维沃软件技术有限公司 Video calling processing method sends terminal, receives terminal and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101583009A (en) * 2009-06-18 2009-11-18 中兴通讯股份有限公司 Video terminal and method thereof for realizing interface content sharing
CN103686396A (en) * 2013-11-19 2014-03-26 乐视致新电子科技(天津)有限公司 Video sharing method and device
CN104168178A (en) * 2014-07-17 2014-11-26 小米科技有限责任公司 Method, apparatus and system of real-time communication during television broadcasting
CN105872835A (en) * 2015-12-18 2016-08-17 乐视致新电子科技(天津)有限公司 Method and device for achieving synchronous film watching at different places, and intelligent device
CN108933965A (en) * 2017-05-26 2018-12-04 腾讯科技(深圳)有限公司 screen content sharing method, device and storage medium
CN109495711A (en) * 2018-12-29 2019-03-19 南京维沃软件技术有限公司 Video calling processing method sends terminal, receives terminal and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489937A (en) * 2021-07-02 2021-10-08 北京字跳网络技术有限公司 Video sharing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
KR101593257B1 (en) Communication system and method
US8413199B2 (en) Communication system and method
EP2335411B1 (en) Communication system and method
US8473994B2 (en) Communication system and method
EP2335409B1 (en) Communication system and method
US8489691B2 (en) Communication system and method
KR101982243B1 (en) User terminal apparatus, electronic device and control method thereof
EP2995089B1 (en) Unpaired devices
JP2005528018A (en) Mobile multimedia terminal and home gateway remote control method using such terminal
CN112004146A (en) Audio playing method and system, television and storage medium
JP4533020B2 (en) Multimedia content providing system, home content server, and viewing device
CN112492363A (en) Television content sharing method, smart television, system and readable storage medium
KR100584396B1 (en) Method for multi-tasking in the mobile terminal
KR100806354B1 (en) Data processing system and method using of a mobile phone
JP5170278B2 (en) Display control device, display control method, program, and display control system
JP2008262277A (en) Information sharing system and method, and mobile information terminal
CN113810331A (en) Terminal control method, system, control device and storage medium

Legal Events

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

Application publication date: 20210312

RJ01 Rejection of invention patent application after publication