WO2019149053A1 - Data transmission method based on fusion transmission system - Google Patents

Data transmission method based on fusion transmission system Download PDF

Info

Publication number
WO2019149053A1
WO2019149053A1 PCT/CN2019/071616 CN2019071616W WO2019149053A1 WO 2019149053 A1 WO2019149053 A1 WO 2019149053A1 CN 2019071616 W CN2019071616 W CN 2019071616W WO 2019149053 A1 WO2019149053 A1 WO 2019149053A1
Authority
WO
WIPO (PCT)
Prior art keywords
fused
file
transport block
transport
retransmission request
Prior art date
Application number
PCT/CN2019/071616
Other languages
French (fr)
Chinese (zh)
Inventor
南凯
王冬冬
姜红旗
张军强
邢观斌
邱翔东
李群
Original Assignee
国广融合(北京)传媒科技发展有限公司
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 国广融合(北京)传媒科技发展有限公司 filed Critical 国广融合(北京)传媒科技发展有限公司
Publication of WO2019149053A1 publication Critical patent/WO2019149053A1/en

Links

Images

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

Definitions

  • the present application relates to the field of digital multimedia broadcasting technologies, and in particular, to a data transmission method based on a converged transmission system.
  • the traditional broadcast network or the traditional two-way communication network alone cannot realize the optimal transmission of mobile information services.
  • the traditional broadcast network adopts the large-area network connection mode, with large coverage and high-unidirectional broadcast efficiency, which is beneficial to the broadcast and push of public service content, but does not have an uplink return channel, and cannot achieve on-demand or broadband access, which is not conducive to personality. Transfer of content.
  • the existing mobile communication network adopts the cell-based cellular networking mode, has small coverage, high-efficiency two-way communication, and is beneficial for the transmission of personalized content, but the efficiency of broadcasting and pushing is low, which is not conducive to the broadcasting and pushing of public service content.
  • the broadcasting and communication industry is developing a new generation of broadcasting and communication technologies to improve the transmission rate and spectrum utilization of their respective systems.
  • it is actively exploring new network architectures for the convergence of broadcasting and mobile communications.
  • the access technology is to make full use of the advantages of the broadcast network and the mobile communication network for carrying different services, to allocate network resources and spectrum resources in a targeted manner, to select an optimal transmission mode, and to improve the overall wireless spectrum utilization rate of the network and the system.
  • the embodiments of the present application provide a data transmission method and apparatus, a computing device, and a storage medium based on a converged transmission system, to solve the technical defects existing in the prior art.
  • the embodiment of the present application discloses a data transmission method based on a converged transmission system, which is applied to the convergence server side, and includes:
  • the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list requesting retransmission, or includes a fused transport stream identifier and a file sequence number;
  • the embodiment of the present application further provides a data transmission method based on the fused transport block system, which is applied to the terminal side, and includes:
  • the embodiment of the present application further provides a computing device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the following steps:
  • the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list requesting retransmission, or includes a fused transport stream identifier and a file sequence number;
  • the embodiment of the present application further provides a computing device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the following steps:
  • the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, when the computer program is executed by a processor, implementing the The steps in the data transmission method of the converged transmission system or the steps in the data transmission method based on the converged transmission system applied to the terminal side.
  • the present invention provides a data transmission method, a computing device, and a storage medium based on a converged transmission system, where the method includes: acquiring a file to be sent; and encapsulating the file in at least one fused transport block to form a fused transport stream Sending to the terminal side, where each fused transport block carries a block sequence number; receiving a fused transport block retransmission request from the terminal side, the fused transport block retransmission request including the fused transport stream identifier and the fused transmission requesting retransmission a block sequence number list, or including a fused transport stream identifier and a file sequence number; acquiring a fused transport block that needs to be retransmitted in the fused transport block retransmission request, and encapsulating the fused transport block into a fused transport block retransmission response to be sent to
  • the terminal side can adopt the above method to process the data and generate a unified format of the converged transport stream, which can be transmitted to the converged terminal
  • the convergence terminal can retransmit lost or erroneous data in a mobile communication network via a bidirectional link, in order to ensure the reliability of data reception.
  • FIG. 1 is a schematic structural diagram of a fusion transmission system according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a protocol stack based on a converged transmission system for a server side according to an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a protocol stack based on a converged transmission system for a terminal side according to an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of a converged transport stream according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a fused transport block according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a file description header according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a mapping process of each fused transport stream in a next-generation broadcast television wireless NGB-W/S channel according to an embodiment of the present application;
  • FIG. 8 is a schematic diagram of a mapping process and a TS packet structure of each fused transport stream in a DVB-S channel of a digital satellite broadcasting system according to an embodiment of the present application;
  • FIG. 9 is a flowchart of a data transmission method based on a converged transmission system according to an embodiment of the present application.
  • FIG. 10 is a flowchart of a data transmission method based on a converged transmission system according to an embodiment of the present application
  • FIG. 11 is a schematic structural view of a segment header of an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a converged transport block package according to an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a converged transport block package according to an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a converged transport block package according to an embodiment of the present application.
  • 15 is a schematic structural diagram of a converged transport block package according to an embodiment of the present application.
  • 16 is a schematic diagram of a terminal side requesting retransmission to a server side by sending a UDP retransmission request according to an embodiment of the present application;
  • 17 is a schematic diagram of a terminal side requesting retransmission by sending an HTTP retransmission request to a server side according to an embodiment of the present application;
  • FIG. 19 is a flowchart of a data transmission method based on a converged transmission system according to an embodiment of the present application.
  • 21 is a flowchart of a data transmission method based on a converged transmission system according to an embodiment of the present application.
  • 22 is a schematic structural diagram of a data transmission apparatus based on a converged transmission system according to an embodiment of the present application
  • FIG. 23 is a schematic structural diagram of a data transmission apparatus based on a converged transmission system according to an embodiment of the present application.
  • Service - A series of programs or data that can be broadcast live under the control of a broadcaster.
  • Mobile satellite multimedia - multimedia services provided to mobile terminals via satellite communication networks, such as audio and video, on-demand and data push services.
  • Satellite broadcast network - A network that provides audio and video broadcasting and other information services based on geosynchronous orbit satellites.
  • Mobile communication network A network that provides mobile communications and two-way data transmission based on terrestrial base stations, including 2G/bidirectional/xG.
  • Network convergence transmission The same service uses both the satellite broadcast network and the mobile communication network to transmit to improve the service coverage and service reliability.
  • Transport Stream (MPEG2-TS, also known as TS) - A communication protocol for sound effects, images and data used to encapsulate a composite stream of audio and video media data.
  • MPEG2-TS also known as TS
  • Converged transport block - A fixed-length packet structure used to carry upper-layer service data.
  • Converged transport stream - A composite information stream consisting of consecutive converged transport blocks that can transport multiple services.
  • Physical pipe - A physical layer channel that occupies certain channel resources and can be independently encoded and modulated.
  • Uniform resource identifier - A string used to identify the name of an Internet resource that allows the user to interact with any (including local and Internet) resources through a specific protocol.
  • the output data of various service platforms 101 is first submitted to the converged gateway 103.
  • the converged gateway 103 processes various service data, it generates a converged transport stream in a unified format.
  • the converged transport stream can be transmitted to the terminal 110 in two ways: one is submitted to the satellite broadcast headend device 105, sent to all terminals 110 via the satellite broadcast network 106 via the broadcast channel 108; the other is to save the data to an internet server or It is submitted to a cache server on the Content Delivery Network (CDN) 104 and provides a Uniform Resource Identifier (URI).
  • CDN Content Delivery Network
  • URI Uniform Resource Identifier
  • the terminal 110 can actively access the fused transport stream via the network channel 109 through the mobile communication network 107. data.
  • the satellite broadcast network 106 utilizes geosynchronous orbit satellites to provide multimedia information services including audio, video, data, etc. for signal coverage areas (which may include one or more countries and regions).
  • the satellite broadcasting network 106 has the advantages of wide coverage area, stable signal transmission in an open area, and high-speed movement of a support terminal, and is particularly suitable for providing an information service for an in-vehicle terminal.
  • the basic principle of the converged transmission system 10 is as follows:
  • the terminal 110 simultaneously receives signals from the satellite broadcast network 106 and from the mobile communication network 107.
  • the terminal 110 preferentially receives service data from the satellite broadcast network 106, but when on the satellite broadcast network 106
  • the terminal 110 will retransmit the lost or erroneous service data through the bidirectional link of the mobile communication network 107 to ensure the reliability of the service data reception.
  • the Big File Push (BFP) protocol is mainly used to implement reliable transmission of large files based on the network convergence transmission system, and can be used to transfer files from several Mbytes to a dozen Gbytes.
  • the BFP protocol supports a variety of file-based non-real-time services, such as high-quality audio and video on demand, map push and more.
  • the Live Stream Transport Protocol (LSTP) protocol is mainly used to encapsulate a file stream of one or more live broadcast services into a converged transport stream.
  • the protocol stack based on the LSTP protocol can be set on both the server side and the terminal side, as shown in FIG. 2 and FIG.
  • the protocol stack includes three layers: a service application layer, a converged transport layer, and a physical transport layer.
  • a network convergence transmission system services are no longer implemented by relying on a single network transmission service, such as a transmission service provided by a satellite broadcast network alone or an Internet transmission service provided by an interconnection communication network alone, but
  • the converged transmission function provided by the above two networks is implemented.
  • the above converged transmission function is implemented by a new protocol layer, the converged transport layer.
  • the converged transport layer shields the business from the details of the underlying network transport.
  • the service source only needs to submit the data to the converged transport layer, and the converged transport layer is responsible for transmitting the service data in the satellite broadcast network, and providing the service data with access paths on the interconnected communication network; on the terminal side, the converged transmission
  • the layer is responsible for receiving and checking the service data received on the satellite broadcast network, and starting the retransmission on the interconnection communication network as needed, and integrating the retransmitted service data with the service data received by the satellite broadcast network, and providing the upper layer service processing. .
  • the types of services that need to be transmitted are diverse, and the quality of service (QoS) requirements of various services are also different.
  • QoS quality of service
  • audio and video live broadcast services require data reliability of the program, and the reliability of the data needs to be fully guaranteed.
  • the converged transport layer is further divided into two sub-layers: a converged transport stream sub-layer and a service-specific transport protocol sub-layer.
  • the Converged Transport Stream sublayer provides a unified format, Converged Transport Block (CTB), to encapsulate data for various upper layer services.
  • CTB Converged Transport Block
  • the fused transport block is a data block having a fixed size and is consecutively numbered in the order of generation, which is referred to as a block number of the fused transport block.
  • the converged transport stream sublayer supports the transmission of the converged transport block over the satellite broadcast network.
  • the fused transport block needs to be adapted for transmission, and the fused transport block is encapsulated into different satellite broadcast link transport packets.
  • the fused transport stream sublayer supports retransmission of the fused transport block over the Internet, including retransmission of a single CTB, and also includes retransmission of multiple CTBs.
  • the block numbers of the plurality of CTBs that are retransmitted in the retransmission of the plurality of CTBs may be continuous or discrete.
  • the service specific transport protocol sublayer is a service adaptation layer introduced to guarantee the quality of service (QoS) of different services.
  • the service specific transport protocol sublayer includes a variety of transport protocols, each for a type of service to meet the real-time and reliability requirements of such services.
  • the main transport protocols include:
  • LSTP Live Streaming Protocol
  • BFP Large File Push Protocol
  • These transport protocols include how to process the data submitted by the business.
  • these transport protocols include specific retransmission capabilities and other service adaptation capabilities to meet business needs.
  • the fused transport stream is a composite information stream consisting of consecutively numbered fixed-length data blocks, the Converged Transport Block (CTB), which can be used to carry various types of upper-layer service data, as shown in Figure 4.
  • CTB Converged Transport Block
  • each converged transport stream is transmitted on a certain physical channel or logical channel.
  • a fusion is performed.
  • the transmission rate of the transport stream is constant.
  • the system assigns each converged transport stream a 12-bit identifier called the Converged Transport Stream Identifier (CTS-ID).
  • CTS-ID Converged Transport Stream Identifier
  • a converged transport block is the basic unit for transmitting service information.
  • the size of its converged transport block is fixed, mainly determined by the physical channel protocol occupied by the converged transport stream. For example, when the NGB-W/S channel is used, the size of the fused transport block is fixed to 2118 bytes.
  • the fused transport block is composed of a block header, a block payload and a check field, wherein the block header size is fixed to 5 bytes, and the structure is as shown in FIG. 5.
  • block header further includes the following bits:
  • Block number - 32-bit number used to cyclically number the fused transport block in the same fused transport stream.
  • the block number starts from 0.
  • the maximum value is 2 32 -1, it is numbered from 0.
  • the service type 3-bit, is used to indicate the type of service data encapsulated in the converged transport block, as shown in Table 1.
  • the service type is empty, the data in the fused transport block is filled with random data.
  • Check indicator - 1 bit A value of 1 indicates that there is a check field at the end of the fused transport block. Cyclic Redundancy Check (CRC32). If the value is 0, there is no check field.
  • Check field (CRC32) - 32-bit bit, which is a check field. It exists when the check indication is 1. This field checks the block header and block payload all bytes of the file transfer block.
  • the protocol stack on the server side is set as shown in FIG. 2, and includes:
  • the business application layer includes file units for storing files to be sent.
  • each service corresponds to a converged transport stream. Therefore, in the process of adding a file to a service, it is equivalent to specifying a converged transport stream for the file.
  • the converged transport layer includes a service specific transport protocol sublayer and a converged transport stream sublayer.
  • the service specific transport protocol sublayer includes at least one physical unit for preprocessing the file to be transmitted to generate the original data.
  • a data channel for transmitting a file to be sent is formed between the physical unit and the file unit, and the entity unit receives the file to be sent through the data channel, and then preprocesses the file to be sent.
  • each physical unit corresponds to at least one file unit.
  • the service-specific transport protocol sub-layer can support multiple protocols.
  • the live streaming protocol that is, the LSTP protocol
  • the physical unit is an LSTP physical unit.
  • the entity unit may add a corresponding File Description Header (FDH) to the file to be sent, and the entity unit divides the file to be sent added with the file description header into multiple file segments.
  • FDH File Description Header
  • the entity unit adds a file description header (FDH) to the header of each file, and each file description header includes basic information and a plurality of extended information, and the specific structure of the file description header is as shown in the figure. 6 is shown.
  • FDH file description header
  • the fused transport stream sublayer is configured to encapsulate the original data into a fused transport block, and the fused transport stream formed by the fused transport block is sent to the terminal side via the physical transport layer.
  • the physical transport layer includes: a satellite broadcast channel and an internet channel.
  • a data channel for transmitting a fused transport block is formed between the fused transport stream sublayer and the satellite broadcast channel, and a data channel for transmitting the fused transport block is formed between the fused transport stream sublayer and the Internet channel.
  • the satellite broadcast channel includes: a next-generation broadcast television wireless NGB-W/S channel or a digital satellite broadcast system DVB-S channel;
  • the fused transport stream sublayer encapsulates the fused transport block into broadcast data suitable for the NGB-W/S channel or the DVB-S channel and transmits it to the NGB-W/S channel or the DVB-S channel via the data channel.
  • one or several fused transport streams can be combined and transmitted on one physical pipeline, and each fused transport stream occupies a fixed period on a continuous scheduling period on the physical pipeline, and the mapping process is as shown in FIG. 7. Shown.
  • Each of the fused transport blocks CTB of the fused transport stream is mapped one by one into a link data packet, and the link data packet is further encapsulated by the link layer into a service load packet, and is handed to the physical layer for coding and modulation. .
  • the broadcast link uses the MPEG2-TS transport stream as the input form of the service, and does not divide the physical channel into several independent physical pipes. Therefore, a converged transport stream can be mapped directly to the entire physical channel or to a custom logical channel.
  • each fused transport block in the fused transport stream will be mapped into an integer number of TS packets (188 bytes), and its mapping process and TS packet structure are as shown in FIG.
  • each TS packet includes a header (4 bytes) and a payload (184 bytes), and the header includes: a sync byte (8 bits), a transmission error indication (1 bit), and a payload unit start indication ( 1 bit), transmission priority (1 bit), program identification (13 bit), CTB start indication (1 bit), CTB end indication (1 bit), reservation (2 bit), and TS packet loop count (4 bits).
  • the Internet channel is described in detail below.
  • the Internet channel includes: a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol HTTP channel.
  • a message channel for transmitting a retransmission request is formed between the Internet channel and the fused transport stream sublayer; the fused transport stream sublayer receives the retransmission request via the message channel, and passes the retransmission response encapsulated with the fused transport block via the data
  • the channel is sent to the internet channel.
  • the fused transport stream sublayer receives the UDP retransmission request sent by the UDP channel via the message channel, and sends the UDP retransmission response encapsulated with the fused transport block to the UDP channel via the data channel; or the fused transport stream sublayer passes the message channel Receiving an HTTP retransmission request sent by the HTTP channel, and transmitting an HTTP retransmission response encapsulated with the fused transport block to the HTTP channel via the data channel.
  • the UDP channel and the HTTP channel are coexisting, and which channel is specifically used is determined by the terminal side when transmitting the retransmission request.
  • the fused transport stream sublayer of the terminal side receives the UDP retransmission request and sends the UDP retransmission response through the UDP channel; when the data volume of the fused transport block requesting retransmission is greater than
  • the fused transport stream sublayer on the terminal side receives the HTTP retransmission request and sends an HTTP retransmission response through the HTTP channel.
  • the protocol stack for the terminal side includes: a service application layer, a converged transport layer, and a physical transport layer.
  • the business application layer includes file units for receiving raw data of a file to be processed.
  • the converged transport layer includes a service specific transport protocol sublayer and a converged transport stream sublayer.
  • the service specific transmission protocol sublayer includes at least one physical unit for parsing the fused transport block to generate original data; each physical unit and the file unit form a data channel with original data for transmitting a file to be transmitted, each entity A data channel for transmitting the fused transport block is formed between the unit and the fused transport stream sublayer.
  • the service-specific transport protocol sub-layer can support multiple protocols. This embodiment uses the LSTP protocol as an example.
  • the entity unit parses the transport block to generate the original data, including:
  • the fused transport block is decapsulated to obtain a file description header and a file segment, and then file recovery is performed on the file segment according to the file description header, that is, the original data is parsed and generated.
  • a data channel for transmitting the fused transport block is formed between the fused transport stream sublayer and the physical unit for receiving data via the satellite broadcast channel and transmitting a retransmission request and receiving retransmission data from the server side via the Internet channel.
  • a data channel for transmitting the fused transport block is formed between the physical transport layer and the fused transport stream sublayer.
  • the physical transport layer includes: a satellite broadcast channel and an internet channel.
  • a data channel for transmitting the fused transport block is formed between the satellite broadcast channel and the fused transport stream sublayer.
  • the satellite broadcast channel includes: an NGB-W/S channel or a DVB-S channel
  • the fused transport stream sublayer decapsulates the broadcast data of the NGB-W/S channel or the DVB-S channel into a fused transport block And transmitting the fused transport block to the physical unit via the data channel.
  • a data channel for transmitting the fused transport block is formed between the Internet channel and the fused transport stream sublayer, and a message channel for transmitting a retransmission request is formed between the Internet channel and the fused transport stream sublayer.
  • the fused transport stream sublayer sends a retransmission request via the message channel, and receives, via the data channel, a retransmission response encapsulated by the Internet channel and encapsulated with the fused transport block.
  • the Internet channel includes: a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol HTTP channel;
  • the fused transport stream sublayer sends a UDP retransmission request to the UDP channel via the message channel, and receives a UDP retransmission response encapsulated with the fused transport block sent by the UDP channel via the data channel;
  • the fused transport stream sublayer receives an HTTP retransmission request to the HTTP channel via the message channel, and receives an HTTP retransmission response encapsulated with the fused transport block sent by the HTTP channel via the data channel.
  • the UDP channel and the HTTP channel are coexisting, and which channel is specifically used is determined by the terminal side when transmitting the retransmission request.
  • the fused transport stream sublayer of the terminal side sends a UDP retransmission request and receives a UDP retransmission response through the UDP channel; when the data volume of the fused transport block requesting retransmission is greater than
  • the fused transport stream sublayer on the terminal side transmits an HTTP retransmission request and receives an HTTP retransmission response through the HTTP channel.
  • the fused transport stream sublayer on the terminal side determines whether the data volume of the retransmitted data is smaller than a packet threshold of a UDP retransmission response, and if yes, sends a UDP retransmission request and receives a UDP retransmission response by using the UDP channel; Then, the HTTP channel is used to send an HTTP retransmission request and receive an HTTP retransmission response.
  • the terminal side On the terminal side, the received fused transport block is checked, and the fused transport block is lost.
  • the terminal side initiates a retransmission process, and the terminal side also actively decides the retransmission channel selection.
  • the server side In response to the retransmission request sent by the terminal side, the retransmission response is transmitted through the same Internet channel as the retransmission channel on the terminal side.
  • the physical transport layer of the present application uses a dual link of a satellite broadcast channel and an Internet channel, and uses a satellite broadcast channel to transmit data when transmitting data; when retransmitting data, an Internet channel is used to retransmit lost or erroneous data, thereby Guarantee the reliability of data reception.
  • the above is a detailed description of the architecture of the protocol stack disclosed in the present application.
  • the protocol stack provides support for the operation of the converged transmission system.
  • a data transmission method, apparatus, computing device, and computer readable storage medium based on a converged transmission system are provided, which are described in detail in the following embodiments. Similar to the description of the protocol stack, a data transmission method based on the converged transmission system of the present embodiment also describes the terminal side and the server side, respectively.
  • an embodiment of the present application provides a data transmission method based on a converged transmission system, which is applied to a server side, and includes steps 901 to 904.
  • Step 901 Acquire a file to be sent.
  • the file to be sent may be a file stream in an acquired upper layer service entity, and then the file stream is segmented to form at least one file to be sent, and the file to be sent is sent. That is, the data to be transmitted may include audio data, video data, image data, or text data.
  • the file to be sent may be an independently playable media file formed by dividing a file stream of an audio and video program by time or size, and the audio and video program is a service.
  • the service is a
  • the service includes file streams a1 and a2, wherein the file stream a1 is divided into files such as a11, a12, and a13 according to the time duration, and the file stream a2 is divided into a21 and a22 according to the file size. And a23 and other documents.
  • the number of file streams in each service, and the manner and number of divisions of each file stream into files are not limited, and may be selected according to actual needs.
  • Step 902 Encapsulate the file in at least one fused transport block to form a fused transport stream, and send the fused transport stream to the terminal side, where each fused transport block carries a block sequence number.
  • CTB Converged Transport Block
  • service index information of all the converged transport blocks under the same service may be generated, and used to record files and The correspondence of the transport blocks is fused, wherein each fused transport block carries a block sequence number and all block sequence numbers are consecutive.
  • the service index information includes a plurality of index rows, each index row represents index information of a file, and the index information of each file includes a fused transport stream identifier, a service stream number, a file sequence number in the file stream, and a file stream.
  • the information of all the fused transport blocks corresponding to the information, where the information includes the block number of the first fused transport block corresponding to the file stream and the number of fused transport blocks generated after the file stream is encapsulated.
  • the index information of a file has the following format:
  • the CTS_ID and the ISS_ID respectively indicate the fused transport stream identifier and the service stream number, which together constitute the service identifier;
  • FileSeq is the file sequence number in the file stream;
  • the fused transport block includes a block header and a block payload
  • the block header includes a block sequence number and a service type
  • the file is encapsulated in the block payload.
  • the fused transport stream may be sent to the terminal side through a satellite broadcast channel;
  • the satellite broadcast channel includes an NGB-W/S channel or a DVB-S channel;
  • each fused transport stream occupies a fixed period on a continuous scheduling period on the physical pipeline, and the mapping process is as follows. As shown in FIG. 7, each fused transport block CTB of the fused transport stream is mapped one by one into a link data packet, and the link data packet is further encapsulated by the link layer into a service load packet, and is handed over to The physical layer performs code modulation;
  • the broadcast link uses the Transport Stream (MPEG2-TS) transport stream as the input form of the service, and does not divide the physical channel into several independent physical pipes, as shown in FIG. Therefore, a converged transport stream can be directly mapped to the entire physical channel or a custom logical channel;
  • MPEG2-TS Transport Stream
  • Each fused transport block in the fused transport stream is mapped into an integer number of Transport Stream (TS) packets, and the mapping process and TS packet structure are as shown in FIG. 8.
  • TS Transport Stream
  • the TS packet is 188 bytes long and consists of a header and a payload.
  • the header length is 4 bytes, including the following bits:
  • Sync byte including 8-bit bits, used for synchronization of the TS stream, the value is always 0x47;
  • Transmission error indication including 1 bit, indicating whether the TS packet is in error during transmission, 0 means no error, 1 means error, default value is 0;
  • Payload unit start indication including 1 bit, the value is always 0;
  • Transmission priority including 1 bit, the value is always 0;
  • the program identifier indicates the program or service to which the TS packet belongs, and the value ranges from 0x0000 to 0x1FFF, that is, the valid bit is 13 bits, and the PID value is 0x1FFF for the empty packet.
  • the highest bit of the program identifier is fixed to 0, and the last 12 bits correspond to the identifier (CTS_ID) of the fused transport stream to which the CTB belongs;
  • the CTB start indication includes a 1-bit bit.
  • the transmitted TS packet is the first TS packet of a fused transport block, the position is 1, otherwise, the bit is 0;
  • CTB end indication including 1 bit, when the transmitted TS packet is the last TS packet of a fused transport block, the position is 1, otherwise, the bit is 0;
  • the TS packet loop count including 4 bit bits, is independently loop counted for the TS packets output by each PID.
  • step of encapsulating the file in at least one fused transport block may be implemented by step 1001 to step 1003.
  • Step 1001 Add a file description header for each of the files.
  • the file description header includes: a service identifier, a file sequence number, a file length, and a file play duration, and may also include a Live Stream Transport Protocol (LSTP), a file description header length, and an extended information indication. , file compression instructions and reserved fields, etc.
  • LSTP Live Stream Transport Protocol
  • the service identifier is used to indicate the service to which the file belongs; the file serial number is used to indicate the number of the file in the entire file stream; and the file length is used to indicate the file when the file is not compressed.
  • the original length after compressing the file in a compressed manner, the file length is used to indicate the length of the compressed file, in bytes; the file playing duration is used to indicate the actual playing time of the file. In milliseconds.
  • Step 1002 Segment the file to which the file description header is added into at least one file segment according to the size of the fused transport block, where each file segment carries a segment header, and the file description header is included in the file.
  • One of the file segments is selected from the group consisting of the files listed below.
  • the file added with the file description header is divided into a plurality of file segments according to the size of the fused transport block, where the file segment includes a segment header and a segment payload.
  • the segment header includes a file segment.
  • the number, the total number of file segments, and the file serial number may also include the segment payload type, the segment payload length, and the service stream number.
  • the file description header is segmented into the segment payload of one of the file segments of the file, and the present application preferably divides the file description header into the segment payload of the first file segment of the file.
  • Step 1003 Encapsulate the file segment in a converged transport block.
  • the first file segment is encapsulated in the remaining space.
  • the service type in the block header of the converged transport block is equal to 1;
  • the entire fused transport block is padded, and the service type in the block header of the fused transport block is set to the null service 7.
  • each file segment in a file A is encapsulated in a fused transport block.
  • FDH is added to file A, and then the file A is segmented into a start according to the size of the fused transport block. a plurality of file segments to be sent, a segment, three intermediate segments, and an end segment, the FDH being included in the start segment, and then placing the start segment into the fused transport block k, and then sequentially
  • the intermediate segment is placed in the fused transport block k+1, the fused transport block k+2, the fused transport block k+3, and finally the end segment is placed in the fused transport block k+4; as shown in Fig. 12, the fused transport block k
  • the end segment of the +4 bearer has not yet filled the space of the fused transport block k+4.
  • the following uses the file B to be transmitted as an example to describe the remaining space usage of the fused transport block k+4.
  • the start segment of the file B is encapsulated in the fused transport block k+ 4 in the remaining space, and at this time the service type in the block header of the fused transport block is equal to 1;
  • the remaining space is padded, and the service type in the block header of the fused transport block is equal to 1;
  • the entire fused transport block is padded, and the service type in the block header of the fused transport block is set to the null service 7.
  • Step 903 Receive a fused transport block retransmission request from the terminal side, where the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list requesting retransmission, or includes a fused transport stream identifier and a file sequence number.
  • the fused transport block retransmission request includes the fused transport stream identifier and the request retransmission.
  • the fused transport block block sequence number list may further include a retransmission request number and a total number of fused transport blocks requesting retransmission;
  • the fused transport stream identifier may be an integer type, in the range of 0 to 4095, indicating the fused transport stream identifier that initiates the retransmission;
  • the retransmission request number may be an integer type, ranging from 0 to 255, indicating that the Service Specific Transport Protocol (SSTP) entity chronologically transmits the fused transport block retransmission request (CTS_CTB_REQ message). The number of the cycle performed;
  • the total number of the fused transport blocks (CTS_REQ_COUNT) to be retransmitted may be an integer type, in the range of 1 to 1000, indicating the total number of fused transport blocks requesting retransmission;
  • the fused transport block block sequence number list (CTS_REQ_LIST) for requesting retransmission may be a string type indicating the sequence number of the fused transport block that needs to be retransmitted, and is composed of a plurality of binary groups ⁇ CTB_BEGIN: CTB_NUM>, each of the two groups Representing a group of fused transport blocks consecutively numbered, where SEQ_BEGIN indicates the starting sequence number, SEQ_NUM indicates the number of CTBs in the CTB group, and multiple binary groups are separated by semicolons.
  • the overall format is as follows:
  • SEQ_BEGIN1 SEQ_NUM1
  • SEQ_BEGIN2 SEQ_NUM2
  • SEQ_BEGIN3 SEQ_NUM3;
  • CTB_REQ_LIST is a string of 1001:1; 1050:4; 1066:2, the CTB indicating that retransmission is required includes seven CTBs of sequence numbers 1001, 1050, 1051, 1052, 1053, 1066, and 1067.
  • the fused transport block retransmission request includes the fused transport stream identifier and the file sequence number, and may also include the fused transmission.
  • the fused transport stream identifier may be an integer type, and the value ranges from 0 to 4095, indicating the fused transport stream identifier.
  • the fused transport block request number may be an integer type, ranging from 0 to 255, indicating a circulating number of the fused transport block retransmission request (CTS_CTB_REQ2 message) sent by the LSTP entity in chronological order;
  • the service flow number may be an integer type, ranging from 0 to 255, indicating the number within the service flow, and the service identifier of the fused transport stream constitutes a service identifier.
  • the file acquisition mode (GET_MODE) can be an integer type, in the range of 0 to 1, indicating the file acquisition mode. When the value of the file acquisition mode is 0, it is the normal mode; when the value of the file acquisition mode is 1, it is Relative mode.
  • the file serial number or the relative position of the file may be an integer type, ranging from 0 to (2 20 -1).
  • the value of the file acquisition mode is 0, it represents the file number of the retransmission;
  • the value of the acquisition mode is 1 and represents the relative position of the retransmission file and the latest package file.
  • the service index information generated by the server side records the file encapsulated as a converged transport block in the file stream of the service, assuming the latest packaged file.
  • the serial number is S0.
  • the serial number of the actual retransmission file is (S0-FILE_SEQ); if S0 is smaller than the file serial number or the relative position of the file, the actual retransmission file serial number Is (S0+2 20 -FILE_SEQ).
  • Step 904 Acquire a fused transport block that needs to be retransmitted in the fused transport block retransmission request, and encapsulate the fused transport block into a fused transport block retransmission response and send it to the terminal side.
  • acquiring the fused transport block that needs to be retransmitted in the fused transport block retransmission request includes:
  • the parameter fused transport stream identifier carried in the retransmission request of the fused transport block is firstly found, and the corresponding fused transport stream is found from the service index information of the server side, and then the block sequence number of the fused transport block retransmitted according to the request is obtained.
  • the file segment number and the file sequence number in the header segment of the file segment to be encapsulated in each converged transport block, and the file segment corresponding to the fused transport block requesting retransmission is determined, and the file segment is obtained by the upper layer service entity on the server side.
  • a file segment corresponds to a fused transport block. Therefore, the file segment number of a file corresponds to the block sequence number of the fused transport block.
  • the determined file segment is re-encapsulated in the corresponding fused transport block that needs to be retransmitted, and the encapsulation is fused.
  • the transport block retransmission response is sent to the terminal side.
  • acquiring the fused transport block that needs to be retransmitted in the fused transport block retransmission request includes:
  • the file is encapsulated according to the size of the fused transport block that is requested to be retransmitted into a file segment to form a fused transport block that needs to be retransmitted in the fused transport block retransmission request.
  • the fused transport stream identifier carried in the retransmission request of the fused transport block is first found, and the corresponding fused transport stream is found from the service index information of the server side, and then the file to which the fused transport block is retransmitted according to the request belongs.
  • Sequence number determining the file corresponding to the fused transport block requesting retransmission, and then finding the determined file from the upper layer service entity, dividing the file into file segments according to the size of the fused transport block requested to be retransmitted, and finally dividing the file
  • the file segment is encapsulated in the corresponding fused transport block that needs to be retransmitted, and the encapsulation is sent to the terminal side as a fused transport block retransmission response.
  • the fused transport block retransmission request and the fused transport block retransmission request may be received through an Internet channel.
  • the Internet channel includes a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol HTTP channel;
  • the server side When the amount of data requested by the terminal side to be retransmitted is less than a threshold, the server side receives the fused transport block retransmission request and sends the fused transport block retransmission request through a UDP channel;
  • the server side When the amount of data requested by the terminal side to be retransmitted is greater than a threshold, the server side receives the fused transport block retransmission request and sends the fused transport block retransmission request through an HTTP channel.
  • the amount of data is the amount of data of the fused transport block that is requested to be retransmitted.
  • a threshold for example, a UDP packet threshold
  • the UDP protocol is used; when the amount of CTB data requested for retransmission exceeds
  • the HTTP protocol is used. You can set the threshold of the UDP packet to not exceed the maximum length of a UDP packet, that is, 64 Kbytes (Byte).
  • FIG. 16 is a schematic diagram of a terminal side sending a UDP retransmission request to a server requesting retransmission
  • FIG. 17 is a schematic diagram of the terminal side transmitting an HTTP retransmission request to the server requesting retransmission.
  • the data transmission method based on the converged transmission system provided by the embodiment of the present application can implement processing on the data to generate a converged transport stream in a unified format, and the converged transport stream can be transmitted to the broadcast network and the Internet through satellites and the like.
  • the converged terminal can simultaneously receive the broadcast network from the satellite and the signal from the mobile communication network, and when the data received on the broadcast link such as the satellite is erroneous or lost, the converged terminal can transmit the bidirectional link through the mobile communication network. Retransmit lost or erroneous data to ensure the reliability of data reception.
  • an embodiment of the present application provides a data transmission method based on a converged transmission system, which is applied to a terminal side, and includes steps 1801 to 1805.
  • Step 1801 Receive a converged transport stream.
  • the fused transport stream sent by the server side may be received by using a satellite broadcast channel, where the fused transport stream is formed by a fused transport block.
  • the satellite broadcast channel comprises an NGB-W/S channel or a DVB-S channel.
  • Step 1802 Parse all the converged transport blocks in the converged transport stream and cache them, where each converged transport block carries a block sequence number.
  • the file segments encapsulated in all the converged transport blocks in the converged transport stream are parsed and cached, where each file segment carries a segment header, and the segment header includes a file segment number and a total number of file segments.
  • the file serial number, the segment header may further include a segment payload type, a segment payload length, and a service stream number.
  • Step 1803 When it is determined that the fused transport block in the fused transport stream is lost, send a fused transport block retransmission request to the server side.
  • sending the fused transport block retransmission request to the server side includes steps 1901 to 1905.
  • Step 1901 Receive a file retransmission request of an upper layer service entity of the terminal side, where the file retransmission request includes a fused transport stream identifier and a file sequence number.
  • the terminal side may confirm, by using various error checking methods, that the fused transport block in the received fused transport stream is lost or faulty, and the application does not perform the error check mode. limited.
  • the file retransmission request (LSTP_FILE_GET message) further includes a service flow number, a file request number, and a file acquisition mode.
  • the fused transport stream identifier may be an integer type, and the value ranges from 0 to 4095, indicating the fused transport stream identifier.
  • the service flow number may be an integer type, in the range of 0 to 255, indicating the number in the service flow, and the service identifier is formed by the fused transport stream identifier;
  • the file request number may be an integer type, ranging from 0 to 255, the number of the file request, and the file retransmission request sent by the same service is cyclically counted;
  • the file acquisition mode (GET_MODE) can be an integer type, in the range of 0 to 1, indicating the file acquisition mode. When the value of the file acquisition mode is 0, it is the normal mode; when the value of the file acquisition mode is 1, it is Relative mode
  • the file serial number or the relative position of the file may be an integer type, ranging from 0 to (2 20 -1).
  • the value of the file acquisition mode is 0, it represents the file number of the retransmission;
  • the value of the acquisition mode is 1 and represents the relative position of the retransmission file and the latest package file.
  • the service index information generated by the server side records the file encapsulated as a converged transport block in the file stream of the service, assuming the latest packaged file.
  • the serial number is S0.
  • the serial number of the actual retransmission file is (S0-FILE_SEQ); if S0 is smaller than the file serial number or the relative position of the file, the actual retransmission file serial number Is (S0+2 20 -FILE_SEQ).
  • Step 1902 Determine, according to the merged transport stream identifier and the file serial number, the content of the cache, and determine all segment headers and corresponding block sequence numbers.
  • the fused transport stream identifier is C
  • the file sequence number is C1
  • the file segments C11, C13, and C15 in the cached C1 are determined, where the segment header of each of the file segments is The file segment number, the total number of file segments, the file serial number, and the block number of the corresponding fused transport block are shown in Table 2.
  • Step 1903 Determine the lost fused transport block according to the segment header and the corresponding block sequence number.
  • the file segment lost in the file may be determined according to the file segment number and the total number of file segments in the cached segment header, and then the file segment number in the segment header of the lost file segment is merged with the corresponding file segment.
  • the block number of the transport block determines the lost fused transport block
  • Step 1904 Generate a fused transport block retransmission request according to the lost fused transport block.
  • Step 1905 Send a fused transport block retransmission request to the server side.
  • the embodiment of the present application can actively request the retransmission of the missing converged transport block according to the file retransmission request of the upper layer service entity of the receiving terminal, without performing detection on the terminal side, and saving the receiving time of the converged transport block on the terminal side.
  • sending the fused transport block retransmission request to the server side includes steps 2001 to 2006.
  • Step 2001 When performing file recovery on all the converged transport blocks of the cache, the file recovery duration monitoring request of the upper layer service entity of the terminal is monitored and the file recovery time is monitored, wherein the file recovery duration monitoring request includes a file sending interval.
  • the receiving timer can be used to monitor the file recovery duration
  • the file recovery duration monitoring request may further include a fused transport stream identifier, a service stream number, and an automatic repeat-request (ARQ).
  • Switch file sending interval, file timeout adjustment value and the next file number to be received;
  • the fused transport stream identifier may be an integer type, ranging from 0 to 4095, and the fused transport stream identifier is specified;
  • the service flow number may be an integer type, ranging from 0 to 255, specifying a service flow number, and the fused transport stream identifier constitutes a service identifier;
  • the ARQ switch can be of an integer type, and takes values of 0 and 1, where 1 represents automatic file retransmission, and 0 represents automatic file retransmission.
  • the file sending interval can be an integer type, ranging from 0 to 64000, and the file interval is sent in ms.
  • the file timeout adjustment value (TIME_ADJUST) may be an integer type, the value range is 0 to 64000, the timeout adjustment value is in ms, and the reception timeout timing time for the next file is the sum of FILE_INTERVAL and TIME_ADJUST.
  • the sequence number of the next file to be received may be an integer type, and the value ranges from 0 to (2 20 -1), indicating the sequence number of the next file to be received.
  • Step 2002 If the file recovery time length is greater than the file sending interval duration, triggering a file retransmission request sent by the terminal side upper layer service entity, where the file retransmission request includes a fused transport stream identifier and a file sequence number.
  • the file recovery time length is greater than the file sending interval duration
  • the file retransmission request sent by the terminal side upper layer service entity is triggered, for example, the file recovery time is 3 ms, and the file sending interval is If the duration is 2 ms, then the terminal-side upper-layer service entity is actively triggered, and the upper-layer service entity actively sends a file retransmission request, and the parameters carried in the file retransmission request are referred to the foregoing embodiment.
  • Step 2003 Determine, according to the merged transport stream identifier and the file serial number detection cache content, all segment headers and corresponding block sequence numbers.
  • Step 2004 Determine the lost fused transport block according to the segment header and the corresponding block sequence number.
  • Step 2005 Generate a fused transport block retransmission request according to the lost fused transport block.
  • Step 2006 Send a fused transport block retransmission request to the server side.
  • the recovery time of the file is monitored in real time, the loss of the converged transport block is determined by monitoring the file recovery time, the file retransmission function is automatically triggered, the file is automatically automated, and the file can be automatically opened as needed. And the file recovery time monitoring device is closed and easy to use.
  • sending the fused transport block retransmission request to the server side includes steps 2101 to 2105.
  • Step 2101 When performing file recovery on all the converged transport blocks of the cache, the file recovery duration monitoring request of the upper-layer service entity of the terminal is monitored and the file recovery duration is monitored, wherein the file recovery duration monitoring request includes a file sending interval.
  • Step 2102 If the file recovery time reaches the file sending interval duration, and receives a file retransmission request sent by the terminal side upper layer service entity, where the file retransmission request includes the fused transport stream identifier and the file serial number, The monitoring of the file recovery duration is stopped, and the cached content is determined according to the fused transport stream identifier and the file sequence number, and all segment headers and corresponding block sequence numbers are determined.
  • Step 2103 Determine the lost fused transport block according to the segment header and the corresponding block sequence number.
  • Step 2104 Generate a fused transport block retransmission request according to the file retransmission request and the lost fused transport block.
  • Step 2105 Send a fused transport block retransmission request to the server side.
  • the file retransmission request may be actively sent to implement the file deletion request. Passed, strong autonomy and good use.
  • the upper layer service entity of the terminal side is triggered to send a cancel file retransmission request, where the cancel file retransmission request includes The transport stream identifier and the file acquisition number are merged, and the cancel file retransmission request may further include a number in the service stream;
  • the fused transport stream identifier may be an integer type, in a range of 0 to 4095, and specifies a fused transport stream identifier.
  • the service flow number (ISS_ID) may be an integer type, ranging from 0 to 255, specifying a service flow number, and the fused transport stream identifier constitutes a service identifier.
  • the file acquisition number may be an integer type, ranging from 0 to 255, indicating the number of the file request to be canceled.
  • the canceling the transport block request includes a fused transport stream identifier and a fused transport block retransmission request number;
  • the fused transport stream identifier may be an integer type, ranging from 0 to 4095, to initiate a retransmitted fused transport stream identifier.
  • the fused transport block retransmission request number may be an integer type, ranging from 0 to 255, and the SSTP entity chronologically numbers the issued CTS_CTB_REQ message.
  • Step 1804 Receive a fused transport block retransmission response carrying the fused transport stream identifier, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission.
  • the fused transport block retransmission request and the fused transport block retransmission request may be sent through an Internet channel.
  • the Internet channel includes a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol HTTP channel;
  • the terminal side When the amount of data requested by the terminal side to be retransmitted is less than a threshold, the terminal side sends the fused transport block retransmission request and receives the fused transport block retransmission request through a UDP channel;
  • the terminal side When the amount of data requested by the terminal side to be retransmitted is greater than a threshold, the terminal side receives the fused transport block retransmission request and receives the fused transport block retransmission request through an HTTP channel.
  • Step 1805 Determine, according to the fused transport stream identifier carried in the retransmission response of the fused transport block, the number of fused transport blocks requesting retransmission, and the fused transport block data that is requested to be retransmitted, to determine that the complete fused transport stream is cached. Converged transport blocks.
  • the file description header includes: a service identifier, a file serial number, a file length, and a file playback duration.
  • the foregoing method can be used to process data, and generate a unified format of the converged transport stream, which can be transmitted to the converged terminal through a broadcast network broadcast such as satellite and the Internet, and the converged terminal can receive the same at the same time.
  • broadcast networks such as satellites and signals from mobile communication networks, and when data received on broadcast links such as satellites are erroneous or lost, the converged terminal can retransmit lost or erroneous data over the bidirectional link of the mobile communication network. To ensure the reliability of data reception.
  • an embodiment of the present application discloses a data transmission apparatus based on a converged transmission system, which is applied to a server side, and the apparatus includes:
  • the obtaining module 2201 is configured to obtain a file to be sent.
  • the obtaining module 2201 is configured to obtain a file stream in the service, and divide the file stream into at least one file to be sent.
  • the file encapsulating module 2202 is configured to encapsulate the file in the at least one fused transport block to form a fused transport stream, where the fused transport block carries a block sequence number.
  • file encapsulating module 2202 includes:
  • a file description header adds a submodule for adding a file description header for each of the files
  • a file splitting submodule configured to divide the file to which the file description header is added into at least one file segment according to a size of the fused transport block, where each file segment carries a segment header, and the file description header is included in One of the file segments of the file;
  • a file segment encapsulation submodule configured to encapsulate the file segment in a converged transport block
  • the file description header includes: a service identifier, a file serial number, a file length, and a file playing duration
  • the segment header includes a file segment number, a total number of file segments, and a file serial number.
  • the file segment encapsulation submodule includes:
  • a remaining space judging submodule configured to detect whether there is a next file to be sent if the last file segment of the file is encapsulated in the fused transport block and the fused transport block has a remaining space
  • a remaining file encapsulation submodule configured to: if the next file to be sent exists and if the size of the first file segment of the next file to be sent is equal to or smaller than the remaining space, the first file segment is encapsulated In the remaining space;
  • the receiving retransmission request module 2203 is configured to receive a fused transport block retransmission request from the terminal side, where the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list requesting retransmission, or includes a fused transmission Stream ID and file serial number.
  • the retransmission response module 2204 is configured to obtain the fused transport block that needs to be retransmitted in the fused transport block retransmission request, and encapsulates the fused transport block into a fused transport block retransmission response and sends the retransmission response to the terminal side.
  • the generate retransmission response module 2204 includes:
  • a fused transport stream determining submodule configured to determine, according to the correspondence between the fused transport stream identifier in the fused transport block retransmission request and the fused transport stream identifier in the service index information, to determine the fused transport block retransmission request a fused transport stream to which the fused transport block requesting retransmission belongs;
  • a file segment determining submodule configured to compare the fused transport block block sequence number list requesting retransmission with information of all fused transport blocks corresponding to the file stream in the service index information, to determine the fused transport block retransmission request a file segment corresponding to the fused transport block requesting retransmission;
  • a file segment encapsulating retransmission submodule configured to re-encapsulate the file segment to form a fused transport block that needs to be retransmitted in the fused transport block retransmission request;
  • the generating the retransmission response module 2204 includes:
  • a determining submodule configured to determine, according to the correspondence between the fused transport stream identifier in the fused transport block retransmission request and the fused transport stream identifier in the service index information, to request retransmission in the fused transport block retransmission request a converged transport stream to which the converged transport block belongs;
  • a file determining submodule configured to compare a file sequence number to which the fused transport block requesting retransmission belongs and a file sequence number of the file stream in the service index information, to determine a fusion requesting retransmission in the fused transport block retransmission request The file to which the transport block belongs;
  • the file encapsulation retransmission sub-module is configured to divide the fused transport block size that is requested to be retransmitted into a file segment for encapsulation, and form a fused transport block that needs to be retransmitted in the retransmission request of the fused transport block.
  • the device further includes:
  • a service index information generating module configured to generate service index information of all the converged transport blocks under the same service
  • the service index information includes a fused transport stream identifier, a file sequence number in the file stream, and information of all fused transport blocks corresponding to the file stream, where the information includes a block sequence number of the first fused transport block corresponding to the file stream, and The number of fused transport blocks generated after file stream encapsulation.
  • the device sends the fused transport stream to the terminal side through a satellite broadcast channel
  • the satellite broadcast channel comprises an NGB-W/S channel or a DVB-S channel.
  • the Internet channel includes a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol (HTTP) channel;
  • UDP User Datagram Protocol
  • HTTP Hypertext Transfer Protocol
  • the server side When the amount of data requested by the terminal side to be retransmitted is less than a threshold, the server side receives the fused transport block retransmission request and sends the fused transport block retransmission request through a UDP channel;
  • the server side When the amount of data requested by the terminal side to be retransmitted is greater than a threshold, the server side receives the fused transport block retransmission request and sends the fused transport block retransmission request through an HTTP channel.
  • the data transmission device based on the converged transmission system disclosed in the embodiment of the present application can implement data processing to generate a converged transport stream in a unified format, and the converged transport stream can be transmitted to the converged terminal through a broadcast network broadcast such as satellite and the Internet.
  • the converged terminal can simultaneously receive signals from a broadcast network such as a satellite and from a mobile communication network, and when data received on a broadcast link such as a satellite is erroneous or lost, the converged terminal can retransmit the bidirectional link through the mobile communication network. Lost or erroneous data to ensure the reliability of data reception.
  • the embodiment of the present application discloses a data transmission device based on a fusion transmission system, which is applied to a terminal side, and the device includes:
  • the fused transport stream receiving module 2301 is configured to receive the fused transport stream.
  • the fused transport block parsing module 2302 is configured to parse and cache all the fused transport blocks in the fused transport stream, where each fused transport block carries a block sequence number to the cache module.
  • the fused transport block parsing module 2302 is configured to parse the file segments encapsulated in all the fused transport blocks in the fused transport stream and cache the file segments into the cache module, where each file segment carries a segment header.
  • the segment header includes a file segment number, a total number of file segments, and a file serial number.
  • the transmit retransmission request module 2303 is configured to send a fused transport block retransmission request to the server side when the fused transport block in the fused transport stream is lost.
  • the sending retransmission request module 2303 includes:
  • a file retransmission request receiving submodule configured to receive a file retransmission request of an upper layer service entity of the terminal side, where the file retransmission request includes a converged transport stream identifier and a file serial number;
  • a cache detection sub-module configured to detect, according to the merged transport stream identifier and the file serial number, a cached content, and determine a sequence header and a corresponding block sequence number
  • a file determining submodule configured to determine a lost converged transport block according to the segment header and the corresponding block sequence number
  • a first retransmission request generating submodule configured to generate a fused transport block retransmission request according to the lost fused transport block
  • the first sending submodule is configured to send a fused transport block retransmission request to the server side.
  • the sending retransmission request module 2303 further includes:
  • the first monitoring sub-module is configured to receive a file recovery duration monitoring request of the upper-layer service entity of the terminal and monitor the file recovery duration, where the file recovery time monitoring request includes File sending interval;
  • the file retransmission request triggering submodule is configured to trigger a file retransmission request sent by the terminal side upper layer service entity if the file recovery time length is greater than the file sending interval duration, where the file retransmission request includes the fused transport stream Identification and file serial number;
  • a cache content determining submodule configured to determine, according to the merged transport stream identifier and the file serial number, the cached content, and determine a total number of segments and corresponding block numbers;
  • a file segment determining submodule configured to determine a lost merged transport block according to the segment header and the corresponding block sequence number
  • a second retransmission request generating submodule configured to generate a fused transport block retransmission request according to the lost fused transport block
  • the second sending submodule is configured to send the fused transport block retransmission request to the server side.
  • the receiving retransmission response module 2304 is configured to receive a fused transport block retransmission response carrying the fused transport stream identifier, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission;
  • the fused transport block complete module 2305 is configured to determine, according to the fused transport stream identifier carried in the retransmission response of the fused transport block, the number of fused transport blocks requesting retransmission, and the fused transport block data requested to be retransmitted, to determine that the complete cache is cached.
  • the sending retransmission request module 2303 further includes:
  • the second monitoring sub-module is configured to: when receiving file recovery of all the converged transport blocks of the cache, receive a file recovery duration monitoring request of the upper-layer service entity of the terminal side, and monitor the file recovery duration, where the file recovery duration monitoring request includes File sending interval;
  • the file retransmission request automatic receiving submodule is configured to: before the file recovery time reaches the file sending interval duration, receive a file retransmission request sent by the terminal side upper layer service entity, where the file retransmission request includes fusion Transmitting the flow identifier and the file serial number, stopping monitoring the recovery time of the file, and detecting the cached content according to the merged transport stream identifier and the file serial number, and determining all segment headers and corresponding block serial numbers;
  • a fused transport block missing submodule configured to determine a lost fused transport block according to the segment header and the corresponding block sequence number
  • a third retransmission request generating submodule configured to generate a fused transport block retransmission request according to the lost fused transport block
  • the third sending submodule is configured to send the fused transport block retransmission request to the server side.
  • the device further includes:
  • a canceling a file retransmission requesting module configured to determine, according to the segment header and the corresponding block sequence number, that the unfused transport block is lost, triggering an upper layer service entity of the terminal side to send a cancel file retransmission request, where the canceling
  • the file retransmission request includes a converged transport stream identifier and a file acquisition number.
  • the device further includes:
  • the block retransmission request module is configured to send a cancel converged transport block request to the server side, where the unfused transport block request includes a fused transport stream identifier and a fused transport block retransmission request number.
  • the device further includes:
  • a file description header parsing module configured to parse a file description header in the converged transport block
  • a file recovery module configured to perform file recovery according to the file description header and the segment header, and send the file to an upper layer service entity of the terminal side;
  • the file description header includes: a service identifier, a file serial number, a file length, and a file playback duration.
  • the apparatus receives the fused transport block sent by the server side by using a satellite broadcast channel;
  • the satellite broadcast channel comprises an NGB-W/S channel or a DVB-S channel.
  • the Internet channel includes a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol HTTP channel;
  • the terminal side When the amount of data requested by the terminal side to be retransmitted is less than a threshold, the terminal side sends the fused transport block retransmission request and receives the fused transport block retransmission request through a UDP channel;
  • the terminal side When the amount of data requested by the terminal side to be retransmitted is greater than a threshold, the terminal side receives the fused transport block retransmission request and receives the fused transport block retransmission request through an HTTP channel.
  • the data transmission device based on the converged transmission system disclosed in the embodiment of the present application can implement data processing to generate a converged transport stream in a unified format, and the converged transport stream can be transmitted to the converged terminal through a broadcast network broadcast such as satellite and the Internet.
  • the converged terminal can simultaneously receive signals from a broadcast network such as a satellite and from a mobile communication network, and when data received on a broadcast link such as a satellite is erroneous or lost, the converged terminal can retransmit the bidirectional link through the mobile communication network. Lost or erroneous data to ensure the reliability of data reception.
  • the above is a schematic diagram of a data transmission apparatus based on a converged transport block system of the present embodiment.
  • the technical solution of the data transmission device based on the fused transport block system belongs to the same concept as the technical solution of the data transmission method based on the fused transport block system, and the technical solution of the data transmission device based on the fused transport block system is not
  • An embodiment of the present application further provides a computing device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the program to implement the following steps:
  • the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list requesting retransmission, or includes a fused transport stream identifier and a file sequence number;
  • the embodiment of the present application further provides a computing device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the following steps:
  • the computing device may be a computing device such as a desktop computer, a notebook, a palmtop computer, or a mobile terminal.
  • the processor may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and an off-the-shelf device.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA Field-Programmable Gate Array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like, which is a control center of the terminal, and connects various parts of the entire terminal using various interfaces and lines.
  • the memory mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.); and the storage data area can be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • the memory may include a high-speed random access memory, and may also include non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SMC), and a Secure Digital (SD) card. , Flash Card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
  • An embodiment of the present application further provides a computer readable storage medium storing a computer program, when the computer program is executed by a processor, implementing the fusion transmission system based on the application side as described above The steps in the data transfer method.
  • An embodiment of the present application further provides a computer readable storage medium storing a computer program, when the computer program is executed by a processor, implementing the fusion transmission system based on the application to the terminal side The steps in the data transfer method.
  • the above is a schematic illustration of a computer readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the data transmission method based on the fused transport block system, and the details of the technical solution of the storage medium are not described in detail. A description of the technical solution of the system's data transmission method.
  • the computer instructions include computer program code, which may be in the form of source code, an object code, an executable, or some intermediate form.
  • the computer readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM). , random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in a jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer readable media Does not include electrical carrier signals and telecommunication signals.

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

The present application provides a data transmission method based on a fusion transmission system. The method comprises: obtaining a file to be sent; encapsulating said file in at least one fusion transmission block to form a fusion transmission stream and sending said fusion transmission stream to a terminal side; receiving a fusion transmission block retransmission request from the terminal side; and obtaining fusion transmission blocks needing to be retransmitted in the fusion transmission block retransmission request, encapsulating the fusion transmission blocks into a fusion transmission block retransmission response, and sending said fusion transmission block retransmission response to the terminal side.

Description

一种基于融合传输系统的数据传输方法Data transmission method based on fusion transmission system
本申请要求于2018年1月31日提交中国专利局、申请号为201810094159.2、发明名称为“一种基于融合传输系统的数据传输方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201101094159.2, entitled "A Data Transmission Method Based on Fusion Transmission System", filed on January 31, 2018, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本申请涉及数字多媒体广播技术领域,特别涉及一种基于融合传输系统的数据传输方法。The present application relates to the field of digital multimedia broadcasting technologies, and in particular, to a data transmission method based on a converged transmission system.
背景技术Background technique
目前,为了应对信息业务需求量的快速增长,单独依靠传统广播网或传统双向通信网,都无法实现移动信息业务的最优化传输。传统广播网采用大区制组网方式,覆盖范围大,单向广播效率高,有利于公共业务内容的广播和推送,但是不具备上行回传信道,无法实现点播或宽带接入,不利于个性化内容的传输。At present, in order to cope with the rapid growth of the demand for information services, the traditional broadcast network or the traditional two-way communication network alone cannot realize the optimal transmission of mobile information services. The traditional broadcast network adopts the large-area network connection mode, with large coverage and high-unidirectional broadcast efficiency, which is beneficial to the broadcast and push of public service content, but does not have an uplink return channel, and cannot achieve on-demand or broadband access, which is not conducive to personality. Transfer of content.
现有移动通信网采用小区制蜂窝组网方式,覆盖范围小,双向通信效率高,有利于个性化内容的传输,但广播和推送的效率低,不利于公共业务内容的广播和推送。The existing mobile communication network adopts the cell-based cellular networking mode, has small coverage, high-efficiency two-way communication, and is beneficial for the transmission of personalized content, but the efficiency of broadcasting and pushing is low, which is not conducive to the broadcasting and pushing of public service content.
在这种情况下,广播和通信业界一方面在分别研发新一代广播和通信技术,以提升各自系统的传输速率和频谱利用率;另一方面在积极探索广播和移动通信融合的新型网络架构和接入技术,以充分利用广播网和移动通信网对承载不同业务的优势,有针对性地分配网络资源和频谱资源,选择最优传输方式,提升网络和系统的整体无线频谱利用率。Under this circumstance, the broadcasting and communication industry is developing a new generation of broadcasting and communication technologies to improve the transmission rate and spectrum utilization of their respective systems. On the other hand, it is actively exploring new network architectures for the convergence of broadcasting and mobile communications. The access technology is to make full use of the advantages of the broadcast network and the mobile communication network for carrying different services, to allocate network resources and spectrum resources in a targeted manner, to select an optimal transmission mode, and to improve the overall wireless spectrum utilization rate of the network and the system.
发明内容Summary of the invention
有鉴于此,本申请实施例提供了一种基于融合传输系统的数据传输方法及装置、计算设备及存储介质,以解决现有技术中存在的技术缺陷。In view of this, the embodiments of the present application provide a data transmission method and apparatus, a computing device, and a storage medium based on a converged transmission system, to solve the technical defects existing in the prior art.
本申请实施例公开了一种基于融合传输系统的数据传输方法,应用于融合服务器侧,包括:The embodiment of the present application discloses a data transmission method based on a converged transmission system, which is applied to the convergence server side, and includes:
获取待发送的文件;Get the file to be sent;
将所述文件封装在至少一个融合传输块中形成融合传输流发送至终端侧,其中,每个融合传输块均携带有块序号;Encapsulating the file in the at least one fused transport block to form a fused transport stream to be sent to the terminal side, where each fused transport block carries a block sequence number;
接收来自终端侧的融合传输块重传请求,所述融合传输块重传请求包括融合传输流标识和请求重传的融合传输块块序号列表,或者包括融合传输流标识和文件序号;Receiving a fused transport block retransmission request from the terminal side, where the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list requesting retransmission, or includes a fused transport stream identifier and a file sequence number;
获取所述融合传输块重传请求中需要重传的融合传输块,并将所述融合传输块封装为融合传输块补发响应发送至终端侧。Obtaining a fused transport block that needs to be retransmitted in the fused transport block retransmission request, and encapsulating the fused transport block into a fused transport block retransmission response to be sent to the terminal side.
另一方面,本申请实施例还提供了一种基于融合传输块系统的数据传输方法,应用于终端侧,包括:On the other hand, the embodiment of the present application further provides a data transmission method based on the fused transport block system, which is applied to the terminal side, and includes:
接收融合传输流;Receiving a converged transport stream;
解析所述融合传输流中的所有的融合传输块并缓存,其中,每个融合传输块均携带有块序号;Parsing and converging all the converged transport blocks in the converged transport stream, where each converged transport block carries a block sequence number;
确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求;When it is determined that the fused transport block in the fused transport stream is lost, sending a fused transport block retransmission request to the server side;
接收携带有融合传输流标识、请求重传的融合传输块数目和请求重传的融 合传输块数据的融合传输块补发响应;Receiving a fused transport block retransmission response carrying the fused transport stream identifier, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission;
根据所述融合传输块补发响应中携带的融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据,确定缓存了完整的所述融合传输流中的融合传输块。Determining, according to the fused transport stream identifier carried in the retransmission response of the fused transport block, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission, determining that the fused transport block in the fused transport stream is buffered .
另一方面,本申请实施例还提供了一种计算设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:In another aspect, the embodiment of the present application further provides a computing device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the following steps:
获取待发送的文件;Get the file to be sent;
将所述文件封装在至少一个融合传输块中形成融合传输流发送至终端侧,其中,每个融合传输块均携带有块序号;Encapsulating the file in the at least one fused transport block to form a fused transport stream to be sent to the terminal side, where each fused transport block carries a block sequence number;
接收来自终端侧的融合传输块重传请求,所述融合传输块重传请求包括融合传输流标识和请求重传的融合传输块块序号列表,或者包括融合传输流标识和文件序号;Receiving a fused transport block retransmission request from the terminal side, where the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list requesting retransmission, or includes a fused transport stream identifier and a file sequence number;
获取所述融合传输块重传请求中需要重传的融合传输块,并将所述融合传输块封装为融合传输块补发响应发送至终端侧。Obtaining a fused transport block that needs to be retransmitted in the fused transport block retransmission request, and encapsulating the fused transport block into a fused transport block retransmission response to be sent to the terminal side.
另一方面,本申请实施例还提供了一种计算设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:In another aspect, the embodiment of the present application further provides a computing device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the following steps:
接收融合传输流;Receiving a converged transport stream;
解析所述融合传输流中的所有的融合传输块并缓存,其中,每个融合传输块均携带有块序号;Parsing and converging all the converged transport blocks in the converged transport stream, where each converged transport block carries a block sequence number;
确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求;When it is determined that the fused transport block in the fused transport stream is lost, sending a fused transport block retransmission request to the server side;
接收携带有融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据的融合传输块补发响应;Receiving a fused transport block retransmission response carrying the fused transport stream identifier, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission;
根据所述融合传输块补发响应中携带的融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据,确定缓存的所述融合传输流中的融合传输块完整。Determining, according to the fused transport stream identifier carried in the retransmission response of the fused transport block, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission, determining that the fused transport transport block in the cached transport transport stream is complete.
另一方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现应用于服务器侧的所述的基于融合传输系统的数据传输方法中的步骤或应用于终端侧的所述的基于融合传输系统的数据传输方法中的步骤。In another aspect, the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, when the computer program is executed by a processor, implementing the The steps in the data transmission method of the converged transmission system or the steps in the data transmission method based on the converged transmission system applied to the terminal side.
本申请提供的一种基于融合传输系统的数据传输方法、计算设备及存储介质,其中,所述方法包括:获取待发送的文件;将所述文件封装在至少一个融合传输块中形成融合传输流发送至终端侧,其中,每个融合传输块均携带有块序号;接收来自终端侧的融合传输块重传请求,所述融合传输块重传请求包括融合传输流标识和请求重传的融合传输块块序号列表,或者包括融合传输流标识和文件序号;获取所述融合传输块重传请求中需要重传的融合传输块,并将所述融合传输块封装为融合传输块补发响应发送至终端侧;采用上述方法可以实现对数据进行处理,生成统一格式的融合传输流,该融合传输流可通过卫星等广播网广播和互联网两种方式传输给融合终端,融合终端可以同时接收来自卫星等广播网和来自移动通信网的信号,并且当卫星等广播链路上接收的数据发生出错或丢失时,融合终端可以将通过移动通信网的双向链路来重传丢失或 出错的数据,以保证数据接收的可靠性。The present invention provides a data transmission method, a computing device, and a storage medium based on a converged transmission system, where the method includes: acquiring a file to be sent; and encapsulating the file in at least one fused transport block to form a fused transport stream Sending to the terminal side, where each fused transport block carries a block sequence number; receiving a fused transport block retransmission request from the terminal side, the fused transport block retransmission request including the fused transport stream identifier and the fused transmission requesting retransmission a block sequence number list, or including a fused transport stream identifier and a file sequence number; acquiring a fused transport block that needs to be retransmitted in the fused transport block retransmission request, and encapsulating the fused transport block into a fused transport block retransmission response to be sent to The terminal side can adopt the above method to process the data and generate a unified format of the converged transport stream, which can be transmitted to the converged terminal through broadcast network broadcast and satellite, and the converged terminal can receive the satellite at the same time. Broadcast network and signals from mobile communication networks, and when broadcasting on satellites, etc. The received data error or loss occurs, the convergence terminal can retransmit lost or erroneous data in a mobile communication network via a bidirectional link, in order to ensure the reliability of data reception.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can obtain other drawings according to the provided drawings without any creative work.
图1是本申请实施例的融合传输系统的结构示意图;1 is a schematic structural diagram of a fusion transmission system according to an embodiment of the present application;
图2是本申请实施例的用于服务器侧的基于融合传输系统的协议栈的结构示意图;2 is a schematic structural diagram of a protocol stack based on a converged transmission system for a server side according to an embodiment of the present application;
图3是本申请实施例的用于终端侧的基于融合传输系统的协议栈的结构示意图;3 is a schematic structural diagram of a protocol stack based on a converged transmission system for a terminal side according to an embodiment of the present application;
图4是本申请实施例的融合传输流的结构示意图;4 is a schematic structural diagram of a converged transport stream according to an embodiment of the present application;
图5是本申请实施例的融合传输块的结构示意图;FIG. 5 is a schematic structural diagram of a fused transport block according to an embodiment of the present application;
图6是本申请实施例的文件描述头的结构示意图;6 is a schematic structural diagram of a file description header according to an embodiment of the present application;
图7是本申请实施例的每个融合传输流在下一代广播电视无线NGB-W/S信道中的映射过程示意图;7 is a schematic diagram of a mapping process of each fused transport stream in a next-generation broadcast television wireless NGB-W/S channel according to an embodiment of the present application;
图8是本申请实施例的每个融合传输流在数字卫星广播系统DVB-S信道中的映射过程及TS包结构示意图;8 is a schematic diagram of a mapping process and a TS packet structure of each fused transport stream in a DVB-S channel of a digital satellite broadcasting system according to an embodiment of the present application;
图9是本申请实施例的一种基于融合传输系统的数据传输方法的流程图;9 is a flowchart of a data transmission method based on a converged transmission system according to an embodiment of the present application;
图10是本申请实施例的一种基于融合传输系统的数据传输方法的流程图;10 is a flowchart of a data transmission method based on a converged transmission system according to an embodiment of the present application;
图11是本申请实施例的段头的结构示意图;11 is a schematic structural view of a segment header of an embodiment of the present application;
图12是本申请实施例的融合传输块封装结构示意图;FIG. 12 is a schematic structural diagram of a converged transport block package according to an embodiment of the present application;
图13是本申请实施例的融合传输块封装结构示意图;FIG. 13 is a schematic structural diagram of a converged transport block package according to an embodiment of the present application;
图14是本申请实施例的融合传输块封装结构示意图;14 is a schematic structural diagram of a converged transport block package according to an embodiment of the present application;
图15是本申请实施例的融合传输块封装结构示意图;15 is a schematic structural diagram of a converged transport block package according to an embodiment of the present application;
图16是本申请实施例的终端侧在发送UDP重传请求至服务器侧请求重传的示意图;16 is a schematic diagram of a terminal side requesting retransmission to a server side by sending a UDP retransmission request according to an embodiment of the present application;
图17是本申请实施例的终端侧在发送HTTP重传请求至服务器侧请求重传的示意图;17 is a schematic diagram of a terminal side requesting retransmission by sending an HTTP retransmission request to a server side according to an embodiment of the present application;
图18是本申请实施例的一种基于融合传输系统的数据传输方法的流程图;18 is a flowchart of a data transmission method based on a converged transmission system according to an embodiment of the present application;
图19是本申请实施例的一种基于融合传输系统的数据传输方法的流程图;19 is a flowchart of a data transmission method based on a converged transmission system according to an embodiment of the present application;
图20是本申请实施例的一种基于融合传输系统的数据传输方法的流程图;20 is a flowchart of a data transmission method based on a converged transmission system according to an embodiment of the present application;
图21是本申请实施例的一种基于融合传输系统的数据传输方法的流程图;21 is a flowchart of a data transmission method based on a converged transmission system according to an embodiment of the present application;
图22是本申请实施例的一种基于融合传输系统的数据传输装置的结构示意图;22 is a schematic structural diagram of a data transmission apparatus based on a converged transmission system according to an embodiment of the present application;
图23是本申请实施例的一种基于融合传输系统的数据传输装置的结构示意图。FIG. 23 is a schematic structural diagram of a data transmission apparatus based on a converged transmission system according to an embodiment of the present application.
具体实施方式Detailed ways
在下面的描述中阐述了很多具体细节以便于充分理解本申请。但是本申请能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背 本申请内涵的情况下做类似推广,因此本申请不受下面公开的具体实施的限制。Numerous specific details are set forth in the description below in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar promotion without departing from the scope of the present application, and thus the present application is not limited by the specific embodiments disclosed below.
在本申请中,“第一”、“第二”、“第三”等仅用于彼此的区分,而非表示重要程度及顺序、以及互为存在的前提等。In the present application, "first", "second", "third", and the like are used only for distinguishing from each other, and not for indicating the degree of importance and order, and the premise of mutual existence.
在本申请中,提供了一种基于融合传输系统的数据传输方法及装置、计算设备及存储介质,在下面的实施例中逐一进行详细说明。In the present application, a data transmission method and apparatus, a computing device, and a storage medium based on a converged transmission system are provided, which are described in detail in the following embodiments.
首先对本申请下文中会涉及的名词术语进行解释。First, the terminology involved in this application will be explained below.
业务(service)——在广播者的控制下,可以进行直播的一系列节目或数据。Service - A series of programs or data that can be broadcast live under the control of a broadcaster.
卫星移动多媒体(mobile satellite multimedia)——通过卫星通信网络向移动终端提供的多媒体服务,如音视频、点播和数据推送业务等。Mobile satellite multimedia - multimedia services provided to mobile terminals via satellite communication networks, such as audio and video, on-demand and data push services.
卫星广播网(satellite broadcast network)——基于地球同步轨道卫星来提供音视频广播和其他信息服务的网络。Satellite broadcast network - A network that provides audio and video broadcasting and other information services based on geosynchronous orbit satellites.
移动通信网(mobile communication network)——基于地面基站来提供移动通信和双向数据传输的网络,包括2G/双向/xG。Mobile communication network - A network that provides mobile communications and two-way data transmission based on terrestrial base stations, including 2G/bidirectional/xG.
网络融合传输(network convergence transmission)——同一个业务采用卫星广播网和移动通信网两种网络途径来进行传输以提高业务覆盖范围和业务可靠性的传输方式。Network convergence transmission—The same service uses both the satellite broadcast network and the mobile communication network to transmit to improve the service coverage and service reliability.
传输流(MPEG2-TS,又称TS)——用于音效、图像与数据的通信协定,用来封装音视频媒体数据的复合信息流。Transport Stream (MPEG2-TS, also known as TS) - A communication protocol for sound effects, images and data used to encapsulate a composite stream of audio and video media data.
融合传输块(converged transport block)——一种用来承载上层业务数据的定长包结构。Converged transport block - A fixed-length packet structure used to carry upper-layer service data.
融合传输流(converged transport stream)——由连续的融合传输块组成的可传输多个业务的复合信息流。Converged transport stream - A composite information stream consisting of consecutive converged transport blocks that can transport multiple services.
物理信道(physical pipe)——占有一定信道资源并且可独立进行编码和调制的物理层信道。Physical pipe - A physical layer channel that occupies certain channel resources and can be independently encoded and modulated.
统一资源描述符(uniform resource identifier)——一个用于标识某一互联网资源名称的字符串,该种标识允许用户对任何(包括本地和互联网)的资源通过特定的协议进行交互操作。Uniform resource identifier - A string used to identify the name of an Internet resource that allows the user to interact with any (including local and Internet) resources through a specific protocol.
在介绍本申请的技术方案之前,首先对本申请所涉及的融合传输系统的架构进行说明。Before introducing the technical solution of the present application, the architecture of the converged transmission system according to the present application will be first described.
融合传输系统10的架构参见图1。在融合传输系统10中,各种业务平台101(如音视频广播业务、数据推送业务等)的输出数据首先提交给融合网关103。融合网关103对各种业务数据进行处理后,生成统一格式的融合传输流。该融合传输流可通过两种方式传输给终端110:一是提交给卫星广播前端设备105,经由卫星广播网106通过广播通道108发送给所有终端110;另一种是将数据保存于互联网服务器或提交给内容分发网络(Content Delivery Network,CDN)104上的缓存服务器,并提供统一资源描述符(Uniform Resource Identifier,URI),终端110可主动通过移动通信网107经由网络通道109来访问融合传输流数据。See Figure 1 for the architecture of the converged transmission system 10. In the converged transmission system 10, the output data of various service platforms 101 (such as audio and video broadcasting services, data push services, etc.) is first submitted to the converged gateway 103. After the converged gateway 103 processes various service data, it generates a converged transport stream in a unified format. The converged transport stream can be transmitted to the terminal 110 in two ways: one is submitted to the satellite broadcast headend device 105, sent to all terminals 110 via the satellite broadcast network 106 via the broadcast channel 108; the other is to save the data to an internet server or It is submitted to a cache server on the Content Delivery Network (CDN) 104 and provides a Uniform Resource Identifier (URI). The terminal 110 can actively access the fused transport stream via the network channel 109 through the mobile communication network 107. data.
卫星广播网106利用地球同步轨道卫星为信号覆盖区域(可包括一个或多个国家和地区)提供包括音频、视频、数据等在内的多媒体信息服务。卫星广播网106具有覆盖区域广、在开阔地区信号传输稳定、支持终端的高速移动等优点,尤其适合为车载终端提供信息服务。The satellite broadcast network 106 utilizes geosynchronous orbit satellites to provide multimedia information services including audio, video, data, etc. for signal coverage areas (which may include one or more countries and regions). The satellite broadcasting network 106 has the advantages of wide coverage area, stable signal transmission in an open area, and high-speed movement of a support terminal, and is particularly suitable for providing an information service for an in-vehicle terminal.
融合传输系统10的基本原理如下:终端110同时接收来自卫星广播网106和来自移动通信网107的信号,一般情况下,终端110优先从卫星广播网106接收业务数据,但当卫星广播网106上接收的数据发生出错或丢失时,终端110将通过移动通信网107的双向链路来重传丢失或出错的业务数据,以保证业务数据接收的可靠性。The basic principle of the converged transmission system 10 is as follows: The terminal 110 simultaneously receives signals from the satellite broadcast network 106 and from the mobile communication network 107. In general, the terminal 110 preferentially receives service data from the satellite broadcast network 106, but when on the satellite broadcast network 106 When the received data is erroneous or lost, the terminal 110 will retransmit the lost or erroneous service data through the bidirectional link of the mobile communication network 107 to ensure the reliability of the service data reception.
大文件传输(Big File Push,BFP)协议主要用来实现基于网络融合传输系统的大文件的可靠传输,可以用于传输从几M字节到十几个G字节大小的文件。BFP协议可支持各种基于文件的非实时业务,如高质量的音视频点播、地图推送等等。The Big File Push (BFP) protocol is mainly used to implement reliable transmission of large files based on the network convergence transmission system, and can be used to transfer files from several Mbytes to a dozen Gbytes. The BFP protocol supports a variety of file-based non-real-time services, such as high-quality audio and video on demand, map push and more.
直播流传输(Live Stream Transport Protocol,LSTP)协议主要是用于将一个或多个直播业务的文件流封装为一个融合传输流。The Live Stream Transport Protocol (LSTP) protocol is mainly used to encapsulate a file stream of one or more live broadcast services into a converged transport stream.
可以在服务器侧和终端侧均设置基于LSTP协议的协议栈,参见图2和图3。融合传输系统中,协议栈均包括三层:业务应用层、融合传输层和物理传输层。The protocol stack based on the LSTP protocol can be set on both the server side and the terminal side, as shown in FIG. 2 and FIG. In a converged transmission system, the protocol stack includes three layers: a service application layer, a converged transport layer, and a physical transport layer.
在网络融合传输系统中,业务不再依赖单一的网络传输服务来实现,比如单独由卫星广播网提供的传输服务来实现或是单独由互联通信网提供的互联网传输服务来实现,而是可以经由上述两种网络提供的融合传输功能来实现。上述融合传输功能由一个新的协议层——融合传输层来实现。In a network convergence transmission system, services are no longer implemented by relying on a single network transmission service, such as a transmission service provided by a satellite broadcast network alone or an Internet transmission service provided by an interconnection communication network alone, but The converged transmission function provided by the above two networks is implemented. The above converged transmission function is implemented by a new protocol layer, the converged transport layer.
融合传输层向业务屏蔽了底层网络传输的细节。在服务器侧,业务源只需要将数据提交给融合传输层,融合传输层负责在卫星广播网进行传送业务数据,并且为所述业务数据提供在互联通信网上的访问途径;在终端侧,融合传输层负责接收并检查卫星广播网上接收的业务数据,并根据需要启动在互联通信网 上的重传,并将重传后的业务数据与卫星广播网接收的业务数据整合在一起,提供给上层业务处理。The converged transport layer shields the business from the details of the underlying network transport. On the server side, the service source only needs to submit the data to the converged transport layer, and the converged transport layer is responsible for transmitting the service data in the satellite broadcast network, and providing the service data with access paths on the interconnected communication network; on the terminal side, the converged transmission The layer is responsible for receiving and checking the service data received on the satellite broadcast network, and starting the retransmission on the interconnection communication network as needed, and integrating the retransmitted service data with the service data received by the satellite broadcast network, and providing the upper layer service processing. .
在实际网络中,需要传送的业务类型多样,各种业务的服务质量(QoS)要求也各不相同。例如,音视频直播业务要求保证节目的数据可靠性,需要充分保证其数据的可靠性。为了支持不同的业务类型,融合传输层又进一步划分为两个子层:融合传输流子层和业务特定传输协议子层。In an actual network, the types of services that need to be transmitted are diverse, and the quality of service (QoS) requirements of various services are also different. For example, audio and video live broadcast services require data reliability of the program, and the reliability of the data needs to be fully guaranteed. In order to support different service types, the converged transport layer is further divided into two sub-layers: a converged transport stream sub-layer and a service-specific transport protocol sub-layer.
各子层的功能如下:The functions of each sublayer are as follows:
1)融合传输流(Converged Transport Stream,CTS)子层1) Converged Transport Stream (CTS) sublayer
融合传输流子层提供了一种统一的格式——融合传输块(Converged Transport Block,CTB)来封装各种上层业务的数据。融合传输块是具有固定大小的数据块,并且按照产生的顺序进行连续编号,该编号称为融合传输块的块序号。The Converged Transport Stream sublayer provides a unified format, Converged Transport Block (CTB), to encapsulate data for various upper layer services. The fused transport block is a data block having a fixed size and is consecutively numbered in the order of generation, which is referred to as a block number of the fused transport block.
融合传输流子层支持融合传输块在卫星广播网上的传输。为了适应不同的卫星广播链路,需要对融合传输块进行传输适配,将融合传输块封装到不同的卫星广播链路传输包中。The converged transport stream sublayer supports the transmission of the converged transport block over the satellite broadcast network. In order to adapt to different satellite broadcast links, the fused transport block needs to be adapted for transmission, and the fused transport block is encapsulated into different satellite broadcast link transport packets.
融合传输流子层支持融合传输块在互联网上的重传,包括单个CTB的重传,也包括多个CTB的重传。其中,多个CTB的重传中被重传的多个CTB的块序号可以是连续的,也可以是离散的。The fused transport stream sublayer supports retransmission of the fused transport block over the Internet, including retransmission of a single CTB, and also includes retransmission of multiple CTBs. The block numbers of the plurality of CTBs that are retransmitted in the retransmission of the plurality of CTBs may be continuous or discrete.
2)业务特定传输协议(SSTP)子层2) Service Specific Transport Protocol (SSTP) sublayer
业务特定传输协议子层是为了保证不同业务的服务质量(QoS)而引入的业务适配层。业务特定传输协议子层包括多种传输协议,每种传输协议针对一 种类型的业务,以满足该类业务的实时性及可靠性要求。目前,主要的传输协议包括:The service specific transport protocol sublayer is a service adaptation layer introduced to guarantee the quality of service (QoS) of different services. The service specific transport protocol sublayer includes a variety of transport protocols, each for a type of service to meet the real-time and reliability requirements of such services. Currently, the main transport protocols include:
A.适合实时直播业务的直播流传输协议(LSTP);和A. Live Streaming Protocol (LSTP) suitable for real-time live broadcast services; and
B.适合非实时大文件业务的大文件推送协议(BFP)。B. Large File Push Protocol (BFP) for non-real-time large file services.
这些传输协议的功能包括如何将业务提交的数据进行处理。此外,这些传输协议还包括为满足业务需求的特定重传功能及其他业务适配功能。The functions of these transport protocols include how to process the data submitted by the business. In addition, these transport protocols include specific retransmission capabilities and other service adaptation capabilities to meet business needs.
融合传输流的结构参见图4,融合传输块的结构参见图5。See Figure 4 for the structure of the fused transport stream and Figure 5 for the structure of the fused transport block.
融合传输流是由连续编号的定长数据块——融合传输块(CTB)组成的复合信息流,可以用来承载各种类型的上层业务数据,如图4所示。The fused transport stream is a composite information stream consisting of consecutively numbered fixed-length data blocks, the Converged Transport Block (CTB), which can be used to carry various types of upper-layer service data, as shown in Figure 4.
一般来说,在一个融合传输系统中存在多个并行传输的融合传输流,每个融合传输流在一定的物理信道或逻辑信道上传送,在底层信道的调制编码方案确定的情况下,一个融合传输流的传输速率是恒定的。为了区分不同的融合传输流,系统给每个融合传输流分配一个12位的标识,称为融合传输流标识(CTS-ID)。Generally, there are multiple converged transport streams transmitted in parallel in a converged transmission system, and each converged transport stream is transmitted on a certain physical channel or logical channel. In the case where the modulation coding scheme of the underlying channel is determined, a fusion is performed. The transmission rate of the transport stream is constant. In order to distinguish different converged transport streams, the system assigns each converged transport stream a 12-bit identifier called the Converged Transport Stream Identifier (CTS-ID).
融合传输块是传输业务信息的基本单元。对于一个融合传输流来说,其融合传输块的大小是固定的,主要由该融合传输流所占用的物理信道协议来决定。例如,当采用NGB-W/S信道时,融合传输块的大小固定为2118字节。A converged transport block is the basic unit for transmitting service information. For a converged transport stream, the size of its converged transport block is fixed, mainly determined by the physical channel protocol occupied by the converged transport stream. For example, when the NGB-W/S channel is used, the size of the fused transport block is fixed to 2118 bytes.
融合传输块由块头、块净荷和校验字段三部分组成,其中块头大小固定为5个字节,结构如图5所示。The fused transport block is composed of a block header, a block payload and a check field, wherein the block header size is fixed to 5 bytes, and the structure is as shown in FIG. 5.
其中,块头又进一步包括以下比特:Wherein, the block header further includes the following bits:
块序号——32位比特,用来对同一个融合传输流中的融合传输块进行循 环编号,块序号从0开始,当达到最大值2 32-1后,又从0开始编号。 Block number - 32-bit number, used to cyclically number the fused transport block in the same fused transport stream. The block number starts from 0. When the maximum value is 2 32 -1, it is numbered from 0.
业务类型——3位比特,用来指示融合传输块中封装的业务数据的类型,如表1所示。当业务类型为空业务时,融合传输块中的数据采用随机数据进行填充。The service type, 3-bit, is used to indicate the type of service data encapsulated in the converged transport block, as shown in Table 1. When the service type is empty, the data in the fused transport block is filled with random data.
表1Table 1
value 描述description
11 文件流传输业务 File streaming service
22 大文件推送业务Large file push service
33 控制消息业务Control message service
77 空业务Empty business
其他other 待定To be determined
校验指示——1位比特,值为1时表示融合传输块末尾有校验字段循环冗余校验(Cyclic Redundancy Check)即CRC32,值为0则无此校验字段。Check indicator - 1 bit. A value of 1 indicates that there is a check field at the end of the fused transport block. Cyclic Redundancy Check (CRC32). If the value is 0, there is no check field.
校验字段(CRC32)——32位比特,为校验字段,当校验指示为1时存在,该字段对文件传输块的块头和块净荷所有字节进行校验。Check field (CRC32) - 32-bit bit, which is a check field. It exists when the check indication is 1. This field checks the block header and block payload all bytes of the file transfer block.
本申请一实施例中,设置服务器侧的协议栈如图2所示,包括:In an embodiment of the present application, the protocol stack on the server side is set as shown in FIG. 2, and includes:
业务应用层,包括用于存储待发送的文件的文件单元。The business application layer includes file units for storing files to be sent.
为了直播或推送一个文件,需要将该文件添加到一个业务中。每个业务中添加有至少一个文件。添加至一个业务中的文件被存储在与该业务对应的文件单元中。In order to stream or push a file, you need to add the file to a business. At least one file has been added to each business. Files added to a business are stored in file units corresponding to the service.
在融合传输系统中,每个业务对应着一个融合传输流,因此,在将文件添 加到业务的过程中,也相当于为该文件指定了融合传输流。In a converged transmission system, each service corresponds to a converged transport stream. Therefore, in the process of adding a file to a service, it is equivalent to specifying a converged transport stream for the file.
融合传输层,包括业务特定传输协议子层和融合传输流子层。The converged transport layer includes a service specific transport protocol sublayer and a converged transport stream sublayer.
业务特定传输协议子层包括有至少一个用于对待发送的文件进行前置处理生成原始数据的实体单元。实体单元与文件单元之间形成有传输待发送的文件的数据通道,实体单元通过该数据通道接收待发送的文件,然后对待发送的文件进行前置处理。需要注意的是,每个实体单元对应至少一个文件单元。The service specific transport protocol sublayer includes at least one physical unit for preprocessing the file to be transmitted to generate the original data. A data channel for transmitting a file to be sent is formed between the physical unit and the file unit, and the entity unit receives the file to be sent through the data channel, and then preprocesses the file to be sent. It should be noted that each physical unit corresponds to at least one file unit.
业务特定传输协议子层可以支持多种协议,本实施例以直播流传输协议即LSTP协议为例进行说明,来支持直播业务。对应地,实体单元为LSTP实体单元。The service-specific transport protocol sub-layer can support multiple protocols. In this embodiment, the live streaming protocol, that is, the LSTP protocol, is used as an example to support the live broadcast service. Correspondingly, the physical unit is an LSTP physical unit.
在直播业务时,实体单元可以为待发送的文件添加对应的文件描述头(File Description Header,FDH),实体单元将添加有文件描述头的待发送的文件分割成多个文件段。未添加文件描述头的待发送的文件为原始数据。During the live broadcast service, the entity unit may add a corresponding File Description Header (FDH) to the file to be sent, and the entity unit divides the file to be sent added with the file description header into multiple file segments. The file to be sent without the file description header is the original data.
在一个具体的实施方案中,实体单元为每个文件的首部添加一个文件描述头(FDH),所述每个文件描述头包括基本信息和若干扩展信息,所述文件描述头的具体结构如图6所示。In a specific embodiment, the entity unit adds a file description header (FDH) to the header of each file, and each file description header includes basic information and a plurality of extended information, and the specific structure of the file description header is as shown in the figure. 6 is shown.
融合传输流子层用于将原始数据封装为融合传输块,并将融合传输块形成的融合传输流经由物理传输层发送至终端侧。The fused transport stream sublayer is configured to encapsulate the original data into a fused transport block, and the fused transport stream formed by the fused transport block is sent to the terminal side via the physical transport layer.
具体地,物理传输层包括:卫星广播信道和互联网信道。Specifically, the physical transport layer includes: a satellite broadcast channel and an internet channel.
更为详尽地,融合传输流子层与卫星广播信道之间形成有用于传输融合传输块的数据通道,融合传输流子层与互联网信道之间形成有用于传输融合传输块的数据通道。In more detail, a data channel for transmitting a fused transport block is formed between the fused transport stream sublayer and the satellite broadcast channel, and a data channel for transmitting the fused transport block is formed between the fused transport stream sublayer and the Internet channel.
下面对卫星广播信道进行详细的说明。卫星广播信道包括:下一代广播电视无线NGB-W/S信道或数字卫星广播系统DVB-S信道;The satellite broadcast channel will be described in detail below. The satellite broadcast channel includes: a next-generation broadcast television wireless NGB-W/S channel or a digital satellite broadcast system DVB-S channel;
融合传输流子层将融合传输块封装为适用于NGB-W/S信道或DVB-S信道的广播数据,并经由数据通道发送至NGB-W/S信道或DVB-S信道。The fused transport stream sublayer encapsulates the fused transport block into broadcast data suitable for the NGB-W/S channel or the DVB-S channel and transmits it to the NGB-W/S channel or the DVB-S channel via the data channel.
在NGB-W/S信道中,一个或若干个融合传输流可以复合在一个物理管道上传送,每个融合传输流均占用该物理管道上连续调度周期上的固定时段,其映射过程如图7所示。In the NGB-W/S channel, one or several fused transport streams can be combined and transmitted on one physical pipeline, and each fused transport stream occupies a fixed period on a continuous scheduling period on the physical pipeline, and the mapping process is as shown in FIG. 7. Shown.
该融合传输流的每一个融合传输块CTB,均被一一映射为一个链路数据包,所述链路数据包进一步被链路层封装为一个业务负载包,并交给物理层进行编码调制。Each of the fused transport blocks CTB of the fused transport stream is mapped one by one into a link data packet, and the link data packet is further encapsulated by the link layer into a service load packet, and is handed to the physical layer for coding and modulation. .
在DVB-S信道中,广播链路采用MPEG2-TS传输流作为业务的输入形式,并未将物理信道划分为若干个独立的物理管道。因此,一个融合传输流可以直接映射到整个物理信道或者自定义的逻辑信道上。In the DVB-S channel, the broadcast link uses the MPEG2-TS transport stream as the input form of the service, and does not divide the physical channel into several independent physical pipes. Therefore, a converged transport stream can be mapped directly to the entire physical channel or to a custom logical channel.
融合传输流中的每个融合传输块将被映射到整数个TS包(188字节)中,其映射过程及TS包结构如图8所示。由图8中可见,每个TS包包括包头(4字节)和净荷(184字节),包头包括:同步字节(8bit)、传输错误指示(1bit)、净荷单元起始指示(1bit)、传输优先级(1bit)、节目标识(13bit)、CTB起始指示(1bit)、CTB结束指示(1bit)、保留(2bit)和TS包循环计数(4bit)。Each fused transport block in the fused transport stream will be mapped into an integer number of TS packets (188 bytes), and its mapping process and TS packet structure are as shown in FIG. As can be seen from FIG. 8, each TS packet includes a header (4 bytes) and a payload (184 bytes), and the header includes: a sync byte (8 bits), a transmission error indication (1 bit), and a payload unit start indication ( 1 bit), transmission priority (1 bit), program identification (13 bit), CTB start indication (1 bit), CTB end indication (1 bit), reservation (2 bit), and TS packet loop count (4 bits).
下面对互联网信道进行详细的说明。互联网信道包括:用户数据报协议UDP信道和超文本传输协议HTTP信道。The Internet channel is described in detail below. The Internet channel includes: a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol HTTP channel.
另外,互联网信道与融合传输流子层之间还形成有用于传输重传请求的消 息通道;融合传输流子层经由消息通道接收重传请求,并将封装有融合传输块的重传响应经由数据通道发送至互联网信道。In addition, a message channel for transmitting a retransmission request is formed between the Internet channel and the fused transport stream sublayer; the fused transport stream sublayer receives the retransmission request via the message channel, and passes the retransmission response encapsulated with the fused transport block via the data The channel is sent to the internet channel.
具体地,融合传输流子层经由消息通道接收UDP信道发送的UDP重传请求,并将封装有融合传输块的UDP重传响应经由数据通道发送至UDP信道;或者融合传输流子层经由消息通道接收HTTP信道发送的HTTP重传请求,并将封装有融合传输块的HTTP重传响应经由数据通道发送至HTTP信道。Specifically, the fused transport stream sublayer receives the UDP retransmission request sent by the UDP channel via the message channel, and sends the UDP retransmission response encapsulated with the fused transport block to the UDP channel via the data channel; or the fused transport stream sublayer passes the message channel Receiving an HTTP retransmission request sent by the HTTP channel, and transmitting an HTTP retransmission response encapsulated with the fused transport block to the HTTP channel via the data channel.
需要注意的是,在互联网信道中,UDP信道和HTTP信道是并存的,具体使用哪个信道,是由终端侧在发送重传请求时决定。当请求重传的融合传输块的数据量小于阈值时,终端侧的融合传输流子层通过UDP信道接收UDP重传请求和发送UDP重传响应;当请求重传的融合传输块的数据量大于阈值时,终端侧的融合传输流子层通过HTTP信道接收HTTP重传请求和发送HTTP重传响应。It should be noted that in the Internet channel, the UDP channel and the HTTP channel are coexisting, and which channel is specifically used is determined by the terminal side when transmitting the retransmission request. When the data volume of the fused transport block requesting retransmission is less than the threshold, the fused transport stream sublayer of the terminal side receives the UDP retransmission request and sends the UDP retransmission response through the UDP channel; when the data volume of the fused transport block requesting retransmission is greater than At the threshold, the fused transport stream sublayer on the terminal side receives the HTTP retransmission request and sends an HTTP retransmission response through the HTTP channel.
用于终端侧的协议栈如图3所示,包括:业务应用层、融合传输层和物理传输层。As shown in FIG. 3, the protocol stack for the terminal side includes: a service application layer, a converged transport layer, and a physical transport layer.
业务应用层包括用于接收待处理文件的原始数据的文件单元。The business application layer includes file units for receiving raw data of a file to be processed.
融合传输层包括业务特定传输协议子层和融合传输流子层。The converged transport layer includes a service specific transport protocol sublayer and a converged transport stream sublayer.
业务特定传输协议子层包括至少一个用于将融合传输块进行解析生成原始数据的实体单元;每个实体单元与文件单元之间形成有传输待发送的文件的原始数据的数据通道,每个实体单元与融合传输流子层之间形成有用于传输融合传输块的数据通道。The service specific transmission protocol sublayer includes at least one physical unit for parsing the fused transport block to generate original data; each physical unit and the file unit form a data channel with original data for transmitting a file to be transmitted, each entity A data channel for transmitting the fused transport block is formed between the unit and the fused transport stream sublayer.
业务特定传输协议子层可以支持多种协议,本实施例以LSTP协议为例进 行说明。The service-specific transport protocol sub-layer can support multiple protocols. This embodiment uses the LSTP protocol as an example.
在直播业务时,实体单元将融合传输块进行解析生成原始数据,包括:In the live broadcast service, the entity unit parses the transport block to generate the original data, including:
将融合传输块解封装,得到文件描述头和文件段,然后根据文件描述头对文件段进行文件恢复,即解析生成原始数据。The fused transport block is decapsulated to obtain a file description header and a file segment, and then file recovery is performed on the file segment according to the file description header, that is, the original data is parsed and generated.
另外,融合传输流子层与实体单元之间形成有用于传输融合传输块的数据通道,用于经由卫星广播信道接收数据以及经由互联网信道发送重传请求和接收来自于服务器侧的重传数据。In addition, a data channel for transmitting the fused transport block is formed between the fused transport stream sublayer and the physical unit for receiving data via the satellite broadcast channel and transmitting a retransmission request and receiving retransmission data from the server side via the Internet channel.
物理传输层与所述融合传输流子层之间形成有用于传输所述融合传输块的数据通道。具体地,物理传输层包括:卫星广播信道和互联网信道。A data channel for transmitting the fused transport block is formed between the physical transport layer and the fused transport stream sublayer. Specifically, the physical transport layer includes: a satellite broadcast channel and an internet channel.
卫星广播信道与融合传输流子层元之间形成有用于传输融合传输块的数据通道。具体地,卫星广播信道包括:NGB-W/S信道或DVB-S信道,融合传输流子层将所述NGB-W/S信道或所述DVB-S信道的广播数据解封装为融合传输块,并将融合传输块经由数据通道发送至所述实体单元。A data channel for transmitting the fused transport block is formed between the satellite broadcast channel and the fused transport stream sublayer. Specifically, the satellite broadcast channel includes: an NGB-W/S channel or a DVB-S channel, and the fused transport stream sublayer decapsulates the broadcast data of the NGB-W/S channel or the DVB-S channel into a fused transport block And transmitting the fused transport block to the physical unit via the data channel.
关于NGB-W/S信道以及DVB-S信道,前述内容已经做了详细介绍,在此便不再展开赘述。Regarding the NGB-W/S channel and the DVB-S channel, the foregoing has been described in detail, and will not be further described herein.
互联网信道与融合传输流子层之间形成有用于传输所述融合传输块的数据通道,互联网信道与融合传输流子层之间还形成有用于传输重传请求的消息通道。融合传输流子层经由消息通道发送重传请求,并经由数据通道接收所述互联网信道发送的封装有融合传输块的重传响应。A data channel for transmitting the fused transport block is formed between the Internet channel and the fused transport stream sublayer, and a message channel for transmitting a retransmission request is formed between the Internet channel and the fused transport stream sublayer. The fused transport stream sublayer sends a retransmission request via the message channel, and receives, via the data channel, a retransmission response encapsulated by the Internet channel and encapsulated with the fused transport block.
更为具体地,互联网信道包括:用户数据报协议UDP信道和超文本传输协议HTTP信道;More specifically, the Internet channel includes: a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol HTTP channel;
融合传输流子层经由所述消息通道发送UDP重传请求至UDP信道,并经由数据通道接收UDP信道发送的封装有融合传输块的UDP重传响应;The fused transport stream sublayer sends a UDP retransmission request to the UDP channel via the message channel, and receives a UDP retransmission response encapsulated with the fused transport block sent by the UDP channel via the data channel;
融合传输流子层经由所述消息通道接收HTTP重传请求至HTTP信道,并经由数据通道接收HTTP信道发送的封装有融合传输块的HTTP重传响应。The fused transport stream sublayer receives an HTTP retransmission request to the HTTP channel via the message channel, and receives an HTTP retransmission response encapsulated with the fused transport block sent by the HTTP channel via the data channel.
需要注意的是,在互联网信道中,UDP信道和HTTP信道是并存的,具体使用哪个信道,是由终端侧在发送重传请求时决定。当请求重传的融合传输块的数据量小于阈值时,终端侧的融合传输流子层通过UDP信道发送UDP重传请求和接收UDP重传响应;当请求重传的融合传输块的数据量大于阈值时,终端侧的融合传输流子层通过HTTP信道发送HTTP重传请求和接收HTTP重传响应。It should be noted that in the Internet channel, the UDP channel and the HTTP channel are coexisting, and which channel is specifically used is determined by the terminal side when transmitting the retransmission request. When the data volume of the fused transport block requesting retransmission is less than the threshold, the fused transport stream sublayer of the terminal side sends a UDP retransmission request and receives a UDP retransmission response through the UDP channel; when the data volume of the fused transport block requesting retransmission is greater than At the threshold, the fused transport stream sublayer on the terminal side transmits an HTTP retransmission request and receives an HTTP retransmission response through the HTTP channel.
具体地,终端侧的融合传输流子层判断重传数据的数据量是否小于一个UDP重传响应的报文阈值,若是,则采用UDP信道发送UDP重传请求和接收UDP重传响应;若否,则采用HTTP信道发送HTTP重传请求和接收HTTP重传响应。Specifically, the fused transport stream sublayer on the terminal side determines whether the data volume of the retransmitted data is smaller than a packet threshold of a UDP retransmission response, and if yes, sends a UDP retransmission request and receives a UDP retransmission response by using the UDP channel; Then, the HTTP channel is used to send an HTTP retransmission request and receive an HTTP retransmission response.
可见,在终端侧对接收到的融合传输块进行校验,发现融合传输块丢失,需要重传的过程中,由终端侧发起重传过程,且终端侧也主动决策了重传信道的选择;对于服务器侧,则响应终端侧发出的重传请求,通过与终端侧的重传信道相同的互联网信道发送重传响应。It can be seen that, on the terminal side, the received fused transport block is checked, and the fused transport block is lost. In the process of retransmission, the terminal side initiates a retransmission process, and the terminal side also actively decides the retransmission channel selection. For the server side, in response to the retransmission request sent by the terminal side, the retransmission response is transmitted through the same Internet channel as the retransmission channel on the terminal side.
本申请的物理传输层采用卫星广播信道和互联网信道的双链路,在发送数据时,使用卫星广播信道来传输数据;在重传数据时,使用互联网信道来重传丢失或出错的数据,从而保证数据接收的可靠性。The physical transport layer of the present application uses a dual link of a satellite broadcast channel and an Internet channel, and uses a satellite broadcast channel to transmit data when transmitting data; when retransmitting data, an Internet channel is used to retransmit lost or erroneous data, thereby Guarantee the reliability of data reception.
上述为对本申请公开的协议栈的架构进行了详细的说明。该协议栈为融合传输系统的运行提供了支撑。The above is a detailed description of the architecture of the protocol stack disclosed in the present application. The protocol stack provides support for the operation of the converged transmission system.
本申请中,提供了一种基于融合传输系统的数据传输方法、装置、计算设备及计算机可读存储介质,在下面的实施例中逐一进行详细说明。与协议栈的描述相同,本实施例的一种基于融合传输系统的数据传输方法也分别对终端侧和服务器侧进行描述。In the present application, a data transmission method, apparatus, computing device, and computer readable storage medium based on a converged transmission system are provided, which are described in detail in the following embodiments. Similar to the description of the protocol stack, a data transmission method based on the converged transmission system of the present embodiment also describes the terminal side and the server side, respectively.
参见图9,本申请一实施例提供一种基于融合传输系统的数据传输方法,应用于服务器侧,包括步骤901至步骤904。Referring to FIG. 9, an embodiment of the present application provides a data transmission method based on a converged transmission system, which is applied to a server side, and includes steps 901 to 904.
步骤901:获取待发送的文件。Step 901: Acquire a file to be sent.
本申请实施例中,所述待发送的文件可以是获取的上层业务实体中的文件流,然后将所述文件流进行切分形成的至少一个所述待发送的文件,所述待发送的文件即为待发送的数据,可以包括音频数据、视频数据、图像数据或文本数据等。In the embodiment of the present application, the file to be sent may be a file stream in an acquired upper layer service entity, and then the file stream is segmented to form at least one file to be sent, and the file to be sent is sent. That is, the data to be transmitted may include audio data, video data, image data, or text data.
所述待发送的文件可以是将一个音视频节目的文件流按时间或大小等切分形成的可独立播放的媒体文件,该音视频节目即为业务。The file to be sent may be an independently playable media file formed by dividing a file stream of an audio and video program by time or size, and the audio and video program is a service.
例如所述业务为a,业务包括文件流a1和a2,其中所述文件流a1按照时间时长被切分成a11、a12和a13等文件,所述文件流a2按照文件大小被切分为a21、a22和a23等文件。For example, the service is a, and the service includes file streams a1 and a2, wherein the file stream a1 is divided into files such as a11, a12, and a13 according to the time duration, and the file stream a2 is divided into a21 and a22 according to the file size. And a23 and other documents.
本申请实施例中,对于每个业务中文件流的个数,以及每个文件流切分为文件的切分方式和个数都不作限定,可以根据实际需要选择。In the embodiment of the present application, the number of file streams in each service, and the manner and number of divisions of each file stream into files are not limited, and may be selected according to actual needs.
步骤902:将所述文件封装在至少一个融合传输块中形成融合传输流发送 至终端侧,其中,每个融合传输块均携带有块序号。Step 902: Encapsulate the file in at least one fused transport block to form a fused transport stream, and send the fused transport stream to the terminal side, where each fused transport block carries a block sequence number.
本申请实施例中,在将所述文件封装在至少一个融合传输块(Converged Transport Block,CTB)中之后,还可以生成同一个业务下的所有融合传输块的业务索引信息,用来记录文件和融合传输块的对应关系,其中,每个融合传输块均携带有块序号并且所有块序号顺序为连续的。In the embodiment of the present application, after the file is encapsulated in at least one Converged Transport Block (CTB), service index information of all the converged transport blocks under the same service may be generated, and used to record files and The correspondence of the transport blocks is fused, wherein each fused transport block carries a block sequence number and all block sequence numbers are consecutive.
其中,所述业务索引信息包括若干个索引行,每个索引行表示一个文件的索引信息,每个文件的索引信息包括融合传输流标识、业务流内编号、文件流中的文件序号、文件流中对应的所有融合传输块的信息,所述信息包括文件流对应的第一个融合传输块的块序号以及文件流封装后产生的融合传输块的个数。The service index information includes a plurality of index rows, each index row represents index information of a file, and the index information of each file includes a fused transport stream identifier, a service stream number, a file sequence number in the file stream, and a file stream. The information of all the fused transport blocks corresponding to the information, where the information includes the block number of the first fused transport block corresponding to the file stream and the number of fused transport blocks generated after the file stream is encapsulated.
例如一个文件的索引信息,其格式如下:For example, the index information of a file has the following format:
CTS_ID:ISS_ID:FileSeq:BlockSeqBegin:BlockCountCTS_ID: ISS_ID: FileSeq: BlockSeqBegin: BlockCount
其中,CTS_ID和ISS_ID分别指示的是融合传输流标识和业务流内编号,合起来构成了业务标识;FileSeq为文件流中的文件序号;BlockSeqBegin为该文件对应的第一个融合传输块的块序号;BlockCount为该文件封装后产生的融合传输块的个数。The CTS_ID and the ISS_ID respectively indicate the fused transport stream identifier and the service stream number, which together constitute the service identifier; FileSeq is the file sequence number in the file stream; BlockSeqBegin is the block number of the first fused transport block corresponding to the file. ;BlockCount is the number of fused transport blocks generated after the file is encapsulated.
本申请实施例中,所述融合传输块包括块头和块净荷,所述块头中包括块序号和业务类型,所述文件封装在所述块净荷中。In the embodiment of the present application, the fused transport block includes a block header and a block payload, and the block header includes a block sequence number and a service type, and the file is encapsulated in the block payload.
本申请实施例中,可以通过卫星广播信道将所述融合传输流发送至所述终端侧;所述卫星广播信道包括NGB-W/S信道或DVB-S信道;In this embodiment, the fused transport stream may be sent to the terminal side through a satellite broadcast channel; the satellite broadcast channel includes an NGB-W/S channel or a DVB-S channel;
其中,在NGB-W/S信道中,一个或若干个融合传输流可以复合在一个物理管道上传送,每个融合传输流均占用该物理管道上连续调度周期上的固定时 段,其映射过程如图7所示,该融合传输流的每一个融合传输块CTB,均被一一映射为一个链路数据包,所述链路数据包进一步被链路层封装为一个业务负载包,并交给物理层进行编码调制;In the NGB-W/S channel, one or several fused transport streams may be combined and transmitted on one physical pipeline, and each fused transport stream occupies a fixed period on a continuous scheduling period on the physical pipeline, and the mapping process is as follows. As shown in FIG. 7, each fused transport block CTB of the fused transport stream is mapped one by one into a link data packet, and the link data packet is further encapsulated by the link layer into a service load packet, and is handed over to The physical layer performs code modulation;
在DVB-S信道上,广播链路采用Transport Stream(MPEG2-TS)传输流作为业务的输入形式,并未将物理信道划分为若干个独立的物理管道,如图8所示。因此,一个融合传输流可以直接映射到整个物理信道或者自定义的逻辑信道上;On the DVB-S channel, the broadcast link uses the Transport Stream (MPEG2-TS) transport stream as the input form of the service, and does not divide the physical channel into several independent physical pipes, as shown in FIG. Therefore, a converged transport stream can be directly mapped to the entire physical channel or a custom logical channel;
将融合传输流中的每个融合传输块映射到整数个Transport Stream(TS)包中,其映射过程及TS包结构如图8所示。Each fused transport block in the fused transport stream is mapped into an integer number of Transport Stream (TS) packets, and the mapping process and TS packet structure are as shown in FIG. 8.
所述TS包长为188字节,由包头和净荷组成,其包头长度为4个字节,包括以下比特:The TS packet is 188 bytes long and consists of a header and a payload. The header length is 4 bytes, including the following bits:
同步字节,包括8位比特,用做TS流的同步,值始终为0x47;Sync byte, including 8-bit bits, used for synchronization of the TS stream, the value is always 0x47;
传输错误指示,包括1位比特,指示该TS包在传输过程中是否出错,0代表无错,1代表出错,缺省值为0;Transmission error indication, including 1 bit, indicating whether the TS packet is in error during transmission, 0 means no error, 1 means error, default value is 0;
净荷单元起始指示,包括1位比特,值始终为0;Payload unit start indication, including 1 bit, the value is always 0;
传输优先级,包括1位比特,值始终为0;Transmission priority, including 1 bit, the value is always 0;
节目标识,包括13位比特,指示该TS包所属的节目或业务,取值范围是0x0000~0x1FFF,即有效位为13位,PID取值为0x1FFF代表空包,在本标准中,当TS包承载CTB包时,节目标识的最高位比特固定为0,后12位比特对应CTB所属的融合传输流的标识(CTS_ID);The program identifier, including the 13-bit bit, indicates the program or service to which the TS packet belongs, and the value ranges from 0x0000 to 0x1FFF, that is, the valid bit is 13 bits, and the PID value is 0x1FFF for the empty packet. In this standard, when the TS packet is used, When the CTB packet is carried, the highest bit of the program identifier is fixed to 0, and the last 12 bits correspond to the identifier (CTS_ID) of the fused transport stream to which the CTB belongs;
CTB起始指示,包括1位比特,当发送的TS包为一个融合传输块的第一 个TS包,该位置1,否则,该位为0;The CTB start indication includes a 1-bit bit. When the transmitted TS packet is the first TS packet of a fused transport block, the position is 1, otherwise, the bit is 0;
CTB结束指示,包括1位比特,当发送的TS包为一个融合传输块的最后一个TS包,该位置1,否则,该位为0;CTB end indication, including 1 bit, when the transmitted TS packet is the last TS packet of a fused transport block, the position is 1, otherwise, the bit is 0;
TS包循环计数,包括4位比特,针对每个PID输出的TS包进行独立循环计数。The TS packet loop count, including 4 bit bits, is independently loop counted for the TS packets output by each PID.
进一步地,参见图10,将所述文件封装在至少一个融合传输块中的步骤可以通过步骤1001至步骤1003实现。Further, referring to FIG. 10, the step of encapsulating the file in at least one fused transport block may be implemented by step 1001 to step 1003.
步骤1001:为每个所述文件添加文件描述头。Step 1001: Add a file description header for each of the files.
本申请实施例中,所述文件描述头包括:业务标识、文件序号、文件长度和文件播放时长,还可以包括直播流传输协议(Lives Stream Transport Protocol,LSTP)、文件描述头长度、扩展信息指示、文件压缩指示和保留字段等。In the embodiment of the present application, the file description header includes: a service identifier, a file sequence number, a file length, and a file play duration, and may also include a Live Stream Transport Protocol (LSTP), a file description header length, and an extended information indication. , file compression instructions and reserved fields, etc.
其中,所述业务标识用来指示文件所属的业务;所述文件序号用来指示该文件在整个文件流中的编号;所述文件长度在所述文件未被压缩的情况下用来指示该文件原始长度,当采取压缩方式对所述文件压缩之后,所述文件长度用来指示压缩后的该文件的长度,以字节为单位;所述文件播放时长用来指示该文件的实际播放时间,以毫秒为单位。The service identifier is used to indicate the service to which the file belongs; the file serial number is used to indicate the number of the file in the entire file stream; and the file length is used to indicate the file when the file is not compressed. The original length, after compressing the file in a compressed manner, the file length is used to indicate the length of the compressed file, in bytes; the file playing duration is used to indicate the actual playing time of the file. In milliseconds.
步骤1002:根据融合传输块的大小将添加了文件描述头的所述文件分割成至少一个文件段,其中,每个文件段均携带有段头,并且所述文件描述头包含在所述文件的其中一个文件段中。Step 1002: Segment the file to which the file description header is added into at least one file segment according to the size of the fused transport block, where each file segment carries a segment header, and the file description header is included in the file. One of the file segments.
本申请实施例中,根据融合传输块的大小将添加有文件描述头的所述文件分割成多个文件段,所述文件段包括段头和段净荷,参见图11,所述段头包 括文件段编号、文件段总数和文件序号,还可以包括段净荷类型、段净荷长度和业务流内编号。In the embodiment of the present application, the file added with the file description header is divided into a plurality of file segments according to the size of the fused transport block, where the file segment includes a segment header and a segment payload. Referring to FIG. 11, the segment header includes a file segment. The number, the total number of file segments, and the file serial number may also include the segment payload type, the segment payload length, and the service stream number.
所述文件描述头分割在所述文件的其中一个文件段的段净荷中,本申请优选将文件描述头分割在文件的第一个文件段的段净荷中。The file description header is segmented into the segment payload of one of the file segments of the file, and the present application preferably divides the file description header into the segment payload of the first file segment of the file.
步骤1003:将所述文件段封装在融合传输块中。Step 1003: Encapsulate the file segment in a converged transport block.
本申请实施例中,若所述融合传输块中封装的是所述文件的最后一个文件段且所述融合传输块有剩余空间时,检测是否存在下一个待发送的文件;In the embodiment of the present application, if the last file segment of the file is encapsulated in the fused transport block and the fused transport block has a remaining space, it is detected whether there is a file to be sent next;
若存在下一个待发送的文件且若下一个待发送的文件的第一个文件段的大小等于或小于所述剩余空间,则将所述第一个文件段封装在所述剩余空间中,此时所述融合传输块的块头中的业务类型等于1;If there is a next file to be sent and if the size of the first file segment of the next file to be sent is equal to or smaller than the remaining space, the first file segment is encapsulated in the remaining space. When the service type in the block header of the converged transport block is equal to 1;
若存在下一个待发送的文件但是下一个待发送的文件的第一个文件段的大小大于所述剩余空间,则对所述剩余空间进行填充,此时所述融合传输块的块头中的业务类型等于1;If there is a file to be sent but the size of the first file segment of the next file to be sent is larger than the remaining space, the remaining space is filled, and the service in the block header of the fused transport block is Type is equal to 1;
若所述融合传输块中没有封装任何待发送的文件,则对整个融合传输块进行填充,并将所述融合传输块的块头中的业务类型设为空业务7。If the file to be sent is not encapsulated in the fused transport block, the entire fused transport block is padded, and the service type in the block header of the fused transport block is set to the null service 7.
参见图12,以将一个文件A中的每个文件段封装在融合传输块为例进行说明,首先为文件A添加FDH,然后按照融合传输块的大小将所述文件A分割成有一个起始段、三个中间段和一个结束段的多个待发送的文件段,所述FDH包含在所述起始段中,然后将所述起始段放入融合传输块k中,然后依次将三个中间段放入融合传输块k+1、融合传输块k+2、融合传输块k+3中,最后将结束段放入融合传输块k+4中;由图12可知,融合传输块k+4承载的 结束段尚未填满所述融合传输块k+4的空间,下述以存在下一个待发送的文件B为例进行对所述融合传输块k+4的剩余空间使用进行说明。Referring to FIG. 12, an example is described in which each file segment in a file A is encapsulated in a fused transport block. First, FDH is added to file A, and then the file A is segmented into a start according to the size of the fused transport block. a plurality of file segments to be sent, a segment, three intermediate segments, and an end segment, the FDH being included in the start segment, and then placing the start segment into the fused transport block k, and then sequentially The intermediate segment is placed in the fused transport block k+1, the fused transport block k+2, the fused transport block k+3, and finally the end segment is placed in the fused transport block k+4; as shown in Fig. 12, the fused transport block k The end segment of the +4 bearer has not yet filled the space of the fused transport block k+4. The following uses the file B to be transmitted as an example to describe the remaining space usage of the fused transport block k+4.
参见图13-图14,若所述文件B第一个文件段即起始段的大小等于或小于所述剩余空间,则将所述文件B的起始段封装在所述融合传输块k+4的剩余空间中,并且此时所述融合传输块的块头中的业务类型等于1;Referring to FIG. 13 to FIG. 14, if the first file segment of the file B, that is, the size of the start segment is equal to or smaller than the remaining space, the start segment of the file B is encapsulated in the fused transport block k+ 4 in the remaining space, and at this time the service type in the block header of the fused transport block is equal to 1;
若所述文件B的起始段大小大于所述剩余空间;则对所述剩余空间进行填充,并且此时所述融合传输块的块头中的业务类型等于1;If the starting segment size of the file B is larger than the remaining space, the remaining space is padded, and the service type in the block header of the fused transport block is equal to 1;
若不存在下一个待发送文件,则也是对所述剩余空间进行填充,并且此时所述融合传输块的块头中的业务类型等于1。If there is no next file to be sent, the remaining space is also filled, and the service type in the block header of the fused transport block is equal to 1.
参见图15,若融合传输块中没有封装任何待发送的文件,则对整个融合传输块进行填充,并将所述融合传输块的块头中的业务类型设为空业务7。Referring to FIG. 15, if the file to be transmitted is not encapsulated in the fused transport block, the entire fused transport block is padded, and the service type in the block header of the fused transport block is set to the null service 7.
步骤903:接收来自终端侧的融合传输块重传请求,所述融合传输块重传请求包括融合传输流标识和请求重传的融合传输块块序号列表,或者包括融合传输流标识和文件序号。Step 903: Receive a fused transport block retransmission request from the terminal side, where the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list requesting retransmission, or includes a fused transport stream identifier and a file sequence number.
本申请实施例中,若服务器侧接收来自终端侧的融合传输块重传请求是请求重传几个缺失的融合传输块时,所述融合传输块重传请求包括融合传输流标识和请求重传的融合传输块块序号列表,还可以包括重传请求编号、请求重传的融合传输块总数;In the embodiment of the present application, if the server side receives the fused transport block retransmission request from the terminal side to request to retransmit several missing fused transport blocks, the fused transport block retransmission request includes the fused transport stream identifier and the request retransmission. The fused transport block block sequence number list may further include a retransmission request number and a total number of fused transport blocks requesting retransmission;
其中,所述融合传输流标识(CTS_ID)可以采用整数类型,取值范围0~4095,指示发起重传的融合传输流标识;The fused transport stream identifier (CTS_ID) may be an integer type, in the range of 0 to 4095, indicating the fused transport stream identifier that initiates the retransmission;
所述重传请求编号(REQ_SEQ)可以采用整数类型,取值范围0~255, 指示业务特定传输协议(Service Specific Transport Protocol,SSTP)实体按时间顺序对发出的融合传输块重传请求(CTS_CTB_REQ消息)进行的循环编号;The retransmission request number (REQ_SEQ) may be an integer type, ranging from 0 to 255, indicating that the Service Specific Transport Protocol (SSTP) entity chronologically transmits the fused transport block retransmission request (CTS_CTB_REQ message). The number of the cycle performed;
所述请求重传的融合传输块总数(CTS_REQ_COUNT)可以采用整数类型,取值范围1~1000,指示请求重传的融合传输块总数;The total number of the fused transport blocks (CTS_REQ_COUNT) to be retransmitted may be an integer type, in the range of 1 to 1000, indicating the total number of fused transport blocks requesting retransmission;
所述请求重传的融合传输块块序号列表(CTS_REQ_LIST)可以采用字符串类型,指示需要重传的融合传输块的序号,由若干个二元组<CTB_BEGIN:CTB_NUM>组成,每个二元组代表编号连续的一组融合传输块,其中,SEQ_BEGIN指示起始序号,SEQ_NUM指示该CTB组中的CTB个数,多个二元组之间用分号隔开,整体格式如下:The fused transport block block sequence number list (CTS_REQ_LIST) for requesting retransmission may be a string type indicating the sequence number of the fused transport block that needs to be retransmitted, and is composed of a plurality of binary groups <CTB_BEGIN: CTB_NUM>, each of the two groups Representing a group of fused transport blocks consecutively numbered, where SEQ_BEGIN indicates the starting sequence number, SEQ_NUM indicates the number of CTBs in the CTB group, and multiple binary groups are separated by semicolons. The overall format is as follows:
SEQ_BEGIN1:SEQ_NUM1;SEQ_BEGIN2:SEQ_NUM2;SEQ_BEGIN3:SEQ_NUM3;……SEQ_BEGIN1: SEQ_NUM1; SEQ_BEGIN2: SEQ_NUM2; SEQ_BEGIN3: SEQ_NUM3;
例如,当CTB_REQ_LIST为字符串1001:1;1050:4;1066:2时,表示需要重传的CTB包括序号为1001,1050,1051,1052,1053,1066和1067的7个CTB。For example, when CTB_REQ_LIST is a string of 1001:1; 1050:4; 1066:2, the CTB indicating that retransmission is required includes seven CTBs of sequence numbers 1001, 1050, 1051, 1052, 1053, 1066, and 1067.
若服务器侧接收来自终端侧的融合传输块重传请求是请求重传丢失的整个文件的融合传输块时,所述融合传输块重传请求包括融合传输流标识和文件序号,还可以包括融合传输块请求编号、业务流内编号、文件获取模式、文件相对位置;If the server side receives the fused transport block retransmission request from the terminal side, and requests the retransmission of the fused transport block of the lost entire file, the fused transport block retransmission request includes the fused transport stream identifier and the file sequence number, and may also include the fused transmission. Block request number, service stream number, file acquisition mode, file relative position;
其中,所述融合传输流标识(CTS_ID)可以采用整数类型,取值范围0~4095,指示融合传输流标识;The fused transport stream identifier (CTS_ID) may be an integer type, and the value ranges from 0 to 4095, indicating the fused transport stream identifier.
所述融合传输块请求编号(REQ_SEQ)可以采用整数类型,取值范围0~255,指示LSTP实体按时间顺序对发出的融合传输块重传请求 (CTS_CTB_REQ2消息)进行的循环编号;The fused transport block request number (REQ_SEQ) may be an integer type, ranging from 0 to 255, indicating a circulating number of the fused transport block retransmission request (CTS_CTB_REQ2 message) sent by the LSTP entity in chronological order;
所述业务流内编号(ISS_ID)可以采用整数类型,取值范围0~255,指示业务流内编号,并且和融合传输流标识构成业务标识。The service flow number (ISS_ID) may be an integer type, ranging from 0 to 255, indicating the number within the service flow, and the service identifier of the fused transport stream constitutes a service identifier.
所述文件获取模式(GET_MODE)可以采用整数类型,取值范围0~1,指示文件获取模式,当文件获取模式的取值为0时为普通模式;当文件获取模式的取值为1时为相对模式。The file acquisition mode (GET_MODE) can be an integer type, in the range of 0 to 1, indicating the file acquisition mode. When the value of the file acquisition mode is 0, it is the normal mode; when the value of the file acquisition mode is 1, it is Relative mode.
所述文件序号或文件相对位置(FILE_SEQ)可以采用整数类型,取值范围为0~(2 20-1),当文件获取模式的取值为0时代表重传的文件序号;当所述文件获取模式的取值为1时代表重传文件与最新封装文件的相对位置;服务器侧生成的业务索引信息记录了该业务的文件流中已封装为融合传输块的文件,假设其最新封装的文件序号为S0,如果S0大于等于所述文件序号或文件相对位置,则实际重传文件的序号为(S0-FILE_SEQ);如果S0小于所述文件序号或文件相对位置,则实际重传文件的序号为(S0+2 20-FILE_SEQ)。 The file serial number or the relative position of the file (FILE_SEQ) may be an integer type, ranging from 0 to (2 20 -1). When the value of the file acquisition mode is 0, it represents the file number of the retransmission; The value of the acquisition mode is 1 and represents the relative position of the retransmission file and the latest package file. The service index information generated by the server side records the file encapsulated as a converged transport block in the file stream of the service, assuming the latest packaged file. The serial number is S0. If S0 is greater than or equal to the file serial number or the relative position of the file, the serial number of the actual retransmission file is (S0-FILE_SEQ); if S0 is smaller than the file serial number or the relative position of the file, the actual retransmission file serial number Is (S0+2 20 -FILE_SEQ).
步骤904:获取所述融合传输块重传请求中需要重传的融合传输块,并将所述融合传输块封装为融合传输块补发响应发送至终端侧。Step 904: Acquire a fused transport block that needs to be retransmitted in the fused transport block retransmission request, and encapsulate the fused transport block into a fused transport block retransmission response and send it to the terminal side.
进一步地,当所述融合传输块重传请求包括融合传输流标识和请求重传的融合传输块块序号列表时,获取所述融合传输块重传请求中需要重传的融合传输块包括:Further, when the fused transport block retransmission request includes the fused transport stream identifier and the fused transport block block sequence number list that is requested to be retransmitted, acquiring the fused transport block that needs to be retransmitted in the fused transport block retransmission request includes:
根据所述融合传输块重传请求中的融合传输流标识与所述业务索引信息中的融合传输流标识的对应关系,确定所述融合传输块重传请求中请求重传的融合传输块所属的融合传输流;Determining, according to the correspondence between the fused transport stream identifier in the fused transport packet retransmission request and the fused transport stream identifier in the service index information, determining that the fused transport block requested to be retransmitted in the fused transport block retransmission request belongs to Converged transport stream;
将请求重传的融合传输块块序号列表与所述业务索引信息中文件流中对应的所有融合传输块的信息进行比较,确定所述融合传输块重传请求中请求重传的融合传输块对应的文件段;Comparing the fused transport block block sequence number list that is requested to be retransmitted with the information of all the fused transport blocks corresponding to the file stream in the service index information, and determining that the fused transport block requesting retransmission in the fused transport block retransmission request corresponds to File segment
将所述文件段再封装形成所述融合传输块重传请求中需要重传的融合传输块。Re-encapsulating the file segment to form a fused transport block that needs to be retransmitted in the fused transport block retransmission request.
本申请实施例中,先根据融合传输块重传请求中携带的参数融合传输流标识,从服务器侧的业务索引信息中找到对应的融合传输流,然后根据请求重传的融合传输块的块序号列表、每个融合传输块中应封装的文件段段头中的文件段编号、文件序号,确定出请求重传的融合传输块对应的文件段,所述文件段由服务器侧的上层业务实体获得,一个文件段对应一个融合传输块,因此一个文件的文件段编号与融合传输块的块序号是对应的,最后将确定的文件段重新封装在对应的需要重传的融合传输块中,封装为融合传输块补发响应发送至终端侧。In the embodiment of the present application, the parameter fused transport stream identifier carried in the retransmission request of the fused transport block is firstly found, and the corresponding fused transport stream is found from the service index information of the server side, and then the block sequence number of the fused transport block retransmitted according to the request is obtained. The file segment number and the file sequence number in the header segment of the file segment to be encapsulated in each converged transport block, and the file segment corresponding to the fused transport block requesting retransmission is determined, and the file segment is obtained by the upper layer service entity on the server side. A file segment corresponds to a fused transport block. Therefore, the file segment number of a file corresponds to the block sequence number of the fused transport block. Finally, the determined file segment is re-encapsulated in the corresponding fused transport block that needs to be retransmitted, and the encapsulation is fused. The transport block retransmission response is sent to the terminal side.
可选地,当所述融合传输块重传请求包括融合传输流标识和文件序号时,获取所述融合传输块重传请求中需要重传的融合传输块包括:Optionally, when the fused transport block retransmission request includes the fused transport stream identifier and the file sequence number, acquiring the fused transport block that needs to be retransmitted in the fused transport block retransmission request includes:
根据所述融合传输块重传请求中的融合传输流标识与所述业务索引信息中的融合传输流标识的对应关系,确定所述融合传输块重传请求中请求重传的融合传输块所属的融合传输流;Determining, according to the correspondence between the fused transport stream identifier in the fused transport packet retransmission request and the fused transport stream identifier in the service index information, determining that the fused transport block requested to be retransmitted in the fused transport block retransmission request belongs to Converged transport stream;
将请求重传的融合传输块所属的文件序号与所述业务索引信息中文件流的文件序号的进行比较,确定所述融合传输块重传请求中请求重传的融合传输块所属的文件;Comparing the file sequence number to which the fused transport block requesting the retransmission belongs and the file sequence number of the file stream in the service index information, and determining a file to which the fused transport block requested to be retransmitted in the fused transport block retransmission request belongs;
将所述文件按照请求重传的融合传输块大小分割成文件段进行封装,形成所述融合传输块重传请求中需要重传的融合传输块。The file is encapsulated according to the size of the fused transport block that is requested to be retransmitted into a file segment to form a fused transport block that needs to be retransmitted in the fused transport block retransmission request.
本申请实施例中,先根据融合传输块重传请求中携带的参数融合传输流标识,从服务器侧的业务索引信息中找到对应的融合传输流,然后根据请求重传的融合传输块所属的文件序号,确定出请求重传的融合传输块对应的文件,然后从上层业务实体中找到确定的文件后,按照请求重传的融合传输块的大小将所述文件分割成文件段,最后将分割好的文件段封装在对应的需要重传的融合传输块中,封装为融合传输块补发响应发送至终端侧。In the embodiment of the present application, the fused transport stream identifier carried in the retransmission request of the fused transport block is first found, and the corresponding fused transport stream is found from the service index information of the server side, and then the file to which the fused transport block is retransmitted according to the request belongs. Sequence number, determining the file corresponding to the fused transport block requesting retransmission, and then finding the determined file from the upper layer service entity, dividing the file into file segments according to the size of the fused transport block requested to be retransmitted, and finally dividing the file The file segment is encapsulated in the corresponding fused transport block that needs to be retransmitted, and the encapsulation is sent to the terminal side as a fused transport block retransmission response.
本申请实施例中,可以通过互联网信道接收所述融合传输块重传请求和发送所述融合传输块补发响应;In this embodiment, the fused transport block retransmission request and the fused transport block retransmission request may be received through an Internet channel.
所述互联网信道包括用户数据报协议UDP信道和超文本传输协议HTTP信道;The Internet channel includes a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol HTTP channel;
当终端侧请求重传的数据量小于阈值时,所述服务器侧通过UDP信道接收所述融合传输块重传请求和发送所述融合传输块补发响应;When the amount of data requested by the terminal side to be retransmitted is less than a threshold, the server side receives the fused transport block retransmission request and sends the fused transport block retransmission request through a UDP channel;
当终端侧请求重传的数据量大于阈值时,所述服务器侧通过HTTP信道接收所述融合传输块重传请求和发送所述融合传输块补发响应。When the amount of data requested by the terminal side to be retransmitted is greater than a threshold, the server side receives the fused transport block retransmission request and sends the fused transport block retransmission request through an HTTP channel.
所述数据量为请求重传的融合传输块的数据量,当终端侧请求重传的CTB数据量小于阈值,例如一个UDP报文阈值时,采用UDP协议;当请求重传的CTB数据量超过一个UDP报文阈值时,采用HTTP协议。可以设定该UDP报文阈值的长度不得超过一个UDP报文的最大长度,即64K字节(Byte)。The amount of data is the amount of data of the fused transport block that is requested to be retransmitted. When the amount of CTB data requested by the terminal side to be retransmitted is less than a threshold, for example, a UDP packet threshold, the UDP protocol is used; when the amount of CTB data requested for retransmission exceeds When a UDP packet threshold is used, the HTTP protocol is used. You can set the threshold of the UDP packet to not exceed the maximum length of a UDP packet, that is, 64 Kbytes (Byte).
参见图16和图17,图16为终端侧发送UDP重传请求至服务器请求重传 的示意图,图17为终端侧发送HTTP重传请求至服务器请求重传的示意图。Referring to FIG. 16 and FIG. 17, FIG. 16 is a schematic diagram of a terminal side sending a UDP retransmission request to a server requesting retransmission, and FIG. 17 is a schematic diagram of the terminal side transmitting an HTTP retransmission request to the server requesting retransmission.
本申请实施例提供的一种基于融合传输系统的数据传输方法,可以实现对数据进行处理,生成统一格式的融合传输流,该融合传输流可通过卫星等广播网广播和互联网两种方式传输给融合终端,融合终端可以同时接收来自卫星等广播网和来自移动通信网的信号,并且当卫星等广播链路上接收的数据发生出错或丢失时,融合终端可以将通过移动通信网的双向链路来重传丢失或出错的数据,以保证数据接收的可靠性。The data transmission method based on the converged transmission system provided by the embodiment of the present application can implement processing on the data to generate a converged transport stream in a unified format, and the converged transport stream can be transmitted to the broadcast network and the Internet through satellites and the like. With the converged terminal, the converged terminal can simultaneously receive the broadcast network from the satellite and the signal from the mobile communication network, and when the data received on the broadcast link such as the satellite is erroneous or lost, the converged terminal can transmit the bidirectional link through the mobile communication network. Retransmit lost or erroneous data to ensure the reliability of data reception.
参见图18,本申请一实施例提供一种基于融合传输系统的数据传输方法,应用于终端侧,包括步骤1801至步骤1805。Referring to FIG. 18, an embodiment of the present application provides a data transmission method based on a converged transmission system, which is applied to a terminal side, and includes steps 1801 to 1805.
步骤1801:接收融合传输流。Step 1801: Receive a converged transport stream.
本申请实施例中,可以通过卫星广播信道接收所述服务器侧发送的所述融合传输流,所述融合传输流由融合传输块形成。In the embodiment of the present application, the fused transport stream sent by the server side may be received by using a satellite broadcast channel, where the fused transport stream is formed by a fused transport block.
其中,所述卫星广播信道包括NGB-W/S信道或DVB-S信道。Wherein, the satellite broadcast channel comprises an NGB-W/S channel or a DVB-S channel.
步骤1802:解析所述融合传输流中的所有的融合传输块并缓存,其中,每个融合传输块均携带有块序号。Step 1802: Parse all the converged transport blocks in the converged transport stream and cache them, where each converged transport block carries a block sequence number.
本申请实施例中,解析所述融合传输流中的所有融合传输块中封装的文件段并缓存,其中,每个文件段均携带有段头,所述段头包括文件段编号、文件段总数和文件序号,所述段头还可以包括段净荷类型、段净荷长度和业务流内编号等。In this embodiment, the file segments encapsulated in all the converged transport blocks in the converged transport stream are parsed and cached, where each file segment carries a segment header, and the segment header includes a file segment number and a total number of file segments. And the file serial number, the segment header may further include a segment payload type, a segment payload length, and a service stream number.
步骤1803:确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求。Step 1803: When it is determined that the fused transport block in the fused transport stream is lost, send a fused transport block retransmission request to the server side.
进一步地,参见图19,确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求包括步骤1901至步骤1905。Further, referring to FIG. 19, when it is determined that the fused transport block in the fused transport stream is lost, sending the fused transport block retransmission request to the server side includes steps 1901 to 1905.
步骤1901:接收终端侧上层业务实体的文件重传请求,所述文件重传请求包括融合传输流标识和文件序号。Step 1901: Receive a file retransmission request of an upper layer service entity of the terminal side, where the file retransmission request includes a fused transport stream identifier and a file sequence number.
本申请实施例中,终端侧接收到融合传输流后,可以通过各种差错校验方法来确认接收到的融合传输流中的融合传输块是丢失或是出错,本申请对差错校验方式不作限定。In the embodiment of the present application, after receiving the fused transport stream, the terminal side may confirm, by using various error checking methods, that the fused transport block in the received fused transport stream is lost or faulty, and the application does not perform the error check mode. limited.
本申请实施例中,所述文件重传请求(LSTP_FILE_GET消息)还包括业务流内编号、文件请求编号、文件获取模式;In the embodiment of the present application, the file retransmission request (LSTP_FILE_GET message) further includes a service flow number, a file request number, and a file acquisition mode.
其中,所述融合传输流标识(CTS_ID)可以采用整数类型,取值范围0~4095,指示融合传输流标识;The fused transport stream identifier (CTS_ID) may be an integer type, and the value ranges from 0 to 4095, indicating the fused transport stream identifier.
所述业务流内编号(ISS_ID)可以采用整数类型,取值范围0~255,指示业务流内编号,并且和融合传输流标识构成业务标识;The service flow number (ISS_ID) may be an integer type, in the range of 0 to 255, indicating the number in the service flow, and the service identifier is formed by the fused transport stream identifier;
所述文件请求编号(GET_SEQ)可以采用整数类型,取值范围0~255,文件请求的编号,对同一个业务发出的文件重传请求进行循环计数;The file request number (GET_SEQ) may be an integer type, ranging from 0 to 255, the number of the file request, and the file retransmission request sent by the same service is cyclically counted;
所述文件获取模式(GET_MODE)可以采用整数类型,取值范围0~1,指示文件获取模式,当文件获取模式的取值为0时为普通模式;当文件获取模式的取值为1时为相对模式;The file acquisition mode (GET_MODE) can be an integer type, in the range of 0 to 1, indicating the file acquisition mode. When the value of the file acquisition mode is 0, it is the normal mode; when the value of the file acquisition mode is 1, it is Relative mode
所述文件序号或文件相对位置(FILE_SEQ)可以采用整数类型,取值范围为0~(2 20-1),当文件获取模式的取值为0时代表重传的文件序号;当所述文件获取模式的取值为1时代表重传文件与最新封装文件的相对位置;服务器侧 生成的业务索引信息记录了该业务的文件流中已封装为融合传输块的文件,假设其最新封装的文件序号为S0,如果S0大于等于所述文件序号或文件相对位置,则实际重传文件的序号为(S0-FILE_SEQ);如果S0小于所述文件序号或文件相对位置,则实际重传文件的序号为(S0+2 20-FILE_SEQ)。 The file serial number or the relative position of the file (FILE_SEQ) may be an integer type, ranging from 0 to (2 20 -1). When the value of the file acquisition mode is 0, it represents the file number of the retransmission; The value of the acquisition mode is 1 and represents the relative position of the retransmission file and the latest package file. The service index information generated by the server side records the file encapsulated as a converged transport block in the file stream of the service, assuming the latest packaged file. The serial number is S0. If S0 is greater than or equal to the file serial number or the relative position of the file, the serial number of the actual retransmission file is (S0-FILE_SEQ); if S0 is smaller than the file serial number or the relative position of the file, the actual retransmission file serial number Is (S0+2 20 -FILE_SEQ).
步骤1902:根据所述融合传输流标识和所述文件序号检测缓存的内容,确定所有段头和对应的块序号。Step 1902: Determine, according to the merged transport stream identifier and the file serial number, the content of the cache, and determine all segment headers and corresponding block sequence numbers.
本申请实施例中,例如所述融合传输流标识为C,所述文件序号为C1,确定缓存的所述C1中的文件段C11、C13和C15,其中,每个所述文件段的段头中的文件段编号、文件段总数、文件序号和对应的融合传输块的块序号见表2。In the embodiment of the present application, for example, the fused transport stream identifier is C, the file sequence number is C1, and the file segments C11, C13, and C15 in the cached C1 are determined, where the segment header of each of the file segments is The file segment number, the total number of file segments, the file serial number, and the block number of the corresponding fused transport block are shown in Table 2.
表2Table 2
Figure PCTCN2019071616-appb-000001
Figure PCTCN2019071616-appb-000001
步骤1903:根据所述段头和对应的所述块序号确定丢失的融合传输块。Step 1903: Determine the lost fused transport block according to the segment header and the corresponding block sequence number.
本申请实施例中,根据所述缓存的段头中的文件段编号和文件段总数可以确定该文件中丢失的文件段,然后根据丢失的文件段的段头中的文件段编号与对应的融合传输块的块序号确定丢失的融合传输块;In the embodiment of the present application, the file segment lost in the file may be determined according to the file segment number and the total number of file segments in the cached segment header, and then the file segment number in the segment header of the lost file segment is merged with the corresponding file segment. The block number of the transport block determines the lost fused transport block;
例如,根据表2可以确定文件C1中的文件段编号为2、4的文件段丢失, 而文件段编号为2、4的文件段对应的融合传输块的块序号为4、6,因此可以确定块序号为4和6的融合传输块丢失。For example, according to Table 2, it can be determined that the file segment number of the file segment number 2 and 4 in the file C1 is lost, and the block number of the fused transport block corresponding to the file segment with the file segment number 2 and 4 is 4, 6, so it can be determined. The fused transport block with block numbers 4 and 6 is lost.
步骤1904:根据所述丢失的融合传输块生成融合传输块重传请求。Step 1904: Generate a fused transport block retransmission request according to the lost fused transport block.
步骤1905:向服务器侧发送融合传输块重传请求。Step 1905: Send a fused transport block retransmission request to the server side.
本申请实施例可以根据接收终端侧上层业务实体的文件重传请求主动对缺失的融合传输块请求重传,无需在终端侧进行检测,节省融合传输块在终端侧的接收时间。The embodiment of the present application can actively request the retransmission of the missing converged transport block according to the file retransmission request of the upper layer service entity of the receiving terminal, without performing detection on the terminal side, and saving the receiving time of the converged transport block on the terminal side.
可选地,参见图20,确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求包括步骤2001至步骤2006。Optionally, referring to FIG. 20, when it is determined that the fused transport block in the fused transport stream is lost, sending the fused transport block retransmission request to the server side includes steps 2001 to 2006.
步骤2001:对缓存的所有融合传输块进行文件恢复时,接收终端侧上层业务实体的文件恢复时长监控请求并对文件恢复时长进行监控,其中,所述文件恢复时长监控请求包括文件发送间隔。Step 2001: When performing file recovery on all the converged transport blocks of the cache, the file recovery duration monitoring request of the upper layer service entity of the terminal is monitored and the file recovery time is monitored, wherein the file recovery duration monitoring request includes a file sending interval.
本申请实施例中,可以采用接收定时器对文件恢复时长进行监控,所述文件恢复时长监控请求还可以包括融合传输流标识、业务流内编号、自动重传请求(Automatic Repeat-reQuest,ARQ)开关、文件发送间隔、文件超时调整值和下一个待接收文件序号;In the embodiment of the present application, the receiving timer can be used to monitor the file recovery duration, and the file recovery duration monitoring request may further include a fused transport stream identifier, a service stream number, and an automatic repeat-request (ARQ). Switch, file sending interval, file timeout adjustment value and the next file number to be received;
其中,所述融合传输流标识(CTS_ID)可以采用整数类型,取值范围0~4095,指定融合传输流标识;The fused transport stream identifier (CTS_ID) may be an integer type, ranging from 0 to 4095, and the fused transport stream identifier is specified;
所述业务流内编号(ISS_ID)可以采用整数类型,取值范围0~255,指定业务流内编号,和融合传输流标识构成业务标识;The service flow number (ISS_ID) may be an integer type, ranging from 0 to 255, specifying a service flow number, and the fused transport stream identifier constitutes a service identifier;
所述ARQ开关(ARQ_SWITCH)可以采用整数类型,取值0和1,其中1 代表开启文件自动重传,0代表关闭文件自动重传。The ARQ switch (ARQ_SWITCH) can be of an integer type, and takes values of 0 and 1, where 1 represents automatic file retransmission, and 0 represents automatic file retransmission.
所述文件发送间隔(FILE_INTERVAL)可以采用整数类型,取值范围0~64000,发送文件间隔,单位为ms。The file sending interval (FILE_INTERVAL) can be an integer type, ranging from 0 to 64000, and the file interval is sent in ms.
所述文件超时调整值(TIME_ADJUST)可以采用整数类型,取值范围0~64000,超时调整值,单位为ms,对下一文件的接收超时定时时间为FILE_INTERVAL和TIME_ADJUST两者之和。The file timeout adjustment value (TIME_ADJUST) may be an integer type, the value range is 0 to 64000, the timeout adjustment value is in ms, and the reception timeout timing time for the next file is the sum of FILE_INTERVAL and TIME_ADJUST.
所述下一个待接收文件序号(NEXT_FILE_SEQ)可以采用整数类型,取值范围为0~(2 20-1),指示下一个待接收文件的序号。 The sequence number of the next file to be received (NEXT_FILE_SEQ) may be an integer type, and the value ranges from 0 to (2 20 -1), indicating the sequence number of the next file to be received.
步骤2002:若所述文件恢复时长大于所述文件发送间隔时长,则触发所述终端侧上层业务实体发送的文件重传请求,所述文件重传请求包括融合传输流标识和文件序号。Step 2002: If the file recovery time length is greater than the file sending interval duration, triggering a file retransmission request sent by the terminal side upper layer service entity, where the file retransmission request includes a fused transport stream identifier and a file sequence number.
本申请实施例中,若所述文件恢复时长大于所述文件发送间隔时长,则触发所述终端侧上层业务实体发送的文件重传请求,例如所述文件恢复时长为3ms,所述文件发送间隔时长为2ms,那么则主动触发所述终端侧上层业务实体,所述上层业务实体会主动发送文件重传请求,所述文件重传请求携带的参数参见上述实施例。In the embodiment of the present application, if the file recovery time length is greater than the file sending interval duration, the file retransmission request sent by the terminal side upper layer service entity is triggered, for example, the file recovery time is 3 ms, and the file sending interval is If the duration is 2 ms, then the terminal-side upper-layer service entity is actively triggered, and the upper-layer service entity actively sends a file retransmission request, and the parameters carried in the file retransmission request are referred to the foregoing embodiment.
步骤2003:根据所述融合传输流标识和所述文件序号检测缓存的内容,确定所有段头和对应的块序号。Step 2003: Determine, according to the merged transport stream identifier and the file serial number detection cache content, all segment headers and corresponding block sequence numbers.
步骤2004:根据所述段头和对应的所述块序号确定丢失的融合传输块。Step 2004: Determine the lost fused transport block according to the segment header and the corresponding block sequence number.
本申请实施例中,确定丢失的融合传输块的方法参见上述实施例。In the embodiment of the present application, the method for determining the lost fused transport block is described in the foregoing embodiment.
步骤2005:根据所述丢失的融合传输块生成融合传输块重传请求。Step 2005: Generate a fused transport block retransmission request according to the lost fused transport block.
步骤2006:向服务器侧发送融合传输块重传请求。Step 2006: Send a fused transport block retransmission request to the server side.
本申请实施例可以在文件恢复时,对文件的恢复时长进行实时的监控,通过监控文件恢复时长确定融合传输块的丢失,自动触发文件重传功能,实现文件的自动化,并且可以根据需要主动开启和关闭文件恢复时长监控设备,使用简单方便。In the embodiment of the present application, when the file is restored, the recovery time of the file is monitored in real time, the loss of the converged transport block is determined by monitoring the file recovery time, the file retransmission function is automatically triggered, the file is automatically automated, and the file can be automatically opened as needed. And the file recovery time monitoring device is closed and easy to use.
可选地,参见图21,确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求包括步骤2101至步骤2105。Optionally, referring to FIG. 21, when it is determined that the fused transport block in the fused transport stream is lost, sending the fused transport block retransmission request to the server side includes steps 2101 to 2105.
步骤2101:对缓存的所有融合传输块进行文件恢复时,接收终端侧上层业务实体的文件恢复时长监控请求并对文件恢复时长进行监控,其中,所述文件恢复时长监控请求包括文件发送间隔。Step 2101: When performing file recovery on all the converged transport blocks of the cache, the file recovery duration monitoring request of the upper-layer service entity of the terminal is monitored and the file recovery duration is monitored, wherein the file recovery duration monitoring request includes a file sending interval.
步骤2102:若所述文件恢复时长到达所述文件发送间隔时长前,收到所述终端侧上层业务实体发送的文件重传请求,所述文件重传请求包括融合传输流标识和文件序号,则停止对所述文件恢复时长的监控并根据所述融合传输流标识和所述文件序号检测缓存的内容,确定所有段头和对应的块序号。Step 2102: If the file recovery time reaches the file sending interval duration, and receives a file retransmission request sent by the terminal side upper layer service entity, where the file retransmission request includes the fused transport stream identifier and the file serial number, The monitoring of the file recovery duration is stopped, and the cached content is determined according to the fused transport stream identifier and the file sequence number, and all segment headers and corresponding block sequence numbers are determined.
步骤2103:根据所述段头和对应的所述块序号确定丢失的融合传输块。Step 2103: Determine the lost fused transport block according to the segment header and the corresponding block sequence number.
步骤2104:根据所述文件重传请求和所述丢失的融合传输块生成融合传输块重传请求。Step 2104: Generate a fused transport block retransmission request according to the file retransmission request and the lost fused transport block.
步骤2105:向服务器侧发送融合传输块重传请求。Step 2105: Send a fused transport block retransmission request to the server side.
本申请实施例中,所述文件恢复时长到达所述文件发送间隔时长前,所述终端侧上层业务实体若检测到文件的缺失时,也可以主动发送的文件重传请求,实现缺失文件的重传,自主能力较强,使用效果好。In the embodiment of the present application, before the file recovery time reaches the file sending interval duration, if the terminal-side upper-layer service entity detects the missing file, the file retransmission request may be actively sent to implement the file deletion request. Passed, strong autonomy and good use.
进一步地,若根据所述段头和对应的所述块序号确定无融合传输块丢失,则触发所述终端侧的上层业务实体发送取消文件重传请求,其中,所述取消文件重传请求包括融合传输流标识和文件获取编号,所述取消文件重传请求还可以包括业务流内编号;Further, if the unfused transport block is determined to be lost according to the segment header and the corresponding block sequence number, the upper layer service entity of the terminal side is triggered to send a cancel file retransmission request, where the cancel file retransmission request includes The transport stream identifier and the file acquisition number are merged, and the cancel file retransmission request may further include a number in the service stream;
其中,所述融合传输流标识(CTS_ID)可以采用整数类型,取值范围0~4095,指定融合传输流标识。The fused transport stream identifier (CTS_ID) may be an integer type, in a range of 0 to 4095, and specifies a fused transport stream identifier.
所述业务流内编号(ISS_ID)可以采用整数类型,取值范围0~255,指定业务流内编号,和融合传输流标识构成业务标识。The service flow number (ISS_ID) may be an integer type, ranging from 0 to 255, specifying a service flow number, and the fused transport stream identifier constitutes a service identifier.
所述文件获取编号(GET_SEQ)可以采用整数类型,取值范围0~255,指示要取消的文件请求的编号。The file acquisition number (GET_SEQ) may be an integer type, ranging from 0 to 255, indicating the number of the file request to be canceled.
本申请实施例中,确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求之后,若终端侧接收到取消文件重传请求,确定无丢失或出错的融合传输块时,则发送取消融合传输块请求至服务器侧;所述取消融合传输块请求包括融合传输流标识和融合传输块重传请求编号;In the embodiment of the present application, after determining that the fused transport block in the fused transport stream is lost, after transmitting the fused transport block retransmission request to the server side, if the terminal side receives the cancel file retransmission request, determining that there is no loss or error fusion. Transmitting a block to send a canceled transport block request to the server side; the canceling the transport block request includes a fused transport stream identifier and a fused transport block retransmission request number;
其中,所述融合传输流标识(CTS_ID)可以采用整数类型,取值范围0~4095,发起重传的融合传输流标识。The fused transport stream identifier (CTS_ID) may be an integer type, ranging from 0 to 4095, to initiate a retransmitted fused transport stream identifier.
所述融合传输块重传请求编号(REQ_SEQ)可以采用整数类型,取值范围0~255,SSTP实体按时间顺序对发出的CTS_CTB_REQ消息进行的循环编号。The fused transport block retransmission request number (REQ_SEQ) may be an integer type, ranging from 0 to 255, and the SSTP entity chronologically numbers the issued CTS_CTB_REQ message.
步骤1804:接收携带有融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据的融合传输块补发响应。Step 1804: Receive a fused transport block retransmission response carrying the fused transport stream identifier, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission.
本申请实施例中,可以通过互联网信道发送所述融合传输块重传请求和接收所述融合传输块补发响应。In this embodiment, the fused transport block retransmission request and the fused transport block retransmission request may be sent through an Internet channel.
所述互联网信道包括用户数据报协议UDP信道和超文本传输协议HTTP信道;The Internet channel includes a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol HTTP channel;
当终端侧请求重传的数据量小于阈值时,所述终端侧通过UDP信道发送所述融合传输块重传请求和接收所述融合传输块补发响应;When the amount of data requested by the terminal side to be retransmitted is less than a threshold, the terminal side sends the fused transport block retransmission request and receives the fused transport block retransmission request through a UDP channel;
当终端侧请求重传的数据量大于阈值时,所述终端侧通过HTTP信道接收所述融合传输块重传请求和接收所述融合传输块补发响应。When the amount of data requested by the terminal side to be retransmitted is greater than a threshold, the terminal side receives the fused transport block retransmission request and receives the fused transport block retransmission request through an HTTP channel.
步骤1805:根据所述融合传输块补发响应中携带的融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据,确定缓存了完整的所述融合传输流中的融合传输块。Step 1805: Determine, according to the fused transport stream identifier carried in the retransmission response of the fused transport block, the number of fused transport blocks requesting retransmission, and the fused transport block data that is requested to be retransmitted, to determine that the complete fused transport stream is cached. Converged transport blocks.
本申请实施例中,根据所述融合传输块补发响应中携带的融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据,确定缓存的所述融合传输流中的融合传输块完整时,解析所述融合传输块中的文件描述头;然后根据所述文件描述头和所述段头进行文件恢复,并将所述文件发送至终端侧的上层业务实体;In the embodiment of the present application, determining, according to the fused transport stream identifier carried in the retransmission response of the fused transport block, the number of fused transport blocks requesting retransmission, and the fused transport block data requested to be retransmitted, determining the cached transport stream in the cache And parsing the file description header in the fused transport block; then performing file recovery according to the file description header and the segment header, and sending the file to an upper layer service entity on the terminal side;
其中,所述文件描述头包括:业务标识、文件序号、文件长度和文件播放时长。The file description header includes: a service identifier, a file serial number, a file length, and a file playback duration.
本申请实施例中,采用上述方法可以实现对数据进行处理,生成统一格式的融合传输流,该融合传输流可通过卫星等广播网广播和互联网两种方式传输给融合终端,融合终端可以同时接收来自卫星等广播网和来自移动通信网的信 号,并且当卫星等广播链路上接收的数据发生出错或丢失时,融合终端可以将通过移动通信网的双向链路来重传丢失或出错的数据,以保证数据接收的可靠性。In the embodiment of the present application, the foregoing method can be used to process data, and generate a unified format of the converged transport stream, which can be transmitted to the converged terminal through a broadcast network broadcast such as satellite and the Internet, and the converged terminal can receive the same at the same time. From broadcast networks such as satellites and signals from mobile communication networks, and when data received on broadcast links such as satellites are erroneous or lost, the converged terminal can retransmit lost or erroneous data over the bidirectional link of the mobile communication network. To ensure the reliability of data reception.
参见图22,本申请实施例公开了一种基于融合传输系统的数据传输装置,应用于服务器侧,所述装置包括:Referring to FIG. 22, an embodiment of the present application discloses a data transmission apparatus based on a converged transmission system, which is applied to a server side, and the apparatus includes:
获取模块2201,用于获取待发送的文件。The obtaining module 2201 is configured to obtain a file to be sent.
具体地,所述获取模块2201用于获取业务中的文件流,将所述文件流切分为至少一个所述待发送的文件。Specifically, the obtaining module 2201 is configured to obtain a file stream in the service, and divide the file stream into at least one file to be sent.
文件封装模块2202,用于将所述文件封装在至少一个融合传输块中形成融合传输流发送至终端侧,其中,每个融合传输块均携带有块序号。The file encapsulating module 2202 is configured to encapsulate the file in the at least one fused transport block to form a fused transport stream, where the fused transport block carries a block sequence number.
进一步地,文件封装模块2202包括:Further, the file encapsulating module 2202 includes:
文件描述头添加子模块,用于为每个所述文件添加文件描述头;A file description header adds a submodule for adding a file description header for each of the files;
文件分割子模块,用于根据融合传输块的大小将添加了文件描述头的所述文件分割成至少一个文件段,其中,每个文件段均携带有段头,并且所述文件描述头包含在所述文件的其中一个文件段中;a file splitting submodule, configured to divide the file to which the file description header is added into at least one file segment according to a size of the fused transport block, where each file segment carries a segment header, and the file description header is included in One of the file segments of the file;
文件段封装子模块,用于将所述文件段封装在融合传输块中;a file segment encapsulation submodule, configured to encapsulate the file segment in a converged transport block;
其中,所述文件描述头包括:业务标识、文件序号、文件长度和文件播放时长,所述段头包括文件段编号、文件段总数和文件序号。The file description header includes: a service identifier, a file serial number, a file length, and a file playing duration, and the segment header includes a file segment number, a total number of file segments, and a file serial number.
具体地,所述文件段封装子模块包括:Specifically, the file segment encapsulation submodule includes:
剩余空间判断子模块,用于若所述融合传输块中封装的是所述文件的最后一个文件段且所述融合传输块有剩余空间时,检测是否存在下一个待发送的文 件;a remaining space judging submodule, configured to detect whether there is a next file to be sent if the last file segment of the file is encapsulated in the fused transport block and the fused transport block has a remaining space;
剩余文件封装子模块,用于若存在下一个待发送的文件且若下一个待发送的文件的第一个文件段的大小等于或小于所述剩余空间,则将所述第一个文件段封装在所述剩余空间中;a remaining file encapsulation submodule, configured to: if the next file to be sent exists and if the size of the first file segment of the next file to be sent is equal to or smaller than the remaining space, the first file segment is encapsulated In the remaining space;
填充子模块,用于若存在下一个待发送的文件但是下一个待发送的文件的第一个文件段的大小大于所述剩余空间,或不存在下一个待发送的文件,则对所述剩余空间进行填充。Filling a sub-module, if there is a file to be sent but the size of the first file segment of the next file to be sent is larger than the remaining space, or there is no next file to be sent, then the remaining Space is filled.
接收重传请求模块2203,用于接收来自终端侧的融合传输块重传请求,所述融合传输块重传请求包括融合传输流标识和请求重传的融合传输块块序号列表,或者包括融合传输流标识和文件序号。The receiving retransmission request module 2203 is configured to receive a fused transport block retransmission request from the terminal side, where the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list requesting retransmission, or includes a fused transmission Stream ID and file serial number.
生成补发响应模块2204,用于获取所述融合传输块重传请求中需要重传的融合传输块,并将所述融合传输块封装为融合传输块补发响应发送至终端侧。The retransmission response module 2204 is configured to obtain the fused transport block that needs to be retransmitted in the fused transport block retransmission request, and encapsulates the fused transport block into a fused transport block retransmission response and sends the retransmission response to the terminal side.
进一步地,当所述融合传输块重传请求包括融合传输流标识和请求重传的融合传输块块序号列表时,所述生成补发响应模块2204包括:Further, when the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list that requests retransmission, the generate retransmission response module 2204 includes:
融合传输流确定子模块,用于根据所述融合传输块重传请求中的融合传输流标识与所述业务索引信息中的融合传输流标识的对应关系,确定所述融合传输块重传请求中请求重传的融合传输块所属的融合传输流;a fused transport stream determining submodule, configured to determine, according to the correspondence between the fused transport stream identifier in the fused transport block retransmission request and the fused transport stream identifier in the service index information, to determine the fused transport block retransmission request a fused transport stream to which the fused transport block requesting retransmission belongs;
文件段确定子模块,用于将请求重传的融合传输块块序号列表与所述业务索引信息中文件流中对应的所有融合传输块的信息进行比较,确定所述融合传输块重传请求中请求重传的融合传输块对应的文件段;a file segment determining submodule, configured to compare the fused transport block block sequence number list requesting retransmission with information of all fused transport blocks corresponding to the file stream in the service index information, to determine the fused transport block retransmission request a file segment corresponding to the fused transport block requesting retransmission;
文件段封装重传子模块,用于将所述文件段再封装形成所述融合传输块重 传请求中需要重传的融合传输块;a file segment encapsulating retransmission submodule, configured to re-encapsulate the file segment to form a fused transport block that needs to be retransmitted in the fused transport block retransmission request;
当所述融合传输块重传请求包括融合传输流标识和文件序号时,所述生成补发响应模块2204包括:When the fused transport block retransmission request includes the fused transport stream identifier and the file sequence number, the generating the retransmission response module 2204 includes:
确定子模块,用于根据所述融合传输块重传请求中的融合传输流标识与所述业务索引信息中的融合传输流标识的对应关系,确定所述融合传输块重传请求中请求重传的融合传输块所属的融合传输流;a determining submodule, configured to determine, according to the correspondence between the fused transport stream identifier in the fused transport block retransmission request and the fused transport stream identifier in the service index information, to request retransmission in the fused transport block retransmission request a converged transport stream to which the converged transport block belongs;
文件确定子模块,用于将请求重传的融合传输块所属的文件序号与所述业务索引信息中文件流的文件序号的进行比较,确定所述融合传输块重传请求中请求重传的融合传输块所属的文件;a file determining submodule, configured to compare a file sequence number to which the fused transport block requesting retransmission belongs and a file sequence number of the file stream in the service index information, to determine a fusion requesting retransmission in the fused transport block retransmission request The file to which the transport block belongs;
文件封装重传子模块,用于将所述文件按照请求重传的融合传输块大小分割成文件段进行封装,形成所述融合传输块重传请求中需要重传的融合传输块。The file encapsulation retransmission sub-module is configured to divide the fused transport block size that is requested to be retransmitted into a file segment for encapsulation, and form a fused transport block that needs to be retransmitted in the retransmission request of the fused transport block.
进一步地,所述装置还包括:Further, the device further includes:
业务索引信息生成模块,用于生成同一个业务下的所有融合传输块的业务索引信息,a service index information generating module, configured to generate service index information of all the converged transport blocks under the same service,
其中,所述业务索引信息包括融合传输流标识、文件流中的文件序号、文件流中对应的所有融合传输块的信息,所述信息包括文件流对应的第一个融合传输块的块序号以及文件流封装后产生的融合传输块的个数。The service index information includes a fused transport stream identifier, a file sequence number in the file stream, and information of all fused transport blocks corresponding to the file stream, where the information includes a block sequence number of the first fused transport block corresponding to the file stream, and The number of fused transport blocks generated after file stream encapsulation.
可选地,所述装置通过卫星广播信道将所述融合传输流发送至所述终端侧;Optionally, the device sends the fused transport stream to the terminal side through a satellite broadcast channel;
通过互联网信道接收所述融合传输块重传请求和发送所述融合传输块补发响应。Receiving the fused transport block retransmission request and transmitting the fused transport block retransmission response over an internet channel.
可选地,所述卫星广播信道包括NGB-W/S信道或DVB-S信道。Optionally, the satellite broadcast channel comprises an NGB-W/S channel or a DVB-S channel.
可选地,所述互联网信道包括用户数据报协议UDP信道和超文本传输协议HTTP信道;Optionally, the Internet channel includes a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol (HTTP) channel;
当终端侧请求重传的数据量小于阈值时,所述服务器侧通过UDP信道接收所述融合传输块重传请求和发送所述融合传输块补发响应;When the amount of data requested by the terminal side to be retransmitted is less than a threshold, the server side receives the fused transport block retransmission request and sends the fused transport block retransmission request through a UDP channel;
当终端侧请求重传的数据量大于阈值时,所述服务器侧通过HTTP信道接收所述融合传输块重传请求和发送所述融合传输块补发响应。When the amount of data requested by the terminal side to be retransmitted is greater than a threshold, the server side receives the fused transport block retransmission request and sends the fused transport block retransmission request through an HTTP channel.
本申请实施例公开的基于融合传输系统的数据传输装置可以实现对数据进行处理,生成统一格式的融合传输流,该融合传输流可通过卫星等广播网广播和互联网两种方式传输给融合终端,融合终端可以同时接收来自卫星等广播网和来自移动通信网的信号,并且当卫星等广播链路上接收的数据发生出错或丢失时,融合终端可以将通过移动通信网的双向链路来重传丢失或出错的数据,以保证数据接收的可靠性。The data transmission device based on the converged transmission system disclosed in the embodiment of the present application can implement data processing to generate a converged transport stream in a unified format, and the converged transport stream can be transmitted to the converged terminal through a broadcast network broadcast such as satellite and the Internet. The converged terminal can simultaneously receive signals from a broadcast network such as a satellite and from a mobile communication network, and when data received on a broadcast link such as a satellite is erroneous or lost, the converged terminal can retransmit the bidirectional link through the mobile communication network. Lost or erroneous data to ensure the reliability of data reception.
参见图23,本申请实施例公开了一种基于融合传输系统的数据传输装置,应用于终端侧,所述装置包括:Referring to FIG. 23, the embodiment of the present application discloses a data transmission device based on a fusion transmission system, which is applied to a terminal side, and the device includes:
融合传输流接收模块2301,用于接收融合传输流。The fused transport stream receiving module 2301 is configured to receive the fused transport stream.
融合传输块解析模块2302,用于解析所述融合传输流中的所有的融合传输块并缓存,其中,每个融合传输块均携带有块序号到缓存模块。The fused transport block parsing module 2302 is configured to parse and cache all the fused transport blocks in the fused transport stream, where each fused transport block carries a block sequence number to the cache module.
具体地,所述融合传输块解析模块2302用于解析所述融合传输流中的所有融合传输块中封装的文件段并缓存到所述缓存模块,其中,每个文件段均携带有段头,所述段头包括文件段编号、文件段总数和文件序号。Specifically, the fused transport block parsing module 2302 is configured to parse the file segments encapsulated in all the fused transport blocks in the fused transport stream and cache the file segments into the cache module, where each file segment carries a segment header. The segment header includes a file segment number, a total number of file segments, and a file serial number.
发送重传请求模块2303,用于确定所述融合传输流中的融合传输块丢失 时,向服务器侧发送融合传输块重传请求。The transmit retransmission request module 2303 is configured to send a fused transport block retransmission request to the server side when the fused transport block in the fused transport stream is lost.
进一步地,所述发送重传请求模块2303包括:Further, the sending retransmission request module 2303 includes:
文件重传请求接收子模块,用于接收终端侧上层业务实体的文件重传请求,所述文件重传请求包括融合传输流标识和文件序号;a file retransmission request receiving submodule, configured to receive a file retransmission request of an upper layer service entity of the terminal side, where the file retransmission request includes a converged transport stream identifier and a file serial number;
缓存检测子模块,用于根据所述融合传输流标识和所述文件序号检测缓存的内容,确定所有段头和对应的块序号;a cache detection sub-module, configured to detect, according to the merged transport stream identifier and the file serial number, a cached content, and determine a sequence header and a corresponding block sequence number;
文件确定子模块,用于根据所述段头和对应的所述块序号确定丢失的融合传输块;a file determining submodule, configured to determine a lost converged transport block according to the segment header and the corresponding block sequence number;
第一重传请求生成子模块,用于根据所述丢失的融合传输块生成融合传输块重传请求;a first retransmission request generating submodule, configured to generate a fused transport block retransmission request according to the lost fused transport block;
第一发送子模块,用于向服务器侧发送融合传输块重传请求。The first sending submodule is configured to send a fused transport block retransmission request to the server side.
可选地,所述发送重传请求模块2303还包括:Optionally, the sending retransmission request module 2303 further includes:
第一监控子模块,用于对缓存的所有融合传输块进行文件恢复时,接收终端侧上层业务实体的文件恢复时长监控请求并对文件恢复时长进行监控,其中,所述文件恢复时长监控请求包括文件发送间隔;The first monitoring sub-module is configured to receive a file recovery duration monitoring request of the upper-layer service entity of the terminal and monitor the file recovery duration, where the file recovery time monitoring request includes File sending interval;
文件重传请求触发子模块,用于若所述文件恢复时长大于所述文件发送间隔时长,则触发所述终端侧上层业务实体发送的文件重传请求,所述文件重传请求包括融合传输流标识和文件序号;The file retransmission request triggering submodule is configured to trigger a file retransmission request sent by the terminal side upper layer service entity if the file recovery time length is greater than the file sending interval duration, where the file retransmission request includes the fused transport stream Identification and file serial number;
缓存内容确定子模块,用于根据所述融合传输流标识和所述文件序号检测缓存的内容,确定所有段头和对应的块序号;a cache content determining submodule, configured to determine, according to the merged transport stream identifier and the file serial number, the cached content, and determine a total number of segments and corresponding block numbers;
文件段确定子模块,用于根据所述段头和对应的所述块序号确定丢失的融 合传输块;a file segment determining submodule, configured to determine a lost merged transport block according to the segment header and the corresponding block sequence number;
第二重传请求生成子模块,用于根据所述丢失的融合传输块生成融合传输块重传请求;a second retransmission request generating submodule, configured to generate a fused transport block retransmission request according to the lost fused transport block;
第二发送子模块,用于向服务器侧发送融合传输块重传请求。The second sending submodule is configured to send the fused transport block retransmission request to the server side.
接收补发响应模块2304,用于接收携带有融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据的融合传输块补发响应;The receiving retransmission response module 2304 is configured to receive a fused transport block retransmission response carrying the fused transport stream identifier, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission;
融合传输块完整模块2305,用于根据所述融合传输块补发响应中携带的融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据,确定缓存了完整的所述融合传输流中的融合传输块。The fused transport block complete module 2305 is configured to determine, according to the fused transport stream identifier carried in the retransmission response of the fused transport block, the number of fused transport blocks requesting retransmission, and the fused transport block data requested to be retransmitted, to determine that the complete cache is cached. A converged transport block in a converged transport stream.
可选地,所述发送重传请求模块2303还包括:Optionally, the sending retransmission request module 2303 further includes:
第二监控子模块,用于对缓存的所有融合传输块进行文件恢复时,接收终端侧上层业务实体的文件恢复时长监控请求并对文件恢复时长进行监控,其中,所述文件恢复时长监控请求包括文件发送间隔;The second monitoring sub-module is configured to: when receiving file recovery of all the converged transport blocks of the cache, receive a file recovery duration monitoring request of the upper-layer service entity of the terminal side, and monitor the file recovery duration, where the file recovery duration monitoring request includes File sending interval;
文件重传请求自动接收子模块,用于若所述文件恢复时长到达所述文件发送间隔时长前,收到所述终端侧上层业务实体发送的文件重传请求,所述文件重传请求包括融合传输流标识和文件序号,则停止对所述文件恢复时长的监控并根据所述融合传输流标识和所述文件序号检测缓存的内容,确定所有段头和对应的块序号;The file retransmission request automatic receiving submodule is configured to: before the file recovery time reaches the file sending interval duration, receive a file retransmission request sent by the terminal side upper layer service entity, where the file retransmission request includes fusion Transmitting the flow identifier and the file serial number, stopping monitoring the recovery time of the file, and detecting the cached content according to the merged transport stream identifier and the file serial number, and determining all segment headers and corresponding block serial numbers;
融合传输块缺失子模块,用于根据所述段头和对应的所述块序号确定丢失的融合传输块;a fused transport block missing submodule, configured to determine a lost fused transport block according to the segment header and the corresponding block sequence number;
第三重传请求生成子模块,用于根据所述丢失的融合传输块生成融合传输 块重传请求;a third retransmission request generating submodule, configured to generate a fused transport block retransmission request according to the lost fused transport block;
第三发送子模块,用于向服务器侧发送融合传输块重传请求。The third sending submodule is configured to send the fused transport block retransmission request to the server side.
可选地,所述装置还包括:Optionally, the device further includes:
取消文件重传请求模块,用于根据所述段头和对应的所述块序号确定无融合传输块丢失,则触发所述终端侧的上层业务实体发送取消文件重传请求,其中,所述取消文件重传请求包括融合传输流标识和文件获取编号。a canceling a file retransmission requesting module, configured to determine, according to the segment header and the corresponding block sequence number, that the unfused transport block is lost, triggering an upper layer service entity of the terminal side to send a cancel file retransmission request, where the canceling The file retransmission request includes a converged transport stream identifier and a file acquisition number.
可选地,所述装置还包括:Optionally, the device further includes:
取消块重传请求模块,用于发送取消融合传输块请求至服务器侧,所述取消融合传输块请求包括融合传输流标识和融合传输块重传请求编号。The block retransmission request module is configured to send a cancel converged transport block request to the server side, where the unfused transport block request includes a fused transport stream identifier and a fused transport block retransmission request number.
可选地,所述装置还包括:Optionally, the device further includes:
文件描述头解析模块,用于解析所述融合传输块中的文件描述头;a file description header parsing module, configured to parse a file description header in the converged transport block;
文件恢复模块,用于根据所述文件描述头和所述段头进行文件恢复,并将所述文件发送至终端侧上层业务实体;a file recovery module, configured to perform file recovery according to the file description header and the segment header, and send the file to an upper layer service entity of the terminal side;
其中,所述文件描述头包括:业务标识、文件序号、文件长度和文件播放时长。The file description header includes: a service identifier, a file serial number, a file length, and a file playback duration.
可选地,所述装置通过卫星广播信道接收所述服务器侧发送的所述融合传输块;Optionally, the apparatus receives the fused transport block sent by the server side by using a satellite broadcast channel;
通过互联网信道发送所述融合传输块重传请求和接收所述融合传输块补发响应。Transmitting the fused transport block retransmission request and receiving the fused transport block retransmission response over an internet channel.
可选地,所述卫星广播信道包括NGB-W/S信道或DVB-S信道。Optionally, the satellite broadcast channel comprises an NGB-W/S channel or a DVB-S channel.
可选地,所述互联网信道包括用户数据报协议UDP信道和超文本传输协 议HTTP信道;Optionally, the Internet channel includes a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol HTTP channel;
当终端侧请求重传的数据量小于阈值时,所述终端侧通过UDP信道发送所述融合传输块重传请求和接收所述融合传输块补发响应;When the amount of data requested by the terminal side to be retransmitted is less than a threshold, the terminal side sends the fused transport block retransmission request and receives the fused transport block retransmission request through a UDP channel;
当终端侧请求重传的数据量大于阈值时,所述终端侧通过HTTP信道接收所述融合传输块重传请求和接收所述融合传输块补发响应。When the amount of data requested by the terminal side to be retransmitted is greater than a threshold, the terminal side receives the fused transport block retransmission request and receives the fused transport block retransmission request through an HTTP channel.
本申请实施例公开的基于融合传输系统的数据传输装置可以实现对数据进行处理,生成统一格式的融合传输流,该融合传输流可通过卫星等广播网广播和互联网两种方式传输给融合终端,融合终端可以同时接收来自卫星等广播网和来自移动通信网的信号,并且当卫星等广播链路上接收的数据发生出错或丢失时,融合终端可以将通过移动通信网的双向链路来重传丢失或出错的数据,以保证数据接收的可靠性。The data transmission device based on the converged transmission system disclosed in the embodiment of the present application can implement data processing to generate a converged transport stream in a unified format, and the converged transport stream can be transmitted to the converged terminal through a broadcast network broadcast such as satellite and the Internet. The converged terminal can simultaneously receive signals from a broadcast network such as a satellite and from a mobile communication network, and when data received on a broadcast link such as a satellite is erroneous or lost, the converged terminal can retransmit the bidirectional link through the mobile communication network. Lost or erroneous data to ensure the reliability of data reception.
上述为本实施例的一种基于融合传输块系统的数据传输装置的示意性方案。需要说明的是,该基于融合传输块系统的数据传输装置的技术方案与上述的基于融合传输块系统的数据传输方法的技术方案属于同一构思,基于融合传输块系统的数据传输装置的技术方案未详细描述的细节内容,均可以参见上述基于融合传输块系统的数据传输方法的技术方案的描述。The above is a schematic diagram of a data transmission apparatus based on a converged transport block system of the present embodiment. It should be noted that the technical solution of the data transmission device based on the fused transport block system belongs to the same concept as the technical solution of the data transmission method based on the fused transport block system, and the technical solution of the data transmission device based on the fused transport block system is not For details of the detailed description, reference may be made to the description of the technical solution of the data transmission method based on the fused transport block system described above.
本申请一实施例还提供一种计算设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:An embodiment of the present application further provides a computing device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the program to implement the following steps:
获取待发送的文件;Get the file to be sent;
将所述文件封装在至少一个融合传输块中形成融合传输流发送至终端侧, 其中,每个融合传输块均携带有块序号;Encapsulating the file in the at least one fused transport block to form a fused transport stream to be sent to the terminal side, where each fused transport block carries a block sequence number;
接收来自终端侧的融合传输块重传请求,所述融合传输块重传请求包括融合传输流标识和请求重传的融合传输块块序号列表,或者包括融合传输流标识和文件序号;Receiving a fused transport block retransmission request from the terminal side, where the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list requesting retransmission, or includes a fused transport stream identifier and a file sequence number;
获取所述融合传输块重传请求中需要重传的融合传输块,并将所述融合传输块封装为融合传输块补发响应发送至终端侧。Obtaining a fused transport block that needs to be retransmitted in the fused transport block retransmission request, and encapsulating the fused transport block into a fused transport block retransmission response to be sent to the terminal side.
本申请实施例还提供一种计算设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:The embodiment of the present application further provides a computing device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the following steps:
接收融合传输流;Receiving a converged transport stream;
解析所述融合传输流中的所有的融合传输块并缓存,其中,每个融合传输块均携带有块序号;Parsing and converging all the converged transport blocks in the converged transport stream, where each converged transport block carries a block sequence number;
确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求;When it is determined that the fused transport block in the fused transport stream is lost, sending a fused transport block retransmission request to the server side;
接收携带有融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据的融合传输块补发响应;Receiving a fused transport block retransmission response carrying the fused transport stream identifier, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission;
根据所述融合传输块补发响应中携带的融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据,确定缓存的所述融合传输流中的融合传输块完整。Determining, according to the fused transport stream identifier carried in the retransmission response of the fused transport block, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission, determining that the fused transport transport block in the cached transport transport stream is complete.
需要说明的是,所述计算设备可以为桌上型计算机、笔记本、掌上电脑及移动终端等计算设备。It should be noted that the computing device may be a computing device such as a desktop computer, a notebook, a palmtop computer, or a mobile terminal.
所述处理器可以为中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器是所述终端的控制中心,利用各种接口和线路连接整个终端的各个部分。The processor may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and an off-the-shelf device. Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like, which is a control center of the terminal, and connects various parts of the entire terminal using various interfaces and lines.
所述存储器主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.); and the storage data area can be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory may include a high-speed random access memory, and may also include non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SMC), and a Secure Digital (SD) card. , Flash Card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
本申请一实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的基于融合传输系统的应用于服务器侧的数据传输方法中的步骤。An embodiment of the present application further provides a computer readable storage medium storing a computer program, when the computer program is executed by a processor, implementing the fusion transmission system based on the application side as described above The steps in the data transfer method.
本申请一实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的基于融合传输系统的应用于终端侧的数据传输方法中的步骤。An embodiment of the present application further provides a computer readable storage medium storing a computer program, when the computer program is executed by a processor, implementing the fusion transmission system based on the application to the terminal side The steps in the data transfer method.
上述为本实施例的一种计算机可读存储介质的示意性方案。需要说明的是,该存储介质的技术方案与上述的基于融合传输块系统的数据传输方法的技术 方案属于同一构思,存储介质的技术方案未详细描述的细节内容,均可以参见上述基于融合传输块系统的数据传输方法的技术方案的描述。The above is a schematic illustration of a computer readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the data transmission method based on the fused transport block system, and the details of the technical solution of the storage medium are not described in detail. A description of the technical solution of the system's data transmission method.
所述计算机指令包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。The computer instructions include computer program code, which may be in the form of source code, an object code, an executable, or some intermediate form. The computer readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM). , random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in a jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer readable media Does not include electrical carrier signals and telecommunication signals.
需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本申请所必须的。It should be noted that, for the foregoing method embodiments, for the sake of brevity, they are all described as a series of action combinations, but those skilled in the art should understand that the present application is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present application. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are all focused, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
以上公开的本申请优选实施例只是用于帮助阐述本申请。可选实施例并没有详尽叙述所有的细节,也不限制该发明仅为所述的具体实施方式。显然,根据本说明书的内容,可作很多的修改和变化。本说明书选取并具体描述这些实施例,是为了更好地解释本申请的原理和实际应用,从而使所属技术领域技术人员能很好地理解和利用本申请。本申请仅受权利要求书及其全部范围和等效 物的限制。The preferred embodiments of the present application disclosed above are only intended to assist in the description of the present application. The various embodiments are not described in detail, and the invention is not limited to the specific embodiments. Obviously, many modifications and variations are possible in light of the teachings herein. The present invention has been selected and described in detail to explain the principles of the invention and the application of the invention. This application is only limited by the scope of the claims and the full scope and equivalents thereof.

Claims (23)

  1. 一种基于融合传输系统的数据传输方法,应用于服务器侧,其特征在于,包括:A data transmission method based on a converged transmission system is applied to a server side, and is characterized in that it comprises:
    获取待发送的文件;Get the file to be sent;
    将所述文件封装在至少一个融合传输块中形成融合传输流发送至终端侧,其中,每个融合传输块均携带有块序号;Encapsulating the file in the at least one fused transport block to form a fused transport stream to be sent to the terminal side, where each fused transport block carries a block sequence number;
    接收来自终端侧的融合传输块重传请求,所述融合传输块重传请求包括融合传输流标识和请求重传的融合传输块块序号列表,或者包括融合传输流标识和文件序号;Receiving a fused transport block retransmission request from the terminal side, where the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list requesting retransmission, or includes a fused transport stream identifier and a file sequence number;
    获取所述融合传输块重传请求中需要重传的融合传输块,并将所述融合传输块封装为融合传输块补发响应发送至终端侧。Obtaining a fused transport block that needs to be retransmitted in the fused transport block retransmission request, and encapsulating the fused transport block into a fused transport block retransmission response to be sent to the terminal side.
  2. 根据权利要求1所述的方法,其特征在于,所述获取待发送的文件包括:The method according to claim 1, wherein the obtaining the file to be sent comprises:
    获取业务中的文件流,将所述文件流切分为至少一个所述待发送的文件。Obtaining a file stream in the service, and dividing the file stream into at least one file to be sent.
  3. 根据权利要求2所述的方法,其特征在于,将所述文件封装在至少一个融合传输块中后,还包括:The method according to claim 2, further comprising: after the file is encapsulated in the at least one fused transport block, further comprising:
    生成同一个业务下的所有融合传输块的业务索引信息,Generate service index information of all converged transport blocks under the same service.
    其中,所述业务索引信息包括融合传输流标识、文件流中的文件序号、文件流中对应的所有融合传输块的信息,所述信息包括文件流对应的第一个融合传输块的块序号以及文件流封装后产生的融合传输块的个数。The service index information includes a fused transport stream identifier, a file sequence number in the file stream, and information of all fused transport blocks corresponding to the file stream, where the information includes a block sequence number of the first fused transport block corresponding to the file stream, and The number of fused transport blocks generated after file stream encapsulation.
  4. 根据权利要求3所述的方法,其特征在于,将所述文件封装在至少一 个融合传输块中包括:The method of claim 3, wherein the encapsulating the file in the at least one fused transport block comprises:
    为每个所述文件添加文件描述头;Add a file description header for each of the files;
    根据融合传输块的大小将添加了文件描述头的所述文件分割成至少一个文件段,其中,每个文件段均携带有段头,并且所述文件描述头包含在所述文件的其中一个文件段中;Splitting the file with the file description header into at least one file segment according to the size of the fused transport block, wherein each file segment carries a segment header, and the file description header is included in one of the files of the file In the paragraph;
    将所述文件段封装在融合传输块中;Encapsulating the file segment in a converged transport block;
    其中,所述文件描述头包括:业务标识、文件序号、文件长度和文件播放时长,所述段头包括文件段编号、文件段总数和文件序号。The file description header includes: a service identifier, a file serial number, a file length, and a file playing duration, and the segment header includes a file segment number, a total number of file segments, and a file serial number.
  5. 根据权利要求4所述的方法,其特征在于,The method of claim 4 wherein:
    当所述融合传输块重传请求包括融合传输流标识和请求重传的融合传输块块序号列表时,获取所述融合传输块重传请求中需要重传的融合传输块包括:When the fused transport block retransmission request includes the fused transport stream identifier and the fused transport block block sequence number list that is requested to be retransmitted, obtaining the fused transport block that needs to be retransmitted in the fused transport block retransmission request includes:
    根据所述融合传输块重传请求中的融合传输流标识与所述业务索引信息中的融合传输流标识的对应关系,确定所述融合传输块重传请求中请求重传的融合传输块所属的融合传输流;Determining, according to the correspondence between the fused transport stream identifier in the fused transport packet retransmission request and the fused transport stream identifier in the service index information, determining that the fused transport block requested to be retransmitted in the fused transport block retransmission request belongs to Converged transport stream;
    将请求重传的融合传输块块序号列表与所述业务索引信息中文件流中对应的所有融合传输块的信息进行比较,确定所述融合传输块重传请求中请求重传的融合传输块对应的文件段;Comparing the fused transport block block sequence number list that is requested to be retransmitted with the information of all the fused transport blocks corresponding to the file stream in the service index information, and determining that the fused transport block requesting retransmission in the fused transport block retransmission request corresponds to File segment
    将所述文件段再封装形成所述融合传输块重传请求中需要重传的融合传输块;Re-encapsulating the file segment to form a fused transport block that needs to be retransmitted in the fused transport block retransmission request;
    当所述融合传输块重传请求包括融合传输流标识和文件序号时,获取所述融合传输块重传请求中需要重传的融合传输块包括:When the fused transport block retransmission request includes the fused transport stream identifier and the file sequence number, the fused transport block that needs to be retransmitted in the fused transport block retransmission request includes:
    根据所述融合传输块重传请求中的融合传输流标识与所述业务索引信息中的融合传输流标识的对应关系,确定所述融合传输块重传请求中请求重传的融合传输块所属的融合传输流;Determining, according to the correspondence between the fused transport stream identifier in the fused transport packet retransmission request and the fused transport stream identifier in the service index information, determining that the fused transport block requested to be retransmitted in the fused transport block retransmission request belongs to Converged transport stream;
    将请求重传的融合传输块所属的文件序号与所述业务索引信息中文件流的文件序号的进行比较,确定所述融合传输块重传请求中请求重传的融合传输块所属的文件;Comparing the file sequence number to which the fused transport block requesting the retransmission belongs and the file sequence number of the file stream in the service index information, and determining a file to which the fused transport block requested to be retransmitted in the fused transport block retransmission request belongs;
    将所述文件按照请求重传的融合传输块大小分割成文件段进行封装,形成所述融合传输块重传请求中需要重传的融合传输块。The file is encapsulated according to the size of the fused transport block that is requested to be retransmitted into a file segment to form a fused transport block that needs to be retransmitted in the fused transport block retransmission request.
  6. 根据权利要求4所述的方法,其特征在于,将所述文件段封装在融合传输块中包括:The method according to claim 4, wherein the encapsulating the file segment in the fused transport block comprises:
    若所述融合传输块中封装的是所述文件的最后一个文件段且所述融合传输块有剩余空间时,检测是否存在下一个待发送的文件;If the last file segment of the file is encapsulated in the fused transport block and the fused transport block has a remaining space, detecting whether there is a file to be sent next;
    若存在下一个待发送的文件且若下一个待发送的文件的第一个文件段的大小等于或小于所述剩余空间,则将所述第一个文件段封装在所述剩余空间中;If the next file to be sent exists and if the size of the first file segment of the next file to be sent is equal to or smaller than the remaining space, the first file segment is encapsulated in the remaining space;
    若存在下一个待发送的文件但是下一个待发送的文件的第一个文件段的大小大于所述剩余空间,则将所述第一个文件段封装在所述剩余空间中;则对所述剩余空间进行填充。If there is a next file to be sent but the size of the first file segment of the next file to be sent is larger than the remaining space, the first file segment is encapsulated in the remaining space; The remaining space is filled.
  7. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    通过卫星广播信道将所述融合传输流发送至所述终端侧;Transmitting the fused transport stream to the terminal side through a satellite broadcast channel;
    通过互联网信道接收所述融合传输块重传请求和发送所述融合传输块补发响应。Receiving the fused transport block retransmission request and transmitting the fused transport block retransmission response over an internet channel.
  8. 根据权利要求7所述的方法,其特征在于,所述卫星广播信道包括下一代广播电视无线NGB-W/S信道或数字卫星广播系统DVB-S信道。The method of claim 7 wherein said satellite broadcast channel comprises a next generation broadcast television wireless NGB-W/S channel or a digital satellite broadcast system DVB-S channel.
  9. 根据权利要求7所述的方法,其特征在于,所述互联网信道包括用户数据报协议UDP信道和超文本传输协议HTTP信道;The method according to claim 7, wherein said Internet channel comprises a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol HTTP channel;
    当终端侧请求重传的数据量小于阈值时,所述服务器侧通过UDP信道接收所述融合传输块重传请求和发送所述融合传输块补发响应;When the amount of data requested by the terminal side to be retransmitted is less than a threshold, the server side receives the fused transport block retransmission request and sends the fused transport block retransmission request through a UDP channel;
    当终端侧请求重传的数据量大于阈值时,所述服务器侧通过HTTP信道接收所述融合传输块重传请求和发送所述融合传输块补发响应。When the amount of data requested by the terminal side to be retransmitted is greater than a threshold, the server side receives the fused transport block retransmission request and sends the fused transport block retransmission request through an HTTP channel.
  10. 一种基于融合传输块系统的数据传输方法,应用于终端侧,其特征在于,包括:A data transmission method based on a fused transport block system is applied to a terminal side, and is characterized in that it comprises:
    接收融合传输流;Receiving a converged transport stream;
    解析所述融合传输流中的所有的融合传输块并缓存,其中,每个融合传输块均携带有块序号;Parsing and converging all the converged transport blocks in the converged transport stream, where each converged transport block carries a block sequence number;
    确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求;When it is determined that the fused transport block in the fused transport stream is lost, sending a fused transport block retransmission request to the server side;
    接收携带有融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据的融合传输块补发响应;Receiving a fused transport block retransmission response carrying the fused transport stream identifier, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission;
    根据所述融合传输块补发响应中携带的融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据,确定缓存了完整的所述融合传输流中的融合传输块。Determining, according to the fused transport stream identifier carried in the retransmission response of the fused transport block, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission, determining that the fused transport block in the fused transport stream is buffered .
  11. 根据权利要求10所述的方法,其特征在于,解析所述融合传输流中 的所有的融合传输块并缓存包括:The method of claim 10, wherein parsing all of the fused transport blocks in the fused transport stream and caching comprises:
    解析所述融合传输流中的所有融合传输块中封装的文件段并缓存,其中,每个文件段均携带有段头,所述段头包括文件段编号、文件段总数和文件序号。A file segment encapsulated in all the converged transport blocks in the converged transport stream is parsed and cached, wherein each file segment carries a segment header, and the segment header includes a file segment number, a total number of file segments, and a file serial number.
  12. 根据权利要求11所述的方法,其特征在于,确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求包括:The method according to claim 11, wherein when determining that the fused transport block in the fused transport stream is lost, transmitting the fused transport block retransmission request to the server side comprises:
    接收终端侧上层业务实体的文件重传请求,所述文件重传请求包括融合传输流标识和文件序号;Receiving a file retransmission request of an upper layer service entity of the terminal side, where the file retransmission request includes a converged transport stream identifier and a file serial number;
    根据所述融合传输流标识和所述文件序号检测缓存的内容,确定所有段头和对应的块序号;Determining, according to the merged transport stream identifier and the file serial number, the content of the cache, and determining a total number of the segment header and the corresponding block;
    根据所述段头和对应的所述块序号确定丢失的融合传输块;Determining a lost fused transport block according to the segment header and the corresponding block sequence number;
    根据所述丢失的融合传输块生成融合传输块重传请求;Generating a fused transport block retransmission request according to the lost fused transport block;
    向服务器侧发送融合传输块重传请求。A fused transport block retransmission request is sent to the server side.
  13. 根据权利要求11所述的方法,其特征在于,确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求包括:The method according to claim 11, wherein when determining that the fused transport block in the fused transport stream is lost, transmitting the fused transport block retransmission request to the server side comprises:
    对缓存的所有融合传输块进行文件恢复时,接收终端侧上层业务实体的文件恢复时长监控请求并对文件恢复时长进行监控,其中,所述文件恢复时长监控请求包括文件发送间隔;When the file is restored, the file recovery time monitoring request of the upper layer service entity of the terminal is monitored and the file recovery time is monitored, where the file recovery time monitoring request includes a file sending interval;
    若所述文件恢复时长大于所述文件发送间隔时长,则触发所述终端侧上层业务实体发送的文件重传请求,所述文件重传请求包括融合传输流标识和文件序号;And if the file recovery time length is greater than the file sending interval duration, triggering a file retransmission request sent by the terminal side upper layer service entity, where the file retransmission request includes a fused transport stream identifier and a file serial number;
    根据所述融合传输流标识和所述文件序号检测缓存的内容,确定所有段头 和对应的块序号;Determining, according to the fused transport stream identifier and the file serial number, the contents of the cache, and determining the total number of the segment header and the corresponding block;
    根据所述段头和对应的所述块序号确定丢失的融合传输块;Determining a lost fused transport block according to the segment header and the corresponding block sequence number;
    根据所述丢失的融合传输块生成融合传输块重传请求;Generating a fused transport block retransmission request according to the lost fused transport block;
    向服务器侧发送融合传输块重传请求。A fused transport block retransmission request is sent to the server side.
  14. 根据权利要求11所述的方法,其特征在于,确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求包括:The method according to claim 11, wherein when determining that the fused transport block in the fused transport stream is lost, transmitting the fused transport block retransmission request to the server side comprises:
    对缓存的所有融合传输块进行文件恢复时,接收终端侧上层业务实体的文件恢复时长监控请求并对文件恢复时长进行监控,其中,所述文件恢复时长监控请求包括文件发送间隔;When the file is restored, the file recovery time monitoring request of the upper layer service entity of the terminal is monitored and the file recovery time is monitored, where the file recovery time monitoring request includes a file sending interval;
    若所述文件恢复时长到达所述文件发送间隔时长前,收到所述终端侧上层业务实体发送的文件重传请求,所述文件重传请求包括融合传输流标识和文件序号,则停止对所述文件恢复时长的监控并根据所述融合传输流标识和所述文件序号检测缓存的内容,确定所有段头和对应的块序号;Receiving a file retransmission request sent by the upper layer service entity of the terminal side before the file recovery time reaches the file sending interval duration, where the file retransmission request includes the fused transport stream identifier and the file serial number, Performing monitoring of the file recovery duration and determining the cached content according to the merged transport stream identifier and the file sequence number, and determining all segment headers and corresponding block sequence numbers;
    根据所述段头和对应的所述块序号确定丢失的融合传输块;Determining a lost fused transport block according to the segment header and the corresponding block sequence number;
    根据所述丢失的融合传输块生成融合传输块重传请求;Generating a fused transport block retransmission request according to the lost fused transport block;
    向服务器侧发送融合传输块重传请求。A fused transport block retransmission request is sent to the server side.
  15. 根据权利要求12-14任意一项所述的方法,其特征在于,根据所述融合传输流标识和所述文件序号检测缓存的内容,确定所有段头和对应的块序号之后,还包括:The method according to any one of claims 12-14, wherein after determining the all the segment headers and the corresponding block numbers according to the content of the merged transport stream identifier and the file serial number detection cache, the method further includes:
    根据所述段头和对应的所述块序号确定无融合传输块丢失,则触发所述终端侧的上层业务实体发送取消文件重传请求,其中,所述取消文件重传请求包 括融合传输流标识和文件获取编号。Determining, by the segment header and the corresponding block sequence number, that the unfused transport block is lost, triggering the upper layer service entity of the terminal side to send a cancel file retransmission request, where the cancel file retransmission request includes the fused transport stream identifier And file get number.
  16. 根据权利要求15所述的方法,其特征在于,确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块重传请求之后,还包括:The method according to claim 15, wherein after determining that the fused transport block in the fused transport stream is lost, after transmitting the fused transport block retransmission request to the server side, the method further includes:
    发送取消融合传输块请求至服务器侧;所述取消融合传输块请求包括融合传输流标识和融合传输块重传请求编号。Sending a cancel fused transport block request to the server side; the cancel fused transport block request includes a fused transport stream identifier and a fused transport block retransmission request number.
  17. 根据权利要求11所述的方法,其特征在于,根据所述融合传输块补发响应中携带的融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据,确定缓存了完整的所述融合传输流中的融合传输块之后,还包括:The method according to claim 11, wherein the cache is determined according to the fused transport stream identifier carried in the retransmission response of the fused transport block, the number of fused transport blocks requesting retransmission, and the fused transport block data requested to be retransmitted. After the complete fused transport block in the fused transport stream, the method further includes:
    解析所述融合传输块中的文件描述头;Parsing a file description header in the converged transport block;
    根据所述文件描述头和所述段头进行文件恢复,并将所述文件发送至终端侧上层业务实体;Performing file recovery according to the file description header and the segment header, and sending the file to an upper layer upper layer service entity;
    其中,所述文件描述头包括:业务标识、文件序号、文件长度和文件播放时长。The file description header includes: a service identifier, a file serial number, a file length, and a file playback duration.
  18. 根据权利要求10所述的方法,其特征在于,The method of claim 10 wherein:
    通过卫星广播信道接收所述服务器侧发送的所述融合传输块;Receiving, by the satellite broadcast channel, the fused transport block sent by the server side;
    通过互联网信道发送所述融合传输块重传请求和接收所述融合传输块补发响应。Transmitting the fused transport block retransmission request and receiving the fused transport block retransmission response over an internet channel.
  19. 根据权利要求18所述的方法,其特征在于,所述卫星广播信道包括下一代广播电视无线NGB-W/S信道或数字卫星广播系统DVB-S信道。The method of claim 18 wherein said satellite broadcast channel comprises a next generation broadcast television wireless NGB-W/S channel or a digital satellite broadcast system DVB-S channel.
  20. 根据权利要求18所述的方法,其特征在于,所述互联网信道包括用 户数据报协议UDP信道和超文本传输协议HTTP信道;The method of claim 18 wherein said internet channel comprises a User Datagram Protocol UDP channel and a Hypertext Transfer Protocol HTTP channel;
    当终端侧请求重传的数据量小于阈值时,所述终端侧通过UDP信道发送所述融合传输块重传请求和接收所述融合传输块补发响应;When the amount of data requested by the terminal side to be retransmitted is less than a threshold, the terminal side sends the fused transport block retransmission request and receives the fused transport block retransmission request through a UDP channel;
    当终端侧请求重传的数据量大于阈值时,所述终端侧通过HTTP信道接收所述融合传输块重传请求和接收所述融合传输块补发响应。When the amount of data requested by the terminal side to be retransmitted is greater than a threshold, the terminal side receives the fused transport block retransmission request and receives the fused transport block retransmission request through an HTTP channel.
  21. 一种计算设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现以下步骤:A computing device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor performs the following steps when executing the program:
    获取待发送的文件;Get the file to be sent;
    将所述文件封装在至少一个融合传输块中形成融合传输流发送至终端侧,其中,每个融合传输块均携带有块序号;Encapsulating the file in the at least one fused transport block to form a fused transport stream to be sent to the terminal side, where each fused transport block carries a block sequence number;
    接收来自终端侧的融合传输块重传请求,所述融合传输块重传请求包括融合传输流标识和请求重传的融合传输块块序号列表,或者包括融合传输流标识和文件序号;Receiving a fused transport block retransmission request from the terminal side, where the fused transport block retransmission request includes a fused transport stream identifier and a fused transport block block sequence number list requesting retransmission, or includes a fused transport stream identifier and a file sequence number;
    获取所述融合传输块重传请求中需要重传的融合传输块,并将所述融合传输块封装为融合传输块补发响应发送至终端侧。Obtaining a fused transport block that needs to be retransmitted in the fused transport block retransmission request, and encapsulating the fused transport block into a fused transport block retransmission response to be sent to the terminal side.
  22. 一种计算设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现以下步骤:A computing device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor performs the following steps when executing the program:
    接收融合传输流;Receiving a converged transport stream;
    解析所述融合传输流中的所有的融合传输块并缓存,其中,每个融合传输块均携带有块序号;Parsing and converging all the converged transport blocks in the converged transport stream, where each converged transport block carries a block sequence number;
    确定所述融合传输流中的融合传输块丢失时,向服务器侧发送融合传输块 重传请求;When it is determined that the fused transport block in the fused transport stream is lost, sending a fused transport block retransmission request to the server side;
    接收携带有融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据的融合传输块补发响应;Receiving a fused transport block retransmission response carrying the fused transport stream identifier, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission;
    根据所述融合传输块补发响应中携带的融合传输流标识、请求重传的融合传输块数目和请求重传的融合传输块数据,确定缓存的所述融合传输流中的融合传输块完整。Determining, according to the fused transport stream identifier carried in the retransmission response of the fused transport block, the number of fused transport blocks requesting retransmission, and the fused transport block data requesting retransmission, determining that the fused transport transport block in the cached transport transport stream is complete.
  23. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-9任意一项所述的基于融合传输系统的数据传输方法中的步骤或如权利要求10-20任意一项所述的基于融合传输系统的数据传输方法中的步骤。A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, the computer program being executed by a processor to implement the fusion transmission system according to any one of claims 1-9 The steps in the data transmission method or the steps in the data transmission method based on the fusion transmission system according to any one of claims 10-20.
PCT/CN2019/071616 2018-01-31 2019-01-14 Data transmission method based on fusion transmission system WO2019149053A1 (en)

Applications Claiming Priority (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
CN201810094159.2 2018-01-31

Publications (1)

Publication Number Publication Date
WO2019149053A1 true WO2019149053A1 (en) 2019-08-08

Family

ID=67442037

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024031995A1 (en) * 2022-08-08 2024-02-15 山东浪潮科学研究院有限公司 Data interaction method based on near field communication

Families Citing this family (5)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100271970A1 (en) * 2009-04-22 2010-10-28 Interdigital Patent Holdings, Inc. Method and apparatus for transmitting uplink control information for carrier aggregated spectrums
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465791B (en) * 2007-12-18 2011-08-17 国家广播电影电视总局广播科学研究院 Document transmission method based on unidirection link
CN103546765B (en) * 2013-06-08 2016-12-28 上海数字电视国家工程研究中心有限公司 Transmission stream method for packing, transmission stream and analytic method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100271970A1 (en) * 2009-04-22 2010-10-28 Interdigital Patent Holdings, Inc. Method and apparatus for transmitting uplink control information for carrier aggregated spectrums
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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024031995A1 (en) * 2022-08-08 2024-02-15 山东浪潮科学研究院有限公司 Data interaction method based on near field communication

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2019149053A1 (en) Data transmission method based on fusion transmission system
JP6648211B2 (en) Method and apparatus for performing extended file distribution in multicast communication or broadcast communication
US10034058B2 (en) Method and apparatus for distributing video
US11895357B2 (en) Broadcasting signal transmission device, broadcasting signal reception device, broadcasting signal transmission method, and broadcasting signal reception method
US20200029130A1 (en) Method and apparatus for configuring content in a broadcast system
US9414123B2 (en) Method for hybrid delivery of MMT package and content and method for receiving content
KR101495369B1 (en) Robust file casting for mobile tv
CN110099087B (en) File transmission method based on converged transmission system
US20120140645A1 (en) Method and apparatus for distributing video
BRPI0621618A2 (en) cell link transfer without interruption of multicast sessions on internet protocol-based wireless networks using staggered broadcast
US10498788B2 (en) Method and apparatus for transceiving data packet for transmitting and receiving multimedia data
KR101991388B1 (en) Contents Transmission Method in Heterogeneous Network and Apparatus therefor
US20150249835A1 (en) Method for adaptively transmitting fec parity data using cross-layer optimization
US8321754B2 (en) Method for transmitting multimedia data in ad hoc communication networks
CN110098899B (en) Protocol stack based on converged transmission system and data retransmission method
CN101426005B (en) IP data packet packaging, sending and receiving method for wireless broadcast system
CN105611424A (en) Reliable audio and video transmission QOS method and system based on RUDP
KR102112586B1 (en) Method and apparatus for transmitting and receiving data packet
KR102074226B1 (en) Method and apparatus for transmitting and receiving data packet
Long et al. A hybrid DMB-T and WLAN network for broadband wireless access services
CN109196870B (en) Method and apparatus for transmitting and receiving MMTP packets

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19747000

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/11/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 19747000

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 520412565

Country of ref document: SA