CN112243159B - DVB-based data processing and reading method, server, terminal and system - Google Patents
DVB-based data processing and reading method, server, terminal and system Download PDFInfo
- Publication number
- CN112243159B CN112243159B CN201910654458.1A CN201910654458A CN112243159B CN 112243159 B CN112243159 B CN 112243159B CN 201910654458 A CN201910654458 A CN 201910654458A CN 112243159 B CN112243159 B CN 112243159B
- Authority
- CN
- China
- Prior art keywords
- data
- file
- section
- dvb
- processing
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2389—Multiplex stream processing, e.g. multiplex stream encrypting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/61—Network physical structure; Signal processing
- H04N21/6106—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
- H04N21/6112—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving terrestrial transmission, e.g. DVB-T
Abstract
The invention discloses a DVB-based data processing and reading method, a server, a terminal and a system, wherein the data processing method comprises the following steps: cutting the data file and forming a data section; adding a data packet header to each data section; performing checksum calculation on the data section added with the data packet header; and packaging and cutting the data section subjected to checksum calculation to obtain a processing file. The data reading method comprises the following steps: acquiring a processing file; checking, unpacking and packing the processing file to obtain a data file; and reading the data file. The data file is segmented and cut and packaged through a DVB-based data processing method, so that a processing file is generated, and the integrity of the data is ensured; and decapsulating the processing file by a DVB-based data reading method to generate a data file, and performing IP networking playing to realize local on-demand broadcasting.
Description
Technical Field
The invention belongs to the technical field of multimedia, and particularly relates to a DVB-based data processing and reading method, a server, a terminal and a system.
Background
With the improvement of the living standard of people, basic household users are provided with digital televisions and digital television set-top boxes so as to meet the daily living requirements of people for watching audio and video programs. At present, a digital broadcast set top box provides a program watching mode of live broadcasting of data, and a better scheme for downloading and storing large-capacity data is not available, so that the function requirement of user on-demand is not conveniently met.
Disclosure of Invention
The invention aims to provide a DVB-based data processing and reading method, a server, a terminal and a system, which solve the problem that the conventional digital broadcasting set top box is inconvenient to order.
The invention provides a DVB-based data processing method, which comprises the following steps: cutting the data file and forming a data section; adding a data packet header to each data section; performing checksum calculation on the data section added with the data packet header; and packaging and cutting the data section subjected to checksum calculation to obtain a processing file.
Optionally, the step of cutting the data file and forming the data section includes: and acquiring a data file, cutting the data file according to the byte number of the data file, acquiring data blocks and serial numbers of the corresponding data blocks, cutting the data blocks according to a fixed value, and acquiring data sections.
Optionally, the data packet header includes a data block number, a last data block number, a data section number, a last data section number, a data section length, a service number, a version number, and a magic word corresponding to the data section.
Optionally, the step of performing checksum calculation on the data section after adding the data packet header includes: and performing 32-bit cyclic redundancy checksum calculation on the data section added with the data packet header, outputting check data with the result of 4 bytes, and adding the check data to the tail part of the data section.
Optionally, the step of packaging and cutting the data section after the checksum calculation to obtain the processing file includes: and performing mpeg-TS protocol encapsulation and cutting on the data section subjected to checksum calculation to generate a plurality of TS data loads, and performing mpeg-TS protocol encapsulation on the TS data loads to generate a processing file so as to finish data processing.
A server comprising a processor and a memory; the memory is used for storing computer instructions; the processor is configured to execute the computer instructions stored in the memory, so that the server executes the DVB-based data processing method.
A DVB-based data reading method comprising: acquiring the processing file; checking, unpacking and packing the processing file to obtain a data file; and reading the data file.
Optionally, the step of verifying, decapsulating and packaging the processing file to obtain the data file includes: verifying the processing file according to the mpeg-TS protocol, and decapsulating the processing file into a plurality of TS data loads; and grouping a plurality of TS data loads according to the mpeg-TS protocol to generate a data file.
A terminal comprising a processor and a memory; the memory is used for storing computer instructions;
the processor is configured to execute the computer instructions stored in the memory, so that the server executes the DVB-based data reading method.
A system comprises the server, the terminal and the transmitter, wherein the server, the transmitter and the terminal are in signal connection.
Compared with the prior art, when the invention is used,
the data file is segmented and cut and packaged through a DVB-based data processing method, so that a processing file is generated, and the integrity of the data is ensured;
and decapsulating the processing file by a DVB-based data reading method to generate a data file, and performing IP networking playing to realize local on-demand broadcasting.
Drawings
Fig. 1 is a schematic flow chart of a DVB-based data processing method according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a file according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a data section protocol according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a data package according to an embodiment of the present invention.
Fig. 5 is a flow chart of a DVB-based data reading method according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a system according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, the present invention provides a DVB-based data processing method, including:
s1: cutting the data file and forming a data section;
s2: adding a data packet header to each data section;
s3: performing checksum calculation on the data section added with the data packet header;
s4: and packaging and cutting the data section subjected to checksum calculation to obtain a processing file, wherein the embodiment provides a transmission scheme for orderly splitting, packaging and loading the data on a DVB channel. The data file is cut according to the block segmentation, checksum calculation is carried out on each segment of data for ensuring the data accuracy of the receiving equipment, a specific data packet head is added to each segment of data section for ensuring the data integrity of the receiving equipment, and each segment of data section is cut and packaged according to a processing protocol, so that the processing file is generated.
In an implementation, the step of cutting the data file and forming the data section includes: obtaining a data file, cutting the data file according to the byte number of the data file, obtaining the sequence numbers of the data blocks and the corresponding data blocks, cutting the data blocks according to a fixed value, obtaining the data sections, for example, reading the data file, obtaining the byte number of the data file, cutting the data file according to the program input data block size (such as 10 Mbytes), thus calculating the total number of the data blocks and the sequence number of each block data, cutting each cut data block according to a fixed size (4 Kbytes minus the head and the tail of the data), thus calculating the total number of the data sections of the data blocks and the sequence number and the length of each data section, wherein the data file is shown in fig. 2:
referring to fig. 3, a transmission data packet header is added to each cut data section, and information including a data block number, a last data block number, a data section number, a last data section number, a data section length, a service number, a version number, a magic word, etc. of the data section is encapsulated in the data packet header.
Referring to fig. 4, a 32-bit cyclic redundancy checksum calculation is performed on each cut data section (including an added data packet header), and the calculated result is 4 bytes of data, which is added to the tail of the data section; performing mpeg-ts protocol encapsulation on the data section to complete first layer encapsulation, then cutting the data section, and encapsulating the data section into standard ts packets (188 bytes) to complete second layer encapsulation, wherein the ts packet header occupies 4 bytes, the first ts packet load of the ts data stream is 183 bytes, the start mark position 1 in the packet header indicates the start of the transmission stream, the other ts packet loads are 184 bytes, the start mark position 0 in the packet header, and the data part of less than 188 bytes in the last ts packet is filled with 0 xFF; the encapsulation of the data section is shown in fig. 4.
To facilitate processing of data files, a server is provided that includes a processor and a memory; the memory is used for storing computer instructions; the processor is configured to execute the computer instructions stored in the memory, so that the server executes the DVB-based data processing method.
Referring to fig. 5, the DVB-based data reading method includes:
s10: acquiring the processing file and downloading the processing file to the local;
s20: in the local, checking, unpacking and packing the processing file to obtain a data file;
s30: and reading the data file, and then playing the data file through IP networking.
In the actual implementation process, the steps of verifying, unpacking and packing the processing file and obtaining the data file comprise the following steps: first deblocking, verifying the processing file according to an mpeg-TS protocol, and deblocking the processing file into a plurality of TS data loads; and secondly, unpacking, and grouping a plurality of TS data loads according to an mpeg-TS protocol to generate a data file.
In order to facilitate decoding, a terminal is provided, comprising a processor and a memory; the memory is used for storing computer instructions; the processor is configured to execute the computer instructions stored in the memory, so that the server executes the DVB-based data reading method.
Referring to fig. 6, in an actual implementation process, a system includes the server, the terminal and the transmitter, where the server, the transmitter and the terminal are connected by signals, in the implementation process, the server processes and packages a multimedia data file according to a transmission protocol to generate a processed file, then the server loads the processed file onto a DVB channel of a television data broadcast and transmits the processed file to the terminal, and the terminal downloads, stores and unseals the processed file to generate a data file, thereby implementing a function of locally ordering the data file.
The present invention is not limited to the above-mentioned embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present invention are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (6)
1. A DVB-based data processing method, comprising:
acquiring a data file, cutting the data file according to the byte number of the data file, acquiring data blocks and serial numbers of the corresponding data blocks, cutting the data blocks according to a fixed value, and acquiring data sections;
adding a data packet header to each data section;
performing 32-bit cyclic redundancy checksum calculation on the data section added with the data packet header, outputting check data with a result of 4 bytes, and adding the check data to the tail part of the data section;
performing mpeg-ts protocol encapsulation on the data section subjected to checksum calculation to complete first-layer encapsulation, cutting the data section, encapsulating the data section into standard ts packets to complete second-layer encapsulation, generating a processing file, and completing data processing;
the ts packet header occupies 4 bytes, the first ts packet load of the ts data stream is 183 bytes, the start mark position 1 in the packet header indicates the start of the transport stream, the other ts packet loads are 184 bytes, the start mark position 0 in the packet header, and the data part of less than 188 bytes in the last ts packet is filled with 0 xFF.
2. The DVB-based data processing method of claim 1, wherein the packet header includes a corresponding block number, last block number, section number, last section number, section length, service number, version number, and magic word of the section.
3. A server comprising a processor and a memory;
the memory is used for storing computer instructions;
the processor for executing computer instructions stored in the memory, causing the server to perform the DVB-based data processing method of any one of claims 1 to 2.
4. A DVB-based data reading method, comprising:
acquiring a processing file according to any one of claims 1 to 2;
verifying the processing file according to the mpeg-TS protocol, and decapsulating the processing file into a plurality of TS data loads;
grouping a plurality of TS data loads according to an mpeg-TS protocol to generate a data file;
and reading the data file.
5. A terminal comprising a processor and a memory;
the memory is used for storing computer instructions;
the processor configured to execute the computer instructions stored in the memory, to cause the terminal to perform the DVB-based data reading method of claim 4.
6. A system comprising a server according to claim 3, a terminal according to claim 5 and a transmitter, the signal connections between the server, the transmitter and the terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910654458.1A CN112243159B (en) | 2019-07-19 | 2019-07-19 | DVB-based data processing and reading method, server, terminal and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910654458.1A CN112243159B (en) | 2019-07-19 | 2019-07-19 | DVB-based data processing and reading method, server, terminal and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112243159A CN112243159A (en) | 2021-01-19 |
CN112243159B true CN112243159B (en) | 2023-05-05 |
Family
ID=74167680
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910654458.1A Active CN112243159B (en) | 2019-07-19 | 2019-07-19 | DVB-based data processing and reading method, server, terminal and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112243159B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113395593B (en) * | 2021-08-17 | 2021-10-29 | 深圳佳力拓科技有限公司 | Data transmission method and device for digital television terminal with reduced information leakage |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015156607A1 (en) * | 2014-04-09 | 2015-10-15 | 엘지전자 주식회사 | Method and apparatus for transmitting/receiving broadcast signal |
CN105812895A (en) * | 2016-03-17 | 2016-07-27 | 张俊莲 | Video on-demand data processing method and system |
CN108900907A (en) * | 2018-07-13 | 2018-11-27 | 广州虎牙信息科技有限公司 | Encapsulated data packet method and device, electronic equipment, medium |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848188A (en) * | 2009-03-25 | 2010-09-29 | 上海聚力传媒技术有限公司 | Method and device for updating data block checking information |
CN102394899B (en) * | 2011-04-07 | 2014-05-07 | 北京奇艺世纪科技有限公司 | On-demand system and method for improving file downloading speed |
CN202334795U (en) * | 2011-10-12 | 2012-07-11 | 北京歌华有线数字媒体有限公司 | Satellite broadcasting-based mobile wireless video service system |
CN102547478B (en) * | 2012-02-20 | 2015-03-11 | 北京蓝汛通信技术有限责任公司 | Triggered slice on-demand system and method of streaming media based on CDN (Content Distribution Network) |
US9197944B2 (en) * | 2012-08-23 | 2015-11-24 | Disney Enterprises, Inc. | Systems and methods for high availability HTTP streaming |
CN104022844B (en) * | 2014-05-28 | 2017-04-12 | 北京迈伦斯科技有限公司 | Data packaging method capable of matching multiple transmission modes and system |
CN104202620A (en) * | 2014-07-04 | 2014-12-10 | 南京超聚通信科技有限公司 | System and method of implementing video on demand and review of unidirectional set-top box through mobile intelligent terminal |
CN105005829A (en) * | 2015-08-04 | 2015-10-28 | 张兴禹 | Supermarket reservation package order management system |
CN107277081A (en) * | 2016-04-06 | 2017-10-20 | 北京优朋普乐科技有限公司 | Section method for down loading and device, the stream media system of stream medium data |
CN109587514B (en) * | 2017-09-28 | 2021-08-06 | 中国移动通信有限公司研究院 | Video playing method, medium and related device |
CN108235151A (en) * | 2017-12-29 | 2018-06-29 | 北京奇虎科技有限公司 | A kind of method and apparatus of net cast |
-
2019
- 2019-07-19 CN CN201910654458.1A patent/CN112243159B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015156607A1 (en) * | 2014-04-09 | 2015-10-15 | 엘지전자 주식회사 | Method and apparatus for transmitting/receiving broadcast signal |
CN105812895A (en) * | 2016-03-17 | 2016-07-27 | 张俊莲 | Video on-demand data processing method and system |
CN108900907A (en) * | 2018-07-13 | 2018-11-27 | 广州虎牙信息科技有限公司 | Encapsulated data packet method and device, electronic equipment, medium |
Also Published As
Publication number | Publication date |
---|---|
CN112243159A (en) | 2021-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102616590B1 (en) | Transmitting device, transmitting method, receiving device, and receiving method | |
KR102151590B1 (en) | Systems and methods for link layer signaling of higher layer information | |
US20140059180A1 (en) | Carriage of ISO-BMFF Event Boxes in an MPEG-2 Transport Stream | |
CN107872422A (en) | A kind of data transmission method, device and electronic equipment | |
US20180139510A1 (en) | Apparatus and method for delivering and receiving multimedia data in hybrid network | |
US10887242B2 (en) | Apparatus for transmitting broadcast signal, apparatus for receiving broadcast signal, method for transmitting broadcast signal and method for receiving broadcast signal | |
KR102473346B1 (en) | Method and apparatus for digital broadcast services | |
US10891965B2 (en) | Method and apparatus for decoding audio bitstream including system data | |
CN112243159B (en) | DVB-based data processing and reading method, server, terminal and system | |
US11218744B2 (en) | Method and system for processing MPEG data | |
US20060215648A1 (en) | System and method for hardware based protocol conversion between audio-visual stream and ip network | |
US20090245346A1 (en) | Method and apparatus for generating and processing packet | |
US20050195857A1 (en) | Method and apparatus for extracting payload from a packetized elementary stream packet | |
CN117294685A (en) | Encoding method, decoding method, apparatus, electronic device, and storage medium | |
KR20180037307A (en) | Apparatus and method for transmitting and receiving signals in a multimedia system | |
CN105592354B (en) | A kind of data broadcasting display methods and system based on DSMCC | |
CN108174282A (en) | Error correction method, device, electronic equipment and computer storage media | |
CN115942000B (en) | H.264 format video stream transcoding method, device, equipment and medium | |
CN107026712B (en) | Code stream transmission method and device | |
CN115412741A (en) | Data packaging method, data analyzing method, data packaging device, data analyzing device, electronic equipment and readable storage medium | |
CN113115076A (en) | Video processing system, method and device, electronic equipment and storage medium | |
CN116233563A (en) | Method and system for transmitting audio and video data | |
CN115357210A (en) | Sound effect adjusting method, broadcasting equipment and computer readable storage medium | |
CN117014647A (en) | Audio and video information transmission method, system, terminal equipment and storage medium | |
CN113115087A (en) | Wireless updated content U disk and implementation method thereof |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230606 Address after: 902A, fortune Harbor International Center, block D, fortune harbor, no.1084, Baoyuan Road, fuzhongfu community, Xixiang street, Bao'an District, Shenzhen, Guangdong 518000 Patentee after: SHENZHEN JUSTEK TECHNOLOGY CO.,LTD. Address before: Room 5, 12 / F, building 1, Wanke Jincheng phase III, Guanshan village, Donghu New Technology Development Zone, Wuhan City, Hubei Province, 430000 Patentee before: Wuhan jiashichuang Technology Co.,Ltd. |
|
TR01 | Transfer of patent right |