[go: up one dir, main page]

CN115277569A - Multimedia communication method, system, related equipment and storage medium - Google Patents

Multimedia communication method, system, related equipment and storage medium Download PDF

Info

Publication number
CN115277569A
CN115277569A CN202210873534.XA CN202210873534A CN115277569A CN 115277569 A CN115277569 A CN 115277569A CN 202210873534 A CN202210873534 A CN 202210873534A CN 115277569 A CN115277569 A CN 115277569A
Authority
CN
China
Prior art keywords
target
node
central
edge
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210873534.XA
Other languages
Chinese (zh)
Other versions
CN115277569B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210873534.XA priority Critical patent/CN115277569B/en
Publication of CN115277569A publication Critical patent/CN115277569A/en
Application granted granted Critical
Publication of CN115277569B publication Critical patent/CN115277569B/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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • 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/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请实施例公开一种多媒体通信方法、系统、相关设备及存储介质,该系统包括:至少两个边缘节点、至少两个中心节点、节点调度器、终端、至少两个网关和多媒体服务器;节点调度器接收终端接入的目标边缘节点发送的目标呼叫消息,并识别目标呼叫消息的目标业务类型;以及,根据各个网关与目标业务类型对应的负载量,从至少两个网关中确定出目标网关,以及确定出与目标网关对应的目标中心节点;节点调度器将目标呼叫消息发送至目标中心节点,目标中心节点经由目标网关将目标呼叫消息传送至多媒体服务器,以建立终端与多媒体服务器之间的信令链路。实施本申请实施例,能够在业务层面对服务器进行精细化的负载调度,可以增强多媒体通信系统的可用性。

Figure 202210873534

Embodiments of the present application disclose a multimedia communication method, system, related equipment, and storage medium. The system includes: at least two edge nodes, at least two central nodes, a node scheduler, a terminal, at least two gateways, and a multimedia server; a node The scheduler receives the target call message sent by the target edge node accessed by the terminal, and identifies the target service type of the target call message; and, according to the load corresponding to each gateway and the target service type, determines the target gateway from at least two gateways , and determine the target central node corresponding to the target gateway; the node scheduler sends the target call message to the target central node, and the target central node transmits the target call message to the multimedia server via the target gateway to establish a connection between the terminal and the multimedia server. signaling link. By implementing the embodiments of the present application, refined load scheduling can be performed on the server at the service level, and the availability of the multimedia communication system can be enhanced.

Figure 202210873534

Description

多媒体通信方法、系统、相关设备及存储介质Multimedia communication method, system, related equipment and storage medium

技术领域technical field

本申请涉及通信技术领域,具体涉及多媒体通信方法、系统、相关设备及存储介质。The present application relates to the technical field of communication, and specifically relates to a multimedia communication method, system, related equipment and storage medium.

背景技术Background technique

线上会议、网络视频聊天等场景中往往涉及多媒体通信系统中的两个或多个设备之间的数据传输,设备间的多媒体数据交互可称为多媒体会话。在现有技术中,可通过会话初始(Session Initiation Protocol,SIP)协议、GB28181协议或实时流传输协议(RealTime Streaming Protocol,RTSP)协议等应用层协议进行多媒体会话的建立、修改和终止。在进行多媒体数据传输之前,多媒体会话的参与方一般需要基于前述的协议进行信令协商。Scenarios such as online conferences and online video chats often involve data transmission between two or more devices in a multimedia communication system, and multimedia data interaction between devices can be called a multimedia session. In the prior art, a multimedia session can be established, modified and terminated through application layer protocols such as Session Initiation Protocol (SIP) protocol, GB28181 protocol or Real Time Streaming Protocol (RealTime Streaming Protocol, RTSP) protocol. Before multimedia data transmission, the participants in the multimedia session generally need to perform signaling negotiation based on the foregoing protocol.

信令协商的过程需要会话协议服务器的参与。然而,随着业务的扩展、接入设备数量的增加,会话协议服务器需要承载的并发量也越来越大,容易超出服务器的承受范围,降低了多媒体通信系统的可用性。The process of signaling negotiation requires the participation of the session protocol server. However, with the expansion of services and the increase in the number of access devices, the concurrency required to be carried by the session protocol server is also increasing, which easily exceeds the tolerance range of the server and reduces the availability of the multimedia communication system.

发明内容Contents of the invention

本申请实施例公开了一种多媒体通信方法、系统、相关设备及存储介质,能够在业务层面对服务器进行精细化的负载调度,有利于增强多媒体通信系统的可用性。The embodiment of the present application discloses a multimedia communication method, system, related equipment, and storage medium, capable of fine-grained load scheduling for servers at the business level, and is conducive to enhancing the usability of the multimedia communication system.

本申请实施例公开一种多媒体通信方法,应用于多媒体通信系统中的节点调度器,所述多媒体通信系统还包括:至少两个会话协议服务器集群的边缘节点、至少两个会话协议服务器集群的中心节点、终端、至少两个网关和多媒体服务器;所述节点调度器分别与各个所述边缘节点和各个所述中心节点通信连接;每个网关与至少一个所述中心节点对应;所述方法包括:接收目标边缘节点发送的目标呼叫消息,并识别所述目标呼叫消息的目标业务类型;所述目标边缘节点是各个所述边缘节点中所述终端接入的所述边缘节点;根据各个所述网关与所述目标业务类型对应的负载量,从所述至少两个网关中确定出目标网关;从所述至少两个中心节点中确定出与所述目标网关对应的目标中心节点;将所述目标呼叫消息发送至所述目标中心节点,以使所述目标呼叫消息经由所述目标中心节点和所述目标网关传送至所述多媒体服务器,以建立所述终端与所述多媒体服务器之间的信令链路。The embodiment of the present application discloses a multimedia communication method, which is applied to a node scheduler in a multimedia communication system, and the multimedia communication system further includes: edge nodes of at least two session protocol server clusters, and centers of at least two session protocol server clusters A node, a terminal, at least two gateways, and a multimedia server; the node scheduler communicates with each of the edge nodes and each of the central nodes; each gateway corresponds to at least one of the central nodes; the method includes: receiving the target call message sent by the target edge node, and identifying the target service type of the target call message; the target edge node is the edge node accessed by the terminal in each of the edge nodes; according to each of the gateways The load corresponding to the target service type, determine the target gateway from the at least two gateways; determine the target central node corresponding to the target gateway from the at least two central nodes; set the target sending a call message to the target central node, so that the target call message is transmitted to the multimedia server via the target central node and the target gateway, so as to establish signaling between the terminal and the multimedia server link.

本申请实施例公开一种多媒体通信方法,应用于多媒体通信系统中的网络负载均衡器;所述多媒体通信系统还包括:至少两个会话协议服务器集群的边缘节点、至少两个会话协议服务器集群的中心节点、节点调度器、终端、至少两个网关和多媒体服务器;所述节点调度器分别与各个所述边缘节点和各个所述中心节点连接;所述终端与所述网络负载均衡器连接,所述网络负载均衡器还分别与各个所述边缘节点连接;每个所述网关与至少一个所述中心节点对应;所述方法包括:接收所述终端发送的目标呼叫消息;根据各个所述边缘节点的负载量从各个所述边缘节点中确定出目标边缘节点;将所述目标呼叫消息发送至所述目标边缘节点,以通过所述目标边缘节点将所述目标呼叫消息发送至所述节点调度器,使得所述目标呼叫消息经由所述节点调度器、目标中心节点和目标网关到达所述多媒体服务器,以建立所述终端与所述多媒体服务器之间的信令链路;其中,所述目标中心节点是所述至少两个中心节点中与所述目标网关对应的中心节点;所述目标网关是所述节点调度器在识别出所述目标呼叫消息的目标业务类型后,根据各个所述网关与所述目标业务类型对应的负载量从各个所述网关中确定出的。The embodiment of the present application discloses a multimedia communication method, which is applied to a network load balancer in a multimedia communication system; the multimedia communication system further includes: edge nodes of at least two session protocol server clusters, at least two session protocol server cluster edge nodes A central node, a node scheduler, a terminal, at least two gateways, and a multimedia server; the node scheduler is respectively connected to each of the edge nodes and each of the central nodes; the terminal is connected to the network load balancer, and the The network load balancer is also respectively connected to each of the edge nodes; each of the gateways corresponds to at least one of the central nodes; the method includes: receiving the target call message sent by the terminal; according to each of the edge nodes Determine the target edge node from each of the edge nodes; send the target call message to the target edge node, so as to send the target call message to the node scheduler through the target edge node , so that the target call message reaches the multimedia server via the node scheduler, the target central node and the target gateway, so as to establish a signaling link between the terminal and the multimedia server; wherein, the target center The node is the central node corresponding to the target gateway among the at least two central nodes; the target gateway is that after the node scheduler recognizes the target service type of the target call message, according to each of the gateways and The load corresponding to the target service type is determined from each of the gateways.

本申请实施例公开一种多媒体通信系统,包括:至少两个会话协议服务器集群的边缘节点、至少两个会话协议服务器集群的中心节点、节点调度器、终端、至少两个网关和多媒体服务器;所述节点调度器分别与各个所述边缘节点和各个所述中心节点连接;每个所述网关与至少一个所述中心节点对应;所述终端,用于发起目标呼叫消息,并将所述目标呼叫消息发送至目标边缘节点;所述目标边缘节点是各个所述边缘节点中所述终端接入的所述边缘节点;所述目标边缘节点,用于将所述目标呼叫消息发送至所述节点调度器;所述节点调度器,用于根据各个所述网关与所述目标业务类型对应的负载量,从所述至少两个网关中确定出目标网关;以及,从所述至少两个中心节点中确定出与所述目标网关对应的目标中心节点,并将所述目标呼叫消息发送至所述目标中心节点;所述目标中心节点,用于将所述目标呼叫消息发送至所述目标网关;所述目标网关,用于将所述目标呼叫消息发送至所述多媒体服务器,以建立所述终端与所述多媒体服务器之间的信令链路。The embodiment of the present application discloses a multimedia communication system, including: edge nodes of at least two session protocol server clusters, central nodes of at least two session protocol server clusters, a node scheduler, a terminal, at least two gateways, and a multimedia server; The node scheduler is respectively connected to each of the edge nodes and each of the central nodes; each of the gateways corresponds to at least one of the central nodes; the terminal is used to initiate a target call message and call the target The message is sent to a target edge node; the target edge node is the edge node accessed by the terminal in each of the edge nodes; the target edge node is used to send the target call message to the node scheduling The node scheduler is configured to determine the target gateway from the at least two gateways according to the load corresponding to each of the gateways and the target service type; and, from the at least two central nodes determining a target central node corresponding to the target gateway, and sending the target call message to the target central node; the target central node is configured to send the target call message to the target gateway; The target gateway is configured to send the target call message to the multimedia server, so as to establish a signaling link between the terminal and the multimedia server.

本申请实施例公开一种节点调度器,所述节点调度器应用于多媒体通信系统,所述多媒体通信系统还包括:至少两个会话协议服务器集群的边缘节点、至少两个会话协议服务器集群的中心节点、终端、至少两个网关和多媒体服务器;所述节点调度器分别与各个所述边缘节点和各个所述中心节点通信连接;每个网关与至少一个所述中心节点对应;所述节点调度器包括:通信模块,用于接收目标边缘节点发送的目标呼叫消息,并识别所述目标呼叫消息的目标业务类型;所述目标边缘节点是各个所述边缘节点中所述终端接入的所述边缘节点;确定模块,用于根据各个所述网关与所述目标业务类型对应的负载量,从所述至少两个网关中确定出目标网关;以及,从所述至少两个中心节点中确定出与所述目标网关对应的目标中心节点;所述通信模块,还用于将所述目标呼叫消息发送至所述目标中心节点,以使所述目标呼叫消息经由所述目标中心节点和所述目标网关传送至所述多媒体服务器,以建立所述终端与所述多媒体服务器之间的信令链路。The embodiment of the present application discloses a node scheduler, which is applied to a multimedia communication system, and the multimedia communication system further includes: edge nodes of at least two session protocol server clusters, and centers of at least two session protocol server clusters A node, a terminal, at least two gateways and a multimedia server; the node scheduler communicates with each of the edge nodes and each of the central nodes; each gateway corresponds to at least one of the central nodes; the node scheduler Including: a communication module, configured to receive a target call message sent by a target edge node, and identify the target service type of the target call message; the target edge node is the edge to which the terminal accesses in each of the edge nodes a node; a determining module, configured to determine the target gateway from the at least two gateways according to the load corresponding to each of the gateways and the target service type; and determine the target gateway from the at least two central nodes A target central node corresponding to the target gateway; the communication module is further configured to send the target call message to the target central node, so that the target call message passes through the target central node and the target gateway sent to the multimedia server to establish a signaling link between the terminal and the multimedia server.

本申请实施例公开一种网络负载均衡器,所述网络负载均衡器应用于多媒体通信系统;所述多媒体通信系统还包括:至少两个会话协议服务器集群的边缘节点、至少两个会话协议服务器集群的中心节点、节点调度器、终端、至少两个网关和多媒体服务器;所述节点调度器分别与各个所述边缘节点和各个所述中心节点连接;所述终端与所述网络负载均衡器连接,所述网络负载均衡器还分别与各个所述边缘节点连接;每个所述网关与至少一个所述中心节点对应;所述网络负载均衡器包括:收发模块,用于接收所述终端发送的目标呼叫消息;均衡模块,用于根据各个所述边缘节点的负载量从各个所述边缘节点中确定出目标边缘节点;所述收发模块,还用于将所述目标呼叫消息发送至所述目标边缘节点,以通过所述目标边缘节点将所述目标呼叫消息发送至所述节点调度器,使得所述目标呼叫消息经由所述节点调度器、目标中心节点和目标网关到达所述多媒体服务器,以建立所述终端与所述多媒体服务器之间的信令链路;其中,所述目标中心节点是所述至少两个中心节点中与所述目标网关对应的中心节点;所述目标网关是所述节点调度器在识别出所述目标呼叫消息的目标业务类型后,根据各个所述网关与所述目标业务类型对应的负载量从各个所述网关中确定出的。The embodiment of the present application discloses a network load balancer, and the network load balancer is applied to a multimedia communication system; the multimedia communication system further includes: edge nodes of at least two session protocol server clusters, at least two session protocol server clusters a central node, a node scheduler, a terminal, at least two gateways, and a multimedia server; the node scheduler is respectively connected to each of the edge nodes and each of the central nodes; the terminal is connected to the network load balancer, The network load balancer is also respectively connected to each of the edge nodes; each of the gateways corresponds to at least one of the central nodes; the network load balancer includes: a transceiver module for receiving the target sent by the terminal A call message; a balancing module, configured to determine a target edge node from each of the edge nodes according to the load of each of the edge nodes; the transceiver module, further configured to send the target call message to the target edge a node, to send the target call message to the node scheduler through the target edge node, so that the target call message reaches the multimedia server via the node scheduler, the target central node and the target gateway, to establish A signaling link between the terminal and the multimedia server; wherein the target central node is a central node corresponding to the target gateway among the at least two central nodes; the target gateway is the node After the scheduler identifies the target service type of the target call message, it is determined from each of the gateways according to the load of each of the gateways corresponding to the target service type.

本申请实施例公开一种服务设备,包括存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现本申请实施例公开的任意一种多媒体通信方法。The embodiment of the present application discloses a service device, including a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor implements any of the functions disclosed in the embodiment of the present application. A multimedia communication method.

本申请实施例公开一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本申请实施例公开的任意一种多媒体通信方法。The embodiment of the present application discloses a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any multimedia communication method disclosed in the embodiment of the present application is implemented.

与相关技术相比,本申请实施例具有以下有益效果:Compared with related technologies, the embodiments of the present application have the following beneficial effects:

多媒体通信系统可包括的会话协议服务器集群可包括多个边缘节点和多个中心节点,且边缘节点和中心节点之间可设置有节点调度器。在终端发起目标呼叫消息之后,节点调度器可接收终端接入的目标边缘节点发送的目标呼叫消息,并识别目标呼叫消息的目标业务类型。节点调度器可进一步根据各个网关与目标业务类型对应的负载量从至少两个网关中确定出目标网关,从而根据网关与中心节点的对应关系,确定出与目标网关对应的目标中心节点。节点调度器可将目标呼叫消息发送至目标中心节点,以使目标呼叫消息经由目标中心节点和目标网关传送至多媒体服务器,以建立终端与多媒体服务器之间的信令链路。The session protocol server cluster that the multimedia communication system may include may include multiple edge nodes and multiple central nodes, and a node scheduler may be set between the edge nodes and the central nodes. After the terminal initiates the target call message, the node scheduler may receive the target call message sent by the target edge node accessed by the terminal, and identify the target service type of the target call message. The node scheduler can further determine the target gateway from at least two gateways according to the load corresponding to each gateway and the target service type, so as to determine the target central node corresponding to the target gateway according to the corresponding relationship between the gateway and the central node. The node scheduler may send the target call message to the target central node, so that the target call message is transmitted to the multimedia server via the target central node and the target gateway, so as to establish a signaling link between the terminal and the multimedia server.

可见,在本申请实施例中,通过在边缘节点和中心节点之间设置节点调度器进行内部服务桥接的调度方案,可以根据呼叫的业务类型在业务层面上进行精细化的负载均衡,有利于减少服务器过载的问题,增强多媒体通信系统的可用性。并且,相较于边缘节点与中心节点直连的架构,节点调度器提供的桥接调度功能可以实现会话协议服务器高效的集群调度。It can be seen that in the embodiment of this application, by setting a node scheduler between the edge node and the central node to perform internal service bridging scheduling scheme, it is possible to carry out refined load balancing at the service level according to the service type of the call, which is beneficial to reduce The problem of server overloading enhances the availability of multimedia communication systems. Moreover, compared to the architecture in which edge nodes are directly connected to central nodes, the bridge scheduling function provided by the node scheduler can realize efficient cluster scheduling of session protocol servers.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1是相关技术中一种多媒体通信系统的结构示意图;Fig. 1 is a schematic structural diagram of a multimedia communication system in the related art;

图2是本申请一个实施例公开的一种多媒体通信系统的结构示意图;FIG. 2 is a schematic structural diagram of a multimedia communication system disclosed in an embodiment of the present application;

图3是本申请一个实施例公开的一种多媒体通信方法的方法流程示意图;Fig. 3 is a schematic method flow diagram of a multimedia communication method disclosed in an embodiment of the present application;

图4是本申请一个实施例公开的另一种多媒体通信系统的结构示意图;FIG. 4 is a schematic structural diagram of another multimedia communication system disclosed by an embodiment of the present application;

图5是本申请一个实施例公开的另一种多媒体通信方法的方法流程示意图;FIG. 5 is a schematic flow diagram of another multimedia communication method disclosed by an embodiment of the present application;

图6是本申请一个实施例公开的一种节点调度器的结构示意图;Fig. 6 is a schematic structural diagram of a node scheduler disclosed in an embodiment of the present application;

图7是本申请一个实施例公开的一种网络负载均衡器的结构示意图;FIG. 7 is a schematic structural diagram of a network load balancer disclosed in an embodiment of the present application;

图8是本申请一个实施例公开的一种服务设备的结构示意图。Fig. 8 is a schematic structural diagram of a service device disclosed by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some, not all, embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

需要说明的是,本申请实施例及附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "comprising" and "having" and any variations thereof in the embodiments of the present application and the drawings are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.

为了更清楚地说明本申请实施例公开的多媒体通信方法、系统、相关设备及存储介质,以下内容先对相关技术中的多媒体通信方法进行介绍。In order to more clearly illustrate the multimedia communication method, system, related equipment, and storage medium disclosed in the embodiments of the present application, the following content first introduces the multimedia communication method in the related art.

为了便于描述,以下内容以SIP协议为例进行说明。请参阅图1,图1是相关技术中一种多媒体通信系统的结构示意图。如图1所示,该多媒体通信系统可包括:实时音视频(Real-Time Communication,RTC)系统110、会话协议服务器集群120、SIP终端130、数据库集群140和RTC终端150。For ease of description, the following content uses the SIP protocol as an example for description. Please refer to FIG. 1 . FIG. 1 is a schematic structural diagram of a multimedia communication system in the related art. As shown in FIG. 1 , the multimedia communication system may include: a real-time audio-video (Real-Time Communication, RTC) system 110 , a session protocol server cluster 120 , a SIP terminal 130 , a database cluster 140 and an RTC terminal 150 .

RTC系统110可包括:网关集群111、多个多媒体服务器以及信令服务器集群(SignalServer-Cluster)113。网关集群111可通过信令服务器集群113与各个多媒体服务器连接,其中,信令服务器集群113与网关集群111可基于超文本传输协议(Hyper TextTransfer Protocol,HTTP)协议进行通信,信令服务器集群113与各个多媒体服务器之间可基于远程过程调用(Remote Procedure Calls,RPC)进行通信。The RTC system 110 may include: a gateway cluster 111 , multiple multimedia servers, and a signaling server cluster (SignalServer-Cluster) 113 . The gateway cluster 111 can be connected to each multimedia server through the signaling server cluster 113, wherein the signaling server cluster 113 and the gateway cluster 111 can communicate based on the Hyper Text Transfer Protocol (Hyper TextTransfer Protocol, HTTP) protocol, and the signaling server cluster 113 and Various multimedia servers can communicate based on Remote Procedure Calls (Remote Procedure Calls, RPC).

网关集群111,可包括多个网关。网关是将SIP协议与多媒体通信协议进行转换的接口。例如,若网关集群111与信令服务集群113之间通过HTTP协议进行通信,则网关集群111可用于将基于SIP协议传输的数据转换成HTTP协议对应的数据。The gateway cluster 111 may include multiple gateways. The gateway is an interface that converts the SIP protocol and the multimedia communication protocol. For example, if the gateway cluster 111 communicates with the signaling service cluster 113 through the HTTP protocol, the gateway cluster 111 may be used to convert data transmitted based on the SIP protocol into data corresponding to the HTTP protocol.

多媒体服务器112,可提供音视频数据的编解码服务,为线上会议、音视频通话、云游戏、直播等应用场景提供多媒体数据的服务支持。The multimedia server 112 can provide audio and video data encoding and decoding services, and provide multimedia data service support for application scenarios such as online meetings, audio and video calls, cloud games, and live broadcasting.

信令服务器集群113,可为网关集群111及多媒体服务器112提供信令交互服务。The signaling server cluster 113 can provide signaling interaction services for the gateway cluster 111 and the multimedia server 112 .

会话协议服务器集群120可包括直接面向SIP终端130的边缘节点,以及面向网关集群111的中心节点。会话协议服务器集群120可包括多个边缘节点和多个中心节点,如图1所示的边缘节点121和中心节点122。其中,每个中心节点可与一个或多个边缘节点通信连接。The session protocol server cluster 120 may include an edge node directly facing the SIP terminal 130 , and a central node facing the gateway cluster 111 . The session protocol server cluster 120 may include multiple edge nodes and multiple central nodes, such as the edge node 121 and the central node 122 shown in FIG. 1 . Wherein, each central node can communicate with one or more edge nodes.

数据库集群140可用于存储会话协议服务器集群120和RTC系统110写入的各种数据,并且提供数据查询功能。The database cluster 140 can be used to store various data written by the session protocol server cluster 120 and the RTC system 110, and provide a data query function.

RTC终端150可以是任意一种接入RTC系统110的终端。RTC终端150可通过RTC系统110以及会话协议服务器集群120与SIP终端130进行多媒体数据传输。The RTC terminal 150 may be any terminal that accesses the RTC system 110 . The RTC terminal 150 can transmit multimedia data with the SIP terminal 130 through the RTC system 110 and the session protocol server cluster 120 .

SIP协议是一个基于文本的应用层控制协议,可支持以下各种传输层协议:传输控制协议(Transmission Control Protocol、TCP)、用户数据报协议(User DatagramProtocol,UDP)、安全传输层协议(Transport Layer Security,TLS)。SIP协议规定了一个或多个会话参与方进行交互通信的标准,可用于建立、修改和终止网络上的双方或多方多媒体会话。因此,多媒体会话的参与方在相互传输多媒体数据之前,需要先进行信令协商。在信令协商完成之后,各个参与方可基于实时传输协议(Real-time Transport Protocol,RTP)或安全实时传输协议(Secure Real-time Transport Protocol,SRTP)等通信协议建立多媒体数据的传输通道。The SIP protocol is a text-based application layer control protocol that supports the following transport layer protocols: Transmission Control Protocol (Transmission Control Protocol, TCP), User Datagram Protocol (User Datagram Protocol, UDP), Security Transport Layer Protocol (Transport Layer Security, TLS). The SIP protocol specifies the standard for interactive communication between one or more session participants, and can be used to establish, modify, and terminate two-party or multi-party multimedia sessions on the network. Therefore, the participants in the multimedia session need to perform signaling negotiation before transmitting multimedia data to each other. After the signaling negotiation is completed, each participant can establish a multimedia data transmission channel based on communication protocols such as Real-time Transport Protocol (RTP) or Secure Real-time Transport Protocol (SRTP).

基于如图1所示的多媒体通信系统,以下内容对相关技术中信令协商及多媒体数据传输的流程进行说明。Based on the multimedia communication system shown in FIG. 1 , the following content describes the flow of signaling negotiation and multimedia data transmission in the related art.

SIP终端130发起呼叫,并将呼叫对应的SIP呼叫消息发送至接入的边缘节点121。SIP终端130接入的边缘节点121在接收到SIP呼叫消息之后,将SIP呼叫消息发送至与该边缘节点121通信连接的中心节点122。中心节点122将SIP呼叫消息发送至网关集群111,使得中心节点122接入网关集群111。网关集群111对SIP呼叫消息进行协议转换,将SIP呼叫消息从SIP信令转换为HTTP信令,并将转换后的SIP呼叫消息经由信令服务器集群113发送至多媒体服务器112。The SIP terminal 130 initiates a call, and sends a SIP call message corresponding to the call to the accessed edge node 121 . After receiving the SIP call message, the edge node 121 accessed by the SIP terminal 130 sends the SIP call message to the central node 122 communicatively connected with the edge node 121 . The central node 122 sends the SIP call message to the gateway cluster 111 , so that the central node 122 accesses the gateway cluster 111 . The gateway cluster 111 performs protocol conversion on the SIP call message, converts the SIP call message from SIP signaling to HTTP signaling, and sends the converted SIP call message to the multimedia server 112 via the signaling server cluster 113 .

基于此,建立了SIP终端130到多媒体服务器112之间的信令链路,该信令链路中的信令链路连接关系包括:SIP终端130与边缘节点121连接,边缘节点121与中心节点122连接,中心节点122与网关集群111连接,网关集群111与多媒体服务器112连接。Based on this, the signaling link between the SIP terminal 130 and the multimedia server 112 is established. The signaling link connection relationship in the signaling link includes: the SIP terminal 130 is connected to the edge node 121, and the edge node 121 is connected to the central node. 122, the central node 122 is connected to the gateway cluster 111, and the gateway cluster 111 is connected to the multimedia server 112.

多媒体服务器112在接收到SIP呼叫消息之后,可以生成SIP响应消息,并将SIP响应消息发送至接入的网关集群111,网关集群111进行协议转换,将SIP响应消息从HTTP信令转换为SIP信令,并将转换后的SIP响应消息发送至中心节点122,中心节点122将SIP响应消息发送至边缘节点121,再经由边缘节点121将SIP响应消息发送至SIP终端130。After receiving the SIP call message, the multimedia server 112 can generate a SIP response message, and send the SIP response message to the accessed gateway cluster 111, and the gateway cluster 111 performs protocol conversion, and converts the SIP response message from HTTP signaling to SIP signaling. Command, and send the converted SIP response message to the central node 122, the central node 122 sends the SIP response message to the edge node 121, and then sends the SIP response message to the SIP terminal 130 via the edge node 121.

SIP终端130发送的SIP呼叫消息可包括SIP终端130的端口、IP地址、生命周期、多媒体能力、支持的编解码协议等与SIP终端130相关的连接信息;多媒体服务器112发送的SIP响应消息可包括多媒体服务器112的端口、IP地址、生命周期、多媒体能力、支持的编解码协议等与多媒体服务器112相关的连接信息。The SIP call message sent by the SIP terminal 130 can include connection information related to the SIP terminal 130 such as the port of the SIP terminal 130, IP address, life cycle, multimedia capabilities, and supported codec protocols; the SIP response message sent by the multimedia server 112 can include Connection information related to the multimedia server 112 such as the port, IP address, life cycle, multimedia capabilities, and supported codec protocols of the multimedia server 112 .

SIP终端130与多媒体服务器112基于SIP呼叫消息和SIP响应消息完成信令协商。基于多媒体服务器112接收到的SIP终端130的连接信息,以及SIP终端1300接收到到多媒体服务器112的连接信息,SIP终端130可与多媒体服务器112建立基于RTP协议的通信链路,并通RTP协议的通信链路进行多媒体数据的传输。The SIP terminal 130 completes the signaling negotiation with the multimedia server 112 based on the SIP call message and the SIP response message. Based on the connection information of the SIP terminal 130 received by the multimedia server 112, and the connection information received by the SIP terminal 1300 to the multimedia server 112, the SIP terminal 130 can establish a communication link based on the RTP protocol with the multimedia server 112, and communicate with the multimedia server 112. The communication link carries out the transmission of multimedia data.

需要说明的是,RTC终端150可基于WebSocket(WS)连接与信令服务器集群113进行信令协商,并在信令协商后与多媒体服务器112建立基于RTP协议的通信链路,并通RTP协议的通信链路进行多媒体数据的传输。It should be noted that the RTC terminal 150 can perform signaling negotiation with the signaling server cluster 113 based on the WebSocket (WS) connection, and establish a communication link based on the RTP protocol with the multimedia server 112 after the signaling negotiation, and communicate with the RTP protocol. The communication link carries out the transmission of multimedia data.

可见,基于如图1所示的多媒体通信系统,会话协议服务器集群中的边缘节点和中心节点在多媒体服务器与SIP终端之间的信令协商中具有重要作用。然而,当边缘节点接入的终端数量较多,或者终端在短时间内过于频繁地发起呼叫时,可能会加重边缘节点或中心节点等会话协议服务器的承载量,导致服务器崩溃或宕机,从而降低整个多媒体通信系统的可用性。It can be seen that based on the multimedia communication system shown in FIG. 1 , the edge nodes and central nodes in the session protocol server cluster play an important role in the signaling negotiation between the multimedia server and the SIP terminal. However, when the number of terminals connected to the edge node is large, or the terminal initiates calls too frequently in a short period of time, it may increase the load capacity of the session protocol server such as the edge node or the central node, causing the server to crash or go down, thus Reduce the availability of the entire multimedia communication system.

基于此,本申请实施例公开一种多媒体通信方法、系统、相关设备及存储介质,能够在业务层面对服务器进行精细化的负载调度,有利于增强多媒体通信系统的可用性。Based on this, the embodiment of the present application discloses a multimedia communication method, system, related equipment, and storage medium, capable of fine-grained load scheduling for servers at the service level, which is beneficial to enhance the usability of the multimedia communication system.

请参阅图2,图2是一个实施例公开的一种多媒体通信系统的结构示意图。如图2所示,该多媒体通信系统可包括:RTC系统210、会话协议服务器集群220、终端230。其中,会话协议服务器集群可应用SIP、GB28181或RTSP等有状态的应用层协议。为了便于描述,以下内容以SIP协议为例进行说明。Please refer to FIG. 2 . FIG. 2 is a schematic structural diagram of a multimedia communication system disclosed by an embodiment. As shown in FIG. 2 , the multimedia communication system may include: an RTC system 210 , a session protocol server cluster 220 , and a terminal 230 . Among them, the session protocol server cluster can apply stateful application layer protocols such as SIP, GB28181 or RTSP. For ease of description, the following content uses the SIP protocol as an example for description.

终端230可以是任意一种SIP设备,例如会议协作终端或者智能手机等个人终端。The terminal 230 may be any kind of SIP device, such as a conference collaboration terminal or a personal terminal such as a smart phone.

RTC系统210可包括:至少两个网关和多媒体服务器214。如图2所示,RTC系统210可包括三个网关,分别为网关211、网关212和网关213。The RTC system 210 may include: at least two gateways and a multimedia server 214 . As shown in FIG. 2 , the RTC system 210 may include three gateways, namely a gateway 211 , a gateway 212 and a gateway 213 .

需要说明的是,RTC系统还可包括信令服务器集群等其它服务设备,各个网关均可与多媒体服务器214通信,网关与多媒体服务器214的通信过程不做限定。It should be noted that the RTC system may also include other service devices such as signaling server clusters, and each gateway may communicate with the multimedia server 214, and the communication process between the gateway and the multimedia server 214 is not limited.

会话协议服务器集群220可包括:至少两个边缘节点、至少两个中心节点以及节点调度器223。如图2所示,会话协议服务器集群可包括中心节点221、中心节点222以及边缘节点224。节点调度器223分别与各个边缘节点和中心节点通信连接。The session protocol server cluster 220 may include: at least two edge nodes, at least two central nodes, and a node scheduler 223 . As shown in FIG. 2 , the session protocol server cluster may include a central node 221 , a central node 222 and an edge node 224 . The node scheduler 223 communicates with each edge node and central node respectively.

会话协议服务器集群包括的各个边缘节点和中心节点可用于提供SIP信令以及多媒体数据传输服务,边缘节点和中心节点可以是SIP代理(SIP Proxy)服务器。The edge nodes and central nodes included in the session protocol server cluster can be used to provide SIP signaling and multimedia data transmission services, and the edge nodes and central nodes can be SIP proxy (SIP Proxy) servers.

并且,RTC系统210包括的每个网关可与一个或多个中心节点对应,每个网关可与对应的中心节点建立通信连接,并基于SIP协议相互传输数据。以网关212为例,网关212可分别与会话协议服务器集群220中的中心节点221和中心节点222对应,可网关212可与中心节点221和中心节点222传输SIP消息。Moreover, each gateway included in the RTC system 210 may correspond to one or more central nodes, each gateway may establish a communication connection with the corresponding central node, and transmit data based on the SIP protocol. Taking the gateway 212 as an example, the gateway 212 may correspond to the central node 221 and the central node 222 in the session protocol server cluster 220 respectively, and the gateway 212 may transmit SIP messages with the central node 221 and the central node 222 .

需要说明的是,前述的节点调度器可以是一个独立的服务设备,也可是内置在任意一个边缘节点中,与边缘节点绑定的处理模块,具体不做限定。It should be noted that the foregoing node scheduler may be an independent service device, or may be a processing module built in any edge node and bound to the edge node, which is not specifically limited.

可选的,多媒体通信系统还可包括:数据库240。数据库240可分别与RTC系统包括的各个网关以及节点调度器223连接。各个网关可将当前的负载量写入数据库240,节点调度器223可通过访问数据库240查询各个网关的负载量。其中,每个网关的负载量可通过网关正在处理的呼叫任务的并发量进行表示,但不限于此。Optionally, the multimedia communication system may further include: a database 240 . The database 240 can be respectively connected with each gateway and the node scheduler 223 included in the RTC system. Each gateway can write the current load into the database 240 , and the node scheduler 223 can query the load of each gateway by accessing the database 240 . Wherein, the load of each gateway may be represented by the concurrent call tasks being processed by the gateway, but is not limited thereto.

基于如图2所示的多媒体通信系统,请参阅图3,图3是一个实施例公开的一种多媒体通信方法的方法流程示意图,该方法可应用于前述的节点调度器。如图3所示,该方法可包括以下步骤:Based on the multimedia communication system shown in FIG. 2 , please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a multimedia communication method disclosed in an embodiment, which can be applied to the aforementioned node scheduler. As shown in Figure 3, the method may include the following steps:

310、接收终端接入的目标边缘节点发送的目标呼叫消息,并识别目标呼叫消息的目标业务类型。310. Receive the target call message sent by the target edge node accessed by the terminal, and identify the target service type of the target call message.

目标边缘节点是多媒体通信系统包括的多个边缘节点中终端接入的边缘节点,本申请实施例对目标边缘节点的确定方式不做限定。示例性的,目标边缘节点可以是与终端在物理距离上最近的边缘节点。The target edge node is an edge node accessed by a terminal among the multiple edge nodes included in the multimedia communication system, and the embodiment of the present application does not limit the manner of determining the target edge node. Exemplarily, the target edge node may be an edge node physically closest to the terminal.

目标呼叫消息可以是终端在发起呼叫时生成的SIP消息。The target call message may be a SIP message generated when the terminal initiates a call.

在本申请实施例中,RTC系统可应用于多种不同类型的业务,包括但不限于:电话会议、视频电话、游戏互动。终端在发起呼叫时,可以根据触发呼叫的应用程序的类型确定本次呼叫对应的目标业务类型,并将目标业务类型写入目标呼叫消息,例如可通过不同的代号表示不同的业务类型。节点调度器在接收到目标呼叫消息后,可从目标呼叫消息中读取出目标业务类型。In the embodiment of the present application, the RTC system can be applied to many different types of services, including but not limited to: teleconferencing, video telephony, and game interaction. When the terminal initiates a call, it can determine the target service type corresponding to the call according to the type of the application program that triggered the call, and write the target service type into the target call message, for example, different codes can represent different service types. After receiving the target call message, the node scheduler can read the target service type from the target call message.

320、根据各个网关与目标业务类型对应的负载量,从至少两个网关中确定出目标网关。320. Determine the target gateway from at least two gateways according to the loads of the respective gateways corresponding to the target service type.

在本申请实施例中,RTC系统包括的每个网关都可用于处理一种或多种不同业务类型的呼叫。当网关能够处理两种或以上的不同业务类型的呼叫时,可以针对每种业务类型的呼叫划分对应的负载量。示例性的,若网关可处理电话会议和游戏互动两种类型的业务呼叫,则网关可分别统计电话会议对应的负载量A和游戏互动对应的负载量B。In the embodiment of the present application, each gateway included in the RTC system can be used to process calls of one or more different service types. When the gateway is capable of handling calls of two or more different service types, the corresponding load can be divided for calls of each service type. Exemplarily, if the gateway can handle two types of service calls, conference call and game interaction, the gateway can separately count the load A corresponding to the conference call and the load B corresponding to the game interaction.

需要说明的是,网关的负载量可通过呼叫的并发量进行表示,而呼叫的并发量可根据不同的业务类型具有不同的描述。示例性的,针对业务类型为电话会议的呼叫,并发量可描述为电话会议的参与方数量;针对业务类型为视频电话的呼叫,并发量可描述为视频电话的同时呼叫数量;针对业务类型为游戏互动的呼叫,并发量可描述为游戏互动的同时在线人数。It should be noted that the load of the gateway can be represented by the concurrent calls, and the concurrent calls can have different descriptions according to different service types. Exemplarily, for a call whose business type is a conference call, the concurrency can be described as the number of participants in the conference call; for a call whose business type is a video call, the concurrency can be described as the number of simultaneous calls for a video call; for a business type of For game interaction calls, the concurrency can be described as the number of simultaneous online game interaction.

节点调度器在识别出本次呼叫对应的目标业务类型之后,可以获取多个网关中每个网关与目标业务类型对应的负载量。例如,若目标业务类型为电话会议,RTC系统包括3个网关,分别为网关1、网关2和网关3,则节点调度器可分别获取网关1、网关2和网关3各自与电话会议对应的负载量。After identifying the target service type corresponding to this call, the node scheduler can obtain the load corresponding to the target service type of each gateway among the multiple gateways. For example, if the target service type is teleconference, and the RTC system includes three gateways, namely gateway 1, gateway 2, and gateway 3, the node scheduler can obtain the respective loads of gateway 1, gateway 2, and gateway 3 corresponding to teleconferencing quantity.

节点调度器获取到的各个网关的负载量可以是网关发送至对应的中心节点,并由中心节点将接收到的负载量数据发送至节点调度器的。或者,The load of each gateway acquired by the node scheduler may be sent by the gateway to the corresponding central node, and the central node sends the received load data to the node scheduler. or,

作为一种可选的实施方式,若多媒体通信系统包括前述的数据库,则数据库可存储有各个网关处理两种或以上的不同业务类型的呼叫时分别对应的负载量。节点调度器可从数据库中查询出每个网关与目标业务类型对应的负载量,可以加快获取到网关负载量的速度。As an optional implementation manner, if the multimedia communication system includes the foregoing database, the database may store loads corresponding to each gateway handling calls of two or more different service types. The node scheduler can query the load of each gateway corresponding to the target business type from the database, which can speed up the speed of obtaining the load of the gateway.

在本申请实施例中,节点调度器可从RTC系统包括的各个网关中选取出与目标业务类型对应的负载量较小的网关作为目标网关。In the embodiment of the present application, the node scheduler may select a gateway with a relatively small load corresponding to the target service type as the target gateway from various gateways included in the RTC system.

作为一种可选的实施方式,节点调度器可设置负载量对应的阈值,并将各个网关与目标业务类型对应的负载量与阈值进行比较。若某一网关与目标业务类型对应的负载量低于阈值,则节点调度器可将该网关确定为目标网关。可选的,若存在多个与业务类型对应的负载量低于阈值的网关,则节点调度器可从多个负载量低于阈值的网关中随机确定出一个网关作为目标网关;或者,节点调度器也可以按照预设的顺序从多个负载量低于阈值的网关中依次按顺序选取出目标网关,具体不做限定。As an optional implementation manner, the node scheduler may set a threshold corresponding to the load, and compare the load corresponding to each gateway and the target service type with the threshold. If the load corresponding to a certain gateway and the target service type is lower than the threshold, the node scheduler may determine the gateway as the target gateway. Optionally, if there are multiple gateways whose loads corresponding to the service types are lower than the threshold, the node scheduler may randomly determine a gateway from the multiple gateways whose loads are lower than the threshold as the target gateway; or, the node scheduler The controller may also sequentially select a target gateway from multiple gateways whose loads are lower than the threshold according to a preset sequence, which is not specifically limited.

作为另一种可选的实施方式,节点调度器可按照各个网关与目标业务类型对应的负载量对RTC系统包括的各个网关进行排序,并将对应的负载量最小的网关确定为目标网关。As another optional implementation manner, the node scheduler may sort the gateways included in the RTC system according to the load corresponding to each gateway and the target service type, and determine the gateway with the smallest corresponding load as the target gateway.

330、从至少两个中心节点中确定出与目标网关对应的目标中心节点。330. Determine a target central node corresponding to the target gateway from at least two central nodes.

在本申请实施例中,若目标网关与一个中心节点对应,则节点调度器可直接将与目标网关对应的中心节点确定为目标中心节点。In the embodiment of the present application, if the target gateway corresponds to a central node, the node scheduler may directly determine the central node corresponding to the target gateway as the target central node.

若目标网关与两个或以上的中心节点对应,则节点调度器可从与目标网关对应的各个中心节点中随机选取出一个中心节点作为目标中心节点。或者,节点调度器可根据与目标网关对应的多个中心节点的运行状态或者各个中心节点的负载量从与目标节点对应的多个中心节点中确定出目标中心节点。If the target gateway corresponds to two or more central nodes, the node scheduler may randomly select a central node from the central nodes corresponding to the target gateway as the target central node. Alternatively, the node scheduler may determine the target central node from the multiple central nodes corresponding to the target node according to the operating status of the multiple central nodes corresponding to the target gateway or the load of each central node.

作为一种可选的实施方式,节点调度器可监控会话协议服务器集群包括的各个中心节点是否宕机;若监控到某个中心节点宕机,则节点调度器可记录宕机的中心节点;在对目标呼叫消息进行调度分发时,节点调度器可以忽略已宕机的中心节点,将目标呼叫消息分发至与目标网关对应且未宕机的中心节点中。也就是说,节点调度器可将与目标网关对应且未宕机的中心节点确定为目标中心节点。其中,若多媒体通信系统包括数据库,则节点调度器可将已宕机的中心节点的信息记录至数据库。在对目标呼叫消息进行调度分发时,节点调度器可从数据库中查询已宕机的中心节点的信息,从而确定出未宕机的中心节点。As an optional implementation, the node scheduler can monitor whether each central node included in the session protocol server cluster is down; if a certain central node is monitored to be down, the node scheduler can record the downtime central node; When scheduling and distributing the target call message, the node scheduler may ignore the downtime central node, and distribute the target call message to the non-downtime central node corresponding to the target gateway. That is to say, the node scheduler can determine the central node corresponding to the target gateway and not downtime as the target central node. Wherein, if the multimedia communication system includes a database, the node scheduler can record the information of the downtime central node into the database. When scheduling and distributing the target call message, the node scheduler can query the information of the downtime central node from the database, so as to determine the non-downtime central node.

340、将目标呼叫消息发送至目标中心节点,以使目标呼叫消息经由目标中心节点和目标网关传送至多媒体服务器,以建立终端与多媒体服务器之间的信令链路。340. Send the target call message to the target central node, so that the target call message is transmitted to the multimedia server via the target central node and the target gateway, so as to establish a signaling link between the terminal and the multimedia server.

当目标呼叫消息到达多媒体服务器时,完成终端与多媒体服务器之间的信令链路建立,呼叫响应消息、呼叫释放消息等信令可以在该信令链路上进行传输。When the target call message reaches the multimedia server, the establishment of the signaling link between the terminal and the multimedia server is completed, and signaling such as a call response message and a call release message can be transmitted on the signaling link.

在一些可能的实施例中,信令链路可包括:终端与目标边缘节点连接、目标边缘节点与目标中心节点连接、目标中心节点与目标网关连接、目标网关与多媒体服务器连接。由于会话协议服务器集群的边缘节点和中心节点处于同一集群中,且基于SIP协议等会话协议的会话保活机制,当节点调度器确定出目标中心节点,并将目标呼叫消息从目标边缘节点发送至目标中心节点之后,目标中心节点可从节点调度器中获取到目标边缘节点的信息。在上述的信令链路建立之后,目标中心节点可与目标边缘节点直接通信,无需再经由节点调度器进行数据转发,可以在一定程度上减轻节点调度器的压力。In some possible embodiments, the signaling link may include: connecting the terminal to the target edge node, connecting the target edge node to the target central node, connecting the target central node to the target gateway, and connecting the target gateway to the multimedia server. Since the edge node and the central node of the session protocol server cluster are in the same cluster, and based on the session keep-alive mechanism of the session protocol such as SIP, when the node scheduler determines the target central node, and sends the target call message from the target edge node to After the target central node, the target central node can obtain the information of the target edge node from the node scheduler. After the above-mentioned signaling link is established, the target central node can directly communicate with the target edge node without data forwarding via the node scheduler, which can reduce the pressure on the node scheduler to a certain extent.

在另一些可能的实施例中,上述的信令链路也可以包括节点调度器,节点调度器也可以作为目标中心节点和目标边缘节点之间的桥接器,将目标中心节点发送的信令转发至目标边缘节点,和/或,将目标边缘节点发送的信令转发至目标中心节点。In some other possible embodiments, the above-mentioned signaling link may also include a node scheduler, and the node scheduler may also serve as a bridge between the target central node and the target edge node, forwarding the signaling sent by the target central node to the target edge node, and/or forward the signaling sent by the target edge node to the target central node.

示例性的,结合图2所示的多媒体通信系统和图3所示的多媒体通信方法,以下内容对基于本申请实施例公开的多媒体通信系统进行信令协商及多媒体数据传输的流程进行说明。Exemplarily, with reference to the multimedia communication system shown in FIG. 2 and the multimedia communication method shown in FIG. 3 , the following content describes the process of signaling negotiation and multimedia data transmission based on the multimedia communication system disclosed in the embodiment of the present application.

终端230可将目标呼叫消息发送至目标边缘节点224,目标边缘节点224将目标呼叫消息发送至节点调度器223,节点调度器224可识别目标呼叫消息的目标业务类型,并从数据库240中查询RTC系统210包括的各个网关与目标业务类型对应的负载量。节点调度器224根据各个网关的负载量,将网关212确定为目标网关,再根据网关212与中心节点之间的对应关系,将中心节点221确定为目标中心节点。节点调度器224先将目标呼叫消息发送至目标中心节点221,目标中心节点221将目标呼叫消息发送至目标网关212,目标网关212在对目标呼叫信息进行协议转换之后,再将目标呼叫消息发送至多媒体服务器214。The terminal 230 can send the target call message to the target edge node 224, and the target edge node 224 can send the target call message to the node scheduler 223, and the node scheduler 224 can identify the target service type of the target call message, and query the RTC from the database 240 Each gateway included in the system 210 corresponds to the load of the target service type. The node scheduler 224 determines the gateway 212 as the target gateway according to the load of each gateway, and then determines the central node 221 as the target central node according to the corresponding relationship between the gateway 212 and the central node. The node scheduler 224 first sends the target call message to the target central node 221, and the target central node 221 sends the target call message to the target gateway 212, and the target gateway 212 sends the target call message to the Multimedia server 214.

基于此,建立了终端230到多媒体服务器214之间的信令链路,该信令链路中的信令链路连接关系包括:终端230与目标边缘节点224连接,目标边缘节点224与目标中心节点221连接,目标中心节点221与目标网关212连接,目标网关212与多媒体服务器214连接。Based on this, the signaling link between the terminal 230 and the multimedia server 214 is established. The signaling link connection relationship in the signaling link includes: the terminal 230 is connected to the target edge node 224, and the target edge node 224 is connected to the target center. The node 221 is connected, the target central node 221 is connected to the target gateway 212 , and the target gateway 212 is connected to the multimedia server 214 .

多媒体服务器214在接收到呼叫消息之后,可以生成目标响应消息。目标响应消息沿着上述的信令链路返回到终端230,完成信令协商。After receiving the call message, the multimedia server 214 may generate a target response message. The target response message is returned to the terminal 230 along the above-mentioned signaling link, and the signaling negotiation is completed.

目标边缘节点224可根据接收到的目标呼叫消息中终端230的连接信息与终端230建立SRTP连接;以及,目标边缘节点224可根据接收到的目标响应消息中多媒体服务器214的连接消息与多媒体服务器214建立RTP连接。多媒体服务器214与终端230之间可以通过与目标边缘节点的SRTP连接和RTP连接进行多媒体数据的交互。其中,终端230与目标边缘节点224可能处于不同的网络中,因此可采用SRTP连接进行多媒体数据传输,以提高多媒体数据传输的安全性。The target edge node 224 can establish an SRTP connection with the terminal 230 according to the connection information of the terminal 230 in the received target call message; Establish an RTP connection. The interaction of multimedia data between the multimedia server 214 and the terminal 230 may be performed through an SRTP connection and an RTP connection with the target edge node. Wherein, the terminal 230 and the target edge node 224 may be in different networks, so the SRTP connection may be used for multimedia data transmission, so as to improve the security of multimedia data transmission.

此外,在呼叫释放时,终端230或者多媒体服务器214发起的呼叫释放消息会沿原信令链路进行。即,终端230发起的呼叫释放消息会经由目标边缘节点224、目标中心节点221和目标网关212到达多媒体服务器211,从而完成本次呼叫释放。或者,多媒体服务器211发起的呼叫释放消息会经由目标网关212、目标中心节点221和目标边缘节点224到达终端230,从而完成本次呼叫释放。In addition, when the call is released, the call release message initiated by the terminal 230 or the multimedia server 214 will be carried out along the original signaling link. That is, the call release message initiated by the terminal 230 will reach the multimedia server 211 via the target edge node 224 , the target central node 221 and the target gateway 212 , thereby completing the call release. Alternatively, the call release message initiated by the multimedia server 211 will reach the terminal 230 via the target gateway 212 , the target central node 221 and the target edge node 224 , thereby completing the call release.

可见,在前述实施例中,通过在边缘节点和中心节点之间设置节点调度器进行内部服务桥接的调度方案,可以根据呼叫的业务类型在业务层面上进行精细化的负载均衡,有利于减少服务器过载的问题,增强多媒体通信系统的可用性。并且,相较于边缘节点与中心节点直连的架构,节点调度器提供的桥接调度功能可以实现会话协议服务器高效的集群调度。It can be seen that in the foregoing embodiments, by setting a node scheduler between the edge node and the central node to perform internal service bridging scheduling scheme, it is possible to carry out refined load balancing at the service level according to the service type of the call, which is beneficial to reduce the number of servers Overload problems, enhanced availability of multimedia communication systems. Moreover, compared to the architecture in which edge nodes are directly connected to central nodes, the bridge scheduling function provided by the node scheduler can realize efficient cluster scheduling of session protocol servers.

进一步地,在前述实施例中,每个网关可多个中心节点对应,且节点调度器可对中心节点进行监控,如果有中心节点宕机,则节点调度器在调度分发时可以略过宕机的服务器,将目标呼叫消息发送至未宕机的中心节点。即,与同一个网关对应的多个中心节点之间可以互为备份,能够达到集群容灾的能力,也可以增强整个多媒体通信系统的可用性。Further, in the foregoing embodiments, each gateway can correspond to multiple central nodes, and the node scheduler can monitor the central nodes. If a central node is down, the node scheduler can skip the downtime when scheduling distribution The server of the target call message is sent to the central node that is not down. That is, multiple central nodes corresponding to the same gateway can back up each other, which can achieve cluster disaster recovery capability, and can also enhance the availability of the entire multimedia communication system.

请参阅图4,图4是一个实施例公开的另一种多媒体通信系统的结构示意图。图4所示的多媒体通信系统可以是在图2所示的多媒体通信系统的基础上进行优化得到的。与图2所示的系统相比,图4所示的多媒体通信系统还可包括:网络负载均衡器250。Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of another multimedia communication system disclosed by an embodiment. The multimedia communication system shown in FIG. 4 may be optimized on the basis of the multimedia communication system shown in FIG. 2 . Compared with the system shown in FIG. 2 , the multimedia communication system shown in FIG. 4 may further include: a network load balancer 250 .

网络负载均衡器250可以设置在终端230与边缘节点221之间,网络负载均衡器可分别与终端230和各个边缘节点连接。The network load balancer 250 may be arranged between the terminal 230 and the edge node 221, and the network load balancer may be respectively connected to the terminal 230 and each edge node.

其中,网络负载均衡器250可以是任意一种服务设备,提供网络负载平衡(NetworkLoad Balancing,NLB)服务。Wherein, the network load balancer 250 may be any kind of service device, which provides a network load balancing (NetworkLoad Balancing, NLB) service.

网络负载均衡器250可以向终端230分配域名或虚拟IP地址(Virtual IPAddress,VIP)。多媒体通信系统包括的多个终端可通过各自绑定的域名或各自分配的VIP统一接入各个边缘节点,边缘节点实际的IP地址对于终端不可见。因此,终端根据分配的域名或者VIP向网络负载均衡器发送目标呼叫消息,由网络负载均衡器确定将目标呼叫消息路由至哪一个边缘节点。The network load balancer 250 may allocate a domain name or a virtual IP address (Virtual IP Address, VIP) to the terminal 230 . Multiple terminals included in the multimedia communication system can uniformly access each edge node through their bound domain names or assigned VIPs, and the actual IP addresses of the edge nodes are invisible to the terminals. Therefore, the terminal sends the target call message to the network load balancer according to the assigned domain name or VIP, and the network load balancer determines which edge node to route the target call message to.

请参阅图5,图5是一个实施例公开的另一种多媒体通信方法的方法流程示意图。该方法可应用于前述的网络负载均衡器。如图5所示,该方法可包括以下步骤:Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of another multimedia communication method disclosed by an embodiment. This method can be applied to the aforementioned network load balancer. As shown in Figure 5, the method may include the following steps:

510、接收终端发送的目标呼叫消息。510. Receive the target call message sent by the terminal.

520、根据各个边缘节点的负载量从各个边缘节点中确定出目标边缘节点。520. Determine a target edge node from each edge node according to the load of each edge node.

在本申请实施例中,边缘节点的负载量可通过边缘节点正在处理的呼叫任务的并发量进行表示。网络负载均衡器可基于轮询、哈希等算法从多个边缘节点中确定出目标边缘节点。In the embodiment of the present application, the load of the edge node may be represented by the concurrency of call tasks being processed by the edge node. The network load balancer can determine the target edge node from multiple edge nodes based on algorithms such as polling and hashing.

作为一种可选的实施方式,网络负载均衡器还可监控各个边缘节点是否宕机,并且在接收到目标呼叫消息后,网络负载均衡器可将略过已宕机的边缘节点,将未宕机且负载量较小的边缘节点确定为目标边缘节点。其中,负载量较小的边缘节点可以是多个边缘节点中负载量最小的边缘节点,也可以是多个边缘节点中负载量低于预设负载量的边缘节点,具体不做限定。As an optional implementation, the network load balancer can also monitor whether each edge node is down, and after receiving the target call message, the network load balancer can skip the edge node that has been down, and will not be down The edge node with a small machine and a small load is determined as the target edge node. The edge node with a small load may be the edge node with the smallest load among the multiple edge nodes, or the edge node with the load lower than the preset load among the multiple edge nodes, which is not specifically limited.

也就是说,在某台边缘节点挂起时,网络负载均衡器可以略过In other words, when an edge node hangs, the network load balancer can skip

530、将目标呼叫消息发送至目标边缘节点。530. Send the target call message to the target edge node.

网络均衡器将目标呼叫消息发送至目标边缘节点之后,目标边缘节点可以继续将目标呼叫消息发送至前述的节点调度器,由节点调度器进行服务器调度,以将目标呼叫消息发送至RTC多媒体服务器,从而建立终端与多媒体服务器之间信令链路。After the network balancer sends the target call message to the target edge node, the target edge node can continue to send the target call message to the aforementioned node scheduler, and the node scheduler performs server scheduling to send the target call message to the RTC multimedia server, Thus, a signaling link between the terminal and the multimedia server is established.

需要说明的是,若多媒体通信系统包括前述的网络负载均衡器,则终端与多媒体服务器之间的信令链路可包括网络负载均衡器,由网络负载均衡器连接终端和目标边缘节点。It should be noted that, if the multimedia communication system includes the aforementioned network load balancer, the signaling link between the terminal and the multimedia server may include a network load balancer, and the network load balancer connects the terminal and the target edge node.

此外,网络负载均衡器存储有目标边缘节点与发起呼叫的终端在信令链路中的信令链路连接关系。在呼叫释放时,终端或多媒体服务器发起的呼叫释放消息需要经由网络负载均衡器的转发,以确保呼叫的发起和释放经由一致的信令链路完成。In addition, the network load balancer stores the signaling link connection relationship between the target edge node and the terminal that initiates the call in the signaling link. When the call is released, the call release message initiated by the terminal or the multimedia server needs to be forwarded through the network load balancer, so as to ensure that the initiation and release of the call are completed through a consistent signaling link.

即,在信令链路建立后,终端发起的呼叫释放消息由网络负载均衡器根据上述的信令链路连接关系发送到目标边缘节点,并经由目标边缘节点、目标中心节点和目标网关到达多媒体服务器;或者,That is, after the signaling link is established, the call release message initiated by the terminal is sent by the network load balancer to the target edge node according to the above signaling link connection relationship, and reaches the multimedia network via the target edge node, target central node and target gateway server; or,

在信令链路建立后,多媒体服务器发起的呼叫释放消息经由上述的目标网关、目标中心节点和目标边缘节点传送至网络负载均衡器,由网络负载均衡器根据信令链路连接关系发送到终端。After the signaling link is established, the call release message initiated by the multimedia server is sent to the network load balancer through the above-mentioned target gateway, target central node and target edge node, and the network load balancer sends it to the terminal according to the connection relationship of the signaling link .

可见,在前述实施例中,网络负载均衡器可将多媒体通信系统包括的各个终端均匀地接入会话协议服务器集群,通过网络负载均衡器连接终端和边缘节点,使得各个边缘节点具备等价的功能,会话协议服务器集群中的边缘节点可以无限扩容,在边缘节点上注册的终端也可以同比例扩增,使得整个多媒体通信系统在理论上能够支持终端的无限量接入,为RTC的SIP接入能力提供了强有力的性能支撑。It can be seen that in the foregoing embodiments, the network load balancer can evenly connect each terminal included in the multimedia communication system to the session protocol server cluster, and connect the terminal and the edge node through the network load balancer, so that each edge node has equivalent functions , the edge nodes in the session protocol server cluster can be expanded infinitely, and the terminals registered on the edge nodes can also be expanded in the same proportion, so that the entire multimedia communication system can theoretically support unlimited access of terminals, which is the SIP access of RTC Ability provides strong performance support.

本申请实施例公开一种多媒体通信系统,该多媒体通信系统的系统架构可如图2所示,该多媒体通信系统包括至少两个会话协议服务器集群的边缘节点、至少两个会话协议服务器集群的中心节点、节点调度器、终端、至少两个网关和多媒体服务器;节点调度器分别与各个边缘节点和各个中心节点连接;每个网关与至少一个中心节点对应;The embodiment of the present application discloses a multimedia communication system. The system architecture of the multimedia communication system can be shown in FIG. A node, a node scheduler, a terminal, at least two gateways, and a multimedia server; the node scheduler is respectively connected to each edge node and each central node; each gateway corresponds to at least one central node;

终端,用于发起目标呼叫消息,并将目标呼叫消息发送至目标边缘节点;目标边缘节点是各个边缘节点中终端接入的边缘节点;The terminal is used to initiate a target call message and send the target call message to a target edge node; the target edge node is an edge node accessed by a terminal in each edge node;

目标边缘节点,用于将目标呼叫消息发送至节点调度器;The target edge node is used to send the target call message to the node scheduler;

节点调度器,用于根据各个网关与目标业务类型对应的负载量,从至少两个网关中确定出目标网关;以及,从至少两个中心节点中确定出与目标网关对应的目标中心节点,并将目标呼叫消息发送至目标中心节点;The node scheduler is used to determine the target gateway from at least two gateways according to the load corresponding to each gateway and the target service type; and determine the target central node corresponding to the target gateway from at least two central nodes, and Send the target call message to the target central node;

目标中心节点,用于将目标呼叫消息发送至目标网关;The target central node is used to send the target call message to the target gateway;

目标网关,用于将目标呼叫消息发送至多媒体服务器,以建立终端与多媒体服务器之间的信令链路。The target gateway is configured to send the target call message to the multimedia server, so as to establish a signaling link between the terminal and the multimedia server.

在一个实施例中,多媒体通信系统还包括:网络负载均衡器;网络负载均衡器分别与终端以及各个边缘节点连接。包括网络负载均衡器的多媒体通信系统的系统结构可参见图4。In one embodiment, the multimedia communication system further includes: a network load balancer; the network load balancer is respectively connected to the terminal and each edge node. Refer to FIG. 4 for the system structure of the multimedia communication system including the network load balancer.

网络负载均衡器,用于接收终端发送的目标呼叫消息;A network load balancer, configured to receive the target call message sent by the terminal;

网络负载均衡器,还用于根据各个边缘节点的负载量从至少两个边缘节点中确定出目标边缘节点;The network load balancer is also used to determine the target edge node from at least two edge nodes according to the load of each edge node;

网络负载均衡器,还用于将目标呼叫消息发送至目标边缘节点。A network load balancer is also used to send targeted call messages to targeted edge nodes.

请参阅图6,图6是一个实施例公开的一种节点调度器的结构示意图。该节点调度器可应用于前述的任意一种多媒体通信系统。如图6所示,节点调度器600可包括:通信模块610和确定模块620。Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of a node scheduler disclosed by an embodiment. The node scheduler can be applied to any of the aforementioned multimedia communication systems. As shown in FIG. 6 , the node scheduler 600 may include: a communication module 610 and a determination module 620 .

通信模块610,用于接收目标边缘节点发送的目标呼叫消息,并识别目标呼叫消息的目标业务类型;目标边缘节点是各个边缘节点中终端接入的边缘节点;The communication module 610 is configured to receive the target call message sent by the target edge node, and identify the target service type of the target call message; the target edge node is an edge node accessed by a terminal in each edge node;

确定模块620,用于根据各个网关与目标业务类型对应的负载量,从至少两个网关中确定出目标网关;以及,从至少两个中心节点中确定出与目标网关对应的目标中心节点;The determining module 620 is configured to determine the target gateway from at least two gateways according to the load corresponding to each gateway and the target service type; and determine the target central node corresponding to the target gateway from at least two central nodes;

通信模块610,还用于将目标呼叫消息发送至目标中心节点,以使目标呼叫消息经由目标中心节点和目标网关传送至多媒体服务器,以建立终端与多媒体服务器之间的信令链路。The communication module 610 is further configured to send the target call message to the target central node, so that the target call message is transmitted to the multimedia server via the target central node and the target gateway, so as to establish a signaling link between the terminal and the multimedia server.

在一个实施例中,确定模块620还可用于从至少两个网关中确定出目标业务类型对应的负载量低于阈值的目标网关;或者,从至少两个网关中确定出目标业务类型对应的负载量最小的目标网关。In one embodiment, the determination module 620 is further configured to determine from at least two gateways the target gateway whose load corresponding to the target service type is lower than the threshold; or determine the load corresponding to the target service type from at least two gateways The destination gateway with the smallest amount.

在一个实施例中,多媒体通信系统还包括:数据库;数据库分别与各个网关以及节点调度器连接;每个网关处理至少两种不同业务类型的呼叫,数据库存储有每个网关处理的不同业务类型的呼叫分别对应的负载量;In one embodiment, the multimedia communication system also includes: a database; the database is respectively connected to each gateway and the node scheduler; each gateway handles calls of at least two different service types, and the database stores the different service types handled by each gateway The load corresponding to the call respectively;

确定模块620,还可用于在根据各个网关与目标业务类型对应的负载量,从至少两个网关中确定出目标网关之前,从数据库中查询至少两个网关中每个网关与目标业务类型对应的负载量。The determination module 620 is further configured to query the database for each of the at least two gateways corresponding to the target service type before determining the target gateway from the at least two gateways according to the load corresponding to each gateway and the target service type. load capacity.

在一个实施例中,节点调度器600还可包括:监控模块。In an embodiment, the node scheduler 600 may further include: a monitoring module.

监控模块,可用于在确定模块620根据各个网关与目标业务类型对应的负载量从至少两个网关中确定出目标网关之前,监控至少两个中心节点包括的各个中心节点是否宕机;The monitoring module can be used to monitor whether each central node included in the at least two central nodes is down before the determination module 620 determines the target gateway from at least two gateways according to the load corresponding to each gateway and the target service type;

确定模块620,还可用于从至少两个中心节点中确定出未宕机且与目标网关对应的中心节点作为目标中心节点。The determining module 620 is further configured to determine a central node that is not down and corresponding to the target gateway from at least two central nodes as the target central node.

可见,实施前述实施例公开的节点调度器,可以在边缘节点和中心节点之间通过节点调度器进行内部服务桥接,并根据呼叫的业务类型在业务层面上进行精细化的负载均衡,有利于减少服务器过载的问题,增强多媒体通信系统的可用性。并且,较于边缘节点与中心节点直连的架构,节点调度器提供的桥接调度功能可以实现会话协议服务器高效的集群调度。It can be seen that implementing the node scheduler disclosed in the foregoing embodiments can perform internal service bridging between the edge node and the central node through the node scheduler, and carry out refined load balancing at the service level according to the service type of the call, which is beneficial to reduce The problem of server overloading enhances the availability of multimedia communication systems. Moreover, compared to the architecture in which edge nodes are directly connected to central nodes, the bridge scheduling function provided by the node scheduler can realize efficient cluster scheduling of session protocol servers.

请参阅图7,图7是一个实施例公开的一种网络负载均衡器的结构示意图。该网络负载均衡器可应用于前述的任意一种多媒体通信系统。如图7所示,网络负载均衡器700可包括:收发模块710和均衡模块720。Please refer to FIG. 7 . FIG. 7 is a schematic structural diagram of a network load balancer disclosed by an embodiment. The network load balancer can be applied to any of the aforementioned multimedia communication systems. As shown in FIG. 7 , the network load balancer 700 may include: a transceiver module 710 and a balancing module 720 .

收发模块710,用于接收终端发送的目标呼叫消息;A transceiver module 710, configured to receive the target call message sent by the terminal;

均衡模块720,用于根据各个边缘节点的负载量从各个边缘节点中确定出目标边缘节点;A balance module 720, configured to determine a target edge node from each edge node according to the load of each edge node;

收发模块710,还用于将目标呼叫消息发送至目标边缘节点,以通过目标边缘节点将目标呼叫消息发送至节点调度器,使得目标呼叫消息经由节点调度器、目标中心节点和目标网关到达多媒体服务器,以建立终端与多媒体服务器之间的信令链路;The transceiver module 710 is also configured to send the target call message to the target edge node, so as to send the target call message to the node scheduler through the target edge node, so that the target call message reaches the multimedia server via the node scheduler, the target central node and the target gateway , to establish a signaling link between the terminal and the multimedia server;

其中,目标中心节点是至少两个中心节点中与目标网关对应的中心节点;目标网关是节点调度器在识别出目标呼叫消息的目标业务类型后,根据各个网关与目标业务类型对应的负载量从各个网关中确定出的。Wherein, the target central node is the central node corresponding to the target gateway among at least two central nodes; the target gateway is that after the node scheduler recognizes the target service type of the target call message, according to the load corresponding to each gateway and the target service type, the identified in each gateway.

在一个实施例中,均衡模块720,还可用于监控各个边缘节点是否宕机,并根据各个边缘节点的负载量从至少两个边缘节点中确定出的未宕机的边缘节点作为目标边缘节点。In one embodiment, the balancing module 720 can also be used to monitor whether each edge node is down, and determine the non-downtime edge node from at least two edge nodes as the target edge node according to the load of each edge node.

在一个实施例中,收发模块710还可用于根据存储的目标边缘节点与终端在信令链路中的信令链路连接关系,将终端发起的呼叫释放消息发送至目标边缘节点,使得终端发起的呼叫释放消息经由目标边缘节点、目标中心节点和目标网关到达多媒体服务器。In one embodiment, the transceiver module 710 is also configured to send a call release message initiated by the terminal to the target edge node according to the stored signaling link connection relationship between the target edge node and the terminal in the signaling link, so that the terminal initiates The call release message reaches the multimedia server via the target edge node, the target central node and the target gateway.

或者,收发模块710还可用于,接收目标边缘节点传送的由多媒体服务器发起的呼叫释放消息,并根据存储的目标边缘节点与终端在信令链路中的信令链路连接关系,将多媒体服务器发起的呼叫释放消息发送至终端;其中,多媒体服务器发起的呼叫释放消息经由目标网关和目标中心节点传送至目标边缘节点。Alternatively, the transceiver module 710 is also configured to receive a call release message sent by the target edge node and initiated by the multimedia server, and send the multimedia server the The initiated call release message is sent to the terminal; wherein, the call release message initiated by the multimedia server is transmitted to the target edge node via the target gateway and the target central node.

可见,实施前述实施例公开的网络负载均衡器,可将多媒体通信系统包括的各个终端均匀地接入会话协议服务器集群,通过网络负载均衡器连接终端和边缘节点,使得各个边缘节点具备等价的功能,会话协议服务器集群中的边缘节点可以无限扩容,在边缘节点上注册的终端也可以同比例扩增,使得整个多媒体通信系统在理论上能够支持终端的无限量接入,为RTC的SIP接入能力提供了强有力的性能支撑。It can be seen that, by implementing the network load balancer disclosed in the foregoing embodiments, each terminal included in the multimedia communication system can be evenly connected to the session protocol server cluster, and the terminal and the edge node are connected through the network load balancer, so that each edge node has an equivalent Function, the edge nodes in the session protocol server cluster can be infinitely expanded, and the terminals registered on the edge nodes can also be expanded in the same proportion, so that the entire multimedia communication system can theoretically support unlimited access of terminals, which is the basis for RTC's SIP interface. The input capability provides strong performance support.

请参阅图8,图8是一个实施例公开的一种服务设备的结构示意图。该服务设备可以是前述的节点调度器或者网络负载均衡器。如图8所示,该节点调度器可以包括:Please refer to FIG. 8 . FIG. 8 is a schematic structural diagram of a service device disclosed by an embodiment. The service device may be the aforementioned node scheduler or network load balancer. As shown in Figure 8, the node scheduler may include:

存储有可执行程序代码的存储器810;a memory 810 storing executable program code;

与存储器810耦合的处理器820;a processor 820 coupled to the memory 810;

其中,处理器820调用存储器810中存储的可执行程序代码,执行本申请实施例公开的任意一种多媒体通信方法。Wherein, the processor 820 invokes the executable program code stored in the memory 810 to execute any one of the multimedia communication methods disclosed in the embodiments of the present application.

本申请实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序被处理器执行时实现本申请实施例公开的任意一种应用于节点调度器的多媒体通信方法。The embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, wherein, when the computer program is executed by a processor, any multimedia communication method applied to a node scheduler disclosed in the embodiment of the present application is implemented.

本申请实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序被处理器执行时实现行本申请实施例公开的任意一种应用网络负载均衡器的多媒体通信方法。The embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, wherein, when the computer program is executed by a processor, any multimedia communication method using a network load balancer disclosed in the embodiment of the present application is implemented.

本申请实施例公开一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,且该计算机程序可操作来使计算机执行本申请实施例公开的任意一种应用于节点调度器或网络负载均衡器的多媒体通信方法。The embodiment of the present application discloses a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute any application disclosed in the embodiment of the present application A multimedia communication method based on a node scheduler or a network load balancer.

应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定特征、结构或特性可以以任意适合的方式结合在一个或多个实施例中。本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present application. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by this application.

在本申请的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。In various embodiments of the present application, it should be understood that the sequence numbers of the above-mentioned processes do not necessarily mean the order of execution. The implementation of the examples constitutes no limitation.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物单元,即可位于一个地方,或者也可以分布到多个网络单元上。可根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, located in one place, or distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

上述集成的单元若以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可获取的存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或者部分,可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干请求用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本申请的各个实施例上述方法的部分或全部步骤。If the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a memory , including several requests to make a computer device (which may be a personal computer, server, or network device, etc., specifically, a processor in the computer device) execute some or all of the steps of the above-mentioned methods in various embodiments of the present application.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-Only Memory (Programmable Read-only Memory, PROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CompactDisc Read -Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.

以上对本申请实施例公开的多媒体通信方法、系统、相关设备及存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The multimedia communication method, system, related equipment, and storage medium disclosed in the embodiments of the present application have been introduced in detail above. In this paper, specific examples have been used to illustrate the principles and implementation methods of the present application. The descriptions of the above embodiments are only used to help Understand the method of this application and its core idea. At the same time, for those skilled in the art, based on the idea of this application, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as limiting the application.

Claims (14)

1.一种多媒体通信方法,其特征在于,应用于多媒体通信系统中的节点调度器,所述多媒体通信系统还包括:至少两个会话协议服务器集群的边缘节点、至少两个会话协议服务器集群的中心节点、终端、至少两个网关和多媒体服务器;所述节点调度器分别与各个所述边缘节点和各个所述中心节点通信连接;每个网关与至少一个所述中心节点对应;所述方法包括:1. A multimedia communication method, characterized in that, it is applied to a node scheduler in a multimedia communication system, and the multimedia communication system also includes: edge nodes of at least two session protocol server clusters, at least two session protocol server clusters A central node, a terminal, at least two gateways, and a multimedia server; the node scheduler communicates with each of the edge nodes and each of the central nodes; each gateway corresponds to at least one of the central nodes; the method includes : 接收目标边缘节点发送的目标呼叫消息,并识别所述目标呼叫消息的目标业务类型;所述目标边缘节点是各个所述边缘节点中所述终端接入的所述边缘节点;receiving the target call message sent by the target edge node, and identifying the target service type of the target call message; the target edge node is the edge node accessed by the terminal in each of the edge nodes; 根据各个所述网关与所述目标业务类型对应的负载量,从所述至少两个网关中确定出目标网关;Determining a target gateway from the at least two gateways according to the load corresponding to each of the gateways and the target service type; 从所述至少两个中心节点中确定出与所述目标网关对应的目标中心节点;determining a target central node corresponding to the target gateway from the at least two central nodes; 将所述目标呼叫消息发送至所述目标中心节点,以使所述目标呼叫消息经由所述目标中心节点和所述目标网关传送至所述多媒体服务器,以建立所述终端与所述多媒体服务器之间的信令链路。sending the target call message to the target central node, so that the target call message is transmitted to the multimedia server via the target central node and the target gateway, so as to establish a relationship between the terminal and the multimedia server signaling link between them. 2.根据权利要求1所述的方法,其特征在于,所述根据各个所述网关与所述目标业务类型对应的负载量,从所述至少两个网关中确定出目标网关,包括:2. The method according to claim 1, wherein the determining the target gateway from the at least two gateways according to the load corresponding to each of the gateways and the target service type includes: 从所述至少两个网关中确定出所述目标业务类型对应的负载量低于阈值的目标网关;或者,Determining, from the at least two gateways, a target gateway whose load corresponding to the target service type is lower than a threshold; or, 从所述至少两个网关中确定出所述目标业务类型对应的负载量最小的目标网关。A target gateway corresponding to the target service type with the smallest load is determined from the at least two gateways. 3.根据权利要求1所述的方法,其特征在于,多媒体通信系统还包括:数据库;所述数据库分别与各个所述网关以及所述节点调度器连接;每个所述网关处理至少两种不同业务类型的呼叫,所述数据库存储有每个所述网关处理的不同业务类型的呼叫分别对应的负载量;3. The method according to claim 1, wherein the multimedia communication system further comprises: a database; the database is respectively connected to each of the gateways and the node scheduler; each of the gateways handles at least two different For calls of service types, the database stores loads corresponding to calls of different service types handled by each gateway; 以及,在所述根据各个所述网关与所述目标业务类型对应的负载量,从所述至少两个网关中确定出目标网关之前,所述方法还包括:And, before determining the target gateway from the at least two gateways according to the load corresponding to each of the gateways and the target service type, the method further includes: 从所述数据库中查询所述至少两个网关中每个所述网关与所述目标业务类型对应的负载量。Querying the load of each of the at least two gateways corresponding to the target service type from the database. 4.根据权利要求1所述的方法,其特征在于,在从所述至少两个中心节点中确定出与所述目标网关对应的目标中心节点之前,所述方法还包括:4. The method according to claim 1, wherein before determining the target central node corresponding to the target gateway from the at least two central nodes, the method further comprises: 监控所述至少两个中心节点包括的各个所述中心节点是否宕机;monitoring whether each of the central nodes included in the at least two central nodes is down; 以及,所述从所述至少两个中心节点中确定出与所述目标网关对应的目标中心节点,包括:And, determining the target central node corresponding to the target gateway from the at least two central nodes includes: 从所述至少两个中心节点中确定出未宕机且与所述目标网关对应的中心节点作为目标中心节点。A central node that is not down and corresponding to the target gateway is determined from the at least two central nodes as the target central node. 5.根据权利要求1所述的方法,其特征在于,所述多媒体通信系统还包括:网络负载均衡器;所述网络负载均衡器分别与所述终端以及各个所述边缘节点连接,所述终端通过所述负载均衡器分配的域名或虚拟IP地址接入所述目标边缘节点;5. The method according to claim 1, wherein the multimedia communication system further comprises: a network load balancer; the network load balancer is respectively connected to the terminal and each of the edge nodes, and the terminal Accessing the target edge node through the domain name or virtual IP address allocated by the load balancer; 所述目标边缘节点是所述网络负载均衡器在接收到所述终端发送的所述目标呼叫消息后,根据各个所述边缘节点的负载量从所述至少两个边缘节点中确定出的;所述目标呼叫消息是由所述网络负载均衡器发送至所述目标边缘节点的。The target edge node is determined by the network load balancer from the at least two edge nodes according to the load of each edge node after receiving the target call message sent by the terminal; The target call message is sent to the target edge node by the network load balancer. 6.根据权利要求5所述的方法,其特征在于,所述目标边缘节点是所述网络负载均衡器根据各个所述边缘节点的负载量从所述至少两个边缘节点中确定出的未宕机的边缘节点。6. The method according to claim 5, wherein the target edge node is the non-downtime node determined from the at least two edge nodes by the network load balancer according to the load of each of the edge nodes. machine edge nodes. 7.根据权利要求5所述的方法,其特征在于,所述网络负载均衡器存储有所述目标边缘节点与所述终端在所述信令链路中的信令链路连接关系;7. The method according to claim 5, wherein the network load balancer stores a signaling link connection relationship between the target edge node and the terminal in the signaling link; 在所述信令链路建立后,所述终端发起的呼叫释放消息由所述网络负载均衡器根据所述信令链路连接关系发送到所述目标边缘节点,并经由所述目标边缘节点、所述目标中心节点和所述目标网关到达所述多媒体服务器;或者,After the signaling link is established, the call release message initiated by the terminal is sent by the network load balancer to the target edge node according to the connection relationship of the signaling link, and is sent via the target edge node, The target central node and the target gateway reach the multimedia server; or, 在所述信令链路建立后,所述多媒体服务器发起的呼叫释放消息经由所述目标网关、所述目标中心节点和所述目标边缘节点传送至所述网络负载均衡器,由所述网络负载均衡器根据所述信令链路连接关系发送到所述终端。After the signaling link is established, the call release message initiated by the multimedia server is transmitted to the network load balancer via the target gateway, the target central node and the target edge node, and the network load balancer The equalizer sends to the terminal according to the connection relationship of the signaling link. 8.一种多媒体通信方法,其特征在于,应用于多媒体通信系统中的网络负载均衡器;所述多媒体通信系统还包括:至少两个会话协议服务器集群的边缘节点、至少两个会话协议服务器集群的中心节点、节点调度器、终端、至少两个网关和多媒体服务器;所述节点调度器分别与各个所述边缘节点和各个所述中心节点连接;所述终端与所述网络负载均衡器连接,所述网络负载均衡器还分别与各个所述边缘节点连接;每个所述网关与至少一个所述中心节点对应;所述方法包括:8. A multimedia communication method, characterized in that it is applied to a network load balancer in a multimedia communication system; the multimedia communication system also includes: edge nodes of at least two session protocol server clusters, at least two session protocol server clusters a central node, a node scheduler, a terminal, at least two gateways, and a multimedia server; the node scheduler is respectively connected to each of the edge nodes and each of the central nodes; the terminal is connected to the network load balancer, The network load balancer is also respectively connected to each of the edge nodes; each of the gateways corresponds to at least one of the central nodes; the method includes: 接收所述终端发送的目标呼叫消息;receiving a target call message sent by the terminal; 根据各个所述边缘节点的负载量从各个所述边缘节点中确定出目标边缘节点;determining a target edge node from each of the edge nodes according to the load of each of the edge nodes; 将所述目标呼叫消息发送至所述目标边缘节点,以通过所述目标边缘节点将所述目标呼叫消息发送至所述节点调度器,使得所述目标呼叫消息经由所述节点调度器、目标中心节点和目标网关到达所述多媒体服务器,以建立所述终端与所述多媒体服务器之间的信令链路;sending the target call message to the target edge node, so that the target call message is sent to the node scheduler through the target edge node, so that the target call message passes through the node scheduler, target center a node and a target gateway reach the multimedia server to establish a signaling link between the terminal and the multimedia server; 其中,所述目标中心节点是所述至少两个中心节点中与所述目标网关对应的中心节点;所述目标网关是所述节点调度器在识别出所述目标呼叫消息的目标业务类型后,根据各个所述网关与所述目标业务类型对应的负载量从各个所述网关中确定出的。Wherein, the target central node is the central node corresponding to the target gateway among the at least two central nodes; the target gateway is that after the node scheduler recognizes the target service type of the target call message, It is determined from each of the gateways according to the load of each of the gateways corresponding to the target service type. 9.一种多媒体通信系统,其特征在于,包括:至少两个会话协议服务器集群的边缘节点、至少两个会话协议服务器集群的中心节点、节点调度器、终端、至少两个网关和多媒体服务器;所述节点调度器分别与各个所述边缘节点和各个所述中心节点连接;每个所述网关与至少一个所述中心节点对应;9. A multimedia communication system, comprising: edge nodes of at least two session protocol server clusters, central nodes of at least two session protocol server clusters, a node scheduler, a terminal, at least two gateways, and a multimedia server; The node scheduler is respectively connected to each of the edge nodes and each of the central nodes; each of the gateways corresponds to at least one of the central nodes; 所述终端,用于发起目标呼叫消息,并将所述目标呼叫消息发送至目标边缘节点;所述目标边缘节点是各个所述边缘节点中所述终端接入的所述边缘节点;The terminal is configured to initiate a target call message, and send the target call message to a target edge node; the target edge node is the edge node accessed by the terminal in each of the edge nodes; 所述目标边缘节点,用于将所述目标呼叫消息发送至所述节点调度器;The target edge node is configured to send the target call message to the node scheduler; 所述节点调度器,用于根据各个所述网关与所述目标业务类型对应的负载量,从所述至少两个网关中确定出目标网关;以及,从所述至少两个中心节点中确定出与所述目标网关对应的目标中心节点,并将所述目标呼叫消息发送至所述目标中心节点;The node scheduler is configured to determine the target gateway from the at least two gateways according to the load of each of the gateways corresponding to the target service type; and determine the target gateway from the at least two central nodes a target central node corresponding to the target gateway, and sending the target call message to the target central node; 所述目标中心节点,用于将所述目标呼叫消息发送至所述目标网关;The target central node is configured to send the target call message to the target gateway; 所述目标网关,用于将所述目标呼叫消息发送至所述多媒体服务器,以建立所述终端与所述多媒体服务器之间的信令链路。The target gateway is configured to send the target call message to the multimedia server, so as to establish a signaling link between the terminal and the multimedia server. 10.根据权利要求9所述的系统,其特征在于,所述多媒体通信系统还包括:网络负载均衡器;所述网络负载均衡器分别与所述终端以及各个所述边缘节点连接;10. The system according to claim 9, wherein the multimedia communication system further comprises: a network load balancer; the network load balancer is respectively connected to the terminal and each of the edge nodes; 所述网络负载均衡器,用于接收所述终端发送的所述目标呼叫消息;The network load balancer is configured to receive the target call message sent by the terminal; 所述网络负载均衡器,还用于根据各个所述边缘节点的负载量从所述至少两个边缘节点中确定出目标边缘节点;The network load balancer is further configured to determine a target edge node from the at least two edge nodes according to the load of each of the edge nodes; 所述网络负载均衡器,还用于将所述目标呼叫消息发送至所述目标边缘节点。The network load balancer is further configured to send the target call message to the target edge node. 11.一种节点调度器,其特征在于,所述节点调度器应用于多媒体通信系统,所述多媒体通信系统还包括:至少两个会话协议服务器集群的边缘节点、至少两个会话协议服务器集群的中心节点、终端、至少两个网关和多媒体服务器;所述节点调度器分别与各个所述边缘节点和各个所述中心节点通信连接;每个网关与至少一个所述中心节点对应;所述节点调度器包括:11. A node scheduler, characterized in that, the node scheduler is applied to a multimedia communication system, and the multimedia communication system further comprises: edge nodes of at least two session protocol server clusters, at least two session protocol server cluster edge nodes A central node, a terminal, at least two gateways, and a multimedia server; the node scheduler communicates with each of the edge nodes and each of the central nodes; each gateway corresponds to at least one of the central nodes; the node scheduler Devices include: 通信模块,用于接收目标边缘节点发送的目标呼叫消息,并识别所述目标呼叫消息的目标业务类型;所述目标边缘节点是各个所述边缘节点中所述终端接入的所述边缘节点;A communication module, configured to receive a target call message sent by a target edge node, and identify a target service type of the target call message; the target edge node is the edge node accessed by the terminal in each of the edge nodes; 确定模块,用于根据各个所述网关与所述目标业务类型对应的负载量,从所述至少两个网关中确定出目标网关;以及,从所述至少两个中心节点中确定出与所述目标网关对应的目标中心节点;A determining module, configured to determine the target gateway from the at least two gateways according to the load corresponding to the target service type of each of the gateways; and determine the target gateway from the at least two central nodes The target central node corresponding to the target gateway; 所述通信模块,还用于将所述目标呼叫消息发送至所述目标中心节点,以使所述目标呼叫消息经由所述目标中心节点和所述目标网关传送至所述多媒体服务器,以建立所述终端与所述多媒体服务器之间的信令链路。The communication module is further configured to send the target call message to the target central node, so that the target call message is transmitted to the multimedia server via the target central node and the target gateway, so as to establish the A signaling link between the terminal and the multimedia server. 12.一种网络负载均衡器,其特征在于,所述网络负载均衡器应用于多媒体通信系统;所述多媒体通信系统还包括:至少两个会话协议服务器集群的边缘节点、至少两个会话协议服务器集群的中心节点、节点调度器、终端、至少两个网关和多媒体服务器;所述节点调度器分别与各个所述边缘节点和各个所述中心节点连接;所述终端与所述网络负载均衡器连接,所述网络负载均衡器还分别与各个所述边缘节点连接;每个所述网关与至少一个所述中心节点对应;所述网络负载均衡器包括:12. A network load balancer, characterized in that the network load balancer is applied to a multimedia communication system; the multimedia communication system also includes: edge nodes of at least two session protocol server clusters, at least two session protocol server clusters The central node of the cluster, a node scheduler, a terminal, at least two gateways, and a multimedia server; the node scheduler is respectively connected to each of the edge nodes and each of the central nodes; the terminal is connected to the network load balancer , the network load balancer is also respectively connected to each of the edge nodes; each of the gateways corresponds to at least one of the central nodes; the network load balancer includes: 收发模块,用于接收所述终端发送的目标呼叫消息;a transceiver module, configured to receive the target call message sent by the terminal; 均衡模块,用于根据各个所述边缘节点的负载量从各个所述边缘节点中确定出目标边缘节点;A balance module, configured to determine a target edge node from each of the edge nodes according to the load of each of the edge nodes; 所述收发模块,还用于将所述目标呼叫消息发送至所述目标边缘节点,以通过所述目标边缘节点将所述目标呼叫消息发送至所述节点调度器,使得所述目标呼叫消息经由所述节点调度器、目标中心节点和目标网关到达所述多媒体服务器,以建立所述终端与所述多媒体服务器之间的信令链路;The transceiver module is further configured to send the target call message to the target edge node, so that the target call message is sent to the node scheduler through the target edge node, so that the target call message passes through The node scheduler, target central node and target gateway reach the multimedia server to establish a signaling link between the terminal and the multimedia server; 其中,所述目标中心节点是所述至少两个中心节点中与所述目标网关对应的中心节点;所述目标网关是所述节点调度器在识别出所述目标呼叫消息的目标业务类型后,根据各个所述网关与所述目标业务类型对应的负载量从各个所述网关中确定出的。Wherein, the target central node is the central node corresponding to the target gateway among the at least two central nodes; the target gateway is that after the node scheduler recognizes the target service type of the target call message, It is determined from each of the gateways according to the load of each of the gateways corresponding to the target service type. 13.一种服务设备,其特征在于,包括存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如权利要求1至7或8任一项所述的方法。13. A service device, characterized by comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor realizes the process according to claims 1 to 7. Or the method described in any one of 8. 14.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7或8任一项所述的方法。14. A computer-readable storage medium on which a computer program is stored, wherein the computer program implements the method according to any one of claims 1 to 7 or 8 when executed by a processor.
CN202210873534.XA 2022-07-21 2022-07-21 Multimedia communication method, system, related equipment and storage medium Active CN115277569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210873534.XA CN115277569B (en) 2022-07-21 2022-07-21 Multimedia communication method, system, related equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210873534.XA CN115277569B (en) 2022-07-21 2022-07-21 Multimedia communication method, system, related equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115277569A true CN115277569A (en) 2022-11-01
CN115277569B CN115277569B (en) 2025-03-21

Family

ID=83768916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210873534.XA Active CN115277569B (en) 2022-07-21 2022-07-21 Multimedia communication method, system, related equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115277569B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131017A (en) * 2010-11-25 2011-07-20 中兴通讯股份有限公司 Access gateway and method for generating CDR (Call Detail Record) in real time
WO2011150564A1 (en) * 2010-06-02 2011-12-08 华为技术有限公司 Method, equipment and system for processing data gateway load
CN102917443A (en) * 2012-10-23 2013-02-06 中国联合网络通信集团有限公司 Method and device for selecting gateway and transmitting information, and network system
US20140044123A1 (en) * 2011-05-23 2014-02-13 Twilio, Inc. System and method for real time communicating with a client application
CN103873497A (en) * 2012-12-11 2014-06-18 中国电信股份有限公司 Method, device and system for scheduling information
US20150334202A1 (en) * 2009-07-14 2015-11-19 Saguna Networks Ltd. Methods circuits devices systems and associated machine executable code for efficient delivery of multi-unicast communication traffic
CN109688033A (en) * 2019-03-08 2019-04-26 深圳市网心科技有限公司 A kind of network bandwidth evaluating method, device, system and storage medium
US20210021431A1 (en) * 2020-09-25 2021-01-21 Intel Corporation Methods, apparatus and systems to share compute resources among edge compute nodes using an overlay manager
CN112637545A (en) * 2021-03-08 2021-04-09 浙江华创视讯科技有限公司 Unified conference platform system, gateway and conference management and conference creation method
US11082457B1 (en) * 2019-06-27 2021-08-03 Amazon Technologies, Inc. Media transport system architecture
US20210337611A1 (en) * 2020-04-27 2021-10-28 Cisco Technology, Inc. Optimized serving gateway node selection for interworking networks
CN113630383A (en) * 2021-07-08 2021-11-09 付腾瑶 Edge cloud cooperation method and device
CN113722077A (en) * 2021-11-02 2021-11-30 腾讯科技(深圳)有限公司 Data processing method, system, related device, storage medium and product
CN113746808A (en) * 2021-08-12 2021-12-03 杭州网易智企科技有限公司 Converged communication method for online conference, gateway, electronic device, and storage medium
CN114095869A (en) * 2022-01-07 2022-02-25 广东海洋大学 Method, device and system for scheduling multi-access edge computing nodes for terminal
CN114143324A (en) * 2021-10-27 2022-03-04 上海卓悠网络科技有限公司 Load balancing method and device based on application market architecture
EP3968605A1 (en) * 2019-06-15 2022-03-16 Huawei Technologies Co., Ltd. Method for providing edge service, apparatus and device

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150334202A1 (en) * 2009-07-14 2015-11-19 Saguna Networks Ltd. Methods circuits devices systems and associated machine executable code for efficient delivery of multi-unicast communication traffic
WO2011150564A1 (en) * 2010-06-02 2011-12-08 华为技术有限公司 Method, equipment and system for processing data gateway load
CN102131017A (en) * 2010-11-25 2011-07-20 中兴通讯股份有限公司 Access gateway and method for generating CDR (Call Detail Record) in real time
US20140044123A1 (en) * 2011-05-23 2014-02-13 Twilio, Inc. System and method for real time communicating with a client application
US20170142166A1 (en) * 2011-05-23 2017-05-18 Twilio, Inc. System and method for real-time communication by using a client application communication protocol
CN102917443A (en) * 2012-10-23 2013-02-06 中国联合网络通信集团有限公司 Method and device for selecting gateway and transmitting information, and network system
CN103873497A (en) * 2012-12-11 2014-06-18 中国电信股份有限公司 Method, device and system for scheduling information
CN109688033A (en) * 2019-03-08 2019-04-26 深圳市网心科技有限公司 A kind of network bandwidth evaluating method, device, system and storage medium
EP3968605A1 (en) * 2019-06-15 2022-03-16 Huawei Technologies Co., Ltd. Method for providing edge service, apparatus and device
US11082457B1 (en) * 2019-06-27 2021-08-03 Amazon Technologies, Inc. Media transport system architecture
US20210337611A1 (en) * 2020-04-27 2021-10-28 Cisco Technology, Inc. Optimized serving gateway node selection for interworking networks
US20210021431A1 (en) * 2020-09-25 2021-01-21 Intel Corporation Methods, apparatus and systems to share compute resources among edge compute nodes using an overlay manager
CN112637545A (en) * 2021-03-08 2021-04-09 浙江华创视讯科技有限公司 Unified conference platform system, gateway and conference management and conference creation method
CN113630383A (en) * 2021-07-08 2021-11-09 付腾瑶 Edge cloud cooperation method and device
CN113746808A (en) * 2021-08-12 2021-12-03 杭州网易智企科技有限公司 Converged communication method for online conference, gateway, electronic device, and storage medium
CN114143324A (en) * 2021-10-27 2022-03-04 上海卓悠网络科技有限公司 Load balancing method and device based on application market architecture
CN113722077A (en) * 2021-11-02 2021-11-30 腾讯科技(深圳)有限公司 Data processing method, system, related device, storage medium and product
CN114095869A (en) * 2022-01-07 2022-02-25 广东海洋大学 Method, device and system for scheduling multi-access edge computing nodes for terminal

Also Published As

Publication number Publication date
CN115277569B (en) 2025-03-21

Similar Documents

Publication Publication Date Title
JP4599617B2 (en) Centralized controller for distributed processing of telecommunications features
KR101320908B1 (en) How to Convert Between Unicast Sessions and Multicast Sessions
JP4391423B2 (en) Control and manage sessions between end points
JP4391424B2 (en) Apparatus and method for controlling and managing individually oriented sessions in a communication system
JP4215645B2 (en) Service access and conference system and method in communication network
US7647374B2 (en) Method for managing sessions between network parties, methods, network element and terminal for managing calls
US9729407B2 (en) Distributed media resources in VoIP networks for providing services
US20080280623A1 (en) Method and Apparatus For Distributing Load on Application Servers
CN110933180A (en) Communication establishing method and device, load equipment and storage medium
JP2006512855A (en) Method for joining end points to a group and determining common communication performance for the joined end points
WO2013143310A1 (en) Call processing method, call control device, automatic call distribution device and agent terminal
JP4934148B2 (en) SIP multi-user media client with user agent shared by multiple user applications
CN112398845B (en) Data transmission method, data transmission device, data transmission system and electronic equipment
CN101815079A (en) Method and system for releasing service information by server cluster based on SIP (Session Initiation Protocol)
WO2007131441A1 (en) A method and a means for load balancing based on sip
US20170359187A1 (en) Scalable real-time videoconferencing over WebRTC
WO2012000364A1 (en) Method and system for implementing cross-segment signaling intercommunication in video conference system
CA2512273C (en) High performance transparent call distribution
US9473316B2 (en) Resource consumption reduction via meeting affinity
CN114338625B (en) Real-time communication method, device, equipment and storage medium
US9912623B2 (en) Systems and methods for adaptive context-aware control of multimedia communication sessions
WO2011015111A1 (en) Method, device and system for real time streaming protocol proxy forwarding data
CN115277569B (en) Multimedia communication method, system, related equipment and storage medium
US9509723B1 (en) Session initiation protocol (SIP) server to efficiently handle session description protocol (SDP) data sets
US10091261B2 (en) Methods and nodes for enabling a peer-to-peer teleconference

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