CN102255906A - Data transmission and receiving methods, equipment and systems - Google Patents

Data transmission and receiving methods, equipment and systems Download PDF

Info

Publication number
CN102255906A
CN102255906A CN2011101915930A CN201110191593A CN102255906A CN 102255906 A CN102255906 A CN 102255906A CN 2011101915930 A CN2011101915930 A CN 2011101915930A CN 201110191593 A CN201110191593 A CN 201110191593A CN 102255906 A CN102255906 A CN 102255906A
Authority
CN
China
Prior art keywords
data
load
virtual
address
header
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101915930A
Other languages
Chinese (zh)
Other versions
CN102255906B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201110191593.0A priority Critical patent/CN102255906B/en
Publication of CN102255906A publication Critical patent/CN102255906A/en
Application granted granted Critical
Publication of CN102255906B publication Critical patent/CN102255906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a data transmission method, a data receiving method, data transmission equipment, data receiving equipment, a data transmission system and a data receiving system. The data transmission method comprises that: a transmitter encapsulates data to be transmitted and a virtual Internet protocol (IP) address of the transmitter into a load of a real-time transport protocol (RTP) message, and adds a header of the RTP message, wherein the header carries a type identifier of the load; the transmitter transmits the RTP message to a receiver through an RTP channel between the transmitter and the receiver by own virtual network card; the receiver receives and resolves the RTP message and performs corresponding resolution on the load of the RTP message according to the type identifier of the load; and if learning that the load carries the virtual IP address of the transmitter, the receiver transmits the data to a virtual network card of the receiver and receives the data by the virtual network card. By the data transmission and receiving methods, equipment and systems, other types of data except audio data and video data can be transmitted without the basis of any other protocol in a session initiation protocol (SIP) session process.

Description

Data method of sending and receiving, equipment and system
Technical field
The present invention relates to the network communications technology, relate in particular to a kind of data method of sending and receiving, equipment and system.
Background technology
(Real-time Transport Protocol RTP) as the technical foundation of multimedia Internet protocol (IP), has been widely used in stream media system, video conference and Push To Talk etc. to real time transport protocol.
In the prior art, the communicating pair that carries out voice or video communication adopts SIP (Session Initiation Protocol usually, SIP) set up bipartite session, and in the process of setting up the SIP session, consult the address and the port of RTP media channel.In communication process, both sides come multimedia messagess such as transferring voice or video by the RTP media channel of this negotiation, to realize the voice communication or the video communication of communicating pair.But for communicating pair, also have much other communication requirements, such as transmitting shared document etc., this moment need be based on other agreement, for example (File Transfer Protocol FTP), sets up new passage and comes transfer files text transfer protocol, make communicating pair also need to authenticate once more and processes such as authentication, caused network resources waste and consuming time comparatively serious.
Summary of the invention
At above-mentioned defective, the invention provides a kind of data method of sending and receiving, equipment and system, be used for being implemented in the SIP conversation procedure, need not to set up new communication port, can transmit the other types data except that speech data and video data based on other agreement.
According to an aspect of the present invention, provide a kind of data transmission method for uplink, comprising:
Transmit leg with to be sent to the recipient data and the virtual Internet protocol IP address of described transmit leg be encapsulated as the load of real time transport protocol RTP message, and before described load, add the header of described RTP message; Wherein, carry the type identification of described load in the described header;
Described transmit leg is sent to described recipient with described RTP message by the RTP passage that described transmit leg and described recipient consult by the Microsoft Loopback Adapter of self in the process of setting up SIP SIP calling; So that described recipient resolve described RTP message header, according to the type identification of the described load in the described header described load is resolved, and if know that by parsing Microsoft Loopback Adapter that the virtual ip address that carries described transmit leg in the described load then will write self through the described data that parsing obtains is to finish the reception of described data.
According to a further aspect in the invention, also provide a kind of transmitting apparatus, comprising:
Package module, be used for to be sent to receiving equipment data and the virtual ip address of transmitting apparatus be encapsulated as the load of RTP message, and before described load, add the header of described RTP message; Wherein, carry the type identification of described load in the described header;
Sending module is used for being sent to described receiving equipment by the Microsoft Loopback Adapter of self is consulted by described transmitting apparatus and described receiving equipment described RTP message in the process of setting up the SIP calling RTP passage; So that described receiving equipment resolve described RTP message header, according to the type identification of the described load in the described header described load is resolved, and if know that by parsing Microsoft Loopback Adapter that the virtual ip address that carries described transmitting apparatus in the described load then will write self through the described data that parsing obtains is to finish the reception of described data.
According to another aspect of the invention, also provide a kind of receiving equipment, comprising:
The recipient resolves from the header of the RTP message of transmit leg reception, according to the type identification of the described load in the described header described load is resolved; Wherein, carry the type identification of described load in the described header, carry the virtual ip address and the data to the recipient to be sent of described transmit leg in the described load;
Described recipient is if know that by parsing Microsoft Loopback Adapter that the virtual ip address that carries described transmit leg in the described load then will write self through the described data that parsing obtains is to finish the reception of described data.
According to another aspect of the invention, also provide a kind of data receive method, comprising:
RTP packet parsing module is resolved from the header of the RTP message of transmitting apparatus reception, according to the type identification of the described load in the described header described load is resolved; Wherein, carry the type identification of described load in the described header, carry the virtual ip address and the data to receiving equipment to be sent of described transmitting apparatus in the described load;
Writing module is used for if know that by parsing Microsoft Loopback Adapter that virtual ip address that described load carries described transmitting apparatus then will write self through the described data that parsing obtains is to finish the reception of described data.
In accordance with a further aspect of the present invention, also provide a kind of data communication system, comprise transmitting apparatus of the present invention and receiving equipment of the present invention.
According to data method of sending and receiving of the present invention, equipment and system, for the communicating pair that carries out the SIP session, if transmit leg has the other types transfer of data of non-voice/video, the sign load type corresponding sign in the field PT of RTP message then with this data type, and self virtual ip address is sent to the recipient together with data to be sent as the load of the RTP message RTP passage by negotiation formerly; The recipient is if resolve and to know that carrying virtual ip address in the load knows that then the virtual IP address of setting up with transmit leg is connected, and the data of carrying in the load are put Microsoft Loopback Adapter to self.Therefore, virtual IP address by communicating pair connects the communication that has promptly realized the other types data except that video data or voice data, avoided transmit leg and recipient to need authenticate once more with process such as authentication and realized communicating by letter of non-voice/video type data, saved Internet resources and can finish communication fast to set up new passage based on other agreement (for example File Transfer Protocol).And, owing in the RTP message, carry address with the unique corresponding virtual IP of transmit leg, make the recipient directly to determine the transmit leg of this message by resolving this RTP message, realized the transparence of transmit leg for the recipient, avoided having network address translation (Network Address Translation when between the communicating pair, NAT) time, the recipient can not accurately be known the problem of transmit leg IP address.
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.
Fig. 1 is the schematic flow sheet of the data transmission method for uplink of the embodiment of the invention one.
Fig. 2 is the structural representation of the RTP message of data transmission method for uplink shown in Figure 1.
Fig. 3 is the structural representation of the RTP head of RTP message shown in Figure 2.
Fig. 4 is the structural representation of the transmitting apparatus of the embodiment of the invention two.
Fig. 5 is the schematic flow sheet of the data receive method of the embodiment of the invention three.
Fig. 6 is the structural representation of the receiving equipment of the embodiment of the invention four.
Fig. 7 is the system architecture diagram of the data communication system of the embodiment of the invention five.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the 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 is obtained under the creative work prerequisite.
Embodiment one
Fig. 1 is the schematic flow sheet of the data transmission method for uplink of the embodiment of the invention one.As shown in Figure 1, this data transmission method for uplink may further comprise the steps:
Step S101, transmit leg with to be sent to the recipient data and the virtual ip address of described transmit leg be encapsulated as the load of RTP message, and before described load, add the header of described RTP message; Wherein, carry the type identification of described load in the described header;
Step S102, described transmit leg is sent to described recipient with described RTP message by the RTP passage that described transmit leg and described recipient consult by the Microsoft Loopback Adapter of self in the process of setting up the SIP calling; So that described recipient resolve described RTP message header, according to the type identification of the described load in the described header described load is resolved, and if know that by parsing Microsoft Loopback Adapter that the virtual ip address that carries described transmit leg in the described load then will write self through the described data that parsing obtains is to finish the reception of described data.
Wherein, transmit leg and recipient are for setting up the communicating pair of SIP session.Both sides have consulted the address and the port of RTP passage in the process of setting up the SIP session, in the SIP conversation procedure, voice data of communicating by letter between the both sides or video data are encapsulated as the RTP message and communicate by this RTP passage.
Fig. 2 is the structural representation of the RTP message of data transmission method for uplink shown in Figure 1.As shown in Figure 2, the RTP message comprises message and load two parts, and wherein header comprises physics Ethernet header, IP head, UDP head and RTP head, and load comprises the virtual ip address of transmit leg and data to be sent.More specifically, Fig. 3 is the structural representation of the RTP head of RTP message shown in Figure 2.As shown in Figure 3, the RTP head comprises field V, field P, field X, field CC, field M, field PT, field Sequence Number, field timestamp, field SSRC identifier and field CSRC identifiers.Wherein, in the RTP message when field CSRC identifiers only appears at the blender insertion, and all the other each fields appear in whole RTP messages.Each field implication specifies as follows:
Field V: version number, is used to identify the RTP version by 2;
Field P: fill sign, 1, be used for sign whether filler is set;
Field X: the expansion sign, is used for sign whether extension bits is set by 1; As extension bits is set, fixedly RTP heel one stature expanded;
Field CC: the source is provided, and (4, it comprises the CSRC identifier number that is right after behind fixing RTP head for contribution source, CSRC) counting;
Field M: mark, 1, the explanation of this mark is by being provided with definition, and purpose is to allow critical event to come out at the Bao Liuzhong mark; Other sign positions of definable are set or specify and do not have marker bit by changing bit quantity;
Field PT: (Payload Type PT), 7, is used to identify the RTP payload format and determines its explanation load type; Be provided with and specify the static mappings of load type code, for example comprise audio, video, image, text and html etc. payload format; Other load type codes can be by non-RTP approach Dynamic Definition; The first collection of the default map of Voice ﹠ Video is pointed out in relevant the setting; This field can be supported to further expand;
Field Sequence Number: sequence number, 16; Sequence number increases with each RTP message, is used for the probe messages loss and is recovered sequence of message by the recipient; The sequence number first meeting is at random, makes the text of encrypting is attacked difficulty more;
Field timestamp: timestamp, 32, be used for reflecting the sampling instant of first eight hyte of RTP message, sampling instant must be derived from dull, the linear clock that increases, to allow to be synchronized with Jitter Calculation;
Field SSRC identifier: synchronous source identifier, is used to identify synchronisation source by 32;
Field CSRC identifiers:CSRC tabulation, 0 to 15,32 every; The source that load is worked that comprises in the CSRC tabulation expression bag.Sign quantity is provided by the CC section.
When communicating pair passes through RTP passage transmission voice data or video data in the SIP conversation procedure, the relevant information that needs in the physics Ethernet header of RTP message, to add the physical network card of transmit leg; In the IP head, add recipient's physical IP address; In the UDP head, add the communication port that the SIP session sets up in the process to be consulted; Sign voice data or video data among the field PT in the RTP head; And with voice data to be sent or video data load as the RTP message.If both sides are in the SIP conversation procedure, one side (transmit leg) has the other types data (for example document or remote assistance) except that voice data or video data will send to the opposing party (recipient), then there is following difference in the encapsulation to the RTP message when itself and above-mentioned transmission voice data or video data: at the header of RTP message, sign and the corresponding load type sign of the type of data to be sent among the field PT in the RTP head, this load type be designated except that with voice data and video data other types signs, wherein, communicating pair is made an appointment, and this load type identifies and the analysis mode of the load of corresponding the type; At the load of RTP message, transmit leg with data to be sent together with self virtual ip address as the load of RTP message; The header of this RTP message and load have promptly constituted complete RTP message.Wherein, transmit leg and recipient set in advance separately Microsoft Loopback Adapter and virtual ip address.
Transmit leg by self Microsoft Loopback Adapter with this RTP message by and the recipient between the RTP passage be sent to the recipient.After the recipient receives the RTP message, at first this RTP message is resolved, read each field contents in the header.When the recipient knows by the load type among field PT sign the entrained load data of this RTP message is not during for the voice data of acquiescence or video data, then resolves to detect whether carry virtual ip address in this load the load of this RTP message.If the recipient reads the virtual ip address of transmit leg from the RTP message, know that then having set up virtual IP address between transmit leg and the recipient is connected, promptly this RTP message is that Microsoft Loopback Adapter by transmit leg outwards sends.The recipient handles the data in this load as the data that transmit leg sent that this virtual IP address connects, the data of carrying in the load are sent to the Microsoft Loopback Adapter of self that is:, promptly handles this data by the Microsoft Loopback Adapter reception and according to data type.So far, realized the transmission between the Microsoft Loopback Adapter of transmit leg and recipient's Microsoft Loopback Adapter of this data.
Data transmission method for uplink according to the foregoing description, for the communicating pair that carries out the SIP session, if transmit leg has the other types transfer of data of non-voice/video, the sign load type corresponding sign in the field PT of RTP message then with this data type, and self virtual ip address is sent to the recipient together with data to be sent as the load of the RTP message RTP passage by negotiation formerly; The recipient is if resolve and to know that carrying virtual ip address in the load knows that then the virtual IP address of setting up with transmit leg is connected, and the data of carrying in the load are put Microsoft Loopback Adapter to self.Therefore, virtual IP address by communicating pair connects the communication that has promptly realized the other types data except that video data or voice data, avoided transmit leg and recipient to need authenticate once more with process such as authentication and realized communicating by letter of non-voice/video type data, saved Internet resources and can finish communication fast to set up new passage based on other agreement (for example File Transfer Protocol).And, owing in the RTP message, carry address with the unique corresponding virtual IP of transmit leg, make the recipient directly to determine the transmit leg of this message by resolving this RTP message, realized the transparence of transmit leg for the recipient, avoided when having NAT between the communicating pair, the recipient can not accurately be known the problem of transmit leg IP address.
Further, in the data transmission method for uplink of the foregoing description, described transmit leg with to be sent to the recipient data and the step of virtual ip address as the load of RTP message of described transmit leg before also comprise:
Described transmit leg is set up Microsoft Loopback Adapter and virtual ip address is set.
Further, in the data transmission method for uplink of the foregoing description, the load of described RTP message also comprises the virtual Ethernet header of the Microsoft Loopback Adapter that is used to identify described transmit leg.
Data transmission method for uplink according to the foregoing description, owing to carry the virtual Ethernet header of the Microsoft Loopback Adapter that is used to identify transmit leg in the load of described RTP message, and the RTP message is outwards to send via Microsoft Loopback Adapter, so that the recipient is directly known the network interface card that sends this message, improved the transparency of application program.
Embodiment two
Fig. 4 is the structural representation of the transmitting apparatus of the embodiment of the invention two.As shown in Figure 2, this transmitting apparatus comprises:
Package module 21, be used for to be sent to receiving equipment data and the virtual ip address of transmitting apparatus be encapsulated as the load of RTP message, and before described load, add the header of described RTP message; Wherein, carry the type identification of described load in the described header;
Sending module 22 is used for being sent to described receiving equipment by the Microsoft Loopback Adapter of self is consulted by described transmitting apparatus and described receiving equipment described RTP message in the process of setting up the SIP calling RTP passage; So that described receiving equipment resolve described RTP message header, according to the type identification of the described load in the described header described load is resolved, and if know that by parsing Microsoft Loopback Adapter that the virtual ip address that carries described transmitting apparatus in the described load then will write self through the described data that parsing obtains is to finish the reception of described data.
The flow process that the transmitting apparatus actual figure of the foregoing description reportedly send is identical with embodiment one described data transferring method, so locate to repeat no more.
Transmitting apparatus according to the foregoing description, for the communicating pair that carries out the SIP session, if transmitting apparatus has the other types transfer of data of non-voice/video, the sign load type corresponding sign in the field PT of RTP message then with this data type, and self virtual ip address is sent to receiving equipment together with data to be sent as the load of the RTP message RTP passage by negotiation formerly; Receiving equipment is if resolve and to know that carrying virtual ip address in the load knows that then having set up virtual IP address with transmitting apparatus is connected, and the data of carrying in the load are put Microsoft Loopback Adapter to self.Therefore, virtual IP address by communicating pair connects the communication that has promptly realized the other types data except that video data or voice data, avoided transmitting apparatus and receiving equipment to need authenticate once more with process such as authentication and realized communicating by letter of non-voice/video type data, saved Internet resources and can finish communication fast to set up new passage based on other agreement (for example File Transfer Protocol).And, owing in the RTP message, carry address with the unique corresponding virtual IP of transmitting apparatus, make receiving equipment directly to determine the transmitting apparatus of this message by resolving this RTP message, realized the transparence of transmitting apparatus for receiving equipment, avoided when having NAT between the communicating pair, receiving equipment can not accurately be known the problem of transmit leg IP address.
Further, in the transmitting apparatus of the foregoing description, also comprise:
Configuration module is used to set up Microsoft Loopback Adapter and virtual ip address is set.
Further, in the transmitting apparatus of the foregoing description, the virtual Ethernet header that package module also is used for being used to identify the Microsoft Loopback Adapter of transmit leg is encapsulated in the load of RTP message.
Transmitting apparatus according to the foregoing description, owing to carry the virtual Ethernet header of the Microsoft Loopback Adapter that is used to identify transmitting apparatus in the load of described RTP message, and the RTP message is outwards to send via Microsoft Loopback Adapter, so that the recipient is directly known the network interface card that sends this message, improved the transparency of application program.
Embodiment three
Fig. 5 is the schematic flow sheet of the data receive method of the embodiment of the invention three.As shown in Figure 5, this data receive method comprises:
Step S301, recipient resolve from the header of the RTP message of transmit leg reception, according to the type identification of the described load in the described header described load are resolved; Wherein, carry the type identification of described load in the described header, carry the virtual ip address and the data to the recipient to be sent of described transmit leg in the described load;
Step S302, described recipient is if know that by parsing Microsoft Loopback Adapter that the virtual ip address that carries described transmit leg in the described load then will write self through the described data that parsing obtains is to finish the reception of described data.
Data receive method according to the foregoing description, for the communicating pair that carries out the SIP session, if transmit leg has the other types transfer of data of non-voice/video, the sign load type corresponding sign in the field PT of RTP message then with this data type, and self virtual ip address is sent to the recipient together with data to be sent as the load of the RTP message RTP passage by negotiation formerly; The recipient is if resolve and to know that carrying virtual ip address in the load knows that then the virtual IP address of setting up with transmit leg is connected, and the data of carrying in the load are put Microsoft Loopback Adapter to self.Therefore, virtual IP address by communicating pair connects the communication that has promptly realized the other types data except that video data or voice data, avoided transmit leg and recipient to need authenticate once more with process such as authentication and realized communicating by letter of non-voice/video type data, saved Internet resources and can finish communication fast to set up new passage based on other agreement (for example File Transfer Protocol).And, owing in the RTP message, carry address with the unique corresponding virtual IP of transmit leg, make the recipient directly to determine the transmit leg of this message by resolving this RTP message, realized the transparence of transmit leg for the recipient, avoided when having NAT between the communicating pair, the recipient can not accurately be known the problem of transmit leg IP address.
Further, in the data receive method of the foregoing description, also comprise before then will writing self the step of Microsoft Loopback Adapter through the described data that parsing obtains if know the virtual ip address that carries described transmit leg in the described load by parsing described recipient:
Described recipient sets up Microsoft Loopback Adapter and virtual ip address is set.
Further, in the data receive method of the foregoing description, the load of described RTP message also comprises the virtual Ethernet header of the Microsoft Loopback Adapter that is used to identify described transmit leg.
Data receive method according to the foregoing description, owing to carry the virtual Ethernet header of the Microsoft Loopback Adapter that is used to identify transmit leg in the load of described RTP message, and the RTP message is outwards to send via Microsoft Loopback Adapter, so that the recipient is directly known the network interface card that sends this message, improved the transparency of application program.
Embodiment four
Fig. 6 is the structural representation of the receiving equipment of the embodiment of the invention four.As shown in Figure 4, this receiving equipment comprises:
RTP packet parsing module 41 is resolved from the header of the RTP message of transmitting apparatus reception, according to the type identification of the described load in the described header described load is resolved; Wherein, carry the type identification of described load in the described header, carry the virtual ip address and the data to receiving equipment to be sent of described transmitting apparatus in the described load;
Writing module 42 is used for if know that by parsing Microsoft Loopback Adapter that virtual ip address that described load carries described transmitting apparatus then will write self through the described data that parsing obtains is to finish the reception of described data.
The flow process that the receiving equipment actual figure of the foregoing description reportedly send is identical with the data transferring method of the foregoing description, so locate to repeat no more.
Receiving equipment according to the foregoing description, for the communicating pair that carries out the SIP session, if transmitting apparatus has the other types transfer of data of non-voice/video, the sign load type corresponding sign in the field PT of RTP message then with this data type, and self virtual ip address is sent to receiving equipment together with data to be sent as the load of the RTP message RTP passage by negotiation formerly; Receiving equipment is if resolve and to know that carrying virtual ip address in the load knows that then the virtual IP address of setting up with transmitting apparatus is connected, and the data of carrying in the load are put Microsoft Loopback Adapter to self.Therefore, virtual IP address by communicating pair connects the communication that has promptly realized the other types data except that video data or voice data, avoided transmitting apparatus and receiving equipment to need authenticate once more with process such as authentication and realized communicating by letter of non-voice/video type data, saved Internet resources and can finish communication fast to set up new passage based on other agreement (for example File Transfer Protocol).And, owing in the RTP message, carry address with the unique corresponding virtual IP of transmitting apparatus, make receiving equipment directly to determine to send the transmitting apparatus of this message by resolving this RTP message, realized the transparence of transmitting apparatus for receiving equipment, avoided when having NAT between the communicating pair, receiving equipment can not accurately be known the problem of transmitting apparatus IP address.
Further, in the receiving equipment of the foregoing description, also comprise:
Configuration module is used to set up Microsoft Loopback Adapter and virtual ip address is set.
Embodiment five
Fig. 7 is the system architecture diagram of the data communication system of the embodiment of the invention five.As shown in Figure 7, this data communication system comprises the transmitting apparatus 51 of embodiment two and the receiving equipment 52 of embodiment four,
Data communication system according to the foregoing description, realized setting up the communicating pair of SIP session can be in the SIP conversation procedure communication of the other types data except that video data or voice data, and need not transmitting apparatus and receiving equipment based on other agreement (for example File Transfer Protocol) authenticate once more with processes such as authentication to set up new passage, saved Internet resources and can finish communication fast.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1. a data transmission method for uplink is characterized in that, comprising:
Transmit leg with to be sent to the recipient data and the virtual Internet protocol IP address of described transmit leg be encapsulated as the load of real time transport protocol RTP message, and before described load, add the header of described RTP message; Wherein, carry the type identification of described load in the described header;
Described transmit leg is sent to described recipient with described RTP message by the RTP passage that described transmit leg and described recipient consult by the Microsoft Loopback Adapter of self in the process of setting up SIP SIP calling; So that described recipient resolve described RTP message header, according to the type identification of the described load in the described header described load is resolved, and if know that by parsing Microsoft Loopback Adapter that the virtual ip address that carries described transmit leg in the described load then will write self through the described data that parsing obtains is to finish the reception of described data.
2. data transmission method for uplink according to claim 1 is characterized in that, described transmit leg with to be sent to the recipient data and the step of virtual ip address as the load of RTP message of described transmit leg before also comprise:
Described transmit leg is set up Microsoft Loopback Adapter and virtual ip address is set.
3. data transmission method for uplink according to claim 1 and 2 is characterized in that, the load of described RTP message also comprises the virtual Ethernet header of the Microsoft Loopback Adapter that is used to identify described transmit leg.
4. a transmitting apparatus is characterized in that, comprising:
Package module, be used for to be sent to receiving equipment data and the virtual ip address of transmitting apparatus be encapsulated as the load of RTP message, and before described load, add the header of described RTP message; Wherein, carry the type identification of described load in the described header;
Sending module is used for being sent to described receiving equipment by the Microsoft Loopback Adapter of self is consulted by described transmitting apparatus and described receiving equipment described RTP message in the process of setting up the SIP calling RTP passage; So that described receiving equipment resolve described RTP message header, according to the type identification of the described load in the described header described load is resolved, and if know that by parsing Microsoft Loopback Adapter that the virtual ip address that carries described transmitting apparatus in the described load then will write self through the described data that parsing obtains is to finish the reception of described data.
5. transmitting apparatus according to claim 4 is characterized in that, also comprises:
Configuration module is used to set up Microsoft Loopback Adapter and virtual ip address is set.
6. according to claim 4 or 5 described transmitting apparatus, it is characterized in that the virtual Ethernet header that described package module also is used for being used to identify the Microsoft Loopback Adapter of transmit leg is encapsulated in the load of RTP message.
7. a data receive method is characterized in that, comprising:
The recipient resolves from the header of the RTP message of transmit leg reception, according to the type identification of the described load in the described header described load is resolved; Wherein, carry the type identification of described load in the described header, carry the virtual ip address and the data to the recipient to be sent of described transmit leg in the described load;
Described recipient is if know that by parsing Microsoft Loopback Adapter that the virtual ip address that carries described transmit leg in the described load then will write self through the described data that parsing obtains is to finish the reception of described data.
8. data receive method according to claim 7, it is characterized in that, also comprise before then will writing self the step of Microsoft Loopback Adapter through the described data that parsing obtains if know the virtual ip address that carries described transmit leg in the described load by parsing described recipient:
Described recipient sets up Microsoft Loopback Adapter and virtual ip address is set.
9. according to claim 7 or 8 described data receive methods, it is characterized in that the load of described RTP message also comprises the virtual Ethernet header of the Microsoft Loopback Adapter that is used to identify described transmit leg.
10. a receiving equipment is characterized in that, comprising:
RTP packet parsing module is resolved from the header of the RTP message of transmitting apparatus reception, according to the type identification of the described load in the described header described load is resolved; Wherein, carry the type identification of described load in the described header, carry the virtual ip address and the data to receiving equipment to be sent of described transmitting apparatus in the described load;
Writing module is used for if know that by parsing Microsoft Loopback Adapter that virtual ip address that described load carries described transmitting apparatus then will write self through the described data that parsing obtains is to finish the reception of described data.
11. receiving equipment according to claim 10 is characterized in that, also comprises:
Configuration module is used to set up Microsoft Loopback Adapter and virtual ip address is set.
12. a data communication system is characterized in that, comprises as the arbitrary described transmitting apparatus of claim 4 to 6 with as claim 10 or 11 described receiving equipments.
CN201110191593.0A 2011-07-08 2011-07-08 Data transmission and receiving methods, equipment and systems Active CN102255906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110191593.0A CN102255906B (en) 2011-07-08 2011-07-08 Data transmission and receiving methods, equipment and systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110191593.0A CN102255906B (en) 2011-07-08 2011-07-08 Data transmission and receiving methods, equipment and systems

Publications (2)

Publication Number Publication Date
CN102255906A true CN102255906A (en) 2011-11-23
CN102255906B CN102255906B (en) 2014-07-23

Family

ID=44982902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110191593.0A Active CN102255906B (en) 2011-07-08 2011-07-08 Data transmission and receiving methods, equipment and systems

Country Status (1)

Country Link
CN (1) CN102255906B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167053A (en) * 2011-12-16 2013-06-19 中国移动通信集团公司 Method and equipment for medium face address distribution in Internet protocol (IP) bearer establishment and soft switch system
CN105743549A (en) * 2014-12-10 2016-07-06 展讯通信(上海)有限公司 User terminal, audio Bluetooth play method and digital signal processor thereof
CN106101171A (en) * 2016-05-24 2016-11-09 中国联合网络通信集团有限公司 Server method of attachment and device
CN106921656A (en) * 2017-02-09 2017-07-04 浙江风向标科技有限公司 Multiplex the method and device of transmitting message
CN108206807A (en) * 2016-12-16 2018-06-26 展讯通信(上海)有限公司 The method, device and mobile terminal of shared information in call
CN110035072A (en) * 2013-07-05 2019-07-19 索尼公司 Receiving device and method of reseptance
CN110753095A (en) * 2019-10-09 2020-02-04 苏州浪潮智能科技有限公司 Data processing method and device of network card and storage medium
CN111585962A (en) * 2020-04-08 2020-08-25 深圳震有科技股份有限公司 RTP data packet processing method, system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6839339B1 (en) * 2000-02-02 2005-01-04 Lucent Technologies Inc. Header compression for general packet radio service tunneling protocol (GTP)-encapsulated packets
CN1885856A (en) * 2005-06-20 2006-12-27 华为技术有限公司 Realization method for recognizing RTP media stream in network
CN101047711A (en) * 2006-04-27 2007-10-03 华为技术有限公司 Method for IP message transmitting, bargaining bandwidth saving ability and saving network bandwidth

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6839339B1 (en) * 2000-02-02 2005-01-04 Lucent Technologies Inc. Header compression for general packet radio service tunneling protocol (GTP)-encapsulated packets
CN1885856A (en) * 2005-06-20 2006-12-27 华为技术有限公司 Realization method for recognizing RTP media stream in network
CN101047711A (en) * 2006-04-27 2007-10-03 华为技术有限公司 Method for IP message transmitting, bargaining bandwidth saving ability and saving network bandwidth

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167053A (en) * 2011-12-16 2013-06-19 中国移动通信集团公司 Method and equipment for medium face address distribution in Internet protocol (IP) bearer establishment and soft switch system
CN103167053B (en) * 2011-12-16 2016-06-29 中国移动通信集团公司 IP carries the medium surface address distribution method in setting up, equipment and soft switchcall server
US11683402B2 (en) 2013-07-05 2023-06-20 Saturn Licensing Llc Transmission apparatus, transmission method, reception apparatus, and reception method
CN110035072B (en) * 2013-07-05 2021-06-11 索尼公司 Receiving apparatus and receiving method
US10992789B2 (en) 2013-07-05 2021-04-27 Saturn Licensing Llc Transmission apparatus, transmission method, reception apparatus, and reception method
CN110035072A (en) * 2013-07-05 2019-07-19 索尼公司 Receiving device and method of reseptance
CN105743549A (en) * 2014-12-10 2016-07-06 展讯通信(上海)有限公司 User terminal, audio Bluetooth play method and digital signal processor thereof
US10007479B2 (en) 2014-12-10 2018-06-26 Spreadtrum Communications (Shanghai) Co., Ltd. User terminal, method for playing audio data via bluetooth, and digital signal processor
CN105743549B (en) * 2014-12-10 2019-02-01 展讯通信(上海)有限公司 User terminal and its audio bluetooth playback method, digital signal processor
CN106101171B (en) * 2016-05-24 2019-12-03 中国联合网络通信集团有限公司 Server connection method and device
CN106101171A (en) * 2016-05-24 2016-11-09 中国联合网络通信集团有限公司 Server method of attachment and device
CN108206807A (en) * 2016-12-16 2018-06-26 展讯通信(上海)有限公司 The method, device and mobile terminal of shared information in call
CN106921656A (en) * 2017-02-09 2017-07-04 浙江风向标科技有限公司 Multiplex the method and device of transmitting message
CN110753095A (en) * 2019-10-09 2020-02-04 苏州浪潮智能科技有限公司 Data processing method and device of network card and storage medium
CN111585962A (en) * 2020-04-08 2020-08-25 深圳震有科技股份有限公司 RTP data packet processing method, system and storage medium

Also Published As

Publication number Publication date
CN102255906B (en) 2014-07-23

Similar Documents

Publication Publication Date Title
CN102255906B (en) Data transmission and receiving methods, equipment and systems
CN101317404B (en) Method and system for transmitting and negotiating band width economization ability by IP packet, and method and system for economizing network band width
WO2017101084A1 (en) Method and device for protocol conversion
CN101438525B (en) Method and apparatus for end-to-end clear transport protocol
WO2006055280A9 (en) Method and apparatus for proving push-to-talk services to non-push-to-talk enabled networks
CN104735747A (en) Information transferring and receiving method and internet-of-things equipment
US8599754B2 (en) Method, device, and system for configuring multicast broadcast single frequency network resources
KR20080020692A (en) System and method for reducing information communicated between universal mobile telecommunication system multimedia capable units
CN101605342B (en) Method, system and device for monitoring communication contents in IMS network
EP1764953A1 (en) Communication system, key distribution control device, and radio lan base station device
CN103428895A (en) Communication establishment method, mobile station and transferring device based on transferring mode
CN102932461A (en) Network acceleration transmission method and device
CN101039325B (en) Method for configuring real-time transmission protocol packet based on mixer
DE50210901D1 (en) BROWSIBLE COMMUNICATION SYSTEM AND CLIENT AND SERVER FOR SUCH A COMMUNICATION SYSTEM
CN101426189B (en) Method and system for additional information transmission
CN102282886B (en) Method, mobile terminal, device and system for implementing voice services
CN101404606B (en) Packet tunnel packaging structure and network tunnel management method
US10819765B2 (en) Method and system for negotiation of media between communication devices for multiplexing multiple media types
CN101296205A (en) Method, equipment and system for implementing transparent transmission in IP network or hybrid network
CN101925021A (en) Method/system for processing messages and convergence service system
CN105634911A (en) Session establishing method and device
CN106941732B (en) Reconnection method, reconnection system and WFD (Windows presentation device)
WO2023155739A1 (en) Data transmission method, network device, and user equipment
WO2021063369A1 (en) Method and device for message processing and network equipment
US8165158B2 (en) Method/system for processing messages and converged service system

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