CN115883889A - Live video sharing method and device based on IPTV terminal - Google Patents

Live video sharing method and device based on IPTV terminal Download PDF

Info

Publication number
CN115883889A
CN115883889A CN202211582855.0A CN202211582855A CN115883889A CN 115883889 A CN115883889 A CN 115883889A CN 202211582855 A CN202211582855 A CN 202211582855A CN 115883889 A CN115883889 A CN 115883889A
Authority
CN
China
Prior art keywords
video sharing
live
module
client
iptv
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
CN202211582855.0A
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 Dingdian Communication Technology Co ltd
Original Assignee
Shenzhen Dingdian Communication Technology 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 Dingdian Communication Technology Co ltd filed Critical Shenzhen Dingdian Communication Technology Co ltd
Priority to CN202211582855.0A priority Critical patent/CN115883889A/en
Publication of CN115883889A publication Critical patent/CN115883889A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a live video sharing method and device based on an IPTV terminal, which are applied to the IPTV terminal and comprise the following steps: after login authentication is successful, the video sharing service module sends live video sharing service information to the client, so that the client is connected with the IPTV terminal; the video sharing service module receives channel list request information sent by a client, sends the channel list request information to a server through an IPTV (Internet protocol television) application module, receives a channel list sent by the server and sends the channel list to the client; the video sharing service module receives channel live stream request information sent by a client, the IPTV application module sends the channel live stream request information to a server, and pulls a live stream sent by the server to process the live stream; and the IPTV application module re-encapsulates the processed live stream and then sends the encapsulated live stream to the client through the video sharing service module, and the client plays the encapsulated live stream.

Description

Live video sharing method and device based on IPTV terminal
Technical Field
The invention relates to the technical field of video transmission processing, in particular to a live video sharing method and device based on an IPTV terminal.
Background
The IPTV (Internet Protocol Television) front end transmits a conventional broadcast channel to a consumer over an IP network, replacing terrestrial broadcasting, CATV (Community Antenna Television system), and satellite services. The front end of the IPTV is accessed to a live broadcast source provided by a broadcast television network or an Internet television license plate, the live broadcast source is transmitted through a special IP network, and finally the live broadcast source is received and played by IPTV terminals such as an intelligent set top box.
A set of EPG and streaming media specifications is set in the IPTV industry: through an Electronic Program Guide (EPG) page and an extended JS interface, the play control of security authentication, EPG page presentation, channel acquisition and presentation, audio track selection, subtitle selection, pause, time shifting, review and the like is realized; the efficient, safe and reliable transmission of the stream is ensured by a plurality of Streaming media network encapsulation protocols such as IGMP (Internet Group Management Protocol), RTP (Real-Time Transport Protocol), RTSP (Real-Time Streaming Protocol), HLS (HTTP Live Streaming Protocol), etc., and proprietary QoS (Quality of Service) protocols such as FCC (Fast Channel Change), FEC (Forward Error Correction), ARQ (Automatic Repeat reQuest), etc. The set of specifications brings rich and various broadcast control experiences and clear and smooth live broadcast experiences to users.
The IPTV terminal can normally run the IPTV service only by interacting with the IPTV server through the customized browser and the streaming media module. The common client does not meet related specifications of EPG and streaming media in the IPTV industry in technology, cannot pass authentication and safety control, and cannot normally operate IPTV service.
Under the condition of not increasing IPTV terminals and televisions, a single IPTV terminal can only watch a single live program at the same time, and the requirement that a plurality of family members watch different live programs cannot be met.
Disclosure of Invention
In view of this, the present invention aims to provide a live video sharing method and apparatus based on an IPTV terminal, which allow the IPTV terminal to share live video with a client outside an IPTV system through a video sharing service module, thereby greatly enriching an IPTV live video experience scene; the method and the system can enable a plurality of family members to watch favorite live programs by using the clients such as mobile phones and the like, thereby improving the user experience.
In a first aspect, an embodiment of the present invention provides a live video sharing method based on an IPTV terminal, which is applied to the IPTV terminal, where the IPTV terminal includes a video sharing service module and an IPTV application module, and the method includes:
after login authentication is successful, the video sharing service module sends live video sharing service information to a client so that the client establishes connection with the IPTV terminal according to the live video sharing service information, wherein the live video sharing service information comprises an IP address and a service port of the IPTV terminal;
the video sharing service module receives channel list request information sent by the client, and the IPTV application module sends the channel list request information to a server so that the server can obtain a channel list according to the channel list request information;
the IPTV application module receives the channel list sent by the server and sends the channel list to the client through the video sharing service module;
the video sharing service module receives channel live stream request information sent by the client, and the IPTV application module sends the channel live stream request information to the server so that the server obtains a live stream according to the channel live stream request information;
the IPTV application module pulls the live stream sent by the server side, and processes the live stream to obtain a processed live stream;
and the IPTV application module re-encapsulates the processed live stream to obtain an encapsulated live stream, and sends the encapsulated live stream to the client through the video sharing service module so that the client plays the encapsulated live stream.
Further, the video sharing service module includes a service discovery module, and the video sharing service module sends live video sharing service information to a client, so that the client establishes a connection with the IPTV terminal according to the live video sharing service information, including:
the service discovery module sends the live video sharing service information to the client through an mDNS protocol or a UPnP protocol, so that the client searches the IP address and the service port of the IPTV terminal in a local area network shared by IPTV live broadcast according to the mDNS protocol or the UPnP protocol, and establishes connection with the IPTV terminal according to the IP address and the service port.
Further, the video sharing service module further includes an agent module, the IPTV application module includes a service management module, the video sharing service module receives channel list request information sent by the client, and sends the channel list request information to the server through the IPTV application module, so that the server obtains a channel list according to the channel list request information, including:
the proxy module receives the channel list request information sent by the client, and sends the channel list request information to a service management server of the server through the service management module, so that the service management server of the server obtains the channel list according to the channel list request information.
Further, the receiving, by the IPTV application module, the channel list sent by the server, and sending the channel list to the client through the video sharing service module includes:
and the service management module receives the channel list sent by the service management server of the server side and sends the channel list to the client side through the proxy module.
Further, the method further comprises:
and when the proxy module sends the channel list request information to the service management module again, acquiring the channel list from the cache of the service management module, and sending the channel list to the client through the proxy module.
Further, the IPTV application module further includes a streaming media processing module and a streaming pushing module, where the video sharing service module receives channel live streaming request information sent by the client, and sends the channel live streaming request information to the server through the IPTV application module, so that the server obtains a live stream according to the channel live streaming request information, including:
and the proxy module receives the channel live stream request information sent by the client, and sends the channel live stream request information to the server through the stream pushing module and the stream media processing module in sequence, so that a stream media server of the server obtains the live stream according to the channel live stream request information.
Further, the IPTV application module pulls the live stream sent by the server, processes the live stream to obtain a processed live stream, including:
and the streaming media processing module pulls the live streaming sent by the streaming media server of the server, and the processed live streaming is obtained after the live streaming is subjected to ARQ (automatic repeat request), FEC (forward error correction) or FCC (fluid catalytic cracking).
In a second aspect, an embodiment of the present invention provides a live video sharing device based on an IPTV terminal, which is applied to the IPTV terminal, where the IPTV terminal includes a video sharing service module and an IPTV application module, and the device includes:
the video sharing service module is used for sending live video sharing service information to a client side after login authentication is successful so that the client side can be connected with the IPTV terminal according to the live video sharing service information, and the live video sharing service information comprises an IP address and a service port of the IPTV terminal;
a channel list request information receiving unit, configured to receive, by the video sharing service module, channel list request information sent by the client, and send, by the IPTV application module, the channel list request information to a server, so that the server obtains a channel list according to the channel list request information;
a channel list receiving unit, configured to receive, by the IPTV application module, the channel list sent by the server, and send the channel list to the client through the video sharing service module;
a channel live streaming request information receiving unit, configured to receive, by the video sharing service module, channel live streaming request information sent by the client, and send, by the IPTV application module, the channel live streaming request information to the server, so that the server obtains a live streaming according to the channel live streaming request information;
a live stream receiving unit, configured to pull the live stream sent by the server through the IPTV application module, and process the live stream to obtain a processed live stream;
and the packaging unit is used for repackaging the processed live stream by the IPTV application module to obtain a packaged live stream, and sending the packaged live stream to the client through the video sharing service module so that the client plays the packaged live stream.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the method described above when executing the computer program.
In a fourth aspect, embodiments of the invention provide a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the method as described above.
The embodiment of the invention provides a live video sharing method and a live video sharing device based on an IPTV terminal, which are applied to the IPTV terminal, wherein the IPTV terminal comprises a video sharing service module and an IPTV application module, and the method comprises the following steps: after login authentication is successful, the video sharing service module sends live video sharing service information to the client so that the client establishes connection with the IPTV terminal according to the live video sharing service information, and the live video sharing service information comprises an IP address and a service port of the IPTV terminal; the video sharing service module receives channel list request information sent by a client, and sends the channel list request information to a server through an IPTV (Internet protocol television) application module so that the server can obtain a channel list according to the channel list request information; the IPTV application module receives a channel list sent by the server and sends the channel list to the client through the video sharing service module; the video sharing service module receives channel live stream request information sent by a client, and sends the channel live stream request information to a server through an IPTV (Internet protocol television) application module so that the server obtains a live stream according to the channel live stream request information; the IPTV application module pulls a live stream sent by the server, processes the live stream and obtains a processed live stream; the IPTV application module re-encapsulates the processed live stream to obtain an encapsulated live stream, and sends the encapsulated live stream to the client through the video sharing service module so that the client plays the encapsulated live stream; through the video sharing service module, the IPTV terminal and a client outside an IPTV system are allowed to share the live video, so that the experience scene of the IPTV live video is greatly enriched; the method and the system can enable a plurality of family members to watch favorite live programs by using the clients such as mobile phones and the like, thereby improving the user experience.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic view of an application scenario of a live video sharing method based on an IPTV terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a live video sharing method based on an IPTV terminal according to a second embodiment of the present invention;
fig. 3 is a schematic view of another live video sharing method based on an IPTV terminal according to a second embodiment of the present invention;
fig. 4 is a schematic configuration diagram of an IPTV terminal according to a second embodiment of the present invention;
fig. 5 is a schematic view of a live video sharing device based on an IPTV terminal according to a third embodiment of the present invention.
Icon:
1-a live video sharing service information sending unit; 2-a channel list request information receiving unit; 3-a channel list receiving unit; 4-channel live stream request information receiving unit; 5-a live stream receiving unit; 6-packaging the unit.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the understanding of the present embodiment, the following detailed description will be given of the embodiments of the present invention.
The first embodiment is as follows:
fig. 1 is a schematic view of an application scenario of a live video sharing method based on an IPTV terminal according to an embodiment of the present invention.
Referring to fig. 1, a server is applied in a public network, and an IPTV terminal and a client are applied in a local network. The server side comprises an authentication server, a service management server and a streaming media server.
The IPTV terminal is a device which is issued to a user by an IPTV service operator, and after the IPTV service is opened, the IPTV terminal can access a service terminal to acquire services such as IPTV live broadcast and the like.
The service end is a group of servers maintained and managed by an IPTV service operator, and provides services such as authentication, service management, streaming media push and the like for the IPTV terminal.
The client is a terminal device such as a mobile phone, a tablet Computer, a notebook Computer, and a PC (Personal Computer) of the user. The devices are located in a local area network with the IPTV terminal device.
The second embodiment:
fig. 2 is a flowchart of a live video sharing method based on an IPTV terminal according to a second embodiment of the present invention.
Referring to fig. 2, the IPTV terminal includes a video sharing service module and an IPTV application module, and the method includes the following steps:
step S101, after login authentication is successful, a video sharing service module sends live video sharing service information to a client so that the client establishes connection with an IPTV terminal according to the live video sharing service information, wherein the live video sharing service information comprises an IP address and a service port of the IPTV terminal;
here, the authentication procedure of the IPTV terminal includes: the IPTV terminal carries the service account number, the password and the terminal serial number information to initiate an authentication request to an authentication server of the server side, and the authentication server returns an authentication result after passing the verification. After the IPTV terminal is successfully authenticated, the IPTV terminal requests a live channel list to the server and caches the live channel list in the service management module, and the subsequent agent module can directly return the cached channel list when requesting the channel list.
Step S102, a video sharing service module receives channel list request information sent by a client, and the channel list request information is sent to a server through an IPTV application module, so that the server obtains a channel list according to the channel list request information;
step S103, the IPTV application module receives a channel list sent by the server and sends the channel list to the client through the video sharing service module;
step S104, the video sharing service module receives channel live stream request information sent by the client, and the channel live stream request information is sent to the server through the IPTV application module, so that the server obtains a live stream according to the channel live stream request information;
step S105, the IPTV application module pulls the live stream sent by the server side, and processes the live stream to obtain a processed live stream;
and step S106, the IPTV application module re-encapsulates the processed live stream to obtain an encapsulated live stream, and the video sharing service module sends the encapsulated live stream to the client so that the client plays the encapsulated live stream.
Here, the application utilizes the original live broadcast service of the IPTV terminal, first queries the network encapsulation format supported by the client player, and then re-encapsulates the live broadcast streams in different encapsulation formats received by the IPTV terminal into the encapsulation format supported by the client, so that the application is compatible with various different client devices, and greatly simplifies the software adaptation work of various types of client devices. The ordinary client device also indirectly supports various modified or expanded network encapsulation protocols of IPTV industries such as RTSP/RTMP (Real Time Messaging Protocol)/HTTP (Hypertext Transfer Protocol)/IGMP/HLS and the like through the IPTV terminal agent, and can be compatible with various IPTV streaming media servers.
Further, referring to fig. 3, the video sharing service module includes a service discovery module, and step S101 includes:
the service discovery module sends live broadcast video sharing service information to the client through an mDNS (Multicast DNS) protocol or a UPnP (Universal Plug and Play) protocol, so that the client searches an IP address and a service port of the IPTV terminal in a local area network shared by IPTV live broadcast according to the mDNS protocol or the UPnP protocol and establishes connection with the IPTV terminal according to the IP address and the service port.
Specifically, after the IPTV terminal successfully authenticates and acquires a channel list, a live video sharing service module is started, a service publishing module publishes the service to other terminal devices in a local area network through protocols such as mDNS/UPnP, a client of IPTV live sharing in the local area network searches an IP address and a port number of the IPTV live sharing service in the local area network in which the IPTV live sharing is started through a service detection method of the protocols such as mDNS/UPnP, and after the client finds the IP address and a service port of the IPTV live sharing service, the client of the IPTV live sharing service is connected to an agent module of the IPTV live sharing service through the IP address and the service port, and requests the channel list and the live stream from the agent module.
According to the method and the device, the live video sharing service is released and found in the local area network through protocols such as mDNS/UPnP, and the live video sharing service can be rapidly experienced without manually configuring IPTV terminal information by a user.
Further, the video sharing service module further includes an agent module, the IPTV application module includes a service management module, and step S102 includes:
the proxy module receives the channel list request information sent by the client, and sends the channel list request information to the service management server of the server through the service management module, so that the service management server of the server obtains the channel list according to the channel list request information.
Further, step S103 includes:
and the service management module receives a channel list sent by a service management server of the server side and sends the channel list to the client side through the proxy module.
Further, the method comprises the following steps:
step S201, when the proxy module sends the channel list request information to the service management module again, obtaining the channel list from the cache of the service management module, and sending the channel list to the client through the proxy module.
Here, the client may send the channel list request information to the proxy module through HTTP or HTTPs, and after receiving the channel list request information, the proxy module forwards the channel list cached by the service management module to the client and displays the channel list to the client interface.
Further, the IPTV application module further includes a streaming media processing module and a stream pushing module, and step S104 includes:
the proxy module receives channel live stream request information sent by the client, and sends the channel live stream request information to the server through the stream pushing module and the stream media processing module in sequence, so that a stream media server of the server obtains a live stream according to the channel live stream request information.
After a user selects a certain live broadcast channel in a channel list of a client, the client requests a proxy module of an IPTV terminal for the live broadcast stream through HTTP or HTTPS, and after receiving the request information of the channel live broadcast stream, the proxy module notifies a streaming media processing module of the IPTV application module to pull the live broadcast streams such as RTSP/RTMP/HTTP/IGMP (live broadcast stream in multicast mode)/HLS from a streaming media server of a server.
Further, step S105 includes:
the streaming media processing module pulls the live streaming sent by the streaming media server of the server, and the live streaming is subjected to ARQ (automatic repeat request), FEC (forward error correction) or FCC (fluid catalytic cracking) processing to obtain the processed live streaming.
Specifically, when the RTSP live stream is pulled, the streaming media processing module performs ARQ automatic retransmission request processing, actively informs the streaming media server of which network packets are lost, and the streaming media server reissues the lost packets, thereby avoiding video blocking and screen splash caused by lost packets.
When the IGMP multicast stream is pulled, the streaming media processing module performs FEC forward error correction or/and FCC fast station switching: when the multicast packet is pushed by the multicast streaming media server, a redundant error correction packet generated by encoding the multicast packet is pushed at the same time, the streaming media processing module receives the multicast network packet, and if the packet is lost, the lost network packet is recovered by decoding the error correction packet through a forward error correction algorithm, so that video card pause and screen splash caused by the packet loss are avoided; when the broadcasting is started, the streaming media processing module and the FCC server interactively acquire a unicast stream of a section of first frame, namely an I frame, and then the unicast stream is transited to a multicast stream, so that the bandwidth of the server is saved while the channel is quickly switched.
According to the method and the device, through the IPTV terminal proxy, common client equipment can also indirectly support protocols such as ARQ/FEC/FCC, the characteristics of packet loss retransmission, automatic error correction and rapid multicast switching in a weak network environment are indirectly obtained, and the playing fluency and the playing starting speed of the client are improved. Meanwhile, the application demonstrates complete functions at the customer of the IPTV service operator, and the operation is good.
Fig. 4 is a schematic configuration diagram of an IPTV terminal according to a second embodiment of the present invention.
Referring to fig. 4, according to the application, a video sharing service module is added to an application layer of an IPTV terminal, and the video sharing service module includes a service publishing module and an agent module; and add a plug-flow module in the IPTV application module. The client side interacts with the server side through the IPTV terminal agent module. On the basis of the existing IPTV technical framework, the IPTV system limit is broken through by adding the video sharing service module and the stream pushing module, the IPTV terminal and a client outside the IPTV system are allowed to share live videos, and the experience scene of the IPTV live videos is greatly enriched. According to the method and the system, the requirement that family members use the client to watch live programs at any time and any place can be met through the video sharing service without adding an IPTV terminal and a television by the user.
Example three:
fig. 5 is a schematic view of a live video sharing device based on an IPTV terminal according to a third embodiment of the present invention.
Referring to fig. 5, the IPTV terminal includes a video sharing service module and an IPTV application module, and includes:
the system comprises a live video sharing service information sending unit 1, a video sharing service module and an IPTV terminal, wherein the live video sharing service information sending unit is used for sending live video sharing service information to a client side after login authentication is successful so that the client side can be connected with the IPTV terminal according to the live video sharing service information, and the live video sharing service information comprises an IP address and a service port of the IPTV terminal;
the channel list request information receiving unit 2 is used for the video sharing service module to receive the channel list request information sent by the client, and the channel list request information is sent to the server through the IPTV application module, so that the server obtains a channel list according to the channel list request information;
the channel list receiving unit 3 is used for receiving a channel list sent by the server through the IPTV application module and sending the channel list to the client through the video sharing service module;
the channel live stream request information receiving unit 4 is used for the video sharing service module to receive the channel live stream request information sent by the client, and the IPTV application module sends the channel live stream request information to the server, so that the server obtains a live stream according to the channel live stream request information;
the live stream receiving unit 5 is used for the IPTV application module to pull the live stream sent by the server, and process the live stream to obtain a processed live stream;
and the packaging unit 6 is used for the IPTV application module to repackage the processed live stream to obtain a packaged live stream, and sending the packaged live stream to the client through the video sharing service module so that the client plays the packaged live stream.
The embodiment of the invention provides a live video sharing method and a live video sharing device based on an IPTV terminal, which are applied to the IPTV terminal, wherein the IPTV terminal comprises a video sharing service module and an IPTV application module, and the method comprises the following steps: after login authentication is successful, the video sharing service module sends live video sharing service information to the client so that the client establishes connection with the IPTV terminal according to the live video sharing service information, and the live video sharing service information comprises an IP address and a service port of the IPTV terminal; the video sharing service module receives channel list request information sent by a client, and sends the channel list request information to a server through an IPTV (Internet protocol television) application module so that the server can obtain a channel list according to the channel list request information; the IPTV application module receives a channel list sent by a server and sends the channel list to a client through a video sharing service module; the video sharing service module receives channel live stream request information sent by a client, and sends the channel live stream request information to a server through an IPTV (Internet protocol television) application module so that the server obtains a live stream according to the channel live stream request information; the IPTV application module pulls a live stream sent by the server side, and processes the live stream to obtain a processed live stream; the IPTV application module re-encapsulates the processed live stream to obtain an encapsulated live stream, and sends the encapsulated live stream to the client through the video sharing service module so that the client plays the encapsulated live stream; through the video sharing service module, the IPTV terminal and a client outside an IPTV system are allowed to share the live video, so that the experience scene of the IPTV live video is greatly enriched; the method and the system can enable a plurality of family members to watch favorite live programs by using the clients such as mobile phones and the like, thereby improving the user experience.
The embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program that is stored in the memory and can run on the processor, and when the processor executes the computer program, the steps of the live video sharing method based on the IPTV terminal provided in the above embodiment are implemented.
The embodiment of the invention also provides a computer readable medium with a nonvolatile program code executable by a processor, wherein the computer readable medium stores a computer program, and the computer program is executed by the processor to execute the steps of the live video sharing method based on the IPTV terminal.
The computer program product provided in the embodiment of the present invention includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, which is not described herein again.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the system and the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in a specific case to those of ordinary skill in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: those skilled in the art can still make modifications or changes to the embodiments described in the foregoing embodiments, or make equivalent substitutions for some features, within the scope of the disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A live video sharing method based on an IPTV terminal is characterized in that the method is applied to the IPTV terminal, the IPTV terminal comprises a video sharing service module and an IPTV application module, and the method comprises the following steps:
after login authentication is successful, the video sharing service module sends live video sharing service information to a client so that the client establishes connection with the IPTV terminal according to the live video sharing service information, wherein the live video sharing service information comprises an IP address and a service port of the IPTV terminal;
the video sharing service module receives channel list request information sent by the client, and the IPTV application module sends the channel list request information to a server so that the server can obtain a channel list according to the channel list request information;
the IPTV application module receives the channel list sent by the server and sends the channel list to the client through the video sharing service module;
the video sharing service module receives channel live stream request information sent by the client, and the IPTV application module sends the channel live stream request information to the server so that the server obtains a live stream according to the channel live stream request information;
the IPTV application module pulls the live stream sent by the server side, and processes the live stream to obtain a processed live stream;
and the IPTV application module re-encapsulates the processed live stream to obtain an encapsulated live stream, and sends the encapsulated live stream to the client through the video sharing service module so that the client plays the encapsulated live stream.
2. The IPTV terminal-based live video sharing method according to claim 1, wherein the video sharing service module includes a service discovery module, and the video sharing service module sends live video sharing service information to a client, so that the client establishes a connection with the IPTV terminal according to the live video sharing service information, and the method includes:
the service discovery module sends the live video sharing service information to the client through an mDNS protocol or a UPnP protocol, so that the client searches the IP address and the service port of the IPTV terminal in a local area network shared by IPTV live broadcast according to the mDNS protocol or the UPnP protocol, and establishes connection with the IPTV terminal according to the IP address and the service port.
3. The IPTV terminal-based live video sharing method according to claim 1, wherein the video sharing service module further includes an agent module, the IPTV application module includes a service management module, the video sharing service module receives channel list request information sent by the client, and sends the channel list request information to the server through the IPTV application module, so that the server obtains a channel list according to the channel list request information, including:
the proxy module receives the channel list request information sent by the client, and sends the channel list request information to a service management server of the server through the service management module, so that the service management server of the server obtains the channel list according to the channel list request information.
4. The IPTV terminal-based live video sharing method according to claim 3, wherein the receiving, by the IPTV application module, the channel list sent by the server, and sending the channel list to the client through the video sharing service module includes:
and the service management module receives the channel list sent by the service management server of the server side and sends the channel list to the client side through the proxy module.
5. The IPTV terminal-based live video sharing method according to claim 4, wherein the method further comprises:
and when the proxy module sends the channel list request information to the service management module again, acquiring the channel list from the cache of the service management module, and sending the channel list to the client through the proxy module.
6. The IPTV terminal-based live video sharing method of claim 1, wherein the IPTV application module further includes a streaming media processing module and a stream pushing module, the video sharing service module receives channel live stream request information sent by the client, and sends the channel live stream request information to the server through the IPTV application module, so that the server obtains a live stream according to the channel live stream request information, including:
and the proxy module receives the channel live stream request information sent by the client, and sends the channel live stream request information to the server through the stream pushing module and the stream media processing module in sequence, so that a stream media server of the server obtains the live stream according to the channel live stream request information.
7. The IPTV terminal-based live video sharing method of claim 6, wherein the IPTV application module pulls the live stream sent by the server, processes the live stream to obtain a processed live stream, and comprises:
and the streaming media processing module pulls the live streaming sent by the streaming media server of the server, and the processed live streaming is obtained after the live streaming is subjected to ARQ (automatic repeat request), FEC (forward error correction) or FCC (fluid catalytic cracking).
8. The utility model provides a live video sharing device based on IPTV terminal which characterized in that is applied to the IPTV terminal, the IPTV terminal includes video sharing service module and IPTV application module, the device includes:
the video sharing service module is used for sending live video sharing service information to a client after login authentication is successful so that the client establishes connection with the IPTV terminal according to the live video sharing service information, and the live video sharing service information comprises an IP address and a service port of the IPTV terminal;
a channel list request information receiving unit, configured to receive, by the video sharing service module, channel list request information sent by the client, and send, by the IPTV application module, the channel list request information to a server, so that the server obtains a channel list according to the channel list request information;
a channel list receiving unit, configured to receive, by the IPTV application module, the channel list sent by the server, and send the channel list to the client through the video sharing service module;
a channel live stream request information receiving unit, configured to receive, by the video sharing service module, channel live stream request information sent by the client, and send, by the IPTV application module, the channel live stream request information to the server, so that the server obtains a live stream according to the channel live stream request information;
a live stream receiving unit, configured to pull, by the IPTV application module, the live stream sent by the server, and process the live stream to obtain a processed live stream;
and the packaging unit is used for repackaging the processed live stream by the IPTV application module to obtain a packaged live stream, and sending the packaged live stream to the client through the video sharing service module so that the client plays the packaged live stream.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 7 when executing the computer program.
10. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1 to 7.
CN202211582855.0A 2022-12-09 2022-12-09 Live video sharing method and device based on IPTV terminal Pending CN115883889A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211582855.0A CN115883889A (en) 2022-12-09 2022-12-09 Live video sharing method and device based on IPTV terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211582855.0A CN115883889A (en) 2022-12-09 2022-12-09 Live video sharing method and device based on IPTV terminal

Publications (1)

Publication Number Publication Date
CN115883889A true CN115883889A (en) 2023-03-31

Family

ID=85766862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211582855.0A Pending CN115883889A (en) 2022-12-09 2022-12-09 Live video sharing method and device based on IPTV terminal

Country Status (1)

Country Link
CN (1) CN115883889A (en)

Similar Documents

Publication Publication Date Title
US10764623B2 (en) Method and system for media adaption
US10367880B2 (en) Method and system for presenting media content
US8150387B2 (en) Smart phone as remote control device
JP4719673B2 (en) Digital content parent monitoring
US9444813B1 (en) Token-based security for remote resources
US9113185B2 (en) Systems and methods for authorizing access to network services using information obtained from subscriber equipment
US8661147B2 (en) Monitoring requested content
WO2018103644A1 (en) Live stream sharing method and device, home media apparatus, and data storage medium
US10779045B2 (en) Multi-option sourcing of content and interactive television
WO2013127346A1 (en) Set top box interaction method and associated set top box and system
US20080243602A1 (en) Systems and methods for providing iptv advertisements
CN107547517B (en) Audio and video program recording method, network equipment and computer device
US20110145852A1 (en) Apparatus for controlling internet protocol television services and method for providing internet protocol television services using the same
US9247047B2 (en) Method and apparatus for selecting communication identifiers
CN115883889A (en) Live video sharing method and device based on IPTV terminal
WO2019123480A1 (en) Streaming methods and systems using tuner buffers
CN109756774A (en) A kind of method and device of OTT multicast channel switching
WO2011036646A2 (en) Systems and methods for handling advertisements in conjunction with network-based bookmarking
US20110164857A1 (en) Systems and methods for network-based bookmarking
US8634545B2 (en) Method and apparatus for presenting communication identifiers
US9369503B2 (en) Adaptable data stream transmission
CN102316359A (en) Method and device for transmitting video data
KR20110120505A (en) A digital broadcast receiver and method for accessing to a content provider

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