CN112769832A - Multi-protocol compatible data transmitting and receiving method and device - Google Patents

Multi-protocol compatible data transmitting and receiving method and device Download PDF

Info

Publication number
CN112769832A
CN112769832A CN202110036962.2A CN202110036962A CN112769832A CN 112769832 A CN112769832 A CN 112769832A CN 202110036962 A CN202110036962 A CN 202110036962A CN 112769832 A CN112769832 A CN 112769832A
Authority
CN
China
Prior art keywords
transmission
protocol
service
data
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110036962.2A
Other languages
Chinese (zh)
Inventor
李明齐
卞鑫
许春玲
田金凤
封松林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Advanced Research Institute of CAS
Original Assignee
Shanghai Advanced Research Institute of CAS
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 Shanghai Advanced Research Institute of CAS filed Critical Shanghai Advanced Research Institute of CAS
Priority to CN202110036962.2A priority Critical patent/CN112769832A/en
Publication of CN112769832A publication Critical patent/CN112769832A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

The invention relates to a method and a device for transmitting and receiving data compatible with multiple protocols, wherein a service indicator table is constructed at a transmitting end, and the service indicator table and each service data are packaged according to a corresponding transmission protocol and then transmitted to a lower layer through a network protocol; and acquiring the service indication table at the receiving end and distinguishing data or services adopting different transmission protocols by analyzing the service indication table. The method can effectively solve the problem of compatibility of different transmission protocols, has small influence on the original protocol, is simple to realize and low in complexity, thereby improving the protocol applicability of the 5G broadcast and being used for solving the problem of compatibility among a plurality of independent transmission protocol systems in the prior art.

Description

Multi-protocol compatible data transmitting and receiving method and device
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a method and an apparatus for transmitting and receiving data compatible with multiple protocols.
Background
With the increasing level of informatization, the arrival of the 5G era has become an irreversible technical trend, and the level of mutual integration of the fields of 5G mobile communication and broadcast television is also inevitably increasing. The current mass media content provides more consumption options for users, and at the same time, delivery and transmission of the content face new challenges. Therefore, the efficient and extensible data transmission technology oriented to the 5G broadcast is very important for improving the network transmission efficiency and the user experience.
Asynchronous Layered Coding (LCT) is a large-scale scalable reliable content delivery protocol established by the international organization for standardization ietf (internet Engineering Task force) that supports concurrent reliable asynchronous content delivery from a single sender to an unlimited number of receivers. Based on the LCT protocol, the IETF subsequently established FLUTE and ROUTE protocols for unidirectional file delivery. The FLUTE protocol has strong advantages in large-scale scalable Broadcast/Multicast file download delivery scenarios, which have been applied in the ipdc (ip data cast) solution of DVB-H and the solution of 3GPP cellular network mbms (multimedia Broadcast Multicast service). The ROUTE protocol is a transport protocol suitable for unicast, broadcast, and multicast scenarios, and oriented to data and low-latency streaming applications, and has been adopted by the u.s.next generation broadcast television standard.
The Smart Media Transport (SMT) protocol is a multimedia Transport protocol for packet switching, which is being developed in China, and has a strong advantage in providing a transmission and distribution service for Media data in a heterogeneous network composed of a unidirectional network and a bidirectional network. SMT protocols can support efficient distribution and transmission of media data including time-sequential media data (e.g., video, audio), non-time-sequential media data (e.g., text, pictures), and user feedback data (e.g., real-time instructions).
Since the protocol such as FLUTE, ROUTE based on LCT and the SMT protocol or the SMT based transport protocol have their advantages, and both will not be used concurrently for a long time in the future. However, currently, the communication standards such as 3GPP 4G and 5G only support the FLUTE transmission protocol, and do not support multi-protocol compatibility of protocols such as SMT.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, the present invention is directed to solving the compatibility problem between multiple independent transport protocol architectures in the prior art.
In order to achieve the above and other related objects, the present invention provides a multi-protocol compatible data transmission method applied to a transmitting end, including: establishing a transmission channel with at least one receiving end; constructing a service indication table according to various service transmission data which are loaded and respectively adopt different transmission protocol types; wherein the service indication table at least comprises: respectively corresponding to the identification information, the transmission protocol type and the transmission address of each service transmission data; sending the service indication table to a preset transmission address through a network protocol for receiving by the receiving end; and based on the service indication table, respectively encapsulating each service transmission data into protocol data packets according to the corresponding transmission protocol type protocol, and respectively sending the protocol data packets to the transmission address corresponding to each service transmission data through the network protocol so as to be received and analyzed by the receiving end.
In an embodiment of the present invention, the manner of sending the service indication table to a preset transport address through a network protocol includes: encapsulating the service indication table as a payload into a network transmission data packet; and sending the network data transmission packet to a preset transmission address through a network protocol.
In an embodiment of the present invention, the transport address includes: one or more of a source IP address, a destination IP address, and a port number.
In an embodiment of the present invention, the types of the network protocol include: UDP/IP protocol or TCP/IP protocol.
To achieve the above and other related objects, the present invention provides a method for receiving data compatible with multiple protocols, applied to a receiving end, the method comprising: establishing a transmission channel with at least one sending end; receiving a service indication table from the sending end on a preset transmission address; wherein the service indication table at least comprises: respectively corresponding to the identification information, the transmission protocol type and the transmission address of each service transmission data; and receiving and analyzing protocol data packets corresponding to the service transmission data from the sending end on the transmission address corresponding to the service transmission data respectively based on the service indication table.
In an embodiment of the present invention, the manner of receiving the service indication table from the sending end at the preset transport address includes: receiving a network transmission data packet which is packaged by the sending end by taking the service indication table as a payload on a preset transmission address; and analyzing the service indication table in the network transmission data packet.
In an embodiment of the present invention, the transport address includes: one or more of a source IP address, a destination IP address, and a port number.
In an embodiment of the present invention, the types of the network protocol include: UDP/IP protocol or TCP/IP protocol.
In order to achieve the above and other related objects, the present invention provides a multi-protocol compatible data transmitting apparatus, applied to a transmitting end, wherein the data receiving apparatus includes a network module, configured to establish a transmission channel with at least one receiving end; the indication table building module is used for building a service indication table according to various service transmission data which are loaded and respectively adopt different transmission protocol types; wherein the service indication table at least comprises: respectively corresponding to the identification information, the transmission protocol type and the transmission address of each service transmission data; the indication table sending module is used for sending the service indication table to a preset transmission address through a network protocol so as to be received by the receiving end; and the protocol data packet sending module is used for respectively encapsulating each service transmission data into a protocol data packet according to the corresponding transmission protocol type protocol based on the service indication table, and respectively sending the protocol data packet to the transmission address corresponding to each service transmission data through the network protocol so as to be received and analyzed by the receiving end.
To achieve the above and other related objects, the present invention provides a multi-protocol compatible data receiving apparatus, applied to a receiving end, comprising: the network module is used for establishing a transmission channel with at least one sending end; an indication table receiving module, configured to receive a service indication table from the sending end on a preset transmission address; wherein the service indication table at least comprises: respectively corresponding to the identification information, the transmission protocol type and the transmission address of each service transmission data; and the protocol data packet receiving module is used for receiving and analyzing the protocol data packet corresponding to each service transmission data from the sending end on the transmission address corresponding to each service transmission data based on the service indication table.
As described above, the multiprotocol compatible data transmitting and receiving method and apparatus of the present invention construct the service indicator table at the transmitting end, encapsulate the service indicator table and each service data according to its corresponding transmission protocol via the network protocol, and transmit to the lower layer; and acquiring the service indication table at the receiving end and distinguishing data or services adopting different transmission protocols by analyzing the service indication table. The method can effectively solve the problem of compatibility of different transmission protocols, has small influence on the original protocol, is simple to realize and low in complexity, thereby improving the protocol applicability of the 5G broadcast and being used for solving the problem of compatibility among a plurality of independent transmission protocol systems in the prior art.
Drawings
FIG. 1 is a schematic diagram of an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a multi-protocol-compliant data transmission method at a transmitting end according to an embodiment of the present invention.
Fig. 3 is a functional block diagram of a multi-protocol compatible data transmitting apparatus at a transmitting end according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating a method for receiving multi-protocol compatible data at a receiving end according to an embodiment of the present invention.
Fig. 5 is a functional block diagram of a multi-protocol compatible data receiving apparatus at a receiving end according to an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present application is provided by way of specific examples, and other advantages and effects of the present application will be readily apparent to those skilled in the art from the disclosure herein. The present application is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present application. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings so that those skilled in the art to which the present application pertains can easily carry out the present application. The present application may be embodied in many different forms and is not limited to the embodiments described herein.
In order to clearly explain the present application, components that are not related to the description are omitted, and the same reference numerals are given to the same or similar components throughout the specification.
Throughout the specification, when a component is referred to as being "connected" to another component, this includes not only the case of being "directly connected" but also the case of being "indirectly connected" with another element interposed therebetween. In addition, when a component is referred to as "including" a certain constituent element, unless otherwise stated, it means that the component may include other constituent elements, without excluding other constituent elements.
When an element is referred to as being "on" another element, it can be directly on the other element, or intervening elements may also be present. When a component is referred to as being "directly on" another component, there are no intervening components present.
Although the terms first, second, etc. may be used herein to describe various elements in some instances, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, the first interface and the second interface, etc. are described. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the singular forms "a", "an" and "the" include plural forms as long as the words do not expressly indicate a contrary meaning. The term "comprises/comprising" when used in this specification is taken to specify the presence of stated features, regions, integers, steps, operations, elements, and/or components, but does not exclude the presence or addition of other features, regions, integers, steps, operations, elements, and/or components.
Terms indicating "lower", "upper", and the like relative to space may be used to more easily describe a relationship of one component with respect to another component illustrated in the drawings. Such terms are intended to include not only the meanings indicated in the drawings, but also other meanings or operations of the device in use. For example, if the device in the figures is turned over, elements described as "below" other elements would then be oriented "above" the other elements. Thus, the exemplary terms "under" and "beneath" all include above and below. The device may be rotated 90 or other angles and the terminology representing relative space is also to be interpreted accordingly.
Although not defined differently, including technical and scientific terms used herein, all terms have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. Terms defined in commonly used dictionaries are to be additionally interpreted as having meanings consistent with those of related art documents and the contents of the present prompts, and must not be excessively interpreted as having ideal or very formulaic meanings unless defined.
In view of the deficiency of the prior art, a service indication table is constructed at a sending end, and the service indication table and each service data are encapsulated according to a corresponding transmission protocol and then transmitted to a lower layer through a network protocol; and acquiring the service indication table at the receiving end and distinguishing data or services adopting different transmission protocols by analyzing the service indication table. The method can effectively solve the problem of compatibility of different transmission protocols, has small influence on the original protocol, is simple to realize and low in complexity, thereby improving the protocol applicability of the 5G broadcast and being used for solving the problem of compatibility among a plurality of independent transmission protocol systems in the prior art.
Referring to fig. 1, a schematic diagram of an implementation environment for implementing multi-protocol compatible data transmission according to an embodiment of the present invention is shown, where the system includes a sending end 101 and a receiving end 102.
In an embodiment, the sending end 101 and/or the receiving end 102 may be implemented in the form of an electronic terminal, such as a server or a server group, where the electronic terminal is in the form of a smart phone, a tablet computer, or a notebook computer, and has a data processing capability and a capability of connecting to a network.
Specifically, as shown in fig. 2, an embodiment of a method for transmitting multi-protocol compatible data by the transmitting end 101 is shown, where the method includes:
step S201: and establishing a transmission channel with at least one receiving end.
In one embodiment, the transmission channel may be established between the transmitting end and the receiving end by wireless transmission such as wireless broadcast and communication network, bluetooth, infrared, or wired transmission such as data connection. The sending end can also select UDP/IP or TCP/IP network protocol to carry out the wireless or wired connection according to the requirements of the network environment.
Step S202: and constructing a service indication table according to various service transmission data which are respectively carried by different transmission protocol types.
In this embodiment, the service indication table at least includes: respectively corresponding to the identification information, the transmission protocol type and the transmission address of each service transmission data.
Specifically, the identification information corresponding to each service transmission data may be an identification number (serviceID), which is an identification number of any length and is composed of one or more of any letter, number, and symbol. For example, the identification number (SeviceID) is 1.
Each service transmission data corresponds to one transmission protocol type, and may be any one of SMT, FLUTE, ROUTE, and the like, for example, and is not limited in this application.
And for service transmission data adopting different transmission protocols, the service transmission data are respectively bound with different transmission addresses.
In one embodiment, the transport address includes: one or more of a source IP address, a destination IP address, and a port number. For the network connection which only supports broadcast/multicast and adopts UDP/IP network protocol, only the destination IP address and the port number are needed. For example, the IP address of data transported by the SMT protocol is a2 and the port number is P2.
In an embodiment, each service transmission data corresponds to one transport protocol type, and each transport protocol type corresponds to at least one identification number and a transport address. For example, the service indication table specifies that the identification number (SeviceID) of data transported by the FLUTE protocol is 1, and the transport address includes IP address a1 and port number P1.
Step S203: and sending the service indication table to a preset transmission address through a network protocol for receiving by the receiving end.
In an embodiment, the manner of sending the service indication table to the preset transport address through the network protocol includes: encapsulating the service indication table as a payload into a network transmission data packet; and sending the network data transmission packet to a preset transmission address through a network protocol. The encapsulation modes are different corresponding to different kinds of network protocol transmission.
In one embodiment, the types of network protocols include: UDP/IP protocol or TCP/IP protocol.
Specifically, corresponding to the UDP/IP protocol, the service indication table is encapsulated as a payload into a UDP packet, and the UDP packet is divided into a header (header) and a data (payload). Among them, UDP is a protocol of a transport layer, which means that UDP packets need to go through encapsulation of an IP protocol and then be transported to a destination address through the IP protocol. Since the UDP protocol is connectionless oriented, the protocol is suitable for network connections that support only broadcast/multicast.
And corresponding to a TCP/IP protocol, encapsulating the service indication table as a payload into a TCP data packet, wherein each TCP segment has port numbers containing a source end and a destination end and is used for searching application processes of a transmitting end and a receiving end, the source end IP address and the destination end IP address of the IP header of the two ends uniquely determine a TCP connection, and the UDP data packet needs to be encapsulated by the IP protocol and then is transmitted to the destination address through the IP protocol.
In one embodiment, the service indication table is encapsulated as payload into a network transport packet; and sending the network data transmission packet to a preset transmission address through a network protocol so that the receiving end receives the network data transmission packet on the transmission address.
Step S204: and based on the service indication table, respectively encapsulating each service transmission data into protocol data packets according to the corresponding transmission protocol type protocol, and respectively sending the protocol data packets to the transmission address corresponding to each service transmission data through the network protocol so as to be received and analyzed by the receiving end.
In an embodiment, the various service transmission data carried are respectively protocol-encapsulated according to the transmission protocol type indicated in the service indication table to form a protocol data packet; and sending the data through the network protocol according to the transmission address of each service transmission data indicated in the service indication table, so that the receiving end can receive and analyze various service transmission data in each protocol data packet. For example, service transmission data corresponding to the FLUTE protocol is encapsulated by the FLUTE protocol, then encapsulated by the UDP/IP protocol, and sent to the IP address a1 and the port number P1 specified by the service indication table.
In an embodiment, the various service transmission data carried as payload are respectively protocol-encapsulated according to the transmission protocol type indicated in the service indication table to form a protocol data packet; and packaging the protocol data packet as a payload into a network transmission data packet again, and sending the network data transmission packet to a preset transmission address through a network protocol. Preferably, the types of the network protocol include: UDP/IP protocol or TCP/IP protocol. The step of re-encapsulating is consistent with the step of encapsulating the service indication table, and is not described herein again.
In an embodiment, each protocol data packet is sent to a transmission address corresponding to each service transmission data through the network protocol, so that the receiving end receives each protocol data packet based on the transmission address corresponding to each service transmission data indicated by the obtained service indication table, and analyzes each protocol data packet according to the identification information of each service transmission data and the type of the transmission protocol, so as to obtain each corresponding service transmission data.
In one embodiment, the service indicator table is transmitted using the same or more robust network bearer technology as the protocol packets.
As shown in fig. 3, a data transmission apparatus for implementing the multiprotocol compatible data transmission method is provided, and is applied to the transmitting end 101, and the data transmission apparatus includes: the device comprises a network module 301, an indication table construction module 302, an indication table sending module 303, a protocol data packet sending module 304 and the like.
The network module 301 is configured to establish a transmission channel with at least one receiving end.
The indication table constructing module 302 is configured to construct a service indication table according to various service transmission data that are respectively carried by different transmission protocol types; wherein the service indication table at least comprises: respectively corresponding to the identification information, the transmission protocol type and the transmission address of each service transmission data.
The indication table sending module 303 is connected to the indication table constructing module 302 and the network module 301, and configured to send the service indication table to a preset transmission address through a network protocol, so that the service indication table is received by the receiving end.
The protocol data packet sending module 304 is connected to the indication table constructing module 302 and the network module 301, and configured to encapsulate each service transmission data into a protocol data packet according to a transmission protocol type protocol corresponding to the service transmission data based on the service indication table, and send the protocol data packet to a transmission address corresponding to each service transmission data through the network protocol, so that the receiving end receives and analyzes each protocol data packet.
It should be noted that the division of each module in the system embodiment of fig. 3 is only a division of a logical function, and all or part of the actual implementation may be integrated into one physical entity or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; part of the modules can be realized in a software calling mode through a processing element, and part of the modules can be realized in a hardware mode;
for example, the modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Therefore, since the implementation principle of the data transmission device has been described in the foregoing embodiment, repeated description is not repeated here.
In one or more embodiments, the data transmission apparatus may be implemented in different terminals in different scenarios.
In an embodiment, the indication table sending module 303 is configured to encapsulate the service indication table as a payload into a network transmission data packet; and sending the network data transmission packet to a preset transmission address through a network protocol. The encapsulation modes are different corresponding to different kinds of network protocol transmission.
In one embodiment, the transport address includes: one or more of a source IP address, a destination IP address, and a port number.
In one embodiment, the types of network protocols include: UDP/IP protocol or TCP/IP protocol.
As further shown in fig. 4, the present invention provides a method for receiving data compatible with multiple protocols, which is applied to the receiving end 102, and the method includes:
step S401: and establishing a transmission channel with at least one sending end.
In an embodiment of the present invention, a transmission channel may be established between the sending end and the receiving end through wireless transmission such as wireless broadcast and communication network, bluetooth, infrared, or wired transmission such as data connection line. The receiving end may be an electronic device, such as a smart phone, a tablet computer, and the like, which is integrated with a wireless broadcast receiving and communication module (e.g., a 4G/5G broadcast/multicast/bidirectional communication module, a WiFi module, a GPRS module), and the like. The receiving end can also select UDP/IP or TCP/IP network protocol to carry out the wireless or wired connection according to the requirements of network environment.
Step S402: and receiving the service indication table from the sending end on a preset transmission address.
In this embodiment, the service indication table at least includes: respectively corresponding to the identification information, the transmission protocol type and the transmission address of each service transmission data.
Specifically, the identification information corresponding to each service transmission data may be an identification number (serviceID), which is an identification number of any length and is composed of one or more of any letter, number, and symbol. Each service transmission data corresponds to one transmission protocol type, and may be any one of SMT, FLUTE, ROUTE, and the like, for example, and is not limited in this application. And for service transmission data adopting different transmission protocols, the service transmission data are respectively bound with different transmission addresses.
In one embodiment, the transport address includes: one or more of a source IP address, a destination IP address, and a port number. And transmitting data by adopting services of different transmission protocols, and respectively binding the data with different transmission addresses.
In an embodiment, the manner of receiving the service indication table from the sending end at the preset transport address includes: receiving a network transmission data packet which is packaged by the sending end by taking the service indication table as a payload on a preset transmission address; and analyzing the service indication table in the network transmission data packet.
Specifically, a network transmission data packet encapsulated by the sending end with the service indication table as payload is received on a preset transmission address; based on a network protocol adopted when a sending end sends the data packet, disassembling the transmission data packet to obtain a service indicator table in the network transmission data packet; it should be noted that the parts of the parsing of the transmission packets are different for different network protocols.
In one embodiment, the types of network protocols include: UDP/IP protocol or TCP/IP protocol.
Step S403: and receiving and analyzing protocol data packets corresponding to the service transmission data from the sending end on the transmission address corresponding to the service transmission data respectively based on the service indication table.
In an embodiment, according to the identification information, the transmission protocol type, and the transmission address respectively corresponding to each service transmission data in the received and analyzed service indication table, the receiving end receives the protocol data packet corresponding to each service transmission data sent by the sending end at the transmission address respectively corresponding to each service transmission data, and disassembles each protocol data packet to obtain each service transmission data.
It should be noted that, the manner of receiving the protocol data packet may be to find the identification information or the transmission protocol type corresponding to the data packet on the transmission address, so that the data to be received can be found more quickly and accurately under the condition that one transmission address has multiple data.
In one embodiment, the unpacking of each protocol data packet is performed according to the packing process of each protocol data packet;
if the packaging process of each protocol data packet by the sending end comprises the following steps: carrying out protocol encapsulation on various service transmission data carried by the service according to the transmission protocol types indicated in the service indication table to form protocol data packets; and sending the data through the network protocol according to the transmission address of each service transmission data indicated in the service indication table;
the corresponding dismantling process then comprises: firstly, according to the network protocol, the packet is disassembled for the first time to obtain the payload (protocol data packet) of the layer; and then according to the transmission protocol corresponding to the protocol data packet, carrying out secondary disassembly on the obtained protocol data packet to obtain the payload (service transmission data) of the layer.
As shown in fig. 5, the present invention provides a multi-protocol compatible data receiving apparatus, which is applied to the receiving end 102, and the data receiving apparatus includes: a network module 501, an indication table receiving module 502 and a protocol data packet receiving module 503.
The network module 501 is configured to establish a transmission channel with at least one sending end.
The indication table receiving module 502 is connected to the network module 501, and configured to receive a service indication table from the sending end on a preset transmission address; wherein the service indication table at least comprises: respectively corresponding to the identification information, the transmission protocol type and the transmission address of each service transmission data.
The protocol data packet receiving module 503 is connected to the network module 501 and the indication table receiving module 502, and is configured to receive and analyze the protocol data packet corresponding to each service transmission data from the sending end on the transmission address corresponding to each service transmission data based on the service indication table.
It should be noted that the division of each module in the system embodiment of fig. 5 is only a division of a logical function, and all or part of the actual implementation may be integrated into one physical entity or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; part of the modules can be realized in a software calling mode through a processing element, and part of the modules can be realized in a hardware mode;
for example, the modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Therefore, since the implementation principle of the data transmission device has been described in the foregoing embodiment, repeated description is not repeated here.
In an embodiment, the indication table receiving module 502 is configured to receive, at a preset transmission address, a network transmission data packet encapsulated by the sender with the service indication table as a payload; and analyzing the service indication table in the network transmission data packet.
Specifically, the indication table receiving module 502 receives a network transmission data packet encapsulated by the sending end with the service indication table as a payload at a preset transmission address; based on a network protocol adopted when a sending end sends the data packet, disassembling the transmission data packet to obtain a service indicator table in the network transmission data packet; it should be noted that the parts of the parsing of the transmission packets are different for different network protocols.
In an embodiment, the protocol data packet receiving module 503 is configured to, according to the identification information, the transmission protocol type, and the transmission address respectively corresponding to each service transmission data in the received and analyzed service indication table, receive, by the receiving end, the protocol data packet corresponding to each service transmission data sent by the sending end at the transmission address respectively corresponding to each service transmission data, and disassemble each protocol data packet to obtain each service transmission data.
It should be noted that, the manner of receiving the protocol data packet may be to find the identification information or the transmission protocol type corresponding to the data packet on the transmission address, so that the data to be received can be found more quickly and accurately under the condition that one transmission address has multiple data.
To better describe the implementation environment for implementing multiprotocol compatible data transmission, a specific embodiment is provided;
example 1: FLUTE protocol and SMT protocol compatible data transmission method.
For a sending end, the data sending method comprises the following steps:
establishing a transmission channel with at least one receiving end;
constructing a service indication table according to services which need to be transmitted by a FLUTE protocol and an SMT protocol respectively; wherein the service indication table specifies that an identification number (SeviceID) of a service transmitted by FLUTE is 1, and an identification number (SeviceID) of a service transmitted by SMT is 2; and indicates that the IP address of the service transported by FLUTE is a1 and the port number is P1, the IP address of the service transported by SMT is a2, and the port number is P2;
after the service indication table is encapsulated by UDP/IP by adopting an XML format as a payload, sending a UDP packet through a specific IP address A0 and a port number P0;
service data of the FLUTE protocol is encapsulated by the FLUTE protocol, then encapsulated by the UDP/IP protocol, and an IP address A1 and a port number P1 which are appointed by a service indication table send a FLUTE protocol encapsulation packet;
service data of the SMT protocol is packaged through the SMT protocol, then packaged through the UDP/IP protocol, and an SMT protocol package packet is sent by an IP address A2 and a port number P2 which are designated by a service indication table.
For a receiving end, the data receiving method comprises the following steps:
establishing a transmission channel with at least one sending end;
receiving a UDP packet at a preset specific IP address A0 and a port number P0, and analyzing to obtain a service indication table;
and obtaining a transmission protocol corresponding to each data by each service identifier (SeviceID) in the service indication table, receiving and analyzing the service data transmitted by the FLUTE in the FLUTE protocol encapsulation packet at an IP address A1 and a port number P1, and receiving and analyzing the service data transmitted by the SMT in the SMT protocol encapsulation packet at an IP address A2 and a port number P2.
In summary, the multi-protocol compatible data transmitting and receiving method and apparatus of the present invention construct the service indication table at the transmitting end, encapsulate the service indication table and each service data according to its corresponding transmission protocol through the network protocol, and transmit the encapsulated service indication table and each service data to the lower layer; and acquiring the service indication table at the receiving end and distinguishing data or services adopting different transmission protocols by analyzing the service indication table. The method can effectively solve the compatibility problem of adopting different transmission protocols, has small influence on the protocols, is simple to realize and low in complexity, thereby improving the protocol applicability of the 5G broadcast and being used for solving the compatibility problem among a plurality of independent transmission protocol systems in the prior art. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A multi-protocol compatible data transmission method is applied to a transmitting end, and the method comprises the following steps:
establishing a transmission channel with at least one receiving end;
constructing a service indication table according to various service transmission data which are loaded and respectively adopt different transmission protocol types; wherein the service indication table at least comprises: respectively corresponding to the identification information, the transmission protocol type and the transmission address of each service transmission data;
sending the service indication table to a preset transmission address through a network protocol for receiving by the receiving end;
and based on the service indication table, respectively encapsulating each service transmission data into protocol data packets according to the corresponding transmission protocol type protocol, and respectively sending the protocol data packets to the transmission address corresponding to each service transmission data through the network protocol so as to be received and analyzed by the receiving end.
2. The method according to claim 1, wherein the sending the service indication table to the predetermined transport address via the network protocol comprises:
encapsulating the service indication table as a payload into a network transmission data packet;
and sending the network data transmission packet to a preset transmission address through a network protocol.
3. The method of claim 1, wherein the transport address comprises: one or more of a source IP address, a destination IP address, and a port number.
4. The method of claim 1, wherein the type of network protocol comprises: UDP/IP protocol or TCP/IP protocol.
5. A method for receiving multi-protocol compatible data, which is applied to a receiving end, the method comprising:
establishing a transmission channel with at least one sending end;
receiving a service indication table from the sending end on a preset transmission address; wherein the service indication table at least comprises: respectively corresponding to the identification information, the transmission protocol type and the transmission address of each service transmission data;
and receiving and analyzing protocol data packets corresponding to the service transmission data from the sending end on the transmission address corresponding to the service transmission data respectively based on the service indication table.
6. The method of claim 5, wherein the receiving the service indication table from the sender at the predetermined transport address comprises:
receiving a network transmission data packet which is packaged by the sending end by taking the service indication table as a payload on a preset transmission address;
and analyzing the service indication table in the network transmission data packet.
7. The multiprotocol compatible data receiving method according to claim 5, characterized in that the transport address comprises: one or more of a source IP address, a destination IP address, and a port number.
8. The multiprotocol compatible data receiving method according to claim 5, characterized in that the type of the network protocol comprises: UDP/IP protocol or TCP/IP protocol.
9. A multi-protocol compatible data transmission apparatus, applied to a transmitting end, the data transmission apparatus comprising:
the network module is used for establishing a transmission channel with at least one receiving end;
the indication table building module is used for building a service indication table according to various service transmission data which are loaded and respectively adopt different transmission protocol types; wherein the service indication table at least comprises: respectively corresponding to the identification information, the transmission protocol type and the transmission address of each service transmission data;
the indication table sending module is used for sending the service indication table to a preset transmission address through a network protocol so as to be received by the receiving end;
and the protocol data packet sending module is used for respectively encapsulating each service transmission data into a protocol data packet according to the corresponding transmission protocol type protocol based on the service indication table, and respectively sending the protocol data packet to the transmission address corresponding to each service transmission data through the network protocol so as to be received and analyzed by the receiving end.
10. A multi-protocol compatible data receiving apparatus, applied to a receiving end, the data receiving apparatus comprising:
the network module is used for establishing a transmission channel with at least one sending end;
an indication table receiving module, configured to receive a service indication table from the sending end on a preset transmission address; wherein the service indication table at least comprises: respectively corresponding to the identification information, the transmission protocol type and the transmission address of each service transmission data;
and the protocol data packet receiving module is used for receiving and analyzing the protocol data packet corresponding to each service transmission data from the sending end on the transmission address corresponding to each service transmission data based on the service indication table.
CN202110036962.2A 2021-01-12 2021-01-12 Multi-protocol compatible data transmitting and receiving method and device Pending CN112769832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110036962.2A CN112769832A (en) 2021-01-12 2021-01-12 Multi-protocol compatible data transmitting and receiving method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110036962.2A CN112769832A (en) 2021-01-12 2021-01-12 Multi-protocol compatible data transmitting and receiving method and device

Publications (1)

Publication Number Publication Date
CN112769832A true CN112769832A (en) 2021-05-07

Family

ID=75701646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110036962.2A Pending CN112769832A (en) 2021-01-12 2021-01-12 Multi-protocol compatible data transmitting and receiving method and device

Country Status (1)

Country Link
CN (1) CN112769832A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863196A (en) * 2005-05-11 2006-11-15 中国科学院计算技术研究所 Service agent method for multi-protocol domain analytical service
CN103944596A (en) * 2013-01-18 2014-07-23 中国科学院上海高等研究院 Software-definition-based communication device supporting multi-protocol transmission
CN107211175A (en) * 2015-01-19 2017-09-26 三星电子株式会社 For transmitting the method and apparatus with receiving multimedia content
CN108667948A (en) * 2017-03-31 2018-10-16 贵州白山云科技有限公司 A kind of method and device for realizing general protocol schedule
US20200162586A1 (en) * 2017-07-24 2020-05-21 Huawei Technologies Co., Ltd. Communication Method, Communications Device, And Storage Medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863196A (en) * 2005-05-11 2006-11-15 中国科学院计算技术研究所 Service agent method for multi-protocol domain analytical service
CN103944596A (en) * 2013-01-18 2014-07-23 中国科学院上海高等研究院 Software-definition-based communication device supporting multi-protocol transmission
CN107211175A (en) * 2015-01-19 2017-09-26 三星电子株式会社 For transmitting the method and apparatus with receiving multimedia content
CN108667948A (en) * 2017-03-31 2018-10-16 贵州白山云科技有限公司 A kind of method and device for realizing general protocol schedule
US20200162586A1 (en) * 2017-07-24 2020-05-21 Huawei Technologies Co., Ltd. Communication Method, Communications Device, And Storage Medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
XIN BIAN等: "An Uplink Transmission Scheme for Pattern Division Multiple Access Based on DFT Spread Generalized Multi-Carrier Modulation", 《IEEE ACCESS》 *
邓贤争等: "下一代广播电视广播宽带交互协议探讨" *
邓贤争等: "下一代广播电视广播宽带交互协议探讨", 《电视技术》 *

Similar Documents

Publication Publication Date Title
US8495228B2 (en) System and method for optimizing download user service delivery to roaming clients
US20240171648A1 (en) Systems and methods for enabling access to third party services via a service layer
TWI461022B (en) System and method for implementing mbms handover during download delivery
JP5512038B2 (en) Interface device and method for transmitting and receiving media data
US20110103300A1 (en) Data encapsulation and service discovery over a broadcast or multicast system
CN110944003B (en) File transmission method and electronic equipment
KR102149445B1 (en) Method and apparatus for flexible broadcast service based on multimedia broadcast multicast service
US10498788B2 (en) Method and apparatus for transceiving data packet for transmitting and receiving multimedia data
CN107800597B (en) Data transmission method and device for household appliance and computer readable storage medium
WO2008155712A2 (en) System and method for the signaling of session characteristics in a communication session
CN107787586B (en) Method and apparatus for transmitting and receiving signal in multimedia system
CN112769832A (en) Multi-protocol compatible data transmitting and receiving method and device
CN112468510B (en) Transmission method and equipment based on SMT protocol and ALC protocol compatibility
CN113141358B (en) Multi-protocol compatible service guide discovery transmission receiving and sending method and device
CN113132386B (en) Multi-protocol compatible guiding transmission sending and receiving method and device
CN105743866A (en) Message processing method and gateway equipment
KR20090037747A (en) Method and system for transmitting a plural of data in mobile broadcast service
WO2005081494A1 (en) Method and arrangement for state memory management
CN114125497B (en) SFU architecture, media transmission method thereof and electronic equipment
US20050117604A1 (en) Transport layer protocol for a peripheral module for a communication device
Hornsby et al. Notification service for DVB-H mobile broadcast
CN107438991B (en) Method and apparatus for flexible broadcast service via multimedia broadcast multicast service
CN111711563B (en) Medical internet of things gateway
KR20170140066A (en) MBMS(Multimedia Broadcast/Multicast Service) Receiver and Multicast Signal Receiving Method Thereof
WO2022073219A1 (en) Identity information processing method and apparatus

Legal Events

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

Application publication date: 20210507

RJ01 Rejection of invention patent application after publication