CN103841086B - A kind of data transmission method, device and terminal - Google Patents
A kind of data transmission method, device and terminal Download PDFInfo
- Publication number
- CN103841086B CN103841086B CN201210482485.3A CN201210482485A CN103841086B CN 103841086 B CN103841086 B CN 103841086B CN 201210482485 A CN201210482485 A CN 201210482485A CN 103841086 B CN103841086 B CN 103841086B
- Authority
- CN
- China
- Prior art keywords
- data
- terminal
- application
- application data
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 61
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000005538 encapsulation Methods 0.000 claims abstract 3
- 230000006978 adaptation Effects 0.000 claims description 23
- 238000012545 processing Methods 0.000 claims description 11
- 230000003993 interaction Effects 0.000 claims description 8
- 238000004806 packaging method and process Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 3
- 238000009432 framing Methods 0.000 description 5
- 238000012163 sequencing technique Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Embodiments of the invention provide a kind of data transmission method, device and terminal.The data transmission method includes:First application data of the application of first terminal generation first, and first application data is packaged using an Extended Protocol, the first application data after being encapsulated;The first terminal sends first application data after encapsulation to multiple target terminals;The first object terminal that the first terminal is received in the multiple target terminal is directed to the feedback information of first application data, and determines that the first object terminal supports the Extended Protocol according to the feedback information.Embodiments of the invention are supported to carry out the transmission of application data using Extended Protocol.
Description
Technical Field
The embodiment of the invention relates to the technical field of information, in particular to a data transmission method, a data transmission device and a terminal.
Background
Under the condition that different terminals perform application data interaction of specific applications through firewalls, the firewalls open corresponding ports for application protocols of the specific applications, and the different terminals are allowed to perform the application data interaction of the specific applications by utilizing the ports. However, for other applications, the terminal may not be able to transmit application data of the other applications to the other terminals via the firewall, thereby possibly causing inconvenience to the user.
Take a video conferencing application as an example. The conference TV is a multimedia communication mode which connects conference rooms of two or more places by communication lines, holds a conference in a TV mode and can transmit images, sounds, files and the like in real time. The conference television between two places is called point-to-point conference television, and the conference television between a plurality of places is called multipoint conference television. Due to the problem of network security, many users adopt a form of a firewall and an application server, and cannot open a fixed port, but open a specified port for a conference according to a specific protocol by the application server. For example, for the H323 protocol, it is H245 signaling that determines what port to communicate on. This brings trouble to maintenance operations such as version upgrade and fault diagnosis of the terminal, and if the office does not provide a specific port (such as HTTP), the office can implement the operation only depending on the project site, which is relatively high in cost.
Disclosure of Invention
In view of this, embodiments of the present invention provide a data transmission method, an apparatus, and a terminal, so as to support transmission of application data by using an extension protocol.
In order to solve the above technical problem, an embodiment of the present invention provides the following solutions:
an embodiment of the present invention provides a data transmission method, including:
a first terminal generates first application data of a first application, and encapsulates the first application data by using an extension protocol to obtain encapsulated first application data;
the first terminal sends the encapsulated first application data to a plurality of target terminals;
the first terminal receives feedback information of a first target terminal in the multiple target terminals aiming at the first application data, and determines that the first target terminal supports the extension protocol according to the feedback information.
Preferably, the feedback information is generated by the first target terminal decapsulating the encapsulated first application data by using the extension protocol to obtain the first application data.
Preferably, the feedback information is the first data obtained by encapsulating the first data by the first target terminal using the extension protocol.
Preferably, the first data is second application data of the first application, which is responded by the first target terminal to the first application data.
Preferably, the firewall allows a data packet with a first port identifier to pass through, and the sending, by the first terminal, the encapsulated first application data to the plurality of target terminals specifically includes:
the first terminal adds the encapsulated first application data to a first data packet with the first port identifier to obtain an added first data packet;
and the first terminal sends the added first data packet to the target terminals through the firewall.
Preferably, the first port identification is determined by a firewall for a second application, and the first packet is generated by the first terminal for the second application.
Preferably, the extension protocol is an RTP extension protocol.
An embodiment of the present invention further provides a data transmission method, including:
a first target terminal receives first application data which is obtained by encapsulating first application data of a first application by the first terminal by using an extension protocol and is sent to a plurality of target terminals by the first terminal; wherein the first application data is generated by the first terminal;
the first target terminal sends feedback information of the first target terminal aiming at the first application data to the first terminal, so that the first terminal can determine that the first target terminal supports the extension protocol according to the feedback information.
Preferably, the feedback information is generated by the first target terminal decapsulating the encapsulated first application data by using the extension protocol to obtain the first application data.
Preferably, the feedback information is the first data obtained by encapsulating the first data by the first target terminal using the extension protocol.
An embodiment of the present invention further provides a data transmission device, including:
the first processing module is used for generating first application data of a first application by a first terminal and packaging the first application data by utilizing an extension protocol to obtain the packaged first application data;
a first sending module, configured to send, by the first terminal, the encapsulated first application data to multiple target terminals;
a second processing module, configured to receive, by the first terminal, feedback information of a first target terminal in the multiple target terminals for the first application data, and determine, according to the feedback information, that the first target terminal supports the extension protocol.
Preferably, the feedback information is generated by the first target terminal decapsulating the encapsulated first application data by using the extension protocol to obtain the first application data.
Preferably, the firewall allows a packet with the first port identifier to pass through, and the sending module specifically includes:
the processing unit is used for the first terminal to add the encapsulated first application data into a first data packet with the first port identifier to obtain an added first data packet;
and the sending unit is used for sending the added first data packet to the target terminals by the first terminal through the firewall.
An embodiment of the present invention further provides a data transmission device, including:
the receiving module is used for receiving first application data which are obtained by encapsulating first application data of a first application by a first terminal by using an extended protocol and are sent to a plurality of target terminals by the first target terminal; wherein the first application data is generated by the first terminal;
a second sending module, configured to send, by the first target terminal, feedback information of the first target terminal for the first application data to the first terminal, so that the first terminal can determine, according to the feedback information, that the first target terminal supports the extension protocol.
Preferably, the feedback information is generated by the first target terminal decapsulating the encapsulated first application data by using the extension protocol to obtain the first application data.
The embodiment of the invention also provides a terminal comprising the data transmission device.
From the above, it can be seen that the embodiments of the present invention have at least the following technical effects:
the application data is packaged by using the extension protocol, the packaged application data is sent to a first target terminal in the plurality of target terminals, and the first target terminal supports the extension protocol according to the feedback information of the first target terminal for the application data, so that the transmission of the application data by using the extension protocol is supported.
Drawings
Fig. 1 is a schematic flow chart of a data transmission method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating the transmission flow of application information based on RTP extension according to a preferred embodiment;
fig. 3 is a flowchart illustrating another data transmission method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic flow chart of a data transmission method according to an embodiment of the present invention, and referring to fig. 1, the data transmission method includes the following steps:
step 101, the first terminal generates first application data of a first application, and encapsulates the first application data by using an extension protocol to obtain encapsulated first application data;
102, the first terminal sends the encapsulated first application data to a plurality of target terminals;
step 103, the first terminal receives feedback information of a first target terminal in the plurality of target terminals for the first application data, and determines that the first target terminal supports the extension protocol according to the feedback information.
Therefore, the application data is encapsulated by using the extension protocol, the encapsulated application data is sent to a first target terminal in the plurality of target terminals, and the first target terminal is determined to support the extension protocol according to the feedback information of the first target terminal for the application data, so that the transmission of the application data by using the extension protocol is supported.
Wherein, the extension protocol is, for example: real-time Transport Protocol (RTP) extension Protocol. The RTP extension protocol is actually an extension determined by a specific application, and may store any information, such as information related to the upgrade data, a server status or a status of a current RTP stream.
The feedback information may be generated by the first target terminal after the first application data after being encapsulated is decapsulated by using the extension protocol to obtain the first application data. And/or the presence of a gas in the atmosphere,
the feedback information may be the first data obtained by encapsulating, by the first target terminal, the first data using the extension protocol.
Here, the first data may be second application data of the first application in response to the first application data by the first target terminal. In this way, interactive applications are also supported.
Due to the problem of network security, data transmission between different terminals may need to pass through a firewall, and considering that the firewall allows a data packet with a first port identifier to pass through, the sending, by the first terminal, the encapsulated first application data to the multiple target terminals may specifically include:
the first terminal adds the encapsulated first application data to a first data packet with the first port identifier to obtain an added first data packet;
and the first terminal sends the added first data packet to the target terminals through the firewall.
The first port identifier may be determined by a firewall for a second application, and the first packet may be generated by the first terminal for the second application.
Further, the first data packet may not include a payload; or the payload of the first data packet may be third application data of the second application or preset fake data conforming to an application data format of the second application, for example, when the second application is a video conference application, the fake data may be black screen data or blue screen data. In a video conferencing application, black screen data or blue screen data occupies very little bandwidth and, being valid video data, does not cause decoder problems.
In addition, in order to ensure the reliability of the transmission of the first application data, the encapsulating the first application data by using an extension protocol, and the obtaining the encapsulated first application data may specifically include:
generating control or verification data for the first application data;
and encapsulating the multiplexing data comprising the first application data and the control or check data by using the extension protocol to obtain encapsulated multiplexing data.
In the embodiment of the present invention, the manner of sending the encapsulated first application data to the plurality of target terminals may be a unicast manner, a multicast manner, or a broadcast manner. The latter two ways support the fast transmission of one-to-many application data, thereby providing convenience for users.
For further clarity of illustration of the embodiments of the present invention, a preferred implementation of the embodiments of the present invention is given below with reference to fig. 2.
Fig. 2 is a schematic diagram of an application information transmission flow based on RTP extension according to a preferred embodiment, and referring to fig. 2, in the preferred embodiment, the first application is a terminal upgrade application, and the first application data is real upgrade data; the extension protocol is an RTP extension protocol; the first data packet is an RTP data packet; the second application is a video conference application; the first port identification is the port identification of the port opened by the firewall for the video conference application;
the first terminal and the first target terminal each include an application upgrade module 201, an upgrade adaptation module 202, a demultiplexing module 203, a multiplexing module 204, a packetization module 205, an RTP transmission module 206, a framing module 207, an ordering module 208, and an RTP reception module 209. Wherein,
the application upgrade module 201 is mainly used for receiving upgrade, storing data according to the specification, and starting upgrade. Meanwhile, in order to upgrade other terminals, data can be read from a stored file and sent to the upgrade adaptation module 202;
the upgrade adapter module 202 is mainly used to match the interfaces of the application upgrade module 201 and other modules, that is, to perform interface conversion between the application upgrade module 201 and other modules. Because the application upgrade module 201 may also be in HTTP or FTP mode, the upgrade adaptation module 202 performs an adaptation between the interface of the application upgrade module 201 and the interfaces of the demultiplexing module 203 and the multiplexing module 204;
a multiplexing module 204, which is mainly used for generating check data for the upgrade data from the application upgrade module 201 sent by the upgrade adaptation module 202, multiplexing the upgrade data and the generated check data into multiplexing data, and then transmitting the multiplexing data to an RTP sending module 206;
the RTP sending module 206 mainly uses an RTP extension protocol to add the multiplexed data as a payload of RTP extension to the RTP packet from the packet forming module 205 to generate an added RTP packet, and then sends the generated added RTP packet out through a firewall. Here, the "RTP packet from the packetizing module 205" may also be replaced by an RTP packet generated after the RTP transmitting module 206 discards or replaces the payload of the RTP packet from the packetizing module 205 with black screen data or blue screen data;
the demultiplexing module 203 mainly acquires the RTP data packet sent by the sorting module 208 to the framing module 207, decapsulates the RTP data packet by using an RTP expansion protocol to obtain multiplexed data, demultiplexes real upgrade data from the multiplexed data, and forwards the real upgrade data to the application upgrade module 201 through adaptation of the upgrade adaptation module 202;
the packet module 205 is configured to generate one or more network packets according to the video frame and send the network packets to the RTP sending module 206;
the framing module 207 is used to recover the video frames from the one or more network packets from the sequencing module 208;
the sequencing module 208 is used for sequencing the RTP data packets received and transmitted by the RTP receiving module 209 and then sending the sequenced RTP data packets to the framing module 207 in order to avoid the influence of UDP misordering;
wherein the control and/or check data function to provide reliability of the upgrade data transmission. The control data may be control indication information, for example, for a case that a single RTP extension cannot carry the entire application data packet generated by the application upgrade module 201, in order to enable the receiving end to determine whether the entire application data packet is received and to indicate to the transmitting end which portion or portions of the entire application data packet have not been received when the entire application data packet is not received, some control indication information may be added to the RTP extension, such as the length of the entire application data packet, the offset of the application data block carried in the RTP extension in the entire application data packet, and the like, so that the receiving end determines whether the entire application data packet is received, and if not, a retransmission request for the portion that is not received may be sent from the reverse channel.
Specifically, the application upgrade module 201 may interact data and control according to the interface provided by the upgrade adaptation module 202; the upgrade adaptation module 202 mainly shields the detail information sent and received, so that the application of the terminal only needs to program the interface exposed by the upgrade adaptation module 202, and does not need to consider the following specific implementation of multiplexing, demultiplexing, and the like, but the upgrade adaptation module 202 also provides certain constraints to reduce the complexity of the implementation of the bottom layer, for example, for RTP extension transfer information, the transmission is limited in an IP network, and the data volume transmitted at one time does not exceed the MTU as much as possible and then does not subtract the length of some fixed loads, so as to avoid the problems of network fragmentation and the like.
The thick lines in fig. 2 represent data and the thin lines represent control. The control here refers to control of flow control, that is, how control data is processed.
In the preferred embodiment, the plurality of target terminals include terminals that do not support the RTP extension protocol, and such terminals include a packet generation module 205, an RTP transmission module 206, a framing module 207, an ordering module 208, and an RTP reception module 209, so as to generate RTP packets and process the received RTP packets in a conventional manner. Accordingly, the terminal cannot extract the first application data from the received RTP data packet, that is, cannot generate feedback information of the first application data, and accordingly, the RTP data packet sent by the terminal to the first terminal does not include encapsulated data obtained by encapsulating the RTP extension protocol, so that the first terminal receives the RTP data packet sent by a certain terminal of the target terminals and can determine whether the RTP data packet includes encapsulated data obtained by encapsulating the RTP extension protocol, and if so, the terminal is determined to support the RTP extension protocol; otherwise, the terminal is determined not to support the RTP extension protocol.
Based on the above modules in the preferred embodiment, the application information transmission flow based on RTP extension provided in the preferred embodiment specifically includes the following steps:
step A, appointing a set of RTP extension protocol, and allowing all terminals to either abide by the protocol or abandon the protocol;
b, holding a conference which can forward data by means of MCU, for example, a single-picture multipoint conference;
c, the user of the terminal A initiates a specific application from the interface, for example, a terminal upgrading application;
d, the application upgrading module 201 of the terminal A communicates with the upgrading adaptation module 202 and sends upgrading data to the multiplexing module 204;
step e, the multiplexing module 204 generates control and/or check data of the upgrade data, multiplexes the control and/or check data and the upgrade data together to obtain multiplexed data, and submits the multiplexed data to the RTP sending module 206, the RTP sending module 206 adds the multiplexed data as a load of RTP expansion to an RTP data packet sent by the packetizing module 205 by using an RTP expansion protocol, or discards or replaces a payload of the RTP data packet with black screen or blue screen data to obtain an updated RTP data packet, thereby generating an added RTP data packet, and then sends the generated added RTP data packet out through a firewall;
step f, after the user of terminal B starts the specific application, the RTP receiving module 209 of terminal B delivers the received RTP data packet to the sorting module, the sorting module delivers the sorted RTP data packet to the demultiplexing module 203, the demultiplexing module 203 obtains the multiplexed data as the RTP expanded load from the sorted RTP data packet by using the RTP expansion protocol, demultiplexes the upgrade data from the multiplexed data, and then submits the upgrade data to the application upgrade module 201 through the upgrade adaptation module 202.
For the upgrade data receiver, if the RTP extension cannot be understood, normal processing is performed, the extension data are silently discarded, and the sender can judge whether the extension data support the receiver through feedback of the receiver. Because it is built on unreliable UDP transport, the transmission is done periodically, e.g., after all data has been transmitted, the data is then sent from the beginning, so that the receiver has an opportunity to receive all data. And the status feedback of the receiving party is repeatedly sent continuously during the selected period so as to counteract the influence of the packet loss. All data can eventually arrive safely. The terminal can transmit the application upgrading data to other terminals in a single calling mode, and can also transmit the application upgrading data to other terminals in a broadcasting mode to accelerate the application upgrading process, so that convenience is provided for users.
On the basis of the above flow of the preferred embodiment, a more specific example is given below, which includes the following steps:
step a: an appropriate conference with the same capability is held on a Multipoint Control Unit (MCU), which may have a higher rate, which may result in a higher application information transfer rate, but it is ensured to be in a single-picture mode, so that the media processing of the MCU is only media forwarding without applying measures such as transcoding.
Step b: the terminal with the upgrade data applies for the chairman and broadcasts the chairman, and other terminals can receive the data of the chairman end through the operation of broadcasting.
Step c: the chairman obtains the media data of the appointed terminal by continuously selecting other terminals, and extracts the upgrading data in the multiplexing data which is taken as the load of the RTP extension. Here, generally, feedback information is extracted.
Of course, if the received data packet does not contain the encapsulated data obtained by encapsulating the data by using the RTP extension protocol, it indicates that the terminal does not support the user-specific RTP extension protocol. Specifically, since whether the RTP uses the extension protocol may be determined by a field of the header, when the receiving end finds that the field is not set, it knows that there is no extension data. Then, the manner of determining whether there is encapsulated data obtained by encapsulating data by using the RTP extension protocol in the data packet may specifically be: judging whether the data packet uses an RTP extension field, if so, packaging the data packet by using an RTP extension protocol to obtain packaged data; otherwise, the data packet does not contain encapsulated data obtained by encapsulating the data by using an RTP (real time protocol) extension protocol.
Step d: when all the terminals are in the state of reporting completion or not supporting the RTP extension protocol, the application is completed, and the final result can be presented to the user, of course, the intermediate state can also be presented on the interface of the chairman end, and the user's requirements are seen. For example, when it is determined that a terminal is in a state of completing reporting or a state of not supporting the RTP extension protocol, the identifier of the terminal and the state of the terminal are presented on the interface of the chairman terminal.
In addition, due to the limitation of firewall, there may be many information to be transmitted between terminals, and it is necessary to extend the transmission mode by means of RTP. For example, the configuration of the terminal or the interaction of non-standard information of some terminals, which are directly connected to the terminal without a firewall, for example, to extract the terminal files, a standard FTP protocol may be used, but now the firewall limits these applications.
The preferred embodiment mainly solves the problem that many terminal maintenance applications cannot open the firewall under the condition that the firewall is added with the protocol application server at present. By using a terminal in the conference as a proxy, the application data is transmitted by extending the transmission tunnel through the RTP, so that some previous functions, such as upgrading, state acquisition and the like, are realized. In the upgrading application, the role of a broadcaster is applied, and data is sent to a plurality of terminals at the same time, so that the speed of upgrading the application can be increased, the feedback information of the selected watching terminal is acquired through watching selection, and the data transmission can be guaranteed in an application layer under the condition of packet loss. In the information collection application, although only one-to-one interaction can be performed, the method is more convenient than the method which cannot link and maintain the terminal from the outside.
Fig. 3 is a schematic flow chart of another data transmission method according to an embodiment of the present invention, and referring to fig. 1, the another data transmission method includes the following steps:
step 301, a first target terminal receives first application data which is obtained by a first terminal encapsulating first application data of a first application by using an extension protocol and is sent to a plurality of target terminals by the first terminal; wherein the first application data is generated by the first terminal;
step 302, the first target terminal sends feedback information of the first target terminal for the first application data to the first terminal, so that the first terminal can determine that the first target terminal supports the extension protocol according to the feedback information.
As can be seen, by sending the feedback information for the first application data to the first terminal, the first terminal can determine, according to the feedback information, that the first target terminal supports the extension protocol, thereby supporting transmission of the application data using the extension protocol.
Wherein, the extension protocol is, for example: RTP extension protocol.
The feedback information may be generated by the first target terminal after the first application data after being encapsulated is decapsulated by using the extension protocol to obtain the first application data. And/or the presence of a gas in the atmosphere,
the feedback information may be the first data obtained by encapsulating, by the first target terminal, the first data using the extension protocol.
Here, the first data may be second application data of the first application in response to the first application data by the first target terminal. In this way, interactive applications are also supported.
For a specific implementation of the alternative transmission method, reference may be made to the above preferred embodiments, which are not described herein again.
An embodiment of the present invention further provides a data transmission device, including:
the first processing module is used for generating first application data of a first application by a first terminal and packaging the first application data by utilizing an extension protocol to obtain the packaged first application data;
a first sending module, configured to send, by the first terminal, the encapsulated first application data to multiple target terminals;
a second processing module, configured to receive, by the first terminal, feedback information of a first target terminal in the multiple target terminals for the first application data, and determine, according to the feedback information, that the first target terminal supports the extension protocol.
It can be seen that the data transmission device can support the transmission of application data by using an extended protocol.
The feedback information is generated by the first target terminal after the first application data after being encapsulated is decapsulated by the first target terminal by using the extension protocol to obtain the first application data.
In addition, the firewall allows the data packet with the first port identifier to pass through, and the sending module specifically includes:
the processing unit is used for the first terminal to add the encapsulated first application data into a first data packet with the first port identifier to obtain an added first data packet;
and the sending unit is used for sending the added first data packet to the target terminals by the first terminal through the firewall.
An embodiment of the present invention further provides another data transmission apparatus, including:
the receiving module is used for receiving first application data which are obtained by encapsulating first application data of a first application by a first terminal by using an extended protocol and are sent to a plurality of target terminals by the first target terminal; wherein the first application data is generated by the first terminal;
a second sending module, configured to send, by the first target terminal, feedback information of the first target terminal for the first application data to the first terminal, so that the first terminal can determine, according to the feedback information, that the first target terminal supports the extension protocol.
It can be seen that the data transmission device can support the transmission of application data by using an extended protocol.
The feedback information is generated by the first target terminal after the first application data after being encapsulated is decapsulated by the first target terminal by using the extension protocol to obtain the first application data.
The embodiment of the invention also provides a terminal comprising the data transmission device. The terminal is, for example: and (4) a conference television terminal.
The foregoing is merely an example of the embodiments of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the embodiments of the present invention, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present invention.
Claims (16)
1. A method of data transmission, comprising:
a first terminal generates first application data of a first application, and encapsulates the first application data by using an extension protocol to obtain encapsulated first application data;
the first terminal sends the encapsulated first application data to a plurality of target terminals;
the first terminal receives feedback information of a first target terminal in the multiple target terminals aiming at the first application data, and determines that the first target terminal supports the extension protocol according to the feedback information;
and according to the interface interaction data and control provided by the upgrade adaptation module in the first terminal, the terminal application only needs to program the interface exposed by the upgrade adaptation module, and does not need to consider the multiplexing and demultiplexing of the lower layer.
2. The data transmission method according to claim 1, wherein the feedback information is generated by the first target terminal after decapsulating the encapsulated first application data by using the extension protocol to obtain the first application data.
3. The data transmission method according to claim 1, wherein the feedback information is the first data after encapsulation, which is obtained by encapsulating, by the first target terminal, the first data using the extension protocol.
4. The data transmission method according to claim 3, wherein the first data is second application data of the first application in response to the first application data by the first target terminal.
5. The data transmission method according to claim 1, wherein a firewall allows a packet with a first port identifier to pass through, and the sending, by the first terminal, the encapsulated first application data to the plurality of target terminals specifically includes:
the first terminal adds the encapsulated first application data to a first data packet with the first port identifier to obtain an added first data packet;
and the first terminal sends the added first data packet to the target terminals through the firewall.
6. The data transmission method of claim 5, wherein the first port identification is determined by a firewall for a second application, and the first packet is generated by the first terminal for the second application.
7. The data transmission method according to claim 1, wherein the extension protocol is an RTP extension protocol.
8. A method of data transmission, comprising:
a first target terminal receives first application data which is obtained by encapsulating first application data of a first application by the first terminal by using an extension protocol and is sent to a plurality of target terminals by the first terminal; wherein the first application data is generated by the first terminal;
the first target terminal sends feedback information of the first target terminal aiming at the first application data to the first terminal so that the first terminal can determine that the first target terminal supports the extension protocol according to the feedback information,
and according to the interface interaction data and control provided by the upgrade adaptation module in the first target terminal, the terminal application only needs to program the interface exposed by the upgrade adaptation module, and does not need to consider the multiplexing and demultiplexing of the lower layer.
9. The data transmission method according to claim 8, wherein the feedback information is generated by the first target terminal after decapsulating the encapsulated first application data by using the extension protocol to obtain the first application data.
10. The data transmission method according to claim 8, wherein the feedback information is the first data after encapsulation, which is obtained by encapsulating, by the first target terminal, the first data using the extension protocol.
11. A data transmission apparatus, comprising:
the first processing module is used for generating first application data of a first application by a first terminal and packaging the first application data by utilizing an extension protocol to obtain the packaged first application data;
a first sending module, configured to send, by the first terminal, the encapsulated first application data to multiple target terminals;
a second processing module, configured to receive, by the first terminal, feedback information of a first target terminal in the multiple target terminals for the first application data, and determine, according to the feedback information, that the first target terminal supports the extension protocol;
the application upgrading module is used for interacting data and controlling according to the interface provided by the upgrading adaptation module;
the upgrading adaptation module is positioned in the first terminal and used for providing interface interaction data and control, so that the application of the terminal only needs to program the interface exposed by the upgrading adaptation module without considering multiplexing and demultiplexing of a lower layer.
12. The data transmission apparatus according to claim 11, wherein the feedback information is generated by the first target terminal after decapsulating the encapsulated first application data by using the extension protocol to obtain the first application data.
13. The data transmission apparatus according to claim 11, wherein a firewall allows a packet with a first port identifier to pass through, and the sending module specifically includes:
the processing unit is used for the first terminal to add the encapsulated first application data into a first data packet with the first port identifier to obtain an added first data packet;
and the sending unit is used for sending the added first data packet to the target terminals by the first terminal through the firewall.
14. A data transmission apparatus, comprising:
the receiving module is used for receiving first application data which are obtained by encapsulating first application data of a first application by a first terminal by using an extended protocol and are sent to a plurality of target terminals by the first target terminal; wherein the first application data is generated by the first terminal;
a second sending module, configured to send, by the first target terminal, feedback information of the first target terminal for the first application data to the first terminal, so that the first terminal can determine, according to the feedback information, that the first target terminal supports the extension protocol;
the application upgrading module is used for interacting data and controlling according to the interface provided by the upgrading adaptation module;
and the upgrade adaptation module is positioned in the first target terminal and used for providing interface interaction data and control, so that the application of the terminal only needs to program the interface exposed by the upgrade adaptation module without considering multiplexing and demultiplexing of a lower layer.
15. The data transmission apparatus according to claim 14, wherein the feedback information is generated by the first target terminal after decapsulating the encapsulated first application data by using the extension protocol to obtain the first application data.
16. A terminal, characterized in that it comprises a data transmission device according to any one of claims 11 to 15.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210482485.3A CN103841086B (en) | 2012-11-23 | 2012-11-23 | A kind of data transmission method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210482485.3A CN103841086B (en) | 2012-11-23 | 2012-11-23 | A kind of data transmission method, device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103841086A CN103841086A (en) | 2014-06-04 |
CN103841086B true CN103841086B (en) | 2018-03-27 |
Family
ID=50804221
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210482485.3A Active CN103841086B (en) | 2012-11-23 | 2012-11-23 | A kind of data transmission method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103841086B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105162673A (en) * | 2015-08-24 | 2015-12-16 | 北京大众益康科技有限公司 | Data transmission interface and method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1889710A (en) * | 2005-06-27 | 2007-01-03 | 华为技术有限公司 | Method for transmitting information utilizing information transmission protocol based on internetwork protocol |
CN102025715A (en) * | 2010-05-17 | 2011-04-20 | 华中科技大学 | SIP (Session Initiation Protocol) protocol-based multimedia network communication method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1758334A1 (en) * | 2005-08-26 | 2007-02-28 | Matsushita Electric Industrial Co., Ltd. | Establishment of media sessions with media adaptation |
CN102123158A (en) * | 2011-04-11 | 2011-07-13 | 深圳市同洲软件有限公司 | Method and system for realizing network data processing |
CN102439946B (en) * | 2011-06-23 | 2014-05-21 | 华为技术有限公司 | Data transmission method and device |
-
2012
- 2012-11-23 CN CN201210482485.3A patent/CN103841086B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1889710A (en) * | 2005-06-27 | 2007-01-03 | 华为技术有限公司 | Method for transmitting information utilizing information transmission protocol based on internetwork protocol |
CN102025715A (en) * | 2010-05-17 | 2011-04-20 | 华中科技大学 | SIP (Session Initiation Protocol) protocol-based multimedia network communication method |
Also Published As
Publication number | Publication date |
---|---|
CN103841086A (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2248300B1 (en) | Delivery of multicast data | |
US8627392B1 (en) | Proxy addressing scheme for cable networks | |
KR20140126210A (en) | Method and apparatus for transmitting/receiving signalling information for mpeg mmt in a dvb terrestrial broadcasting system | |
US10498788B2 (en) | Method and apparatus for transceiving data packet for transmitting and receiving multimedia data | |
CN102088460B (en) | Method, device and system for transmitting streaming media data in restricted networks | |
US20200128059A1 (en) | Standardized hot-pluggable transceiving unit providing a cloud gateway functionality | |
WO2013007145A1 (en) | Multimedia data transmission method and system | |
WO2015194919A1 (en) | Method and apparatus for transmitting and receiving packets in broadcast and communication system | |
EP2207354B1 (en) | Method and device for ensuring reliability during transmission of television data in a television system based on internet protocol | |
EP1675318A1 (en) | Media stream multicast distribution method and apparatus | |
WO2008037202A1 (en) | Method and apparatus for transmitting data | |
CN103841086B (en) | A kind of data transmission method, device and terminal | |
KR102112586B1 (en) | Method and apparatus for transmitting and receiving data packet | |
JP4687611B2 (en) | Multicast system and control method of multicast system | |
EP4123967B1 (en) | Method and apparatus for processing multicast signal | |
EP3595254A1 (en) | Multicast signal transmission/reception method and device | |
KR102074226B1 (en) | Method and apparatus for transmitting and receiving data packet | |
US20090158376A1 (en) | Method and apparatus of building ip-based video service system in hybrid fiber coax network | |
JP7516309B2 (en) | Content distribution device and content distribution method | |
KR20090023937A (en) | System and method for internet protocol television tunnelling service | |
CN117643060A (en) | Method and apparatus for processing multicast signals | |
JP2008252263A (en) | TRANSMISSION/RECEPTION SYSTEM OF Ethernet FRAME AND ITS TRANSMISSION/RECEPTION CONVERTER | |
KR101774473B1 (en) | Video data transmitting system and method using tunneling |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |