CN101242367B - Method for selecting forward node end in media stream - Google Patents

Method for selecting forward node end in media stream Download PDF

Info

Publication number
CN101242367B
CN101242367B CN2008100344013A CN200810034401A CN101242367B CN 101242367 B CN101242367 B CN 101242367B CN 2008100344013 A CN2008100344013 A CN 2008100344013A CN 200810034401 A CN200810034401 A CN 200810034401A CN 101242367 B CN101242367 B CN 101242367B
Authority
CN
China
Prior art keywords
transit node
node
media stream
node end
transit
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.)
Expired - Fee Related
Application number
CN2008100344013A
Other languages
Chinese (zh)
Other versions
CN101242367A (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.)
AVCON INFORMATION TECHNOLOGY CO LTD
Original Assignee
SHANGHAI AVCON INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI AVCON INFORMATION TECHNOLOGY Co Ltd filed Critical SHANGHAI AVCON INFORMATION TECHNOLOGY Co Ltd
Priority to CN2008100344013A priority Critical patent/CN101242367B/en
Publication of CN101242367A publication Critical patent/CN101242367A/en
Application granted granted Critical
Publication of CN101242367B publication Critical patent/CN101242367B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method for selecting media steams transferring node ends comprises the steps that: each transferring node end in a communication network calculates its current load information, according to the average usage rate of its processor, the average usage rate of memory and the number of medial streams needing to be transferred, and sends the current load situation information to a service end; the service end selects multiple transferring node ends meeting the service transmission requirement of the node end, according to the service request of each node end in the communication network and the load information received from each transferring node end, and notifies the corresponding node end; each node end sends a test data packet to each address to test the roundtrip time of communication between itself and each transferring node end; the two node ends for media stream transmission exchange the roundtrip times of communication between themselves and each transferring node end, so that transferring node ends suitable for media stream transmission of each party are selected. The invention improves the transferring efficiency of media stream.

Description

Select the method for Media Stream transit node end
Technical field
The present invention relates to a kind of method of selecting Media Stream transit node end.
Background technology
Media Stream in the existing Internet video signal communication system mainly comprises the data flow of high bandwidth requirements such as audio frequency, video, the optimized choice in media flow transmission path directly has influence on the quality of audio frequency and video communication, especially under the situation that quality is very poor or point-to-point transmission can not directly penetrate of telecommunication network transmission, transmission often must be by the transit node end, be media control unit (MCU), so MCU has played the task of Media Stream distribution between transfer two node sides or multinode end.
At the Internet of commercialization video signal communication network, usually many MCU be will dispose and transfer and distribution services provided for a large amount of Media Streams, when needs carry out the Media Stream communication process, one side's node side is published to the MCU that one of them has public network IP address with local media stream, and notify the other side's node side to obtain Media Stream and decoding and displaying or broadcast, thereby finish medium reciprocal process one time from the passage of this address MCU.Yet the different location of Internet, and different operators between network transmission efficiency and inequality, be to be benchmark for the transmission overall efficiency of the point-to-point transmission medium that are in different segment with the poorest side of quality.Therefore, improving point-to-point transmission, to look the matter of utmost importance of voice communication quality be how to select from the fastest MCU of local efficiency of transmission and optimize transmission path between MCU, existing way is to be selected a MCU the fastest from this locality and notified the other side node side by the caller node side, and do not consider the communication conditions that the other side's node side is communicated by letter with described MCU, obviously if the other side's node side will have a strong impact on both sides' communication effect when communicating by letter smooth even network bottleneck with described MCU existence.
Therefore problem how to avoid existing media flow transmission process to exist has become the technical task that those skilled in the art need to be resolved hurrily in fact.
Summary of the invention
The object of the present invention is to provide a kind of method of selecting Media Stream transit node end, to improve transmission efficiency by the communicating pair of transit node end media stream.
Reach other purposes in order to achieve the above object, the method that is applied to the selection Media Stream transit node end in the communication network provided by the invention comprises step: 1) each the transit node end in the described communication network according to the average service rate of the processor of himself, internal memory average service rate, and the Media Stream number of current needs self transfer calculate current separately load state; 2) after each transit node end and service end established a communications link, address and the present load condition information with self was sent to described service end respectively; 3) after each node side in the described communication network and described service end establish a communications link, described service end goes out corresponding a plurality of transit node ends that can adapt to the professional transmission requirement of described node side according to the service request of node side and the received information sifting that sends from each transit node end, and the address of corresponding a plurality of transit node ends that will filter out is sent to described node side, the number of a plurality of transit node ends that wherein, filtered out is set in advance; 4) each node side sends test packet to test out the data two-way time of self communicating by letter with each transit node end to each address respectively according to a plurality of transit node ends address that described service end is sent to; 5) when the first node end in the described communication network will be with the Section Point end during by transit node end media stream, it is by the call request that described service end is sent caller Section Point end, and described Section Point termination receives that data two-way time and the corresponding transit node end address with corresponding each transit node end is communicated by letter that after the described call request it are tested out are sent to described first node end; 6) the optimum transit node end that the data two-way time that is sent to of the described Section Point end of data two-way time of communicating by letter with corresponding each transit node end of testing out according to himself of described first node end and corresponding each transit node end address and reception and corresponding transit node end address choice mutually should be able to the transfer Media Streams is so that carry out the transmission of Media Stream with described Section Point end.
Described step 4) comprises the step that data two-way time that the first node end is communicated by letter himself and corresponding each transit node end and corresponding transit node end address are sent to the Section Point end, in addition, the method of described selection Media Stream transit node end also can comprise a step of updating, be that each transit node end recomputates its current load state at Preset Time, and send it to described service end to carry out the renewal of load state.
In sum, the transit node end that is fit to is the most selected in the overall consideration of the communication conditions of the method for selection Media Stream transit node end of the present invention by needs being carried out streamed two node sides of medium and each transit node end, has effectively improved the speed and the efficient of media flow transmission.
Description of drawings
Fig. 1 is the structural representation of the applied communication network of method of selection Media Stream transit node end of the present invention.
Fig. 2 is the operating process schematic diagram of the method for selection Media Stream transit node end of the present invention.
Embodiment
See also Fig. 1, the method of selection Media Stream transit node end of the present invention can be applicable in the communication network, described communication network comprises a plurality of node sides (for example customer end A and customer end B), can carry out a plurality of transit node ends of Media Stream transfer and the service end that can communicate by letter with a plurality of transit nodes with described a plurality of node sides with described a plurality of node sides, in addition, described communication network yet can be provided with other parts, for example can be provided be connected with described service end be used to database of storing data etc.The method of described selection Media Stream transit node end may further comprise the steps:
The first step: each the transit node end in the described communication network is according to the average service rate of the processor (being CPU) of himself, the internal memory average service rate, and the Media Stream number of current needs self transfer calculates current separately load state, usually load state is according to formula: load state=current media linking number+(CPU average service rate+internal memory average service rate)/2 calculate, wherein, CPU average service rate=(the current sampling CPU usage+CPU usage of last time sampling)/2, internal memory average service rate=(current sample of memory utilization rate+last time sample of memory utilization rate)/2.
Second step: after each transit node end and service end establish a communications link, its address and present load condition information with self is sent to described service end, usually after establishing a communications link, each transit node end can recomputate its current load state in Preset Time (for example per 30 seconds), and sends it to described service end to carry out the renewal of load state.
The 3rd step: after each node side in the described communication network and described service end establish a communications link, described service end goes out corresponding a plurality of transit node ends that can adapt to the professional transmission requirement of described node side according to the service request of described node side and the received information sifting that sends from each transit node end, and the address of corresponding a plurality of transit node ends that will filter out is sent to described node side, wherein, the number of a plurality of transit node ends that filtered out is set (for example 5) in advance, common described service end is with local address buffer table (Local Address Cache, LAC) form is sent to described node side with appropriate address information, for example, the described service end address buffer table (LAC1) that is sent to customer end A is as following table one:
Table one:
The identifier of transit node end The address of transit node end
MCU-1 00.00.01
MCU-2 00.00.02
MCU-3 00.00.03
MCU-4 00.00.04
MCU-5 00.00.05
The address buffer table (LAC2) that described service end is sent to customer end B is as following table two:
Table two:
The identifier of transit node end The address of transit node end
MCU-2 00.00.02
MCU-5 00.00.05
MCU-10 00.00.10
MCU-22 00.00.22
MCU-34 00.00.34
[0020]The 4th step: described each node side sends test packet to test out the data two-way time (being the RTT value) of self communicating by letter with each transit node end to each address respectively according to a plurality of transit node ends address that described server is sent to, for example customer end A is 00.00.01,00.00.02,00.00.03,00.00.04, reaches each transit node end transmission test packet of 00.00.05 to obtain each RTT value to the address respectively, and and then the LAC3 table that generates, as following table three:
Table three:
The identifier of transit node end The address of transit node end The RTT value
MCU-1 00.00.01 0.01 second
MCU-2 00.00.02 0.02 second
MCU-3 00.00.03 0.02 second
MCU-4 00.00.04 0.03 second
MCU-5 00.00.05 0.03 second
Equally, customer end B also respectively to the address be 00.00.02,00.00.05,00.00.10,00.00.22, and each transit node end of 00.00.34 send test packet obtaining each RTT value, and form LAC4 and show, as following table four:
Table four:
The identifier of transit node end The address of transit node end The RTT value
MCU-2 00.00.02 0.02 second
MCU-5 00.00.05 0.02 second
MCU-10 00.00.10 0.02 second
MCU-22 00.00.22 0.03 second
MCU-34 00.00.34 0.03 second
The 5th step: when the node side in the described communication network (for example customer end A) will be with another node side (for example customer end B) during by transit node end media stream, described customer end A is sent the call request of another node side of caller by described service end, described customer end B receives data two-way time and corresponding transit node end address (being described LAC4 table) with corresponding each transit node end is communicated by letter that after the described call request it are tested out and is sent to described customer end A, in the present embodiment, for preventing that because of network failure causes losing of information transmission data two-way time and corresponding transit node end address (being described LAC3 table) with corresponding each transit node end is communicated by letter that described customer end A of while also can test out it are sent to described customer end B.
The 6th step: the data two-way time of communicating by letter with corresponding each transit node end that described customer end A tests out according to himself and corresponding each transit node end address (being that described LAC3 shows), and described another node side that receives data two-way time of being sent to and corresponding transit node end address (being described LAC4 table) select mutually should be able to the transfer Media Stream optimum transit node end so that carry out the transmission of Media Stream with described customer end B, referring to described LAC3 table and described LAC4 table, described customer end A is at first chosen the transit node end that has same address in two tables, be transit node end MCU-2 and MCU-5, and then the RTT value of communicating by letter with MCU-5 according to described customer end A and customer end B and transit node end MCU-2, select transit node end MCU-2 as optimum transit node end, and with the described customer end B of selecting of result notification, same described customer end B also can be according to described LAC4 table, and the described LAC3 table that receives carries out same optimal selection, so can realize between customer end A and the customer end B by transit node end media stream.Be noted that in addition, if when in described LAC3 table and described LAC4 show, not having identical transit node end address, promptly illustrate by a transit node end and can not between customer end A and customer end B, carry out the transfer of Media Stream, so need to select at least two transit node ends, therefore can form transit node terminal number row in twos according to the transit node end in described LAC3 table and the described LAC4 table, and obtain Media Stream in total RTT value of transmitting between transit node in twos according to described ordered series of numbers, select two transit node ends that one group of ordered series of numbers of optimum comprises thus as Media Stream transit node end.
In sum, the transit node end that is fit to is the most selected in comprehensive consideration of the communication conditions of the method for selection Media Stream transit node end of the present invention by needs being carried out streamed two node sides of medium and each transit node end, avoided caller node side in the prior art only to consider the communication conditions existing shortcoming of self and transit node end, effectively improved the speed and the efficient of media flow transmission, avoided called node side to cause the problem that Media Stream can't normal transmission because of the smooth or network congestion of communicating by letter with the transit node end.

Claims (3)

1. method of selecting Media Stream transit node end, be applied in the communication network, described communication network comprises a plurality of node sides, can carry out a plurality of transit node ends of Media Stream transfer and the service end that can communicate by letter with a plurality of transit nodes with described a plurality of node sides with described a plurality of node sides, and the method for described selection Media Stream transit node end is characterised in that and comprises step:
1) each the transit node end in the described communication network according to the average service rate of the processor of himself, internal memory average service rate, and the Media Stream number of current needs self transfer calculate current separately load state;
2) after each transit node end and service end established a communications link, address and the present load condition information with self was sent to described service end respectively;
3) after each node side in the described communication network and described service end establish a communications link, described service end goes out corresponding a plurality of transit node ends that can adapt to the professional transmission requirement of described node side according to the service request of node side and the received information sifting that sends from each transit node end, and the address of corresponding a plurality of transit node ends that will filter out is sent to described node side, the number of a plurality of transit node ends that wherein, filtered out is set in advance;
4) each node side sends test packet to test out the data two-way time of self communicating by letter with each transit node end to each address respectively according to a plurality of transit node ends address that described service end is sent to;
5) when the first node end in the described communication network will be with the Section Point end during by transit node end media stream, it is by the call request that described service end is sent caller Section Point end, and described Section Point termination receives that data two-way time and the corresponding transit node end address with corresponding each transit node end is communicated by letter that after the described call request it are tested out are sent to described first node end;
6) the optimum transit node end that the data two-way time that is sent to of the described Section Point end of data two-way time of communicating by letter with corresponding each transit node end of testing out according to himself of described first node end and corresponding each transit node end address and reception and corresponding transit node end address choice mutually should be able to the transfer Media Streams is so that carry out the transmission of Media Stream with described Section Point end.
2. the method for selection Media Stream transit node end as claimed in claim 1 is characterized in that the step that data two-way time that described step 4) comprises that the first node end is communicated by letter himself and corresponding each transit node end and corresponding transit node end address are sent to the Section Point end.
3. the method for selection Media Stream transit node end as claimed in claim 1, it is characterized in that also comprising step of updating, be that each transit node end recomputates its current load state at Preset Time, and send it to described service end to carry out the renewal of load state.
CN2008100344013A 2008-03-07 2008-03-07 Method for selecting forward node end in media stream Expired - Fee Related CN101242367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100344013A CN101242367B (en) 2008-03-07 2008-03-07 Method for selecting forward node end in media stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100344013A CN101242367B (en) 2008-03-07 2008-03-07 Method for selecting forward node end in media stream

Publications (2)

Publication Number Publication Date
CN101242367A CN101242367A (en) 2008-08-13
CN101242367B true CN101242367B (en) 2010-07-14

Family

ID=39933582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100344013A Expired - Fee Related CN101242367B (en) 2008-03-07 2008-03-07 Method for selecting forward node end in media stream

Country Status (1)

Country Link
CN (1) CN101242367B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571856B (en) * 2010-12-17 2015-04-22 中国移动通信集团公司 Method, device and system for selecting transition node
CN104717439B (en) * 2014-01-02 2017-12-01 杭州海康威视系统技术有限公司 Data flow control method and its device in Video Storage System
CN104580263B (en) * 2015-02-11 2018-10-02 深圳市云之讯网络技术有限公司 IP based network selects optimal path forwarding media stream method
CN111366252A (en) * 2020-05-20 2020-07-03 浙江双视红外科技股份有限公司 Method for stabilizing screening result of infrared human body surface temperature rapid screening instrument
CN112702229B (en) * 2020-12-18 2023-04-25 北京百度网讯科技有限公司 Data transmission method, device, electronic equipment and storage medium
CN113873045B (en) * 2021-11-11 2023-09-12 深圳市云语科技有限公司 File multi-node transmission method based on capability negotiation
CN114422422B (en) * 2022-04-01 2022-07-08 广东省通信产业服务有限公司 Data transmission method, device and system based on node information

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1403934A (en) * 2001-09-06 2003-03-19 华为技术有限公司 Load balancing method and equipment for convective medium server
CN1495634A (en) * 2002-06-27 2004-05-12 上海汉唐科技有限公司 Server clustering load balancing method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1403934A (en) * 2001-09-06 2003-03-19 华为技术有限公司 Load balancing method and equipment for convective medium server
CN1495634A (en) * 2002-06-27 2004-05-12 上海汉唐科技有限公司 Server clustering load balancing method and system

Also Published As

Publication number Publication date
CN101242367A (en) 2008-08-13

Similar Documents

Publication Publication Date Title
CN101242367B (en) Method for selecting forward node end in media stream
US7466694B2 (en) Routing protocol with packet network attributes for improved route selection
EP1616420B1 (en) Method for verification of communication path in ip telephony ping
US7653005B2 (en) Method, device and system for monitoring network performance
US6260071B1 (en) Method and apparatus for automatic routing of circuit switched data connections based upon stored behavorial information
US8908558B2 (en) Method and apparatus for detecting a network impairment using call detail records
US9270544B2 (en) Method and system to identify a network device associated with poor QoS
CN102594672B (en) Method and system applicable to high-quality internet communication in low-reliability network environment
CN103166959A (en) Control system and control method of multipath real-time transmission
US20070201640A1 (en) System, device and method for operation and maintenance of network devices
JP3691816B2 (en) Performance estimation method in data service provision that does not allow delay
JP4675305B2 (en) Network optimal route selection method and apparatus
JP4761078B2 (en) Multicast node device, multicast transfer method and program
CN100544392C (en) In soft switchcall server, carry out the method for the omnidistance call follow of the whole network
CN107872538A (en) Decouple method for processing business, reverse proxy and the service server of TCP length connections
AU2008213165B2 (en) Methods, systems and apparatus for monitoring and/or generating communications in a communications network
EP2283628B1 (en) Ims performance monitoring
CN101442427A (en) Method, system and apparatus for managing equipment
CN1964407A (en) A method, system and device for media forwarding
Grozev et al. Considerations for deploying a geographically distributed video conferencing system
JP4165335B2 (en) Delay time measuring device, jitter tolerance measuring device, and speech quality evaluation device using them
JP4325731B2 (en) Delay time measuring device, jitter tolerance measuring device, and speech quality evaluation device using them
JP2005033740A (en) Load distribution network failure monitoring system of adsl router and method therefor
US20240073123A1 (en) Alternative route propogation
JP2002164953A (en) Communication information monitor method and monitor adaptor

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
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 200433 No. 335, National Road, Shanghai

Patentee after: AVCON INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 200433 No. 335, National Road, Shanghai

Patentee before: SHANGHAI AVCON INFORMATION TECHNOLOGY Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100714

CF01 Termination of patent right due to non-payment of annual fee