CN110557381B - Media high-availability system based on media stream hot migration mechanism - Google Patents

Media high-availability system based on media stream hot migration mechanism Download PDF

Info

Publication number
CN110557381B
CN110557381B CN201910728428.0A CN201910728428A CN110557381B CN 110557381 B CN110557381 B CN 110557381B CN 201910728428 A CN201910728428 A CN 201910728428A CN 110557381 B CN110557381 B CN 110557381B
Authority
CN
China
Prior art keywords
media
media stream
forwarding service
session
service
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
CN201910728428.0A
Other languages
Chinese (zh)
Other versions
CN110557381A (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.)
Wuhan Xingtu Xinke Electronic Co ltd
Original Assignee
Wuhan Xingtu Xinke Electronic 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 Wuhan Xingtu Xinke Electronic Co ltd filed Critical Wuhan Xingtu Xinke Electronic Co ltd
Priority to CN201910728428.0A priority Critical patent/CN110557381B/en
Publication of CN110557381A publication Critical patent/CN110557381A/en
Application granted granted Critical
Publication of CN110557381B publication Critical patent/CN110557381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a media high-availability system based on a media stream hot migration mechanism, which comprises: the system comprises a media information storage service cluster, a load balancer cluster and a media forwarding service cluster, wherein the media forwarding service cluster comprises a plurality of media forwarding service nodes, and each media forwarding service node comprises a media forwarding service and a flow identification service. The media information storage service records media negotiation information after media session negotiation is successful; the media stream production end sends the audio and video media stream to the load balancer cluster through the Internet and distributes the audio and video media stream to healthy media forwarding service nodes; the flow identification service extracts the session ID from the captured upstream media stream; the media forwarding service acquires the media stream session information, opens a corresponding port to receive the uplink media stream, and forwards the uplink media stream to a corresponding media consumption end; the load balancing service cluster continuously executes health check operation on all media forwarding service nodes in the media forwarding service cluster.

Description

Media high-availability system based on media stream hot migration mechanism
Technical Field
The invention relates to the field of audio and video communication, in particular to a media high-availability system based on a media stream heat transfer mechanism.
Background
Currently, with the development of society and the progress of network, the application of audio and video communication is developed explosively, and in the system architecture level, a media forwarding server cluster is used for realizing the receiving and forwarding functions of mass media data and is the basis of the whole audio and video communication platform, so that the high availability of media distribution service directly influences the user experience effect of audio and video communication products.
After a node of a traditional media forwarding server cluster is down, the existing media session is disconnected, part of the media session cannot be recovered, and a user needs to manually initiate a corresponding media session service again to recover the failed audio/video session, which seriously affects the application effectiveness of the audio/video communication service;
in the general traditional process of the audio and video communication service, a media consumption end initiates a media consumption service to a media production end, the media production end sends a media stream to a load balancer cluster through an internet network, the load balancer cluster forwards the media stream to a certain media forwarding server in a media forwarding server cluster, and the media forwarding server forwards the media stream to the media consumption end according to negotiation information. In the traditional media stream service processing process, once a media distribution service fails in the media stream forwarding process, the currently ongoing media stream forwarding service is interrupted and cannot be automatically recovered, and only a user can initiate a communication request again to solve the problem, so that the application effect and user experience of the audio and video service are greatly influenced.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a media high availability system based on a media stream hot migration mechanism to solve the technical defect, aiming at the technical problem that the audio/video communication service is seriously affected after the node of the current media forwarding server cluster is down.
The media high-availability system based on the media stream live migration mechanism comprises: the media information storage service cluster, the load balancer cluster and the media forwarding service cluster, wherein the media forwarding service cluster comprises a plurality of media forwarding service nodes, each media forwarding service node comprises a media forwarding service and a flow identification service, and the flow identification service and the media forwarding service are matched components, namely one media forwarding service corresponds to one flow identification service to jointly form one media forwarding service node.
Further, the specific working process of the media high availability system based on the media stream live migration mechanism comprises the following steps:
s1, the media information storage service records media negotiation information after the media session negotiation is successful;
s2, the media stream production end sends the audio and video media stream to the load balancer cluster through the Internet, the load balancer cluster further sends the audio and video media stream to a healthy media forwarding service node, and the health refers to a normal working state;
s3, when capturing the upstream media stream, the flow identification service in the media forwarding service node extracts the session ID from the upstream media stream, and notifies the session ID to the media forwarding service;
s4, the media forwarding service acquires the media stream session information from the media information storage service according to the session ID, opens the corresponding port to receive the uplink media stream, and forwards the media stream to the corresponding media consumption end, the media packet carries the downlink media stream session ID when forwarding;
s5, the load balancing service cluster continuously executes the health check operation on all media forwarding service nodes in the media forwarding service cluster, and when a certain media forwarding service node works abnormally, redistributes the uplink media stream currently distributed in the media forwarding service node to other healthy media forwarding service nodes.
Further, the media negotiation information in S1 includes an uplink media stream session ID, a downlink media stream session ID, a correspondence between the uplink media stream session ID and the downlink media stream session ID, a local media receiving port, a media consuming end IP, and a media consuming end port.
Further, the media stream in S2 carries the upstream media stream session ID in the form of media packets.
Further, the media stream session information in S4 includes an upstream media stream session ID, a downstream media stream session ID, a corresponding relationship between the upstream media stream session ID and the downstream media stream session ID, a local media receiving port, a media consuming end IP, and a media consuming end port.
The invention has the advantages that the invention provides a high availability scheme of media stream which is not perceived by users, and the media flow of the nodes which are down can be transferred to the normal nodes in a very short time under the condition that a plurality of nodes in the cluster are down, and the media service is automatically recovered in the normal nodes, thereby realizing the high availability of the media stream which is not perceived by users.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a schematic diagram of a media high-availability system structure based on a media stream hot migration mechanism according to the present invention;
FIG. 2 is a flow chart of a media high availability system based on a media stream hot migration mechanism according to the present invention.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
A media high-availability system based on a media stream live migration mechanism, as shown in fig. 1, includes a media information storage service cluster, a load balancer cluster and a media forwarding service cluster, where the media forwarding service cluster includes a plurality of media forwarding service nodes, each of which includes a media forwarding service and a traffic identification service, and the traffic identification service and the media forwarding service are supporting components, that is, one media forwarding service corresponds to one traffic identification service, and together form one media forwarding service node.
As shown in fig. 2, the working process of the media high availability system based on the media stream live migration mechanism of the present invention includes:
1. the media information storage service records media negotiation information after media session negotiation is successful, wherein the media negotiation information comprises an uplink media stream session ID, a downlink media stream session ID, a corresponding relation of the uplink media stream session ID and the downlink media stream session ID, a local media receiving port, a media consumption end IP and a media consumption end port;
2. the method comprises the steps that a media stream production end sends audio and video media streams (the media streams are transmitted in a media packet mode, and the media packet carries an uplink media stream session ID) to a load balancer cluster through the Internet, the load balancer cluster further sends the audio and video media streams to healthy media forwarding service nodes, and the healthy media forwarding service nodes work normally;
3. when capturing the uplink media stream, the flow identification service in the media forwarding service node extracts the session ID from the uplink media stream and notifies the session ID to the media forwarding service;
4. the media forwarding service acquires media stream session information (including an uplink media stream session ID, a downlink media stream session ID, a corresponding relation of the uplink media stream session ID and the downlink media stream session ID, a local media receiving port, a media consumption end IP and a media consumption end port) from the media information storage service according to the session ID, opens the corresponding port to receive the uplink media stream, and forwards the media stream to the corresponding media consumption end, wherein a media packet carries the downlink media stream session ID during forwarding.
5. The load balancing service cluster continuously executes health check operation on all media forwarding service nodes in the media forwarding service cluster, and when a certain media forwarding service node works abnormally, the uplink media stream distributed at the media forwarding service node is redistributed to other healthy media forwarding service nodes.
The method is suitable for the tcp protocol transmission media stream and the udp protocol transmission media stream; only one pair of ports is needed for tcp protocol transmission media stream, and two pairs of ports may be needed for udp protocol transmission media stream, in which case a multi-port session holding function needs to be set in the load balancer cluster.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (3)

1. The media high-availability system based on the media stream live migration mechanism is characterized by comprising: the media forwarding service cluster comprises a plurality of media forwarding service nodes, wherein each media forwarding service node comprises a media forwarding service and a flow identification service, and the flow identification service and the media forwarding service are matched components, namely one media forwarding service corresponds to one flow identification service and jointly form one media forwarding service node;
the specific working process of the media high-availability system based on the media stream live migration mechanism comprises the following steps:
s1, the media information storage service records media negotiation information after the media session negotiation is successful;
the media negotiation information in S1 includes an upstream media stream session ID, a downstream media stream session ID, a corresponding relationship between the upstream and downstream media stream session IDs, a local media receiving port, a media consuming end IP, and a media consuming end port;
s2, the media stream production end sends the audio and video media stream to the load balancer cluster through the Internet, the load balancer cluster further sends the audio and video media stream to a healthy media forwarding service node, and the health refers to a normal working state;
s3, when capturing the upstream media stream, the flow identification service in the media forwarding service node extracts the upstream media stream session ID from the upstream media stream, and notifies the upstream media stream session ID to the media forwarding service;
s4, the media forwarding service obtains the media stream session information from the media information storage service according to the uplink media stream session ID, opens the corresponding port to receive the uplink media stream, and forwards the uplink media stream to the corresponding media consumption end, the media packet carries the downlink media stream session ID when forwarding;
s5, the load balancing service cluster continuously executes the health check operation on all media forwarding service nodes in the media forwarding service cluster, and when a certain media forwarding service node works abnormally, redistributes the uplink media stream currently distributed in the media forwarding service node to other healthy media forwarding service nodes.
2. The system of claim 1, wherein the media stream in S2 carries the upstream media stream session ID in the form of media packets.
3. The system of claim 1, wherein the media streaming session information in S4 includes an upstream media streaming session ID, a downstream media streaming session ID, a correspondence between the upstream media streaming session ID and the downstream media streaming session ID, a local media receiving port, a media consuming end IP, and a media consuming end port.
CN201910728428.0A 2019-08-08 2019-08-08 Media high-availability system based on media stream hot migration mechanism Active CN110557381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910728428.0A CN110557381B (en) 2019-08-08 2019-08-08 Media high-availability system based on media stream hot migration mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910728428.0A CN110557381B (en) 2019-08-08 2019-08-08 Media high-availability system based on media stream hot migration mechanism

Publications (2)

Publication Number Publication Date
CN110557381A CN110557381A (en) 2019-12-10
CN110557381B true CN110557381B (en) 2021-09-03

Family

ID=68737121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910728428.0A Active CN110557381B (en) 2019-08-08 2019-08-08 Media high-availability system based on media stream hot migration mechanism

Country Status (1)

Country Link
CN (1) CN110557381B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527520A (en) * 2020-12-01 2021-03-19 中国建设银行股份有限公司 Method and device for deploying message middleware
CN112584193B (en) * 2020-12-24 2023-05-12 杭州米络星科技(集团)有限公司 Method for constructing real-time streaming media cluster scheduling by utilizing UDP (user datagram protocol) characteristics

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369966A (en) * 2007-08-17 2009-02-18 华为技术有限公司 Media stream transfer method of multimedia conversation, application server and user equipment
CN101252546B (en) * 2008-04-15 2012-02-29 中国科学技术大学 Method and apparatus for migrating medium stream online service
US8099089B2 (en) * 2008-05-13 2012-01-17 Nokia Corporation Method, user equipment and software product for media stream transfer between devices
CN101657026B (en) * 2008-08-18 2013-01-23 华为技术有限公司 Media stream transferring method, user equipment and server
CN102055750A (en) * 2009-11-06 2011-05-11 华为终端有限公司 Method and equipment for acquiring session information in media transfer process between terminals
CN102158466B (en) * 2010-02-11 2013-10-09 华为终端有限公司 Media transfer method among user equipment (UE) and application server (AS)
WO2014066161A2 (en) * 2012-10-22 2014-05-01 Cassidian Communications, Inc. Clustered session management
CN107659575B (en) * 2017-10-12 2020-04-17 京信通信系统(中国)有限公司 Broadband cluster multimedia function body and session method thereof
CN109039914B (en) * 2018-08-23 2020-11-27 迈普通信技术股份有限公司 Message processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN110557381A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
EP1704490B1 (en) Network architecture for data transmission
US8451713B2 (en) Special marker message for link aggregation marker protocol
US7639614B2 (en) Distribution-tuning mechanism for link aggregation group management
US7649846B2 (en) Purge mechanism in link aggregation group management
CN102594646B (en) A kind of internet protocol secure tunnel changing method, device and transmission system
CN110557381B (en) Media high-availability system based on media stream hot migration mechanism
US20210359946A1 (en) Tapping network data to perform load balancing
WO2021008591A1 (en) Data transmission method, device, and system
CN108881361A (en) A kind of data push method and device based on view networking
CN103220165B (en) Processing method and device for server active downtime
CN104519414A (en) Method and system for streaming media transmission
JP2007004361A (en) Load distribution device
CN112866390B (en) Data transmission method, device, terminal equipment and storage medium
US8351466B2 (en) Optimizing video transmission over mobile infrastructure
US20160226672A1 (en) Seamless connection handshake for a reliable multicast session
CN105281929A (en) Service network port state detection and fault tolerance device and method thereof
CN114143569B (en) Webpage recording and live broadcasting method and system
KR20200072941A (en) Method and apparatus for handling VRRP(Virtual Router Redundancy Protocol)-based network failure using real-time fault detection
CN112311759B (en) Equipment connection switching method and system under hybrid network
US20200145484A1 (en) Sub-groups of remote computing devices with relay devices
JP4285101B2 (en) Real-time data communication system, real-time data communication apparatus, and real-time data communication method
CN114116216A (en) Method and device for realizing high availability of distributed block storage based on vip
WO2012051900A1 (en) Method, apparatus and system for multiple cdn sharing videos of same subject matter
Ooi et al. An adaptive protocol for locating programmable media gateways
CN112312094B (en) Method and device for processing media information, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: High availability media system based on media streaming hot migration mechanism

Effective date of registration: 20231226

Granted publication date: 20210903

Pledgee: Wuhan area branch of Hubei pilot free trade zone of Bank of China Ltd.

Pledgor: WUHAN XINGTU XINKE ELECTRONIC Co.,Ltd.

Registration number: Y2023980073771

PE01 Entry into force of the registration of the contract for pledge of patent right