CN102088460B - Method, device and system for transmitting streaming media data in restricted networks - Google Patents

Method, device and system for transmitting streaming media data in restricted networks Download PDF

Info

Publication number
CN102088460B
CN102088460B CN 201010611941 CN201010611941A CN102088460B CN 102088460 B CN102088460 B CN 102088460B CN 201010611941 CN201010611941 CN 201010611941 CN 201010611941 A CN201010611941 A CN 201010611941A CN 102088460 B CN102088460 B CN 102088460B
Authority
CN
China
Prior art keywords
udp message
tcp
internet
data stream
tcp data
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
Application number
CN 201010611941
Other languages
Chinese (zh)
Other versions
CN102088460A (en
Inventor
徐广鑫
尹洪滨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Feinno Communication Technology Co Ltd
Original Assignee
Beijing Feinno Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Feinno Communication Technology Co Ltd filed Critical Beijing Feinno Communication Technology Co Ltd
Priority to CN 201010611941 priority Critical patent/CN102088460B/en
Publication of CN102088460A publication Critical patent/CN102088460A/en
Application granted granted Critical
Publication of CN102088460B publication Critical patent/CN102088460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, device and system for transmitting streaming media data in restricted networks, which relate to the technical field of communications, can be used for transmitting the streaming media data to a destination end in the presence of restricted conditions, have high reliability, and are used to realize the successful transmission of the streaming media data in the restricted networks. The method for transmitting the streaming media data in the restricted networks comprises the following steps: carrying out capsulation on the datagram of a user datagram protocol (UDP) of the steaming media data by an internet client-side to obtain data streams of a transmission control protocol (TCP); sending the data streams of the TCP to an internet server by the internet client-side through a TCP connection between the internet client-side and the internet server; carrying out reverse decapsulation on the data streams of the TCP to obtain the datagram of the UDP by the internet server; sending the datagram of the UDP to a telecommunication gateway device in a telecommunication network by the internet server; and sending the datagram of the UDP to a corresponding telecommunication client-side by the telecommunication gateway device.

Description

Streaming media data transmission method, apparatus and system in the limited network
Technical field
The present invention relates to communication technical field, particularly relate to streaming media data transmission method, apparatus and system in a kind of limited network.
Background technology
Streaming Media (StreamingMedia) be a kind of application stream technology at the transmission over networks multimedia file, the technology of online service is provided for the user.Can produce many bandwidth audio-video frequency content in real time owing to have, be fit to the advantages such as user's use of multiple different access waies, the Streaming Media industry has obtained vigorous growth.
When the internet transmission stream medium data, usually adopt based on User Datagram Protocol (User Datagram Protocol, UDP) bearing mode that transmits of packet.
And along with the Internet technology application and development, the Internet begins to attempt to dock with communicating by letter of communication network; Carry out in the real time communication communicating tech at the current communication network communication apparatus of having realized and the terminal under the Internet, communication network also can be specified the transmission means that adopts the UDP message bag usually.
Yet, also there are many weak points in the prior art, for example, existing transmission of flow media data mode is considered not enough to the complexity of internet system, for the limited network with restrictive condition, have the network firewall of restriction UDP transmission or the network of routing device as existence, when in this network, adopting the UDP message bag to carry out transmission of flow media data, tend to make stream medium data by network filtering, cause Streaming Media can't transfer to destination, transmission reliability is lower, thereby can't successful transport stream media data.
Summary of the invention
The embodiment of the invention provides streaming media data transmission method, apparatus and system in a kind of limited network, can exist under the situation of restrictive condition transmission of flow media data to destination, the reliability height is realized the successful transmission of stream medium data in limited network.
For achieving the above object, technical scheme of the present invention is achieved in that
The embodiment of the invention provides streaming media data transmission method in a kind of limited network, comprising:
Internet client is transmission control protocol tcp data stream with the user datagram protocol UDP packet encapsulation of stream medium data;
Internet client is sent to Internet Server by being connected with TCP that Internet Server is set up with described tcp data stream;
Internet Server oppositely is descapsulated into the UDP message bag with described tcp data stream;
Internet Server sends to telecommunications gateway equipment in the communication network with described UDP message bag;
Telecommunications gateway equipment sends to corresponding telecom client end with described UDP message bag.
The embodiment of the invention also provides the method for transport stream media data in a kind of limited network, comprising:
First internet client is encapsulated as tcp data stream with the UDP message bag of stream medium data;
First internet client sends to second internet client by the TCP connection with described tcp data stream;
Second internet client flows reverse decapsulation to described tcp data and obtains the UDP message bag, to use corresponding streaming media service.
The embodiment of the invention also provides the internet device in a kind of limited network, comprising:
Receiving element is used for receiving internet client and connects the tcp data stream that sends by TCP, and described tcp data stream is to seal dress by the UDP message of stream medium data to obtain;
Decapsulation unit is used for described tcp data stream oppositely is descapsulated into the UDP message bag;
Transmitting element is for the telecommunications gateway equipment that described UDP message bag is sent to communication network, so that telecommunications gateway equipment sends to corresponding telecom client end with described UDP message bag.
The embodiment of the invention also provides a kind of communication system of transport stream media data,
Described system comprises internet client, Internet Server, telecom client end and telecommunications gateway equipment;
Described internet client is used for the UDP message bag of stream medium data is encapsulated as tcp data stream, and, by being connected with TCP that Internet Server is set up described tcp data stream is sent to Internet Server;
Described Internet Server is used for described tcp data stream oppositely is descapsulated into the UDP message bag, and described UDP message bag is sent to telecommunications gateway equipment in the communication network;
Described telecommunications gateway equipment is used for described UDP message bag and sends to corresponding telecom client end;
Perhaps,
Described system comprises first internet client and second internet client;
Described first internet client is used for the UDP message bag of stream medium data is encapsulated as tcp data stream, connects by TCP described tcp data stream is sent to second internet client;
Described second internet client is used for that described tcp data is flowed reverse decapsulation and obtains the UDP message bag, to use corresponding streaming media service.
By as seen above-mentioned, the technical scheme of the embodiment of the invention is in limited network during the transport stream media data, the UDP message bag of stream medium data is encapsulated as tcp data stream, carry out streaming media data transmission by tcp data stream, solved in the prior art owing to have network firewall or the routing device problem that packet filtering brings to UDP message of restrictive condition, can exist under the situation of restrictive condition transmission of flow media data to destination, the reliability height, thus realized the successful transmission of stream medium data in limited network.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Streaming media data transmission method flow schematic diagram in a kind of limited network that Fig. 1 provides for the embodiment of the invention one;
Streaming media data transmission method flow schematic diagram in a kind of limited network that Fig. 2 provides for the embodiment of the invention two;
Streaming media data transmission method flow schematic diagram in a kind of limited network that Fig. 3 provides for the embodiment of the invention three;
Fig. 4 a kind ofly is encapsulated as structural representation behind the tcp data stream with the UDP message bag for what the embodiment of the invention three provided;
Internet device structural representation in a kind of limited network that Fig. 5 provides for the embodiment of the invention four;
The communication system architecture schematic diagram of a kind of transport stream media data that Fig. 6 provides for the embodiment of the invention five;
The communication system architecture schematic diagram of the another kind of transport stream media data that Fig. 7 provides for the embodiment of the invention five.
Embodiment
Below in conjunction with accompanying drawing of the present invention, technical scheme of the present invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention one provides streaming media data transmission method in a kind of limited network, and referring to Fig. 1, described method comprises:
11: internet client with the User Datagram Protocol of stream medium data (UserDatagram Protocol, UDP) packet encapsulation is transmission control protocol (Transmission Control Protocol, TCP) data flow;
12: internet client is sent to Internet Server by being connected with TCP that Internet Server is set up with described tcp data stream;
13: Internet Server oppositely is descapsulated into the UDP message bag with described tcp data stream;
14: Internet Server sends to telecommunications gateway equipment in the communication network with described UDP message bag;
15: telecommunications gateway equipment sends to corresponding telecom client end with described UDP message bag.
There is network limits in the residing network of internet client in the embodiment of the invention, as not supporting the transfer of data etc. under the udp protocol, carries out streaming media data transmission and specify in the communication network according to udp protocol.But be not limited to this, the scheme of the embodiment of the invention also can be applicable in other limited network, and is medium as the limited network that does not allow message broadcasting.
Consider the layout architecture of existing the Internet and communication network, in order to improve utilization rate of network resource and to be convenient to management to telecom client end or transfer of data, at this, the transmission that Internet Server by having middle rotating function and telecommunications gateway equipment have been realized data, be appreciated that the framework when network changes, perhaps, when the function of internet client/telecom client end self was enough powerful, above-mentioned Internet Server or telecommunications gateway equipment were not necessary.Perhaps, other arranges a specific installation that is integrated with above-mentioned Internet Server and telecommunications gateway equipment, with the transfer of data between internet client and the telecom client end in the realization limited network.
By as seen above-mentioned, the technical scheme of the embodiment of the invention is in limited network during the transport stream media data, the UDP message bag of stream medium data is encapsulated as tcp data stream, carry out streaming media data transmission by tcp data stream, solved in the prior art owing to have network firewall or the routing device problem that packet filtering brings to UDP message of restrictive condition, can exist under the situation of restrictive condition transmission of flow media data to destination, the reliability height, thus realized the successful transmission of stream medium data in limited network.
For the ease of the clear technical scheme of describing the embodiment of the invention, in inventive embodiment, adopted printed words such as " first ", " second " that function is distinguished with the essentially identical identical entry of effect or similar item, it will be appreciated by those skilled in the art that printed words such as " first ", " second " do not limit quantity and execution order.
The embodiment of the invention two provides streaming media data transmission method in a kind of limited network again, and referring to Fig. 2, described method comprises:
21: the first internet clients are encapsulated as tcp data stream with the UDP message bag of stream medium data;
Internet client sent to second internet client by the TCP connection with described tcp data stream in 22: the first;
23: the second internet clients flow reverse decapsulation to described tcp data and obtain the UDP message bag, to use corresponding streaming media service.
There is network limits in first internet client in the embodiment of the invention and/or the residing network of second internet client.
Wherein, for above-mentioned steps 22, can divide following two kinds of situations to describe at least.
First kind of situation: first internet client establishes TCP with Internet Server respectively with second internet client and is connected, first internet client is sent to Internet Server by the TCP connection with described tcp data stream, is connected by TCP by Internet Server more described tcp data stream is sent to second internet client.
Second kind of situation: establish TCP between first internet client and second internet client and connect, first internet client directly is sent to second internet client with described tcp data stream by this TCP connection.
Further, for above-mentioned first kind of situation, if when not having network limits in the residing network of second internet client, after Internet Server receives the above-mentioned tcp data stream that sends from first internet client, can be earlier this tcp data stream be carried out reverse decapsulation and revert to after the UDP message bag, again this UDP message bag is sent to second internet client.
By as seen above-mentioned, the technical scheme of the embodiment of the invention is in limited network during the transport stream media data, the UDP message bag of stream medium data is encapsulated as tcp data stream, carry out streaming media data transmission by tcp data stream, solved in the prior art owing to have network firewall or the routing device problem that packet filtering brings to UDP message of restrictive condition, can exist under the situation of restrictive condition transmission of flow media data to destination, the reliability height, thus realized the successful transmission of stream medium data in limited network.
The streaming media data transmission method describes in a kind of limited network that the embodiment of the invention three is provided below.Be that example describes to be in the scene that internet client in the limited network and the telecom client end in the communication network carry out transmission of flow media data mainly in the embodiment of the invention three.
Referring to Fig. 3, send stream medium data from internet client to the telecom client end, mainly comprise following processing:
1a: internet client is encapsulated as tcp data stream with the UDP message bag of stream medium data.
Usually the UDP message bag comprises UDP stem and two parts of UDP message, include in the UDP stem source port, destination interface, length and verification and etc. content.Internet client is removed the stem in the UDP message bag, extract the UDP message part in the UDP message bag, and partly add data packet head for this UDP message, and described data packet head indication gap marker (Identifier, ID), package identification and data packet length (Length); Described UDP message of adding data packet head partly is encapsulated in tcp data part in the tcp data stream.
Attribute or the function of the UDP message that above-mentioned passage ID indication is transmitted, as the UDP message of transmitting is used for audio stream or video flowing, perhaps, the UDP message of transmitting perhaps also can expand to this passage ID other functions as required and use for being encapsulated as the stream medium data of tcp data stream.
Above-mentioned packet ID is used for uniqueness ground each UDP message bag is identified, and whether continuous, whether have the packet loss phenomenon if utilizing this packet ID can analyze institute's data packets for transmission, help to guarantee that data integrity transmits reliably.
Above-mentioned data packet length is used for the length of explanation UDP message part, thereby can according to this data packet length the UDP message extracting section be come out when reverse decapsulation.
Referring to Fig. 4, shown a kind of the UDP message bag to be encapsulated as structural representation behind the tcp data stream.
From the above mentioned, the method for packing that the embodiment of the invention provides, simple to operate, be easy to realize, improved existing utilization rate of network resource.
2a: internet client is sent to Internet Server by being connected with TCP that Internet Server is set up with described tcp data stream.
At this, requiring needs to exist available TCP to be connected between internet client and the Internet Server.
3a: Internet Server oppositely is descapsulated into the UDP message bag with described tcp data stream.
Because communication network middle finger constant current media data need adopt the transmission means of UDP message bag, so Internet Server need flow reverse decapsulation with above-mentioned tcp data, reverts to the UDP message bag.
Internet Server is according to above-mentioned data packet head, the described UDP message part of tcp data extracting section from described tcp data stream, as, when detecting a data packet header, Internet Server knows there is a UDP message part that Internet Server extracts the data of some bytes in the tcp data part as the UDP message part according to data packet length.Then, Internet Server partly encapsulates the UDP stem for this UDP message, and this UDP message part is reverted to the UDP message bag according to the UDP form.
4a: Internet Server sends to telecommunications gateway equipment in the communication network with described UDP message bag.
The connection that has transmission UDP message bag between above-mentioned Internet Server and the telecommunications gateway equipment.
5a: telecommunications gateway equipment sends to corresponding telecom client end with described UDP message bag.
The telecom client end of its service that provides is provided the UDP message bag in communication network telecommunications gateway equipment.The telecom client end wraps in this locality with this UDP message and moves or play, and uses corresponding audio frequency and video business.
Arrive this, realized in limited the Internet, send the process of stream medium data from internet client to the telecom client end.
Referring to Fig. 3, send stream medium data from internet client to the telecom client end, mainly comprise following processing:
1b: the telecom client end sends to telecommunications gateway equipment with the UDP message bag of stream medium data.
Above-mentioned telecommunications gateway equipment is the gateway device in the communication network that service is provided to the telecom client end.
2b: telecommunications gateway equipment sends to Internet Server with described UDP message bag.
The connection that has transmission UDP message bag between above-mentioned Internet Server and the telecommunications gateway equipment.
3b: Internet Server is encapsulated as tcp data stream with described UDP message bag.
The concrete mode of Internet Server encapsulation UDP message bag is referring to above-mentioned steps 1a.
4b: Internet Server sends to internet client by being connected with TCP that internet client is set up with described tcp data stream.
Requiring needs to exist available TCP to be connected between internet client and the Internet Server.
And, to cross when low when the bandwidth resources deficiency in the network or message transmission rate, Internet Server abandons part tcp data stream when described tcp data stream is sent to internet client.This processing mode considers that mainly can whether be sent to destination to tcp data stream in the transmission course of tcp data stream confirms, when receiving tcp data stream when internet client, feeds back to Internet Server by affirmation (ACK) message.After the tcp data stream of pre-treatment sends successfully, just can carry out the transmission of tcp data stream next time.If the bust this of current tcp data stream, then influenced the transmission of tcp data stream next time or no longer carried out the transmission of tcp data stream next time.So, when network environment is relatively poor, by abandoning part tcp data stream, with the normal transmission that guarantees on the whole tcp data to be flowed, thereby guaranteed the successful transmission of stream medium data in limited network.
5b: internet client flows reverse decapsulation to described tcp data and obtains the UDP message bag, and then, internet client wraps in this locality with this UDP message and moves or play, thereby uses corresponding audio frequency and video business.
By as seen above-mentioned, the technical scheme of the embodiment of the invention is in limited network during the transport stream media data, the UDP message bag of stream medium data is encapsulated as tcp data stream, carry out streaming media data transmission by tcp data stream, solved in the prior art owing to have network firewall or the routing device problem that packet filtering brings to UDP message of restrictive condition, can exist under the situation of restrictive condition transmission of flow media data to destination, the reliability height, thus realized the successful transmission of stream medium data in limited network.
The embodiment of the invention four also provides the internet device in a kind of limited network, and referring to Fig. 5, described equipment comprises:
Receiving element 501 is used for receiving internet client and connects the tcp data stream that sends by TCP, and described tcp data stream is to seal dress by the UDP message of stream medium data to obtain;
Decapsulation unit 502 is used for described tcp data stream oppositely is descapsulated into the UDP message bag;
Transmitting element 503 is for the telecommunications gateway equipment that described UDP message bag is sent to communication network, so that telecommunications gateway equipment sends to corresponding telecom client end with described UDP message bag.
Further, described equipment also comprises encapsulation unit 504, and under this scene, described receiving element 501 also is used for receiving the UDP message bag from the stream medium data of communication network; Described encapsulation unit 504 is used for described UDP message bag is encapsulated as tcp data stream; Described transmitting element 503 also sends to internet client for being connected by the TCP with internet client foundation with described tcp data stream, obtains the UDP message bag so that internet client flows reverse decapsulation to described tcp data.
The concrete working method of present device embodiment can be referring to the related content among the method embodiment of the present invention.
By as seen above-mentioned, the technical scheme of the embodiment of the invention is in limited network during the transport stream media data, the UDP message bag of stream medium data is encapsulated as tcp data stream, carry out streaming media data transmission by tcp data stream, solved in the prior art owing to have network firewall or the routing device problem that packet filtering brings to UDP message of restrictive condition, can exist under the situation of restrictive condition transmission of flow media data to destination, the reliability height, thus realized the successful transmission of stream medium data in limited network.
The embodiment of the invention five also provides a kind of communication system of transport stream media data, and referring to Fig. 6, described system comprises internet client 601, Internet Server 602, telecom client end 603 and telecommunications gateway equipment 604;
Described internet client 601 is used for the UDP message bag of stream medium data is encapsulated as tcp data stream, and, by being connected with TCP that Internet Server is set up described tcp data stream is sent to Internet Server; Described Internet Server 602 is used for described tcp data stream oppositely is descapsulated into the UDP message bag, and described UDP message bag is sent to telecommunications gateway equipment in the communication network; Described telecommunications gateway equipment 604 is used for described UDP message bag and sends to corresponding telecom client end 603;
Further, above-mentioned telecommunications gateway equipment, the UDP message bag from described telecom client end that also is used for receiving sends to Internet Server; Above-mentioned Internet Server also is used for described UDP message bag is encapsulated as tcp data stream, and, by being connected with TCP that internet client is set up described tcp data stream is sent to internet client; Above-mentioned internet client is used for that also described tcp data is flowed reverse decapsulation and obtains the UDP message bag, to use corresponding streaming media service;
Perhaps,
Referring to Fig. 7, described system comprises first internet client 701 and second internet client 702; Described first internet client 701 is used for the UDP message bag of stream medium data is encapsulated as tcp data stream, connects by TCP described tcp data stream is sent to second internet client; Described second internet client 702 is used for that described tcp data is flowed reverse decapsulation and obtains the UDP message bag, to use corresponding streaming media service.
Wherein,
Establish TCP between first internet client and second internet client and connect, first internet client directly is sent to second internet client with described tcp data stream by this TCP connection.Perhaps,
Referring to Fig. 3, first internet client establishes TCP with Internet Server respectively with second internet client and is connected, first internet client is sent to Internet Server by the TCP connection with described tcp data stream, is connected by TCP by Internet Server more described tcp data stream is sent to second internet client; At this moment, can also comprise Internet Server 703 in the described system, be used for setting up TCP with first internet client with second internet client respectively and be connected, utilize described TCP to connect and to issue second internet client from the tcp data circulation of first internet client.
By as seen above-mentioned, the technical scheme of the embodiment of the invention is in limited network during the transport stream media data, the UDP message bag of stream medium data is encapsulated as tcp data stream, carry out streaming media data transmission by tcp data stream, solved in the prior art owing to have network firewall or the routing device problem that packet filtering brings to UDP message of restrictive condition, can exist under the situation of restrictive condition transmission of flow media data to destination, the reliability height, thus realized the successful transmission of stream medium data in limited network.
Those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can software product form embody, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (8)

1. streaming media data transmission method in the limited network is characterized in that described method comprises:
Internet client is transmission control protocol tcp data stream with the user datagram protocol UDP packet encapsulation of stream medium data;
Internet client is sent to Internet Server by being connected with TCP that Internet Server is set up with described tcp data stream;
Internet Server oppositely is descapsulated into the UDP message bag with described tcp data stream;
Internet Server sends to telecommunications gateway equipment in the communication network with described UDP message bag;
Telecommunications gateway equipment sends to corresponding telecom client end with described UDP message bag;
Wherein, in the following way the UDP message bag is encapsulated as tcp data stream:
Extract the UDP message part in the UDP message bag, and partly add data packet head for this UDP message, described data packet head indication gap marker, package identification and data packet length;
Described UDP message of adding data packet head partly is encapsulated in tcp data part in the tcp data stream; And,
In the following way described tcp data stream oppositely is descapsulated into the UDP message bag:
According to the data packet length of described data packet head indication, from the described UDP message part of tcp data extracting section of described tcp data stream;
For described UDP message partly encapsulates the UDP stem, described UDP message part is reverted to the UDP message bag according to the UDP form.
2. method according to claim 1 is characterized in that, described method also comprises:
The telecom client end sends to telecommunications gateway equipment with the UDP message bag of stream medium data;
Telecommunications gateway equipment sends to Internet Server with described UDP message bag;
Internet Server is encapsulated as tcp data stream with described UDP message bag;
Internet Server sends to internet client by being connected with TCP that internet client is set up with described tcp data stream;
Internet client flows reverse decapsulation to described tcp data and obtains the UDP message bag, to use corresponding streaming media service.
3. method according to claim 2 is characterized in that, described Internet Server sends to internet client with described tcp data stream and comprises by being connected with TCP that internet client is set up:
Cross when low when the bandwidth resources deficiency in the network or message transmission rate, Internet Server abandons part tcp data stream when described tcp data stream is sent to internet client.
4. the method for transport stream media data in the limited network is characterized in that,
First internet client is encapsulated as tcp data stream with the UDP message bag of stream medium data;
First internet client sends to second internet client by the TCP connection with described tcp data stream;
Second internet client flows reverse decapsulation to described tcp data and obtains the UDP message bag, to use corresponding streaming media service;
Wherein, in the following way the UDP message bag is encapsulated as tcp data stream:
Extract the UDP message part in the UDP message bag, and partly add data packet head for this UDP message, described data packet head indication gap marker, package identification and data packet length;
Described UDP message of adding data packet head partly is encapsulated in tcp data part in the tcp data stream; And,
In the following way described tcp data stream oppositely is descapsulated into the UDP message bag:
According to the data packet length of described data packet head indication, from the described UDP message part of tcp data extracting section of described tcp data stream;
For described UDP message partly encapsulates the UDP stem, described UDP message part is reverted to the UDP message bag according to the UDP form.
5. method according to claim 4 is characterized in that, described first internet client sends to second internet client by the TCP connection with described tcp data stream and comprises:
First internet client establishes TCP with Internet Server respectively with second internet client and is connected, first internet client is sent to Internet Server by the TCP connection with described tcp data stream, is connected by TCP by Internet Server more described tcp data stream is sent to second internet client; Perhaps,
Establish TCP between first internet client and second internet client and connect, first internet client directly is sent to second internet client with described tcp data stream by this TCP connection.
6. the internet device in the limited network is characterized in that described equipment comprises:
Receiving element is used for receiving internet client and connects the tcp data stream that sends by TCP, and described tcp data stream is to seal dress by the UDP message of stream medium data to obtain;
Decapsulation unit is used for described tcp data stream oppositely is descapsulated into the UDP message bag;
Transmitting element is for the telecommunications gateway equipment that described UDP message bag is sent to communication network, so that telecommunications gateway equipment sends to corresponding telecom client end with described UDP message bag;
Wherein, described decapsulation unit is used in the following way described tcp data stream oppositely being descapsulated into the UDP message bag:
According to the data packet length of described data packet head indication, from the described UDP message part of tcp data extracting section of described tcp data stream;
For described UDP message partly encapsulates the UDP stem, described UDP message part is reverted to the UDP message bag according to the UDP form;
Described equipment also comprises encapsulation unit,
Described receiving element also is used for receiving the UDP message bag from the stream medium data of communication network;
Described encapsulation unit is used for described UDP message bag is encapsulated as tcp data stream;
Described transmitting element also sends to internet client for being connected by the TCP with internet client foundation with described tcp data stream, obtains the UDP message bag so that internet client flows reverse decapsulation to described tcp data;
Wherein, described encapsulation unit is used in the following way the UDP message bag being encapsulated as tcp data stream:
Extract the UDP message part in the UDP message bag, and partly add data packet head for this UDP message, described data packet head indication gap marker, package identification and data packet length;
Described UDP message of adding data packet head partly is encapsulated in tcp data part in the tcp data stream.
7. the communication system of a transport stream media data is characterized in that,
Described system comprises internet client, Internet Server, telecom client end and telecommunications gateway equipment;
Described internet client is used for the UDP message bag of stream medium data is encapsulated as tcp data stream, and, by being connected with TCP that Internet Server is set up described tcp data stream is sent to Internet Server;
Described Internet Server is used for described tcp data stream oppositely is descapsulated into the UDP message bag, and described UDP message bag is sent to telecommunications gateway equipment in the communication network;
Described telecommunications gateway equipment is used for described UDP message bag and sends to corresponding telecom client end;
Perhaps,
Described system comprises first internet client and second internet client;
Described first internet client is used for the UDP message bag of stream medium data is encapsulated as tcp data stream, connects by TCP described tcp data stream is sent to second internet client;
Described second internet client is used for that described tcp data is flowed reverse decapsulation and obtains the UDP message bag, to use corresponding streaming media service;
Wherein, in the following way the UDP message bag is encapsulated as tcp data stream:
Extract the UDP message part in the UDP message bag, and partly add data packet head for this UDP message, described data packet head indication gap marker, package identification and data packet length;
Described UDP message of adding data packet head partly is encapsulated in tcp data part in the tcp data stream; And,
In the following way described tcp data stream oppositely is descapsulated into the UDP message bag:
According to the data packet length of described data packet head indication, from the described UDP message part of tcp data extracting section of described tcp data stream;
For described UDP message partly encapsulates the UDP stem, described UDP message part is reverted to the UDP message bag according to the UDP form.
8. system according to claim 7 is characterized in that,
When described system comprises internet client, Internet Server, telecom client end and telecommunications gateway equipment,
Telecommunications gateway equipment, the UDP message bag from described telecom client end that also is used for receiving sends to Internet Server;
Internet Server also is used for described UDP message bag is encapsulated as tcp data stream, and, by being connected with TCP that internet client is set up described tcp data stream is sent to internet client;
Internet client is used for that also described tcp data is flowed reverse decapsulation and obtains the UDP message bag, to use corresponding streaming media service;
When described system comprises first internet client and second internet client, described system also comprises Internet Server, be used for setting up TCP with first internet client with second internet client respectively and be connected, utilize described TCP to connect and to issue second internet client from the tcp data circulation of first internet client.
CN 201010611941 2010-12-29 2010-12-29 Method, device and system for transmitting streaming media data in restricted networks Active CN102088460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010611941 CN102088460B (en) 2010-12-29 2010-12-29 Method, device and system for transmitting streaming media data in restricted networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010611941 CN102088460B (en) 2010-12-29 2010-12-29 Method, device and system for transmitting streaming media data in restricted networks

Publications (2)

Publication Number Publication Date
CN102088460A CN102088460A (en) 2011-06-08
CN102088460B true CN102088460B (en) 2013-07-17

Family

ID=44100073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010611941 Active CN102088460B (en) 2010-12-29 2010-12-29 Method, device and system for transmitting streaming media data in restricted networks

Country Status (1)

Country Link
CN (1) CN102088460B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486341A (en) * 2014-12-19 2015-04-01 重庆川仪自动化股份有限公司 Data conversion processing method, device and system

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102869043B (en) * 2011-07-07 2015-10-28 中国科学院上海高等研究院 A kind of data relay method of the rail communication system based on WLAN
CN104283760B (en) * 2013-07-04 2018-05-04 华为技术有限公司 A kind of WebRTC communication means, relevant device and system
CN108833559B (en) * 2018-06-25 2020-12-29 杭州迪普科技股份有限公司 Method and device for caching and distributing video data
US11082254B2 (en) * 2018-08-07 2021-08-03 Dh2I Company User datagram protocol tunneling in distributed application instances
CN109756475B (en) * 2018-11-27 2021-07-16 中国船舶重工集团公司第七0九研究所 Data transmission method and device in unidirectional network
CN111711554A (en) * 2020-04-13 2020-09-25 北京天维信通科技有限公司 Data transmission method, device and equipment of UDP tunnel based on TCP
CN112243002B (en) * 2020-10-10 2023-07-04 腾讯科技(深圳)有限公司 Data forwarding method, device, electronic equipment and computer readable medium
CN114902635A (en) * 2022-03-30 2022-08-12 北京小米移动软件有限公司 Flow proxy method and device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277267A (en) * 2007-03-29 2008-10-01 Nec爱克赛斯科技株式会社 Communication system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7945663B2 (en) * 2008-12-29 2011-05-17 Genband Inc. Systems, methods, and computer program products for adaptively adjusting a registration interval of an endpoint

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277267A (en) * 2007-03-29 2008-10-01 Nec爱克赛斯科技株式会社 Communication system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486341A (en) * 2014-12-19 2015-04-01 重庆川仪自动化股份有限公司 Data conversion processing method, device and system
CN104486341B (en) * 2014-12-19 2018-04-20 重庆川仪自动化股份有限公司 The method, apparatus and system of data conversion treatment

Also Published As

Publication number Publication date
CN102088460A (en) 2011-06-08

Similar Documents

Publication Publication Date Title
CN102088460B (en) Method, device and system for transmitting streaming media data in restricted networks
CN109194660B (en) Network access method and device of mobile terminal
US11528315B2 (en) Apparatus and method for delivering transport characteristics of multimedia data
US10425339B2 (en) Multi-homed load-balanced rate-based tunnels
CN108881799B (en) A kind of system and method carrying out view networked video meeting
CN101997916B (en) Method and device for file transmission based on network
CN109547417A (en) Code stream transmission method and device
CN101958886A (en) Non-internet protocol (IP) network-based multi-stage antivirus file secure transmission method and system
CN108322809A (en) The method and system that control video file plays under depending on networking under a kind of internet
CN110545395B (en) Video networking conference switching method and device
CN109120540B (en) Method for transmitting message, proxy server and computer readable storage medium
CN109257620B (en) Network live broadcast method and system based on multipath transmission
CN110048954A (en) A kind of data transmission method and device
CN109302642A (en) Collecting method and device
CN110049341A (en) Method for processing video frequency and device
CN110460366A (en) A kind of Unmanned Aerial Vehicle Data interconnection method, system, electronic equipment and storage medium
CN110138728A (en) A kind of sharing method and device of video data
CN109361671A (en) A kind of streaming media framework method based on Session Initiation Protocol
CN110072154B (en) Video networking-based clustering method and transfer server
CN109698859B (en) Data storage method and device based on video network
CN108881148B (en) Data acquisition method and device
CN111245733A (en) Data transmission method and device
CN102883129B (en) Video communication method and terminal
CN104994331B (en) Flow sending method and system between a kind of network of suitable low speed chain circuit
Saldana et al. Emerging real-time services: optimizing traffic by smart cooperation in the network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: Room 810, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080

Patentee after: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building A block 5 layer

Patentee before: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder