CN110602558A - High-performance DVB program sharing method for terminal - Google Patents

High-performance DVB program sharing method for terminal Download PDF

Info

Publication number
CN110602558A
CN110602558A CN201910707116.1A CN201910707116A CN110602558A CN 110602558 A CN110602558 A CN 110602558A CN 201910707116 A CN201910707116 A CN 201910707116A CN 110602558 A CN110602558 A CN 110602558A
Authority
CN
China
Prior art keywords
terminal
dvb
sharing
performance
program
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
CN201910707116.1A
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.)
GUIZHOU BROADCASTING&TV INFORMATION NETWORK Co Ltd
Original Assignee
GUIZHOU BROADCASTING&TV INFORMATION NETWORK 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 GUIZHOU BROADCASTING&TV INFORMATION NETWORK Co Ltd filed Critical GUIZHOU BROADCASTING&TV INFORMATION NETWORK Co Ltd
Priority to CN201910707116.1A priority Critical patent/CN110602558A/en
Publication of CN110602558A publication Critical patent/CN110602558A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a high-performance DVB program sharing method for a terminal, which comprises the steps of obtaining a DVB program through demux resources in the terminal, pushing the DVB program to an ngnix server or a similar ngnix server in a rtmp protocol mode through ffmpeg or ffmpeg similar software, and enabling the ngnix server to accept rtmp requests of various terminals such as a mobile phone, an intelligent television and the like to realize DVB program sharing. The invention can carry out high-efficiency sharing on DVB programs by software modification or even only installing one APK on the basis of the existing set top box with hot spots, does not need to introduce other hardware, and provides broadcasting and television family live broadcast resources and can simultaneously watch the sharing requirements of different programs on the premise of increasing several money costs.

Description

High-performance DVB program sharing method for terminal
Technical Field
The invention relates to a high-performance DVB program sharing method for a terminal, and belongs to the technical field of set top box application.
Background
For watching broadcast and television live broadcast television programs, different people have different requirements, for example, the old people like watching dramas, children like watching animations, young people like watching heddles, movies and other programs, and the requirements are inconsistent, and for the situation, the existing solution methods generally have two kinds, one of which adopts a live broadcast sharing technology, but the technology has the problems of low performance or influence on the existing service by the function thereof in the using process, so the technology is not integrally realized on a set top box; secondly, interconnection of a plurality of set top boxes is adopted, but the purpose of the added set top boxes is only to be used as a gateway with high cost, so that the problem of high cost exists, and the set top boxes cannot be accepted by the majority of family users.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a high performance DVB program sharing method for a terminal with low cost, which can overcome the defects of the prior art.
The technical scheme of the invention is as follows: a high-performance DVB program sharing method for a terminal comprises the terminal, wherein the terminal is a broadcasting and television set-top box with a hot spot, the method comprises the steps of obtaining DVB programs through demux resources in the terminal, then pushing recorded contents to an ngnix server or a similar ngnix self-realization server in a rtmp protocol mode through ffmpeg or similar self-realization software, and enabling the ngnix server to receive rtmp requests of various terminals such as a mobile phone and a smart television to share the DVB programs.
In the high-performance DVB program sharing method for the terminal, the obtaining of the DVB program by the demux resource is recorded through a PVR module in the terminal, and the recorded content is directly stored through a memory Buffer.
The high-performance DVB program sharing method for the terminal is that the terminal issues recorded contents to an rtmp server, and the issuing is completed by simply establishing internal socket communication between the corresponding program contents in the TS stream and the server in an rtmp protocol packet mode, without requiring ffmpeg or realizing any coding and decoding functions of software. .
The high-performance DVB program sharing method for the terminal is that, for the case that the frequency points carry small-resolution programs, the terminal issues all the programs once from recording to issuing in the method.
The high-performance DVB program sharing method for the terminal is that the terminal performs multithreading processing on a push streaming request response.
The high-performance DVB program sharing method for the terminal is characterized in that both a single Tuner and a double Tuner of the terminal can be used, when the single Tuner is used, whether DVB live broadcasting is currently carried out is judged, if yes, Tuner resources are preempted, friendly prompts are given, and if not, the current live broadcasting is not influenced.
Compared with the prior art, the method provided by the invention has the following beneficial effects:
1. the invention can carry out high-efficiency sharing on DVB programs by software modification or even only installing one APK on the basis of the existing set top box with hot spots, does not need to introduce other hardware, and provides broadcasting and television family live broadcast resources and can simultaneously watch the sharing requirements of different programs on the premise of increasing several money costs.
2. And the recording and the releasing are transmitted by adopting an internal memory, and the rtmp is preferentially selected by the transmission protocol for releasing, so that the flash is prevented from being frequently operated, and the service life of the stable operation of the set top box can be further ensured.
3. The method does not generate the flow cost of the mobile terminal when watching the radio and television video resources in the local area network, and enjoys high-definition and stable visual experience.
4. The invention realizes a method for sharing high-performance DVB programs of multiple terminals on a set-top box similar terminal, wherein the DVB programs can be large-resolution programs for large screens or small-resolution programs for small screens such as mobile phones, one frequency point can contain a plurality of large-resolution programs or can contain dozens of small-resolution programs, and the specific strategy is determined by the specific strategy of a local operator and is realized by matching with the corresponding strategy of a client.
Drawings
Fig. 1 is a general technical module framework diagram of the present invention.
FIG. 2 is a hardware block diagram of the present invention.
Detailed Description
Embodiment 1, as shown in fig. 1, the terminal is a radio and television set-top box with a hot spot, a controller module in the radio and television set-top box with the hot spot may be a background service in Android, and monitors a request on a network, and if there is another terminal that needs to watch a live program, it may be determined whether the current terminal is using DVB live broadcast, if it is sending an instruction to a display module, a prompt box is popped up or another prompt or advertising page is switched, and then the following steps are performed:
1. locking the appointed or configured frequency point, starting demux filtering, and calling PVR (hardware or software implementation) to record all programs of the frequency point;
and 2, storing the content recorded by the PVR module into a Buffer, and continuously reading the content recorded by the PVR by realizing a read-back-call-packet function of ffmpeg avio _ alloc _ context. The programming language is as follows:
static int iFillIobuffer(void * opaque,uint8_t *buf, int bufsize){
U8* pStreamBuf = NULL;
S32 s32buffersize = -1;
U32 valid=0;
PVR_Read_parameter *pstRead= &_stRead;
//pStreamBuf u32buffersize
while(!pstRead->bTerminate){
pStreamBuf = PvrRingBuffer;
valid = mRingBuffer->GetValidBufferSize();
if(valid>bufsize){
valid=bufsize;
}
s32buffersize = mRingBuffer->Read(pStreamBuf, valid);
if(s32buffersize > 0){
memcpy(buf,pStreamBuf,s32buffersize);
break;
}else{
//ALOGD("iFillIobuffer no data:s32buffersize=%d,valid=%d",s32buffersize,valid);
}
usleep(2000);
}
return s32buffersize;
}
ffmpeg configuration output publishes all programs to nginx service in rtmp protocol.
And 4.ngnix receives the live broadcast requests of various terminals.
The scheme is implemented by secondary development on a set top box terminal with a hot spot, namely original hardware is not changed, only one APK is upgraded, and a television user can enjoy the function of watching live programs through multiple terminals, wherein the hardware block diagram is shown in figure 2: wherein the CPU is typically a chip supporting one-way video decoding.

Claims (6)

1. A high-performance DVB program sharing method for a terminal comprises the terminal, wherein the terminal is a broadcasting and television set top box with a hot spot, and is characterized in that: the method comprises the steps of firstly obtaining DVB programs through demux resources in a terminal, then pushing recorded contents to an ngnix server or an ngnix self-realization server in a rtmp protocol mode through ffmpeg or ffmpeg similar self-realization software, and then receiving rtmp requests of various terminals such as a mobile phone and an intelligent television by the ngnix server to realize DVB program sharing.
2. The method for sharing a high-performance DVB program for a terminal according to claim 1, wherein the method comprises: the DVB program acquired by the demux resource is recorded by a PVR module in the terminal, and the recorded content is directly stored by a memory Buffer.
3. The method for sharing a high-performance DVB program for a terminal according to claim 2, wherein the method comprises: the method is that the terminal issues the recorded content to the rtmp server, and the issuing is only completed by simply establishing internal socket communication between the corresponding program content in the TS stream and the server in a rtmp protocol packet mode without requiring ffmpeg or realizing any coding and decoding functions of software.
4. The method for sharing a high-performance DVB program for a terminal according to claim 1, wherein the method comprises: aiming at the condition that the frequency points carry small-resolution programs, the terminal in the method releases all programs once from recording to releasing.
5. The method for sharing a high-performance DVB program for a terminal according to claim 1, wherein the method comprises: the method is that the terminal carries out multithreading processing on the response of the plug flow request.
6. The method for sharing a high-performance DVB program for a terminal according to claim 1, wherein the method comprises: the terminal can be used by both single and double tuners, when the single Tuner is used, whether DVB live broadcasting is currently carried out is judged, if yes, Tuner resources are preempted, friendly prompts are given, and if not, the current live broadcasting is not influenced.
CN201910707116.1A 2019-08-01 2019-08-01 High-performance DVB program sharing method for terminal Pending CN110602558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910707116.1A CN110602558A (en) 2019-08-01 2019-08-01 High-performance DVB program sharing method for terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910707116.1A CN110602558A (en) 2019-08-01 2019-08-01 High-performance DVB program sharing method for terminal

Publications (1)

Publication Number Publication Date
CN110602558A true CN110602558A (en) 2019-12-20

Family

ID=68853350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910707116.1A Pending CN110602558A (en) 2019-08-01 2019-08-01 High-performance DVB program sharing method for terminal

Country Status (1)

Country Link
CN (1) CN110602558A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114793296A (en) * 2021-11-04 2022-07-26 珠海迈科智能科技股份有限公司 Processing method for sharing DVB real-time TS stream based on p2p network
CN115278372A (en) * 2022-07-28 2022-11-01 杭州国芯科技股份有限公司 Method for set top box to quickly acquire EPG data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312599A (en) * 2013-05-09 2013-09-18 李冰 Multi-network routing gateway system
CN105959784A (en) * 2016-05-30 2016-09-21 浪潮软件集团有限公司 Video sharing implementation method based on set top box
US20180096708A1 (en) * 2016-09-30 2018-04-05 Jocoos Co., Ltd. Video editing system and method
CN108156486A (en) * 2016-12-05 2018-06-12 中兴通讯股份有限公司 Sharing method and device, home media equipment is broadcast live
CN109982053A (en) * 2019-04-02 2019-07-05 珠海全志科技股份有限公司 Audio and video playing method, computer installation and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312599A (en) * 2013-05-09 2013-09-18 李冰 Multi-network routing gateway system
CN105959784A (en) * 2016-05-30 2016-09-21 浪潮软件集团有限公司 Video sharing implementation method based on set top box
US20180096708A1 (en) * 2016-09-30 2018-04-05 Jocoos Co., Ltd. Video editing system and method
CN108156486A (en) * 2016-12-05 2018-06-12 中兴通讯股份有限公司 Sharing method and device, home media equipment is broadcast live
CN109982053A (en) * 2019-04-02 2019-07-05 珠海全志科技股份有限公司 Audio and video playing method, computer installation and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114793296A (en) * 2021-11-04 2022-07-26 珠海迈科智能科技股份有限公司 Processing method for sharing DVB real-time TS stream based on p2p network
CN114793296B (en) * 2021-11-04 2023-09-19 珠海迈科智能科技股份有限公司 Processing method for sharing DVB real-time TS stream based on p2p network
CN115278372A (en) * 2022-07-28 2022-11-01 杭州国芯科技股份有限公司 Method for set top box to quickly acquire EPG data
CN115278372B (en) * 2022-07-28 2024-03-22 杭州国芯科技股份有限公司 Method for quickly acquiring EPG data by set top box

Similar Documents

Publication Publication Date Title
US11336933B2 (en) Transmission device, transmission method, reception device, reception method, and computer program
US8584173B2 (en) Automatic selection of video programming channel based on scheduling information
US20020012347A1 (en) System and method for downloading code
KR101163526B1 (en) System for interfacing external data to iptv and method of the same
CN106231396B (en) A kind of set-top box of the shared processing of program resource, system and method
US10567455B2 (en) Reception device, reception method, transmission device, and transmission method
WO2018103644A1 (en) Live stream sharing method and device, home media apparatus, and data storage medium
US9432737B2 (en) Terminal device, server device, information processing method, program, and linked application supplying system
US20240179100A1 (en) Transmission device, transmission method, reception device, and reception method
CN110602558A (en) High-performance DVB program sharing method for terminal
US20020145621A1 (en) Web browser and set top box interface system and method
CN107547517B (en) Audio and video program recording method, network equipment and computer device
CN109451259A (en) Tv line, television system and data capture method of televising
US20020027562A1 (en) Web browser plug-in for TV
CN101710969B (en) Method for realizing advertising business based on satellite set-top boxes and system and set-top box thereof
CN101335849A (en) TV set and its program information obtaining method, TV broadcasting receiving system
US9176724B2 (en) Firmware update method and apparatus of set-top box for digital broadcast system
CN105657492A (en) Television signal processing method, television signal processing device and television playing control system
US20170078764A1 (en) Messaging between set top box and head end systems
EP2914011A1 (en) Media playing method and device
CN101150655B (en) A media displaying method and a TV terminal
CN108289240A (en) Method, terminal and the computer-readable medium of DTV fast channel switching
US7730516B2 (en) TV-centric system
US20180227065A1 (en) Reception apparatus, transmission apparatus, and data processing method
KR20090107758A (en) Method for providing data application of digital broadcasting and computer-readable medium having thereon program performing function embodying the same

Legal Events

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

Application publication date: 20191220

RJ01 Rejection of invention patent application after publication