CN108833945A - A kind of method and device flowed using single channel DMA simultaneous transmission multichannel TS - Google Patents

A kind of method and device flowed using single channel DMA simultaneous transmission multichannel TS Download PDF

Info

Publication number
CN108833945A
CN108833945A CN201810713296.XA CN201810713296A CN108833945A CN 108833945 A CN108833945 A CN 108833945A CN 201810713296 A CN201810713296 A CN 201810713296A CN 108833945 A CN108833945 A CN 108833945A
Authority
CN
China
Prior art keywords
stream
packet
mark
single channel
channel dma
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
CN201810713296.XA
Other languages
Chinese (zh)
Other versions
CN108833945B (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.)
JINGGANGSHAN ELECTRICAL APPLIANCE Co Ltd
Original Assignee
JINGGANGSHAN ELECTRICAL APPLIANCE 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 JINGGANGSHAN ELECTRICAL APPLIANCE Co Ltd filed Critical JINGGANGSHAN ELECTRICAL APPLIANCE Co Ltd
Priority to CN201810713296.XA priority Critical patent/CN108833945B/en
Publication of CN108833945A publication Critical patent/CN108833945A/en
Application granted granted Critical
Publication of CN108833945B publication Critical patent/CN108833945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4385Multiplex stream processing, e.g. multiplex stream decrypting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

It is provided by the invention it is a kind of using single channel DMA simultaneous transmission multichannel TS flow method and device, wherein method include:First bit of the TS packet of every TS stream is changed to mark ID, mark ID and TS stream have corresponding relationship;It two or more TS streams to be processed are merged into a TS flows and passes through single channel DMA and transmit;According to TS flow in the mark ID of TS packet determine TS stream belonging to TS packet, mark ID is reverted into first original bit, TS packet is sent to Interrupt Subroutine corresponding with the affiliated TS stream of TS packet.After the present invention synthesizes a TS stream by setting mark ID and by two or more TS stream to be processed, the TS packet in TS stream after CPU being enabled to judge synthesis by setting mark ID belongs to which TS stream in multichannel TS stream, realize by single channel DMA carry out simultaneous transmission multichannel TS stream, solve traditional multichannel TS spread it is defeated need multi-channel DMA transmission cause it is at high cost, occupy resources of chip more than technical problem.

Description

A kind of method and device flowed using single channel DMA simultaneous transmission multichannel TS
Technical field
The present invention relates to data transmission and processing technical field more particularly to a kind of use single channel DMA simultaneous transmission multichannels The method and device of TS stream.
Background technique
In television transmission system, the TS stream that standard is widely used carries out the transmission of digital audio/video.User is in viewing, record When program processed, it is necessary first to obtain television transmission signal by the mode of antenna or coaxial cable, then carry out frequency reducing, solution Reason is mediated, the TS comprising audio/video program information is obtained and flows.After obtaining one or two or more TS stream, it usually needs by DMA It is transmitted to CPU and is decoded processing.
DMA:Direct memory access (Direct Memory Access, DMA) is that one of computer science memory is visited Ask technology.It allows the hardware subsystem (computer peripheral equipment) inside certain computers, can independently direct read/write Installed System Memory, and It is not required to central processing unit (CPU) intervention processing.Under the processor burden of equal extent, DMA is a kind of quick data transmission Mode.The system of many hardware will use DMA, include hard disk controller, drawing video card, network interface card and sound card.
TS stream:It includes audio, view that English name Transport Stream, also known as transport stream, which are a kind of transimission and storages, The reference format of frequency and the various data of communication protocol is used for digital television broadcasting system, such as DVB, ATSC, IPTV.
IP:English name Intellectual Property is integrated circuit and the modularization side that FPGA function is realized Formula.By required Functional Design at individual module, developer is taken chip design vendors with these modules for having already passed through verifying Circuit is built, design schedule can be greatly accelerated.
In the acquisition of existing TS stream, retransmission technique, if to handle the forwarding of two or more TS stream simultaneously, need to make With the DMA or multiple DMA of multichannel, these methods are furnished with a dedicated DMA channel to every TS stream, and CPU is according to DMA Setting go to handle the TS data in corresponding memory.
The forwarding that the prior art is flowed by using multi-channel DMA or multiple DMA progress two or more TS, and these DMA Design cost it is very high, firstly, this IP of multi-channel DMA implements complexity, the resources of chip of occupancy is more than single channel DMA It is more;Secondly, the difference of TS stream quantity, the channel of DMA will also follow modification, flexibility ratio is insufficient.
Summary of the invention
The present invention provides a kind of method and devices flowed using single channel DMA simultaneous transmission multichannel TS, pass for solving The multichannel TS of system spread it is defeated need multi-channel DMA or multiple DMA transfers cause it is at high cost, occupy resources of chip more than technology ask Topic.
A kind of method flowed using single channel DMA simultaneous transmission multichannel TS provided by the invention, including:
S1:First bit of the TS packet of every TS stream is changed to mark ID, the mark ID and has corresponding pass with TS stream System;
S2:It two or more TS streams to be processed are merged into a TS flows and passes through single channel DMA and transmit;
S3:The mark ID for reading the TS packet in the TS stream by single channel DMA transfer, determines belonging to TS packet according to mark ID TS stream, mark ID is reverted into first original bit, TS packet is sent to the corresponding interruption of the TS stream affiliated with TS packet Processing subroutine.
Preferably, further include after the step S1, before step S2:
X:More than two TS packages in same TS stream are synthesized into a TS packet, the starting of TS packet is regenerated, terminates Mark.
Preferably, further include after the step S2, before step S3:
Y:Contracting for fixed output quotas every the TS of preset quantity, life is primary to be interrupted.
Preferably, the mark ID is specially numerical value i, wherein i indicates i-th TS stream.
A kind of device flowed using single channel DMA simultaneous transmission multichannel TS provided by the invention, including:
Sign module, first bit of the TS packet for flowing every TS are changed to mark ID, the mark ID and TS stream Has corresponding relationship;
TS highway switching flows for two or more TS streams to be processed to be merged into a TS and passes through single channel DMA is transmitted;
CPU determines TS according to mark ID for reading the mark ID of the TS packet in the TS stream by single channel DMA transfer Mark ID is reverted to first original bit by TS stream belonging to packet, TS packet is sent to corresponding with TS stream belonging to TS packet Interrupt Subroutine.
Preferably, which further includes:
Composite module regenerates TS packet for more than two TS packages in same TS stream to be synthesized a TS packet Starting, end mark.
Preferably, which further includes:
Single channel DMA is used for transmission TS stream and contracts for fixed output quotas every the TS of preset quantity and gives birth to primary interrupt to CPU.
Preferably, the mark ID is specially numerical value i, wherein i indicates i-th TS stream.
A kind of device flowed using single channel DMA simultaneous transmission multichannel TS provided by the invention, including:
Memory, for storing instruction;
Processor is coupled to the memory, the processor is configured to the instruction based on memory storage is held Row realizes such as above-mentioned method.
A kind of computer readable storage medium provided by the invention is stored with calculating on the computer readable storage medium Machine program is realized when the computer program is executed by processor such as the step of above-mentioned method.
As can be seen from the above technical solutions, the present invention has the following advantages that:
A kind of method flowed using single channel DMA simultaneous transmission multichannel TS provided by the invention, including:S1:By every TS First bit of the TS packet of stream is changed to mark ID, the mark ID and TS stream has corresponding relationship;S2:By to be processed two The above TS stream, which merges into a TS and flows and pass through single channel DMA, to be transmitted;S3:It reads and is flowed by the TS of single channel DMA transfer In TS packet mark ID, determine that the TS belonging to TS packet flows according to mark ID, will indicate that ID reverts to first original bit, TS packet is sent to Interrupt Subroutine corresponding with TS stream belonging to TS packet.The present invention passes through setting mark ID and will be to TS after two or more the TS stream of processing synthesizes a TS stream, after CPU being enabled to judge synthesis by setting mark ID TS packet in stream belongs to which TS stream in multichannel TS stream, and gives corresponding Interrupt Subroutine processing, realizes logical It crosses single channel DMA and carries out simultaneous transmission multichannel TS stream, solve traditional multichannel TS and spread and defeated need multi-channel DMA or multiple DMA transfer leads to technical problem at high cost, more than occupancy resources of chip.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of one embodiment of method using single channel DMA simultaneous transmission multichannel TS stream provided by the invention Flow chart;
Fig. 2 is a kind of another implementation of method using single channel DMA simultaneous transmission multichannel TS stream provided by the invention The flow chart of example;
Fig. 3 is a kind of another implementation of method using single channel DMA simultaneous transmission multichannel TS stream provided by the invention The schematic diagram of description flags ID is used in example;
Fig. 4 is a kind of another implementation of method using single channel DMA simultaneous transmission multichannel TS stream provided by the invention For illustrating that multiple TS packages are combined into the schematic diagram of a TS packet in example;
Fig. 5 is a kind of another implementation of method using single channel DMA simultaneous transmission multichannel TS stream provided by the invention For illustrating that TS spreads defeated schematic diagram in example;
Fig. 6 is a kind of another implementation of method using single channel DMA simultaneous transmission multichannel TS stream provided by the invention The schematic diagram interrupted in example for illustrating CPU.
Specific embodiment
The present invention provides a kind of method and devices flowed using single channel DMA simultaneous transmission multichannel TS, pass for solving The multichannel TS of system spread it is defeated need multi-channel DMA or multiple DMA transfers cause it is at high cost, occupy resources of chip more than technology ask Topic.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention Range.
Referring to Fig. 1, an a kind of reality of method using single channel DMA simultaneous transmission multichannel TS stream provided by the invention Example is applied, including:
101:First bit of the TS packet of every TS stream is changed to mark ID, the mark ID and has corresponding pass with TS stream System;
First bit byte of standard TS stream is fixed as hexadecimal 0x47, can be replaced with mark ID.
It is numerical value i that the corresponding relationship, which can be mark ID, and i indicates i-th TS stream, is also possible to indicate that ID is j, j passes through Series of algorithms obtains numerical value i after calculating, i indicates that i-th TS flows, in the present embodiment without limitation.
102:It two or more TS streams to be processed are merged into a TS flows and passes through single channel DMA and transmit;
The execution module of the step can be conventional stream bus switch.
103:The mark ID for reading the TS packet in the TS stream by single channel DMA transfer determines TS packet institute according to mark ID The TS of category flows, and mark ID is reverted to first original bit, TS packet is sent in corresponding with TS stream belonging to TS packet Disconnected processing subroutine.
Each TS stream has its corresponding Interrupt Subroutine, reverts to first original bit in mark ID Afterwards, Interrupt Subroutine can handle TS packet according to the normal flow of the prior art.
After the present invention synthesizes a TS stream by setting mark ID and by two or more TS stream to be processed, pass through setting Mark ID can enable CPU to judge that the TS packet in the TS stream after synthesizing belongs to which TS stream in multichannel TS stream, and hand over The processing of corresponding Interrupt Subroutine is given, realizes and simultaneous transmission multichannel TS stream is carried out by single channel DMA, solve tradition Multichannel TS spread it is defeated need multi-channel DMA or multiple DMA transfers cause it is at high cost, occupy resources of chip more than technical problem.
It is to a kind of implementation of the method using single channel DMA simultaneous transmission multichannel TS stream provided by the invention above Example is described in detail, below will be to a kind of method flowed using single channel DMA simultaneous transmission multichannel TS provided by the invention Another embodiment be described in detail.
Referring to Fig. 2, another of a kind of method using single channel DMA simultaneous transmission multichannel TS stream provided by the invention Embodiment, including:
201:First bit of the TS packet of every TS stream is changed to mark ID, the mark ID and has corresponding pass with TS stream System;
As shown in figure 3, first bit of the TS packet of every TS stream is changed to the mark ID of this TS stream, so that rear end Process flow can distinguish each packet and flow from which TS.Indicate that ID is specially numerical value i, wherein i indicates i-th TS stream.With i-th TS stream citing, the first character section 0x47 of all TS packets, which is replaced by, indicates i.
202:More than two TS packages in same TS stream are synthesized into a TS packet, regenerate starting, the knot of TS packet Bundle flag;
As shown in figure 4, multiple TS packages of every TS stream are synthesized 1 long packet.It is cut the purpose for the arrangement is that mitigating TS stream The TS bus arbitration frequency of switch is changed, to reduce the interruption times of arbitration required clock frequency and CPU.
203:It two or more TS streams to be processed are merged into a TS flows and passes through single channel DMA and transmit;
Referring to Fig. 5, a plurality of TS stream passes through TS highway switching, it is merged into a TS stream.Due to by step 201, The processing of step 202, this TS bus switch can be conventional stream bus switch, and every TS stream has caching.Bus arbitration It when TS flows, is carried out according to the length of TS packet, when detecting TS inclusion bundle flag, this time arbitration terminates, and starts new arbitration.It closes At 1 TS stream by single channel DMA transfer to memory and CPU.
204:Contracting for fixed output quotas every the TS of preset quantity, life is primary to be interrupted.
Single channel DMA is arranged to several TS long packet and generates primary interruption, since step 202 includes multiple TS At 1 long packet, so that in the case where same TS stream transmission rate, DMA interrupts the number generated and reduces at multiple, in CPU Disconnected response times are also reduced at double.
205:The mark ID for reading the TS packet in the TS stream by single channel DMA transfer determines TS packet institute according to mark ID The TS of category flows, and mark ID is reverted to first original bit, TS packet is sent in corresponding with TS stream belonging to TS packet Disconnected processing subroutine.
Referring to Fig. 6, in CPU interrupt processing, since data are sent into specified memory physical address, CPU by DMA In each interrupt, corresponding address is gone to go to read data.When reading first bit is i, CPU judges that this is i-th The packet of TS stream, then restores it into 0x47, then gives the TS packet after recovery to corresponding Interrupt Subroutine.
Therefore, the embodiment of the present invention can use improved TS and flow so that single channel DMA while handling, transmitting a plurality of TS Stream.The TS packet of every TS stream is increased into flag bit first, this flag bit is placed on the bit of first TS packet.It again will be multiple new TS package synthesize TS long and wrap, regenerate starting, the end mark of packet.All TS streams be synthesized all the way TS stream after to DMA, DMA, which generate to interrupt, gives CPU processing, and CPU elder generation judgement symbol position, then recovering mark position, recalls in each TS stream Disconnected processing subroutine.
The present invention flows into line flag to TS, re-groups package processing, allow to using single channel DMA can be with simultaneous transmission at Manage a plurality of TS stream.Make in the design of FPGA design or integrated circuit in this way, without designing multi-channel DMA, it is only necessary to simple Processing and transmission while TS flows can be completed using single channel DMA.
It is to a kind of another reality of the method using single channel DMA simultaneous transmission multichannel TS stream provided by the invention above Example is applied to be described in detail, it below will be to a kind of dress flowed using single channel DMA simultaneous transmission multichannel TS provided by the invention The one embodiment set is described in detail.
A kind of one embodiment of device using single channel DMA simultaneous transmission multichannel TS stream provided by the invention, including:
Sign module, first bit of the TS packet for flowing every TS are changed to mark ID, the mark ID and TS stream Has corresponding relationship;
TS highway switching flows for two or more TS streams to be processed to be merged into a TS and passes through single channel DMA is transmitted;
CPU determines TS according to mark ID for reading the mark ID of the TS packet in the TS stream by single channel DMA transfer Mark ID is reverted to first original bit by TS stream belonging to packet, TS packet is sent to corresponding with TS stream belonging to TS packet Interrupt Subroutine.
Composite module regenerates TS packet for more than two TS packages in same TS stream to be synthesized a TS packet Starting, end mark.
Single channel DMA is used for transmission TS stream and contracts for fixed output quotas every the TS of preset quantity and gives birth to primary interrupt to CPU.
Indicate that ID is specially numerical value i, wherein i indicates i-th TS stream.
It is to a kind of another reality of the device using single channel DMA simultaneous transmission multichannel TS stream provided by the invention below Example is applied to be described in detail.
A kind of another embodiment of device using single channel DMA simultaneous transmission multichannel TS stream provided by the invention, packet It includes:
Memory, for storing instruction;
Processor is coupled to the memory, the processor is configured to the instruction based on memory storage is held Row realizes the method such as above-described embodiment.
It is that a kind of computer readable storage medium provided by the invention is described in detail below.
A kind of computer readable storage medium provided by the invention is stored with calculating on the computer readable storage medium Machine program, when the computer program is executed by processor the step of the realization such as method of above-described embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit That each unit physically exists alone, can also more than two units be integrated in one unit.Above-mentioned integrated unit both may be used To use formal implementation of hardware, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read- OnlyMemory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various to deposit Store up the medium of program code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that:It still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of method flowed using single channel DMA simultaneous transmission multichannel TS, which is characterized in that including:
S1:First bit of the TS packet of every TS stream is changed to mark ID, the mark ID and TS stream has corresponding relationship;
S2:It two or more TS streams to be processed are merged into a TS flows and passes through single channel DMA and transmit;
S3:The mark ID for reading the TS packet in the TS stream by single channel DMA transfer determines TS belonging to TS packet according to mark ID Mark ID is reverted to first original bit by stream, and TS packet is sent to interrupt processing corresponding with TS stream belonging to TS packet Subprogram.
2. a kind of method flowed using single channel DMA simultaneous transmission multichannel TS according to claim 1, which is characterized in that Further include after the step S1, before step S2:
X:More than two TS packages in same TS stream are synthesized into a TS packet, regenerate starting, the end mark of TS packet.
3. a kind of method flowed using single channel DMA simultaneous transmission multichannel TS according to claim 1, which is characterized in that Further include after the step S2, before step S3:
Y:Contracting for fixed output quotas every the TS of preset quantity, life is primary to be interrupted.
4. a kind of method flowed using single channel DMA simultaneous transmission multichannel TS according to claim 1, which is characterized in that The mark ID is specially numerical value i, wherein i indicates i-th TS stream.
5. a kind of device flowed using single channel DMA simultaneous transmission multichannel TS, which is characterized in that including:
Sign module, first bit of the TS packet for flowing every TS are changed to mark ID, and the mark ID and TS stream has Corresponding relationship;
TS highway switching, for by two or more TS streams to be processed merge into a TS flow and pass through single channel DMA into Row transmission;
CPU determines TS packet institute according to mark ID for reading the mark ID of the TS packet in the TS stream by single channel DMA transfer The TS of category flows, and mark ID is reverted to first original bit, TS packet is sent in corresponding with TS stream belonging to TS packet Disconnected processing subroutine.
6. a kind of device flowed using single channel DMA simultaneous transmission multichannel TS according to claim 5, which is characterized in that Further include:
Composite module regenerates rising for TS packet for more than two TS packages in same TS stream to be synthesized a TS packet Begin, end mark.
7. a kind of device flowed using single channel DMA simultaneous transmission multichannel TS according to claim 5, which is characterized in that Further include:
Single channel DMA is used for transmission TS stream and contracts for fixed output quotas every the TS of preset quantity and gives birth to primary interrupt to CPU.
8. a kind of device flowed using single channel DMA simultaneous transmission multichannel TS according to claim 5, which is characterized in that The mark ID is specially numerical value i, wherein i indicates i-th TS stream.
9. a kind of device flowed using single channel DMA simultaneous transmission multichannel TS, which is characterized in that including:
Memory, for storing instruction;
Processor is coupled to the memory, the processor is configured to the instruction execution based on memory storage is real Now method according to any one of claims 1 to 4.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium The step of program, the computer program realizes method according to any one of claims 1 to 4 when being executed by processor.
CN201810713296.XA 2018-06-29 2018-06-29 Method and device for simultaneously transmitting multiple TS streams by using single-channel DMA (direct memory Access) Active CN108833945B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810713296.XA CN108833945B (en) 2018-06-29 2018-06-29 Method and device for simultaneously transmitting multiple TS streams by using single-channel DMA (direct memory Access)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810713296.XA CN108833945B (en) 2018-06-29 2018-06-29 Method and device for simultaneously transmitting multiple TS streams by using single-channel DMA (direct memory Access)

Publications (2)

Publication Number Publication Date
CN108833945A true CN108833945A (en) 2018-11-16
CN108833945B CN108833945B (en) 2021-12-17

Family

ID=64135160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810713296.XA Active CN108833945B (en) 2018-06-29 2018-06-29 Method and device for simultaneously transmitting multiple TS streams by using single-channel DMA (direct memory Access)

Country Status (1)

Country Link
CN (1) CN108833945B (en)

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1236267A (en) * 1998-03-09 1999-11-24 索尼公司 Video editing apparatus and video editing method
CN1324154A (en) * 2000-02-21 2001-11-28 松下电器产业株式会社 Digital broadcast receiving device
CN101262610A (en) * 2008-03-27 2008-09-10 复旦大学 A playing system for AVS-TS programs at portable terminal
EP1995732A1 (en) * 2007-05-23 2008-11-26 Sony Corporation Transmission system, recording apparatus, transmission method, recording method and program
EP2071850A1 (en) * 2007-12-10 2009-06-17 Alcatel Lucent Intelligent wrapping of video content to lighten downstream processing of video streams
EP2086234A1 (en) * 2006-10-17 2009-08-05 Panasonic Corporation Digital data receiver
CN101500157A (en) * 2008-12-31 2009-08-05 深圳市同洲电子股份有限公司 Method and apparatus for converting access unit into transmission flow
WO2009131378A2 (en) * 2008-04-22 2009-10-29 Samsung Electronics Co., Ltd. Transmitting additional information in the headers of encapsulating data packets in mobile/handheld (m/h) dtv signals
US20120099521A1 (en) * 2010-10-25 2012-04-26 Electronics And Telecommunications Research Center district dual mode network synchronization acquisition method and apparatus for satellite communication system
CN102447949A (en) * 2011-08-24 2012-05-09 上海文广科技(集团)有限公司 High efficient frame-accurate TS stream splicing method
CN102523483A (en) * 2011-12-27 2012-06-27 惠州市伟乐科技有限公司 Method and device for transmission of control state information and multiple TSs
US8270807B2 (en) * 2009-07-13 2012-09-18 Panasonic Corporation Recording medium, playback device, and integrated circuit
CN102916936A (en) * 2011-08-05 2013-02-06 中国科学院声学研究所 IP data encapsulating method and system applicable to IP over DVB (digital video broadcasting)
EP2680595A1 (en) * 2012-06-25 2014-01-01 ITE Tech. Inc Apparatus and method thereof for multiplexing transport streams to a transport stream
CN103607597A (en) * 2013-12-06 2014-02-26 北京牡丹视源电子有限责任公司 Method and device for processing test transport stream containing multiple channels of PCRs
CN104079897A (en) * 2014-07-08 2014-10-01 中广联合移动电视系统有限公司 Mobile satellite television receiving system
US20150007245A1 (en) * 2011-05-23 2015-01-01 Broadcom Corporation Multiplexing, synchronizing, and assembling multiple audio/video (a/v) streams in a media gateway
CN104936006A (en) * 2015-06-01 2015-09-23 北京数码视讯科技股份有限公司 Method, device and system for transmitting program information table
CN106488259A (en) * 2016-10-25 2017-03-08 上海网达软件股份有限公司 A kind of virtual joining method of HLS Streaming Media burst and system
CN106850644A (en) * 2017-02-17 2017-06-13 山东浪潮商用系统有限公司 A kind of method that TS bags PID modifications are realized based on Java language
CN108153873A (en) * 2017-12-22 2018-06-12 深圳Tcl新技术有限公司 Compression method, television set and the readable storage medium storing program for executing of recorded file

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1236267A (en) * 1998-03-09 1999-11-24 索尼公司 Video editing apparatus and video editing method
CN1324154A (en) * 2000-02-21 2001-11-28 松下电器产业株式会社 Digital broadcast receiving device
EP2086234A1 (en) * 2006-10-17 2009-08-05 Panasonic Corporation Digital data receiver
EP1995732A1 (en) * 2007-05-23 2008-11-26 Sony Corporation Transmission system, recording apparatus, transmission method, recording method and program
EP2071850A1 (en) * 2007-12-10 2009-06-17 Alcatel Lucent Intelligent wrapping of video content to lighten downstream processing of video streams
CN101262610A (en) * 2008-03-27 2008-09-10 复旦大学 A playing system for AVS-TS programs at portable terminal
WO2009131378A2 (en) * 2008-04-22 2009-10-29 Samsung Electronics Co., Ltd. Transmitting additional information in the headers of encapsulating data packets in mobile/handheld (m/h) dtv signals
CN101500157A (en) * 2008-12-31 2009-08-05 深圳市同洲电子股份有限公司 Method and apparatus for converting access unit into transmission flow
US8270807B2 (en) * 2009-07-13 2012-09-18 Panasonic Corporation Recording medium, playback device, and integrated circuit
US20120099521A1 (en) * 2010-10-25 2012-04-26 Electronics And Telecommunications Research Center district dual mode network synchronization acquisition method and apparatus for satellite communication system
US20150007245A1 (en) * 2011-05-23 2015-01-01 Broadcom Corporation Multiplexing, synchronizing, and assembling multiple audio/video (a/v) streams in a media gateway
CN102916936A (en) * 2011-08-05 2013-02-06 中国科学院声学研究所 IP data encapsulating method and system applicable to IP over DVB (digital video broadcasting)
CN102447949A (en) * 2011-08-24 2012-05-09 上海文广科技(集团)有限公司 High efficient frame-accurate TS stream splicing method
CN102523483A (en) * 2011-12-27 2012-06-27 惠州市伟乐科技有限公司 Method and device for transmission of control state information and multiple TSs
EP2680595A1 (en) * 2012-06-25 2014-01-01 ITE Tech. Inc Apparatus and method thereof for multiplexing transport streams to a transport stream
CN103607597A (en) * 2013-12-06 2014-02-26 北京牡丹视源电子有限责任公司 Method and device for processing test transport stream containing multiple channels of PCRs
CN104079897A (en) * 2014-07-08 2014-10-01 中广联合移动电视系统有限公司 Mobile satellite television receiving system
CN104936006A (en) * 2015-06-01 2015-09-23 北京数码视讯科技股份有限公司 Method, device and system for transmitting program information table
CN106488259A (en) * 2016-10-25 2017-03-08 上海网达软件股份有限公司 A kind of virtual joining method of HLS Streaming Media burst and system
CN106850644A (en) * 2017-02-17 2017-06-13 山东浪潮商用系统有限公司 A kind of method that TS bags PID modifications are realized based on Java language
CN108153873A (en) * 2017-12-22 2018-06-12 深圳Tcl新技术有限公司 Compression method, television set and the readable storage medium storing program for executing of recorded file

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
THOMAS STOCKHAMMER: ""MPEG"s Dynamic Adaptive Streaming over HTTP (DASH)- Enabling Formats for Video Streaming over the Open Internet"", 《BOGOTOBOGO》 *
王洪娟: ""面向DVB-S2协议的信息隐藏技术研究"", 《中国优秀硕士学位论文全文数据库》 *

Also Published As

Publication number Publication date
CN108833945B (en) 2021-12-17

Similar Documents

Publication Publication Date Title
US6266727B1 (en) Isochronous data pipe for managing and manipulating a high-speed stream of isochronous data flowing between an application and a bus structure
US7096310B2 (en) Switch configurable for a plurality of communication protocols
JP6150886B2 (en) Multiprotocol tunneling using time-division operation
EP0619036B1 (en) Method and apparatus for processing data within stations of a communication network
US6247083B1 (en) Method and apparatus for bi-directionally transferring data between an IEEE 1394 bus and a device to be controlled by a control signal transmitted via the bus
US20070115995A1 (en) NoC system employing AXI protocol and interleaving method thereof
CN104025069B (en) Serial line interface for FPGA prototypes
CN108595353A (en) A kind of method and device of the control data transmission based on PCIe buses
US7484034B2 (en) Microcontrol architecture for a system on a chip (SoC)
JP2012501012A (en) Integrated multi-transfer media connector architecture
JP2014017006A (en) Method and apparatus for enabling id based streams over pci express
CN105630446B (en) A kind of processing system for video based on FPGA technology
CN108462620B (en) Gilbert-level SpaceWire bus system
CN105573922A (en) Method and device for realizing data format conversion
WO2013164390A1 (en) Method and device for emulating a bus system
CN101212480B (en) Method and apparatus for communication between universal serial bus (USB) host and USB device
CN108833945A (en) A kind of method and device flowed using single channel DMA simultaneous transmission multichannel TS
US8032672B2 (en) Increased speed of processing of audio samples received over a serial communications link by use of channel map and steering table
US8886856B1 (en) Methods and apparatus for communicating low-latency word category over multi-lane link
CN106585104A (en) Regenerated chip and contact control method thereof
KR100497166B1 (en) Apparatus and method for processing streams of data
RU2486581C1 (en) Parallel computing circuit with programmable architecture
JP4184458B2 (en) Method for extracting control information from packet data received by communication interface and video data packet control circuit
CN110266831A (en) IP Camera address configuration method, device, system and the storage medium of video recorder
CN113615130B (en) Sample-based data transmission over a low-level communication channel

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