[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110099086A - A kind of data transmission method based on fusion Transmission system - Google Patents

A kind of data transmission method based on fusion Transmission system Download PDF

Info

Publication number
CN110099086A
CN110099086A CN201810094159.2A CN201810094159A CN110099086A CN 110099086 A CN110099086 A CN 110099086A CN 201810094159 A CN201810094159 A CN 201810094159A CN 110099086 A CN110099086 A CN 110099086A
Authority
CN
China
Prior art keywords
fusion
file
transmission block
fusion transmission
request
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
CN201810094159.2A
Other languages
Chinese (zh)
Other versions
CN110099086B (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.)
Guoguang Fusion (beijing) Media Science And Technology Development Co Ltd
Original Assignee
Guoguang Fusion (beijing) Media Science And Technology Development 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 Guoguang Fusion (beijing) Media Science And Technology Development Co Ltd filed Critical Guoguang Fusion (beijing) Media Science And Technology Development Co Ltd
Priority to CN201810094159.2A priority Critical patent/CN110099086B/en
Priority to PCT/CN2019/071616 priority patent/WO2019149053A1/en
Publication of CN110099086A publication Critical patent/CN110099086A/en
Application granted granted Critical
Publication of CN110099086B publication Critical patent/CN110099086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1809Selective-repeat protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A kind of data transmission method based on fusion Transmission system provided by the present application, which comprises obtain file to be sent;The Document encapsulation is formed into fusion transport stream at least one fusion transmission block and is sent to terminal side;Receive the fusion transmission block retransmission request from terminal side;It obtains the fusion transmission block that needs to retransmit in the fusion transmission block retransmission request, and is encapsulated as the fusion transmission block to merge transmission block and reissues response and be sent to terminal side;It may be implemented to handle data using the above method, generate the fusion transport stream of unified format, the fusion transport stream can be broadcasted by radio networks such as satellites and internet two ways is transferred to convergent terminal, and when data received on the broadcasting links such as satellite occur error or lose, convergent terminal can will retransmit the data of loss or error by the two-way link of mobile radio communication, to guarantee the reliability of data receiver.

Description

A kind of data transmission method based on fusion Transmission system
Technical field
This application involves digital multimedia broadcasting technical field, in particular to a kind of data based on fusion Transmission system pass Transmission method.
Background technique
Currently, relying solely on traditional broadcast net or traditional two-way to cope with the rapid growth of information service demand Believe net, all cannot achieve the optimization transmission of mobile message business.Traditional broadcast net uses great Qu networking mode, coverage area Greatly, One-to-All Broadcast is high-efficient, is conducive to the broadcast and push of common service content;But do not have uplink return path, it can not It realizes program request or broadband access, is unfavorable for the transmission of individualized content.
Existing mobile radio communication uses Small Section Mode beehive net mode, and coverage area is small, and two-way communication is high-efficient, is conducive to The transmission of individualized content, but the low efficiency broadcasted and pushed, are unfavorable for the broadcast and push of common service content.
In this case, industry is broadcasted and communicates on the one hand in the broadcast of research and development a new generation and the communication technology respectively, to mention Rise the transmission rate and the availability of frequency spectrum of respective system;On the other hand in the Novel net for trying to explore broadcast and mobile communication fusion Network framework and access technology, to make full use of radio network and mobile radio communication to the advantage of carrying different business, targetedly Internet resources and frequency spectrum resource are distributed, optimal transmission mode is selected, promotes the whole wireless frequency spectrum utilization rate of network and system.
Therefore, how by traditional wireless communication system in conjunction with the advantages of television broadcasting system, realize the fusion of data It transmits, and how just can guarantee the reliability of data receiver when data occur and lose or malfunction, be present urgent need to resolve Major issue.
Summary of the invention
In view of this, the embodiment of the present application provide it is a kind of based on fusion Transmission system data transmission method and device, Equipment and storage medium are calculated, to solve technological deficiency existing in the prior art.
The embodiment of the present application discloses a kind of data transmission method based on fusion Transmission system, is applied to converged services device End, comprising:
Obtain file to be sent;
The Document encapsulation is formed into fusion transport stream at least one fusion transmission block and is sent to terminal side, wherein Each fusion transmission block carries block serial number;
The fusion transmission block retransmission request from terminal side is received, the fusion transmission block retransmission request includes fusion transmission The fusion transmission block block serial number list of traffic identifier and request retransmission, or including fusion transport stream identification and file serial number;
The fusion transmission block for needing to retransmit in the fusion transmission block retransmission request is obtained, and the fusion transmission block is sealed Dress reissues response for fusion transmission block and is sent to terminal side.
On the other hand, it the embodiment of the present application also provides a kind of data transmission method based on fusion transmission block system, answers For terminal side, comprising:
Receive fusion transport stream;
It parses all fusion transmission blocks in the fusion transport stream and caches, wherein each fusion transmission block is taken With block serial number;
When determining the fusion transmission lost block in the fusion transport stream, fusion transmission block re-transmission is sent to server side and is asked It asks;
Receive the fusion transmission for carrying fusion transport stream identification, the fusion transmission block number of request retransmission and request retransmission The fusion transmission block of block number evidence reissues response;
The fusion transmission block of the fusion transport stream identification, request retransmission that carry in response is reissued according to the fusion transmission block The fusion transport block data of number and request retransmission determines that the fusion transmission block in the fusion transport stream of caching is complete.
On the other hand, it the embodiment of the present application also provides a kind of calculating equipment, including memory, processor and is stored in On reservoir and the computer program that can run on a processor, the processor perform the steps of when executing described program
Obtain file to be sent;
The Document encapsulation is formed into fusion transport stream at least one fusion transmission block and is sent to terminal side, wherein Each fusion transmission block carries block serial number;
The fusion transmission block retransmission request from terminal side is received, the fusion transmission block retransmission request includes fusion transmission The fusion transmission block block serial number list of traffic identifier and request retransmission, or including fusion transport stream identification and file serial number;
The fusion transmission block for needing to retransmit in the fusion transmission block retransmission request is obtained, and the fusion transmission block is sealed Dress reissues response for fusion transmission block and is sent to terminal side.
On the other hand, it the embodiment of the present application also provides a kind of calculating equipment, including memory, processor and is stored in On reservoir and the computer program that can run on a processor, the processor perform the steps of when executing described program
Receive fusion transport stream;
It parses all fusion transmission blocks in the fusion transport stream and caches, wherein each fusion transmission block is taken With block serial number;
When determining the fusion transmission lost block in the fusion transport stream, fusion transmission block re-transmission is sent to server side and is asked It asks;
Receive the fusion transmission for carrying fusion transport stream identification, the fusion transmission block number of request retransmission and request retransmission The fusion transmission block of block number evidence reissues response;
The fusion transmission block of the fusion transport stream identification, request retransmission that carry in response is reissued according to the fusion transmission block The fusion transport block data of number and request retransmission determines that the fusion transmission block in the fusion transport stream of caching is complete.
On the other hand, described computer-readable to deposit the embodiment of the present application also provides a kind of computer readable storage medium Storage media is stored with computer program, realizes when the computer program is executed by processor and is applied to the described of server side Based on the step in the data transmission method for merging Transmission system or applied to the described based on fusion Transmission system of terminal side Data transmission method in step.
A kind of data transmission method based on fusion Transmission system, calculating equipment and storage medium provided by the present application, In, which comprises obtain file to be sent;The Document encapsulation is formed into fusion at least one fusion transmission block Transport stream is sent to terminal side, wherein each fusion transmission block carries block serial number;Receive the fusion transmission from terminal side Block retransmission request, the fusion transmission block retransmission request includes merging the fusion transmission block block sequence of transport stream identification and request retransmission Number list, or including fusion transport stream identification and file serial number;It obtains and needs to retransmit in the fusion transmission block retransmission request Fusion transmission block, and the fusion transmission block is encapsulated as fusion transmission block and reissues response and is sent to terminal side;Using above-mentioned Method may be implemented to handle data, generate the fusion transport stream of unified format, which can pass through satellite etc. Radio network broadcast and internet two ways are transferred to convergent terminal, and convergent terminal can be received simultaneously from radio networks such as satellites With the signal from mobile radio communication, and when data received on the broadcasting links such as satellite occur error or lose when, fusion Terminal can will retransmit the data of loss or error by the two-way link of mobile radio communication, to guarantee the reliable of data receiver Property.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the fusion Transmission system of the embodiment of the present application;
Fig. 2 is the structural representation of the protocol stack based on fusion Transmission system for server side of the embodiment of the present application Figure;
Fig. 3 is the structural schematic diagram of the protocol stack based on fusion Transmission system for terminal side of the embodiment of the present application;
Fig. 4 is the structural schematic diagram of the fusion transport stream of the embodiment of the present application;
Fig. 5 is the structural schematic diagram of the fusion transmission block of the embodiment of the present application;
Fig. 6 is that the file of the embodiment of the present application describes the structural schematic diagram of head;
Fig. 7 is each fusion transport stream of the embodiment of the present application in the wireless NGB-W/S channel of next-generation radio and television Mapping process schematic diagram;
Fig. 8 is mapping of each fusion transport stream of the embodiment of the present application in digital broadcasting satellite system DVB-S channel Process schematic;
Fig. 9 is a kind of flow chart of data transmission method based on fusion Transmission system of the embodiment of the present application;
Figure 10 is a kind of flow chart of data transmission method based on fusion Transmission system of the embodiment of the present application;
Figure 11 is the structural schematic diagram of the paragraph header of the embodiment of the present application;
Figure 12 is the fusion transmission block package structure diagram of the embodiment of the present application;
Figure 13 is the fusion transmission block package structure diagram of the embodiment of the present application;
Figure 14 is the fusion transmission block package structure diagram of the embodiment of the present application;
Figure 15 is the fusion transmission block package structure diagram of the embodiment of the present application;
Figure 16 is that the terminal of the embodiment of the present application is sending schematic diagram of the UDP retransmission request to server request retransmission;
Figure 17 is that the terminal of the embodiment of the present application is sending schematic diagram of the HTTP retransmission request to server request retransmission;
Figure 18 is a kind of flow chart of data transmission method based on fusion Transmission system of the embodiment of the present application;
Figure 19 is a kind of flow chart of data transmission method based on fusion Transmission system of the embodiment of the present application;
Figure 20 is a kind of flow chart of data transmission method based on fusion Transmission system of the embodiment of the present application;
Figure 21 is a kind of flow chart of data transmission method based on fusion Transmission system of the embodiment of the present application;
Figure 22 is a kind of structural schematic diagram of data transmission device based on fusion Transmission system of the embodiment of the present application;
Figure 23 is a kind of structural schematic diagram of data transmission device based on fusion Transmission system of the embodiment of the present application.
Specific embodiment
Many details are explained in the following description in order to fully understand the application.But the application can be with Much it is different from other way described herein to implement, those skilled in the art can be without prejudice to the application intension the case where Under do similar popularization, therefore the application is not limited by following public specific implementation.
In this application, " first ", " second ", " third " etc. are only used for mutual differentiation, rather than indicate significance level and Sequentially and each other existing premise etc..
In this application, provide it is a kind of based on fusion Transmission system data transmission method and device, calculate equipment and Storage medium is described in detail one by one in the following embodiments.
The vocabulary of terms that can be related to herein below is explained first.
Business (service) --- under the control of broadcaster, a series of programs or data that can be broadcast live.
Satellite mobile multimedia (mobile satellite multimedia) --- by satellite communication network to movement The multimedia service that terminal provides, such as audio-video, program request and data transmission service.
Satellite broadcasting net (satellite broadcast network) --- it is provided based on geo-synchronous orbit satellite The network of audio-video-frequency broadcast and other information service.
Mobile radio communication (mobile communication network) --- it is provided based on ground base station mobile logical Letter and bidirectional data transfers network, including 2G/ it is two-way/xG.
(network converged transmission) is transmitted in the network integration --- and the same business is wide using satellite Two kinds of internet channels of net and mobile radio communication are broadcast to be transmitted to improve the transmission side of Service coverage and service reliability Formula.
Transport stream (MPEG2-TS, also known as TS) --- for the communication protocol of audio, image and data, for encapsulating sound view The composite information stream of frequency media data.
Fusion transmission block (converged transport block) --- it is a kind of for carrying determining for upper-layer service data Long pack arrangement.
Fusion transport stream (converged transport stream) --- it can by continuously merge that transmission block forms Transmit the composite information stream of multiple business.
Physical channel (physical pipe) --- occupy certain channel resource and independently can be encoded and be modulated Physical layer channel.
Unified resource descriptor (uniform resource identifier) --- one for identifying a certain internet The character string of resource name, this kind mark allow user to pass through specific agreement to the resource of any (including local and internet) Interact operation.
Before introducing the technical solution of the application, the framework that Transmission system is merged involved in the application is carried out first Explanation.
The framework of Transmission system 10 is merged referring to Fig. 1.In fusion Transmission system 10, (such as sound regards various businesses platform 101 Frequency broadcasting service, data-pushing business etc.) output data submit to Convergence gateway 103 first.Convergence gateway 103 is to various industry After business data are handled, the fusion transport stream of unified format is generated.The fusion transport stream can be transferred to end by two ways End 110: one is delivered to satellite broadcasting headend equipment 105, broadcasts to all terminals 110 by satellite broadcasting net 106;Separately One is data are stored in Internet Server or submit to content distributing network (Content Delivery Network, CDN) the cache server on 104, and unified resource descriptor (Uniform Resource Identifier, URI) is provided, Terminal 110 can actively access fusion transmission flow data by mobile radio communication 107.
It (may include one or more for signal coverage areas that satellite broadcasting net 106, which is using geo-synchronous orbit satellite, Countries and regions) MMS (Multimedia Message Service) of the offer including audio, video, data etc..Satellite broadcasting net 106 has covering Region is wide, in open regional stable signal transmission, support the advantages that high-speed mobile of terminal, be especially suitable for providing for car-mounted terminal Information service.
The basic principle for merging Transmission system 10 is as follows: terminal 110 is received to come from satellite broadcasting net 106 and come from simultaneously and be moved The signal of dynamic communication network 107, under normal circumstances, terminal 110 preferentially receives business datum from satellite broadcasting net 106, but works as satellite When received data occur error or lose on radio network 106, terminal 110 by by the two-way link of mobile radio communication 107 come The business datum lost or malfunctioned is retransmitted, to guarantee the received reliability of business datum.
Big file transmission (Big File Push, BFP) agreement is mainly used to realize based on the big of network integration Transmission system File reliable transmission, wherein the file size transmitted is from several M bytes to more than ten of G byte.BFP agreement can be supported various based on text The non-real-time service of part, such as audio/video on-demand, the map push of high quality.
Live stream transmission (Live Stream Transport Protocol, LSTP) agreement is primarily used to be responsible for one The file stream of a or multiple live broadcast services is encapsulated as a fusion transport stream.
It is provided with the protocol stack based on LSTP agreement in server and terminal, referring to figs. 2 and 3.Merge Transmission system In, protocol stack is divided into three layers: service application layer merges transport layer and physical transport layer.
In network integration Transmission system, business eliminates the reliance on single transport services, such as individually wide by satellite The Internet transmission service that the transmission that net provides is serviced or individually provided by interconnected communication net is broadcast, but simultaneously dependent on above-mentioned The fusion transfer function that two kinds of networks provide.Above-mentioned fusion transfer function is by a new protocol layer --- and fusion transport layer is Lai real It is existing.
Fusion transport layer shields the details that bottom-layer network transmits to business.In system front end, service source only needs to count According to submitting to fusion transport layer, fusion transport layer, which is responsible for for business datum being sent to satellite broadcasting net, to be transmitted, while being it The access approach online in interconnected communication is provided;In terminal, merges transport layer and be responsible for receiving and checking that satellite broadcasting receives on the net Business datum, and start the re-transmission online in interconnected communication as needed, and by the business datum and satellite broadcasting after re-transmission It nets received business datum to combine, is supplied to upper-layer service processing.
In real network, the type of service that needs to transmit multiplicity, the service quality (QoS) of various businesses require also it is each not It is identical.For example, audio-video live broadcast service requires to guarantee the data reliability of program, need to fully ensure that the reliability of its data. Therefore, in order to support different types of service, fusion transport layer is further divided into two sublayers: fusion transport stream sublayer and Business particular communication protocol sublayer.
The function of each sublayer is as follows:
1) transport stream (Converged Transport Stream, CTS) sublayer is merged
Fusion transport stream sublayer provides a kind of unified format --- fusion transmission block (Converged Transport Block, CTB) encapsulate the data of various upper-layer services.Merging transmission block is the data block with fixed size, and according to The sequence of generation carries out serial number, which is known as merging the block serial number of transmission block.
Merge the transmission that transport stream sublayer supports fusion transmission block online in satellite broadcasting.In order to which the satellite for adapting to different is wide Link is broadcast, needs to carry out transmission adaptation, fusion transmission block is encapsulated into different satellite broadcasting link transmission packets.
It merges transport stream sublayer and supports that the re-transmission of fusion transmission block on the internet, the re-transmission including single CTB also include The re-transmission of multiple CTB.Wherein, the block serial number of multiple CTB of re-transmission can be continuously, be also possible to dispersion.
2) business particular communication protocol (SSTP) sublayer
Business particular communication protocol sublayer is the service adaptation in order to guarantee the service quality of different business (QoS) and introducing Layer.Business particular communication protocol sublayer includes multiple transport protocols, every kind of transport protocol both for a type of business, with Meet the real-time and reliability requirement of such business.Currently, main transport protocol are as follows:
A. it is suitble to the live streaming flow host-host protocol (LSTP) of real-time live broadcast business;
B. it is suitble to the big file push agreement (BFP) of non real-time large file service.
The function of these transport protocols includes how that the data for submitting business are handled, in addition, transport protocol also wraps It includes to meet the specific retransmission function of business demand and other service adaptation functions.
The structure for merging transport stream referring to fig. 4, merges the structure of transmission block referring to Fig. 5.
Transport stream is merged by the fixed length block of serial number --- the composite information that fusion transmission block (CTB) forms Stream can be used to carry various types of upper-layer service data, as shown in Figure 4.
In general, there are the fusion transport stream of multiple parallel transmissions in a fusion Transmission system, each fusion is passed Defeated stream, which is all placed on certain physical channel or logic channel, to be transmitted, when the Modulation and Coding Scheme of bottom channel determines, one It is constant for merging the transmission rate of transport stream.In order to distinguish different fusion transport streams, system transmits flow point to each fusion With one 12 marks, referred to as fusion transport stream identification (CTS-ID).
Fusion transmission block is the basic unit of transmission services information.For a fusion transport stream, fusion transmission The size of block be it is fixed, mainly determined by the occupied physical channel agreement of the fusion transport stream.For example, when using NGB- When W/S channel, the size for merging transmission block is fixed as 2118 bytes.
Fusion transmission block is made of build, block payload and check field three parts, and wherein build size is fixed as 5 words Section, structure are as shown in Figure 5.
Wherein, build further includes following bit:
Block serial number --- 32 bits, for carrying out numbering cycle to the fusion transmission block in the same fusion transport stream, Block serial number is since 0, when reaching maximum value 232After -1, and it is numbered from 0.
Type of service --- 3 bits are used to refer to the type of the business datum encapsulated in fusion transmission block, such as 1 institute of table Show.When type of service is empty business, the data merged in transmission block are filled using random data.
Table 1
Value Description
1 File streaming service
2 Big file push business
3 Control message business
7 Empty business
Other It is undetermined
Verification instruction --- 1 bit, being worth when being 1 indicates that there is check field cyclic redundancy check at fusion transmission block end (Cyclic Redundancy Check) i.e. CRC32, is worth for 0 without this check field.
Check field (CRC32) --- 32 bits are check field, exist when verification is designated as 1, the field is to text All bytes of build and block payload of part transmission block are verified.
It is specifically, as shown in Figure 2 for the protocol stack of server end, comprising:
Service application layer, including the file unit for storing file to be sent.
In order to be broadcast live or push a file, need for this document to be added in a business.Each business be corresponding with to A few file, accordingly, each file unit storage is added to the file in a business.
In fusion Transmission system, each business corresponds to a fusion transport stream and file is therefore being added to business During, it also corresponds to specify fusion transport stream for this document.
Merge transport layer, including business particular communication protocol sublayer and fusion transport stream sublayer.
Business particular communication protocol sublayer includes that at least one is used to carry out preposition processing to sent file to generate The solid element of initial data.The data channel for transmitting file to be sent is formed between solid element and file unit, it is real Body unit receives file to be sent by the data channel, then carries out preposition processing to sent file.It should be noted that , each solid element corresponds at least one file unit.
Business particular communication protocol sublayer can support various protocols, and the present embodiment is to be broadcast live flow host-host protocol i.e. LSTP association It is illustrated for view, to support live broadcast service.Accordingly, solid element is LSTP solid element.
In live broadcast service, corresponding file is added according to file to be sent and describes head (File Description Header, FDH), solid element will describe the file division to be sent of head into multiple file sections added with file.Wherein, not The file to be sent that addition file describes head is initial data.
In a specific embodiment, solid element adds a file to the stem of each file and describes head (FDH), it includes essential information and several extension information that each file, which describes head, and the file describes the specific structure of head such as Shown in Fig. 6.
Fusion transport stream sublayer is used to for initial data being encapsulated as fusion transmission block, and the fusion that will merge transmission block formation Transport stream is sent to terminal via physical transport layer.
Specifically, physical transport layer includes: broadcasting-satellite channel and interconnection network channel.
More at large, it merges to be formed with to be used for transmission between transport stream sublayer and broadcasting-satellite channel and merges transmission block Data channel is formed between fusion transport stream sublayer and interconnection network channel and is used for transmission the data channel for merging transmission block.
Broadcasting-satellite channel is described in detail below.Broadcasting-satellite channel includes: that next-generation radio and television are wireless NGB-W/S channel or digital broadcasting satellite system DVB-S channel;
Fusion transport stream sublayer will merge transmission block and be encapsulated as being suitable for the broadcast number of NGB-W/S channel or DVB-S channel According to, and NGB-W/S channel or DVB-S channel are sent to via data channel.
In NGB-W/S channel, one or several fusion transport streams, which can be compounded in a physical pipeline, to be transmitted, often A fusion transport stream occupies the fixation period in the physical pipeline on continuous dispatching cycle, and mapping process is as shown in Figure 7.
The fusion transport stream each fusion transmission block CTB, be mapped as a link data packet one by one, further by Link layer packaging is a business load packet, and gives physical layer and carry out coded modulation.
In DVB-S channel, broadcasting link uses input form of the MPEG2-TS transport stream as business, not by physics Channel is divided into several independent physical pipelines.Therefore, a fusion transport stream can map directly to entire physical channel Or on customized logic channel.
Each fusion transmission block in fusion transport stream will be mapped in integer TS packet (188 byte), mapping process And TS pack arrangement is as shown in Figure 8.As seen from Figure 8, each TS packet includes packet header (4 byte) and payload (184 byte), Bao Toubao Include: sync byte (8bit), error of transmission instruction (1bit), Payload Unit starting instruction (1bit), transmission priority (1bit), Program identification (13bit), CTB termination instruction (1bit), retains (2bit) and the counting of TS packet loop at CTB starting instruction (1bit) (4bit)。
Internet channel is described in detail below.Interconnection network channel include: User Datagram Protocol UDP channel and Hypertext transfer protocol HTTP channel.
In addition, interconnection network channel with merge be also formed between transport stream sublayer the message for being used for transmission retransmission request lead to Road;Merge transport stream sublayer via message channel receive retransmission request, and will be packaged with fusion transmission block re-transmission response via Data channel is sent to interconnection network channel.
Specifically, fusion transport stream sublayer receives the UDP retransmission request that UDP channel is sent via message channel, and will envelope UDP equipped with fusion transmission block retransmits response and is sent to UDP channel via data channel;It is logical via message to merge transport stream sublayer Road receives the HTTP retransmission request that HTTP channel is sent, and the HTTP for being packaged with fusion transmission block is retransmitted response and is led to via data Road is sent to HTTP channel.
It should be noted that for interconnection network channel in, UDP channel and HTTP channel are and deposit, it is specifically used which Channel is to be determined by terminal when sending retransmission request.When the data volume of the fusion transmission block of request retransmission is less than threshold value, melt It closes transport stream sublayer and response is retransmitted by UDP channel reception UDP retransmission request and transmission UDP;When the fusion of request retransmission is transmitted When the data volume of block is greater than threshold value, fusion transport stream sublayer receives HTTP retransmission request and sends HTTP and retransmits by HTTP channel Response.
Specifically, as shown in Figure 3 for the protocol stack of terminal, comprising: service application layer, fusion transport layer and physical transfer Layer.
Service application layer includes the file unit for receiving the initial data of file to be processed.
Fusion transport layer includes business particular communication protocol sublayer and fusion transport stream sublayer.
Business particular communication protocol sublayer includes that at least one carries out parsing generation original number for that will merge transmission block According to solid element;The data for transmitting the initial data of file to be sent are formed between each solid element and file unit Channel, each solid element with merge be formed between transport stream sublayer be used for transmission fusion transmission block data channel.
Business particular communication protocol sublayer can support various protocols, and the present embodiment is illustrated by taking LSTP agreement as an example.
In live broadcast service, solid element will merge transmission block and carry out parsing generation initial data, comprising:
Fusion transmission block is decapsulated, file is obtained and describes head and file section, head is then described to file section according to file File access pattern is carried out, i.e. parsing generates initial data.
It is used for transmission the data channel for merging transmission block in addition, being formed between fusion transport stream sublayer and solid element, For receiving data via broadcasting-satellite channel and sending the re-transmission of retransmission request and reception server via interconnection network channel Data.
Physical transport layer is formed with the data for being used for transmission the fusion transmission block with described merge between transport stream sublayer Channel.Specifically, physical transport layer includes: broadcasting-satellite channel and interconnection network channel.
Broadcasting-satellite channel is formed with the data channel for being used for transmission fusion transmission block with merging between transport stream sublayer member. Specifically, broadcasting-satellite channel includes: NGB-W/S channel or DVB-S channel, and fusion transport stream sublayer believes the NGB-W/S The broadcast data of road or the DVB-S channel is descapsulated into fusion transmission block, and fusion transmission block is sent via data channel To the solid element.
It has been discussed in detail about NGB-W/S channel and DVB-S channel, foregoing teachings, it is just not reinflated herein It repeats.
Interconnection network channel with merge be formed between transport stream sublayer be used for transmission it is described merge transmission block data channel, Interconnection network channel is also formed with the message channel for being used for transmission retransmission request with merging between transport stream sublayer.Merge transport stream Layer sends retransmission request via message channel, and receives the fusion that is packaged with that the interconnection network channel is sent via data channel and pass Defeated piece of re-transmission response.
More specifically, interconnection network channel includes: User Datagram Protocol UDP channel and hypertext transfer protocol HTTP letter Road;
Transport stream sublayer is merged via message channel transmission UDP retransmission request to UDP channel, and via data channel It receives the UDP for being packaged with fusion transmission block that UDP channel is sent and retransmits response;
Transport stream sublayer is merged to lead to via message channel reception HTTP retransmission request to HTTP channel, and via data Road receives the HTTP for being packaged with fusion transmission block that HTTP channel is sent and retransmits response.
It should be noted that for interconnection network channel in, UDP channel and HTTP channel are and deposit, it is specifically used which Channel is to be determined by terminal when sending retransmission request.When the data volume of the fusion transmission block of request retransmission is less than threshold value, melt It closes transport stream sublayer and response is retransmitted by UDP channel transmission UDP retransmission request and reception UDP;When the fusion of request retransmission is transmitted When the data volume of block is greater than threshold value, fusion transport stream sublayer sends HTTP retransmission request and receives HTTP and retransmits by HTTP channel Response.
Specifically, the fusion transport stream sublayer of terminal judges to retransmit the data volumes of data whether less than one UDP is retransmitted rings The message threshold value answered retransmits response if so, sending UDP retransmission request using UDP channel and receiving UDP;If it is not, then using HTTP channel, which sends HTTP retransmission request and receives HTTP, retransmits response.
As it can be seen that carrying out the mistake that verification discovery fusion transmission lost block needs to retransmit in the fusion transmission block that end-on receives Cheng Zhong initiates retransmission processes by terminal, and the terminal also active decision selection of retransfer channel;For server, then passively Select interconnection network channel identical with the retransfer channel of terminal.
The physical transport layer of the application is using broadcasting-satellite channel and the dual link for interconnecting network channel, when sending data, Data are transmitted using broadcasting-satellite channel;When retransmitting data, the data of loss or error are retransmitted using interconnection network channel, To guarantee the reliability of data receiver.
Above-mentioned is that the framework of protocol stack disclosed in the present application is described in detail.The protocol stack is fusion transmission system The operation of system provides support.
In the application, provide a kind of based on data transmission method, device, calculating equipment and the calculating of merging Transmission system Machine readable storage medium storing program for executing, is described in detail one by one in the following embodiments.It is identical as the description of protocol stack, the present embodiment It is a kind of that also terminal side and server side are described respectively based on the data transmission method for merging Transmission system.
Referring to Fig. 9, one embodiment of the application provides a kind of data transmission method based on fusion Transmission system, is applied to clothes It is engaged in device side, including step 901 is to step 904.
Step 901: obtaining file to be sent.
In the embodiment of the present application, the file to be sent can be the file stream obtained in upper-layer service entity, then The file stream is carried out at least one described file to be sent of cutting formation, the file to be sent is as to be sent Data, may include audio data, video data, image data or text data etc..
The file to be sent can be the file stream of an audio/video program temporally or the cuttings such as size are formed Can independent play-out media file, which is business.
Such as the business is a, business includes file stream a1 and a2, wherein the file stream a1 is cut according to time duration It is divided into the files such as a11, a12 and a13, the file stream a2 is split according to file size as files such as a21, a22 and a23.
In the embodiment of the present application, number and each file stream cutting for file stream in each business are file Slit mode and number are all not construed as limiting, and can be selected according to actual needs.
Step 902: the Document encapsulation being formed into fusion transport stream at least one fusion transmission block and is sent to terminal Side, wherein each fusion transmission block carries block serial number.
In the embodiment of the present application, by the Document encapsulation at least one fusion transmission block (Converged Transport Block, CTB) in after, the business index information of all fusion transmission blocks under the same business can also be generated, for recording The corresponding relationship of file and fusion transmission block, wherein each fusion transmission block carries block serial number and all pieces of serial numbers are suitable Sequence is continuous.
Wherein, the business index information includes several index lines, and each index line indicates the index letter an of file Breath, the index information of each file include fusion transport stream identification, number, the file serial number in file stream, file in Business Stream The information of corresponding all fusion transmission blocks in stream, the information include the block sequence of the corresponding first fusion transmission block of file stream Number and file stream encapsulation after generate fusion transmission block number.
Such as the index information of a file, format are as follows:
CTS_ID:ISS_ID:FileSeq:BlockSeqBegin:BlockCount
Wherein, what CTS_ID and ISS_ID was indicated respectively is number in fusion transport stream identification and Business Stream, altogether structure At service identification;FileSeq is the file serial number in file stream;BlockSeqBegin is this document corresponding first and melts Close the block serial number of transmission block;BlockCount is the number of the fusion transmission block generated after this document encapsulates.
In the embodiment of the present application, the fusion transmission block includes build and block payload, include in the build block serial number and Type of service, the Document encapsulation is in the block payload.
In the embodiment of the present application, the fusion transport stream can be sent to by the terminal side by broadcasting-satellite channel; The broadcasting-satellite channel includes NGB-W/S channel or DVB-S channel;
Wherein, in NGB-W/S channel, one or several fusion transport streams can be compounded in a physical pipeline and upload It send, each fusion transport stream occupies the fixation period in the physical pipeline on continuous dispatching cycle, mapping process such as Fig. 7 institute Show, each fusion transmission block CTB of the fusion transport stream is mapped as a link data packet, further by link one by one Layer is encapsulated as a business load packet, and gives physical layer and carry out coded modulation;
Broadcasting link is using Transport Stream (MPEG2-TS) transport stream as the defeated of business on DVB-S channel Enter form, physical channel is not divided into several independent physical pipelines, as shown in Figure 8.Therefore, a fusion transport stream It can map directly on entire physical channel or customized logic channel;
A length of 188 byte of TS packet, is made of packet header and payload, and packet header length is 4 bytes, including is compared below It is special:
Sync byte, including 8 bits are used as the synchronization of TS stream, and value is always 0x47;
Error of transmission instruction, including 1 bit, indicate whether the TS packet malfunctions in transmission process, 0 represents error-free, 1 generation Table error, default value 0;
Payload Unit starting instruction, including 1 bit, value are always 0;
Transmission priority, including 1 bit, value are always 0;
Program identification, including 13 bits, indicate program or business belonging to the TS packet, value range be 0x0000~ 0x1FFF, i.e. significance bit are 13, and PID value is that 0x1FFF represents empty packet, in this standard, when TS packet carries CTB packet, and section The most significant bit that target is known is fixed as 0, and rear 12 bits correspond to the mark (CTS_ID) of fusion transport stream belonging to CTB;
CTB starting instruction, including 1 bit, when first TS packet that the TS packet of transmission is a fusion transmission block, the position 1 is set, otherwise, which is 0;
CTB termination instruction, including 1 bit should when the last one TS packet that the TS packet of transmission is a fusion transmission block Position 1, otherwise, the position are 0;
TS packet loop counts, including 4 bits, carries out independent loops counting for the TS packet of each PID output.
The each fusion transmission block merged in transport stream is mapped in integer Transport Stream (TS) packet, Mapping process and TS pack arrangement are as shown in Figure 3.
Further, referring to Figure 10, include step 1001 at least one fusion transmission block by the Document encapsulation to Step 1003.
Step 1001: adding file for each file and describe head.
In the embodiment of the present application, it includes: that service identification, file serial number, file size and file are broadcast that the file, which describes head, Duration is put, can also be retouched including live streaming flow host-host protocol (Lives Stream Transport Protocol, LSTP), file State length, the instruction of extension information, compressing file instruction and reserved field etc..
Wherein, the service identification is used to refer to business belonging to file;The file serial number is used to refer to this document and exists Number in entire file stream;The file size is used to refer to this document original length when uncompressed, when taking compression side After formula compression, it is used to refer to the length of compressed this document, as unit of byte;The file playing duration is used to refer to The actual play time of this document, as unit of millisecond.
Step 1002: the file division of head is described at least one for file is added according to the size of fusion transmission block File section, wherein each file section carries paragraph header, and the file describes head included in one of them of the file In file section.
In the embodiment of the present application, the file division of head is described at more for file is added according to the size of fusion transmission block A file section, the file section includes paragraph header and section payload, and referring to Figure 11, the paragraph header includes that file segment number, file section are total Several and file serial number can also include number in section payload type, section payload length and Business Stream.
The file describes in the section payload for one of file section that head is segmented in the file, and the application preferably will be literary Part describes head and is segmented in the section payload of first file section of file.
Step 1003: the file section is encapsulated in fusion transmission block.
In the embodiment of the present application, if what is encapsulated in the fusion transmission block is the last one file section and the institute of the file When stating fusion transmission block has remaining space, detect whether that there are next files to be sent;
If the size etc. of first file section of next file to be sent and next file to be sent if it exists In or less than the remaining space, then first file section is encapsulated in the remaining space, the fusion passes at this time Type of service in defeated piece of build is equal to 1;
The size of first file section of next file to be sent but next file to be sent is big if it exists In the remaining space, then the remaining space is filled, at this time the type of service in the build of the fusion transmission block Equal to 1;
If not encapsulating any file to be sent in the fusion transmission block, entire fusion transmission block is filled out It fills, and the type of service in the build of the fusion transmission block is set as sky business 7.
Referring to Figure 12, it is illustrated for each file section in a file A to be encapsulated in fusion transmission block, first FDH is added for file A, the file A has then been divided into a initial segment, three centres according to the size of fusion transmission block Multiple file sections to be sent of section and an ending segment, the FDH is included in the initial segment, then by the initial segment It is put into fusion transmission block k, three interludes is successively then put into fusion transmission block k+1, fusion transmission block k+2, fusion biography In defeated piece of k+3, finally ending segment is put into fusion transmission block k+4;As shown in Figure 12, the end of fusion transmission block k+4 carrying Duan Shangwei fills up the space of the fusion transmission block k+4, following to carry out for there are next file B to be sent to described The remaining space use of fusion transmission block k+4 is illustrated.
Referring to Figure 13-Figure 14, if first file section, that is, the initial segment size of the file B is equal to or less than the residue The initial segment of the file B is then encapsulated in the remaining space of the fusion transmission block k+4 by space, and described is at this time melted The type of service closed in the build of transmission block is equal to 1;
If the initial segment size of the file B is greater than the remaining space;Then the remaining space is filled, and The type of service in the build of the fusion transmission block is equal to 1 at this time;
Next file to be sent if it does not exist then and to the remaining space is filled, and described is at this time melted The type of service closed in the build of transmission block is equal to 1.
Referring to Figure 15, if not encapsulating any file to be sent in fusion transmission block, to entire fusion transmission block into Row filling, and the type of service in the build of the fusion transmission block is set as sky business 7.
Step 903: receiving the fusion transmission block retransmission request from terminal side, the fusion transmission block retransmission request includes The fusion transmission block block serial number list of transport stream identification and request retransmission is merged, or including fusion transport stream identification and file sequence Number.
In the embodiment of the present application, if it is request retransmission that server side, which receives the fusion transmission block retransmission request from terminal side, When the fusion transmission block of several missings, the fusion transmission block retransmission request includes merging melting for transport stream identification and request retransmission The serial number list of transmission block block is closed, can also include the fusion transmission block sum of retransmission request number, request retransmission;
Wherein, the fusion transport stream identification (CTS_ID) can use integer type, value range 0~4095, instruction Initiate the fusion transport stream identification retransmitted;
The retransmission request number (REQ_SEQ) can use integer type, and value range 0~255 indicates that business is specific Transport protocol (Service Specific Transport Protocol, SSTP) entity is in chronological order to the fusion of sending The numbering cycle that transmission block retransmission request (CTS_CTB_REQ message) carries out;
The fusion transmission block total (CTS_REQ_COUNT) of the request retransmission can use integer type, value range 1 ~1000, indicate the fusion transmission block sum of request retransmission;
The fusion transmission block block serial number list (CTS_REQ_LIST) of the request retransmission can use character string type, refer to The serial number for showing the fusion transmission block that needs retransmit, is made of, each binary group several binary groups<CTB_BEGIN:CTB_NUM> It represents and numbers continuous one group of fusion transmission block, wherein SEQ_BEGIN indicates start sequence number, and SEQ_NUM is indicated in the CTB group CTB number, separated with branch between multiple binary groups, overall format is as follows:
SEQ_BEGIN1:SEQ_NUM1;SEQ_BEGIN2:SEQ_NUM2;SEQ_BEGIN3:SEQ_NUM3;……
For example, when CTB_REQ_LIST is character string 1001:1;1050:4;When 1066:2, the CTB packet for needing to retransmit is indicated Include 7 CTB of serial number 1001,1050,1051,1052,1053,1066 and 1067.
If it is the entire file that request retransmission is lost that server side, which receives the fusion transmission block retransmission request from terminal side, Fusion transmission block when, the fusion transmission block retransmission request includes fusion transport stream identification and file serial number, can also include Merge transmission block request number, Business Stream interior number, file acquisition mode, file relative position;
Wherein, the fusion transport stream identification (CTS_ID) can use integer type, value range 0~4095, instruction Merge transport stream identification;
The fusion transmission block request number (REQ_SEQ) can use integer type, value range 0~255, instruction The numbering cycle that LSTP entity in chronological order carries out the fusion transmission block retransmission request (CTS_CTB_REQ2 message) of sending;
Number (ISS_ID) can use integer type in the Business Stream, and value range 0~255 indicates in Business Stream Number, and and fusion transport stream identification composition service identification.
The file acquisition mode (GET_MODE) can use integer type, and value range 0~1 indicates file acquisition Mode is general mode when the value of file acquisition mode is 0;It is relative mode when the value of file acquisition mode is 1.
The file serial number or file relative position (FILE_SEQ) can use integer type, and value range is 0~ (220- 1) the file serial number retransmitted, is represented when the value of file acquisition mode is 0;When the value of the file acquisition mode is The relative position for retransmitting file and newest package file is represented when 1: the business index information that server side generates has recorded the industry Be encapsulated as in the file stream of business fusion transmission block file, if the file serial number S0 of its newest encapsulation, if S0 be greater than etc. In the file serial number or file relative position, then reality retransmits the serial number (S0-FILE_SEQ) of file;If S0 is less than institute File serial number or file relative position are stated, then the practical serial number (S0+2 for retransmitting file20-FILE_SEQ)。
Step 904: obtaining the fusion transmission block that needs to retransmit in the fusion transmission block retransmission request, and by the fusion Transmission block is encapsulated as fusion transmission block and reissues response and be sent to terminal side.
Further, when the fusion transmission block retransmission request includes merging the fusion biography of transport stream identification and request retransmission When defeated piece of block serial number list, obtaining the fusion transmission block for needing to retransmit in the fusion transmission block retransmission request includes:
According to the fusion transport stream identification in the fusion transmission block retransmission request and melting in the business index information The corresponding relationship for closing transport stream identification determines in the fusion transmission block retransmission request belonging to the fusion transmission block of request retransmission Merge transport stream;
By the fusion transmission block block serial number list of request retransmission and corresponding institute in file stream in the business index information There is the information of fusion transmission block to be compared, determines the fusion transmission block pair of request retransmission in the fusion transmission block retransmission request The file section answered;
The file section is encapsulated to the fusion transmission block to be formed and need to retransmit in the fusion transmission block retransmission request again.
In the embodiment of the present application, first according to the Parameter fusion transport stream identification that carries in fusion transmission block retransmission request, from Corresponding fusion transport stream is found in the business index information of server side, then according to the block of the fusion transmission block of request retransmission The file segment number in file section paragraph header, the file serial number that should be encapsulated in serial number list, each fusion transmission block, determine to request The corresponding file section of fusion transmission block of re-transmission, the file section are obtained by the upper-layer service entity of server side, a file The corresponding fusion transmission block of section, thus the file segment number of a file with the block serial number for merging transmission block be it is corresponding, most Determining file section is Resealed in the corresponding fusion transmission block for needing to retransmit afterwards, fusion transmission block is encapsulated as and reissues sound Terminal side should be sent to.
Optionally, when the fusion transmission block retransmission request includes fusion transport stream identification and file serial number, institute is obtained Stating the fusion transmission block for needing to retransmit in fusion transmission block retransmission request includes:
According to the fusion transport stream identification in the fusion transmission block retransmission request and melting in the business index information The corresponding relationship for closing transport stream identification determines in the fusion transmission block retransmission request belonging to the fusion transmission block of request retransmission Merge transport stream;
The file of file stream in file serial number belonging to fusion transmission block by request retransmission and the business index information Serial number is compared, and determines file belonging to the fusion transmission block of request retransmission in the fusion transmission block retransmission request;
It is divided into file section to be packaged according to the fusion transport block size of request retransmission the file, melts described in formation Close the fusion transmission block for needing to retransmit in transmission block retransmission request.
In the embodiment of the present application, first according to the Parameter fusion transport stream identification that carries in fusion transmission block retransmission request, from Corresponding fusion transport stream is found in the business index information of server side, then according to belonging to the fusion transmission block of request retransmission File serial number, determine the corresponding file of fusion transmission block of request retransmission, then find determination from upper-layer service entity File after, according to request retransmission fusion transmission block size by the file division at file section, will finally divide File section be encapsulated in it is corresponding need in the fusion transmission block that retransmits, be encapsulated as fusion transmission block and reissue response being sent to terminal Side.
In the embodiment of the present application, it can be received by interconnection network channel described in the fusion transmission block retransmission request and transmission Fusion transmission block reissues response;
The interconnection network channel includes User Datagram Protocol UDP channel and hypertext transfer protocol HTTP channel;
When the data volume of terminal side request retransmission is less than threshold value, the server side described in the reception of UDP channel by melting Conjunction transmission block, which reissues request and sends the fusion transmission block, reissues response;
When the data volume of terminal side request retransmission is greater than threshold value, the server side described in the reception of HTTP channel by melting Conjunction transmission block, which reissues request and sends the fusion transmission block, reissues response.
The data volume is the data volume of the fusion transmission block of request retransmission, when the CTB data volume of terminal side request retransmission Less than threshold value, such as when a UDP message threshold value, using udp protocol;When the CTB data volume of request retransmission is more than a UDP report When literary threshold value, using http protocol.The length that the UDP message threshold value can be set must not exceed most greatly enhancing for a UDP message Degree, i.e. 64K byte (Byte).
It is that terminal is sending schematic diagram of the UDP retransmission request to server request retransmission, figure referring to Figure 16 and Figure 17, Figure 16 17 are sending schematic diagram of the HTTP retransmission request to server request retransmission for terminal.
It is provided by the embodiments of the present application it is a kind of based on fusion Transmission system data transmission method, may be implemented to data into Row processing generates the fusion transport stream of unified format, which can be broadcasted by radio networks such as satellites and internet two Kind mode is transferred to convergent terminal, and convergent terminal can be received simultaneously from radio networks such as satellites and from the letter of mobile radio communication Number, and when data received on the broadcasting links such as satellite occur error or lose, convergent terminal can will be led to by mobile The two-way link of net is believed to retransmit the data of loss or error, to guarantee the reliability of data receiver.
Referring to Figure 18, one embodiment of the application provides a kind of data transmission method based on fusion Transmission system, is applied to Terminal side, including step 1801 is to step 1805.
Step 1801: receiving fusion transport stream.
In the embodiment of the present application, the fusion transmission that the server side is sent can be received by broadcasting-satellite channel Block, the fusion transmission block form fusion transport stream.
Wherein, the broadcasting-satellite channel includes NGB-W/S channel or DVB-S channel.
Step 1802: the parsing all fusion transmission blocks merged in transport stream simultaneously cache, wherein each fusion passes Defeated piece carries block serial number.
In the embodiment of the present application, parses the file section encapsulated in all fusion transmission blocks in the fusion transport stream and delay It deposits, wherein each file section carries paragraph header, and the paragraph header includes file segment number, file section sum and file serial number, institute Stating paragraph header can also include number etc. in section payload type, section payload length and Business Stream.
Step 1803: when determining the fusion transmission lost block in the fusion transport stream, sending fusion to server side and pass Defeated piece of retransmission request.
Further, it referring to Figure 19, when determining the fusion transmission lost block in the fusion transport stream, is sent out to server side Sending fusion transmission block retransmission request includes step 1901 to step 1905.
Step 1901: receiving the file retransmission request of terminal side upper-layer service entity, the file retransmission request includes melting Close transport stream identification and file serial number.
It, can be by various error checking methods come really after terminal side receives fusion transport stream in the embodiment of the present application The fusion transmission block recognized in the fusion transport stream received is to lose or malfunction, and the application does not limit error checking and correction mode It is fixed.
In the embodiment of the present application, the file retransmission request (LSTP_FILE_GET message) further include number in Business Stream, File request number, file acquisition mode;
Wherein, the fusion transport stream identification (CTS_ID) can use integer type, value range 0~4095, instruction Merge transport stream identification;
Number (ISS_ID) can use integer type in the Business Stream, and value range 0~255 indicates in Business Stream Number, and and fusion transport stream identification composition service identification;
The file request number (GET_SEQ) can use integer type, value range 0~255, the volume of file request Number, cycle count is carried out to the file retransmission request that the same business issues;
The file acquisition mode (GET_MODE) can use integer type, and value range 0~1 indicates file acquisition Mode is general mode when the value of file acquisition mode is 0;It is relative mode when the value of file acquisition mode is 1;
The file serial number or file relative position (FILE_SEQ) can use integer type, and value range is 0~ (220- 1) the file serial number retransmitted, is represented when the value of file acquisition mode is 0;When the value of the file acquisition mode is The relative position for retransmitting file and newest package file is represented when 1: the business index information that server side generates has recorded the industry Be encapsulated as in the file stream of business fusion transmission block file, if the file serial number S0 of its newest encapsulation, if S0 be greater than etc. In the file serial number or file relative position, then reality retransmits the serial number (S0-FILE_SEQ) of file;If S0 is less than The file serial number or file relative position, then reality retransmits the serial number (S0+2 of file20- FILE_SEQ).
Step 1902: according to the content of the fusion transport stream identification and file serial number detection caching, determining all Paragraph header and corresponding piece of serial number.
In the embodiment of the present application, such as the fusion transport stream identification is C, and the file serial number C1 determines the C1 In file section C11, C13 and C15, wherein file segment number in the paragraph header of each file section, file section sum, text Part serial number and the block serial number of corresponding fusion transmission block are shown in Table 2.
Table 2
Step 1903: the fusion transmission block lost is determined according to the paragraph header and corresponding described piece of serial number.
In the embodiment of the present application, according in the paragraph header file segment number and file section sum can determine in this document The file section of loss, then according in the paragraph header of the file section of loss file segment number with it is corresponding fusion transmission block block sequence Number determine lose fusion transmission block;
For example, lost according to the file section that table 2 can determine that the file segment number in file C1 is 2,4, and file section is compiled Number for 2,4 file section it is corresponding fusion transmission block block serial number 4,6, thus may determine that the fusion of block serial number 4 and 6 passes Defeated lost block.
Step 1904: fusion transmission block being generated according to the file retransmission request and the fusion transmission block of the loss and is retransmitted Request.
Step 1905: sending fusion transmission block retransmission request to server side.
The embodiment of the present application can be according to the file retransmission request of reception terminal side upper-layer service entity actively to missing Transmission block request retransmission is merged, without being detected in terminal side, saves fusion transmission block in the receiving time of terminal side.
Optionally, referring to fig. 20, when determining the fusion transmission lost block in the fusion transport stream, sent to server side Fusion transmission block retransmission request includes step 2001 to step 2006.
Step 2001: when carrying out file access pattern to all fusion transmission blocks of caching, receiving terminal side upper-layer service entity The monitoring of file access pattern duration request and file access pattern duration be monitored, wherein file access pattern duration monitoring request It sends and is spaced including file.
In the embodiment of the present application, file access pattern duration can be monitored using timer is received, the file access pattern Duration monitoring request can also be including number, automatic repeat request (Automatic in fusion transport stream identification, Business Stream Repeat-reQuest, ARQ) switch, file time-out adjusted value and next file serial number to be received;
Wherein, the fusion transport stream identification (CTS_ID) can use integer type, and value range 0~4095 is specified Merge transport stream identification;
Number (ISS_ID) can use integer type in the Business Stream, value range 0~255, in specified services stream Number, and fusion transport stream identification constitute service identification;
The ARQ switch (ARQ_SWITCH) can use integer type, value 0 and 1, wherein 1 represents file opening certainly Dynamic to retransmit, 0 represents closing file autonomous retransmission.
The file, which sends interval (FILE_INTERVAL), can use integer type, and value range 0~64000 is sent File gap, unit ms.
The file time-out adjusted value (TIME_ADJUST) can use integer type, value range 0~64000, time-out Adjusted value, unit ms, the reception time-out timing to next file are both FILE_INTERVAL and TIME_ADJUST The sum of.
Next file serial number (NEXT_FILE_SEQ) to be received can use integer type, value range be 0~ (220- 1) serial number of next file to be received, is indicated.
Step 2002: if the file access pattern duration is greater than the file and sends interval duration, triggering the terminal side The file retransmission request that upper-layer service entity is sent, the file retransmission request include fusion transport stream identification and file serial number.
In the embodiment of the present application, if the file access pattern duration is sent greater than the file is spaced duration, described in triggering The file retransmission request that terminal side upper-layer service entity is sent, such as a length of 3ms when the file access pattern, between the file is sent Every when a length of 2ms, then then actively triggering the terminal side upper-layer service entity, the upper-layer service entity can active transmission text Part retransmission request, the parameter that the file retransmission request carries is referring to above-described embodiment.
Step 2003: according to the content of the fusion transport stream identification and file serial number detection caching, determining all Paragraph header and corresponding piece of serial number.
Step 2004: the fusion transmission block lost is determined according to the paragraph header and corresponding described piece of serial number.
In the embodiment of the present application, determine the method for the fusion transmission block lost referring to above-described embodiment.
Step 2005: fusion transmission block being generated according to the file retransmission request and the fusion transmission block of the loss and is retransmitted Request.
Step 2006: sending fusion transmission block retransmission request to server side.
The embodiment of the present application can monitor the recovery duration of file in real time, pass through monitoring in file access pattern File access pattern duration determines that the loss of fusion transmission block, automatic trigger file retransmission function realize the automation of file, and can It is easy to use actively to open and close file access pattern duration monitoring device as needed.
Optionally, it referring to Figure 19, when determining the fusion transmission lost block in the fusion transport stream, is sent to server side Fusion transmission block retransmission request includes step 1901 to step 1905.
Step 1901: when carrying out file access pattern to all fusion transmission blocks of caching, receiving terminal side upper-layer service entity The monitoring of file access pattern duration request and file access pattern duration be monitored, wherein file access pattern duration monitoring request It sends and is spaced including file.
Step 1902: if receiving the terminal side before the file access pattern duration reaches file transmission interval duration The file retransmission request that upper-layer service entity is sent, the file retransmission request include merging transport stream identification and file serial number, Then stop the monitoring to the file access pattern duration and according to the fusion transport stream identification and file serial number detection caching Content, determine all paragraph headers and corresponding piece of serial number.
Step 1903: the fusion transmission block lost is determined according to the paragraph header and corresponding described piece of serial number.
Step 1904: fusion transmission block being generated according to the file retransmission request and the fusion transmission block of the loss and is retransmitted Request.
Step 1905: sending fusion transmission block retransmission request to server side.
In the embodiment of the present application, before the file access pattern duration reaches file transmission interval duration, the terminal side If upper-layer service entity detects the missing of file, missing file can also be realized with the file retransmission request of active transmission It retransmits, capacity of will is stronger, and using effect is good.
Further, it if determining that amixis transmits lost block according to the paragraph header and corresponding described piece of serial number, triggers The upper-layer service entity of the terminal side, which is sent, cancels file retransmission request, wherein the cancellation file retransmission request includes melting Transport stream identification and file acquisition number are closed, the cancellation file retransmission request can also include number in Business Stream;
Wherein, the fusion transport stream identification (CTS_ID) can use integer type, and value range 0~4095 is specified Merge transport stream identification.
Number (ISS_ID) can use integer type in the Business Stream, value range 0~255, in specified services stream Number, and fusion transport stream identification constitute service identification.
What the file acquisition number (GET_SEQ) can be cancelled using integer type, value range 0~255, instruction The number of file request.
In the embodiment of the present application, when determining the fusion transmission lost block in the fusion transport stream, sent to server side After merging transmission block retransmission request, determine if receiving and cancelling file retransmission request without the fusion transmission block lost or malfunctioned When, then it sends cancellation fusion transmission block and requests to server side;The cancellation fusion transmission block request includes that fusion transmission is failed to be sold at auction Know and fusion transmission block retransmission request is numbered;
Wherein, the fusion transport stream identification (CTS_ID) can use integer type, and value range 0~4095 is initiated The fusion transport stream identification of re-transmission.
Fusion transmission block retransmission request number (REQ_SEQ) can use integer type, value range 0~255, The numbering cycle that SSTP entity in chronological order carries out the CTS_CTB_REQ message of sending.
Step 1804: reception carries fusion transport stream identification, the fusion transmission block number of request retransmission and request retransmission The fusion transmission block of fusion transport block data reissue response.
In the embodiment of the present application, the fusion transmission block can be sent by interconnection network channel and is reissued described in request and reception Fusion transmission block reissues response.
The interconnection network channel includes User Datagram Protocol UDP channel and hypertext transfer protocol HTTP channel;
When the data volume of terminal side request retransmission is less than threshold value, the terminal side sends the fusion by UDP channel Transmission block, which reissues request and receives the fusion transmission block, reissues response;
When the data volume of terminal side request retransmission is greater than threshold value, the terminal side receives the fusion by HTTP channel Transmission block, which reissues request and receives the fusion transmission block, reissues response.
Step 1805: the fusion transport stream identification, request retransmission carried in response is reissued according to the fusion transmission block The fusion transport block data of transmission block number and request retransmission is merged, determines the fusion transmission in the fusion transport stream of caching Block is complete.
In the embodiment of the present application, the fusion transport stream identification carried in response, request are reissued according to the fusion transmission block The fusion transport block data of fusion the transmission block number and request retransmission of re-transmission, determines melting in the fusion transport stream of caching When conjunction transmission block is complete, the file parsed in the fusion transmission block describes head;Then head and described is described according to the file Paragraph header carries out file access pattern, and the file is sent to terminal side upper-layer service entity;
Wherein, it includes: service identification, file serial number, file size and file playing duration that the file, which describes head,.
It in the embodiment of the present application, may be implemented to handle data using the above method, generate the fusion of unified format Transport stream, which can be broadcasted by radio networks such as satellites and internet two ways is transferred to convergent terminal, merges Terminal can be received simultaneously from radio networks such as satellites and from the signal of mobile radio communication, and when on the broadcasting links such as satellite When received data occur error or lose, convergent terminal can will be retransmitted by the two-way link of mobile radio communication loss or The data of error, to guarantee the reliability of data receiver.
Referring to fig. 22, the embodiment of the present application discloses a kind of data transmission device based on fusion Transmission system, is applied to Server side, described device include:
Module 2201 is obtained, for obtaining file to be sent.
Specifically, the file stream cutting is at least for the file stream in acquisition business by the module 2201 that obtains One file to be sent.
Document encapsulation module 2202, for the Document encapsulation to be formed fusion transmission at least one fusion transmission block Stream is sent to terminal side, wherein each fusion transmission block carries block serial number.
Further, Document encapsulation module 2202 includes:
File describes head addition submodule, describes head for adding file for each file;
Addition file is described the file division of head for the size according to fusion transmission block by file division submodule At at least one file section, wherein each file section carries paragraph header, and the file describes head included in the file One of file section in;
File section encapsulates submodule, for the file section to be encapsulated in fusion transmission block;
Wherein, it includes: service identification, file serial number, file size and file playing duration that the file, which describes head, described Paragraph header includes file segment number, file section sum and file serial number.
Specifically, the file section encapsulation submodule includes:
Remaining space judging submodule, if for it is described fusion transmission block in encapsulate be the file the last one text Part section and when the fusion transmission block has remaining space, detects whether that there are next files to be sent;
Remaining Document encapsulation submodule, if for next file to be sent if it exists and next file to be sent First file section size be equal to or less than the remaining space, then first file section is encapsulated in the residue In space;
Fill submodule, for next file to be sent if it exists but first of next file to be sent The size of file section is greater than the remaining space, or there is no next files to be sent, then carries out to the remaining space Filling.
Repeat request module 2203 is received, for receiving the fusion transmission block retransmission request from terminal side, the fusion Transmission block retransmission request includes the fusion transmission block block serial number list of fusion transport stream identification and request retransmission, or including fusion Transport stream identification and file serial number.
Respond module 2204 is reissued in generation, is passed for obtaining the fusion for needing to retransmit in the fusion transmission block retransmission request Defeated piece, and the fusion transmission block is encapsulated as fusion transmission block and reissues response and is sent to terminal side.
Further, when the fusion transmission block retransmission request includes merging the fusion biography of transport stream identification and request retransmission When defeated piece of block serial number list, the generation reissues respond module 2204 and includes:
Fusion transport stream determines submodule, for according to the fusion transport stream identification in the fusion transmission block retransmission request With the corresponding relationship for merging transport stream identification in the business index information, determines and asked in the fusion transmission block retransmission request Seek fusion transport stream belonging to the fusion transmission block of re-transmission;
File section determines submodule, for believing the fusion transmission block block serial number list of request retransmission and business index The information of corresponding all fusion transmission blocks is compared in file stream in breath, is determined and is asked in the fusion transmission block retransmission request Seek the corresponding file section of fusion transmission block of re-transmission;
File section encapsulation retransmits submodule, to form the fusion transmission block retransmission request for encapsulating the file section again The middle fusion transmission block for needing to retransmit;
When the fusion transmission block retransmission request includes fusion transport stream identification and file serial number, sound is reissued in the generation The module 2204 is answered to include:
Submodule is determined, for according to the fusion transport stream identification and the business in the fusion transmission block retransmission request The corresponding relationship of fusion transport stream identification in index information determines that request retransmission is melted in the fusion transmission block retransmission request Close fusion transport stream belonging to transmission block;
File determines submodule, indexes for file serial number belonging to the fusion transmission block by request retransmission and the business The file serial number of file stream is compared in information, determines that the fusion of request retransmission in the fusion transmission block retransmission request passes File belonging to defeated piece;
Document encapsulation retransmits submodule, for the file is written according to the fusion transport block size segmentation of request retransmission Part section is packaged, and forms the fusion transmission block for needing to retransmit in the fusion transmission block retransmission request.
Further, described device, further includes:
Business index information generation module, the business for generating all fusion transmission blocks under the same business index letter Breath,
Wherein, the business index information include fusion transport stream identification, it is the file serial number in file stream, right in file stream The information for all fusion transmission blocks answered, the information include file stream it is corresponding first fusion transmission block block serial number and The number of the fusion transmission block generated after the encapsulation of file stream.
Optionally, the fusion transport stream is sent to the terminal side by broadcasting-satellite channel by described device;
The fusion transmission block retransmission request, which is received, by interconnection network channel and sends the fusion transmission block reissues response.
Optionally, the broadcasting-satellite channel includes NGB-W/S channel or DVB-S channel.
Optionally, the interconnection network channel includes User Datagram Protocol UDP channel and hypertext transfer protocol HTTP letter Road;
When the data volume of terminal side request retransmission is less than threshold value, the server side described in the reception of UDP channel by melting Conjunction transmission block, which reissues request and sends the fusion transmission block, reissues response;
When the data volume of terminal side request retransmission is greater than threshold value, the server side described in the reception of HTTP channel by melting Conjunction transmission block, which reissues request and sends the fusion transmission block, reissues response.
The disclosed data transmission device based on fusion Transmission system of the embodiment of the present application may be implemented at data Reason generates the fusion transport stream of unified format, which can be broadcasted by radio networks such as satellites and two kinds of internet side Formula is transferred to convergent terminal, and convergent terminal can be received simultaneously from radio networks such as satellites and from the signal of mobile radio communication, And when data received on the broadcasting links such as satellite occur error or lose, convergent terminal can will pass through mobile radio communication Two-way link retransmit the data of loss or error, to guarantee the reliability of data receiver.
Referring to fig. 23, the embodiment of the present application discloses a kind of data transmission device based on fusion Transmission system, is applied to Terminal side, described device include:
Transport stream receiving module 2301 is merged, for receiving fusion transport stream.
Transmission block parsing module 2302 is merged, for parsing all fusion transmission blocks in the fusion transport stream and delaying It deposits, wherein each fusion transmission block carries block serial number to cache module.
Specifically, all fusions that the fusion transmission block parsing module 2302 is used to parse in the fusion transport stream pass The file section that encapsulates in defeated piece is simultaneously cached to the cache module, wherein each file section carries paragraph header, the paragraph header packet Include file segment number, file section sum and file serial number.
Repeat request module 2303 is sent, when for determining that lost block is transmitted in the fusion in the fusion transport stream, to clothes Business device side sends fusion transmission block retransmission request.
Further, the transmission repeat request module 2303 includes:
File retransmission request receiving submodule, it is described for receiving the file retransmission request of terminal side upper-layer service entity File retransmission request includes fusion transport stream identification and file serial number;
Detection sub-module is cached, for according in the fusion transport stream identification and file serial number detection caching Hold, determines all paragraph headers and corresponding piece of serial number;
File determines submodule, for determining that the fusion lost is transmitted according to the paragraph header and corresponding described piece of serial number Block;
First retransmission request generates submodule, for the fusion transmission block according to the file retransmission request and the loss Generate fusion transmission block retransmission request;
First sending submodule, for sending fusion transmission block retransmission request to server side.
Optionally, the transmission repeat request module 2303 includes:
First monitoring submodule when carrying out file access pattern for all fusion transmission blocks to caching, receives on terminal side The file access pattern duration monitoring of layer service entity is requested and is monitored to file access pattern duration, wherein when the file access pattern Long monitoring request includes that file sends interval;
File retransmission request triggers submodule, if be greater than file transmission interval for the file access pattern duration It is long, then the file retransmission request that the terminal side upper-layer service entity is sent is triggered, the file retransmission request includes that fusion passes Defeated traffic identifier and file serial number;
Cache contents determine submodule, for what is cached according to the fusion transport stream identification and file serial number detection Content determines all paragraph headers and corresponding piece of serial number;
File section determines submodule, for determining that the fusion lost is transmitted according to the paragraph header and corresponding described piece of serial number Block;
Second retransmission request generates submodule, for the fusion transmission block according to the file retransmission request and the loss Generate fusion transmission block retransmission request;
Second sending submodule, for sending fusion transmission block retransmission request to server side.
Respond module 2304 is reissued in reception, for receiving the fusion transmission for carrying fusion transport stream identification, request retransmission The fusion transmission block of the fusion transport block data of block number mesh and request retransmission reissues response;
Transmission block complete module 2305 is merged, is transmitted for reissuing the fusion carried in response according to the fusion transmission block The fusion transport block data for merging transmission block number and request retransmission of traffic identifier, request retransmission, determines the fusion of caching Fusion transmission block in transport stream is complete.
Optionally, the transmission repeat request module 2303 includes:
Second monitoring submodule when carrying out file access pattern for all fusion transmission blocks to caching, receives on terminal side The file access pattern duration monitoring of layer service entity is requested and is monitored to file access pattern duration, wherein when the file access pattern Long monitoring request includes that file sends interval;
The automatic receiving submodule of file retransmission request, if reaching the file for the file access pattern duration sends interval Before duration, the file retransmission request that the terminal side upper-layer service entity is sent is received, the file retransmission request includes fusion Transport stream identification and file serial number, then stop to the monitoring of the file access pattern duration and according to the fusion transport stream identification with The content of the file serial number detection caching, determines all paragraph headers and corresponding piece of serial number;
It merges transmission block and lacks submodule, for determining the fusion lost according to the paragraph header and corresponding described piece of serial number Transmission block;
Third retransmission request generates submodule, for the fusion transmission block according to the file retransmission request and the loss Generate fusion transmission block retransmission request;
Third sending submodule, for sending fusion transmission block retransmission request to server side.
Optionally, described device, further includes:
Cancel file retransmission request module, for determining that amixis is transmitted according to the paragraph header and corresponding described piece of serial number Lost block, then the upper-layer service entity for triggering the terminal side, which is sent, cancels file retransmission request, wherein the cancellation file weight Passing request includes fusion transport stream identification and file acquisition number.
Optionally, described device, further includes:
Cancel block repeat request module, requests for sending cancellation fusion transmission block to server side;The cancellation fusion Transmission block request includes fusion transport stream identification and fusion transmission block retransmission request number.
Optionally, described device, further includes:
File describes header parsing module, describes head for parsing the file in the fusion transmission block;
File access pattern module carries out file access pattern for describing head and the paragraph header according to the file, and by the text Part is sent to terminal side upper-layer service entity;
Wherein, it includes: service identification, file serial number, file size and file playing duration that the file, which describes head,.
Optionally, described device receives the fusion transmission block that the server side is sent by broadcasting-satellite channel;
It reissues request by the interconnection network channel transmission fusion transmission block and receives the fusion transmission block and reissue response.
Optionally, the broadcasting-satellite channel includes NGB-W/S channel or DVB-S channel.
Optionally, the interconnection network channel includes User Datagram Protocol UDP channel and hypertext transfer protocol HTTP letter Road;
When the data volume of terminal side request retransmission is less than threshold value, the terminal side sends the fusion by UDP channel Transmission block, which reissues request and receives the fusion transmission block, reissues response;
When the data volume of terminal side request retransmission is greater than threshold value, the terminal side receives the fusion by HTTP channel Transmission block, which reissues request and receives the fusion transmission block, reissues response.
The disclosed data transmission device based on fusion Transmission system of the embodiment of the present application may be implemented at data Reason generates the fusion transport stream of unified format, which can be broadcasted by radio networks such as satellites and two kinds of internet side Formula is transferred to convergent terminal, and convergent terminal can be received simultaneously from radio networks such as satellites and from the signal of mobile radio communication, And when data received on the broadcasting links such as satellite occur error or lose, convergent terminal can will pass through mobile radio communication Two-way link retransmit the data of loss or error, to guarantee the reliability of data receiver.
A kind of exemplary scheme of above-mentioned data transmission device based on fusion transmission block system for the present embodiment.It needs Illustrate, should the technical solution based on the data transmission device of fusion transmission block system with above-mentioned based on merging transmission block system The technical solution of the data transmission method of system belongs to same design, the technology of the data transmission device based on fusion transmission block system The detail content that scheme is not described in detail may refer to the technology of the above-mentioned data transmission method based on fusion transmission block system The description of scheme.
One embodiment of the application also provides a kind of calculating equipment, including memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, the processor perform the steps of when executing described program
Obtain file to be sent;
The Document encapsulation is formed into fusion transport stream at least one fusion transmission block and is sent to terminal side, wherein Each fusion transmission block carries block serial number;
The fusion transmission block retransmission request from terminal side is received, the fusion transmission block retransmission request includes fusion transmission The fusion transmission block block serial number list of traffic identifier and request retransmission, or including fusion transport stream identification and file serial number;
The fusion transmission block for needing to retransmit in the fusion transmission block retransmission request is obtained, and the fusion transmission block is sealed Dress reissues response for fusion transmission block and is sent to terminal side.
The embodiment of the present application also provides a kind of calculating equipment, including memory, processor and storage are on a memory and can The computer program run on a processor, the processor perform the steps of when executing described program
Receive fusion transport stream;
It parses all fusion transmission blocks in the fusion transport stream and caches, wherein each fusion transmission block is taken With block serial number;
When determining the fusion transmission lost block in the fusion transport stream, fusion transmission block re-transmission is sent to server side and is asked It asks;
Receive the fusion transmission for carrying fusion transport stream identification, the fusion transmission block number of request retransmission and request retransmission The fusion transmission block of block number evidence reissues response;
The fusion transmission block of the fusion transport stream identification, request retransmission that carry in response is reissued according to the fusion transmission block The fusion transport block data of number and request retransmission determines that the fusion transmission block in the fusion transport stream of caching is complete.
It should be noted that the calculating equipment can be desktop PC, notebook, palm PC and mobile terminal Deng calculating equipment.
The processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng the processor is the control centre of the terminal, utilizes the various pieces of various interfaces and the entire terminal of connection.
The memory mainly includes storing program area and storage data area, wherein storing program area can store operation system Application program (such as sound-playing function, image player function etc.) needed for system, at least one function etc.;It storage data area can Storage uses created data (such as audio data, phone directory etc.) etc. according to mobile phone.In addition, memory may include height Fast random access memory can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least One disk memory, flush memory device or other volatile solid-state parts.
One embodiment of the application also provides a kind of computer readable storage medium, the computer-readable recording medium storage There is computer program, the data as described above based on fusion Transmission system are realized when the computer program is executed by processor Step in transmission method.
One embodiment of the application also provides a kind of computer readable storage medium, the computer-readable recording medium storage There is computer program, the data as described above based on fusion Transmission system are realized when the computer program is executed by processor Step in transmission method.
A kind of exemplary scheme of above-mentioned computer readable storage medium for the present embodiment.It should be noted that this is deposited The technical solution of storage media belongs to same structure with the above-mentioned technical solution based on the data transmission method for merging transmission block system Think, the detail content that the technical solution of storage medium is not described in detail, may refer to above-mentioned based on fusion transmission block system The description of the technical solution of data transmission method.
The computer instruction includes computer program code, the computer program code can for source code form, Object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include: that can carry institute State any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, the computer storage of computer program code Device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), Electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium include it is interior Increase and decrease appropriate can be carried out according to the requirement made laws in jurisdiction with patent practice by holding, such as in certain jurisdictions of courts Area does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this Shen It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The application preferred embodiment disclosed above is only intended to help to illustrate the application.There is no detailed for alternative embodiment All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification, It can make many modifications and variations.These embodiments are chosen and specifically described to this specification, is in order to preferably explain the application Principle and practical application, so that skilled artisan be enable to better understand and utilize the application.The application is only It is limited by claims and its full scope and equivalent.

Claims (23)

1. a kind of data transmission method based on fusion Transmission system, is applied to server side characterized by comprising
Obtain file to be sent;
The Document encapsulation is formed into fusion transport stream at least one fusion transmission block and is sent to terminal side, wherein is each Fusion transmission block carries block serial number;
The fusion transmission block retransmission request from terminal side is received, the fusion transmission block retransmission request includes that fusion transmission is failed to be sold at auction Know the fusion transmission block block serial number list with request retransmission, or including fusion transport stream identification and file serial number;
The fusion transmission block for needing to retransmit in the fusion transmission block retransmission request is obtained, and the fusion transmission block is encapsulated as Fusion transmission block reissues response and is sent to terminal side.
2. obtaining file to be sent the method according to claim 1, wherein described and including:
The file stream cutting is at least one described file to be sent by the file stream in acquisition business.
3. according to the method described in claim 2, it is characterized in that, by the Document encapsulation at least one fusion transmission block Afterwards, further includes:
The business index information of all fusion transmission blocks under the same business is generated,
Wherein, the business index information include fusion transport stream identification, it is the file serial number in file stream, corresponding in file stream The information of all fusion transmission blocks, the information include the block serial number and file of the corresponding first fusion transmission block of file stream The number of the fusion transmission block generated after stream encapsulation.
4. according to the method described in claim 3, it is characterized in that, by the Document encapsulation at least one fusion transmission block Include:
File, which is added, for each file describes head;
The file division of head is described at least one file section by file is added according to the size of fusion transmission block, wherein Each file section carries paragraph header, and the file describes head included in one of file section of the file;
The file section is encapsulated in fusion transmission block;
Wherein, it includes: service identification, file serial number, file size and file playing duration, the paragraph header that the file, which describes head, Including file segment number, file section sum and file serial number.
5. according to the method described in claim 4, it is characterized in that,
When the fusion transmission block retransmission request includes the fusion transmission block block serial number column for merging transport stream identification and request retransmission When table, obtaining the fusion transmission block for needing to retransmit in the fusion transmission block retransmission request includes:
Biography is merged with the business index information according to the fusion transport stream identification in the fusion transmission block retransmission request The corresponding relationship of defeated traffic identifier determines fusion belonging to the fusion transmission block of request retransmission in the fusion transmission block retransmission request Transport stream;
All melt the fusion transmission block block serial number list of request retransmission is corresponding with file stream in the business index information The information for closing transmission block is compared, and determines that the fusion transmission block of request retransmission in the fusion transmission block retransmission request is corresponding File section;
The file section is encapsulated to the fusion transmission block to be formed and need to retransmit in the fusion transmission block retransmission request again;
When the fusion transmission block retransmission request includes fusion transport stream identification and file serial number, the fusion transmission block is obtained The fusion transmission block for needing to retransmit in retransmission request includes:
Biography is merged with the business index information according to the fusion transport stream identification in the fusion transmission block retransmission request The corresponding relationship of defeated traffic identifier determines fusion belonging to the fusion transmission block of request retransmission in the fusion transmission block retransmission request Transport stream;
The file serial number of file stream in file serial number belonging to fusion transmission block by request retransmission and the business index information Be compared, determine it is described fusion transmission block retransmission request in request retransmission fusion transmission block belonging to file;
It is divided into file section to be packaged according to the fusion transport block size of request retransmission the file, forms the fusion and pass The fusion transmission block for needing to retransmit in defeated piece of retransmission request.
6. according to the method described in claim 4, it is characterized in that, by the file section be encapsulated in fusion transmission block in include:
If the last one file section for being the file and the fusion transmission block for encapsulating in the fusion transmission block have residue When space, detect whether that there are next files to be sent;
If if it exists the size of first file section of next file to be sent and next file to be sent be equal to or Less than the remaining space, then first file section is encapsulated in the remaining space;
The size of first file section of next file to be sent but next file to be sent is greater than institute if it exists Remaining space is stated, then first file section is encapsulated in the remaining space;Then the remaining space is filled.
7. the method according to claim 1, wherein
The fusion transport stream is sent to the terminal side by broadcasting-satellite channel;
The fusion transmission block retransmission request, which is received, by interconnection network channel and sends the fusion transmission block reissues response.
8. the method according to the description of claim 7 is characterized in that the broadcasting-satellite channel include NGB-W/S channel or DVB-S channel.
9. the method according to the description of claim 7 is characterized in that the interconnection network channel includes User Datagram Protocol UDP Channel and hypertext transfer protocol HTTP channel;
When the data volume of terminal side request retransmission is less than threshold value, the server side receives the fusion by UDP channel and passes It reissues request and sends the fusion transmission block for defeated piece and reissue response;
When the data volume of terminal side request retransmission is greater than threshold value, the server side receives the fusion by HTTP channel and passes It reissues request and sends the fusion transmission block for defeated piece and reissue response.
10. a kind of data transmission method based on fusion transmission block system, is applied to terminal side characterized by comprising
Receive fusion transport stream;
It parses all fusion transmission blocks in the fusion transport stream and caches, wherein each fusion transmission block carries Block serial number;
When determining the fusion transmission lost block in the fusion transport stream, fusion transmission block retransmission request is sent to server side;
Receive the fusion number of transport blocks for carrying fusion transport stream identification, fusion the transmission block number and request retransmission of request retransmission According to fusion transmission block reissue response;
Fusion transport stream identification, the fusion transmission block number of request retransmission carried in response is reissued according to the fusion transmission block With the fusion transport block data of request retransmission, determine that the fusion transmission block in the fusion transport stream of caching is complete.
11. according to the method described in claim 10, it is characterized in that, all fusions in the parsing fusion transport stream pass It defeated piece and caches, wherein each fusion transmission block carries block serial number and includes:
Parse the file section encapsulated in all fusion transmission blocks in the fusion transport stream and caching, wherein each file section Paragraph header is carried, the paragraph header includes file segment number, file section sum and file serial number.
12. according to the method for claim 11, which is characterized in that determine that the fusion transmission block in the fusion transport stream is lost When mistake, sending fusion transmission block retransmission request to server side includes:
Receive terminal side upper-layer service entity file retransmission request, the file retransmission request include fusion transport stream identification and File serial number;
According to the content of the fusion transport stream identification and file serial number detection caching, all paragraph headers and corresponding piece are determined Serial number;
The fusion transmission block lost is determined according to the paragraph header and corresponding described piece of serial number;
Fusion transmission block retransmission request is generated according to the file retransmission request and the fusion transmission block of the loss;
Fusion transmission block retransmission request is sent to server side.
13. according to the method for claim 11, which is characterized in that determine that the fusion transmission block in the fusion transport stream is lost When mistake, sending fusion transmission block retransmission request to server side includes:
When carrying out file access pattern to all fusion transmission blocks of caching, the file access pattern duration of terminal side upper-layer service entity is received Monitoring is requested and is monitored to file access pattern duration, wherein the file access pattern duration monitoring request includes between file is sent Every;
If the file access pattern duration, which is greater than the file, sends interval duration, the terminal side upper-layer service entity hair is triggered The file retransmission request sent, the file retransmission request include fusion transport stream identification and file serial number;
According to the content of the fusion transport stream identification and file serial number detection caching, all paragraph headers and corresponding piece are determined Serial number;
The fusion transmission block lost is determined according to the paragraph header and corresponding described piece of serial number;
Fusion transmission block retransmission request is generated according to the file retransmission request and the fusion transmission block of the loss;
Fusion transmission block retransmission request is sent to server side.
14. according to the method for claim 11, which is characterized in that determine that the fusion transmission block in the fusion transport stream is lost When mistake, sending fusion transmission block retransmission request to server side includes:
When carrying out file access pattern to all fusion transmission blocks of caching, the file access pattern duration of terminal side upper-layer service entity is received Monitoring is requested and is monitored to file access pattern duration, wherein the file access pattern duration monitoring request includes between file is sent Every;
If receiving the terminal side upper-layer service entity hair before the file access pattern duration reaches file transmission interval duration The file retransmission request sent, the file retransmission request include fusion transport stream identification and file serial number, then stop to the text Part restores the monitoring of duration and according to the content of the fusion transport stream identification and file serial number detection caching, determines all Paragraph header and corresponding piece of serial number;
The fusion transmission block lost is determined according to the paragraph header and corresponding described piece of serial number;
Fusion transmission block retransmission request is generated according to the file retransmission request and the fusion transmission block of the loss;
Fusion transmission block retransmission request is sent to server side.
15. method described in 2-14 any one according to claim 1, which is characterized in that according to the fusion transport stream identification With the content of file serial number detection caching, after determining all paragraph headers and corresponding piece of serial number, further includes:
It determines that amixis transmits lost block according to the paragraph header and corresponding described piece of serial number, then triggers the upper layer of the terminal side Business Entity, which is sent, cancels file retransmission request, wherein the cancellation file retransmission request includes fusion transport stream identification and text Part obtains number.
16. according to the method for claim 15, which is characterized in that determine that the fusion transmission block in the fusion transport stream is lost When mistake, after sending fusion transmission block retransmission request to server side, further includes:
Cancellation fusion transmission block is sent to request to server side;The cancellation fusion transmission block request includes fusion transport stream identification With fusion transmission block retransmission request number.
17. according to the method for claim 11, which is characterized in that reissued in response and carried according to the fusion transmission block The fusion transport block data for merging transport stream identification, fusion the transmission block number and request retransmission of request retransmission, determines caching After fusion transmission block in the fusion transport stream is complete, further includes:
The file parsed in the fusion transmission block describes head;
Head is described according to the file and the paragraph header carries out file access pattern, and the file is sent to terminal side upper-layer service Entity;
Wherein, it includes: service identification, file serial number, file size and file playing duration that the file, which describes head,.
18. according to the method described in claim 10, it is characterized in that,
The fusion transmission block that the server side is sent is received by broadcasting-satellite channel;
It reissues request by the interconnection network channel transmission fusion transmission block and receives the fusion transmission block and reissue response.
19. according to the method for claim 18, which is characterized in that the broadcasting-satellite channel include NGB-W/S channel or DVB-S channel.
20. according to the method for claim 18, which is characterized in that the interconnection network channel includes User Datagram Protocol UDP channel and hypertext transfer protocol HTTP channel;
When the data volume of terminal side request retransmission is less than threshold value, the terminal side sends the fusion transmission by UDP channel Block, which reissues request and receives the fusion transmission block, reissues response;
When the data volume of terminal side request retransmission is greater than threshold value, the terminal side receives the fusion transmission by HTTP channel Block, which reissues request and receives the fusion transmission block, reissues response.
21. a kind of calculating equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor performs the steps of when executing described program
Obtain file to be sent;
The Document encapsulation is formed into fusion transport stream at least one fusion transmission block and is sent to terminal side, wherein is each Fusion transmission block carries block serial number;
The fusion transmission block retransmission request from terminal side is received, the fusion transmission block retransmission request includes that fusion transmission is failed to be sold at auction Know the fusion transmission block block serial number list with request retransmission, or including fusion transport stream identification and file serial number;
The fusion transmission block for needing to retransmit in the fusion transmission block retransmission request is obtained, and the fusion transmission block is encapsulated as Fusion transmission block reissues response and is sent to terminal side.
22. a kind of calculating equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor performs the steps of when executing described program
Receive fusion transport stream;
It parses all fusion transmission blocks in the fusion transport stream and caches, wherein each fusion transmission block carries Block serial number;
When determining the fusion transmission lost block in the fusion transport stream, fusion transmission block retransmission request is sent to server side;
Receive the fusion number of transport blocks for carrying fusion transport stream identification, fusion the transmission block number and request retransmission of request retransmission According to fusion transmission block reissue response;
Fusion transport stream identification, the fusion transmission block number of request retransmission carried in response is reissued according to the fusion transmission block With the fusion transport block data of request retransmission, determine that the fusion transmission block in the fusion transport stream of caching is complete.
23. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program are realized as described in any one of claims 1-9 based on fusion transmission system when being executed by processor Step in the data transmission method of system or the data based on fusion Transmission system as described in claim 10-20 any one Step in transmission method.
CN201810094159.2A 2018-01-31 2018-01-31 Data transmission method based on fusion transmission system Active CN110099086B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810094159.2A CN110099086B (en) 2018-01-31 2018-01-31 Data transmission method based on fusion transmission system
PCT/CN2019/071616 WO2019149053A1 (en) 2018-01-31 2019-01-14 Data transmission method based on fusion transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810094159.2A CN110099086B (en) 2018-01-31 2018-01-31 Data transmission method based on fusion transmission system

Publications (2)

Publication Number Publication Date
CN110099086A true CN110099086A (en) 2019-08-06
CN110099086B CN110099086B (en) 2020-11-06

Family

ID=67442037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810094159.2A Active CN110099086B (en) 2018-01-31 2018-01-31 Data transmission method based on fusion transmission system

Country Status (2)

Country Link
CN (1) CN110099086B (en)
WO (1) WO2019149053A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597794A (en) * 2019-08-08 2019-12-20 阿里巴巴集团控股有限公司 Data processing method and device and electronic equipment
CN113099190A (en) * 2021-05-12 2021-07-09 华中科技大学 IP service convergence communication system and communication method based on DTMB and communication-in-motion
CN113141236A (en) * 2021-05-06 2021-07-20 北京京东振世信息技术有限公司 Message processing method and device
CN114040172A (en) * 2021-11-22 2022-02-11 富盛科技股份有限公司 Vehicle gate data fusion transmission method and system based on video monitoring system
CN114158067A (en) * 2021-11-26 2022-03-08 中国联合网络通信集团有限公司 Method and device for data transmission in private network

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550388A (en) * 2021-06-29 2022-12-30 上海擎感智能科技有限公司 Data transmission method, system, electronic device and storage medium
CN115334483A (en) * 2022-08-08 2022-11-11 山东浪潮科学研究院有限公司 Data interaction method based on short-distance wireless communication
CN115834949B (en) * 2022-11-21 2024-10-29 展讯通信(上海)有限公司 Program information extraction method and device, computer readable storage medium and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465791A (en) * 2007-12-18 2009-06-24 国家广播电影电视总局广播科学研究院 Document transmission method based on unidirection link
US20100271970A1 (en) * 2009-04-22 2010-10-28 Interdigital Patent Holdings, Inc. Method and apparatus for transmitting uplink control information for carrier aggregated spectrums
CN103546765A (en) * 2013-06-08 2014-01-29 上海数字电视国家工程研究中心有限公司 Transport stream packaging method, transport stream, and analysis method of transport stream
CN103703797A (en) * 2013-08-29 2014-04-02 华为技术有限公司 Aggregation transmission method, apparatus, system, network server and user device
CN105337708A (en) * 2015-09-18 2016-02-17 哈尔滨工业大学深圳研究生院 DTN network data transmission method using bundle block aggregation on dual-hop asymmetric channel

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465791A (en) * 2007-12-18 2009-06-24 国家广播电影电视总局广播科学研究院 Document transmission method based on unidirection link
US20100271970A1 (en) * 2009-04-22 2010-10-28 Interdigital Patent Holdings, Inc. Method and apparatus for transmitting uplink control information for carrier aggregated spectrums
CN103546765A (en) * 2013-06-08 2014-01-29 上海数字电视国家工程研究中心有限公司 Transport stream packaging method, transport stream, and analysis method of transport stream
CN103703797A (en) * 2013-08-29 2014-04-02 华为技术有限公司 Aggregation transmission method, apparatus, system, network server and user device
CN105337708A (en) * 2015-09-18 2016-02-17 哈尔滨工业大学深圳研究生院 DTN network data transmission method using bundle block aggregation on dual-hop asymmetric channel

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597794A (en) * 2019-08-08 2019-12-20 阿里巴巴集团控股有限公司 Data processing method and device and electronic equipment
CN113141236A (en) * 2021-05-06 2021-07-20 北京京东振世信息技术有限公司 Message processing method and device
CN113099190A (en) * 2021-05-12 2021-07-09 华中科技大学 IP service convergence communication system and communication method based on DTMB and communication-in-motion
CN113099190B (en) * 2021-05-12 2022-04-08 华中科技大学 IP service convergence communication system and communication method based on DTMB and communication-in-motion
CN114040172A (en) * 2021-11-22 2022-02-11 富盛科技股份有限公司 Vehicle gate data fusion transmission method and system based on video monitoring system
CN114040172B (en) * 2021-11-22 2024-04-12 富盛科技股份有限公司 Vehicle bayonet data fusion transmission method and system based on video monitoring system
CN114158067A (en) * 2021-11-26 2022-03-08 中国联合网络通信集团有限公司 Method and device for data transmission in private network
CN114158067B (en) * 2021-11-26 2023-11-14 中国联合网络通信集团有限公司 Method and device for data transmission in private network

Also Published As

Publication number Publication date
WO2019149053A1 (en) 2019-08-08
CN110099086B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
CN110099086A (en) A kind of data transmission method based on fusion Transmission system
US7296204B2 (en) Error correction apparatus and method
Clausen et al. Internet over direct broadcast satellites
CN110099087B (en) File transmission method based on converged transmission system
KR20140009315A (en) Apparatus and method for transmitting multimedia frame in broadcast system
US10218759B2 (en) Method and apparatus for transceiving data packet for transmitting and receiving multimedia data
CN103354615B (en) Signal intensity based live video data transmission error control method
KR101280084B1 (en) Method and device for ensuring reliability during transmission of television data in a television system based on internet protocol
KR101346669B1 (en) Data reception method, repair method and corresponding terminal
Xu et al. Smart media transport: A burgeoning intelligent system for next generation multimedia convergence service over heterogeneous networks in China
CN111245733B (en) Data transmission method and device
CN102595251A (en) Method and system for realizing streaming media packet loss retransmission
CN110098899B (en) Protocol stack based on converged transmission system and data retransmission method
KR102112586B1 (en) Method and apparatus for transmitting and receiving data packet
CN109936527A (en) The transmission method and network node of live data
US9160638B2 (en) Method and apparatus for performing non real time service in digital broadcast system
EP3595254A1 (en) Multicast signal transmission/reception method and device
KR102074226B1 (en) Method and apparatus for transmitting and receiving data packet
CN106100803A (en) The method and apparatus determined is retransmitted for making
CN111565096A (en) Data transmission method and device
Linder et al. Distribution of Remote Sensing Data via Satellite using DVB/MPEG-2 and Reliable Multicast
Binder IP Data Delivery in HBB-Next Network Architecture

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