CN113923510A - Method, device and equipment for forwarding digital television content and readable storage medium - Google Patents

Method, device and equipment for forwarding digital television content and readable storage medium Download PDF

Info

Publication number
CN113923510A
CN113923510A CN202111180070.6A CN202111180070A CN113923510A CN 113923510 A CN113923510 A CN 113923510A CN 202111180070 A CN202111180070 A CN 202111180070A CN 113923510 A CN113923510 A CN 113923510A
Authority
CN
China
Prior art keywords
digital television
terminal
source end
television content
stream data
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.)
Granted
Application number
CN202111180070.6A
Other languages
Chinese (zh)
Other versions
CN113923510B (en
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 CN202111180070.6A priority Critical patent/CN113923510B/en
Publication of CN113923510A publication Critical patent/CN113923510A/en
Application granted granted Critical
Publication of CN113923510B publication Critical patent/CN113923510B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display

Abstract

The invention discloses a method, a device, equipment and a readable storage medium for forwarding digital television contents, wherein the method for forwarding the digital television contents comprises the steps that a source end is in communication connection with a terminal through a preset protocol, the source end and the terminal are both provided with the preset protocol and are in connection establishment through the preset protocol, then the source end collects TS stream data packets of channels to finish channel data acquisition of the digital television, data transmission is carried out through the preset protocol to send the TS stream data packets of the channels to the terminal, the terminal receives the TS stream data packets of the channels and then carries out demultiplexing and decoding to obtain a playable decoding file, and finally playing is carried out, and the technical effect of transmitting the contents of the digital television to the terminal for playing is achieved. The method for forwarding the digital television content can solve the technical problem that the digital television media content cannot be watched through mobile equipment such as a mobile phone and the like in the prior art.

Description

Method, device and equipment for forwarding digital television content and readable storage medium
Technical Field
The invention belongs to the technical field of intelligent refrigerators, and particularly relates to a method, a device and equipment for forwarding digital television contents and a readable storage medium.
Background
Digital Television (DTV) is a Television system that processes signals in a Digital manner from program acquisition, program production, program transmission to a user side, that is, all links from a studio to transmission, transmission and reception use Digital signals, or are transmitted through a Digital sequence consisting of 0 and 1 Digital strings. Digital television is a third generation television type following black and white analog television, color analog television, and is a concept with respect to analog television. Compared with an analog television, the digital television has higher image quality, stronger function, better sound effect and richer content and generally has interactivity and communication function.
The television or the set top box supports digital television signal reception, and the digital signal television is used as a resource for watching multimedia contents, has the advantages of not occupying internet bandwidth and not consuming mobile signal flow, at present, more and more consumers rely on mobile devices such as mobile phones to watch media contents, but the existing digital television can only watch the media contents through the television, and the problem that the media contents of the digital television cannot be watched through the mobile devices such as the mobile phones exists.
Disclosure of Invention
In order to overcome the above disadvantages of the prior art, an object of the present invention is to provide a method, an apparatus, a device and a readable storage medium for forwarding digital tv content, which aim to solve the technical problem that the digital tv media content cannot be watched through a mobile device such as a mobile phone.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a method of forwarding digital television content for a source, comprising the steps of:
acquiring a connection request of a terminal;
establishing a connection channel with a terminal according to a preset protocol;
collecting TS stream data packets of a channel;
and transmitting the TS stream data packet to the terminal.
Furthermore, a preset protocol is combined in the middleware; the step of collecting TS stream packets of a channel further includes the steps of: and acquiring TS stream data packets of the channel through the intermediate interface.
Correspondingly, the invention also provides a method for forwarding the digital television content, which is used for a terminal and comprises the following steps:
sending a connection request to a source end, and establishing a connection channel with the source end according to a preset protocol;
acquiring a TS stream data packet of a source end;
demultiplexing and decoding the TS stream data packet and generating a decoding file;
and playing the decoded file.
Further, the step of demultiplexing and decoding the TS stream data packet further includes the steps of:
demultiplexing TS stream data packets through ffmpeg to generate media data;
and decoding the media data by a mediacodec technology to generate a decoding file.
Further, the step of sending the connection request to the source end further includes the following steps:
discovering a source end through a device discovery protocol;
then, acquiring source end information through a preset protocol;
judging whether the corresponding source end is provided with a preset protocol or not according to the source end information;
and if the source end is provided with a preset protocol, sending a connection request to the source end.
Further, the step of sending a connection request to the source end and establishing a connection channel with the source end according to a preset protocol is performed, wherein the connection channel is a connection channel based on a websocket protocol.
Further, before the step of sending a connection request to the source end and establishing a connection channel with the source end, the method further includes the following steps:
the source is discovered by the SSDP protocol.
Correspondingly, the present invention also provides a device for forwarding digital television content, which is used for a source end and comprises:
the acquisition module is used for acquiring a connection request of a terminal;
the connection module is used for establishing a connection channel with the terminal according to a preset protocol;
the acquisition module is used for acquiring TS stream data packets of channels;
and the sending module is used for sending the TS stream data packet to the terminal.
Correspondingly, the invention also provides a device for forwarding the digital television content, which is used for a terminal and comprises:
the establishing module is used for sending a connection request to the source end and establishing a connection channel with the source end;
the TS module is used for acquiring a TS stream data packet of the terminal;
the decoding module is used for demultiplexing and decoding the TS stream data packet and generating a decoding file;
and the playing module is used for playing the decoding file.
Correspondingly, the invention also provides a device for forwarding the digital television content, which comprises a memory, a processor and a digital television content forwarding program stored on the memory and capable of running on the processor, wherein the digital television content forwarding program is configured to realize the steps of the method for forwarding the digital television content.
Correspondingly, the present invention also provides a readable storage medium, on which a program for forwarding digital television content is stored, and when the program for forwarding digital television content is executed by a processor, the steps of the method for forwarding digital television content as described above are implemented.
Compared with the prior art, the invention has the beneficial effects that:
the source end is in communication connection with the terminal through a preset protocol, the source end and the terminal are both configured with the preset protocol and are in connection through the preset protocol, then the source end collects TS stream data packets of channels to finish channel data collection of the digital television, data transmission is carried out through the preset protocol to send the TS stream data packets of the channels to the terminal, and the terminal receives the TS stream data packets of the channels, then de-multiplexes and decodes the TS stream data packets to obtain a playable decoding file, and finally plays the playable decoding file, so that the technical problem that media content of the digital television cannot be watched through mobile equipment such as a mobile phone and the like in the prior art is solved, and the technical effect of transmitting the content of the digital television to the terminal for playing is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an apparatus for forwarding digital television content in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flow chart illustrating a method for forwarding digital tv content for a source end according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for forwarding digital tv content for a terminal 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
So that the manner in which the above recited objects, features and advantages of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to the embodiments thereof which are illustrated in the appended drawings. It should be noted that the embodiments of the present invention and features of the embodiments may be combined with each other without conflict. In the following description, numerous specific details are set forth to provide a thorough understanding of the present invention, and the described embodiments are merely a subset of the embodiments of the present invention, rather than a complete embodiment. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an apparatus for forwarding digital television content in a hardware operating environment according to an embodiment of the present invention.
The device for forwarding the digital television content of the embodiment of the invention can be a terminal device with a storage function.
As shown in fig. 1, the apparatus for forwarding digital television contents may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include 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.
Those skilled in the art will appreciate that the apparatus for forwarding digital television content shown in fig. 1 does not constitute a limitation of the terminal and may include more or fewer components than 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 program for forwarding digital tv contents.
In the apparatus for forwarding digital tv content as shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 mainly includes an input unit such as a keyboard including a wireless keyboard and a wired keyboard, and is used to connect to the client and perform data communication with the client; and the processor 1001 may be configured to call the program for forwarding digital television content stored in the memory 1005 and perform the operations of the method for forwarding digital television content in any of the embodiments described below.
Based on the hardware structure, the embodiment of the method for forwarding the digital television content is provided.
Referring to fig. 2, an embodiment of the present invention provides:
a method of forwarding digital television content for a source, comprising the steps of:
step S110, acquiring a connection request of a terminal;
specifically, in this embodiment, the source end and the terminal need to be connected to the same lan, so as to complete the connection request for acquiring the terminal.
Step S120, establishing a connection channel with the terminal according to a preset protocol;
specifically, the preset protocol in this embodiment is a private protocol, and the private protocol is formed by modifying a format of transmission content of the preset protocol based on the websocket protocol and freely defining the format of the transmission content, so that the preset protocol is based on the websocket protocol in nature, and thus the connection channel is a transmission channel of the websocket protocol, and is mainly used for realizing message transmission and TS packet transmission between the terminal and the source; it is a proprietary protocol because its format for transmitting content is freely defined according to usage requirements; the message transmission comprises the steps of acquiring a program list, an EPG, controlling source terminal switching, controlling source terminal information screen, acquiring the playing state of a source terminal and the like; more specifically, a transmission channel established between the source end and the terminal adopts a websocket protocol, and the websocket protocol is suitable for transmitting TS stream data in terms of long-time communication data transmission performance, so that the stability and the sustainable time are both ensured to the greatest extent, that is, the technical effects that the data transmission process is more stable and the data transmission duration is longer are achieved.
Step S130, collecting TS stream data packets of channels;
specifically, in the embodiment, the source end mainly collects TS stream packets of channels, and more specifically, the source end collects TS stream packets of each channel through the middleware, thereby achieving an effect of collecting and acquiring digital television DTV data.
Step S140, sending the TS stream packet to the terminal.
Specifically, in this embodiment, the TS stream data packets of each channel acquired and obtained in the above steps are mainly sent to the terminal through the websocket protocol, so that the technical effect of sending the digital television signal data DTV from the active terminal to the terminal is achieved, and the technical effect of playing the digital television on the terminal can be achieved by the terminal receiving and decoding the TS stream data packets.
More specifically, in this embodiment, the source end may be a digital television end or a set-top box or other end that may have a DTV function; the source end is mainly used for receiving digital television signal data DTV, namely a commonly used digital television or a set top box and the like in the prior art, the DTV can only be played in the digital television, but nowadays, people use the mobile end more and more frequently, so that the problem that the DTV cannot be played in the mobile end exists; the embodiment realizes communication connection with a terminal through a preset protocol, wherein the preset protocol is a private protocol, the source end and the terminal are both configured with the private protocol and establish connection through the private protocol, then the source end collects the TS stream data packets of the channels to complete channel data collection of the digital television, then the private protocol is used for performing data transmission to send the TS stream data packets of the channels to the terminal, and the terminal receives the TS stream data packets of the channels and then performs demultiplexing and decoding to obtain a playable decoding file for finally playing, so as to solve the technical problem that the media content of the digital television cannot be watched through mobile equipment such as a mobile phone and the like in the prior art, and realize the technical effect of transmitting the content of the digital television to the terminal for playing.
Furthermore, a preset protocol is combined in the middleware; the step of collecting TS stream packets of a channel further includes the steps of: and acquiring TS stream data packets of the channel through the intermediate interface.
Specifically, in this embodiment, the preset protocol is started following the start of the source end, and the preset protocol mainly combines with the native intermediate interface of the source end to obtain data such as a TS stream data packet of each channel list and each channel, and meanwhile, may also perform control operations such as channel switching or screen turning through the middleware.
Further, the method includes step S150 of acquiring a control signal of the terminal;
step S160, changing the corresponding state according to the control signal;
specifically, the control signal in this embodiment includes signals of acquiring a program list, an EPG, a control source terminal switching station, a control source terminal information screen, and the like; after the control signal is acquired, the preset protocol completes corresponding control operation through the middleware, for example, after the preset protocol acquires a screen-off signal, the preset protocol sends a corresponding signal to the middleware, and the middleware performs screen-off control operation according to the corresponding signal, so that screen-off action is completed, and the technical effect of controlling various operations of the source end through the terminal is realized.
Referring to fig. 3, the present invention also provides a method for forwarding digital television contents, for a terminal, comprising the steps of:
step S210, sending a connection request to a source end, and establishing a connection channel with the source end according to a preset protocol;
specifically, the terminal in this embodiment may be a mobile terminal such as a mobile phone terminal, a tablet terminal, or a PC terminal; the terminal is provided with a preset protocol, and after sending a connection request to the source end, the terminal is in communication connection with the source end through the preset protocol to establish a connection channel; therefore, the technical effect of signal and data transmission between the terminal and the source end is realized;
step S220, obtaining TS stream data packets of a source end;
specifically, in this embodiment, a websocket protocol transmission channel established by a preset protocol is used to receive and obtain a TS stream packet of a source end.
Step S230, demultiplexing and decoding the TS stream data packet and generating a decoding file;
specifically, in this embodiment, the TS stream packet is demultiplexed and decoded for subsequent playing, different device environments may use different tools for decoding according to actual situations, and finally a playable decoded file is generated.
Step S240, playing the decoded file.
Specifically, the generated decoding file needs to be calibrated for audio and video synchronization, and the digital television is played finally after the audio and video synchronization is completed, so that the technical effect of playing the digital television on the mobile terminal is achieved.
Further, in step S210, the step of sending the connection request to the source end further includes the following steps:
step S211, discovering a source end through a device discovery protocol;
specifically, the source end and the terminal in this embodiment need to be connected to the same lan, and when the terminal and the source end are connected to the same lan, the source end in the search area can be realized through the device discovery protocol, so as to send a connection request to the source end; more specifically, the device discovery protocol may use an SSDP-like protocol to implement discovery and search in the wireless lan, for example, using a DLNA protocol as an example of an android device.
Step S212, then obtaining source information through a preset protocol;
specifically, after a source is found, source information of the source is obtained through a preset protocol, namely, a websocket protocol.
Step S213, judging whether the corresponding source end is provided with a preset protocol or not through the source end information;
specifically, the source information in this embodiment includes a source device model, control system information, various types of protocol information, and the like; and judging whether a preset protocol is set or not by inquiring, so that the TS stream data packet transmission can be completed by connection, and if the source end is not set with the preset protocol, the source end cannot send a connection request to the source end.
Step S214, if the source end is provided with a preset protocol, a connection request is sent to the source end.
Specifically, in this embodiment, after determining that the source end is provided with the preset protocol, the source end can send a connection request; more specifically, the terminal can embed the function into the mobile phone APP to realize quick connection between the mobile device and the television, for example, the terminal determines to send a connection request to the source terminal by establishing an APP item and providing a button connected by a key on the UI, and pressing the button.
Further, in step S230, the step of demultiplexing and decoding the TS stream packet further includes the following steps:
step S231, demultiplexing TS stream data packets through ffmpeg to generate media data;
step S232, decoding the media data through the mediacodec technology to generate a decoding file.
Specifically, the source-end media data is decoded by using ffmpeg demultiplexing TS stream data packets and a MediaCodec technology, wherein MediaCodec type Android provides an interface for accessing a low-layer multimedia codec, which is a part of an Android low-layer multimedia architecture, and is usually used in combination with MediaExtractor, mediamultiplexer and AudioTrack, and can encode and decode common audio and video formats such as h.264, h.265, AAC, 3gp and the like; therefore, the TS stream data packet is decoded through the ffmpeg and the mediacodec to generate a playable decoding file, and finally, the technical effect that the terminal can play the digital television is achieved.
Step S220, before the step of acquiring the TS stream packet of the terminal, further includes the following steps:
step S221, obtaining channel list information of a source end;
step S222, sending a control signal to the source.
Specifically, in this embodiment, the channel list information of the source end is obtained through communication between the preset protocol and the source end, so that a user can select a required channel according to the channel list information to obtain a TS stream data packet of a corresponding channel, and the technical effect of flexible obtaining is achieved; similarly, the terminal sends a control signal to the source end through a preset protocol, and the source end performs corresponding control operation through the middleware.
Further, the step of establishing a connection channel with the source end includes the following steps:
and establishing a websocket protocol transmission connection channel with the source end.
Specifically, in the implementation, the connection channel is mainly established with the source end, wherein the connection channel adopts a websocket protocol, and the websocket protocol is suitable for transmitting TS stream data in terms of long-time communication data transmission performance, and both stability and sustainable time are relatively suitable, so that the stability and integrity of DTV data transmission are ensured to the greatest extent, that is, the technical effects that the data transmission process is more stable and the data transmission process can be longer are achieved.
More specifically, as described above, the present application provides a method for forwarding digital television content, which adopts a method that a source end collects DTV data and performs local area network forwarding, and a terminal acquires the DTV data and decodes and plays the DTV data.
The main technical effects that realize:
a. the digital television content (channel list, EPG and live broadcast) which cannot be directly watched on the mobile phone originally is synchronized to the mobile phone screen through a private protocol, and then the digital television content is played on the mobile phone. Therefore, the digital television content on the television can be normally watched on the mobile phone, and cross-platform content sharing is realized.
b. The mobile phone end can embed the function into the mobile phone APP, and the mobile device is connected with the television quickly.
c. The television only forwards the digital television content, and can be used in an environment where a television program is played in an environment where a large screen is not suitable (such as a toilet or when a user lies in a bed to watch a portable mobile device).
Correspondingly, the present invention also provides a device for forwarding digital television content, which is used for a source end and comprises:
the acquisition module is used for acquiring a connection request of a terminal;
the judging module is used for judging whether the terminal is provided with a preset protocol or not;
the determining module is used for establishing communication connection with the terminal when the terminal is provided with a preset protocol;
the acquisition module is used for acquiring TS stream data packets of channels;
and the sending module is used for sending the TS stream data packet to the terminal.
Correspondingly, the invention also provides a device for forwarding the digital television content, which is used for a terminal and comprises:
the establishing module is used for sending a connection request to the source end and establishing a connection channel with the source end;
the TS module is used for acquiring a TS stream data packet of the terminal;
the decoding module is used for demultiplexing and decoding the TS stream data packet and generating a decoding file;
and the playing module is used for playing the decoding file.
Correspondingly, the present invention also provides a readable storage medium, on which a program for forwarding digital television content is stored, and when the program for forwarding digital television content is executed by a processor, the steps of the method for forwarding digital television content as described above are implemented.
It should be noted that, regarding the apparatus for forwarding digital television content in the foregoing embodiment, the specific manner in which each module or unit performs operations has been described in detail in the embodiment related to the method, and those skilled in the art can understand that details are not described herein again.
Correspondingly, an embodiment of the present invention further provides a readable storage medium, which is a computer-readable storage medium, on which a program for forwarding digital television content is stored, and when the program for forwarding digital television content is executed by a processor, the steps of the method for forwarding digital television content in any of the above embodiments are implemented.
In the present embodiment, the readable storage medium may include, but is not limited to, any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROMs (Read-Only memories), RAMs (Random access memories), EPROMs (Erasable Programmable Read-Only memories), EEPROMs (Electrically Erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards, and various media capable of storing program codes.
It will be apparent to those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, centralized on a single computing device or distributed across a network of computing devices, or alternatively implemented in program code executable by a computing device, such that the steps shown and described may be executed by a computing device stored in a memory device and, in some cases, executed in a sequence other than that shown and described herein, or fabricated separately as individual integrated circuit modules or fabricated as a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It should be noted that, other contents of the method and apparatus for forwarding digital television content, the device for forwarding digital television content, and the readable storage medium disclosed in the present invention may refer to the prior art, and are not described herein again.
The above description is only an alternative embodiment of the present invention, and is not intended to limit the present invention in any way, so that any modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention are within the scope of the technical solution of the present invention, unless departing from the technical solution of the present invention.

Claims (10)

1. A method of forwarding digital television content, for a source, comprising the steps of:
acquiring a connection request of a terminal;
establishing a connection channel with a terminal according to a preset protocol;
collecting TS stream data packets of a channel;
and sending the TS stream data packet to a terminal.
2. The method for forwarding digital television content according to claim 1, wherein the predetermined protocol is incorporated in middleware; the step of collecting TS stream packets of a channel further includes the steps of: and acquiring TS stream data packets of the channel through the intermediate interface.
3. A method for forwarding digital television content, for a terminal, comprising the steps of:
sending a connection request to a source end, and establishing a connection channel with the source end according to a preset protocol;
acquiring a TS stream data packet of a source end;
demultiplexing and decoding the TS stream data packet and generating a decoding file;
and playing the decoded file.
4. The method for forwarding digital television contents according to claim 3, wherein the step of demultiplexing and decoding the TS stream data packets further comprises the steps of:
demultiplexing TS stream data packets through ffmpeg to generate media data;
and decoding the media data by a mediacodec technology to generate a decoding file.
5. The method of forwarding digital television content according to claim 3, wherein the step of sending a connection request to the source end further comprises the steps of:
discovering a source end through a device discovery protocol;
then, acquiring source end information through a preset protocol;
judging whether the corresponding source end is provided with a preset protocol or not according to the source end information;
and if the source end is provided with a preset protocol, sending a connection request to the source end.
6. The method of claim 3, wherein the step of sending a connection request to the source and establishing a connection channel with the source according to a predetermined protocol, wherein the connection channel is a websocket protocol-based connection channel.
7. An apparatus for forwarding digital television content, for a source, comprising:
the acquisition module is used for acquiring a connection request of a terminal;
the connection module is used for establishing a connection channel with the terminal according to a preset protocol;
the acquisition module is used for acquiring TS stream data packets of channels;
and the sending module is used for sending the TS stream data packet to a terminal.
8. An apparatus for forwarding digital television content, for a terminal, comprising:
the establishing module is used for sending a connection request to the source end and establishing a connection channel with the source end;
the TS module is used for acquiring a TS stream data packet of the terminal;
the decoding module is used for demultiplexing and decoding the TS stream data packet and generating a decoding file;
and the playing module is used for playing the decoding file.
9. An apparatus for forwarding digital television content, comprising a memory, a processor, and a forward digital television content program stored on the memory and executable on the processor, the forward digital television content program being configured to implement the steps of the method for forwarding digital television content according to any of claims 1-2 or the method for forwarding digital television content according to any of claims 3-6.
10. A readable storage medium, characterized in that a forward digital television content program is stored thereon, which when executed by a processor implements the steps of the method of forwarding digital television content according to any one of claims 1-2 or the method of forwarding digital television content according to any one of claims 3 to 6.
CN202111180070.6A 2021-10-11 2021-10-11 Method, device, equipment and readable storage medium for forwarding digital television content Active CN113923510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111180070.6A CN113923510B (en) 2021-10-11 2021-10-11 Method, device, equipment and readable storage medium for forwarding digital television content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111180070.6A CN113923510B (en) 2021-10-11 2021-10-11 Method, device, equipment and readable storage medium for forwarding digital television content

Publications (2)

Publication Number Publication Date
CN113923510A true CN113923510A (en) 2022-01-11
CN113923510B CN113923510B (en) 2024-02-02

Family

ID=79238901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111180070.6A Active CN113923510B (en) 2021-10-11 2021-10-11 Method, device, equipment and readable storage medium for forwarding digital television content

Country Status (1)

Country Link
CN (1) CN113923510B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531612A (en) * 2022-02-21 2022-05-24 深圳市宝力威新材料有限公司 Family informatization system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130058634A1 (en) * 2010-02-22 2013-03-07 Álvaro Martínez Reol Method for transcoding and playing back video files based on grid technology in devices having limited computing power
CN103458087A (en) * 2013-08-30 2013-12-18 华南理工大学 Remote mobile phone test experiencing method based on RTMP
CN104967904A (en) * 2014-04-10 2015-10-07 腾讯科技(深圳)有限公司 Method for recording and playing back terminal video and apparatus thereof
CN106371998A (en) * 2016-09-13 2017-02-01 网易(杭州)网络有限公司 Mobile application testing system and method
CN106685959A (en) * 2016-12-28 2017-05-17 福建星网视易信息系统有限公司 Method for controlling set top box by mobile terminal in real time, device and system
CN207184720U (en) * 2017-09-21 2018-04-03 福建星网视易信息系统有限公司 A kind of mobile terminal wirelessly throws screen order programme
CN111225271A (en) * 2020-01-19 2020-06-02 上海小麦互动企业发展有限公司 Multi-engine image capturing and screen recording method based on android set top box platform

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130058634A1 (en) * 2010-02-22 2013-03-07 Álvaro Martínez Reol Method for transcoding and playing back video files based on grid technology in devices having limited computing power
CN103458087A (en) * 2013-08-30 2013-12-18 华南理工大学 Remote mobile phone test experiencing method based on RTMP
CN104967904A (en) * 2014-04-10 2015-10-07 腾讯科技(深圳)有限公司 Method for recording and playing back terminal video and apparatus thereof
CN106371998A (en) * 2016-09-13 2017-02-01 网易(杭州)网络有限公司 Mobile application testing system and method
CN106685959A (en) * 2016-12-28 2017-05-17 福建星网视易信息系统有限公司 Method for controlling set top box by mobile terminal in real time, device and system
CN207184720U (en) * 2017-09-21 2018-04-03 福建星网视易信息系统有限公司 A kind of mobile terminal wirelessly throws screen order programme
CN111225271A (en) * 2020-01-19 2020-06-02 上海小麦互动企业发展有限公司 Multi-engine image capturing and screen recording method based on android set top box platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531612A (en) * 2022-02-21 2022-05-24 深圳市宝力威新材料有限公司 Family informatization system
CN114531612B (en) * 2022-02-21 2024-02-13 深圳市宝力威新材料有限公司 Household informatization system

Also Published As

Publication number Publication date
CN113923510B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
CN109327728B (en) One-to-many same-screen method, device and system, same-screen equipment and storage medium
US8520050B2 (en) Communication system and method
US8473994B2 (en) Communication system and method
CN108259813B (en) Multifunctional screen transmission device, system and method
CN110662114B (en) Video processing method and device, electronic equipment and storage medium
US20060026302A1 (en) Server architecture supporting adaptive delivery to a variety of media players
US20100064329A1 (en) Communication system and method
KR20060095090A (en) System and method for providing personal broadcasting service with wireless terminal
CN112019927B (en) Video live broadcast method, microphone connecting equipment, live broadcast system and storage medium
CN111263233B (en) Television multi-window processing method and device, computer equipment and storage medium
US20080271097A1 (en) System And Method For Receiving And Playing Network Television Programs
CN106464933B (en) Apparatus and method for remotely controlling rendering of multimedia content
US20220086519A1 (en) Dynamic playlist customization by adaptive streaming client
CN107547517B (en) Audio and video program recording method, network equipment and computer device
CN113923510B (en) Method, device, equipment and readable storage medium for forwarding digital television content
CN105142003A (en) Television program playing method and device
JP3137353U (en) Television, television box and apparatus for transmitting multimedia data streams to remote devices
CN113014950A (en) Live broadcast synchronization method and system and electronic equipment
CN114173183A (en) Screen projection method and electronic equipment
CN114554274A (en) WiFi-based vehicle-mounted terminal screen projection system and method
WO2017018042A1 (en) Information processing device, information processing method, and source apparatus
CN114401428B (en) Method for implementing remote multi-screen interaction under public network based on short link signaling channel
WO2013166785A1 (en) Media service providing method and device, and media service displaying method and device
US20190098351A1 (en) Method for managing the access right to an item of digital content
KR20050037252A (en) Method and apparatus of offer broadcasting service using wireless lan

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
GR01 Patent grant
GR01 Patent grant