CN102215240B - Streaming media signalling sending method and equipment as well as point-to-point streaming media system - Google Patents

Streaming media signalling sending method and equipment as well as point-to-point streaming media system Download PDF

Info

Publication number
CN102215240B
CN102215240B CN201010141160XA CN201010141160A CN102215240B CN 102215240 B CN102215240 B CN 102215240B CN 201010141160X A CN201010141160X A CN 201010141160XA CN 201010141160 A CN201010141160 A CN 201010141160A CN 102215240 B CN102215240 B CN 102215240B
Authority
CN
China
Prior art keywords
terminal
streaming media
signaling
identification information
receives
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
CN201010141160XA
Other languages
Chinese (zh)
Other versions
CN102215240A (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 Mobile Communications Group Co Ltd
Original Assignee
China Mobile 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 Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201010141160XA priority Critical patent/CN102215240B/en
Publication of CN102215240A publication Critical patent/CN102215240A/en
Application granted granted Critical
Publication of CN102215240B publication Critical patent/CN102215240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses streaming media signalling sending method and equipment as well as a point-to-point streaming media system. The streaming media signalling sending method particularly comprises the following steps of: receiving a streaming media signalling sent by a first terminal through an index server in the point-to-point streaming media system, wherein the streaming media signalling is carried with signalling type information and the terminal identification information of a second terminal; determining that the received streaming media signalling is a streaming media signalling to be sent to other terminals by the first terminal according to the received signalling type information; and forwarding the received streaming media signalling to the second terminal according to the received terminal identification information of the second terminal. According to the technical scheme disclosed by the invention, the index server can learn the inter-behaviors between the terminals, and a foundation is provided for the monitoring of the index server on the data transmission between the terminals.

Description

Streaming Media signaling method and equipment and point-to-point stream media system
Technical field
The present invention relates to the stream media technology field, particularly a kind of Streaming Media signaling method and equipment and point-to-point stream media system.
Background technology
point-to-point (P2P, Peer To Peer) in stream media system, according to fixed size, streaming media resource is divided into to several Resource Block to realize scheduling of resource, the terminal that has a streaming media resource regularly issue (Put) signaling by resource the Resource Block of owned streaming media resource piece sign is notified to index (Tracker) server, if the terminal A in the P2P stream media system need to obtain streaming media resource piece 1, terminal A directly sends and obtains (Get) signaling to the Tracker server, the Tracker server returns to terminal list (Peer List) to terminal A, in Peer List, comprise the address information of all terminals that have streaming media resource piece 1, terminal A selects the address information of a terminal in Peer List, then according to the address information of selecting, directly with corresponding terminal, carry out session negotiation, data from 1 carrying of download stream media resource piece corresponding terminal.
As shown in Figure 1, streaming media resource acquisition methods flow chart in prior art, its concrete processing procedure is as follows:
Step 11, terminal B regularly sends the Put signaling to the Tracker server, in this Put signaling, carries the Resource Block identification information of all streaming media resource pieces that terminal B has;
Step 12, the corresponding relation of the Resource Block identification information of the streaming media resource piece that stores the terminal address information of each terminal in the P2P stream media system in the Tracker server and have, after the Tracker server receives the Put signaling, the terminal address information of storage and the corresponding relation of Resource Block identification information are upgraded;
Step 13, the Tracker server is confirmed (ACK, Acknowledgment) signaling to terminal B feedback Put;
Step 14, if terminal A needs download stream media resource piece 1, terminal A sends the Get signaling to the Tracker server, in this Get signaling, carries the Resource Block identification information of streaming media resource piece 1;
Step 15, the Tracker server is according to the Resource Block identification information of the streaming media resource piece 1 that receives, in the corresponding relation of the terminal address information of self storing and Resource Block identification information, search the address information of the terminal that stores streaming media resource piece 1, suppose that terminal B stores streaming media resource piece 1, the Tracker whois lookup to address information in comprise the address information of terminal B;
Step 16, Tracker server be to terminal A feedback GetACK signaling, in this GetACK signaling, comprises the Peer List that the address information by the terminal that finds forms;
Step 17, terminal A selects the address information of the terminal B that streaming media resource piece 1 is provided in the Peer List that receives;
Step 18, terminal A, according to the address information of the terminal B that selects, sends session connection to terminal B and sets up demand signalling, and the Resource Block identification information of the streaming media resource piece 1 that carries terminal A acquisition request is set up in demand signalling in this session connection;
Step 19, terminal B connects and sets up the confirmation signaling to terminal A feeding back conversation, and the Resource Block identification information of confirming to comprise in signaling streaming media resource piece 1 is set up in this session connection;
Step 110, after terminal A receives session connection foundation confirmation signaling, from the data of 1 carrying of download stream media resource piece terminal B.
As can be known by above-mentioned processing procedure, in the P2P stream media system, the terminal of acquisition request streaming media resource directly by session connection, sets up demand signalling and the confirmation signaling is set up in session connection and provide the terminal of streaming media resource to consult to carry out transfer of data, therefore the Tracker server can't be known the interbehavior between terminal, thereby make, can't monitor the transfer of data of terminal room.
Summary of the invention
The embodiment of the present invention provides a kind of Streaming Media signaling method and equipment and point-to-point stream media system, make the Tracker server can know the interbehavior between terminal, for the Tracker server is monitored and provided the foundation the transfer of data of terminal room.
Embodiment of the present invention technical scheme is as follows:
A kind of Streaming Media signaling method, the method comprising the steps of: in point-to-point stream media system, index server receives the Streaming Media signaling that first terminal sends, and in described Streaming Media signaling, carries the terminal identification information of signaling type information and the second terminal; And according to the signaling type information that receives, determining the Streaming Media signaling that receives is the described first terminal Streaming Media signaling to other-end to be sent; And according to the terminal identification information of the second terminal that receives, the Streaming Media signaling that receives is transmitted to described the second terminal.
A kind of index server, be arranged in point-to-point stream media system, comprising: the first receiving element, be used to receiving the Streaming Media signaling of first terminal transmission, carries the terminal identification information of signaling type information and the second terminal in described Streaming Media signaling; The first determining unit, for the signaling type information that receives according to the first receiving element, determine whether the Streaming Media signaling that the first receiving element receives is the described first terminal Streaming Media signaling to other-end to be sent; Retransmission unit, for in the first determining unit, determining the Streaming Media signaling that the first receiving element receives, be that described first terminal is to be sent to after the Streaming Media signaling of other-end, the terminal identification information of the second terminal that receives according to the first receiving element, be transmitted to described the second terminal by described Streaming Media signaling.
A kind of terminal, be arranged in point-to-point stream media system, comprising: plug-in unit, for when described terminal need to send the Streaming Media signaling to other-end, is inserted into the terminal identification information of signaling type information and described other-end in described Streaming Media signaling; Transmitting element, for the Streaming Media signaling of plug-in unit having been inserted to the terminal identification information of signaling type information and described other-end, send to the index server of described point-to-point stream media system, indicate described index server that described Streaming Media signaling is transmitted to described other-end.
A kind of point-to-point stream media system, comprise: terminal, for when described terminal need to send the Streaming Media signaling to other-end, the terminal identification information of signaling type information and described other-end is inserted in described Streaming Media signaling, and the Streaming Media signaling that will insert the terminal identification information of signaling type information and described other-end sends to index server; Index server, the Streaming Media signaling that sends for receiving described terminal, and according to the signaling type information of carrying in the Streaming Media signaling that receives, determining the Streaming Media signaling that receives is the described terminal Streaming Media signaling to other-end to be sent, and according to the terminal identification information of the described other-end that receives, the Streaming Media signaling that receives is transmitted to described other-end.
in embodiment of the present invention technical scheme, Tracker server in the P2P stream media system receives the Streaming Media signaling that first terminal sends, in this Streaming Media signaling, carry the terminal identification information of signaling type information and the second terminal, according to the signaling type information that receives, determining the Streaming Media signaling that receives is the first terminal Streaming Media signaling to other-end to be sent, and according to the terminal identification information of the second terminal that receives, the Streaming Media signaling that receives is transmitted to above-mentioned the second terminal, that is to say in the P2P stream media system, the Streaming Media signaling of terminal room forwards by the Tracker server, the Tracker server just can be known the interbehavior between terminal so, thereby for the transfer of data between monitoring terminal provides the foundation.
The accompanying drawing explanation
Fig. 1 is in prior art, streaming media resource acquisition methods schematic flow sheet;
Fig. 2 is in the embodiment of the present invention, Streaming Media signaling method schematic flow sheet;
Fig. 3 is in the embodiment of the present invention, Streaming Media signaling method specific implementation schematic flow sheet;
Fig. 4 is in the embodiment of the present invention, Tracker server architecture schematic diagram;
Fig. 5 is in the embodiment of the present invention, the terminal structure schematic diagram;
Fig. 6 is in the embodiment of the present invention, P2P stream media system structural representation.
Embodiment
Below in conjunction with each accompanying drawing, embodiment of the present invention technical scheme main realized to principle, embodiment and the beneficial effect that should be able to reach is at length set forth.
As shown in Figure 2, in the embodiment of the present invention, Streaming Media signaling method flow chart, its concrete processing procedure is as follows:
Step 21, in the P2P stream media system, the Tracker server receives the Streaming Media signaling that first terminal sends, and in this Streaming Media signaling, carries the terminal identification information of signaling type information and the second terminal;
Wherein, the terminal identification information of the second terminal that the Tracker server receives can be, but not limited to the identity information into address information or this second terminal of this second terminal, the address information of terminal comprises IP address and the port numbers of this terminal, and the identity information of terminal can be the unique identification code of this terminal.
Step 22, Tracker server are according to the signaling type information that receives, and determining the Streaming Media signaling that receives is the above-mentioned first terminal Streaming Media signaling to other-end to be sent;
In the embodiment of the present invention, the first terminal Streaming Media signaling of other-end of giving to be sent can be, but not limited to as following signaling:
Demand signalling is set up in session connection, session connection is set up and confirmed that demand signalling is removed in signaling, session connection or the confirmation signaling is removed in session connection.
At the Tracker server, receive before session connection that first terminal sends sets up demand signalling, can further include following step:
The terminal iidentification that receives the first terminal transmission obtains demand signalling, this terminal iidentification obtains in demand signalling the Resource Block identification information of the streaming media resource piece that carries the first terminal acquisition request, then according to the Resource Block identification information that receives, in the corresponding relation of Resource Block identification information and terminal identification information, search the terminal identification information of the terminal that stores this streaming media resource piece, the terminal identification information that finds is sent to first terminal.
if Y the Resource Block of first terminal acquisition request film X, the Resource Block identification information of the streaming media resource piece of first terminal acquisition request can be, but not limited to as (Movie X so, Chunk Y), first terminal sends and carries (Movie X to the Tracker server, Chunk Y) terminal iidentification obtains demand signalling, because each terminal in the P2P stream media system is all regularly issued the Resource Block information of the streaming media resource piece of self storing to the Tracker server, therefore in the Tracker server, just store the corresponding relation of Resource Block identification information and terminal identification information, the Tracker server is in above-mentioned corresponding relation, search the terminal identification information of the terminal of Y the Resource Block that stores film X, and each terminal identification information composition Peer List that will find sends to first terminal.
Wherein, for prevent first terminal directly and Peer List in terminal directly communicate, the embodiment of the present invention proposes, the terminal identification information that comprises in the Peer List that the Tracker server sends is the identity information of each terminal, rather than address information, therefore first terminal can not be directly and each terminal communicate, signaling must be passed through to the forwarding of Tracker server.
Terminal A can select arbitrarily a terminal to carry out transfer of data in Peer List, in addition, in order to make terminal A select the high terminal of transmission rate to carry out transfer of data, the Tracker server can also comprise each terminal transmission speed in sending to the Peer List of terminal A, terminal A, after receiving Peer List, selects the high terminal of transmission rate that the data of streaming media resource piece are provided for terminal A.
Step 23, Tracker, according to the terminal identification information of the second terminal that receives, is transmitted to above-mentioned the second terminal by the Streaming Media signaling that receives.
If the terminal identification information of the second terminal that the Tracker server receives is the address information of the second terminal, the Tracker server can, directly according to the address information of the second terminal, be transmitted to the second terminal by the Streaming Media signaling that receives so;
if the terminal identification information of the second terminal that the Tracker server receives is the identity information of the second terminal, the Tracker server need to first be determined the address information of the second terminal so, because terminal can periodically be notified the server to Tracker by the IP address of self and port, in the Tracker server, just store the address information of each terminal and the corresponding relation of identity information, therefore the Tracker server can be according to the identity information of the second terminal that receives, in above-mentioned corresponding relation, search the address information of the second terminal, again according to the address information that finds, the Streaming Media signaling that receives is transmitted to the second terminal.
first terminal comprises three parts to the Streaming Media signaling that the Tracker server sends, transmission head, heading and data segment, wherein in transmission head, comprise source node IP address and port (being IP address and the port of first terminal) and destination node IP address and port (being IP address and the port of Tracker server), in heading, comprise signaling type information, the terminal identification information of first terminal, the terminal identification information of the second terminal etc., the Resource Block identification information that comprises the streaming media resource piece of first terminal acquisition request in data segment, the address information of first terminal, the address information of Tracker server etc.
The Tracker server is according to the address information that finds, and the process that the Streaming Media signaling that receives is transmitted to the second terminal can be, but not limited to as following:
The address information of the first terminal that comprises in the data segment of the Streaming Media signaling that at first will receive, replace with the address information of Tracker server, and the address information of the Tracker server that comprises in the data segment of the Streaming Media signaling that will receive, replace with the address information of the second terminal that finds, then will be transmitted to the second terminal through the Streaming Media signaling that address information is replaced after processing.
Before Tracker server forwarding stream media signaling, by the source node IP address of the transmission head of the Streaming Media signaling that receives and IP address and the port that port replaces with self, then the IP address of destination node and port are replaced with to IP address and the port of the second terminal.
because some terminal in the P2P stream media system may be in LAN, therefore other-end or server need to communicate according to the private net address of this terminal, and in prior art, the Tracker server is in the Peer List of the terminal transmission of acquisition request streaming media resource piece, the address information of each terminal generally is the public network address information of terminal, if to corresponding terminal, send the Streaming Media signaling according to public network address information, may there is the failed problem that sends, and in embodiment of the present invention technical scheme, all Streaming Media signalings of terminal room forward by the Tracker server, and the Tracker server stores has the public network IP address of each terminal and the corresponding relation of private network IP address, therefore what the Tracker server can be by the success of Streaming Media signaling sends to the purpose terminal.
In addition, the Tracker server also, further according to the Streaming Media signaling that forwards, is monitored the transfer of data between first terminal and the second terminal, can be, but not limited to comprise following several monitoring mode:
To the data traffic of transmitting between first terminal and the second terminal add up, to transmission between first terminal and the second terminal during data, the average transmission rate of the second terminal is added up or the video-on-demand times of the streaming media resource piece of the data transmitted between carrying first terminal and the second terminal is added up.
Below introduce in detail the concrete performance of various monitoring modes.
the first monitoring mode, the data traffic of transmitting between first terminal and the second terminal is added up: the Tracker server receives the session connection of first terminal transmission and sets up demand signalling, in this signaling, carry the Resource Block identification information of the streaming media resource piece of first terminal acquisition request, wherein the session connection of first terminal transmission is set up in demand signalling and is also comprised at least one transmission rate information, to treat the second terminal, select, the second terminal is after demand signalling is set up in the session connection that receives the forwarding of Tracker server, can in the transmission rate information that first terminal provides, select one, then the transmission rate information of selection being carried to session connection foundation confirms to send to the Tracker server in signaling, the second terminal can not selected yet in the transmission rate information that first terminal provides, but directly the transmission rate information that self can provide is carried to session connection foundation, confirm to send to the Tracker server in signaling, the Tracker server is after receiving session connection foundation confirmation signaling, the time point of this signaling that record receives, and record the transmission rate information of carrying in this signaling, when the Tracker server receives the session connection dismounting demand signalling of first terminal transmission, confirm that first terminal and the second terminal have completed transfer of data, record time point at this moment, calculate the time span between two time points that record, then the transmission rate of this time span and record is carried out to product calculation, just can obtain the data traffic of transmitting between first terminal and the second terminal,
the second monitoring mode, to transmission between first terminal and the second terminal during data, the average transmission rate of the second terminal is added up: because the terminal in the P2P stream media system can regularly send keep-alive (Keep Live) signaling to the Tracker server, in this Keep Live signaling, carry the instantaneous transmission speed information of this terminal, Tracker server statistics receives session connection and sets up in the time period of confirming signaling and session connection dismounting demand signalling, each instantaneous transmission speed information of the second terminal that the Tracker server is received, and then calculating mean value, the mean value that calculates is between first terminal and the second terminal while transmitting data, the average transmission rate of the second terminal,
the third monitoring mode, add up the video-on-demand times of the streaming media resource piece of the data transmitted between carrying first terminal and the second terminal, the Tracker server is after demand signalling is set up in the session connection that receives the first terminal transmission, Resource Block identification information according to the streaming media resource piece that carries in this signaling, the number of times that obtains to the streaming media resource piece of first terminal acquisition request upgrades, the Tracker server is regularly added up the number of times that obtains of every flow media resource piece, if within certain time period, there is N terminal request to obtain this streaming media resource piece, to obtain the number of times that obtains of this streaming media resource piece be N for Tracker server statistics, the streaming media resource piece of first terminal acquisition request obtain the video-on-demand times that number of times is the streaming media resource piece of the data of transmitting between carrying first terminal and the second terminal.
After transfer of data between first terminal and the second terminal was monitored, the Tracker server can be processed accordingly according to monitoring result, wherein:
The data traffic of transmitting between first terminal and the second terminal is added up, can be used for the transfer of data of first terminal and the second terminal room is carried out to charging;
to transmission between first terminal and the second terminal during data, after the average transmission rate of the second terminal is added up, if this average transmission rate is not less than setting threshold, the second terminal is defined as to first kind terminal, if this average transmission rate is less than setting threshold, the second terminal is defined as to the Equations of The Second Kind terminal, transmission rate during first kind terminal transmission data is larger, therefore transmission quality is better, transmission rate during Equations of The Second Kind terminal transmission data is less, therefore transmission quality is poor, after the terminal iidentification that the terminal of follow-up Tracker server in receiving the P2P stream media system sends obtains demand signalling, can send the Peer List that comprises the terminal identification information that finds to this terminal, this moment, the Tracker server can be in each terminal identification information that finds, determine the terminal identification information of the terminal that belongs to first kind terminal, then the terminal identification information that only will determine is carried in Peer List and sends to above-mentioned transmitting terminal sign to obtain the terminal of demand signalling, that is to say and only send the transmission quality terminal identification information of terminal preferably, this has just improved the efficiency of transmission of terminal room.In the embodiment of the present invention, above-mentioned setting threshold can be, but not limited to adopt following method to determine: at first to each terminal in this P2P stream media system sometime the section in average transmission rate add up, the average transmission rate of each terminal that then statistics is obtained is weighted average calculating operation, and operation result is above-mentioned setting threshold;
Video-on-demand times to the streaming media resource piece of the data transmitted between carrying first terminal and the second terminal is added up, can determine the cold and hot degree of streaming media resource and the cold and hot degree of interior each Resource Block of this streaming media resource, thereby can formulate relevant every treatment measures according to the cold and hot degree of determining, for example, for the more streaming media resource of video-on-demand times, can increase the quantity of copy.
If the Tracker server repeats to receive the first terminal Streaming Media signaling to the second terminal and the same streaming media resource piece of acquisition request to be sent, show that this Streaming Media signaling is for retransmitting demand signalling, if the number of times that retransmits surpasses the threshold value of regulation, think that the second terminal has disconnected and being connected of network, end to forward this signaling.
as can be known by above-mentioned processing procedure, in embodiment of the present invention technical scheme, Tracker server in the P2P stream media system receives the Streaming Media signaling that first terminal sends, in this Streaming Media signaling, carry the terminal identification information of signaling type information and the second terminal, according to the signaling type information that receives, determining the Streaming Media signaling that receives is the first terminal Streaming Media signaling to other-end to be sent, and according to the terminal identification information of the second terminal that receives, the Streaming Media signaling that receives is transmitted to above-mentioned the second terminal, that is to say in the P2P stream media system, the Streaming Media signaling of terminal room forwards by the Tracker server, the Tracker server just can be known the interbehavior between terminal so, thereby for the transfer of data between monitoring terminal provides the foundation.
Below provide more specifically execution mode.
As shown in Figure 3, in the embodiment of the present invention, Streaming Media signaling method specific implementation schematic flow sheet, its concrete processing procedure is as follows:
Step 31, Y the Resource Block of X if terminal A need to download movies, terminal A obtains demand signalling to Tracker server transmitting terminal sign, this terminal iidentification obtains in demand signalling the Resource Block identification information (Movie X, Chunk Y) of the streaming media resource piece that carries acquisition request;
Step 32, the Tracker server is according to (the Movie X that receives, Chunk Y), in the corresponding relation of the terminal identity information of storing and Resource Block information, search the identity information of the terminal that stores (Movie X, Chunk Y), wherein terminal B stores streaming media resource piece (Movie X, Chunk Y), the Tracker whois lookup to identity information in comprise the identity information of terminal B;
Step 33, the Tracker server is determined the transmission rate of each terminal that finds;
Step 34, the Tracker server obtains the confirmation signaling to terminal A feedback terminal sign, and this terminal iidentification obtains confirms in signaling to comprise the PeerList that identity information and transmission rate by the terminal that finds form;
Step 35, terminal A, according to the transmission rate of each terminal in Peer List, selects the highest terminal B of transmission rate to provide streaming media resource piece (Movie X, ChunkY) for terminal A;
Step 36, terminal A sends the session connection to terminal B to be sent to the Tracker server and sets up demand signalling, this session connection is set up in the transmission head of demand signalling and is comprised the IP address of terminal A and IP address and the port of port and Tracker server, in heading, comprise the identity information of signaling type information, terminal A, the identity information of terminal B, in data segment, comprise the IP address of terminal A and the IP address of Tracker server;
Step 37, the Tracker server is according to the signaling type information that comprises in heading, determine that this signaling is that terminal A is to be sent to other-end, the Tracker server is according to the identity information of the terminal B that comprises in heading, in the corresponding relation of the address information of the identity information of terminal of storage and terminal, the address information of searching terminal B;
Step 38, the Tracker server replaces with the source IP address in transmission head and port self IP address and port, purpose IP address and port are replaced with to IP address and the port of the terminal B that finds, the IP address of terminal A in data segment is replaced with to the IP address of Tracker server, the IP address of the Tracker server in data segment is replaced with to the IP address of terminal A;
Step 39, the Tracker server is set up demand signalling by the session connection after step 38 is processed and is transmitted to terminal B;
Step 310, terminal B sends session connection to the Tracker server and sets up the confirmation signaling;
Step 311, the session connection that the Tracker server will receive are set up and are confirmed that signaling is transmitted to terminal A, and this moment, terminal A and terminal B completed the negotiation that session connection is set up;
Step 312, terminal B directly sends the data of streaming media resource piece (Movie X, Chunk Y) to terminal A;
Step 313, when terminal B completed the transfer of data of streaming media resource piece (Movie X, Chunk Y), terminal A sent the session connection to terminal B to be sent to the Tracker server and removes demand signalling as terminal A;
Step 314, the session connection that the Tracker server will receive is removed demand signalling and is transmitted to terminal B;
Step 315, terminal B sends the session connection to terminal A to be sent to the Tracker server and removes the confirmation signaling;
Step 316, the session connection that the Tracker server will receive are removed and are confirmed that signaling is transmitted to terminal A, and this moment, terminal A and terminal B just completed the negotiation that session signaling is removed.
The embodiment of the present invention provides a kind of Tracker server, is arranged in the P2P stream media system, and as shown in Figure 4, this Tracker server comprises the first receiving element 41, the first determining unit 42 and retransmission unit 43, wherein:
The first receiving element 41, be used to receiving the Streaming Media signaling of first terminal transmission, carry the terminal identification information of signaling type information and the second terminal in this Streaming Media signaling;
The first determining unit 42, for the signaling type information that receives according to the first receiving element 41, determine whether the Streaming Media signaling that the first receiving element 41 receives is the first terminal Streaming Media signaling to other-end to be sent;
Retransmission unit 43, for in the first determining unit 42, determining the Streaming Media signaling that the first receiving element 41 receives, be that first terminal is to be sent to after the Streaming Media signaling of other-end, the terminal identification information of the second terminal that receives according to the first receiving element 41, be transmitted to the second terminal by this Streaming Media signaling.
Preferably, the Streaming Media signaling that receives of the first receiving element 41 is:
Demand signalling is set up in session connection; Or
Session connection is set up and is confirmed signaling; Or
Demand signalling is removed in session connection; Or
Session connection is removed and is confirmed signaling.
Preferably, the terminal identification information of the second terminal of receiving of the first receiving element 41 is the address information of the second terminal.
More preferably, if the terminal identification information of the second terminal that the first receiving element 41 receives is the identity information of the second terminal, retransmission unit 43 specifically comprises and searches subelement and forward subelement, wherein:
Search subelement, for the identity information of the second terminal of receiving according to the first receiving element 41, in the corresponding relation of terminal identity information and terminal address information, search the address information of the second terminal;
Forward subelement, for basis, search the address information that subelement finds, the Streaming Media signaling that the first receiving element 41 is received is transmitted to the second terminal.
More preferably, in the data segment of the Streaming Media signaling that receives of the first receiving element 41, comprise the address information of first terminal and the address information of Tracker server;
Forward subelement and specifically comprise the first replacement module, the second replacement module and forwarding module, wherein:
The first replacement module, the address information of the first terminal that comprises in the data segment for Streaming Media signaling that the first receiving element 41 is received, replace with the address information of Tracker server;
The second replacement module, the address information of the Tracker server that comprises in the data segment for Streaming Media signaling that the first receiving element 41 is received, replace with the address information of searching the second terminal that subelement finds;
Forwarding module, be transmitted to the second terminal for carrying out the Streaming Media signaling that address information replaces after processing through the first replacement module and the second replacement module.
Preferably, this Tracker server also comprises monitoring means, for the Streaming Media signaling that forwards according to retransmission unit 43, the transfer of data between first terminal and the second terminal is monitored.
More preferably, above-mentioned monitoring means is added up the data traffic of transmitting between first terminal and the second terminal; Or between first terminal and the second terminal, transmission is during data, the average transmission rate of the second terminal is added up; Or the video-on-demand times of the streaming media resource piece of the data transmitted between carrying first terminal and the second terminal is added up.
More preferably, if monitoring means to transmission between first terminal and the second terminal during data the average transmission rate of the second terminal add up, this Tracker server also comprises judging unit, the second determining unit, the second receiving element, searches unit and the 3rd determining unit, wherein:
Judging unit, be used to judging that whether average transmission rate that monitoring means statistics obtains is less than default setting threshold;
The second determining unit, when the determination result is NO at judging unit, be defined as first kind terminal by the second terminal, and when judgment result is that of judging unit is, the second terminal be defined as to the Equations of The Second Kind terminal;
The second receiving element, the terminal iidentification that sends for the terminal of the described point-to-point stream media system of follow-up reception, carry the Resource Block identification information of the streaming media resource piece that this terminal request obtains obtains demand signalling;
Search unit, for the Resource Block identification information that receives according to the second receiving element, in the corresponding relation of Resource Block identification information and terminal identification information, search the terminal identification information of the terminal that stores above-mentioned streaming media resource piece;
The 3rd determining unit, for the terminal identification information searching unit and finding, determine the terminal identification information of each terminal that belongs to first kind terminal;
Transmitting element, send to and send the terminal that above-mentioned terminal iidentification obtains demand signalling for the terminal identification information that the 3rd determining unit is determined.
The embodiment of the present invention also provides a kind of terminal, is arranged in the P2P stream media system, and its structure as shown in Figure 5, comprises plug-in unit 51 and transmitting element 52, wherein:
Plug-in unit 51, for when this terminal need to send the Streaming Media signaling to other-end, be inserted into the terminal identification information of signaling type information and above-mentioned other-end in above-mentioned Streaming Media signaling;
Transmitting element 52, for the Streaming Media signaling of plug-in unit 51 having been inserted to the terminal identification information of signaling type information and above-mentioned other-end, send to the Tracker server of P2P stream media system, indication Tracker server is transmitted to above-mentioned other-end by above-mentioned Streaming Media signaling.
Accordingly, the embodiment of the present invention also provides a kind of P2P stream media system, and its structure as shown in Figure 6, comprises terminal 61 and Tracker server 62, wherein:
Terminal 61, for when this terminal need to send the Streaming Media signaling to other-end, the terminal identification information of signaling type information and above-mentioned other-end is inserted in above-mentioned Streaming Media signaling, and the Streaming Media signaling that will insert the terminal identification information of signaling type information and above-mentioned other-end sends to Tracker server 62;
Tracker server 62, Streaming Media signaling for receiving terminal 61 transmissions, and according to the signaling type information of carrying in the Streaming Media signaling that receives, determining the Streaming Media signaling that receives is the terminal 61 Streaming Media signaling to other-end to be sent, and according to the terminal identification information of the above-mentioned other-end that receives, the Streaming Media signaling that receives is transmitted to above-mentioned other-end.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.

Claims (15)

1. a Streaming Media signaling method, is characterized in that, comprising:
In point-to-point stream media system, index server receives the Streaming Media signaling that first terminal sends, and in described Streaming Media signaling, carries the terminal identification information of signaling type information and the second terminal; And
According to the signaling type information that receives, determining the Streaming Media signaling that receives is the described first terminal Streaming Media signaling to other-end to be sent; And
According to the terminal identification information of the second terminal that receives, the Streaming Media signaling that receives is transmitted to described the second terminal;
Described index server, according to the Streaming Media signaling that forwards, is monitored the transfer of data between first terminal and the second terminal.
2. Streaming Media signaling method as claimed in claim 1, is characterized in that, the Streaming Media signaling that described index server receives is:
Demand signalling is set up in session connection; Or
Session connection is set up and is confirmed signaling; Or
Demand signalling is removed in session connection; Or
Session connection is removed and is confirmed signaling.
3. Streaming Media signaling method as claimed in claim 1, is characterized in that, the terminal identification information of described the second terminal is the address information of described the second terminal.
4. Streaming Media signaling method as claimed in claim 1, it is characterized in that, the terminal identification information of described the second terminal is the identity information of described the second terminal, according to the terminal identification information of the second terminal of receiving, the signaling that receives is transmitted to described the second terminal, specifically comprises:
According to the identity information of the second terminal that receives, in the corresponding relation of terminal identity information and terminal address information, search the address information of described the second terminal; And
According to the address information that finds, the Streaming Media signaling that receives is transmitted to described the second terminal.
5. Streaming Media signaling method as claimed in claim 4, is characterized in that, in the data segment of the described Streaming Media signaling that index server receives, comprises the address information of first terminal and the address information of described index server;
According to the address information that finds, the Streaming Media signaling that receives is transmitted to described the second terminal, specifically comprise:
By the address information of the first terminal that comprises in the data segment of the Streaming Media signaling that receives, replace with the address information of described index server; And
By the address information of the index server that comprises in the data segment of the Streaming Media signaling that receives, replace with the address information of the second terminal that finds;
To be transmitted to described the second terminal through the Streaming Media signaling that address information is replaced after processing.
6. Streaming Media signaling method as claimed in claim 1, is characterized in that, the transfer of data between first terminal and the second terminal is monitored, and specifically comprises:
The data traffic of transmitting between first terminal and the second terminal is added up; Or
To between first terminal and the second terminal, transmission is during data, the average transmission rate of the second terminal is added up; Or
Video-on-demand times to the streaming media resource piece of the data transmitted between carrying first terminal and the second terminal is added up.
7. Streaming Media signaling method as claimed in claim 6, it is characterized in that, if to the transfer of data between first terminal and the second terminal monitor for to transmission between first terminal and the second terminal during data the average transmission rate of the second terminal add up, described Streaming Media signaling method also comprises step:
If the average transmission rate that statistics obtains is not less than default setting threshold, described the second terminal is defined as to first kind terminal, if the average transmission rate that statistics obtains is defined as the Equations of The Second Kind terminal by described the second terminal less than described setting threshold;
After terminal iidentification that follow-up terminal in receiving described point-to-point stream media system sends, that carry the Resource Block identification information of the streaming media resource piece that this terminal request obtains obtains demand signalling, according to the Resource Block identification information that receives, in the corresponding relation of Resource Block identification information and terminal identification information, search the terminal identification information of the terminal that stores described streaming media resource piece;
In the terminal identification information that finds, determine the terminal identification information of each terminal that belongs to first kind terminal;
The terminal identification information of determining is sent to and sends the terminal that described terminal iidentification obtains demand signalling.
8. an index server, be arranged in point-to-point stream media system, it is characterized in that, comprising:
The first receiving element, be used to receiving the Streaming Media signaling of first terminal transmission, carry the terminal identification information of signaling type information and the second terminal in described Streaming Media signaling;
The first determining unit, for the signaling type information that receives according to the first receiving element, determine whether the Streaming Media signaling that the first receiving element receives is the described first terminal Streaming Media signaling to other-end to be sent;
Retransmission unit, for in the first determining unit, determining the Streaming Media signaling that the first receiving element receives, be that described first terminal is to be sent to after the Streaming Media signaling of other-end, the terminal identification information of the second terminal that receives according to the first receiving element, be transmitted to described the second terminal by described Streaming Media signaling;
Monitoring means, for the Streaming Media signaling that forwards according to retransmission unit, monitor the transfer of data between described first terminal and described the second terminal.
9. index server as claimed in claim 8, is characterized in that, the Streaming Media signaling that the first receiving element receives is:
Demand signalling is set up in session connection; Or
Session connection is set up and is confirmed signaling; Or
Demand signalling is removed in session connection; Or
Session connection is removed and is confirmed signaling.
10. index server as claimed in claim 8, is characterized in that, the terminal identification information of the second terminal that the first receiving element receives is the address information of described the second terminal.
11. index server as claimed in claim 8, is characterized in that, the terminal identification information of the second terminal that the first receiving element receives is the identity information of the second terminal, and retransmission unit specifically comprises:
Search subelement, for the identity information of the second terminal of receiving according to the first receiving element, in the corresponding relation of terminal identity information and terminal address information, search the address information of described the second terminal;
Forward subelement, for basis, search the address information that subelement finds, the Streaming Media signaling that the first receiving element is received is transmitted to described the second terminal.
12. index server as claimed in claim 11, is characterized in that, in the data segment of the Streaming Media signaling that the first receiving element receives, comprises the address information of first terminal and the address information of described index server;
Forwarding subelement specifically comprises:
The first replacement module, the address information of the first terminal that comprises in the data segment for Streaming Media signaling that the first receiving element is received, replace with the address information of described index server;
The second replacement module, the address information of the index server that comprises in the data segment for Streaming Media signaling that the first receiving element is received, replace with the address information of searching the second terminal that subelement finds;
Forwarding module, be transmitted to described the second terminal for carrying out the Streaming Media signaling that address information replaces after processing through the first replacement module and the second replacement module.
13. index server as claimed in claim 8, is characterized in that, described monitoring means is added up the data traffic of transmitting between first terminal and the second terminal; Or between first terminal and the second terminal, transmission is during data, the average transmission rate of the second terminal is added up; Or the video-on-demand times of the streaming media resource piece of the data transmitted between carrying first terminal and the second terminal is added up.
14. index server as claimed in claim 13, is characterized in that, if monitoring means to transmission between first terminal and the second terminal during data the average transmission rate of the second terminal add up, described index server also comprises:
Judging unit, be used to judging that whether average transmission rate that monitoring means statistics obtains is less than default setting threshold;
The second determining unit, when the determination result is NO at judging unit, be defined as first kind terminal by described the second terminal, and when judgment result is that of judging unit is, described the second terminal be defined as to the Equations of The Second Kind terminal;
The second receiving element, the terminal iidentification that sends for the terminal of the described point-to-point stream media system of follow-up reception, carry the Resource Block identification information of the streaming media resource piece that this terminal request obtains obtains demand signalling;
Search unit, for the Resource Block identification information that receives according to the second receiving element, in the corresponding relation of Resource Block identification information and terminal identification information, search the terminal identification information of the terminal that stores described streaming media resource piece;
The 3rd determining unit, for the terminal identification information searching unit and finding, determine the terminal identification information of each terminal that belongs to first kind terminal;
Transmitting element, send to and send the terminal that described terminal iidentification obtains demand signalling for the terminal identification information that the 3rd determining unit is determined.
15. a point-to-point stream media system, is characterized in that, comprising:
Terminal, for when described terminal need to send the Streaming Media signaling to other-end, the terminal identification information of signaling type information and described other-end is inserted in described Streaming Media signaling, and the Streaming Media signaling that will insert the terminal identification information of signaling type information and described other-end sends to index server;
Index server, the Streaming Media signaling that sends for receiving described terminal, and according to the signaling type information of carrying in the Streaming Media signaling that receives, determining the Streaming Media signaling that receives is the described terminal Streaming Media signaling to other-end to be sent, and according to the terminal identification information of the described other-end that receives, the Streaming Media signaling that receives is transmitted to described other-end; According to the Streaming Media signaling that forwards, the transfer of data between described terminal and described other-end is monitored.
CN201010141160XA 2010-04-02 2010-04-02 Streaming media signalling sending method and equipment as well as point-to-point streaming media system Active CN102215240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010141160XA CN102215240B (en) 2010-04-02 2010-04-02 Streaming media signalling sending method and equipment as well as point-to-point streaming media system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010141160XA CN102215240B (en) 2010-04-02 2010-04-02 Streaming media signalling sending method and equipment as well as point-to-point streaming media system

Publications (2)

Publication Number Publication Date
CN102215240A CN102215240A (en) 2011-10-12
CN102215240B true CN102215240B (en) 2013-11-20

Family

ID=44746370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010141160XA Active CN102215240B (en) 2010-04-02 2010-04-02 Streaming media signalling sending method and equipment as well as point-to-point streaming media system

Country Status (1)

Country Link
CN (1) CN102215240B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105580334B (en) * 2014-06-30 2018-10-26 北京新媒传信科技有限公司 A kind of data transmission method, terminal and server
CN105871871A (en) * 2016-04-29 2016-08-17 深圳Tcl数字技术有限公司 Multimedia conversation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068155A (en) * 2006-09-20 2007-11-07 腾讯科技(深圳)有限公司 Coordinate connection stream media direct broadcasting system and collection server thereof
CN101237561A (en) * 2008-01-09 2008-08-06 北京捷报互动科技有限公司 Network video acceleration system and control method
CN101267383A (en) * 2007-03-14 2008-09-17 中国移动通信集团公司 Data transmission method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068155A (en) * 2006-09-20 2007-11-07 腾讯科技(深圳)有限公司 Coordinate connection stream media direct broadcasting system and collection server thereof
CN101267383A (en) * 2007-03-14 2008-09-17 中国移动通信集团公司 Data transmission method and system
CN101237561A (en) * 2008-01-09 2008-08-06 北京捷报互动科技有限公司 Network video acceleration system and control method

Also Published As

Publication number Publication date
CN102215240A (en) 2011-10-12

Similar Documents

Publication Publication Date Title
CN107979592B (en) Method and device for sending service request message
JP4481858B2 (en) Information transmission method and information transmission system
KR101495369B1 (en) Robust file casting for mobile tv
EP1944944A1 (en) System and method for combining pull and push modes
EP2874116A1 (en) Communication method between content requester and content provider for providing content and real-time streaming content in content name-based content centric network
RU2011131451A (en) SYSTEM AND METHOD OF TRANSFER OF A FILE FROM MULTIPLE SOURCES AT INSTANT EXCHANGE OF MESSAGES
JP2013128276A5 (en)
CN106330414A (en) Message transmission method and device
CN105262836A (en) Information push method of server and push information reception method of client
KR101600060B1 (en) Protocol booster for sctp in multicast networks
CN101227636B (en) Information sharing method
CN109257335B (en) Method for maintaining back source link, back source method, related device and storage medium
RU2013143046A (en) SYSTEM AND METHOD FOR TRANSFER OF IMAGES IN REAL TIME
CN103442003A (en) Data acquisition backfill system for SCADA system and method thereof
CN111181698B (en) Data processing method, device, equipment and medium
EP2445162A1 (en) Method For Adaptive Streaming
CN104782078A (en) User equipment node, server node and methods performed in such nodes for performing file repair procedure
CN102215240B (en) Streaming media signalling sending method and equipment as well as point-to-point streaming media system
CN101924777B (en) Method, system and equipment for searching active nodes in P2P streaming media system
CN101964741B (en) Method and equipment for sending node list
CN110808917B (en) Multilink aggregation data retransmission method and transmitting equipment
US8949366B2 (en) System, a method, and a computer program product for computer communication
CN106209641A (en) A kind of method, system and device of Message processing
CN100512129C (en) End-to-end information transmission method and system
CN102387138B (en) Screen-saving based data transmission method and device

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